1 2012-05-06 Chong Yidong <cyd@gnu.org>
3 * emacs-lisp/tabulated-list.el (tabulated-list-format): Accept
4 additional plist in column descriptors.
5 (tabulated-list-init-header): Obey it.
6 (tabulated-list-get-entry): New function.
7 (tabulated-list-put-tag): Use it. Use string-width instead of
9 (tabulated-list--column-number): New function.
10 (tabulated-list-print): Use it.
11 (tabulated-list-print-col): New function. Set
12 `tabulated-list-column-name' property on each column's text.
13 (tabulated-list-print-entry): Use it.
14 (tabulated-list-delete-entry, tabulated-list-set-col): New
16 (tabulated-list-sort-column): New command (Bug#11337).
18 * buff-menu.el (list-buffers): Move C-x C-b binding from
19 buff-menu.el to bindings.el.
21 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
22 :advertised-binding feature.
24 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
26 * progmodes/compile.el (compilation-internal-error-properties):
27 Calculate start position correctly when end-col is set but
28 end-line is not (Bug#11382).
30 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
32 * man.el (Man-unindent): Use text-property-default-nonsticky to
33 prevent untabify from inheriting face properties (Bug#11408).
35 2012-05-05 Glenn Morris <rgm@gnu.org>
37 * calendar/cal-html.el: Optionally include holidays in the output.
38 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
39 (cal-html-holidays): New option.
40 (cal-html-css-default): Add holiday entry.
41 (holiday-in-range): Autoload it.
42 (cal-html-htmlify-entry): Add optional class argument.
43 (cal-html-htmlify-list): Add optional holidays argument.
44 (cal-html-insert-agenda-days): Include holidays in the output.
45 (cal-html-one-month): Maybe include holidays.
47 * calendar/holidays.el (holiday-in-range):
48 Move here from cal-tex-list-holidays.
49 * calendar/cal-tex.el (cal-tex-list-holidays):
50 Make it an obsolete alias for holiday-in-range. Update all callers.
52 2012-05-05 Chong Yidong <cyd@gnu.org>
54 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
57 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
59 * files.el (file-auto-mode-skip): New var.
60 (set-auto-mode-1): Use it.
62 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
64 * repeat.el: Use lexical-binding.
65 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
66 (repeat-undo-count): Remove.
68 * progmodes/octave-mod.el (octave-abbrev-start):
69 * progmodes/f90.el (f90-abbrev-start):
70 * face-remap.el (text-scale-adjust):
71 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
73 * emacs-lisp/pcase.el (pcase--let*): New function.
74 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
76 (pcase--split-pred): Be more clever about ruling out overlap between
77 a predicate and some constant pattern.
78 (pcase--q1): Use `null' instead of (eq foo nil).
80 * subr.el (setq-local, defvar-local): New macros.
81 (kbd): Redefine as an alias.
82 (with-selected-window): Leave unrelated frames alone.
83 (set-temporary-overlay-map): New function.
85 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
87 * subr.el (user-error): New function.
88 * window.el (switch-to-buffer):
89 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
90 (smerge-match-conflict):
91 * simple.el (previous-matching-history-element)
92 (next-matching-history-element, goto-history-element, undo-more)
94 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
95 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
96 (next-file, tags-loop-scan, list-tags, complete-tag):
97 * progmodes/compile.el (compilation-loop):
98 * mouse.el (mouse-minibuffer-check):
99 * man.el (Man-bgproc-sentinel, Man-goto-page):
100 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
101 (Info-history-forward, Info-follow-reference, Info-menu)
102 (Info-extract-menu-item, Info-extract-menu-counting)
103 (Info-forward-node, Info-backward-node, Info-next-menu-item)
104 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
105 (Info-next-reference, Info-prev-reference, Info-index)
106 (Info-index-next, Info-follow-nearest-node)
107 (Info-copy-current-node-name):
108 * imenu.el (imenu--make-index-alist)
109 (imenu-default-create-index-function, imenu-add-to-menubar):
110 * files.el (basic-save-buffer, recover-file):
111 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
112 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
113 (checkdoc-message-text, checkdoc-defun):
114 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
115 * cus-edit.el (customize-changed-options, customize-rogue)
116 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
117 (custom-variable-mark-to-reset-standard)
118 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
120 * completion.el (check-completion-length):
121 * comint.el (comint-search-arg)
122 (comint-previous-matching-input-string-position)
123 (comint-previous-matching-input)
124 (comint-replace-by-expanded-history-before-point, comint-send-input)
125 (comint-copy-old-input, comint-backward-matching-input)
126 (comint-goto-process-mark, comint-set-process-mark):
127 * calendar/calendar.el (calendar-cursor-to-date): Use it.
128 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
130 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
132 * dabbrev.el (dabbrev--ignore-case-p): New function.
133 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
136 * files.el (automount-dir-prefix): Mark as obsolete.
138 2012-05-04 Glenn Morris <rgm@gnu.org>
140 * patcomp.el, play/bruce.el: Move to obsolete/.
142 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
145 * arc-mode.el (archive-unixdate):
146 * autoinsert.el (auto-insert-alist):
147 * calc/calc-forms.el (math-this-year):
148 * emacs-lisp/copyright.el (copyright-current-year)
149 (copyright-update-year, copyright):
150 * tar-mode.el (tar-clip-time-string):
151 * time.el (display-time-update):
152 Don't assume years have 4 digits.
154 2012-05-04 Chong Yidong <cyd@gnu.org>
156 * dos-w32.el (file-name-buffer-file-type-alist)
157 (direct-print-region-use-command-dot-com):
158 * ffap.el (ffap-menu-regexp):
159 * find-file.el (ff-special-constructs):
160 * follow.el (follow-debug):
161 * forms.el (forms--debug):
162 * iswitchb.el (iswitchb-all-frames):
163 * ido.el (ido-all-frames):
164 * emacs-lisp/timer.el (timer-max-repeats):
165 * mail/feedmail.el (feedmail-mail-send-hook)
166 (feedmail-mail-send-hook-queued):
167 * mail/footnote.el (footnote-signature-separator):
168 * mail/mailabbrev.el (mail-alias-separator-string)
169 (mail-abbrev-mode-regexp):
170 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
171 * progmodes/idlwave.el (idlwave-libinfo-file)
172 (idlwave-default-completion-case-is-down)
173 (idlwave-library-routines): Convert defvars to defcustoms.
175 * mail/rmail.el (rmail-decode-mime-charset):
176 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
177 (idlwave-shell-fix-inserted-breaks)
178 (idlwave-shell-activate-alt-keybindings)
179 (idlwave-shell-use-breakpoint-glyph):
180 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
182 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
184 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
186 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
188 * progmodes/verilog-mode.el (font-lock-keywords):
189 Fix mis-highligting auto. Reported by Craig Barner.
190 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
191 defines from global name space. Reported by Dan Dever.
192 (verilog-auto-reset, verilog-auto-reset-widths)
193 (verilog-auto-tieoff): Support using unbased numbers for
194 AUTORESET and AUTOTIEOFF.
195 (verilog-submit-bug-report): Update variable list.
196 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
197 parenthesis from not matching. Reported by Michael Rytting.
198 (verilog-auto-template-lint): Fix hash error when linting modules
199 with no used templates.
200 (verilog-warn, verilog-warn-error)
201 (verilog-warn-fatal): When non-interactive report multiple
202 warnings before exiting. Suggested by Brad Dobbie.
203 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
204 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
205 to report unused template errors. Reported by Brad Dobbie.
206 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
207 nets, bug438. Reported by Vns Blore.
208 (verilog-auto-inout-module, verilog-auto-reg)
209 (verilog-read-decls, verilog-read-sub-decls-sig)
210 (verilog-signals-edit-wire-reg, verilog-signals-with):
211 Fix passing of Verilog data types in ANSI input/output ports
212 such as "output logic" into the AUTOs. Special case "wire" and
213 "reg" for backwards compatibility presuming Verilog 2001.
214 (verilog-auto-ascii-enum): Add "auto enum" as alias.
215 (verilog-preprocess): Fix replication of preprocess output.
216 Reported by Brad Dobbie.
217 (verilog-auto-inst-interfaced-ports):
218 Create verilog-auto-inst-interfaced-ports, bug429.
219 Reported by Julian Gorfajn.
220 (verilog-after-save-font-hook)
221 (verilog-before-save-font-hook): New variable.
222 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
223 (verilog-save-font-mods): Wrap disabling fontification, reported
225 (verilog-do-indent, verilog-pretty-declarations-auto)
226 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
227 Reported by Pierre-David Pfister.
228 (verilog-set-auto-endcomments): Fix endtask auto comments outside
229 of class declarations, bug292. Reported by Kevin Heilman.
230 (verilog-read-decls): Fix 'parameter type' not appearing in
231 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
232 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
233 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
234 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
235 Reported by David Kravitz.
237 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
239 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
240 assignment with tests in ifs and for loops.
241 (verilog-extended-complete-re, verilog-complete-reg): Change so
242 that DPI inport functions don't look like fuction declarations.
243 (verilog-pretty-expr): Don't line up assignment
244 operations to the test and increment in if and for loops
245 (verilog-extended-complete-re, verilog-complete-reg): Change so
246 that DPI inport functions don't look like fuction declarations
248 2012-05-03 Kenichi Handa <handa@m17n.org>
250 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
251 decoding, and show a warning message without signalling an error
254 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
256 * emacs-lisp/bytecomp.el
257 (byte-compile-file-form-custom-declare-variable): Compile all elements,
258 since cconv.el might have introduced :fun-body, internal-make-closure,
259 and friends for bytecomp to handle (bug#11391).
260 * custom.el (defcustom): Avoid ((λ ..) ..).
262 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
264 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
266 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
268 * notifications.el (dbus-debug):
269 * term/linux.el (gpm-mouse-enable):
270 * term/screen.el (xterm-register-default-colors): Declare.
272 2012-05-02 Chong Yidong <cyd@gnu.org>
274 * cus-start.el (gc-cons-percentage, exec-suffixes)
275 (dos-display-scancodes, dos-hyper-key, dos-super-key)
276 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
277 (make-cursor-line-fully-visible, void-text-area-pointer)
278 (font-list-limit): Add customization data.
280 * allout.el (allout-exposure-change-functions)
281 (allout-structure-added-functions)
282 (allout-structure-deleted-functions)
283 (allout-structure-shifted-functions): Rename abnormal hooks from
284 *-hook, and convert to defcustoms.
285 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
286 Convert to defcustoms.
287 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
289 * allout-widgets.el: Hook callers changed.
291 2012-05-02 Eli Zaretskii <eliz@gnu.org>
293 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
294 the yanked message in preference to the default value of
295 buffer-file-coding-system.
297 2012-05-02 Martin Rudalics <rudalics@gmx.at>
299 * window.el (display-buffer--action-function-custom-type):
302 2012-05-02 Alan Mackenzie <acm@muc.de>
304 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
306 2012-05-01 Glenn Morris <rgm@gnu.org>
308 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
310 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
312 * cus-edit.el (custom-variable-documentation): Simplify with format.
314 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
315 Stefan Monnier <monnier@iro.umontreal.ca>
317 * simple.el (suggest-key-bindings, execute-extended-command):
318 Move from keyboard.c.
320 2012-05-01 Chong Yidong <cyd@gnu.org>
322 * follow.el: Eliminate advice.
323 (set-process-filter, process-filter, sit-for): Advice deleted.
324 (follow-mode-off-hook): Obsolete hook removed.
325 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
327 (follow-auto): Use a :set function.
328 (follow-mode): Rewritten. Don't advise process filters.
329 (follow-switch-to-current-buffer-all, follow-scroll-up)
330 (follow-scroll-down): Assume follow-mode is bound.
331 (follow-comint-scroll-to-bottom)
332 (follow-align-compilation-windows): New functions.
333 (follow--window-sorter): New function.
334 (follow-all-followers): Use it to explicitly sort windows by their
335 positions; don't make assumptions about next-window order.
336 (follow-windows-start-end, follow-delete-other-windows-and-split)
337 (follow-calc-win-start): Doc fix.
338 (follow-windows-aligned-p, follow-select-if-visible): Don't call
339 vertical-motion unnecessarily.
340 (follow-adjust-window): New function.
341 (follow-post-command-hook): Use it.
342 (follow-call-set-process-filter, follow-call-process-filter)
343 (follow-intercept-process-output, follow-tidy-process-filter-alist)
344 (follow-stop-intercept-process-output, follow-generic-filter):
346 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
347 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
348 New functions, replacing advice on scroll-bar-* commands.
349 (follow-mwheel-scroll): New function (Bug#4112).
351 * comint.el (comint-adjust-point): New function.
352 (comint-postoutput-scroll-to-bottom): Use it.
353 Call follow-comint-scroll-to-bottom for Follow mode buffers.
355 2012-05-01 Glenn Morris <rgm@gnu.org>
357 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
358 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
359 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
360 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
361 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
362 Remove no-byte-compile setting.
364 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
366 * minibuffer.el (completion-table-with-quoting): Fix compatibility
367 all-completions code to not return a number in the last cdr.
369 2012-04-30 Leo Liu <sdl.web@gmail.com>
371 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
374 2012-04-29 Chong Yidong <cyd@gnu.org>
376 * follow.el (follow-calc-win-end): Rewrite to handle partial
377 screen lines correctly (Bug#8390).
378 (follow-avoid-tail-recenter): Minor cleanup.
380 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
382 Avoid the obsolete `assoc' package.
383 * speedbar.el (speedbar-refresh): Avoid adelete.
384 (speedbar-file-lists): Simplify and avoid aput.
385 * man.el (Man--sections, Man--refpages): New vars, replacing
386 Man-sections-alist and Man-refpages-alist.
387 (Man-build-section-alist, Man-build-references-alist):
388 Use them; avoid aput.
389 (Man--last-section, Man--last-refpage): New vars.
390 (Man-follow-manual-reference): Use them.
391 Use the `default' arg of completing-read.
392 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
394 2012-04-27 Chong Yidong <cyd@gnu.org>
396 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
398 * startup.el (x-apply-session-resources): New function.
400 * term/ns-win.el (ns-initialize-window-system):
401 * term/w32-win.el (w32-initialize-window-system):
402 * term/x-win.el (x-initialize-window-system): Use it to properly
403 set menu-bar-mode and other vars from X resources, even if the
404 initial frame is not a window-system frame (Bug#2299).
406 * subr.el (read-key): Avoid running filter function when setting
407 up temporary tool bar entries (Bug#9922).
409 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
411 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
414 2012-04-27 Chong Yidong <cyd@gnu.org>
416 * select.el (xselect--encode-string): New function, split from
417 xselect-convert-to-string.
418 (xselect-convert-to-string): Use it.
419 (xselect-convert-to-filename, xselect-convert-to-os)
420 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
421 returned strings are properly encoded (Bug#11315).
423 2012-04-27 Chong Yidong <cyd@gnu.org>
425 * simple.el (delete-active-region): Move to killing custom group.
427 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
429 * progmodes/which-func.el (which-func-current): Quote %
430 characters for mode-line processing.
432 2012-04-27 Chong Yidong <cyd@gnu.org>
434 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
435 reaching eob (Bug#11286).
437 2012-04-27 Eli Zaretskii <eliz@gnu.org>
439 * progmodes/gdb-mi.el (gdb-control-level): New variable.
440 (gdb): Make it buffer-local and init to zero.
441 (gdb-control-commands-regexp): New variable.
442 (gdb-send): Don't wrap in "-interpreter-exec console" if
443 gdb-control-level is positive. Increment gdb-control-level
444 whenever the command matches gdb-control-commands-regexp, and
445 decrement it each time the command is "end". (Bug#11279)
447 2012-04-27 Martin Rudalics <rudalics@gmx.at>
449 * window.el (adjust-window-trailing-edge, enlarge-window)
450 (shrink-window, window-resize):
451 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
454 2012-04-27 Chong Yidong <cyd@gnu.org>
456 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
457 fix "missing prefix" warning. All callers changed.
459 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
461 * emacs-lisp/assoc.el: Move to obsolete/.
463 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
465 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
467 * term/ns-win.el (ns-define-service):
468 * progmodes/pascal.el (pascal-goto-defun):
469 * progmodes/js.el (js--read-tab):
470 * progmodes/etags.el (tags-lazy-completion-table):
471 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
472 * emacs-lisp/ewoc.el (ewoc--wrap):
473 * emacs-lisp/assoc.el (aput, adelete, amake):
474 * doc-view.el (doc-view-convert-current-doc):
475 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
477 2012-04-26 Chong Yidong <cyd@gnu.org>
479 * image.el (image-type-from-buffer): Only return supported image
482 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
483 value, for symmetry with diff-end-of-hunk.
484 (diff-split-hunk, diff-find-source-location)
485 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
486 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
487 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
488 compute the relevant hunk or file properly (Bug#6005).
489 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
491 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
500 * vc/vc.el: Replace lexical-let by lexical-binding.
501 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
502 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
503 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
505 2012-04-26 Chong Yidong <cyd@gnu.org>
507 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
508 (diff-mode-shared-map): Bind it to / and [remap undo].
510 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
511 (ediff-window-setup-function): Use it as the default, to set up
512 windows based on whether the current frame is graphical (Bug#2138).
513 (ediff-choose-window-setup-function-automatically): Make obsolete.
515 * vc/ediff-init.el: Always define ediff-pixel-width/height.
517 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
519 * ffap.el: Remove old code for obsolete package.
520 (ffap-complete-as-file-p): Remove.
522 Use completion-table-with-quoting for comint and pcomplete.
523 * comint.el (comint--unquote&requote-argument)
524 (comint--unquote-argument, comint--requote-argument): New functions.
525 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
526 (comint-quote-filename): Use regexp-opt-charset.
527 (comint--common-suffix, comint--common-quoted-suffix)
528 (comint--table-subvert): Remove.
529 (comint-unquote-function, comint-requote-function): New vars.
530 (comint--complete-file-name-data): Use them with
531 completion-table-with-quoting.
532 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
533 * pcomplete.el (pcomplete-arg-quote-list)
534 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
535 (pcomplete-unquote-argument-function): Default to non-nil.
536 (pcomplete-unquote-argument): Simplify.
537 (pcomplete--common-quoted-suffix): Remove.
538 (pcomplete-requote-argument-function): New var.
539 (pcomplete--common-suffix): New function.
540 (pcomplete-completions-at-point): Use completion-table-with-quoting
541 and completion-table-subvert.
543 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
544 (minibuffer--double-dollars): Preserve properties.
545 (completion--sifn-requote): New function.
546 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
548 * minibuffer.el: Add support for completion of quoted/escaped data.
549 (completion-table-with-quoting, completion-table-subvert): New funs.
550 (completion--twq-try, completion--twq-all): New functions.
551 (completion--nth-completion): New function.
552 (completion-try-completion, completion-all-completions): Use it.
554 2012-04-25 Leo Liu <sdl.web@gmail.com>
556 * progmodes/python.el (python-pdbtrack-get-source-buffer):
557 Use compilation-message if available to find real filename.
559 2012-04-25 Chong Yidong <cyd@gnu.org>
561 * vc/diff-mode.el (diff-setup-whitespace): New function.
564 * vc/diff.el (diff-sentinel):
565 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
566 Whitespace mode variables based on diff style (Bug#8612).
568 2012-04-25 Leo Liu <sdl.web@gmail.com>
570 * progmodes/python.el (python-send-region): Add suffix .py to the
573 * files.el (auto-mode-alist): Use javascript-mode instead.
575 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
577 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
579 * soap-client.el (soap-resolve-references-for-sequence-type)
580 (soap-resolve-references-for-array-type): Hack to prevent self
581 references, see Bug#9.
582 (soap-parse-envelope): Report the contents of the 'detail' node
583 when receiving a fault reply.
584 (soap-parse-envelope): Report the contents of the entire 'detail' node.
586 * soap-inspect.el (soap-sample-value-for-simple-type)
587 (soap-inspect-simple-type): New function.
589 * soap-client.el (soap-simple-type): New struct.
590 (soap-default-xsd-types, soap-default-soapenc-types)
591 (soap-decode-basic-type, soap-encode-basic-type):
592 support unsignedInt and double basic types.
593 (soap-resolve-references-for-simple-type)
594 (soap-parse-simple-type, soap-encode-simple-type): New function.
595 (soap-parse-schema): Parse xsd:simpleType declarations.
597 * soap-client.el (soap-default-xsd-types)
598 (soap-default-soapenc-types): Add integer, byte and anyURI types.
599 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
600 the local name of "soapenc:Array".
601 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
602 decoding integer, byte and anyURI xsd types.
604 2012-04-25 Chong Yidong <cyd@gnu.org>
606 * cus-edit.el (custom-buffer-create-internal): Update header text.
608 2012-04-25 Eli Zaretskii <eliz@gnu.org>
610 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
611 settings on 'system-type', not on 'window-system'. On MS-Windows,
612 set interactive-mode on in GDB.
614 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
616 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
617 (ruby-syntax-propertize-regexp): Remove.
618 (ruby-syntax-propertize-function): Split regexp into chunks.
619 Match following code directly.
621 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
623 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
624 (ruby-syntax-propertize-regexp): New function.
625 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
626 by a special keyword.
628 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
629 (ruby-syntax-general-delimiters-goto-beg)
630 (ruby-syntax-propertize-general-delimiters): New functions.
631 (ruby-syntax-propertize-function): Use them to handle GDL.
632 (ruby-font-lock-keywords): Move old handling of GDL...
633 (ruby-font-lock-syntactic-keywords): .. to here.
634 (ruby-calculate-indent): Adjust indentation for GDL.
636 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
638 * notifications.el (top): Remove unneeded declarations.
639 (notifications-specification-version): Change to "1.2".
640 (notifications-interface, notifications-notify-method)
641 (notifications-close-notification-method): Fix docstring.
642 (notifications-get-capabilities-method): New defconst.
643 (notifications-notify): Add :action-items, :resident and
644 :transient hints. Change "image_data" to "image-data" and
645 "image_path" to "image-path".
646 (notifications-get-capabilities): New defun.
648 2012-04-24 Leo Liu <sdl.web@gmail.com>
650 * progmodes/python.el: Move hideshow setup to the end.
652 2012-04-24 Martin Rudalics <rudalics@gmx.at>
654 * window.el (handle-select-window): Clear echo area since this is
655 no more done by read_char (Bug#11304).
657 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
659 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
660 and `/ M' to filter-derived-mode.
661 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
662 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
663 (ibuffer-mark-by-mode): Use default rather than initial-input.
664 (ibuffer-filter-by-derived-mode): Autoload and require-match.
666 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
668 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
669 (ibuffer-filter-by-derived-mode): New filter.
670 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
672 2012-04-23 Andreas Politz <politza@fh-trier.de>
674 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
676 2012-04-23 Chong Yidong <cyd@gnu.org>
678 * cus-edit.el (customize-apropos, customize-apropos-options):
679 Disable matching of non-option variables (Bug#11176).
680 (customize-option, customize-option-other-window)
681 (customize-changed-options): Doc fix.
682 (customize-apropos-options, customize-apropos-faces)
683 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
685 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
686 Fix word list splitting (Bug#11132).
687 (apropos-symbol, apropos-keybinding, apropos-label)
688 (apropos-property, apropos-function-button)
689 (apropos-variable-button, apropos-misc-button): New faces.
690 (apropos-symbol-face, apropos-keybinding-face)
691 (apropos-label-face, apropos-property-face, apropos-match-face):
692 Variables removed (Bug#8396).
693 (apropos-library-button, apropos-format-plist, apropos-print)
694 (apropos-print-doc, apropos-describe-plist): Callers changed.
696 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
698 * net/xesam.el (xesam-mode-map): Use let-bound map in
699 initialization. (Bug#11292)
701 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
703 Preserve ispell session localwords when switching back to
706 * ispell.el (ispell-buffer-session-localwords): New buffer-local
707 variable to hold buffer session localwords.
708 (ispell-kill-ispell): add option 'clear to delete session
710 (ispell-command-loop, ispell-change-dictionary)
711 (ispell-buffer-local-words): Preserve session localwords when
714 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
715 Preserve session localwords when needed.
717 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
719 * ispell.el (ispell-insert-word) Remove unneeded function using
720 obsolete `translation-table-for-input'.
721 (ispell-word, ispell-process-line, ispell-complete-word):
722 Use plain `insert' instead of removed `ispell-insert-word'.
724 2012-04-22 Chong Yidong <cyd@gnu.org>
726 * cus-edit.el (custom-variable-menu)
727 (custom-variable-reset-saved, custom-face-menu)
728 (custom-face-reset-saved): If there is no saved value, make the
729 "reset-saved" operation bring back the default (Bug#9509).
730 (custom-face-state): Properly detect themed faces.
732 * faces.el (face-spec-set): Stop supporting deprecated form of
735 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
737 Move functions from C to Lisp. Make non-blocking method calls
738 the default. Implement further D-Bus standard interfaces.
740 * net/dbus.el (dbus-message-internal): Declare function.
741 Remove unneeded function declarations.
742 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
743 (dbus-message-type-method-return, dbus-message-type-error)
744 (dbus-message-type-signal): Declare variables. Remove local
746 (dbus-interface-dbus, dbus-interface-peer)
747 (dbus-interface-introspectable, dbus-interface-properties)
748 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
750 (dbus-interface-objectmanager): New defconst.
751 (dbus-call-method, dbus-call-method-asynchronously)
752 (dbus-send-signal, dbus-method-return-internal)
753 (dbus-method-error-internal, dbus-register-service)
754 (dbus-register-signal, dbus-register-method): New defuns, moved
756 (dbus-call-method-handler, dbus-setenv)
757 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
759 (dbus-call-method-non-blocking): Make it an obsolete function.
760 (dbus-unregister-object, dbus-unregister-service)
761 (dbus-handle-event, dbus-register-property)
762 (dbus-property-handler): Obey the new structure of
763 `bus-registered-objects'.
764 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
765 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
766 Use `dbus-call-method'.
768 2012-04-22 Chong Yidong <cyd@gnu.org>
770 * cus-edit.el (custom-commands, custom-reset-menu)
771 (Custom-reset-standard): Tweak labels.
772 (custom-reset-button-menu): Change default to t.
773 (custom-buffer-create-internal): For the custom-reset-button-menu
774 case, put the revert button first.
775 (custom-group-subtitle): New face.
776 (custom-group-value-create): Align docstring to a specific column.
778 * wid-edit.el (widget-documentation-link-add): Don't handle
779 indentation in this function.
780 (widget-documentation-string-indent-to): New function.
781 (widget-documentation-string-value-create): Use it.
783 * autorevert.el (auto-revert):
784 * epg-config.el (epg):
785 * ibuffer.el (ibuffer):
788 * eshell/eshell.el (eshell):
789 * net/ange-ftp.el (ange-ftp):
790 * progmodes/ebnf2ps.el (postscript):
791 * progmodes/flymake.el (flymake):
792 * progmodes/prolog.el (prolog):
793 * progmodes/verilog-mode.el (verilog-mode):
794 * progmodes/which-func.el (which-func):
795 * term/xterm.el (xterm):
796 * textmodes/picture.el (picture):
797 * textmodes/tildify.el (tildify):
798 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
799 customization buffers.
801 2012-04-22 Alan Mackenzie <acm@muc.de>
803 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
804 Adding a ) can hide the resulting (..) from searches. Fix it.
805 Bound the backward search to the position of the existing (.
807 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
809 * progmodes/verilog-mode.el (verilog-mode): Check whether
810 which-func-modes is t before adding verilog-mode.
811 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
813 2012-04-21 Leo Liu <sdl.web@gmail.com>
815 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
817 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
819 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
820 filling of the last column of a table (Bug#5635).
821 (woman-find-next-control-line): New arg, specifying an additional
822 regexp component for the control line.
823 (woman2-roff-buffer): Use it.
824 (woman-break-table): New function.
827 2012-04-21 Chong Yidong <cyd@gnu.org>
829 * woman.el (woman-set-buffer-display-table, woman-decode-region)
830 (woman-horizontal-escapes, woman-negative-vertical-space)
831 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
832 (WoMan-warn-ignored): Use ?\s instead of ?\ .
834 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
836 * minibuffer.el (completion-file-name-table): Complete user names.
838 2012-04-20 Leo Liu <sdl.web@gmail.com>
840 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
843 2012-04-20 Chong Yidong <cyd@gnu.org>
845 * server.el (server-execute): Respect initial-buffer-choice if it
846 is a string and there are no files to open (Bug#2825).
847 (server-create-window-system-frame, server-create-tty-frame):
848 Don't switch buffers here.
849 (server-process-filter): Only try to open a window system frame if
850 compiled with graphical support (Bug#8314).
852 2012-04-20 Dan Nicolaescu <dann@gnu.org>
854 * battery.el (battery-echo-area-format): Display remaining time
855 for sysfs backend too (Bug#11269).
856 (battery-linux-sysfs): Fix conditional for the charge.
858 2012-04-20 Chong Yidong <cyd@gnu.org>
860 * progmodes/gdb-mi.el (gdb): Revert previous change.
861 (gdb-inferior-io--init-proc): New function.
862 (gdb-init-1): Use it.
863 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
864 responsible for allocating a new pty and hooking it to gdb when
865 the old pty gets an EIO due to process exit.
866 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
867 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
868 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
870 2012-04-20 Eli Zaretskii <eliz@gnu.org>
872 * window.el (window-min-size, window-sizable, window-min-delta)
873 (window-max-delta, window--resizable, window-resizable)
874 (window-total-size, window-full-height-p, window-full-width-p)
875 (window-in-direction, window--resize-mini-window, window-resize)
876 (window--resize-child-windows-normal)
877 (window--resize-child-windows, window--resize-siblings)
878 (window--resize-this-window, adjust-window-trailing-edge)
879 (enlarge-window, shrink-window): Doc fixes.
881 2012-04-20 Chong Yidong <cyd@gnu.org>
883 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
884 New function to call delete-process on the gdb-inferior buffer's pty.
885 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
886 pty process (Bug#11273).
887 (gdb-update): New arg to suppress talking to the gdb process.
888 (gdb-done-or-error): Use it.
889 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
890 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
891 sentinel not being called.
893 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
895 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
897 2012-04-20 Glenn Morris <rgm@gnu.org>
899 * net/network-stream.el (open-network-stream): Doc fix.
901 2012-04-20 Chong Yidong <cyd@gnu.org>
903 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
905 2012-04-20 Alan Mackenzie <acm@muc.de>
907 Ensure searching for keywords is case sensitive.
909 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
910 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
911 (c-defun-name, c-mark-function, c-cpp-define-name)
912 (c-comment-indent, c-scan-conditionals, c-indent-defun)
913 (c-context-line-break): Bind case-fold-search to nil.
915 * progmodes/cc-mode.el (c-font-lock-fontify-region):
916 Bind case-fold-search to nil.
918 2012-04-20 Chong Yidong <cyd@gnu.org>
920 * mail/sendmail.el (mail-bury): Call return action with the right
921 Rmail buffer (Bug#11242).
923 * server.el (server-process-filter): Handle corner case where both
924 tty and nowait options are present (Bug#11102).
926 2012-04-20 Eli Zaretskii <eliz@gnu.org>
928 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
929 (top level): Put into the executable the ident-style '$Id:' tag on
932 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
934 * electric.el (electric-indent-post-self-insert-function): Check that
935 electric-indent-mode is enabled in current buffer.
937 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
939 * imenu.el (imenu-progress-message): Restore; it is "used" in
940 erc/erc-imenu.el and net/snmp-mode.el.
942 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
944 * avoid.el (mouse-avoidance-mode): Mark unused arg.
945 (mouse-avoidance-nudge-mouse): Remove unused binding.
947 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
949 * descr-text.el (describe-char):
950 * progmodes/python.el (python-describe-symbol):
951 Don't call `toggle-read-only', set `buffer-read-only'.
953 * imenu.el (imenu-default-goto-function): Mark unused args.
954 (imenu-progress-message): Remove obsolete macro; all callers changed.
956 * subr.el (keymap-canonicalize): Remove unused binding.
957 (read-passwd): Mark unused arg.
959 * tutorial.el (tutorial--display-changes): Remove unused binding.
960 (tutorial--save-tutorial-to): Remove unused variable.
962 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
963 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
964 (package-generate-autoloads, package-menu--generate)
965 (package-menu--find-upgrades): Remove unused bindings.
967 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
968 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
969 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
970 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
971 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
972 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
973 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
974 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
975 (cua-delete-char-rectangle): Mark unused args.
976 (cua-align-rectangle): Remove unused binding.
978 * mail/rmail.el (compilation--message->loc)
979 (epa--find-coding-system-for-mime-charset): Declare.
981 * net/dbus.el (dbus-register-service): Declare.
982 (dbus-name-owner-changed-handler): Remove unused binding.
984 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
985 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
986 (nxml-scan-backward-within): Mark unused arg.
987 (nxml-dynamic-markup-word): Remove unused binding.
989 * mouse.el (mouse-menu-major-mode-map):
990 * emacs-lisp/authors.el (authors-scan-change-log)
991 (authors-add-to-author-list):
992 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
993 * emacs-lisp/smie.el (smie-auto-fill):
994 * mail/sendmail.el (mail-bury):
995 * mail/unrmail.el (unrmail):
996 * net/tls.el (open-tls-stream):
997 * textmodes/picture.el (picture-mouse-set-point):
998 Remove unused bindings.
1000 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1002 * net/tramp.el (tramp-action-password): Let-bind
1003 `enable-recursive-minibuffers' to t.
1005 2012-04-18 Sam Steingold <sds@gnu.org>
1007 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1008 instead of 'string to accommodate values like [f11].
1009 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1010 * progmodes/gdb-mi.el: Likewise.
1012 2012-04-18 Leo Liu <sdl.web@gmail.com>
1014 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1016 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1019 2012-04-18 Chong Yidong <cyd@gnu.org>
1021 * simple.el (line-move): Use forward-line if in batch mode
1024 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1026 * files.el (after-find-file): Do not try to add a final newline if
1027 the buffer is read-only (Bug#11156).
1029 2012-04-17 Richard Stallman <rms@gnu.org>
1031 * mail/rmail.el (rmail-start-mail):
1032 Pass (rmail-mail-return...) for the return-action.
1033 Pass (rmail-yank-current-message...) for the yank-action.
1034 (rmail-yank-current-message): New function.
1035 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1036 (rmail-reply): Likewise.
1037 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1039 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1040 buffer, not the last. Reject temp buffers. Use the rmail-mode
1043 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1045 * server.el (server-ensure-safe-dir): Simplify.
1047 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1049 * emacs-lisp/smie.el: Provide smarter auto-filling.
1050 (smie-auto-fill): New function.
1051 (smie-setup): Use it.
1053 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1055 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1057 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1058 (comment-indent): Use it.
1060 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1062 * ses.el: The overall change is to add cell renaming, that is
1063 setting fancy names for cell symbols other than name matching
1064 "\\`[A-Z]+[0-9]+\\'" regexp .
1065 (ses-localvars): Add ses--renamed-cell-symb-list.
1066 (ses-create-cell-variable): New defun.
1067 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1068 (ses-relocate-formula): Relocate formulas only for cells the
1069 symbols of which are not renamed, i.e. symbols whose names do not
1070 match regexp "\\`[A-Z]+[0-9]+\\'".
1071 (ses-relocate-all): Relocate values only for cells the symbols of
1072 which are not renamed.
1073 (ses-load): Create cells variables as the (ses-cell ...) are read,
1074 in order to check row col consistency with cell symbol name only
1075 for cells that are not renamed.
1076 (ses-replace-name-in-formula): New defun.
1077 (ses-rename-cell): New defun.
1079 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1081 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1082 New option (bug#11118).
1083 (perl-calculate-indent): Respect it.
1085 2012-04-17 Glenn Morris <rgm@gnu.org>
1087 * dired-aux.el (dired-mark-read-string): Doc fix.
1089 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1091 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1092 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1094 2012-04-17 Glenn Morris <rgm@gnu.org>
1096 * mouse.el (mouse-drag-track):
1097 * speedbar.el (speedbar-frame-mode):
1098 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1100 2012-04-16 Leo Liu <sdl.web@gmail.com>
1102 * progmodes/python.el: Trivial cleanup.
1104 2012-04-16 Glenn Morris <rgm@gnu.org>
1106 * vc/vc.el (vc-string-prefix-p):
1107 * vc/pcvs-util.el (cvs-string-prefix-p):
1108 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1109 * mpc.el (mpc-string-prefix-p):
1110 Make all of these into obsolete aliases for string-prefix-p.
1112 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1114 * textmodes/two-column.el: Move custom options to the start.
1115 (frame-width): Remove compat definition.
1116 (2C-associate-buffer, 2C-dissociate):
1117 Use with-current-buffer rather than save-excursion.
1118 (2C-dissociate): Force a mode-line update.
1119 (2C-autoscroll): Use ignore-errors.
1121 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1124 * emacs-lisp/cl-extra.el (*random-state*):
1125 Remove unnecessary declaration.
1127 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1129 * play/cookie1.el (cookie-snarf):
1130 Give an explicit error if input file cannot be read.
1132 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1134 * progmodes/perl-mode.el (c-macro-expand):
1135 Remove unnecessary autoload (it is in loaddefs.el).
1137 * textmodes/picture.el (picture-desired-column)
1138 (picture-update-desired-column): Convert comments to doc-strings.
1139 (picture-substitute): Remove function.
1140 (picture-mode-map): Initialize in the defvar.
1142 * woman.el: Remove eval-after-load for tar-mode.
1143 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1144 (woman-tar-extract-file): Autoload it.
1146 * frame.el (automatic-hscrolling): Make this alias obsolete.
1148 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1150 * ispell.el (ispell-set-spellchecker-params): Post-process
1151 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1152 (ispell-dictionary-base-alist): Revert to original XEmacs
1153 friendly version for default. [:alpha:] will be added in
1154 `ispell-set-spellchecker-params' if needed
1156 2012-04-16 Chong Yidong <cyd@gnu.org>
1158 * image.el (imagemagick--extension-regexp): New variable.
1159 (imagemagick-register-types): Use it.
1160 (imagemagick-types-inhibit): Add :set function. Allow new value
1161 of t to inhibit all types.
1163 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1164 so we can preload it.
1166 * loadup.el (fboundp): Preload regexp-opt, needed by
1167 imagemagick-register-types.
1169 2012-04-15 Chong Yidong <cyd@gnu.org>
1171 * frame.el (scrolling): Remove nearly unused customization group.
1173 * scroll-all.el (scroll-all-mode): Move to windows group.
1175 2012-04-15 Chong Yidong <cyd@gnu.org>
1177 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1179 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1181 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1182 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1184 2012-04-15 Glenn Morris <rgm@gnu.org>
1186 * simple.el (process-file-side-effects): Doc fix.
1188 2012-04-15 Glenn Morris <rgm@gnu.org>
1190 * international/mule-cmds.el (set-language-environment): Doc fix.
1192 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1194 * server.el (server-auth-key, server-generate-key): Doc fixes.
1195 (server-get-auth-key): Doc fix. Use `string-match-p'.
1196 (server-start): Reflow docstring.
1198 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1200 * server.el (server-generate-key): `called-interactively-p'
1201 requires a parameter.
1203 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1205 * server.el (server-auth-key): New variable.
1206 (server-generate-key, server-get-auth-key): New function.
1207 (server-start): Use the new variable and functions to allow
1208 setting a permanent server key (bug#9423).
1210 2012-04-14 Leo Liu <sdl.web@gmail.com>
1212 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1214 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1217 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1218 Emacs uses American spelling.
1220 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1222 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1223 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1224 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1225 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1227 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1229 * progmodes/which-func.el (which-func-modes): Change default.
1231 2012-04-14 Kim F. Storm <storm@cua.dk>
1233 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1234 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1236 2012-04-14 Chong Yidong <cyd@gnu.org>
1238 * custom.el (custom-theme-set-variables): Doc fix.
1240 2012-04-14 Glenn Morris <rgm@gnu.org>
1242 * international/mule.el (set-auto-coding-for-load): Doc fix.
1244 2012-04-14 Alan Mackenzie <acm@muc.de>
1246 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1247 imenu work again for Objective C Mode. Correct the *-index values,
1248 these having been disturbed by a previous change in 2011-08.
1250 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1251 Correct two search limits.
1253 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1255 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1257 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1259 * international/characters.el: Fix sorting.
1261 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1263 * international/characters.el: Add more missing Latin case pairs.
1265 2012-04-14 Glenn Morris <rgm@gnu.org>
1267 * files.el (dir-locals-set-class-variables): Doc fix.
1269 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1271 * international/characters.el: Add set-case-syntax-pair call for
1272 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1273 counterpart. (Bug#11209)
1275 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1277 2012-04-14 Glenn Morris <rgm@gnu.org>
1279 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1281 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1283 * textmodes/ispell.el (ispell-dictionary-base-alist):
1284 Add data for Hebrew.
1286 2012-04-14 Chong Yidong <cyd@gnu.org>
1288 * net/rcirc.el (rcirc-cmd-quit):
1289 Revert 2012-03-18 change (Bug#11192).
1291 2012-04-14 Glenn Morris <rgm@gnu.org>
1293 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1295 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1297 * minibuffer.el (completion-in-region-mode-map):
1298 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1300 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1302 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1304 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1306 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1307 to allow `C-M-f' and `C-M-b' to move to the nearest path
1308 separator (bug#9511).
1310 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1312 * avoid.el: Require cl when compiling. And also move the
1313 `provide' to the end.
1315 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1317 * avoid.el (mouse-avoidance-banish-position): New variable.
1318 (mouse-avoidance-banish-destination): Use it (bug#10165).
1320 2012-04-13 Leo Liu <sdl.web@gmail.com>
1322 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1324 2012-04-13 Ken Brown <kbrown@cornell.edu>
1326 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1327 this is no longer needed now that cygstart understands file:// URLs.
1328 (browse-url-filename-alist): For the same reason, don't modify
1329 file:// URLs on Cygwin.
1331 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1333 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1334 the region on shift if the binding is already shifted (bug#11221).
1336 2012-04-12 Glenn Morris <rgm@gnu.org>
1338 * mail/mailpost.el: Move to obsolete/.
1340 2012-04-12 Drew Adams <drew.adams@oracle.com>
1342 * imenu.el (imenu--generic-function): Ignore invisible definitions
1345 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1347 * hexl.el (hexl-bits): New variable.
1348 (hexl-options): Mention the variable in the doc string.
1349 (hexl-rulerise, hexl-line-displen): New functions.
1350 (hexl-mode): Mention the new variable.
1351 (hexl-mode, hexl-current-address, hexl-current-address):
1353 (hexl-ascii-start-column): New function.
1354 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1355 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1357 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1359 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1360 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1361 the encoding, as expected by hunspell.
1363 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1365 * battery.el (battery--linux-sysfs-regexp): New const.
1366 (battery-status-function): Use it. Remove yeeloong special case.
1367 (battery-yeeloong-sysfs): Remove.
1368 (battery-echo-area-format): Remove yeeloong special case.
1370 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1372 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1373 Reported by Noah Friedman.
1375 * subr.el (read-passwd): Use read-string.
1377 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1379 * vcursor.el (vcursor-move): Increase the priority of the overlay
1382 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1384 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1385 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1387 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1389 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1390 define-minor-mode (bug#10760).
1392 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1394 * progmodes/grep.el (rgrep): Tweak the find command line so
1395 that directories matching `grep-find-ignored-files' won't be
1398 2012-04-11 Chong Yidong <cyd@gnu.org>
1400 * startup.el (command-line): Remove support for long-obsolete
1401 variable font-lock-face-attributes.
1403 2012-04-11 Glenn Morris <rgm@gnu.org>
1405 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1407 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1409 * window.el (window--state-get-1): Obey window-point-insertion-type.
1411 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1413 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1414 to previous function when point is on the first character of a
1415 function. Take care of that in `narrow-to-defun' (bug#6157).
1417 2012-04-11 Glenn Morris <rgm@gnu.org>
1419 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1420 not just file-errors.
1422 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1423 (vc-bzr-sha1): Use internal sha1.
1425 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1427 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1429 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1431 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1432 that start in the middle of the line (bug#10496).
1434 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1436 * battery.el (battery-linux-proc-acpi): Only one battery is
1437 discharged at a time, but that seems to confuse battery.el when
1438 computing `rate-type' for the battery not being discharged
1441 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1443 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1445 * international/quail.el: Use dolist and simplify.
1446 (quail-define-package, quail-update-keyboard-layout)
1447 (quail-define-rules): Use dolist.
1448 (quail-insert-kbd-layout, quail-get-translation): CSE.
1450 * tmm.el: Use dolist, remove left over hook.
1451 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1453 (calendar-load-hook): Don't mess with it.
1455 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1456 Use derived-mode-p. Run the diff asynchronously.
1458 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1460 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1462 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1464 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1465 (list-dynamic-libraries--loaded): New function.
1466 (list-dynamic-libraries--refresh): Use it.
1468 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1470 * progmodes/python.el (python-fill-paragraph):
1471 Make python-fill-region in a multiline string work when font-lock is
1472 disabled (bug#7018).
1474 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
1476 * language/european.el (cp775): Add oem/legacy (en)coding on
1477 DOS/MS Windows for the Baltic languages. There are still plenty
1478 of texts written in this encoding/codepage (bug#6519).
1480 2012-04-10 Glenn Morris <rgm@gnu.org>
1482 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1483 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1485 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1487 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1488 next-line "n" and previous-line "p" in order to make recentf more
1489 consistent with ibuffer, dired or org-mode (bug#9387).
1491 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1493 * image.el (put-image): Return the overlay created instead of the
1494 optional input string (bug#7834). Note that this may break code
1495 that is (for some reason or other) depending on `put-image'
1496 returning the string.
1498 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1500 * simple.el (zap-to-char): Allow zapping using input methods
1503 * textmodes/fill.el (fill-region): Leave point and mark where they
1504 were before filling (bug#5399).
1506 2012-04-09 Glenn Morris <rgm@gnu.org>
1508 * version.el (emacs-bzr-get-version):
1509 Handle lightweight checkouts of local branches.
1511 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1513 * international/characters.el: Recover lost case pairs. (Bug#11209)
1515 2012-04-09 Chong Yidong <cyd@gnu.org>
1517 * custom.el (custom-variable-p): Return nil for non-symbol
1518 arguments instead of signaling an error.
1519 (user-variable-p): Obsolete alias for custom-variable-p.
1521 * apropos.el (apropos-variable):
1522 * files-x.el (read-file-local-variable):
1523 * simple.el (set-variable):
1524 * woman.el (woman-mini-help):
1525 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1527 2012-04-09 Glenn Morris <rgm@gnu.org>
1529 * startup.el (normal-top-level): Don't look for leim-list.el
1530 in places where it will not be found. (Bug#910)
1532 * international/mule-cmds.el (set-default-coding-systems):
1533 * files.el (normal-mode):
1534 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1535 This function was removed with ucs-tables.el in 2008.
1537 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1539 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1540 ispell-encoding8-command to "-i", without a trailing space.
1541 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1542 separate command-line arguments, to specify the encoding, since
1543 that's how hunspell expects it.
1545 2012-04-08 Glenn Morris <rgm@gnu.org>
1547 * loadup.el: Load bindings before cus-start.
1548 This reduces somewhat the number of "rogue" settings in emacs -Q.
1550 2012-04-07 Glenn Morris <rgm@gnu.org>
1552 * version.el (emacs-bzr-get-version): New function.
1553 (emacs-bzr-version): New variable.
1554 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1555 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1557 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1559 * international/uni-bidi.el, international/uni-category.el:
1560 * international/uni-combining.el, international/uni-decimal.el:
1561 * international/uni-decomposition.el, international/uni-digit.el:
1562 * international/uni-lowercase.el, international/uni-mirrored.el:
1563 * international/uni-name.el, international/uni-numeric.el:
1564 * international/uni-titlecase.el, international/uni-uppercase.el:
1565 Update for Unicode 6.1.
1567 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1569 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1571 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1573 * window.el (shrink-window): Mention the `window-min-height'
1574 variable in the doc string.
1576 2012-04-05 Bastien Guerry <bzg@altern.org>
1578 * color.el (color-lighten-name): Fix typo.
1580 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1582 * server.el (server--on-display-p): New function.
1583 (server--on-display-p): Use it.
1585 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1587 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1590 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1592 * comint.el (comint--common-quoted-suffix): Check string boundary
1593 before comparing (bug#11158).
1594 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1596 2012-04-04 Chong Yidong <cyd@gnu.org>
1598 * minibuffer.el (completion-extra-properties): Doc fix.
1600 * subr.el (delayed-warnings-hook): Doc fix.
1602 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1604 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1605 selection (Bug#11159).
1606 (epa-insert-keys): Inform that the default public key will be
1607 exported if no key is selected.
1609 2012-04-04 Richard Stallman <rms@gnu.org>
1611 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1613 2012-04-03 Chong Yidong <cyd@gnu.org>
1615 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1616 mail-insert-file, not its obsolete alias mail-attach-file.
1618 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1620 * notifications.el (notifications-notify): Fix docstring.
1622 2012-04-02 Glenn Morris <rgm@gnu.org>
1624 * emacs-lisp/authors.el (authors-aliases): Another addition.
1626 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1628 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1629 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1630 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1632 2012-04-01 Chong Yidong <cyd@gnu.org>
1634 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1635 Handle root directory properly.
1636 (copy-directory): Caller changed.
1638 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1639 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1641 2012-03-31 Glenn Morris <rgm@gnu.org>
1643 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1645 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1647 * calendar/calendar.el (calendar-window-list)
1648 (calendar-hide-window): Restore. (Bug#11140)
1649 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1651 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1653 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1655 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1656 Check if file is a symlink (Bug#10489).
1658 * files.el (copy-directory): Likewise.
1660 2012-03-30 Chong Yidong <cyd@gnu.org>
1662 * image.el (imagemagick-types-inhibit)
1663 (imagemagick-register-types): Doc fix.
1665 2012-03-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1667 * ispell.el (ispell-get-extended-character-mode):
1668 Disable extended-char-mode for hunspell. hunspell does not support it
1669 and treats ~word as ordinary words in pipe mode.
1671 2012-03-30 Glenn Morris <rgm@gnu.org>
1673 * tutorial.el (help-with-tutorial): Ensure local variables don't
1674 happen to make the buffer read-only. (Bug#11127)
1676 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1678 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1679 (perl-calculate-indent): Return `noindent' in strings.
1681 2012-03-28 Sam Steingold <sds@gnu.org>
1683 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1684 instead of the broken adhockery which does not prevent calendar
1685 buffers from being displayed at random after exit.
1686 (calendar-window-list, calendar-hide-window): Remove the broken
1689 2012-03-28 Glenn Morris <rgm@gnu.org>
1691 * replace.el (query-replace-map): Doc fix.
1693 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1695 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1696 contents. (Bug#11109)
1698 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1700 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1702 (avl-tree--check, avl-tree--check-node): New funs.
1704 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1706 * window.el (switch-to-visible-buffer): New option.
1707 (switch-to-prev-buffer, switch-to-next-buffer):
1708 Observe switch-to-visible-buffer. Make sure that checking for a window
1709 showing a buffer already is done on the same frame.
1711 2012-03-27 Glenn Morris <rgm@gnu.org>
1713 * startup.el (mail-host-address): Doc fix.
1715 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1717 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1720 2012-03-26 Ami Fischman <ami@fischman.org>
1722 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1724 2012-03-26 Glenn Morris <rgm@gnu.org>
1726 * files.el (save-buffers-kill-emacs): Doc fix.
1728 * startup.el (normal-top-level, command-line, command-line-1):
1729 Give them doc strings.
1731 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1733 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1734 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1736 2012-03-25 Chong Yidong <cyd@gnu.org>
1738 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1739 theme if it was previously enabled before (Bug#11031).
1741 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1742 spec with custom-face-get-current-spec if its :shown-value is not
1743 determined yet (Bug#9337).
1744 (customize-create-theme, custom-theme-revert): Doc fixes.
1746 * button.el (button-at): Minor addition to docstring.
1748 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1750 * vc/vc.el (vc-merge): Fix a prompt.
1752 2012-03-24 Chong Yidong <cyd@gnu.org>
1754 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1757 * button.el (button-at): Minor addition to docstring.
1759 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1761 * newcomment.el (comment-choose-indent): No space after BOL.
1763 2012-03-22 Sam Steingold <sds@gnu.org>
1765 * window.el (switch-to-prev-buffer): Revert last patch because the
1766 bug turned out to be an advertised feature (Elisp manual 28.14).
1768 2012-03-22 Glenn Morris <rgm@gnu.org>
1770 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1771 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1773 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1775 * net/network-stream.el (network-stream-open-starttls): Make error
1776 message under Windows be less misleading.
1778 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1780 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1781 understands (bug#9942).
1783 2012-03-22 Chong Yidong <cyd@gnu.org>
1785 * simple.el (end-of-visible-line): Handle return value of
1786 next-single-property-change properly (Bug#9371).
1788 2012-03-22 Kenichi Handa <handa@m17n.org>
1790 * international/quail.el (quail-insert-kbd-layout): Fix previous
1791 change. To avoid unwanted bidi reordering, use
1792 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1794 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1796 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1797 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1798 (ruby-beginning-of-indent): Be more careful with the difference
1799 between word-boundary and symbol boundary.
1800 (ruby-mode-syntax-table): Make : a symbol constituent.
1802 2012-03-21 Andreas Politz <politza@fh-trier.de>
1804 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1806 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1808 * progmodes/etags.el (tags-completion-at-point-function):
1811 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1813 2012-03-21 Sam Steingold <sds@gnu.org>
1815 * progmodes/etags.el (tags-completion-at-point-function):
1816 Avoid the error when point is inside the pattern.
1818 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1820 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1823 2012-03-21 Drew Adams <drew.adams@oracle.com>
1825 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1827 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1829 * ido.el (ido-set-current-directory, ido-read-internal)
1830 (ido-choose-completion-string, ido-completion-help): Handle nil
1831 value of ido-completion-buffer (Bug#11008).
1833 2012-03-21 Sam Steingold <sds@gnu.org>
1835 * window.el (switch-to-prev-buffer): Do not switch to a visible
1836 window previous buffer, just like with the frame previous buffers.
1838 2012-03-21 Chong Yidong <cyd@gnu.org>
1840 * faces.el (make-face, make-empty-face, copy-face):
1841 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1844 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1846 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1847 (widget-complete): Remove broken use of it.
1849 2012-03-20 Chong Yidong <cyd@gnu.org>
1851 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1852 Use string-width and truncate-string-width to handle arbitrary
1855 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1857 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1858 to draw rectangles, not squares. (Regression introduced by revno
1859 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1861 2012-03-18 Chong Yidong <cyd@gnu.org>
1863 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1864 it is not yet defined (for temacs).
1866 2012-03-18 Leo Liu <sdl.web@gmail.com>
1868 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1870 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1872 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1873 (ispell-choices-win-default-height, ispell-silently-savep)
1874 (ispell-dictionary-alist, ispell-encoding8-command)
1875 (ispell-check-version, ispell-aspell-find-dictionary)
1876 (ispell-valid-dictionary-list, ispell-words-keyword)
1877 (ispell-get-word, ispell-internal-change-dictionary)
1878 (ispell-region, ispell-skip-region-list)
1879 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1880 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1881 (ispell-message-text-end, ispell-message)
1882 (ispell-buffer-local-parsing): Doc fix.
1884 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1886 * htmlfontify.el: Add support for code block fontification for ODT
1888 (hfy-optimisations): Define new option
1890 (hfy-fontify-buffer): Honor above setting.
1891 (hfy-begin-span, hfy-end-span): New routines factored out form
1892 `hfy-fontify-buffer'.
1893 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1894 that permit insertion of custom tags.
1895 (hfy-fontify-buffer): Use above handlers.
1896 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1897 (hfy-face-to-css): Re-defined to be a variable.
1898 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1899 over multiple runs. This is made possible by having the caller let
1900 bind a special variable `hfy-user-sheet-assoc'.
1901 (htmlfontify-string): New defun.
1902 (hfy-compile-face-map): Make sure that the last char in the
1903 buffer is correctly fontified.
1904 (hfy-face-resolve-face): Whitespace only change.
1906 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1908 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1911 2012-03-16 Leo Liu <sdl.web@gmail.com>
1913 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1915 2012-03-16 Alan Mackenzie <acm@muc.de>
1917 Further optimise the handling of large macros.
1919 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1920 limit to a call of `c-literal-limits'.
1921 (c-determine-+ve-limit): New function.
1922 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1923 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1924 In CASE 5B, restrict a search limit to 500.
1925 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1927 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1928 Restrict macro bounds to +-500 from after-change's BEG END.
1930 2012-03-16 Leo Liu <sdl.web@gmail.com>
1932 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1934 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1936 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1937 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1939 2012-03-16 Glenn Morris <rgm@gnu.org>
1941 * view.el (view-buffer, view-buffer-other-window)
1942 (view-buffer-other-frame): Doc fixes re special mode-class.
1944 * subr.el (eval-after-load): If named feature is provided not from
1945 a file, run after-load forms. (Bug#10946)
1947 * calendar/calendar.el (calendar-insert-at-column):
1948 Handle non-unit-width characters a bit better. (Bug#10978)
1950 2012-03-15 Chong Yidong <cyd@gnu.org>
1952 * emacs-lisp/ring.el (ring-extend): New function.
1953 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1955 * comint.el (comint-read-input-ring)
1956 (comint-add-to-input-history): Grow comint-input-ring lazily.
1958 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1960 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1961 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1963 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1964 (imenu-add-to-menubar): Don't add a redundant index.
1965 (imenu-update-menubar): Handle a dynamically composed keymap.
1967 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1969 * mail/sendmail.el (mail-encode-header):
1970 Bind rfc2047-encode-encoded-words to nil.
1972 2012-03-13 Glenn Morris <rgm@gnu.org>
1974 * calendar/calendar.el (calendar-string-spread):
1975 Handle non-unit-width characters a bit better. (Bug#10978)
1977 2012-03-13 Leo Liu <sdl.web@gmail.com>
1979 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1980 directory and file as argument (Bug#10822).
1982 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1984 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1985 For dynamically generated code, follow $PC.
1986 (gdb-disassembly-handler-custom): Handle no function name case.
1988 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1990 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1991 * emulation/ws-mode.el (ws-query-replace):
1992 * sort.el (sort-regexp-fields):
1993 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1995 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1997 * dabbrev.el: Fix cycle completion order (bug#10963).
1998 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1999 (dabbrev-completion): Don't use an obarray; provide
2000 a cycle-sort-function.
2002 2012-03-12 Leo Liu <sdl.web@gmail.com>
2004 * simple.el (kill-new): Use equal-including-properties for comparison.
2005 (kill-do-not-save-duplicates): Doc fix.
2007 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2009 * dabbrev.el: Fix cycle completion (bug#10963).
2010 Use lexical binding and wrap to 80 columns.
2011 (dabbrev-completion): Delay computing the list of completions.
2013 2012-03-12 Kenichi Handa <handa@m17n.org>
2015 * international/quail.el (quail-insert-kbd-layout): Surround each
2016 row by LRO and PDF instead of inserting many LRMs. Pad the left
2017 and right of each non-spacing marks. Insert invisible space
2018 between lower and upper characters to prevent composition.
2020 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2022 * minibuffer.el (minibuffer-complete): Don't get confused when the
2023 function is run twice via different commands (bug#10958).
2024 (complete-with-action): Fix docstring.
2026 2012-03-12 Chong Yidong <cyd@gnu.org>
2028 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2029 (nxml-completion-at-point-function): New function.
2030 (nxml-mode): Use it.
2031 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2033 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2034 Load generated autoloads file before byte compiling (Bug#10970).
2035 (package--make-autoloads-and-compile): New helper fun.
2037 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2039 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2041 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2043 * autorevert.el (auto-revert-handler): Ensure, that
2044 file-readable-p is applied only for local files or in
2045 auto-revert-tail-mode.
2047 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2049 * server.el (server-eval-at): Handle non-tcp connections.
2050 Decode result string.
2052 * server.el (server-msg-size): New constant.
2053 (server-reply-print): New function.
2054 (server-eval-and-print): Use it.
2055 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2058 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2060 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2063 2012-03-11 Chong Yidong <cyd@gnu.org>
2065 * simple.el (goto-line): Doc fix (Bug#9938).
2067 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2069 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2070 when finished (Bug#10963).
2072 2012-03-11 Martin Rudalics <rudalics@gmx.at>
2074 * window.el (split-window-below): Fix bug in case where
2075 split-window-keep-point is nil (Bug#10971).
2077 2012-03-11 Juri Linkov <juri@jurta.org>
2079 * replace.el (replace-highlight): Set isearch-word to nil
2080 unconditionally. (Bug#10887)
2082 2012-03-10 Eli Zaretskii <eliz@gnu.org>
2084 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2085 mairix-replace-illegal-chars; all callers changed. Don't remove
2086 ^, ~, and = characters: they are meaningful in mairix search specs.
2087 (mairix-widget-create-query): Add usage information about mairix
2088 search forms: negating words, searching for substrings, etc.
2090 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2092 * international/fontset.el (font-encoding-alist): Add an entry for
2095 2012-03-10 Richard Stallman <rms@gnu.org>
2097 * mail/sendmail.el (mail-encode-header):
2098 Set rfc2047-encode-encoded-words.
2100 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2102 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2103 view buffer means not swapped.
2104 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2105 (rmail-write-region-annotate): Error if real text has disappeared.
2107 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2109 2012-03-10 Chong Yidong <cyd@gnu.org>
2111 * emulation/cua-rect.el (cua--init-rectangles):
2112 * emulation/cua-base.el (cua--init-keymaps):
2113 Add delete-forward-char to remappings (Bug#9666).
2115 2012-03-10 Martin Rudalics <rudalics@gmx.at>
2117 * speedbar.el (speedbar-unhighlight-one-tag-line):
2118 Avoid unhighlighting due to frame switching (Bug#10275).
2120 2012-03-10 Chong Yidong <cyd@gnu.org>
2122 * minibuffer.el (completion-in-region, completion-help-at-point):
2123 Give the completion field overlay a high priority (Bug#6830).
2125 * dired.el (dired-goto-file): Recognize absolute file name
2126 listings (Bug#7126).
2127 (dired-goto-file-1): New helper function.
2128 (dired-toggle-read-only): Inhibit warnings.
2130 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
2132 * net/dbus.el (dbus-property-handler): Return empty array if
2133 there are no properties.
2135 2012-03-09 Leo Liu <sdl.web@gmail.com>
2137 * savehist.el (savehist-printable): Stricter check for string
2140 2012-03-09 Eli Zaretskii <eliz@gnu.org>
2142 * mail/smtpmail.el (smtpmail-send-it):
2143 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2146 2012-03-09 Glenn Morris <rgm@gnu.org>
2148 * files.el (dir-locals-find-file):
2149 Don't check result is regular, readable.
2150 (dir-locals-read-from-file): Demote errors.
2152 2012-03-08 Eli Zaretskii <eliz@gnu.org>
2154 * international/quail.el (quail-insert-kbd-layout):
2155 Insert invisible LRM characters before each character in a keyboard
2156 layout cell, to prevent their reordering by bidi display engine.
2157 For details, see the discussion in
2158 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2160 2012-03-08 Alan Mackenzie <acm@muc.de>
2162 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2163 the starting position; make it extend the marked region when
2164 invoked repeatedly - all under appropriate circumstances.
2165 Fixes bugs #5525, #10906.
2167 2012-03-08 Glenn Morris <rgm@gnu.org>
2169 * files.el (locate-dominating-file, dir-locals-find-file):
2170 Undo 2012-03-06 change.
2172 2012-03-07 Eli Zaretskii <eliz@gnu.org>
2174 * international/quail.el (quail-help):
2175 Force bidi-paragraph-direction be left-to-right. See discussion in
2176 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2179 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2181 Avoid superfluous registering of signals. (Bug#10807)
2183 * notifications.el (notifications-on-action-object)
2184 (notifications-on-close-object): New defvars.
2185 (notifications-on-action-signal, notifications-on-closed-signal):
2186 Unregister the signal if not needed any longer.
2187 (notifications-notify): Register `notifications-action-signal' or
2188 `notifications-closed-signal', if :on-action or :on-close has been
2191 2012-03-07 Chong Yidong <cyd@gnu.org>
2193 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2196 2012-03-06 Glenn Morris <rgm@gnu.org>
2198 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2199 (x-disown-selection-internal, x-get-selection-internal):
2200 Doc fix (add arglist signatures). (Bug#10783)
2202 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2204 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2205 Handle breakpoints with no "type".
2207 2012-03-06 Glenn Morris <rgm@gnu.org>
2209 * files.el (locate-dominating-file): Add optional predicate argument.
2210 (dir-locals-find-file): Make use of above change.
2212 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2214 * info.el (Info-insert-dir): Also try "dir.gz".
2216 2012-03-06 Glenn Morris <rgm@gnu.org>
2218 * files.el (dir-locals-find-file):
2219 Ignore non-readable or non-regular files. (Bug#10928)
2221 * files.el (locate-dominating-file): Doc fix.
2223 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2225 * calendar/calendar.el (calendar-set-mode-line):
2226 `getenv' returns a string. (Bug#10951)
2228 2012-03-05 Leo Liu <sdl.web@gmail.com>
2230 * simple.el (backward-delete-char-untabify): Constrain point to
2233 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2235 2012-03-05 Chong Yidong <cyd@gnu.org>
2237 * simple.el (count-words): If called from Lisp, return the word
2238 count, for symmetry with `count-lines'. Arglist changed.
2239 (count-words--message): Args changed. Consolidate counting code
2240 from count-words and count-words-region.
2241 (count-words-region): Caller changed.
2242 (count-lines-region): Make it an obsolete alias.
2244 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2246 * saveplace.el (save-place-to-alist)
2247 (save-place-ignore-files-regexp): Allow value nil to disable this
2250 2012-03-04 Chong Yidong <cyd@gnu.org>
2252 * faces.el (face-spec-reset-face): For the default face, reset the
2253 attributes to default values (Bug#10748).
2255 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2257 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2258 previous patch: Check `message-send-mail-function', and not the
2259 default function (bug#10897).
2261 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2263 * notifications.el (notifications-on-action-signal)
2264 (notifications-on-closed-signal): Check for unique service name of
2265 incoming event. Fix error in removing entry.
2266 (top): Register for signals with wildcard service name.
2267 (notifications-notify): Use daemon unique service name for map entries.
2269 2012-03-04 Chong Yidong <cyd@gnu.org>
2271 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2273 2012-03-04 Glenn Morris <rgm@gnu.org>
2275 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2276 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2277 (expand-abbrev, define-abbrev-table): Doc fixes.
2279 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2281 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2282 `message-default-send-mail-function' and not `send-mail-function'
2283 when doing the prompting for `sendmail-query-once' before sending
2284 in Message buffers (bug#10897).
2286 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2287 This is inconsistent with all the other stream functions, which leave
2288 the setting up to the higher levels (if so wanted) (bug#10931).
2290 2012-03-02 Alan Mackenzie <acm@muc.de>
2292 Depessimize the handling of very large macros.
2294 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2295 (c-macro-cache-syntactic): New variables to implement a one
2296 element macro cache.
2297 (c-invalidate-macro-cache): New function.
2298 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2299 Adapt to use the new cache.
2300 (c-state-safe-place): Use better the cache of safe positions.
2301 (c-state-semi-nonlit-pos-cache)
2302 (c-state-semi-nonlit-pos-cache-limit):
2303 New variables for...
2304 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2305 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2306 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2307 Use c-state-semi-safe-place.
2309 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2310 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2312 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2314 * jka-compr.el (jka-compr-call-process):
2315 Apply `file-accessible-directory-p' only when the default directory is
2318 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2320 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2321 access of FILE2, if FILE1 does not exist.
2323 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2324 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2326 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2327 Add "PAGER=" to `process-environment'.
2329 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2331 * progmodes/sql.el: Bug fix
2332 (sql-get-login-ext): Save login values in globals.
2333 (sql-get-login): Use new version of `sql-get-login-ext'.
2334 (sql-interactive-mode): Set global `sql-connection' to nil.
2335 (sql-connect): Set global values for connection.
2336 (sql-product-interactive): Save global values as buffer local.
2338 2012-02-29 Leo Liu <sdl.web@gmail.com>
2340 * abbrev.el (define-abbrevs): Reset sys to nil.
2342 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2344 * files.el (file-equal-p): Rename from `files-equal-p'.
2345 Return nil when one or both files don't exist.
2346 (file-subdir-of-p): Now only top directory must exists,
2347 return nil if it doesn't.
2348 (copy-directory): No need to test with `file-subdir-of-p' after
2350 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2353 2012-02-28 Glenn Morris <rgm@gnu.org>
2355 * shell.el (shell-mode):
2356 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2357 * play/landmark.el (landmark-font-lock-face-O):
2358 * play/handwrite.el (handwrite):
2359 * play/gomoku.el (gomoku-O):
2360 * net/browse-url.el (browse-url-browser-display):
2361 * international/mule.el (define-charset):
2362 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2363 * filesets.el (filesets-find-file-delay):
2364 * eshell/em-xtra.el (eshell-xtra):
2365 * eshell/em-unix.el (eshell-grep):
2366 * emulation/viper.el (viper-mode):
2367 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2368 * emacs-lisp/easymenu.el (easy-menu-define):
2369 * calendar/timeclock.el (timeclock-use-display-time):
2371 * bookmark.el (bookmark-save-flag):
2372 Doc fix (standardize possessive apostrophe usage).
2374 2012-02-27 Chong Yidong <cyd@gnu.org>
2376 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2377 Fix key-binding lookup for ESC key (Bug#9146).
2379 * font-lock.el (font-lock-specified-p): Rename from
2380 font-lock-spec-present. Callers changed.
2382 2012-02-27 Daniel Hackney <dan@haxney.org>
2384 * emacs-lisp/package.el (package-compute-transaction):
2385 Handle holding a package version to t in package-load-list.
2387 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2389 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2390 (tramp-get-inode, tramp-get-device): Use cached values.
2392 2012-02-26 Alan Mackenzie <acm@muc.de>
2394 Check there is a font-lock specification before doing initial
2397 * font-core.el (font-lock-mode): Move the conditional from
2398 :after-hook to font-lock-initial-fontify.
2399 (font-lock-default-function): Move the check for a specification
2400 to font-lock-spec-present.
2402 * font-lock.el (font-lock-initial-fontify): Call ...
2403 (font-lock-spec-present): New function.
2405 2012-02-26 Jim Blandy <jimb@red-bean.com>
2407 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2408 (gdb-send): Apply it to the operand of the '-interpreter-exec
2409 console' command, so that we can pass arguments with (say) quotes
2410 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2412 2012-02-26 Chong Yidong <cyd@gnu.org>
2414 * help-fns.el (describe-function-1): Clarify description of
2415 remapping (Bug#10844).
2417 * files.el (files-equal-p): Doc fix.
2418 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2419 and quit the loop once a mismatch is found.
2421 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2423 * bs.el (bs--show-with-configuration): Don't throw an error
2424 if the window cannot be split; otherwise, subsequent calls to
2425 bs-show fail, restoring a stale window config. (Bug#10882)
2427 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2429 * term/ns-win.el (global-map): Bind ns-drag-file to
2430 ns-find-file (Bug#5855, Bug#10050).
2432 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2434 * calendar/parse-time.el (parse-time-string): Allow extractor to
2437 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2439 * net/tramp.el (tramp-file-name-for-operation):
2440 Add `files-equal-p' and `file-subdir-of-p'.
2442 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2443 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2444 Add COPY-CONTENTS argument.
2446 2012-02-25 Chong Yidong <cyd@gnu.org>
2448 Add custom groups for VC backends, for consistency with vc-bzr.
2450 * vc/vc-arch.el (vc-arch):
2451 * vc/vc-cvs.el (vc-cvs):
2452 * vc/vc-git.el (vc-git):
2453 * vc/vc-hg.el (vc-hg):
2454 * vc/vc-mtn.el (vc-mtn):
2455 * vc/vc-rcs.el (vc-rcs):
2456 * vc/vc-sccs.el (vc-sccs):
2457 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2458 All relevant defcustoms reassigned.
2460 2012-02-25 Chong Yidong <cyd@gnu.org>
2462 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2464 * term/x-win.el (x-initialize-window-system): Reduce default for
2465 x-selection-timeout to 5 seconds (Bug#8869).
2467 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2469 * files.el (files-equal-p, file-subdir-of-p): New functions.
2470 (copy-directory): Error when trying to copy a directory on itself.
2471 Add missing copy-contents arg to tramp handler.
2472 * dired-aux.el (dired-copy-file-recursive): Same.
2473 (dired-create-files): Modify destination when source is equal to
2474 dest when copying files.
2475 Return also when dest is a subdir of source. (Bug#10489)
2477 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2479 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2482 2012-02-23 Alan Mackenzie <acm@muc.de>
2484 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2485 parameter "after-hook:" to allow the expansion to run code after
2486 the execution of the mode hooks.
2488 * font-lock.el (font-lock-initial-fontify): New function extracted
2489 from font-lock-mode-internal.
2491 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2494 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2496 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2497 (completion--cache-all-sorted-completions): New function.
2498 (completion-all-sorted-completions): Use it.
2499 (completion--do-completion, minibuffer-force-complete):
2500 Use it to re-instate the flush hook.
2502 * icomplete.el (icomplete-completions): Replace last fix with a better
2505 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2507 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2508 when it might call us back infinitely (bug#10797).
2510 2012-02-23 Glenn Morris <rgm@gnu.org>
2512 * minibuffer.el (completion-category-overrides): Doc fix.
2514 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2516 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2517 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2519 2012-02-23 Glenn Morris <rgm@gnu.org>
2521 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2522 (authors-obsolete-files-regexps, authors-ignored-files)
2523 (authors-ambiguous-files, authors-renamed-files-alist):
2526 2012-02-23 Juri Linkov <juri@jurta.org>
2528 * isearch.el (isearch-occur): Sync interactive spec with occur's
2529 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2531 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2533 2012-02-22 Juri Linkov <juri@jurta.org>
2535 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2536 (ucs-insert): Doc fix. Check for hex digits in the string.
2537 Don't display `nil' in the error message. (Bug#10857)
2539 2012-02-22 Alan Mackenzie <acm@muc.de>
2541 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2543 2012-02-22 Glenn Morris <rgm@gnu.org>
2545 * ffap.el (ffap-c-path):
2546 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2548 2012-02-22 Chong Yidong <cyd@gnu.org>
2550 * custom.el (load-theme): Doc fix.
2552 2012-02-22 Glenn Morris <rgm@gnu.org>
2554 * dired-x.el (dired-guess-shell-alist-default):
2555 Remove escape sequences from nroff output. (Bug#172)
2557 2012-02-21 Glenn Morris <rgm@gnu.org>
2559 * vc/emerge.el (emerge-defvar-local):
2560 Set `permanent-local' property rather than unused `preserved'.
2562 * textmodes/picture.el (picture-delete-char): New alias.
2563 (picture-mode-map): Use it. (Bug#10860)
2564 (picture-mode): Doc fix.
2566 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2568 * newcomment.el (uncomment-region-default): Remove unused binding.
2570 2012-02-21 Glenn Morris <rgm@gnu.org>
2572 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2573 (picture-self-insert, picture-tab-chars): Doc fix.
2574 (picture-mode-map): Fix C-a, C-e.
2576 2012-02-20 Glenn Morris <rgm@gnu.org>
2578 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2580 2012-02-20 Leo Liu <sdl.web@gmail.com>
2582 * icomplete.el (icomplete-completions): Check FROM arg before
2583 passing to substring (Bug#10850).
2585 2012-02-19 Chong Yidong <cyd@gnu.org>
2587 * comint.el: Require ansi-color.
2588 (comint-output-filter-functions): Add ansi-color-process-output.
2590 * ansi-color.el: Don't set comint-output-filter-functions; it is
2591 now in the initial value defined in comint.el.
2592 (ansi-color-apply-face-function): New variable.
2593 (ansi-color-apply-on-region): Use it.
2594 (ansi-color-apply-overlay-face): New function.
2596 * shell.el (shell): No need to require ansi-color.
2597 (shell-mode): Use ansi-color-apply-face-function to highlight
2598 color escapes using font-lock-face property (Bug#10835).
2600 2012-02-19 Chong Yidong <cyd@gnu.org>
2602 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2603 mode-line formats (Bug#10839).
2605 2012-02-18 Glenn Morris <rgm@gnu.org>
2607 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2609 * mail/undigest.el (unforward-rmail-message): Doc fix.
2611 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2613 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2615 * international/characters.el (script-list): Sync with the latest
2616 Unicode Character Database.
2618 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2620 * international/titdic-cnv.el: Remove duplicate coding tag.
2621 * language/cham.el: Likewise.
2622 * language/tai-viet.el: Likewise.
2624 2012-02-18 Glenn Morris <rgm@gnu.org>
2626 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2627 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2628 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2629 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2630 * calendar/holidays.el (holiday-bahai-holidays)
2631 (calendar-holidays, list-holidays):
2632 Use utf-8 Bahá'à in doc-strings, menus, etc.
2634 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2636 * saveplace.el (save-place-ignore-files-regexp): New variable
2637 allowing for excluding files from saving their location of point.
2638 The default value matches the temporary commit message editing
2639 files from Git, SVN, Bazaar, and Mercurial.
2640 (save-place-to-alist): Use it.
2642 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2643 Stefan Monnier <monnier@iro.umontreal.ca>
2645 * newcomment.el (uncomment-region-default): Don't leave extra space
2646 when an arg is provided (bug#8150).
2648 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2650 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2652 2012-02-17 Glenn Morris <rgm@gnu.org>
2654 * net/socks.el: Require network-stream. (Bug#10599)
2656 2012-02-17 Kenichi Handa <handa@m17n.org>
2658 * international/charprop.el:
2659 * international/uni-name.el:
2660 * international/uni-old-name.el:
2661 * international/uni-comment.el: Regenerate.
2663 2012-02-16 Glenn Morris <rgm@gnu.org>
2665 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2666 Interactively in calendar buffer, give an error if not on a date.
2668 2012-02-15 Glenn Morris <rgm@gnu.org>
2670 * shell.el (shell-delimiter-argument-list):
2671 Revert 2011-02-17 change. (Bug#8027)
2673 2012-02-15 Chong Yidong <cyd@gnu.org>
2675 * minibuffer.el (completion-at-point-functions): Doc fix.
2677 * custom.el (defcustom): Doc fix; note use of defvar.
2679 2012-02-15 Glenn Morris <rgm@gnu.org>
2681 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2684 2012-02-14 Glenn Morris <rgm@gnu.org>
2686 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2688 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2690 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2691 way the ports list is computed.
2692 (smtpmail-query-smtp-server): Prompt the user for a port number if
2693 we can't connect to any of the standard ports (bug#10810).
2695 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2697 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2699 2012-02-13 Glenn Morris <rgm@gnu.org>
2701 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2703 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2705 * net/gnutls.el (gnutls-trustfiles): New variable.
2706 (gnutls-negotiate): Use it.
2708 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2710 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2711 does its stuff if Gnus is running.
2713 2012-02-13 Alan Mackenzie <acm@muc.de>
2715 Fix a loop in c-set-fl-decl-start.
2717 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2718 c-backward-syntactic-ws actually moves backwards.
2720 2012-02-13 Leo Liu <sdl.web@gmail.com>
2722 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2723 beginning so that all \C-o chars are removed.
2725 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2727 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2729 2012-02-12 Alan Mackenzie <acm@muc.de>
2731 Fix infinite loop with long macros.
2732 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2734 2012-02-12 Chong Yidong <cyd@gnu.org>
2736 * window.el (display-buffer): Doc fix (Bug#10785).
2738 2012-02-12 Glenn Morris <rgm@gnu.org>
2740 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2741 (x-disown-selection-internal, x-get-selection-internal):
2742 Sync docs with the xselect.c versions.
2744 * allout-widgets.el: Add missing license notice.
2746 2012-02-11 Glenn Morris <rgm@gnu.org>
2748 * select.el (x-get-selection-internal, x-own-selection-internal)
2749 (x-disown-selection-internal):
2750 * x-dnd.el (x-get-selection-internal): Update declarations.
2752 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2754 * window.el (window-sides-slots):
2755 * tool-bar.el (tool-bar-position):
2756 * term/xterm.el (xterm-extra-capabilities):
2757 * ses.el (ses-self-reference-early-detection):
2758 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2759 (verilog-auto-wire-type)
2760 (verilog-auto-delete-trailing-whitespace)
2761 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2762 (verilog-auto-tieoff-declaration):
2763 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2764 (sql-oracle-statement-starters, sql-oracle-scan-on):
2765 * progmodes/prolog.el (prolog-align-comments-flag)
2766 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2767 (prolog-left-indent-regexp, prolog-paren-indent-p)
2768 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2769 (prolog-types, prolog-mode-specificators)
2770 (prolog-determinism-specificators, prolog-directives)
2771 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2772 (prolog-electric-dot-flag)
2773 (prolog-electric-dot-full-predicate-template)
2774 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2775 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2776 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2777 (prolog-program-switches, prolog-prompt-regexp)
2778 (prolog-debug-on-string, prolog-debug-off-string)
2779 (prolog-trace-on-string, prolog-trace-off-string)
2780 (prolog-zip-on-string, prolog-zip-off-string)
2781 (prolog-use-standard-consult-compile-method-flag)
2782 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2783 (prolog-imenu-max-lines, prolog-info-predicate-index)
2784 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2785 (prolog-char-quote-workaround):
2786 * progmodes/cc-vars.el (c-defun-tactic):
2787 * net/tramp.el (tramp-encoding-command-interactive)
2788 (tramp-local-end-of-line):
2789 * net/soap-client.el (soap-client):
2790 * net/netrc.el (netrc-file):
2791 * net/gnutls.el (gnutls):
2792 * minibuffer.el (completion-category-overrides)
2793 (completion-cycle-threshold)
2794 (completion-pcm-complete-word-inserts-delimiters):
2795 * man.el (Man-name-local-regexp):
2796 * mail/feedmail.el (feedmail-display-full-frame):
2797 * international/characters.el (glyphless-char-display-control):
2798 * eshell/em-ls.el (eshell-ls-date-format):
2799 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2800 (lisp-lambda-list-keyword-parameter-indentation)
2801 (lisp-lambda-list-keyword-parameter-alignment):
2802 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2803 * dired-x.el (dired-omit-verbose):
2804 * cus-theme.el (custom-theme-allow-multiple-selections):
2805 * calc/calc.el (calc-highlight-selections-with-faces)
2806 (calc-lu-field-reference, calc-lu-power-reference)
2807 (calc-note-threshold):
2808 * battery.el (battery-mode-line-limit):
2809 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2810 (archive-7z-update):
2811 * allout.el (allout-prefixed-keybindings)
2812 (allout-unprefixed-keybindings)
2813 (allout-inhibit-auto-fill-on-headline)
2814 (allout-flattened-numbering-abbreviation):
2815 * allout-widgets.el (allout-widgets-auto-activation)
2816 (allout-widgets-icons-dark-subdir)
2817 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2818 (allout-widgets-theme-dark-background)
2819 (allout-widgets-theme-light-background)
2820 (allout-widgets-item-image-properties-emacs)
2821 (allout-widgets-item-image-properties-xemacs)
2822 (allout-widgets-run-unit-tests-on-load)
2823 (allout-widgets-time-decoration-activity)
2824 (allout-widgets-hook-error-post-time)
2825 (allout-widgets-track-decoration):
2826 Add missing :version tags to new defcustoms and defgroups.
2828 * progmodes/sql.el (sql-ansi-statement-starters)
2829 (sql-oracle-statement-starters): Add custom type.
2831 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2832 (prolog-system-version): Give it a type.
2834 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2836 * term/pc-win.el (x-select-text, x-selection-owner-p)
2837 (x-own-selection-internal, x-disown-selection-internal)
2838 (x-get-selection-internal): Sync doc strings and argument lists
2839 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2841 2012-02-11 Leo Liu <sdl.web@gmail.com>
2843 * progmodes/python.el (python-end-of-statement): Fix infinite
2846 2012-02-10 Glenn Morris <rgm@gnu.org>
2848 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2849 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2851 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2853 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2854 about SMTP before checking the From header.
2856 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2857 into own function for reuse by emacsbug.el.
2859 2012-02-10 Leo Liu <sdl.web@gmail.com>
2861 * subr.el (condition-case-unless-debug): Rename from
2862 condition-case-no-debug. All callers changed.
2863 (with-demoted-errors): Fix caller.
2865 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2866 * nxml/rng-valid.el (rng-do-some-validation):
2867 * emacs-lisp/package.el (package-refresh-contents)
2868 (package-menu-execute):
2869 * desktop.el (desktop-create-buffer):
2870 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2872 2012-02-10 Glenn Morris <rgm@gnu.org>
2874 * textmodes/bibtex.el:
2875 Add missing :version tags for new/changed defcustoms.
2877 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2879 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2881 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2882 (smtpmail-via-smtp): Use it, or fall back on the From address.
2883 (smtpmail-send-it): Ditto.
2885 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2887 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2888 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2889 (byte-compile-tmp-var): New const.
2890 (byte-compile-defvar): Use it to minimize .elc size.
2891 Just use `defvar' rather than simulate it (bug#10761).
2893 2012-02-09 Glenn Morris <rgm@gnu.org>
2895 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2897 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2900 * progmodes/compile.el (compilation-error-screen-columns)
2901 (compilation-first-column, compilation-filter-start): Doc fixes.
2903 * vc/log-view.el (log-view-toggle-entry-display):
2904 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2906 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2907 (report-emacs-bug-can-use-xdg-email):
2908 (report-emacs-bug-insert-to-mailer): Doc fixes.
2909 (report-emacs-bug): Message fix.
2911 * net/browse-url.el (browse-url-can-use-xdg-open)
2912 (browse-url-xdg-open): Doc fixes.
2914 * electric.el (electric-indent-mode, electric-pair-mode)
2915 (electric-layout-rules, electric-layout-mode): Doc fixes.
2916 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2918 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2920 * server.el (server-unselect-display): Don't inadvertently kill
2921 the current buffer. (Bug#10729)
2923 2012-02-08 Glenn Morris <rgm@gnu.org>
2925 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2926 (sql-list-table): Doc fixes.
2928 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2929 Comment out (does nothing).
2931 * completion.el (dynamic-completion-mode):
2932 * dirtrack.el (dirtrack-debug-mode):
2933 * electric.el (electric-layout-mode):
2934 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2935 * face-remap.el (text-scale-mode, buffer-face-mode):
2936 * iimage.el (iimage-mode):
2937 * image-mode.el (image-transform-mode):
2938 * minibuffer.el (completion-in-region-mode):
2939 * scroll-lock.el (scroll-lock-mode):
2940 * simple.el (next-error-follow-minor-mode):
2941 * tar-mode.el (tar-subfile-mode):
2942 * tooltip.el (tooltip-mode):
2943 * vcursor.el (vcursor-use-vcursor-map):
2944 * wid-browse.el (widget-minor-mode):
2945 * emulation/tpu-edt.el (tpu-edt-mode):
2946 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2947 * international/iso-ascii.el (iso-ascii-mode):
2948 * language/thai-util.el (thai-word-mode):
2949 * mail/supercite.el (sc-minor-mode):
2950 * net/goto-addr.el (goto-address-mode):
2951 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2952 * progmodes/cwarn.el (cwarn-mode):
2953 * progmodes/flymake.el (flymake-mode):
2954 * progmodes/glasses.el (glasses-mode):
2955 * progmodes/hideshow.el (hs-minor-mode):
2956 * progmodes/pascal.el (pascal-outline-mode):
2957 * textmodes/enriched.el (enriched-mode):
2958 * vc/smerge-mode.el (smerge-mode):
2959 Doc fixes (minor mode argument).
2961 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2963 * ls-lisp.el (ls-lisp-sanitize): New function.
2964 (ls-lisp-insert-directory): Use it to fix or remove any elements
2965 in file-alist with missing attributes. (Bug#4673)
2967 2012-02-07 Alan Mackenzie <acm@muc.de>
2969 Fix spurious recognition of c-in-knr-argdecl.
2971 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2972 putative K&R region.
2974 2012-02-07 Alan Mackenzie <acm@muc.de>
2976 * progmodes/cc-engine.el (c-forward-objc-directive):
2977 Prevent looping in "#pragma mark @implementation".
2979 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2981 * notifications.el (notifications-on-closed-signal): Make `reason'
2982 optional. (Bug#10744)
2984 2012-02-07 Glenn Morris <rgm@gnu.org>
2986 * emacs-lisp/easy-mmode.el (define-minor-mode):
2987 Doc fixes for the macro and the mode it defines.
2989 * image.el (imagemagick-types-inhibit): Doc fix.
2991 * cus-start.el (imagemagick-render-type): Add it.
2993 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2995 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2996 Set the default at load time, too, so that `font-lock-fontify-buffer'
2997 can be called without setting up the entire mode first. This fixes
2998 a bug in `mm-inline-text' with C MIME parts.
3000 2012-02-06 Chong Yidong <cyd@gnu.org>
3002 * simple.el (list-processes--refresh): Delete exited processes
3005 * comint.el (comint-next-prompt): next-single-char-property-change
3006 and prev-single-char-property-change never return nil (Bug#8657).
3008 * custom.el (defcustom): Doc fix (Bug#9711).
3010 2012-02-05 Chong Yidong <cyd@gnu.org>
3012 * cus-edit.el (custom-variable-reset-backup): Quote the value
3013 before storing it in the customized-value property (Bug#6712).
3014 (custom-display): Add a customization type tag.
3015 (custom-buffer-create-internal): Improve tooltip message.
3017 * wid-edit.el (widget-field-value-get): New optional arg to
3018 suppress trailing whitespace truncation.
3019 (character): Use it (Bug#2689).
3021 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3023 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3024 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3026 2012-02-05 Chong Yidong <cyd@gnu.org>
3028 * cus-edit.el (custom-variable-value-create): For mismatched
3029 types, show the current value (Bug#7600).
3031 * custom.el (defcustom): Doc fix.
3033 2012-02-05 Glenn Morris <rgm@gnu.org>
3035 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3037 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3039 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3040 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3041 (pp-last-sexp): Use `looking-at-p'.
3043 2012-02-04 Glenn Morris <rgm@gnu.org>
3045 * files.el (revert-buffer):
3046 Doc fix (mention revert-buffer-in-progress-p).
3048 * emacs-lisp/ert-x.el (ert-simulate-command):
3049 Check deferred-action-list (which is obsolete) is bound.
3051 * subr.el (with-wrapper-hook): Doc fixes.
3053 * simple.el (filter-buffer-substring-functions)
3054 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3056 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3058 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3059 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3061 2012-02-04 Leo Liu <sdl.web@gmail.com>
3063 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3065 2012-02-04 Glenn Morris <rgm@gnu.org>
3067 * image.el (image-extension-data): Add obsolete alias.
3069 * isearch.el (isearch-update): Doc fix.
3071 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3073 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3075 2012-02-03 Glenn Morris <rgm@gnu.org>
3077 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3078 (image-animate-timeout): Doc fix.
3080 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3082 2012-02-02 Glenn Morris <rgm@gnu.org>
3084 * server.el (server-auth-dir): Doc fix.
3085 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3087 * subr.el (run-mode-hooks): Doc fix.
3089 2012-02-02 Juri Linkov <juri@jurta.org>
3091 * image-mode.el (image-toggle-display-image): Remove tautological
3092 `major-mode' from the `derived-mode-p' test.
3094 2012-02-02 Kenichi Handa <handa@m17n.org>
3096 * composite.el (compose-region): Cancel previous change.
3098 2012-02-02 Kenichi Handa <handa@m17n.org>
3100 * composite.el (compose-region, compose-string): Signal error for
3101 a null string component (Bug#6988).
3103 2012-02-01 Chong Yidong <cyd@gnu.org>
3105 * view.el (view-buffer-other-window, view-buffer-other-frame):
3106 Handle special modes like view-buffer (Bug#10650).
3107 (view-buffer): Simplify.
3109 * frame.el (set-frame-font): Tweak meaning of third argument.
3111 * dynamic-setting.el (font-setting-change-default-font):
3112 Use set-frame-font (Bug#9982).
3114 2012-02-01 Glenn Morris <rgm@gnu.org>
3116 * progmodes/compile.el (compilation-internal-error-properties):
3117 Respect compilation-first-column in the "*compilation*" buffer.
3119 * emacs-lisp/easy-mmode.el (define-minor-mode):
3120 Relax :variable's test for a named function.
3122 2012-01-31 Alan Mackenzie <acm@muc.de>
3124 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3127 2012-01-31 Chong Yidong <cyd@gnu.org>
3129 * frame.el (set-frame-font): New arg ALL-FRAMES.
3131 * menu-bar.el (menu-set-font): Use set-frame-font.
3133 * faces.el (face-spec-reset-face): Don't apply unspecified
3134 attribute values to the default face.
3136 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3138 * progmodes/cwarn.el (cwarn): Remove dead link.
3139 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3140 Remove * from defcustom docstrings.
3141 (turn-on-cwarn-mode): Make obsolete.
3142 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3143 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3145 2012-01-31 Glenn Morris <rgm@gnu.org>
3147 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3148 Fix :variable handling of mode a symbol not equal to modefun.
3149 Allow named functions to be used as the cdr of :variable.
3151 2012-01-30 Glenn Morris <rgm@gnu.org>
3153 * emacs-lisp/authors.el (authors-fixed-entries):
3154 Remove reference to deleted file rnewspost.el.
3156 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
3158 * window.el (window-with-parameter): Remove unused variable `windows'.
3159 (window--side-check): Remove unused variable `code'.
3160 (window--resize-siblings): Remove unused variable `first'.
3161 (adjust-window-trailing-edge): Remove unused variable `failed'.
3162 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3163 Use `let', not `let*'.
3164 (balance-windows-2): Remove unused variable `found'.
3165 (window--state-put-2): Remove unused variable `splits'.
3166 (window-state-put): Remove unused variable `selected'.
3167 (same-window-p): Use `string-match-p'.
3168 (display-buffer-assq-regexp): Remove unused variable `value'.
3169 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3170 Mark argument ALIST as ignored.
3171 (pop-to-buffer): Remove unused variable `old-window'.
3173 2012-01-29 Eli Zaretskii <eliz@gnu.org>
3175 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3176 and .lzma compressed files.
3178 2012-01-29 Chong Yidong <cyd@gnu.org>
3180 * frame.el (window-system-default-frame-alist): Doc fix.
3182 * dynamic-setting.el (font-setting-change-default-font): Don't
3183 change the default face if SET-FONT argument is non-nil (Bug#9982).
3185 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3187 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3189 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3191 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3192 breakpoints in files outside current directory (Bug#6098).
3194 2012-01-29 Chong Yidong <cyd@gnu.org>
3196 * progmodes/python.el: Require ansi-color at top-level.
3198 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3199 Define and use in Emacs Lisp mode (Bug#9360).
3200 (lisp-mode-abbrev-table): Add doc.
3201 (lisp-mode-variables): Don't set local-abbrev-table.
3202 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3204 2012-01-28 Roland Winkler <winkler@gnu.org>
3206 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3208 2012-01-28 Roland Winkler <winkler@gnu.org>
3210 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3211 (bibtex-set-dialect): Use it. Either set global values of
3212 dialect-dependent variables or bind these variables buffer-locally
3214 (bibtex-mode): Call bibtex-set-dialect via
3215 hack-local-variables-hook.
3216 (bibtex-dialect): Update docstring.
3217 Add safe-local-variable predicate.
3218 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3220 (bibtex-mode-map): Define menu for each dialect.
3221 (bibtex-entry): Fix docstring.
3223 2012-01-28 Chong Yidong <cyd@gnu.org>
3225 * eshell/esh-arg.el (eshell-quote-argument): New function.
3227 * eshell/esh-ext.el (eshell-invoke-batch-file):
3228 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3229 first arg to eshell-parse-command (Bug#10523).
3231 2012-01-28 Drew Adams <drew.adams@oracle.com>
3233 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3234 `default-directory' is non-nil.
3236 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3238 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3239 line that displays system-configuration-options. (Bug#9924)
3241 2012-01-28 Drew Adams <drew.adams@oracle.com>
3243 * descr-text.el (describe-char): Show information about POS, in
3244 addition to information about the character at POS. Improve and
3245 update the doc string. Change "code point" to "code point in
3246 charset", to avoid confusion with the character's Unicode code
3247 point shown above that. (Bug#10129)
3249 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3251 * descr-text.el (describe-char): Show the raw character, not only
3252 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3253 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3256 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3258 * emacs-lisp/package.el (package-install):
3259 Run package-refresh-contents if there is no archive yet (Bug#9798).
3261 2012-01-28 Chong Yidong <cyd@gnu.org>
3263 * emacs-lisp/package.el (package-maybe-load-descriptor):
3264 New function, split from package-maybe-load-descriptor.
3265 (package-maybe-load-descriptor): Use it.
3266 (package-download-transaction): Fully load required packages
3267 inside the loop, so that `require' calls work (Bug#10593).
3268 (package-install): No need to call package-initialize now.
3270 2012-01-28 Chong Yidong <cyd@gnu.org>
3272 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3274 * tooltip.el (tooltip-mode): Doc fix.
3275 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3277 * frame.el (set-cursor-color): Doc fix (Bug#352).
3279 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3280 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3282 * cus-edit.el (custom-buffer-create-internal): Fix search button
3284 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3286 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3288 * dired.el (dired-mark-files-regexp):
3289 Include any subdirectory components. (Bug#10445)
3291 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3293 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3294 Handle [host]:port syntax. (Bug#10533)
3296 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3298 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3300 2012-01-26 Glenn Morris <rgm@gnu.org>
3302 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3303 * term.el (term-raw-escape-map): Use Control-X-prefix.
3304 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3306 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3308 * window.el (window-state-get, window--state-get-1): Don't deal
3309 with fixed-sizeness of windows. Simplify code.
3311 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3313 * window.el (window--state-get-1, window--state-put-2):
3314 Don't save and restore the mark.
3316 2012-01-25 Chong Yidong <cyd@gnu.org>
3318 * custom.el (custom-variable-p): Doc fix.
3320 2012-01-25 Glenn Morris <rgm@gnu.org>
3322 * dired.el (dired-goto-file): Handle some of the more common
3323 characters that `ls -b' escapes. (Bug#10596)
3325 * progmodes/compile.el (compilation-next-error-function):
3326 Respect compilation-first-column in the "*compilation*" buffer.
3327 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3329 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3331 2012-01-24 Glenn Morris <rgm@gnu.org>
3333 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3335 2012-01-24 Julien Danjou <julien@danjou.info>
3337 * color.el (color-rgb-to-hsl): Fix value computing.
3338 (color-hue-to-rgb): New function.
3339 (color-hsl-to-rgb): New function.
3340 (color-clamp, color-saturate-hsl, color-saturate-name)
3341 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3342 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3344 2012-01-24 Glenn Morris <rgm@gnu.org>
3346 * vc/vc-rcs.el (vc-rcs-create-tag):
3347 * vc/vc-sccs.el (vc-sccs-create-tag):
3348 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3350 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3352 * eshell/esh-util.el (eshell-read-hosts-file):
3353 Skip comment lines. (Bug#10549)
3355 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3357 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3359 * subr.el (display-delayed-warnings): Doc fix.
3360 (collapse-delayed-warnings): New function to collapse identical
3362 (delayed-warnings-hook): Add it.
3364 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3366 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3368 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3369 properties, when "login-as" is set.
3371 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3372 (tramp-default-user-alist): Don't add "pscp".
3373 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3374 property "login-as", if set. (Bug#10530)
3376 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3378 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3379 "plink1" and "psftp". (Bug#10530)
3381 2012-01-21 Kenichi Handa <handa@m17n.org>
3383 * international/mule-cmds.el (prefer-coding-system): Show a
3384 warning message if the default value of file-name-coding-system
3387 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3389 * windmove.el (windmove-reference-loc):
3390 Fix windmove-reference-loc miscalculation.
3392 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3394 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3397 2012-01-21 Glenn Morris <rgm@gnu.org>
3399 * international/mule.el (auto-coding-alist): Add .tbz.
3401 * files.el (local-enable-local-variables): Doc fix.
3402 (inhibit-local-variables-regexps): Rename from
3403 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3404 Doc fix. Add some extensions from auto-coding-alist.
3405 (inhibit-local-variables-suffixes):
3406 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3407 (inhibit-local-variables-p):
3408 New function, extracted from set-auto-mode-1.
3409 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3410 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3411 (hack-local-variables): Doc fix. Make the mode-only case
3412 respect enable-local-variables and friends.
3413 Respect inhibit-local-variables-regexps for file-locals, but
3414 not for directory-locals.
3415 (set-visited-file-name):
3416 Take account of inhibit-local-variables-regexps.
3417 Whether it applies may change as the file name is changed.
3418 * jka-cmpr-hook.el (jka-compr-install):
3419 * jka-compr.el (jka-compr-uninstall):
3420 Update for inhibit-first-line-modes-suffixes name change.
3422 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3424 * help-macro.el (make-help-screen): Temporarily restore original
3425 binding for minor-mode-map-alist (Bug#10454).
3427 2012-01-19 Julien Danjou <julien@danjou.info>
3429 * color.el (color-name-to-rgb): Use the white color to find the max
3430 color component value and return correctly computed values.
3431 (color-name-to-rgb): Add missing float conversion for max value.
3433 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3435 * window.el (window--state-get-1, window-state-get): Do not use
3436 special state value for window-persistent-parameters.
3437 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3438 (window--state-put-2): Reset all window parameters to nil before
3439 assigning values of persistent parameters.
3441 2012-01-18 Alan Mackenzie <acm@muc.de>
3443 Eliminate sluggishness and hangs in fontification of "semicolon
3446 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3447 Change value 10000 -> 3000.
3448 (c-state-safe-place): Reformulate so it doesn't stack up an
3449 infinite number of wrong entries in c-state-nonlit-pos-cache.
3450 (c-determine-limit-get-base, c-determine-limit): New functions to
3451 determine backward search limits disregarding literals.
3452 (c-find-decl-spots): Amend commenting.
3453 (c-cheap-inside-bracelist-p): New function which detects "={".
3455 * progmodes/cc-fonts.el
3456 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3458 (c-font-lock-declarations): Fix an occurrence of point being
3459 undefined. Check additionally for point being in a bracelist or
3460 near a macro invocation without a semicolon so as to avoid a
3461 fruitless time consuming search for a declarator. Give a more
3462 precise search limit for declarators using the new
3465 2012-01-18 Glenn Morris <rgm@gnu.org>
3467 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3468 (set-auto-mode): Doc fixes.
3470 2012-01-17 Glenn Morris <rgm@gnu.org>
3472 * isearch.el (search-nonincremental-instead): Fix doc typo.
3474 * dired.el (dired-insert-directory): Handle newlines in directory name.
3475 (dired-build-subdir-alist): Unescape newlines in directory name.
3477 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3479 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3480 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3481 (tramp-action-terminal): Use it. (Bug#10530)
3483 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3485 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3487 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3489 * window.el (window-state-ignored-parameters): Remove variable.
3490 (window--state-get-1): Rename argument MARKERS to IGNORE.
3491 Handle persistent window parameters. Make copy of clone-of
3492 parameter only if requested. (Bug#10348)
3493 (window--state-put-2): Install a window parameter only if it has
3494 a non-nil value or an existing parameter shall be overwritten.
3496 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3498 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3500 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3502 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3503 don't pass the (nil) value of `upnode' to string-match.
3505 2012-01-14 Chong Yidong <cyd@gnu.org>
3507 * startup.el (command-line): Fix X resource class for cursorColor.
3508 Fix values recognized by the cursorBlink resource.
3510 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3512 * epg.el (epg--make-temp-file): Avoid permission race condition
3513 when running on old Emacs versions (bug#10403).
3515 2012-01-14 Glenn Morris <rgm@gnu.org>
3517 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3519 2012-01-13 Alan Mackenzie <acm@muc.de>
3521 Fix filling for when filladapt mode is enabled.
3523 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3524 c-mask-paragraph, pass in `fill-paragraph' rather than
3525 `fill-region-as-paragraph'. (This is a reversion of a previous
3527 * progmodes/cc-mode.el (c-basic-common-init):
3528 Make fill-paragraph-handle-comment buffer local and set it to nil.
3530 2012-01-13 Glenn Morris <rgm@gnu.org>
3532 * dired.el (dired-switches-escape-p): New function.
3533 (dired-insert-directory): Use dired-switches-escape-p.
3534 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3536 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3538 2012-01-12 Glenn Morris <rgm@gnu.org>
3540 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3541 changes in adaptive-fill-regexp. (Bug#10276)
3543 2012-01-11 Alan Mackenzie <acm@muc.de>
3545 Fix Emacs bug #10463 - put `widen's around the critical spots.
3547 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3548 widen around each invocation of c-state-pp-to-literal. Remove an
3549 unused let variable.
3551 2012-01-11 Glenn Morris <rgm@gnu.org>
3553 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3556 2012-01-10 Chong Yidong <cyd@gnu.org>
3558 * net/network-stream.el (network-stream-open-starttls):
3559 Avoid emitting a confusing error message when the server gives a bad
3560 response to the capability command.
3562 2012-01-10 Glenn Morris <rgm@gnu.org>
3564 * mail/unrmail.el (unrmail): Tweak previous change.
3566 2012-01-09 Chong Yidong <cyd@gnu.org>
3568 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3570 2012-01-08 Alan Mackenzie <acm@muc.de>
3572 Optimise font locking in long enum definitions.
3574 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3575 arm to a cond form to handle enums.
3576 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3577 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3579 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3581 * files.el (move-file-to-trash): Preserve default file modes on error.
3584 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3586 * faces.el (set-face-attribute): Clarify the meaning of the nil
3589 * subr.el (with-selected-frame): Mention that the selected frame
3590 is restored (bug#9980).
3592 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3595 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3596 (password-read): Don't autoload unused function.
3598 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3600 * progmodes/which-func.el (which-func-mode): Turn into a
3601 non-interactive function and mark as obsolete (bug#10428).
3603 2012-01-06 Chong Yidong <cyd@gnu.org>
3605 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3606 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3607 functions, along with 1 and -1.
3609 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3611 * time.el (display-time-load-average)
3612 (display-time-default-load-average): Doc fixes. See the thread
3614 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3617 2012-01-06 Glenn Morris <rgm@gnu.org>
3619 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3620 has no messages. (Bug#10377)
3622 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3623 than Info-edit. (Bug#10385)
3625 * time.el (display-time-load-average, display-time-next-load-average):
3628 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3629 local setting of buffer-read-only to the input buffer. (Bug#10419)
3631 * calendar/calendar.el (calendar-mode):
3632 Locally set scroll-margin to 0. (Bug#10379)
3634 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3636 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3638 2012-01-05 Glenn Morris <rgm@gnu.org>
3640 * eshell/em-unix.el (diff-no-select): Autoload it.
3641 (eshell/diff): Use diff-no-select. (Bug#10420)
3643 2012-01-05 Chong Yidong <cyd@gnu.org>
3645 * shell.el (shell-dynamic-complete-functions): Revert last change.
3646 (shell-command-completion-function): New function.
3647 (shell-completion-vars): Use it to implement
3648 shell-completion-execonly (Bug#10417).
3650 * custom.el (enable-theme): Don't set custom-safe-themes.
3652 * cus-theme.el (custom-theme-merge-theme):
3653 Ignore custom-enabled-themes and custom-safe-themes.
3655 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3657 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3658 first prompt in `sql-interacive-mode'.
3659 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3661 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3662 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3663 context of original buffer. Invoke `sql-login-hook'.
3665 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3667 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3668 letters in cite-prefix.
3670 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3672 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3674 2012-01-03 Chong Yidong <cyd@gnu.org>
3676 * shell.el (shell-dynamic-complete-functions):
3677 Put pcomplete-completions-at-point, so as to try
3678 comint-filename-completion first (Bug#10417).
3680 2012-01-02 Richard Stallman <rms@gnu.org>
3682 * battery.el (battery-status-function):
3683 Detect when to use battery-yeeloong-sysfs.
3684 (battery-echo-area-format): Add string for Yeeloong.
3685 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3686 (battery-yeeloong-sysfs): New function.
3688 2012-01-02 Chong Yidong <cyd@gnu.org>
3690 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3691 (dirtrack): Merge code for handling relative filenames in prompt
3692 from shell-dir-cookie-watcher.
3693 (dirtrack-debug-message): New arg to avoid excess format calls.
3695 * shell.el (shell-dir-cookie-re): Variable deleted.
3696 (shell-dir-cookie-watcher): Function deleted.
3697 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3700 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3702 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3703 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3706 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3708 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3710 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3712 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3713 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3715 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3717 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3718 also for alternative shells.
3719 (tramp-open-connection-setup-interactive-shell): Check, whether
3720 the shell is a busybox.
3721 (tramp-send-command): Don't suppress multiple prompts for
3722 busyboxes, it hurts.
3724 2011-12-28 Chong Yidong <cyd@gnu.org>
3726 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3727 (gdb-get-source-file): Move mode line update to
3728 gdb-get-source-file (Bug#10087).
3730 2011-12-25 Chong Yidong <cyd@gnu.org>
3732 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3733 gud-gdb-marker-filter without taking it as an argument.
3734 (gud-gdb-run-command-fetch-lines): Caller changed.
3735 (gud-gdb-completion-function): New variable.
3736 (gud-gdb-completion-at-point): Use it.
3737 (gud-gdb-completions-1): Split from gud-gdb-completions.
3739 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3740 function as separate arguments.
3741 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3742 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3743 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3744 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3745 (gdb-stopped, def-gdb-auto-update-trigger)
3746 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3747 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3749 (gud-gdbmi-completions): New function.
3750 (gdb): Use it for generating the completion table.
3752 2011-12-24 Alan Mackenzie <acm@muc.de>
3754 Introduce a mechanism to widen the region used in context font
3755 locking. Use this to protect declarations from losing their contexts.
3757 * progmodes/cc-langs.el (c-before-font-lock-functions):
3758 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3759 (c-before-context-fontification-functions): New defvar, a list of
3760 functions to be run just before context (etc.) font locking.
3762 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3763 New, functionality extracted from
3764 c-neutralize-syntax-in-and-mark-CPP.
3765 (c-in-after-change-fontification): New variable.
3766 (c-after-change): Set c-in-after-change-fontification.
3767 (c-set-fl-decl-start): Rejig its interface, so it can be called
3768 from both after-change and context fontifying.
3769 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3771 (c-standard-font-lock-fontify-region-function): New variable.
3772 (c-font-lock-fontify-region): New function.
3774 2011-12-24 Juri Linkov <juri@jurta.org>
3776 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3779 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3781 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3782 existence of source file. (Bug#10325)
3784 2011-12-23 Alan Mackenzie <acm@muc.de>
3786 Fix unstable fontification inside templates.
3788 * progmodes/cc-langs.el (c-before-font-lock-functions):
3789 Newly created from the singular version. The (c c++ objc) entry now
3790 additionally has c-set-fl-decl-start. The other languages (apart
3791 from AWK) have that as a single entry.
3793 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3794 The functionality for "local" declarations has been extracted to
3795 c-set-fl-decl-start.
3797 * progmodes/cc-mode.el (c-common-init, c-after-change):
3798 Changes due to pluralisation of c-before-font-lock-functions.
3799 (c-set-fl-decl-start): New function, extracted from
3800 c-font-lock-enclosing-decls and enhanced.
3802 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3804 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3806 2011-12-22 Juri Linkov <juri@jurta.org>
3808 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3810 2011-12-22 Chong Yidong <cyd@gnu.org>
3812 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3814 2011-12-21 Drew Adams <drew.adams@oracle.com>
3816 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3818 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3820 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3822 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3824 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3825 highlighting and support. Fix up comments for capitalization.
3826 (cfengine-mode-debug): New var.
3827 (cfengine3-mode): Change the modeline indicator to "CFE3".
3828 (cfengine3-font-lock-keywords): Improve defun highlighting.
3829 (cfengine2-actions): Rename from `cfengine-actions'.
3830 (cfengine2-font-lock-keywords): Rename from
3831 `cfengine-font-lock-keywords'.
3832 (cfengine2-imenu-expression): Rename from
3833 `cfengine-imenu-expression'.
3834 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3835 (cfengine2-beginning-of-defun): Rename from
3836 `cfengine-beginning-of-defun'.
3837 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3838 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3839 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3840 modeline indicator to "CFE2".
3841 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3842 (cfengine-mode-abbrevs): Mark obsolete.
3844 2011-12-21 Chong Yidong <cyd@gnu.org>
3846 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3849 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3851 * window.el (window-normalize-buffer-to-display): Remove.
3852 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3854 2011-12-19 Chong Yidong <cyd@gnu.org>
3856 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3857 Don't signal an error in a predicate function; return non-nil.
3858 (vc-dir-mark-file): Move the error here.
3859 (vc-dir-mark-unmark): If acting on the region, keep going if one
3860 of the entries cannot be marked/unmarked.
3861 (vc-dir-mark-all-files): If current entry is a directory, mark
3862 only child files, as documented.
3864 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3866 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3867 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3870 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3872 * term/ns-win.el (ns-get-selection-internal)
3873 (ns-store-selection-internal): Declare.
3874 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3875 Declare as obsolete.
3876 (ns-get-pasteboard, ns-paste-secondary):
3877 Use ns-get-selection-internal.
3878 (ns-set-pasteboard, ns-copy-including-secondary):
3879 Use ns-store-selection-internal.
3881 2011-12-17 Chong Yidong <cyd@gnu.org>
3883 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3884 (vc-deduce-fileset): Doc fix.
3886 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3888 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3890 2011-12-13 Sam Steingold <sds@gnu.org>
3892 * man.el (Man-getpage-in-background): When running under a
3893 window-system, ignore $MANWIDTH and $COLUMNS.
3895 2011-12-15 Kenichi Handa <handa@m17n.org>
3897 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3898 (setup-ethiopic-environment-internal): Comment out key-binding for
3899 ethio-toggle-punctuation.
3901 2011-12-13 Alan Mackenzie <acm@muc.de>
3903 Add the switch statement to AWK Mode.
3905 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3906 "default" to the keywords regexp.
3908 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3909 expression as the rest.
3910 (c-nonlabel-token-key): Allow string literals for AWK.
3911 Refactor for the other modes.
3913 Large brace-block initialisation makes CC Mode slow: Fix.
3914 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3915 routines. Limit backward searching in c-font-lock-enclosing.decl.
3917 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3918 pp-state and literal type in addition to the limits.
3919 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3920 (c-state-literal-at): Use the above new defun.
3921 (c-slow-in-literal, c-fast-in-literal): Remove.
3922 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3924 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3925 being in a literal. Add a limit for backward searching.
3927 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3930 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3932 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3934 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3936 * window.el (delete-other-windows): Use correct frame in call to
3937 window-with-parameter.
3939 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3941 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3942 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3943 (makefile-gmake-statements, makefile-makepp-statements):
3944 Use it and add new makepp keywords.
3945 (makefile-makepp-font-lock-keywords): Add new patterns.
3946 (makefile-match-function-end): Match new [...] and [[...]].
3948 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3950 * ses.el (ses-call-printer-return, ses-cell-property-get)
3951 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3952 (ses-create-cell-variable, ses-reset-header-string)
3953 (ses-cell-set-formula, ses-repair-cell-reference-all)
3954 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3955 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3956 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3957 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3958 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3959 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3960 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3961 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3962 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3963 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3964 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3965 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3967 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3969 * ses.el: The overall change is to add cell renaming, that is
3970 setting fancy names for cell symbols other than name matching
3971 "\\`[A-Z]+[0-9]+\\'" regexp .
3972 (ses-create-cell-variable): New defun.
3973 (ses-relocate-formula): Relocate formulas only for cells the
3974 symbols of which are not renamed, i.e. symbols whose names do not
3975 match regexp "\\`[A-Z]+[0-9]+\\'".
3976 (ses-relocate-all): Relocate values only for cells the symbols of
3977 which are not renamed.
3978 (ses-load): Create cells variables as the (ses-cell ...) are read,
3979 in order to check row col consistency with cell symbol name only
3980 for cells that are not renamed.
3981 (ses-replace-name-in-formula): New defun.
3982 (ses-rename-cell): New defun.
3984 2011-12-11 Chong Yidong <cyd@gnu.org>
3986 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3987 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3989 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3991 * window.el (other-window): Fix docstring.
3993 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3995 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3996 `from' or `to' address before taking its substring.
3997 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3998 encoded name is chopped in the middle of the encoded string, and
3999 thus displayed encoded.
4001 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4003 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4005 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4007 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4008 to use texinfo-update-node and commands that call it if the
4009 Texinfo file uses @node lines without next/prev/up pointers.
4010 Correct outdated description about texinfo-master-menu.
4011 (texinfo-all-menus-update, texinfo-master-menu)
4012 (texinfo-update-node, texinfo-every-node-update)
4013 (texinfo-multiple-files-update): Doc fix. Warn against updating
4014 all the @node lines.
4015 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4016 argument is numeric. Explain better in the doc string what the
4017 function really does.
4018 (texinfo-insert-master-menu-list): Improve the error message
4019 displayed if there's no menu in the Top node.
4020 (Bug#2975) See also this thread:
4021 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4023 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4025 * speedbar.el (speedbar-supported-extension-expressions):
4026 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4028 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4030 * printing.el (pr-mode-alist):
4031 * simple.el (filter-buffer-substring-functions)
4032 (completion-list-insert-choice-function):
4033 * window.el (window-with-parameter, window-atom-root)
4034 (window-sides-slots, window-size-fixed, window-min-delta)
4035 (window-max-delta, window--resize-mini-window)
4036 (window--resize-child-windows-normal, window-tree)
4037 (delete-other-windows, quit-window, split-window)
4038 (display-buffer-record-window, special-display-buffer-names)
4039 (special-display-regexps, special-display-popup-frame)
4040 (same-window-p, split-window-sensibly)
4041 (display-buffer-overriding-action, display-buffer-alist)
4042 (display-buffer-base-action, display-buffer, switch-to-buffer)
4043 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4044 (fit-window-to-buffer, recenter-positions)
4045 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4046 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4047 and remove unneeded backslashes in docstrings.
4049 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4051 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4053 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4054 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4056 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4057 when reading the makefile (bug#10116).
4059 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4061 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4064 2011-12-06 Glenn Morris <rgm@gnu.org>
4066 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4068 2011-12-06 Chong Yidong <cyd@gnu.org>
4070 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4072 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
4074 * textmodes/table.el (table-shorten-cell): Fix typo.
4076 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4078 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4080 2011-12-05 Eli Zaretskii <eliz@gnu.org>
4082 * descr-text.el (describe-char): Fix display of strong
4083 right-to-left characters and directional embeddings and overrides.
4085 * simple.el (what-cursor-position): Fix display of codepoints of
4086 strong right-to-left characters.
4088 2011-12-05 Chong Yidong <cyd@gnu.org>
4090 * faces.el (read-color): Doc fix.
4092 2011-12-05 Glenn Morris <rgm@gnu.org>
4094 * align.el (align--set-marker): Add doc-string.
4095 Don't try to move something that is not a marker. (Bug#10216)
4097 2011-12-04 Glenn Morris <rgm@gnu.org>
4099 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4100 overly zealous deletion of trailing whitespace.
4102 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
4104 * server.el (server-delete-client): On Windows, do not try to delete
4106 (server-process-filter): On Windows, treat requests for a tty frame as
4107 if they were for a GUI frame if the running server is in GUI mode.
4109 2011-12-03 Glenn Morris <rgm@gnu.org>
4111 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4113 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4115 * electric.el: Streamline electric-indent's hook.
4116 (electric-indent-chars): Revert to simple list.
4117 (electric-indent-functions): New var.
4118 (electric-indent-post-self-insert-function): Use it.
4120 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4121 there's no inferior buffer (bug#10196).
4122 (prolog-consult-compile): Don't use toggle-read-only.
4124 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
4126 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4127 interrupt. (Bug#10187)
4129 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4131 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4134 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4137 2011-12-02 Juri Linkov <juri@jurta.org>
4139 * info.el (Info-search): Display "end of manual" when Isearch
4140 reaches the end of single-file Info manual. (Bug#9918)
4142 2011-12-02 Eli Zaretskii <eliz@gnu.org>
4144 * isearch.el (isearch-message-prefix): Run the input method part
4145 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4147 2011-12-02 Juri Linkov <juri@jurta.org>
4149 * isearch.el (isearch-occur): Use `word-search-regexp' for
4151 (isearch-search-and-update): Add condition for `isearch-word' and
4152 call `word-search-regexp'. (Bug#10145)
4154 2011-12-01 Glenn Morris <rgm@gnu.org>
4156 * eshell/em-hist.el (eshell-hist-initialize):
4157 Handle eshell-history-size nil and HISTSIZE set or unset.
4158 (eshell-history-file-name, eshell-history-size): Fix custom type.
4160 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4162 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4164 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
4166 * progmodes/verilog-mode.el (verilog-pretty-expr):
4167 Rework verilog-pretty-expr to handle new assignment operators in system
4168 verilog, such as += *= and the like.
4169 (verilog-assignment-operator-re): Regular expression to find the
4170 assigment operator in a verilog assignment.
4171 (verilog-assignment-operation-re): Regular expression to find an
4172 assignment statement for pretty-expr.
4173 (verilog-in-attribute-p): Query returns true if point is in an
4174 attribute context; used to skip these for expression line up from
4176 (verilog-in-parameter-p): Query returns true if point is in an
4177 parameter definition context; used to skip these for expression
4178 line up from pretty-expr.
4179 (verilog-in-parenthesis-p): Query returns true if point is in a
4180 parenthetical expression, specifically ( ) but not [ ] or { };
4181 used by pretty-expr.
4182 (verilog-just-one-space): If there is no space, don't add one.
4183 (verilog-get-lineup-indent-2): Specifically skip just attribute
4184 contexts for expression lineup, rather than skipping all
4185 parenthetical expressions.
4186 (verilog-calculate-indent): Fix comment, and fix indent.
4187 (verilog-do-indent): Indent declarations in lists (suggested by
4189 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4191 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4194 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4196 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4197 parameters with embedded comments. Reported by Ray Stevens.
4198 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4199 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4200 Reported by Tim Holt.
4201 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4202 instantiated by upper module causing wrong expansion until AUTOed a
4203 second time. Reported by K C Buckenmaier.
4204 (verilog-diff-auto): Fix showing .* as a difference when
4205 `verilog-auto-star-save' off. Reported by Dan Dever.
4206 (verilog-auto-reset, verilog-read-always-signals)
4207 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4208 temporary signals in reset list if
4209 verilog-auto-reset-blocking-in-non is nil, and match assignment
4210 style to each signal's assignment type, bug381.
4211 Reported by Thomas Esposito.
4212 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4213 (verilog-uvm-statement-re): Support UVM indentation and
4214 highlighting, with old OVM keywords only.
4215 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4216 Support AUTOTIEOFF creating non-wire data types.
4217 Suggested by Jonathan Greenlaw.
4218 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4219 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4220 (verilog-inject-sense, verilog-read-inst-pins)
4221 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4222 Fix mismatching parenthesis inside commented out code when deleting
4223 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4224 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4225 non-numeric vector width. Reported by Alex Reed.
4226 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4227 detecting signals with parameter widths. Reported by Alex Reed.
4228 (verilog-auto-delete-trailing-whitespace):
4229 With `verilog-auto-delete-trailing-whitespace' remove trailing
4230 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4231 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4232 Fix verilog-scan-cache corruption when running user AUTO expansion
4233 hooks that call indentation routines.
4234 (verilog-simplify-range-expression): Fix typo ignoring lower case
4236 (verilog-delete-auto): Fix delete-autos to also remove user created
4237 automatics, as long as they start with AUTO.
4238 (verilog-batch-diff-auto, verilog-diff-auto)
4239 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4240 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4241 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4242 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4243 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4244 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4245 is disabled and its cache will get corrupt, causing AUTOS not to
4246 expand. Instead use only -quick functions.
4247 (verilog-scan-region): Fix scanning over escaped quotes.
4248 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4249 (verilog-re-search-backward-quick)
4250 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4251 related functions now ignore strings, to fix misparsing of strings
4252 with magic comments embedded in them.
4253 (verilog-read-auto-template):
4254 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4255 Reported by Brad Dobbie.
4256 (verilog-read-auto-template):
4257 Fix 'verilog-auto-inst-template-numbers' with comments.
4258 Reported by Brad Dobbie.
4259 (verilog-auto-inst, verilog-auto-inst-param)
4260 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4261 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4262 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4263 debugging templates without merge conflicts, bug357.
4264 Reported by Brad Dobbie.
4265 (verilog-read-auto-template):
4266 Fix verilog-auto-inst-template-numbers with multiple templates.
4267 Reported by Brad Dobbie.
4268 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4269 abbrevs so user won't be asked to save.
4270 (verilog-read-auto-lisp-present): Fix to start at beginning of
4271 buffer in case called outside of verilog-auto.
4272 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4273 to "X-2". Reported by Matthew Myers.
4274 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4275 all inputs from module templates. Reported by Leith Johnson.
4276 (verilog-module-inside-filename-p): Fix locating programs as with
4278 (verilog-auto-inst-port): Fix vl-width expressions when using
4279 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4280 (verilog-decls-get-regs, verilog-decls-get-signals,
4281 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4282 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4283 verilog-read-decls): Combine reg and wire structures into one var
4284 structure to represent SystemVerilog concepts.
4285 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4286 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4287 (verilog-auto-wire-type, verilog-insert-definition):
4288 Add verilog-auto-wire-type and AUTOLOGIC to support using
4289 SystemVerilog "logic" keyword instead of "wire"/"reg".
4290 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4291 to declares outputs that also have assignments (presumably in an
4292 ifdef or generate if so there's not a driver conflict).
4293 Reported by Matthew Myers.
4294 (verilog-auto-declare-nettype, verilog-insert-definition):
4295 Add verilog-auto-declare-nettype to fix declarations using
4296 `default_nettype none. Reported by Julian Gorfajn.
4297 (verilog-read-always-signals-recurse, verilog-read-decls)
4298 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4299 malformed end statement, bug325. Reported by Joshua Wise and
4301 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4302 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4303 when expanding .* in interfaces, bug320.
4304 Reported by Pierre-David Pfister.
4305 (verilog-read-module-name): Fix import statements between module
4306 name and open parenthesis, bug317.
4307 Reported by Pierre-David Pfister.
4308 (verilog-simplify-range-expression): Fix simplification of
4309 multiplications inside AUTOWIRE connections, bug303.
4310 (verilog-auto-inst-port): Support parameter expansion in
4311 multidimensional arrays.
4312 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4313 after "assert property". Reported by Julian Gorfajn.
4314 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4315 with multiplication, bug303.
4316 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4317 Reported by Jan Frode Lonnum.
4319 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4321 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4322 (hfy-shell-file-name, hfy-shell):
4323 * international/fontset.el (x-decompose-font-name): Fix typos.
4325 2011-11-29 Ken Brown <kbrown@cornell.edu>
4327 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4328 (gdb-version): Remove defvar.
4329 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4330 (gdb-gud-context-command, gdb-non-stop-handler)
4331 (gdb-current-context-command, gdb-stopped): Use it.
4332 (gdb-init-1): Enable pretty printing here.
4333 (gdb-non-stop-handler): Don't enable pretty-printing here.
4334 Check to see if the target supports non-stop mode; if not, turn off
4335 non-stop mode. Use the following.
4336 (gdb-check-target-async): New defun.
4337 (gud-watch, gdb-stopped): Fix whitespace.
4338 (gdb-get-source-file): Don't try to display the source file if
4339 `gdb-main-file' is nil.
4341 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4343 * align.el: Try to generate fewer markers (bug#10047).
4344 (align--set-marker): New macro.
4345 (align-region): Use it.
4347 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4349 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4351 2011-11-29 Chong Yidong <cyd@gnu.org>
4353 * indent.el (indent-for-tab-command, indent-according-to-mode):
4355 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4357 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4359 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4360 aware of remote file names. (Bug#10124)
4362 2011-11-29 Chong Yidong <cyd@gnu.org>
4364 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4366 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4368 * files.el (find-file): Don't use force-same-window (bug#10144).
4369 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4370 use pop-to-buffer if the selected window can't be used.
4371 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4373 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4375 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4378 2011-11-28 Chong Yidong <cyd@gnu.org>
4380 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4382 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4384 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4385 gdb-get-source-file-list on gdb-create-source-file-list.
4387 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4389 * whitespace.el (whitespace-newline): Use a different foreground
4390 color for 16-color light-background displays.
4392 2011-11-24 Chong Yidong <cyd@gnu.org>
4394 * window.el (display-buffer--special-action): Doc fix.
4396 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4398 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4399 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4400 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4401 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4402 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4403 (avl-tree-stack-first):
4404 * emacs-lisp/cconv.el (cconv--analyse-use):
4405 * net/gnutls.el (gnutls-negotiate): Fix typos.
4407 2011-11-24 Glenn Morris <rgm@gnu.org>
4409 * lpr.el (lpr-windows-system, lpr-lp-system):
4410 * mail/binhex.el (binhex-begin-line):
4411 * progmodes/grep.el (grep-history, grep-find-history):
4412 * textmodes/flyspell.el:
4413 * vc/pcvs-defs.el (cvs-global-menu):
4414 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4415 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4416 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4418 * net/tls.el: Fix case of "GnuTLS".
4420 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4422 * version.el (emacs-build-system): Give it a doc-string.
4424 2011-11-24 Juri Linkov <juri@jurta.org>
4426 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4428 2011-11-24 Glenn Morris <rgm@gnu.org>
4430 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4431 if called on a non-mime message just toggle the headers. (Bug#8006)
4433 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4435 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4436 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4437 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4438 (allout-rebullet-heading, allout-open-sibtopic)
4439 (allout-toggle-current-subtree-encryption)
4440 (allout-toggle-subtree-encryption, allout-encrypt-string)
4441 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4442 (allout-distinctive-bullets-string, allout-auto-activation):
4443 * window.el (window-normalize-buffer-to-display):
4444 * progmodes/verilog-mode.el (verilog-batch-indent):
4445 * textmodes/bibtex.el (bibtex-field-braces-opt)
4446 (bibtex-field-strings-opt):
4447 * vc/cvs-status.el (cvs-tree-merge):
4450 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4452 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4453 `non-essential' to t, in order to avoid remote connections.
4455 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4457 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4458 On MS-DOS and MS-Windows, compare with loaddefs.el
4461 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4463 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4465 2011-11-23 Glenn Morris <rgm@gnu.org>
4467 * paths.el (rmail-file-name): Reformat the doc-string so that it
4470 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4471 (rmail-auto-file): Ignore case in the "special" field names,
4472 as mail-fetch-field does for all others.
4474 * mail/rmail.el (rmail-forward):
4475 * mail/rmailkwd.el (rmail-set-label):
4476 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4477 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4479 * mail/rmail.el (rmail-current-message): Doc fix.
4481 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4483 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4485 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4487 2011-11-22 Glenn Morris <rgm@gnu.org>
4489 * mail/rmailmm.el (test-rmail-mime-handler)
4490 (test-rmail-mime-bulk-handler)
4491 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4493 2011-11-21 Juri Linkov <juri@jurta.org>
4495 * calc/calc.el (calc-read-key-sequence):
4496 Let-bind `input-method-function' to nil. (Bug#10018)
4498 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4500 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4501 Tell the caller that the next line needs recomputation, even
4502 though it doesn't start a sexp (bug#10094).
4504 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4506 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4508 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4510 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4511 Use force-same-window.
4513 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4515 * descr-text.el (describe-char-unicode-data):
4516 * json.el (json-string-escape):
4517 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4518 (Footnote-unicode, Footnote-style-p):
4519 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4521 2011-11-20 Chong Yidong <cyd@gnu.org>
4523 * window.el (replace-buffer-in-windows): Restore interactive spec.
4525 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4527 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4529 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4530 (byte-compile-global-not-obsolete-vars): New var.
4531 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4533 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4535 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4537 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4538 * progmodes/pascal.el (electric-pascal-equal):
4539 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4540 * xml.el (xml-substitute-special): Fix typos.
4542 2011-11-20 Glenn Morris <rgm@gnu.org>
4544 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4545 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4547 (rmail-decode-mime-charset): Mark as obsolete.
4549 * mail/rmailsum.el (rmail-message-regexp-p-1):
4550 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4551 Before using mime functions, check they are set. (Bug#10077)
4553 2011-11-19 Juri Linkov <juri@jurta.org>
4555 * info.el (Info-finder-find-node): Use `package--builtins' instead
4556 of `package-alist'. Use node names formed by the pattern "Keyword "
4557 and the keyword name.
4559 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4561 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4563 2011-11-19 Juri Linkov <juri@jurta.org>
4565 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4566 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4567 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4568 `old-history', `old-history-forward'. Add let-binding
4569 `window-selected'. Remove calls to `kill-buffer',
4570 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4571 before calling `Info-find-node', so `Info-find-node-2' will reread
4572 the Info file. Restore window positions only when `window-selected'
4575 2011-11-19 Juri Linkov <juri@jurta.org>
4577 * isearch.el (isearch-lazy-highlight-new-loop):
4578 Remove condition `(not isearch-error)'. (Bug#9918)
4580 * misearch.el (multi-isearch-search-fun): Add condition
4581 `(not bound)' to ignore lazy-highlighting search.
4582 Add the search-failed message "end of multi" when the end of
4583 multi-sequence is reached. Uncapitalize the search-failed
4584 message "Repeat for next buffer".
4586 * info.el (Info-search): Add the search-failed message
4587 "end of the manual" when the end of the manual is reached
4590 2011-11-19 Juri Linkov <juri@jurta.org>
4592 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4593 Use non-destructive `remove' instead of `delete' because
4594 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4595 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4597 2011-11-19 Juri Linkov <juri@jurta.org>
4599 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4600 to nil instead of binding `search-ring' and `regexp-search-ring'.
4603 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4605 * simple.el (line-move): Force movement by logical lines for any
4606 hscrolled window, not only when auto-hscroll-mode is on.
4607 (line-move-visual): Update doc string to that effect. (Bug#10076)
4609 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4611 * language/european.el (macintosh): Define as alias for mac-roman.
4613 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4615 * mail/rmailmm.el (rmail-mime-display-header)
4616 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4617 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4618 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4619 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4620 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4622 (rmail-mime-entity-segment): To get past the tagline, move forward
4623 2 more lines, to account for the 2 empty lines that precede and
4624 follow the line with the buttons.
4625 (rmail-mime-update-tagline): Move one more line, to get past the
4626 empty line that follows the buttons in the tagline. (Bug#9520)
4628 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4630 * window.el (window-max-delta-1, window-min-delta-1)
4631 (window-min-size-1, window-state-get-1, window-state-put-1)
4632 (window-state-put-2): Use "window--" prefix.
4634 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4636 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4637 (smie-warning-count): New var.
4638 (smie-set-prec2tab): Use it.
4639 (smie-bnf->prec2): Improve warnings. Add docstring.
4640 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4641 (smie-bnf--set-class): New function.
4642 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4645 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4646 (compilation-error-properties, compilation-move-to-column):
4647 Handle compilation-first-column while in the target buffer.
4649 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4650 Don't hardcode point-min==1.
4652 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4653 (eshell-rewrite-for-command): Remove workaround.
4654 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4655 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4656 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4658 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4660 2011-11-17 Glenn Morris <rgm@gnu.org>
4662 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4663 Ignore buffer-local generated-autoload-file if it is the same
4664 as the global value. (Bug#10049)
4666 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4668 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4669 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4670 (reftex-toc-previous-heading, reftex-toc-max-level)
4671 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4672 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4673 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4674 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4675 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4676 (reftex-toc-rename-label, reftex-toc-visit-location)
4677 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4678 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4679 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4680 leaving "*toc*" only for references to the buffer.
4682 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4684 * window.el (window-resize, delete-window, split-window):
4685 Replace window-splits by window-combination-resize.
4686 * cus-start.el (window-splits): Replace by window-combination-resize.
4688 2011-11-17 Glenn Morris <rgm@gnu.org>
4690 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4691 Make bash entry derive from sh entry, not shell entry.
4693 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4695 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4696 properties of linked files. (Bug#9879)
4698 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4701 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4703 * menu-bar.el (menu-bar-file-menu):
4704 * printing.el (pr-ps-utility):
4705 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4706 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4707 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4708 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4709 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4710 (icalendar--convert-cyclic-to-ical)
4711 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4712 (icalendar--convert-ical-to-diary)
4713 (icalendar--convert-recurring-to-diary)
4714 (icalendar--convert-non-recurring-all-day-to-diary)
4715 (icalendar-import-format-sample):
4716 * progmodes/idlw-shell.el (idlwave-shell-mode):
4717 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4718 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4719 (vhdl-ps-print-init): Fix typos.
4721 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4723 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4724 FSF and collapse date sequence, obscure author/maintainer email address
4725 better, remove extra version line, track relocation of author's webpage.
4727 * progmodes/python.el (python-pdbtrack-input-prompt)
4728 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4729 regular python pdb prompts. Adjustments shamelessly taken exactly as
4730 suggested in EmacsWiki page (tiny change):
4731 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4733 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4735 * expand.el (expand-pos, expand-index, expand-point):
4736 Remove redundant info from docstring.
4737 (expand-add-abbrevs): Doc fix.
4738 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4739 (expand-sample-perl-mode-expand-list): Fix typos.
4741 * net/dbus.el (dbus-event-member-name):
4742 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4743 * term/pc-win.el (msdos-create-frame-with-faces):
4744 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4746 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4748 * window.el (split-window, window-state-get-1)
4749 (window-state-put-1, window-state-put-2): Rename occurrences of
4750 window-nest to window-combination-limit.
4751 * cus-start.el (window-nest): Rename to window-combination-limit.
4753 2011-11-16 Chong Yidong <cyd@gnu.org>
4755 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4758 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4760 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4761 `completing-read' will remove *Completions* and will preserve
4762 current-buffer for us.
4763 (tmm-add-prompt): Users of *Completions* will always (re)set its
4765 (tmm-old-comp-map): Remove.
4767 2011-11-16 Glenn Morris <rgm@gnu.org>
4769 * mail/rmailedit.el: Require rmailmm when compiling.
4770 (rmail-old-mime-state): New declaration.
4771 (rmail-edit-current-message): If editing a mime message,
4772 edit the "raw" message from the mbox buffer.
4773 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4775 2011-11-15 Glenn Morris <rgm@gnu.org>
4777 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4778 which wasn't being used. Add optional arg to force given state.
4779 (rmail-mime): Add optional arg to force given state.
4781 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4783 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4784 * frame.el (display-mm-dimensions-alist):
4785 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4786 (outline-move-subtree-down):
4787 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4788 (newsticker--treeview-do-get-node):
4789 * net/quickurl.el (quickurl-list-buffer-name):
4790 * progmodes/dcl-mode.el (dcl-mode):
4791 * progmodes/gdb-mi.el (gdb-mapcar*):
4792 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4794 2011-11-15 Glenn Morris <rgm@gnu.org>
4796 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4797 in a boolean sense, so just make it a boolean, and fix the doc.
4798 (rmail-show-mime-function, rmail-mime-feature)
4799 (rmail-require-mime-maybe): Doc fixes.
4800 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4802 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4804 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4806 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4807 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4808 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4809 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4811 2011-11-15 Glenn Morris <rgm@gnu.org>
4813 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4814 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4815 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4816 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4817 (rmail-mime, rmail-show-mime): Doc fixes.
4819 * term/ns-win.el (mode-line-frame-identification):
4820 Leave it alone. (Bug#10051)
4822 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4824 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4825 Handle empty buffers. (Bug#9978)
4827 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4829 * international/mule.el (define-charset):
4830 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4831 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4832 * progmodes/verilog-mode.el (verilog-backward-token):
4833 * textmodes/ispell.el (lookup-words):
4834 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4836 2011-11-14 Glenn Morris <rgm@gnu.org>
4838 * progmodes/executable.el
4839 (executable-make-buffer-file-executable-if-script-p):
4840 Handle file-modes returning nil.
4842 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4843 message - not necessary, and causes problems. (Bug#9831)
4845 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4847 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4849 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4850 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4851 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4853 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4855 * window.el (window-resize, delete-window): Use window-splits
4856 variable instead of function.
4857 (window-state-get-1, window-state-put-2, window-state-put):
4858 Don't deal with windows' splits status.
4860 2011-11-12 Glenn Morris <rgm@gnu.org>
4862 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4863 (apropos-documentation): Doc fixes.
4865 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4867 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4868 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4870 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4872 * electric.el (electric-indent-post-self-insert-function): Make it
4873 possible for a char to only indent in some circumstances.
4874 (electric-indent-mode): Simplify.
4876 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4878 * window.el (windows-with-parameter): Remove unused function.
4879 (windows-at-side): Rename to window-at-side-list.
4880 (window-check, window-atom-check, window-atom-check-1)
4881 (window-side-check, window-size-ignore, window-size-fixed-1)
4882 (window-in-direction-2): Prefix with "window--".
4883 (window-tree-1): Rename to window--subtree, fix doc-string.
4885 2011-11-11 Glenn Morris <rgm@gnu.org>
4887 * subr.el (eval-after-load): If FILE is already loaded,
4888 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4890 2011-11-10 Glenn Morris <rgm@gnu.org>
4892 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4893 Call svn via vc-svn-command rather than vc-do-command.
4894 (vc-svn-command): Add --non-interactive. (Bug#9993)
4895 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4897 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4898 Add toggle-read-only. (Bug#7292)
4899 * files.el (toggle-read-only): Mention that it should only
4900 be used interactively. (Bug#10006)
4902 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4904 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4905 Adjust regexp for OCaml warnings.
4907 * electric.el (electric-pair-post-self-insert-function): Let user
4908 turn it off buffer-locally (bug#9932).
4910 * progmodes/python.el (python-beginning-of-statement):
4913 * progmodes/compile.el: Better handle TABs (bug#9749).
4914 (compilation-internal-error-properties)
4915 (compilation-next-error-function): Obey the target buffer's
4916 compilation-error-screen-columns.
4918 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4920 * progmodes/meta-mode.el: Remove obsolete comments.
4921 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4922 Fix typos in docstrings.
4924 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4926 * window.el (window-size-fixed-p): Rewrite doc-string.
4927 (window-resizable-p): Rename to window--resizable-p. Update callers.
4928 (window--resizable): New function. Make all callers of
4929 window-resizable call window--resizable instead.
4930 (window-resizable): Rewrite in terms of window--resizable.
4932 2011-11-08 Glenn Morris <rgm@gnu.org>
4934 * progmodes/delphi.el (delphi-mode-syntax-table):
4935 Let define-derived-mode define a proper syntax table. (Bug#9994)
4937 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4939 * window.el: Stay away from defsubst.
4940 (window-list-no-nils): Remove.
4941 (window-state-get-1, window-state-get): Use backquote instead.
4943 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4945 * emacs-lisp/find-func.el (find-function-read):
4946 Fix incorrect use of default argument in `completing-read'.
4948 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4950 * window.el (display-buffer-function, special-display-function):
4951 Mention display-buffer-record-window but do not mention
4952 help-setup parameter in doc-strings.
4953 (window-min-delta): Fix doc-string typo.
4955 2011-11-08 Chong Yidong <cyd@gnu.org>
4957 * window.el (window-total-height, window-total-width): Doc fix.
4958 (window-body-size): Move from C.
4959 (window-body-height, window-body-width): Move to C.
4961 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4963 * window.el: Make special-display like display-buffer-alist (bug#9532).
4964 (display-buffer--special-action): New function, morphed
4965 from display-buffer--special.
4966 (display-buffer): Use it to handle special-display-buffers at higher
4967 priority (just after display-buffer-alist).
4968 (display-buffer-fallback-action, display-buffer--other-frame-action)
4969 (pop-to-buffer-same-window): Remove display-buffer--special.
4971 2011-11-07 Glenn Morris <rgm@gnu.org>
4973 * calendar/cal-menu.el (cal-menu-set-date-title):
4974 Do nothing if not in a calendar. (Bug#9976)
4976 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4978 * files.el (find-file): Always use selected-window.
4980 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4982 * window.el (window-combinations): Make WINDOW argument
4983 mandatory. Rewrite doc-string.
4984 (walk-window-subtree, window-atom-check, window-min-delta)
4985 (window-max-delta, window--resize-this-window)
4986 (window--resize-root-window-vertically, window-tree)
4987 (balance-windows, window-state-put): Rewrite doc-strings as to
4988 not mention the term "subwindow".
4989 (window--resize-subwindows-skip-p): Rename to
4990 window--resize-child-windows-skip-p.
4991 (window--resize-subwindows-normal): Rename to
4992 window--resize-child-windows-normal.
4993 (window--resize-subwindows): Rename to
4994 window--resize-child-windows.
4995 (window-or-subwindow-p): Rename to window--in-subtree-p.
4997 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4999 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5000 Ensure that mbox format messages end in two newlines (Bug#9974).
5002 2011-11-06 Chong Yidong <cyd@gnu.org>
5004 * window.el (window-combination-p): Function deleted; its
5005 side-effect is not used in any existing code.
5006 (window-combinations, window-combined-p): Call window-*-child
5009 2011-11-05 Chong Yidong <cyd@gnu.org>
5011 * window.el (window-valid-p): Rename from window-any-p.
5012 (window-size-ignore, window-state-get): Callers changed.
5013 (window-normalize-window): Rename from window-normalize-any-window.
5014 New arg LIVE-ONLY, replacing window-normalize-live-window.
5015 (window-normalize-live-window): Delete.
5016 (window-combination-p, window-combined-p, window-combinations)
5017 (walk-window-subtree, window-atom-root, window-min-size)
5018 (window-sizable, window-sizable-p, window-size-fixed-p)
5019 (window-min-delta, window-max-delta, window-resizable)
5020 (window-resizable-p, window-full-height-p, window-full-width-p)
5021 (window-current-scroll-bars, window-point-1, set-window-point-1)
5022 (window-at-side-p, window-in-direction, window-resize)
5023 (adjust-window-trailing-edge, maximize-window, minimize-window)
5024 (window-deletable-p, delete-window, delete-other-windows)
5025 (record-window-buffer, unrecord-window-buffer)
5026 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5027 (quit-window, split-window, window-state-put)
5028 (set-window-text-height, fit-window-to-buffer)
5029 (shrink-window-if-larger-than-buffer): Callers changed.
5031 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5033 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5034 rfc2047-decode-string.
5035 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5038 * window.el (window-body-height, window-body-width): Mention in
5039 the doc string that the return values are in frame's canonical
5042 2011-11-03 Alan Mackenzie <acm@muc.de>
5044 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5045 change in cc-engine.el.
5047 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5049 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5051 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5053 * window.el (quit-window): Call unrecord-window-buffer after
5054 showing another buffer in the window. (Bug#9937)
5055 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5057 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5059 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5060 Accept status with more than 9 shelves. (Bug#9935)
5061 Reported by Colin D Bennett <colin@gibibit.com>.
5063 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5065 * help.el (with-help-window): Don't reference
5066 temp-buffer-show-specifiers in doc-string.
5068 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5070 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5073 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5075 * whitespace.el: New version 13.2.2.
5076 (whitespace-newline-mode): Disable properly. Reported by Sarah
5079 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
5081 * net/newst-treeview.el: Remove "Time-stamp".
5082 (newsticker--group-manage-orphan-feeds): Do not call
5083 newsticker--treeview-tree-update.
5084 (newsticker-treeview-update, newsticker-treeview):
5085 Call newsticker--treeview-tree-update if necessary.
5087 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5089 * window.el (window-iso-combination-p, window-iso-combined-p)
5090 (window-iso-combinations): Remove "iso-" infix.
5091 Suggested by Chong Yidong.
5092 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5093 (window-max-delta-1, window-resize, window--resize-siblings)
5094 (window--resize-this-window, adjust-window-trailing-edge)
5095 (split-window, balance-windows-1)
5096 (shrink-window-if-larger-than-buffer):
5097 * calendar/calendar.el (calendar-generate-window):
5098 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5100 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5102 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5103 in place (bug#9907).
5104 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5105 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5106 (eshell-structure-basic-command, eshell-rewrite-while-command)
5107 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5108 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5109 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5110 (eshell-do-pipelines-synchronously, eshell-eval-command):
5111 Use backquotes and prefer setq to set.
5112 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5113 (eshell-macrop): Use functionp.
5114 (eshell-do-eval): Handle multiple expressions in `while' body.
5116 2011-10-30 Chong Yidong <cyd@gnu.org>
5118 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5119 instead of set-mark (Bug#9810).
5121 2011-10-30 Chong Yidong <cyd@gnu.org>
5123 * window.el (split-window-below, split-window-right): Rename from
5124 split-window-above-each-other and split-window-side-by-side
5125 respectively. All callers changed.
5126 (split-window-sensibly, split-window-sensibly): Use them.
5127 (split-window-keep-point): Doc fix.
5129 * isearch.el: Add isearch-scroll property to split-window-below
5130 and split-window-right.
5132 * follow.el (follow-mode):
5133 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5134 * progmodes/ada-xref.el (ada-gdb-application):
5135 * emulation/vip.el (vip-buffer-in-two-windows):
5136 * image-dired.el (image-dired-dired-with-window-configuration):
5137 * dired-x.el (dired-do-find-marked-files):
5138 * dired.el (dired-pop-to-buffer):
5139 * bs.el (bs--show-with-configuration):
5140 * vc/emerge.el (emerge-setup-windows):
5141 * textmodes/two-column.el (2C-two-columns):
5142 * textmodes/reftex-toc.el (reftex-toc):
5143 * progmodes/gdb-mi.el (gdb-setup-windows):
5144 * progmodes/fortran.el (fortran-window-create):
5145 * net/newst-treeview.el (newsticker--treeview-window-init):
5146 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5147 * emulation/tpu-edt.el (tpu-gold-map):
5148 * emulation/crisp.el (crisp-mode-map):
5149 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5151 2011-10-29 Chong Yidong <cyd@gnu.org>
5153 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5155 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5157 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5158 forged Ispell output (Bug#7904).
5160 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5162 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5164 * doc-view.el: Avoid ugly errors about not finding nil.
5165 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5166 (doc-view-dvipdf-program, doc-view-unoconv-program)
5167 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5168 Avoid nil or absolute file name as default value.
5169 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5171 2011-10-28 Alan Mackenzie <acm@muc.de>
5173 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5175 2011-10-28 Alan Mackenzie <acm@muc.de>
5177 Amend the handling of c-beginning/end-of-defun in nested declaration
5180 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5181 cc-langs.el. Change it to a defcustom.
5183 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5186 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5187 Prevent "class foo : bar" being spuriously recognized as a label.
5189 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5190 Add parameter `inclusive' (to include enclosing braces in the region).
5191 (c-widen-to-enclosing-decl-scope): New function.
5192 (c-while-widening-to-decl-block): New macro.
5193 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5194 outward for defun boundaries, and correspondingly change symbol
5195 `respect-enclosure' to `go-outward'.
5196 (c-declaration-limits): Change algorithm to report only the "innermost"
5199 2011-10-28 Deniz Dogan <deniz@dogan.se>
5201 * net/rcirc.el (rcirc-mode): Use hard newlines.
5203 2011-10-28 Alan Mackenzie <acm@muc.de>
5205 Amend to indent and fontify macros "which include their own semicolon"
5206 correctly, using the "virtual semicolon" mechanism.
5208 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5210 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5211 Recode to scan one line at a time rather than having \n and \r
5212 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5213 (c-forward-label): Amend for virtual semicolons.
5214 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5216 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5217 of the new C macros.
5219 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5220 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5221 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5222 (c-opt-cpp-macro-define): Make into a full language variable.
5223 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5224 AWK Mode (including \n, \r) removed, no longer needed.
5226 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5227 Invoke c-make-macro-with-semi-re.
5229 * progmodes/cc-vars.el (c-macro-with-semi-re):
5230 (c-macro-names-with-semicolon): New variables.
5231 (c-make-macro-with-semi-re): New function.
5233 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5235 * vc/log-edit.el: Fill empty field rather than adding new one.
5236 (log-edit-add-field): New function.
5237 (log-edit-insert-changelog): Use it.
5239 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5241 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5243 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5245 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5246 (gdb--check-interpreter): New function.
5249 2011-10-27 Glenn Morris <rgm@gnu.org>
5251 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5252 (least-positive-float, least-negative-float)
5253 (least-positive-normalized-float, least-negative-normalized-float)
5254 (float-epsilon, float-negative-epsilon):
5255 Remove unnecessary declarations.
5257 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5258 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5259 (least-positive-float, least-negative-float)
5260 (least-positive-normalized-float, least-negative-normalized-float)
5261 (float-epsilon, float-negative-epsilon): Add doc-strings,
5262 based on those in cl.texi.
5264 * files.el (set-visited-file-name): If the major-mode changed,
5265 reload the local variables. (Bug#9796)
5267 2011-10-27 Chong Yidong <cyd@gnu.org>
5269 * subr.el (change-major-mode-after-body-hook): New hook.
5270 (run-mode-hooks): Run it.
5272 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5273 Use change-major-mode-before-body-hook.
5275 * simple.el (fundamental-mode):
5276 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5277 change introducing fundamental-mode-hook.
5279 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5281 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5283 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5285 * ido.el (ido-file-name-all-completions-1): Do not require
5286 tramp.el explicitly. (Bug#7583)
5288 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5290 * progmodes/octave-mod.el:
5291 * progmodes/octave-inf.el: Update maintainer.
5293 2011-10-26 Chong Yidong <cyd@gnu.org>
5295 * subr.el (with-wrapper-hook): Rewrite doc.
5297 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5299 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5300 filenames "/method:foo:". (Bug#9793)
5302 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5304 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5307 2011-10-24 Glenn Morris <rgm@gnu.org>
5309 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5311 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5313 * notifications.el: Add the requirement of a running D-Bus session
5314 bus to the Commentary.
5316 2011-10-24 Juri Linkov <juri@jurta.org>
5318 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5319 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5322 2011-10-24 Juri Linkov <juri@jurta.org>
5324 * info.el (Info-following-node-name-re): Add newline to the list
5325 of allowed characters for leading space. (Bug#9824)
5327 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5329 * progmodes/octave-inf.el (inferior-octave-mode-map):
5330 Fix C-c C-h binding.
5331 * progmodes/octave-mod.el (octave-help): Remove.
5333 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5335 Sync with Tramp 2.2.3.
5337 * net/tramp-cache.el (top): Pacify byte-compiler using
5338 `init-file-user' and `site-run-file'.
5340 * net/trampver.el: Update release number.
5342 2011-10-23 Chong Yidong <cyd@gnu.org>
5344 * files.el (toggle-read-only): Remove obsolete comment about
5347 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5348 for toggle-read-only. Note that this hasn't called vc-next-action
5349 since 2008-05-02, though it wasn't documented at the time.
5351 * vc/ediff-init.el (ediff-toggle-read-only-function):
5352 Use toggle-read-only.
5354 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5356 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5359 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5360 correct faulty logical expression.
5361 (c-parse-state-state, c-record-parse-state-state):
5362 (c-replay-parse-state-state): New defvar/defuns.
5363 (c-debug-parse-state): Use new functions.
5365 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5367 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5368 last fix. Use window-in-direction correctly.
5370 2011-10-21 Chong Yidong <cyd@gnu.org>
5372 * progmodes/idlwave.el (idlwave-mode):
5373 * progmodes/vera-mode.el (vera-mode): No need to set
5374 require-final-newline; that's done in prog-mode.
5375 Suggested by Stefan Monnier.
5377 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5379 * mouse.el (mouse-drag-window-above)
5380 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5381 (mouse-drag-mode-line-1, mouse-drag-header-line)
5382 (mouse-drag-vertical-line-rightward-window): Remove.
5383 (mouse-drag-line): New function.
5384 (mouse-drag-mode-line, mouse-drag-header-line)
5385 (mouse-drag-vertical-line): Call mouse-drag-line.
5386 * window.el (window-at-side-p, windows-at-side): New functions.
5388 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5390 * tar-mode.el (tar-grind-file-mode):
5391 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5393 2011-10-21 Chong Yidong <cyd@gnu.org>
5395 * progmodes/idlwave.el (idlwave-mode):
5396 * progmodes/vera-mode.el (vera-mode):
5397 Use mode-require-final-newline.
5399 2011-10-20 Glenn Morris <rgm@gnu.org>
5401 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5403 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5405 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5407 2011-10-20 Chong Yidong <cyd@gnu.org>
5409 * emulation/cua-base.el (cua-mode):
5410 * mail/footnote.el (footnote-mode):
5411 * mail/mailabbrev.el (mail-abbrevs-mode):
5412 * net/xesam.el (xesam-minor-mode):
5413 * progmodes/bug-reference.el (bug-reference-mode):
5414 * progmodes/cap-words.el (capitalized-words-mode):
5415 * progmodes/compile.el (compilation-minor-mode)
5416 (compilation-shell-minor-mode):
5417 * progmodes/gud.el (gud-tooltip-mode):
5418 * progmodes/hideif.el (hide-ifdef-mode):
5419 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5420 * progmodes/subword.el (subword-mode):
5421 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5422 * progmodes/which-func.el (which-function-mode):
5423 * term/tvi970.el (tvi970-set-keypad-mode):
5424 * term/vt100.el (vt100-wide-mode):
5425 * textmodes/flyspell.el (flyspell-mode):
5426 * textmodes/ispell.el (ispell-minor-mode):
5427 * textmodes/nroff-mode.el (nroff-electric-mode):
5428 * textmodes/paragraphs.el (use-hard-newlines):
5429 * textmodes/refill.el (refill-mode):
5430 * textmodes/reftex.el (reftex-mode):
5431 * textmodes/rst.el (rst-minor-mode):
5432 * textmodes/sgml-mode.el (html-autoview-mode)
5433 (sgml-electric-tag-pair-mode):
5434 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5435 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5436 * emulation/crisp.el (crisp-mode):
5437 * emacs-lisp/eldoc.el (eldoc-mode):
5438 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5439 minor mode behavior.
5441 2011-10-19 Juri Linkov <juri@jurta.org>
5443 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5444 the list of hard-coded chars with escape-glyph face.
5446 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5448 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5450 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5452 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5455 2011-10-19 Glenn Morris <rgm@gnu.org>
5457 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5458 Ignore ignored files. (Bug#9726)
5460 2011-10-19 Chong Yidong <cyd@gnu.org>
5462 Doc fix for minor modes, stating that an omitted argument enables
5463 the mode unconditionally when called from Lisp.
5465 * abbrev.el (abbrev-mode):
5466 * allout.el (allout-mode):
5467 * autoinsert.el (auto-insert-mode):
5468 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5469 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5470 (global-auto-revert-mode):
5471 * battery.el (display-battery-mode):
5472 * composite.el (global-auto-composition-mode)
5473 (auto-composition-mode):
5474 * delsel.el (delete-selection-mode):
5475 * desktop.el (desktop-save-mode):
5476 * dired-x.el (dired-omit-mode):
5477 * dirtrack.el (dirtrack-mode):
5478 * doc-view.el (doc-view-minor-mode):
5479 * double.el (double-mode):
5480 * electric.el (electric-indent-mode, electric-pair-mode):
5481 * emacs-lock.el (emacs-lock-mode):
5482 * epa-hook.el (auto-encryption-mode):
5483 * follow.el (follow-mode):
5484 * font-core.el (font-lock-mode):
5485 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5486 * help.el (temp-buffer-resize-mode):
5487 * hilit-chg.el (highlight-changes-mode)
5488 (highlight-changes-visible-mode):
5489 * hi-lock.el (hi-lock-mode):
5490 * hl-line.el (hl-line-mode, global-hl-line-mode):
5491 * icomplete.el (icomplete-mode):
5492 * ido.el (ido-everywhere):
5493 * image-file.el (auto-image-file-mode):
5494 * image-mode.el (image-minor-mode):
5495 * iswitchb.el (iswitchb-mode):
5496 * jka-cmpr-hook.el (auto-compression-mode):
5497 * linum.el (linum-mode):
5498 * longlines.el (longlines-mode):
5499 * master.el (master-mode):
5500 * mb-depth.el (minibuffer-depth-indicate-mode):
5501 * menu-bar.el (menu-bar-mode):
5502 * minibuf-eldef.el (minibuffer-electric-default-mode):
5503 * mouse-sel.el (mouse-sel-mode):
5504 * msb.el (msb-mode):
5505 * mwheel.el (mouse-wheel-mode):
5506 * outline.el (outline-minor-mode):
5507 * paren.el (show-paren-mode):
5508 * recentf.el (recentf-mode):
5509 * reveal.el (reveal-mode, global-reveal-mode):
5510 * rfn-eshadow.el (file-name-shadow-mode):
5511 * ruler-mode.el (ruler-mode):
5512 * savehist.el (savehist-mode):
5513 * scroll-all.el (scroll-all-mode):
5514 * scroll-bar.el (scroll-bar-mode):
5515 * server.el (server-mode):
5516 * shell.el (shell-dirtrack-mode):
5517 * simple.el (auto-fill-mode, transient-mark-mode)
5518 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5519 (line-number-mode, column-number-mode, size-indication-mode)
5520 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5521 * strokes.el (strokes-mode):
5522 * time.el (display-time-mode):
5523 * t-mouse.el (gpm-mouse-mode):
5524 * tool-bar.el (tool-bar-mode):
5525 * tooltip.el (tooltip-mode):
5526 * type-break.el (type-break-mode-line-message-mode)
5527 (type-break-query-mode):
5528 * view.el (view-mode):
5529 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5530 (global-whitespace-mode, global-whitespace-newline-mode):
5531 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5533 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5534 Fix autogenerated docstring.
5536 2011-10-19 Juri Linkov <juri@jurta.org>
5538 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5539 by checking environment variables "DESKTOP_SESSION" and
5540 "XDG_CURRENT_DESKTOP". (Bug#9779)
5542 2011-10-19 Juri Linkov <juri@jurta.org>
5544 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5545 (browse-url-chromium-program, browse-url-chromium-arguments):
5547 (browse-url-default-browser): Check for `browse-url-chromium' and
5548 call `browse-url-chromium-program'.
5549 (browse-url-chromium): New command. (Bug#9779)
5551 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5553 * facemenu.el (list-colors-duplicates): On Windows, detect more
5554 duplicates by assuming that only colors matching "^System" are
5555 special "system colors". (Bug#9722)
5557 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5559 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5560 to distinguish the author from the committer.
5562 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5564 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5566 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5568 * international/mule.el (sgml-html-meta-auto-coding-function):
5569 Add support for detecting encoding in HTML5 specified only as
5570 <meta charset="UTF-8">. Implementation just makes http-equiv and
5571 content-type parts from HTML4 encoding string optional. (Bug#9716)
5573 2011-10-18 Glenn Morris <rgm@gnu.org>
5575 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5577 2011-10-18 Chong Yidong <cyd@gnu.org>
5579 * faces.el (cursor): Doc fix.
5581 2011-10-17 Chong Yidong <cyd@gnu.org>
5583 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5585 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5587 * dirtrack.el (dirtrack): Support shell buffers with path
5588 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5590 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5592 * json.el: Bump version to 1.3 and note change in History.
5593 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5595 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5597 * comint.el (comint-insert-input, comint-send-input)
5598 (comint-get-old-input-default, comint-backward-matching-input)
5599 (comint-next-prompt): Use nil instead of `input' for field property of
5600 past user input (bug#114).
5602 * minibuffer.el (completion--replace): Inherit surrounding properties
5604 (minibuffer-complete-and-exit): Use it.
5606 * comint.el (comint--table-subvert): Quote the all-completions output
5609 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5611 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5613 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5614 window on right of selected. (Bug#9350) Reword other window
5615 entries and separate them from frame entries.
5617 2011-10-15 Glenn Morris <rgm@gnu.org>
5619 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5622 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5624 * net/network-stream.el (network-stream-open-starttls):
5625 Improve detection of failure due to lack of TLS support.
5627 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5628 putting the input text in front and in bold.
5630 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5632 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5634 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5637 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5638 unread-command-events rather than pushing yet-another event.
5640 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5642 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5643 the explanation of the possible choices. Make the options passed
5644 to completing-read shorter.
5646 2011-10-13 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5648 * textmodes/flyspell.el (flyspell-large-region): Make sure
5649 extended character mode is used if defined (Bug#1339).
5651 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5653 * simple.el (what-cursor-position): Fix the display of the
5654 character info for LRE, LRO, RLE, and RLO characters by appending
5657 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5659 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5660 even in case of error; add debug spec; simplify data flow.
5661 (with-timeout-handler): Remove.
5663 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5665 Fix Bug#6019, Bug#9315.
5667 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5668 complete `buffer-file-name', the local file name part could look
5669 remotely (for example on VMS).
5671 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5672 `tramp-run-real-handler'.
5673 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5674 already quoted by '"'.
5676 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5677 Let `file-name-handler-alist' be nil, the local file name part
5678 could look remotely (for example on VMS).
5680 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5682 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5684 (flyspell-post-command-hook): ...to here.
5686 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5688 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5690 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5691 using completion. Protect against "slow" callers.
5692 Remove the "message hack".
5694 2011-10-11 Juri Linkov <juri@jurta.org>
5696 * isearch.el (isearch-lazy-highlight-word): New variable.
5697 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5700 2011-10-11 Glenn Morris <rgm@gnu.org>
5702 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5703 like f90-previous-statement does.
5705 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5707 * eshell/eshell.el (eshell-command): History should be saved
5708 only in interactive use, to avoid error.
5710 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5712 * minibuffer.el (completion-file-name-table): Fix last change,
5713 i.e. ignore normal errors but not the other ones.
5715 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5717 * window.el (special-display-buffer-names)
5718 (special-display-regexps): Remove some remnants of earlier
5719 changes from doc-strings.
5720 (quit-windows-on): New function.
5722 * vc/vc.el (vc-revert, vc-rollback):
5723 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5724 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5725 (Bug#6183) (Bug#7074) (Bug#7447)
5727 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5729 * window.el (frame-auto-hide-function): Add version tag.
5732 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5734 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5737 2011-10-09 Leo Liu <sdl.web@gmail.com>
5739 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5742 2011-10-08 Glenn Morris <rgm@gnu.org>
5744 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5745 before the first code statement zero indent. (Bug#9690)
5747 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5749 * simple.el (count-words-region): Always count in the region.
5750 Report the number of lines and characters too.
5751 (count-words): New command, which counts in the buffer if the
5752 region is inactive, as count-words-region used to.
5753 (count-words--message): New function. Handle plurals.
5754 (count-lines-region): Make it an alias for count-words-region.
5756 * bindings.el (esc-map): Replace count-lines-region with
5759 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5761 * window.el (window--delete): Delete dedicated frame
5762 unconditionally when argument KILL is non-nil. (Bug#9699)
5763 (switch-to-buffer): Fix doc-string typo.
5765 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5767 * eshell/eshell.el (eshell-command): Avoid using hooks.
5769 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5771 * bindings.el ([M-left],[M-right]): Bind to left-word and
5772 right-word respectively.
5774 2011-10-07 Glenn Morris <rgm@gnu.org>
5776 * cus-start.el (debug-on-quit): Fix custom type.
5778 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5780 * subr.el (define-key-after): Clarify that the function is not
5781 useful for non-menu keymaps.
5783 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5785 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5787 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5788 in current minibuffer (Fix bug with recursive minibuffers).
5790 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5792 * progmodes/gdb-mi.el (gdb): Doc fix.
5794 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5796 * window.el (frame-auto-hide-function): New option replacing
5797 frame-auto-delete. Suggested by Stefan Monnier.
5798 (window--delete): Call frame-auto-hide-function instead of
5799 investigating frame-auto-delete.
5800 (window-point-1, set-window-point-1): New functions.
5801 (window-in-direction, record-window-buffer, window-state-get-1)
5802 (display-buffer-record-window): Use window-point-1 instead of
5804 (set-window-buffer-start-and-point): Use set-window-point-1.
5806 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5808 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5810 2011-10-05 Glenn Morris <rgm@gnu.org>
5812 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5813 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5815 2011-10-05 Leo Liu <sdl.web@gmail.com>
5817 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5818 works with buffer object.
5820 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5822 * mpc.el (mpc-tool-bar-map): Add labels.
5824 2011-10-04 Glenn Morris <rgm@gnu.org>
5826 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5828 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5830 * window.el (window--delete): New function.
5831 (frame-auto-delete): Resuscitate option.
5832 (bury-buffer, replace-buffer-in-windows)
5833 (quit-window): Rewrite using window--delete.
5834 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5835 Pass display-buffer-mark-dedicated to window--display-buffer-2
5838 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5840 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5841 returns a list (bug#9554). Add remote file name completion.
5842 * comint.el (comint--table-subvert): Curry and get quote&unquote
5843 functions as arguments.
5844 (comint--complete-file-name-data): Adjust call accordingly.
5845 * pcomplete.el (pcomplete--table-subvert): Remove.
5846 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5848 * minibuffer.el (completion-table-case-fold): Use currying.
5849 (completion--styles-type, completion--cycling-threshold-type):
5851 (completion-styles, completion-category-overrides)
5852 (completion-cycle-threshold): Use them.
5853 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5854 completion-table-case-fold.
5856 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5858 * minibuffer.el (completion-category-overrides): Fix type of styles
5859 and add more user friendly tags (bug#9660).
5861 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5863 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5864 (mule-input-method-string): New widget.
5865 (default-input-method, language-info-custom-alist): Use it.
5867 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5869 * pcomplete.el: Require comint.
5870 (pcomplete--common-suffix): Remove.
5871 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5872 (pcomplete--table-subvert): Sync with comint--table-subvert.
5873 (pcomplete--entries): Use comint-completion-file-name-table.
5874 * comint.el (comint-unquote-filename): Simplify.
5875 (comint-completion-file-name-table): New function (bug#9616).
5876 (comint--complete-file-name-data): Use it.
5878 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5879 (pcmpl-gnu-tar-buffer): Remove.
5880 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5881 around. Make sure pcomplete-suffix-list is only changed temporarily.
5882 Don't look inside the tar's file if it's too large.
5884 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5886 * cus-edit.el (custom-mode-map):
5887 * epa.el (epa-key-list-mode-map):
5888 * man.el (Man-mode-map):
5889 * startup.el (splash-screen-keymap):
5890 * simple.el (special-mode-map): Use scroll-up-command and
5891 scroll-down-command.
5893 * progmodes/idlw-help.el (idlwave-help-mode-map):
5894 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5895 * net/newst-plainview.el (newsticker-mode-map):
5896 * emulation/ws-mode.el (wordstar-mode-map):
5897 * emulation/vi.el (vi-com-map):
5898 * calc/calc-graph.el (calc-graph-show-dumb):
5899 * term/sun.el (terminal-init-sun):
5900 * term/ns-win.el (global-map):
5901 * progmodes/grep.el (grep-mode-map):
5902 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5903 * mail/rmail.el (rmail-mode-map):
5904 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5906 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5907 custom-safe-themes as special.
5909 2011-10-01 Julien Danjou <julien@danjou.info>
5911 * notifications.el (notifications-notify): Fix docstring.
5913 2011-10-01 Per Starbäck <per@starback.se>
5915 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5917 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5919 * startup.el (command-line-1): Fix last fix by inserting
5920 initial-scratch-message into *scratch* before displaying it.
5921 (Bug#9605) and (Bug#9636)
5923 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5925 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5926 window is hscrolled, move by logical lines. (Bug#9607)
5927 (line-move-visual): Update the doc string to the above effect.
5929 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5931 * window.el (display-buffer-record-window): When WINDOW is the
5932 selected window use `point' instead of `window-point'. (Bug#9626)
5934 * startup.el (command-line-1): Use insert-before-markers when
5935 inserting initial-scratch-message. (Bug#9605)
5937 * help.el (help-window): Remove variable.
5939 2011-09-29 Glenn Morris <rgm@gnu.org>
5941 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5943 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5945 * descr-text.el (describe-char-categories): Accept category
5946 descriptions more than one line long.
5948 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5950 * simple.el (delete-trailing-whitespace): Fix last change.
5952 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5953 Don't confuse "y => 3" as the beginning of a `y' operation.
5955 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5956 object has more than 4 slots (bug#9613).
5958 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5960 * subr.el (with-output-to-temp-buffer):
5961 * net/quickurl.el (quickurl, quickurl-browse-url):
5962 Fix typos in docstrings.
5964 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5966 * minibuffer.el (completion-styles)
5967 (completion-category-overrides): Cross reference each other in doc
5970 2011-09-27 Glenn Morris <rgm@gnu.org>
5972 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5973 to split-string. (Bug#9606)
5975 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5977 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5980 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5982 * emacs-lisp/package.el (list-packages): Fix echo area message.
5984 2011-09-27 Leo Liu <sdl.web@gmail.com>
5986 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5988 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5990 * net/dbus.el (dbus-unregister-object): Don't release services for
5991 registered signals. (Bug#9581)
5993 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5995 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5996 function that picks between cfengine 2 and 3 support
5997 automatically. Update docs accordingly.
5999 2011-09-22 Kenichi Handa <handa@m17n.org>
6001 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6003 (indian-itrans-v5-table-for-tamil): New variable.
6004 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6006 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6008 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6009 that's true if the current command involved collapsing of text.
6010 It's reset to false at the beginning of the next command.
6011 (allout-post-command-business): Move the cursor to the beginning
6012 of entry if the cursor is hidden and collapsing activity just
6015 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6017 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6018 tracking (Bug#9541).
6020 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6022 * net/newst-reader.el (newsticker-html-renderer)
6023 (newsticker-show-news): Automatically load html rendering package
6024 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6025 because w3m-fill-column is let-bound" and the error "Symbol's value
6026 as variable is void: w3m-fill-column".
6028 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6030 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6031 Release services only if they are defined. (Bug#9581)
6033 2011-09-23 Richard Stallman <rms@gnu.org>
6035 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6036 distinguish start of paragraph from start of its text.
6038 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6040 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6041 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6042 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6044 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6046 * international/mule-diag.el (mule-diag): Insert a newline after
6047 each fontset description.
6049 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6051 * simple.el (delete-trailing-whitespace):
6052 Document last change; simplify.
6054 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6056 * simple.el (delete-trailing-whitespace): Also delete
6057 extra newlines at the end of the buffer.
6059 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6060 (picture-newline): Use forward-line so as to ignore fields.
6062 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6064 * subr.el (with-wrapper-hook): Fix edebug spec.
6066 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6068 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6071 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
6073 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6074 Fix nasty bug using wrong cached values.
6076 2011-09-23 Alan Mackenzie <acm@muc.de>
6078 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6080 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
6082 * window.el (pop-to-buffer): Ensure right window is selected if we
6083 chose another frame.
6085 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6087 * simple.el (what-cursor-position): Use get-char-property-change
6088 and next-single-char-property-change, to be able to show display
6089 properties that come from overlays as well as text properties.
6091 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6093 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6095 * cmuscheme.el (run-scheme, switch-to-scheme):
6096 * cus-edit.el (customize-group, custom-buffer-create)
6100 * mail/sendmail.el (mail):
6101 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6103 2011-09-22 Richard Stallman <rms@gnu.org>
6105 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6106 move back only to line beg, don't move back over blank lines.
6108 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
6110 * files.el (copy-directory): Set directory attributes only in case
6111 they could be retrieved from the source directory. (Bug#9565)
6113 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6115 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6116 (hs-find-block-beginning, hs-hide-level-recursive):
6117 Ignore strings as well as comments. (Bug#9502)
6119 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6121 * progmodes/sql.el (sql-comint-postgres):
6122 Convert port number to a string. (Bug#9566)
6124 2011-09-22 Martin Rudalics <rudalics@gmx.at>
6126 * window.el (quit-window): Undedicate window when switching to
6127 previous buffer. Reported by Thierry Volpiatto
6128 <thierry.volpiatto@gmail.com>.
6129 (special-display-popup-frame): When popping up a new frame reset
6130 its previous buffers to nil. Simplify code.
6132 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
6134 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6135 and process filter, as done also in `shell-command'.
6137 2011-09-21 Martin Rudalics <rudalics@gmx.at>
6139 * window.el (set-window-buffer-start-and-point):
6140 Call set-window-start with NOFORCE argument t.
6141 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6142 (quit-window): Reword doc-string. Handle new format of
6143 quit-restore parameter. Don't delete window if it has a
6144 previous buffer we can show instead of the present one.
6145 (display-buffer-record-window): Rewrite using a new format for
6146 the quit-restore window parameter
6147 (special-display-popup-frame, display-buffer-same-window)
6148 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6149 (display-buffer-pop-up-window, display-buffer-use-some-window):
6150 Adapt symbol passed to display-buffer-record-window.
6151 * help.el (help-window-setup): Handle new format of quit-restore
6154 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6156 * faces.el (face-list): Fix docstring (bug#9564).
6158 * window.el (display-buffer--action-function-custom-type):
6159 Don't include internal functions in the Custom interface.
6161 2011-09-20 Juri Linkov <juri@jurta.org>
6163 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6164 (Info-forward-node, Info-backward-node, Info-next-preorder)
6165 (Info-last-preorder): Use it. (Bug#9528)
6167 2011-09-20 Juri Linkov <juri@jurta.org>
6169 * info.el (Info-last-preorder): Visit last menu item only when
6170 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6172 2011-09-20 Julien Danjou <julien@danjou.info>
6174 * password-cache.el (password-cache-remove): Remove entries even if the
6175 value is nil, so that password with a nil value (negative caching) is
6176 possible to invalidate.
6178 2011-09-20 Lawrence Mitchell <wence@gmx.li>
6180 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6181 all whitespace around breakpoint. (Bug#9553)
6182 (f90-find-breakpoint): Only break at whitespace inside a comment.
6184 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6186 * minibuffer.el (completion-file-name-table): Keep track of errors.
6187 (completion-table-with-predicate): Handle the case where pred1 is nil.
6188 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6190 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6192 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6193 (debugger-return-value): Signal an error if the debugging context does
6194 not await any return value.
6196 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6197 * image-mode.el (image-toggle-display-text)
6198 (image-toggle-display-image): Stay away from evil `intangible'.
6200 2011-09-19 Leo Liu <sdl.web@gmail.com>
6202 * replace.el (occur-revert-arguments): Make it permanent-local.
6203 (occur-mode): Don't call font-lock-defontify.
6205 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6207 * net/ldap.el (ldap-search-internal): Don't push empty search
6210 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6212 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6214 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6216 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6217 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6219 2011-09-18 Juri Linkov <juri@jurta.org>
6221 * buff-menu.el (Buffer-menu-mode-map):
6222 * dired.el (dired-mode-map):
6223 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6224 (lisp-interaction-mode-map):
6225 * emacs-lisp/package.el (package-menu-mode-map):
6226 * epa.el (epa-key-list-mode-map):
6227 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6228 (menu-bar-options-menu):
6229 * outline.el (outline-mode-menu-bar-map):
6230 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6231 * vc/vc-dir.el (vc-dir-menu-map):
6232 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6233 Capitalize non-function content words in menu item strings.
6235 * dired.el (dired-mode-map): Add menu item for
6236 `image-dired-dired-toggle-marked-thumbs'.
6238 2011-09-18 Juri Linkov <juri@jurta.org>
6240 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6241 to `isearch-case-fold-search' and restore its original value
6242 after the `isearch-mode' call.
6244 2011-09-18 Juri Linkov <juri@jurta.org>
6246 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6247 because `zgrep' returns 1 for successful matches (bug#9226).
6249 2011-09-18 Juri Linkov <juri@jurta.org>
6251 * info.el (Info-extract-menu-node-name): Check the second match
6252 for empty string (second test-case of bug#9528).
6253 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6254 intermediate nodes to the history (first test-case of bug#9528).
6256 2011-09-18 Juri Linkov <juri@jurta.org>
6258 * info.el (Info-mode-syntax-table): New variable.
6259 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6261 2011-09-18 Juri Linkov <juri@jurta.org>
6263 * info.el (Info-file-supports-index-cookies):
6264 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6265 outputs one more line for long file names (bug#4142).
6267 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6269 * newcomment.el (comment-normalize-vars): If prompting for
6270 comment-start, set comment-start-skip too (Bug#8424).
6272 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6274 * icomplete.el: Fix previous fix of Bug#5849.
6275 (icomplete-mode): Don't set completion-show-inline-help.
6276 (icomplete-minibuffer-setup): Set completion-show-inline-help
6277 locally during icompletion.
6279 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6281 * woman.el (woman2-process-escapes): Don't delete unrecognized
6284 * files.el (inhibit-first-line-modes-regexps): Add image files.
6285 (hack-local-variables-prop-line): Return nil for malformed
6286 prop-lines (Bug#9044).
6288 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6290 * net/tramp.el (top): Don't require 'shell.
6291 (tramp-methods): Fix docstring.
6292 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6293 Return complete remote file name. Handle "smb" case.
6294 Use `tramp-tmpdir', if defined for the respective method.
6295 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6297 * net/tramp-compat.el (top): Require 'shell.
6299 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6300 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6301 `tramp-current-host'.
6302 (tramp-get-remote-tmpdir): Remove.
6304 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6305 `tramp-tmpdir' entries.
6306 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6307 (tramp-smb-handle-file-attributes): Ignore errors.
6308 (tramp-smb-wait-for-output): Check also for process end.
6310 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6312 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6313 when sending QUIT (bug#9312).
6315 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6317 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6318 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6319 occur-mode-display-occurrence.
6320 (occur-edit-mode): Add usage message.
6321 (occur-cease-edit): New command.
6322 (occur-after-change-function): Use text properties to find the
6323 position of the prefix text.
6324 (occur-engine): Set stickiness of prefix text properties.
6326 2011-09-17 Glenn Morris <rgm@gnu.org>
6328 * progmodes/etags.el (complete-tag):
6329 Fix call to completion-in-region. (Bug#9526)
6331 2011-09-17 Juri Linkov <juri@jurta.org>
6333 * textmodes/ispell.el (ispell-word): Add to the error message
6334 the word, ispell program name and current dictionary (bug#9121).
6335 (ispell-tex-arg-end): Capitalize "error" in the error message.
6337 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6339 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6342 2011-09-17 Juri Linkov <juri@jurta.org>
6344 * window.el (window-safe-min-height, window-safe-min-width):
6345 Fix typos (followup to bug#9522).
6347 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6349 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6351 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6353 * simple.el (line-move): If goal-column is set, move by logical
6354 lines, not by display lines. (Bug#971)
6355 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6356 to reflect the above change.
6358 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6360 * image.el (imagemagick-register-types): Use regexp-opt.
6362 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6364 * window.el (display-buffer-base-action): Rename from
6365 display-buffer-default-action. Make default value empty.
6366 (display-buffer-overriding-action): Convert to defvar.
6367 (display-buffer-fallback-action): New var.
6369 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6371 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6373 (package--add-to-archive-contents): If there is a duplicate entry
6374 with an older version, remove it.
6375 (package-menu-mark-delete, package-menu-mark-install)
6376 (package-menu-mark-unmark): Make unused args optional.
6377 (package-menu-mark-obsolete-for-deletion):
6378 Use package-menu-get-status instead of a regexp search.
6379 (package-menu-get-status): Use tabulated-list-entry.
6380 (package-menu-mark-upgrades): New command.
6381 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6382 (package-menu-execute): Do installation before deletion.
6383 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6384 instead of checking major-mode.
6385 (package-menu--find-upgrades): New function.
6387 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6389 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6390 passwords in the log buffer.
6391 (smtpmail-process-filter): Update the process marker so that the
6392 "broken by peer" status message is inserted in the right place.
6394 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6396 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6397 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6398 bibtex-completion-at-point-function.
6399 (bibtex-completion-at-point-function): Use them.
6401 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6403 * mpc.el (mpc-constraints-tag-lookup): New function.
6404 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6405 also to browser "album|playlist".
6407 2011-09-14 Juri Linkov <juri@jurta.org>
6409 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6410 (isearch-edit-string): Use length of `isearch-string' when
6411 `isearch-fail-pos' returns nil.
6412 (isearch-message): Remove duplicate code and call
6413 `isearch-fail-pos' with arg `t'.
6415 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6417 * replace.el (occur-mode-goto-occurrence): Don't force using other
6420 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6422 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6424 * window.el (display-buffer-window): Remove.
6425 (display-buffer-record-window): Use help-setup window parameter
6426 instead of variable display-buffer-window.
6427 (display-buffer-function, special-display-buffer-names)
6428 (special-display-function): Mention help-setup parameter instead
6429 of display-buffer-window in doc-string.
6430 * help.el (help-window-setup): New argument help-window.
6431 Use help-window-setup parameter instead of display-buffer-window.
6432 Reword some messages.
6433 (with-help-window): Pass window used for displaying the buffer
6434 to help-window-setup. Don't set display-buffer-window.
6436 2011-09-13 Glenn Morris <rgm@gnu.org>
6438 * emacs-lisp/debug.el (debugger-make-xrefs):
6439 Preserve point. (Bug#9462)
6441 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6443 * window.el (window-deletable-p): Use next-frame.
6445 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6447 * window.el (window-auto-delete): Remove.
6448 (window-deletable-p): Remove argument FORCE. Don't deal with
6449 dedication and previous buffers.
6450 (switch-to-prev-buffer): Don't delete window.
6451 (delete-windows-on): Delete a window's frame if and only if the
6452 window is dedicated.
6453 (replace-buffer-in-windows): Delete buffer's window or frame if
6454 and only if window is dedicated.
6455 (quit-window): Handle quit-restore as before last change.
6456 (bury-buffer): Delete window only if window-deletable-p returns t.
6458 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6460 * window.el (window-deletable-p): Never delete the last frame on a
6463 2011-09-13 Glenn Morris <rgm@gnu.org>
6465 * help.el (describe-key-briefly): Copy previous standard-output change.
6467 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6469 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6471 2011-09-13 Glenn Morris <rgm@gnu.org>
6473 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6474 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6476 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6478 * dired-aux.el (dired-mark-read-string): Don't return default
6479 value on empty input (Bug#9361).
6480 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6481 Omit initial minibuffer contents.
6482 (dired-do-chmod): Signal an error on empty input.
6483 (dired-mark-read-string): Don't return default on empty input.
6485 * files.el (file-modes-symbolic-to-number): Doc fix.
6487 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6489 * international/mule-cmds.el (ucs-completions): Remove.
6490 (read-char-by-name): Use complete-with-action instead; add metadata.
6492 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6494 * window.el (display-buffer--action-function-custom-type)
6495 (display-buffer--action-custom-type): New vars.
6496 (display-buffer-alist, display-buffer-default-action)
6497 (display-buffer-overriding-action): Add defcustom types.
6499 * frame.el (delete-other-frames): Doc fix (Bug#276).
6501 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6503 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6505 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6507 Change modes that used same-window-* vars to use switch-to-buffer.
6509 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6510 Use switch-to-buffer.
6512 * cus-edit.el (customize-group, custom-buffer-create)
6513 (customize-browse, custom-buffer-create-other-window):
6514 Use switch-to-buffer or switch-to-buffer-other-window.
6516 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6517 (Info-prev, Info-up, Info-speedbar-goto-node)
6518 (info-display-manual): Use switch-to-buffer.
6519 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6521 * mail/sendmail.el (mail): Use switch-to-buffer.
6522 (mail-recover): Use switch-to-buffer-other-window.
6524 * cmuscheme.el (run-scheme, switch-to-scheme):
6527 * net/rlogin.el (rlogin):
6528 * net/telnet.el (telnet, rsh):
6529 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6531 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6533 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6535 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6537 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6538 so don't mention it (bug#9301).
6539 (dired-sort-toggle-or-edit): Clarify string further.
6541 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6542 match `x', `w32' and `ns', like the manual says (bug#9029).
6544 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6545 (process-kill-buffer-query-function): Mention the buffer name in
6548 * image-mode.el (image-next-line): The line parameter is mandatory
6551 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6552 which can be useful (bug#9301).
6554 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6556 * subr.el (match-string): Mention that the current buffer should
6557 be the same as the search was done in (bug#9282).
6559 * facemenu.el: Disable the remove-* commands if the mark isn't
6562 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6564 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6566 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6568 * replace.el (occur-mode-goto-occurrence)
6569 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6572 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6575 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6576 special-display and same-window variables.
6577 (mail-other-window): Use switch-to-buffer-other-window.
6578 (mail-other-frame): USe switch-to-buffer-other-frame.
6580 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6581 Use display-buffer-other-frame.
6582 (gdb-display-gdb-buffer): Use pop-to-buffer.
6584 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6586 * progmodes/python.el: Don't set same-window-buffer-names.
6588 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6590 * window.el (display-buffer-alist): Add *Python*.
6592 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6594 * window.el (display-buffer-alist): Add entry for buffers
6595 previously handled same-window-*.
6596 (display-buffer-alist, display-buffer-default-action)
6597 (display-buffer-overriding-action): Mark as risky.
6598 (display-buffer-alist): Document action function changes.
6599 (display-buffer--same-window-action)
6600 (display-buffer--other-frame-action): New variables.
6601 (switch-to-buffer, display-buffer-other-frame): Use them.
6602 (display-buffer): Rename reuse-frame entry to reusable-frames.
6603 (display-buffer-reuse-selected-window): Function deleted.
6604 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6605 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6606 (display-buffer-special): New function.
6607 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6608 display-buffer-reuse-or-pop-window. Split off special-display
6609 part into display-buffer-special.
6610 (display-buffer-use-some-window): Don't perform any special
6611 pop-up-frames handling.
6612 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6613 (display-buffer--maybe-same-window): Rename from
6614 display-buffer-maybe-same-window.
6616 * info.el: Don't set same-window-regexps.
6617 (info-setup): New function.
6618 (info-other-window, info): Call it.
6620 * cus-edit.el: Don't set same-window-regexps.
6621 (customize-group): New argument.
6622 (customize-group-other-window): Use it.
6623 (customize-face, customize-face-other-window): Likewise.
6624 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6628 * progmodes/gud.el: Don't set same-window-regexps.
6634 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6636 2011-09-10 Juri Linkov <juri@jurta.org>
6638 * isearch.el (isearch-edit-string): Remove obsolete mention of
6639 `C-w' (`isearch-yank-word-or-char') from docstring.
6640 (isearch-query-replace): Fix typo in docstring (bug#9466).
6642 2011-09-10 Juri Linkov <juri@jurta.org>
6644 * paren.el (show-paren-function): Don't show escaped parens.
6645 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6647 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6649 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6650 (mm-default-file-encoding): Remove autoload forms, they are
6651 replaced with autoload cookies in mml.el and mm-encode.el.
6652 (mail-add-attachment): New command.
6653 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6654 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6656 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6658 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6660 * simple.el (count-words-region): Use buffer if there's no region
6663 2011-09-09 Juri Linkov <juri@jurta.org>
6665 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6666 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6667 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6669 2011-09-09 Alan Mackenzie <acm@muc.de>
6671 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6672 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6674 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6676 Fix for Savannah bug#9392.
6677 * simple.el (mail-encode-mml): New defvar.
6679 * mail/rmail.el (mail-encode-mml): Add a defvar.
6680 (rmail-enable-mime-composing): Default to t.
6681 (rmail-forward): Use MIME method of forwarding only if both
6682 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6683 Set mail-encode-mml non-nil if the MIME method was used.
6685 * mail/sendmail.el (mml-to-mime): Add autoload form.
6686 (mail-encode-mml): Add a defvar.
6687 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6689 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6690 message through mml-to-mime, and reset mail-encode-mml to nil.
6692 2011-09-09 Glenn Morris <rgm@gnu.org>
6694 * woman.el (woman-if-body): When processing an .el block,
6695 do not delete the next .el block as well. (Bug#9447)
6696 (woman-special-characters): Add oq, cq, and hy characters.
6698 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6700 * window.el (window-deletable-p): Make sure window is live before
6701 invoking window-prev-buffers.
6703 2011-09-08 Leo Liu <sdl.web@gmail.com>
6705 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6707 2011-09-08 Juri Linkov <juri@jurta.org>
6709 * progmodes/compile.el (compilation-environment): Make it
6710 a defcustom (bug#8340).
6712 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6714 * window.el (frame-auto-delete): Rename to window-auto-delete.
6715 Make it control auto-deletion of windows and/or frames.
6716 (window-deletable-p): New argument FORCE. Rewrite conditions
6717 for deleting window/frame. (Bug#9419)
6718 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6719 Rewrite handling of case when window/frame can be deleted.
6720 (delete-windows-on): Call window-deletable-p with new FORCE
6721 argument t. (Bug#9456)
6723 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6725 * help-mode.el (help-mode): Restore autoload.
6727 2011-09-07 Juri Linkov <juri@jurta.org>
6729 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6730 `compilation-environment'. Set buffer-local
6731 `compilation-environment' to `thisenv' later after (funcall mode).
6734 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6735 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6736 instead of replacing its value. (Bug#8340)
6738 2011-09-07 Juri Linkov <juri@jurta.org>
6740 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6741 based on text properties put by `grep-filter' instead of matching
6743 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6744 to the value of `grep-error-screen-columns' (bug#9438).
6746 2011-09-07 Juri Linkov <juri@jurta.org>
6748 * simple.el (next-error-highlight, next-error-highlight-no-select):
6751 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6753 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6754 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6756 2011-09-07 Leo Liu <sdl.web@gmail.com>
6758 * net/rcirc.el (rcirc-mode): Conditionally initialize
6761 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6763 * emacs-lisp/find-func.el (find-function-C-source): Only set
6764 find-function-C-source-directory after checking that we found a source
6765 file there (bug#9440).
6767 2011-09-06 Alan Mackenzie <acm@muc.de>
6769 * isearch.el (isearch-other-meta-char): Wherever a key list is
6770 unread, "unread" the prefix arg, too. This fixes bug #8901.
6772 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6774 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6776 2011-09-05 Juri Linkov <juri@jurta.org>
6778 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6780 2011-09-05 Juri Linkov <juri@jurta.org>
6782 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6783 keeping point where processing of grep matches begins, and
6784 continue to delete remaining escape sequences from the same point.
6785 (grep-filter): Make leading zero optional in "0?1;31m" because
6786 git-grep emits "\033[1;31m" escape sequences unlike expected
6787 "\033[01;31m" as GNU Grep does (bug#9408).
6788 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6790 2011-09-05 Juri Linkov <juri@jurta.org>
6792 * subr.el (y-or-n-p): Capitalize "yes".
6794 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6796 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6797 `tramp-cache-unload-hook' where appropriate.
6798 (tramp-methods): Rename `tramp-remote-sh' to
6799 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6800 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6802 * net/tramp-sh.el (top): Don't require 'shell.
6803 (tramp-methods): Add `tramp-remote-shell' and
6804 `tramp-remote-shell-args' entries.
6805 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6806 (tramp-sh-handle-shell-command): Remove.
6807 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6808 Use `tramp-remote-shell'.
6810 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6812 * mail/sendmail.el (sendmail-query-once-function): Delete.
6813 (sendmail-query-once): Save directly to send-mail-function.
6814 Update message-send-mail-function too.
6816 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6818 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6820 * progmodes/python.el (python-mode-map): Use correct function to
6821 start python interpreter from menu-bar (as reported by Geert
6823 (inferior-python-mode-map): Fix typo.
6824 (python-shell-map): Remove.
6826 2011-09-03 Deniz Dogan <deniz@dogan.se>
6828 * net/rcirc.el (rcirc-print): Simplify code for
6829 rcirc-scroll-show-maximum-output. There is no need to walk
6830 through all windows to find the right one.
6832 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6834 * help.el (help-return-method): Doc fix.
6836 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6838 * window.el (window-deletable-p): Don't return a non-nil value
6839 when there's a buffer that was shown in the window before.
6841 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6842 Set window's previous buffers to nil.
6844 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6846 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6847 newline before and after the tag line, so it doesn't interfere
6848 with determining the paragraph direction of bidirectional text.
6850 2011-09-03 Leo Liu <sdl.web@gmail.com>
6852 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6854 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6856 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6857 (pop-to-buffer): Change interactive spec. Pass second argument
6858 directly to display-buffer.
6859 (display-buffer): Fix interactive spec. Use functionp to
6860 distinguish between a function and a list of functions.
6862 * abbrev.el (edit-abbrevs):
6863 * arc-mode.el (archive-extract):
6864 * autoinsert.el (auto-insert):
6865 * bookmark.el (bookmark-bmenu-list):
6866 * files.el (find-file):
6867 * view.el (view-buffer):
6868 * progmodes/compile.el (compilation-goto-locus):
6869 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6871 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6873 * window.el (display-buffer-alist): Doc fix.
6874 (display-buffer): Add docstring. Don't treat
6875 display-buffer-default specially.
6876 (display-buffer-reuse-selected-window)
6877 (display-buffer-same-window, display-buffer-maybe-same-window)
6878 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6879 (display-buffer-pop-up-window)
6880 (display-buffer-reuse-or-pop-window)
6881 (display-buffer-use-some-window): New functions.
6882 (display-buffer-default-action): Use them.
6883 (display-buffer-default): Delete.
6884 (pop-to-buffer-1): Fix choice of actions.
6886 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6888 * minibuffer.el (completion--insert-strings): Don't get confused by
6889 completion entries that end with an LF char.
6891 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6893 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6895 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6897 * window.el (display-buffer): Restore interactive spec.
6898 (display-buffer-same-window, display-buffer-other-window):
6900 (pop-to-buffer-1): New function. Use the above.
6901 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6902 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6904 * view.el (view-buffer-other-window, view-buffer-other-frame):
6905 Just use pop-to-buffer.
6907 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6909 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6911 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6913 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6915 2011-08-31 Richard Stallman <rms@gnu.org>
6917 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6918 of the separation of rmail-view-buffer from rmail-buffer.
6919 If you say no to "replace original", the decrypt is in the
6920 view buffer. If you say yes, the decrypt goes into the
6923 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6925 * window.el (display-buffer-window): Rewrite doc-string.
6926 (display-buffer-record-window): New function.
6927 (display-buffer-macro-specifiers)
6928 (display-buffer-even-window-sizes, display-buffer-set-height)
6929 (display-buffer-set-width, display-buffer-in-window)
6930 (display-buffer-reuse-window, display-buffer-split-specifiers)
6931 (display-buffer-side-specifiers, display-buffer-split-window-1)
6932 (display-buffer-split-window, display-buffer-split-atom-window)
6933 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6934 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6935 (display-buffer-other-window-means-other-frame)
6936 (display-buffer-normalize-special)
6937 (display-buffer-normalize-default)
6938 (display-buffer-normalize-argument)
6939 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6940 (display-buffer-normalize-specifiers, display-buffer-frame)
6941 (display-buffer-same-window, display-buffer-same-frame)
6942 (display-buffer-other-window)
6943 (display-buffer-same-frame-other-window)
6944 (display-buffer-other-frame, pop-to-buffer-same-window)
6945 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6946 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6947 (switch-to-buffer-same-frame)
6948 (switch-to-buffer-other-window-same-frame)
6949 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6950 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6951 (display-buffer-alist-set): Remove.
6952 (display-buffer-function, special-display-buffer-names)
6953 (special-display-regexps, special-display-function):
6954 In doc-string refer to display-buffer-window and quit-restore
6956 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6957 (special-display-frame-alist, special-display-popup-frame)
6958 (same-window-buffer-names, same-window-regexps, same-window-p)
6959 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6960 (split-window-preferred-function, split-height-threshold)
6961 (split-width-threshold, window-splittable-p)
6962 (split-window-sensibly, window--try-to-split-window)
6963 (window--frame-usable-p, even-window-heights)
6964 (window--even-window-heights, window--display-buffer-1)
6965 (window--display-buffer-2, display-buffer-other-frame):
6966 Restore old Emacs 23 code, order and doc-strings where applicable.
6967 (display-buffer-default, display-buffer-assq-regexp): New functions.
6968 (display-buffer-alist): Rewrite doc-string.
6969 (display-buffer-default-action)
6970 (display-buffer-overriding-action): New variables.
6971 (display-buffer, switch-to-buffer): Rewrite.
6972 (pop-to-buffer): Restore Emacs 23 behavior but use
6973 window-normalize-buffer-to-display.
6974 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6975 Restore Emacs 23 behavior but use
6976 window-normalize-buffer-to-switch-to.
6977 (pop-to-buffer-same-window): Rewrite.
6978 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6979 Rewrite using Emacs 23 options.
6981 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6983 * net/tramp.el (tramp-root-regexp): Remove.
6984 (tramp-completion-file-name-regexp-unified)
6985 (tramp-completion-file-name-regexp-separate)
6986 (tramp-completion-file-name-regexp-url): Don't use leading volume
6987 letter on win32 systems. (Bug#5303, Bug#9311)
6988 (tramp-drop-volume-letter): Simplify definition.
6989 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6991 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6993 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6996 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6998 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7000 2011-08-29 Juri Linkov <juri@jurta.org>
7002 * isearch.el (isearch-done): Don't display message "Mark saved"
7003 when arg `edit' is non-nil to prevent its flicker in the echo area.
7005 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7007 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7008 obsolete packages for deletion.
7010 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7012 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7013 (help-mode): Derive help-mode from special-mode. Don't invoke
7014 view-mode from help-mode.
7015 (help-xref-override-view-map): Remove.
7016 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7017 view-mode is not used anymore.
7019 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7021 * server.el (server-port): Doc fix.
7023 * cus-theme.el (custom-theme-choose-mode): Inherit from
7024 special-mode (Bug#9124).
7025 (custom-theme-choose-mode-map): Add special-mode to parent.
7027 2011-08-28 Alan Mackenzie <acm@muc.de>
7029 * progmodes/cc-fonts.el
7030 (c-make-font-lock-BO-decl-search-function): New function.
7031 (c-basic-matchers-after - "Fontify the clauses after various
7032 keywords"): Extract the three keyword lists for the 3 erroneous
7033 constructs from the list of four, and use the new function above
7034 in place of an old one.
7036 2011-08-28 Deniz Dogan <deniz@dogan.se>
7038 * net/rcirc.el (rcirc-insert-prev-input)
7039 (rcirc-insert-next-input): Remove unused argument.
7041 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7043 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7045 2011-08-27 Alan Mackenzie <acm@muc.de>
7047 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7048 handle function pointer parameters properly.
7050 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7052 * window.el (display-buffer-reuse-window): Fix case where
7053 selected window was reused with non-nil OTHER-WINDOW argument.
7056 2011-08-27 Deniz Dogan <deniz@dogan.se>
7058 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7059 oftc's NickServ messages.
7061 2011-08-27 Glenn Morris <rgm@gnu.org>
7063 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7065 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
7067 * emacs-lisp/package.el (package-install): Call package-initialize
7068 if called interactively.
7070 2011-08-26 Leo Liu <sdl.web@gmail.com>
7072 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7074 2011-08-25 Juri Linkov <juri@jurta.org>
7076 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7077 `search-whitespace-regexp' (bug#9364).
7079 2011-08-25 Juri Linkov <juri@jurta.org>
7081 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7082 `regexp-search-ring' to their global values to protect from
7083 updating by `read-from-minibuffer' (bug#9185).
7085 2011-08-25 Juri Linkov <juri@jurta.org>
7087 * textmodes/ispell.el (ispell-command-loop): Add newline
7088 at the end of the "Use option `i'..." line.
7090 2011-08-25 Juri Linkov <juri@jurta.org>
7092 * battery.el (display-battery-mode): If `battery-status-function'
7093 or `battery-mode-line-format' is nil, display the message and set
7094 `display-battery-mode' to nil (bug#9363).
7096 2011-08-25 Eli Zaretskii <eliz@gnu.org>
7098 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7099 bidi-string-mark-left-to-right; they are unnecessary now.
7101 2011-08-25 Deniz Dogan <deniz@dogan.se>
7103 * net/quickurl.el: Documentation typo fixes.
7105 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
7107 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7109 2011-08-25 Glenn Morris <rgm@gnu.org>
7111 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7113 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7114 (smtpmail-via-smtp): Handle nil response from smtp.
7116 2011-08-24 Juri Linkov <juri@jurta.org>
7118 * proced.el (proced-marked): Inherit from `error' instead of
7119 `font-lock-warning-face'.
7121 * ibuffer.el (ibuffer-marked-face): Change default face from
7122 `font-lock-warning-face' to `warning'.
7123 (ibuffer-deletion-face): Change default face from
7124 `font-lock-type-face' to `error'.
7126 * battery.el (battery-update): Use the face `error' instead of
7127 `font-lock-warning-face' (bug#6117).
7129 2011-08-24 Juri Linkov <juri@jurta.org>
7131 * faces.el (success): Change face color from "Green3" to
7132 "ForestGreen" on light background (bug#9353).
7134 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
7136 * window.el (quit-window): Rename from quit-restore-window.
7137 Use same arglist as old quit-window.
7138 (frame-auto-delete): Doc fix.
7140 * view.el (view-mode-exit): Use quit-window.
7142 2011-08-24 Juri Linkov <juri@jurta.org>
7144 * isearch.el (isearch-ring-adjust1): Start visiting previous
7145 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7146 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7147 for empty search string (when the last search string is reused
7148 automatically) to adjust the isearch ring to the last element and
7149 prepare the correct index for further M-p commands (bug#9185).
7151 2011-08-24 Kenichi Handa <handa@m17n.org>
7153 * international/ucs-normalize.el: If decomposition property of
7154 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7156 (nfd, nfkd): Likewise.
7158 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7160 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7161 from process filters aren't reliably transmitted to the surrounding
7162 accept-process-output.
7163 (mpc-proc-check): New function.
7164 (mpc-proc-sync): Use it (bug#8293)
7166 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7168 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7169 Add compatibility functions (bug#9313).
7171 2011-08-23 Eli Zaretskii <eliz@gnu.org>
7173 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7175 * international/uni-bidi.el: Regenerate.
7177 2011-08-23 Kenichi Handa <handa@m17n.org>
7179 * international/charprop.el:
7180 * international/uni-bidi.el:
7181 * international/uni-category.el:
7182 * international/uni-combining.el:
7183 * international/uni-comment.el:
7184 * international/uni-decimal.el:
7185 * international/uni-decomposition.el:
7186 * international/uni-digit.el:
7187 * international/uni-lowercase.el:
7188 * international/uni-mirrored.el:
7189 * international/uni-name.el:
7190 * international/uni-numeric.el:
7191 * international/uni-old-name.el:
7192 * international/uni-titlecase.el:
7193 * international/uni-uppercase.el: Regenerate.
7195 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7197 * help.el (help-window-setup): Fix message displayed when other
7198 window is reused. (Bug#9341)
7200 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7202 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7203 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7205 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7207 * shell.el (shell-parse-pcomplete-arguments): New function.
7208 (shell-completion-vars): Use it instead (bug#9160).
7210 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7212 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7213 strings and comments (bug#9333).
7215 * emacs-lisp/debug.el (debug-arglist): New function.
7216 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7217 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7219 2011-08-22 Juri Linkov <juri@jurta.org>
7221 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7222 Revert regexp that highlights output switches to its old
7223 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7225 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7226 to check for empty output (bug#9226).
7228 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7230 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7231 symbol-constituent as the default, as that stops font-lock from
7232 working properly (Bug#8843).
7234 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7236 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7237 `coding-system-for-*' around the process open call to avoid
7238 auth-source side effects.
7239 (smtpmail-try-auth-methods): Expand the secret password.
7240 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7243 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7245 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7247 * emacs-lisp/find-func.el (find-function-noselect): New arg
7250 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7251 signal an error for built-in functions (Bug#6664).
7253 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7255 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7256 (smtpmail-try-auth-methods): Use it.
7258 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7260 * font-lock.el (font-lock-fontify-region)
7261 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7262 (font-lock-default-unfontify-buffer)
7263 (font-lock-default-fontify-region)
7264 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7266 * progmodes/compile.el (compilation-error-properties):
7267 Fix confusion between file struct and message struct (Bug#9319).
7268 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7271 * net/browse-url.el (browse-url-firefox): Don't call
7272 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7274 2011-08-20 Glenn Morris <rgm@gnu.org>
7276 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7278 * tutorial.el (tutorial--default-keys): Update some default bindings.
7280 * files.el (hack-local-variables): Fully ignore case for "mode:".
7282 2011-08-20 Alan Mackenzie <acm@muc.de>
7284 Resolve invalid use of a regexp in regexp-opt.
7286 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7287 detection for a java annotation.
7289 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7290 detection for a java annotation.
7292 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7294 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7296 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7298 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7301 2011-08-20 Alan Mackenzie <acm@muc.de>
7303 Fontify CPP expressions correctly when starting in the middle of
7304 such a construct. Mainly for when jit-lock etc. starts a chunk
7307 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7309 (c-make-font-lock-search-form): New function, extracted from
7310 c-make-font-lock-search-function.
7311 (c-make-font-lock-search-function): Use the above function.
7312 (c-make-font-lock-context-search-function): New function.
7313 (c-cpp-matchers): Enhance the preprocessor expression case with
7315 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7316 which takes an expression.
7318 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7320 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7322 * window.el (display-buffer-reuse-window)
7323 (display-buffer-pop-up-window): Don't reuse or split a side
7326 2011-08-19 Glenn Morris <rgm@gnu.org>
7328 * files.el (hack-local-variables-prop-line, hack-local-variables):
7329 Downcase "Mode:". (Bug#9331)
7331 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7333 * international/characters.el: Add L and R categories.
7335 * subr.el (bidi-string-mark-left-to-right): Rename from
7336 string-mark-left-to-right. Use category search.
7338 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7340 2011-08-18 Juri Linkov <juri@jurta.org>
7342 * faces.el (error, warning, success): New faces with definitions
7343 copied from old default values of `font-lock-warning-face',
7344 `compilation-warning', `compilation-info' (bug#6117).
7346 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7348 * progmodes/compile.el (compilation-error): Inherit from `error'.
7349 (compilation-warning): Inherit from `warning'.
7350 (compilation-info): Inherit from `success'.
7352 * dired.el (dired-marked): Inherit from `warning'.
7353 (dired-flagged): Inherit from `error'.
7355 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7357 * mail/smtpmail.el (auth-source): Require to avoid problems with
7358 binding variables (bug#9298). Also clean up some unused
7361 * net/network-stream.el (network-stream-open-starttls):
7362 Support using starttls.el without using gnutls-cli.
7364 2011-08-17 Juri Linkov <juri@jurta.org>
7366 * progmodes/grep.el (rgrep): Handle the case when
7367 `grep-find-command' is a cons cell (bug#9278).
7369 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7371 * window.el (display-buffer-pop-up-frame): Run frame creation
7372 function with BUFFER current (as special-display-popup-frame
7373 does). Reported by Drew Adams.
7375 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7377 * epa-mail.el: Simplify GnuPG group expansion using
7379 (epa-mail-group-alist, epa-mail-group-modtime)
7380 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7381 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7382 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7385 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7387 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7389 2011-08-16 Alan Mackenzie <acm@muc.de>
7391 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7392 Correct, to avoid the inside of macros.
7394 2011-08-16 Richard Stallman <rms@gnu.org>
7396 * epa-mail.el: Handle GnuPG group definitions.
7397 (epa-mail-group-alist, epa-mail-group-modtime)
7398 (epa-mail-gnupg-conf-file): New variables.
7399 (epa-mail-parse-groups, epa-mail-sync-groups)
7400 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7401 (epa-mail-expand-recipients): New functions.
7402 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7404 * mail/rmail.el (rmail-epa-decrypt): New command.
7406 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7407 Don't bind buffer-read-only, just inhibit-read-only.
7408 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7409 (epa-decrypt-armor-in-region): Make error message clearer.
7411 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7413 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7414 and "a2b" to "ab" for `prefix'.
7416 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7418 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7420 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7421 Fourquet (Bug#8804).
7423 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7425 * startup.el (argi): Declare as global variable (bug#9275).
7427 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7429 * subr.el (string-mark-left-to-right): Search the entire string
7430 for RTL script, not just the terminating character. Doc fix.
7432 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7434 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7436 (js--regexp-literal, js-syntax-propertize-function): Remove.
7437 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7438 (js-mode-map): Don't rebind electric keys.
7439 (js-insert-and-indent): Remove.
7440 (js-mode): Setup electric-layout and electric-indent instead.
7442 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7444 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7446 * epa.el (epa-progress-callback-function): Fix the logic of
7447 displaying progress.
7448 * epa-file.el (epa-file-insert-file-contents): Make progress
7449 display more user-friendly.
7450 (epa-file-write-region): Ditto.
7452 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7454 * subr.el (string-mark-left-to-right): New function.
7456 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7457 Use string-mark-left-to-right.
7458 (list-buffers-noselect): Caller changed.
7460 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7461 Use string-mark-left-to-right.
7462 (tabulated-list-print): Recenter after moving point.
7464 2011-08-10 Juri Linkov <juri@jurta.org>
7466 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7467 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7468 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7470 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7472 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7475 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7477 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7478 character. (Bug#6594)
7480 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7482 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7483 (image-dired--with-db-file): New macro.
7484 (image-dired-write-tags, image-dired-remove-tag)
7485 (image-dired-create-gallery-lists, image-dired-write-comments)
7486 (image-dired-get-comment, image-dired-mark-tagged-files)
7487 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7488 (image-dired-gallery-generate): Use insert-file-contents.
7490 * time.el (display-time-world-list, display-time-world-display):
7491 * time-stamp.el (time-stamp-string):
7492 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7493 set-time-zone-rule (Bug#7337).
7495 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7497 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7498 (epg-error-to-string, epg-errors-to-string): New function.
7499 (epg-wait-for-completion): Reverse errors list.
7500 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7501 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7502 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7503 (epg-sign-keys, epg-generate-key-from-file)
7504 (epg-generate-key-from-string): Format errors by using
7505 epg-errors-to-string (bug#9255).
7506 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7508 2011-08-07 Juri Linkov <juri@jurta.org>
7510 * faces.el (list-faces-display): Remove extra angle bracket
7511 from `help-mode-map'.
7513 * info.el (Info-history-toc-nodes): Doc fix.
7515 * longlines.el (longlines-mode): Doc fix.
7517 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7519 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7520 of statements and in a few more cases (bug#9183).
7522 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7524 (cl-transform-lambda): Use them (bug#9239).
7526 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7528 * window.el (display-buffer-same-window)
7529 (display-buffer-same-frame, display-buffer-other-window)
7530 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7531 (pop-to-buffer-other-window)
7532 (pop-to-buffer-same-frame-other-window)
7533 (pop-to-buffer-other-frame): Make them defuns.
7534 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7536 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7538 * subr.el (make-composed-keymap): Move from C. Change calling
7539 convention, and improve docstring to bring attention to a subtle point.
7540 * minibuffer.el (completing-read-default): Adjust accordingly.
7542 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7544 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7545 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7547 * net/trampver.el: Update release number.
7549 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7551 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7554 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7556 * mail/sendmail.el (sendmail-query-once): Restore the current
7557 buffer after querying (bug#9074).
7559 * dired.el (dired-flagged): Use different faces for marked and
7560 flagged files (bug#6117).
7562 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7565 * ido.el (ido-mode): Switch off the message if called
7568 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7569 before 587, since it appears that that's more likely to work for
7572 * cus-edit.el (custom-file): When running under emacs -q, always
7573 refuse to save the customizations, even if the .emacs file doesn't
7576 * info.el: Remove the `Info-beginning-of-buffer' function
7579 * net/network-stream.el (network-stream-open-starttls):
7580 Use `starttls-available-p' to see whether starttls.el can be used.
7582 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7584 * window.el (display-buffer-in-window): Don't set dedicated status
7585 of window here (Bug#9215).
7586 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7587 (display-buffer-pop-up-side-window)
7588 (display-buffer-in-side-window): Set dedicated status of window here.
7590 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7592 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7593 before binding generated-autoload-file.
7595 2011-08-01 Deniz Dogan <deniz@dogan.se>
7597 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7599 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7601 Sync with Tramp 2.2.2.
7603 * net/trampver.el: Update release number.
7605 2011-07-30 Juri Linkov <juri@jurta.org>
7607 * dired-aux.el (dired-touch-initial): Remove function.
7608 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7609 current time, and `default' to the last modification time of the
7610 current marked file (bug#6887).
7612 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7614 * simple.el (goto-line): Use string-to-number to provide a
7615 numeric argument to read-number (bug#9163).
7617 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7619 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7620 connection process, it could be nil.
7622 2011-07-27 Leo Liu <sdl.web@gmail.com>
7624 Simplify url handling in rcirc-mode.
7626 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7627 (rcirc-browse-url-at-mouse): Remove.
7628 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7630 2011-07-26 Alan Mackenzie <acm@muc.de>
7632 Fontify bitfield declarations properly.
7634 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7635 (c-symbol-chars): Now exported as a lang variable.
7636 (c-not-primitive-type-keywords): New lang variable.
7638 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7639 QT keyword "more" to prevent "more slots: ...." being spuriously
7640 parsed as a bitfield declaration.
7642 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7643 Refactor and enhance to handle bitfield declarations.
7644 (c-punctuation-in): New function.
7645 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7646 declarations properly.
7648 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7650 * calendar/icalendar.el (icalendar--all-events): Take care of
7651 multiple vcalendars in a single file.
7652 (icalendar--convert-float-to-ical): Checkdoc fixes.
7654 2011-07-25 Deniz Dogan <deniz@dogan.se>
7656 * image.el (insert-image): Clarifying docstring.
7658 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7660 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7661 `tramp-send-command-and-check' if there is no error.
7662 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7664 2011-07-22 Alan Mackenzie <acm@muc.de>
7666 Prevent cc-langs.elc being loaded at run time.
7668 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7671 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7672 "(require 'cc-langs)". Quote a form so it will evaluate at
7673 (cc-mode's) compilation time.
7675 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7677 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7680 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7682 * window.el (display-buffer-pop-up-window)
7683 (display-buffer-pop-up-side-window)
7684 (display-buffer-in-side-window): Call display-buffer-set-height
7685 and display-buffer-set-width after setting the new window's
7686 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7688 2011-07-20 Sam Steingold <sds@gnu.org>
7690 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7691 (etags-tags-included-tables): Call `convert-standard-filename' on
7692 the file names contained in TAGS so that windows Emacs can handle
7693 TAGS files created by cygwin ctags.
7695 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7697 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7698 which apparently didn't work.
7700 2011-07-19 Roland Winkler <winkler@gnu.org>
7702 * proced.el (proced-send-signal): For *Marked Processes* buffer
7703 put point at beginning of buffer.
7705 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7707 * proced.el (proced-format): Make header lines align with the text
7710 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7712 * view.el (view-buffer): Allow running in `special' modes if we're
7713 visiting a file (bug#8615).
7715 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7717 * window.el (display-buffer-alist-of-strings-p)
7718 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7720 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7723 2011-07-18 Alan Mackenzie <acm@muc.de>
7725 Fontify declarators properly when, e.g., a jit-lock chunk begins
7726 inside a declaration.
7728 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7730 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7732 (c-complex-decl-matchers): Insert reference to
7733 c-font-lock-enclosing-decls.
7735 * progmodes/cc-engine.el (c-backward-single-comment):
7736 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7737 to nil around calls to (forward-comment -1).
7739 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7741 * image.el (put-image): Doc typo fix.
7743 * progmodes/etags.el (tags-search): Doc typo fix.
7745 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7746 password if we get errors 550 to 554.
7748 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7750 * net/gnutls.el (gnutls-log-level): Remove.
7752 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7753 indentation character (bug#6380).
7755 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7757 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7758 to clarify what the problem is (bug#4291).
7760 * simple.el (current-kill): Clarify what
7761 `interprogram-paste-function' does (bug#7500).
7762 (auto-fill-mode): Document `auto-fill-function' in relation to
7763 `auto-fill-mode' (bug#2470).
7765 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7767 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7768 method if slot is read-only (bug#9035).
7770 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7772 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7773 * window.el (pop-to-buffer): Select window used even if it was
7774 selected before, see discussion of (Bug#8615), (Bug#6954).
7775 Pass argument NORECORD on to select-frame-set-input-focus.
7777 2011-07-15 Glenn Morris <rgm@gnu.org>
7779 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7782 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7784 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7785 (gnutls-negotiate): Use it.
7787 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7789 * net/gnutls.el (gnutls-negotiate):
7790 Upcase `gnutls-algorithm-priority'.
7792 2011-07-15 Glenn Morris <rgm@gnu.org>
7794 * jka-compr.el (jka-compr-verbose): Move from here...
7795 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7796 Add missing :version tag.
7797 * info.el: No need to require jka-compr when compiling.
7799 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7801 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7802 (gnutls-negotiate): Use it.
7804 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7806 * info.el (Info-beginning-of-buffer): New command.
7807 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7808 announcing `b' as the key (bug#8325).
7809 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7811 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7813 * international/mule-cmds.el
7814 (describe-specified-language-support): Make the error message
7817 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7819 * isearch.el (isearch-barrier): Add a doc string, since it's
7820 mentioned in a function doc string (bug#8678).
7822 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7824 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7825 buffer argument (Bug#9083) and self-identifying label argument.
7827 2011-07-15 Glenn Morris <rgm@gnu.org>
7829 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7831 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7833 * man.el (Man-fontify-manpage): Fix message when formatting the
7834 man page (bug#7929).
7836 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7838 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7839 argument LRM; if non-nil, append an invisible LRM character to the
7841 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7842 last argument non-nil, when formatting buffer names.
7843 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7844 paragraph direction.
7846 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7848 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7849 the man page name (bug#7929).
7851 * image.el (put-image): Mention the `put-image' overlay property
7854 * scroll-bar.el (set-scroll-bar-mode): Mention that
7855 `scroll-bar-mode' lists the values (bug#7772).
7857 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7860 * rect.el (apply-on-rectangle): Return the point after the last
7862 (string-rectangle): Go to the point after the last operation
7865 * printing.el (pr-toggle-region): Clarify the documentation
7866 slightly (bug#7493).
7868 * time.el (display-time-update):
7869 Allow `display-time-mail-function' to return nil (bug#7158).
7870 Fix suggested by Detlev Zundel.
7872 * vc/diff.el (diff): Clarify the order the file names are read
7875 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7876 the doc string (bug#7015).
7878 * font-lock.el (font-lock-maximum-decoration): Mention what
7879 numeric levels mean (bug#6935).
7881 * startup.el (initial-buffer-choice): Don't mention the `none'
7882 selection, which is against policy.
7884 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7886 * window.el (display-buffer-normalize-special):
7887 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7889 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7891 * subr.el (version<, version<=, version=): Mention "-CVS" and
7892 "-12345" alpha version numbers.
7894 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7896 * bindings.el: Add advertised binding for set-mark-command
7899 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7901 * bindings.el (mode-line-other-buffer):
7902 * bookmark.el (bookmark-bmenu-2-window):
7903 * bs.el (bs-cycle-next, bs-cycle-previous):
7904 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7907 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7910 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7912 * follow.el (follow-debug-message, follow-redisplay):
7913 * jka-cmpr-hook.el (with-auto-compression-mode):
7914 Fix typos in docstrings.
7916 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7918 * subr.el (with-silent-modifications): Clarify somewhat what the
7919 macro inhibits (bug#6525).
7921 * simple.el (eval-expression): Note what it does if called
7922 interactively (bug#6495).
7924 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7926 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7927 Use pop-to-buffer buffer-or-name if it is nil.
7929 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7930 Remove switch-to-buffer.
7932 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7934 * files.el (make-directory): Clarify that an error will be raised
7935 if there's an error (bug#6397).
7937 * startup.el (initial-buffer-choice): Add `none' as a choice
7940 * subr.el (add-hook): Clarify section about buffer-local hooks
7943 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7945 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7947 * tabify.el (untabify): Preserve the current column so that point
7948 doesn't move (bug#6032).
7950 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7952 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7953 Rewrite to avoid awkward possessive "s" (bug#5986).
7955 2011-07-13 Glenn Morris <rgm@gnu.org>
7957 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7958 (dired-insert-directory): Give a message the first time
7959 if ls is found not to support --dired.
7961 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7963 * simple.el (toggle-truncate-lines): Clarify what is toggled
7964 (bug#5580). Text by Drew Adams.
7966 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7968 * simple.el (blink-matching-open): Make the error message from the
7969 last change less verbose.
7971 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7973 * font-lock.el (font-lock-comment-face): Use the high contrast
7974 "yellow" color for font-lock-comment-face on low color terminals
7975 using a dark background color (bug#4221).
7977 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7979 * dired.el (dired-insert-set-properties): Make the doc string
7980 reflect what it does now (bug#5325).
7982 * simple.el (blink-matching-open): Say that we were unable to find
7983 the match within the limit, if we're limited (bug#5122).
7985 * international/mule-cmds.el (prefer-coding-system): Add an
7988 * progmodes/etags.el (tags-search): Document `file-list-form'
7991 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7993 * net/browse-url.el (browse-url-default-browser)
7994 (browse-url-browser-function): Make the default browser choice a
7995 bit more logical (bug#4300). Also clean up the doc string.
7997 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7999 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8000 binary endings (bug#4440).
8002 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8004 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8005 which can be pretty annoying (bug#8971).
8007 * jka-compr.el (jka-compr-verbose): New variable, and use
8008 throughout (bug#8971).
8010 * info.el (Info-find-file): Fall back on the installation
8011 directory if we can't find the info node anywhere else.
8013 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8015 * vc/vc.el (vc-revert-file):
8016 Don't set file time-stamp in the past. (Bug#5181)
8018 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8020 * files.el (after-find-file): Give a better error message when
8021 trying to find a symlink that points to a file that doesn't exist
8024 * progmodes/cc-vars.el: Remove (probably) misleading comment
8027 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8029 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8031 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8033 * mouse-sel.el: Hack restoring functionality, while keeping
8034 compatibility with 2010-07-03 changes to mouse selection.
8035 (mouse-sel-primary-overlay): New var.
8036 (mouse-sel-selection-alist): Use it.
8037 (mouse-sel-mode): Doc fix; remove points that are default features
8040 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8042 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8043 Fix previous fix (bug#2490).
8045 2011-07-12 Roland Winkler <winkler@gnu.org>
8047 * textmodes/bibtex.el (bibtex-initialize):
8048 Use pop-to-buffer-same-window.
8049 (bibtex-search-entries): Fix interactive call.
8051 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8053 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8054 Fontise bytecomp Error lines more correctly (bug#2490).
8055 Fix suggested by Johan Bockgård.
8057 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8059 * dired-x.el (dired-guess-default): Use `delete-dups'.
8061 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8063 * dired.el (dired-mark-prompt):
8064 * dired-aux.el (dired-read-shell-command): Doc fix.
8066 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8068 * mail/sendmail.el (sendmail-query-once):
8069 Use `customize-save-variable' unconditionally, now that it works under
8072 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8074 * cus-edit.el (custom-file): Take an optional no-error variable.
8075 (customize-save-variable): Set the variable, and give a warning if
8076 running under "emacs -q".
8078 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
8080 * loadhist.el (unload-feature-special-hooks):
8081 Add `auto-coding-functions', `fill-nobreak-predicate' and
8082 `find-directory-functions' (bug#5327).
8084 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8086 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8088 * cus-edit.el (custom-guess-name-alist): -alist variables should
8089 use the `alist' type (bug#3120). Suggested by Drew Adams.
8091 * printing.el: Add documentation to all the `pr-toggle-' commands.
8093 2011-07-11 Leo Liu <sdl.web@gmail.com>
8095 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8096 backends where it makes sense (bug#2623).
8098 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8100 * dired-x.el (dired-guess-default): Remove duplicate shell command
8102 (dired-guess-default): Fix grammar in doc string (bug#2028).
8103 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8105 * subr.el (remove-duplicates): New conveniency function.
8107 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8109 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8112 2011-07-10 Martin Rudalics <rudalics@gmx.at>
8114 * window.el (display-buffer-normalize-default): Don't invert
8115 meaning of even-window-heights. Reported by Eli Zaretskii
8118 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8120 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8122 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
8124 * window.el (display-buffer): Fix arguments to
8125 display-buffer-reuse-window in last change.
8127 * faces.el (link): Use a less saturated blue on light backgrounds.
8129 * startup.el (fancy-startup-text, fancy-about-text)
8130 (fancy-startup-tail): Use font-lock faces, for background safety.
8132 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8134 * emulation/viper-cmd.el (viper-change-state-to-vi):
8135 Limit triggering of abbrev expansion (Bug#9038).
8137 2011-07-09 Martin Rudalics <rudalics@gmx.at>
8139 * window.el (display-buffer-default-specifiers): Remove.
8140 (display-buffer-macro-specifiers): Remove default specifiers.
8141 (display-buffer-alist): Default to nil.
8142 (display-buffer-reuse-window): New optional argument other-window.
8143 (display-buffer-pop-up-window): Allow splitting internal
8144 windows. Check whether a live window was created.
8145 (display-buffer-other-window-means-other-frame)
8146 (display-buffer-normalize-arguments): Rename to
8147 display-buffer-normalize-argument and rewrite. Set the
8148 other-window specifier.
8149 (display-buffer-normalize-special): New function.
8150 (display-buffer-normalize-options): Rename to
8151 display-buffer-normalize-default and rewrite.
8152 (display-buffer-normalize-options-inhibit): Remove.
8153 (display-buffer-normalize-specifiers): Rewrite.
8154 (display-buffer): Process other-window specifier and call
8155 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8157 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8158 (display-buffer-alist-set): Don't handle 'unset default values.
8159 (display-buffer-in-window, display-buffer-alist-set):
8160 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8161 <tassilo@member.fsf.org>.
8163 2011-07-09 Leo Liu <sdl.web@gmail.com>
8165 * register.el (insert-register): Restore accidental change on
8166 2011-06-26. (Bug#9028)
8168 2011-07-09 Glenn Morris <rgm@gnu.org>
8170 * subr.el (remq): Handle the empty list. (Bug#9024)
8172 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8174 * mail/sendmail.el (send-mail-function): No longer delay custom
8176 * custom.el (custom-initialize-delay): Doc fix.
8178 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8180 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8182 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8184 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8185 human-friendly prompt.
8187 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8189 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8190 provided by a particular plugin.
8192 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8194 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8195 save customizations (with "emacs -Q"), just set the variable
8196 instead of erroring out.
8198 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8200 2011-07-08 Juri Linkov <juri@jurta.org>
8202 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8203 (archive-zip-update-case): Use 7z if found by `executable-find'.
8204 The order of searching the available programs is the same as in
8205 `archive-zip-extract' (bug#8968).
8207 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8209 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8210 (menu-bar-options-menu): Tweak descriptions.
8212 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8214 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8215 menu items into verb phrases (bug#1421). Also refill to fit under
8218 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8220 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8221 (Info-read-node-name): Doc fix (Bug#1084).
8223 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8224 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8225 (end-of-sexp, beginning-of-sexp)
8226 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8227 (forward-symbol, forward-same-syntax, word-at-point)
8228 (sentence-at-point): Doc fix (Bug#1144).
8230 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8232 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8233 should cover it (bug#1281).
8235 * cus-edit.el (custom-show): Mark as obsolete.
8237 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8238 negotiation fails, then possibly try again with a non-encrypted
8239 connection (bug#9017).
8241 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8244 2011-07-07 Richard Stallman <rms@gnu.org>
8246 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8247 property, and handle its changed format.
8248 Look for the correct line number.
8249 Use file's line contents (but not past first =) to find
8250 correct line in message.
8252 2011-07-07 Kenichi Handa <handa@m17n.org>
8254 * international/characters.el (build-unicode-category-table):
8256 (unicode-category-table): Set it by unicode-property-table-internal.
8258 * international/mule-cmds.el (char-code-property-alist): Move to
8260 (get-char-code-property): Call unicode-property-table-internal to
8261 load a file. Call get-unicode-property-internal where necessary.
8262 (put-char-code-property): Call unicode-property-table-internal to
8263 load a file. Call put-unicode-property-internal where necessary.
8264 put-unicode-property-internal where necessary.
8265 (char-code-property-description):
8266 Call unicode-property-table-internal to load a file.
8268 * international/charprop.el:
8269 * international/uni-bidi.el:
8270 * international/uni-category.el:
8271 * international/uni-combining.el:
8272 * international/uni-comment.el:
8273 * international/uni-decimal.el:
8274 * international/uni-decomposition.el:
8275 * international/uni-digit.el:
8276 * international/uni-lowercase.el:
8277 * international/uni-mirrored.el:
8278 * international/uni-name.el:
8279 * international/uni-numeric.el:
8280 * international/uni-old-name.el:
8281 * international/uni-titlecase.el:
8282 * international/uni-uppercase.el: Regenerate.
8284 * loadup.el: Load international/charprop.el before
8285 international/characters.
8287 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8289 * window.el (next-buffer, previous-buffer): Signal an error if
8290 called from a minibuffer window.
8292 * bindings.el: Revert 2011-07-04 change.
8294 2011-07-06 Richard Stallman <rms@gnu.org>
8296 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8297 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8298 Treat markers like ints.
8299 (rmail-mime-entity): Doc fix.
8301 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8303 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8304 defcustom again for backwards compatibility.
8306 * simple.el (shell-command-on-region): Fill.
8308 * dired-aux.el (dired-kill-line): Add a doc string.
8310 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8311 to "\\sw\\|\\s_" (bug#358).
8313 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8314 (dired-unmark-backward): Ditto.
8315 (dired-flag-backup-files): Ditto.
8317 * dired-x.el (dired-mark-sexp): Ditto.
8319 2011-07-06 Richard Stallman <rms@gnu.org>
8321 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8322 (rmail-mime-entity): New arg TRUNCATED.
8323 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8325 (rmail-mime-save): Warn if entity is truncated.
8326 (rmail-mime-toggle-hidden): Likewise, for showing.
8327 (rmail-mime-process-multipart): Record when an entity is truncated.
8329 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8330 if ENTITY is a string.
8332 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8334 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8335 of faces when `M-C-x'-ing their definitions (bug#8378).
8336 Also clean up the code slightly.
8338 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8339 because that makes the colors go away.
8341 * mail/sendmail.el (send-mail-function): Change the default to
8342 `sendmail-query-once'.
8343 (sendmail-query-once): Add an autoload cookie.
8345 * net/network-stream.el (network-stream-open-starttls): Try using
8346 a plain connection even if the server offered STARTTLS, and we
8347 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8348 capability. This should make smtpmail.el work in slightly more
8351 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8353 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8355 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8357 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8359 * progmodes/sql.el: Version 3.0
8360 (sql-product-alist): Add product :completion-object,
8361 :completion-column, and :statement attributes.
8362 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8363 (sql-mode-syntax-table): Mark all punctuation.
8364 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8366 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8367 (sql-mode-oracle-font-lock-keywords): Improve.
8368 (sql-oracle-show-reserved-words): New function for development.
8369 (sql-product-font-lock): Simplify for source code buffers.
8370 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8372 (sql-highlight-product): Set product specific syntax table.
8373 (sql-mode-map): Add statement movement functions.
8374 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8376 (sql-statement-regexp, sql-beginning-of-statement)
8377 (sql-end-of-statement, sql-signum): New functions.
8378 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8379 (sql-show-sqli-buffer): Bug fix.
8380 (sql-interactive-mode): Store connection data as buffer local.
8381 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8382 with sql-interactive-mode.
8383 (sql-save-connection): Save buffer local settings.
8384 (sql-connection-menu-filter): Change menu entry name.
8385 (sql-product-interactive): Bug fix.
8386 (sql-preoutput-hold): New variable.
8387 (sql-interactive-remove-continuation-prompt): Bug fixes.
8388 (sql-debug-redirect): New variable.
8389 (sql-str-literal): New function.
8390 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8392 (sql-oracle-save-settings, sql-oracle-restore-settings)
8393 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8394 (sql-completion-object, sql-completion-column)
8395 (sql-completion-sqlbuf): New variables.
8396 (sql-build-completions-1, sql-build-completions)
8397 (sql-try-completion): New functions.
8398 (sql-read-table-name): Use them.
8399 (sql-contains-names): New buffer local variable.
8400 (sql-list-all, sql-list-table): Use it.
8401 (sql-oracle-completion-types): New variable.
8402 (sql-oracle-completion-object, sql-sqlite-completion-object)
8403 (sql-postgres-completion-object): New functions.
8405 2011-07-06 Glenn Morris <rgm@gnu.org>
8407 * window.el (pop-to-buffer): Doc fix.
8409 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8411 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8413 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8415 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8417 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8419 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8421 * button.el (button): Inherit from link face. Suggested by Dan
8424 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8426 * progmodes/gdb-mi.el: Fit in 80 columns.
8427 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8430 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8431 if imenu is simply not configured (bug#8941).
8433 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8435 * allout.el (allout-post-undo-hook): New allout outline-change
8436 event hook to signal undo activity.
8437 (allout-post-command-business): Run allout-post-undo-hook if an
8439 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8440 * allout-widgets.el (allout-widgets-after-undo-function):
8441 Ensure the integrity of the current item's decoration after it has been
8442 in the vicinity of an undo.
8443 (allout-widgets-mode): Include allout-widgets-after-undo-function
8444 on the new allout-post-undo-hook.
8446 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8448 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8449 Let define-derived-mode define it.
8450 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8451 cycles of abbrev-table inheritance (bug#8998).
8453 2011-07-05 Roland Winkler <winkler@gnu.org>
8455 * textmodes/bibtex.el: Add support for biblatex.
8456 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8457 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8458 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8459 (bibtex-entry-alist, bibtex-field-alist): New variables.
8460 (bibtex-entry-field-alist): Obsolete alias for
8461 bibtex-BibTeX-entry-alist.
8462 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8463 (bibtex-set-dialect): New command.
8464 (bibtex-entry-type, bibtex-entry-head)
8465 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8466 Bind via bibtex-set-dialect.
8467 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8468 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8469 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8470 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8471 Define via bibtex-set-dialect.
8472 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8473 Obey bibtex-no-opt-remove-re.
8474 (bibtex-vec-push, bibtex-vec-incr): New functions.
8475 (bibtex-format-entry, bibtex-field-list)
8476 (bibtex-print-help-message, bibtex-validate)
8477 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8479 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8481 * progmodes/compile.el (compilation-goto-locus):
8482 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8483 * bs.el (bs-cycle-next, bs-cycle-previous):
8484 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8485 * bindings.el (mode-line-other-buffer):
8486 * autoinsert.el (auto-insert):
8487 * arc-mode.el (archive-extract):
8488 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8490 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8492 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8493 Fix check of `emacs-lock-unlockable-modes'.
8494 Coerce true values of `emacs-lock--try-unlocking' to t.
8496 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8498 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8499 * emacs-lock.el: New file.
8501 2011-07-05 Julien Danjou <julien@danjou.info>
8503 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8504 than `boundp' to check if face is set.
8506 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8508 * register.el (registerv-make):
8509 * window.el (window-min-height): Fix typos in docstrings.
8511 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8513 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8516 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8518 * server.el (server-execute): Catch quit and call
8519 `server-return-error' to pass the error back to emacsclient and
8520 close the connection (bug#8942).
8522 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8524 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8525 insecure exception for current topic. Also note that auto-saves
8526 are handled differently.
8528 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8529 State variables for tracking auto-save inhibition situation.
8531 (allout-write-contents-hook-handler): Rename from
8532 'allout-write-file-hook-handler', and describe how it depends on
8533 write-contents-functions sensitivity to non-nil value to prevent
8536 (allout-auto-save-hook-handler): Remove. auto-save does not check
8537 this in individual buffers, only in the starting buffer, so this
8538 is not the right way for us to inhibit auto-save in a buffer
8539 according to its condition.
8541 (allout-mode): Use new allout-write-contents-hook-handler, and
8542 only with write-contents-functions. Remove auto-save provisions -
8543 they're implemented elsewhere.
8545 (allout-before-change-handler): If undo is in progress, note that
8546 for attention of allout-post-command-business.
8548 (allout-post-command-business): If the command we're following was
8549 an undo, check for change in the status of encrypted items and
8550 adjust auto-save inhibitions accordingly.
8552 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8553 according to whether there are or aren't any plain-text topics
8556 (allout-inhibit-auto-save-info-for-decryption):
8557 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8558 if there are plain-text topics pending encryption.
8560 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8561 buffer-saved-size and some allout state to not inhibit auto-saves
8562 if there are no longer any plain-text topics pending encryption.
8564 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8565 No longer provide for exemption of the current topic.
8567 2011-07-04 Juri Linkov <juri@jurta.org>
8569 Add 7z operations to delete and save changed members (bug#8968).
8570 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8572 (archive-7z-write-file-member): New function.
8573 (archive-7z-summarize): Fix the number of dashes in the
8576 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8578 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8581 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8583 * bindings.el: Ignore next-buffer and previous-buffer in
8584 minibuffer-local-map.
8586 * font-lock.el (font-lock-builtin-face): Change light background
8587 color to dark slate blue (Bug#6693).
8589 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8591 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8593 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8595 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8596 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8597 Add switch-to-buffer.
8599 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8601 * isearch.el (isearch-search-fun-function): Clarify further the
8602 meaning of the function returned.
8604 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8606 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8608 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8609 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8611 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8612 `tramp-default-remote-path' does not exist.
8613 (tramp-send-command-and-read): New optional argument NOERROR.
8614 (tramp-open-connection-setup-interactive-shell)
8615 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8616 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8617 (tramp-process-sentinel): Flush also process' connection property.
8618 (tramp-sh-handle-start-file-process): Do not set process
8619 sentinel. It is done now ...
8620 (tramp-maybe-open-connection): ... here. (Bug#8929)
8622 2011-07-04 MON KEY <monkey@sandpframing.com>
8624 * play/animate.el (animate-string): Doc fixes and allow changing
8625 the buffer name (bug#5417).
8627 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8629 * play/animate.el (animation-buffer-name): Rename from *animate*.
8631 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8633 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8634 This is simpler and helps future-proof the code.
8635 (timer-until): Use time-subtract and float-time.
8636 (timer--time-less-p): Use time-less-p.
8638 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8640 * type-break.el (timep): Use the value of `float-time' to avoid a
8641 byte-compiler warning.
8643 * server.el (server-eval-and-print): Return any result, even nil.
8645 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8647 * type-break.el: Accept time formats that the builtins accept.
8648 (timep, type-break-time-difference): Accept any format that
8649 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8650 This is simpler and helps future-proof the code.
8651 (type-break-time-difference): Round rather than ignoring
8652 subseconds components.
8654 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8656 * info.el (Info-apropos-matches): Make non-interactive, since it
8657 doesn't seem to do anything useful as a command (bug#8829).
8659 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8661 * frame.el (frame-background-mode, frame-set-background-mode):
8663 (frame-default-terminal-background): New function.
8665 * custom.el (custom-push-theme): Don't record faces in `changed'
8666 theme; this doesn't work correctly for per-frame face settings.
8667 (disable-theme): Use face-set-after-frame-default to reset faces.
8668 (custom--frame-color-default): New function.
8670 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8672 * dired.el (dired-flagging-regexp): Remove unused variable
8675 2011-03-29 Kevin Ryde <user42@zip.com.au>
8677 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8678 `perl-Test2' extend to match possible "fail #N" rep count
8681 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8683 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8684 `smtpmail-via-smtp' now returns the error instead of nil.
8686 * isearch.el (isearch-search-fun-function): Clarify the doc string
8689 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8691 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8692 unnecessary spaces (bug#8987).
8694 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8696 * net/network-stream.el (open-network-stream): Use the
8697 :end-of-capability command thoughout.
8699 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8701 * net/network-stream.el (open-network-stream): Add the
8702 :end-of-capability command parameter, used by pop3.el.
8704 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8706 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8708 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8709 for list)" (bug#6475).
8711 * files.el (file-expand-wildcards): Ignore non-readable
8712 sub-directories while trying to find matches instead of signaling
8713 an error (bug#6297).
8715 * man.el (Man-reference-regexp): Allow matching possible
8716 word-wrapped references (bug#6289).
8718 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8719 for consistency with the other vc buffers (bug#6197).
8720 (vc-checkin): Ditto.
8722 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8724 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8726 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8728 * custom.el (defcustom): Clarify that :set is only used in the
8729 Customize user interface (bug#6089).
8731 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8732 associated with a file, refuse to run instead of erroring out
8735 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8736 the doc string, since it appears that using `fill-column' always
8737 controls the width (bug#7845).
8739 * simple.el (shell-command-on-region): Say where the error output
8740 went if `shell-command-default-error-buffer' is set (bug#6857).
8742 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8744 * allout.el (allout-yank-processing): Adjust cursor position for
8745 backwards-deleted space.
8747 (allout-rebullet-heading): Register changes with
8748 allout-exposure-changed-hook, so the modified topic is properly
8751 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8753 * minibuffer.el (completion-in-region): Document PREDICATE
8756 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8757 of keyword/argument pairs (bug#6904).
8759 * replace.el (multi-occur):
8760 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8762 2011-07-02 Drew Adams <drew.adams@oracle.com>
8764 * dired.el (dired-mark-if): Make the message about whether it's
8765 marking or unmarking clearer (bug#8523).
8767 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8769 * disp-table.el (display-table-print-array): New function.
8770 (describe-display-table): Use it to print the vectors more pretty
8773 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8775 * window.el (window-state-get-1): Don't assign clone numbers.
8776 Add clone-of item to list of window parameters.
8777 (window-state-put-2): Don't process clone numbers.
8778 (display-buffer-alist): Fix doc-string.
8780 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8782 * subr.el (remq): Don't allocate if it's not needed.
8783 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8784 (keymap--merge-bindings): New functions.
8785 (keymap-canonicalize): Use them to refine the canonicalization.
8786 * minibuffer.el (minibuffer-local-completion-map)
8787 (minibuffer-local-must-match-map): Move initialization from C.
8788 (minibuffer-local-filename-completion-map): Move initialization from C;
8789 don't inherit from anything here.
8790 (minibuffer-local-filename-must-match-map): Make obsolete.
8791 (completing-read-default): Use make-composed-keymap to combine
8792 minibuffer-local-filename-completion-map with either
8793 minibuffer-local-must-match-map or
8794 minibuffer-local-filename-completion-map.
8796 2011-07-01 Glenn Morris <rgm@gnu.org>
8798 * type-break.el (type-break-time-sum): Use dolist.
8800 * textmodes/flyspell.el (flyspell-word-search-backward):
8801 Replace CL function.
8803 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8805 * mouse.el (mouse--strip-first-event): New function.
8806 (function-key-map): Use it to map fringe clicks to normal clicks
8809 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8810 (vc-bzr-revision-completion-table): Add support for annotate and date.
8812 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8813 inherit from parent.
8815 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8817 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8818 (dired-show-file-type): Doc fixup (bug#8818).
8820 * dired.el (dired-mode): Fix up the doc string as suggested by
8821 Drew Adams (bug#8817).
8823 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8824 cookie, since the manual says that it should be possible to add
8825 this function to `find-file-hook' (bug#8709).
8827 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8829 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8830 here. Noted Ted Zlatanov as the maintainer.
8831 (cfengine-common-settings, cfengine-common-syntax): New functions
8832 to set up common things between `cfengine-mode' and
8834 (cfengine3-mode): New mode.
8835 (cfengine3-defuns cfengine3-defuns-regex
8836 (cfengine3-class-selector-regex cfengine3-category-regex)
8837 (cfengine3-vartypes cfengine3-font-lock-keywords)
8838 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8839 (cfengine3-indent-line): Add from cfengine3.el.
8841 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8843 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8845 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8847 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8849 * window.el (same-window-buffer-names, same-window-regexps)
8850 (same-window-p, special-display-frame-alist)
8851 (special-display-popup-frame, special-display-function)
8852 (special-display-buffer-names, special-display-regexps)
8853 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8854 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8855 (split-window-preferred-function, split-height-threshold)
8856 (split-width-threshold, even-window-heights)
8857 (display-buffer-mark-dedicated, window-splittable-p)
8858 (split-window-sensibly, window-safely-shrinkable-p):
8860 (display-buffer): Don't spread args with function specifier
8861 because special-display-popup-frame won't like it.
8863 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8865 Time-stamp simplifications and fixes.
8866 These improve accuracy slightly, and future-proof the code
8867 against some potential changes to current-time format.
8869 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8870 by using time-since and float-time.
8872 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8873 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8874 + NNN microseconds".
8876 * type-break.el (type-break-time-sum): Rewrite using time-add.
8878 * play/hanoi.el (hanoi-current-time-float): Remove.
8879 All uses replaced by float-time.
8881 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8882 This yields a more-accurate answer.
8883 (rng-time-to-float): Remove; no longer needed.
8885 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8887 * calendar/timeclock.el (timeclock-seconds-to-time):
8888 Defalias to seconds-to-time, since they're the same thing.
8890 * emacs-lisp/elp.el (elp-elapsed-time):
8891 * emacs-lisp/benchmark.el (benchmark-elapse):
8892 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8894 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8896 * window.el (bury-buffer): Don't iconify the only frame.
8897 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8898 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8900 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8902 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8903 Add mouse-yank-primary.
8905 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8907 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8909 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8911 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8912 (find-library-name): Use it to find relative load names when provided
8913 absolute file name (bug#8803).
8915 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8917 * textmodes/flyspell.el (flyspell-word): Consider words that
8918 differ only in case as potential doublons (bug#5687).
8920 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8921 Remove two rather uninteresting debugging-like messages to make
8922 debbugs.el more silent.
8924 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8925 a password-like phrase.
8927 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8929 * progmodes/cc-guess.el: New file.
8931 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8933 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8934 derived from `c-basic-common-init'.
8936 * progmodes/cc-mode.el (top-level): Require cc-guess.
8937 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8939 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8941 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8943 2011-06-30 Alan Mackenzie <acm@muc.de>
8945 * progmodes/cc-engine.el (c-guess-continued-construct):
8946 Correct the handling of template-args-cont, particularly for when font
8947 lock is disabled. Name this case as "CASE G".
8949 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8951 * allout.el (allout-yank-processing): Fix injection of extra space
8952 between bullet and non-whitespace character in first topic when
8953 pasting, ensuring that the actual spacing in the pasted topic
8954 following the bullet char is preserved. This extra space was
8955 causing pasted encrypted topics to get a decrypted status even
8956 when the content was actually still encrypted. Now the decryption
8957 status from before the paste is preserved.
8959 (allout-flag-region): Set all allout overlays so they evaporate
8960 when reduced to zero length (evanescent), to prevent overlay
8963 2011-06-30 Glenn Morris <rgm@gnu.org>
8965 * w32-fns.el (w32-charset-info-alist): Declare.
8967 * find-dired.el (find-grep-options): Simplify.
8969 * term/ns-win.el (ns-set-resource): Declare.
8971 * ses.el (row, col): Declare dynamic variables honestly.
8973 * textmodes/reftex-parse.el (index-tags): Declare.
8975 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8977 * cus-edit.el (customize-push-and-save): New function.
8979 * files.el (hack-local-variables-confirm): Use it.
8981 * custom.el (load-theme): New arg NO-CONFIRM.
8982 Use customize-push-and-save (Bug#8720).
8983 (custom-enabled-themes): Doc fix.
8985 * cus-theme.el (customize-create-theme)
8986 (custom-theme-merge-theme): Callers to load-theme changed.
8988 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8990 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8991 short URLs have at least one dot in them (bug #7614).
8993 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8994 nil, because using a pty is apparently too slow (bug #895).
8996 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8998 * mail/sendmail.el (sendmail-query-once): New function.
8999 (sendmail-query-once-function): New variable.
9001 2011-06-29 Glenn Morris <rgm@gnu.org>
9003 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9005 * ses.el (top-level): Require cl when compiling.
9006 (ses-set-localvars): Fix error statement.
9007 Call it at compile time to silence a storm of warnings.
9009 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9011 * window.el (normalize-live-buffer): Rename to
9012 window-normalize-buffer.
9013 (normalize-live-frame): Rename to window-normalize-frame.
9014 (normalize-any-window): Rename to window-normalize-any-window.
9015 (normalize-live-window): Rename to window-normalize-live-window.
9016 (make-window-atom): Rename to window-make-atom.
9017 (window-resize-reset): Rename to window--resize-reset.
9018 (window-resize-reset-1): Rename to window--resize-reset-1.
9019 (resize-mini-window): Rename to window--resize-mini-window.
9020 (resize-subwindows-skip-p): Rename to
9021 window--resize-subwindows-skip-p.
9022 (resize-subwindows-normal): Rename to
9023 window--resize-subwindows-normal.
9024 (resize-subwindows): Rename to window--resize-subwindows.
9025 (resize-other-windows): Rename to window--resize-siblings.
9026 (resize-this-window): Rename to window--resize-this-window.
9027 (resize-root-window): Rename to window--resize-root-window.
9028 (resize-root-window-vertically): Rename to
9029 window--resize-root-window-vertically.
9030 (normalize-buffer-to-display): Rename to
9031 window-normalize-buffer-to-display.
9032 (normalize-buffer-to-switch-to): Rename to
9033 window-normalize-buffer-to-switch-to.
9034 Correspondingly update all callers of the functions listed
9036 (display-buffer-alist, display-buffer-normalize-arguments)
9037 (display-buffer-normalize-options, display-buffer)
9038 (display-buffer-alist-set): Use "function" instead of
9041 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9043 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9044 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9045 debbugs.gnu.org. Mention acknowledgment email.
9047 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9049 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9050 buffer multibyteness, since it shouldn't matter.
9052 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9054 * window.el (display-buffer-in-side-window): Handle dedicated
9055 windows as in display-buffer-reuse-window.
9056 (display-buffer-normalize-alist): Use value of override
9058 (display-buffer-normalize-specifiers): Use value of
9059 other-window-means-other-frame specifier.
9060 (display-buffer-alist): Rewrite some texts in widgets.
9061 (display-buffer): Spread arguments when calling function
9062 specified by fun-with-args.
9064 2011-06-28 Deniz Dogan <deniz@dogan.se>
9066 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9069 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9070 selectors (Bug#5732).
9071 (css-proprietary-nmstart-re): Use `regexp-opt'.
9073 2011-06-27 Jari Aalto <jari.aalto@cante.net>
9075 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9076 (eshell-ls-date-format): New defcustom.
9077 (eshell-ls-file): Use it.
9079 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9081 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9083 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9085 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9086 (ange-ftp-make-tmp-name): New arg.
9087 (ange-ftp-file-local-copy): Use it.
9089 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9091 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9092 no-conversion (Bug#8870).
9094 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9096 * window.el (window-right, window-left, window-child)
9097 (window-child-count, window-last-child)
9098 (window-iso-combination-p, walk-window-tree-1)
9099 (window-atom-check-1, window-tree-1, delete-window)
9100 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9101 new naming conventions - window-vchild, window-hchild,
9102 window-next and window-prev are now called window-top-child,
9103 window-left-child, window-next-sibling and window-prev-sibling
9105 (resize-window-reset): Rename to window-resize-reset.
9106 (resize-window-reset-1): Rename to window-resize-reset-1.
9107 (resize-window): Rename to window-resize.
9108 (window-min-height, window-min-width)
9109 (resize-mini-window, resize-this-window, resize-root-window)
9110 (resize-root-window-vertically, adjust-window-trailing-edge)
9111 (enlarge-window, shrink-window, maximize-window)
9112 (minimize-window, delete-window, quit-restore-window)
9113 (split-window, balance-windows, balance-windows-area-adjust)
9114 (balance-windows-area, window-state-put-2)
9115 (display-buffer-even-window-sizes, display-buffer-set-height)
9116 (display-buffer-set-width, set-window-text-height)
9117 (fit-window-to-buffer): Rename all "resize-window" prefixed
9118 calls to use the "window-resize" prefix convention.
9119 (display-buffer-alist): Fix symbol for label specifier.
9120 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9121 corresponding specifier.
9122 Reported by Juanma Barranquero <lekktu@gmail.com>.
9124 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9126 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9128 (ses-call-printer): Does not pass an empty string to formatter when the
9129 cell is empty to keep from barking printer Calc math-format-value.
9131 2011-06-27 Richard Stallman <rms@gnu.org>
9133 * battery.el (battery-mode-line-limit): New variable.
9134 (battery-update): Handle it.
9136 * mail/rmailmm.el (rmail-mime-process-multipart):
9137 Handle truncated messages.
9139 2011-06-27 Glenn Morris <rgm@gnu.org>
9141 * progmodes/flymake.el (flymake-err-line-patterns):
9142 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9144 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9146 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9147 (ses--clean-!, ses--clean-_): New functions.
9148 (ses-range): Add configurability of readout order, and conversion
9151 * ses.el (ses-repair-cell-reference-all): New function.
9152 (ses-cell-symbol): Set macro as safe, so that it can be used in
9155 * ses.el: Update cycle detection algorithm.
9156 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9157 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9158 (ses-set-localvars): New function.
9159 (ses-make-cell): Add property-list as a cell element.
9160 (ses-cell-property-get-fun, ses-cell-property-get)
9161 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9162 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9164 (ses-cell-property-set, ses-cell-property-pop)
9165 (ses-cell-property-get-handle): New macro.
9166 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9167 New aliases, used for code readability.
9168 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9170 (ses-self-reference-early-detection): New defcustom.
9171 (ses-formula-references): Robustify against self-referring cells.
9172 (ses-mode): Use ses-set-localvars.
9173 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9174 before lauching the update processing.
9175 (ses-initialize-Dijkstra-attempt): New function.
9176 (ses-recalculate-cell): Update for cycle detection based on
9179 * ses.el: Fix commenting and indenting convention.
9181 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9183 * bs.el (bs-cycle-next): Complete last change.
9185 2011-06-27 Drew Adams <drew.adams@oracle.com>
9187 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9189 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9191 * net/network-stream.el (network-stream-open-starttls):
9192 Don't re-get capabilities unless we've reestablished connection.
9193 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9195 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9196 to binary to possibly avoid line encoding issues on Windows (among
9199 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9201 * net/network-stream.el (open-network-stream): Return an :error
9202 saying what the problem was, if possible.
9204 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9207 * net/network-stream.el (network-stream-open-starttls): If we
9208 wanted to use STARTTLS, and the server offered it, but we weren't
9209 able to because we had no STARTTLS support, then close the connection.
9210 (open-network-stream): Return an :error element, if present.
9212 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9214 * hl-line.el (hl-line-sticky-flag): Doc fix.
9215 (global-hl-line-sticky-flag): New option (Bug#8323).
9216 (global-hl-line-highlight): Obey it.
9218 * vc/vc.el (vc-revert-show-diff): Default to t.
9220 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9222 * allout-widgets.el (allout-widgets-post-command-business):
9223 Stop decorating intermediate isearch matches. They're not being
9224 undecorated when an isearch is continued past, and isearch
9225 automatically collapses them. This leads to "widget leaks", where
9226 decorated items accumulate in collapsed areas. Lines with lots of
9227 hidden widgets can slow down cursor travel, substantially.
9228 Too much complicated machinery would be needed to ensure undecoration,
9229 so we're doing without this nicety.
9231 (allout-widgets-tally-string): Don't try to do a hash-table-count
9232 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9233 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9234 *Messages* when allout-widgets-maintain-tally is t.
9236 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9238 * window.el (display-buffer-normalize-argument): Rename to
9239 display-buffer-normalize-arguments. Handle special meaning of
9240 LABEL argument. Respect special-display-function when popping up
9241 a new frame. Fix code searching for a window showing the buffer
9243 (display-buffer-normalize-specifiers):
9244 Call display-buffer-normalize-arguments.
9245 (display-buffer-in-window): Don't undedicate the window if its
9246 buffer remains the same.
9247 Reported by Drew Adams <drew.adams@oracle.com>.
9248 (display-buffer-alist): Add choice for same-window macro
9250 (display-buffer): Mention special meaning of LABEL argument in
9251 doc-string. Fix quoting. Don't pop up a new frame even as
9254 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9256 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9257 avoid deleting the current window in some cases (bug#8911).
9259 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9261 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9264 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9266 * net/network-stream.el (network-stream-open-starttls):
9267 Use built-in TLS support if `gnutls-available-p' is true.
9268 (network-stream-open-tls): Ditto.
9270 2011-06-26 Leo Liu <sdl.web@gmail.com>
9272 * register.el (registerv): New struct.
9273 (registerv-make): New function.
9274 (jump-to-register, describe-register-1, insert-register):
9275 Support the jump-func, print-func and insert-func slot of a registerv
9278 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9280 * vc/vc.el (vc-revert-show-diff): New defcustom.
9281 (vc-diff-internal): New arg specifying diff buffer.
9282 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9283 reuse an existing *vc-diff* buffer (Bug#8927).
9285 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9287 2011-06-26 Glenn Morris <rgm@gnu.org>
9289 * progmodes/f90.el (f90-critical-indent): New option.
9290 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9291 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9292 (f90-mode): Doc fix.
9293 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9294 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9295 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9296 (f90-match-end): Handle block, critical.
9298 2011-06-25 Glenn Morris <rgm@gnu.org>
9300 * calendar/diary-lib.el (diary-included-files): Doc fix.
9301 (diary-include-files): New function, extracted from
9302 diary-include-other-diary-files and diary-mark-included-diary-files.
9303 (diary-include-other-diary-files, diary-mark-included-diary-files):
9304 Just call diary-include-files.
9305 (diary-mark-entries): Reset diary-included-files on first call.
9307 * calendar/diary-lib.el (diary-mark-entries)
9308 (diary-mark-included-diary-files):
9309 Visit included diary-files in temp buffers.
9311 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9312 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9313 (f90-start-block-re, f90-imenu-generic-expression)
9314 (f90-looking-at-program-block-start, f90-no-block-limit):
9315 Add support for submodules.
9317 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9318 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9320 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9322 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9323 buffer-file-type before setting its value, to avoid disastrous
9324 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9326 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9328 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9330 * ses.el (ses-unload-function):
9331 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9333 * proced.el (proced-unload-function):
9334 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9336 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9338 * server.el (server-create-window-system-frame): Add parameters arg.
9339 (server-process-filter): Doc fix. Handle frame-parameters.
9341 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9343 Fix bug#8730, bug#8781.
9345 * loadhist.el (unload--set-major-mode): New function.
9346 (unload-feature): Use it.
9348 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9349 (python-unload-function): New function.
9351 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9353 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9355 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9357 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9358 the candidates list.
9360 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9362 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9364 2011-06-23 Richard Stallman <rms@gnu.org>
9366 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9367 (rmail-variables): Set next-error-move-function.
9368 (rmail-what-message): Take argument POS.
9369 (rmail-next-error-move): New function.
9371 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9373 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9374 messages for adjacent non-terminals.
9376 2011-06-23 Richard Stallman <rms@gnu.org>
9378 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9379 (rmail-show-message-1): Preserve buffer modified flag.
9380 (rmail-start-mail): Don't specify use of rmail-mail-return;
9381 that's done by mail-bury now.
9382 (rmail-mail-return): Handle arg NEWBUF.
9384 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9386 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9389 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9391 * window.el (get-lru-window, get-mru-window)
9392 (get-largest-window): Never return a minibuffer window.
9393 (display-buffer-pop-up-window): Fix a bug that could lead to
9394 reusing the minibuffer window.
9395 (display-buffer): Pass original specifier argument to
9396 display-buffer-function instead of the normalized one.
9397 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9399 2011-06-22 Leo Liu <sdl.web@gmail.com>
9401 * minibuffer.el (completing-read-function)
9402 (completing-read-default): Move from minibuf.c
9404 2011-06-22 Richard Stallman <rms@gnu.org>
9406 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9407 to Rmail even if not started by a special Rmail command.
9409 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9410 Copy the buffer currently showing just one message.
9412 2011-06-22 Roland Winkler <winkler@gnu.org>
9414 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9415 (bibtex-clean-entry): First delete the old key so that a
9416 customized algorithm for generating the new key does not get
9417 confused by the old key.
9418 (bibtex-url): Obey regexp of first step.
9419 (bibtex-search-entries): Do not use add-to-list with local
9422 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9424 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9425 stored a user name, then query for the password first, instead of
9426 waiting for SMTP to give an error message and the trying again.
9428 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9430 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9431 BUFFER in call-process.
9433 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9435 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9437 (smtpmail-try-auth-methods): Require user name and password from
9440 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9442 * window.el (display-buffer-default-specifiers)
9443 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9444 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9445 (split-window): Normalize SIDE argument (Bug#8916).
9447 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9448 (special-display-frame-alist, special-display-popup-frame):
9449 Remove duplicate declarations. These are now in window.el.
9451 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9453 * mail/smtpmail.el (smtpmail-via-smtp):
9454 Set :use-starttls-if-possible so that we always use STARTTLS if the
9455 server supports it. SMTP servers that support STARTTLS commonly
9458 * net/network-stream.el (network-stream-open-starttls): Support
9459 upgrading to STARTTLS always, even if we don't have built-in support.
9460 (open-network-stream): Add the :always-query-capabilities keyword.
9462 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9463 upgrades with `open-network-stream', and rely solely on
9464 auth-source for all credentials. Big changes throughout the file,
9466 (smtpmail-auth-credentials): Remove.
9467 (smtpmail-starttls-credentials): Remove.
9468 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9471 * net/network-stream.el (network-stream-open-starttls):
9472 Provide support for client certificates both for external and built-in
9474 (auth-source): Require.
9475 (open-network-stream): Document the :client-certificate keyword.
9476 (network-stream-certificate): Change cert-cert to cert and
9479 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9481 * net/tramp-cache.el (top): Don't load the persistency file when
9482 "emacs -Q" has been called.
9484 2011-06-21 Tim Harper <timcharper@gmail.com>
9486 * term/ns-win.el (ns-initialize-window-system):
9487 Set application-specific `ApplePressAndHoldEnabled' system
9488 resource to NO as it is not yet supported by the NS port.
9490 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9492 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9493 (list-dynamic-libraries): ...not here.
9495 2011-06-21 Leo Liu <sdl.web@gmail.com>
9497 * subr.el (sha1): Implement sha1 using secure-hash.
9499 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9501 * window.el (display-buffer-alist): In default value do not
9502 enforce searching a window on any but the selected frame.
9503 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9504 (display-buffer-select-window): Remove function.
9505 (display-buffer-in-window): When a window on another frame gets
9506 reused, do not select it any more but just raise its frame if
9507 necessary (Bug#8851) and (Bug#8856).
9508 (display-buffer-normalize-options): Handle pop-up-frames related
9509 options more faithfully.
9510 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9511 window if it is on another frame.
9512 (display-buffer-alist, display-buffer-default-specifiers):
9513 Don't make new frame unsplittable by default.
9514 (display-buffer-normalize-argument): Fix doc-string typo and use
9515 'same-frame-other-window instead of 'other-window when associating
9516 with display-buffer-macro-specifiers.
9518 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9520 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9522 (5x5-mode-map, 5x5-mode-menu): Bind them.
9523 (5x5-draw-grid): Tweak the solver's rendering.
9525 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9527 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9528 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9530 2011-06-21 Drew Adams <drew.adams@oracle.com>
9532 * menu-bar.el: Use function variable instead of switch-to-buffer.
9533 (menu-bar-select-buffer-function): New variable.
9534 (menu-bar-update-buffers): Use it (bug#8876).
9536 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9538 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9541 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9543 * x-dnd.el (x-dnd-version-from-flags)
9544 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9545 and long as number (Bug#8899).
9546 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9548 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9550 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9551 (completion-try-completion, completion-all-completions): Compute the
9552 metadata argument if it's missing; make it optional (bug#8795).
9554 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9555 (widget-complete): Use new :completion-function property.
9556 (widget-completions-at-point): New function.
9557 (default): Use :completion-function instead of :complete.
9558 (widget-default-completions): Rename from widget-default-complete;
9560 (widget-string-complete, widget-file-complete, widget-color-complete):
9562 (file, symbol, function, variable, coding-system, color):
9563 * international/mule-cmds.el (default-input-method, charset)
9564 (language-info-custom-alist):
9565 * cus-edit.el (face): Use new property :completions.
9567 * progmodes/pascal.el (pascal-completions-at-point): New function.
9568 (pascal-mode): Use it.
9569 (pascal-mode-map): Use completion-at-point.
9570 (pascal-toggle-completions): Make obsolete.
9571 (pascal-complete-word, pascal-show-completions):
9572 * progmodes/octave-mod.el (octave-complete-symbol):
9573 Redefine as obsolete alias.
9574 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9575 Signal absence of completion info for old Octave,
9576 (inferior-octave-complete): Redefine as obsolete alias.
9577 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9578 (meta-completions-at-point): Rename from meta-complete-symbol and
9579 adapt it for use on completion-at-point-functions.
9580 (meta-common-mode): Use it.
9581 (meta-looking-at-backward, meta-match-buffer): Remove.
9582 (meta-complete-symbol): Redefine as obsolete alias.
9583 (meta-common-mode-map): Use completion-at-point.
9584 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9585 (makefile-mode-map): Use completion-at-point.
9586 (makefile-completions-at-point): Rename from makefile-complete and
9587 adapt it for use on completion-at-point-functions.
9588 (makefile-mode): Use it.
9589 (makefile-complete): Redefine as obsolete alias.
9591 2011-06-20 Deniz Dogan <deniz@dogan.se>
9593 * net/rcirc.el: Delete trailing whitespaces once and for all.
9595 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9597 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9599 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9601 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9603 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9605 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9607 * window.el (display-buffer-other-window-means-other-frame):
9608 Call display-buffer-normalize-alist.
9609 (display-buffer-normalize-specifiers-1): Rename to
9610 display-buffer-normalize-argument. New argument other-frame.
9612 (display-buffer-normalize-specifiers-2): Rename to
9613 display-buffer-normalize-options.
9614 (display-buffer-normalize-alist-1): New function.
9615 (display-buffer-normalize-specifiers-3): Rename to
9616 display-buffer-normalize-alist.
9617 Call display-buffer-normalize-alist-1.
9618 (display-buffer-normalize-options-inhibit): New variable.
9619 (display-buffer-normalize-specifiers): Rewrite calling
9620 display-buffer-normalize-alist,
9621 display-buffer-normalize-argument, and
9622 display-buffer-normalize-options. Don't call the latter if
9623 display-buffer-normalize-options-inhibit is non-nil.
9624 (frame-auto-delete): New option.
9625 (window-deletable-p): Use frame-auto-delete.
9626 (window-list-no-nils, window-state-ignored-parameters)
9627 (window-state-get-1, window-state-get, window-state-put-list)
9628 (window-state-put-1, window-state-put-2, window-state-put):
9630 (display-buffer-normalize-options): Move special-display-p group
9631 after pop-up-frame group (Bug#8851) and (Bug#8856).
9633 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9635 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9637 (rx-submatch-n): New function.
9640 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9643 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9645 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9647 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9648 anytime existing face settings are present (Bug#8889).
9650 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9651 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9652 Remove unused argument.
9654 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9656 * window.el (display-buffer-default-specifiers):
9657 Remove pop-up-frame. Add pop-up-window-min-height,
9658 pop-up-window-min-width, and another reuse-window specifier
9659 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9660 (display-buffer-normalize-specifiers-2):
9661 Handle split-height-threshold and split-width-threshold also when
9662 pop-up-windows is unset. Add a reuse-window specifier for the
9663 case popping up a new window fails.
9664 (special-display-popup-frame): Remove double quoting.
9665 (display-buffer-normalize-specifiers-1): Fix thinko.
9667 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9669 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9670 according to comint-completion-addsuffix.
9672 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9673 (pcomplete-suffix-list): Mark as obsolete.
9674 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9675 pcomplete-seen in the closure.
9676 (pcomplete-comint-setup): Setup completion-at-point as well.
9677 (pcomplete--entries): New function.
9678 (pcomplete--env-regexp): New var.
9679 (pcomplete-entries): Rewrite to work with partial-completion and
9680 without relying on pcomplete-suffix-list.
9681 (pcomplete-pare-list): Remove, unused.
9683 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9685 * window.el (display-buffer-alist): Set pop-up-window-min-height
9686 and pop-up-window-min-width in default value. Reported by
9687 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9688 other-window-means-other-frame.
9689 (display-buffer-macro-specifiers): Comment out entry for
9690 other-window specifier.
9691 (display-buffer-other-window-means-other-frame): New function.
9692 (display-buffer-normalize-specifiers-1): New arguments
9693 buffer-name and label. Treat other-window case specially.
9694 (display-buffer-normalize-specifiers-2): Treat other-window case
9696 (display-buffer-normalize-specifiers-3): New function.
9697 (display-buffer-normalize-specifiers):
9698 Call display-buffer-normalize-specifiers-3.
9700 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9702 * window.el (same-window-p): Fix two typos introduced when
9703 adding with-no-warnings.
9704 (display-buffer-normalize-specifiers-1): Don't check
9705 pop-up-frames for 'unset initialization.
9706 (display-buffer-normalize-specifiers-2): Major rewrite using
9707 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9708 (pop-up-frames, display-buffer-reuse-frames)
9709 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9710 Suggested by David Engster <deng@randomsample.de>.
9711 (even-window-heights): Initialize to 'unset.
9712 (display-buffer-alist-set): Handle new 'unset initializations.
9713 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9716 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9718 * window.el (display-buffer-normalize-specifiers-1):
9719 Respect current value of pop-up-frames for most reasonable values of
9720 second argument of display-buffer (Bug#8865).
9721 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9722 (switch-to-buffer-other-window-same-frame)
9723 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9725 (display-buffer): Don't check noninteractive when calling
9726 display-buffer-pop-up-frame.
9727 (display-buffer-pop-up-frame): Never pop up a frame in
9728 noninteractive mode (Bug#8857).
9729 (enlarge-window, shrink-window): Don't report an error when the
9730 window can't be resized as requested (Bug#8862).
9732 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9734 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9736 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9738 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9740 2011-06-15 Alan Mackenzie <acm@muc.de>
9742 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9743 for declarators, disable knr checking to speed up for normal files.
9744 2: Refactor, replacing a sequence of nested if forms by a cond form.
9746 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9748 * net/network-stream.el (open-network-stream): Add the keyword
9749 :always-query-capabilities for the case where you want to force a
9750 `plain' network connection, but the protocol still requires the
9751 capabilitiy command (i.e., SMTP and EHLO).
9753 * subr.el (process-live-p): Rename from `process-alive-p' for
9754 consistency with other `-live-p' functions.
9756 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9758 * window.el (same-window-buffer-names, same-window-regexps)
9759 (special-display-frame-alist, special-display-popup-frame)
9760 (special-display-function, special-display-buffer-names)
9761 (special-display-regexps, pop-up-frame-alist)
9762 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9763 (pop-up-windows, split-window-preferred-function)
9764 (split-height-threshold, split-width-threshold, even-window-heights)
9765 (display-buffer-mark-dedicated): Don't encourage the use of
9766 display-buffer-alist from Elisp code.
9768 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9770 * progmodes/python.el (python-mode): Derive from prog-mode.
9771 * progmodes/ps-mode.el (ps-mode):
9772 * progmodes/mixal-mode.el (mixal-mode):
9773 * progmodes/cfengine.el (cfengine-mode):
9774 * progmodes/ld-script.el (ld-script-mode): Likewise.
9776 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9778 * window.el (display-buffer-alist): Trim default value to avoid
9779 popping up a new frame (Bug#8857) or reusing an arbitrary window
9781 (display-buffer): Do not fall back on popping up a new frame in
9782 batch mode (Bug#8857).
9784 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9786 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9787 (custom-theme-summary): New function.
9788 (customize-themes): Use it.
9790 2011-06-13 Glenn Morris <rgm@gnu.org>
9792 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9794 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9796 * help.el (help-window): Remove variable.
9797 (help-window-point-marker, temp-buffer-max-height)
9798 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9799 (help-print-return-message): Don't set help-window.
9800 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9801 (help-window-setup-finish): Remove.
9802 (help-window-display-message, help-window-setup)
9803 (with-help-window): Major rewrite based on new
9804 display-buffer-window variable.
9806 * help-mode.el (help-mode-finish): Remove help-window related
9809 * view.el (view-exits-all-viewing-windows): Remove reference to
9810 view-return-to-alist in doc-string.
9811 (view-return-to-alist): Make obsolete.
9812 (view-buffer): Call pop-to-buffer-same-window and remove
9814 (view-buffer-other-window): Call pop-to-buffer-other-window and
9815 simplify code. Ignore second argument.
9816 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9817 simplify code. Ignore second argument.
9818 (view-return-to-alist-update): Make obsolete.
9819 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9820 Rewrite using quit-restore window parameters.
9821 (view-mode-exit): Rename second argument to EXIT-ONLY.
9822 Rewrite using quit-restore-window.
9823 (View-exit, View-exit-and-edit, View-leave, View-quit)
9824 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9825 appropriate arguments.
9826 (view-end-message): Use quit-restore window parameter.
9828 * window.el (display-buffer-function): Rewrite doc-string.
9829 (display-buffer-window, display-buffer-alist): New variables.
9830 (display-buffer-split-specifiers)
9831 (display-buffer-side-specifiers)
9832 (display-buffer-macro-specifiers): New constants.
9833 (display-buffer-even-window-sizes, display-buffer-set-height)
9834 (display-buffer-set-width, display-buffer-select-window)
9835 (display-buffer-in-window, display-buffer-reuse-window)
9836 (display-buffer-split-window-1, display-buffer-split-window)
9837 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9838 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9839 (display-buffer-in-side-window, normalize-buffer-to-display)
9840 (display-buffer-normalize-specifiers-1)
9841 (display-buffer-normalize-specifiers-2)
9842 (display-buffer-normalize-specifiers, display-buffer-frame):
9844 (display-buffer): Major rewrite.
9845 (display-buffer-other-window, display-buffer-other-frame)
9846 (pop-to-buffer, switch-to-buffer-other-window)
9847 (switch-to-buffer-other-frame): Rewrite.
9848 (display-buffer-same-window, display-buffer-same-frame)
9849 (display-buffer-same-frame-other-window)
9850 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9851 (pop-to-buffer-other-window)
9852 (pop-to-buffer-same-frame-other-window)
9853 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9854 (switch-to-buffer-other-window-same-frame): New functions.
9855 (same-window-p, special-display-p): Rewrite disabling warnings.
9857 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9858 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9860 (same-window-buffer-names, same-window-regexps)
9861 (special-display-frame-alist, special-display-popup-frame)
9862 (special-display-function, special-display-buffer-names)
9863 (special-display-regexps, pop-up-frame-alist)
9864 (pop-up-frame-function, split-window-preferred-function)
9865 (split-height-threshold, split-width-threshold)
9866 (even-window-heights): Make obsolete.
9868 2011-06-12 Glenn Morris <rgm@gnu.org>
9870 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9871 Misc simplifications.
9873 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9875 * window.el (window-safely-shrinkable-p): Restore function which
9876 was inadvertently removed in change from 2011-06-11. Declare as
9879 * calendar/calendar.el (calendar-generate-window):
9880 Use window-iso-combined-p instead of combination of one-window-p and
9881 window-safely-shrinkable-p.
9883 2011-06-12 Glenn Morris <rgm@gnu.org>
9885 * progmodes/fortran.el (fortran-mode-syntax-table):
9886 * progmodes/f90.el (f90-mode-syntax-table):
9887 Set % to punctuation. (Bug#8820)
9888 (f90-find-tag-default): Remove, no longer needed.
9890 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9892 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9894 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9896 * image.el (image-animated-p): Return animation delay in seconds.
9897 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9898 (image-animate-timeout): Remove DELAY argument. Don't assume
9899 every subimage has the same delay; get it from image-animated-p.
9900 (image-animate): Caller changed.
9902 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9904 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9905 to ignored backtrace functions.
9907 2011-06-11 Glenn Morris <rgm@gnu.org>
9909 * calendar/appt.el (appt-disp-window-function): Doc fix.
9910 (appt-check): Handle overlapping appointments. (Bug#8337)
9912 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9914 * window.el (window-tree-1, window-tree): New functions, moving
9915 the latter to window.el.
9916 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9917 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9918 (bw-refresh-edges): Remove.
9919 (balance-windows-1, balance-windows-2): New functions.
9920 (balance-windows): Rewrite in terms of window tree functions,
9921 balance-windows-1 and balance-windows-2.
9922 (bw-adjust-window): Remove.
9923 (balance-windows-area-adjust): New function with functionality of
9924 bw-adjust-window but using resize-window.
9925 (set-window-text-height): Rewrite doc-string.
9926 Use normalize-live-window and resize-window.
9927 (enlarge-window-horizontally, shrink-window-horizontally):
9928 Rename argument to DELTA.
9929 (window-buffer-height): New function.
9930 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9931 Rewrite using new window resize routines.
9932 (kill-buffer-and-window, mouse-autoselect-window-select):
9933 Use ignore-errors instead of condition-case.
9934 (quit-window): Call delete-frame instead of delete-windows-on
9935 for the only buffer on frame.
9937 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9939 * loadup.el (top-level): Load window before files for the sake
9940 of replace-buffer-in-windows.
9942 * files.el (read-buffer-to-switch)
9943 (switch-to-buffer-other-window)
9944 (switch-to-buffer-other-frame, display-buffer-other-frame):
9947 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9948 (previous-buffer): Move to window.el.
9950 * bindings.el (unbury-buffer): Move to window.el.
9952 * window.el (delete-other-windows-vertically): Move after
9953 definition of delete-other-windows.
9954 (other-window, delete-windows-on, replace-buffer-in-windows):
9955 Move here from window.c.
9956 (record-window-buffer, unrecord-window-buffer)
9957 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9958 (switch-to-next-buffer): New functions.
9959 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9960 from simple.el. Call switch-to-next-buffer.
9961 (previous-buffer): Move here from simple.el.
9962 Call switch-to-prev-buffer.
9963 (bury-buffer): Move here from buffer.c. Switch to previous
9964 buffer when window cannot be deleted.
9965 (unbury-buffer): Move here from bindings.el.
9966 (ctl-x-map): Move binding for other-window from window.c to
9968 (read-buffer-to-switch, switch-to-buffer-other-window)
9969 (switch-to-buffer-other-frame): Move here from files.el.
9970 (normalize-buffer-to-switch-to): New functions.
9971 (switch-to-buffer): Move here from buffer.c.
9972 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9974 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9976 * window.el (window-min-height, window-min-width): Move here
9977 from window.c. Add defcustoms and rewrite doc-strings.
9978 (resize-mini-window, resize-window): New functions.
9979 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9980 Move here from window.c.
9981 (maximize-window, minimize-window): New functions.
9982 (delete-window, delete-other-windows, split-window): Move here
9984 (window-split-min-size): New function.
9985 (split-window-keep-point): Mention split-window-above-each-other
9986 instead of split-window-vertically.
9987 (split-window-above-each-other, split-window-vertically):
9988 Rename split-window-vertically to split-window-above-each-other
9989 and provide defalias for old definition.
9990 (split-window-side-by-side, split-window-horizontally):
9991 Rename split-window-horizontally to split-window-side-by-side
9992 and provide defalias for the old definition.
9993 (ctl-x-map): Move bindings for delete-window,
9994 delete-other-windows and enlarge-window here from window.c.
9995 Replace bindings for split-window-vertically and
9996 split-window-horizontally by bindings for
9997 split-window-above-each-other and split-window-side-by-side.
9999 * cus-start.el (all): Remove entries for window-min-height and
10000 window-min-width. Add entries for window-splits and
10003 2011-06-09 Glenn Morris <rgm@gnu.org>
10005 * calendar/appt.el (appt-mode-line): New function.
10006 (appt-check, appt-disp-window): Use it.
10008 * files.el (hack-one-local-variable-eval-safep):
10009 Allow minor-modes with explicit +/-1 arguments.
10011 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10013 * term/xterm.el (xterm): Add defgroup.
10014 (xterm-extra-capabilities): Add defcustom to supply known xterm
10015 capabilities, skip querying them, or query them (default).
10016 (terminal-init-xterm): Use it.
10017 (terminal-init-xterm-modify-other-keys): New function to set up
10018 modifyOtherKeys support to simplify `terminal-init-xterm'.
10020 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10022 * window.el (resize-window-reset, resize-window-reset-1)
10023 (resize-subwindows-skip-p, resize-subwindows-normal)
10024 (resize-subwindows, resize-other-windows, resize-this-window)
10025 (resize-root-window, resize-root-window-vertically)
10026 (window-deletable-p, window-or-subwindow-p)
10027 (frame-root-window-p): New functions.
10029 2011-06-09 Glenn Morris <rgm@gnu.org>
10031 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10032 (ange-ftp-get-files): Use it.
10034 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10036 * mail/sendmail.el (mail-recover-1, mail-recover):
10037 * files.el (recover-file, recover-session):
10038 Handle dired-listing-switches not being just a single short option.
10040 2011-06-09 Glenn Morris <rgm@gnu.org>
10042 * calendar/appt.el (appt-display-message, appt-disp-window):
10043 Handle lists of appointments.
10045 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10047 * window.el (one-window-p): Move down in code.
10048 Rewrite doc-string.
10049 (window-current-scroll-bars): Rewrite doc-string.
10050 Normalize live window argument.
10051 (walk-windows, get-window-with-predicate, count-windows):
10052 Rewrite doc-string. Use window-list-1.
10053 (window-in-direction-2, window-in-direction, get-mru-window):
10056 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10058 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10059 Doc fix (Bug#8713).
10061 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10063 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10065 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
10067 * loadhist.el (unload-feature-special-hooks):
10068 Add `comint-output-filter-functions'.
10070 2011-06-08 Ivan Kanis <gnu@kanis.fr>
10072 * calendar/appt.el (appt-check): Move some initializations into the let.
10074 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10076 * window.el (window-height): Defalias to window-total-height.
10077 (window-width): Defalias to window-body-width.
10079 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
10081 * image-mode.el (image-toggle-animation): New command.
10082 (image-mode-map): Bind it to RET.
10083 (image-mode): Update message.
10084 (image-toggle-display-image): Avoid a spurious cache flush.
10085 (image-transform-rotation): Doc fix.
10086 (image-transform-properties): Return quickly in the normal case.
10087 (image-animate-loop): Rename from image-animate-max-time.
10089 * image.el (image-animate-max-time): Move to image-mode.el.
10090 (create-animated-image): Remove unnecessary function.
10091 (image-animate): Rename from image-animate-start. New arg.
10092 (image-animate-stop): Remove; just use image-animate-timer.
10093 (image-animate-timer): Use car-safe.
10094 (image-animate-timeout): Rename argument.
10096 2011-06-07 Martin Rudalics <rudalics@gmx.at>
10098 * window.el (get-lru-window, get-largest-window): Move here from
10099 window.c. Rename first argument to ALL-FRAMES.
10100 Rephrase doc-strings.
10101 (get-buffer-window-list): Rewrite using window-list-1.
10102 Rephrase doc-string.
10103 (window-safe-min-height, window-safe-min-width): New constants.
10104 (window-size-ignore, window-min-size, window-min-size-1)
10105 (window-sizable, window-sizable-p, window-size-fixed-1)
10106 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10107 (window-max-delta-1, window-max-delta, window-resizable)
10108 (window-resizable-p, window-total-height, window-total-width)
10109 (window-body-width): New functions.
10110 (window-full-height-p, window-full-width-p): Rewrite using
10112 (window-body-height): Rewrite using window-body-size.
10114 2011-06-06 Martin Rudalics <rudalics@gmx.at>
10116 * window.el (window-right, window-left, window-child)
10117 (window-child-count, window-last-child, window-any-p)
10118 (normalize-live-buffer, normalize-live-frame)
10119 (normalize-any-window, normalize-live-window)
10120 (window-iso-combination-p, window-iso-combined-p)
10121 (window-iso-combinations)
10122 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10123 (windows-with-parameter, window-with-parameter)
10124 (window-atom-root, make-window-atom, window-atom-check-1)
10125 (window-atom-check, window-side-check, window-check):
10127 (ignore-window-parameters, window-sides, window-sides-vertical)
10128 (window-sides-slots): New variables.
10129 (window-size-fixed): Move down in code. Minor doc-string fix.
10131 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10133 * comint.el (comint-dynamic-complete-as-filename)
10134 (comint-dynamic-complete-filename): Correctly call
10135 completion-in-region.
10137 2011-06-05 Deniz Dogan <deniz@dogan.se>
10139 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10142 2011-06-05 Deniz Dogan <deniz@dogan.se>
10144 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10145 (rcirc): Use it to prompt for encryption.
10147 2011-06-05 Roland Winkler <winkler@gnu.org>
10149 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10150 (bibtex-search-entries): New command bound to C-c C-a.
10151 (bibtex-display-entries): New function.
10153 2011-06-05 Roland Winkler <winkler@gnu.org>
10155 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10156 (bibtex-insert-kill): After yanking insert newline if necessary.
10157 (bibtex-initialize): Call bibtex-string-files-init only once.
10158 (bibtex-mode): Do not call easy-menu-add.
10159 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10160 (bibtex-yank): Set arg properly if nil.
10162 2011-06-05 Roland Winkler <winkler@gnu.org>
10164 * textmodes/bibtex.el (bibtex-search-entry-globally):
10166 (bibtex-search-entry): Use it.
10168 2011-06-05 Roland Winkler <winkler@gnu.org>
10170 * textmodes/bibtex.el (bibtex-entry-format): New option
10172 (bibtex-format-entry, bibtex-reformat): Honor this option.
10173 (bibtex-parse-entry): Return fields in proper order.
10175 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
10177 * doc-view.el (doc-view-remove-if): Move computation of result out
10178 of `dolist' to silence misleading lexical-binding warning.
10180 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10182 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10183 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10185 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10187 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10190 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10192 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10193 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10194 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10195 (tramp-parse-putty):
10196 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10197 (tramp-completion-function-alist-ssh)
10198 (tramp-completion-function-alist-telnet)
10199 (tramp-completion-function-alist-su)
10200 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10203 * net/tramp-ftp.el:
10205 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10206 load "tramp.el" `tramp-set-completion-function'.
10208 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10210 * shell.el: Require and use pcomplete.
10211 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10212 (shell-completion-vars): Set pcomplete-default-completion-function.
10214 2011-06-04 Deniz Dogan <deniz@dogan.se>
10216 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10219 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10221 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10223 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10225 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10226 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10227 * vc/log-view.el (log-view-beginning-of-defun):
10228 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10229 (smerge-refine-forward, smerge-refine-chopup-region):
10230 Silence warning for unused `dotimes' counter variables.
10232 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10234 * net/tramp.el (tramp-with-progress-reporter): Rename from
10235 with-progress-reporter. Use `declare'.
10236 * net/tramp-smb.el:
10238 * net/tramp-gvfs.el: Update all uses.
10240 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10242 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10243 buffer isn't killed before making it current.
10245 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10247 Silence various byte-compiler warnings.
10248 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10249 `access-type' and new obsolescence format.
10250 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10252 (byte-compile-check-variable): New `access-type' argument.
10253 Only warn if the access-type is obsolete.
10254 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10255 (byte-compile-variable-set): Adjust callers.
10256 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10257 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10258 setting it as obsolete.
10259 * simple.el (minibuffer-completing-symbol):
10260 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10261 access as obsolete.
10262 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10264 * international/quail.el (quail-mouse-choose-completion): Remove unused
10265 code referring to obsolete var.
10266 (quail-choose-completion-string): Remove.
10267 * server.el (server-clients-with, server-kill-buffer-query-function)
10268 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10269 * proced.el (proced-send-signal):
10270 * emacs-lisp/lisp.el (lisp-complete-symbol):
10271 Replace completion-annotate-function with completion-extra-properties.
10273 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10275 * simple.el (goto-line): Use read-number.
10276 (overriding-map-is-bound): Remove.
10277 (saved-overriding-map): Change default.
10278 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10279 Take the map as argument.
10280 (universal-argument, negative-argument, digit-argument): Use it.
10281 (restore-overriding-map): Adjust.
10282 (do-auto-fill): Use fill-forward-paragraph.
10283 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10285 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10286 (minibuffer-inactive-mode): New major mode.
10287 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10288 the *Messages* buffer" hack.
10289 (mouse-popup-menubar): Don't burp if the event is a normal key.
10291 Miscellaneous tweaks.
10292 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10293 lexical scoping as in subr.el's dolist and dotimes.
10294 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10295 Silence compiler warning.
10296 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10297 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10298 * international/ccl.el (ccl-compile): Trivial simplification.
10299 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10300 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10301 `printflag' argument.
10302 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10303 Purecopy the whole obsolescence data.
10305 2011-06-01 Leo Liu <sdl.web@gmail.com>
10307 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10308 improve doc-string as suggested by Marco Pessotto
10309 <melmothx@gmail.com>.
10310 (rcirc-print): Fix last change.
10312 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10314 * minibuffer.el (complete-with-action): Return nil for the metadata and
10315 boundaries of non-functional tables.
10316 (completion-table-dynamic): Return nil for the metadata.
10317 (completion-table-with-terminator): Add default case, using
10318 complete-with-action.
10319 (completion--metadata): New function.
10320 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10321 to try and avoid pathological performance problems.
10322 (completion--embedded-envvar-table): Return `category' metadata.
10324 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10326 * subr.el (process-alive-p): New tiny convenience function.
10328 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10330 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10331 content but also its previous major mode.
10333 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10335 * emacs-lisp/debug.el (debug): Restore the previous content of the
10336 *Backtrace* buffer when we exit with C-M-c.
10338 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10340 * minibuffer.el: Add metadata method to completion tables.
10341 (completion-category-overrides): New defcustom.
10342 (completion-metadata, completion--field-metadata)
10343 (completion-metadata-get, completion--styles)
10344 (completion--cycle-threshold): New functions.
10345 (completion-try-completion, completion-all-completions):
10346 Add `metadata' argument to choose completion-styles.
10347 (completion--do-completion): Use metadata to choose cycling.
10348 (completion-all-sorted-completions): Use metadata for sorting.
10349 Remove :completion-cycle-penalty which is not needed any more.
10350 (completion--try-word-completion): Add `metadata' argument.
10351 (minibuffer-completion-help): Check metadata for annotation function
10353 (completion-file-name-table): Return `category' metadata.
10354 (minibuffer-completing-file-name): Make obsolete.
10355 * simple.el (minibuffer-completing-symbol): Make obsolete.
10356 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10357 completion-try-completion.
10359 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10361 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10363 2011-05-30 Leo Liu <sdl.web@gmail.com>
10365 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10366 (rcirc-print): Decode all incoming messages (bug#8744).
10367 (rcirc-decode-coding-system): Allow value nil for automatic coding
10370 2011-06-01 Glenn Morris <rgm@gnu.org>
10372 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10374 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10376 * image.el (image-animate-max-time): Allow nil and t values.
10378 (create-animated-image): Doc fix.
10379 (image-animate-start): Remove second arg; just use
10380 image-animate-max-time.
10381 (image-animate-timeout): Doc fix. Args changed.
10383 * image-mode.el (image-toggle-display-image): Ensure that the
10384 image spec passed to the animate timer is the same object as in
10385 the buffer's display property (Bug#6981).
10386 (image-transform-properties): Doc fix.
10388 * image.el (image-animate-max-time): Default to nil.
10390 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10392 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10393 entire buffer list (Bug#8184).
10395 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10397 * image.el (imagemagick-types-inhibit)
10398 (imagemagick-register-types): Doc fix.
10400 2011-05-29 Deniz Dogan <deniz@dogan.se>
10402 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10405 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10407 * select.el: Don't perform clipboard-manager saving in hooks;
10408 leave the hooks empty.
10410 2011-05-28 Leo Liu <sdl.web@gmail.com>
10412 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10413 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10414 (occur-edit-mode): New major mode (Bug#8463).
10415 (occur-after-change-function): New function.
10416 (occur-engine): Give Occur tags a read-only property.
10418 2011-05-28 Kevin Ryde <user42@zip.com.au>
10420 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10422 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10424 * bindings.el (help-echo): Make the initial non-indicator dash
10425 empty on graphical terminals (Bug#7295).
10427 * files.el (auto-mode-alist): Move config rule after the
10428 in-stripping one (Bug#8547).
10430 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10432 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10433 setting (Bug#8740).
10435 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10437 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10438 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10441 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10443 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10445 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10447 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10448 (hs-hide-block-at-point, hs-find-block-beginning)
10449 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10452 2011-05-28 Glenn Morris <rgm@gnu.org>
10454 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10456 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10458 * help-fns.el (describe-function-1): If the function is a derived
10459 major mode, print the parent mode.
10461 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10462 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10464 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10466 * minibuffer.el (completion--capf-wrapper): Check applicability before
10467 returning non-nil for non-exclusive completion data.
10468 * progmodes/etags.el (tags-completion-at-point-function):
10469 * info-look.el (info-lookup-completions-at-point): Mark as
10471 (info-complete): Adjust accordingly.
10473 * info-look.el: Convert to lexical-binding and completion-at-point.
10474 (info-lookup-completions-at-point): New function.
10475 (info-complete): Use it and completion-in-region.
10477 2011-05-28 Drew Adams <drew.adams@oracle.com>
10479 * isearch.el: Let M-e start with point at the first mismatched char.
10480 (isearch-fail-pos): New function.
10481 (isearch-edit-string): Use it.
10483 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10485 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10487 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10489 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10490 traversal functions for avl-trees.
10491 (avl-tree--stack): New struct.
10492 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10493 (avl-tree-enter): Add optional `updatefun' arg.
10494 (avl-tree--do-enter): Add optional `updatefun' arg.
10495 Change return value.
10496 (avl-tree-delete): Add optional `test' and `nilflag' args.
10497 (avl-tree--do-delete): Add `test' and `nilflag' args.
10498 Change return value.
10499 (avl-tree-member): Add optional `nilflag'
10500 (avl-tree-member-p): New function.
10501 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10502 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10503 (avl-tree-stack-empty-p): New functions.
10505 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10506 avl-tree--del-balance1 and make it work both ways.
10507 (avl-tree--del-balance2): Remove.
10508 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10509 make it work both ways.
10510 (avl-tree--enter-balance2): Remove.
10511 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10513 (avl-tree--mapc, avl-tree-map): Add direction argument.
10515 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10517 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10519 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10521 * select.el: Support clipboard managers with built-in function
10522 x-clipboard-manager-save, via delete-frame-functions and
10524 (xselect-convert-to-targets): Add MULTIPLE target to list.
10525 (xselect-convert-to-save-targets): New function.
10527 2011-05-27 Kenichi Handa <handa@m17n.org>
10529 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10530 let-binding rfc2047-encode-encoded-words to nil.
10532 2011-05-27 Glenn Morris <rgm@gnu.org>
10534 * mail/emacsbug.el: Don't require url-util.
10536 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10538 * files.el (set-auto-mode):
10539 Also respect mode: entries at the end of the file. (Bug#8586)
10541 2011-05-26 Glenn Morris <rgm@gnu.org>
10543 * files.el (hack-local-variables-prop-line, hack-local-variables):
10544 Downcase mode names, as seems to be traditional.
10545 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10547 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10548 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10550 2011-05-25 Julien Danjou <julien@danjou.info>
10552 * textmodes/rst.el (rst-define-level-faces): Do not define face
10553 symbol if it is already defined.
10555 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10557 * play/5x5.el (5x5-new-game, 5x5-randomize):
10558 Reset 5x5-solver-output to nil when a new grid is cast.
10559 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10560 these debugging traces, as defmacro breaks the compiled code.
10562 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10564 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10566 2011-05-24 Leo Liu <sdl.web@gmail.com>
10568 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10569 (vc-bzr-sha1): Adapt.
10571 * sha1.el: Remove. Function `sha1' is now builtin.
10573 * bindings.el: Provide sha1 feature.
10575 2011-05-24 Kenichi Handa <handa@m17n.org>
10577 * mail/sendmail.el: Require `rfc2047'.
10578 (mail-insert-from-field): Do not perform RFC2047 encoding.
10579 (mail-encode-header): New function.
10580 (sendmail-send-it): Set buffer-file-coding-system of the work
10581 buffer to the return value of select-message-coding-system.
10582 Call mail-encode-header.
10584 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10586 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10588 * mail/supercite.el (sc-default-cite-frame):
10589 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10591 2011-05-24 Glenn Morris <rgm@gnu.org>
10593 * progmodes/python.el (brm-menu): Declare.
10595 * emulation/viper.el (viper-set-hooks): Declare.
10597 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10598 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10599 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10600 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10601 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10602 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10604 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10606 Add an :exit-function for completion-at-point.
10608 * minibuffer.el (completion--done): New fun.
10609 (completion--do-completion): Use it. New arg `expect-exact'.
10610 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10611 since completion--do-completion does it for us now.
10612 (minibuffer-force-complete): Use completion--done and
10613 completion--replace. Handle sole-completion case with more care.
10614 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10615 (completion-extra-properties): New var.
10616 (completion-annotate-function): Make obsolete.
10617 (minibuffer-completion-help): Adjust accordingly.
10618 Use completion-list-insert-choice-function.
10619 (completion-at-point, completion-help-at-point):
10620 Bind completion-extra-properties.
10621 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10622 * simple.el (completion-list-insert-choice-function): New var.
10623 (completion-setup-function): Preserve it.
10624 (choose-completion): Pay attention to it, shuffle the code a bit.
10625 (choose-completion-string): New arg `insert-function'.
10627 * textmodes/bibtex.el: Convert to lexical binding.
10628 (bibtex-mode-map): Use completion-at-point.
10629 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10630 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10631 (bibtex-complete): Define as obsolete alias.
10632 (bibtex-complete-internal): Remove.
10633 (bibtex-format-entry): Remove unused sub-group in regexp.
10634 * shell.el (shell--command-completion-data)
10635 (shell-environment-variable-completion):
10636 * pcomplete.el (pcomplete-completions-at-point):
10637 * comint.el (comint--complete-file-name-data): Use :exit-function
10638 instead of completion-table-with-terminator so it also works for
10641 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10643 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10645 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10648 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10650 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10652 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10653 customization variable and implement: If non-nil, auto-fill will
10654 be inhibited while on topic's header line.
10656 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10658 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10659 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10660 always have a solution in grid size = 5 cases.
10661 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10662 (5x5-solver-output, 5x5-log-buffer): New vars.
10663 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10664 Make these variables buffer local to achieve 5x5 multi-session-ness.
10665 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10666 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10667 (5x5-solve-suggest): New funs.
10668 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10669 randomize a grid so that we ensure that there is always a solution.
10670 (5x5-make-random-grid): Allow other movement than flipping.
10672 2011-05-23 Kevin Ryde <user42@zip.com.au>
10674 * emacs-lisp/advice.el (ad-read-advised-function):
10675 Use `function-called-at-point' as the default, if it has
10676 advice and passes PREDICATE.
10678 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10680 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10681 byte-compile-lambda if it's actually a lambda.
10683 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10684 Fix function quoting. Use backquote better.
10686 2011-05-22 Yuanle Song <sylecn@gmail.com>
10688 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10689 matching (Bug#8516).
10691 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10693 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10694 different face (Bug#8178).
10696 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10698 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10699 defface (Bug#8144).
10701 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10703 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10704 funcall as well (bug#8712). Warn when performing those conversions.
10705 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10707 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10709 2011-05-22 Glenn Morris <rgm@gnu.org>
10711 * files.el (hack-local-variables-prop-line): Small simplifications.
10712 (hack-local-variables, hack-local-variables-prop-line):
10713 If MODE-ONLY, return the mode, rather than just `t'.
10715 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10717 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10719 2011-05-21 Glenn Morris <rgm@gnu.org>
10721 * files.el (hack-local-variables-prop-line, hack-local-variables):
10722 If only interested in the mode, don't bother doing the other stuff.
10724 * image-mode.el (image-after-revert-hook):
10725 Redraw all frames on which the image is visible. (Bug#8567)
10727 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10729 * wid-edit.el (widget-checklist-match-inline):
10730 Fix 2011-04-19 change. (Bug#8649)
10732 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10734 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10735 Also allow singlespace after single-letter capitals followed by a dot.
10737 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10738 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10740 2011-05-20 Nix <nix@esperi.org.uk>
10742 * files.el (basic-save-buffer-2):
10743 Fix handling of break-hardlink-on-save with non-existent files.
10745 2011-05-19 Deniz Dogan <deniz@dogan.se>
10747 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10748 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10750 2011-05-19 Glenn Morris <rgm@gnu.org>
10752 * progmodes/f90.el (f90-type-def-re):
10753 Handle "type, bind(c)". (Bug#8691)
10755 * emacs-lisp/autoload.el (batch-update-autoloads):
10756 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10758 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10760 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10761 property for the correct connection in case of multihops.
10763 2011-05-18 Glenn Morris <rgm@gnu.org>
10765 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10766 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10768 Rationalize calendar handling of day and month abbrev-arrays.
10769 * calendar/calendar.el (calendar-customized-p): New function.
10770 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10771 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10773 (calendar-abbrev-length, calendar-day-abbrev-array)
10774 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10775 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10776 Elements may no longer be nil.
10777 (calendar-day-name, calendar-month-name):
10778 Update for changed nature of abbrev arrays.
10779 * calendar/diary-lib.el (diary-name-pattern):
10780 Update for changed nature of abbrev arrays.
10781 (diary-mark-entries-1): Update calendar-make-alist calls.
10782 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10783 * calendar/cal-html.el (cal-html-day-abbrev-array):
10784 Simply inherit from calendar-day-abbrev-array.
10786 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10788 * progmodes/grep.el (grep-mode): Disable default
10789 compilation-directory-matcher setting (bug#8684).
10791 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10793 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10794 instead of "head" and "tail". There were problems with SunOS 5.9,
10795 and it performs better.
10797 2011-05-17 Glenn Morris <rgm@gnu.org>
10799 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10801 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10802 Replace obsolete function.
10804 * shell.el (pcomplete-parse-arguments-function): Declare.
10806 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10807 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10808 (appt-check): Doc fixes.
10809 (appt-disp-window-function, appt-delete-window-function):
10810 Remove needless special case in custom :type.
10811 (appt-display-count): Default to 0, not nil.
10812 (appt-check): Reset appt-display-count to 0, not nil.
10814 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10816 * progmodes/python.el (python-font-lock-keywords):
10817 Add the Python 3.X keyword "nonlocal" (bug#8639).
10819 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10821 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10823 2011-05-16 Kevin Ryde <user42@zip.com.au>
10825 * info-look.el (makefile-automake-mode): New setups, looking in
10826 automake manual, then makefile-mode.
10827 (makefile-mode): Remove automake manual, have it just in
10828 makefile-automake-mode since there's various things different or
10829 not relevant to plain make.
10830 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10831 believe a hypothetical automake-mode would go to makefile-mode,
10832 not the other way around.
10834 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10836 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10837 hunk-end tags (Bug#8672).
10839 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10840 vc-annotate-show-diff-revision-at-line (Bug#8671).
10842 2011-05-14 Glenn Morris <rgm@gnu.org>
10844 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10845 in the middle of an existing one with multiple authors. (Bug#8645)
10846 (change-log-font-lock-keywords): Also handle multiple author lines
10847 with leading tabs. (Bug#8644)
10849 * calendar/appt.el (appt-check): Rename some local variables.
10850 Some simplification/reordering.
10852 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10853 (feedmail-sendmail-f-doesnt-sell-me-out)
10854 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10855 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10856 (feedmail-queue-runner-message-sender): Set :version.
10857 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10858 (bbdb-dwim-net-address, vm-mail): Declare.
10859 (feedmail-binmail-gnulinuxish-template):
10860 Rename from feedmail-binmail-linuxish-template.
10861 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10862 Use insert-buffer-substring.
10864 2011-05-14 Bill Carpenter <bill@carpenter.org>
10866 * mail/feedmail.el (feedmail-patch-level): Increase.
10867 (feedmail-debug): New custom group.
10868 (feedmail-confirm-outgoing-timeout)
10869 (feedmail-sendmail-f-doesnt-sell-me-out)
10870 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10871 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10872 (feedmail-sender-line, feedmail-from-line)
10873 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10874 (feedmail-spray-this-address)
10875 (feedmail-spray-address-fiddle-plex-list)
10876 (feedmail-queue-use-send-time-for-date)
10877 (feedmail-queue-use-send-time-for-message-id)
10878 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10879 (feedmail-buffer-eating-function):
10881 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10882 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10883 (feedmail-message-action-scroll-down): New functions.
10884 (feedmail-queue-directory, feedmail-queue-draft-directory):
10885 Use expand-file-name.
10886 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10887 Remove C-v help entry.
10888 (feedmail-queue-buffer-file-name): New variable.
10889 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10890 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10891 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10892 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10893 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10894 (feedmail-message-action-toggle-spray)
10895 (feedmail-run-the-queue-no-prompts)
10896 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10897 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10898 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10899 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10900 (feedmail-envelope-deducer, feedmail-fiddle-from)
10901 (feedmail-fiddle-sender, feedmail-default-date-generator)
10902 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10903 (feedmail-fiddle-spray-address)
10904 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10905 (feedmail-fiddle-list-of-fiddle-plexes)
10906 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10907 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10908 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10909 Change default. Doc fix.
10910 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10911 (feedmail-binmail-linuxish-template): New constant.
10912 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10913 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10914 (feedmail-send-it): Add debug call.
10915 Use feedmail-queue-buffer-file-name, and
10916 feedmail-send-it-immediately-wrapper.
10917 (feedmail-message-action-send): Add debug call.
10918 Use feedmail-send-it-immediately-wrapper.
10919 (feedmail-queue-express-to-queue): Add debug call.
10920 Run feedmail-queue-express-hook.
10921 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10922 (feedmail-message-action-help-blat):
10923 Rename from feedmail-queue-send-edit-prompt-help-first.
10924 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10925 Check line-endings. Handle errors better.
10926 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10927 Doc fix. Add debug call.
10928 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10929 Use feedmail-queue-send-edit-prompt-inner.
10930 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10931 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10932 from feedmail-queue-send-edit-prompt.
10933 (feedmail-queue-send-edit-prompt-help)
10934 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10935 (feedmail-tidy-up-slug): Add debug call.
10936 Respect feedmail-queue-slug-suspect-regexp.
10937 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10938 (feedmail-dump-message-to-queue): Add debug call.
10939 Expand queue-directory.
10940 (feedmail-dump-message-to-queue): Change message slightly.
10941 Use feedmail-say-chatter.
10942 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10943 (feedmail-send-it-immediately-wrapper): New function.
10944 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10945 Insert empty string rather than newline. Handle full-frame case.
10946 Use catch/throw. Use feedmail-say-chatter.
10947 (feedmail-fiddle-from): Try mail-host-address.
10948 (feedmail-default-message-id-generator): Doc fix.
10949 Bind system-time-locale. Handle missing end.
10950 (feedmail-fiddle-x-mailer): Add debug call.
10951 Handle feedmail-x-mailer-line being nil.
10952 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10953 Add debug call. Use buffer-substring-no-properties.
10954 (feedmail-say-debug, feedmail-say-chatter): New functions.
10955 (feedmail-find-eoh): Give an explicit error.
10957 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10959 * net/newst-treeview.el (newsticker-treeview-face): Change default
10960 family from helvetica to sans.
10961 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10962 etc/images/newsticker.
10964 * net/newst-reader.el (newsticker-feed-face): Change default
10965 family from helvetica to sans.
10967 * net/newst-plainview.el (newsticker-new-item-face)
10968 (newsticker-old-item-face, newsticker-immortal-item-face)
10969 (newsticker-obsolete-item-face, newsticker-date-face)
10970 (newsticker-statistics-face): Change default family from
10972 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10973 etc/images/newsticker.
10975 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
10976 (newsticker--process-auto-mark-filter-match): Tell user about
10979 2011-05-13 Didier Verna <didier@xemacs.org>
10981 Common Lisp indentation improvements on defmethod and lambda-lists.
10982 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10984 (lisp-lambda-list-keyword-parameter-indentation)
10985 (lisp-lambda-list-keyword-parameter-alignment)
10986 (lisp-lambda-list-keyword-alignment): New customizable user options.
10987 (lisp-indent-defun-method): Improve docstring.
10988 (extended-loop-p): Fix comment.
10989 (lisp-indent-lambda-list-keywords-regexp): New variable.
10990 (lisp-indent-lambda-list): New function.
10991 (lisp-indent-259): Use it.
10992 (lisp-indent-defmethod): Support for more than one
10993 method qualifier and properly indent methods lambda-lists.
10994 (defgeneric): Provide a missing common-lisp-indent-function property.
10996 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10998 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10999 bounds for the empty string (bug#8667).
11001 2011-05-13 Glenn Morris <rgm@gnu.org>
11003 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11005 * mail/sendmail.el (sendmail-program): Try executable-find first.
11006 (sendmail-send-it): `sendmail-program' cannot be unbound.
11008 * calendar/appt.el (appt-make-list): Simplify.
11009 (appt-time-msg-list): Doc fix.
11010 (appt-check): Change mode-line message at the time of the appointment.
11012 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11014 * progmodes/ld-script.el (ld-script-keywords)
11015 (ld-script-builtins): Update keywords list.
11017 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11019 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11021 * shell.el (shell-completion-vars): New function.
11023 * simple.el (read-shell-command): Use it.
11024 (blink-matching-open): No need for " [...]" in minibuffer-message.
11026 2011-05-12 Glenn Morris <rgm@gnu.org>
11028 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11029 (appt-check): Simplify.
11031 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11033 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11034 literal "/dev/null".
11036 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11038 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11041 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11043 * progmodes/which-func.el (which-function):
11044 Use add-log-current-defun instead of add-log-current-defun-function,
11045 which might not be defined (Bug#8260).
11047 2011-05-12 Glenn Morris <rgm@gnu.org>
11049 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11050 Let byte-compile-initial-macro-environment always take precedence.
11052 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11054 * net/rcirc.el: Add support for SSL/TLS connections.
11055 (rcirc-server-alist): New field `encryption'.
11056 (rcirc): Check `encryption' settings.
11057 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11058 Merge make-local-variable into `set'.
11059 (rcirc--connection-open-p): New function.
11060 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11061 the process is not a network process (e.g. running gnutls-cli).
11062 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11063 Make rcirc-(en|de)code-coding-system local here.
11064 (rcirc-mode): Merge make-local-variable into `set'.
11065 (rcirc-parent-buffer): Make permanent buffer-local.
11066 (rcirc-multiline-minor-mode): Don't do it here.
11067 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11068 there's no server buffer.
11070 2011-05-11 Glenn Morris <rgm@gnu.org>
11072 * newcomment.el (comment-kill): Prefix "unused" local.
11074 * term/w32console.el (get-screen-color): Declare.
11076 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11077 Handle symbol elements of byte-compile-initial-macro-environment.
11079 2011-05-10 Leo Liu <sdl.web@gmail.com>
11081 * bookmark.el (bookmark-bmenu-mode-map):
11082 Bind bookmark-bmenu-search to `/'.
11084 * mail/footnote.el: Convert to utf-8 encoding.
11085 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11086 (Footnote-unicode): New function.
11087 (footnote-style-alist): Add unicode style to the list.
11088 (footnote-style): Doc fix.
11090 2011-05-10 Jim Meyering <meyering@redhat.com>
11092 Fix doubled-word typos.
11093 * international/quail.el (quail-insert-kbd-layout): and and -> and
11094 * kermit.el: and and -> and
11095 * net/ldap.el (ldap-search-internal): to to -> to
11096 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11097 * progmodes/js.el (js-mode): and and -> and
11098 * textmodes/artist.el (artist-move-to-xy): at at -> at
11099 (artist-draw-region-trim-line-endings): if if -> if
11100 And Safetyc -> Safety.
11101 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11103 2011-05-10 Glenn Morris <rgm@gnu.org>
11104 Stefan Monnier <monnier@iro.umontreal.ca>
11106 * files.el (hack-one-local-variable-eval-safep):
11107 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11109 2011-05-10 Glenn Morris <rgm@gnu.org>
11111 * calendar/diary-lib.el (diary-list-entries-hook)
11112 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11113 (diary-nongregorian-marking-hook, diary-list-entries)
11114 (diary-include-other-diary-files, diary-mark-entries)
11115 (diary-mark-included-diary-files): Doc fixes.
11117 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11119 * misc.el: Require tabulated-list.el during compilation.
11121 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11123 * progmodes/compile.el (compilation-start):
11124 Run compilation-filter-hook for the async case too.
11125 (compilation-filter-hook): Doc fix.
11127 2011-05-09 Deniz Dogan <deniz@dogan.se>
11129 * wdired.el: Remove outdated installation comment. Fix usage
11132 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11134 * misc.el: Implement new command `list-dynamic-libraries'.
11135 (list-dynamic-libraries--loaded-only-p): New variable.
11136 (list-dynamic-libraries--refresh): New function.
11137 (list-dynamic-libraries): New command.
11139 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11141 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11142 Fix the ant regexp to handle end-line and end-column info from jikes.
11143 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11144 higher priority to avoid clobbering by gnu.
11146 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11148 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11149 if the face has existing theme settings (Bug#8454).
11151 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11153 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11154 Only match variables declared via `my' or `our' (Bug#8261).
11156 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11157 special file names `.' and `..' (Bug#8259).
11159 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11161 * progmodes/grep.el (grep-mode-font-lock-keywords):
11162 Remove buffer-changing entries.
11163 (grep-filter): New function.
11164 (grep-mode): Add it to compilation-filter-hook.
11166 * progmodes/compile.el (compilation-filter-hook)
11167 (compilation-filter-start): New defvars.
11168 (compilation-filter): Call compilation-filter-hook prior to
11169 updating the process mark.
11171 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11173 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11175 2011-05-07 Eli Zaretskii <eliz@gnu.org>
11177 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11178 mailclient-send-it even if window-system is nil. (Bug#8595)
11180 * term/w32console.el (terminal-init-w32console):
11181 Call get-screen-color and use its output to set the frame
11182 background-mode. (Bug#8597)
11184 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11186 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11187 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11189 (defgeneric, eieio--defmethod): Use them.
11190 (eieio-defgeneric): Remove.
11191 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11193 2011-05-07 Glenn Morris <rgm@gnu.org>
11195 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11196 Use let rather than let*.
11197 (timeclock-find-discrep): Remove unused local.
11199 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11201 * calendar/appt.el (appt-time-msg-list): Doc fix.
11203 2011-05-06 Noah Friedman <friedman@splode.com>
11205 * apropos.el (apropos-print-doc): Only use
11206 emacs-lisp-docstring-fill-column when it is bound to an integer,
11207 per that variable's documentation.
11209 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11211 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11212 and warnings are not silently discarded (e.g. use -d instead of -P).
11214 2011-05-06 Glenn Morris <rgm@gnu.org>
11216 * calendar/appt.el (appt-message-warning-time): Doc fix.
11217 (appt-warning-time-regexp): New option.
11218 (appt-make-list): Respect appt-message-warning-time.
11220 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11222 (diary-add-to-list): Strip comments from the displayed string.
11223 (diary-mode): Set comment-start and comment-end.
11225 * vc/diff-mode.el (smerge-refine-subst): Declare.
11226 (diff-refine-hunk): Don't require smerge-mode when compiling.
11228 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11230 * simple.el (list-processes): Return nil as the docstring says.
11232 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11234 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11236 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11237 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11238 determining of binary transfer. (Bug#7383)
11240 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11242 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11243 Fix port computation bug. (Bug#8618)
11245 2011-05-05 Glenn Morris <rgm@gnu.org>
11247 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11249 * simple.el (shell-dynamic-complete-functions)
11250 (comint-dynamic-complete-functions): Declare.
11252 * net/network-stream.el (gnutls-negotiate):
11253 * simple.el (tabulated-list-print): Fix declarations.
11255 * progmodes/gud.el (syntax-symbol, syntax-point):
11256 Remove unnecessary and incorrect declarations.
11258 * emacs-lisp/check-declare.el (check-declare-scan):
11259 Handle byte-compile-initial-macro-environment in bytecomp.el
11261 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11263 Fix earlier half-done eieio-defmethod change (bug#8338).
11264 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11265 Streamline and change calling convention.
11266 (defmethod): Adjust accordingly and simplify.
11267 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11268 new eieio--defmethod.
11269 (slot-boundp): Minor CSE simplification.
11271 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11273 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11274 (glasses-make-readable): Use glasses-separate-capital-groups.
11276 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11278 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11279 (warning-series): Doc fix.
11280 (display-warning): Don't try to create the buffer if we just found it.
11282 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11284 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11285 (autoload-find-generated-file): New function.
11286 (generate-file-autoloads): Bind generated-autoload-file to
11288 (update-file-autoloads, update-directory-autoloads):
11289 Use autoload-find-generated-file. If called interactively, prompt for
11290 output file (Bug#7989).
11291 (batch-update-autoloads): Doc fix.
11293 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11295 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11297 2011-05-04 Glenn Morris <rgm@gnu.org>
11299 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11300 function, so it follows changes in calendar-date-style.
11301 (diary-fancy-date-matcher): New function.
11302 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11303 (diary-fancy-font-lock-fontify-region-function):
11304 Use diary-fancy-date-pattern as a function.
11306 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11307 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11309 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11311 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11312 instead of positional arguments. Allow :keylist and :crlfiles
11314 (open-gnutls-stream): Call it.
11316 * net/network-stream.el (network-stream-open-starttls): Adjust to
11317 call `gnutls-negotiate' with :process and :hostname arguments.
11319 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11321 * minibuffer.el (completion--message): New function.
11322 (completion--do-completion, minibuffer-complete)
11323 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11324 (completion--do-completion): Don't ignore completion-auto-help when in
11327 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11328 internal encoding (e.g. tibetan zero is not whitespace).
11329 (global-whitespace-mode): Prefer save-current-buffer.
11330 (whitespace-trailing-regexp): Remove useless save-match-data.
11331 (whitespace-empty-at-bob-regexp): Minor simplification.
11333 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11335 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11337 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
11339 * textmodes/ispell.el (ispell-add-per-file-word-list):
11340 Use `concat' to create string for insertion.
11342 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11344 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11345 Avoid open-line which runs post-self-insert-hook.
11346 (bibtex-fill-entry): Remove unused `end' var.
11348 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11350 * textmodes/ispell.el (ispell-add-per-file-word-list):
11351 Protect against `nil' value of `comment-start' (Bug#8579).
11353 2011-05-03 Leo Liu <sdl.web@gmail.com>
11355 * isearch.el (isearch-yank-pop): New command.
11356 (isearch-mode-map): Bind it to `M-y'.
11357 (isearch-forward): Mention it.
11359 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11361 * simple.el (minibuffer-complete-shell-command): Remove.
11362 (minibuffer-local-shell-command-map): Use completion-at-point.
11363 (read-shell-command): Setup completion vars here instead.
11364 (read-expression-map): Bind TAB to symbol completion.
11366 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11367 error directly rather via storing it into `results'.
11369 2011-05-02 Leo Liu <sdl.web@gmail.com>
11371 * vc/diff.el: Fix description.
11373 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11375 * server.el (server-eval-at): New function.
11377 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11379 * net/network-stream.el (open-network-stream): Take a :nowait
11380 parameter and pass it on to `make-network-process'.
11381 (network-stream-open-plain): Ditto.
11383 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11385 * faces.el (face-spec-set-match-display): Don't match toolkit
11386 options on terminal frames.
11388 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11390 * progmodes/pascal.el: Use lexical binding.
11391 (pascal-mode-map): Remove author preferences.
11393 * pcomplete.el (pcomplete-std-complete): Don't abuse
11394 completion-at-point.
11396 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11398 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11399 removing code that has been dead since 1991 or so.
11401 * startup.el (command-line): When warning about "_emacs", use a
11402 delayed warning to allow the user to filter it out.
11404 2011-04-28 Deniz Dogan <deniz@dogan.se>
11406 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11407 user has not joined.
11409 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11411 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11412 aren't any completions at point.
11414 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11416 * subr.el (display-delayed-warnings): New function.
11417 (delayed-warnings-hook): New variable.
11419 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11421 * minibuffer.el (completion-at-point, completion-help-at-point):
11422 Don't presume that a given completion-at-point-function will always
11423 use the same calling convention.
11425 * pcomplete.el (pcomplete-completions-at-point):
11426 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11427 pcomplete-seen is non-nil.
11428 (pcomplete-comint-setup): Also recognize the new comint/shell
11429 completion functions.
11430 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11431 pcomplete-seen is non-nil.
11433 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11435 * calendar/icalendar.el (diary-lib): Add require statement.
11436 (icalendar--create-uid): Read out a uid from a text-property on
11437 the first character in the entry. This allows for code to add its
11438 own uid to the entry.
11439 (icalendar--convert-float-to-ical): Add export of
11440 `diary-float'-entries save for those with the optional DAY
11443 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11445 * subr.el (shell-quote-argument): Use alternate escaping strategy
11446 when we spot a variable reference in a string.
11448 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11450 * cus-start.el (all): Define customization for debug-on-event.
11452 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11454 * subr.el (shell-quote-argument): Escape correctly under Windows.
11456 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11458 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11460 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11462 * net/tramp.el (tramp-process-actions): Add POS argument.
11463 Delete region between POS and (pos).
11465 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11466 Use `nil' position in `tramp-process-actions' call.
11467 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11469 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11470 position in `tramp-process-actions' call.
11472 * net/trampver.el: Update release number.
11474 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11476 * custom.el (defcustom): Obey lexical-binding.
11478 Fix octave-inf completion problems reported by Alexander Klimov.
11479 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11480 Inherit from octave-mode-syntax-table.
11481 (inferior-octave-mode): Set info-lookup-mode.
11482 (inferior-octave-completion-at-point): New function.
11483 (inferior-octave-complete): Use it and completion-in-region.
11484 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11485 comint-filename-completion.
11486 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11487 symbol elements which shouldn't be word elements.
11488 (octave-font-lock-keywords, octave-beginning-of-defun)
11489 (octave-function-header-regexp): Adjust regexps accordingly.
11490 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11492 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11494 * net/gnutls.el (gnutls-errorp): Declare before first use.
11496 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11498 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11499 verify-error, and verify-hostname-error parameters. Check whether
11500 default trustfile exists before going to use it. Add missing
11501 argument to gnutls-message-maybe call. Return value.
11502 Reported by Claudio Bley <claudio.bley@gmail.com>.
11503 (open-gnutls-stream): Add usage example.
11505 * net/network-stream.el (network-stream-open-starttls): Give host
11506 parameter to `gnutls-negotiate'.
11507 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11508 * subr.el (shell-quote-argument): Escape correctly under Windows.
11510 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11512 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11513 Use correct match group (bug#8438).
11515 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11517 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11518 (package-menu--generate): New arg specifying packages to show.
11519 (package-menu-refresh, package-menu-execute, list-packages):
11521 (package-show-package-list): New function, replacing deleted
11522 package--list-packages (renamed because it is non-internal).
11524 * finder.el (finder-list-matches): Use package-show-package-list
11525 instead of deleted package--list-packages.
11527 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11528 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11529 (vc-annotate-mode-map): Bind it to RET.
11531 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11533 * progmodes/etags.el (next-file): Don't use set-buffer to change
11534 buffers (Bug#8478).
11536 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11538 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11540 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11541 (apropos-accumulator): Doc fix.
11542 (apropos-function, apropos-macro, apropos-command)
11543 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11544 (apropos-plist): Add face property.
11545 (apropos-symbols-internal): Fix indentation.
11546 (apropos-print): Simplify help, and recognize apropos-multi-type.
11547 (apropos-print-doc): Use button-type-get to extract the button's
11548 face property. Fill docstring (Bug#8352).
11550 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11552 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11554 * play/mpuz.el (mpuz-silent): Doc fix.
11555 (mpuz-mode-map): Use mapc.
11556 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11557 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11558 Fix typos in docstrings.
11560 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11561 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11563 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11565 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11567 * minibuffer.el (completion--do-completion): Avoid the "Next char
11568 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11570 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11571 mouse-2 into unread-command-events, it is interpreted correctly.
11573 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11574 (image-toggle-display): Doc fix.
11576 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11578 * textmodes/page.el (what-page): Use line-number-at-pos to
11579 calculate line number (Bug#6825).
11581 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11583 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11584 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11585 Pass argument NO-DEFAULT to `find-tag-interactive'.
11587 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11589 Lexical-binding cleanup.
11591 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11592 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11593 * progmodes/ada-prj.el (ada-prj-initialize-values)
11594 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11595 (ada-prj-show-value):
11596 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11597 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11598 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11599 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11600 * progmodes/bug-reference.el (bug-reference-push-button):
11601 * progmodes/fortran.el (fortran-line-length):
11602 * progmodes/glasses.el (glasses-change):
11603 * progmodes/octave-mod.el (octave-fill-paragraph):
11604 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11605 (python-pdbtrack-grub-for-buffer, python-sentinel):
11606 * progmodes/sql.el (sql-save-connection):
11607 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11608 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11609 Mark unused parameters.
11611 * progmodes/compile.el (compilation--flush-directory-cache)
11612 (compilation--flush-parse, compile-internal): Mark unused parameters.
11613 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11614 (compilation-next-error-function): Remove unused variable `timestamp'.
11616 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11617 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11619 * progmodes/dcl-mode.el (dcl-end-of-command):
11620 Remove unused variable `start'.
11621 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11622 (dcl-option-value-basic, dcl-option-value-offset)
11623 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11624 Mark unused parameters.
11625 (dcl-save-local-variable): Remove unused variable `val'.
11628 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11629 Mark unused parameters.
11630 (delphi-ignore-changes): Move before first use.
11631 (delphi-charset-token-at): Remove unused variable `start'.
11632 (delphi-else-start): Remove unused variable `if-count'.
11633 (delphi-comment-block-start, delphi-comment-block-end):
11634 Remove unused variable `kind'.
11635 (delphi-indent-line): Remove unused variable `new-point'.
11637 * progmodes/ebrowse.el (ebrowse-files-list)
11638 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11639 Mark unused parameters. Don't quote `lambda'.
11640 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11641 Don't quote `lambda'.
11642 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11643 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11644 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11645 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11646 Use `ignore-errors'.
11647 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11648 (ebrowse-view/find-file-and-search-pattern)
11649 (ebrowse-view/find-member-declaration/definition):
11650 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11651 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11652 Rename parameter PREFIX-ARG to PREFIX.
11653 (ebrowse-tags-read-name): Remove unused variables `start' and
11655 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11658 * progmodes/etags.el (local-find-tag-hook): Declare.
11659 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11660 Mark unused parameters.
11662 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11663 (executable-interpret): Mark unused parameter.
11665 * progmodes/flymake.el (flymake-process-sentinel)
11666 (flymake-after-change-function)
11667 (flymake-create-temp-with-folder-structure)
11668 (flymake-get-include-dirs-dot): Mark unused parameters.
11669 (flymake-safe-delete-directory): Remove unused variable `err'.
11671 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11672 (speedbar-timer-fn, speedbar-line-text)
11673 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11674 (speedbar-center-buffer-smartly): Declare functions.
11675 (gdb-find-watch-expression): Remove unused variable `array'.
11676 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11677 (gdb-starting): Mark unused parameters.
11678 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11679 (gdb-table-string): Remove unused variable `res'.
11680 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11681 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11682 (gdb-display-buffer): Remove unused variable `cur-size'.
11684 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11685 allow lexical-binding compilation.
11686 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11687 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11688 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11689 Mark unused parameters.
11690 (gud-gdb-marker-filter): Remove unused variable `match'.
11691 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11692 lambda expressions and funcall them, instead of using `fset'.
11694 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11695 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11697 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11698 variable `header-beg'; use `let'.
11700 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11701 `restart', `last-sexp' and `at-do'.
11703 * progmodes/js.el (js--debug): Mark unused parameter.
11704 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11705 (js--splice-into-items): Remove unused variable `item'.
11706 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11708 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11709 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11710 (makefile-complete): Remove unused variable `try'.
11711 (makefile-fill-paragraph, makefile-match-function-end):
11712 Mark unused parameters.
11714 * progmodes/octave-inf.el (inferior-octave-complete):
11715 Remove unused variable `proc'.
11716 (inferior-octave-output-digest): Mark unused parameter.
11718 * progmodes/perl-mode.el (perl-calculate-indent):
11719 Remove unused variable `err'.
11721 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11722 (prolog-indent-line): Mark unused parameters.
11723 (prolog-indent-line): Remove unused variable `beg'.
11725 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11726 (reporter-dont-compact-list): Declare.
11728 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11729 Remove unused variable `char'.
11730 (sh-debug): Mark unused parameter.
11731 (sh-get-indent-info): Remove unused variable `start'.
11732 (sh-calculate-indent): Remove unused variable `var'.
11734 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11735 (simula-electric-keyword): Remove unused variable `null'.
11736 (simula-search-backward, simula-search-forward): Remove unused
11737 variables `begin' and `end'.
11739 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11740 Remove unused variable `pos'.
11741 (vera-electric-tab, vera-comment-uncomment-region):
11742 Mark unused parameters.
11743 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11745 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11747 * emacs-lisp/package.el (package--builtins, package-alist)
11748 (package-load-descriptor, package-built-in-p, package-activate)
11749 (define-package, package-installed-p)
11750 (package-compute-transaction, package-buffer-info)
11751 (package--push): Doc fix. Distinguish more clearly between
11752 version strings and version lists.
11754 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11756 Lexical-binding cleanup.
11758 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11759 (5x5-make-mutate-best):
11760 * play/fortune.el (fortune-in-buffer):
11761 * play/gomoku.el (gomoku-init-display):
11762 * play/solitaire.el (solitaire, solitaire-do-check):
11763 * play/tetris.el (tetris-default-update-speed-function):
11764 Mark unused parameters.
11766 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11767 (bubbles--shift): Remove unused variable `char-org'.
11768 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11769 (bubbles--show-images): Remove unused variable `char'.
11771 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11772 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11773 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11774 (decipher-analyze-buffer): Use ?\s.
11775 (decipher-make-checkpoint): Remove unused variable `mapping'.
11777 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11779 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11780 Remove unused variable `result'; use `let'.
11782 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11783 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11784 (gametree-children-shown-p, gametree-compute-reduced-score):
11785 Use `ignore-errors'.
11787 * play/handwrite.el (ps-lpr-switches): Declare.
11788 (handwrite): Remove unused variables `pmin' and `lastp'.
11790 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11792 * play/landmark.el (landmark-init-display)
11793 (landmark-update-naught-weights): Mark unused parameters.
11794 (landmark-y): Remove unused variable `noise'. Simplify.
11795 (landmark-human-plays): Remove unused variable `score'.
11797 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11798 (mpuz-try-proposal): Remove unused variable `game'.
11800 * play/zone.el (life-patterns): Declare.
11802 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11804 * vc/vc.el (ediff-vc-internal): Declare function.
11806 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11808 * shell.el: Use lexical-binding and std completion UI.
11809 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11810 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11811 comint-preoutput-filter-functions rather than on
11812 comint-output-filter-functions.
11813 (shell-command-completion, shell--command-completion-data)
11814 (shell-filename-completion, shell-environment-variable-completion)
11815 (shell-c-a-p-replace-by-expanded-directory): New functions.
11816 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11817 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11818 (shell-dynamic-complete-environment-variable): Use them.
11819 (shell-dynamic-complete-as-environment-variable)
11820 (shell-dynamic-complete-as-command): Remove.
11821 (shell-match-partial-variable): Match past point.
11822 * comint.el: Clean up use of completion-at-point-functions.
11823 (comint-completion-at-point): New function.
11824 (comint-mode): Use it completion-at-point-functions.
11825 (comint-dynamic-complete): Make it obsolete.
11826 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11827 (comint-c-a-p-replace-by-expanded-history): New function.
11828 (comint-dynamic-complete-functions)
11829 (comint-replace-by-expanded-history): Use it.
11830 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11831 termination strings. Try harder to avoid second try-completion.
11832 (completion-in-region-mode-map): Disable bindings that don't work yet.
11834 * comint.el: Use lexical-binding. Require CL.
11835 (comint-dynamic-complete-functions): Use comint-filename-completion.
11836 (comint-completion-addsuffix): Tweak custom type.
11837 (comint-filename-completion, comint--common-suffix)
11838 (comint--common-quoted-suffix, comint--table-subvert)
11839 (comint--complete-file-name-data): New functions.
11840 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11841 (comint-dynamic-list-filename-completions): Use them.
11842 (comint-dynamic-simple-complete): Make obsolete.
11844 * minibuffer.el (completion-in-region-mode):
11845 Keep completion-in-region-mode--predicate global.
11846 (completion-in-region--postch):
11847 Assume completion-in-region-mode--predicate is not null.
11849 * progmodes/flymake.el (flymake-start-syntax-check-process):
11850 Obey `dir'. Simplify.
11852 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11853 we're in VC after all.
11855 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11857 * vc/vc.el (vc-diff-build-argument-list-internal)
11858 (vc-version-ediff, vc-ediff): New commands.
11859 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11861 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11863 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11866 * obsolete/erc-hecomplete.el: Make obsolete.
11867 * obsolete/: Standardize obsolescence info in the header.
11869 2011-04-20 Glenn Morris <rgm@gnu.org>
11871 * calendar/solar.el (solar-horizontal-coordinates):
11872 Use the longitude argument rather than `calendar-longitude'.
11873 (solar-date-next-longitude): Remove unused locals.
11875 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11877 * whitespace.el: New version 13.2.1.
11879 2011-04-20 felix <EmacsWiki> (tiny change)
11881 * whitespace.el (global-whitespace-mode): Keep highlight when
11882 switching between major modes on a file.
11884 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11886 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11887 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11888 multi-line comments as well.
11890 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11892 Lexical-binding cleanup.
11894 * arc-mode.el (archive-mode-revert):
11895 * cmuscheme.el (scheme-interactively-start-process):
11896 * custom.el (custom-initialize-delay):
11897 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11898 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11899 * emacs-lock.el (emacs-lock-clear-sentinel):
11900 * ezimage.el (defezimage):
11901 * follow.el (follow-avoid-tail-recenter):
11902 * fringe.el (set-fringe-mode-1):
11903 * generic-x.el (bat-generic-mode-compile):
11904 * help-mode.el (help-info-variable, help-do-xref)
11905 (help-mode-revert-buffer):
11906 * help.el (view-emacs-todo):
11907 * iswitchb.el (iswitchb-completion-help):
11908 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11909 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11910 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11911 * locate.el (locate-update):
11912 * longlines.el (longlines-encode-region)
11913 (longlines-after-change-function):
11914 * outline.el (outline-isearch-open-invisible):
11915 * ps-def.el (declare-function, charset-dimension, char-width)
11917 * ps-mule.el (ps-mule-plot-string):
11918 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11919 (recentf-edit-list-select, recentf-edit-list-validate)
11920 (recentf-open-files-action):
11921 * rect.el (delete-whitespace-rectangle-line)
11922 (rectangle-number-line-callback):
11923 * register.el (window-configuration-to-register)
11924 (frame-configuration-to-register):
11925 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11926 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11927 (xselect-convert-to-targets, xselect-convert-to-delete)
11928 (xselect-convert-to-filename, xselect-convert-to-charpos)
11929 (xselect-convert-to-lineno, xselect-convert-to-colno)
11930 (xselect-convert-to-os, xselect-convert-to-host)
11931 (xselect-convert-to-user, xselect-convert-to-class)
11932 (xselect-convert-to-name, xselect-convert-to-integer)
11933 (xselect-convert-to-atom, xselect-convert-to-identity):
11934 * subr.el (declare, ignore, process-kill-without-query)
11935 (text-clone-maintain):
11936 * terminal.el (te-get-char, te-tic-sentinel):
11937 * tool-bar.el (tool-bar-make-keymap):
11938 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11939 * type-break.el (type-break-mode, type-break-noninteractive-query):
11940 * view.el (View-back-to-mark):
11941 * wid-browse.el (widget-browse-action, widget-browse-widget)
11942 (widget-browse-widgets, widget-browse-sexp):
11943 * widget.el (define-widget-keywords):
11944 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11945 Mark unused parameters.
11947 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11948 (align-areas): Remove unused variable `look'.
11949 (align-region): Remove unused variables `real-end' and `pos-list'.
11951 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11953 * bindings.el (mode-line-modified, mode-line-remote):
11954 Mark unused parameters.
11955 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11957 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11958 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11960 * comint.el (comint-history-isearch-pop-state)
11961 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11962 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11963 (comint-substitute-in-file-name): Doc fix.
11965 * completion.el (cmpl-statistics-block): Mark unused parameter.
11966 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11967 (save-completions-to-file, load-completions-from-file):
11968 Remove unused local variable `e'.
11970 * composite.el (compose-chars): Remove unused variable `len'.
11971 (lgstring-insert-glyph): Remove unused variable `g'.
11972 (compose-glyph-string): Remove unused variables `ascent',
11973 `descent', `lbearing' and `rbearing'.
11974 (compose-glyph-string-relative): Remove unused variables
11975 `lbearing', `rbearing' and `wadjust'.
11976 (compose-gstring-for-graphic): Remove unused variables `header',
11977 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11978 (compose-gstring-for-terminal): Remove unused variables `header'
11979 and `nchars'. Use `let', not `let*'.
11981 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11982 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11983 (Custom-buffer-done, custom-buffer-create-internal)
11984 (custom-browse-visibility-action, custom-browse-group-tag-action)
11985 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11986 (widget-magic-mouse-down-action, custom-toggle-parent)
11987 (custom-add-parent-links, custom-toggle-hide-variable)
11988 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11989 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11990 (custom-face-menu-create, custom-variable-menu-create, get)
11991 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11992 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11993 (customize-apropos): Remove unused variable `tests'.
11994 (custom-group-value-create): Remove unused variable `hidden-p'.
11995 (sort-fold-case): Declare.
11997 * cus-theme.el (custom-reset-standard-faces-list)
11998 (custom-reset-standard-variables-list): Declare.
11999 (customize-create-theme, custom-theme-revert, custom-theme-write)
12000 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12001 Mark unused parameters.
12003 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12005 * delim-col.el (delimit-columns-max): Move defvar before first use.
12007 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12008 (describe-char): Don't quote `lambda'. Mark unused parameter.
12010 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12011 (auto-insert): Declare.
12012 (desktop-restore-file-buffer): Rename desktop-* parameters;
12014 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12015 (desktop-buffer): Rename desktop-* parameters.
12017 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12018 (dframe-reposition-frame-xemacs, dframe-help-echo)
12019 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12020 Mark unused parameters.
12022 * dired-aux.el (backup-extract-version-start, overwrite-query)
12023 (overwrite-backup-query, rename-regexp-query)
12024 (rename-non-directory-query): Declare.
12025 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12026 (dired-add-entry): Remove unused variable `orig-file-name'.
12027 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12028 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12029 `dired-copy-preserve-time' directly.
12030 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12031 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12033 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12034 (dired-virtual-revert, dired-make-relative-symlink):
12035 Mark unused parameters.
12036 (manual-program): Declare.
12037 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12038 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12039 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12041 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12043 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12045 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12048 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12050 * electric.el (Electric-command-loop): Rename parameter
12051 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12053 * expand.el (expand-in-literal): Remove unused variable `here'.
12055 * facemenu.el (facemenu-add-new-color):
12056 Remove unused variable `docstring'.
12058 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12059 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12060 (face-attr-construct): Mark unused parameter. Doc fix.
12061 (read-color): Remove unused variable `hex-string'.
12063 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12064 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12065 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12066 (display-buffer-other-frame): Remove unused variable `old-window'.
12067 (kill-buffer-hook): Declare.
12068 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12069 Mark unused parameters.
12070 (after-find-file): Pass 1 to `auto-save-mode', not t.
12072 * files-x.el (auto-insert): Declare.
12073 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12075 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12076 variable `buf'. Mark unused parameter.
12077 (find-lisp-insert-directory): Mark unused parameter.
12079 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12080 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12081 (format-common-tail): Remove, unused.
12082 (format-deannotate-region): Remove unused variable `loc'.
12083 (format-annotate-region): Remove unused variable `p'.
12084 (format-annotate-single-property-change): Remove unused variables
12085 `default' and `tail'.
12087 * forms.el (read-file-filter): Declare.
12088 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12090 * frame.el (frame-creation-function-alist): Mark unused parameter.
12091 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12093 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12094 Remove unused parameters.
12095 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12096 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12098 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12099 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12100 (hfy-prepare-tag-map): Mark unused parameters.
12101 (htmlfontify-buffer): Use `called-interactively-p'.
12103 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12104 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12105 (ibuffer-do-occur): Mark unused parameters.
12106 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12107 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12109 * ibuffer.el: Don't quote `lambda'.
12110 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12111 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12112 Mark unused parameters.
12114 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12115 (ido-completing-read): Mark unused parameters.
12116 (ido-copy-current-word): Mark unused parameters;
12117 remove unused variable `name'.
12118 (ido-sort-merged-list): Remove unused parameter `dirs'.
12120 * ielm.el (ielm-input-sender): Mark unused parameter.
12121 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12122 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12123 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12124 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12125 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12127 * image-dired.el (image-dired-display-thumbs): Remove unused
12128 variables `curr-file' and `count'.
12129 (image-dired-remove-tag): Remove unused variable `start'.
12130 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12131 variable `curr-file'
12132 (image-dired-rotate-original): Remove unused variable `temp-file'.
12133 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12134 Remove unused variable `file'.
12135 (image-dired-gallery-generate): Remove unused variable `curr'.
12136 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12138 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12140 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12142 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12144 * isearch.el (minibuffer-history-symbol): Declare.
12145 (isearch-edit-string): Remove unused variable `err'.
12146 (isearch-message-prefix, isearch-message-suffix):
12147 Mark unused parameters.
12149 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12151 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12153 * makesum.el (double-column): Remove unused variable `cnt'.
12155 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12156 (ido-ignore-item-temp-list): Declare.
12158 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12159 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12160 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12161 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12164 * mouse-sel.el (mouse-extend-internal):
12165 Remove unused variable `orig-window-frame'.
12167 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12168 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12169 Move declarations before first use.
12170 (pcomplete-opt): Mark unused parameters; doc fix.
12172 * proced.el (proced-revert): Mark unused parameter.
12173 (proced-send-signal): Remove unused variable `err'.
12175 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12176 Rename parameter PREFIX-ARG to ARG.
12177 (ps-basic-plot-string, ps-basic-plot-whitespace):
12178 Mark unused parameters.
12180 * replace.el (replace-count): Define.
12181 (occur-revert-function): Mark unused parameters.
12182 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12183 (isearch-case-fold-search, isearch-string): Declare.
12184 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12185 bind `case-fold-search'. Remove unused variables `beg' and `end',
12187 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12188 COUNT and bind `replace-count'.
12189 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12192 * savehist.el (print-readably, print-string-length): Declare.
12194 * shadowfile.el (shadow-expand-cluster-in-file-name):
12195 Remove unused variable `cluster'.
12196 (shadow-copy-file): Remove unused variable `i'.
12197 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12198 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12199 (shadow-define-literal-group, shadow-define-regexp-group)
12200 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12202 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12203 (shell): Use `called-interactively-p'.
12204 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12206 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12207 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12208 (delete-backward-char): Remove unused variable `ocol'.
12209 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12210 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12211 (event-apply-hyper-modifier, event-apply-shift-modifier)
12212 (event-apply-control-modifier, event-apply-meta-modifier):
12213 Mark unused parameters.
12214 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12215 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12217 * speedbar.el (speedbar-ignored-directory-expressions)
12218 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12219 (speedbar-find-file, speedbar-dir-follow)
12220 (speedbar-directory-buttons-follow, speedbar-tag-find)
12221 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12222 (speedbar-buffers-line-directory, speedbar-buffer-click):
12223 Mark unused parameters.
12224 (speedbar-tag-file): Remove unused variable `mode'.
12225 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12227 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12229 * talk.el (talk): Remove unused variable `display'.
12231 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12232 (tar-write-region-annotate): Mark unused parameter.
12234 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12235 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12236 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12237 warning by another.
12239 * time-stamp.el (time-stamp-string-preprocess):
12240 Remove unused variable `require-padding'.
12242 * tree-widget.el (widget-glyph-enable): Declare.
12243 (tree-widget-action): Mark unused parameter.
12245 * w32-fns.el (x-get-selection): Mark unused parameter.
12246 (autoload-make-program, generated-autoload-file): Declare.
12248 * wdired.el (wdired-revert): Mark unused parameters.
12249 (wdired-xcase-word): Remove unused variable `err'.
12251 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12252 (whitespace-help-scroll): Remove unused variable `data-help'.
12254 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12255 (widget-image-insert, widget-after-change, default)
12256 (widget-default-format-handler, widget-default-notify)
12257 (widget-default-prompt-value, widget-info-link-action)
12258 (widget-url-link-action, widget-function-link-action)
12259 (widget-variable-link-action, widget-file-link-action)
12260 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12261 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12262 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12263 (widget-insert-button-action, widget-delete-button-action, visibility)
12264 (widget-documentation-link-action, widget-documentation-string-action)
12265 (widget-const-prompt-value, widget-regexp-match, symbol)
12266 (widget-coding-system-prompt-value)
12267 (widget-key-sequence-value-to-external, sexp)
12268 (widget-sexp-value-to-internal, character, vector, cons)
12269 (widget-choice-prompt-value, widget-boolean-prompt-value)
12270 (widget-color--choose-action): Mark unused parameters.
12271 (widget-item-match-inline, widget-choice-match-inline)
12272 (widget-checklist-match, widget-checklist-match-inline)
12273 (widget-group-match): Rename parameter VALUES to VALS.
12274 (widget-field-value-set): Remove unused variable `size'.
12275 (widget-color-action): Remove unused variables `value' and `start'.
12277 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12278 variable `dir'. Doc fix.
12279 (windmove-find-other-window): Don't pass it.
12281 * window.el (count-windows): Mark unused parameter.
12282 (bw-adjust-window): Remove unused variable `err'.
12284 * woman.el (woman-file-name): Remove unused variable `default'.
12285 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12286 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12287 (global-font-lock-mode): Declare.
12288 (woman-decode-region): Mark unused parameter.
12289 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12291 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12292 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12293 (x-dnd-handle-moz-url): Remove unused variable `title'.
12294 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12296 * xml.el (xml-parse-tag, xml-parse-attlist):
12297 Remove unused variable `pos'.
12299 2011-04-19 Glenn Morris <rgm@gnu.org>
12301 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12302 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12303 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12304 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12305 * calendar/cal-html.el (cal-html-insert-minical):
12306 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12307 (calendar-mark-date-pattern):
12308 Prefix "unused" locals.
12310 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12311 optional argument `style'.
12313 * calendar/appt.el (appt-make-list):
12314 * calendar/cal-china.el (calendar-chinese-date-string):
12315 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12316 (diary-hebrew-yahrzeit):
12317 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12318 * calendar/calendar.el (calendar-generate-window):
12319 * calendar/time-date.el (time-to-days):
12320 Remove unused local variables.
12322 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12324 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12325 glyphless-char-display table.
12326 (tabulated-list-glyphless-char-display): New var.
12328 2011-04-18 Sam Steingold <sds@gnu.org>
12330 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12331 to acknowledgments.
12333 2011-04-17 Glenn Morris <rgm@gnu.org>
12335 * calendar/diary-lib.el (diary-sexp-entry):
12336 * calendar/holidays.el (holiday-sexp):
12337 Set debug-on-error rather than the removed stack-trace-on-error.
12339 2011-04-16 Glenn Morris <rgm@gnu.org>
12341 * progmodes/f90.el: Use lexical-binding.
12342 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12344 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12346 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12347 (mail-mode): Setup mailalias completion here instead.
12348 * mail/mailalias.el: Use lexical-binding.
12349 (pattern, mailalias-done): Declare dynamic.
12350 (mail-completion-at-point-function): New function, from mail-complete.
12351 (mail-complete): Use it.
12352 (mail-completion-expand): New function.
12353 (mail-get-names): Use it.
12354 (mail-directory, mail-directory-process, mail-directory-stream):
12355 Don't use `pattern' for lexically bound arg.
12357 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12359 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12360 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12361 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12363 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12364 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12365 (byte-interactive-p): Define them again, for use when inlining
12368 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12370 * loadup.el: Use `string-to-number', not `string-to-int'.
12372 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12374 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12375 gud-gdb-complete-command.
12376 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12377 (gud-gdb-completion-at-point): New function.
12378 (gud-gdb-completions): Remove.
12380 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12382 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12383 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12384 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12385 whether `executable-find' is bound.
12387 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12389 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12391 * minibuffer.el (completion-in-region-mode-predicate)
12392 (completion-in-region-mode--predicate): New vars.
12393 (completion-in-region, completion-in-region--postch)
12394 (completion-in-region-mode): Use them.
12395 (completion--capf-wrapper): Also return the hook function.
12396 (completion-at-point, completion-help-at-point):
12397 Adjust and provide a predicate.
12399 Preserve arg names for advice of subr and lexical functions (bug#8457).
12400 * help-fns.el (help-function-arglist): Consolidate the subr and
12401 new-byte-code cases. Add argument `preserve-names' to extract names
12402 from the docstring when needed.
12403 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12404 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12405 (ad-arglist): Use help-function-arglist's new arg.
12406 (ad-definition-type): Use cond.
12408 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12410 * autorevert.el (auto-revert-handler):
12411 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12412 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12413 Don't quote lambda.
12415 * image-mode.el (image-transform-set-scale):
12416 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12418 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12420 * net/network-stream.el (network-stream-open-starttls): Only do
12421 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12422 Upgrades via gnutls-cli are too slow to be done opportunistically.
12424 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12426 * dframe.el (dframe-current-frame): Remove spurious quote.
12428 2011-04-12 Glenn Morris <rgm@gnu.org>
12430 * calendar/cal-tex.el (cal-tex-end-document):
12431 Try to automatically use latin1 input if needed.
12433 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12434 Don't try to cons a mark onto an empty element.
12436 2011-04-11 Leo Liu <sdl.web@gmail.com>
12438 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12440 (ido-kill-buffer-at-head): Support killing virtual buffers.
12442 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12444 * minibuffer.el (completion-show-inline-help): New var.
12445 (completion--do-completion, minibuffer-complete)
12446 (minibuffer-force-complete, minibuffer-complete-word):
12447 Inhibit minibuffer messages if completion-show-inline-help is nil.
12449 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12450 to avoid interference from inline help (Bug#5849).
12452 2011-04-10 Leo Liu <sdl.web@gmail.com>
12454 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12457 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12459 * image-mode.el (image-toggle-display-image): Signal an error if
12461 (image-transform-mode, image-transform-resize)
12462 (image-transform-set-rotation): Doc fix.
12463 (image-transform-set-resize): Delete.
12464 (image-transform-set-scale, image-transform-fit-to-height)
12465 (image-transform-fit-to-width): Handle image-toggle-display-image
12466 and image-transform-resize directly.
12468 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12470 * doc-view.el (doc-view-fit-width-to-window)
12471 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12472 New functions for fitting the shown image to the Emacs window size.
12473 (doc-view-mode-map): Add bindings for the new functions.
12475 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12477 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12478 Fix typo in docstring.
12480 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12482 * files.el (file-size-human-readable): Produce one digit after
12483 decimal, like "ls -lh" does.
12485 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12486 the file size representation.
12488 * simple.el (list-processes): If async subprocesses are not
12489 available, error out with a clear error message.
12491 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12493 * help.el (help-form-show): New function, to be called from C.
12494 Put help-form output in a buffer named differently than *Help*.
12496 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12498 * files.el (file-size-human-readable): New function.
12500 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12501 computing the representation inline. Don't require `cl'.
12503 2011-04-08 Glenn Morris <rgm@gnu.org>
12505 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12507 * net/browse-url.el (browse-url-firefox):
12508 Test system-type, not system-configuration.
12510 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12511 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12512 Use log-edit-empty-buffer-p. (Bug#7598)
12514 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12515 (rlogin-mode-map): Initialize in the defvar.
12516 (rlogin): Use ignore-errors.
12518 * replace.el (occur-mode-map): Some fixes for menu items.
12520 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12522 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12524 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12526 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12527 issuing unused warnings.
12529 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12532 * simple.el: Lisp reimplement of list-processes. Based on an
12533 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12534 (process-menu-mode): New major mode.
12535 (list-processes--refresh, list-processes):
12536 (process-menu-visit-buffer): New functions.
12538 * files.el (save-buffers-kill-emacs): Don't assume any return
12539 value of list-processes, which is undocumented anyway.
12541 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12543 * emacs-lisp/tabulated-list.el: New file.
12545 * emacs-lisp/package.el: Use Tabulated List mode.
12546 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12547 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12548 table format using Tabulated List mode variables.
12549 (package--push): New macro, replacing package-list-maybe-add.
12550 (package-menu--generate): Use package--push. Renamed from
12551 package--generate-package-list.
12552 (package-menu-refresh, list-packages): Use it.
12553 (package-menu--print-info): Rename from package-print-package.
12554 Return insertion data instead of inserting it directly.
12555 (package-menu-describe-package, package-menu-execute):
12556 Use tabulated-list-get-id.
12557 (package-menu-mark-delete, package-menu-mark-install)
12558 (package-menu-mark-unmark, package-menu-backup-unmark)
12559 (package-menu-mark-obsolete-for-deletion):
12560 Use tabulated-list-put-tag.
12561 (package--list-packages, package-menu-revert)
12562 (package-menu-get-package, package-menu-get-version)
12563 (package-menu-sort-by-column): Functions deleted.
12564 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12565 (package-menu--status-predicate, package-menu--version-predicate)
12566 (package-menu--name-predicate)
12567 (package-menu--description-predicate): Handle arguments in the
12568 Tabulated List format.
12569 (package-list-packages-no-fetch): Call list-packages.
12571 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12573 * files.el (after-find-file-from-revert-buffer): Remove variable.
12574 (after-find-file): Don't bind it.
12575 (revert-buffer-in-progress-p): New variable.
12576 (revert-buffer): Bind it.
12577 Pass nil for `after-find-file-from-revert-buffer'.
12579 * saveplace.el (save-place-find-file-hook): Use new variable
12580 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12582 2011-04-06 Glenn Morris <rgm@gnu.org>
12584 * Makefile.in (AUTOGEN_VCS): New variable.
12585 (autoloads): Use $AUTOGEN_VCS.
12587 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12588 * calendar/calendar.el (calendar-mode-map):
12589 Check for toolkit scroll bars. (Bug#8305)
12591 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12593 * minibuffer.el (completion-in-region--postch)
12594 (completion-in-region-mode): Remove unnecessary messages.
12596 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12598 * font-lock.el (font-lock-refresh-defaults):
12599 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12600 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12602 * info.el (Info-directory-list, Info-read-node-name-2)
12603 (Info-split-parameter-string): Doc fixes.
12604 (Info-virtual-nodes): Reflow docstring.
12605 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12606 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12607 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12608 Fix typos in docstrings.
12609 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12610 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12611 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12612 (Info-restore-desktop-buffer): Mark unused parameters.
12613 (Info-directory-find-file, Info-directory-find-node)
12614 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12615 (Info-virtual-index-find-node, Info-apropos-find-file)
12616 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12617 Mark unused parameters; fix typos in docstrings.
12618 (Info-virtual-index): Remove unused local variable `nodename'.
12620 2011-04-05 Deniz Dogan <deniz@dogan.se>
12622 * net/rcirc.el: Update my e-mail address.
12623 (rcirc-mode-map): Remove M-o binding.
12625 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12627 * startup.el (command-line): Save the cursor's theme-face
12628 directly, instead of using face-override-spec.
12630 * custom.el (load-theme): Minor optimization in assigning faces.
12632 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12634 * help-fns.el (describe-variable): Complete all variables having
12635 documentation, including keywords.
12636 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12638 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12640 Convert to lexical-binding.
12642 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12643 (bs--get-marked-string, bs--get-modified-string)
12644 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12645 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12646 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12648 * ehelp.el (electric-help-execute-extended)
12649 (electric-help-ctrl-x-prefix):
12650 * hexl.el (hexl-revert-buffer-function):
12651 * linum.el (linum-after-change, linum-after-scroll):
12652 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12654 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12656 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12663 * epg.el: Use lexical binding.
12665 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12667 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12669 * textmodes/flyspell.el (flyspell-word): Recognize default
12670 dictionary case for flyspell-mark-duplications-exceptions.
12671 Use regexp matching for languages.
12672 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12673 default dictionary (Bug#7926).
12675 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12677 * emacs-lisp/package.el (package--with-work-buffer):
12678 Recognize https URLs.
12680 * net/network-stream.el: Move from gnus/proto-stream.el.
12681 Change prefix to network-stream throughout.
12682 (open-protocol-stream): Merge into open-network-stream, leaving
12683 open-protocol-stream as an alias. Handle nil BUFFER args.
12685 * subr.el (open-network-stream): Move to net/network-stream.el.
12687 2011-04-02 Glenn Morris <rgm@gnu.org>
12689 * find-dired.el (find-exec-terminator): New option.
12690 (find-ls-option): Test for -ls support.
12691 (find-ls-subdir-switches): Test for -b in find-ls-option.
12692 (find-dired, find-grep-dired): Doc fixes.
12693 (find-dired): Use find-exec-terminator.
12695 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12696 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12697 (find-name-arg): Remove purecopy.
12699 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12700 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12701 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12702 accordingly. Don't add the null-device if not needed.
12704 * files.el (save-some-buffers): Doc fix.
12706 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12708 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12710 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12712 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12713 Use `dolist' rather than `mapcar'.
12715 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12717 Add lexical binding.
12719 * subr.el (apply-partially): Use new closures rather than CL.
12720 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12721 (dolist, dotimes): Use slightly different expansion for lexical code.
12722 (functionp): Move to C.
12723 (letrec): New macro.
12724 (with-wrapper-hook): Use it and apply-partially instead of CL.
12725 (eval-after-load): Preserve lexical-binding.
12726 (save-window-excursion, with-output-to-temp-buffer): Turn them
12729 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12731 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12733 (help-add-fundoc-usage): Don't add `Not documented'.
12734 (help-function-arglist): Handle closures, subroutines, and new
12735 byte-code-functions.
12736 (help-make-usage): Remove leading underscores.
12737 (describe-function-1): Handle closures.
12738 (describe-variable): Use special-variable-p for completion.
12740 * files.el (lexical-binding): Declare safe.
12742 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12743 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12744 (pcase): Add `let' pattern.
12745 Change memoization so it actually works.
12746 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12747 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12750 * emacs-lisp/macroexp.el: Use lexical binding.
12751 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12752 Don't convert ' to #' without checking that it's indeed quoting
12755 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12756 Use eval-sexp-add-defvars.
12757 (eval-sexp-add-defvars): New fun.
12759 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12761 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12763 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12764 than the internal `byte-compile-lambda'.
12765 (defmethod): Don't hide code under quotes.
12766 (eieio-defmethod): New `code' argument.
12768 * emacs-lisp/eieio-comp.el: Remove.
12770 * emacs-lisp/edebug.el (edebug-eval-defun)
12771 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12772 (edebug-toggle): Avoid `eval'.
12774 * emacs-lisp/disass.el (disassemble-internal): Handle new
12776 (disassemble-1): Handle new byte codes.
12778 * emacs-lisp/cl.el (pushnew): Silence warning.
12780 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12781 (cl-byte-compile-throw): Remove.
12782 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12784 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12787 * emacs-lisp/cconv.el: New file.
12789 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12790 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12791 (byte-compile-initial-macro-environment):
12792 Handle declare-function here.
12793 (byte-compile--lexical-environment): New var.
12794 (byte-stack-ref, byte-stack-set, byte-discardN)
12795 (byte-discardN-preserve-tos): New lap codes.
12796 (byte-interactive-p): Don't use any more.
12797 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12799 (byte-compile-lapcode): Use them and handle new lap codes.
12800 (byte-compile-obsolete): Remove.
12801 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12802 (byte-compile-arglist-warn): Check late def of inlinable funs.
12803 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12804 since they should have been expanded by now.
12805 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12806 (byte-compile-from-buffer): Remove unused second arg.
12807 (byte-compile-preprocess): New function.
12808 (byte-compile-toplevel-file-form): New function to distinguish
12809 file-form calls from outside from file-form calls from hunk-handlers.
12810 (byte-compile-file-form): Simplify.
12811 (byte-compile-file-form-defsubst): Remove.
12812 (byte-compile-file-form-defmumble): Simplify now that
12813 byte-compile-lambda always returns a byte-code-function.
12814 (byte-compile): Preprocess.
12815 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12816 Remove, not used any more.
12817 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12818 (byte-compile-make-args-desc): New funs.
12819 (byte-compile-lambda): Handle lexical functions. Always return
12820 a byte-code-function.
12821 (byte-compile-reserved-constants): New var, to make up room for
12822 closed-over variables.
12823 (byte-compile-constants-vector): Obey it.
12824 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12825 (byte-compile-macroexpand-declare-function): New function.
12826 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12827 byte-code-functions.
12828 (byte-compile-form): Check obsolescence here.
12829 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12830 (byte-compile-variable-ref): Remove.
12831 (byte-compile-dynamic-variable-op): New fun.
12832 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12833 (byte-compile-variable-set): New funs.
12834 (byte-compile-discard): Add 2 args.
12835 (byte-compile-stack-ref, byte-compile-stack-set)
12836 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12837 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12838 macroexpand-all instead.
12839 (byte-compile-quote-form): Remove.
12840 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12841 (byte-compile-bind, byte-compile-unbind): New funs.
12842 (byte-compile-let): Handle let* and lexical binding.
12843 (byte-compile-let*): Remove.
12844 (byte-compile-catch, byte-compile-unwind-protect)
12845 (byte-compile-track-mouse, byte-compile-condition-case):
12846 Handle a new :fun-body form, used for lexical scoping.
12847 (byte-compile-save-window-excursion)
12848 (byte-compile-with-output-to-temp-buffer): Remove.
12849 (byte-compile-defun): Simplify.
12850 (byte-compile-stack-adjustment): New fun.
12851 (byte-compile-out): Use it.
12852 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12854 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12857 * emacs-lisp/byte-opt.el: Use lexical binding.
12858 (byte-inline-lapcode): Remove (to bytecomp).
12859 (byte-compile-inline-expand): Pay attention to inlining to/from
12860 lexically bound code.
12861 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12863 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12864 any more and don't call compiler-macros.
12865 (byte-compile-splice-in-already-compiled-code): Remove.
12866 (byte-code): Don't inline any more.
12867 (disassemble-offset): Receive `bytes' as argument rather than via
12869 (byte-compile-tag-number): Declare before first use.
12870 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12871 `return' even if make-spliceable.
12872 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12873 obsolete interactive-p.
12874 (byte-optimize-lapcode): Optimize new lap-codes.
12875 Don't trip up on new form of `byte-constant' lap code.
12877 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12879 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12881 * custom.el (custom-initialize-default, custom-declare-variable):
12884 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12886 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12887 (COMPILE_FIRST): Add macroexp and cconv.
12888 * makefile.w32-in: Mirror changes in Makefile.in.
12890 * vc/cvs-status.el:
12894 * vc/smerge-mode.el:
12895 * textmodes/bibtex-style.el:
12896 * textmodes/css.el:
12904 * emacs-lisp/smie.el:
12907 * abbrev.el: Use lexical binding.
12909 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12911 * info.el (info-display-manual): New function.
12913 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12915 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12917 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12919 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12920 an entry for that server in rcirc-authinfo. (Bug#8385)
12922 2011-03-31 Glenn Morris <rgm@gnu.org>
12924 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12926 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12928 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12930 * progmodes/python.el (python-default-interpreter)
12931 (python-python-command-args, python-jython-command-args)
12932 (python-which-shell, python-which-args, python-which-bufname)
12933 (python-file-queue, python-comint-output-filter-function)
12934 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12935 variables and functions.
12937 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12939 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12940 (completion-in-region-mode): New minor mode.
12941 (completion-in-region): Use it.
12942 (completion-in-region--data, completion-in-region-mode-map): New vars.
12943 (completion-in-region--postch): New function.
12944 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12946 (completion--capf-wrapper): New function.
12947 (completion-at-point): Use it to track well-behavedness of
12949 (completion-help-at-point): New command.
12951 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12953 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12954 syntax class to search for whitespace on a single line
12955 (Message-ID: <4D938140.4030905@redhat.com>).
12957 2011-03-30 Leo Liu <sdl.web@gmail.com>
12959 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12961 (edit-abbrevs-map): Bind them here.
12962 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12964 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12966 * allout.el (allout-hide-by-annotation, allout-flag-region):
12967 Reduce possibility of overlay leakage by making them volatile.
12969 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12970 hash is not shared between buffers. Mode initialization is
12971 responsible for giving it a useful starting value.
12972 (allout-item-span): Reduce possibility of overlay leakage by
12973 making them volatile.
12974 (allout-widgets-count-buttons-in-region): Add diagnostic function
12975 for tracking down button overlay leaks.
12977 2011-03-29 Leo Liu <sdl.web@gmail.com>
12979 * ido.el (ido-read-internal): Use the default history var
12980 minibuffer-history if no HISTORY is specified.
12982 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12984 * net/imap.el (imap-shell-open, imap-process-connection-type):
12985 Use imap-process-connection-type for 'shell' streams as well as
12986 Kerberos, SSL, other subprocesses.
12988 2011-03-28 Leo Liu <sdl.web@gmail.com>
12990 * abbrev.el (abbrev-table-empty-p): New function.
12991 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12992 nonempty ones. (Bug#5937)
12994 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12996 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12998 2011-03-27 Leo Liu <sdl.web@gmail.com>
13000 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13001 for foreground and background colors.
13002 (ansi-color-make-color-map): Adapt.
13004 2011-03-25 Leo Liu <sdl.web@gmail.com>
13006 * midnight.el (midnight-time-float): Remove. Note it calculates
13007 the microsecond component incorrectly and seconds-to-time does the
13009 Remove redundant (require 'timer).
13011 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13012 (ido-completions): Remove unused arguments. (Bug#8329)
13014 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13016 * minibuffer.el (completion--flush-all-sorted-completions):
13017 Remove itself from hook.
13018 (completion-at-point): Let the functions perform the completion
13019 immediately and return nil or t.
13020 * comint.el (comint-dynamic-complete-functions): Now identical to
13021 completion-at-point-functions.
13022 (comint-dynamic-list-input-ring): Remove unused var `index'.
13023 (comint--match-partial-filename, comint--unquote&expand-filename):
13024 New funs, split from comint-match-partial-filename.
13025 (comint-dynamic-complete): Use completion-at-point.
13026 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13028 2011-03-24 Drew Adams <drew.adams@oracle.com>
13030 * thingatpt.el: Support `defun'.
13032 2011-03-23 Leo Liu <sdl.web@gmail.com>
13034 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13036 * help-mode.el (help-mode-finish): Tweak regexp.
13038 2011-03-23 Glenn Morris <rgm@gnu.org>
13040 * eshell/esh-opt.el (eshell-eval-using-options):
13041 Do not bind unused local variable `eshell-option-stub'.
13043 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13045 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13047 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13048 keymap variable in `with-no-warnings' to avoid a warning when the
13049 keymap has been already `defconst'ed.
13051 2011-03-22 Leo Liu <sdl.web@gmail.com>
13053 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13054 encode all chars in abbrevs; otherwise use emacs-mule or
13055 utf-8-emacs. (Bug#8308)
13057 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13059 * simple.el (backward-delete-char-untabify):
13060 Avoid warning about using `delete-backward-char'.
13062 * image.el (image-type-file-name-regexps): Make it variable.
13063 `imagemagick-register-types' modifies it, and the user may want
13064 to add new extensions for known image types.
13065 (imagemagick-register-types): Throw error if not using ImageMagick.
13067 2011-03-22 Leo Liu <sdl.web@gmail.com>
13069 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13070 located before rcirc-prompt-end-marker.
13071 (rcirc-complete): Error if point is not after rcirc prompt.
13072 Handle the case when table is nil.
13073 (rcirc-user-authenticated): Define to fix compiler warning.
13075 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
13077 * custom.el (custom--inhibit-theme-enable): Make it affect only
13078 custom-theme-set-variables and custom-theme-set-faces.
13079 (provide-theme): Ignore custom--inhibit-theme-enable.
13080 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13081 (custom-enabling-themes): Delete variable.
13082 (enable-theme): Accept only loaded themes as arguments.
13083 Ignore the special custom-enabled-themes variable.
13084 (custom-enabled-themes): Forbid themes from setting this.
13085 Eliminate use of custom-enabling-themes.
13086 (custom-push-theme): Quote "changed" custom var entry.
13088 2011-03-21 Leo Liu <sdl.web@gmail.com>
13090 * ido.el (ido-read-internal): Add ido-selected to history instead
13093 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13095 * subr.el (deferred-action-list, deferred-action-function):
13098 2011-03-21 Leo Liu <sdl.web@gmail.com>
13100 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13101 change on 2011-02-13 (bug#8309).
13103 * minibuffer.el (read-file-name-function): Change default value.
13104 (read-file-name--defaults): Rename from read-file-name-defaults.
13105 (read-file-name-default): Rename from read-file-name.
13106 (read-file-name): Call read-file-name-function.
13108 2011-03-21 Glenn Morris <rgm@gnu.org>
13110 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13113 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
13115 * cus-theme.el: Add missing provide statement.
13116 (customize-create-theme): Extract theme value correctly.
13117 (custom-theme-visit-theme): Autoload.
13118 (customize-create-theme): Prompt before inserting default faces.
13120 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13122 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13123 units and musical notes.
13125 2011-03-20 Leo Liu <sdl.web@gmail.com>
13127 * ido.el (ido-read-internal): Use completing-read-default.
13128 (ido-completing-read): Fix compatibility with completing-read.
13130 2011-03-20 Christian Ohler <ohler@gnu.org>
13132 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13133 (ert-delete-all-tests): Use `called-interactively-p' rather than
13135 (ert--make-xrefs-region): Respect END.
13137 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13139 * dired-aux.el (dired-create-directory): Signal an error if the
13140 directory already exists (Bug#8246).
13142 * facemenu.el (list-colors-display): Call list-faces-display
13143 inside with-help-window.
13144 (list-colors-print): Use display property to align the final
13145 column, instead of checking window-width.
13147 2011-03-19 Eli Zaretskii <eliz@gnu.org>
13149 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13150 windows-nt systems.
13151 (emerge-protect-metachars): Quote correctly for ms-dos and
13152 windows-nt systems.
13154 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13156 * info.el (info-initialize): Replace all uses of `:' with
13157 path-separator for compatibility with non-Unix systems.
13158 Cache quoting of path-separator. (Bug#8258)
13160 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
13162 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13163 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13164 (mouse-avoidance-mode): Fix typos in docstrings.
13166 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13168 * startup.el (package-subdirectory-regexp): Move from package.el.
13169 Omit \\` and \\', and let callers add them.
13171 * emacs-lisp/package.el (package-strip-version)
13172 (package-load-all-descriptors): Add \\` and \\' to
13173 package-subdirectory-regexp before using it.
13174 (package-untar-buffer): New arg DIR; ensure that file untars only
13175 into this expected directory. Remove superfluous delete-region.
13176 (package-unpack): Caller changed.
13177 (package-tar-file-info): Use package-subdirectory-regexp.
13179 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13181 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13182 diff-mode-shared-map (bug#8284).
13183 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13185 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13187 * calendar/time-date.el (format-seconds): Use assoc instead of
13188 assoc-string, since assoc-string doesn't exist in XEmacs.
13190 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13192 * custom.el (custom-known-themes): Reflow docstring.
13193 (custom-theme-load-path): Fix typo in docstring.
13194 (load-theme): Fix typo in error message.
13195 (custom-available-themes, custom-variable-theme-value):
13196 Use `let', not `let*'.
13198 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13200 * calc/README: Mention inclusion of musical notes.
13202 * calc/calc-units.el (calc-lu-quant): Rename from
13203 `calc-logunits-quantity'.
13204 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13205 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13206 (calc-db): Rename from `calc-dblevel'.
13207 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13208 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13209 (calc-np): Rename from `calc-nplevel'.
13210 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13211 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13212 (calc-lu-plus): Rename from `calc-logunits-add'.
13213 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13214 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13215 (calc-lu-minus): Rename from `calc-logunits-sub'.
13216 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13217 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13218 (calc-lu-times): Rename from `calc-logunits-mul'.
13219 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13220 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13221 (calc-lu-divide): Rename from `calc-logunits-div'.
13222 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13223 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13225 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13226 functions being autoloaded.
13228 * calc/calc.el (calc-lu-power-reference): Rename from
13229 `calc-logunits-power-reference'.
13230 (calc-lu-field-reference): Rename from
13231 `calc-logunits-field-reference'.
13233 * calc/calc-help.el (calc-l-prefix-help):
13234 Mention musical note functions.
13236 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13238 * minibuffer.el (completion-all-sorted-completions):
13239 Use :completion-cycle-penalty text property if present.
13241 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13243 * allout.el (allout-yank-processing): Adjust for new rebulleting
13244 regime so bullet being yanked is used without prompting the user
13247 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13249 * startup.el (command-line): Warn the user that _emacs is deprecated.
13251 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13253 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13254 (delphi-verbose, delphi-comment-face, delphi-string-face)
13255 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13256 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13257 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13258 (delphi-new-comment-line, delphi-font-lock-defaults)
13259 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13260 Fix typos in docstrings.
13262 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13264 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13265 Invert the roles of character and string values for INSTEAD, so a
13266 string is used for the more common case of a defaulting prompt.
13268 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13270 * progmodes/ruby-mode.el (ruby-backward-sexp):
13271 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13272 * play/gamegrid.el (gamegrid-make-face):
13273 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13274 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13275 * notifications.el (notifications-notify):
13276 * net/xesam.el (xesam-search-engines):
13277 * net/quickurl.el (quickurl-list-insert):
13278 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13280 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13282 * startup.el (command-line): Update package subdirectory regexp.
13284 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13286 * allout.el (allout-abbreviate-flattened-numbering)
13287 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13289 * subr.el (read-char-choice): Only show the cursor after the prompt,
13290 not after the answer.
13292 2011-03-15 Kevin Ryde <user42@zip.com.au>
13294 * help-fns.el (variable-at-point): Skip leading quotes, if any
13297 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13299 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13302 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13304 * shell.el (shell): When called interactively, offer to change the
13305 shell file name on remote hosts.
13307 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13309 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13310 integration for LDAP parameters. The host, base, user or binddn,
13311 and secret tokens can be specified in a netrc file, for instance.
13312 This is optional because an `auth-source' parameter must be
13313 specified in the search attributes.
13315 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13317 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13319 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13321 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13322 into declaration. Remove redundant and harmful binding.
13324 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13326 * files.el (file-ownership-preserved-p): Pass `integer' as an
13327 explicit 2nd argument to `file-attributes'. If the file's owner
13328 is the Administrators group on Windows, and the current user is
13329 Administrator, consider that a match.
13331 * server.el (server-ensure-safe-dir): Consider server directory
13332 safe on MS-Windows if its owner is the Administrators group while
13333 the current Emacs user is Administrator. Use `=' to compare
13334 numerical UIDs, since they could be integers or floats.
13336 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13338 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13340 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13342 Sync with Tramp 2.2.1.
13344 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13346 * net/trampver.el: Update release number.
13348 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13350 * progmodes/compile.el (compilation--previous-directory): Fix up
13351 various nil/dead-marker mismatches (bug#8014).
13352 (compilation-directory-properties, compilation-error-properties):
13353 Don't call it at a position past the one we're about to change.
13355 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13356 Disable obsolescence warnings in the file that declares it.
13358 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13360 * allout-widgets.el (allout-widgets-tally):
13361 Initialize allout-widgets-tally as a hash table rather than nil to
13362 prevent mode-line redisplay warnings. Also, clarify the module
13363 description and fix a comment typo.
13365 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13367 * help-fns.el (describe-variable): Don't complete keywords.
13368 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13370 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13372 * emacs-lisp/package.el (package-version-join): Impose a standard
13373 string representation for pre/alpha/beta version lists.
13374 (package-unpack-single): Standardize the directory name by passing
13375 it through package-version-join.
13376 (package-strip-rcs-id): Accept any version string that does not
13377 signal an error in version-to-list.
13379 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13381 * simple.el (delete-trailing-whitespace): Return nil for the
13382 benefit of `write-file-functions'.
13384 2011-03-10 Glenn Morris <rgm@gnu.org>
13386 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13388 * vc/vc-git.el (vc-git-program): New option.
13389 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13390 (vc-git--call): Use it.
13392 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13394 * cus-edit.el (Custom-newline): If no button at point, look
13395 for a subgroup button at start-of-line. (Bug#2298)
13397 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13399 2011-03-10 Julien Danjou <julien@danjou.info>
13401 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13402 `cursor-type' is nil.
13404 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13406 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13408 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13410 * allout.el: Change so yank of distinctive-bullet items
13411 preserves the existing header prefix, rebulleting it if necessary,
13412 rather than replacing it. This is necessary for proper operation
13413 of cooperative addons like allout-widgets.
13414 (allout-make-topic-prefix, allout-rebullet-heading):
13415 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13416 value as alternate bullet to be used, instead of prompting the user
13417 for a bullet character.
13419 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13421 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13422 Do not use `tramp-file-name-port', because this returns also
13423 `tramp-default-port'.
13425 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13427 * net/rcirc.el (rcirc-handler-001): Remove useless
13428 with-rcirc-process-buffer.
13429 (rcirc-check-auth-status): Swap arguments to string-match.
13431 2011-03-09 Glenn Morris <rgm@gnu.org>
13433 * shell.el (shell-mode):
13434 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13436 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13437 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13439 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13441 * emacs-lisp/package.el (package-refresh-contents)
13442 (package-menu-execute): Use condition-case-no-debug.
13444 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13446 * simple.el (shell-command-to-string): Use `process-file'.
13448 * emacs-lisp/package.el (package-tar-file-info): Handle also
13451 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13452 Use `equal' for upload base check.
13454 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13456 * textmodes/texinfo.el (texinfo-environments):
13457 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13459 2011-03-08 Glenn Morris <rgm@gnu.org>
13461 * cus-start.el (cursor-in-non-selected-windows):
13462 Fix :set quoting oddness. (Bug#8192)
13464 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13465 in some setf expressions. (Bug#2159)
13467 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13469 * custom.el (custom-available-themes): Return themes in
13470 alphabetical order.
13472 See ChangeLog.15 for earlier changes.
13474 ;; Local Variables:
13478 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13480 This file is part of GNU Emacs.
13482 GNU Emacs is free software: you can redistribute it and/or modify
13483 it under the terms of the GNU General Public License as published by
13484 the Free Software Foundation, either version 3 of the License, or
13485 (at your option) any later version.
13487 GNU Emacs is distributed in the hope that it will be useful,
13488 but WITHOUT ANY WARRANTY; without even the implied warranty of
13489 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13490 GNU General Public License for more details.
13492 You should have received a copy of the GNU General Public License
13493 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.