1 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
3 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8 Move define-obsolete-variable-alias before the var's definition.
9 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10 * tooltip.el (tooltip-hook):
11 * textmodes/reftex-toc.el (reftex-toc-map):
12 * textmodes/reftex-sel.el (reftex-select-label-map)
13 (reftex-select-bib-map):
14 * textmodes/reftex-index.el (reftex-index-map)
15 (reftex-index-phrases-map):
16 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
17 * progmodes/meta-mode.el (meta-mode-map):
18 * novice.el (disabled-command-hook):
19 * loadhist.el (unload-hook-features-list):
20 * frame.el (blink-cursor):
21 * files.el (find-file-not-found-hooks, write-file-hooks)
22 (write-contents-hooks):
23 * emulation/tpu-edt.el (GOLD-map):
24 * emacs-lock.el (emacs-lock-from-exiting):
25 * emacs-lisp/generic.el (generic-font-lock-defaults):
26 * emacs-lisp/chart.el (chart-map):
27 * dos-fns.el (register-name-alist):
28 * dired-x.el (dired-omit-files-p):
29 * desktop.el (desktop-enable):
30 * cus-edit.el (custom-mode-hook):
31 * buff-menu.el (buffer-menu-mode-hook):
32 * bookmark.el (bookmark-read-annotation-text-func)
33 (bookmark-exit-hooks):
34 * allout.el (allout-mode-deactivate-hook)
35 (allout-exposure-change-hook, allout-structure-added-hook)
36 (allout-structure-deleted-hook, allout-structure-shifted-hook):
37 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
38 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
39 comes before the corresponding variable's definition.
41 2012-05-12 Chong Yidong <cyd@gnu.org>
43 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
44 (Buffer-menu-mouse-select): Restore function (Bug#11459).
45 (Buffer-menu-mode-map): Bind it.
46 (Buffer-menu--pretty-name): Add a mouse-face property.
48 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
50 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
51 (prolog-upper-case-string, prolog-lower-case-string)
52 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
53 (prolog-use-smie, prolog-smie-grammar): New vars.
54 (prolog-smie-forward-token, prolog-smie-backward-token)
55 (prolog-smie-rules): New funs.
56 (prolog-comment-indent): Remove.
57 (prolog-mode-variables): Use default comment indentation instead.
59 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
60 (prolog-mode): Don't call them any more.
61 (prolog-electric-colon, prolog-electric-dash)
62 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
64 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
66 * minibuffer.el (completion--twq-all): Again, allow case differences.
68 * term.el: Move keymap initialization code to be more idiomatic.
69 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
70 (term-terminal-menu): Move initialization into declaration.
71 (term-escape-char): Let the user set it in her .emacs.
73 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
74 Provide SMIE-based indentation (not enabled by default yet).
75 (sh-mode-map): Don't bind electric keys.
76 Use electric-pair-mode instead of skeleton-pair.
77 (sh-assignment-regexp): Fit within 80 columns.
78 (sh-indent-supported): Specify actual shell name instead of boolean.
79 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
80 (sh-maybe-here-document): Use it. Make obsolete.
81 (sh-electric-here-document-mode) New minor mode.
82 (sh-mode): Use it. Don't set sh-indent-supported-here here.
83 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
84 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
85 (sh-smie-rc-grammar, sh-use-smie): New vars.
86 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
87 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
88 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
89 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
90 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
91 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
92 (sh-set-shell): Use smie-setup if requested.
94 * term.el (term-set-escape-char): Properly set term-escape-char.
95 See http://stackoverflow.com/questions/10524656.
97 2012-05-10 Chong Yidong <cyd@gnu.org>
99 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
100 Use url-generic-parse-url, and handle host names and Windows
102 (ffap-url-unwrap-remote): Use url-generic-parse-url.
103 (ffap-url-unwrap-remote): Accept list values, specifying a list of
104 URL schemes to work on.
105 (ffap--toggle-read-only): New function.
106 (ffap-read-only, ffap-read-only-other-window)
107 (ffap-read-only-other-frame): Use it.
108 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
109 necessary for ffap-url-unwrap-remote.
111 2012-05-10 Dave Abrahams <dave@boostpro.com>
113 * cus-start.el (create-lockfiles): Add it.
115 2012-05-09 Chong Yidong <cyd@gnu.org>
117 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
118 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
120 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
122 * shell.el (shell-completion-vars): Fix last change (bug#11348).
124 2012-05-09 Chong Yidong <cyd@gnu.org>
126 * ansi-color.el (ansi-color-process-output): Check for validity of
127 comint-last-output-start before using it. This avoids a bad
128 interaction with gdb-mi's input/output buffer.
130 2012-05-09 Glenn Morris <rgm@gnu.org>
132 * files.el (dir-locals-read-from-file):
133 Mention dir-locals in any error message.
135 2012-05-09 Chong Yidong <cyd@gnu.org>
137 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
140 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
141 variables into description.
143 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
145 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
146 shell-delimiter-argument-list (bug#11348).
147 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
149 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
151 * textmodes/rst.el: Silence byte-compiler warnings.
152 (rst-re-alist, rst-reset-section-caches): Move around.
153 (rst-re): Use `characterp', not `char-valid-p'.
154 (font-lock-beg, font-lock-end): Declare.
156 * progmodes/idlw-shell.el (specs): Remove reference to deleted
157 variable `idlwave-shell-activate-alt-keybindings' and simplify.
159 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
161 2012-05-08 Glenn Morris <rgm@gnu.org>
163 * files.el (auto-mode-alist): Treat ".make" like ".mk".
165 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
167 * vc/log-edit.el: Add GNU coding standards highlighting.
168 (log-edit-font-lock-gnu-style)
169 (log-edit-font-lock-gnu-keywords): New vars.
170 (log-edit-font-lock-keywords): New fun.
171 (log-edit-mode): Don't fold case in font-lock.
172 (log-edit-font-lock-keywords): Do not assume case-folding.
174 * imenu.el: Misc cleanup. Make docstrings out of comments.
176 (imenu--index-alist, imenu--last-menubar-index-alist)
177 (imenu-menubar-modified-tick): Use defvar-local.
178 (imenu--split-menu): Remove unused var.
179 (imenu--cleanup-seen): Declare as global.
180 (imenu--cleanup): Use dolist.
182 * subr.el (defvar-local): Add debug spec and doc-string position.
184 2012-05-08 Glenn Morris <rgm@gnu.org>
186 * lisp/language/burmese.el, language/cham.el, language/czech.el:
187 * language/english.el, language/georgian.el, language/greek.el:
188 * language/japanese.el, language/khmer.el, language/korean.el:
189 * language/lao.el, language/misc-lang.el, language/romanian.el:
190 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
191 * language/thai.el, language/utf-8-lang.el:
192 Remove no-byte-compile setting.
194 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
196 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
198 * progmodes/make-mode.el (makefile-browse):
199 Remove unnecessary interactive. (Bug#11324)
201 2012-05-07 Glenn Morris <rgm@gnu.org>
203 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
205 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
207 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
209 * loadup.el: Preload newcomment.el.
210 * newcomment.el: Move autoload-only code to toplevel.
212 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
213 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
214 Handle new :right-align column property.
215 (tabulated-list-print-col): Idem, plus use `display' text-property to
216 try and preserve alignment for variable pitch fonts.
218 2012-05-07 Chong Yidong <cyd@gnu.org>
220 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
221 (tabulated-list-use-header-line): New var.
222 (tabulated-list-init-header): Use it.
223 (tabulated-list-print-fake-header): New function.
224 (tabulated-list-print): Use it.
225 (tabulated-list-sort-button-map): Add non-header-line commands.
226 (tabulated-list-init-header): Add column name property to basic
228 (tabulated-list-col-sort): Handle non-header-line button case.
229 (tabulated-list--sort-by-column-name): Fix a corner case.
231 * buff-menu.el (list-buffers--refresh):
232 Handle Buffer-menu-use-header-line.
234 2012-05-06 Chong Yidong <cyd@gnu.org>
236 * buff-menu.el: Convert to Tabulated List mode.
237 (Buffer-menu-buffer+size-width): Make obsolete.
238 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
239 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
240 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
241 documentation into docstring of buffer-menu.
242 (Buffer-menu-toggle-files-only): Add an informative message.
243 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
244 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
245 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
246 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
247 (Buffer-menu-execute, Buffer-menu-select)
248 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
249 (Buffer-menu-bury): Use Tabulated List machinery.
250 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
251 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
253 (list-buffers--refresh): New function.
254 (list-buffers-noselect): Use it.
255 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
256 (Buffer-menu--pretty-file-name): New helper functions.
258 * loadup.el: Preload tabulated-list.
260 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
261 tabulated-list-sort-column.
262 (tabulated-list-init-header): Add the initial aligning space even
263 if tabulated-list-padding is zero.
265 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
267 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
268 whose cdr is not a cons cell correctly (bug#11038).
270 2012-05-06 Chong Yidong <cyd@gnu.org>
272 * emacs-lisp/tabulated-list.el (tabulated-list-format):
273 Accept additional plist in column descriptors.
274 (tabulated-list-init-header): Obey it.
275 (tabulated-list-get-entry): New function.
276 (tabulated-list-put-tag): Use it. Use string-width instead of
278 (tabulated-list--column-number): New function.
279 (tabulated-list-print): Use it.
280 (tabulated-list-print-col): New function.
281 Set `tabulated-list-column-name' property on each column's text.
282 (tabulated-list-print-entry): Use it.
283 (tabulated-list-delete-entry, tabulated-list-set-col):
285 (tabulated-list-sort-column): New command (Bug#11337).
287 * buff-menu.el (list-buffers): Move C-x C-b binding from
288 buff-menu.el to bindings.el.
290 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
291 :advertised-binding feature.
293 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
295 * progmodes/compile.el (compilation-internal-error-properties):
296 Calculate start position correctly when end-col is set but
297 end-line is not (Bug#11382).
299 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
301 * man.el (Man-unindent): Use text-property-default-nonsticky to
302 prevent untabify from inheriting face properties (Bug#11408).
304 2012-05-05 Glenn Morris <rgm@gnu.org>
306 * calendar/cal-html.el: Optionally include holidays in the output.
307 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
308 (cal-html-holidays): New option.
309 (cal-html-css-default): Add holiday entry.
310 (holiday-in-range): Autoload it.
311 (cal-html-htmlify-entry): Add optional class argument.
312 (cal-html-htmlify-list): Add optional holidays argument.
313 (cal-html-insert-agenda-days): Include holidays in the output.
314 (cal-html-one-month): Maybe include holidays.
316 * calendar/holidays.el (holiday-in-range):
317 Move here from cal-tex-list-holidays.
318 * calendar/cal-tex.el (cal-tex-list-holidays):
319 Make it an obsolete alias for holiday-in-range. Update all callers.
321 2012-05-05 Chong Yidong <cyd@gnu.org>
323 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
326 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
328 * files.el (file-auto-mode-skip): New var.
329 (set-auto-mode-1): Use it.
331 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
333 * repeat.el: Use lexical-binding.
334 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
335 (repeat-undo-count): Remove.
337 * progmodes/octave-mod.el (octave-abbrev-start):
338 * progmodes/f90.el (f90-abbrev-start):
339 * face-remap.el (text-scale-adjust):
340 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
342 * emacs-lisp/pcase.el (pcase--let*): New function.
343 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
345 (pcase--split-pred): Be more clever about ruling out overlap between
346 a predicate and some constant pattern.
347 (pcase--q1): Use `null' instead of (eq foo nil).
349 * subr.el (setq-local, defvar-local): New macros.
350 (kbd): Redefine as an alias.
351 (with-selected-window): Leave unrelated frames alone.
352 (set-temporary-overlay-map): New function.
354 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
356 * subr.el (user-error): New function.
357 * window.el (switch-to-buffer):
358 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
359 (smerge-match-conflict):
360 * simple.el (previous-matching-history-element)
361 (next-matching-history-element, goto-history-element, undo-more)
363 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
364 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
365 (next-file, tags-loop-scan, list-tags, complete-tag):
366 * progmodes/compile.el (compilation-loop):
367 * mouse.el (mouse-minibuffer-check):
368 * man.el (Man-bgproc-sentinel, Man-goto-page):
369 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
370 (Info-history-forward, Info-follow-reference, Info-menu)
371 (Info-extract-menu-item, Info-extract-menu-counting)
372 (Info-forward-node, Info-backward-node, Info-next-menu-item)
373 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
374 (Info-next-reference, Info-prev-reference, Info-index)
375 (Info-index-next, Info-follow-nearest-node)
376 (Info-copy-current-node-name):
377 * imenu.el (imenu--make-index-alist)
378 (imenu-default-create-index-function, imenu-add-to-menubar):
379 * files.el (basic-save-buffer, recover-file):
380 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
381 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
382 (checkdoc-message-text, checkdoc-defun):
383 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
384 * cus-edit.el (customize-changed-options, customize-rogue)
385 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
386 (custom-variable-mark-to-reset-standard)
387 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
389 * completion.el (check-completion-length):
390 * comint.el (comint-search-arg)
391 (comint-previous-matching-input-string-position)
392 (comint-previous-matching-input)
393 (comint-replace-by-expanded-history-before-point, comint-send-input)
394 (comint-copy-old-input, comint-backward-matching-input)
395 (comint-goto-process-mark, comint-set-process-mark):
396 * calendar/calendar.el (calendar-cursor-to-date): Use it.
397 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
399 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
401 * dabbrev.el (dabbrev--ignore-case-p): New function.
402 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
405 * files.el (automount-dir-prefix): Mark as obsolete.
407 2012-05-04 Glenn Morris <rgm@gnu.org>
409 * patcomp.el, play/bruce.el: Move to obsolete/.
411 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
414 * arc-mode.el (archive-unixdate):
415 * autoinsert.el (auto-insert-alist):
416 * calc/calc-forms.el (math-this-year):
417 * emacs-lisp/copyright.el (copyright-current-year)
418 (copyright-update-year, copyright):
419 * tar-mode.el (tar-clip-time-string):
420 * time.el (display-time-update):
421 Don't assume years have 4 digits.
423 2012-05-04 Chong Yidong <cyd@gnu.org>
425 * dos-w32.el (file-name-buffer-file-type-alist)
426 (direct-print-region-use-command-dot-com):
427 * ffap.el (ffap-menu-regexp):
428 * find-file.el (ff-special-constructs):
429 * follow.el (follow-debug):
430 * forms.el (forms--debug):
431 * iswitchb.el (iswitchb-all-frames):
432 * ido.el (ido-all-frames):
433 * emacs-lisp/timer.el (timer-max-repeats):
434 * mail/feedmail.el (feedmail-mail-send-hook)
435 (feedmail-mail-send-hook-queued):
436 * mail/footnote.el (footnote-signature-separator):
437 * mail/mailabbrev.el (mail-alias-separator-string)
438 (mail-abbrev-mode-regexp):
439 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
440 * progmodes/idlwave.el (idlwave-libinfo-file)
441 (idlwave-default-completion-case-is-down)
442 (idlwave-library-routines): Convert defvars to defcustoms.
444 * mail/rmail.el (rmail-decode-mime-charset):
445 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
446 (idlwave-shell-fix-inserted-breaks)
447 (idlwave-shell-activate-alt-keybindings)
448 (idlwave-shell-use-breakpoint-glyph):
449 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
451 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
453 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
455 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
457 * progmodes/verilog-mode.el (font-lock-keywords):
458 Fix mis-highligting auto. Reported by Craig Barner.
459 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
460 defines from global name space. Reported by Dan Dever.
461 (verilog-auto-reset, verilog-auto-reset-widths)
462 (verilog-auto-tieoff): Support using unbased numbers for
463 AUTORESET and AUTOTIEOFF.
464 (verilog-submit-bug-report): Update variable list.
465 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
466 parenthesis from not matching. Reported by Michael Rytting.
467 (verilog-auto-template-lint): Fix hash error when linting modules
468 with no used templates.
469 (verilog-warn, verilog-warn-error)
470 (verilog-warn-fatal): When non-interactive report multiple
471 warnings before exiting. Suggested by Brad Dobbie.
472 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
473 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
474 to report unused template errors. Reported by Brad Dobbie.
475 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
476 nets, bug438. Reported by Vns Blore.
477 (verilog-auto-inout-module, verilog-auto-reg)
478 (verilog-read-decls, verilog-read-sub-decls-sig)
479 (verilog-signals-edit-wire-reg, verilog-signals-with):
480 Fix passing of Verilog data types in ANSI input/output ports
481 such as "output logic" into the AUTOs. Special case "wire" and
482 "reg" for backwards compatibility presuming Verilog 2001.
483 (verilog-auto-ascii-enum): Add "auto enum" as alias.
484 (verilog-preprocess): Fix replication of preprocess output.
485 Reported by Brad Dobbie.
486 (verilog-auto-inst-interfaced-ports):
487 Create verilog-auto-inst-interfaced-ports, bug429.
488 Reported by Julian Gorfajn.
489 (verilog-after-save-font-hook)
490 (verilog-before-save-font-hook): New variable.
491 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
492 (verilog-save-font-mods): Wrap disabling fontification, reported
494 (verilog-do-indent, verilog-pretty-declarations-auto)
495 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
496 Reported by Pierre-David Pfister.
497 (verilog-set-auto-endcomments): Fix endtask auto comments outside
498 of class declarations, bug292. Reported by Kevin Heilman.
499 (verilog-read-decls): Fix 'parameter type' not appearing in
500 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
501 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
502 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
503 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
504 Reported by David Kravitz.
506 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
508 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
509 assignment with tests in ifs and for loops.
510 (verilog-extended-complete-re, verilog-complete-reg): Change so
511 that DPI inport functions don't look like fuction declarations.
512 (verilog-pretty-expr): Don't line up assignment
513 operations to the test and increment in if and for loops
514 (verilog-extended-complete-re, verilog-complete-reg): Change so
515 that DPI inport functions don't look like fuction declarations
517 2012-05-03 Kenichi Handa <handa@m17n.org>
519 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
520 decoding, and show a warning message without signalling an error
523 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
525 * emacs-lisp/bytecomp.el
526 (byte-compile-file-form-custom-declare-variable): Compile all elements,
527 since cconv.el might have introduced :fun-body, internal-make-closure,
528 and friends for bytecomp to handle (bug#11391).
529 * custom.el (defcustom): Avoid ((λ ..) ..).
531 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
533 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
535 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
537 * notifications.el (dbus-debug):
538 * term/linux.el (gpm-mouse-enable):
539 * term/screen.el (xterm-register-default-colors): Declare.
541 2012-05-02 Chong Yidong <cyd@gnu.org>
543 * cus-start.el (gc-cons-percentage, exec-suffixes)
544 (dos-display-scancodes, dos-hyper-key, dos-super-key)
545 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
546 (make-cursor-line-fully-visible, void-text-area-pointer)
547 (font-list-limit): Add customization data.
549 * allout.el (allout-exposure-change-functions)
550 (allout-structure-added-functions)
551 (allout-structure-deleted-functions)
552 (allout-structure-shifted-functions): Rename abnormal hooks from
553 *-hook, and convert to defcustoms.
554 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
555 Convert to defcustoms.
556 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
558 * allout-widgets.el: Hook callers changed.
560 2012-05-02 Eli Zaretskii <eliz@gnu.org>
562 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
563 the yanked message in preference to the default value of
564 buffer-file-coding-system.
566 2012-05-02 Martin Rudalics <rudalics@gmx.at>
568 * window.el (display-buffer--action-function-custom-type):
571 2012-05-02 Alan Mackenzie <acm@muc.de>
573 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
575 2012-05-01 Glenn Morris <rgm@gnu.org>
577 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
579 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
581 * cus-edit.el (custom-variable-documentation): Simplify with format.
583 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
584 Stefan Monnier <monnier@iro.umontreal.ca>
586 * simple.el (suggest-key-bindings, execute-extended-command):
587 Move from keyboard.c.
589 2012-05-01 Chong Yidong <cyd@gnu.org>
591 * follow.el: Eliminate advice.
592 (set-process-filter, process-filter, sit-for): Advice deleted.
593 (follow-mode-off-hook): Obsolete hook removed.
594 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
596 (follow-auto): Use a :set function.
597 (follow-mode): Rewritten. Don't advise process filters.
598 (follow-switch-to-current-buffer-all, follow-scroll-up)
599 (follow-scroll-down): Assume follow-mode is bound.
600 (follow-comint-scroll-to-bottom)
601 (follow-align-compilation-windows): New functions.
602 (follow--window-sorter): New function.
603 (follow-all-followers): Use it to explicitly sort windows by their
604 positions; don't make assumptions about next-window order.
605 (follow-windows-start-end, follow-delete-other-windows-and-split)
606 (follow-calc-win-start): Doc fix.
607 (follow-windows-aligned-p, follow-select-if-visible): Don't call
608 vertical-motion unnecessarily.
609 (follow-adjust-window): New function.
610 (follow-post-command-hook): Use it.
611 (follow-call-set-process-filter, follow-call-process-filter)
612 (follow-intercept-process-output, follow-tidy-process-filter-alist)
613 (follow-stop-intercept-process-output, follow-generic-filter):
615 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
616 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
617 New functions, replacing advice on scroll-bar-* commands.
618 (follow-mwheel-scroll): New function (Bug#4112).
620 * comint.el (comint-adjust-point): New function.
621 (comint-postoutput-scroll-to-bottom): Use it.
622 Call follow-comint-scroll-to-bottom for Follow mode buffers.
624 2012-05-01 Glenn Morris <rgm@gnu.org>
626 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
627 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
628 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
629 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
630 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
631 Remove no-byte-compile setting.
633 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
635 * minibuffer.el (completion-table-with-quoting): Fix compatibility
636 all-completions code to not return a number in the last cdr.
638 2012-04-30 Leo Liu <sdl.web@gmail.com>
640 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
643 2012-04-29 Chong Yidong <cyd@gnu.org>
645 * follow.el (follow-calc-win-end): Rewrite to handle partial
646 screen lines correctly (Bug#8390).
647 (follow-avoid-tail-recenter): Minor cleanup.
649 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
651 Avoid the obsolete `assoc' package.
652 * speedbar.el (speedbar-refresh): Avoid adelete.
653 (speedbar-file-lists): Simplify and avoid aput.
654 * man.el (Man--sections, Man--refpages): New vars, replacing
655 Man-sections-alist and Man-refpages-alist.
656 (Man-build-section-alist, Man-build-references-alist):
657 Use them; avoid aput.
658 (Man--last-section, Man--last-refpage): New vars.
659 (Man-follow-manual-reference): Use them.
660 Use the `default' arg of completing-read.
661 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
663 2012-04-27 Chong Yidong <cyd@gnu.org>
665 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
667 * startup.el (x-apply-session-resources): New function.
669 * term/ns-win.el (ns-initialize-window-system):
670 * term/w32-win.el (w32-initialize-window-system):
671 * term/x-win.el (x-initialize-window-system): Use it to properly
672 set menu-bar-mode and other vars from X resources, even if the
673 initial frame is not a window-system frame (Bug#2299).
675 * subr.el (read-key): Avoid running filter function when setting
676 up temporary tool bar entries (Bug#9922).
678 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
680 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
683 2012-04-27 Chong Yidong <cyd@gnu.org>
685 * select.el (xselect--encode-string): New function, split from
686 xselect-convert-to-string.
687 (xselect-convert-to-string): Use it.
688 (xselect-convert-to-filename, xselect-convert-to-os)
689 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
690 returned strings are properly encoded (Bug#11315).
692 2012-04-27 Chong Yidong <cyd@gnu.org>
694 * simple.el (delete-active-region): Move to killing custom group.
696 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
698 * progmodes/which-func.el (which-func-current): Quote %
699 characters for mode-line processing.
701 2012-04-27 Chong Yidong <cyd@gnu.org>
703 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
704 reaching eob (Bug#11286).
706 2012-04-27 Eli Zaretskii <eliz@gnu.org>
708 * progmodes/gdb-mi.el (gdb-control-level): New variable.
709 (gdb): Make it buffer-local and init to zero.
710 (gdb-control-commands-regexp): New variable.
711 (gdb-send): Don't wrap in "-interpreter-exec console" if
712 gdb-control-level is positive. Increment gdb-control-level
713 whenever the command matches gdb-control-commands-regexp, and
714 decrement it each time the command is "end". (Bug#11279)
716 2012-04-27 Martin Rudalics <rudalics@gmx.at>
718 * window.el (adjust-window-trailing-edge, enlarge-window)
719 (shrink-window, window-resize):
720 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
723 2012-04-27 Chong Yidong <cyd@gnu.org>
725 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
726 fix "missing prefix" warning. All callers changed.
728 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
730 * emacs-lisp/assoc.el: Move to obsolete/.
732 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
734 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
736 * term/ns-win.el (ns-define-service):
737 * progmodes/pascal.el (pascal-goto-defun):
738 * progmodes/js.el (js--read-tab):
739 * progmodes/etags.el (tags-lazy-completion-table):
740 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
741 * emacs-lisp/ewoc.el (ewoc--wrap):
742 * emacs-lisp/assoc.el (aput, adelete, amake):
743 * doc-view.el (doc-view-convert-current-doc):
744 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
746 2012-04-26 Chong Yidong <cyd@gnu.org>
748 * image.el (image-type-from-buffer): Only return supported image
751 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
752 value, for symmetry with diff-end-of-hunk.
753 (diff-split-hunk, diff-find-source-location)
754 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
755 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
756 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
757 compute the relevant hunk or file properly (Bug#6005).
758 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
760 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
769 * vc/vc.el: Replace lexical-let by lexical-binding.
770 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
771 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
772 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
774 2012-04-26 Chong Yidong <cyd@gnu.org>
776 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
777 (diff-mode-shared-map): Bind it to / and [remap undo].
779 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
780 (ediff-window-setup-function): Use it as the default, to set up
781 windows based on whether the current frame is graphical (Bug#2138).
782 (ediff-choose-window-setup-function-automatically): Make obsolete.
784 * vc/ediff-init.el: Always define ediff-pixel-width/height.
786 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
788 * ffap.el: Remove old code for obsolete package.
789 (ffap-complete-as-file-p): Remove.
791 Use completion-table-with-quoting for comint and pcomplete.
792 * comint.el (comint--unquote&requote-argument)
793 (comint--unquote-argument, comint--requote-argument): New functions.
794 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
795 (comint-quote-filename): Use regexp-opt-charset.
796 (comint--common-suffix, comint--common-quoted-suffix)
797 (comint--table-subvert): Remove.
798 (comint-unquote-function, comint-requote-function): New vars.
799 (comint--complete-file-name-data): Use them with
800 completion-table-with-quoting.
801 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
802 * pcomplete.el (pcomplete-arg-quote-list)
803 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
804 (pcomplete-unquote-argument-function): Default to non-nil.
805 (pcomplete-unquote-argument): Simplify.
806 (pcomplete--common-quoted-suffix): Remove.
807 (pcomplete-requote-argument-function): New var.
808 (pcomplete--common-suffix): New function.
809 (pcomplete-completions-at-point): Use completion-table-with-quoting
810 and completion-table-subvert.
812 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
813 (minibuffer--double-dollars): Preserve properties.
814 (completion--sifn-requote): New function.
815 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
817 * minibuffer.el: Add support for completion of quoted/escaped data.
818 (completion-table-with-quoting, completion-table-subvert): New funs.
819 (completion--twq-try, completion--twq-all): New functions.
820 (completion--nth-completion): New function.
821 (completion-try-completion, completion-all-completions): Use it.
823 2012-04-25 Leo Liu <sdl.web@gmail.com>
825 * progmodes/python.el (python-pdbtrack-get-source-buffer):
826 Use compilation-message if available to find real filename.
828 2012-04-25 Chong Yidong <cyd@gnu.org>
830 * vc/diff-mode.el (diff-setup-whitespace): New function.
833 * vc/diff.el (diff-sentinel):
834 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
835 Whitespace mode variables based on diff style (Bug#8612).
837 2012-04-25 Leo Liu <sdl.web@gmail.com>
839 * progmodes/python.el (python-send-region): Add suffix .py to the
842 * files.el (auto-mode-alist): Use javascript-mode instead.
844 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
846 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
848 * soap-client.el (soap-resolve-references-for-sequence-type)
849 (soap-resolve-references-for-array-type): Hack to prevent self
850 references, see Bug#9.
851 (soap-parse-envelope): Report the contents of the 'detail' node
852 when receiving a fault reply.
853 (soap-parse-envelope): Report the contents of the entire 'detail' node.
855 * soap-inspect.el (soap-sample-value-for-simple-type)
856 (soap-inspect-simple-type): New function.
858 * soap-client.el (soap-simple-type): New struct.
859 (soap-default-xsd-types, soap-default-soapenc-types)
860 (soap-decode-basic-type, soap-encode-basic-type):
861 support unsignedInt and double basic types.
862 (soap-resolve-references-for-simple-type)
863 (soap-parse-simple-type, soap-encode-simple-type): New function.
864 (soap-parse-schema): Parse xsd:simpleType declarations.
866 * soap-client.el (soap-default-xsd-types)
867 (soap-default-soapenc-types): Add integer, byte and anyURI types.
868 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
869 the local name of "soapenc:Array".
870 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
871 decoding integer, byte and anyURI xsd types.
873 2012-04-25 Chong Yidong <cyd@gnu.org>
875 * cus-edit.el (custom-buffer-create-internal): Update header text.
877 2012-04-25 Eli Zaretskii <eliz@gnu.org>
879 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
880 settings on 'system-type', not on 'window-system'. On MS-Windows,
881 set interactive-mode on in GDB.
883 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
885 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
886 (ruby-syntax-propertize-regexp): Remove.
887 (ruby-syntax-propertize-function): Split regexp into chunks.
888 Match following code directly.
890 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
892 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
893 (ruby-syntax-propertize-regexp): New function.
894 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
895 by a special keyword.
897 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
898 (ruby-syntax-general-delimiters-goto-beg)
899 (ruby-syntax-propertize-general-delimiters): New functions.
900 (ruby-syntax-propertize-function): Use them to handle GDL.
901 (ruby-font-lock-keywords): Move old handling of GDL...
902 (ruby-font-lock-syntactic-keywords): .. to here.
903 (ruby-calculate-indent): Adjust indentation for GDL.
905 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
907 * notifications.el (top): Remove unneeded declarations.
908 (notifications-specification-version): Change to "1.2".
909 (notifications-interface, notifications-notify-method)
910 (notifications-close-notification-method): Fix docstring.
911 (notifications-get-capabilities-method): New defconst.
912 (notifications-notify): Add :action-items, :resident and
913 :transient hints. Change "image_data" to "image-data" and
914 "image_path" to "image-path".
915 (notifications-get-capabilities): New defun.
917 2012-04-24 Leo Liu <sdl.web@gmail.com>
919 * progmodes/python.el: Move hideshow setup to the end.
921 2012-04-24 Martin Rudalics <rudalics@gmx.at>
923 * window.el (handle-select-window): Clear echo area since this is
924 no more done by read_char (Bug#11304).
926 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
928 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
929 and `/ M' to filter-derived-mode.
930 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
931 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
932 (ibuffer-mark-by-mode): Use default rather than initial-input.
933 (ibuffer-filter-by-derived-mode): Autoload and require-match.
935 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
937 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
938 (ibuffer-filter-by-derived-mode): New filter.
939 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
941 2012-04-23 Andreas Politz <politza@fh-trier.de>
943 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
945 2012-04-23 Chong Yidong <cyd@gnu.org>
947 * cus-edit.el (customize-apropos, customize-apropos-options):
948 Disable matching of non-option variables (Bug#11176).
949 (customize-option, customize-option-other-window)
950 (customize-changed-options): Doc fix.
951 (customize-apropos-options, customize-apropos-faces)
952 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
954 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
955 Fix word list splitting (Bug#11132).
956 (apropos-symbol, apropos-keybinding, apropos-label)
957 (apropos-property, apropos-function-button)
958 (apropos-variable-button, apropos-misc-button): New faces.
959 (apropos-symbol-face, apropos-keybinding-face)
960 (apropos-label-face, apropos-property-face, apropos-match-face):
961 Variables removed (Bug#8396).
962 (apropos-library-button, apropos-format-plist, apropos-print)
963 (apropos-print-doc, apropos-describe-plist): Callers changed.
965 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
967 * net/xesam.el (xesam-mode-map): Use let-bound map in
968 initialization. (Bug#11292)
970 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
972 Preserve ispell session localwords when switching back to
975 * ispell.el (ispell-buffer-session-localwords): New buffer-local
976 variable to hold buffer session localwords.
977 (ispell-kill-ispell): add option 'clear to delete session
979 (ispell-command-loop, ispell-change-dictionary)
980 (ispell-buffer-local-words): Preserve session localwords when
983 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
984 Preserve session localwords when needed.
986 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
988 * ispell.el (ispell-insert-word) Remove unneeded function using
989 obsolete `translation-table-for-input'.
990 (ispell-word, ispell-process-line, ispell-complete-word):
991 Use plain `insert' instead of removed `ispell-insert-word'.
993 2012-04-22 Chong Yidong <cyd@gnu.org>
995 * cus-edit.el (custom-variable-menu)
996 (custom-variable-reset-saved, custom-face-menu)
997 (custom-face-reset-saved): If there is no saved value, make the
998 "reset-saved" operation bring back the default (Bug#9509).
999 (custom-face-state): Properly detect themed faces.
1001 * faces.el (face-spec-set): Stop supporting deprecated form of
1004 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1006 Move functions from C to Lisp. Make non-blocking method calls
1007 the default. Implement further D-Bus standard interfaces.
1009 * net/dbus.el (dbus-message-internal): Declare function.
1010 Remove unneeded function declarations.
1011 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1012 (dbus-message-type-method-return, dbus-message-type-error)
1013 (dbus-message-type-signal): Declare variables. Remove local
1015 (dbus-interface-dbus, dbus-interface-peer)
1016 (dbus-interface-introspectable, dbus-interface-properties)
1017 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1019 (dbus-interface-objectmanager): New defconst.
1020 (dbus-call-method, dbus-call-method-asynchronously)
1021 (dbus-send-signal, dbus-method-return-internal)
1022 (dbus-method-error-internal, dbus-register-service)
1023 (dbus-register-signal, dbus-register-method): New defuns, moved
1025 (dbus-call-method-handler, dbus-setenv)
1026 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1028 (dbus-call-method-non-blocking): Make it an obsolete function.
1029 (dbus-unregister-object, dbus-unregister-service)
1030 (dbus-handle-event, dbus-register-property)
1031 (dbus-property-handler): Obey the new structure of
1032 `bus-registered-objects'.
1033 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1034 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1035 Use `dbus-call-method'.
1037 2012-04-22 Chong Yidong <cyd@gnu.org>
1039 * cus-edit.el (custom-commands, custom-reset-menu)
1040 (Custom-reset-standard): Tweak labels.
1041 (custom-reset-button-menu): Change default to t.
1042 (custom-buffer-create-internal): For the custom-reset-button-menu
1043 case, put the revert button first.
1044 (custom-group-subtitle): New face.
1045 (custom-group-value-create): Align docstring to a specific column.
1047 * wid-edit.el (widget-documentation-link-add): Don't handle
1048 indentation in this function.
1049 (widget-documentation-string-indent-to): New function.
1050 (widget-documentation-string-value-create): Use it.
1052 * autorevert.el (auto-revert):
1053 * epg-config.el (epg):
1054 * ibuffer.el (ibuffer):
1057 * eshell/eshell.el (eshell):
1058 * net/ange-ftp.el (ange-ftp):
1059 * progmodes/ebnf2ps.el (postscript):
1060 * progmodes/flymake.el (flymake):
1061 * progmodes/prolog.el (prolog):
1062 * progmodes/verilog-mode.el (verilog-mode):
1063 * progmodes/which-func.el (which-func):
1064 * term/xterm.el (xterm):
1065 * textmodes/picture.el (picture):
1066 * textmodes/tildify.el (tildify):
1067 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1068 customization buffers.
1070 2012-04-22 Alan Mackenzie <acm@muc.de>
1072 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1073 Adding a ) can hide the resulting (..) from searches. Fix it.
1074 Bound the backward search to the position of the existing (.
1076 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1078 * progmodes/verilog-mode.el (verilog-mode): Check whether
1079 which-func-modes is t before adding verilog-mode.
1080 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1082 2012-04-21 Leo Liu <sdl.web@gmail.com>
1084 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1086 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1088 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1089 filling of the last column of a table (Bug#5635).
1090 (woman-find-next-control-line): New arg, specifying an additional
1091 regexp component for the control line.
1092 (woman2-roff-buffer): Use it.
1093 (woman-break-table): New function.
1094 (woman2-TS): Use it.
1096 2012-04-21 Chong Yidong <cyd@gnu.org>
1098 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1099 (woman-horizontal-escapes, woman-negative-vertical-space)
1100 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1101 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1103 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1105 * minibuffer.el (completion-file-name-table): Complete user names.
1107 2012-04-20 Leo Liu <sdl.web@gmail.com>
1109 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1112 2012-04-20 Chong Yidong <cyd@gnu.org>
1114 * server.el (server-execute): Respect initial-buffer-choice if it
1115 is a string and there are no files to open (Bug#2825).
1116 (server-create-window-system-frame, server-create-tty-frame):
1117 Don't switch buffers here.
1118 (server-process-filter): Only try to open a window system frame if
1119 compiled with graphical support (Bug#8314).
1121 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1123 * battery.el (battery-echo-area-format): Display remaining time
1124 for sysfs backend too (Bug#11269).
1125 (battery-linux-sysfs): Fix conditional for the charge.
1127 2012-04-20 Chong Yidong <cyd@gnu.org>
1129 * progmodes/gdb-mi.el (gdb): Revert previous change.
1130 (gdb-inferior-io--init-proc): New function.
1131 (gdb-init-1): Use it.
1132 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1133 responsible for allocating a new pty and hooking it to gdb when
1134 the old pty gets an EIO due to process exit.
1135 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1136 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1137 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1139 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1141 * window.el (window-min-size, window-sizable, window-min-delta)
1142 (window-max-delta, window--resizable, window-resizable)
1143 (window-total-size, window-full-height-p, window-full-width-p)
1144 (window-in-direction, window--resize-mini-window, window-resize)
1145 (window--resize-child-windows-normal)
1146 (window--resize-child-windows, window--resize-siblings)
1147 (window--resize-this-window, adjust-window-trailing-edge)
1148 (enlarge-window, shrink-window): Doc fixes.
1150 2012-04-20 Chong Yidong <cyd@gnu.org>
1152 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1153 New function to call delete-process on the gdb-inferior buffer's pty.
1154 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1155 pty process (Bug#11273).
1156 (gdb-update): New arg to suppress talking to the gdb process.
1157 (gdb-done-or-error): Use it.
1158 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1159 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1160 sentinel not being called.
1162 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1164 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1166 2012-04-20 Glenn Morris <rgm@gnu.org>
1168 * net/network-stream.el (open-network-stream): Doc fix.
1170 2012-04-20 Chong Yidong <cyd@gnu.org>
1172 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1174 2012-04-20 Alan Mackenzie <acm@muc.de>
1176 Ensure searching for keywords is case sensitive.
1178 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1179 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1180 (c-defun-name, c-mark-function, c-cpp-define-name)
1181 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1182 (c-context-line-break): Bind case-fold-search to nil.
1184 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1185 Bind case-fold-search to nil.
1187 2012-04-20 Chong Yidong <cyd@gnu.org>
1189 * mail/sendmail.el (mail-bury): Call return action with the right
1190 Rmail buffer (Bug#11242).
1192 * server.el (server-process-filter): Handle corner case where both
1193 tty and nowait options are present (Bug#11102).
1195 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1197 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1198 (top level): Put into the executable the ident-style '$Id:' tag on
1201 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1203 * electric.el (electric-indent-post-self-insert-function): Check that
1204 electric-indent-mode is enabled in current buffer.
1206 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1208 * imenu.el (imenu-progress-message): Restore; it is "used" in
1209 erc/erc-imenu.el and net/snmp-mode.el.
1211 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1213 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1214 (mouse-avoidance-nudge-mouse): Remove unused binding.
1216 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1218 * descr-text.el (describe-char):
1219 * progmodes/python.el (python-describe-symbol):
1220 Don't call `toggle-read-only', set `buffer-read-only'.
1222 * imenu.el (imenu-default-goto-function): Mark unused args.
1223 (imenu-progress-message): Remove obsolete macro; all callers changed.
1225 * subr.el (keymap-canonicalize): Remove unused binding.
1226 (read-passwd): Mark unused arg.
1228 * tutorial.el (tutorial--display-changes): Remove unused binding.
1229 (tutorial--save-tutorial-to): Remove unused variable.
1231 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1232 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1233 (package-generate-autoloads, package-menu--generate)
1234 (package-menu--find-upgrades): Remove unused bindings.
1236 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1237 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1238 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1239 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1240 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1241 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1242 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1243 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1244 (cua-delete-char-rectangle): Mark unused args.
1245 (cua-align-rectangle): Remove unused binding.
1247 * mail/rmail.el (compilation--message->loc)
1248 (epa--find-coding-system-for-mime-charset): Declare.
1250 * net/dbus.el (dbus-register-service): Declare.
1251 (dbus-name-owner-changed-handler): Remove unused binding.
1253 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1254 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1255 (nxml-scan-backward-within): Mark unused arg.
1256 (nxml-dynamic-markup-word): Remove unused binding.
1258 * mouse.el (mouse-menu-major-mode-map):
1259 * emacs-lisp/authors.el (authors-scan-change-log)
1260 (authors-add-to-author-list):
1261 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1262 * emacs-lisp/smie.el (smie-auto-fill):
1263 * mail/sendmail.el (mail-bury):
1264 * mail/unrmail.el (unrmail):
1265 * net/tls.el (open-tls-stream):
1266 * textmodes/picture.el (picture-mouse-set-point):
1267 Remove unused bindings.
1269 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1271 * net/tramp.el (tramp-action-password): Let-bind
1272 `enable-recursive-minibuffers' to t.
1274 2012-04-18 Sam Steingold <sds@gnu.org>
1276 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1277 instead of 'string to accommodate values like [f11].
1278 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1279 * progmodes/gdb-mi.el: Likewise.
1281 2012-04-18 Leo Liu <sdl.web@gmail.com>
1283 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1285 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1288 2012-04-18 Chong Yidong <cyd@gnu.org>
1290 * simple.el (line-move): Use forward-line if in batch mode
1293 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1295 * files.el (after-find-file): Do not try to add a final newline if
1296 the buffer is read-only (Bug#11156).
1298 2012-04-17 Richard Stallman <rms@gnu.org>
1300 * mail/rmail.el (rmail-start-mail):
1301 Pass (rmail-mail-return...) for the return-action.
1302 Pass (rmail-yank-current-message...) for the yank-action.
1303 (rmail-yank-current-message): New function.
1304 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1305 (rmail-reply): Likewise.
1306 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1308 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1309 buffer, not the last. Reject temp buffers. Use the rmail-mode
1312 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1314 * server.el (server-ensure-safe-dir): Simplify.
1316 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1318 * emacs-lisp/smie.el: Provide smarter auto-filling.
1319 (smie-auto-fill): New function.
1320 (smie-setup): Use it.
1322 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1324 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1326 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1327 (comment-indent): Use it.
1329 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1331 * ses.el: The overall change is to add cell renaming, that is
1332 setting fancy names for cell symbols other than name matching
1333 "\\`[A-Z]+[0-9]+\\'" regexp .
1334 (ses-localvars): Add ses--renamed-cell-symb-list.
1335 (ses-create-cell-variable): New defun.
1336 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1337 (ses-relocate-formula): Relocate formulas only for cells the
1338 symbols of which are not renamed, i.e. symbols whose names do not
1339 match regexp "\\`[A-Z]+[0-9]+\\'".
1340 (ses-relocate-all): Relocate values only for cells the symbols of
1341 which are not renamed.
1342 (ses-load): Create cells variables as the (ses-cell ...) are read,
1343 in order to check row col consistency with cell symbol name only
1344 for cells that are not renamed.
1345 (ses-replace-name-in-formula): New defun.
1346 (ses-rename-cell): New defun.
1348 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1350 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1351 New option (bug#11118).
1352 (perl-calculate-indent): Respect it.
1354 2012-04-17 Glenn Morris <rgm@gnu.org>
1356 * dired-aux.el (dired-mark-read-string): Doc fix.
1358 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1360 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1361 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1363 2012-04-17 Glenn Morris <rgm@gnu.org>
1365 * mouse.el (mouse-drag-track):
1366 * speedbar.el (speedbar-frame-mode):
1367 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1369 2012-04-16 Leo Liu <sdl.web@gmail.com>
1371 * progmodes/python.el: Trivial cleanup.
1373 2012-04-16 Glenn Morris <rgm@gnu.org>
1375 * vc/vc.el (vc-string-prefix-p):
1376 * vc/pcvs-util.el (cvs-string-prefix-p):
1377 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1378 * mpc.el (mpc-string-prefix-p):
1379 Make all of these into obsolete aliases for string-prefix-p.
1381 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1383 * textmodes/two-column.el: Move custom options to the start.
1384 (frame-width): Remove compat definition.
1385 (2C-associate-buffer, 2C-dissociate):
1386 Use with-current-buffer rather than save-excursion.
1387 (2C-dissociate): Force a mode-line update.
1388 (2C-autoscroll): Use ignore-errors.
1390 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1393 * emacs-lisp/cl-extra.el (*random-state*):
1394 Remove unnecessary declaration.
1396 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1398 * play/cookie1.el (cookie-snarf):
1399 Give an explicit error if input file cannot be read.
1401 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1403 * progmodes/perl-mode.el (c-macro-expand):
1404 Remove unnecessary autoload (it is in loaddefs.el).
1406 * textmodes/picture.el (picture-desired-column)
1407 (picture-update-desired-column): Convert comments to doc-strings.
1408 (picture-substitute): Remove function.
1409 (picture-mode-map): Initialize in the defvar.
1411 * woman.el: Remove eval-after-load for tar-mode.
1412 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1413 (woman-tar-extract-file): Autoload it.
1415 * frame.el (automatic-hscrolling): Make this alias obsolete.
1417 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1419 * ispell.el (ispell-set-spellchecker-params): Post-process
1420 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1421 (ispell-dictionary-base-alist): Revert to original XEmacs
1422 friendly version for default. [:alpha:] will be added in
1423 `ispell-set-spellchecker-params' if needed
1425 2012-04-16 Chong Yidong <cyd@gnu.org>
1427 * image.el (imagemagick--extension-regexp): New variable.
1428 (imagemagick-register-types): Use it.
1429 (imagemagick-types-inhibit): Add :set function. Allow new value
1430 of t to inhibit all types.
1432 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1433 so we can preload it.
1435 * loadup.el (fboundp): Preload regexp-opt, needed by
1436 imagemagick-register-types.
1438 2012-04-15 Chong Yidong <cyd@gnu.org>
1440 * frame.el (scrolling): Remove nearly unused customization group.
1442 * scroll-all.el (scroll-all-mode): Move to windows group.
1444 2012-04-15 Chong Yidong <cyd@gnu.org>
1446 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1448 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1450 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1451 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1453 2012-04-15 Glenn Morris <rgm@gnu.org>
1455 * simple.el (process-file-side-effects): Doc fix.
1457 2012-04-15 Glenn Morris <rgm@gnu.org>
1459 * international/mule-cmds.el (set-language-environment): Doc fix.
1461 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1463 * server.el (server-auth-key, server-generate-key): Doc fixes.
1464 (server-get-auth-key): Doc fix. Use `string-match-p'.
1465 (server-start): Reflow docstring.
1467 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1469 * server.el (server-generate-key): `called-interactively-p'
1470 requires a parameter.
1472 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1474 * server.el (server-auth-key): New variable.
1475 (server-generate-key, server-get-auth-key): New function.
1476 (server-start): Use the new variable and functions to allow
1477 setting a permanent server key (bug#9423).
1479 2012-04-14 Leo Liu <sdl.web@gmail.com>
1481 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1483 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1486 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1487 Emacs uses American spelling.
1489 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1491 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1492 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1493 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1494 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1496 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1498 * progmodes/which-func.el (which-func-modes): Change default.
1500 2012-04-14 Kim F. Storm <storm@cua.dk>
1502 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1503 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1505 2012-04-14 Chong Yidong <cyd@gnu.org>
1507 * custom.el (custom-theme-set-variables): Doc fix.
1509 2012-04-14 Glenn Morris <rgm@gnu.org>
1511 * international/mule.el (set-auto-coding-for-load): Doc fix.
1513 2012-04-14 Alan Mackenzie <acm@muc.de>
1515 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1516 imenu work again for Objective C Mode. Correct the *-index values,
1517 these having been disturbed by a previous change in 2011-08.
1519 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1520 Correct two search limits.
1522 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1524 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1526 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1528 * international/characters.el: Fix sorting.
1530 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1532 * international/characters.el: Add more missing Latin case pairs.
1534 2012-04-14 Glenn Morris <rgm@gnu.org>
1536 * files.el (dir-locals-set-class-variables): Doc fix.
1538 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1540 * international/characters.el: Add set-case-syntax-pair call for
1541 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1542 counterpart. (Bug#11209)
1544 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1546 2012-04-14 Glenn Morris <rgm@gnu.org>
1548 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1550 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1552 * textmodes/ispell.el (ispell-dictionary-base-alist):
1553 Add data for Hebrew.
1555 2012-04-14 Chong Yidong <cyd@gnu.org>
1557 * net/rcirc.el (rcirc-cmd-quit):
1558 Revert 2012-03-18 change (Bug#11192).
1560 2012-04-14 Glenn Morris <rgm@gnu.org>
1562 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1564 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1566 * minibuffer.el (completion-in-region-mode-map):
1567 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1569 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1571 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1573 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1575 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1576 to allow `C-M-f' and `C-M-b' to move to the nearest path
1577 separator (bug#9511).
1579 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1581 * avoid.el: Require cl when compiling. And also move the
1582 `provide' to the end.
1584 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1586 * avoid.el (mouse-avoidance-banish-position): New variable.
1587 (mouse-avoidance-banish-destination): Use it (bug#10165).
1589 2012-04-13 Leo Liu <sdl.web@gmail.com>
1591 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1593 2012-04-13 Ken Brown <kbrown@cornell.edu>
1595 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1596 this is no longer needed now that cygstart understands file:// URLs.
1597 (browse-url-filename-alist): For the same reason, don't modify
1598 file:// URLs on Cygwin.
1600 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1602 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1603 the region on shift if the binding is already shifted (bug#11221).
1605 2012-04-12 Glenn Morris <rgm@gnu.org>
1607 * mail/mailpost.el: Move to obsolete/.
1609 2012-04-12 Drew Adams <drew.adams@oracle.com>
1611 * imenu.el (imenu--generic-function): Ignore invisible definitions
1614 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1616 * hexl.el (hexl-bits): New variable.
1617 (hexl-options): Mention the variable in the doc string.
1618 (hexl-rulerise, hexl-line-displen): New functions.
1619 (hexl-mode): Mention the new variable.
1620 (hexl-mode, hexl-current-address, hexl-current-address):
1622 (hexl-ascii-start-column): New function.
1623 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1624 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1626 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1628 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1629 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1630 the encoding, as expected by hunspell.
1632 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * battery.el (battery--linux-sysfs-regexp): New const.
1635 (battery-status-function): Use it. Remove yeeloong special case.
1636 (battery-yeeloong-sysfs): Remove.
1637 (battery-echo-area-format): Remove yeeloong special case.
1639 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1641 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1642 Reported by Noah Friedman.
1644 * subr.el (read-passwd): Use read-string.
1646 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1648 * vcursor.el (vcursor-move): Increase the priority of the overlay
1651 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1653 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1654 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1656 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1658 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1659 define-minor-mode (bug#10760).
1661 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1663 * progmodes/grep.el (rgrep): Tweak the find command line so
1664 that directories matching `grep-find-ignored-files' won't be
1667 2012-04-11 Chong Yidong <cyd@gnu.org>
1669 * startup.el (command-line): Remove support for long-obsolete
1670 variable font-lock-face-attributes.
1672 2012-04-11 Glenn Morris <rgm@gnu.org>
1674 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1676 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1678 * window.el (window--state-get-1): Obey window-point-insertion-type.
1680 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1682 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1683 to previous function when point is on the first character of a
1684 function. Take care of that in `narrow-to-defun' (bug#6157).
1686 2012-04-11 Glenn Morris <rgm@gnu.org>
1688 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1689 not just file-errors.
1691 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1692 (vc-bzr-sha1): Use internal sha1.
1694 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1696 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1698 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1700 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1701 that start in the middle of the line (bug#10496).
1703 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1705 * battery.el (battery-linux-proc-acpi): Only one battery is
1706 discharged at a time, but that seems to confuse battery.el when
1707 computing `rate-type' for the battery not being discharged
1710 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1712 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1714 * international/quail.el: Use dolist and simplify.
1715 (quail-define-package, quail-update-keyboard-layout)
1716 (quail-define-rules): Use dolist.
1717 (quail-insert-kbd-layout, quail-get-translation): CSE.
1719 * tmm.el: Use dolist, remove left over hook.
1720 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1722 (calendar-load-hook): Don't mess with it.
1724 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1725 Use derived-mode-p. Run the diff asynchronously.
1727 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1729 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1731 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1733 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1734 (list-dynamic-libraries--loaded): New function.
1735 (list-dynamic-libraries--refresh): Use it.
1737 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1739 * progmodes/python.el (python-fill-paragraph):
1740 Make python-fill-region in a multiline string work when font-lock is
1741 disabled (bug#7018).
1743 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
1745 * language/european.el (cp775): Add oem/legacy (en)coding on
1746 DOS/MS Windows for the Baltic languages. There are still plenty
1747 of texts written in this encoding/codepage (bug#6519).
1749 2012-04-10 Glenn Morris <rgm@gnu.org>
1751 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1752 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1754 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1756 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1757 next-line "n" and previous-line "p" in order to make recentf more
1758 consistent with ibuffer, dired or org-mode (bug#9387).
1760 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1762 * image.el (put-image): Return the overlay created instead of the
1763 optional input string (bug#7834). Note that this may break code
1764 that is (for some reason or other) depending on `put-image'
1765 returning the string.
1767 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1769 * simple.el (zap-to-char): Allow zapping using input methods
1772 * textmodes/fill.el (fill-region): Leave point and mark where they
1773 were before filling (bug#5399).
1775 2012-04-09 Glenn Morris <rgm@gnu.org>
1777 * version.el (emacs-bzr-get-version):
1778 Handle lightweight checkouts of local branches.
1780 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1782 * international/characters.el: Recover lost case pairs. (Bug#11209)
1784 2012-04-09 Chong Yidong <cyd@gnu.org>
1786 * custom.el (custom-variable-p): Return nil for non-symbol
1787 arguments instead of signaling an error.
1788 (user-variable-p): Obsolete alias for custom-variable-p.
1790 * apropos.el (apropos-variable):
1791 * files-x.el (read-file-local-variable):
1792 * simple.el (set-variable):
1793 * woman.el (woman-mini-help):
1794 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1796 2012-04-09 Glenn Morris <rgm@gnu.org>
1798 * startup.el (normal-top-level): Don't look for leim-list.el
1799 in places where it will not be found. (Bug#910)
1801 * international/mule-cmds.el (set-default-coding-systems):
1802 * files.el (normal-mode):
1803 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1804 This function was removed with ucs-tables.el in 2008.
1806 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1808 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1809 ispell-encoding8-command to "-i", without a trailing space.
1810 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1811 separate command-line arguments, to specify the encoding, since
1812 that's how hunspell expects it.
1814 2012-04-08 Glenn Morris <rgm@gnu.org>
1816 * loadup.el: Load bindings before cus-start.
1817 This reduces somewhat the number of "rogue" settings in emacs -Q.
1819 2012-04-07 Glenn Morris <rgm@gnu.org>
1821 * version.el (emacs-bzr-get-version): New function.
1822 (emacs-bzr-version): New variable.
1823 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1824 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1826 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1828 * international/uni-bidi.el, international/uni-category.el:
1829 * international/uni-combining.el, international/uni-decimal.el:
1830 * international/uni-decomposition.el, international/uni-digit.el:
1831 * international/uni-lowercase.el, international/uni-mirrored.el:
1832 * international/uni-name.el, international/uni-numeric.el:
1833 * international/uni-titlecase.el, international/uni-uppercase.el:
1834 Update for Unicode 6.1.
1836 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1838 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1840 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1842 * window.el (shrink-window): Mention the `window-min-height'
1843 variable in the doc string.
1845 2012-04-05 Bastien Guerry <bzg@altern.org>
1847 * color.el (color-lighten-name): Fix typo.
1849 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1851 * server.el (server--on-display-p): New function.
1852 (server--on-display-p): Use it.
1854 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1856 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1859 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1861 * comint.el (comint--common-quoted-suffix): Check string boundary
1862 before comparing (bug#11158).
1863 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1865 2012-04-04 Chong Yidong <cyd@gnu.org>
1867 * minibuffer.el (completion-extra-properties): Doc fix.
1869 * subr.el (delayed-warnings-hook): Doc fix.
1871 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1873 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1874 selection (Bug#11159).
1875 (epa-insert-keys): Inform that the default public key will be
1876 exported if no key is selected.
1878 2012-04-04 Richard Stallman <rms@gnu.org>
1880 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1882 2012-04-03 Chong Yidong <cyd@gnu.org>
1884 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1885 mail-insert-file, not its obsolete alias mail-attach-file.
1887 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1889 * notifications.el (notifications-notify): Fix docstring.
1891 2012-04-02 Glenn Morris <rgm@gnu.org>
1893 * emacs-lisp/authors.el (authors-aliases): Another addition.
1895 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1897 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1898 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1899 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1901 2012-04-01 Chong Yidong <cyd@gnu.org>
1903 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1904 Handle root directory properly.
1905 (copy-directory): Caller changed.
1907 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1908 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1910 2012-03-31 Glenn Morris <rgm@gnu.org>
1912 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1914 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1916 * calendar/calendar.el (calendar-window-list)
1917 (calendar-hide-window): Restore. (Bug#11140)
1918 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1920 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1922 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1924 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1925 Check if file is a symlink (Bug#10489).
1927 * files.el (copy-directory): Likewise.
1929 2012-03-30 Chong Yidong <cyd@gnu.org>
1931 * image.el (imagemagick-types-inhibit)
1932 (imagemagick-register-types): Doc fix.
1934 2012-03-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1936 * ispell.el (ispell-get-extended-character-mode):
1937 Disable extended-char-mode for hunspell. hunspell does not support it
1938 and treats ~word as ordinary words in pipe mode.
1940 2012-03-30 Glenn Morris <rgm@gnu.org>
1942 * tutorial.el (help-with-tutorial): Ensure local variables don't
1943 happen to make the buffer read-only. (Bug#11127)
1945 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1947 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1948 (perl-calculate-indent): Return `noindent' in strings.
1950 2012-03-28 Sam Steingold <sds@gnu.org>
1952 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1953 instead of the broken adhockery which does not prevent calendar
1954 buffers from being displayed at random after exit.
1955 (calendar-window-list, calendar-hide-window): Remove the broken
1958 2012-03-28 Glenn Morris <rgm@gnu.org>
1960 * replace.el (query-replace-map): Doc fix.
1962 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1964 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1965 contents. (Bug#11109)
1967 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1969 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1971 (avl-tree--check, avl-tree--check-node): New funs.
1973 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1975 * window.el (switch-to-visible-buffer): New option.
1976 (switch-to-prev-buffer, switch-to-next-buffer):
1977 Observe switch-to-visible-buffer. Make sure that checking for a window
1978 showing a buffer already is done on the same frame.
1980 2012-03-27 Glenn Morris <rgm@gnu.org>
1982 * startup.el (mail-host-address): Doc fix.
1984 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1986 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1989 2012-03-26 Ami Fischman <ami@fischman.org>
1991 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1993 2012-03-26 Glenn Morris <rgm@gnu.org>
1995 * files.el (save-buffers-kill-emacs): Doc fix.
1997 * startup.el (normal-top-level, command-line, command-line-1):
1998 Give them doc strings.
2000 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2002 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2003 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2005 2012-03-25 Chong Yidong <cyd@gnu.org>
2007 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2008 theme if it was previously enabled before (Bug#11031).
2010 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2011 spec with custom-face-get-current-spec if its :shown-value is not
2012 determined yet (Bug#9337).
2013 (customize-create-theme, custom-theme-revert): Doc fixes.
2015 * button.el (button-at): Minor addition to docstring.
2017 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2019 * vc/vc.el (vc-merge): Fix a prompt.
2021 2012-03-24 Chong Yidong <cyd@gnu.org>
2023 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2026 * button.el (button-at): Minor addition to docstring.
2028 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2030 * newcomment.el (comment-choose-indent): No space after BOL.
2032 2012-03-22 Sam Steingold <sds@gnu.org>
2034 * window.el (switch-to-prev-buffer): Revert last patch because the
2035 bug turned out to be an advertised feature (Elisp manual 28.14).
2037 2012-03-22 Glenn Morris <rgm@gnu.org>
2039 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2040 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2042 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2044 * net/network-stream.el (network-stream-open-starttls): Make error
2045 message under Windows be less misleading.
2047 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2049 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2050 understands (bug#9942).
2052 2012-03-22 Chong Yidong <cyd@gnu.org>
2054 * simple.el (end-of-visible-line): Handle return value of
2055 next-single-property-change properly (Bug#9371).
2057 2012-03-22 Kenichi Handa <handa@m17n.org>
2059 * international/quail.el (quail-insert-kbd-layout): Fix previous
2060 change. To avoid unwanted bidi reordering, use
2061 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2063 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2065 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2066 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2067 (ruby-beginning-of-indent): Be more careful with the difference
2068 between word-boundary and symbol boundary.
2069 (ruby-mode-syntax-table): Make : a symbol constituent.
2071 2012-03-21 Andreas Politz <politza@fh-trier.de>
2073 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2075 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2077 * progmodes/etags.el (tags-completion-at-point-function):
2080 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2082 2012-03-21 Sam Steingold <sds@gnu.org>
2084 * progmodes/etags.el (tags-completion-at-point-function):
2085 Avoid the error when point is inside the pattern.
2087 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2089 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2092 2012-03-21 Drew Adams <drew.adams@oracle.com>
2094 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2096 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2098 * ido.el (ido-set-current-directory, ido-read-internal)
2099 (ido-choose-completion-string, ido-completion-help): Handle nil
2100 value of ido-completion-buffer (Bug#11008).
2102 2012-03-21 Sam Steingold <sds@gnu.org>
2104 * window.el (switch-to-prev-buffer): Do not switch to a visible
2105 window previous buffer, just like with the frame previous buffers.
2107 2012-03-21 Chong Yidong <cyd@gnu.org>
2109 * faces.el (make-face, make-empty-face, copy-face):
2110 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2113 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2115 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2116 (widget-complete): Remove broken use of it.
2118 2012-03-20 Chong Yidong <cyd@gnu.org>
2120 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2121 Use string-width and truncate-string-width to handle arbitrary
2124 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2126 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2127 to draw rectangles, not squares. (Regression introduced by revno
2128 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2130 2012-03-18 Chong Yidong <cyd@gnu.org>
2132 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2133 it is not yet defined (for temacs).
2135 2012-03-18 Leo Liu <sdl.web@gmail.com>
2137 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2139 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2141 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2142 (ispell-choices-win-default-height, ispell-silently-savep)
2143 (ispell-dictionary-alist, ispell-encoding8-command)
2144 (ispell-check-version, ispell-aspell-find-dictionary)
2145 (ispell-valid-dictionary-list, ispell-words-keyword)
2146 (ispell-get-word, ispell-internal-change-dictionary)
2147 (ispell-region, ispell-skip-region-list)
2148 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2149 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2150 (ispell-message-text-end, ispell-message)
2151 (ispell-buffer-local-parsing): Doc fix.
2153 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2155 * htmlfontify.el: Add support for code block fontification for ODT
2157 (hfy-optimisations): Define new option
2159 (hfy-fontify-buffer): Honor above setting.
2160 (hfy-begin-span, hfy-end-span): New routines factored out form
2161 `hfy-fontify-buffer'.
2162 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2163 that permit insertion of custom tags.
2164 (hfy-fontify-buffer): Use above handlers.
2165 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2166 (hfy-face-to-css): Re-defined to be a variable.
2167 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2168 over multiple runs. This is made possible by having the caller let
2169 bind a special variable `hfy-user-sheet-assoc'.
2170 (htmlfontify-string): New defun.
2171 (hfy-compile-face-map): Make sure that the last char in the
2172 buffer is correctly fontified.
2173 (hfy-face-resolve-face): Whitespace only change.
2175 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2177 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2180 2012-03-16 Leo Liu <sdl.web@gmail.com>
2182 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2184 2012-03-16 Alan Mackenzie <acm@muc.de>
2186 Further optimise the handling of large macros.
2188 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2189 limit to a call of `c-literal-limits'.
2190 (c-determine-+ve-limit): New function.
2191 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2192 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2193 In CASE 5B, restrict a search limit to 500.
2194 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2196 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2197 Restrict macro bounds to +-500 from after-change's BEG END.
2199 2012-03-16 Leo Liu <sdl.web@gmail.com>
2201 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2203 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2205 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2206 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2208 2012-03-16 Glenn Morris <rgm@gnu.org>
2210 * view.el (view-buffer, view-buffer-other-window)
2211 (view-buffer-other-frame): Doc fixes re special mode-class.
2213 * subr.el (eval-after-load): If named feature is provided not from
2214 a file, run after-load forms. (Bug#10946)
2216 * calendar/calendar.el (calendar-insert-at-column):
2217 Handle non-unit-width characters a bit better. (Bug#10978)
2219 2012-03-15 Chong Yidong <cyd@gnu.org>
2221 * emacs-lisp/ring.el (ring-extend): New function.
2222 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2224 * comint.el (comint-read-input-ring)
2225 (comint-add-to-input-history): Grow comint-input-ring lazily.
2227 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2229 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2230 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2232 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2233 (imenu-add-to-menubar): Don't add a redundant index.
2234 (imenu-update-menubar): Handle a dynamically composed keymap.
2236 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2238 * mail/sendmail.el (mail-encode-header):
2239 Bind rfc2047-encode-encoded-words to nil.
2241 2012-03-13 Glenn Morris <rgm@gnu.org>
2243 * calendar/calendar.el (calendar-string-spread):
2244 Handle non-unit-width characters a bit better. (Bug#10978)
2246 2012-03-13 Leo Liu <sdl.web@gmail.com>
2248 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2249 directory and file as argument (Bug#10822).
2251 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2253 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2254 For dynamically generated code, follow $PC.
2255 (gdb-disassembly-handler-custom): Handle no function name case.
2257 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2259 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2260 * emulation/ws-mode.el (ws-query-replace):
2261 * sort.el (sort-regexp-fields):
2262 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2264 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2266 * dabbrev.el: Fix cycle completion order (bug#10963).
2267 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2268 (dabbrev-completion): Don't use an obarray; provide
2269 a cycle-sort-function.
2271 2012-03-12 Leo Liu <sdl.web@gmail.com>
2273 * simple.el (kill-new): Use equal-including-properties for comparison.
2274 (kill-do-not-save-duplicates): Doc fix.
2276 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2278 * dabbrev.el: Fix cycle completion (bug#10963).
2279 Use lexical binding and wrap to 80 columns.
2280 (dabbrev-completion): Delay computing the list of completions.
2282 2012-03-12 Kenichi Handa <handa@m17n.org>
2284 * international/quail.el (quail-insert-kbd-layout): Surround each
2285 row by LRO and PDF instead of inserting many LRMs. Pad the left
2286 and right of each non-spacing marks. Insert invisible space
2287 between lower and upper characters to prevent composition.
2289 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2291 * minibuffer.el (minibuffer-complete): Don't get confused when the
2292 function is run twice via different commands (bug#10958).
2293 (complete-with-action): Fix docstring.
2295 2012-03-12 Chong Yidong <cyd@gnu.org>
2297 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2298 (nxml-completion-at-point-function): New function.
2299 (nxml-mode): Use it.
2300 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2302 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2303 Load generated autoloads file before byte compiling (Bug#10970).
2304 (package--make-autoloads-and-compile): New helper fun.
2306 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2308 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2310 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2312 * autorevert.el (auto-revert-handler): Ensure, that
2313 file-readable-p is applied only for local files or in
2314 auto-revert-tail-mode.
2316 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2318 * server.el (server-eval-at): Handle non-tcp connections.
2319 Decode result string.
2321 * server.el (server-msg-size): New constant.
2322 (server-reply-print): New function.
2323 (server-eval-and-print): Use it.
2324 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2327 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2329 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2332 2012-03-11 Chong Yidong <cyd@gnu.org>
2334 * simple.el (goto-line): Doc fix (Bug#9938).
2336 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2338 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2339 when finished (Bug#10963).
2341 2012-03-11 Martin Rudalics <rudalics@gmx.at>
2343 * window.el (split-window-below): Fix bug in case where
2344 split-window-keep-point is nil (Bug#10971).
2346 2012-03-11 Juri Linkov <juri@jurta.org>
2348 * replace.el (replace-highlight): Set isearch-word to nil
2349 unconditionally. (Bug#10887)
2351 2012-03-10 Eli Zaretskii <eliz@gnu.org>
2353 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2354 mairix-replace-illegal-chars; all callers changed. Don't remove
2355 ^, ~, and = characters: they are meaningful in mairix search specs.
2356 (mairix-widget-create-query): Add usage information about mairix
2357 search forms: negating words, searching for substrings, etc.
2359 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2361 * international/fontset.el (font-encoding-alist): Add an entry for
2364 2012-03-10 Richard Stallman <rms@gnu.org>
2366 * mail/sendmail.el (mail-encode-header):
2367 Set rfc2047-encode-encoded-words.
2369 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2371 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2372 view buffer means not swapped.
2373 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2374 (rmail-write-region-annotate): Error if real text has disappeared.
2376 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2378 2012-03-10 Chong Yidong <cyd@gnu.org>
2380 * emulation/cua-rect.el (cua--init-rectangles):
2381 * emulation/cua-base.el (cua--init-keymaps):
2382 Add delete-forward-char to remappings (Bug#9666).
2384 2012-03-10 Martin Rudalics <rudalics@gmx.at>
2386 * speedbar.el (speedbar-unhighlight-one-tag-line):
2387 Avoid unhighlighting due to frame switching (Bug#10275).
2389 2012-03-10 Chong Yidong <cyd@gnu.org>
2391 * minibuffer.el (completion-in-region, completion-help-at-point):
2392 Give the completion field overlay a high priority (Bug#6830).
2394 * dired.el (dired-goto-file): Recognize absolute file name
2395 listings (Bug#7126).
2396 (dired-goto-file-1): New helper function.
2397 (dired-toggle-read-only): Inhibit warnings.
2399 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
2401 * net/dbus.el (dbus-property-handler): Return empty array if
2402 there are no properties.
2404 2012-03-09 Leo Liu <sdl.web@gmail.com>
2406 * savehist.el (savehist-printable): Stricter check for string
2409 2012-03-09 Eli Zaretskii <eliz@gnu.org>
2411 * mail/smtpmail.el (smtpmail-send-it):
2412 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2415 2012-03-09 Glenn Morris <rgm@gnu.org>
2417 * files.el (dir-locals-find-file):
2418 Don't check result is regular, readable.
2419 (dir-locals-read-from-file): Demote errors.
2421 2012-03-08 Eli Zaretskii <eliz@gnu.org>
2423 * international/quail.el (quail-insert-kbd-layout):
2424 Insert invisible LRM characters before each character in a keyboard
2425 layout cell, to prevent their reordering by bidi display engine.
2426 For details, see the discussion in
2427 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2429 2012-03-08 Alan Mackenzie <acm@muc.de>
2431 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2432 the starting position; make it extend the marked region when
2433 invoked repeatedly - all under appropriate circumstances.
2434 Fixes bugs #5525, #10906.
2436 2012-03-08 Glenn Morris <rgm@gnu.org>
2438 * files.el (locate-dominating-file, dir-locals-find-file):
2439 Undo 2012-03-06 change.
2441 2012-03-07 Eli Zaretskii <eliz@gnu.org>
2443 * international/quail.el (quail-help):
2444 Force bidi-paragraph-direction be left-to-right. See discussion in
2445 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2448 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2450 Avoid superfluous registering of signals. (Bug#10807)
2452 * notifications.el (notifications-on-action-object)
2453 (notifications-on-close-object): New defvars.
2454 (notifications-on-action-signal, notifications-on-closed-signal):
2455 Unregister the signal if not needed any longer.
2456 (notifications-notify): Register `notifications-action-signal' or
2457 `notifications-closed-signal', if :on-action or :on-close has been
2460 2012-03-07 Chong Yidong <cyd@gnu.org>
2462 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2465 2012-03-06 Glenn Morris <rgm@gnu.org>
2467 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2468 (x-disown-selection-internal, x-get-selection-internal):
2469 Doc fix (add arglist signatures). (Bug#10783)
2471 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2473 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2474 Handle breakpoints with no "type".
2476 2012-03-06 Glenn Morris <rgm@gnu.org>
2478 * files.el (locate-dominating-file): Add optional predicate argument.
2479 (dir-locals-find-file): Make use of above change.
2481 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2483 * info.el (Info-insert-dir): Also try "dir.gz".
2485 2012-03-06 Glenn Morris <rgm@gnu.org>
2487 * files.el (dir-locals-find-file):
2488 Ignore non-readable or non-regular files. (Bug#10928)
2490 * files.el (locate-dominating-file): Doc fix.
2492 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2494 * calendar/calendar.el (calendar-set-mode-line):
2495 `getenv' returns a string. (Bug#10951)
2497 2012-03-05 Leo Liu <sdl.web@gmail.com>
2499 * simple.el (backward-delete-char-untabify): Constrain point to
2502 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2504 2012-03-05 Chong Yidong <cyd@gnu.org>
2506 * simple.el (count-words): If called from Lisp, return the word
2507 count, for symmetry with `count-lines'. Arglist changed.
2508 (count-words--message): Args changed. Consolidate counting code
2509 from count-words and count-words-region.
2510 (count-words-region): Caller changed.
2511 (count-lines-region): Make it an obsolete alias.
2513 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2515 * saveplace.el (save-place-to-alist)
2516 (save-place-ignore-files-regexp): Allow value nil to disable this
2519 2012-03-04 Chong Yidong <cyd@gnu.org>
2521 * faces.el (face-spec-reset-face): For the default face, reset the
2522 attributes to default values (Bug#10748).
2524 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2526 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2527 previous patch: Check `message-send-mail-function', and not the
2528 default function (bug#10897).
2530 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2532 * notifications.el (notifications-on-action-signal)
2533 (notifications-on-closed-signal): Check for unique service name of
2534 incoming event. Fix error in removing entry.
2535 (top): Register for signals with wildcard service name.
2536 (notifications-notify): Use daemon unique service name for map entries.
2538 2012-03-04 Chong Yidong <cyd@gnu.org>
2540 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2542 2012-03-04 Glenn Morris <rgm@gnu.org>
2544 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2545 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2546 (expand-abbrev, define-abbrev-table): Doc fixes.
2548 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2550 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2551 `message-default-send-mail-function' and not `send-mail-function'
2552 when doing the prompting for `sendmail-query-once' before sending
2553 in Message buffers (bug#10897).
2555 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2556 This is inconsistent with all the other stream functions, which leave
2557 the setting up to the higher levels (if so wanted) (bug#10931).
2559 2012-03-02 Alan Mackenzie <acm@muc.de>
2561 Depessimize the handling of very large macros.
2563 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2564 (c-macro-cache-syntactic): New variables to implement a one
2565 element macro cache.
2566 (c-invalidate-macro-cache): New function.
2567 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2568 Adapt to use the new cache.
2569 (c-state-safe-place): Use better the cache of safe positions.
2570 (c-state-semi-nonlit-pos-cache)
2571 (c-state-semi-nonlit-pos-cache-limit):
2572 New variables for...
2573 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2574 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2575 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2576 Use c-state-semi-safe-place.
2578 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2579 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2581 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2583 * jka-compr.el (jka-compr-call-process):
2584 Apply `file-accessible-directory-p' only when the default directory is
2587 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2589 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2590 access of FILE2, if FILE1 does not exist.
2592 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2593 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2595 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2596 Add "PAGER=" to `process-environment'.
2598 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2600 * progmodes/sql.el: Bug fix
2601 (sql-get-login-ext): Save login values in globals.
2602 (sql-get-login): Use new version of `sql-get-login-ext'.
2603 (sql-interactive-mode): Set global `sql-connection' to nil.
2604 (sql-connect): Set global values for connection.
2605 (sql-product-interactive): Save global values as buffer local.
2607 2012-02-29 Leo Liu <sdl.web@gmail.com>
2609 * abbrev.el (define-abbrevs): Reset sys to nil.
2611 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2613 * files.el (file-equal-p): Rename from `files-equal-p'.
2614 Return nil when one or both files don't exist.
2615 (file-subdir-of-p): Now only top directory must exists,
2616 return nil if it doesn't.
2617 (copy-directory): No need to test with `file-subdir-of-p' after
2619 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2622 2012-02-28 Glenn Morris <rgm@gnu.org>
2624 * shell.el (shell-mode):
2625 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2626 * play/landmark.el (landmark-font-lock-face-O):
2627 * play/handwrite.el (handwrite):
2628 * play/gomoku.el (gomoku-O):
2629 * net/browse-url.el (browse-url-browser-display):
2630 * international/mule.el (define-charset):
2631 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2632 * filesets.el (filesets-find-file-delay):
2633 * eshell/em-xtra.el (eshell-xtra):
2634 * eshell/em-unix.el (eshell-grep):
2635 * emulation/viper.el (viper-mode):
2636 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2637 * emacs-lisp/easymenu.el (easy-menu-define):
2638 * calendar/timeclock.el (timeclock-use-display-time):
2640 * bookmark.el (bookmark-save-flag):
2641 Doc fix (standardize possessive apostrophe usage).
2643 2012-02-27 Chong Yidong <cyd@gnu.org>
2645 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2646 Fix key-binding lookup for ESC key (Bug#9146).
2648 * font-lock.el (font-lock-specified-p): Rename from
2649 font-lock-spec-present. Callers changed.
2651 2012-02-27 Daniel Hackney <dan@haxney.org>
2653 * emacs-lisp/package.el (package-compute-transaction):
2654 Handle holding a package version to t in package-load-list.
2656 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2658 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2659 (tramp-get-inode, tramp-get-device): Use cached values.
2661 2012-02-26 Alan Mackenzie <acm@muc.de>
2663 Check there is a font-lock specification before doing initial
2666 * font-core.el (font-lock-mode): Move the conditional from
2667 :after-hook to font-lock-initial-fontify.
2668 (font-lock-default-function): Move the check for a specification
2669 to font-lock-spec-present.
2671 * font-lock.el (font-lock-initial-fontify): Call ...
2672 (font-lock-spec-present): New function.
2674 2012-02-26 Jim Blandy <jimb@red-bean.com>
2676 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2677 (gdb-send): Apply it to the operand of the '-interpreter-exec
2678 console' command, so that we can pass arguments with (say) quotes
2679 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2681 2012-02-26 Chong Yidong <cyd@gnu.org>
2683 * help-fns.el (describe-function-1): Clarify description of
2684 remapping (Bug#10844).
2686 * files.el (files-equal-p): Doc fix.
2687 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2688 and quit the loop once a mismatch is found.
2690 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2692 * bs.el (bs--show-with-configuration): Don't throw an error
2693 if the window cannot be split; otherwise, subsequent calls to
2694 bs-show fail, restoring a stale window config. (Bug#10882)
2696 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2698 * term/ns-win.el (global-map): Bind ns-drag-file to
2699 ns-find-file (Bug#5855, Bug#10050).
2701 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2703 * calendar/parse-time.el (parse-time-string): Allow extractor to
2706 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2708 * net/tramp.el (tramp-file-name-for-operation):
2709 Add `files-equal-p' and `file-subdir-of-p'.
2711 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2712 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2713 Add COPY-CONTENTS argument.
2715 2012-02-25 Chong Yidong <cyd@gnu.org>
2717 Add custom groups for VC backends, for consistency with vc-bzr.
2719 * vc/vc-arch.el (vc-arch):
2720 * vc/vc-cvs.el (vc-cvs):
2721 * vc/vc-git.el (vc-git):
2722 * vc/vc-hg.el (vc-hg):
2723 * vc/vc-mtn.el (vc-mtn):
2724 * vc/vc-rcs.el (vc-rcs):
2725 * vc/vc-sccs.el (vc-sccs):
2726 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2727 All relevant defcustoms reassigned.
2729 2012-02-25 Chong Yidong <cyd@gnu.org>
2731 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2733 * term/x-win.el (x-initialize-window-system): Reduce default for
2734 x-selection-timeout to 5 seconds (Bug#8869).
2736 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2738 * files.el (files-equal-p, file-subdir-of-p): New functions.
2739 (copy-directory): Error when trying to copy a directory on itself.
2740 Add missing copy-contents arg to tramp handler.
2741 * dired-aux.el (dired-copy-file-recursive): Same.
2742 (dired-create-files): Modify destination when source is equal to
2743 dest when copying files.
2744 Return also when dest is a subdir of source. (Bug#10489)
2746 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2748 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2751 2012-02-23 Alan Mackenzie <acm@muc.de>
2753 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2754 parameter "after-hook:" to allow the expansion to run code after
2755 the execution of the mode hooks.
2757 * font-lock.el (font-lock-initial-fontify): New function extracted
2758 from font-lock-mode-internal.
2760 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2763 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2765 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2766 (completion--cache-all-sorted-completions): New function.
2767 (completion-all-sorted-completions): Use it.
2768 (completion--do-completion, minibuffer-force-complete):
2769 Use it to re-instate the flush hook.
2771 * icomplete.el (icomplete-completions): Replace last fix with a better
2774 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2776 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2777 when it might call us back infinitely (bug#10797).
2779 2012-02-23 Glenn Morris <rgm@gnu.org>
2781 * minibuffer.el (completion-category-overrides): Doc fix.
2783 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2785 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2786 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2788 2012-02-23 Glenn Morris <rgm@gnu.org>
2790 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2791 (authors-obsolete-files-regexps, authors-ignored-files)
2792 (authors-ambiguous-files, authors-renamed-files-alist):
2795 2012-02-23 Juri Linkov <juri@jurta.org>
2797 * isearch.el (isearch-occur): Sync interactive spec with occur's
2798 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2800 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2802 2012-02-22 Juri Linkov <juri@jurta.org>
2804 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2805 (ucs-insert): Doc fix. Check for hex digits in the string.
2806 Don't display `nil' in the error message. (Bug#10857)
2808 2012-02-22 Alan Mackenzie <acm@muc.de>
2810 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2812 2012-02-22 Glenn Morris <rgm@gnu.org>
2814 * ffap.el (ffap-c-path):
2815 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2817 2012-02-22 Chong Yidong <cyd@gnu.org>
2819 * custom.el (load-theme): Doc fix.
2821 2012-02-22 Glenn Morris <rgm@gnu.org>
2823 * dired-x.el (dired-guess-shell-alist-default):
2824 Remove escape sequences from nroff output. (Bug#172)
2826 2012-02-21 Glenn Morris <rgm@gnu.org>
2828 * vc/emerge.el (emerge-defvar-local):
2829 Set `permanent-local' property rather than unused `preserved'.
2831 * textmodes/picture.el (picture-delete-char): New alias.
2832 (picture-mode-map): Use it. (Bug#10860)
2833 (picture-mode): Doc fix.
2835 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2837 * newcomment.el (uncomment-region-default): Remove unused binding.
2839 2012-02-21 Glenn Morris <rgm@gnu.org>
2841 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2842 (picture-self-insert, picture-tab-chars): Doc fix.
2843 (picture-mode-map): Fix C-a, C-e.
2845 2012-02-20 Glenn Morris <rgm@gnu.org>
2847 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2849 2012-02-20 Leo Liu <sdl.web@gmail.com>
2851 * icomplete.el (icomplete-completions): Check FROM arg before
2852 passing to substring (Bug#10850).
2854 2012-02-19 Chong Yidong <cyd@gnu.org>
2856 * comint.el: Require ansi-color.
2857 (comint-output-filter-functions): Add ansi-color-process-output.
2859 * ansi-color.el: Don't set comint-output-filter-functions; it is
2860 now in the initial value defined in comint.el.
2861 (ansi-color-apply-face-function): New variable.
2862 (ansi-color-apply-on-region): Use it.
2863 (ansi-color-apply-overlay-face): New function.
2865 * shell.el (shell): No need to require ansi-color.
2866 (shell-mode): Use ansi-color-apply-face-function to highlight
2867 color escapes using font-lock-face property (Bug#10835).
2869 2012-02-19 Chong Yidong <cyd@gnu.org>
2871 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2872 mode-line formats (Bug#10839).
2874 2012-02-18 Glenn Morris <rgm@gnu.org>
2876 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2878 * mail/undigest.el (unforward-rmail-message): Doc fix.
2880 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2882 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2884 * international/characters.el (script-list): Sync with the latest
2885 Unicode Character Database.
2887 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2889 * international/titdic-cnv.el: Remove duplicate coding tag.
2890 * language/cham.el: Likewise.
2891 * language/tai-viet.el: Likewise.
2893 2012-02-18 Glenn Morris <rgm@gnu.org>
2895 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2896 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2897 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2898 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2899 * calendar/holidays.el (holiday-bahai-holidays)
2900 (calendar-holidays, list-holidays):
2901 Use utf-8 Bahá'à in doc-strings, menus, etc.
2903 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2905 * saveplace.el (save-place-ignore-files-regexp): New variable
2906 allowing for excluding files from saving their location of point.
2907 The default value matches the temporary commit message editing
2908 files from Git, SVN, Bazaar, and Mercurial.
2909 (save-place-to-alist): Use it.
2911 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2912 Stefan Monnier <monnier@iro.umontreal.ca>
2914 * newcomment.el (uncomment-region-default): Don't leave extra space
2915 when an arg is provided (bug#8150).
2917 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2919 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2921 2012-02-17 Glenn Morris <rgm@gnu.org>
2923 * net/socks.el: Require network-stream. (Bug#10599)
2925 2012-02-17 Kenichi Handa <handa@m17n.org>
2927 * international/charprop.el:
2928 * international/uni-name.el:
2929 * international/uni-old-name.el:
2930 * international/uni-comment.el: Regenerate.
2932 2012-02-16 Glenn Morris <rgm@gnu.org>
2934 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2935 Interactively in calendar buffer, give an error if not on a date.
2937 2012-02-15 Glenn Morris <rgm@gnu.org>
2939 * shell.el (shell-delimiter-argument-list):
2940 Revert 2011-02-17 change. (Bug#8027)
2942 2012-02-15 Chong Yidong <cyd@gnu.org>
2944 * minibuffer.el (completion-at-point-functions): Doc fix.
2946 * custom.el (defcustom): Doc fix; note use of defvar.
2948 2012-02-15 Glenn Morris <rgm@gnu.org>
2950 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2953 2012-02-14 Glenn Morris <rgm@gnu.org>
2955 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2957 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2959 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2960 way the ports list is computed.
2961 (smtpmail-query-smtp-server): Prompt the user for a port number if
2962 we can't connect to any of the standard ports (bug#10810).
2964 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2966 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2968 2012-02-13 Glenn Morris <rgm@gnu.org>
2970 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2972 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2974 * net/gnutls.el (gnutls-trustfiles): New variable.
2975 (gnutls-negotiate): Use it.
2977 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2979 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2980 does its stuff if Gnus is running.
2982 2012-02-13 Alan Mackenzie <acm@muc.de>
2984 Fix a loop in c-set-fl-decl-start.
2986 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2987 c-backward-syntactic-ws actually moves backwards.
2989 2012-02-13 Leo Liu <sdl.web@gmail.com>
2991 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2992 beginning so that all \C-o chars are removed.
2994 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2996 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2998 2012-02-12 Alan Mackenzie <acm@muc.de>
3000 Fix infinite loop with long macros.
3001 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3003 2012-02-12 Chong Yidong <cyd@gnu.org>
3005 * window.el (display-buffer): Doc fix (Bug#10785).
3007 2012-02-12 Glenn Morris <rgm@gnu.org>
3009 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3010 (x-disown-selection-internal, x-get-selection-internal):
3011 Sync docs with the xselect.c versions.
3013 * allout-widgets.el: Add missing license notice.
3015 2012-02-11 Glenn Morris <rgm@gnu.org>
3017 * select.el (x-get-selection-internal, x-own-selection-internal)
3018 (x-disown-selection-internal):
3019 * x-dnd.el (x-get-selection-internal): Update declarations.
3021 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3023 * window.el (window-sides-slots):
3024 * tool-bar.el (tool-bar-position):
3025 * term/xterm.el (xterm-extra-capabilities):
3026 * ses.el (ses-self-reference-early-detection):
3027 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3028 (verilog-auto-wire-type)
3029 (verilog-auto-delete-trailing-whitespace)
3030 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3031 (verilog-auto-tieoff-declaration):
3032 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3033 (sql-oracle-statement-starters, sql-oracle-scan-on):
3034 * progmodes/prolog.el (prolog-align-comments-flag)
3035 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3036 (prolog-left-indent-regexp, prolog-paren-indent-p)
3037 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3038 (prolog-types, prolog-mode-specificators)
3039 (prolog-determinism-specificators, prolog-directives)
3040 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3041 (prolog-electric-dot-flag)
3042 (prolog-electric-dot-full-predicate-template)
3043 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3044 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3045 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3046 (prolog-program-switches, prolog-prompt-regexp)
3047 (prolog-debug-on-string, prolog-debug-off-string)
3048 (prolog-trace-on-string, prolog-trace-off-string)
3049 (prolog-zip-on-string, prolog-zip-off-string)
3050 (prolog-use-standard-consult-compile-method-flag)
3051 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3052 (prolog-imenu-max-lines, prolog-info-predicate-index)
3053 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3054 (prolog-char-quote-workaround):
3055 * progmodes/cc-vars.el (c-defun-tactic):
3056 * net/tramp.el (tramp-encoding-command-interactive)
3057 (tramp-local-end-of-line):
3058 * net/soap-client.el (soap-client):
3059 * net/netrc.el (netrc-file):
3060 * net/gnutls.el (gnutls):
3061 * minibuffer.el (completion-category-overrides)
3062 (completion-cycle-threshold)
3063 (completion-pcm-complete-word-inserts-delimiters):
3064 * man.el (Man-name-local-regexp):
3065 * mail/feedmail.el (feedmail-display-full-frame):
3066 * international/characters.el (glyphless-char-display-control):
3067 * eshell/em-ls.el (eshell-ls-date-format):
3068 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3069 (lisp-lambda-list-keyword-parameter-indentation)
3070 (lisp-lambda-list-keyword-parameter-alignment):
3071 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3072 * dired-x.el (dired-omit-verbose):
3073 * cus-theme.el (custom-theme-allow-multiple-selections):
3074 * calc/calc.el (calc-highlight-selections-with-faces)
3075 (calc-lu-field-reference, calc-lu-power-reference)
3076 (calc-note-threshold):
3077 * battery.el (battery-mode-line-limit):
3078 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3079 (archive-7z-update):
3080 * allout.el (allout-prefixed-keybindings)
3081 (allout-unprefixed-keybindings)
3082 (allout-inhibit-auto-fill-on-headline)
3083 (allout-flattened-numbering-abbreviation):
3084 * allout-widgets.el (allout-widgets-auto-activation)
3085 (allout-widgets-icons-dark-subdir)
3086 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3087 (allout-widgets-theme-dark-background)
3088 (allout-widgets-theme-light-background)
3089 (allout-widgets-item-image-properties-emacs)
3090 (allout-widgets-item-image-properties-xemacs)
3091 (allout-widgets-run-unit-tests-on-load)
3092 (allout-widgets-time-decoration-activity)
3093 (allout-widgets-hook-error-post-time)
3094 (allout-widgets-track-decoration):
3095 Add missing :version tags to new defcustoms and defgroups.
3097 * progmodes/sql.el (sql-ansi-statement-starters)
3098 (sql-oracle-statement-starters): Add custom type.
3100 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3101 (prolog-system-version): Give it a type.
3103 2012-02-11 Eli Zaretskii <eliz@gnu.org>
3105 * term/pc-win.el (x-select-text, x-selection-owner-p)
3106 (x-own-selection-internal, x-disown-selection-internal)
3107 (x-get-selection-internal): Sync doc strings and argument lists
3108 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3110 2012-02-11 Leo Liu <sdl.web@gmail.com>
3112 * progmodes/python.el (python-end-of-statement): Fix infinite
3115 2012-02-10 Glenn Morris <rgm@gnu.org>
3117 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3118 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3120 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3122 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3123 about SMTP before checking the From header.
3125 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3126 into own function for reuse by emacsbug.el.
3128 2012-02-10 Leo Liu <sdl.web@gmail.com>
3130 * subr.el (condition-case-unless-debug): Rename from
3131 condition-case-no-debug. All callers changed.
3132 (with-demoted-errors): Fix caller.
3134 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3135 * nxml/rng-valid.el (rng-do-some-validation):
3136 * emacs-lisp/package.el (package-refresh-contents)
3137 (package-menu-execute):
3138 * desktop.el (desktop-create-buffer):
3139 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3141 2012-02-10 Glenn Morris <rgm@gnu.org>
3143 * textmodes/bibtex.el:
3144 Add missing :version tags for new/changed defcustoms.
3146 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3148 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3150 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3151 (smtpmail-via-smtp): Use it, or fall back on the From address.
3152 (smtpmail-send-it): Ditto.
3154 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3156 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3157 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3158 (byte-compile-tmp-var): New const.
3159 (byte-compile-defvar): Use it to minimize .elc size.
3160 Just use `defvar' rather than simulate it (bug#10761).
3162 2012-02-09 Glenn Morris <rgm@gnu.org>
3164 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3166 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3169 * progmodes/compile.el (compilation-error-screen-columns)
3170 (compilation-first-column, compilation-filter-start): Doc fixes.
3172 * vc/log-view.el (log-view-toggle-entry-display):
3173 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3175 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3176 (report-emacs-bug-can-use-xdg-email):
3177 (report-emacs-bug-insert-to-mailer): Doc fixes.
3178 (report-emacs-bug): Message fix.
3180 * net/browse-url.el (browse-url-can-use-xdg-open)
3181 (browse-url-xdg-open): Doc fixes.
3183 * electric.el (electric-indent-mode, electric-pair-mode)
3184 (electric-layout-rules, electric-layout-mode): Doc fixes.
3185 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3187 2012-02-08 Martin Rudalics <rudalics@gmx.at>
3189 * server.el (server-unselect-display): Don't inadvertently kill
3190 the current buffer. (Bug#10729)
3192 2012-02-08 Glenn Morris <rgm@gnu.org>
3194 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3195 (sql-list-table): Doc fixes.
3197 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3198 Comment out (does nothing).
3200 * completion.el (dynamic-completion-mode):
3201 * dirtrack.el (dirtrack-debug-mode):
3202 * electric.el (electric-layout-mode):
3203 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3204 * face-remap.el (text-scale-mode, buffer-face-mode):
3205 * iimage.el (iimage-mode):
3206 * image-mode.el (image-transform-mode):
3207 * minibuffer.el (completion-in-region-mode):
3208 * scroll-lock.el (scroll-lock-mode):
3209 * simple.el (next-error-follow-minor-mode):
3210 * tar-mode.el (tar-subfile-mode):
3211 * tooltip.el (tooltip-mode):
3212 * vcursor.el (vcursor-use-vcursor-map):
3213 * wid-browse.el (widget-minor-mode):
3214 * emulation/tpu-edt.el (tpu-edt-mode):
3215 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3216 * international/iso-ascii.el (iso-ascii-mode):
3217 * language/thai-util.el (thai-word-mode):
3218 * mail/supercite.el (sc-minor-mode):
3219 * net/goto-addr.el (goto-address-mode):
3220 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3221 * progmodes/cwarn.el (cwarn-mode):
3222 * progmodes/flymake.el (flymake-mode):
3223 * progmodes/glasses.el (glasses-mode):
3224 * progmodes/hideshow.el (hs-minor-mode):
3225 * progmodes/pascal.el (pascal-outline-mode):
3226 * textmodes/enriched.el (enriched-mode):
3227 * vc/smerge-mode.el (smerge-mode):
3228 Doc fixes (minor mode argument).
3230 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3232 * ls-lisp.el (ls-lisp-sanitize): New function.
3233 (ls-lisp-insert-directory): Use it to fix or remove any elements
3234 in file-alist with missing attributes. (Bug#4673)
3236 2012-02-07 Alan Mackenzie <acm@muc.de>
3238 Fix spurious recognition of c-in-knr-argdecl.
3240 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3241 putative K&R region.
3243 2012-02-07 Alan Mackenzie <acm@muc.de>
3245 * progmodes/cc-engine.el (c-forward-objc-directive):
3246 Prevent looping in "#pragma mark @implementation".
3248 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3250 * notifications.el (notifications-on-closed-signal): Make `reason'
3251 optional. (Bug#10744)
3253 2012-02-07 Glenn Morris <rgm@gnu.org>
3255 * emacs-lisp/easy-mmode.el (define-minor-mode):
3256 Doc fixes for the macro and the mode it defines.
3258 * image.el (imagemagick-types-inhibit): Doc fix.
3260 * cus-start.el (imagemagick-render-type): Add it.
3262 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3264 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3265 Set the default at load time, too, so that `font-lock-fontify-buffer'
3266 can be called without setting up the entire mode first. This fixes
3267 a bug in `mm-inline-text' with C MIME parts.
3269 2012-02-06 Chong Yidong <cyd@gnu.org>
3271 * simple.el (list-processes--refresh): Delete exited processes
3274 * comint.el (comint-next-prompt): next-single-char-property-change
3275 and prev-single-char-property-change never return nil (Bug#8657).
3277 * custom.el (defcustom): Doc fix (Bug#9711).
3279 2012-02-05 Chong Yidong <cyd@gnu.org>
3281 * cus-edit.el (custom-variable-reset-backup): Quote the value
3282 before storing it in the customized-value property (Bug#6712).
3283 (custom-display): Add a customization type tag.
3284 (custom-buffer-create-internal): Improve tooltip message.
3286 * wid-edit.el (widget-field-value-get): New optional arg to
3287 suppress trailing whitespace truncation.
3288 (character): Use it (Bug#2689).
3290 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3292 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3293 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3295 2012-02-05 Chong Yidong <cyd@gnu.org>
3297 * cus-edit.el (custom-variable-value-create): For mismatched
3298 types, show the current value (Bug#7600).
3300 * custom.el (defcustom): Doc fix.
3302 2012-02-05 Glenn Morris <rgm@gnu.org>
3304 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3306 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3308 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3309 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3310 (pp-last-sexp): Use `looking-at-p'.
3312 2012-02-04 Glenn Morris <rgm@gnu.org>
3314 * files.el (revert-buffer):
3315 Doc fix (mention revert-buffer-in-progress-p).
3317 * emacs-lisp/ert-x.el (ert-simulate-command):
3318 Check deferred-action-list (which is obsolete) is bound.
3320 * subr.el (with-wrapper-hook): Doc fixes.
3322 * simple.el (filter-buffer-substring-functions)
3323 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3325 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3327 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3328 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3330 2012-02-04 Leo Liu <sdl.web@gmail.com>
3332 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3334 2012-02-04 Glenn Morris <rgm@gnu.org>
3336 * image.el (image-extension-data): Add obsolete alias.
3338 * isearch.el (isearch-update): Doc fix.
3340 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3342 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3344 2012-02-03 Glenn Morris <rgm@gnu.org>
3346 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3347 (image-animate-timeout): Doc fix.
3349 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3351 2012-02-02 Glenn Morris <rgm@gnu.org>
3353 * server.el (server-auth-dir): Doc fix.
3354 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3356 * subr.el (run-mode-hooks): Doc fix.
3358 2012-02-02 Juri Linkov <juri@jurta.org>
3360 * image-mode.el (image-toggle-display-image): Remove tautological
3361 `major-mode' from the `derived-mode-p' test.
3363 2012-02-02 Kenichi Handa <handa@m17n.org>
3365 * composite.el (compose-region): Cancel previous change.
3367 2012-02-02 Kenichi Handa <handa@m17n.org>
3369 * composite.el (compose-region, compose-string): Signal error for
3370 a null string component (Bug#6988).
3372 2012-02-01 Chong Yidong <cyd@gnu.org>
3374 * view.el (view-buffer-other-window, view-buffer-other-frame):
3375 Handle special modes like view-buffer (Bug#10650).
3376 (view-buffer): Simplify.
3378 * frame.el (set-frame-font): Tweak meaning of third argument.
3380 * dynamic-setting.el (font-setting-change-default-font):
3381 Use set-frame-font (Bug#9982).
3383 2012-02-01 Glenn Morris <rgm@gnu.org>
3385 * progmodes/compile.el (compilation-internal-error-properties):
3386 Respect compilation-first-column in the "*compilation*" buffer.
3388 * emacs-lisp/easy-mmode.el (define-minor-mode):
3389 Relax :variable's test for a named function.
3391 2012-01-31 Alan Mackenzie <acm@muc.de>
3393 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3396 2012-01-31 Chong Yidong <cyd@gnu.org>
3398 * frame.el (set-frame-font): New arg ALL-FRAMES.
3400 * menu-bar.el (menu-set-font): Use set-frame-font.
3402 * faces.el (face-spec-reset-face): Don't apply unspecified
3403 attribute values to the default face.
3405 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3407 * progmodes/cwarn.el (cwarn): Remove dead link.
3408 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3409 Remove * from defcustom docstrings.
3410 (turn-on-cwarn-mode): Make obsolete.
3411 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3412 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3414 2012-01-31 Glenn Morris <rgm@gnu.org>
3416 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3417 Fix :variable handling of mode a symbol not equal to modefun.
3418 Allow named functions to be used as the cdr of :variable.
3420 2012-01-30 Glenn Morris <rgm@gnu.org>
3422 * emacs-lisp/authors.el (authors-fixed-entries):
3423 Remove reference to deleted file rnewspost.el.
3425 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
3427 * window.el (window-with-parameter): Remove unused variable `windows'.
3428 (window--side-check): Remove unused variable `code'.
3429 (window--resize-siblings): Remove unused variable `first'.
3430 (adjust-window-trailing-edge): Remove unused variable `failed'.
3431 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3432 Use `let', not `let*'.
3433 (balance-windows-2): Remove unused variable `found'.
3434 (window--state-put-2): Remove unused variable `splits'.
3435 (window-state-put): Remove unused variable `selected'.
3436 (same-window-p): Use `string-match-p'.
3437 (display-buffer-assq-regexp): Remove unused variable `value'.
3438 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3439 Mark argument ALIST as ignored.
3440 (pop-to-buffer): Remove unused variable `old-window'.
3442 2012-01-29 Eli Zaretskii <eliz@gnu.org>
3444 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3445 and .lzma compressed files.
3447 2012-01-29 Chong Yidong <cyd@gnu.org>
3449 * frame.el (window-system-default-frame-alist): Doc fix.
3451 * dynamic-setting.el (font-setting-change-default-font): Don't
3452 change the default face if SET-FONT argument is non-nil (Bug#9982).
3454 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3456 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3458 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3460 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3461 breakpoints in files outside current directory (Bug#6098).
3463 2012-01-29 Chong Yidong <cyd@gnu.org>
3465 * progmodes/python.el: Require ansi-color at top-level.
3467 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3468 Define and use in Emacs Lisp mode (Bug#9360).
3469 (lisp-mode-abbrev-table): Add doc.
3470 (lisp-mode-variables): Don't set local-abbrev-table.
3471 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3473 2012-01-28 Roland Winkler <winkler@gnu.org>
3475 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3477 2012-01-28 Roland Winkler <winkler@gnu.org>
3479 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3480 (bibtex-set-dialect): Use it. Either set global values of
3481 dialect-dependent variables or bind these variables buffer-locally
3483 (bibtex-mode): Call bibtex-set-dialect via
3484 hack-local-variables-hook.
3485 (bibtex-dialect): Update docstring.
3486 Add safe-local-variable predicate.
3487 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3489 (bibtex-mode-map): Define menu for each dialect.
3490 (bibtex-entry): Fix docstring.
3492 2012-01-28 Chong Yidong <cyd@gnu.org>
3494 * eshell/esh-arg.el (eshell-quote-argument): New function.
3496 * eshell/esh-ext.el (eshell-invoke-batch-file):
3497 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3498 first arg to eshell-parse-command (Bug#10523).
3500 2012-01-28 Drew Adams <drew.adams@oracle.com>
3502 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3503 `default-directory' is non-nil.
3505 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3507 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3508 line that displays system-configuration-options. (Bug#9924)
3510 2012-01-28 Drew Adams <drew.adams@oracle.com>
3512 * descr-text.el (describe-char): Show information about POS, in
3513 addition to information about the character at POS. Improve and
3514 update the doc string. Change "code point" to "code point in
3515 charset", to avoid confusion with the character's Unicode code
3516 point shown above that. (Bug#10129)
3518 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3520 * descr-text.el (describe-char): Show the raw character, not only
3521 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3522 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3525 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3527 * emacs-lisp/package.el (package-install):
3528 Run package-refresh-contents if there is no archive yet (Bug#9798).
3530 2012-01-28 Chong Yidong <cyd@gnu.org>
3532 * emacs-lisp/package.el (package-maybe-load-descriptor):
3533 New function, split from package-maybe-load-descriptor.
3534 (package-maybe-load-descriptor): Use it.
3535 (package-download-transaction): Fully load required packages
3536 inside the loop, so that `require' calls work (Bug#10593).
3537 (package-install): No need to call package-initialize now.
3539 2012-01-28 Chong Yidong <cyd@gnu.org>
3541 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3543 * tooltip.el (tooltip-mode): Doc fix.
3544 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3546 * frame.el (set-cursor-color): Doc fix (Bug#352).
3548 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3549 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3551 * cus-edit.el (custom-buffer-create-internal): Fix search button
3553 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3555 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3557 * dired.el (dired-mark-files-regexp):
3558 Include any subdirectory components. (Bug#10445)
3560 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3562 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3563 Handle [host]:port syntax. (Bug#10533)
3565 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3567 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3569 2012-01-26 Glenn Morris <rgm@gnu.org>
3571 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3572 * term.el (term-raw-escape-map): Use Control-X-prefix.
3573 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3575 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3577 * window.el (window-state-get, window--state-get-1): Don't deal
3578 with fixed-sizeness of windows. Simplify code.
3580 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3582 * window.el (window--state-get-1, window--state-put-2):
3583 Don't save and restore the mark.
3585 2012-01-25 Chong Yidong <cyd@gnu.org>
3587 * custom.el (custom-variable-p): Doc fix.
3589 2012-01-25 Glenn Morris <rgm@gnu.org>
3591 * dired.el (dired-goto-file): Handle some of the more common
3592 characters that `ls -b' escapes. (Bug#10596)
3594 * progmodes/compile.el (compilation-next-error-function):
3595 Respect compilation-first-column in the "*compilation*" buffer.
3596 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3598 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3600 2012-01-24 Glenn Morris <rgm@gnu.org>
3602 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3604 2012-01-24 Julien Danjou <julien@danjou.info>
3606 * color.el (color-rgb-to-hsl): Fix value computing.
3607 (color-hue-to-rgb): New function.
3608 (color-hsl-to-rgb): New function.
3609 (color-clamp, color-saturate-hsl, color-saturate-name)
3610 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3611 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3613 2012-01-24 Glenn Morris <rgm@gnu.org>
3615 * vc/vc-rcs.el (vc-rcs-create-tag):
3616 * vc/vc-sccs.el (vc-sccs-create-tag):
3617 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3619 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3621 * eshell/esh-util.el (eshell-read-hosts-file):
3622 Skip comment lines. (Bug#10549)
3624 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3626 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3628 * subr.el (display-delayed-warnings): Doc fix.
3629 (collapse-delayed-warnings): New function to collapse identical
3631 (delayed-warnings-hook): Add it.
3633 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3635 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3637 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3638 properties, when "login-as" is set.
3640 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3641 (tramp-default-user-alist): Don't add "pscp".
3642 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3643 property "login-as", if set. (Bug#10530)
3645 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3647 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3648 "plink1" and "psftp". (Bug#10530)
3650 2012-01-21 Kenichi Handa <handa@m17n.org>
3652 * international/mule-cmds.el (prefer-coding-system): Show a
3653 warning message if the default value of file-name-coding-system
3656 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3658 * windmove.el (windmove-reference-loc):
3659 Fix windmove-reference-loc miscalculation.
3661 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3663 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3666 2012-01-21 Glenn Morris <rgm@gnu.org>
3668 * international/mule.el (auto-coding-alist): Add .tbz.
3670 * files.el (local-enable-local-variables): Doc fix.
3671 (inhibit-local-variables-regexps): Rename from
3672 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3673 Doc fix. Add some extensions from auto-coding-alist.
3674 (inhibit-local-variables-suffixes):
3675 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3676 (inhibit-local-variables-p):
3677 New function, extracted from set-auto-mode-1.
3678 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3679 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3680 (hack-local-variables): Doc fix. Make the mode-only case
3681 respect enable-local-variables and friends.
3682 Respect inhibit-local-variables-regexps for file-locals, but
3683 not for directory-locals.
3684 (set-visited-file-name):
3685 Take account of inhibit-local-variables-regexps.
3686 Whether it applies may change as the file name is changed.
3687 * jka-cmpr-hook.el (jka-compr-install):
3688 * jka-compr.el (jka-compr-uninstall):
3689 Update for inhibit-first-line-modes-suffixes name change.
3691 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3693 * help-macro.el (make-help-screen): Temporarily restore original
3694 binding for minor-mode-map-alist (Bug#10454).
3696 2012-01-19 Julien Danjou <julien@danjou.info>
3698 * color.el (color-name-to-rgb): Use the white color to find the max
3699 color component value and return correctly computed values.
3700 (color-name-to-rgb): Add missing float conversion for max value.
3702 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3704 * window.el (window--state-get-1, window-state-get): Do not use
3705 special state value for window-persistent-parameters.
3706 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3707 (window--state-put-2): Reset all window parameters to nil before
3708 assigning values of persistent parameters.
3710 2012-01-18 Alan Mackenzie <acm@muc.de>
3712 Eliminate sluggishness and hangs in fontification of "semicolon
3715 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3716 Change value 10000 -> 3000.
3717 (c-state-safe-place): Reformulate so it doesn't stack up an
3718 infinite number of wrong entries in c-state-nonlit-pos-cache.
3719 (c-determine-limit-get-base, c-determine-limit): New functions to
3720 determine backward search limits disregarding literals.
3721 (c-find-decl-spots): Amend commenting.
3722 (c-cheap-inside-bracelist-p): New function which detects "={".
3724 * progmodes/cc-fonts.el
3725 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3727 (c-font-lock-declarations): Fix an occurrence of point being
3728 undefined. Check additionally for point being in a bracelist or
3729 near a macro invocation without a semicolon so as to avoid a
3730 fruitless time consuming search for a declarator. Give a more
3731 precise search limit for declarators using the new
3734 2012-01-18 Glenn Morris <rgm@gnu.org>
3736 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3737 (set-auto-mode): Doc fixes.
3739 2012-01-17 Glenn Morris <rgm@gnu.org>
3741 * isearch.el (search-nonincremental-instead): Fix doc typo.
3743 * dired.el (dired-insert-directory): Handle newlines in directory name.
3744 (dired-build-subdir-alist): Unescape newlines in directory name.
3746 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3748 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3749 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3750 (tramp-action-terminal): Use it. (Bug#10530)
3752 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3754 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3756 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3758 * window.el (window-state-ignored-parameters): Remove variable.
3759 (window--state-get-1): Rename argument MARKERS to IGNORE.
3760 Handle persistent window parameters. Make copy of clone-of
3761 parameter only if requested. (Bug#10348)
3762 (window--state-put-2): Install a window parameter only if it has
3763 a non-nil value or an existing parameter shall be overwritten.
3765 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3767 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3769 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3771 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3772 don't pass the (nil) value of `upnode' to string-match.
3774 2012-01-14 Chong Yidong <cyd@gnu.org>
3776 * startup.el (command-line): Fix X resource class for cursorColor.
3777 Fix values recognized by the cursorBlink resource.
3779 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3781 * epg.el (epg--make-temp-file): Avoid permission race condition
3782 when running on old Emacs versions (bug#10403).
3784 2012-01-14 Glenn Morris <rgm@gnu.org>
3786 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3788 2012-01-13 Alan Mackenzie <acm@muc.de>
3790 Fix filling for when filladapt mode is enabled.
3792 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3793 c-mask-paragraph, pass in `fill-paragraph' rather than
3794 `fill-region-as-paragraph'. (This is a reversion of a previous
3796 * progmodes/cc-mode.el (c-basic-common-init):
3797 Make fill-paragraph-handle-comment buffer local and set it to nil.
3799 2012-01-13 Glenn Morris <rgm@gnu.org>
3801 * dired.el (dired-switches-escape-p): New function.
3802 (dired-insert-directory): Use dired-switches-escape-p.
3803 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3805 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3807 2012-01-12 Glenn Morris <rgm@gnu.org>
3809 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3810 changes in adaptive-fill-regexp. (Bug#10276)
3812 2012-01-11 Alan Mackenzie <acm@muc.de>
3814 Fix Emacs bug #10463 - put `widen's around the critical spots.
3816 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3817 widen around each invocation of c-state-pp-to-literal. Remove an
3818 unused let variable.
3820 2012-01-11 Glenn Morris <rgm@gnu.org>
3822 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3825 2012-01-10 Chong Yidong <cyd@gnu.org>
3827 * net/network-stream.el (network-stream-open-starttls):
3828 Avoid emitting a confusing error message when the server gives a bad
3829 response to the capability command.
3831 2012-01-10 Glenn Morris <rgm@gnu.org>
3833 * mail/unrmail.el (unrmail): Tweak previous change.
3835 2012-01-09 Chong Yidong <cyd@gnu.org>
3837 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3839 2012-01-08 Alan Mackenzie <acm@muc.de>
3841 Optimise font locking in long enum definitions.
3843 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3844 arm to a cond form to handle enums.
3845 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3846 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3848 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3850 * files.el (move-file-to-trash): Preserve default file modes on error.
3853 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3855 * faces.el (set-face-attribute): Clarify the meaning of the nil
3858 * subr.el (with-selected-frame): Mention that the selected frame
3859 is restored (bug#9980).
3861 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3864 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3865 (password-read): Don't autoload unused function.
3867 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3869 * progmodes/which-func.el (which-func-mode): Turn into a
3870 non-interactive function and mark as obsolete (bug#10428).
3872 2012-01-06 Chong Yidong <cyd@gnu.org>
3874 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3875 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3876 functions, along with 1 and -1.
3878 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3880 * time.el (display-time-load-average)
3881 (display-time-default-load-average): Doc fixes. See the thread
3883 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3886 2012-01-06 Glenn Morris <rgm@gnu.org>
3888 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3889 has no messages. (Bug#10377)
3891 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3892 than Info-edit. (Bug#10385)
3894 * time.el (display-time-load-average, display-time-next-load-average):
3897 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3898 local setting of buffer-read-only to the input buffer. (Bug#10419)
3900 * calendar/calendar.el (calendar-mode):
3901 Locally set scroll-margin to 0. (Bug#10379)
3903 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3905 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3907 2012-01-05 Glenn Morris <rgm@gnu.org>
3909 * eshell/em-unix.el (diff-no-select): Autoload it.
3910 (eshell/diff): Use diff-no-select. (Bug#10420)
3912 2012-01-05 Chong Yidong <cyd@gnu.org>
3914 * shell.el (shell-dynamic-complete-functions): Revert last change.
3915 (shell-command-completion-function): New function.
3916 (shell-completion-vars): Use it to implement
3917 shell-completion-execonly (Bug#10417).
3919 * custom.el (enable-theme): Don't set custom-safe-themes.
3921 * cus-theme.el (custom-theme-merge-theme):
3922 Ignore custom-enabled-themes and custom-safe-themes.
3924 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3926 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3927 first prompt in `sql-interacive-mode'.
3928 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3930 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3931 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3932 context of original buffer. Invoke `sql-login-hook'.
3934 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3936 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3937 letters in cite-prefix.
3939 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3941 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3943 2012-01-03 Chong Yidong <cyd@gnu.org>
3945 * shell.el (shell-dynamic-complete-functions):
3946 Put pcomplete-completions-at-point, so as to try
3947 comint-filename-completion first (Bug#10417).
3949 2012-01-02 Richard Stallman <rms@gnu.org>
3951 * battery.el (battery-status-function):
3952 Detect when to use battery-yeeloong-sysfs.
3953 (battery-echo-area-format): Add string for Yeeloong.
3954 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3955 (battery-yeeloong-sysfs): New function.
3957 2012-01-02 Chong Yidong <cyd@gnu.org>
3959 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3960 (dirtrack): Merge code for handling relative filenames in prompt
3961 from shell-dir-cookie-watcher.
3962 (dirtrack-debug-message): New arg to avoid excess format calls.
3964 * shell.el (shell-dir-cookie-re): Variable deleted.
3965 (shell-dir-cookie-watcher): Function deleted.
3966 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3969 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3971 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3972 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3975 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3977 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3979 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3981 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3982 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3984 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3986 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3987 also for alternative shells.
3988 (tramp-open-connection-setup-interactive-shell): Check, whether
3989 the shell is a busybox.
3990 (tramp-send-command): Don't suppress multiple prompts for
3991 busyboxes, it hurts.
3993 2011-12-28 Chong Yidong <cyd@gnu.org>
3995 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3996 (gdb-get-source-file): Move mode line update to
3997 gdb-get-source-file (Bug#10087).
3999 2011-12-25 Chong Yidong <cyd@gnu.org>
4001 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4002 gud-gdb-marker-filter without taking it as an argument.
4003 (gud-gdb-run-command-fetch-lines): Caller changed.
4004 (gud-gdb-completion-function): New variable.
4005 (gud-gdb-completion-at-point): Use it.
4006 (gud-gdb-completions-1): Split from gud-gdb-completions.
4008 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4009 function as separate arguments.
4010 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4011 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4012 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4013 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4014 (gdb-stopped, def-gdb-auto-update-trigger)
4015 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4016 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4018 (gud-gdbmi-completions): New function.
4019 (gdb): Use it for generating the completion table.
4021 2011-12-24 Alan Mackenzie <acm@muc.de>
4023 Introduce a mechanism to widen the region used in context font
4024 locking. Use this to protect declarations from losing their contexts.
4026 * progmodes/cc-langs.el (c-before-font-lock-functions):
4027 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4028 (c-before-context-fontification-functions): New defvar, a list of
4029 functions to be run just before context (etc.) font locking.
4031 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4032 New, functionality extracted from
4033 c-neutralize-syntax-in-and-mark-CPP.
4034 (c-in-after-change-fontification): New variable.
4035 (c-after-change): Set c-in-after-change-fontification.
4036 (c-set-fl-decl-start): Rejig its interface, so it can be called
4037 from both after-change and context fontifying.
4038 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4040 (c-standard-font-lock-fontify-region-function): New variable.
4041 (c-font-lock-fontify-region): New function.
4043 2011-12-24 Juri Linkov <juri@jurta.org>
4045 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4048 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
4050 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4051 existence of source file. (Bug#10325)
4053 2011-12-23 Alan Mackenzie <acm@muc.de>
4055 Fix unstable fontification inside templates.
4057 * progmodes/cc-langs.el (c-before-font-lock-functions):
4058 Newly created from the singular version. The (c c++ objc) entry now
4059 additionally has c-set-fl-decl-start. The other languages (apart
4060 from AWK) have that as a single entry.
4062 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4063 The functionality for "local" declarations has been extracted to
4064 c-set-fl-decl-start.
4066 * progmodes/cc-mode.el (c-common-init, c-after-change):
4067 Changes due to pluralisation of c-before-font-lock-functions.
4068 (c-set-fl-decl-start): New function, extracted from
4069 c-font-lock-enclosing-decls and enhanced.
4071 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4073 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4075 2011-12-22 Juri Linkov <juri@jurta.org>
4077 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4079 2011-12-22 Chong Yidong <cyd@gnu.org>
4081 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4083 2011-12-21 Drew Adams <drew.adams@oracle.com>
4085 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4087 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4089 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4091 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4093 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4094 highlighting and support. Fix up comments for capitalization.
4095 (cfengine-mode-debug): New var.
4096 (cfengine3-mode): Change the modeline indicator to "CFE3".
4097 (cfengine3-font-lock-keywords): Improve defun highlighting.
4098 (cfengine2-actions): Rename from `cfengine-actions'.
4099 (cfengine2-font-lock-keywords): Rename from
4100 `cfengine-font-lock-keywords'.
4101 (cfengine2-imenu-expression): Rename from
4102 `cfengine-imenu-expression'.
4103 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4104 (cfengine2-beginning-of-defun): Rename from
4105 `cfengine-beginning-of-defun'.
4106 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4107 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4108 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4109 modeline indicator to "CFE2".
4110 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4111 (cfengine-mode-abbrevs): Mark obsolete.
4113 2011-12-21 Chong Yidong <cyd@gnu.org>
4115 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4118 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4120 * window.el (window-normalize-buffer-to-display): Remove.
4121 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4123 2011-12-19 Chong Yidong <cyd@gnu.org>
4125 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4126 Don't signal an error in a predicate function; return non-nil.
4127 (vc-dir-mark-file): Move the error here.
4128 (vc-dir-mark-unmark): If acting on the region, keep going if one
4129 of the entries cannot be marked/unmarked.
4130 (vc-dir-mark-all-files): If current entry is a directory, mark
4131 only child files, as documented.
4133 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4135 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4136 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4139 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4141 * term/ns-win.el (ns-get-selection-internal)
4142 (ns-store-selection-internal): Declare.
4143 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4144 Declare as obsolete.
4145 (ns-get-pasteboard, ns-paste-secondary):
4146 Use ns-get-selection-internal.
4147 (ns-set-pasteboard, ns-copy-including-secondary):
4148 Use ns-store-selection-internal.
4150 2011-12-17 Chong Yidong <cyd@gnu.org>
4152 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4153 (vc-deduce-fileset): Doc fix.
4155 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4157 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4159 2011-12-13 Sam Steingold <sds@gnu.org>
4161 * man.el (Man-getpage-in-background): When running under a
4162 window-system, ignore $MANWIDTH and $COLUMNS.
4164 2011-12-15 Kenichi Handa <handa@m17n.org>
4166 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4167 (setup-ethiopic-environment-internal): Comment out key-binding for
4168 ethio-toggle-punctuation.
4170 2011-12-13 Alan Mackenzie <acm@muc.de>
4172 Add the switch statement to AWK Mode.
4174 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4175 "default" to the keywords regexp.
4177 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4178 expression as the rest.
4179 (c-nonlabel-token-key): Allow string literals for AWK.
4180 Refactor for the other modes.
4182 Large brace-block initialisation makes CC Mode slow: Fix.
4183 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4184 routines. Limit backward searching in c-font-lock-enclosing.decl.
4186 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4187 pp-state and literal type in addition to the limits.
4188 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4189 (c-state-literal-at): Use the above new defun.
4190 (c-slow-in-literal, c-fast-in-literal): Remove.
4191 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4193 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4194 being in a literal. Add a limit for backward searching.
4196 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4199 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4201 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4203 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4205 * window.el (delete-other-windows): Use correct frame in call to
4206 window-with-parameter.
4208 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4210 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4211 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4212 (makefile-gmake-statements, makefile-makepp-statements):
4213 Use it and add new makepp keywords.
4214 (makefile-makepp-font-lock-keywords): Add new patterns.
4215 (makefile-match-function-end): Match new [...] and [[...]].
4217 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4219 * ses.el (ses-call-printer-return, ses-cell-property-get)
4220 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4221 (ses-create-cell-variable, ses-reset-header-string)
4222 (ses-cell-set-formula, ses-repair-cell-reference-all)
4223 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4224 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4225 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4226 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4227 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4228 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4229 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4230 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4231 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4232 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4233 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4234 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4236 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4238 * ses.el: The overall change is to add cell renaming, that is
4239 setting fancy names for cell symbols other than name matching
4240 "\\`[A-Z]+[0-9]+\\'" regexp .
4241 (ses-create-cell-variable): New defun.
4242 (ses-relocate-formula): Relocate formulas only for cells the
4243 symbols of which are not renamed, i.e. symbols whose names do not
4244 match regexp "\\`[A-Z]+[0-9]+\\'".
4245 (ses-relocate-all): Relocate values only for cells the symbols of
4246 which are not renamed.
4247 (ses-load): Create cells variables as the (ses-cell ...) are read,
4248 in order to check row col consistency with cell symbol name only
4249 for cells that are not renamed.
4250 (ses-replace-name-in-formula): New defun.
4251 (ses-rename-cell): New defun.
4253 2011-12-11 Chong Yidong <cyd@gnu.org>
4255 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4256 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4258 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4260 * window.el (other-window): Fix docstring.
4262 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4264 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4265 `from' or `to' address before taking its substring.
4266 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4267 encoded name is chopped in the middle of the encoded string, and
4268 thus displayed encoded.
4270 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4272 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4274 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4276 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4277 to use texinfo-update-node and commands that call it if the
4278 Texinfo file uses @node lines without next/prev/up pointers.
4279 Correct outdated description about texinfo-master-menu.
4280 (texinfo-all-menus-update, texinfo-master-menu)
4281 (texinfo-update-node, texinfo-every-node-update)
4282 (texinfo-multiple-files-update): Doc fix. Warn against updating
4283 all the @node lines.
4284 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4285 argument is numeric. Explain better in the doc string what the
4286 function really does.
4287 (texinfo-insert-master-menu-list): Improve the error message
4288 displayed if there's no menu in the Top node.
4289 (Bug#2975) See also this thread:
4290 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4292 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4294 * speedbar.el (speedbar-supported-extension-expressions):
4295 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4297 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4299 * printing.el (pr-mode-alist):
4300 * simple.el (filter-buffer-substring-functions)
4301 (completion-list-insert-choice-function):
4302 * window.el (window-with-parameter, window-atom-root)
4303 (window-sides-slots, window-size-fixed, window-min-delta)
4304 (window-max-delta, window--resize-mini-window)
4305 (window--resize-child-windows-normal, window-tree)
4306 (delete-other-windows, quit-window, split-window)
4307 (display-buffer-record-window, special-display-buffer-names)
4308 (special-display-regexps, special-display-popup-frame)
4309 (same-window-p, split-window-sensibly)
4310 (display-buffer-overriding-action, display-buffer-alist)
4311 (display-buffer-base-action, display-buffer, switch-to-buffer)
4312 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4313 (fit-window-to-buffer, recenter-positions)
4314 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4315 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4316 and remove unneeded backslashes in docstrings.
4318 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4320 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4322 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4323 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4325 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4326 when reading the makefile (bug#10116).
4328 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4330 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4333 2011-12-06 Glenn Morris <rgm@gnu.org>
4335 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4337 2011-12-06 Chong Yidong <cyd@gnu.org>
4339 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4341 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
4343 * textmodes/table.el (table-shorten-cell): Fix typo.
4345 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4347 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4349 2011-12-05 Eli Zaretskii <eliz@gnu.org>
4351 * descr-text.el (describe-char): Fix display of strong
4352 right-to-left characters and directional embeddings and overrides.
4354 * simple.el (what-cursor-position): Fix display of codepoints of
4355 strong right-to-left characters.
4357 2011-12-05 Chong Yidong <cyd@gnu.org>
4359 * faces.el (read-color): Doc fix.
4361 2011-12-05 Glenn Morris <rgm@gnu.org>
4363 * align.el (align--set-marker): Add doc-string.
4364 Don't try to move something that is not a marker. (Bug#10216)
4366 2011-12-04 Glenn Morris <rgm@gnu.org>
4368 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4369 overly zealous deletion of trailing whitespace.
4371 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
4373 * server.el (server-delete-client): On Windows, do not try to delete
4375 (server-process-filter): On Windows, treat requests for a tty frame as
4376 if they were for a GUI frame if the running server is in GUI mode.
4378 2011-12-03 Glenn Morris <rgm@gnu.org>
4380 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4382 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4384 * electric.el: Streamline electric-indent's hook.
4385 (electric-indent-chars): Revert to simple list.
4386 (electric-indent-functions): New var.
4387 (electric-indent-post-self-insert-function): Use it.
4389 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4390 there's no inferior buffer (bug#10196).
4391 (prolog-consult-compile): Don't use toggle-read-only.
4393 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
4395 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4396 interrupt. (Bug#10187)
4398 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4400 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4403 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4406 2011-12-02 Juri Linkov <juri@jurta.org>
4408 * info.el (Info-search): Display "end of manual" when Isearch
4409 reaches the end of single-file Info manual. (Bug#9918)
4411 2011-12-02 Eli Zaretskii <eliz@gnu.org>
4413 * isearch.el (isearch-message-prefix): Run the input method part
4414 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4416 2011-12-02 Juri Linkov <juri@jurta.org>
4418 * isearch.el (isearch-occur): Use `word-search-regexp' for
4420 (isearch-search-and-update): Add condition for `isearch-word' and
4421 call `word-search-regexp'. (Bug#10145)
4423 2011-12-01 Glenn Morris <rgm@gnu.org>
4425 * eshell/em-hist.el (eshell-hist-initialize):
4426 Handle eshell-history-size nil and HISTSIZE set or unset.
4427 (eshell-history-file-name, eshell-history-size): Fix custom type.
4429 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4431 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4433 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
4435 * progmodes/verilog-mode.el (verilog-pretty-expr):
4436 Rework verilog-pretty-expr to handle new assignment operators in system
4437 verilog, such as += *= and the like.
4438 (verilog-assignment-operator-re): Regular expression to find the
4439 assigment operator in a verilog assignment.
4440 (verilog-assignment-operation-re): Regular expression to find an
4441 assignment statement for pretty-expr.
4442 (verilog-in-attribute-p): Query returns true if point is in an
4443 attribute context; used to skip these for expression line up from
4445 (verilog-in-parameter-p): Query returns true if point is in an
4446 parameter definition context; used to skip these for expression
4447 line up from pretty-expr.
4448 (verilog-in-parenthesis-p): Query returns true if point is in a
4449 parenthetical expression, specifically ( ) but not [ ] or { };
4450 used by pretty-expr.
4451 (verilog-just-one-space): If there is no space, don't add one.
4452 (verilog-get-lineup-indent-2): Specifically skip just attribute
4453 contexts for expression lineup, rather than skipping all
4454 parenthetical expressions.
4455 (verilog-calculate-indent): Fix comment, and fix indent.
4456 (verilog-do-indent): Indent declarations in lists (suggested by
4458 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4460 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4463 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4465 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4466 parameters with embedded comments. Reported by Ray Stevens.
4467 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4468 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4469 Reported by Tim Holt.
4470 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4471 instantiated by upper module causing wrong expansion until AUTOed a
4472 second time. Reported by K C Buckenmaier.
4473 (verilog-diff-auto): Fix showing .* as a difference when
4474 `verilog-auto-star-save' off. Reported by Dan Dever.
4475 (verilog-auto-reset, verilog-read-always-signals)
4476 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4477 temporary signals in reset list if
4478 verilog-auto-reset-blocking-in-non is nil, and match assignment
4479 style to each signal's assignment type, bug381.
4480 Reported by Thomas Esposito.
4481 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4482 (verilog-uvm-statement-re): Support UVM indentation and
4483 highlighting, with old OVM keywords only.
4484 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4485 Support AUTOTIEOFF creating non-wire data types.
4486 Suggested by Jonathan Greenlaw.
4487 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4488 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4489 (verilog-inject-sense, verilog-read-inst-pins)
4490 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4491 Fix mismatching parenthesis inside commented out code when deleting
4492 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4493 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4494 non-numeric vector width. Reported by Alex Reed.
4495 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4496 detecting signals with parameter widths. Reported by Alex Reed.
4497 (verilog-auto-delete-trailing-whitespace):
4498 With `verilog-auto-delete-trailing-whitespace' remove trailing
4499 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4500 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4501 Fix verilog-scan-cache corruption when running user AUTO expansion
4502 hooks that call indentation routines.
4503 (verilog-simplify-range-expression): Fix typo ignoring lower case
4505 (verilog-delete-auto): Fix delete-autos to also remove user created
4506 automatics, as long as they start with AUTO.
4507 (verilog-batch-diff-auto, verilog-diff-auto)
4508 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4509 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4510 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4511 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4512 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4513 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4514 is disabled and its cache will get corrupt, causing AUTOS not to
4515 expand. Instead use only -quick functions.
4516 (verilog-scan-region): Fix scanning over escaped quotes.
4517 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4518 (verilog-re-search-backward-quick)
4519 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4520 related functions now ignore strings, to fix misparsing of strings
4521 with magic comments embedded in them.
4522 (verilog-read-auto-template):
4523 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4524 Reported by Brad Dobbie.
4525 (verilog-read-auto-template):
4526 Fix 'verilog-auto-inst-template-numbers' with comments.
4527 Reported by Brad Dobbie.
4528 (verilog-auto-inst, verilog-auto-inst-param)
4529 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4530 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4531 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4532 debugging templates without merge conflicts, bug357.
4533 Reported by Brad Dobbie.
4534 (verilog-read-auto-template):
4535 Fix verilog-auto-inst-template-numbers with multiple templates.
4536 Reported by Brad Dobbie.
4537 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4538 abbrevs so user won't be asked to save.
4539 (verilog-read-auto-lisp-present): Fix to start at beginning of
4540 buffer in case called outside of verilog-auto.
4541 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4542 to "X-2". Reported by Matthew Myers.
4543 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4544 all inputs from module templates. Reported by Leith Johnson.
4545 (verilog-module-inside-filename-p): Fix locating programs as with
4547 (verilog-auto-inst-port): Fix vl-width expressions when using
4548 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4549 (verilog-decls-get-regs, verilog-decls-get-signals,
4550 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4551 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4552 verilog-read-decls): Combine reg and wire structures into one var
4553 structure to represent SystemVerilog concepts.
4554 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4555 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4556 (verilog-auto-wire-type, verilog-insert-definition):
4557 Add verilog-auto-wire-type and AUTOLOGIC to support using
4558 SystemVerilog "logic" keyword instead of "wire"/"reg".
4559 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4560 to declares outputs that also have assignments (presumably in an
4561 ifdef or generate if so there's not a driver conflict).
4562 Reported by Matthew Myers.
4563 (verilog-auto-declare-nettype, verilog-insert-definition):
4564 Add verilog-auto-declare-nettype to fix declarations using
4565 `default_nettype none. Reported by Julian Gorfajn.
4566 (verilog-read-always-signals-recurse, verilog-read-decls)
4567 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4568 malformed end statement, bug325. Reported by Joshua Wise and
4570 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4571 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4572 when expanding .* in interfaces, bug320.
4573 Reported by Pierre-David Pfister.
4574 (verilog-read-module-name): Fix import statements between module
4575 name and open parenthesis, bug317.
4576 Reported by Pierre-David Pfister.
4577 (verilog-simplify-range-expression): Fix simplification of
4578 multiplications inside AUTOWIRE connections, bug303.
4579 (verilog-auto-inst-port): Support parameter expansion in
4580 multidimensional arrays.
4581 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4582 after "assert property". Reported by Julian Gorfajn.
4583 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4584 with multiplication, bug303.
4585 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4586 Reported by Jan Frode Lonnum.
4588 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4590 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4591 (hfy-shell-file-name, hfy-shell):
4592 * international/fontset.el (x-decompose-font-name): Fix typos.
4594 2011-11-29 Ken Brown <kbrown@cornell.edu>
4596 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4597 (gdb-version): Remove defvar.
4598 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4599 (gdb-gud-context-command, gdb-non-stop-handler)
4600 (gdb-current-context-command, gdb-stopped): Use it.
4601 (gdb-init-1): Enable pretty printing here.
4602 (gdb-non-stop-handler): Don't enable pretty-printing here.
4603 Check to see if the target supports non-stop mode; if not, turn off
4604 non-stop mode. Use the following.
4605 (gdb-check-target-async): New defun.
4606 (gud-watch, gdb-stopped): Fix whitespace.
4607 (gdb-get-source-file): Don't try to display the source file if
4608 `gdb-main-file' is nil.
4610 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4612 * align.el: Try to generate fewer markers (bug#10047).
4613 (align--set-marker): New macro.
4614 (align-region): Use it.
4616 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4618 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4620 2011-11-29 Chong Yidong <cyd@gnu.org>
4622 * indent.el (indent-for-tab-command, indent-according-to-mode):
4624 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4626 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4628 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4629 aware of remote file names. (Bug#10124)
4631 2011-11-29 Chong Yidong <cyd@gnu.org>
4633 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4635 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4637 * files.el (find-file): Don't use force-same-window (bug#10144).
4638 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4639 use pop-to-buffer if the selected window can't be used.
4640 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4642 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4644 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4647 2011-11-28 Chong Yidong <cyd@gnu.org>
4649 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4651 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4653 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4654 gdb-get-source-file-list on gdb-create-source-file-list.
4656 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4658 * whitespace.el (whitespace-newline): Use a different foreground
4659 color for 16-color light-background displays.
4661 2011-11-24 Chong Yidong <cyd@gnu.org>
4663 * window.el (display-buffer--special-action): Doc fix.
4665 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4667 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4668 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4669 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4670 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4671 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4672 (avl-tree-stack-first):
4673 * emacs-lisp/cconv.el (cconv--analyse-use):
4674 * net/gnutls.el (gnutls-negotiate): Fix typos.
4676 2011-11-24 Glenn Morris <rgm@gnu.org>
4678 * lpr.el (lpr-windows-system, lpr-lp-system):
4679 * mail/binhex.el (binhex-begin-line):
4680 * progmodes/grep.el (grep-history, grep-find-history):
4681 * textmodes/flyspell.el:
4682 * vc/pcvs-defs.el (cvs-global-menu):
4683 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4684 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4685 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4687 * net/tls.el: Fix case of "GnuTLS".
4689 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4691 * version.el (emacs-build-system): Give it a doc-string.
4693 2011-11-24 Juri Linkov <juri@jurta.org>
4695 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4697 2011-11-24 Glenn Morris <rgm@gnu.org>
4699 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4700 if called on a non-mime message just toggle the headers. (Bug#8006)
4702 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4704 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4705 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4706 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4707 (allout-rebullet-heading, allout-open-sibtopic)
4708 (allout-toggle-current-subtree-encryption)
4709 (allout-toggle-subtree-encryption, allout-encrypt-string)
4710 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4711 (allout-distinctive-bullets-string, allout-auto-activation):
4712 * window.el (window-normalize-buffer-to-display):
4713 * progmodes/verilog-mode.el (verilog-batch-indent):
4714 * textmodes/bibtex.el (bibtex-field-braces-opt)
4715 (bibtex-field-strings-opt):
4716 * vc/cvs-status.el (cvs-tree-merge):
4719 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4721 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4722 `non-essential' to t, in order to avoid remote connections.
4724 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4726 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4727 On MS-DOS and MS-Windows, compare with loaddefs.el
4730 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4732 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4734 2011-11-23 Glenn Morris <rgm@gnu.org>
4736 * paths.el (rmail-file-name): Reformat the doc-string so that it
4739 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4740 (rmail-auto-file): Ignore case in the "special" field names,
4741 as mail-fetch-field does for all others.
4743 * mail/rmail.el (rmail-forward):
4744 * mail/rmailkwd.el (rmail-set-label):
4745 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4746 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4748 * mail/rmail.el (rmail-current-message): Doc fix.
4750 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4752 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4754 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4756 2011-11-22 Glenn Morris <rgm@gnu.org>
4758 * mail/rmailmm.el (test-rmail-mime-handler)
4759 (test-rmail-mime-bulk-handler)
4760 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4762 2011-11-21 Juri Linkov <juri@jurta.org>
4764 * calc/calc.el (calc-read-key-sequence):
4765 Let-bind `input-method-function' to nil. (Bug#10018)
4767 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4769 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4770 Tell the caller that the next line needs recomputation, even
4771 though it doesn't start a sexp (bug#10094).
4773 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4775 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4777 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4780 Use force-same-window.
4782 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4784 * descr-text.el (describe-char-unicode-data):
4785 * json.el (json-string-escape):
4786 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4787 (Footnote-unicode, Footnote-style-p):
4788 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4790 2011-11-20 Chong Yidong <cyd@gnu.org>
4792 * window.el (replace-buffer-in-windows): Restore interactive spec.
4794 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4796 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4798 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4799 (byte-compile-global-not-obsolete-vars): New var.
4800 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4802 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4804 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4806 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4807 * progmodes/pascal.el (electric-pascal-equal):
4808 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4809 * xml.el (xml-substitute-special): Fix typos.
4811 2011-11-20 Glenn Morris <rgm@gnu.org>
4813 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4814 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4816 (rmail-decode-mime-charset): Mark as obsolete.
4818 * mail/rmailsum.el (rmail-message-regexp-p-1):
4819 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4820 Before using mime functions, check they are set. (Bug#10077)
4822 2011-11-19 Juri Linkov <juri@jurta.org>
4824 * info.el (Info-finder-find-node): Use `package--builtins' instead
4825 of `package-alist'. Use node names formed by the pattern "Keyword "
4826 and the keyword name.
4828 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4830 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4832 2011-11-19 Juri Linkov <juri@jurta.org>
4834 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4835 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4836 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4837 `old-history', `old-history-forward'. Add let-binding
4838 `window-selected'. Remove calls to `kill-buffer',
4839 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4840 before calling `Info-find-node', so `Info-find-node-2' will reread
4841 the Info file. Restore window positions only when `window-selected'
4844 2011-11-19 Juri Linkov <juri@jurta.org>
4846 * isearch.el (isearch-lazy-highlight-new-loop):
4847 Remove condition `(not isearch-error)'. (Bug#9918)
4849 * misearch.el (multi-isearch-search-fun): Add condition
4850 `(not bound)' to ignore lazy-highlighting search.
4851 Add the search-failed message "end of multi" when the end of
4852 multi-sequence is reached. Uncapitalize the search-failed
4853 message "Repeat for next buffer".
4855 * info.el (Info-search): Add the search-failed message
4856 "end of the manual" when the end of the manual is reached
4859 2011-11-19 Juri Linkov <juri@jurta.org>
4861 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4862 Use non-destructive `remove' instead of `delete' because
4863 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4864 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4866 2011-11-19 Juri Linkov <juri@jurta.org>
4868 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4869 to nil instead of binding `search-ring' and `regexp-search-ring'.
4872 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4874 * simple.el (line-move): Force movement by logical lines for any
4875 hscrolled window, not only when auto-hscroll-mode is on.
4876 (line-move-visual): Update doc string to that effect. (Bug#10076)
4878 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4880 * language/european.el (macintosh): Define as alias for mac-roman.
4882 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4884 * mail/rmailmm.el (rmail-mime-display-header)
4885 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4886 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4887 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4888 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4889 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4891 (rmail-mime-entity-segment): To get past the tagline, move forward
4892 2 more lines, to account for the 2 empty lines that precede and
4893 follow the line with the buttons.
4894 (rmail-mime-update-tagline): Move one more line, to get past the
4895 empty line that follows the buttons in the tagline. (Bug#9520)
4897 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4899 * window.el (window-max-delta-1, window-min-delta-1)
4900 (window-min-size-1, window-state-get-1, window-state-put-1)
4901 (window-state-put-2): Use "window--" prefix.
4903 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4905 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4906 (smie-warning-count): New var.
4907 (smie-set-prec2tab): Use it.
4908 (smie-bnf->prec2): Improve warnings. Add docstring.
4909 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4910 (smie-bnf--set-class): New function.
4911 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4914 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4915 (compilation-error-properties, compilation-move-to-column):
4916 Handle compilation-first-column while in the target buffer.
4918 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4919 Don't hardcode point-min==1.
4921 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4922 (eshell-rewrite-for-command): Remove workaround.
4923 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4924 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4925 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4927 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4929 2011-11-17 Glenn Morris <rgm@gnu.org>
4931 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4932 Ignore buffer-local generated-autoload-file if it is the same
4933 as the global value. (Bug#10049)
4935 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4937 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4938 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4939 (reftex-toc-previous-heading, reftex-toc-max-level)
4940 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4941 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4942 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4943 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4944 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4945 (reftex-toc-rename-label, reftex-toc-visit-location)
4946 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4947 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4948 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4949 leaving "*toc*" only for references to the buffer.
4951 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4953 * window.el (window-resize, delete-window, split-window):
4954 Replace window-splits by window-combination-resize.
4955 * cus-start.el (window-splits): Replace by window-combination-resize.
4957 2011-11-17 Glenn Morris <rgm@gnu.org>
4959 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4960 Make bash entry derive from sh entry, not shell entry.
4962 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4964 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4965 properties of linked files. (Bug#9879)
4967 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4970 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4972 * menu-bar.el (menu-bar-file-menu):
4973 * printing.el (pr-ps-utility):
4974 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4975 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4976 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4977 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4978 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4979 (icalendar--convert-cyclic-to-ical)
4980 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4981 (icalendar--convert-ical-to-diary)
4982 (icalendar--convert-recurring-to-diary)
4983 (icalendar--convert-non-recurring-all-day-to-diary)
4984 (icalendar-import-format-sample):
4985 * progmodes/idlw-shell.el (idlwave-shell-mode):
4986 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4987 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4988 (vhdl-ps-print-init): Fix typos.
4990 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4992 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4993 FSF and collapse date sequence, obscure author/maintainer email address
4994 better, remove extra version line, track relocation of author's webpage.
4996 * progmodes/python.el (python-pdbtrack-input-prompt)
4997 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4998 regular python pdb prompts. Adjustments shamelessly taken exactly as
4999 suggested in EmacsWiki page (tiny change):
5000 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5002 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5004 * expand.el (expand-pos, expand-index, expand-point):
5005 Remove redundant info from docstring.
5006 (expand-add-abbrevs): Doc fix.
5007 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5008 (expand-sample-perl-mode-expand-list): Fix typos.
5010 * net/dbus.el (dbus-event-member-name):
5011 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5012 * term/pc-win.el (msdos-create-frame-with-faces):
5013 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5015 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5017 * window.el (split-window, window-state-get-1)
5018 (window-state-put-1, window-state-put-2): Rename occurrences of
5019 window-nest to window-combination-limit.
5020 * cus-start.el (window-nest): Rename to window-combination-limit.
5022 2011-11-16 Chong Yidong <cyd@gnu.org>
5024 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5027 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5029 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5030 `completing-read' will remove *Completions* and will preserve
5031 current-buffer for us.
5032 (tmm-add-prompt): Users of *Completions* will always (re)set its
5034 (tmm-old-comp-map): Remove.
5036 2011-11-16 Glenn Morris <rgm@gnu.org>
5038 * mail/rmailedit.el: Require rmailmm when compiling.
5039 (rmail-old-mime-state): New declaration.
5040 (rmail-edit-current-message): If editing a mime message,
5041 edit the "raw" message from the mbox buffer.
5042 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5044 2011-11-15 Glenn Morris <rgm@gnu.org>
5046 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5047 which wasn't being used. Add optional arg to force given state.
5048 (rmail-mime): Add optional arg to force given state.
5050 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5052 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5053 * frame.el (display-mm-dimensions-alist):
5054 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5055 (outline-move-subtree-down):
5056 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5057 (newsticker--treeview-do-get-node):
5058 * net/quickurl.el (quickurl-list-buffer-name):
5059 * progmodes/dcl-mode.el (dcl-mode):
5060 * progmodes/gdb-mi.el (gdb-mapcar*):
5061 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5063 2011-11-15 Glenn Morris <rgm@gnu.org>
5065 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5066 in a boolean sense, so just make it a boolean, and fix the doc.
5067 (rmail-show-mime-function, rmail-mime-feature)
5068 (rmail-require-mime-maybe): Doc fixes.
5069 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5071 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5073 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5075 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5076 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5077 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5078 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5080 2011-11-15 Glenn Morris <rgm@gnu.org>
5082 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5083 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5084 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5085 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5086 (rmail-mime, rmail-show-mime): Doc fixes.
5088 * term/ns-win.el (mode-line-frame-identification):
5089 Leave it alone. (Bug#10051)
5091 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5093 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5094 Handle empty buffers. (Bug#9978)
5096 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
5098 * international/mule.el (define-charset):
5099 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5100 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5101 * progmodes/verilog-mode.el (verilog-backward-token):
5102 * textmodes/ispell.el (lookup-words):
5103 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5105 2011-11-14 Glenn Morris <rgm@gnu.org>
5107 * progmodes/executable.el
5108 (executable-make-buffer-file-executable-if-script-p):
5109 Handle file-modes returning nil.
5111 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5112 message - not necessary, and causes problems. (Bug#9831)
5114 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5116 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5118 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5119 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5120 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5122 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5124 * window.el (window-resize, delete-window): Use window-splits
5125 variable instead of function.
5126 (window-state-get-1, window-state-put-2, window-state-put):
5127 Don't deal with windows' splits status.
5129 2011-11-12 Glenn Morris <rgm@gnu.org>
5131 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5132 (apropos-documentation): Doc fixes.
5134 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
5136 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5137 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5139 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5141 * electric.el (electric-indent-post-self-insert-function): Make it
5142 possible for a char to only indent in some circumstances.
5143 (electric-indent-mode): Simplify.
5145 2011-11-11 Martin Rudalics <rudalics@gmx.at>
5147 * window.el (windows-with-parameter): Remove unused function.
5148 (windows-at-side): Rename to window-at-side-list.
5149 (window-check, window-atom-check, window-atom-check-1)
5150 (window-side-check, window-size-ignore, window-size-fixed-1)
5151 (window-in-direction-2): Prefix with "window--".
5152 (window-tree-1): Rename to window--subtree, fix doc-string.
5154 2011-11-11 Glenn Morris <rgm@gnu.org>
5156 * subr.el (eval-after-load): If FILE is already loaded,
5157 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5159 2011-11-10 Glenn Morris <rgm@gnu.org>
5161 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5162 Call svn via vc-svn-command rather than vc-do-command.
5163 (vc-svn-command): Add --non-interactive. (Bug#9993)
5164 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5166 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5167 Add toggle-read-only. (Bug#7292)
5168 * files.el (toggle-read-only): Mention that it should only
5169 be used interactively. (Bug#10006)
5171 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5173 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5174 Adjust regexp for OCaml warnings.
5176 * electric.el (electric-pair-post-self-insert-function): Let user
5177 turn it off buffer-locally (bug#9932).
5179 * progmodes/python.el (python-beginning-of-statement):
5182 * progmodes/compile.el: Better handle TABs (bug#9749).
5183 (compilation-internal-error-properties)
5184 (compilation-next-error-function): Obey the target buffer's
5185 compilation-error-screen-columns.
5187 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
5189 * progmodes/meta-mode.el: Remove obsolete comments.
5190 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5191 Fix typos in docstrings.
5193 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5195 * window.el (window-size-fixed-p): Rewrite doc-string.
5196 (window-resizable-p): Rename to window--resizable-p. Update callers.
5197 (window--resizable): New function. Make all callers of
5198 window-resizable call window--resizable instead.
5199 (window-resizable): Rewrite in terms of window--resizable.
5201 2011-11-08 Glenn Morris <rgm@gnu.org>
5203 * progmodes/delphi.el (delphi-mode-syntax-table):
5204 Let define-derived-mode define a proper syntax table. (Bug#9994)
5206 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5208 * window.el: Stay away from defsubst.
5209 (window-list-no-nils): Remove.
5210 (window-state-get-1, window-state-get): Use backquote instead.
5212 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5214 * emacs-lisp/find-func.el (find-function-read):
5215 Fix incorrect use of default argument in `completing-read'.
5217 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5219 * window.el (display-buffer-function, special-display-function):
5220 Mention display-buffer-record-window but do not mention
5221 help-setup parameter in doc-strings.
5222 (window-min-delta): Fix doc-string typo.
5224 2011-11-08 Chong Yidong <cyd@gnu.org>
5226 * window.el (window-total-height, window-total-width): Doc fix.
5227 (window-body-size): Move from C.
5228 (window-body-height, window-body-width): Move to C.
5230 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5232 * window.el: Make special-display like display-buffer-alist (bug#9532).
5233 (display-buffer--special-action): New function, morphed
5234 from display-buffer--special.
5235 (display-buffer): Use it to handle special-display-buffers at higher
5236 priority (just after display-buffer-alist).
5237 (display-buffer-fallback-action, display-buffer--other-frame-action)
5238 (pop-to-buffer-same-window): Remove display-buffer--special.
5240 2011-11-07 Glenn Morris <rgm@gnu.org>
5242 * calendar/cal-menu.el (cal-menu-set-date-title):
5243 Do nothing if not in a calendar. (Bug#9976)
5245 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5247 * files.el (find-file): Always use selected-window.
5249 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5251 * window.el (window-combinations): Make WINDOW argument
5252 mandatory. Rewrite doc-string.
5253 (walk-window-subtree, window-atom-check, window-min-delta)
5254 (window-max-delta, window--resize-this-window)
5255 (window--resize-root-window-vertically, window-tree)
5256 (balance-windows, window-state-put): Rewrite doc-strings as to
5257 not mention the term "subwindow".
5258 (window--resize-subwindows-skip-p): Rename to
5259 window--resize-child-windows-skip-p.
5260 (window--resize-subwindows-normal): Rename to
5261 window--resize-child-windows-normal.
5262 (window--resize-subwindows): Rename to
5263 window--resize-child-windows.
5264 (window-or-subwindow-p): Rename to window--in-subtree-p.
5266 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5268 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5269 Ensure that mbox format messages end in two newlines (Bug#9974).
5271 2011-11-06 Chong Yidong <cyd@gnu.org>
5273 * window.el (window-combination-p): Function deleted; its
5274 side-effect is not used in any existing code.
5275 (window-combinations, window-combined-p): Call window-*-child
5278 2011-11-05 Chong Yidong <cyd@gnu.org>
5280 * window.el (window-valid-p): Rename from window-any-p.
5281 (window-size-ignore, window-state-get): Callers changed.
5282 (window-normalize-window): Rename from window-normalize-any-window.
5283 New arg LIVE-ONLY, replacing window-normalize-live-window.
5284 (window-normalize-live-window): Delete.
5285 (window-combination-p, window-combined-p, window-combinations)
5286 (walk-window-subtree, window-atom-root, window-min-size)
5287 (window-sizable, window-sizable-p, window-size-fixed-p)
5288 (window-min-delta, window-max-delta, window-resizable)
5289 (window-resizable-p, window-full-height-p, window-full-width-p)
5290 (window-current-scroll-bars, window-point-1, set-window-point-1)
5291 (window-at-side-p, window-in-direction, window-resize)
5292 (adjust-window-trailing-edge, maximize-window, minimize-window)
5293 (window-deletable-p, delete-window, delete-other-windows)
5294 (record-window-buffer, unrecord-window-buffer)
5295 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5296 (quit-window, split-window, window-state-put)
5297 (set-window-text-height, fit-window-to-buffer)
5298 (shrink-window-if-larger-than-buffer): Callers changed.
5300 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5302 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5303 rfc2047-decode-string.
5304 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5307 * window.el (window-body-height, window-body-width): Mention in
5308 the doc string that the return values are in frame's canonical
5311 2011-11-03 Alan Mackenzie <acm@muc.de>
5313 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5314 change in cc-engine.el.
5316 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5318 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5320 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5322 * window.el (quit-window): Call unrecord-window-buffer after
5323 showing another buffer in the window. (Bug#9937)
5324 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5326 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5328 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5329 Accept status with more than 9 shelves. (Bug#9935)
5330 Reported by Colin D Bennett <colin@gibibit.com>.
5332 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5334 * help.el (with-help-window): Don't reference
5335 temp-buffer-show-specifiers in doc-string.
5337 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5339 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5342 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5344 * whitespace.el: New version 13.2.2.
5345 (whitespace-newline-mode): Disable properly. Reported by Sarah
5348 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
5350 * net/newst-treeview.el: Remove "Time-stamp".
5351 (newsticker--group-manage-orphan-feeds): Do not call
5352 newsticker--treeview-tree-update.
5353 (newsticker-treeview-update, newsticker-treeview):
5354 Call newsticker--treeview-tree-update if necessary.
5356 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5358 * window.el (window-iso-combination-p, window-iso-combined-p)
5359 (window-iso-combinations): Remove "iso-" infix.
5360 Suggested by Chong Yidong.
5361 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5362 (window-max-delta-1, window-resize, window--resize-siblings)
5363 (window--resize-this-window, adjust-window-trailing-edge)
5364 (split-window, balance-windows-1)
5365 (shrink-window-if-larger-than-buffer):
5366 * calendar/calendar.el (calendar-generate-window):
5367 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5369 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5371 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5372 in place (bug#9907).
5373 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5374 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5375 (eshell-structure-basic-command, eshell-rewrite-while-command)
5376 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5377 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5378 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5379 (eshell-do-pipelines-synchronously, eshell-eval-command):
5380 Use backquotes and prefer setq to set.
5381 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5382 (eshell-macrop): Use functionp.
5383 (eshell-do-eval): Handle multiple expressions in `while' body.
5385 2011-10-30 Chong Yidong <cyd@gnu.org>
5387 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5388 instead of set-mark (Bug#9810).
5390 2011-10-30 Chong Yidong <cyd@gnu.org>
5392 * window.el (split-window-below, split-window-right): Rename from
5393 split-window-above-each-other and split-window-side-by-side
5394 respectively. All callers changed.
5395 (split-window-sensibly, split-window-sensibly): Use them.
5396 (split-window-keep-point): Doc fix.
5398 * isearch.el: Add isearch-scroll property to split-window-below
5399 and split-window-right.
5401 * follow.el (follow-mode):
5402 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5403 * progmodes/ada-xref.el (ada-gdb-application):
5404 * emulation/vip.el (vip-buffer-in-two-windows):
5405 * image-dired.el (image-dired-dired-with-window-configuration):
5406 * dired-x.el (dired-do-find-marked-files):
5407 * dired.el (dired-pop-to-buffer):
5408 * bs.el (bs--show-with-configuration):
5409 * vc/emerge.el (emerge-setup-windows):
5410 * textmodes/two-column.el (2C-two-columns):
5411 * textmodes/reftex-toc.el (reftex-toc):
5412 * progmodes/gdb-mi.el (gdb-setup-windows):
5413 * progmodes/fortran.el (fortran-window-create):
5414 * net/newst-treeview.el (newsticker--treeview-window-init):
5415 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5416 * emulation/tpu-edt.el (tpu-gold-map):
5417 * emulation/crisp.el (crisp-mode-map):
5418 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5420 2011-10-29 Chong Yidong <cyd@gnu.org>
5422 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5424 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5426 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5427 forged Ispell output (Bug#7904).
5429 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5431 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5433 * doc-view.el: Avoid ugly errors about not finding nil.
5434 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5435 (doc-view-dvipdf-program, doc-view-unoconv-program)
5436 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5437 Avoid nil or absolute file name as default value.
5438 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5440 2011-10-28 Alan Mackenzie <acm@muc.de>
5442 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5444 2011-10-28 Alan Mackenzie <acm@muc.de>
5446 Amend the handling of c-beginning/end-of-defun in nested declaration
5449 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5450 cc-langs.el. Change it to a defcustom.
5452 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5455 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5456 Prevent "class foo : bar" being spuriously recognized as a label.
5458 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5459 Add parameter `inclusive' (to include enclosing braces in the region).
5460 (c-widen-to-enclosing-decl-scope): New function.
5461 (c-while-widening-to-decl-block): New macro.
5462 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5463 outward for defun boundaries, and correspondingly change symbol
5464 `respect-enclosure' to `go-outward'.
5465 (c-declaration-limits): Change algorithm to report only the "innermost"
5468 2011-10-28 Deniz Dogan <deniz@dogan.se>
5470 * net/rcirc.el (rcirc-mode): Use hard newlines.
5472 2011-10-28 Alan Mackenzie <acm@muc.de>
5474 Amend to indent and fontify macros "which include their own semicolon"
5475 correctly, using the "virtual semicolon" mechanism.
5477 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5479 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5480 Recode to scan one line at a time rather than having \n and \r
5481 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5482 (c-forward-label): Amend for virtual semicolons.
5483 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5485 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5486 of the new C macros.
5488 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5489 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5490 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5491 (c-opt-cpp-macro-define): Make into a full language variable.
5492 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5493 AWK Mode (including \n, \r) removed, no longer needed.
5495 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5496 Invoke c-make-macro-with-semi-re.
5498 * progmodes/cc-vars.el (c-macro-with-semi-re):
5499 (c-macro-names-with-semicolon): New variables.
5500 (c-make-macro-with-semi-re): New function.
5502 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5504 * vc/log-edit.el: Fill empty field rather than adding new one.
5505 (log-edit-add-field): New function.
5506 (log-edit-insert-changelog): Use it.
5508 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5510 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5512 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5514 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5515 (gdb--check-interpreter): New function.
5518 2011-10-27 Glenn Morris <rgm@gnu.org>
5520 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5521 (least-positive-float, least-negative-float)
5522 (least-positive-normalized-float, least-negative-normalized-float)
5523 (float-epsilon, float-negative-epsilon):
5524 Remove unnecessary declarations.
5526 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5527 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5528 (least-positive-float, least-negative-float)
5529 (least-positive-normalized-float, least-negative-normalized-float)
5530 (float-epsilon, float-negative-epsilon): Add doc-strings,
5531 based on those in cl.texi.
5533 * files.el (set-visited-file-name): If the major-mode changed,
5534 reload the local variables. (Bug#9796)
5536 2011-10-27 Chong Yidong <cyd@gnu.org>
5538 * subr.el (change-major-mode-after-body-hook): New hook.
5539 (run-mode-hooks): Run it.
5541 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5542 Use change-major-mode-before-body-hook.
5544 * simple.el (fundamental-mode):
5545 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5546 change introducing fundamental-mode-hook.
5548 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5550 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5552 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5554 * ido.el (ido-file-name-all-completions-1): Do not require
5555 tramp.el explicitly. (Bug#7583)
5557 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5559 * progmodes/octave-mod.el:
5560 * progmodes/octave-inf.el: Update maintainer.
5562 2011-10-26 Chong Yidong <cyd@gnu.org>
5564 * subr.el (with-wrapper-hook): Rewrite doc.
5566 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5568 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5569 filenames "/method:foo:". (Bug#9793)
5571 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5573 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5576 2011-10-24 Glenn Morris <rgm@gnu.org>
5578 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5580 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5582 * notifications.el: Add the requirement of a running D-Bus session
5583 bus to the Commentary.
5585 2011-10-24 Juri Linkov <juri@jurta.org>
5587 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5588 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5591 2011-10-24 Juri Linkov <juri@jurta.org>
5593 * info.el (Info-following-node-name-re): Add newline to the list
5594 of allowed characters for leading space. (Bug#9824)
5596 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5598 * progmodes/octave-inf.el (inferior-octave-mode-map):
5599 Fix C-c C-h binding.
5600 * progmodes/octave-mod.el (octave-help): Remove.
5602 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5604 Sync with Tramp 2.2.3.
5606 * net/tramp-cache.el (top): Pacify byte-compiler using
5607 `init-file-user' and `site-run-file'.
5609 * net/trampver.el: Update release number.
5611 2011-10-23 Chong Yidong <cyd@gnu.org>
5613 * files.el (toggle-read-only): Remove obsolete comment about
5616 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5617 for toggle-read-only. Note that this hasn't called vc-next-action
5618 since 2008-05-02, though it wasn't documented at the time.
5620 * vc/ediff-init.el (ediff-toggle-read-only-function):
5621 Use toggle-read-only.
5623 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5625 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5628 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5629 correct faulty logical expression.
5630 (c-parse-state-state, c-record-parse-state-state):
5631 (c-replay-parse-state-state): New defvar/defuns.
5632 (c-debug-parse-state): Use new functions.
5634 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5636 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5637 last fix. Use window-in-direction correctly.
5639 2011-10-21 Chong Yidong <cyd@gnu.org>
5641 * progmodes/idlwave.el (idlwave-mode):
5642 * progmodes/vera-mode.el (vera-mode): No need to set
5643 require-final-newline; that's done in prog-mode.
5644 Suggested by Stefan Monnier.
5646 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5648 * mouse.el (mouse-drag-window-above)
5649 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5650 (mouse-drag-mode-line-1, mouse-drag-header-line)
5651 (mouse-drag-vertical-line-rightward-window): Remove.
5652 (mouse-drag-line): New function.
5653 (mouse-drag-mode-line, mouse-drag-header-line)
5654 (mouse-drag-vertical-line): Call mouse-drag-line.
5655 * window.el (window-at-side-p, windows-at-side): New functions.
5657 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5659 * tar-mode.el (tar-grind-file-mode):
5660 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5662 2011-10-21 Chong Yidong <cyd@gnu.org>
5664 * progmodes/idlwave.el (idlwave-mode):
5665 * progmodes/vera-mode.el (vera-mode):
5666 Use mode-require-final-newline.
5668 2011-10-20 Glenn Morris <rgm@gnu.org>
5670 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5672 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5674 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5676 2011-10-20 Chong Yidong <cyd@gnu.org>
5678 * emulation/cua-base.el (cua-mode):
5679 * mail/footnote.el (footnote-mode):
5680 * mail/mailabbrev.el (mail-abbrevs-mode):
5681 * net/xesam.el (xesam-minor-mode):
5682 * progmodes/bug-reference.el (bug-reference-mode):
5683 * progmodes/cap-words.el (capitalized-words-mode):
5684 * progmodes/compile.el (compilation-minor-mode)
5685 (compilation-shell-minor-mode):
5686 * progmodes/gud.el (gud-tooltip-mode):
5687 * progmodes/hideif.el (hide-ifdef-mode):
5688 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5689 * progmodes/subword.el (subword-mode):
5690 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5691 * progmodes/which-func.el (which-function-mode):
5692 * term/tvi970.el (tvi970-set-keypad-mode):
5693 * term/vt100.el (vt100-wide-mode):
5694 * textmodes/flyspell.el (flyspell-mode):
5695 * textmodes/ispell.el (ispell-minor-mode):
5696 * textmodes/nroff-mode.el (nroff-electric-mode):
5697 * textmodes/paragraphs.el (use-hard-newlines):
5698 * textmodes/refill.el (refill-mode):
5699 * textmodes/reftex.el (reftex-mode):
5700 * textmodes/rst.el (rst-minor-mode):
5701 * textmodes/sgml-mode.el (html-autoview-mode)
5702 (sgml-electric-tag-pair-mode):
5703 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5704 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5705 * emulation/crisp.el (crisp-mode):
5706 * emacs-lisp/eldoc.el (eldoc-mode):
5707 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5708 minor mode behavior.
5710 2011-10-19 Juri Linkov <juri@jurta.org>
5712 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5713 the list of hard-coded chars with escape-glyph face.
5715 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5717 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5719 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5721 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5724 2011-10-19 Glenn Morris <rgm@gnu.org>
5726 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5727 Ignore ignored files. (Bug#9726)
5729 2011-10-19 Chong Yidong <cyd@gnu.org>
5731 Doc fix for minor modes, stating that an omitted argument enables
5732 the mode unconditionally when called from Lisp.
5734 * abbrev.el (abbrev-mode):
5735 * allout.el (allout-mode):
5736 * autoinsert.el (auto-insert-mode):
5737 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5738 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5739 (global-auto-revert-mode):
5740 * battery.el (display-battery-mode):
5741 * composite.el (global-auto-composition-mode)
5742 (auto-composition-mode):
5743 * delsel.el (delete-selection-mode):
5744 * desktop.el (desktop-save-mode):
5745 * dired-x.el (dired-omit-mode):
5746 * dirtrack.el (dirtrack-mode):
5747 * doc-view.el (doc-view-minor-mode):
5748 * double.el (double-mode):
5749 * electric.el (electric-indent-mode, electric-pair-mode):
5750 * emacs-lock.el (emacs-lock-mode):
5751 * epa-hook.el (auto-encryption-mode):
5752 * follow.el (follow-mode):
5753 * font-core.el (font-lock-mode):
5754 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5755 * help.el (temp-buffer-resize-mode):
5756 * hilit-chg.el (highlight-changes-mode)
5757 (highlight-changes-visible-mode):
5758 * hi-lock.el (hi-lock-mode):
5759 * hl-line.el (hl-line-mode, global-hl-line-mode):
5760 * icomplete.el (icomplete-mode):
5761 * ido.el (ido-everywhere):
5762 * image-file.el (auto-image-file-mode):
5763 * image-mode.el (image-minor-mode):
5764 * iswitchb.el (iswitchb-mode):
5765 * jka-cmpr-hook.el (auto-compression-mode):
5766 * linum.el (linum-mode):
5767 * longlines.el (longlines-mode):
5768 * master.el (master-mode):
5769 * mb-depth.el (minibuffer-depth-indicate-mode):
5770 * menu-bar.el (menu-bar-mode):
5771 * minibuf-eldef.el (minibuffer-electric-default-mode):
5772 * mouse-sel.el (mouse-sel-mode):
5773 * msb.el (msb-mode):
5774 * mwheel.el (mouse-wheel-mode):
5775 * outline.el (outline-minor-mode):
5776 * paren.el (show-paren-mode):
5777 * recentf.el (recentf-mode):
5778 * reveal.el (reveal-mode, global-reveal-mode):
5779 * rfn-eshadow.el (file-name-shadow-mode):
5780 * ruler-mode.el (ruler-mode):
5781 * savehist.el (savehist-mode):
5782 * scroll-all.el (scroll-all-mode):
5783 * scroll-bar.el (scroll-bar-mode):
5784 * server.el (server-mode):
5785 * shell.el (shell-dirtrack-mode):
5786 * simple.el (auto-fill-mode, transient-mark-mode)
5787 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5788 (line-number-mode, column-number-mode, size-indication-mode)
5789 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5790 * strokes.el (strokes-mode):
5791 * time.el (display-time-mode):
5792 * t-mouse.el (gpm-mouse-mode):
5793 * tool-bar.el (tool-bar-mode):
5794 * tooltip.el (tooltip-mode):
5795 * type-break.el (type-break-mode-line-message-mode)
5796 (type-break-query-mode):
5797 * view.el (view-mode):
5798 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5799 (global-whitespace-mode, global-whitespace-newline-mode):
5800 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5802 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5803 Fix autogenerated docstring.
5805 2011-10-19 Juri Linkov <juri@jurta.org>
5807 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5808 by checking environment variables "DESKTOP_SESSION" and
5809 "XDG_CURRENT_DESKTOP". (Bug#9779)
5811 2011-10-19 Juri Linkov <juri@jurta.org>
5813 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5814 (browse-url-chromium-program, browse-url-chromium-arguments):
5816 (browse-url-default-browser): Check for `browse-url-chromium' and
5817 call `browse-url-chromium-program'.
5818 (browse-url-chromium): New command. (Bug#9779)
5820 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5822 * facemenu.el (list-colors-duplicates): On Windows, detect more
5823 duplicates by assuming that only colors matching "^System" are
5824 special "system colors". (Bug#9722)
5826 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5828 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5829 to distinguish the author from the committer.
5831 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5833 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5835 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5837 * international/mule.el (sgml-html-meta-auto-coding-function):
5838 Add support for detecting encoding in HTML5 specified only as
5839 <meta charset="UTF-8">. Implementation just makes http-equiv and
5840 content-type parts from HTML4 encoding string optional. (Bug#9716)
5842 2011-10-18 Glenn Morris <rgm@gnu.org>
5844 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5846 2011-10-18 Chong Yidong <cyd@gnu.org>
5848 * faces.el (cursor): Doc fix.
5850 2011-10-17 Chong Yidong <cyd@gnu.org>
5852 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5854 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5856 * dirtrack.el (dirtrack): Support shell buffers with path
5857 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5859 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5861 * json.el: Bump version to 1.3 and note change in History.
5862 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5864 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5866 * comint.el (comint-insert-input, comint-send-input)
5867 (comint-get-old-input-default, comint-backward-matching-input)
5868 (comint-next-prompt): Use nil instead of `input' for field property of
5869 past user input (bug#114).
5871 * minibuffer.el (completion--replace): Inherit surrounding properties
5873 (minibuffer-complete-and-exit): Use it.
5875 * comint.el (comint--table-subvert): Quote the all-completions output
5878 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5880 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5882 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5883 window on right of selected. (Bug#9350) Reword other window
5884 entries and separate them from frame entries.
5886 2011-10-15 Glenn Morris <rgm@gnu.org>
5888 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5891 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5893 * net/network-stream.el (network-stream-open-starttls):
5894 Improve detection of failure due to lack of TLS support.
5896 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5897 putting the input text in front and in bold.
5899 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5901 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5903 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5906 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5907 unread-command-events rather than pushing yet-another event.
5909 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5911 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5912 the explanation of the possible choices. Make the options passed
5913 to completing-read shorter.
5915 2011-10-13 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5917 * textmodes/flyspell.el (flyspell-large-region): Make sure
5918 extended character mode is used if defined (Bug#1339).
5920 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5922 * simple.el (what-cursor-position): Fix the display of the
5923 character info for LRE, LRO, RLE, and RLO characters by appending
5926 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5928 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5929 even in case of error; add debug spec; simplify data flow.
5930 (with-timeout-handler): Remove.
5932 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5934 Fix Bug#6019, Bug#9315.
5936 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5937 complete `buffer-file-name', the local file name part could look
5938 remotely (for example on VMS).
5940 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5941 `tramp-run-real-handler'.
5942 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5943 already quoted by '"'.
5945 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5946 Let `file-name-handler-alist' be nil, the local file name part
5947 could look remotely (for example on VMS).
5949 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5951 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5953 (flyspell-post-command-hook): ...to here.
5955 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5957 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5959 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5960 using completion. Protect against "slow" callers.
5961 Remove the "message hack".
5963 2011-10-11 Juri Linkov <juri@jurta.org>
5965 * isearch.el (isearch-lazy-highlight-word): New variable.
5966 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5969 2011-10-11 Glenn Morris <rgm@gnu.org>
5971 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5972 like f90-previous-statement does.
5974 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5976 * eshell/eshell.el (eshell-command): History should be saved
5977 only in interactive use, to avoid error.
5979 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5981 * minibuffer.el (completion-file-name-table): Fix last change,
5982 i.e. ignore normal errors but not the other ones.
5984 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5986 * window.el (special-display-buffer-names)
5987 (special-display-regexps): Remove some remnants of earlier
5988 changes from doc-strings.
5989 (quit-windows-on): New function.
5991 * vc/vc.el (vc-revert, vc-rollback):
5992 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5993 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5994 (Bug#6183) (Bug#7074) (Bug#7447)
5996 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5998 * window.el (frame-auto-hide-function): Add version tag.
6001 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6003 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6006 2011-10-09 Leo Liu <sdl.web@gmail.com>
6008 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6011 2011-10-08 Glenn Morris <rgm@gnu.org>
6013 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6014 before the first code statement zero indent. (Bug#9690)
6016 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6018 * simple.el (count-words-region): Always count in the region.
6019 Report the number of lines and characters too.
6020 (count-words): New command, which counts in the buffer if the
6021 region is inactive, as count-words-region used to.
6022 (count-words--message): New function. Handle plurals.
6023 (count-lines-region): Make it an alias for count-words-region.
6025 * bindings.el (esc-map): Replace count-lines-region with
6028 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6030 * window.el (window--delete): Delete dedicated frame
6031 unconditionally when argument KILL is non-nil. (Bug#9699)
6032 (switch-to-buffer): Fix doc-string typo.
6034 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6036 * eshell/eshell.el (eshell-command): Avoid using hooks.
6038 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
6040 * bindings.el ([M-left],[M-right]): Bind to left-word and
6041 right-word respectively.
6043 2011-10-07 Glenn Morris <rgm@gnu.org>
6045 * cus-start.el (debug-on-quit): Fix custom type.
6047 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6049 * subr.el (define-key-after): Clarify that the function is not
6050 useful for non-menu keymaps.
6052 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6054 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6056 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6057 in current minibuffer (Fix bug with recursive minibuffers).
6059 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
6061 * progmodes/gdb-mi.el (gdb): Doc fix.
6063 2011-10-05 Martin Rudalics <rudalics@gmx.at>
6065 * window.el (frame-auto-hide-function): New option replacing
6066 frame-auto-delete. Suggested by Stefan Monnier.
6067 (window--delete): Call frame-auto-hide-function instead of
6068 investigating frame-auto-delete.
6069 (window-point-1, set-window-point-1): New functions.
6070 (window-in-direction, record-window-buffer, window-state-get-1)
6071 (display-buffer-record-window): Use window-point-1 instead of
6073 (set-window-buffer-start-and-point): Use set-window-point-1.
6075 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6077 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6079 2011-10-05 Glenn Morris <rgm@gnu.org>
6081 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6082 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6084 2011-10-05 Leo Liu <sdl.web@gmail.com>
6086 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6087 works with buffer object.
6089 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6091 * mpc.el (mpc-tool-bar-map): Add labels.
6093 2011-10-04 Glenn Morris <rgm@gnu.org>
6095 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6097 2011-10-04 Martin Rudalics <rudalics@gmx.at>
6099 * window.el (window--delete): New function.
6100 (frame-auto-delete): Resuscitate option.
6101 (bury-buffer, replace-buffer-in-windows)
6102 (quit-window): Rewrite using window--delete.
6103 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6104 Pass display-buffer-mark-dedicated to window--display-buffer-2
6107 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6109 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6110 returns a list (bug#9554). Add remote file name completion.
6111 * comint.el (comint--table-subvert): Curry and get quote&unquote
6112 functions as arguments.
6113 (comint--complete-file-name-data): Adjust call accordingly.
6114 * pcomplete.el (pcomplete--table-subvert): Remove.
6115 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6117 * minibuffer.el (completion-table-case-fold): Use currying.
6118 (completion--styles-type, completion--cycling-threshold-type):
6120 (completion-styles, completion-category-overrides)
6121 (completion-cycle-threshold): Use them.
6122 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6123 completion-table-case-fold.
6125 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6127 * minibuffer.el (completion-category-overrides): Fix type of styles
6128 and add more user friendly tags (bug#9660).
6130 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6132 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6133 (mule-input-method-string): New widget.
6134 (default-input-method, language-info-custom-alist): Use it.
6136 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6138 * pcomplete.el: Require comint.
6139 (pcomplete--common-suffix): Remove.
6140 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6141 (pcomplete--table-subvert): Sync with comint--table-subvert.
6142 (pcomplete--entries): Use comint-completion-file-name-table.
6143 * comint.el (comint-unquote-filename): Simplify.
6144 (comint-completion-file-name-table): New function (bug#9616).
6145 (comint--complete-file-name-data): Use it.
6147 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6148 (pcmpl-gnu-tar-buffer): Remove.
6149 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6150 around. Make sure pcomplete-suffix-list is only changed temporarily.
6151 Don't look inside the tar's file if it's too large.
6153 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6155 * cus-edit.el (custom-mode-map):
6156 * epa.el (epa-key-list-mode-map):
6157 * man.el (Man-mode-map):
6158 * startup.el (splash-screen-keymap):
6159 * simple.el (special-mode-map): Use scroll-up-command and
6160 scroll-down-command.
6162 * progmodes/idlw-help.el (idlwave-help-mode-map):
6163 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6164 * net/newst-plainview.el (newsticker-mode-map):
6165 * emulation/ws-mode.el (wordstar-mode-map):
6166 * emulation/vi.el (vi-com-map):
6167 * calc/calc-graph.el (calc-graph-show-dumb):
6168 * term/sun.el (terminal-init-sun):
6169 * term/ns-win.el (global-map):
6170 * progmodes/grep.el (grep-mode-map):
6171 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6172 * mail/rmail.el (rmail-mode-map):
6173 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6175 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6176 custom-safe-themes as special.
6178 2011-10-01 Julien Danjou <julien@danjou.info>
6180 * notifications.el (notifications-notify): Fix docstring.
6182 2011-10-01 Per Starbäck <per@starback.se>
6184 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6186 2011-09-30 Martin Rudalics <rudalics@gmx.at>
6188 * startup.el (command-line-1): Fix last fix by inserting
6189 initial-scratch-message into *scratch* before displaying it.
6190 (Bug#9605) and (Bug#9636)
6192 2011-09-29 Eli Zaretskii <eliz@gnu.org>
6194 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6195 window is hscrolled, move by logical lines. (Bug#9607)
6196 (line-move-visual): Update the doc string to the above effect.
6198 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6200 * window.el (display-buffer-record-window): When WINDOW is the
6201 selected window use `point' instead of `window-point'. (Bug#9626)
6203 * startup.el (command-line-1): Use insert-before-markers when
6204 inserting initial-scratch-message. (Bug#9605)
6206 * help.el (help-window): Remove variable.
6208 2011-09-29 Glenn Morris <rgm@gnu.org>
6210 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6212 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6214 * descr-text.el (describe-char-categories): Accept category
6215 descriptions more than one line long.
6217 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6219 * simple.el (delete-trailing-whitespace): Fix last change.
6221 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6222 Don't confuse "y => 3" as the beginning of a `y' operation.
6224 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6225 object has more than 4 slots (bug#9613).
6227 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6229 * subr.el (with-output-to-temp-buffer):
6230 * net/quickurl.el (quickurl, quickurl-browse-url):
6231 Fix typos in docstrings.
6233 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6235 * minibuffer.el (completion-styles)
6236 (completion-category-overrides): Cross reference each other in doc
6239 2011-09-27 Glenn Morris <rgm@gnu.org>
6241 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6242 to split-string. (Bug#9606)
6244 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6246 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6249 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6251 * emacs-lisp/package.el (list-packages): Fix echo area message.
6253 2011-09-27 Leo Liu <sdl.web@gmail.com>
6255 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6257 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6259 * net/dbus.el (dbus-unregister-object): Don't release services for
6260 registered signals. (Bug#9581)
6262 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6264 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6265 function that picks between cfengine 2 and 3 support
6266 automatically. Update docs accordingly.
6268 2011-09-22 Kenichi Handa <handa@m17n.org>
6270 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6272 (indian-itrans-v5-table-for-tamil): New variable.
6273 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6275 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6277 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6278 that's true if the current command involved collapsing of text.
6279 It's reset to false at the beginning of the next command.
6280 (allout-post-command-business): Move the cursor to the beginning
6281 of entry if the cursor is hidden and collapsing activity just
6284 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6286 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6287 tracking (Bug#9541).
6289 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6291 * net/newst-reader.el (newsticker-html-renderer)
6292 (newsticker-show-news): Automatically load html rendering package
6293 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6294 because w3m-fill-column is let-bound" and the error "Symbol's value
6295 as variable is void: w3m-fill-column".
6297 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6299 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6300 Release services only if they are defined. (Bug#9581)
6302 2011-09-23 Richard Stallman <rms@gnu.org>
6304 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6305 distinguish start of paragraph from start of its text.
6307 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6309 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6310 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6311 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6313 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6315 * international/mule-diag.el (mule-diag): Insert a newline after
6316 each fontset description.
6318 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6320 * simple.el (delete-trailing-whitespace):
6321 Document last change; simplify.
6323 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6325 * simple.el (delete-trailing-whitespace): Also delete
6326 extra newlines at the end of the buffer.
6328 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6329 (picture-newline): Use forward-line so as to ignore fields.
6331 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6333 * subr.el (with-wrapper-hook): Fix edebug spec.
6335 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6337 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6340 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
6342 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6343 Fix nasty bug using wrong cached values.
6345 2011-09-23 Alan Mackenzie <acm@muc.de>
6347 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6349 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
6351 * window.el (pop-to-buffer): Ensure right window is selected if we
6352 chose another frame.
6354 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6356 * simple.el (what-cursor-position): Use get-char-property-change
6357 and next-single-char-property-change, to be able to show display
6358 properties that come from overlays as well as text properties.
6360 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6362 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6364 * cmuscheme.el (run-scheme, switch-to-scheme):
6365 * cus-edit.el (customize-group, custom-buffer-create)
6369 * mail/sendmail.el (mail):
6370 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6372 2011-09-22 Richard Stallman <rms@gnu.org>
6374 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6375 move back only to line beg, don't move back over blank lines.
6377 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
6379 * files.el (copy-directory): Set directory attributes only in case
6380 they could be retrieved from the source directory. (Bug#9565)
6382 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6384 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6385 (hs-find-block-beginning, hs-hide-level-recursive):
6386 Ignore strings as well as comments. (Bug#9502)
6388 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6390 * progmodes/sql.el (sql-comint-postgres):
6391 Convert port number to a string. (Bug#9566)
6393 2011-09-22 Martin Rudalics <rudalics@gmx.at>
6395 * window.el (quit-window): Undedicate window when switching to
6396 previous buffer. Reported by Thierry Volpiatto
6397 <thierry.volpiatto@gmail.com>.
6398 (special-display-popup-frame): When popping up a new frame reset
6399 its previous buffers to nil. Simplify code.
6401 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
6403 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6404 and process filter, as done also in `shell-command'.
6406 2011-09-21 Martin Rudalics <rudalics@gmx.at>
6408 * window.el (set-window-buffer-start-and-point):
6409 Call set-window-start with NOFORCE argument t.
6410 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6411 (quit-window): Reword doc-string. Handle new format of
6412 quit-restore parameter. Don't delete window if it has a
6413 previous buffer we can show instead of the present one.
6414 (display-buffer-record-window): Rewrite using a new format for
6415 the quit-restore window parameter
6416 (special-display-popup-frame, display-buffer-same-window)
6417 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6418 (display-buffer-pop-up-window, display-buffer-use-some-window):
6419 Adapt symbol passed to display-buffer-record-window.
6420 * help.el (help-window-setup): Handle new format of quit-restore
6423 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6425 * faces.el (face-list): Fix docstring (bug#9564).
6427 * window.el (display-buffer--action-function-custom-type):
6428 Don't include internal functions in the Custom interface.
6430 2011-09-20 Juri Linkov <juri@jurta.org>
6432 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6433 (Info-forward-node, Info-backward-node, Info-next-preorder)
6434 (Info-last-preorder): Use it. (Bug#9528)
6436 2011-09-20 Juri Linkov <juri@jurta.org>
6438 * info.el (Info-last-preorder): Visit last menu item only when
6439 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6441 2011-09-20 Julien Danjou <julien@danjou.info>
6443 * password-cache.el (password-cache-remove): Remove entries even if the
6444 value is nil, so that password with a nil value (negative caching) is
6445 possible to invalidate.
6447 2011-09-20 Lawrence Mitchell <wence@gmx.li>
6449 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6450 all whitespace around breakpoint. (Bug#9553)
6451 (f90-find-breakpoint): Only break at whitespace inside a comment.
6453 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6455 * minibuffer.el (completion-file-name-table): Keep track of errors.
6456 (completion-table-with-predicate): Handle the case where pred1 is nil.
6457 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6459 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6461 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6462 (debugger-return-value): Signal an error if the debugging context does
6463 not await any return value.
6465 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6466 * image-mode.el (image-toggle-display-text)
6467 (image-toggle-display-image): Stay away from evil `intangible'.
6469 2011-09-19 Leo Liu <sdl.web@gmail.com>
6471 * replace.el (occur-revert-arguments): Make it permanent-local.
6472 (occur-mode): Don't call font-lock-defontify.
6474 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6476 * net/ldap.el (ldap-search-internal): Don't push empty search
6479 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6481 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6483 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6485 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6486 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6488 2011-09-18 Juri Linkov <juri@jurta.org>
6490 * buff-menu.el (Buffer-menu-mode-map):
6491 * dired.el (dired-mode-map):
6492 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6493 (lisp-interaction-mode-map):
6494 * emacs-lisp/package.el (package-menu-mode-map):
6495 * epa.el (epa-key-list-mode-map):
6496 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6497 (menu-bar-options-menu):
6498 * outline.el (outline-mode-menu-bar-map):
6499 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6500 * vc/vc-dir.el (vc-dir-menu-map):
6501 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6502 Capitalize non-function content words in menu item strings.
6504 * dired.el (dired-mode-map): Add menu item for
6505 `image-dired-dired-toggle-marked-thumbs'.
6507 2011-09-18 Juri Linkov <juri@jurta.org>
6509 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6510 to `isearch-case-fold-search' and restore its original value
6511 after the `isearch-mode' call.
6513 2011-09-18 Juri Linkov <juri@jurta.org>
6515 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6516 because `zgrep' returns 1 for successful matches (bug#9226).
6518 2011-09-18 Juri Linkov <juri@jurta.org>
6520 * info.el (Info-extract-menu-node-name): Check the second match
6521 for empty string (second test-case of bug#9528).
6522 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6523 intermediate nodes to the history (first test-case of bug#9528).
6525 2011-09-18 Juri Linkov <juri@jurta.org>
6527 * info.el (Info-mode-syntax-table): New variable.
6528 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6530 2011-09-18 Juri Linkov <juri@jurta.org>
6532 * info.el (Info-file-supports-index-cookies):
6533 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6534 outputs one more line for long file names (bug#4142).
6536 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6538 * newcomment.el (comment-normalize-vars): If prompting for
6539 comment-start, set comment-start-skip too (Bug#8424).
6541 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6543 * icomplete.el: Fix previous fix of Bug#5849.
6544 (icomplete-mode): Don't set completion-show-inline-help.
6545 (icomplete-minibuffer-setup): Set completion-show-inline-help
6546 locally during icompletion.
6548 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6550 * woman.el (woman2-process-escapes): Don't delete unrecognized
6553 * files.el (inhibit-first-line-modes-regexps): Add image files.
6554 (hack-local-variables-prop-line): Return nil for malformed
6555 prop-lines (Bug#9044).
6557 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6559 * net/tramp.el (top): Don't require 'shell.
6560 (tramp-methods): Fix docstring.
6561 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6562 Return complete remote file name. Handle "smb" case.
6563 Use `tramp-tmpdir', if defined for the respective method.
6564 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6566 * net/tramp-compat.el (top): Require 'shell.
6568 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6569 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6570 `tramp-current-host'.
6571 (tramp-get-remote-tmpdir): Remove.
6573 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6574 `tramp-tmpdir' entries.
6575 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6576 (tramp-smb-handle-file-attributes): Ignore errors.
6577 (tramp-smb-wait-for-output): Check also for process end.
6579 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6581 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6582 when sending QUIT (bug#9312).
6584 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6586 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6587 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6588 occur-mode-display-occurrence.
6589 (occur-edit-mode): Add usage message.
6590 (occur-cease-edit): New command.
6591 (occur-after-change-function): Use text properties to find the
6592 position of the prefix text.
6593 (occur-engine): Set stickiness of prefix text properties.
6595 2011-09-17 Glenn Morris <rgm@gnu.org>
6597 * progmodes/etags.el (complete-tag):
6598 Fix call to completion-in-region. (Bug#9526)
6600 2011-09-17 Juri Linkov <juri@jurta.org>
6602 * textmodes/ispell.el (ispell-word): Add to the error message
6603 the word, ispell program name and current dictionary (bug#9121).
6604 (ispell-tex-arg-end): Capitalize "error" in the error message.
6606 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6608 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6611 2011-09-17 Juri Linkov <juri@jurta.org>
6613 * window.el (window-safe-min-height, window-safe-min-width):
6614 Fix typos (followup to bug#9522).
6616 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6618 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6620 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6622 * simple.el (line-move): If goal-column is set, move by logical
6623 lines, not by display lines. (Bug#971)
6624 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6625 to reflect the above change.
6627 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6629 * image.el (imagemagick-register-types): Use regexp-opt.
6631 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6633 * window.el (display-buffer-base-action): Rename from
6634 display-buffer-default-action. Make default value empty.
6635 (display-buffer-overriding-action): Convert to defvar.
6636 (display-buffer-fallback-action): New var.
6638 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6640 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6642 (package--add-to-archive-contents): If there is a duplicate entry
6643 with an older version, remove it.
6644 (package-menu-mark-delete, package-menu-mark-install)
6645 (package-menu-mark-unmark): Make unused args optional.
6646 (package-menu-mark-obsolete-for-deletion):
6647 Use package-menu-get-status instead of a regexp search.
6648 (package-menu-get-status): Use tabulated-list-entry.
6649 (package-menu-mark-upgrades): New command.
6650 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6651 (package-menu-execute): Do installation before deletion.
6652 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6653 instead of checking major-mode.
6654 (package-menu--find-upgrades): New function.
6656 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6658 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6659 passwords in the log buffer.
6660 (smtpmail-process-filter): Update the process marker so that the
6661 "broken by peer" status message is inserted in the right place.
6663 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6665 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6666 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6667 bibtex-completion-at-point-function.
6668 (bibtex-completion-at-point-function): Use them.
6670 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6672 * mpc.el (mpc-constraints-tag-lookup): New function.
6673 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6674 also to browser "album|playlist".
6676 2011-09-14 Juri Linkov <juri@jurta.org>
6678 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6679 (isearch-edit-string): Use length of `isearch-string' when
6680 `isearch-fail-pos' returns nil.
6681 (isearch-message): Remove duplicate code and call
6682 `isearch-fail-pos' with arg `t'.
6684 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6686 * replace.el (occur-mode-goto-occurrence): Don't force using other
6689 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6691 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6693 * window.el (display-buffer-window): Remove.
6694 (display-buffer-record-window): Use help-setup window parameter
6695 instead of variable display-buffer-window.
6696 (display-buffer-function, special-display-buffer-names)
6697 (special-display-function): Mention help-setup parameter instead
6698 of display-buffer-window in doc-string.
6699 * help.el (help-window-setup): New argument help-window.
6700 Use help-window-setup parameter instead of display-buffer-window.
6701 Reword some messages.
6702 (with-help-window): Pass window used for displaying the buffer
6703 to help-window-setup. Don't set display-buffer-window.
6705 2011-09-13 Glenn Morris <rgm@gnu.org>
6707 * emacs-lisp/debug.el (debugger-make-xrefs):
6708 Preserve point. (Bug#9462)
6710 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6712 * window.el (window-deletable-p): Use next-frame.
6714 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6716 * window.el (window-auto-delete): Remove.
6717 (window-deletable-p): Remove argument FORCE. Don't deal with
6718 dedication and previous buffers.
6719 (switch-to-prev-buffer): Don't delete window.
6720 (delete-windows-on): Delete a window's frame if and only if the
6721 window is dedicated.
6722 (replace-buffer-in-windows): Delete buffer's window or frame if
6723 and only if window is dedicated.
6724 (quit-window): Handle quit-restore as before last change.
6725 (bury-buffer): Delete window only if window-deletable-p returns t.
6727 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6729 * window.el (window-deletable-p): Never delete the last frame on a
6732 2011-09-13 Glenn Morris <rgm@gnu.org>
6734 * help.el (describe-key-briefly): Copy previous standard-output change.
6736 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6738 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6740 2011-09-13 Glenn Morris <rgm@gnu.org>
6742 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6743 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6745 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6747 * dired-aux.el (dired-mark-read-string): Don't return default
6748 value on empty input (Bug#9361).
6749 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6750 Omit initial minibuffer contents.
6751 (dired-do-chmod): Signal an error on empty input.
6752 (dired-mark-read-string): Don't return default on empty input.
6754 * files.el (file-modes-symbolic-to-number): Doc fix.
6756 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6758 * international/mule-cmds.el (ucs-completions): Remove.
6759 (read-char-by-name): Use complete-with-action instead; add metadata.
6761 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6763 * window.el (display-buffer--action-function-custom-type)
6764 (display-buffer--action-custom-type): New vars.
6765 (display-buffer-alist, display-buffer-default-action)
6766 (display-buffer-overriding-action): Add defcustom types.
6768 * frame.el (delete-other-frames): Doc fix (Bug#276).
6770 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6772 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6774 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6776 Change modes that used same-window-* vars to use switch-to-buffer.
6778 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6779 Use switch-to-buffer.
6781 * cus-edit.el (customize-group, custom-buffer-create)
6782 (customize-browse, custom-buffer-create-other-window):
6783 Use switch-to-buffer or switch-to-buffer-other-window.
6785 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6786 (Info-prev, Info-up, Info-speedbar-goto-node)
6787 (info-display-manual): Use switch-to-buffer.
6788 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6790 * mail/sendmail.el (mail): Use switch-to-buffer.
6791 (mail-recover): Use switch-to-buffer-other-window.
6793 * cmuscheme.el (run-scheme, switch-to-scheme):
6796 * net/rlogin.el (rlogin):
6797 * net/telnet.el (telnet, rsh):
6798 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6800 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6802 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6804 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6806 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6807 so don't mention it (bug#9301).
6808 (dired-sort-toggle-or-edit): Clarify string further.
6810 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6811 match `x', `w32' and `ns', like the manual says (bug#9029).
6813 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6814 (process-kill-buffer-query-function): Mention the buffer name in
6817 * image-mode.el (image-next-line): The line parameter is mandatory
6820 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6821 which can be useful (bug#9301).
6823 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6825 * subr.el (match-string): Mention that the current buffer should
6826 be the same as the search was done in (bug#9282).
6828 * facemenu.el: Disable the remove-* commands if the mark isn't
6831 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6833 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6835 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6837 * replace.el (occur-mode-goto-occurrence)
6838 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6841 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6844 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6845 special-display and same-window variables.
6846 (mail-other-window): Use switch-to-buffer-other-window.
6847 (mail-other-frame): USe switch-to-buffer-other-frame.
6849 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6850 Use display-buffer-other-frame.
6851 (gdb-display-gdb-buffer): Use pop-to-buffer.
6853 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6855 * progmodes/python.el: Don't set same-window-buffer-names.
6857 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6859 * window.el (display-buffer-alist): Add *Python*.
6861 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6863 * window.el (display-buffer-alist): Add entry for buffers
6864 previously handled same-window-*.
6865 (display-buffer-alist, display-buffer-default-action)
6866 (display-buffer-overriding-action): Mark as risky.
6867 (display-buffer-alist): Document action function changes.
6868 (display-buffer--same-window-action)
6869 (display-buffer--other-frame-action): New variables.
6870 (switch-to-buffer, display-buffer-other-frame): Use them.
6871 (display-buffer): Rename reuse-frame entry to reusable-frames.
6872 (display-buffer-reuse-selected-window): Function deleted.
6873 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6874 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6875 (display-buffer-special): New function.
6876 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6877 display-buffer-reuse-or-pop-window. Split off special-display
6878 part into display-buffer-special.
6879 (display-buffer-use-some-window): Don't perform any special
6880 pop-up-frames handling.
6881 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6882 (display-buffer--maybe-same-window): Rename from
6883 display-buffer-maybe-same-window.
6885 * info.el: Don't set same-window-regexps.
6886 (info-setup): New function.
6887 (info-other-window, info): Call it.
6889 * cus-edit.el: Don't set same-window-regexps.
6890 (customize-group): New argument.
6891 (customize-group-other-window): Use it.
6892 (customize-face, customize-face-other-window): Likewise.
6893 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6897 * progmodes/gud.el: Don't set same-window-regexps.
6903 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6905 2011-09-10 Juri Linkov <juri@jurta.org>
6907 * isearch.el (isearch-edit-string): Remove obsolete mention of
6908 `C-w' (`isearch-yank-word-or-char') from docstring.
6909 (isearch-query-replace): Fix typo in docstring (bug#9466).
6911 2011-09-10 Juri Linkov <juri@jurta.org>
6913 * paren.el (show-paren-function): Don't show escaped parens.
6914 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6916 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6918 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6919 (mm-default-file-encoding): Remove autoload forms, they are
6920 replaced with autoload cookies in mml.el and mm-encode.el.
6921 (mail-add-attachment): New command.
6922 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6923 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6925 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6927 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6929 * simple.el (count-words-region): Use buffer if there's no region
6932 2011-09-09 Juri Linkov <juri@jurta.org>
6934 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6935 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6936 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6938 2011-09-09 Alan Mackenzie <acm@muc.de>
6940 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6941 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6943 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6945 Fix for Savannah bug#9392.
6946 * simple.el (mail-encode-mml): New defvar.
6948 * mail/rmail.el (mail-encode-mml): Add a defvar.
6949 (rmail-enable-mime-composing): Default to t.
6950 (rmail-forward): Use MIME method of forwarding only if both
6951 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6952 Set mail-encode-mml non-nil if the MIME method was used.
6954 * mail/sendmail.el (mml-to-mime): Add autoload form.
6955 (mail-encode-mml): Add a defvar.
6956 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6958 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6959 message through mml-to-mime, and reset mail-encode-mml to nil.
6961 2011-09-09 Glenn Morris <rgm@gnu.org>
6963 * woman.el (woman-if-body): When processing an .el block,
6964 do not delete the next .el block as well. (Bug#9447)
6965 (woman-special-characters): Add oq, cq, and hy characters.
6967 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6969 * window.el (window-deletable-p): Make sure window is live before
6970 invoking window-prev-buffers.
6972 2011-09-08 Leo Liu <sdl.web@gmail.com>
6974 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6976 2011-09-08 Juri Linkov <juri@jurta.org>
6978 * progmodes/compile.el (compilation-environment): Make it
6979 a defcustom (bug#8340).
6981 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6983 * window.el (frame-auto-delete): Rename to window-auto-delete.
6984 Make it control auto-deletion of windows and/or frames.
6985 (window-deletable-p): New argument FORCE. Rewrite conditions
6986 for deleting window/frame. (Bug#9419)
6987 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6988 Rewrite handling of case when window/frame can be deleted.
6989 (delete-windows-on): Call window-deletable-p with new FORCE
6990 argument t. (Bug#9456)
6992 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6994 * help-mode.el (help-mode): Restore autoload.
6996 2011-09-07 Juri Linkov <juri@jurta.org>
6998 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6999 `compilation-environment'. Set buffer-local
7000 `compilation-environment' to `thisenv' later after (funcall mode).
7003 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7004 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7005 instead of replacing its value. (Bug#8340)
7007 2011-09-07 Juri Linkov <juri@jurta.org>
7009 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7010 based on text properties put by `grep-filter' instead of matching
7012 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7013 to the value of `grep-error-screen-columns' (bug#9438).
7015 2011-09-07 Juri Linkov <juri@jurta.org>
7017 * simple.el (next-error-highlight, next-error-highlight-no-select):
7020 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7022 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7023 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7025 2011-09-07 Leo Liu <sdl.web@gmail.com>
7027 * net/rcirc.el (rcirc-mode): Conditionally initialize
7030 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7032 * emacs-lisp/find-func.el (find-function-C-source): Only set
7033 find-function-C-source-directory after checking that we found a source
7034 file there (bug#9440).
7036 2011-09-06 Alan Mackenzie <acm@muc.de>
7038 * isearch.el (isearch-other-meta-char): Wherever a key list is
7039 unread, "unread" the prefix arg, too. This fixes bug #8901.
7041 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7043 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7045 2011-09-05 Juri Linkov <juri@jurta.org>
7047 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7049 2011-09-05 Juri Linkov <juri@jurta.org>
7051 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7052 keeping point where processing of grep matches begins, and
7053 continue to delete remaining escape sequences from the same point.
7054 (grep-filter): Make leading zero optional in "0?1;31m" because
7055 git-grep emits "\033[1;31m" escape sequences unlike expected
7056 "\033[01;31m" as GNU Grep does (bug#9408).
7057 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7059 2011-09-05 Juri Linkov <juri@jurta.org>
7061 * subr.el (y-or-n-p): Capitalize "yes".
7063 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
7065 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7066 `tramp-cache-unload-hook' where appropriate.
7067 (tramp-methods): Rename `tramp-remote-sh' to
7068 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7069 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7071 * net/tramp-sh.el (top): Don't require 'shell.
7072 (tramp-methods): Add `tramp-remote-shell' and
7073 `tramp-remote-shell-args' entries.
7074 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7075 (tramp-sh-handle-shell-command): Remove.
7076 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7077 Use `tramp-remote-shell'.
7079 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7081 * mail/sendmail.el (sendmail-query-once-function): Delete.
7082 (sendmail-query-once): Save directly to send-mail-function.
7083 Update message-send-mail-function too.
7085 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7087 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7089 * progmodes/python.el (python-mode-map): Use correct function to
7090 start python interpreter from menu-bar (as reported by Geert
7092 (inferior-python-mode-map): Fix typo.
7093 (python-shell-map): Remove.
7095 2011-09-03 Deniz Dogan <deniz@dogan.se>
7097 * net/rcirc.el (rcirc-print): Simplify code for
7098 rcirc-scroll-show-maximum-output. There is no need to walk
7099 through all windows to find the right one.
7101 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7103 * help.el (help-return-method): Doc fix.
7105 2011-09-03 Martin Rudalics <rudalics@gmx.at>
7107 * window.el (window-deletable-p): Don't return a non-nil value
7108 when there's a buffer that was shown in the window before.
7110 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7111 Set window's previous buffers to nil.
7113 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7115 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7116 newline before and after the tag line, so it doesn't interfere
7117 with determining the paragraph direction of bidirectional text.
7119 2011-09-03 Leo Liu <sdl.web@gmail.com>
7121 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7123 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7125 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7126 (pop-to-buffer): Change interactive spec. Pass second argument
7127 directly to display-buffer.
7128 (display-buffer): Fix interactive spec. Use functionp to
7129 distinguish between a function and a list of functions.
7131 * abbrev.el (edit-abbrevs):
7132 * arc-mode.el (archive-extract):
7133 * autoinsert.el (auto-insert):
7134 * bookmark.el (bookmark-bmenu-list):
7135 * files.el (find-file):
7136 * view.el (view-buffer):
7137 * progmodes/compile.el (compilation-goto-locus):
7138 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7140 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7142 * window.el (display-buffer-alist): Doc fix.
7143 (display-buffer): Add docstring. Don't treat
7144 display-buffer-default specially.
7145 (display-buffer-reuse-selected-window)
7146 (display-buffer-same-window, display-buffer-maybe-same-window)
7147 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7148 (display-buffer-pop-up-window)
7149 (display-buffer-reuse-or-pop-window)
7150 (display-buffer-use-some-window): New functions.
7151 (display-buffer-default-action): Use them.
7152 (display-buffer-default): Delete.
7153 (pop-to-buffer-1): Fix choice of actions.
7155 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7157 * minibuffer.el (completion--insert-strings): Don't get confused by
7158 completion entries that end with an LF char.
7160 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7162 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7164 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7166 * window.el (display-buffer): Restore interactive spec.
7167 (display-buffer-same-window, display-buffer-other-window):
7169 (pop-to-buffer-1): New function. Use the above.
7170 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7171 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7173 * view.el (view-buffer-other-window, view-buffer-other-frame):
7174 Just use pop-to-buffer.
7176 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7178 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7180 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7182 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7184 2011-08-31 Richard Stallman <rms@gnu.org>
7186 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7187 of the separation of rmail-view-buffer from rmail-buffer.
7188 If you say no to "replace original", the decrypt is in the
7189 view buffer. If you say yes, the decrypt goes into the
7192 2011-08-31 Martin Rudalics <rudalics@gmx.at>
7194 * window.el (display-buffer-window): Rewrite doc-string.
7195 (display-buffer-record-window): New function.
7196 (display-buffer-macro-specifiers)
7197 (display-buffer-even-window-sizes, display-buffer-set-height)
7198 (display-buffer-set-width, display-buffer-in-window)
7199 (display-buffer-reuse-window, display-buffer-split-specifiers)
7200 (display-buffer-side-specifiers, display-buffer-split-window-1)
7201 (display-buffer-split-window, display-buffer-split-atom-window)
7202 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7203 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7204 (display-buffer-other-window-means-other-frame)
7205 (display-buffer-normalize-special)
7206 (display-buffer-normalize-default)
7207 (display-buffer-normalize-argument)
7208 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7209 (display-buffer-normalize-specifiers, display-buffer-frame)
7210 (display-buffer-same-window, display-buffer-same-frame)
7211 (display-buffer-other-window)
7212 (display-buffer-same-frame-other-window)
7213 (display-buffer-other-frame, pop-to-buffer-same-window)
7214 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7215 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7216 (switch-to-buffer-same-frame)
7217 (switch-to-buffer-other-window-same-frame)
7218 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7219 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7220 (display-buffer-alist-set): Remove.
7221 (display-buffer-function, special-display-buffer-names)
7222 (special-display-regexps, special-display-function):
7223 In doc-string refer to display-buffer-window and quit-restore
7225 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7226 (special-display-frame-alist, special-display-popup-frame)
7227 (same-window-buffer-names, same-window-regexps, same-window-p)
7228 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7229 (split-window-preferred-function, split-height-threshold)
7230 (split-width-threshold, window-splittable-p)
7231 (split-window-sensibly, window--try-to-split-window)
7232 (window--frame-usable-p, even-window-heights)
7233 (window--even-window-heights, window--display-buffer-1)
7234 (window--display-buffer-2, display-buffer-other-frame):
7235 Restore old Emacs 23 code, order and doc-strings where applicable.
7236 (display-buffer-default, display-buffer-assq-regexp): New functions.
7237 (display-buffer-alist): Rewrite doc-string.
7238 (display-buffer-default-action)
7239 (display-buffer-overriding-action): New variables.
7240 (display-buffer, switch-to-buffer): Rewrite.
7241 (pop-to-buffer): Restore Emacs 23 behavior but use
7242 window-normalize-buffer-to-display.
7243 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7244 Restore Emacs 23 behavior but use
7245 window-normalize-buffer-to-switch-to.
7246 (pop-to-buffer-same-window): Rewrite.
7247 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7248 Rewrite using Emacs 23 options.
7250 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7252 * net/tramp.el (tramp-root-regexp): Remove.
7253 (tramp-completion-file-name-regexp-unified)
7254 (tramp-completion-file-name-regexp-separate)
7255 (tramp-completion-file-name-regexp-url): Don't use leading volume
7256 letter on win32 systems. (Bug#5303, Bug#9311)
7257 (tramp-drop-volume-letter): Simplify definition.
7258 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7260 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7262 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7265 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7267 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7269 2011-08-29 Juri Linkov <juri@jurta.org>
7271 * isearch.el (isearch-done): Don't display message "Mark saved"
7272 when arg `edit' is non-nil to prevent its flicker in the echo area.
7274 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7276 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7277 obsolete packages for deletion.
7279 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7281 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7282 (help-mode): Derive help-mode from special-mode. Don't invoke
7283 view-mode from help-mode.
7284 (help-xref-override-view-map): Remove.
7285 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7286 view-mode is not used anymore.
7288 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7290 * server.el (server-port): Doc fix.
7292 * cus-theme.el (custom-theme-choose-mode): Inherit from
7293 special-mode (Bug#9124).
7294 (custom-theme-choose-mode-map): Add special-mode to parent.
7296 2011-08-28 Alan Mackenzie <acm@muc.de>
7298 * progmodes/cc-fonts.el
7299 (c-make-font-lock-BO-decl-search-function): New function.
7300 (c-basic-matchers-after - "Fontify the clauses after various
7301 keywords"): Extract the three keyword lists for the 3 erroneous
7302 constructs from the list of four, and use the new function above
7303 in place of an old one.
7305 2011-08-28 Deniz Dogan <deniz@dogan.se>
7307 * net/rcirc.el (rcirc-insert-prev-input)
7308 (rcirc-insert-next-input): Remove unused argument.
7310 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7312 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7314 2011-08-27 Alan Mackenzie <acm@muc.de>
7316 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7317 handle function pointer parameters properly.
7319 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7321 * window.el (display-buffer-reuse-window): Fix case where
7322 selected window was reused with non-nil OTHER-WINDOW argument.
7325 2011-08-27 Deniz Dogan <deniz@dogan.se>
7327 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7328 oftc's NickServ messages.
7330 2011-08-27 Glenn Morris <rgm@gnu.org>
7332 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7334 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
7336 * emacs-lisp/package.el (package-install): Call package-initialize
7337 if called interactively.
7339 2011-08-26 Leo Liu <sdl.web@gmail.com>
7341 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7343 2011-08-25 Juri Linkov <juri@jurta.org>
7345 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7346 `search-whitespace-regexp' (bug#9364).
7348 2011-08-25 Juri Linkov <juri@jurta.org>
7350 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7351 `regexp-search-ring' to their global values to protect from
7352 updating by `read-from-minibuffer' (bug#9185).
7354 2011-08-25 Juri Linkov <juri@jurta.org>
7356 * textmodes/ispell.el (ispell-command-loop): Add newline
7357 at the end of the "Use option `i'..." line.
7359 2011-08-25 Juri Linkov <juri@jurta.org>
7361 * battery.el (display-battery-mode): If `battery-status-function'
7362 or `battery-mode-line-format' is nil, display the message and set
7363 `display-battery-mode' to nil (bug#9363).
7365 2011-08-25 Eli Zaretskii <eliz@gnu.org>
7367 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7368 bidi-string-mark-left-to-right; they are unnecessary now.
7370 2011-08-25 Deniz Dogan <deniz@dogan.se>
7372 * net/quickurl.el: Documentation typo fixes.
7374 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
7376 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7378 2011-08-25 Glenn Morris <rgm@gnu.org>
7380 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7382 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7383 (smtpmail-via-smtp): Handle nil response from smtp.
7385 2011-08-24 Juri Linkov <juri@jurta.org>
7387 * proced.el (proced-marked): Inherit from `error' instead of
7388 `font-lock-warning-face'.
7390 * ibuffer.el (ibuffer-marked-face): Change default face from
7391 `font-lock-warning-face' to `warning'.
7392 (ibuffer-deletion-face): Change default face from
7393 `font-lock-type-face' to `error'.
7395 * battery.el (battery-update): Use the face `error' instead of
7396 `font-lock-warning-face' (bug#6117).
7398 2011-08-24 Juri Linkov <juri@jurta.org>
7400 * faces.el (success): Change face color from "Green3" to
7401 "ForestGreen" on light background (bug#9353).
7403 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
7405 * window.el (quit-window): Rename from quit-restore-window.
7406 Use same arglist as old quit-window.
7407 (frame-auto-delete): Doc fix.
7409 * view.el (view-mode-exit): Use quit-window.
7411 2011-08-24 Juri Linkov <juri@jurta.org>
7413 * isearch.el (isearch-ring-adjust1): Start visiting previous
7414 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7415 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7416 for empty search string (when the last search string is reused
7417 automatically) to adjust the isearch ring to the last element and
7418 prepare the correct index for further M-p commands (bug#9185).
7420 2011-08-24 Kenichi Handa <handa@m17n.org>
7422 * international/ucs-normalize.el: If decomposition property of
7423 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7425 (nfd, nfkd): Likewise.
7427 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7429 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7430 from process filters aren't reliably transmitted to the surrounding
7431 accept-process-output.
7432 (mpc-proc-check): New function.
7433 (mpc-proc-sync): Use it (bug#8293)
7435 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7437 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7438 Add compatibility functions (bug#9313).
7440 2011-08-23 Eli Zaretskii <eliz@gnu.org>
7442 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7444 * international/uni-bidi.el: Regenerate.
7446 2011-08-23 Kenichi Handa <handa@m17n.org>
7448 * international/charprop.el:
7449 * international/uni-bidi.el:
7450 * international/uni-category.el:
7451 * international/uni-combining.el:
7452 * international/uni-comment.el:
7453 * international/uni-decimal.el:
7454 * international/uni-decomposition.el:
7455 * international/uni-digit.el:
7456 * international/uni-lowercase.el:
7457 * international/uni-mirrored.el:
7458 * international/uni-name.el:
7459 * international/uni-numeric.el:
7460 * international/uni-old-name.el:
7461 * international/uni-titlecase.el:
7462 * international/uni-uppercase.el: Regenerate.
7464 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7466 * help.el (help-window-setup): Fix message displayed when other
7467 window is reused. (Bug#9341)
7469 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7471 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7472 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7474 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7476 * shell.el (shell-parse-pcomplete-arguments): New function.
7477 (shell-completion-vars): Use it instead (bug#9160).
7479 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7481 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7482 strings and comments (bug#9333).
7484 * emacs-lisp/debug.el (debug-arglist): New function.
7485 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7486 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7488 2011-08-22 Juri Linkov <juri@jurta.org>
7490 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7491 Revert regexp that highlights output switches to its old
7492 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7494 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7495 to check for empty output (bug#9226).
7497 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7499 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7500 symbol-constituent as the default, as that stops font-lock from
7501 working properly (Bug#8843).
7503 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7505 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7506 `coding-system-for-*' around the process open call to avoid
7507 auth-source side effects.
7508 (smtpmail-try-auth-methods): Expand the secret password.
7509 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7512 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7514 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7516 * emacs-lisp/find-func.el (find-function-noselect): New arg
7519 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7520 signal an error for built-in functions (Bug#6664).
7522 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7524 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7525 (smtpmail-try-auth-methods): Use it.
7527 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7529 * font-lock.el (font-lock-fontify-region)
7530 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7531 (font-lock-default-unfontify-buffer)
7532 (font-lock-default-fontify-region)
7533 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7535 * progmodes/compile.el (compilation-error-properties):
7536 Fix confusion between file struct and message struct (Bug#9319).
7537 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7540 * net/browse-url.el (browse-url-firefox): Don't call
7541 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7543 2011-08-20 Glenn Morris <rgm@gnu.org>
7545 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7547 * tutorial.el (tutorial--default-keys): Update some default bindings.
7549 * files.el (hack-local-variables): Fully ignore case for "mode:".
7551 2011-08-20 Alan Mackenzie <acm@muc.de>
7553 Resolve invalid use of a regexp in regexp-opt.
7555 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7556 detection for a java annotation.
7558 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7559 detection for a java annotation.
7561 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7563 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7565 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7567 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7570 2011-08-20 Alan Mackenzie <acm@muc.de>
7572 Fontify CPP expressions correctly when starting in the middle of
7573 such a construct. Mainly for when jit-lock etc. starts a chunk
7576 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7578 (c-make-font-lock-search-form): New function, extracted from
7579 c-make-font-lock-search-function.
7580 (c-make-font-lock-search-function): Use the above function.
7581 (c-make-font-lock-context-search-function): New function.
7582 (c-cpp-matchers): Enhance the preprocessor expression case with
7584 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7585 which takes an expression.
7587 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7589 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7591 * window.el (display-buffer-reuse-window)
7592 (display-buffer-pop-up-window): Don't reuse or split a side
7595 2011-08-19 Glenn Morris <rgm@gnu.org>
7597 * files.el (hack-local-variables-prop-line, hack-local-variables):
7598 Downcase "Mode:". (Bug#9331)
7600 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7602 * international/characters.el: Add L and R categories.
7604 * subr.el (bidi-string-mark-left-to-right): Rename from
7605 string-mark-left-to-right. Use category search.
7607 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7609 2011-08-18 Juri Linkov <juri@jurta.org>
7611 * faces.el (error, warning, success): New faces with definitions
7612 copied from old default values of `font-lock-warning-face',
7613 `compilation-warning', `compilation-info' (bug#6117).
7615 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7617 * progmodes/compile.el (compilation-error): Inherit from `error'.
7618 (compilation-warning): Inherit from `warning'.
7619 (compilation-info): Inherit from `success'.
7621 * dired.el (dired-marked): Inherit from `warning'.
7622 (dired-flagged): Inherit from `error'.
7624 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7626 * mail/smtpmail.el (auth-source): Require to avoid problems with
7627 binding variables (bug#9298). Also clean up some unused
7630 * net/network-stream.el (network-stream-open-starttls):
7631 Support using starttls.el without using gnutls-cli.
7633 2011-08-17 Juri Linkov <juri@jurta.org>
7635 * progmodes/grep.el (rgrep): Handle the case when
7636 `grep-find-command' is a cons cell (bug#9278).
7638 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7640 * window.el (display-buffer-pop-up-frame): Run frame creation
7641 function with BUFFER current (as special-display-popup-frame
7642 does). Reported by Drew Adams.
7644 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7646 * epa-mail.el: Simplify GnuPG group expansion using
7648 (epa-mail-group-alist, epa-mail-group-modtime)
7649 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7650 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7651 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7654 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7656 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7658 2011-08-16 Alan Mackenzie <acm@muc.de>
7660 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7661 Correct, to avoid the inside of macros.
7663 2011-08-16 Richard Stallman <rms@gnu.org>
7665 * epa-mail.el: Handle GnuPG group definitions.
7666 (epa-mail-group-alist, epa-mail-group-modtime)
7667 (epa-mail-gnupg-conf-file): New variables.
7668 (epa-mail-parse-groups, epa-mail-sync-groups)
7669 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7670 (epa-mail-expand-recipients): New functions.
7671 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7673 * mail/rmail.el (rmail-epa-decrypt): New command.
7675 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7676 Don't bind buffer-read-only, just inhibit-read-only.
7677 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7678 (epa-decrypt-armor-in-region): Make error message clearer.
7680 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7682 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7683 and "a2b" to "ab" for `prefix'.
7685 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7687 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7689 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7690 Fourquet (Bug#8804).
7692 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7694 * startup.el (argi): Declare as global variable (bug#9275).
7696 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7698 * subr.el (string-mark-left-to-right): Search the entire string
7699 for RTL script, not just the terminating character. Doc fix.
7701 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7703 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7705 (js--regexp-literal, js-syntax-propertize-function): Remove.
7706 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7707 (js-mode-map): Don't rebind electric keys.
7708 (js-insert-and-indent): Remove.
7709 (js-mode): Setup electric-layout and electric-indent instead.
7711 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7713 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7715 * epa.el (epa-progress-callback-function): Fix the logic of
7716 displaying progress.
7717 * epa-file.el (epa-file-insert-file-contents): Make progress
7718 display more user-friendly.
7719 (epa-file-write-region): Ditto.
7721 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7723 * subr.el (string-mark-left-to-right): New function.
7725 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7726 Use string-mark-left-to-right.
7727 (list-buffers-noselect): Caller changed.
7729 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7730 Use string-mark-left-to-right.
7731 (tabulated-list-print): Recenter after moving point.
7733 2011-08-10 Juri Linkov <juri@jurta.org>
7735 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7736 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7737 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7739 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7741 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7744 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7746 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7747 character. (Bug#6594)
7749 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7751 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7752 (image-dired--with-db-file): New macro.
7753 (image-dired-write-tags, image-dired-remove-tag)
7754 (image-dired-create-gallery-lists, image-dired-write-comments)
7755 (image-dired-get-comment, image-dired-mark-tagged-files)
7756 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7757 (image-dired-gallery-generate): Use insert-file-contents.
7759 * time.el (display-time-world-list, display-time-world-display):
7760 * time-stamp.el (time-stamp-string):
7761 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7762 set-time-zone-rule (Bug#7337).
7764 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7766 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7767 (epg-error-to-string, epg-errors-to-string): New function.
7768 (epg-wait-for-completion): Reverse errors list.
7769 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7770 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7771 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7772 (epg-sign-keys, epg-generate-key-from-file)
7773 (epg-generate-key-from-string): Format errors by using
7774 epg-errors-to-string (bug#9255).
7775 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7777 2011-08-07 Juri Linkov <juri@jurta.org>
7779 * faces.el (list-faces-display): Remove extra angle bracket
7780 from `help-mode-map'.
7782 * info.el (Info-history-toc-nodes): Doc fix.
7784 * longlines.el (longlines-mode): Doc fix.
7786 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7788 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7789 of statements and in a few more cases (bug#9183).
7791 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7793 (cl-transform-lambda): Use them (bug#9239).
7795 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7797 * window.el (display-buffer-same-window)
7798 (display-buffer-same-frame, display-buffer-other-window)
7799 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7800 (pop-to-buffer-other-window)
7801 (pop-to-buffer-same-frame-other-window)
7802 (pop-to-buffer-other-frame): Make them defuns.
7803 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7805 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7807 * subr.el (make-composed-keymap): Move from C. Change calling
7808 convention, and improve docstring to bring attention to a subtle point.
7809 * minibuffer.el (completing-read-default): Adjust accordingly.
7811 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7813 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7814 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7816 * net/trampver.el: Update release number.
7818 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7820 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7823 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7825 * mail/sendmail.el (sendmail-query-once): Restore the current
7826 buffer after querying (bug#9074).
7828 * dired.el (dired-flagged): Use different faces for marked and
7829 flagged files (bug#6117).
7831 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7834 * ido.el (ido-mode): Switch off the message if called
7837 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7838 before 587, since it appears that that's more likely to work for
7841 * cus-edit.el (custom-file): When running under emacs -q, always
7842 refuse to save the customizations, even if the .emacs file doesn't
7845 * info.el: Remove the `Info-beginning-of-buffer' function
7848 * net/network-stream.el (network-stream-open-starttls):
7849 Use `starttls-available-p' to see whether starttls.el can be used.
7851 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7853 * window.el (display-buffer-in-window): Don't set dedicated status
7854 of window here (Bug#9215).
7855 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7856 (display-buffer-pop-up-side-window)
7857 (display-buffer-in-side-window): Set dedicated status of window here.
7859 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7861 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7862 before binding generated-autoload-file.
7864 2011-08-01 Deniz Dogan <deniz@dogan.se>
7866 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7868 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7870 Sync with Tramp 2.2.2.
7872 * net/trampver.el: Update release number.
7874 2011-07-30 Juri Linkov <juri@jurta.org>
7876 * dired-aux.el (dired-touch-initial): Remove function.
7877 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7878 current time, and `default' to the last modification time of the
7879 current marked file (bug#6887).
7881 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7883 * simple.el (goto-line): Use string-to-number to provide a
7884 numeric argument to read-number (bug#9163).
7886 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7888 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7889 connection process, it could be nil.
7891 2011-07-27 Leo Liu <sdl.web@gmail.com>
7893 Simplify url handling in rcirc-mode.
7895 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7896 (rcirc-browse-url-at-mouse): Remove.
7897 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7899 2011-07-26 Alan Mackenzie <acm@muc.de>
7901 Fontify bitfield declarations properly.
7903 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7904 (c-symbol-chars): Now exported as a lang variable.
7905 (c-not-primitive-type-keywords): New lang variable.
7907 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7908 QT keyword "more" to prevent "more slots: ...." being spuriously
7909 parsed as a bitfield declaration.
7911 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7912 Refactor and enhance to handle bitfield declarations.
7913 (c-punctuation-in): New function.
7914 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7915 declarations properly.
7917 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7919 * calendar/icalendar.el (icalendar--all-events): Take care of
7920 multiple vcalendars in a single file.
7921 (icalendar--convert-float-to-ical): Checkdoc fixes.
7923 2011-07-25 Deniz Dogan <deniz@dogan.se>
7925 * image.el (insert-image): Clarifying docstring.
7927 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7929 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7930 `tramp-send-command-and-check' if there is no error.
7931 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7933 2011-07-22 Alan Mackenzie <acm@muc.de>
7935 Prevent cc-langs.elc being loaded at run time.
7937 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7940 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7941 "(require 'cc-langs)". Quote a form so it will evaluate at
7942 (cc-mode's) compilation time.
7944 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7946 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7949 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7951 * window.el (display-buffer-pop-up-window)
7952 (display-buffer-pop-up-side-window)
7953 (display-buffer-in-side-window): Call display-buffer-set-height
7954 and display-buffer-set-width after setting the new window's
7955 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7957 2011-07-20 Sam Steingold <sds@gnu.org>
7959 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7960 (etags-tags-included-tables): Call `convert-standard-filename' on
7961 the file names contained in TAGS so that windows Emacs can handle
7962 TAGS files created by cygwin ctags.
7964 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7966 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7967 which apparently didn't work.
7969 2011-07-19 Roland Winkler <winkler@gnu.org>
7971 * proced.el (proced-send-signal): For *Marked Processes* buffer
7972 put point at beginning of buffer.
7974 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7976 * proced.el (proced-format): Make header lines align with the text
7979 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7981 * view.el (view-buffer): Allow running in `special' modes if we're
7982 visiting a file (bug#8615).
7984 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7986 * window.el (display-buffer-alist-of-strings-p)
7987 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7989 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7992 2011-07-18 Alan Mackenzie <acm@muc.de>
7994 Fontify declarators properly when, e.g., a jit-lock chunk begins
7995 inside a declaration.
7997 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7999 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8001 (c-complex-decl-matchers): Insert reference to
8002 c-font-lock-enclosing-decls.
8004 * progmodes/cc-engine.el (c-backward-single-comment):
8005 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8006 to nil around calls to (forward-comment -1).
8008 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8010 * image.el (put-image): Doc typo fix.
8012 * progmodes/etags.el (tags-search): Doc typo fix.
8014 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8015 password if we get errors 550 to 554.
8017 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8019 * net/gnutls.el (gnutls-log-level): Remove.
8021 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8022 indentation character (bug#6380).
8024 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8026 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8027 to clarify what the problem is (bug#4291).
8029 * simple.el (current-kill): Clarify what
8030 `interprogram-paste-function' does (bug#7500).
8031 (auto-fill-mode): Document `auto-fill-function' in relation to
8032 `auto-fill-mode' (bug#2470).
8034 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8036 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8037 method if slot is read-only (bug#9035).
8039 2011-07-16 Martin Rudalics <rudalics@gmx.at>
8041 * frame.el (select-frame-set-input-focus): New argument NORECORD.
8042 * window.el (pop-to-buffer): Select window used even if it was
8043 selected before, see discussion of (Bug#8615), (Bug#6954).
8044 Pass argument NORECORD on to select-frame-set-input-focus.
8046 2011-07-15 Glenn Morris <rgm@gnu.org>
8048 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8051 2011-07-09 Lawrence Mitchell <wence@gmx.li>
8053 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8054 (gnutls-negotiate): Use it.
8056 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8058 * net/gnutls.el (gnutls-negotiate):
8059 Upcase `gnutls-algorithm-priority'.
8061 2011-07-15 Glenn Morris <rgm@gnu.org>
8063 * jka-compr.el (jka-compr-verbose): Move from here...
8064 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8065 Add missing :version tag.
8066 * info.el: No need to require jka-compr when compiling.
8068 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8070 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8071 (gnutls-negotiate): Use it.
8073 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8075 * info.el (Info-beginning-of-buffer): New command.
8076 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8077 announcing `b' as the key (bug#8325).
8078 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8080 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8082 * international/mule-cmds.el
8083 (describe-specified-language-support): Make the error message
8086 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8088 * isearch.el (isearch-barrier): Add a doc string, since it's
8089 mentioned in a function doc string (bug#8678).
8091 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8093 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8094 buffer argument (Bug#9083) and self-identifying label argument.
8096 2011-07-15 Glenn Morris <rgm@gnu.org>
8098 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8100 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8102 * man.el (Man-fontify-manpage): Fix message when formatting the
8103 man page (bug#7929).
8105 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8107 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8108 argument LRM; if non-nil, append an invisible LRM character to the
8110 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8111 last argument non-nil, when formatting buffer names.
8112 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8113 paragraph direction.
8115 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8117 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8118 the man page name (bug#7929).
8120 * image.el (put-image): Mention the `put-image' overlay property
8123 * scroll-bar.el (set-scroll-bar-mode): Mention that
8124 `scroll-bar-mode' lists the values (bug#7772).
8126 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8129 * rect.el (apply-on-rectangle): Return the point after the last
8131 (string-rectangle): Go to the point after the last operation
8134 * printing.el (pr-toggle-region): Clarify the documentation
8135 slightly (bug#7493).
8137 * time.el (display-time-update):
8138 Allow `display-time-mail-function' to return nil (bug#7158).
8139 Fix suggested by Detlev Zundel.
8141 * vc/diff.el (diff): Clarify the order the file names are read
8144 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8145 the doc string (bug#7015).
8147 * font-lock.el (font-lock-maximum-decoration): Mention what
8148 numeric levels mean (bug#6935).
8150 * startup.el (initial-buffer-choice): Don't mention the `none'
8151 selection, which is against policy.
8153 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8155 * window.el (display-buffer-normalize-special):
8156 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8158 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8160 * subr.el (version<, version<=, version=): Mention "-CVS" and
8161 "-12345" alpha version numbers.
8163 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8165 * bindings.el: Add advertised binding for set-mark-command
8168 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8170 * bindings.el (mode-line-other-buffer):
8171 * bookmark.el (bookmark-bmenu-2-window):
8172 * bs.el (bs-cycle-next, bs-cycle-previous):
8173 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8176 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8179 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
8181 * follow.el (follow-debug-message, follow-redisplay):
8182 * jka-cmpr-hook.el (with-auto-compression-mode):
8183 Fix typos in docstrings.
8185 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8187 * subr.el (with-silent-modifications): Clarify somewhat what the
8188 macro inhibits (bug#6525).
8190 * simple.el (eval-expression): Note what it does if called
8191 interactively (bug#6495).
8193 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8195 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8196 Use pop-to-buffer buffer-or-name if it is nil.
8198 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8199 Remove switch-to-buffer.
8201 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8203 * files.el (make-directory): Clarify that an error will be raised
8204 if there's an error (bug#6397).
8206 * startup.el (initial-buffer-choice): Add `none' as a choice
8209 * subr.el (add-hook): Clarify section about buffer-local hooks
8212 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8214 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8216 * tabify.el (untabify): Preserve the current column so that point
8217 doesn't move (bug#6032).
8219 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8221 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8222 Rewrite to avoid awkward possessive "s" (bug#5986).
8224 2011-07-13 Glenn Morris <rgm@gnu.org>
8226 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8227 (dired-insert-directory): Give a message the first time
8228 if ls is found not to support --dired.
8230 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8232 * simple.el (toggle-truncate-lines): Clarify what is toggled
8233 (bug#5580). Text by Drew Adams.
8235 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8237 * simple.el (blink-matching-open): Make the error message from the
8238 last change less verbose.
8240 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8242 * font-lock.el (font-lock-comment-face): Use the high contrast
8243 "yellow" color for font-lock-comment-face on low color terminals
8244 using a dark background color (bug#4221).
8246 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8248 * dired.el (dired-insert-set-properties): Make the doc string
8249 reflect what it does now (bug#5325).
8251 * simple.el (blink-matching-open): Say that we were unable to find
8252 the match within the limit, if we're limited (bug#5122).
8254 * international/mule-cmds.el (prefer-coding-system): Add an
8257 * progmodes/etags.el (tags-search): Document `file-list-form'
8260 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8262 * net/browse-url.el (browse-url-default-browser)
8263 (browse-url-browser-function): Make the default browser choice a
8264 bit more logical (bug#4300). Also clean up the doc string.
8266 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8268 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8269 binary endings (bug#4440).
8271 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8273 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8274 which can be pretty annoying (bug#8971).
8276 * jka-compr.el (jka-compr-verbose): New variable, and use
8277 throughout (bug#8971).
8279 * info.el (Info-find-file): Fall back on the installation
8280 directory if we can't find the info node anywhere else.
8282 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8284 * vc/vc.el (vc-revert-file):
8285 Don't set file time-stamp in the past. (Bug#5181)
8287 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8289 * files.el (after-find-file): Give a better error message when
8290 trying to find a symlink that points to a file that doesn't exist
8293 * progmodes/cc-vars.el: Remove (probably) misleading comment
8296 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8298 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8300 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8302 * mouse-sel.el: Hack restoring functionality, while keeping
8303 compatibility with 2010-07-03 changes to mouse selection.
8304 (mouse-sel-primary-overlay): New var.
8305 (mouse-sel-selection-alist): Use it.
8306 (mouse-sel-mode): Doc fix; remove points that are default features
8309 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8311 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8312 Fix previous fix (bug#2490).
8314 2011-07-12 Roland Winkler <winkler@gnu.org>
8316 * textmodes/bibtex.el (bibtex-initialize):
8317 Use pop-to-buffer-same-window.
8318 (bibtex-search-entries): Fix interactive call.
8320 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8322 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8323 Fontise bytecomp Error lines more correctly (bug#2490).
8324 Fix suggested by Johan Bockgård.
8326 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8328 * dired-x.el (dired-guess-default): Use `delete-dups'.
8330 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8332 * dired.el (dired-mark-prompt):
8333 * dired-aux.el (dired-read-shell-command): Doc fix.
8335 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8337 * mail/sendmail.el (sendmail-query-once):
8338 Use `customize-save-variable' unconditionally, now that it works under
8341 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8343 * cus-edit.el (custom-file): Take an optional no-error variable.
8344 (customize-save-variable): Set the variable, and give a warning if
8345 running under "emacs -q".
8347 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
8349 * loadhist.el (unload-feature-special-hooks):
8350 Add `auto-coding-functions', `fill-nobreak-predicate' and
8351 `find-directory-functions' (bug#5327).
8353 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8355 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8357 * cus-edit.el (custom-guess-name-alist): -alist variables should
8358 use the `alist' type (bug#3120). Suggested by Drew Adams.
8360 * printing.el: Add documentation to all the `pr-toggle-' commands.
8362 2011-07-11 Leo Liu <sdl.web@gmail.com>
8364 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8365 backends where it makes sense (bug#2623).
8367 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8369 * dired-x.el (dired-guess-default): Remove duplicate shell command
8371 (dired-guess-default): Fix grammar in doc string (bug#2028).
8372 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8374 * subr.el (remove-duplicates): New conveniency function.
8376 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8378 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8381 2011-07-10 Martin Rudalics <rudalics@gmx.at>
8383 * window.el (display-buffer-normalize-default): Don't invert
8384 meaning of even-window-heights. Reported by Eli Zaretskii
8387 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8389 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8391 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
8393 * window.el (display-buffer): Fix arguments to
8394 display-buffer-reuse-window in last change.
8396 * faces.el (link): Use a less saturated blue on light backgrounds.
8398 * startup.el (fancy-startup-text, fancy-about-text)
8399 (fancy-startup-tail): Use font-lock faces, for background safety.
8401 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8403 * emulation/viper-cmd.el (viper-change-state-to-vi):
8404 Limit triggering of abbrev expansion (Bug#9038).
8406 2011-07-09 Martin Rudalics <rudalics@gmx.at>
8408 * window.el (display-buffer-default-specifiers): Remove.
8409 (display-buffer-macro-specifiers): Remove default specifiers.
8410 (display-buffer-alist): Default to nil.
8411 (display-buffer-reuse-window): New optional argument other-window.
8412 (display-buffer-pop-up-window): Allow splitting internal
8413 windows. Check whether a live window was created.
8414 (display-buffer-other-window-means-other-frame)
8415 (display-buffer-normalize-arguments): Rename to
8416 display-buffer-normalize-argument and rewrite. Set the
8417 other-window specifier.
8418 (display-buffer-normalize-special): New function.
8419 (display-buffer-normalize-options): Rename to
8420 display-buffer-normalize-default and rewrite.
8421 (display-buffer-normalize-options-inhibit): Remove.
8422 (display-buffer-normalize-specifiers): Rewrite.
8423 (display-buffer): Process other-window specifier and call
8424 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8426 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8427 (display-buffer-alist-set): Don't handle 'unset default values.
8428 (display-buffer-in-window, display-buffer-alist-set):
8429 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8430 <tassilo@member.fsf.org>.
8432 2011-07-09 Leo Liu <sdl.web@gmail.com>
8434 * register.el (insert-register): Restore accidental change on
8435 2011-06-26. (Bug#9028)
8437 2011-07-09 Glenn Morris <rgm@gnu.org>
8439 * subr.el (remq): Handle the empty list. (Bug#9024)
8441 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8443 * mail/sendmail.el (send-mail-function): No longer delay custom
8445 * custom.el (custom-initialize-delay): Doc fix.
8447 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8449 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8451 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8453 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8454 human-friendly prompt.
8456 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8458 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8459 provided by a particular plugin.
8461 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8463 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8464 save customizations (with "emacs -Q"), just set the variable
8465 instead of erroring out.
8467 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8469 2011-07-08 Juri Linkov <juri@jurta.org>
8471 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8472 (archive-zip-update-case): Use 7z if found by `executable-find'.
8473 The order of searching the available programs is the same as in
8474 `archive-zip-extract' (bug#8968).
8476 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8478 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8479 (menu-bar-options-menu): Tweak descriptions.
8481 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8483 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8484 menu items into verb phrases (bug#1421). Also refill to fit under
8487 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8489 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8490 (Info-read-node-name): Doc fix (Bug#1084).
8492 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8493 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8494 (end-of-sexp, beginning-of-sexp)
8495 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8496 (forward-symbol, forward-same-syntax, word-at-point)
8497 (sentence-at-point): Doc fix (Bug#1144).
8499 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8501 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8502 should cover it (bug#1281).
8504 * cus-edit.el (custom-show): Mark as obsolete.
8506 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8507 negotiation fails, then possibly try again with a non-encrypted
8508 connection (bug#9017).
8510 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8513 2011-07-07 Richard Stallman <rms@gnu.org>
8515 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8516 property, and handle its changed format.
8517 Look for the correct line number.
8518 Use file's line contents (but not past first =) to find
8519 correct line in message.
8521 2011-07-07 Kenichi Handa <handa@m17n.org>
8523 * international/characters.el (build-unicode-category-table):
8525 (unicode-category-table): Set it by unicode-property-table-internal.
8527 * international/mule-cmds.el (char-code-property-alist): Move to
8529 (get-char-code-property): Call unicode-property-table-internal to
8530 load a file. Call get-unicode-property-internal where necessary.
8531 (put-char-code-property): Call unicode-property-table-internal to
8532 load a file. Call put-unicode-property-internal where necessary.
8533 put-unicode-property-internal where necessary.
8534 (char-code-property-description):
8535 Call unicode-property-table-internal to load a file.
8537 * international/charprop.el:
8538 * international/uni-bidi.el:
8539 * international/uni-category.el:
8540 * international/uni-combining.el:
8541 * international/uni-comment.el:
8542 * international/uni-decimal.el:
8543 * international/uni-decomposition.el:
8544 * international/uni-digit.el:
8545 * international/uni-lowercase.el:
8546 * international/uni-mirrored.el:
8547 * international/uni-name.el:
8548 * international/uni-numeric.el:
8549 * international/uni-old-name.el:
8550 * international/uni-titlecase.el:
8551 * international/uni-uppercase.el: Regenerate.
8553 * loadup.el: Load international/charprop.el before
8554 international/characters.
8556 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8558 * window.el (next-buffer, previous-buffer): Signal an error if
8559 called from a minibuffer window.
8561 * bindings.el: Revert 2011-07-04 change.
8563 2011-07-06 Richard Stallman <rms@gnu.org>
8565 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8566 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8567 Treat markers like ints.
8568 (rmail-mime-entity): Doc fix.
8570 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8572 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8573 defcustom again for backwards compatibility.
8575 * simple.el (shell-command-on-region): Fill.
8577 * dired-aux.el (dired-kill-line): Add a doc string.
8579 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8580 to "\\sw\\|\\s_" (bug#358).
8582 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8583 (dired-unmark-backward): Ditto.
8584 (dired-flag-backup-files): Ditto.
8586 * dired-x.el (dired-mark-sexp): Ditto.
8588 2011-07-06 Richard Stallman <rms@gnu.org>
8590 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8591 (rmail-mime-entity): New arg TRUNCATED.
8592 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8594 (rmail-mime-save): Warn if entity is truncated.
8595 (rmail-mime-toggle-hidden): Likewise, for showing.
8596 (rmail-mime-process-multipart): Record when an entity is truncated.
8598 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8599 if ENTITY is a string.
8601 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8603 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8604 of faces when `M-C-x'-ing their definitions (bug#8378).
8605 Also clean up the code slightly.
8607 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8608 because that makes the colors go away.
8610 * mail/sendmail.el (send-mail-function): Change the default to
8611 `sendmail-query-once'.
8612 (sendmail-query-once): Add an autoload cookie.
8614 * net/network-stream.el (network-stream-open-starttls): Try using
8615 a plain connection even if the server offered STARTTLS, and we
8616 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8617 capability. This should make smtpmail.el work in slightly more
8620 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8622 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8624 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8626 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8628 * progmodes/sql.el: Version 3.0
8629 (sql-product-alist): Add product :completion-object,
8630 :completion-column, and :statement attributes.
8631 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8632 (sql-mode-syntax-table): Mark all punctuation.
8633 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8635 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8636 (sql-mode-oracle-font-lock-keywords): Improve.
8637 (sql-oracle-show-reserved-words): New function for development.
8638 (sql-product-font-lock): Simplify for source code buffers.
8639 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8641 (sql-highlight-product): Set product specific syntax table.
8642 (sql-mode-map): Add statement movement functions.
8643 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8645 (sql-statement-regexp, sql-beginning-of-statement)
8646 (sql-end-of-statement, sql-signum): New functions.
8647 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8648 (sql-show-sqli-buffer): Bug fix.
8649 (sql-interactive-mode): Store connection data as buffer local.
8650 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8651 with sql-interactive-mode.
8652 (sql-save-connection): Save buffer local settings.
8653 (sql-connection-menu-filter): Change menu entry name.
8654 (sql-product-interactive): Bug fix.
8655 (sql-preoutput-hold): New variable.
8656 (sql-interactive-remove-continuation-prompt): Bug fixes.
8657 (sql-debug-redirect): New variable.
8658 (sql-str-literal): New function.
8659 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8661 (sql-oracle-save-settings, sql-oracle-restore-settings)
8662 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8663 (sql-completion-object, sql-completion-column)
8664 (sql-completion-sqlbuf): New variables.
8665 (sql-build-completions-1, sql-build-completions)
8666 (sql-try-completion): New functions.
8667 (sql-read-table-name): Use them.
8668 (sql-contains-names): New buffer local variable.
8669 (sql-list-all, sql-list-table): Use it.
8670 (sql-oracle-completion-types): New variable.
8671 (sql-oracle-completion-object, sql-sqlite-completion-object)
8672 (sql-postgres-completion-object): New functions.
8674 2011-07-06 Glenn Morris <rgm@gnu.org>
8676 * window.el (pop-to-buffer): Doc fix.
8678 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8680 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8682 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8684 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8686 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8688 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8690 * button.el (button): Inherit from link face. Suggested by Dan
8693 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8695 * progmodes/gdb-mi.el: Fit in 80 columns.
8696 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8699 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8700 if imenu is simply not configured (bug#8941).
8702 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8704 * allout.el (allout-post-undo-hook): New allout outline-change
8705 event hook to signal undo activity.
8706 (allout-post-command-business): Run allout-post-undo-hook if an
8708 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8709 * allout-widgets.el (allout-widgets-after-undo-function):
8710 Ensure the integrity of the current item's decoration after it has been
8711 in the vicinity of an undo.
8712 (allout-widgets-mode): Include allout-widgets-after-undo-function
8713 on the new allout-post-undo-hook.
8715 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8717 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8718 Let define-derived-mode define it.
8719 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8720 cycles of abbrev-table inheritance (bug#8998).
8722 2011-07-05 Roland Winkler <winkler@gnu.org>
8724 * textmodes/bibtex.el: Add support for biblatex.
8725 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8726 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8727 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8728 (bibtex-entry-alist, bibtex-field-alist): New variables.
8729 (bibtex-entry-field-alist): Obsolete alias for
8730 bibtex-BibTeX-entry-alist.
8731 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8732 (bibtex-set-dialect): New command.
8733 (bibtex-entry-type, bibtex-entry-head)
8734 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8735 Bind via bibtex-set-dialect.
8736 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8737 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8738 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8739 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8740 Define via bibtex-set-dialect.
8741 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8742 Obey bibtex-no-opt-remove-re.
8743 (bibtex-vec-push, bibtex-vec-incr): New functions.
8744 (bibtex-format-entry, bibtex-field-list)
8745 (bibtex-print-help-message, bibtex-validate)
8746 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8748 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8750 * progmodes/compile.el (compilation-goto-locus):
8751 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8752 * bs.el (bs-cycle-next, bs-cycle-previous):
8753 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8754 * bindings.el (mode-line-other-buffer):
8755 * autoinsert.el (auto-insert):
8756 * arc-mode.el (archive-extract):
8757 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8759 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8761 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8762 Fix check of `emacs-lock-unlockable-modes'.
8763 Coerce true values of `emacs-lock--try-unlocking' to t.
8765 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8767 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8768 * emacs-lock.el: New file.
8770 2011-07-05 Julien Danjou <julien@danjou.info>
8772 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8773 than `boundp' to check if face is set.
8775 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8777 * register.el (registerv-make):
8778 * window.el (window-min-height): Fix typos in docstrings.
8780 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8782 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8785 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8787 * server.el (server-execute): Catch quit and call
8788 `server-return-error' to pass the error back to emacsclient and
8789 close the connection (bug#8942).
8791 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8793 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8794 insecure exception for current topic. Also note that auto-saves
8795 are handled differently.
8797 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8798 State variables for tracking auto-save inhibition situation.
8800 (allout-write-contents-hook-handler): Rename from
8801 'allout-write-file-hook-handler', and describe how it depends on
8802 write-contents-functions sensitivity to non-nil value to prevent
8805 (allout-auto-save-hook-handler): Remove. auto-save does not check
8806 this in individual buffers, only in the starting buffer, so this
8807 is not the right way for us to inhibit auto-save in a buffer
8808 according to its condition.
8810 (allout-mode): Use new allout-write-contents-hook-handler, and
8811 only with write-contents-functions. Remove auto-save provisions -
8812 they're implemented elsewhere.
8814 (allout-before-change-handler): If undo is in progress, note that
8815 for attention of allout-post-command-business.
8817 (allout-post-command-business): If the command we're following was
8818 an undo, check for change in the status of encrypted items and
8819 adjust auto-save inhibitions accordingly.
8821 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8822 according to whether there are or aren't any plain-text topics
8825 (allout-inhibit-auto-save-info-for-decryption):
8826 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8827 if there are plain-text topics pending encryption.
8829 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8830 buffer-saved-size and some allout state to not inhibit auto-saves
8831 if there are no longer any plain-text topics pending encryption.
8833 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8834 No longer provide for exemption of the current topic.
8836 2011-07-04 Juri Linkov <juri@jurta.org>
8838 Add 7z operations to delete and save changed members (bug#8968).
8839 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8841 (archive-7z-write-file-member): New function.
8842 (archive-7z-summarize): Fix the number of dashes in the
8845 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8847 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8850 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8852 * bindings.el: Ignore next-buffer and previous-buffer in
8853 minibuffer-local-map.
8855 * font-lock.el (font-lock-builtin-face): Change light background
8856 color to dark slate blue (Bug#6693).
8858 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8860 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8862 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8864 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8865 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8866 Add switch-to-buffer.
8868 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8870 * isearch.el (isearch-search-fun-function): Clarify further the
8871 meaning of the function returned.
8873 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8875 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8877 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8878 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8880 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8881 `tramp-default-remote-path' does not exist.
8882 (tramp-send-command-and-read): New optional argument NOERROR.
8883 (tramp-open-connection-setup-interactive-shell)
8884 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8885 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8886 (tramp-process-sentinel): Flush also process' connection property.
8887 (tramp-sh-handle-start-file-process): Do not set process
8888 sentinel. It is done now ...
8889 (tramp-maybe-open-connection): ... here. (Bug#8929)
8891 2011-07-04 MON KEY <monkey@sandpframing.com>
8893 * play/animate.el (animate-string): Doc fixes and allow changing
8894 the buffer name (bug#5417).
8896 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8898 * play/animate.el (animation-buffer-name): Rename from *animate*.
8900 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8902 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8903 This is simpler and helps future-proof the code.
8904 (timer-until): Use time-subtract and float-time.
8905 (timer--time-less-p): Use time-less-p.
8907 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8909 * type-break.el (timep): Use the value of `float-time' to avoid a
8910 byte-compiler warning.
8912 * server.el (server-eval-and-print): Return any result, even nil.
8914 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8916 * type-break.el: Accept time formats that the builtins accept.
8917 (timep, type-break-time-difference): Accept any format that
8918 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8919 This is simpler and helps future-proof the code.
8920 (type-break-time-difference): Round rather than ignoring
8921 subseconds components.
8923 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8925 * info.el (Info-apropos-matches): Make non-interactive, since it
8926 doesn't seem to do anything useful as a command (bug#8829).
8928 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8930 * frame.el (frame-background-mode, frame-set-background-mode):
8932 (frame-default-terminal-background): New function.
8934 * custom.el (custom-push-theme): Don't record faces in `changed'
8935 theme; this doesn't work correctly for per-frame face settings.
8936 (disable-theme): Use face-set-after-frame-default to reset faces.
8937 (custom--frame-color-default): New function.
8939 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8941 * dired.el (dired-flagging-regexp): Remove unused variable
8944 2011-03-29 Kevin Ryde <user42@zip.com.au>
8946 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8947 `perl-Test2' extend to match possible "fail #N" rep count
8950 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8952 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8953 `smtpmail-via-smtp' now returns the error instead of nil.
8955 * isearch.el (isearch-search-fun-function): Clarify the doc string
8958 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8960 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8961 unnecessary spaces (bug#8987).
8963 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8965 * net/network-stream.el (open-network-stream): Use the
8966 :end-of-capability command thoughout.
8968 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8970 * net/network-stream.el (open-network-stream): Add the
8971 :end-of-capability command parameter, used by pop3.el.
8973 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8975 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8977 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8978 for list)" (bug#6475).
8980 * files.el (file-expand-wildcards): Ignore non-readable
8981 sub-directories while trying to find matches instead of signaling
8982 an error (bug#6297).
8984 * man.el (Man-reference-regexp): Allow matching possible
8985 word-wrapped references (bug#6289).
8987 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8988 for consistency with the other vc buffers (bug#6197).
8989 (vc-checkin): Ditto.
8991 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8993 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8995 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8997 * custom.el (defcustom): Clarify that :set is only used in the
8998 Customize user interface (bug#6089).
9000 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9001 associated with a file, refuse to run instead of erroring out
9004 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9005 the doc string, since it appears that using `fill-column' always
9006 controls the width (bug#7845).
9008 * simple.el (shell-command-on-region): Say where the error output
9009 went if `shell-command-default-error-buffer' is set (bug#6857).
9011 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9013 * allout.el (allout-yank-processing): Adjust cursor position for
9014 backwards-deleted space.
9016 (allout-rebullet-heading): Register changes with
9017 allout-exposure-changed-hook, so the modified topic is properly
9020 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9022 * minibuffer.el (completion-in-region): Document PREDICATE
9025 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9026 of keyword/argument pairs (bug#6904).
9028 * replace.el (multi-occur):
9029 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9031 2011-07-02 Drew Adams <drew.adams@oracle.com>
9033 * dired.el (dired-mark-if): Make the message about whether it's
9034 marking or unmarking clearer (bug#8523).
9036 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9038 * disp-table.el (display-table-print-array): New function.
9039 (describe-display-table): Use it to print the vectors more pretty
9042 2011-07-02 Martin Rudalics <rudalics@gmx.at>
9044 * window.el (window-state-get-1): Don't assign clone numbers.
9045 Add clone-of item to list of window parameters.
9046 (window-state-put-2): Don't process clone numbers.
9047 (display-buffer-alist): Fix doc-string.
9049 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9051 * subr.el (remq): Don't allocate if it's not needed.
9052 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9053 (keymap--merge-bindings): New functions.
9054 (keymap-canonicalize): Use them to refine the canonicalization.
9055 * minibuffer.el (minibuffer-local-completion-map)
9056 (minibuffer-local-must-match-map): Move initialization from C.
9057 (minibuffer-local-filename-completion-map): Move initialization from C;
9058 don't inherit from anything here.
9059 (minibuffer-local-filename-must-match-map): Make obsolete.
9060 (completing-read-default): Use make-composed-keymap to combine
9061 minibuffer-local-filename-completion-map with either
9062 minibuffer-local-must-match-map or
9063 minibuffer-local-filename-completion-map.
9065 2011-07-01 Glenn Morris <rgm@gnu.org>
9067 * type-break.el (type-break-time-sum): Use dolist.
9069 * textmodes/flyspell.el (flyspell-word-search-backward):
9070 Replace CL function.
9072 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9074 * mouse.el (mouse--strip-first-event): New function.
9075 (function-key-map): Use it to map fringe clicks to normal clicks
9078 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9079 (vc-bzr-revision-completion-table): Add support for annotate and date.
9081 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9082 inherit from parent.
9084 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9086 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9087 (dired-show-file-type): Doc fixup (bug#8818).
9089 * dired.el (dired-mode): Fix up the doc string as suggested by
9090 Drew Adams (bug#8817).
9092 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9093 cookie, since the manual says that it should be possible to add
9094 this function to `find-file-hook' (bug#8709).
9096 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9098 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9099 here. Noted Ted Zlatanov as the maintainer.
9100 (cfengine-common-settings, cfengine-common-syntax): New functions
9101 to set up common things between `cfengine-mode' and
9103 (cfengine3-mode): New mode.
9104 (cfengine3-defuns cfengine3-defuns-regex
9105 (cfengine3-class-selector-regex cfengine3-category-regex)
9106 (cfengine3-vartypes cfengine3-font-lock-keywords)
9107 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9108 (cfengine3-indent-line): Add from cfengine3.el.
9110 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
9112 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9114 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9116 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9118 * window.el (same-window-buffer-names, same-window-regexps)
9119 (same-window-p, special-display-frame-alist)
9120 (special-display-popup-frame, special-display-function)
9121 (special-display-buffer-names, special-display-regexps)
9122 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9123 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9124 (split-window-preferred-function, split-height-threshold)
9125 (split-width-threshold, even-window-heights)
9126 (display-buffer-mark-dedicated, window-splittable-p)
9127 (split-window-sensibly, window-safely-shrinkable-p):
9129 (display-buffer): Don't spread args with function specifier
9130 because special-display-popup-frame won't like it.
9132 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9134 Time-stamp simplifications and fixes.
9135 These improve accuracy slightly, and future-proof the code
9136 against some potential changes to current-time format.
9138 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9139 by using time-since and float-time.
9141 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9142 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9143 + NNN microseconds".
9145 * type-break.el (type-break-time-sum): Rewrite using time-add.
9147 * play/hanoi.el (hanoi-current-time-float): Remove.
9148 All uses replaced by float-time.
9150 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9151 This yields a more-accurate answer.
9152 (rng-time-to-float): Remove; no longer needed.
9154 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9156 * calendar/timeclock.el (timeclock-seconds-to-time):
9157 Defalias to seconds-to-time, since they're the same thing.
9159 * emacs-lisp/elp.el (elp-elapsed-time):
9160 * emacs-lisp/benchmark.el (benchmark-elapse):
9161 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9163 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9165 * window.el (bury-buffer): Don't iconify the only frame.
9166 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9167 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9169 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
9171 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9172 Add mouse-yank-primary.
9174 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9176 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9178 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9180 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9181 (find-library-name): Use it to find relative load names when provided
9182 absolute file name (bug#8803).
9184 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9186 * textmodes/flyspell.el (flyspell-word): Consider words that
9187 differ only in case as potential doublons (bug#5687).
9189 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9190 Remove two rather uninteresting debugging-like messages to make
9191 debbugs.el more silent.
9193 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9194 a password-like phrase.
9196 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9198 * progmodes/cc-guess.el: New file.
9200 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9202 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9203 derived from `c-basic-common-init'.
9205 * progmodes/cc-mode.el (top-level): Require cc-guess.
9206 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9208 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9210 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9212 2011-06-30 Alan Mackenzie <acm@muc.de>
9214 * progmodes/cc-engine.el (c-guess-continued-construct):
9215 Correct the handling of template-args-cont, particularly for when font
9216 lock is disabled. Name this case as "CASE G".
9218 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9220 * allout.el (allout-yank-processing): Fix injection of extra space
9221 between bullet and non-whitespace character in first topic when
9222 pasting, ensuring that the actual spacing in the pasted topic
9223 following the bullet char is preserved. This extra space was
9224 causing pasted encrypted topics to get a decrypted status even
9225 when the content was actually still encrypted. Now the decryption
9226 status from before the paste is preserved.
9228 (allout-flag-region): Set all allout overlays so they evaporate
9229 when reduced to zero length (evanescent), to prevent overlay
9232 2011-06-30 Glenn Morris <rgm@gnu.org>
9234 * w32-fns.el (w32-charset-info-alist): Declare.
9236 * find-dired.el (find-grep-options): Simplify.
9238 * term/ns-win.el (ns-set-resource): Declare.
9240 * ses.el (row, col): Declare dynamic variables honestly.
9242 * textmodes/reftex-parse.el (index-tags): Declare.
9244 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9246 * cus-edit.el (customize-push-and-save): New function.
9248 * files.el (hack-local-variables-confirm): Use it.
9250 * custom.el (load-theme): New arg NO-CONFIRM.
9251 Use customize-push-and-save (Bug#8720).
9252 (custom-enabled-themes): Doc fix.
9254 * cus-theme.el (customize-create-theme)
9255 (custom-theme-merge-theme): Callers to load-theme changed.
9257 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9259 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9260 short URLs have at least one dot in them (bug #7614).
9262 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9263 nil, because using a pty is apparently too slow (bug #895).
9265 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9267 * mail/sendmail.el (sendmail-query-once): New function.
9268 (sendmail-query-once-function): New variable.
9270 2011-06-29 Glenn Morris <rgm@gnu.org>
9272 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9274 * ses.el (top-level): Require cl when compiling.
9275 (ses-set-localvars): Fix error statement.
9276 Call it at compile time to silence a storm of warnings.
9278 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9280 * window.el (normalize-live-buffer): Rename to
9281 window-normalize-buffer.
9282 (normalize-live-frame): Rename to window-normalize-frame.
9283 (normalize-any-window): Rename to window-normalize-any-window.
9284 (normalize-live-window): Rename to window-normalize-live-window.
9285 (make-window-atom): Rename to window-make-atom.
9286 (window-resize-reset): Rename to window--resize-reset.
9287 (window-resize-reset-1): Rename to window--resize-reset-1.
9288 (resize-mini-window): Rename to window--resize-mini-window.
9289 (resize-subwindows-skip-p): Rename to
9290 window--resize-subwindows-skip-p.
9291 (resize-subwindows-normal): Rename to
9292 window--resize-subwindows-normal.
9293 (resize-subwindows): Rename to window--resize-subwindows.
9294 (resize-other-windows): Rename to window--resize-siblings.
9295 (resize-this-window): Rename to window--resize-this-window.
9296 (resize-root-window): Rename to window--resize-root-window.
9297 (resize-root-window-vertically): Rename to
9298 window--resize-root-window-vertically.
9299 (normalize-buffer-to-display): Rename to
9300 window-normalize-buffer-to-display.
9301 (normalize-buffer-to-switch-to): Rename to
9302 window-normalize-buffer-to-switch-to.
9303 Correspondingly update all callers of the functions listed
9305 (display-buffer-alist, display-buffer-normalize-arguments)
9306 (display-buffer-normalize-options, display-buffer)
9307 (display-buffer-alist-set): Use "function" instead of
9310 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9312 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9313 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9314 debbugs.gnu.org. Mention acknowledgment email.
9316 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9318 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9319 buffer multibyteness, since it shouldn't matter.
9321 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9323 * window.el (display-buffer-in-side-window): Handle dedicated
9324 windows as in display-buffer-reuse-window.
9325 (display-buffer-normalize-alist): Use value of override
9327 (display-buffer-normalize-specifiers): Use value of
9328 other-window-means-other-frame specifier.
9329 (display-buffer-alist): Rewrite some texts in widgets.
9330 (display-buffer): Spread arguments when calling function
9331 specified by fun-with-args.
9333 2011-06-28 Deniz Dogan <deniz@dogan.se>
9335 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9338 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9339 selectors (Bug#5732).
9340 (css-proprietary-nmstart-re): Use `regexp-opt'.
9342 2011-06-27 Jari Aalto <jari.aalto@cante.net>
9344 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9345 (eshell-ls-date-format): New defcustom.
9346 (eshell-ls-file): Use it.
9348 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9350 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9352 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9354 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9355 (ange-ftp-make-tmp-name): New arg.
9356 (ange-ftp-file-local-copy): Use it.
9358 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9360 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9361 no-conversion (Bug#8870).
9363 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9365 * window.el (window-right, window-left, window-child)
9366 (window-child-count, window-last-child)
9367 (window-iso-combination-p, walk-window-tree-1)
9368 (window-atom-check-1, window-tree-1, delete-window)
9369 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9370 new naming conventions - window-vchild, window-hchild,
9371 window-next and window-prev are now called window-top-child,
9372 window-left-child, window-next-sibling and window-prev-sibling
9374 (resize-window-reset): Rename to window-resize-reset.
9375 (resize-window-reset-1): Rename to window-resize-reset-1.
9376 (resize-window): Rename to window-resize.
9377 (window-min-height, window-min-width)
9378 (resize-mini-window, resize-this-window, resize-root-window)
9379 (resize-root-window-vertically, adjust-window-trailing-edge)
9380 (enlarge-window, shrink-window, maximize-window)
9381 (minimize-window, delete-window, quit-restore-window)
9382 (split-window, balance-windows, balance-windows-area-adjust)
9383 (balance-windows-area, window-state-put-2)
9384 (display-buffer-even-window-sizes, display-buffer-set-height)
9385 (display-buffer-set-width, set-window-text-height)
9386 (fit-window-to-buffer): Rename all "resize-window" prefixed
9387 calls to use the "window-resize" prefix convention.
9388 (display-buffer-alist): Fix symbol for label specifier.
9389 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9390 corresponding specifier.
9391 Reported by Juanma Barranquero <lekktu@gmail.com>.
9393 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9395 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9397 (ses-call-printer): Does not pass an empty string to formatter when the
9398 cell is empty to keep from barking printer Calc math-format-value.
9400 2011-06-27 Richard Stallman <rms@gnu.org>
9402 * battery.el (battery-mode-line-limit): New variable.
9403 (battery-update): Handle it.
9405 * mail/rmailmm.el (rmail-mime-process-multipart):
9406 Handle truncated messages.
9408 2011-06-27 Glenn Morris <rgm@gnu.org>
9410 * progmodes/flymake.el (flymake-err-line-patterns):
9411 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9413 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9415 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9416 (ses--clean-!, ses--clean-_): New functions.
9417 (ses-range): Add configurability of readout order, and conversion
9420 * ses.el (ses-repair-cell-reference-all): New function.
9421 (ses-cell-symbol): Set macro as safe, so that it can be used in
9424 * ses.el: Update cycle detection algorithm.
9425 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9426 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9427 (ses-set-localvars): New function.
9428 (ses-make-cell): Add property-list as a cell element.
9429 (ses-cell-property-get-fun, ses-cell-property-get)
9430 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9431 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9433 (ses-cell-property-set, ses-cell-property-pop)
9434 (ses-cell-property-get-handle): New macro.
9435 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9436 New aliases, used for code readability.
9437 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9439 (ses-self-reference-early-detection): New defcustom.
9440 (ses-formula-references): Robustify against self-referring cells.
9441 (ses-mode): Use ses-set-localvars.
9442 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9443 before lauching the update processing.
9444 (ses-initialize-Dijkstra-attempt): New function.
9445 (ses-recalculate-cell): Update for cycle detection based on
9448 * ses.el: Fix commenting and indenting convention.
9450 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9452 * bs.el (bs-cycle-next): Complete last change.
9454 2011-06-27 Drew Adams <drew.adams@oracle.com>
9456 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9458 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9460 * net/network-stream.el (network-stream-open-starttls):
9461 Don't re-get capabilities unless we've reestablished connection.
9462 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9464 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9465 to binary to possibly avoid line encoding issues on Windows (among
9468 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9470 * net/network-stream.el (open-network-stream): Return an :error
9471 saying what the problem was, if possible.
9473 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9476 * net/network-stream.el (network-stream-open-starttls): If we
9477 wanted to use STARTTLS, and the server offered it, but we weren't
9478 able to because we had no STARTTLS support, then close the connection.
9479 (open-network-stream): Return an :error element, if present.
9481 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9483 * hl-line.el (hl-line-sticky-flag): Doc fix.
9484 (global-hl-line-sticky-flag): New option (Bug#8323).
9485 (global-hl-line-highlight): Obey it.
9487 * vc/vc.el (vc-revert-show-diff): Default to t.
9489 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9491 * allout-widgets.el (allout-widgets-post-command-business):
9492 Stop decorating intermediate isearch matches. They're not being
9493 undecorated when an isearch is continued past, and isearch
9494 automatically collapses them. This leads to "widget leaks", where
9495 decorated items accumulate in collapsed areas. Lines with lots of
9496 hidden widgets can slow down cursor travel, substantially.
9497 Too much complicated machinery would be needed to ensure undecoration,
9498 so we're doing without this nicety.
9500 (allout-widgets-tally-string): Don't try to do a hash-table-count
9501 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9502 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9503 *Messages* when allout-widgets-maintain-tally is t.
9505 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9507 * window.el (display-buffer-normalize-argument): Rename to
9508 display-buffer-normalize-arguments. Handle special meaning of
9509 LABEL argument. Respect special-display-function when popping up
9510 a new frame. Fix code searching for a window showing the buffer
9512 (display-buffer-normalize-specifiers):
9513 Call display-buffer-normalize-arguments.
9514 (display-buffer-in-window): Don't undedicate the window if its
9515 buffer remains the same.
9516 Reported by Drew Adams <drew.adams@oracle.com>.
9517 (display-buffer-alist): Add choice for same-window macro
9519 (display-buffer): Mention special meaning of LABEL argument in
9520 doc-string. Fix quoting. Don't pop up a new frame even as
9523 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9525 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9526 avoid deleting the current window in some cases (bug#8911).
9528 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9530 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9533 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9535 * net/network-stream.el (network-stream-open-starttls):
9536 Use built-in TLS support if `gnutls-available-p' is true.
9537 (network-stream-open-tls): Ditto.
9539 2011-06-26 Leo Liu <sdl.web@gmail.com>
9541 * register.el (registerv): New struct.
9542 (registerv-make): New function.
9543 (jump-to-register, describe-register-1, insert-register):
9544 Support the jump-func, print-func and insert-func slot of a registerv
9547 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9549 * vc/vc.el (vc-revert-show-diff): New defcustom.
9550 (vc-diff-internal): New arg specifying diff buffer.
9551 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9552 reuse an existing *vc-diff* buffer (Bug#8927).
9554 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9556 2011-06-26 Glenn Morris <rgm@gnu.org>
9558 * progmodes/f90.el (f90-critical-indent): New option.
9559 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9560 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9561 (f90-mode): Doc fix.
9562 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9563 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9564 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9565 (f90-match-end): Handle block, critical.
9567 2011-06-25 Glenn Morris <rgm@gnu.org>
9569 * calendar/diary-lib.el (diary-included-files): Doc fix.
9570 (diary-include-files): New function, extracted from
9571 diary-include-other-diary-files and diary-mark-included-diary-files.
9572 (diary-include-other-diary-files, diary-mark-included-diary-files):
9573 Just call diary-include-files.
9574 (diary-mark-entries): Reset diary-included-files on first call.
9576 * calendar/diary-lib.el (diary-mark-entries)
9577 (diary-mark-included-diary-files):
9578 Visit included diary-files in temp buffers.
9580 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9581 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9582 (f90-start-block-re, f90-imenu-generic-expression)
9583 (f90-looking-at-program-block-start, f90-no-block-limit):
9584 Add support for submodules.
9586 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9587 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9589 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9591 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9592 buffer-file-type before setting its value, to avoid disastrous
9593 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9595 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9597 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9599 * ses.el (ses-unload-function):
9600 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9602 * proced.el (proced-unload-function):
9603 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9605 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9607 * server.el (server-create-window-system-frame): Add parameters arg.
9608 (server-process-filter): Doc fix. Handle frame-parameters.
9610 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9612 Fix bug#8730, bug#8781.
9614 * loadhist.el (unload--set-major-mode): New function.
9615 (unload-feature): Use it.
9617 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9618 (python-unload-function): New function.
9620 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9622 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9624 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9626 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9627 the candidates list.
9629 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9631 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9633 2011-06-23 Richard Stallman <rms@gnu.org>
9635 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9636 (rmail-variables): Set next-error-move-function.
9637 (rmail-what-message): Take argument POS.
9638 (rmail-next-error-move): New function.
9640 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9642 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9643 messages for adjacent non-terminals.
9645 2011-06-23 Richard Stallman <rms@gnu.org>
9647 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9648 (rmail-show-message-1): Preserve buffer modified flag.
9649 (rmail-start-mail): Don't specify use of rmail-mail-return;
9650 that's done by mail-bury now.
9651 (rmail-mail-return): Handle arg NEWBUF.
9653 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9655 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9658 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9660 * window.el (get-lru-window, get-mru-window)
9661 (get-largest-window): Never return a minibuffer window.
9662 (display-buffer-pop-up-window): Fix a bug that could lead to
9663 reusing the minibuffer window.
9664 (display-buffer): Pass original specifier argument to
9665 display-buffer-function instead of the normalized one.
9666 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9668 2011-06-22 Leo Liu <sdl.web@gmail.com>
9670 * minibuffer.el (completing-read-function)
9671 (completing-read-default): Move from minibuf.c
9673 2011-06-22 Richard Stallman <rms@gnu.org>
9675 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9676 to Rmail even if not started by a special Rmail command.
9678 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9679 Copy the buffer currently showing just one message.
9681 2011-06-22 Roland Winkler <winkler@gnu.org>
9683 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9684 (bibtex-clean-entry): First delete the old key so that a
9685 customized algorithm for generating the new key does not get
9686 confused by the old key.
9687 (bibtex-url): Obey regexp of first step.
9688 (bibtex-search-entries): Do not use add-to-list with local
9691 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9693 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9694 stored a user name, then query for the password first, instead of
9695 waiting for SMTP to give an error message and the trying again.
9697 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9699 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9700 BUFFER in call-process.
9702 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9704 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9706 (smtpmail-try-auth-methods): Require user name and password from
9709 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9711 * window.el (display-buffer-default-specifiers)
9712 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9713 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9714 (split-window): Normalize SIDE argument (Bug#8916).
9716 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9717 (special-display-frame-alist, special-display-popup-frame):
9718 Remove duplicate declarations. These are now in window.el.
9720 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9722 * mail/smtpmail.el (smtpmail-via-smtp):
9723 Set :use-starttls-if-possible so that we always use STARTTLS if the
9724 server supports it. SMTP servers that support STARTTLS commonly
9727 * net/network-stream.el (network-stream-open-starttls): Support
9728 upgrading to STARTTLS always, even if we don't have built-in support.
9729 (open-network-stream): Add the :always-query-capabilities keyword.
9731 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9732 upgrades with `open-network-stream', and rely solely on
9733 auth-source for all credentials. Big changes throughout the file,
9735 (smtpmail-auth-credentials): Remove.
9736 (smtpmail-starttls-credentials): Remove.
9737 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9740 * net/network-stream.el (network-stream-open-starttls):
9741 Provide support for client certificates both for external and built-in
9743 (auth-source): Require.
9744 (open-network-stream): Document the :client-certificate keyword.
9745 (network-stream-certificate): Change cert-cert to cert and
9748 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9750 * net/tramp-cache.el (top): Don't load the persistency file when
9751 "emacs -Q" has been called.
9753 2011-06-21 Tim Harper <timcharper@gmail.com>
9755 * term/ns-win.el (ns-initialize-window-system):
9756 Set application-specific `ApplePressAndHoldEnabled' system
9757 resource to NO as it is not yet supported by the NS port.
9759 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9761 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9762 (list-dynamic-libraries): ...not here.
9764 2011-06-21 Leo Liu <sdl.web@gmail.com>
9766 * subr.el (sha1): Implement sha1 using secure-hash.
9768 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9770 * window.el (display-buffer-alist): In default value do not
9771 enforce searching a window on any but the selected frame.
9772 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9773 (display-buffer-select-window): Remove function.
9774 (display-buffer-in-window): When a window on another frame gets
9775 reused, do not select it any more but just raise its frame if
9776 necessary (Bug#8851) and (Bug#8856).
9777 (display-buffer-normalize-options): Handle pop-up-frames related
9778 options more faithfully.
9779 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9780 window if it is on another frame.
9781 (display-buffer-alist, display-buffer-default-specifiers):
9782 Don't make new frame unsplittable by default.
9783 (display-buffer-normalize-argument): Fix doc-string typo and use
9784 'same-frame-other-window instead of 'other-window when associating
9785 with display-buffer-macro-specifiers.
9787 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9789 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9791 (5x5-mode-map, 5x5-mode-menu): Bind them.
9792 (5x5-draw-grid): Tweak the solver's rendering.
9794 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9796 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9797 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9799 2011-06-21 Drew Adams <drew.adams@oracle.com>
9801 * menu-bar.el: Use function variable instead of switch-to-buffer.
9802 (menu-bar-select-buffer-function): New variable.
9803 (menu-bar-update-buffers): Use it (bug#8876).
9805 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9807 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9810 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9812 * x-dnd.el (x-dnd-version-from-flags)
9813 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9814 and long as number (Bug#8899).
9815 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9817 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9819 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9820 (completion-try-completion, completion-all-completions): Compute the
9821 metadata argument if it's missing; make it optional (bug#8795).
9823 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9824 (widget-complete): Use new :completion-function property.
9825 (widget-completions-at-point): New function.
9826 (default): Use :completion-function instead of :complete.
9827 (widget-default-completions): Rename from widget-default-complete;
9829 (widget-string-complete, widget-file-complete, widget-color-complete):
9831 (file, symbol, function, variable, coding-system, color):
9832 * international/mule-cmds.el (default-input-method, charset)
9833 (language-info-custom-alist):
9834 * cus-edit.el (face): Use new property :completions.
9836 * progmodes/pascal.el (pascal-completions-at-point): New function.
9837 (pascal-mode): Use it.
9838 (pascal-mode-map): Use completion-at-point.
9839 (pascal-toggle-completions): Make obsolete.
9840 (pascal-complete-word, pascal-show-completions):
9841 * progmodes/octave-mod.el (octave-complete-symbol):
9842 Redefine as obsolete alias.
9843 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9844 Signal absence of completion info for old Octave,
9845 (inferior-octave-complete): Redefine as obsolete alias.
9846 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9847 (meta-completions-at-point): Rename from meta-complete-symbol and
9848 adapt it for use on completion-at-point-functions.
9849 (meta-common-mode): Use it.
9850 (meta-looking-at-backward, meta-match-buffer): Remove.
9851 (meta-complete-symbol): Redefine as obsolete alias.
9852 (meta-common-mode-map): Use completion-at-point.
9853 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9854 (makefile-mode-map): Use completion-at-point.
9855 (makefile-completions-at-point): Rename from makefile-complete and
9856 adapt it for use on completion-at-point-functions.
9857 (makefile-mode): Use it.
9858 (makefile-complete): Redefine as obsolete alias.
9860 2011-06-20 Deniz Dogan <deniz@dogan.se>
9862 * net/rcirc.el: Delete trailing whitespaces once and for all.
9864 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9866 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9868 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9870 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9872 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9874 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9876 * window.el (display-buffer-other-window-means-other-frame):
9877 Call display-buffer-normalize-alist.
9878 (display-buffer-normalize-specifiers-1): Rename to
9879 display-buffer-normalize-argument. New argument other-frame.
9881 (display-buffer-normalize-specifiers-2): Rename to
9882 display-buffer-normalize-options.
9883 (display-buffer-normalize-alist-1): New function.
9884 (display-buffer-normalize-specifiers-3): Rename to
9885 display-buffer-normalize-alist.
9886 Call display-buffer-normalize-alist-1.
9887 (display-buffer-normalize-options-inhibit): New variable.
9888 (display-buffer-normalize-specifiers): Rewrite calling
9889 display-buffer-normalize-alist,
9890 display-buffer-normalize-argument, and
9891 display-buffer-normalize-options. Don't call the latter if
9892 display-buffer-normalize-options-inhibit is non-nil.
9893 (frame-auto-delete): New option.
9894 (window-deletable-p): Use frame-auto-delete.
9895 (window-list-no-nils, window-state-ignored-parameters)
9896 (window-state-get-1, window-state-get, window-state-put-list)
9897 (window-state-put-1, window-state-put-2, window-state-put):
9899 (display-buffer-normalize-options): Move special-display-p group
9900 after pop-up-frame group (Bug#8851) and (Bug#8856).
9902 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9904 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9906 (rx-submatch-n): New function.
9909 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9912 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9914 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9916 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9917 anytime existing face settings are present (Bug#8889).
9919 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9920 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9921 Remove unused argument.
9923 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9925 * window.el (display-buffer-default-specifiers):
9926 Remove pop-up-frame. Add pop-up-window-min-height,
9927 pop-up-window-min-width, and another reuse-window specifier
9928 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9929 (display-buffer-normalize-specifiers-2):
9930 Handle split-height-threshold and split-width-threshold also when
9931 pop-up-windows is unset. Add a reuse-window specifier for the
9932 case popping up a new window fails.
9933 (special-display-popup-frame): Remove double quoting.
9934 (display-buffer-normalize-specifiers-1): Fix thinko.
9936 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9938 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9939 according to comint-completion-addsuffix.
9941 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9942 (pcomplete-suffix-list): Mark as obsolete.
9943 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9944 pcomplete-seen in the closure.
9945 (pcomplete-comint-setup): Setup completion-at-point as well.
9946 (pcomplete--entries): New function.
9947 (pcomplete--env-regexp): New var.
9948 (pcomplete-entries): Rewrite to work with partial-completion and
9949 without relying on pcomplete-suffix-list.
9950 (pcomplete-pare-list): Remove, unused.
9952 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9954 * window.el (display-buffer-alist): Set pop-up-window-min-height
9955 and pop-up-window-min-width in default value. Reported by
9956 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9957 other-window-means-other-frame.
9958 (display-buffer-macro-specifiers): Comment out entry for
9959 other-window specifier.
9960 (display-buffer-other-window-means-other-frame): New function.
9961 (display-buffer-normalize-specifiers-1): New arguments
9962 buffer-name and label. Treat other-window case specially.
9963 (display-buffer-normalize-specifiers-2): Treat other-window case
9965 (display-buffer-normalize-specifiers-3): New function.
9966 (display-buffer-normalize-specifiers):
9967 Call display-buffer-normalize-specifiers-3.
9969 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9971 * window.el (same-window-p): Fix two typos introduced when
9972 adding with-no-warnings.
9973 (display-buffer-normalize-specifiers-1): Don't check
9974 pop-up-frames for 'unset initialization.
9975 (display-buffer-normalize-specifiers-2): Major rewrite using
9976 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9977 (pop-up-frames, display-buffer-reuse-frames)
9978 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9979 Suggested by David Engster <deng@randomsample.de>.
9980 (even-window-heights): Initialize to 'unset.
9981 (display-buffer-alist-set): Handle new 'unset initializations.
9982 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9985 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9987 * window.el (display-buffer-normalize-specifiers-1):
9988 Respect current value of pop-up-frames for most reasonable values of
9989 second argument of display-buffer (Bug#8865).
9990 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9991 (switch-to-buffer-other-window-same-frame)
9992 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9994 (display-buffer): Don't check noninteractive when calling
9995 display-buffer-pop-up-frame.
9996 (display-buffer-pop-up-frame): Never pop up a frame in
9997 noninteractive mode (Bug#8857).
9998 (enlarge-window, shrink-window): Don't report an error when the
9999 window can't be resized as requested (Bug#8862).
10001 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10003 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10005 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10007 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10009 2011-06-15 Alan Mackenzie <acm@muc.de>
10011 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10012 for declarators, disable knr checking to speed up for normal files.
10013 2: Refactor, replacing a sequence of nested if forms by a cond form.
10015 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10017 * net/network-stream.el (open-network-stream): Add the keyword
10018 :always-query-capabilities for the case where you want to force a
10019 `plain' network connection, but the protocol still requires the
10020 capabilitiy command (i.e., SMTP and EHLO).
10022 * subr.el (process-live-p): Rename from `process-alive-p' for
10023 consistency with other `-live-p' functions.
10025 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10027 * window.el (same-window-buffer-names, same-window-regexps)
10028 (special-display-frame-alist, special-display-popup-frame)
10029 (special-display-function, special-display-buffer-names)
10030 (special-display-regexps, pop-up-frame-alist)
10031 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10032 (pop-up-windows, split-window-preferred-function)
10033 (split-height-threshold, split-width-threshold, even-window-heights)
10034 (display-buffer-mark-dedicated): Don't encourage the use of
10035 display-buffer-alist from Elisp code.
10037 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10039 * progmodes/python.el (python-mode): Derive from prog-mode.
10040 * progmodes/ps-mode.el (ps-mode):
10041 * progmodes/mixal-mode.el (mixal-mode):
10042 * progmodes/cfengine.el (cfengine-mode):
10043 * progmodes/ld-script.el (ld-script-mode): Likewise.
10045 2011-06-15 Martin Rudalics <rudalics@gmx.at>
10047 * window.el (display-buffer-alist): Trim default value to avoid
10048 popping up a new frame (Bug#8857) or reusing an arbitrary window
10050 (display-buffer): Do not fall back on popping up a new frame in
10051 batch mode (Bug#8857).
10053 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
10055 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10056 (custom-theme-summary): New function.
10057 (customize-themes): Use it.
10059 2011-06-13 Glenn Morris <rgm@gnu.org>
10061 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10063 2011-06-13 Martin Rudalics <rudalics@gmx.at>
10065 * help.el (help-window): Remove variable.
10066 (help-window-point-marker, temp-buffer-max-height)
10067 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10068 (help-print-return-message): Don't set help-window.
10069 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10070 (help-window-setup-finish): Remove.
10071 (help-window-display-message, help-window-setup)
10072 (with-help-window): Major rewrite based on new
10073 display-buffer-window variable.
10075 * help-mode.el (help-mode-finish): Remove help-window related
10078 * view.el (view-exits-all-viewing-windows): Remove reference to
10079 view-return-to-alist in doc-string.
10080 (view-return-to-alist): Make obsolete.
10081 (view-buffer): Call pop-to-buffer-same-window and remove
10083 (view-buffer-other-window): Call pop-to-buffer-other-window and
10084 simplify code. Ignore second argument.
10085 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10086 simplify code. Ignore second argument.
10087 (view-return-to-alist-update): Make obsolete.
10088 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10089 Rewrite using quit-restore window parameters.
10090 (view-mode-exit): Rename second argument to EXIT-ONLY.
10091 Rewrite using quit-restore-window.
10092 (View-exit, View-exit-and-edit, View-leave, View-quit)
10093 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10094 appropriate arguments.
10095 (view-end-message): Use quit-restore window parameter.
10097 * window.el (display-buffer-function): Rewrite doc-string.
10098 (display-buffer-window, display-buffer-alist): New variables.
10099 (display-buffer-split-specifiers)
10100 (display-buffer-side-specifiers)
10101 (display-buffer-macro-specifiers): New constants.
10102 (display-buffer-even-window-sizes, display-buffer-set-height)
10103 (display-buffer-set-width, display-buffer-select-window)
10104 (display-buffer-in-window, display-buffer-reuse-window)
10105 (display-buffer-split-window-1, display-buffer-split-window)
10106 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10107 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10108 (display-buffer-in-side-window, normalize-buffer-to-display)
10109 (display-buffer-normalize-specifiers-1)
10110 (display-buffer-normalize-specifiers-2)
10111 (display-buffer-normalize-specifiers, display-buffer-frame):
10113 (display-buffer): Major rewrite.
10114 (display-buffer-other-window, display-buffer-other-frame)
10115 (pop-to-buffer, switch-to-buffer-other-window)
10116 (switch-to-buffer-other-frame): Rewrite.
10117 (display-buffer-same-window, display-buffer-same-frame)
10118 (display-buffer-same-frame-other-window)
10119 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10120 (pop-to-buffer-other-window)
10121 (pop-to-buffer-same-frame-other-window)
10122 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10123 (switch-to-buffer-other-window-same-frame): New functions.
10124 (same-window-p, special-display-p): Rewrite disabling warnings.
10126 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10127 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10129 (same-window-buffer-names, same-window-regexps)
10130 (special-display-frame-alist, special-display-popup-frame)
10131 (special-display-function, special-display-buffer-names)
10132 (special-display-regexps, pop-up-frame-alist)
10133 (pop-up-frame-function, split-window-preferred-function)
10134 (split-height-threshold, split-width-threshold)
10135 (even-window-heights): Make obsolete.
10137 2011-06-12 Glenn Morris <rgm@gnu.org>
10139 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10140 Misc simplifications.
10142 2011-06-12 Martin Rudalics <rudalics@gmx.at>
10144 * window.el (window-safely-shrinkable-p): Restore function which
10145 was inadvertently removed in change from 2011-06-11. Declare as
10148 * calendar/calendar.el (calendar-generate-window):
10149 Use window-iso-combined-p instead of combination of one-window-p and
10150 window-safely-shrinkable-p.
10152 2011-06-12 Glenn Morris <rgm@gnu.org>
10154 * progmodes/fortran.el (fortran-mode-syntax-table):
10155 * progmodes/f90.el (f90-mode-syntax-table):
10156 Set % to punctuation. (Bug#8820)
10157 (f90-find-tag-default): Remove, no longer needed.
10159 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10161 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10163 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10165 * image.el (image-animated-p): Return animation delay in seconds.
10166 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10167 (image-animate-timeout): Remove DELAY argument. Don't assume
10168 every subimage has the same delay; get it from image-animated-p.
10169 (image-animate): Caller changed.
10171 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
10173 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10174 to ignored backtrace functions.
10176 2011-06-11 Glenn Morris <rgm@gnu.org>
10178 * calendar/appt.el (appt-disp-window-function): Doc fix.
10179 (appt-check): Handle overlapping appointments. (Bug#8337)
10181 2011-06-11 Martin Rudalics <rudalics@gmx.at>
10183 * window.el (window-tree-1, window-tree): New functions, moving
10184 the latter to window.el.
10185 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10186 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10187 (bw-refresh-edges): Remove.
10188 (balance-windows-1, balance-windows-2): New functions.
10189 (balance-windows): Rewrite in terms of window tree functions,
10190 balance-windows-1 and balance-windows-2.
10191 (bw-adjust-window): Remove.
10192 (balance-windows-area-adjust): New function with functionality of
10193 bw-adjust-window but using resize-window.
10194 (set-window-text-height): Rewrite doc-string.
10195 Use normalize-live-window and resize-window.
10196 (enlarge-window-horizontally, shrink-window-horizontally):
10197 Rename argument to DELTA.
10198 (window-buffer-height): New function.
10199 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10200 Rewrite using new window resize routines.
10201 (kill-buffer-and-window, mouse-autoselect-window-select):
10202 Use ignore-errors instead of condition-case.
10203 (quit-window): Call delete-frame instead of delete-windows-on
10204 for the only buffer on frame.
10206 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10208 * loadup.el (top-level): Load window before files for the sake
10209 of replace-buffer-in-windows.
10211 * files.el (read-buffer-to-switch)
10212 (switch-to-buffer-other-window)
10213 (switch-to-buffer-other-frame, display-buffer-other-frame):
10216 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10217 (previous-buffer): Move to window.el.
10219 * bindings.el (unbury-buffer): Move to window.el.
10221 * window.el (delete-other-windows-vertically): Move after
10222 definition of delete-other-windows.
10223 (other-window, delete-windows-on, replace-buffer-in-windows):
10224 Move here from window.c.
10225 (record-window-buffer, unrecord-window-buffer)
10226 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10227 (switch-to-next-buffer): New functions.
10228 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10229 from simple.el. Call switch-to-next-buffer.
10230 (previous-buffer): Move here from simple.el.
10231 Call switch-to-prev-buffer.
10232 (bury-buffer): Move here from buffer.c. Switch to previous
10233 buffer when window cannot be deleted.
10234 (unbury-buffer): Move here from bindings.el.
10235 (ctl-x-map): Move binding for other-window from window.c to
10237 (read-buffer-to-switch, switch-to-buffer-other-window)
10238 (switch-to-buffer-other-frame): Move here from files.el.
10239 (normalize-buffer-to-switch-to): New functions.
10240 (switch-to-buffer): Move here from buffer.c.
10241 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10243 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10245 * window.el (window-min-height, window-min-width): Move here
10246 from window.c. Add defcustoms and rewrite doc-strings.
10247 (resize-mini-window, resize-window): New functions.
10248 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10249 Move here from window.c.
10250 (maximize-window, minimize-window): New functions.
10251 (delete-window, delete-other-windows, split-window): Move here
10253 (window-split-min-size): New function.
10254 (split-window-keep-point): Mention split-window-above-each-other
10255 instead of split-window-vertically.
10256 (split-window-above-each-other, split-window-vertically):
10257 Rename split-window-vertically to split-window-above-each-other
10258 and provide defalias for old definition.
10259 (split-window-side-by-side, split-window-horizontally):
10260 Rename split-window-horizontally to split-window-side-by-side
10261 and provide defalias for the old definition.
10262 (ctl-x-map): Move bindings for delete-window,
10263 delete-other-windows and enlarge-window here from window.c.
10264 Replace bindings for split-window-vertically and
10265 split-window-horizontally by bindings for
10266 split-window-above-each-other and split-window-side-by-side.
10268 * cus-start.el (all): Remove entries for window-min-height and
10269 window-min-width. Add entries for window-splits and
10272 2011-06-09 Glenn Morris <rgm@gnu.org>
10274 * calendar/appt.el (appt-mode-line): New function.
10275 (appt-check, appt-disp-window): Use it.
10277 * files.el (hack-one-local-variable-eval-safep):
10278 Allow minor-modes with explicit +/-1 arguments.
10280 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10282 * term/xterm.el (xterm): Add defgroup.
10283 (xterm-extra-capabilities): Add defcustom to supply known xterm
10284 capabilities, skip querying them, or query them (default).
10285 (terminal-init-xterm): Use it.
10286 (terminal-init-xterm-modify-other-keys): New function to set up
10287 modifyOtherKeys support to simplify `terminal-init-xterm'.
10289 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10291 * window.el (resize-window-reset, resize-window-reset-1)
10292 (resize-subwindows-skip-p, resize-subwindows-normal)
10293 (resize-subwindows, resize-other-windows, resize-this-window)
10294 (resize-root-window, resize-root-window-vertically)
10295 (window-deletable-p, window-or-subwindow-p)
10296 (frame-root-window-p): New functions.
10298 2011-06-09 Glenn Morris <rgm@gnu.org>
10300 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10301 (ange-ftp-get-files): Use it.
10303 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10305 * mail/sendmail.el (mail-recover-1, mail-recover):
10306 * files.el (recover-file, recover-session):
10307 Handle dired-listing-switches not being just a single short option.
10309 2011-06-09 Glenn Morris <rgm@gnu.org>
10311 * calendar/appt.el (appt-display-message, appt-disp-window):
10312 Handle lists of appointments.
10314 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10316 * window.el (one-window-p): Move down in code.
10317 Rewrite doc-string.
10318 (window-current-scroll-bars): Rewrite doc-string.
10319 Normalize live window argument.
10320 (walk-windows, get-window-with-predicate, count-windows):
10321 Rewrite doc-string. Use window-list-1.
10322 (window-in-direction-2, window-in-direction, get-mru-window):
10325 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10327 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10328 Doc fix (Bug#8713).
10330 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10332 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10334 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
10336 * loadhist.el (unload-feature-special-hooks):
10337 Add `comint-output-filter-functions'.
10339 2011-06-08 Ivan Kanis <gnu@kanis.fr>
10341 * calendar/appt.el (appt-check): Move some initializations into the let.
10343 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10345 * window.el (window-height): Defalias to window-total-height.
10346 (window-width): Defalias to window-body-width.
10348 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
10350 * image-mode.el (image-toggle-animation): New command.
10351 (image-mode-map): Bind it to RET.
10352 (image-mode): Update message.
10353 (image-toggle-display-image): Avoid a spurious cache flush.
10354 (image-transform-rotation): Doc fix.
10355 (image-transform-properties): Return quickly in the normal case.
10356 (image-animate-loop): Rename from image-animate-max-time.
10358 * image.el (image-animate-max-time): Move to image-mode.el.
10359 (create-animated-image): Remove unnecessary function.
10360 (image-animate): Rename from image-animate-start. New arg.
10361 (image-animate-stop): Remove; just use image-animate-timer.
10362 (image-animate-timer): Use car-safe.
10363 (image-animate-timeout): Rename argument.
10365 2011-06-07 Martin Rudalics <rudalics@gmx.at>
10367 * window.el (get-lru-window, get-largest-window): Move here from
10368 window.c. Rename first argument to ALL-FRAMES.
10369 Rephrase doc-strings.
10370 (get-buffer-window-list): Rewrite using window-list-1.
10371 Rephrase doc-string.
10372 (window-safe-min-height, window-safe-min-width): New constants.
10373 (window-size-ignore, window-min-size, window-min-size-1)
10374 (window-sizable, window-sizable-p, window-size-fixed-1)
10375 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10376 (window-max-delta-1, window-max-delta, window-resizable)
10377 (window-resizable-p, window-total-height, window-total-width)
10378 (window-body-width): New functions.
10379 (window-full-height-p, window-full-width-p): Rewrite using
10381 (window-body-height): Rewrite using window-body-size.
10383 2011-06-06 Martin Rudalics <rudalics@gmx.at>
10385 * window.el (window-right, window-left, window-child)
10386 (window-child-count, window-last-child, window-any-p)
10387 (normalize-live-buffer, normalize-live-frame)
10388 (normalize-any-window, normalize-live-window)
10389 (window-iso-combination-p, window-iso-combined-p)
10390 (window-iso-combinations)
10391 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10392 (windows-with-parameter, window-with-parameter)
10393 (window-atom-root, make-window-atom, window-atom-check-1)
10394 (window-atom-check, window-side-check, window-check):
10396 (ignore-window-parameters, window-sides, window-sides-vertical)
10397 (window-sides-slots): New variables.
10398 (window-size-fixed): Move down in code. Minor doc-string fix.
10400 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10402 * comint.el (comint-dynamic-complete-as-filename)
10403 (comint-dynamic-complete-filename): Correctly call
10404 completion-in-region.
10406 2011-06-05 Deniz Dogan <deniz@dogan.se>
10408 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10411 2011-06-05 Deniz Dogan <deniz@dogan.se>
10413 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10414 (rcirc): Use it to prompt for encryption.
10416 2011-06-05 Roland Winkler <winkler@gnu.org>
10418 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10419 (bibtex-search-entries): New command bound to C-c C-a.
10420 (bibtex-display-entries): New function.
10422 2011-06-05 Roland Winkler <winkler@gnu.org>
10424 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10425 (bibtex-insert-kill): After yanking insert newline if necessary.
10426 (bibtex-initialize): Call bibtex-string-files-init only once.
10427 (bibtex-mode): Do not call easy-menu-add.
10428 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10429 (bibtex-yank): Set arg properly if nil.
10431 2011-06-05 Roland Winkler <winkler@gnu.org>
10433 * textmodes/bibtex.el (bibtex-search-entry-globally):
10435 (bibtex-search-entry): Use it.
10437 2011-06-05 Roland Winkler <winkler@gnu.org>
10439 * textmodes/bibtex.el (bibtex-entry-format): New option
10441 (bibtex-format-entry, bibtex-reformat): Honor this option.
10442 (bibtex-parse-entry): Return fields in proper order.
10444 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
10446 * doc-view.el (doc-view-remove-if): Move computation of result out
10447 of `dolist' to silence misleading lexical-binding warning.
10449 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10451 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10452 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10454 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10456 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10459 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10461 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10462 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10463 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10464 (tramp-parse-putty):
10465 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10466 (tramp-completion-function-alist-ssh)
10467 (tramp-completion-function-alist-telnet)
10468 (tramp-completion-function-alist-su)
10469 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10472 * net/tramp-ftp.el:
10474 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10475 load "tramp.el" `tramp-set-completion-function'.
10477 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10479 * shell.el: Require and use pcomplete.
10480 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10481 (shell-completion-vars): Set pcomplete-default-completion-function.
10483 2011-06-04 Deniz Dogan <deniz@dogan.se>
10485 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10488 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10490 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10492 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10494 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10495 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10496 * vc/log-view.el (log-view-beginning-of-defun):
10497 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10498 (smerge-refine-forward, smerge-refine-chopup-region):
10499 Silence warning for unused `dotimes' counter variables.
10501 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10503 * net/tramp.el (tramp-with-progress-reporter): Rename from
10504 with-progress-reporter. Use `declare'.
10505 * net/tramp-smb.el:
10507 * net/tramp-gvfs.el: Update all uses.
10509 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10511 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10512 buffer isn't killed before making it current.
10514 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10516 Silence various byte-compiler warnings.
10517 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10518 `access-type' and new obsolescence format.
10519 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10521 (byte-compile-check-variable): New `access-type' argument.
10522 Only warn if the access-type is obsolete.
10523 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10524 (byte-compile-variable-set): Adjust callers.
10525 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10526 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10527 setting it as obsolete.
10528 * simple.el (minibuffer-completing-symbol):
10529 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10530 access as obsolete.
10531 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10533 * international/quail.el (quail-mouse-choose-completion): Remove unused
10534 code referring to obsolete var.
10535 (quail-choose-completion-string): Remove.
10536 * server.el (server-clients-with, server-kill-buffer-query-function)
10537 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10538 * proced.el (proced-send-signal):
10539 * emacs-lisp/lisp.el (lisp-complete-symbol):
10540 Replace completion-annotate-function with completion-extra-properties.
10542 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10544 * simple.el (goto-line): Use read-number.
10545 (overriding-map-is-bound): Remove.
10546 (saved-overriding-map): Change default.
10547 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10548 Take the map as argument.
10549 (universal-argument, negative-argument, digit-argument): Use it.
10550 (restore-overriding-map): Adjust.
10551 (do-auto-fill): Use fill-forward-paragraph.
10552 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10554 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10555 (minibuffer-inactive-mode): New major mode.
10556 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10557 the *Messages* buffer" hack.
10558 (mouse-popup-menubar): Don't burp if the event is a normal key.
10560 Miscellaneous tweaks.
10561 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10562 lexical scoping as in subr.el's dolist and dotimes.
10563 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10564 Silence compiler warning.
10565 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10566 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10567 * international/ccl.el (ccl-compile): Trivial simplification.
10568 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10569 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10570 `printflag' argument.
10571 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10572 Purecopy the whole obsolescence data.
10574 2011-06-01 Leo Liu <sdl.web@gmail.com>
10576 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10577 improve doc-string as suggested by Marco Pessotto
10578 <melmothx@gmail.com>.
10579 (rcirc-print): Fix last change.
10581 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10583 * minibuffer.el (complete-with-action): Return nil for the metadata and
10584 boundaries of non-functional tables.
10585 (completion-table-dynamic): Return nil for the metadata.
10586 (completion-table-with-terminator): Add default case, using
10587 complete-with-action.
10588 (completion--metadata): New function.
10589 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10590 to try and avoid pathological performance problems.
10591 (completion--embedded-envvar-table): Return `category' metadata.
10593 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10595 * subr.el (process-alive-p): New tiny convenience function.
10597 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10599 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10600 content but also its previous major mode.
10602 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10604 * emacs-lisp/debug.el (debug): Restore the previous content of the
10605 *Backtrace* buffer when we exit with C-M-c.
10607 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10609 * minibuffer.el: Add metadata method to completion tables.
10610 (completion-category-overrides): New defcustom.
10611 (completion-metadata, completion--field-metadata)
10612 (completion-metadata-get, completion--styles)
10613 (completion--cycle-threshold): New functions.
10614 (completion-try-completion, completion-all-completions):
10615 Add `metadata' argument to choose completion-styles.
10616 (completion--do-completion): Use metadata to choose cycling.
10617 (completion-all-sorted-completions): Use metadata for sorting.
10618 Remove :completion-cycle-penalty which is not needed any more.
10619 (completion--try-word-completion): Add `metadata' argument.
10620 (minibuffer-completion-help): Check metadata for annotation function
10622 (completion-file-name-table): Return `category' metadata.
10623 (minibuffer-completing-file-name): Make obsolete.
10624 * simple.el (minibuffer-completing-symbol): Make obsolete.
10625 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10626 completion-try-completion.
10628 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10630 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10632 2011-05-30 Leo Liu <sdl.web@gmail.com>
10634 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10635 (rcirc-print): Decode all incoming messages (bug#8744).
10636 (rcirc-decode-coding-system): Allow value nil for automatic coding
10639 2011-06-01 Glenn Morris <rgm@gnu.org>
10641 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10643 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10645 * image.el (image-animate-max-time): Allow nil and t values.
10647 (create-animated-image): Doc fix.
10648 (image-animate-start): Remove second arg; just use
10649 image-animate-max-time.
10650 (image-animate-timeout): Doc fix. Args changed.
10652 * image-mode.el (image-toggle-display-image): Ensure that the
10653 image spec passed to the animate timer is the same object as in
10654 the buffer's display property (Bug#6981).
10655 (image-transform-properties): Doc fix.
10657 * image.el (image-animate-max-time): Default to nil.
10659 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10661 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10662 entire buffer list (Bug#8184).
10664 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10666 * image.el (imagemagick-types-inhibit)
10667 (imagemagick-register-types): Doc fix.
10669 2011-05-29 Deniz Dogan <deniz@dogan.se>
10671 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10674 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10676 * select.el: Don't perform clipboard-manager saving in hooks;
10677 leave the hooks empty.
10679 2011-05-28 Leo Liu <sdl.web@gmail.com>
10681 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10682 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10683 (occur-edit-mode): New major mode (Bug#8463).
10684 (occur-after-change-function): New function.
10685 (occur-engine): Give Occur tags a read-only property.
10687 2011-05-28 Kevin Ryde <user42@zip.com.au>
10689 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10691 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10693 * bindings.el (help-echo): Make the initial non-indicator dash
10694 empty on graphical terminals (Bug#7295).
10696 * files.el (auto-mode-alist): Move config rule after the
10697 in-stripping one (Bug#8547).
10699 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10701 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10702 setting (Bug#8740).
10704 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10706 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10707 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10710 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10712 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10714 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10716 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10717 (hs-hide-block-at-point, hs-find-block-beginning)
10718 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10721 2011-05-28 Glenn Morris <rgm@gnu.org>
10723 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10725 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10727 * help-fns.el (describe-function-1): If the function is a derived
10728 major mode, print the parent mode.
10730 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10731 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10733 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10735 * minibuffer.el (completion--capf-wrapper): Check applicability before
10736 returning non-nil for non-exclusive completion data.
10737 * progmodes/etags.el (tags-completion-at-point-function):
10738 * info-look.el (info-lookup-completions-at-point): Mark as
10740 (info-complete): Adjust accordingly.
10742 * info-look.el: Convert to lexical-binding and completion-at-point.
10743 (info-lookup-completions-at-point): New function.
10744 (info-complete): Use it and completion-in-region.
10746 2011-05-28 Drew Adams <drew.adams@oracle.com>
10748 * isearch.el: Let M-e start with point at the first mismatched char.
10749 (isearch-fail-pos): New function.
10750 (isearch-edit-string): Use it.
10752 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10754 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10756 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10758 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10759 traversal functions for avl-trees.
10760 (avl-tree--stack): New struct.
10761 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10762 (avl-tree-enter): Add optional `updatefun' arg.
10763 (avl-tree--do-enter): Add optional `updatefun' arg.
10764 Change return value.
10765 (avl-tree-delete): Add optional `test' and `nilflag' args.
10766 (avl-tree--do-delete): Add `test' and `nilflag' args.
10767 Change return value.
10768 (avl-tree-member): Add optional `nilflag'
10769 (avl-tree-member-p): New function.
10770 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10771 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10772 (avl-tree-stack-empty-p): New functions.
10774 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10775 avl-tree--del-balance1 and make it work both ways.
10776 (avl-tree--del-balance2): Remove.
10777 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10778 make it work both ways.
10779 (avl-tree--enter-balance2): Remove.
10780 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10782 (avl-tree--mapc, avl-tree-map): Add direction argument.
10784 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10786 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10788 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10790 * select.el: Support clipboard managers with built-in function
10791 x-clipboard-manager-save, via delete-frame-functions and
10793 (xselect-convert-to-targets): Add MULTIPLE target to list.
10794 (xselect-convert-to-save-targets): New function.
10796 2011-05-27 Kenichi Handa <handa@m17n.org>
10798 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10799 let-binding rfc2047-encode-encoded-words to nil.
10801 2011-05-27 Glenn Morris <rgm@gnu.org>
10803 * mail/emacsbug.el: Don't require url-util.
10805 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10807 * files.el (set-auto-mode):
10808 Also respect mode: entries at the end of the file. (Bug#8586)
10810 2011-05-26 Glenn Morris <rgm@gnu.org>
10812 * files.el (hack-local-variables-prop-line, hack-local-variables):
10813 Downcase mode names, as seems to be traditional.
10814 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10816 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10817 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10819 2011-05-25 Julien Danjou <julien@danjou.info>
10821 * textmodes/rst.el (rst-define-level-faces): Do not define face
10822 symbol if it is already defined.
10824 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10826 * play/5x5.el (5x5-new-game, 5x5-randomize):
10827 Reset 5x5-solver-output to nil when a new grid is cast.
10828 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10829 these debugging traces, as defmacro breaks the compiled code.
10831 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10833 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10835 2011-05-24 Leo Liu <sdl.web@gmail.com>
10837 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10838 (vc-bzr-sha1): Adapt.
10840 * sha1.el: Remove. Function `sha1' is now builtin.
10842 * bindings.el: Provide sha1 feature.
10844 2011-05-24 Kenichi Handa <handa@m17n.org>
10846 * mail/sendmail.el: Require `rfc2047'.
10847 (mail-insert-from-field): Do not perform RFC2047 encoding.
10848 (mail-encode-header): New function.
10849 (sendmail-send-it): Set buffer-file-coding-system of the work
10850 buffer to the return value of select-message-coding-system.
10851 Call mail-encode-header.
10853 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10855 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10857 * mail/supercite.el (sc-default-cite-frame):
10858 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10860 2011-05-24 Glenn Morris <rgm@gnu.org>
10862 * progmodes/python.el (brm-menu): Declare.
10864 * emulation/viper.el (viper-set-hooks): Declare.
10866 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10867 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10868 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10869 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10870 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10871 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10873 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10875 Add an :exit-function for completion-at-point.
10877 * minibuffer.el (completion--done): New fun.
10878 (completion--do-completion): Use it. New arg `expect-exact'.
10879 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10880 since completion--do-completion does it for us now.
10881 (minibuffer-force-complete): Use completion--done and
10882 completion--replace. Handle sole-completion case with more care.
10883 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10884 (completion-extra-properties): New var.
10885 (completion-annotate-function): Make obsolete.
10886 (minibuffer-completion-help): Adjust accordingly.
10887 Use completion-list-insert-choice-function.
10888 (completion-at-point, completion-help-at-point):
10889 Bind completion-extra-properties.
10890 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10891 * simple.el (completion-list-insert-choice-function): New var.
10892 (completion-setup-function): Preserve it.
10893 (choose-completion): Pay attention to it, shuffle the code a bit.
10894 (choose-completion-string): New arg `insert-function'.
10896 * textmodes/bibtex.el: Convert to lexical binding.
10897 (bibtex-mode-map): Use completion-at-point.
10898 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10899 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10900 (bibtex-complete): Define as obsolete alias.
10901 (bibtex-complete-internal): Remove.
10902 (bibtex-format-entry): Remove unused sub-group in regexp.
10903 * shell.el (shell--command-completion-data)
10904 (shell-environment-variable-completion):
10905 * pcomplete.el (pcomplete-completions-at-point):
10906 * comint.el (comint--complete-file-name-data): Use :exit-function
10907 instead of completion-table-with-terminator so it also works for
10910 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10912 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10914 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10917 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10919 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10921 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10922 customization variable and implement: If non-nil, auto-fill will
10923 be inhibited while on topic's header line.
10925 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10927 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10928 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10929 always have a solution in grid size = 5 cases.
10930 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10931 (5x5-solver-output, 5x5-log-buffer): New vars.
10932 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10933 Make these variables buffer local to achieve 5x5 multi-session-ness.
10934 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10935 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10936 (5x5-solve-suggest): New funs.
10937 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10938 randomize a grid so that we ensure that there is always a solution.
10939 (5x5-make-random-grid): Allow other movement than flipping.
10941 2011-05-23 Kevin Ryde <user42@zip.com.au>
10943 * emacs-lisp/advice.el (ad-read-advised-function):
10944 Use `function-called-at-point' as the default, if it has
10945 advice and passes PREDICATE.
10947 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10949 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10950 byte-compile-lambda if it's actually a lambda.
10952 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10953 Fix function quoting. Use backquote better.
10955 2011-05-22 Yuanle Song <sylecn@gmail.com>
10957 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10958 matching (Bug#8516).
10960 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10962 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10963 different face (Bug#8178).
10965 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10967 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10968 defface (Bug#8144).
10970 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10972 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10973 funcall as well (bug#8712). Warn when performing those conversions.
10974 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10976 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10978 2011-05-22 Glenn Morris <rgm@gnu.org>
10980 * files.el (hack-local-variables-prop-line): Small simplifications.
10981 (hack-local-variables, hack-local-variables-prop-line):
10982 If MODE-ONLY, return the mode, rather than just `t'.
10984 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10986 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10988 2011-05-21 Glenn Morris <rgm@gnu.org>
10990 * files.el (hack-local-variables-prop-line, hack-local-variables):
10991 If only interested in the mode, don't bother doing the other stuff.
10993 * image-mode.el (image-after-revert-hook):
10994 Redraw all frames on which the image is visible. (Bug#8567)
10996 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10998 * wid-edit.el (widget-checklist-match-inline):
10999 Fix 2011-04-19 change. (Bug#8649)
11001 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11003 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11004 Also allow singlespace after single-letter capitals followed by a dot.
11006 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11007 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11009 2011-05-20 Nix <nix@esperi.org.uk>
11011 * files.el (basic-save-buffer-2):
11012 Fix handling of break-hardlink-on-save with non-existent files.
11014 2011-05-19 Deniz Dogan <deniz@dogan.se>
11016 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11017 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11019 2011-05-19 Glenn Morris <rgm@gnu.org>
11021 * progmodes/f90.el (f90-type-def-re):
11022 Handle "type, bind(c)". (Bug#8691)
11024 * emacs-lisp/autoload.el (batch-update-autoloads):
11025 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11027 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11029 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11030 property for the correct connection in case of multihops.
11032 2011-05-18 Glenn Morris <rgm@gnu.org>
11034 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11035 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11037 Rationalize calendar handling of day and month abbrev-arrays.
11038 * calendar/calendar.el (calendar-customized-p): New function.
11039 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11040 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11042 (calendar-abbrev-length, calendar-day-abbrev-array)
11043 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11044 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11045 Elements may no longer be nil.
11046 (calendar-day-name, calendar-month-name):
11047 Update for changed nature of abbrev arrays.
11048 * calendar/diary-lib.el (diary-name-pattern):
11049 Update for changed nature of abbrev arrays.
11050 (diary-mark-entries-1): Update calendar-make-alist calls.
11051 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11052 * calendar/cal-html.el (cal-html-day-abbrev-array):
11053 Simply inherit from calendar-day-abbrev-array.
11055 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11057 * progmodes/grep.el (grep-mode): Disable default
11058 compilation-directory-matcher setting (bug#8684).
11060 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
11062 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11063 instead of "head" and "tail". There were problems with SunOS 5.9,
11064 and it performs better.
11066 2011-05-17 Glenn Morris <rgm@gnu.org>
11068 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11070 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11071 Replace obsolete function.
11073 * shell.el (pcomplete-parse-arguments-function): Declare.
11075 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11076 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11077 (appt-check): Doc fixes.
11078 (appt-disp-window-function, appt-delete-window-function):
11079 Remove needless special case in custom :type.
11080 (appt-display-count): Default to 0, not nil.
11081 (appt-check): Reset appt-display-count to 0, not nil.
11083 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11085 * progmodes/python.el (python-font-lock-keywords):
11086 Add the Python 3.X keyword "nonlocal" (bug#8639).
11088 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11090 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11092 2011-05-16 Kevin Ryde <user42@zip.com.au>
11094 * info-look.el (makefile-automake-mode): New setups, looking in
11095 automake manual, then makefile-mode.
11096 (makefile-mode): Remove automake manual, have it just in
11097 makefile-automake-mode since there's various things different or
11098 not relevant to plain make.
11099 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11100 believe a hypothetical automake-mode would go to makefile-mode,
11101 not the other way around.
11103 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
11105 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11106 hunk-end tags (Bug#8672).
11108 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11109 vc-annotate-show-diff-revision-at-line (Bug#8671).
11111 2011-05-14 Glenn Morris <rgm@gnu.org>
11113 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11114 in the middle of an existing one with multiple authors. (Bug#8645)
11115 (change-log-font-lock-keywords): Also handle multiple author lines
11116 with leading tabs. (Bug#8644)
11118 * calendar/appt.el (appt-check): Rename some local variables.
11119 Some simplification/reordering.
11121 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11122 (feedmail-sendmail-f-doesnt-sell-me-out)
11123 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11124 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11125 (feedmail-queue-runner-message-sender): Set :version.
11126 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11127 (bbdb-dwim-net-address, vm-mail): Declare.
11128 (feedmail-binmail-gnulinuxish-template):
11129 Rename from feedmail-binmail-linuxish-template.
11130 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11131 Use insert-buffer-substring.
11133 2011-05-14 Bill Carpenter <bill@carpenter.org>
11135 * mail/feedmail.el (feedmail-patch-level): Increase.
11136 (feedmail-debug): New custom group.
11137 (feedmail-confirm-outgoing-timeout)
11138 (feedmail-sendmail-f-doesnt-sell-me-out)
11139 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11140 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11141 (feedmail-sender-line, feedmail-from-line)
11142 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11143 (feedmail-spray-this-address)
11144 (feedmail-spray-address-fiddle-plex-list)
11145 (feedmail-queue-use-send-time-for-date)
11146 (feedmail-queue-use-send-time-for-message-id)
11147 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11148 (feedmail-buffer-eating-function):
11150 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11151 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11152 (feedmail-message-action-scroll-down): New functions.
11153 (feedmail-queue-directory, feedmail-queue-draft-directory):
11154 Use expand-file-name.
11155 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11156 Remove C-v help entry.
11157 (feedmail-queue-buffer-file-name): New variable.
11158 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11159 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11160 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11161 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11162 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11163 (feedmail-message-action-toggle-spray)
11164 (feedmail-run-the-queue-no-prompts)
11165 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11166 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11167 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11168 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11169 (feedmail-envelope-deducer, feedmail-fiddle-from)
11170 (feedmail-fiddle-sender, feedmail-default-date-generator)
11171 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11172 (feedmail-fiddle-spray-address)
11173 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11174 (feedmail-fiddle-list-of-fiddle-plexes)
11175 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11176 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11177 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11178 Change default. Doc fix.
11179 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11180 (feedmail-binmail-linuxish-template): New constant.
11181 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11182 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11183 (feedmail-send-it): Add debug call.
11184 Use feedmail-queue-buffer-file-name, and
11185 feedmail-send-it-immediately-wrapper.
11186 (feedmail-message-action-send): Add debug call.
11187 Use feedmail-send-it-immediately-wrapper.
11188 (feedmail-queue-express-to-queue): Add debug call.
11189 Run feedmail-queue-express-hook.
11190 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11191 (feedmail-message-action-help-blat):
11192 Rename from feedmail-queue-send-edit-prompt-help-first.
11193 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11194 Check line-endings. Handle errors better.
11195 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11196 Doc fix. Add debug call.
11197 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11198 Use feedmail-queue-send-edit-prompt-inner.
11199 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11200 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11201 from feedmail-queue-send-edit-prompt.
11202 (feedmail-queue-send-edit-prompt-help)
11203 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11204 (feedmail-tidy-up-slug): Add debug call.
11205 Respect feedmail-queue-slug-suspect-regexp.
11206 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11207 (feedmail-dump-message-to-queue): Add debug call.
11208 Expand queue-directory.
11209 (feedmail-dump-message-to-queue): Change message slightly.
11210 Use feedmail-say-chatter.
11211 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11212 (feedmail-send-it-immediately-wrapper): New function.
11213 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11214 Insert empty string rather than newline. Handle full-frame case.
11215 Use catch/throw. Use feedmail-say-chatter.
11216 (feedmail-fiddle-from): Try mail-host-address.
11217 (feedmail-default-message-id-generator): Doc fix.
11218 Bind system-time-locale. Handle missing end.
11219 (feedmail-fiddle-x-mailer): Add debug call.
11220 Handle feedmail-x-mailer-line being nil.
11221 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11222 Add debug call. Use buffer-substring-no-properties.
11223 (feedmail-say-debug, feedmail-say-chatter): New functions.
11224 (feedmail-find-eoh): Give an explicit error.
11226 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11228 * net/newst-treeview.el (newsticker-treeview-face): Change default
11229 family from helvetica to sans.
11230 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11231 etc/images/newsticker.
11233 * net/newst-reader.el (newsticker-feed-face): Change default
11234 family from helvetica to sans.
11236 * net/newst-plainview.el (newsticker-new-item-face)
11237 (newsticker-old-item-face, newsticker-immortal-item-face)
11238 (newsticker-obsolete-item-face, newsticker-date-face)
11239 (newsticker-statistics-face): Change default family from
11241 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11242 etc/images/newsticker.
11244 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11245 (newsticker--process-auto-mark-filter-match): Tell user about
11248 2011-05-13 Didier Verna <didier@xemacs.org>
11250 Common Lisp indentation improvements on defmethod and lambda-lists.
11251 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11253 (lisp-lambda-list-keyword-parameter-indentation)
11254 (lisp-lambda-list-keyword-parameter-alignment)
11255 (lisp-lambda-list-keyword-alignment): New customizable user options.
11256 (lisp-indent-defun-method): Improve docstring.
11257 (extended-loop-p): Fix comment.
11258 (lisp-indent-lambda-list-keywords-regexp): New variable.
11259 (lisp-indent-lambda-list): New function.
11260 (lisp-indent-259): Use it.
11261 (lisp-indent-defmethod): Support for more than one
11262 method qualifier and properly indent methods lambda-lists.
11263 (defgeneric): Provide a missing common-lisp-indent-function property.
11265 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11267 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11268 bounds for the empty string (bug#8667).
11270 2011-05-13 Glenn Morris <rgm@gnu.org>
11272 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11274 * mail/sendmail.el (sendmail-program): Try executable-find first.
11275 (sendmail-send-it): `sendmail-program' cannot be unbound.
11277 * calendar/appt.el (appt-make-list): Simplify.
11278 (appt-time-msg-list): Doc fix.
11279 (appt-check): Change mode-line message at the time of the appointment.
11281 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11283 * progmodes/ld-script.el (ld-script-keywords)
11284 (ld-script-builtins): Update keywords list.
11286 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11288 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11290 * shell.el (shell-completion-vars): New function.
11292 * simple.el (read-shell-command): Use it.
11293 (blink-matching-open): No need for " [...]" in minibuffer-message.
11295 2011-05-12 Glenn Morris <rgm@gnu.org>
11297 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11298 (appt-check): Simplify.
11300 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11302 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11303 literal "/dev/null".
11305 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11307 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11310 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11312 * progmodes/which-func.el (which-function):
11313 Use add-log-current-defun instead of add-log-current-defun-function,
11314 which might not be defined (Bug#8260).
11316 2011-05-12 Glenn Morris <rgm@gnu.org>
11318 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11319 Let byte-compile-initial-macro-environment always take precedence.
11321 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11323 * net/rcirc.el: Add support for SSL/TLS connections.
11324 (rcirc-server-alist): New field `encryption'.
11325 (rcirc): Check `encryption' settings.
11326 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11327 Merge make-local-variable into `set'.
11328 (rcirc--connection-open-p): New function.
11329 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11330 the process is not a network process (e.g. running gnutls-cli).
11331 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11332 Make rcirc-(en|de)code-coding-system local here.
11333 (rcirc-mode): Merge make-local-variable into `set'.
11334 (rcirc-parent-buffer): Make permanent buffer-local.
11335 (rcirc-multiline-minor-mode): Don't do it here.
11336 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11337 there's no server buffer.
11339 2011-05-11 Glenn Morris <rgm@gnu.org>
11341 * newcomment.el (comment-kill): Prefix "unused" local.
11343 * term/w32console.el (get-screen-color): Declare.
11345 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11346 Handle symbol elements of byte-compile-initial-macro-environment.
11348 2011-05-10 Leo Liu <sdl.web@gmail.com>
11350 * bookmark.el (bookmark-bmenu-mode-map):
11351 Bind bookmark-bmenu-search to `/'.
11353 * mail/footnote.el: Convert to utf-8 encoding.
11354 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11355 (Footnote-unicode): New function.
11356 (footnote-style-alist): Add unicode style to the list.
11357 (footnote-style): Doc fix.
11359 2011-05-10 Jim Meyering <meyering@redhat.com>
11361 Fix doubled-word typos.
11362 * international/quail.el (quail-insert-kbd-layout): and and -> and
11363 * kermit.el: and and -> and
11364 * net/ldap.el (ldap-search-internal): to to -> to
11365 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11366 * progmodes/js.el (js-mode): and and -> and
11367 * textmodes/artist.el (artist-move-to-xy): at at -> at
11368 (artist-draw-region-trim-line-endings): if if -> if
11369 And Safetyc -> Safety.
11370 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11372 2011-05-10 Glenn Morris <rgm@gnu.org>
11373 Stefan Monnier <monnier@iro.umontreal.ca>
11375 * files.el (hack-one-local-variable-eval-safep):
11376 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11378 2011-05-10 Glenn Morris <rgm@gnu.org>
11380 * calendar/diary-lib.el (diary-list-entries-hook)
11381 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11382 (diary-nongregorian-marking-hook, diary-list-entries)
11383 (diary-include-other-diary-files, diary-mark-entries)
11384 (diary-mark-included-diary-files): Doc fixes.
11386 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11388 * misc.el: Require tabulated-list.el during compilation.
11390 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11392 * progmodes/compile.el (compilation-start):
11393 Run compilation-filter-hook for the async case too.
11394 (compilation-filter-hook): Doc fix.
11396 2011-05-09 Deniz Dogan <deniz@dogan.se>
11398 * wdired.el: Remove outdated installation comment. Fix usage
11401 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11403 * misc.el: Implement new command `list-dynamic-libraries'.
11404 (list-dynamic-libraries--loaded-only-p): New variable.
11405 (list-dynamic-libraries--refresh): New function.
11406 (list-dynamic-libraries): New command.
11408 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11410 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11411 Fix the ant regexp to handle end-line and end-column info from jikes.
11412 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11413 higher priority to avoid clobbering by gnu.
11415 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11417 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11418 if the face has existing theme settings (Bug#8454).
11420 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11422 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11423 Only match variables declared via `my' or `our' (Bug#8261).
11425 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11426 special file names `.' and `..' (Bug#8259).
11428 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11430 * progmodes/grep.el (grep-mode-font-lock-keywords):
11431 Remove buffer-changing entries.
11432 (grep-filter): New function.
11433 (grep-mode): Add it to compilation-filter-hook.
11435 * progmodes/compile.el (compilation-filter-hook)
11436 (compilation-filter-start): New defvars.
11437 (compilation-filter): Call compilation-filter-hook prior to
11438 updating the process mark.
11440 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11442 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11444 2011-05-07 Eli Zaretskii <eliz@gnu.org>
11446 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11447 mailclient-send-it even if window-system is nil. (Bug#8595)
11449 * term/w32console.el (terminal-init-w32console):
11450 Call get-screen-color and use its output to set the frame
11451 background-mode. (Bug#8597)
11453 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11455 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11456 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11458 (defgeneric, eieio--defmethod): Use them.
11459 (eieio-defgeneric): Remove.
11460 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11462 2011-05-07 Glenn Morris <rgm@gnu.org>
11464 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11465 Use let rather than let*.
11466 (timeclock-find-discrep): Remove unused local.
11468 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11470 * calendar/appt.el (appt-time-msg-list): Doc fix.
11472 2011-05-06 Noah Friedman <friedman@splode.com>
11474 * apropos.el (apropos-print-doc): Only use
11475 emacs-lisp-docstring-fill-column when it is bound to an integer,
11476 per that variable's documentation.
11478 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11480 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11481 and warnings are not silently discarded (e.g. use -d instead of -P).
11483 2011-05-06 Glenn Morris <rgm@gnu.org>
11485 * calendar/appt.el (appt-message-warning-time): Doc fix.
11486 (appt-warning-time-regexp): New option.
11487 (appt-make-list): Respect appt-message-warning-time.
11489 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11491 (diary-add-to-list): Strip comments from the displayed string.
11492 (diary-mode): Set comment-start and comment-end.
11494 * vc/diff-mode.el (smerge-refine-subst): Declare.
11495 (diff-refine-hunk): Don't require smerge-mode when compiling.
11497 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11499 * simple.el (list-processes): Return nil as the docstring says.
11501 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11503 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11505 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11506 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11507 determining of binary transfer. (Bug#7383)
11509 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11511 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11512 Fix port computation bug. (Bug#8618)
11514 2011-05-05 Glenn Morris <rgm@gnu.org>
11516 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11518 * simple.el (shell-dynamic-complete-functions)
11519 (comint-dynamic-complete-functions): Declare.
11521 * net/network-stream.el (gnutls-negotiate):
11522 * simple.el (tabulated-list-print): Fix declarations.
11524 * progmodes/gud.el (syntax-symbol, syntax-point):
11525 Remove unnecessary and incorrect declarations.
11527 * emacs-lisp/check-declare.el (check-declare-scan):
11528 Handle byte-compile-initial-macro-environment in bytecomp.el
11530 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11532 Fix earlier half-done eieio-defmethod change (bug#8338).
11533 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11534 Streamline and change calling convention.
11535 (defmethod): Adjust accordingly and simplify.
11536 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11537 new eieio--defmethod.
11538 (slot-boundp): Minor CSE simplification.
11540 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11542 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11543 (glasses-make-readable): Use glasses-separate-capital-groups.
11545 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11547 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11548 (warning-series): Doc fix.
11549 (display-warning): Don't try to create the buffer if we just found it.
11551 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11553 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11554 (autoload-find-generated-file): New function.
11555 (generate-file-autoloads): Bind generated-autoload-file to
11557 (update-file-autoloads, update-directory-autoloads):
11558 Use autoload-find-generated-file. If called interactively, prompt for
11559 output file (Bug#7989).
11560 (batch-update-autoloads): Doc fix.
11562 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11564 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11566 2011-05-04 Glenn Morris <rgm@gnu.org>
11568 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11569 function, so it follows changes in calendar-date-style.
11570 (diary-fancy-date-matcher): New function.
11571 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11572 (diary-fancy-font-lock-fontify-region-function):
11573 Use diary-fancy-date-pattern as a function.
11575 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11576 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11578 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11580 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11581 instead of positional arguments. Allow :keylist and :crlfiles
11583 (open-gnutls-stream): Call it.
11585 * net/network-stream.el (network-stream-open-starttls): Adjust to
11586 call `gnutls-negotiate' with :process and :hostname arguments.
11588 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11590 * minibuffer.el (completion--message): New function.
11591 (completion--do-completion, minibuffer-complete)
11592 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11593 (completion--do-completion): Don't ignore completion-auto-help when in
11596 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11597 internal encoding (e.g. tibetan zero is not whitespace).
11598 (global-whitespace-mode): Prefer save-current-buffer.
11599 (whitespace-trailing-regexp): Remove useless save-match-data.
11600 (whitespace-empty-at-bob-regexp): Minor simplification.
11602 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11604 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11606 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
11608 * textmodes/ispell.el (ispell-add-per-file-word-list):
11609 Use `concat' to create string for insertion.
11611 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11613 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11614 Avoid open-line which runs post-self-insert-hook.
11615 (bibtex-fill-entry): Remove unused `end' var.
11617 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11619 * textmodes/ispell.el (ispell-add-per-file-word-list):
11620 Protect against `nil' value of `comment-start' (Bug#8579).
11622 2011-05-03 Leo Liu <sdl.web@gmail.com>
11624 * isearch.el (isearch-yank-pop): New command.
11625 (isearch-mode-map): Bind it to `M-y'.
11626 (isearch-forward): Mention it.
11628 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11630 * simple.el (minibuffer-complete-shell-command): Remove.
11631 (minibuffer-local-shell-command-map): Use completion-at-point.
11632 (read-shell-command): Setup completion vars here instead.
11633 (read-expression-map): Bind TAB to symbol completion.
11635 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11636 error directly rather via storing it into `results'.
11638 2011-05-02 Leo Liu <sdl.web@gmail.com>
11640 * vc/diff.el: Fix description.
11642 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11644 * server.el (server-eval-at): New function.
11646 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11648 * net/network-stream.el (open-network-stream): Take a :nowait
11649 parameter and pass it on to `make-network-process'.
11650 (network-stream-open-plain): Ditto.
11652 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11654 * faces.el (face-spec-set-match-display): Don't match toolkit
11655 options on terminal frames.
11657 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11659 * progmodes/pascal.el: Use lexical binding.
11660 (pascal-mode-map): Remove author preferences.
11662 * pcomplete.el (pcomplete-std-complete): Don't abuse
11663 completion-at-point.
11665 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11667 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11668 removing code that has been dead since 1991 or so.
11670 * startup.el (command-line): When warning about "_emacs", use a
11671 delayed warning to allow the user to filter it out.
11673 2011-04-28 Deniz Dogan <deniz@dogan.se>
11675 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11676 user has not joined.
11678 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11680 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11681 aren't any completions at point.
11683 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11685 * subr.el (display-delayed-warnings): New function.
11686 (delayed-warnings-hook): New variable.
11688 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11690 * minibuffer.el (completion-at-point, completion-help-at-point):
11691 Don't presume that a given completion-at-point-function will always
11692 use the same calling convention.
11694 * pcomplete.el (pcomplete-completions-at-point):
11695 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11696 pcomplete-seen is non-nil.
11697 (pcomplete-comint-setup): Also recognize the new comint/shell
11698 completion functions.
11699 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11700 pcomplete-seen is non-nil.
11702 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11704 * calendar/icalendar.el (diary-lib): Add require statement.
11705 (icalendar--create-uid): Read out a uid from a text-property on
11706 the first character in the entry. This allows for code to add its
11707 own uid to the entry.
11708 (icalendar--convert-float-to-ical): Add export of
11709 `diary-float'-entries save for those with the optional DAY
11712 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11714 * subr.el (shell-quote-argument): Use alternate escaping strategy
11715 when we spot a variable reference in a string.
11717 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11719 * cus-start.el (all): Define customization for debug-on-event.
11721 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11723 * subr.el (shell-quote-argument): Escape correctly under Windows.
11725 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11727 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11729 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11731 * net/tramp.el (tramp-process-actions): Add POS argument.
11732 Delete region between POS and (pos).
11734 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11735 Use `nil' position in `tramp-process-actions' call.
11736 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11738 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11739 position in `tramp-process-actions' call.
11741 * net/trampver.el: Update release number.
11743 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11745 * custom.el (defcustom): Obey lexical-binding.
11747 Fix octave-inf completion problems reported by Alexander Klimov.
11748 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11749 Inherit from octave-mode-syntax-table.
11750 (inferior-octave-mode): Set info-lookup-mode.
11751 (inferior-octave-completion-at-point): New function.
11752 (inferior-octave-complete): Use it and completion-in-region.
11753 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11754 comint-filename-completion.
11755 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11756 symbol elements which shouldn't be word elements.
11757 (octave-font-lock-keywords, octave-beginning-of-defun)
11758 (octave-function-header-regexp): Adjust regexps accordingly.
11759 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11761 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11763 * net/gnutls.el (gnutls-errorp): Declare before first use.
11765 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11767 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11768 verify-error, and verify-hostname-error parameters. Check whether
11769 default trustfile exists before going to use it. Add missing
11770 argument to gnutls-message-maybe call. Return value.
11771 Reported by Claudio Bley <claudio.bley@gmail.com>.
11772 (open-gnutls-stream): Add usage example.
11774 * net/network-stream.el (network-stream-open-starttls): Give host
11775 parameter to `gnutls-negotiate'.
11776 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11777 * subr.el (shell-quote-argument): Escape correctly under Windows.
11779 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11781 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11782 Use correct match group (bug#8438).
11784 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11786 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11787 (package-menu--generate): New arg specifying packages to show.
11788 (package-menu-refresh, package-menu-execute, list-packages):
11790 (package-show-package-list): New function, replacing deleted
11791 package--list-packages (renamed because it is non-internal).
11793 * finder.el (finder-list-matches): Use package-show-package-list
11794 instead of deleted package--list-packages.
11796 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11797 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11798 (vc-annotate-mode-map): Bind it to RET.
11800 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11802 * progmodes/etags.el (next-file): Don't use set-buffer to change
11803 buffers (Bug#8478).
11805 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11807 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11809 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11810 (apropos-accumulator): Doc fix.
11811 (apropos-function, apropos-macro, apropos-command)
11812 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11813 (apropos-plist): Add face property.
11814 (apropos-symbols-internal): Fix indentation.
11815 (apropos-print): Simplify help, and recognize apropos-multi-type.
11816 (apropos-print-doc): Use button-type-get to extract the button's
11817 face property. Fill docstring (Bug#8352).
11819 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11821 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11823 * play/mpuz.el (mpuz-silent): Doc fix.
11824 (mpuz-mode-map): Use mapc.
11825 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11826 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11827 Fix typos in docstrings.
11829 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11830 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11832 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11834 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11836 * minibuffer.el (completion--do-completion): Avoid the "Next char
11837 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11839 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11840 mouse-2 into unread-command-events, it is interpreted correctly.
11842 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11843 (image-toggle-display): Doc fix.
11845 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11847 * textmodes/page.el (what-page): Use line-number-at-pos to
11848 calculate line number (Bug#6825).
11850 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11852 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11853 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11854 Pass argument NO-DEFAULT to `find-tag-interactive'.
11856 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11858 Lexical-binding cleanup.
11860 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11861 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11862 * progmodes/ada-prj.el (ada-prj-initialize-values)
11863 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11864 (ada-prj-show-value):
11865 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11866 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11867 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11868 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11869 * progmodes/bug-reference.el (bug-reference-push-button):
11870 * progmodes/fortran.el (fortran-line-length):
11871 * progmodes/glasses.el (glasses-change):
11872 * progmodes/octave-mod.el (octave-fill-paragraph):
11873 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11874 (python-pdbtrack-grub-for-buffer, python-sentinel):
11875 * progmodes/sql.el (sql-save-connection):
11876 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11877 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11878 Mark unused parameters.
11880 * progmodes/compile.el (compilation--flush-directory-cache)
11881 (compilation--flush-parse, compile-internal): Mark unused parameters.
11882 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11883 (compilation-next-error-function): Remove unused variable `timestamp'.
11885 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11886 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11888 * progmodes/dcl-mode.el (dcl-end-of-command):
11889 Remove unused variable `start'.
11890 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11891 (dcl-option-value-basic, dcl-option-value-offset)
11892 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11893 Mark unused parameters.
11894 (dcl-save-local-variable): Remove unused variable `val'.
11897 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11898 Mark unused parameters.
11899 (delphi-ignore-changes): Move before first use.
11900 (delphi-charset-token-at): Remove unused variable `start'.
11901 (delphi-else-start): Remove unused variable `if-count'.
11902 (delphi-comment-block-start, delphi-comment-block-end):
11903 Remove unused variable `kind'.
11904 (delphi-indent-line): Remove unused variable `new-point'.
11906 * progmodes/ebrowse.el (ebrowse-files-list)
11907 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11908 Mark unused parameters. Don't quote `lambda'.
11909 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11910 Don't quote `lambda'.
11911 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11912 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11913 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11914 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11915 Use `ignore-errors'.
11916 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11917 (ebrowse-view/find-file-and-search-pattern)
11918 (ebrowse-view/find-member-declaration/definition):
11919 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11920 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11921 Rename parameter PREFIX-ARG to PREFIX.
11922 (ebrowse-tags-read-name): Remove unused variables `start' and
11924 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11927 * progmodes/etags.el (local-find-tag-hook): Declare.
11928 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11929 Mark unused parameters.
11931 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11932 (executable-interpret): Mark unused parameter.
11934 * progmodes/flymake.el (flymake-process-sentinel)
11935 (flymake-after-change-function)
11936 (flymake-create-temp-with-folder-structure)
11937 (flymake-get-include-dirs-dot): Mark unused parameters.
11938 (flymake-safe-delete-directory): Remove unused variable `err'.
11940 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11941 (speedbar-timer-fn, speedbar-line-text)
11942 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11943 (speedbar-center-buffer-smartly): Declare functions.
11944 (gdb-find-watch-expression): Remove unused variable `array'.
11945 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11946 (gdb-starting): Mark unused parameters.
11947 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11948 (gdb-table-string): Remove unused variable `res'.
11949 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11950 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11951 (gdb-display-buffer): Remove unused variable `cur-size'.
11953 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11954 allow lexical-binding compilation.
11955 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11956 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11957 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11958 Mark unused parameters.
11959 (gud-gdb-marker-filter): Remove unused variable `match'.
11960 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11961 lambda expressions and funcall them, instead of using `fset'.
11963 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11964 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11966 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11967 variable `header-beg'; use `let'.
11969 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11970 `restart', `last-sexp' and `at-do'.
11972 * progmodes/js.el (js--debug): Mark unused parameter.
11973 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11974 (js--splice-into-items): Remove unused variable `item'.
11975 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11977 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11978 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11979 (makefile-complete): Remove unused variable `try'.
11980 (makefile-fill-paragraph, makefile-match-function-end):
11981 Mark unused parameters.
11983 * progmodes/octave-inf.el (inferior-octave-complete):
11984 Remove unused variable `proc'.
11985 (inferior-octave-output-digest): Mark unused parameter.
11987 * progmodes/perl-mode.el (perl-calculate-indent):
11988 Remove unused variable `err'.
11990 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11991 (prolog-indent-line): Mark unused parameters.
11992 (prolog-indent-line): Remove unused variable `beg'.
11994 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11995 (reporter-dont-compact-list): Declare.
11997 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11998 Remove unused variable `char'.
11999 (sh-debug): Mark unused parameter.
12000 (sh-get-indent-info): Remove unused variable `start'.
12001 (sh-calculate-indent): Remove unused variable `var'.
12003 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12004 (simula-electric-keyword): Remove unused variable `null'.
12005 (simula-search-backward, simula-search-forward): Remove unused
12006 variables `begin' and `end'.
12008 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12009 Remove unused variable `pos'.
12010 (vera-electric-tab, vera-comment-uncomment-region):
12011 Mark unused parameters.
12012 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12014 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12016 * emacs-lisp/package.el (package--builtins, package-alist)
12017 (package-load-descriptor, package-built-in-p, package-activate)
12018 (define-package, package-installed-p)
12019 (package-compute-transaction, package-buffer-info)
12020 (package--push): Doc fix. Distinguish more clearly between
12021 version strings and version lists.
12023 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12025 Lexical-binding cleanup.
12027 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12028 (5x5-make-mutate-best):
12029 * play/fortune.el (fortune-in-buffer):
12030 * play/gomoku.el (gomoku-init-display):
12031 * play/solitaire.el (solitaire, solitaire-do-check):
12032 * play/tetris.el (tetris-default-update-speed-function):
12033 Mark unused parameters.
12035 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12036 (bubbles--shift): Remove unused variable `char-org'.
12037 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12038 (bubbles--show-images): Remove unused variable `char'.
12040 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12041 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12042 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12043 (decipher-analyze-buffer): Use ?\s.
12044 (decipher-make-checkpoint): Remove unused variable `mapping'.
12046 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12048 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12049 Remove unused variable `result'; use `let'.
12051 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12052 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12053 (gametree-children-shown-p, gametree-compute-reduced-score):
12054 Use `ignore-errors'.
12056 * play/handwrite.el (ps-lpr-switches): Declare.
12057 (handwrite): Remove unused variables `pmin' and `lastp'.
12059 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12061 * play/landmark.el (landmark-init-display)
12062 (landmark-update-naught-weights): Mark unused parameters.
12063 (landmark-y): Remove unused variable `noise'. Simplify.
12064 (landmark-human-plays): Remove unused variable `score'.
12066 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12067 (mpuz-try-proposal): Remove unused variable `game'.
12069 * play/zone.el (life-patterns): Declare.
12071 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12073 * vc/vc.el (ediff-vc-internal): Declare function.
12075 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12077 * shell.el: Use lexical-binding and std completion UI.
12078 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12079 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12080 comint-preoutput-filter-functions rather than on
12081 comint-output-filter-functions.
12082 (shell-command-completion, shell--command-completion-data)
12083 (shell-filename-completion, shell-environment-variable-completion)
12084 (shell-c-a-p-replace-by-expanded-directory): New functions.
12085 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12086 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12087 (shell-dynamic-complete-environment-variable): Use them.
12088 (shell-dynamic-complete-as-environment-variable)
12089 (shell-dynamic-complete-as-command): Remove.
12090 (shell-match-partial-variable): Match past point.
12091 * comint.el: Clean up use of completion-at-point-functions.
12092 (comint-completion-at-point): New function.
12093 (comint-mode): Use it completion-at-point-functions.
12094 (comint-dynamic-complete): Make it obsolete.
12095 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12096 (comint-c-a-p-replace-by-expanded-history): New function.
12097 (comint-dynamic-complete-functions)
12098 (comint-replace-by-expanded-history): Use it.
12099 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12100 termination strings. Try harder to avoid second try-completion.
12101 (completion-in-region-mode-map): Disable bindings that don't work yet.
12103 * comint.el: Use lexical-binding. Require CL.
12104 (comint-dynamic-complete-functions): Use comint-filename-completion.
12105 (comint-completion-addsuffix): Tweak custom type.
12106 (comint-filename-completion, comint--common-suffix)
12107 (comint--common-quoted-suffix, comint--table-subvert)
12108 (comint--complete-file-name-data): New functions.
12109 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12110 (comint-dynamic-list-filename-completions): Use them.
12111 (comint-dynamic-simple-complete): Make obsolete.
12113 * minibuffer.el (completion-in-region-mode):
12114 Keep completion-in-region-mode--predicate global.
12115 (completion-in-region--postch):
12116 Assume completion-in-region-mode--predicate is not null.
12118 * progmodes/flymake.el (flymake-start-syntax-check-process):
12119 Obey `dir'. Simplify.
12121 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12122 we're in VC after all.
12124 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12126 * vc/vc.el (vc-diff-build-argument-list-internal)
12127 (vc-version-ediff, vc-ediff): New commands.
12128 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12130 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12132 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12135 * obsolete/erc-hecomplete.el: Make obsolete.
12136 * obsolete/: Standardize obsolescence info in the header.
12138 2011-04-20 Glenn Morris <rgm@gnu.org>
12140 * calendar/solar.el (solar-horizontal-coordinates):
12141 Use the longitude argument rather than `calendar-longitude'.
12142 (solar-date-next-longitude): Remove unused locals.
12144 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12146 * whitespace.el: New version 13.2.1.
12148 2011-04-20 felix <EmacsWiki> (tiny change)
12150 * whitespace.el (global-whitespace-mode): Keep highlight when
12151 switching between major modes on a file.
12153 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12155 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12156 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12157 multi-line comments as well.
12159 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12161 Lexical-binding cleanup.
12163 * arc-mode.el (archive-mode-revert):
12164 * cmuscheme.el (scheme-interactively-start-process):
12165 * custom.el (custom-initialize-delay):
12166 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12167 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12168 * emacs-lock.el (emacs-lock-clear-sentinel):
12169 * ezimage.el (defezimage):
12170 * follow.el (follow-avoid-tail-recenter):
12171 * fringe.el (set-fringe-mode-1):
12172 * generic-x.el (bat-generic-mode-compile):
12173 * help-mode.el (help-info-variable, help-do-xref)
12174 (help-mode-revert-buffer):
12175 * help.el (view-emacs-todo):
12176 * iswitchb.el (iswitchb-completion-help):
12177 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12178 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12179 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12180 * locate.el (locate-update):
12181 * longlines.el (longlines-encode-region)
12182 (longlines-after-change-function):
12183 * outline.el (outline-isearch-open-invisible):
12184 * ps-def.el (declare-function, charset-dimension, char-width)
12186 * ps-mule.el (ps-mule-plot-string):
12187 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12188 (recentf-edit-list-select, recentf-edit-list-validate)
12189 (recentf-open-files-action):
12190 * rect.el (delete-whitespace-rectangle-line)
12191 (rectangle-number-line-callback):
12192 * register.el (window-configuration-to-register)
12193 (frame-configuration-to-register):
12194 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12195 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12196 (xselect-convert-to-targets, xselect-convert-to-delete)
12197 (xselect-convert-to-filename, xselect-convert-to-charpos)
12198 (xselect-convert-to-lineno, xselect-convert-to-colno)
12199 (xselect-convert-to-os, xselect-convert-to-host)
12200 (xselect-convert-to-user, xselect-convert-to-class)
12201 (xselect-convert-to-name, xselect-convert-to-integer)
12202 (xselect-convert-to-atom, xselect-convert-to-identity):
12203 * subr.el (declare, ignore, process-kill-without-query)
12204 (text-clone-maintain):
12205 * terminal.el (te-get-char, te-tic-sentinel):
12206 * tool-bar.el (tool-bar-make-keymap):
12207 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12208 * type-break.el (type-break-mode, type-break-noninteractive-query):
12209 * view.el (View-back-to-mark):
12210 * wid-browse.el (widget-browse-action, widget-browse-widget)
12211 (widget-browse-widgets, widget-browse-sexp):
12212 * widget.el (define-widget-keywords):
12213 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12214 Mark unused parameters.
12216 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12217 (align-areas): Remove unused variable `look'.
12218 (align-region): Remove unused variables `real-end' and `pos-list'.
12220 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12222 * bindings.el (mode-line-modified, mode-line-remote):
12223 Mark unused parameters.
12224 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12226 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12227 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12229 * comint.el (comint-history-isearch-pop-state)
12230 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12231 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12232 (comint-substitute-in-file-name): Doc fix.
12234 * completion.el (cmpl-statistics-block): Mark unused parameter.
12235 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12236 (save-completions-to-file, load-completions-from-file):
12237 Remove unused local variable `e'.
12239 * composite.el (compose-chars): Remove unused variable `len'.
12240 (lgstring-insert-glyph): Remove unused variable `g'.
12241 (compose-glyph-string): Remove unused variables `ascent',
12242 `descent', `lbearing' and `rbearing'.
12243 (compose-glyph-string-relative): Remove unused variables
12244 `lbearing', `rbearing' and `wadjust'.
12245 (compose-gstring-for-graphic): Remove unused variables `header',
12246 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12247 (compose-gstring-for-terminal): Remove unused variables `header'
12248 and `nchars'. Use `let', not `let*'.
12250 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12251 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12252 (Custom-buffer-done, custom-buffer-create-internal)
12253 (custom-browse-visibility-action, custom-browse-group-tag-action)
12254 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12255 (widget-magic-mouse-down-action, custom-toggle-parent)
12256 (custom-add-parent-links, custom-toggle-hide-variable)
12257 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12258 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12259 (custom-face-menu-create, custom-variable-menu-create, get)
12260 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12261 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12262 (customize-apropos): Remove unused variable `tests'.
12263 (custom-group-value-create): Remove unused variable `hidden-p'.
12264 (sort-fold-case): Declare.
12266 * cus-theme.el (custom-reset-standard-faces-list)
12267 (custom-reset-standard-variables-list): Declare.
12268 (customize-create-theme, custom-theme-revert, custom-theme-write)
12269 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12270 Mark unused parameters.
12272 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12274 * delim-col.el (delimit-columns-max): Move defvar before first use.
12276 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12277 (describe-char): Don't quote `lambda'. Mark unused parameter.
12279 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12280 (auto-insert): Declare.
12281 (desktop-restore-file-buffer): Rename desktop-* parameters;
12283 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12284 (desktop-buffer): Rename desktop-* parameters.
12286 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12287 (dframe-reposition-frame-xemacs, dframe-help-echo)
12288 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12289 Mark unused parameters.
12291 * dired-aux.el (backup-extract-version-start, overwrite-query)
12292 (overwrite-backup-query, rename-regexp-query)
12293 (rename-non-directory-query): Declare.
12294 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12295 (dired-add-entry): Remove unused variable `orig-file-name'.
12296 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12297 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12298 `dired-copy-preserve-time' directly.
12299 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12300 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12302 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12303 (dired-virtual-revert, dired-make-relative-symlink):
12304 Mark unused parameters.
12305 (manual-program): Declare.
12306 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12307 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12308 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12310 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12312 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12314 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12317 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12319 * electric.el (Electric-command-loop): Rename parameter
12320 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12322 * expand.el (expand-in-literal): Remove unused variable `here'.
12324 * facemenu.el (facemenu-add-new-color):
12325 Remove unused variable `docstring'.
12327 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12328 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12329 (face-attr-construct): Mark unused parameter. Doc fix.
12330 (read-color): Remove unused variable `hex-string'.
12332 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12333 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12334 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12335 (display-buffer-other-frame): Remove unused variable `old-window'.
12336 (kill-buffer-hook): Declare.
12337 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12338 Mark unused parameters.
12339 (after-find-file): Pass 1 to `auto-save-mode', not t.
12341 * files-x.el (auto-insert): Declare.
12342 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12344 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12345 variable `buf'. Mark unused parameter.
12346 (find-lisp-insert-directory): Mark unused parameter.
12348 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12349 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12350 (format-common-tail): Remove, unused.
12351 (format-deannotate-region): Remove unused variable `loc'.
12352 (format-annotate-region): Remove unused variable `p'.
12353 (format-annotate-single-property-change): Remove unused variables
12354 `default' and `tail'.
12356 * forms.el (read-file-filter): Declare.
12357 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12359 * frame.el (frame-creation-function-alist): Mark unused parameter.
12360 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12362 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12363 Remove unused parameters.
12364 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12365 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12367 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12368 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12369 (hfy-prepare-tag-map): Mark unused parameters.
12370 (htmlfontify-buffer): Use `called-interactively-p'.
12372 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12373 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12374 (ibuffer-do-occur): Mark unused parameters.
12375 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12376 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12378 * ibuffer.el: Don't quote `lambda'.
12379 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12380 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12381 Mark unused parameters.
12383 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12384 (ido-completing-read): Mark unused parameters.
12385 (ido-copy-current-word): Mark unused parameters;
12386 remove unused variable `name'.
12387 (ido-sort-merged-list): Remove unused parameter `dirs'.
12389 * ielm.el (ielm-input-sender): Mark unused parameter.
12390 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12391 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12392 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12393 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12394 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12396 * image-dired.el (image-dired-display-thumbs): Remove unused
12397 variables `curr-file' and `count'.
12398 (image-dired-remove-tag): Remove unused variable `start'.
12399 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12400 variable `curr-file'
12401 (image-dired-rotate-original): Remove unused variable `temp-file'.
12402 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12403 Remove unused variable `file'.
12404 (image-dired-gallery-generate): Remove unused variable `curr'.
12405 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12407 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12409 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12411 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12413 * isearch.el (minibuffer-history-symbol): Declare.
12414 (isearch-edit-string): Remove unused variable `err'.
12415 (isearch-message-prefix, isearch-message-suffix):
12416 Mark unused parameters.
12418 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12420 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12422 * makesum.el (double-column): Remove unused variable `cnt'.
12424 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12425 (ido-ignore-item-temp-list): Declare.
12427 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12428 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12429 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12430 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12433 * mouse-sel.el (mouse-extend-internal):
12434 Remove unused variable `orig-window-frame'.
12436 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12437 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12438 Move declarations before first use.
12439 (pcomplete-opt): Mark unused parameters; doc fix.
12441 * proced.el (proced-revert): Mark unused parameter.
12442 (proced-send-signal): Remove unused variable `err'.
12444 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12445 Rename parameter PREFIX-ARG to ARG.
12446 (ps-basic-plot-string, ps-basic-plot-whitespace):
12447 Mark unused parameters.
12449 * replace.el (replace-count): Define.
12450 (occur-revert-function): Mark unused parameters.
12451 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12452 (isearch-case-fold-search, isearch-string): Declare.
12453 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12454 bind `case-fold-search'. Remove unused variables `beg' and `end',
12456 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12457 COUNT and bind `replace-count'.
12458 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12461 * savehist.el (print-readably, print-string-length): Declare.
12463 * shadowfile.el (shadow-expand-cluster-in-file-name):
12464 Remove unused variable `cluster'.
12465 (shadow-copy-file): Remove unused variable `i'.
12466 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12467 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12468 (shadow-define-literal-group, shadow-define-regexp-group)
12469 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12471 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12472 (shell): Use `called-interactively-p'.
12473 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12475 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12476 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12477 (delete-backward-char): Remove unused variable `ocol'.
12478 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12479 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12480 (event-apply-hyper-modifier, event-apply-shift-modifier)
12481 (event-apply-control-modifier, event-apply-meta-modifier):
12482 Mark unused parameters.
12483 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12484 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12486 * speedbar.el (speedbar-ignored-directory-expressions)
12487 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12488 (speedbar-find-file, speedbar-dir-follow)
12489 (speedbar-directory-buttons-follow, speedbar-tag-find)
12490 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12491 (speedbar-buffers-line-directory, speedbar-buffer-click):
12492 Mark unused parameters.
12493 (speedbar-tag-file): Remove unused variable `mode'.
12494 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12496 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12498 * talk.el (talk): Remove unused variable `display'.
12500 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12501 (tar-write-region-annotate): Mark unused parameter.
12503 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12504 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12505 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12506 warning by another.
12508 * time-stamp.el (time-stamp-string-preprocess):
12509 Remove unused variable `require-padding'.
12511 * tree-widget.el (widget-glyph-enable): Declare.
12512 (tree-widget-action): Mark unused parameter.
12514 * w32-fns.el (x-get-selection): Mark unused parameter.
12515 (autoload-make-program, generated-autoload-file): Declare.
12517 * wdired.el (wdired-revert): Mark unused parameters.
12518 (wdired-xcase-word): Remove unused variable `err'.
12520 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12521 (whitespace-help-scroll): Remove unused variable `data-help'.
12523 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12524 (widget-image-insert, widget-after-change, default)
12525 (widget-default-format-handler, widget-default-notify)
12526 (widget-default-prompt-value, widget-info-link-action)
12527 (widget-url-link-action, widget-function-link-action)
12528 (widget-variable-link-action, widget-file-link-action)
12529 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12530 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12531 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12532 (widget-insert-button-action, widget-delete-button-action, visibility)
12533 (widget-documentation-link-action, widget-documentation-string-action)
12534 (widget-const-prompt-value, widget-regexp-match, symbol)
12535 (widget-coding-system-prompt-value)
12536 (widget-key-sequence-value-to-external, sexp)
12537 (widget-sexp-value-to-internal, character, vector, cons)
12538 (widget-choice-prompt-value, widget-boolean-prompt-value)
12539 (widget-color--choose-action): Mark unused parameters.
12540 (widget-item-match-inline, widget-choice-match-inline)
12541 (widget-checklist-match, widget-checklist-match-inline)
12542 (widget-group-match): Rename parameter VALUES to VALS.
12543 (widget-field-value-set): Remove unused variable `size'.
12544 (widget-color-action): Remove unused variables `value' and `start'.
12546 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12547 variable `dir'. Doc fix.
12548 (windmove-find-other-window): Don't pass it.
12550 * window.el (count-windows): Mark unused parameter.
12551 (bw-adjust-window): Remove unused variable `err'.
12553 * woman.el (woman-file-name): Remove unused variable `default'.
12554 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12555 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12556 (global-font-lock-mode): Declare.
12557 (woman-decode-region): Mark unused parameter.
12558 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12560 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12561 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12562 (x-dnd-handle-moz-url): Remove unused variable `title'.
12563 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12565 * xml.el (xml-parse-tag, xml-parse-attlist):
12566 Remove unused variable `pos'.
12568 2011-04-19 Glenn Morris <rgm@gnu.org>
12570 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12571 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12572 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12573 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12574 * calendar/cal-html.el (cal-html-insert-minical):
12575 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12576 (calendar-mark-date-pattern):
12577 Prefix "unused" locals.
12579 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12580 optional argument `style'.
12582 * calendar/appt.el (appt-make-list):
12583 * calendar/cal-china.el (calendar-chinese-date-string):
12584 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12585 (diary-hebrew-yahrzeit):
12586 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12587 * calendar/calendar.el (calendar-generate-window):
12588 * calendar/time-date.el (time-to-days):
12589 Remove unused local variables.
12591 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12593 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12594 glyphless-char-display table.
12595 (tabulated-list-glyphless-char-display): New var.
12597 2011-04-18 Sam Steingold <sds@gnu.org>
12599 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12600 to acknowledgments.
12602 2011-04-17 Glenn Morris <rgm@gnu.org>
12604 * calendar/diary-lib.el (diary-sexp-entry):
12605 * calendar/holidays.el (holiday-sexp):
12606 Set debug-on-error rather than the removed stack-trace-on-error.
12608 2011-04-16 Glenn Morris <rgm@gnu.org>
12610 * progmodes/f90.el: Use lexical-binding.
12611 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12613 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12615 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12616 (mail-mode): Setup mailalias completion here instead.
12617 * mail/mailalias.el: Use lexical-binding.
12618 (pattern, mailalias-done): Declare dynamic.
12619 (mail-completion-at-point-function): New function, from mail-complete.
12620 (mail-complete): Use it.
12621 (mail-completion-expand): New function.
12622 (mail-get-names): Use it.
12623 (mail-directory, mail-directory-process, mail-directory-stream):
12624 Don't use `pattern' for lexically bound arg.
12626 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12628 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12629 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12630 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12632 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12633 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12634 (byte-interactive-p): Define them again, for use when inlining
12637 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12639 * loadup.el: Use `string-to-number', not `string-to-int'.
12641 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12643 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12644 gud-gdb-complete-command.
12645 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12646 (gud-gdb-completion-at-point): New function.
12647 (gud-gdb-completions): Remove.
12649 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12651 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12652 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12653 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12654 whether `executable-find' is bound.
12656 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12658 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12660 * minibuffer.el (completion-in-region-mode-predicate)
12661 (completion-in-region-mode--predicate): New vars.
12662 (completion-in-region, completion-in-region--postch)
12663 (completion-in-region-mode): Use them.
12664 (completion--capf-wrapper): Also return the hook function.
12665 (completion-at-point, completion-help-at-point):
12666 Adjust and provide a predicate.
12668 Preserve arg names for advice of subr and lexical functions (bug#8457).
12669 * help-fns.el (help-function-arglist): Consolidate the subr and
12670 new-byte-code cases. Add argument `preserve-names' to extract names
12671 from the docstring when needed.
12672 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12673 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12674 (ad-arglist): Use help-function-arglist's new arg.
12675 (ad-definition-type): Use cond.
12677 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12679 * autorevert.el (auto-revert-handler):
12680 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12681 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12682 Don't quote lambda.
12684 * image-mode.el (image-transform-set-scale):
12685 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12687 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12689 * net/network-stream.el (network-stream-open-starttls): Only do
12690 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12691 Upgrades via gnutls-cli are too slow to be done opportunistically.
12693 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12695 * dframe.el (dframe-current-frame): Remove spurious quote.
12697 2011-04-12 Glenn Morris <rgm@gnu.org>
12699 * calendar/cal-tex.el (cal-tex-end-document):
12700 Try to automatically use latin1 input if needed.
12702 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12703 Don't try to cons a mark onto an empty element.
12705 2011-04-11 Leo Liu <sdl.web@gmail.com>
12707 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12709 (ido-kill-buffer-at-head): Support killing virtual buffers.
12711 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12713 * minibuffer.el (completion-show-inline-help): New var.
12714 (completion--do-completion, minibuffer-complete)
12715 (minibuffer-force-complete, minibuffer-complete-word):
12716 Inhibit minibuffer messages if completion-show-inline-help is nil.
12718 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12719 to avoid interference from inline help (Bug#5849).
12721 2011-04-10 Leo Liu <sdl.web@gmail.com>
12723 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12726 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12728 * image-mode.el (image-toggle-display-image): Signal an error if
12730 (image-transform-mode, image-transform-resize)
12731 (image-transform-set-rotation): Doc fix.
12732 (image-transform-set-resize): Delete.
12733 (image-transform-set-scale, image-transform-fit-to-height)
12734 (image-transform-fit-to-width): Handle image-toggle-display-image
12735 and image-transform-resize directly.
12737 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12739 * doc-view.el (doc-view-fit-width-to-window)
12740 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12741 New functions for fitting the shown image to the Emacs window size.
12742 (doc-view-mode-map): Add bindings for the new functions.
12744 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12746 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12747 Fix typo in docstring.
12749 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12751 * files.el (file-size-human-readable): Produce one digit after
12752 decimal, like "ls -lh" does.
12754 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12755 the file size representation.
12757 * simple.el (list-processes): If async subprocesses are not
12758 available, error out with a clear error message.
12760 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12762 * help.el (help-form-show): New function, to be called from C.
12763 Put help-form output in a buffer named differently than *Help*.
12765 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12767 * files.el (file-size-human-readable): New function.
12769 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12770 computing the representation inline. Don't require `cl'.
12772 2011-04-08 Glenn Morris <rgm@gnu.org>
12774 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12776 * net/browse-url.el (browse-url-firefox):
12777 Test system-type, not system-configuration.
12779 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12780 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12781 Use log-edit-empty-buffer-p. (Bug#7598)
12783 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12784 (rlogin-mode-map): Initialize in the defvar.
12785 (rlogin): Use ignore-errors.
12787 * replace.el (occur-mode-map): Some fixes for menu items.
12789 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12791 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12793 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12795 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12796 issuing unused warnings.
12798 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12801 * simple.el: Lisp reimplement of list-processes. Based on an
12802 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12803 (process-menu-mode): New major mode.
12804 (list-processes--refresh, list-processes):
12805 (process-menu-visit-buffer): New functions.
12807 * files.el (save-buffers-kill-emacs): Don't assume any return
12808 value of list-processes, which is undocumented anyway.
12810 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12812 * emacs-lisp/tabulated-list.el: New file.
12814 * emacs-lisp/package.el: Use Tabulated List mode.
12815 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12816 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12817 table format using Tabulated List mode variables.
12818 (package--push): New macro, replacing package-list-maybe-add.
12819 (package-menu--generate): Use package--push. Renamed from
12820 package--generate-package-list.
12821 (package-menu-refresh, list-packages): Use it.
12822 (package-menu--print-info): Rename from package-print-package.
12823 Return insertion data instead of inserting it directly.
12824 (package-menu-describe-package, package-menu-execute):
12825 Use tabulated-list-get-id.
12826 (package-menu-mark-delete, package-menu-mark-install)
12827 (package-menu-mark-unmark, package-menu-backup-unmark)
12828 (package-menu-mark-obsolete-for-deletion):
12829 Use tabulated-list-put-tag.
12830 (package--list-packages, package-menu-revert)
12831 (package-menu-get-package, package-menu-get-version)
12832 (package-menu-sort-by-column): Functions deleted.
12833 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12834 (package-menu--status-predicate, package-menu--version-predicate)
12835 (package-menu--name-predicate)
12836 (package-menu--description-predicate): Handle arguments in the
12837 Tabulated List format.
12838 (package-list-packages-no-fetch): Call list-packages.
12840 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12842 * files.el (after-find-file-from-revert-buffer): Remove variable.
12843 (after-find-file): Don't bind it.
12844 (revert-buffer-in-progress-p): New variable.
12845 (revert-buffer): Bind it.
12846 Pass nil for `after-find-file-from-revert-buffer'.
12848 * saveplace.el (save-place-find-file-hook): Use new variable
12849 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12851 2011-04-06 Glenn Morris <rgm@gnu.org>
12853 * Makefile.in (AUTOGEN_VCS): New variable.
12854 (autoloads): Use $AUTOGEN_VCS.
12856 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12857 * calendar/calendar.el (calendar-mode-map):
12858 Check for toolkit scroll bars. (Bug#8305)
12860 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12862 * minibuffer.el (completion-in-region--postch)
12863 (completion-in-region-mode): Remove unnecessary messages.
12865 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12867 * font-lock.el (font-lock-refresh-defaults):
12868 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12869 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12871 * info.el (Info-directory-list, Info-read-node-name-2)
12872 (Info-split-parameter-string): Doc fixes.
12873 (Info-virtual-nodes): Reflow docstring.
12874 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12875 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12876 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12877 Fix typos in docstrings.
12878 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12879 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12880 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12881 (Info-restore-desktop-buffer): Mark unused parameters.
12882 (Info-directory-find-file, Info-directory-find-node)
12883 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12884 (Info-virtual-index-find-node, Info-apropos-find-file)
12885 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12886 Mark unused parameters; fix typos in docstrings.
12887 (Info-virtual-index): Remove unused local variable `nodename'.
12889 2011-04-05 Deniz Dogan <deniz@dogan.se>
12891 * net/rcirc.el: Update my e-mail address.
12892 (rcirc-mode-map): Remove M-o binding.
12894 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12896 * startup.el (command-line): Save the cursor's theme-face
12897 directly, instead of using face-override-spec.
12899 * custom.el (load-theme): Minor optimization in assigning faces.
12901 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12903 * help-fns.el (describe-variable): Complete all variables having
12904 documentation, including keywords.
12905 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12907 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12909 Convert to lexical-binding.
12911 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12912 (bs--get-marked-string, bs--get-modified-string)
12913 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12914 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12915 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12917 * ehelp.el (electric-help-execute-extended)
12918 (electric-help-ctrl-x-prefix):
12919 * hexl.el (hexl-revert-buffer-function):
12920 * linum.el (linum-after-change, linum-after-scroll):
12921 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12923 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12925 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12932 * epg.el: Use lexical binding.
12934 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12936 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12938 * textmodes/flyspell.el (flyspell-word): Recognize default
12939 dictionary case for flyspell-mark-duplications-exceptions.
12940 Use regexp matching for languages.
12941 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12942 default dictionary (Bug#7926).
12944 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12946 * emacs-lisp/package.el (package--with-work-buffer):
12947 Recognize https URLs.
12949 * net/network-stream.el: Move from gnus/proto-stream.el.
12950 Change prefix to network-stream throughout.
12951 (open-protocol-stream): Merge into open-network-stream, leaving
12952 open-protocol-stream as an alias. Handle nil BUFFER args.
12954 * subr.el (open-network-stream): Move to net/network-stream.el.
12956 2011-04-02 Glenn Morris <rgm@gnu.org>
12958 * find-dired.el (find-exec-terminator): New option.
12959 (find-ls-option): Test for -ls support.
12960 (find-ls-subdir-switches): Test for -b in find-ls-option.
12961 (find-dired, find-grep-dired): Doc fixes.
12962 (find-dired): Use find-exec-terminator.
12964 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12965 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12966 (find-name-arg): Remove purecopy.
12968 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12969 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12970 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12971 accordingly. Don't add the null-device if not needed.
12973 * files.el (save-some-buffers): Doc fix.
12975 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12977 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12979 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12981 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12982 Use `dolist' rather than `mapcar'.
12984 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12986 Add lexical binding.
12988 * subr.el (apply-partially): Use new closures rather than CL.
12989 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12990 (dolist, dotimes): Use slightly different expansion for lexical code.
12991 (functionp): Move to C.
12992 (letrec): New macro.
12993 (with-wrapper-hook): Use it and apply-partially instead of CL.
12994 (eval-after-load): Preserve lexical-binding.
12995 (save-window-excursion, with-output-to-temp-buffer): Turn them
12998 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13000 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13002 (help-add-fundoc-usage): Don't add `Not documented'.
13003 (help-function-arglist): Handle closures, subroutines, and new
13004 byte-code-functions.
13005 (help-make-usage): Remove leading underscores.
13006 (describe-function-1): Handle closures.
13007 (describe-variable): Use special-variable-p for completion.
13009 * files.el (lexical-binding): Declare safe.
13011 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13012 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13013 (pcase): Add `let' pattern.
13014 Change memoization so it actually works.
13015 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13016 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13019 * emacs-lisp/macroexp.el: Use lexical binding.
13020 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13021 Don't convert ' to #' without checking that it's indeed quoting
13024 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13025 Use eval-sexp-add-defvars.
13026 (eval-sexp-add-defvars): New fun.
13028 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13030 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13032 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13033 than the internal `byte-compile-lambda'.
13034 (defmethod): Don't hide code under quotes.
13035 (eieio-defmethod): New `code' argument.
13037 * emacs-lisp/eieio-comp.el: Remove.
13039 * emacs-lisp/edebug.el (edebug-eval-defun)
13040 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13041 (edebug-toggle): Avoid `eval'.
13043 * emacs-lisp/disass.el (disassemble-internal): Handle new
13045 (disassemble-1): Handle new byte codes.
13047 * emacs-lisp/cl.el (pushnew): Silence warning.
13049 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13050 (cl-byte-compile-throw): Remove.
13051 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13053 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13056 * emacs-lisp/cconv.el: New file.
13058 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13059 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13060 (byte-compile-initial-macro-environment):
13061 Handle declare-function here.
13062 (byte-compile--lexical-environment): New var.
13063 (byte-stack-ref, byte-stack-set, byte-discardN)
13064 (byte-discardN-preserve-tos): New lap codes.
13065 (byte-interactive-p): Don't use any more.
13066 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13068 (byte-compile-lapcode): Use them and handle new lap codes.
13069 (byte-compile-obsolete): Remove.
13070 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13071 (byte-compile-arglist-warn): Check late def of inlinable funs.
13072 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13073 since they should have been expanded by now.
13074 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13075 (byte-compile-from-buffer): Remove unused second arg.
13076 (byte-compile-preprocess): New function.
13077 (byte-compile-toplevel-file-form): New function to distinguish
13078 file-form calls from outside from file-form calls from hunk-handlers.
13079 (byte-compile-file-form): Simplify.
13080 (byte-compile-file-form-defsubst): Remove.
13081 (byte-compile-file-form-defmumble): Simplify now that
13082 byte-compile-lambda always returns a byte-code-function.
13083 (byte-compile): Preprocess.
13084 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13085 Remove, not used any more.
13086 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13087 (byte-compile-make-args-desc): New funs.
13088 (byte-compile-lambda): Handle lexical functions. Always return
13089 a byte-code-function.
13090 (byte-compile-reserved-constants): New var, to make up room for
13091 closed-over variables.
13092 (byte-compile-constants-vector): Obey it.
13093 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13094 (byte-compile-macroexpand-declare-function): New function.
13095 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13096 byte-code-functions.
13097 (byte-compile-form): Check obsolescence here.
13098 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13099 (byte-compile-variable-ref): Remove.
13100 (byte-compile-dynamic-variable-op): New fun.
13101 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13102 (byte-compile-variable-set): New funs.
13103 (byte-compile-discard): Add 2 args.
13104 (byte-compile-stack-ref, byte-compile-stack-set)
13105 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13106 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13107 macroexpand-all instead.
13108 (byte-compile-quote-form): Remove.
13109 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13110 (byte-compile-bind, byte-compile-unbind): New funs.
13111 (byte-compile-let): Handle let* and lexical binding.
13112 (byte-compile-let*): Remove.
13113 (byte-compile-catch, byte-compile-unwind-protect)
13114 (byte-compile-track-mouse, byte-compile-condition-case):
13115 Handle a new :fun-body form, used for lexical scoping.
13116 (byte-compile-save-window-excursion)
13117 (byte-compile-with-output-to-temp-buffer): Remove.
13118 (byte-compile-defun): Simplify.
13119 (byte-compile-stack-adjustment): New fun.
13120 (byte-compile-out): Use it.
13121 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13123 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13126 * emacs-lisp/byte-opt.el: Use lexical binding.
13127 (byte-inline-lapcode): Remove (to bytecomp).
13128 (byte-compile-inline-expand): Pay attention to inlining to/from
13129 lexically bound code.
13130 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13132 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13133 any more and don't call compiler-macros.
13134 (byte-compile-splice-in-already-compiled-code): Remove.
13135 (byte-code): Don't inline any more.
13136 (disassemble-offset): Receive `bytes' as argument rather than via
13138 (byte-compile-tag-number): Declare before first use.
13139 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13140 `return' even if make-spliceable.
13141 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13142 obsolete interactive-p.
13143 (byte-optimize-lapcode): Optimize new lap-codes.
13144 Don't trip up on new form of `byte-constant' lap code.
13146 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13148 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13150 * custom.el (custom-initialize-default, custom-declare-variable):
13153 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13155 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13156 (COMPILE_FIRST): Add macroexp and cconv.
13157 * makefile.w32-in: Mirror changes in Makefile.in.
13159 * vc/cvs-status.el:
13163 * vc/smerge-mode.el:
13164 * textmodes/bibtex-style.el:
13165 * textmodes/css.el:
13173 * emacs-lisp/smie.el:
13176 * abbrev.el: Use lexical binding.
13178 2011-04-01 Eli Zaretskii <eliz@gnu.org>
13180 * info.el (info-display-manual): New function.
13182 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13184 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13186 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13188 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13189 an entry for that server in rcirc-authinfo. (Bug#8385)
13191 2011-03-31 Glenn Morris <rgm@gnu.org>
13193 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13195 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13197 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13199 * progmodes/python.el (python-default-interpreter)
13200 (python-python-command-args, python-jython-command-args)
13201 (python-which-shell, python-which-args, python-which-bufname)
13202 (python-file-queue, python-comint-output-filter-function)
13203 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13204 variables and functions.
13206 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13208 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13209 (completion-in-region-mode): New minor mode.
13210 (completion-in-region): Use it.
13211 (completion-in-region--data, completion-in-region-mode-map): New vars.
13212 (completion-in-region--postch): New function.
13213 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13215 (completion--capf-wrapper): New function.
13216 (completion-at-point): Use it to track well-behavedness of
13218 (completion-help-at-point): New command.
13220 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13222 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13223 syntax class to search for whitespace on a single line
13224 (Message-ID: <4D938140.4030905@redhat.com>).
13226 2011-03-30 Leo Liu <sdl.web@gmail.com>
13228 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13230 (edit-abbrevs-map): Bind them here.
13231 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13233 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13235 * allout.el (allout-hide-by-annotation, allout-flag-region):
13236 Reduce possibility of overlay leakage by making them volatile.
13238 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13239 hash is not shared between buffers. Mode initialization is
13240 responsible for giving it a useful starting value.
13241 (allout-item-span): Reduce possibility of overlay leakage by
13242 making them volatile.
13243 (allout-widgets-count-buttons-in-region): Add diagnostic function
13244 for tracking down button overlay leaks.
13246 2011-03-29 Leo Liu <sdl.web@gmail.com>
13248 * ido.el (ido-read-internal): Use the default history var
13249 minibuffer-history if no HISTORY is specified.
13251 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13253 * net/imap.el (imap-shell-open, imap-process-connection-type):
13254 Use imap-process-connection-type for 'shell' streams as well as
13255 Kerberos, SSL, other subprocesses.
13257 2011-03-28 Leo Liu <sdl.web@gmail.com>
13259 * abbrev.el (abbrev-table-empty-p): New function.
13260 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13261 nonempty ones. (Bug#5937)
13263 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13265 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13267 2011-03-27 Leo Liu <sdl.web@gmail.com>
13269 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13270 for foreground and background colors.
13271 (ansi-color-make-color-map): Adapt.
13273 2011-03-25 Leo Liu <sdl.web@gmail.com>
13275 * midnight.el (midnight-time-float): Remove. Note it calculates
13276 the microsecond component incorrectly and seconds-to-time does the
13278 Remove redundant (require 'timer).
13280 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13281 (ido-completions): Remove unused arguments. (Bug#8329)
13283 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13285 * minibuffer.el (completion--flush-all-sorted-completions):
13286 Remove itself from hook.
13287 (completion-at-point): Let the functions perform the completion
13288 immediately and return nil or t.
13289 * comint.el (comint-dynamic-complete-functions): Now identical to
13290 completion-at-point-functions.
13291 (comint-dynamic-list-input-ring): Remove unused var `index'.
13292 (comint--match-partial-filename, comint--unquote&expand-filename):
13293 New funs, split from comint-match-partial-filename.
13294 (comint-dynamic-complete): Use completion-at-point.
13295 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13297 2011-03-24 Drew Adams <drew.adams@oracle.com>
13299 * thingatpt.el: Support `defun'.
13301 2011-03-23 Leo Liu <sdl.web@gmail.com>
13303 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13305 * help-mode.el (help-mode-finish): Tweak regexp.
13307 2011-03-23 Glenn Morris <rgm@gnu.org>
13309 * eshell/esh-opt.el (eshell-eval-using-options):
13310 Do not bind unused local variable `eshell-option-stub'.
13312 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13314 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13316 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13317 keymap variable in `with-no-warnings' to avoid a warning when the
13318 keymap has been already `defconst'ed.
13320 2011-03-22 Leo Liu <sdl.web@gmail.com>
13322 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13323 encode all chars in abbrevs; otherwise use emacs-mule or
13324 utf-8-emacs. (Bug#8308)
13326 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13328 * simple.el (backward-delete-char-untabify):
13329 Avoid warning about using `delete-backward-char'.
13331 * image.el (image-type-file-name-regexps): Make it variable.
13332 `imagemagick-register-types' modifies it, and the user may want
13333 to add new extensions for known image types.
13334 (imagemagick-register-types): Throw error if not using ImageMagick.
13336 2011-03-22 Leo Liu <sdl.web@gmail.com>
13338 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13339 located before rcirc-prompt-end-marker.
13340 (rcirc-complete): Error if point is not after rcirc prompt.
13341 Handle the case when table is nil.
13342 (rcirc-user-authenticated): Define to fix compiler warning.
13344 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
13346 * custom.el (custom--inhibit-theme-enable): Make it affect only
13347 custom-theme-set-variables and custom-theme-set-faces.
13348 (provide-theme): Ignore custom--inhibit-theme-enable.
13349 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13350 (custom-enabling-themes): Delete variable.
13351 (enable-theme): Accept only loaded themes as arguments.
13352 Ignore the special custom-enabled-themes variable.
13353 (custom-enabled-themes): Forbid themes from setting this.
13354 Eliminate use of custom-enabling-themes.
13355 (custom-push-theme): Quote "changed" custom var entry.
13357 2011-03-21 Leo Liu <sdl.web@gmail.com>
13359 * ido.el (ido-read-internal): Add ido-selected to history instead
13362 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13364 * subr.el (deferred-action-list, deferred-action-function):
13367 2011-03-21 Leo Liu <sdl.web@gmail.com>
13369 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13370 change on 2011-02-13 (bug#8309).
13372 * minibuffer.el (read-file-name-function): Change default value.
13373 (read-file-name--defaults): Rename from read-file-name-defaults.
13374 (read-file-name-default): Rename from read-file-name.
13375 (read-file-name): Call read-file-name-function.
13377 2011-03-21 Glenn Morris <rgm@gnu.org>
13379 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13382 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
13384 * cus-theme.el: Add missing provide statement.
13385 (customize-create-theme): Extract theme value correctly.
13386 (custom-theme-visit-theme): Autoload.
13387 (customize-create-theme): Prompt before inserting default faces.
13389 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13391 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13392 units and musical notes.
13394 2011-03-20 Leo Liu <sdl.web@gmail.com>
13396 * ido.el (ido-read-internal): Use completing-read-default.
13397 (ido-completing-read): Fix compatibility with completing-read.
13399 2011-03-20 Christian Ohler <ohler@gnu.org>
13401 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13402 (ert-delete-all-tests): Use `called-interactively-p' rather than
13404 (ert--make-xrefs-region): Respect END.
13406 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13408 * dired-aux.el (dired-create-directory): Signal an error if the
13409 directory already exists (Bug#8246).
13411 * facemenu.el (list-colors-display): Call list-faces-display
13412 inside with-help-window.
13413 (list-colors-print): Use display property to align the final
13414 column, instead of checking window-width.
13416 2011-03-19 Eli Zaretskii <eliz@gnu.org>
13418 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13419 windows-nt systems.
13420 (emerge-protect-metachars): Quote correctly for ms-dos and
13421 windows-nt systems.
13423 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13425 * info.el (info-initialize): Replace all uses of `:' with
13426 path-separator for compatibility with non-Unix systems.
13427 Cache quoting of path-separator. (Bug#8258)
13429 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
13431 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13432 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13433 (mouse-avoidance-mode): Fix typos in docstrings.
13435 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13437 * startup.el (package-subdirectory-regexp): Move from package.el.
13438 Omit \\` and \\', and let callers add them.
13440 * emacs-lisp/package.el (package-strip-version)
13441 (package-load-all-descriptors): Add \\` and \\' to
13442 package-subdirectory-regexp before using it.
13443 (package-untar-buffer): New arg DIR; ensure that file untars only
13444 into this expected directory. Remove superfluous delete-region.
13445 (package-unpack): Caller changed.
13446 (package-tar-file-info): Use package-subdirectory-regexp.
13448 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13450 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13451 diff-mode-shared-map (bug#8284).
13452 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13454 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13456 * calendar/time-date.el (format-seconds): Use assoc instead of
13457 assoc-string, since assoc-string doesn't exist in XEmacs.
13459 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13461 * custom.el (custom-known-themes): Reflow docstring.
13462 (custom-theme-load-path): Fix typo in docstring.
13463 (load-theme): Fix typo in error message.
13464 (custom-available-themes, custom-variable-theme-value):
13465 Use `let', not `let*'.
13467 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13469 * calc/README: Mention inclusion of musical notes.
13471 * calc/calc-units.el (calc-lu-quant): Rename from
13472 `calc-logunits-quantity'.
13473 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13474 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13475 (calc-db): Rename from `calc-dblevel'.
13476 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13477 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13478 (calc-np): Rename from `calc-nplevel'.
13479 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13480 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13481 (calc-lu-plus): Rename from `calc-logunits-add'.
13482 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13483 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13484 (calc-lu-minus): Rename from `calc-logunits-sub'.
13485 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13486 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13487 (calc-lu-times): Rename from `calc-logunits-mul'.
13488 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13489 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13490 (calc-lu-divide): Rename from `calc-logunits-div'.
13491 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13492 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13494 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13495 functions being autoloaded.
13497 * calc/calc.el (calc-lu-power-reference): Rename from
13498 `calc-logunits-power-reference'.
13499 (calc-lu-field-reference): Rename from
13500 `calc-logunits-field-reference'.
13502 * calc/calc-help.el (calc-l-prefix-help):
13503 Mention musical note functions.
13505 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13507 * minibuffer.el (completion-all-sorted-completions):
13508 Use :completion-cycle-penalty text property if present.
13510 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13512 * allout.el (allout-yank-processing): Adjust for new rebulleting
13513 regime so bullet being yanked is used without prompting the user
13516 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13518 * startup.el (command-line): Warn the user that _emacs is deprecated.
13520 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13522 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13523 (delphi-verbose, delphi-comment-face, delphi-string-face)
13524 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13525 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13526 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13527 (delphi-new-comment-line, delphi-font-lock-defaults)
13528 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13529 Fix typos in docstrings.
13531 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13533 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13534 Invert the roles of character and string values for INSTEAD, so a
13535 string is used for the more common case of a defaulting prompt.
13537 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13539 * progmodes/ruby-mode.el (ruby-backward-sexp):
13540 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13541 * play/gamegrid.el (gamegrid-make-face):
13542 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13543 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13544 * notifications.el (notifications-notify):
13545 * net/xesam.el (xesam-search-engines):
13546 * net/quickurl.el (quickurl-list-insert):
13547 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13549 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13551 * startup.el (command-line): Update package subdirectory regexp.
13553 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13555 * allout.el (allout-abbreviate-flattened-numbering)
13556 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13558 * subr.el (read-char-choice): Only show the cursor after the prompt,
13559 not after the answer.
13561 2011-03-15 Kevin Ryde <user42@zip.com.au>
13563 * help-fns.el (variable-at-point): Skip leading quotes, if any
13566 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13568 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13571 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13573 * shell.el (shell): When called interactively, offer to change the
13574 shell file name on remote hosts.
13576 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13578 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13579 integration for LDAP parameters. The host, base, user or binddn,
13580 and secret tokens can be specified in a netrc file, for instance.
13581 This is optional because an `auth-source' parameter must be
13582 specified in the search attributes.
13584 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13586 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13588 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13590 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13591 into declaration. Remove redundant and harmful binding.
13593 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13595 * files.el (file-ownership-preserved-p): Pass `integer' as an
13596 explicit 2nd argument to `file-attributes'. If the file's owner
13597 is the Administrators group on Windows, and the current user is
13598 Administrator, consider that a match.
13600 * server.el (server-ensure-safe-dir): Consider server directory
13601 safe on MS-Windows if its owner is the Administrators group while
13602 the current Emacs user is Administrator. Use `=' to compare
13603 numerical UIDs, since they could be integers or floats.
13605 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13607 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13609 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13611 Sync with Tramp 2.2.1.
13613 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13615 * net/trampver.el: Update release number.
13617 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13619 * progmodes/compile.el (compilation--previous-directory): Fix up
13620 various nil/dead-marker mismatches (bug#8014).
13621 (compilation-directory-properties, compilation-error-properties):
13622 Don't call it at a position past the one we're about to change.
13624 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13625 Disable obsolescence warnings in the file that declares it.
13627 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13629 * allout-widgets.el (allout-widgets-tally):
13630 Initialize allout-widgets-tally as a hash table rather than nil to
13631 prevent mode-line redisplay warnings. Also, clarify the module
13632 description and fix a comment typo.
13634 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13636 * help-fns.el (describe-variable): Don't complete keywords.
13637 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13639 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13641 * emacs-lisp/package.el (package-version-join): Impose a standard
13642 string representation for pre/alpha/beta version lists.
13643 (package-unpack-single): Standardize the directory name by passing
13644 it through package-version-join.
13645 (package-strip-rcs-id): Accept any version string that does not
13646 signal an error in version-to-list.
13648 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13650 * simple.el (delete-trailing-whitespace): Return nil for the
13651 benefit of `write-file-functions'.
13653 2011-03-10 Glenn Morris <rgm@gnu.org>
13655 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13657 * vc/vc-git.el (vc-git-program): New option.
13658 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13659 (vc-git--call): Use it.
13661 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13663 * cus-edit.el (Custom-newline): If no button at point, look
13664 for a subgroup button at start-of-line. (Bug#2298)
13666 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13668 2011-03-10 Julien Danjou <julien@danjou.info>
13670 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13671 `cursor-type' is nil.
13673 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13675 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13677 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13679 * allout.el: Change so yank of distinctive-bullet items
13680 preserves the existing header prefix, rebulleting it if necessary,
13681 rather than replacing it. This is necessary for proper operation
13682 of cooperative addons like allout-widgets.
13683 (allout-make-topic-prefix, allout-rebullet-heading):
13684 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13685 value as alternate bullet to be used, instead of prompting the user
13686 for a bullet character.
13688 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13690 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13691 Do not use `tramp-file-name-port', because this returns also
13692 `tramp-default-port'.
13694 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13696 * net/rcirc.el (rcirc-handler-001): Remove useless
13697 with-rcirc-process-buffer.
13698 (rcirc-check-auth-status): Swap arguments to string-match.
13700 2011-03-09 Glenn Morris <rgm@gnu.org>
13702 * shell.el (shell-mode):
13703 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13705 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13706 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13708 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13710 * emacs-lisp/package.el (package-refresh-contents)
13711 (package-menu-execute): Use condition-case-no-debug.
13713 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13715 * simple.el (shell-command-to-string): Use `process-file'.
13717 * emacs-lisp/package.el (package-tar-file-info): Handle also
13720 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13721 Use `equal' for upload base check.
13723 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13725 * textmodes/texinfo.el (texinfo-environments):
13726 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13728 2011-03-08 Glenn Morris <rgm@gnu.org>
13730 * cus-start.el (cursor-in-non-selected-windows):
13731 Fix :set quoting oddness. (Bug#8192)
13733 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13734 in some setf expressions. (Bug#2159)
13736 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13738 * custom.el (custom-available-themes): Return themes in
13739 alphabetical order.
13741 See ChangeLog.15 for earlier changes.
13743 ;; Local Variables:
13747 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13749 This file is part of GNU Emacs.
13751 GNU Emacs is free software: you can redistribute it and/or modify
13752 it under the terms of the GNU General Public License as published by
13753 the Free Software Foundation, either version 3 of the License, or
13754 (at your option) any later version.
13756 GNU Emacs is distributed in the hope that it will be useful,
13757 but WITHOUT ANY WARRANTY; without even the implied warranty of
13758 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13759 GNU General Public License for more details.
13761 You should have received a copy of the GNU General Public License
13762 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.