Add new error and function `user-error'.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (user-error): New function.
4 * window.el (switch-to-buffer):
5 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6 (smerge-match-conflict):
7 * simple.el (previous-matching-history-element)
8 (next-matching-history-element, goto-history-element, undo-more)
9 (undo-start):
10 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12 (next-file, tags-loop-scan, list-tags, complete-tag):
13 * progmodes/compile.el (compilation-loop):
14 * mouse.el (mouse-minibuffer-check):
15 * man.el (Man-bgproc-sentinel, Man-goto-page):
16 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
17 (Info-history-forward, Info-follow-reference, Info-menu)
18 (Info-extract-menu-item, Info-extract-menu-counting)
19 (Info-forward-node, Info-backward-node, Info-next-menu-item)
20 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
21 (Info-next-reference, Info-prev-reference, Info-index)
22 (Info-index-next, Info-follow-nearest-node)
23 (Info-copy-current-node-name):
24 * imenu.el (imenu--make-index-alist)
25 (imenu-default-create-index-function, imenu-add-to-menubar):
26 * files.el (basic-save-buffer, recover-file):
27 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
28 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
29 (checkdoc-message-text, checkdoc-defun):
30 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
31 * cus-edit.el (customize-changed-options, customize-rogue)
32 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
33 (custom-variable-mark-to-reset-standard)
34 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
35 (custom-file):
36 * completion.el (check-completion-length):
37 * comint.el (comint-search-arg)
38 (comint-previous-matching-input-string-position)
39 (comint-previous-matching-input)
40 (comint-replace-by-expanded-history-before-point, comint-send-input)
41 (comint-copy-old-input, comint-backward-matching-input)
42 (comint-goto-process-mark, comint-set-process-mark):
43 * calendar/calendar.el (calendar-cursor-to-date): Use it.
44 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
45
46 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * dabbrev.el (dabbrev--ignore-case-p): New function.
49 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
50 Use it.
51
52 * files.el (automount-dir-prefix): Mark as obsolete.
53
54 2012-05-04 Glenn Morris <rgm@gnu.org>
55
56 * patcomp.el, play/bruce.el: Move to obsolete/.
57
58 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
59
60 Fix minor Y10k bugs.
61 * arc-mode.el (archive-unixdate):
62 * autoinsert.el (auto-insert-alist):
63 * calc/calc-forms.el (math-this-year):
64 * emacs-lisp/copyright.el (copyright-current-year)
65 (copyright-update-year, copyright):
66 * tar-mode.el (tar-clip-time-string):
67 * time.el (display-time-update):
68 Don't assume years have 4 digits.
69
70 2012-05-04 Chong Yidong <cyd@gnu.org>
71
72 * dos-w32.el (file-name-buffer-file-type-alist)
73 (direct-print-region-use-command-dot-com):
74 * ffap.el (ffap-menu-regexp):
75 * find-file.el (ff-special-constructs):
76 * follow.el (follow-debug):
77 * forms.el (forms--debug):
78 * iswitchb.el (iswitchb-all-frames):
79 * ido.el (ido-all-frames):
80 * emacs-lisp/timer.el (timer-max-repeats):
81 * mail/feedmail.el (feedmail-mail-send-hook)
82 (feedmail-mail-send-hook-queued):
83 * mail/footnote.el (footnote-signature-separator):
84 * mail/mailabbrev.el (mail-alias-separator-string)
85 (mail-abbrev-mode-regexp):
86 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
87 * progmodes/idlwave.el (idlwave-libinfo-file)
88 (idlwave-default-completion-case-is-down)
89 (idlwave-library-routines): Convert defvars to defcustoms.
90
91 * mail/rmail.el (rmail-decode-mime-charset):
92 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
93 (idlwave-shell-fix-inserted-breaks)
94 (idlwave-shell-activate-alt-keybindings)
95 (idlwave-shell-use-breakpoint-glyph):
96 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
97
98 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
99
100 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
101
102 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
103
104 * progmodes/verilog-mode.el (font-lock-keywords):
105 Fix mis-highligting auto. Reported by Craig Barner.
106 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
107 defines from global name space. Reported by Dan Dever.
108 (verilog-auto-reset, verilog-auto-reset-widths)
109 (verilog-auto-tieoff): Support using unbased numbers for
110 AUTORESET and AUTOTIEOFF.
111 (verilog-submit-bug-report): Update variable list.
112 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
113 parenthesis from not matching. Reported by Michael Rytting.
114 (verilog-auto-template-lint): Fix hash error when linting modules
115 with no used templates.
116 (verilog-warn, verilog-warn-error)
117 (verilog-warn-fatal): When non-interactive report multiple
118 warnings before exiting. Suggested by Brad Dobbie.
119 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
120 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
121 to report unused template errors. Reported by Brad Dobbie.
122 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
123 nets, bug438. Reported by Vns Blore.
124 (verilog-auto-inout-module, verilog-auto-reg)
125 (verilog-read-decls, verilog-read-sub-decls-sig)
126 (verilog-signals-edit-wire-reg, verilog-signals-with):
127 Fix passing of Verilog data types in ANSI input/output ports
128 such as "output logic" into the AUTOs. Special case "wire" and
129 "reg" for backwards compatibility presuming Verilog 2001.
130 (verilog-auto-ascii-enum): Add "auto enum" as alias.
131 (verilog-preprocess): Fix replication of preprocess output.
132 Reported by Brad Dobbie.
133 (verilog-auto-inst-interfaced-ports):
134 Create verilog-auto-inst-interfaced-ports, bug429.
135 Reported by Julian Gorfajn.
136 (verilog-after-save-font-hook)
137 (verilog-before-save-font-hook): New variable.
138 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
139 (verilog-save-font-mods): Wrap disabling fontification, reported
140 by David Rogoff.
141 (verilog-do-indent, verilog-pretty-declarations-auto)
142 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
143 Reported by Pierre-David Pfister.
144 (verilog-set-auto-endcomments): Fix endtask auto comments outside
145 of class declarations, bug292. Reported by Kevin Heilman.
146 (verilog-read-decls): Fix 'parameter type' not appearing in
147 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
148 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
149 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
150 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
151 Reported by David Kravitz.
152
153 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
154
155 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
156 assignment with tests in ifs and for loops.
157 (verilog-extended-complete-re, verilog-complete-reg): Change so
158 that DPI inport functions don't look like fuction declarations.
159 (verilog-pretty-expr): Don't line up assignment
160 operations to the test and increment in if and for loops
161 (verilog-extended-complete-re, verilog-complete-reg): Change so
162 that DPI inport functions don't look like fuction declarations
163
164 2012-05-03 Kenichi Handa <handa@m17n.org>
165
166 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
167 decoding, and show a warning message without signalling an error
168 (Bug#11282).
169
170 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * emacs-lisp/bytecomp.el
173 (byte-compile-file-form-custom-declare-variable): Compile all elements,
174 since cconv.el might have introduced :fun-body, internal-make-closure,
175 and friends for bytecomp to handle (bug#11391).
176 * custom.el (defcustom): Avoid ((λ ..) ..).
177
178 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
181
182 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
183
184 * notifications.el (dbus-debug):
185 * term/linux.el (gpm-mouse-enable):
186 * term/screen.el (xterm-register-default-colors): Declare.
187
188 2012-05-02 Chong Yidong <cyd@gnu.org>
189
190 * cus-start.el (gc-cons-percentage, exec-suffixes)
191 (dos-display-scancodes, dos-hyper-key, dos-super-key)
192 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
193 (make-cursor-line-fully-visible, void-text-area-pointer)
194 (font-list-limit): Add customization data.
195
196 * allout.el (allout-exposure-change-functions)
197 (allout-structure-added-functions)
198 (allout-structure-deleted-functions)
199 (allout-structure-shifted-functions): Rename abnormal hooks from
200 *-hook, and convert to defcustoms.
201 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
202 Convert to defcustoms.
203 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
204
205 * allout-widgets.el: Hook callers changed.
206
207 2012-05-02 Eli Zaretskii <eliz@gnu.org>
208
209 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
210 the yanked message in preference to the default value of
211 buffer-file-coding-system.
212
213 2012-05-02 Martin Rudalics <rudalics@gmx.at>
214
215 * window.el (display-buffer--action-function-custom-type):
216 Fix entry.
217
218 2012-05-02 Alan Mackenzie <acm@muc.de>
219
220 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
221
222 2012-05-01 Glenn Morris <rgm@gnu.org>
223
224 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
225
226 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
227
228 * cus-edit.el (custom-variable-documentation): Simplify with format.
229
230 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
231 Stefan Monnier <monnier@iro.umontreal.ca>
232
233 * simple.el (suggest-key-bindings, execute-extended-command):
234 Move from keyboard.c.
235
236 2012-05-01 Chong Yidong <cyd@gnu.org>
237
238 * follow.el: Eliminate advice.
239 (set-process-filter, process-filter, sit-for): Advice deleted.
240 (follow-mode-off-hook): Obsolete hook removed.
241 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
242 Vars deleted.
243 (follow-auto): Use a :set function.
244 (follow-mode): Rewritten. Don't advise process filters.
245 (follow-switch-to-current-buffer-all, follow-scroll-up)
246 (follow-scroll-down): Assume follow-mode is bound.
247 (follow-comint-scroll-to-bottom)
248 (follow-align-compilation-windows): New functions.
249 (follow--window-sorter): New function.
250 (follow-all-followers): Use it to explicitly sort windows by their
251 positions; don't make assumptions about next-window order.
252 (follow-windows-start-end, follow-delete-other-windows-and-split)
253 (follow-calc-win-start): Doc fix.
254 (follow-windows-aligned-p, follow-select-if-visible): Don't call
255 vertical-motion unnecessarily.
256 (follow-adjust-window): New function.
257 (follow-post-command-hook): Use it.
258 (follow-call-set-process-filter, follow-call-process-filter)
259 (follow-intercept-process-output, follow-tidy-process-filter-alist)
260 (follow-stop-intercept-process-output, follow-generic-filter):
261 Functions deleted.
262 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
263 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
264 New functions, replacing advice on scroll-bar-* commands.
265 (follow-mwheel-scroll): New function (Bug#4112).
266
267 * comint.el (comint-adjust-point): New function.
268 (comint-postoutput-scroll-to-bottom): Use it.
269 Call follow-comint-scroll-to-bottom for Follow mode buffers.
270
271 2012-05-01 Glenn Morris <rgm@gnu.org>
272
273 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
274 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
275 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
276 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
277 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
278 Remove no-byte-compile setting.
279
280 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
281
282 * minibuffer.el (completion-table-with-quoting): Fix compatibility
283 all-completions code to not return a number in the last cdr.
284
285 2012-04-30 Leo Liu <sdl.web@gmail.com>
286
287 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
288 read-only error.
289
290 2012-04-29 Chong Yidong <cyd@gnu.org>
291
292 * follow.el (follow-calc-win-end): Rewrite to handle partial
293 screen lines correctly (Bug#8390).
294 (follow-avoid-tail-recenter): Minor cleanup.
295
296 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 Avoid the obsolete `assoc' package.
299 * speedbar.el (speedbar-refresh): Avoid adelete.
300 (speedbar-file-lists): Simplify and avoid aput.
301 * man.el (Man--sections, Man--refpages): New vars, replacing
302 Man-sections-alist and Man-refpages-alist.
303 (Man-build-section-alist, Man-build-references-alist):
304 Use them; avoid aput.
305 (Man--last-section, Man--last-refpage): New vars.
306 (Man-follow-manual-reference): Use them.
307 Use the `default' arg of completing-read.
308 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
309
310 2012-04-27 Chong Yidong <cyd@gnu.org>
311
312 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
313
314 * startup.el (x-apply-session-resources): New function.
315
316 * term/ns-win.el (ns-initialize-window-system):
317 * term/w32-win.el (w32-initialize-window-system):
318 * term/x-win.el (x-initialize-window-system): Use it to properly
319 set menu-bar-mode and other vars from X resources, even if the
320 initial frame is not a window-system frame (Bug#2299).
321
322 * subr.el (read-key): Avoid running filter function when setting
323 up temporary tool bar entries (Bug#9922).
324
325 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
326
327 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
328 (Bug#11344)
329
330 2012-04-27 Chong Yidong <cyd@gnu.org>
331
332 * select.el (xselect--encode-string): New function, split from
333 xselect-convert-to-string.
334 (xselect-convert-to-string): Use it.
335 (xselect-convert-to-filename, xselect-convert-to-os)
336 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
337 returned strings are properly encoded (Bug#11315).
338
339 2012-04-27 Chong Yidong <cyd@gnu.org>
340
341 * simple.el (delete-active-region): Move to killing custom group.
342
343 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
344
345 * progmodes/which-func.el (which-func-current): Quote %
346 characters for mode-line processing.
347
348 2012-04-27 Chong Yidong <cyd@gnu.org>
349
350 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
351 reaching eob (Bug#11286).
352
353 2012-04-27 Eli Zaretskii <eliz@gnu.org>
354
355 * progmodes/gdb-mi.el (gdb-control-level): New variable.
356 (gdb): Make it buffer-local and init to zero.
357 (gdb-control-commands-regexp): New variable.
358 (gdb-send): Don't wrap in "-interpreter-exec console" if
359 gdb-control-level is positive. Increment gdb-control-level
360 whenever the command matches gdb-control-commands-regexp, and
361 decrement it each time the command is "end". (Bug#11279)
362
363 2012-04-27 Martin Rudalics <rudalics@gmx.at>
364
365 * window.el (adjust-window-trailing-edge, enlarge-window)
366 (shrink-window, window-resize):
367 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
368 windows (Bug#11276).
369
370 2012-04-27 Chong Yidong <cyd@gnu.org>
371
372 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
373 fix "missing prefix" warning. All callers changed.
374
375 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
376
377 * emacs-lisp/assoc.el: Move to obsolete/.
378
379 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
382
383 * term/ns-win.el (ns-define-service):
384 * progmodes/pascal.el (pascal-goto-defun):
385 * progmodes/js.el (js--read-tab):
386 * progmodes/etags.el (tags-lazy-completion-table):
387 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
388 * emacs-lisp/ewoc.el (ewoc--wrap):
389 * emacs-lisp/assoc.el (aput, adelete, amake):
390 * doc-view.el (doc-view-convert-current-doc):
391 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
392
393 2012-04-26 Chong Yidong <cyd@gnu.org>
394
395 * image.el (image-type-from-buffer): Only return supported image
396 type (Bug#9045).
397
398 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
399 value, for symmetry with diff-end-of-hunk.
400 (diff-split-hunk, diff-find-source-location)
401 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
402 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
403 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
404 compute the relevant hunk or file properly (Bug#6005).
405 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
406
407 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
408
409 * vc/vc-mtn.el:
410 * vc/vc-hg.el:
411 * vc/vc-git.el:
412 * vc/vc-dir.el:
413 * vc/vc-cvs.el:
414 * vc/vc-bzr.el:
415 * vc/vc-arch.el:
416 * vc/vc.el: Replace lexical-let by lexical-binding.
417 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
418 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
419 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
420
421 2012-04-26 Chong Yidong <cyd@gnu.org>
422
423 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
424 (diff-mode-shared-map): Bind it to / and [remap undo].
425
426 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
427 (ediff-window-setup-function): Use it as the default, to set up
428 windows based on whether the current frame is graphical (Bug#2138).
429 (ediff-choose-window-setup-function-automatically): Make obsolete.
430
431 * vc/ediff-init.el: Always define ediff-pixel-width/height.
432
433 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
434
435 * ffap.el: Remove old code for obsolete package.
436 (ffap-complete-as-file-p): Remove.
437
438 Use completion-table-with-quoting for comint and pcomplete.
439 * comint.el (comint--unquote&requote-argument)
440 (comint--unquote-argument, comint--requote-argument): New functions.
441 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
442 (comint-quote-filename): Use regexp-opt-charset.
443 (comint--common-suffix, comint--common-quoted-suffix)
444 (comint--table-subvert): Remove.
445 (comint-unquote-function, comint-requote-function): New vars.
446 (comint--complete-file-name-data): Use them with
447 completion-table-with-quoting.
448 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
449 * pcomplete.el (pcomplete-arg-quote-list)
450 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
451 (pcomplete-unquote-argument-function): Default to non-nil.
452 (pcomplete-unquote-argument): Simplify.
453 (pcomplete--common-quoted-suffix): Remove.
454 (pcomplete-requote-argument-function): New var.
455 (pcomplete--common-suffix): New function.
456 (pcomplete-completions-at-point): Use completion-table-with-quoting
457 and completion-table-subvert.
458
459 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
460 (minibuffer--double-dollars): Preserve properties.
461 (completion--sifn-requote): New function.
462 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
463
464 * minibuffer.el: Add support for completion of quoted/escaped data.
465 (completion-table-with-quoting, completion-table-subvert): New funs.
466 (completion--twq-try, completion--twq-all): New functions.
467 (completion--nth-completion): New function.
468 (completion-try-completion, completion-all-completions): Use it.
469
470 2012-04-25 Leo Liu <sdl.web@gmail.com>
471
472 * progmodes/python.el (python-pdbtrack-get-source-buffer):
473 Use compilation-message if available to find real filename.
474
475 2012-04-25 Chong Yidong <cyd@gnu.org>
476
477 * vc/diff-mode.el (diff-setup-whitespace): New function.
478 (diff-mode): Use it.
479
480 * vc/diff.el (diff-sentinel):
481 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
482 Whitespace mode variables based on diff style (Bug#8612).
483
484 2012-04-25 Leo Liu <sdl.web@gmail.com>
485
486 * progmodes/python.el (python-send-region): Add suffix .py to the
487 temp file.
488
489 * files.el (auto-mode-alist): Use javascript-mode instead.
490
491 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
492
493 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
494
495 * soap-client.el (soap-resolve-references-for-sequence-type)
496 (soap-resolve-references-for-array-type): Hack to prevent self
497 references, see Bug#9.
498 (soap-parse-envelope): Report the contents of the 'detail' node
499 when receiving a fault reply.
500 (soap-parse-envelope): Report the contents of the entire 'detail' node.
501
502 * soap-inspect.el (soap-sample-value-for-simple-type)
503 (soap-inspect-simple-type): New function.
504
505 * soap-client.el (soap-simple-type): New struct.
506 (soap-default-xsd-types, soap-default-soapenc-types)
507 (soap-decode-basic-type, soap-encode-basic-type):
508 support unsignedInt and double basic types.
509 (soap-resolve-references-for-simple-type)
510 (soap-parse-simple-type, soap-encode-simple-type): New function.
511 (soap-parse-schema): Parse xsd:simpleType declarations.
512
513 * soap-client.el (soap-default-xsd-types)
514 (soap-default-soapenc-types): Add integer, byte and anyURI types.
515 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
516 the local name of "soapenc:Array".
517 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
518 decoding integer, byte and anyURI xsd types.
519
520 2012-04-25 Chong Yidong <cyd@gnu.org>
521
522 * cus-edit.el (custom-buffer-create-internal): Update header text.
523
524 2012-04-25 Eli Zaretskii <eliz@gnu.org>
525
526 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
527 settings on 'system-type', not on 'window-system'. On MS-Windows,
528 set interactive-mode on in GDB.
529
530 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
533 (ruby-syntax-propertize-regexp): Remove.
534 (ruby-syntax-propertize-function): Split regexp into chunks.
535 Match following code directly.
536
537 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
538
539 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
540 (ruby-syntax-propertize-regexp): New function.
541 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
542 by a special keyword.
543
544 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
545 (ruby-syntax-general-delimiters-goto-beg)
546 (ruby-syntax-propertize-general-delimiters): New functions.
547 (ruby-syntax-propertize-function): Use them to handle GDL.
548 (ruby-font-lock-keywords): Move old handling of GDL...
549 (ruby-font-lock-syntactic-keywords): .. to here.
550 (ruby-calculate-indent): Adjust indentation for GDL.
551
552 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
553
554 * notifications.el (top): Remove unneeded declarations.
555 (notifications-specification-version): Change to "1.2".
556 (notifications-interface, notifications-notify-method)
557 (notifications-close-notification-method): Fix docstring.
558 (notifications-get-capabilities-method): New defconst.
559 (notifications-notify): Add :action-items, :resident and
560 :transient hints. Change "image_data" to "image-data" and
561 "image_path" to "image-path".
562 (notifications-get-capabilities): New defun.
563
564 2012-04-24 Leo Liu <sdl.web@gmail.com>
565
566 * progmodes/python.el: Move hideshow setup to the end.
567
568 2012-04-24 Martin Rudalics <rudalics@gmx.at>
569
570 * window.el (handle-select-window): Clear echo area since this is
571 no more done by read_char (Bug#11304).
572
573 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
576 and `/ M' to filter-derived-mode.
577 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
578 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
579 (ibuffer-mark-by-mode): Use default rather than initial-input.
580 (ibuffer-filter-by-derived-mode): Autoload and require-match.
581
582 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
583
584 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
585 (ibuffer-filter-by-derived-mode): New filter.
586 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
587
588 2012-04-23 Andreas Politz <politza@fh-trier.de>
589
590 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
591
592 2012-04-23 Chong Yidong <cyd@gnu.org>
593
594 * cus-edit.el (customize-apropos, customize-apropos-options):
595 Disable matching of non-option variables (Bug#11176).
596 (customize-option, customize-option-other-window)
597 (customize-changed-options): Doc fix.
598 (customize-apropos-options, customize-apropos-faces)
599 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
600
601 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
602 Fix word list splitting (Bug#11132).
603 (apropos-symbol, apropos-keybinding, apropos-label)
604 (apropos-property, apropos-function-button)
605 (apropos-variable-button, apropos-misc-button): New faces.
606 (apropos-symbol-face, apropos-keybinding-face)
607 (apropos-label-face, apropos-property-face, apropos-match-face):
608 Variables removed (Bug#8396).
609 (apropos-library-button, apropos-format-plist, apropos-print)
610 (apropos-print-doc, apropos-describe-plist): Callers changed.
611
612 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
613
614 * net/xesam.el (xesam-mode-map): Use let-bound map in
615 initialization. (Bug#11292)
616
617 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
618
619 Preserve ispell session localwords when switching back to
620 original buffer.
621
622 * ispell.el (ispell-buffer-session-localwords): New buffer-local
623 variable to hold buffer session localwords.
624 (ispell-kill-ispell): add option 'clear to delete session
625 localwords.
626 (ispell-command-loop, ispell-change-dictionary)
627 (ispell-buffer-local-words): Preserve session localwords when
628 needed.
629
630 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
631 Preserve session localwords when needed.
632
633 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
634
635 * ispell.el (ispell-insert-word) Remove unneeded function using
636 obsolete `translation-table-for-input'.
637 (ispell-word, ispell-process-line, ispell-complete-word):
638 Use plain `insert' instead of removed `ispell-insert-word'.
639
640 2012-04-22 Chong Yidong <cyd@gnu.org>
641
642 * cus-edit.el (custom-variable-menu)
643 (custom-variable-reset-saved, custom-face-menu)
644 (custom-face-reset-saved): If there is no saved value, make the
645 "reset-saved" operation bring back the default (Bug#9509).
646 (custom-face-state): Properly detect themed faces.
647
648 * faces.el (face-spec-set): Stop supporting deprecated form of
649 third arg.
650
651 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
652
653 Move functions from C to Lisp. Make non-blocking method calls
654 the default. Implement further D-Bus standard interfaces.
655
656 * net/dbus.el (dbus-message-internal): Declare function.
657 Remove unneeded function declarations.
658 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
659 (dbus-message-type-method-return, dbus-message-type-error)
660 (dbus-message-type-signal): Declare variables. Remove local
661 definitions.
662 (dbus-interface-dbus, dbus-interface-peer)
663 (dbus-interface-introspectable, dbus-interface-properties)
664 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
665 Adapt docstring.
666 (dbus-interface-objectmanager): New defconst.
667 (dbus-call-method, dbus-call-method-asynchronously)
668 (dbus-send-signal, dbus-method-return-internal)
669 (dbus-method-error-internal, dbus-register-service)
670 (dbus-register-signal, dbus-register-method): New defuns, moved
671 from dbusbind.c
672 (dbus-call-method-handler, dbus-setenv)
673 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
674 New defuns.
675 (dbus-call-method-non-blocking): Make it an obsolete function.
676 (dbus-unregister-object, dbus-unregister-service)
677 (dbus-handle-event, dbus-register-property)
678 (dbus-property-handler): Obey the new structure of
679 `bus-registered-objects'.
680 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
681 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
682 Use `dbus-call-method'.
683
684 2012-04-22 Chong Yidong <cyd@gnu.org>
685
686 * cus-edit.el (custom-commands, custom-reset-menu)
687 (Custom-reset-standard): Tweak labels.
688 (custom-reset-button-menu): Change default to t.
689 (custom-buffer-create-internal): For the custom-reset-button-menu
690 case, put the revert button first.
691 (custom-group-subtitle): New face.
692 (custom-group-value-create): Align docstring to a specific column.
693
694 * wid-edit.el (widget-documentation-link-add): Don't handle
695 indentation in this function.
696 (widget-documentation-string-indent-to): New function.
697 (widget-documentation-string-value-create): Use it.
698
699 * autorevert.el (auto-revert):
700 * epg-config.el (epg):
701 * ibuffer.el (ibuffer):
702 * mpc.el (mpc):
703 * ses.el (ses):
704 * eshell/eshell.el (eshell):
705 * net/ange-ftp.el (ange-ftp):
706 * progmodes/ebnf2ps.el (postscript):
707 * progmodes/flymake.el (flymake):
708 * progmodes/prolog.el (prolog):
709 * progmodes/verilog-mode.el (verilog-mode):
710 * progmodes/which-func.el (which-func):
711 * term/xterm.el (xterm):
712 * textmodes/picture.el (picture):
713 * textmodes/tildify.el (tildify):
714 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
715 customization buffers.
716
717 2012-04-22 Alan Mackenzie <acm@muc.de>
718
719 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
720 Adding a ) can hide the resulting (..) from searches. Fix it.
721 Bound the backward search to the position of the existing (.
722
723 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
724
725 * progmodes/verilog-mode.el (verilog-mode): Check whether
726 which-func-modes is t before adding verilog-mode.
727 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
728
729 2012-04-21 Leo Liu <sdl.web@gmail.com>
730
731 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
732
733 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
734
735 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
736 filling of the last column of a table (Bug#5635).
737 (woman-find-next-control-line): New arg, specifying an additional
738 regexp component for the control line.
739 (woman2-roff-buffer): Use it.
740 (woman-break-table): New function.
741 (woman2-TS): Use it.
742
743 2012-04-21 Chong Yidong <cyd@gnu.org>
744
745 * woman.el (woman-set-buffer-display-table, woman-decode-region)
746 (woman-horizontal-escapes, woman-negative-vertical-space)
747 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
748 (WoMan-warn-ignored): Use ?\s instead of ?\ .
749
750 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
751
752 * minibuffer.el (completion-file-name-table): Complete user names.
753
754 2012-04-20 Leo Liu <sdl.web@gmail.com>
755
756 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
757 and pcase-let*.
758
759 2012-04-20 Chong Yidong <cyd@gnu.org>
760
761 * server.el (server-execute): Respect initial-buffer-choice if it
762 is a string and there are no files to open (Bug#2825).
763 (server-create-window-system-frame, server-create-tty-frame):
764 Don't switch buffers here.
765 (server-process-filter): Only try to open a window system frame if
766 compiled with graphical support (Bug#8314).
767
768 2012-04-20 Dan Nicolaescu <dann@gnu.org>
769
770 * battery.el (battery-echo-area-format): Display remaining time
771 for sysfs backend too (Bug#11269).
772 (battery-linux-sysfs): Fix conditional for the charge.
773
774 2012-04-20 Chong Yidong <cyd@gnu.org>
775
776 * progmodes/gdb-mi.el (gdb): Revert previous change.
777 (gdb-inferior-io--init-proc): New function.
778 (gdb-init-1): Use it.
779 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
780 responsible for allocating a new pty and hooking it to gdb when
781 the old pty gets an EIO due to process exit.
782 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
783 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
784 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
785
786 2012-04-20 Eli Zaretskii <eliz@gnu.org>
787
788 * window.el (window-min-size, window-sizable, window-min-delta)
789 (window-max-delta, window--resizable, window-resizable)
790 (window-total-size, window-full-height-p, window-full-width-p)
791 (window-in-direction, window--resize-mini-window, window-resize)
792 (window--resize-child-windows-normal)
793 (window--resize-child-windows, window--resize-siblings)
794 (window--resize-this-window, adjust-window-trailing-edge)
795 (enlarge-window, shrink-window): Doc fixes.
796
797 2012-04-20 Chong Yidong <cyd@gnu.org>
798
799 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
800 New function to call delete-process on the gdb-inferior buffer's pty.
801 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
802 pty process (Bug#11273).
803 (gdb-update): New arg to suppress talking to the gdb process.
804 (gdb-done-or-error): Use it.
805 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
806 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
807 sentinel not being called.
808
809 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
810
811 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
812
813 2012-04-20 Glenn Morris <rgm@gnu.org>
814
815 * net/network-stream.el (open-network-stream): Doc fix.
816
817 2012-04-20 Chong Yidong <cyd@gnu.org>
818
819 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
820
821 2012-04-20 Alan Mackenzie <acm@muc.de>
822
823 Ensure searching for keywords is case sensitive.
824
825 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
826 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
827 (c-defun-name, c-mark-function, c-cpp-define-name)
828 (c-comment-indent, c-scan-conditionals, c-indent-defun)
829 (c-context-line-break): Bind case-fold-search to nil.
830
831 * progmodes/cc-mode.el (c-font-lock-fontify-region):
832 Bind case-fold-search to nil.
833
834 2012-04-20 Chong Yidong <cyd@gnu.org>
835
836 * mail/sendmail.el (mail-bury): Call return action with the right
837 Rmail buffer (Bug#11242).
838
839 * server.el (server-process-filter): Handle corner case where both
840 tty and nowait options are present (Bug#11102).
841
842 2012-04-20 Eli Zaretskii <eliz@gnu.org>
843
844 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
845 (top level): Put into the executable the ident-style '$Id:' tag on
846 windows-nt as well.
847
848 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
849
850 * electric.el (electric-indent-post-self-insert-function): Check that
851 electric-indent-mode is enabled in current buffer.
852
853 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
854
855 * imenu.el (imenu-progress-message): Restore; it is "used" in
856 erc/erc-imenu.el and net/snmp-mode.el.
857
858 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
859
860 * avoid.el (mouse-avoidance-mode): Mark unused arg.
861 (mouse-avoidance-nudge-mouse): Remove unused binding.
862
863 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
864
865 * descr-text.el (describe-char):
866 * progmodes/python.el (python-describe-symbol):
867 Don't call `toggle-read-only', set `buffer-read-only'.
868
869 * imenu.el (imenu-default-goto-function): Mark unused args.
870 (imenu-progress-message): Remove obsolete macro; all callers changed.
871
872 * subr.el (keymap-canonicalize): Remove unused binding.
873 (read-passwd): Mark unused arg.
874
875 * tutorial.el (tutorial--display-changes): Remove unused binding.
876 (tutorial--save-tutorial-to): Remove unused variable.
877
878 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
879 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
880 (package-generate-autoloads, package-menu--generate)
881 (package-menu--find-upgrades): Remove unused bindings.
882
883 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
884 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
885 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
886 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
887 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
888 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
889 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
890 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
891 (cua-delete-char-rectangle): Mark unused args.
892 (cua-align-rectangle): Remove unused binding.
893
894 * mail/rmail.el (compilation--message->loc)
895 (epa--find-coding-system-for-mime-charset): Declare.
896
897 * net/dbus.el (dbus-register-service): Declare.
898 (dbus-name-owner-changed-handler): Remove unused binding.
899
900 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
901 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
902 (nxml-scan-backward-within): Mark unused arg.
903 (nxml-dynamic-markup-word): Remove unused binding.
904
905 * mouse.el (mouse-menu-major-mode-map):
906 * emacs-lisp/authors.el (authors-scan-change-log)
907 (authors-add-to-author-list):
908 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
909 * emacs-lisp/smie.el (smie-auto-fill):
910 * mail/sendmail.el (mail-bury):
911 * mail/unrmail.el (unrmail):
912 * net/tls.el (open-tls-stream):
913 * textmodes/picture.el (picture-mouse-set-point):
914 Remove unused bindings.
915
916 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
917
918 * net/tramp.el (tramp-action-password): Let-bind
919 `enable-recursive-minibuffers' to t.
920
921 2012-04-18 Sam Steingold <sds@gnu.org>
922
923 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
924 instead of 'string to accommodate values like [f11].
925 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
926 * progmodes/gdb-mi.el: Likewise.
927
928 2012-04-18 Leo Liu <sdl.web@gmail.com>
929
930 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
931 current buffer.
932 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
933 LOCAL is nil.
934
935 2012-04-18 Chong Yidong <cyd@gnu.org>
936
937 * simple.el (line-move): Use forward-line if in batch mode
938 (Bug#11053).
939
940 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
941
942 * files.el (after-find-file): Do not try to add a final newline if
943 the buffer is read-only (Bug#11156).
944
945 2012-04-17 Richard Stallman <rms@gnu.org>
946
947 * mail/rmail.el (rmail-start-mail):
948 Pass (rmail-mail-return...) for the return-action.
949 Pass (rmail-yank-current-message...) for the yank-action.
950 (rmail-yank-current-message): New function.
951 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
952 (rmail-reply): Likewise.
953 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
954
955 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
956 buffer, not the last. Reject temp buffers. Use the rmail-mode
957 buffer, not newbuf.
958
959 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
960
961 * server.el (server-ensure-safe-dir): Simplify.
962
963 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
964
965 * emacs-lisp/smie.el: Provide smarter auto-filling.
966 (smie-auto-fill): New function.
967 (smie-setup): Use it.
968
969 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
970
971 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
972
973 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
974 (comment-indent): Use it.
975
976 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
977
978 * ses.el: The overall change is to add cell renaming, that is
979 setting fancy names for cell symbols other than name matching
980 "\\`[A-Z]+[0-9]+\\'" regexp .
981 (ses-localvars): Add ses--renamed-cell-symb-list.
982 (ses-create-cell-variable): New defun.
983 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
984 (ses-relocate-formula): Relocate formulas only for cells the
985 symbols of which are not renamed, i.e. symbols whose names do not
986 match regexp "\\`[A-Z]+[0-9]+\\'".
987 (ses-relocate-all): Relocate values only for cells the symbols of
988 which are not renamed.
989 (ses-load): Create cells variables as the (ses-cell ...) are read,
990 in order to check row col consistency with cell symbol name only
991 for cells that are not renamed.
992 (ses-replace-name-in-formula): New defun.
993 (ses-rename-cell): New defun.
994
995 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
996
997 * progmodes/perl-mode.el (perl-indent-parens-as-block):
998 New option (bug#11118).
999 (perl-calculate-indent): Respect it.
1000
1001 2012-04-17 Glenn Morris <rgm@gnu.org>
1002
1003 * dired-aux.el (dired-mark-read-string): Doc fix.
1004
1005 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1006
1007 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1008 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1009
1010 2012-04-17 Glenn Morris <rgm@gnu.org>
1011
1012 * mouse.el (mouse-drag-track):
1013 * speedbar.el (speedbar-frame-mode):
1014 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1015
1016 2012-04-16 Leo Liu <sdl.web@gmail.com>
1017
1018 * progmodes/python.el: Trivial cleanup.
1019
1020 2012-04-16 Glenn Morris <rgm@gnu.org>
1021
1022 * vc/vc.el (vc-string-prefix-p):
1023 * vc/pcvs-util.el (cvs-string-prefix-p):
1024 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1025 * mpc.el (mpc-string-prefix-p):
1026 Make all of these into obsolete aliases for string-prefix-p.
1027 Update callers.
1028 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1029
1030 * textmodes/two-column.el: Move custom options to the start.
1031 (frame-width): Remove compat definition.
1032 (2C-associate-buffer, 2C-dissociate):
1033 Use with-current-buffer rather than save-excursion.
1034 (2C-dissociate): Force a mode-line update.
1035 (2C-autoscroll): Use ignore-errors.
1036
1037 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1038 Autoload trivia.
1039
1040 * emacs-lisp/cl-extra.el (*random-state*):
1041 Remove unnecessary declaration.
1042
1043 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1044
1045 * play/cookie1.el (cookie-snarf):
1046 Give an explicit error if input file cannot be read.
1047
1048 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1049
1050 * progmodes/perl-mode.el (c-macro-expand):
1051 Remove unnecessary autoload (it is in loaddefs.el).
1052
1053 * textmodes/picture.el (picture-desired-column)
1054 (picture-update-desired-column): Convert comments to doc-strings.
1055 (picture-substitute): Remove function.
1056 (picture-mode-map): Initialize in the defvar.
1057
1058 * woman.el: Remove eval-after-load for tar-mode.
1059 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1060 (woman-tar-extract-file): Autoload it.
1061
1062 * frame.el (automatic-hscrolling): Make this alias obsolete.
1063
1064 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1065
1066 * ispell.el (ispell-set-spellchecker-params): Post-process
1067 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1068 (ispell-dictionary-base-alist): Revert to original XEmacs
1069 friendly version for default. [:alpha:] will be added in
1070 `ispell-set-spellchecker-params' if needed
1071
1072 2012-04-16 Chong Yidong <cyd@gnu.org>
1073
1074 * image.el (imagemagick--extension-regexp): New variable.
1075 (imagemagick-register-types): Use it.
1076 (imagemagick-types-inhibit): Add :set function. Allow new value
1077 of t to inhibit all types.
1078
1079 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1080 so we can preload it.
1081
1082 * loadup.el (fboundp): Preload regexp-opt, needed by
1083 imagemagick-register-types.
1084
1085 2012-04-15 Chong Yidong <cyd@gnu.org>
1086
1087 * frame.el (scrolling): Remove nearly unused customization group.
1088
1089 * scroll-all.el (scroll-all-mode): Move to windows group.
1090
1091 2012-04-15 Chong Yidong <cyd@gnu.org>
1092
1093 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1094
1095 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1098 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1099
1100 2012-04-15 Glenn Morris <rgm@gnu.org>
1101
1102 * simple.el (process-file-side-effects): Doc fix.
1103
1104 2012-04-15 Glenn Morris <rgm@gnu.org>
1105
1106 * international/mule-cmds.el (set-language-environment): Doc fix.
1107
1108 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1109
1110 * server.el (server-auth-key, server-generate-key): Doc fixes.
1111 (server-get-auth-key): Doc fix. Use `string-match-p'.
1112 (server-start): Reflow docstring.
1113
1114 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1115
1116 * server.el (server-generate-key): `called-interactively-p'
1117 requires a parameter.
1118
1119 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1120
1121 * server.el (server-auth-key): New variable.
1122 (server-generate-key, server-get-auth-key): New function.
1123 (server-start): Use the new variable and functions to allow
1124 setting a permanent server key (bug#9423).
1125
1126 2012-04-14 Leo Liu <sdl.web@gmail.com>
1127
1128 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1129
1130 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1131
1132 Spelling fixes.
1133 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1134 Emacs uses American spelling.
1135
1136 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1137
1138 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1139 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1140 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1141 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1142
1143 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1144
1145 * progmodes/which-func.el (which-func-modes): Change default.
1146
1147 2012-04-14 Kim F. Storm <storm@cua.dk>
1148
1149 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1150 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1151
1152 2012-04-14 Chong Yidong <cyd@gnu.org>
1153
1154 * custom.el (custom-theme-set-variables): Doc fix.
1155
1156 2012-04-14 Glenn Morris <rgm@gnu.org>
1157
1158 * international/mule.el (set-auto-coding-for-load): Doc fix.
1159
1160 2012-04-14 Alan Mackenzie <acm@muc.de>
1161
1162 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1163 imenu work again for Objective C Mode. Correct the *-index values,
1164 these having been disturbed by a previous change in 2011-08.
1165
1166 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1167 Correct two search limits.
1168
1169 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1170
1171 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1172
1173 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1174
1175 * international/characters.el: Fix sorting.
1176
1177 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1178
1179 * international/characters.el: Add more missing Latin case pairs.
1180
1181 2012-04-14 Glenn Morris <rgm@gnu.org>
1182
1183 * files.el (dir-locals-set-class-variables): Doc fix.
1184
1185 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1186
1187 * international/characters.el: Add set-case-syntax-pair call for
1188 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1189 counterpart. (Bug#11209)
1190
1191 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1192
1193 2012-04-14 Glenn Morris <rgm@gnu.org>
1194
1195 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1196
1197 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1198
1199 * textmodes/ispell.el (ispell-dictionary-base-alist):
1200 Add data for Hebrew.
1201
1202 2012-04-14 Chong Yidong <cyd@gnu.org>
1203
1204 * net/rcirc.el (rcirc-cmd-quit):
1205 Revert 2012-03-18 change (Bug#11192).
1206
1207 2012-04-14 Glenn Morris <rgm@gnu.org>
1208
1209 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1210
1211 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1212
1213 * minibuffer.el (completion-in-region-mode-map):
1214 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1215
1216 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1217
1218 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1219
1220 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1221
1222 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1223 to allow `C-M-f' and `C-M-b' to move to the nearest path
1224 separator (bug#9511).
1225
1226 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1227
1228 * avoid.el: Require cl when compiling. And also move the
1229 `provide' to the end.
1230
1231 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1232
1233 * avoid.el (mouse-avoidance-banish-position): New variable.
1234 (mouse-avoidance-banish-destination): Use it (bug#10165).
1235
1236 2012-04-13 Leo Liu <sdl.web@gmail.com>
1237
1238 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1239
1240 2012-04-13 Ken Brown <kbrown@cornell.edu>
1241
1242 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1243 this is no longer needed now that cygstart understands file:// URLs.
1244 (browse-url-filename-alist): For the same reason, don't modify
1245 file:// URLs on Cygwin.
1246
1247 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1248
1249 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1250 the region on shift if the binding is already shifted (bug#11221).
1251
1252 2012-04-12 Glenn Morris <rgm@gnu.org>
1253
1254 * mail/mailpost.el: Move to obsolete/.
1255
1256 2012-04-12 Drew Adams <drew.adams@oracle.com>
1257
1258 * imenu.el (imenu--generic-function): Ignore invisible definitions
1259 (bug#10123).
1260
1261 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1262
1263 * hexl.el (hexl-bits): New variable.
1264 (hexl-options): Mention the variable in the doc string.
1265 (hexl-rulerise, hexl-line-displen): New functions.
1266 (hexl-mode): Mention the new variable.
1267 (hexl-mode, hexl-current-address, hexl-current-address):
1268 Use the displen.
1269 (hexl-ascii-start-column): New function.
1270 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1271 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1272
1273 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1274
1275 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1276 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1277 the encoding, as expected by hunspell.
1278
1279 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * battery.el (battery--linux-sysfs-regexp): New const.
1282 (battery-status-function): Use it. Remove yeeloong special case.
1283 (battery-yeeloong-sysfs): Remove.
1284 (battery-echo-area-format): Remove yeeloong special case.
1285
1286 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1287
1288 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1289 Reported by Noah Friedman.
1290
1291 * subr.el (read-passwd): Use read-string.
1292
1293 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1294
1295 * vcursor.el (vcursor-move): Increase the priority of the overlay
1296 (bug#9663).
1297
1298 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1299
1300 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1301 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1302
1303 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1304
1305 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1306 define-minor-mode (bug#10760).
1307
1308 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1309
1310 * progmodes/grep.el (rgrep): Tweak the find command line so
1311 that directories matching `grep-find-ignored-files' won't be
1312 pruned (bug#10351).
1313
1314 2012-04-11 Chong Yidong <cyd@gnu.org>
1315
1316 * startup.el (command-line): Remove support for long-obsolete
1317 variable font-lock-face-attributes.
1318
1319 2012-04-11 Glenn Morris <rgm@gnu.org>
1320
1321 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1322
1323 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1324
1325 * window.el (window--state-get-1): Obey window-point-insertion-type.
1326
1327 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1328
1329 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1330 to previous function when point is on the first character of a
1331 function. Take care of that in `narrow-to-defun' (bug#6157).
1332
1333 2012-04-11 Glenn Morris <rgm@gnu.org>
1334
1335 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1336 not just file-errors.
1337
1338 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1339 (vc-bzr-sha1): Use internal sha1.
1340
1341 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1344
1345 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1346
1347 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1348 that start in the middle of the line (bug#10496).
1349
1350 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1351
1352 * battery.el (battery-linux-proc-acpi): Only one battery is
1353 discharged at a time, but that seems to confuse battery.el when
1354 computing `rate-type' for the battery not being discharged
1355 (bug#10332).
1356
1357 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1358
1359 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1360
1361 * international/quail.el: Use dolist and simplify.
1362 (quail-define-package, quail-update-keyboard-layout)
1363 (quail-define-rules): Use dolist.
1364 (quail-insert-kbd-layout, quail-get-translation): CSE.
1365
1366 * tmm.el: Use dolist, remove left over hook.
1367 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1368 Use dolist.
1369 (calendar-load-hook): Don't mess with it.
1370
1371 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1372 Use derived-mode-p. Run the diff asynchronously.
1373
1374 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1375
1376 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1377
1378 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1379
1380 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1381 (list-dynamic-libraries--loaded): New function.
1382 (list-dynamic-libraries--refresh): Use it.
1383
1384 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1385
1386 * progmodes/python.el (python-fill-paragraph):
1387 Make python-fill-region in a multiline string work when font-lock is
1388 disabled (bug#7018).
1389
1390 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1391
1392 * language/european.el (cp775): Add oem/legacy (en)coding on
1393 DOS/MS Windows for the Baltic languages. There are still plenty
1394 of texts written in this encoding/codepage (bug#6519).
1395
1396 2012-04-10 Glenn Morris <rgm@gnu.org>
1397
1398 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1399 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1400
1401 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1402
1403 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1404 next-line "n" and previous-line "p" in order to make recentf more
1405 consistent with ibuffer, dired or org-mode (bug#9387).
1406
1407 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1408
1409 * image.el (put-image): Return the overlay created instead of the
1410 optional input string (bug#7834). Note that this may break code
1411 that is (for some reason or other) depending on `put-image'
1412 returning the string.
1413
1414 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1415
1416 * simple.el (zap-to-char): Allow zapping using input methods
1417 (bug#1580).
1418
1419 * textmodes/fill.el (fill-region): Leave point and mark where they
1420 were before filling (bug#5399).
1421
1422 2012-04-09 Glenn Morris <rgm@gnu.org>
1423
1424 * version.el (emacs-bzr-get-version):
1425 Handle lightweight checkouts of local branches.
1426
1427 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1428
1429 * international/characters.el: Recover lost case pairs. (Bug#11209)
1430
1431 2012-04-09 Chong Yidong <cyd@gnu.org>
1432
1433 * custom.el (custom-variable-p): Return nil for non-symbol
1434 arguments instead of signaling an error.
1435 (user-variable-p): Obsolete alias for custom-variable-p.
1436
1437 * apropos.el (apropos-variable):
1438 * files-x.el (read-file-local-variable):
1439 * simple.el (set-variable):
1440 * woman.el (woman-mini-help):
1441 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1442
1443 2012-04-09 Glenn Morris <rgm@gnu.org>
1444
1445 * startup.el (normal-top-level): Don't look for leim-list.el
1446 in places where it will not be found. (Bug#910)
1447
1448 * international/mule-cmds.el (set-default-coding-systems):
1449 * files.el (normal-mode):
1450 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1451 This function was removed with ucs-tables.el in 2008.
1452
1453 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1454
1455 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1456 ispell-encoding8-command to "-i", without a trailing space.
1457 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1458 separate command-line arguments, to specify the encoding, since
1459 that's how hunspell expects it.
1460
1461 2012-04-08 Glenn Morris <rgm@gnu.org>
1462
1463 * loadup.el: Load bindings before cus-start.
1464 This reduces somewhat the number of "rogue" settings in emacs -Q.
1465
1466 2012-04-07 Glenn Morris <rgm@gnu.org>
1467
1468 * version.el (emacs-bzr-get-version): New function.
1469 (emacs-bzr-version): New variable.
1470 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1471 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1472
1473 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1474
1475 * international/uni-bidi.el, international/uni-category.el:
1476 * international/uni-combining.el, international/uni-decimal.el:
1477 * international/uni-decomposition.el, international/uni-digit.el:
1478 * international/uni-lowercase.el, international/uni-mirrored.el:
1479 * international/uni-name.el, international/uni-numeric.el:
1480 * international/uni-titlecase.el, international/uni-uppercase.el:
1481 Update for Unicode 6.1.
1482
1483 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1484
1485 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1486
1487 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1488
1489 * window.el (shrink-window): Mention the `window-min-height'
1490 variable in the doc string.
1491
1492 2012-04-05 Bastien Guerry <bzg@altern.org>
1493
1494 * color.el (color-lighten-name): Fix typo.
1495
1496 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1497
1498 * server.el (server--on-display-p): New function.
1499 (server--on-display-p): Use it.
1500
1501 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1502
1503 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1504 (bug#11145).
1505
1506 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1507
1508 * comint.el (comint--common-quoted-suffix): Check string boundary
1509 before comparing (bug#11158).
1510 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1511
1512 2012-04-04 Chong Yidong <cyd@gnu.org>
1513
1514 * minibuffer.el (completion-extra-properties): Doc fix.
1515
1516 * subr.el (delayed-warnings-hook): Doc fix.
1517
1518 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1519
1520 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1521 selection (Bug#11159).
1522 (epa-insert-keys): Inform that the default public key will be
1523 exported if no key is selected.
1524
1525 2012-04-04 Richard Stallman <rms@gnu.org>
1526
1527 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1528
1529 2012-04-03 Chong Yidong <cyd@gnu.org>
1530
1531 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1532 mail-insert-file, not its obsolete alias mail-attach-file.
1533
1534 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1535
1536 * notifications.el (notifications-notify): Fix docstring.
1537
1538 2012-04-02 Glenn Morris <rgm@gnu.org>
1539
1540 * emacs-lisp/authors.el (authors-aliases): Another addition.
1541
1542 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1543
1544 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1545 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1546 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1547
1548 2012-04-01 Chong Yidong <cyd@gnu.org>
1549
1550 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1551 Handle root directory properly.
1552 (copy-directory): Caller changed.
1553
1554 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1555 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1556
1557 2012-03-31 Glenn Morris <rgm@gnu.org>
1558
1559 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1560
1561 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1562
1563 * calendar/calendar.el (calendar-window-list)
1564 (calendar-hide-window): Restore. (Bug#11140)
1565 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1566
1567 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1568
1569 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1570
1571 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1572 Check if file is a symlink (Bug#10489).
1573
1574 * files.el (copy-directory): Likewise.
1575
1576 2012-03-30 Chong Yidong <cyd@gnu.org>
1577
1578 * image.el (imagemagick-types-inhibit)
1579 (imagemagick-register-types): Doc fix.
1580
1581 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1582
1583 * ispell.el (ispell-get-extended-character-mode):
1584 Disable extended-char-mode for hunspell. hunspell does not support it
1585 and treats ~word as ordinary words in pipe mode.
1586
1587 2012-03-30 Glenn Morris <rgm@gnu.org>
1588
1589 * tutorial.el (help-with-tutorial): Ensure local variables don't
1590 happen to make the buffer read-only. (Bug#11127)
1591
1592 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1595 (perl-calculate-indent): Return `noindent' in strings.
1596
1597 2012-03-28 Sam Steingold <sds@gnu.org>
1598
1599 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1600 instead of the broken adhockery which does not prevent calendar
1601 buffers from being displayed at random after exit.
1602 (calendar-window-list, calendar-hide-window): Remove the broken
1603 adhockery.
1604
1605 2012-03-28 Glenn Morris <rgm@gnu.org>
1606
1607 * replace.el (query-replace-map): Doc fix.
1608
1609 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1610
1611 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1612 contents. (Bug#11109)
1613
1614 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1615
1616 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1617 (bug#11077).
1618 (avl-tree--check, avl-tree--check-node): New funs.
1619
1620 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1621
1622 * window.el (switch-to-visible-buffer): New option.
1623 (switch-to-prev-buffer, switch-to-next-buffer):
1624 Observe switch-to-visible-buffer. Make sure that checking for a window
1625 showing a buffer already is done on the same frame.
1626
1627 2012-03-27 Glenn Morris <rgm@gnu.org>
1628
1629 * startup.el (mail-host-address): Doc fix.
1630
1631 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1632
1633 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1634 than 197 variables.
1635
1636 2012-03-26 Ami Fischman <ami@fischman.org>
1637
1638 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1639
1640 2012-03-26 Glenn Morris <rgm@gnu.org>
1641
1642 * files.el (save-buffers-kill-emacs): Doc fix.
1643
1644 * startup.el (normal-top-level, command-line, command-line-1):
1645 Give them doc strings.
1646
1647 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1648
1649 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1650 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1651
1652 2012-03-25 Chong Yidong <cyd@gnu.org>
1653
1654 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1655 theme if it was previously enabled before (Bug#11031).
1656
1657 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1658 spec with custom-face-get-current-spec if its :shown-value is not
1659 determined yet (Bug#9337).
1660 (customize-create-theme, custom-theme-revert): Doc fixes.
1661
1662 * button.el (button-at): Minor addition to docstring.
1663
1664 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1665
1666 * vc/vc.el (vc-merge): Fix a prompt.
1667
1668 2012-03-24 Chong Yidong <cyd@gnu.org>
1669
1670 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1671 point (Bug#9623).
1672
1673 * button.el (button-at): Minor addition to docstring.
1674
1675 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * newcomment.el (comment-choose-indent): No space after BOL.
1678
1679 2012-03-22 Sam Steingold <sds@gnu.org>
1680
1681 * window.el (switch-to-prev-buffer): Revert last patch because the
1682 bug turned out to be an advertised feature (Elisp manual 28.14).
1683
1684 2012-03-22 Glenn Morris <rgm@gnu.org>
1685
1686 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1687 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1688
1689 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1690
1691 * net/network-stream.el (network-stream-open-starttls): Make error
1692 message under Windows be less misleading.
1693
1694 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1695
1696 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1697 understands (bug#9942).
1698
1699 2012-03-22 Chong Yidong <cyd@gnu.org>
1700
1701 * simple.el (end-of-visible-line): Handle return value of
1702 next-single-property-change properly (Bug#9371).
1703
1704 2012-03-22 Kenichi Handa <handa@m17n.org>
1705
1706 * international/quail.el (quail-insert-kbd-layout): Fix previous
1707 change. To avoid unwanted bidi reordering, use
1708 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1709
1710 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1711
1712 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1713 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1714 (ruby-beginning-of-indent): Be more careful with the difference
1715 between word-boundary and symbol boundary.
1716 (ruby-mode-syntax-table): Make : a symbol constituent.
1717
1718 2012-03-21 Andreas Politz <politza@fh-trier.de>
1719
1720 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1721
1722 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * progmodes/etags.el (tags-completion-at-point-function):
1725 Improve last fix.
1726
1727 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1728
1729 2012-03-21 Sam Steingold <sds@gnu.org>
1730
1731 * progmodes/etags.el (tags-completion-at-point-function):
1732 Avoid the error when point is inside the pattern.
1733
1734 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1735
1736 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1737 line (Bug#10855).
1738
1739 2012-03-21 Drew Adams <drew.adams@oracle.com>
1740
1741 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1742
1743 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1744
1745 * ido.el (ido-set-current-directory, ido-read-internal)
1746 (ido-choose-completion-string, ido-completion-help): Handle nil
1747 value of ido-completion-buffer (Bug#11008).
1748
1749 2012-03-21 Sam Steingold <sds@gnu.org>
1750
1751 * window.el (switch-to-prev-buffer): Do not switch to a visible
1752 window previous buffer, just like with the frame previous buffers.
1753
1754 2012-03-21 Chong Yidong <cyd@gnu.org>
1755
1756 * faces.el (make-face, make-empty-face, copy-face):
1757 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1758 Doc fixes.
1759
1760 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1761
1762 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1763 (widget-complete): Remove broken use of it.
1764
1765 2012-03-20 Chong Yidong <cyd@gnu.org>
1766
1767 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1768 Use string-width and truncate-string-width to handle arbitrary
1769 characters.
1770
1771 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1772
1773 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1774 to draw rectangles, not squares. (Regression introduced by revno
1775 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1776
1777 2012-03-18 Chong Yidong <cyd@gnu.org>
1778
1779 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1780 it is not yet defined (for temacs).
1781
1782 2012-03-18 Leo Liu <sdl.web@gmail.com>
1783
1784 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1785
1786 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1787
1788 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1789 (ispell-choices-win-default-height, ispell-silently-savep)
1790 (ispell-dictionary-alist, ispell-encoding8-command)
1791 (ispell-check-version, ispell-aspell-find-dictionary)
1792 (ispell-valid-dictionary-list, ispell-words-keyword)
1793 (ispell-get-word, ispell-internal-change-dictionary)
1794 (ispell-region, ispell-skip-region-list)
1795 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1796 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1797 (ispell-message-text-end, ispell-message)
1798 (ispell-buffer-local-parsing): Doc fix.
1799
1800 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1801
1802 * htmlfontify.el: Add support for code block fontification for ODT
1803 export (Bug #9914).
1804 (hfy-optimisations): Define new option
1805 `body-text-only'
1806 (hfy-fontify-buffer): Honor above setting.
1807 (hfy-begin-span, hfy-end-span): New routines factored out form
1808 `hfy-fontify-buffer'.
1809 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1810 that permit insertion of custom tags.
1811 (hfy-fontify-buffer): Use above handlers.
1812 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1813 (hfy-face-to-css): Re-defined to be a variable.
1814 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1815 over multiple runs. This is made possible by having the caller let
1816 bind a special variable `hfy-user-sheet-assoc'.
1817 (htmlfontify-string): New defun.
1818 (hfy-compile-face-map): Make sure that the last char in the
1819 buffer is correctly fontified.
1820 (hfy-face-resolve-face): Whitespace only change.
1821
1822 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1823
1824 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1825 message more clear.
1826
1827 2012-03-16 Leo Liu <sdl.web@gmail.com>
1828
1829 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1830
1831 2012-03-16 Alan Mackenzie <acm@muc.de>
1832
1833 Further optimise the handling of large macros.
1834
1835 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1836 limit to a call of `c-literal-limits'.
1837 (c-determine-+ve-limit): New function.
1838 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1839 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1840 In CASE 5B, restrict a search limit to 500.
1841 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1842
1843 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1844 Restrict macro bounds to +-500 from after-change's BEG END.
1845
1846 2012-03-16 Leo Liu <sdl.web@gmail.com>
1847
1848 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1849
1850 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1851
1852 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1853 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1854
1855 2012-03-16 Glenn Morris <rgm@gnu.org>
1856
1857 * view.el (view-buffer, view-buffer-other-window)
1858 (view-buffer-other-frame): Doc fixes re special mode-class.
1859
1860 * subr.el (eval-after-load): If named feature is provided not from
1861 a file, run after-load forms. (Bug#10946)
1862
1863 * calendar/calendar.el (calendar-insert-at-column):
1864 Handle non-unit-width characters a bit better. (Bug#10978)
1865
1866 2012-03-15 Chong Yidong <cyd@gnu.org>
1867
1868 * emacs-lisp/ring.el (ring-extend): New function.
1869 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1870
1871 * comint.el (comint-read-input-ring)
1872 (comint-add-to-input-history): Grow comint-input-ring lazily.
1873
1874 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1875
1876 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1877 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1878
1879 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1880 (imenu-add-to-menubar): Don't add a redundant index.
1881 (imenu-update-menubar): Handle a dynamically composed keymap.
1882
1883 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1884
1885 * mail/sendmail.el (mail-encode-header):
1886 Bind rfc2047-encode-encoded-words to nil.
1887
1888 2012-03-13 Glenn Morris <rgm@gnu.org>
1889
1890 * calendar/calendar.el (calendar-string-spread):
1891 Handle non-unit-width characters a bit better. (Bug#10978)
1892
1893 2012-03-13 Leo Liu <sdl.web@gmail.com>
1894
1895 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1896 directory and file as argument (Bug#10822).
1897
1898 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1899
1900 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1901 For dynamically generated code, follow $PC.
1902 (gdb-disassembly-handler-custom): Handle no function name case.
1903
1904 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1905
1906 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1907 * emulation/ws-mode.el (ws-query-replace):
1908 * sort.el (sort-regexp-fields):
1909 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1910
1911 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * dabbrev.el: Fix cycle completion order (bug#10963).
1914 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1915 (dabbrev-completion): Don't use an obarray; provide
1916 a cycle-sort-function.
1917
1918 2012-03-12 Leo Liu <sdl.web@gmail.com>
1919
1920 * simple.el (kill-new): Use equal-including-properties for comparison.
1921 (kill-do-not-save-duplicates): Doc fix.
1922
1923 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * dabbrev.el: Fix cycle completion (bug#10963).
1926 Use lexical binding and wrap to 80 columns.
1927 (dabbrev-completion): Delay computing the list of completions.
1928
1929 2012-03-12 Kenichi Handa <handa@m17n.org>
1930
1931 * international/quail.el (quail-insert-kbd-layout): Surround each
1932 row by LRO and PDF instead of inserting many LRMs. Pad the left
1933 and right of each non-spacing marks. Insert invisible space
1934 between lower and upper characters to prevent composition.
1935
1936 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1937
1938 * minibuffer.el (minibuffer-complete): Don't get confused when the
1939 function is run twice via different commands (bug#10958).
1940 (complete-with-action): Fix docstring.
1941
1942 2012-03-12 Chong Yidong <cyd@gnu.org>
1943
1944 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1945 (nxml-completion-at-point-function): New function.
1946 (nxml-mode): Use it.
1947 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1948
1949 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1950 Load generated autoloads file before byte compiling (Bug#10970).
1951 (package--make-autoloads-and-compile): New helper fun.
1952
1953 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1954
1955 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1956
1957 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1958
1959 * autorevert.el (auto-revert-handler): Ensure, that
1960 file-readable-p is applied only for local files or in
1961 auto-revert-tail-mode.
1962
1963 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1964
1965 * server.el (server-eval-at): Handle non-tcp connections.
1966 Decode result string.
1967
1968 * server.el (server-msg-size): New constant.
1969 (server-reply-print): New function.
1970 (server-eval-and-print): Use it.
1971 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1972 Handle -print-nonl.
1973
1974 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1975
1976 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1977 (Bug#10987).
1978
1979 2012-03-11 Chong Yidong <cyd@gnu.org>
1980
1981 * simple.el (goto-line): Doc fix (Bug#9938).
1982
1983 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1984
1985 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1986 when finished (Bug#10963).
1987
1988 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1989
1990 * window.el (split-window-below): Fix bug in case where
1991 split-window-keep-point is nil (Bug#10971).
1992
1993 2012-03-11 Juri Linkov <juri@jurta.org>
1994
1995 * replace.el (replace-highlight): Set isearch-word to nil
1996 unconditionally. (Bug#10887)
1997
1998 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1999
2000 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2001 mairix-replace-illegal-chars; all callers changed. Don't remove
2002 ^, ~, and = characters: they are meaningful in mairix search specs.
2003 (mairix-widget-create-query): Add usage information about mairix
2004 search forms: negating words, searching for substrings, etc.
2005
2006 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2007
2008 * international/fontset.el (font-encoding-alist): Add an entry for
2009 ksx1001 (Bug#5667).
2010
2011 2012-03-10 Richard Stallman <rms@gnu.org>
2012
2013 * mail/sendmail.el (mail-encode-header):
2014 Set rfc2047-encode-encoded-words.
2015
2016 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2017
2018 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2019 view buffer means not swapped.
2020 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2021 (rmail-write-region-annotate): Error if real text has disappeared.
2022
2023 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2024
2025 2012-03-10 Chong Yidong <cyd@gnu.org>
2026
2027 * emulation/cua-rect.el (cua--init-rectangles):
2028 * emulation/cua-base.el (cua--init-keymaps):
2029 Add delete-forward-char to remappings (Bug#9666).
2030
2031 2012-03-10 Martin Rudalics <rudalics@gmx.at>
2032
2033 * speedbar.el (speedbar-unhighlight-one-tag-line):
2034 Avoid unhighlighting due to frame switching (Bug#10275).
2035
2036 2012-03-10 Chong Yidong <cyd@gnu.org>
2037
2038 * minibuffer.el (completion-in-region, completion-help-at-point):
2039 Give the completion field overlay a high priority (Bug#6830).
2040
2041 * dired.el (dired-goto-file): Recognize absolute file name
2042 listings (Bug#7126).
2043 (dired-goto-file-1): New helper function.
2044 (dired-toggle-read-only): Inhibit warnings.
2045
2046 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
2047
2048 * net/dbus.el (dbus-property-handler): Return empty array if
2049 there are no properties.
2050
2051 2012-03-09 Leo Liu <sdl.web@gmail.com>
2052
2053 * savehist.el (savehist-printable): Stricter check for string
2054 value (Bug#10937).
2055
2056 2012-03-09 Eli Zaretskii <eliz@gnu.org>
2057
2058 * mail/smtpmail.el (smtpmail-send-it):
2059 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2060 valid mbox format.
2061
2062 2012-03-09 Glenn Morris <rgm@gnu.org>
2063
2064 * files.el (dir-locals-find-file):
2065 Don't check result is regular, readable.
2066 (dir-locals-read-from-file): Demote errors.
2067
2068 2012-03-08 Eli Zaretskii <eliz@gnu.org>
2069
2070 * international/quail.el (quail-insert-kbd-layout):
2071 Insert invisible LRM characters before each character in a keyboard
2072 layout cell, to prevent their reordering by bidi display engine.
2073 For details, see the discussion in
2074 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2075
2076 2012-03-08 Alan Mackenzie <acm@muc.de>
2077
2078 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2079 the starting position; make it extend the marked region when
2080 invoked repeatedly - all under appropriate circumstances.
2081 Fixes bugs #5525, #10906.
2082
2083 2012-03-08 Glenn Morris <rgm@gnu.org>
2084
2085 * files.el (locate-dominating-file, dir-locals-find-file):
2086 Undo 2012-03-06 change.
2087
2088 2012-03-07 Eli Zaretskii <eliz@gnu.org>
2089
2090 * international/quail.el (quail-help):
2091 Force bidi-paragraph-direction be left-to-right. See discussion in
2092 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2093 for the reason.
2094
2095 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2096
2097 Avoid superfluous registering of signals. (Bug#10807)
2098
2099 * notifications.el (notifications-on-action-object)
2100 (notifications-on-close-object): New defvars.
2101 (notifications-on-action-signal, notifications-on-closed-signal):
2102 Unregister the signal if not needed any longer.
2103 (notifications-notify): Register `notifications-action-signal' or
2104 `notifications-closed-signal', if :on-action or :on-close has been
2105 passed as argument.
2106
2107 2012-03-07 Chong Yidong <cyd@gnu.org>
2108
2109 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2110 non-X platforms.
2111
2112 2012-03-06 Glenn Morris <rgm@gnu.org>
2113
2114 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2115 (x-disown-selection-internal, x-get-selection-internal):
2116 Doc fix (add arglist signatures). (Bug#10783)
2117
2118 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2119
2120 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2121 Handle breakpoints with no "type".
2122
2123 2012-03-06 Glenn Morris <rgm@gnu.org>
2124
2125 * files.el (locate-dominating-file): Add optional predicate argument.
2126 (dir-locals-find-file): Make use of above change.
2127
2128 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2129
2130 * info.el (Info-insert-dir): Also try "dir.gz".
2131
2132 2012-03-06 Glenn Morris <rgm@gnu.org>
2133
2134 * files.el (dir-locals-find-file):
2135 Ignore non-readable or non-regular files. (Bug#10928)
2136
2137 * files.el (locate-dominating-file): Doc fix.
2138
2139 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2140
2141 * calendar/calendar.el (calendar-set-mode-line):
2142 `getenv' returns a string. (Bug#10951)
2143
2144 2012-03-05 Leo Liu <sdl.web@gmail.com>
2145
2146 * simple.el (backward-delete-char-untabify): Constrain point to
2147 field (Bug#10939).
2148
2149 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2150
2151 2012-03-05 Chong Yidong <cyd@gnu.org>
2152
2153 * simple.el (count-words): If called from Lisp, return the word
2154 count, for symmetry with `count-lines'. Arglist changed.
2155 (count-words--message): Args changed. Consolidate counting code
2156 from count-words and count-words-region.
2157 (count-words-region): Caller changed.
2158 (count-lines-region): Make it an obsolete alias.
2159
2160 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2161
2162 * saveplace.el (save-place-to-alist)
2163 (save-place-ignore-files-regexp): Allow value nil to disable this
2164 feature.
2165
2166 2012-03-04 Chong Yidong <cyd@gnu.org>
2167
2168 * faces.el (face-spec-reset-face): For the default face, reset the
2169 attributes to default values (Bug#10748).
2170
2171 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2172
2173 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2174 previous patch: Check `message-send-mail-function', and not the
2175 default function (bug#10897).
2176
2177 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2178
2179 * notifications.el (notifications-on-action-signal)
2180 (notifications-on-closed-signal): Check for unique service name of
2181 incoming event. Fix error in removing entry.
2182 (top): Register for signals with wildcard service name.
2183 (notifications-notify): Use daemon unique service name for map entries.
2184
2185 2012-03-04 Chong Yidong <cyd@gnu.org>
2186
2187 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2188
2189 2012-03-04 Glenn Morris <rgm@gnu.org>
2190
2191 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2192 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2193 (expand-abbrev, define-abbrev-table): Doc fixes.
2194
2195 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2196
2197 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2198 `message-default-send-mail-function' and not `send-mail-function'
2199 when doing the prompting for `sendmail-query-once' before sending
2200 in Message buffers (bug#10897).
2201
2202 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2203 This is inconsistent with all the other stream functions, which leave
2204 the setting up to the higher levels (if so wanted) (bug#10931).
2205
2206 2012-03-02 Alan Mackenzie <acm@muc.de>
2207
2208 Depessimize the handling of very large macros.
2209
2210 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2211 (c-macro-cache-syntactic): New variables to implement a one
2212 element macro cache.
2213 (c-invalidate-macro-cache): New function.
2214 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2215 Adapt to use the new cache.
2216 (c-state-safe-place): Use better the cache of safe positions.
2217 (c-state-semi-nonlit-pos-cache)
2218 (c-state-semi-nonlit-pos-cache-limit):
2219 New variables for...
2220 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2221 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2222 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2223 Use c-state-semi-safe-place.
2224
2225 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2226 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2227
2228 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2229
2230 * jka-compr.el (jka-compr-call-process):
2231 Apply `file-accessible-directory-p' only when the default directory is
2232 not remote.
2233
2234 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2235
2236 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2237 access of FILE2, if FILE1 does not exist.
2238
2239 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2240 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2241
2242 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2243 Add "PAGER=" to `process-environment'.
2244
2245 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2246
2247 * progmodes/sql.el: Bug fix
2248 (sql-get-login-ext): Save login values in globals.
2249 (sql-get-login): Use new version of `sql-get-login-ext'.
2250 (sql-interactive-mode): Set global `sql-connection' to nil.
2251 (sql-connect): Set global values for connection.
2252 (sql-product-interactive): Save global values as buffer local.
2253
2254 2012-02-29 Leo Liu <sdl.web@gmail.com>
2255
2256 * abbrev.el (define-abbrevs): Reset sys to nil.
2257
2258 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2259
2260 * files.el (file-equal-p): Rename from `files-equal-p'.
2261 Return nil when one or both files don't exist.
2262 (file-subdir-of-p): Now only top directory must exists,
2263 return nil if it doesn't.
2264 (copy-directory): No need to test with `file-subdir-of-p' after
2265 creating dir.
2266 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2267 to `file-equal-p'.
2268
2269 2012-02-28 Glenn Morris <rgm@gnu.org>
2270
2271 * shell.el (shell-mode):
2272 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2273 * play/landmark.el (landmark-font-lock-face-O):
2274 * play/handwrite.el (handwrite):
2275 * play/gomoku.el (gomoku-O):
2276 * net/browse-url.el (browse-url-browser-display):
2277 * international/mule.el (define-charset):
2278 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2279 * filesets.el (filesets-find-file-delay):
2280 * eshell/em-xtra.el (eshell-xtra):
2281 * eshell/em-unix.el (eshell-grep):
2282 * emulation/viper.el (viper-mode):
2283 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2284 * emacs-lisp/easymenu.el (easy-menu-define):
2285 * calendar/timeclock.el (timeclock-use-display-time):
2286 * bs.el (bs-mode):
2287 * bookmark.el (bookmark-save-flag):
2288 Doc fix (standardize possessive apostrophe usage).
2289
2290 2012-02-27 Chong Yidong <cyd@gnu.org>
2291
2292 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2293 Fix key-binding lookup for ESC key (Bug#9146).
2294
2295 * font-lock.el (font-lock-specified-p): Rename from
2296 font-lock-spec-present. Callers changed.
2297
2298 2012-02-27 Daniel Hackney <dan@haxney.org>
2299
2300 * emacs-lisp/package.el (package-compute-transaction):
2301 Handle holding a package version to t in package-load-list.
2302
2303 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2304
2305 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2306 (tramp-get-inode, tramp-get-device): Use cached values.
2307
2308 2012-02-26 Alan Mackenzie <acm@muc.de>
2309
2310 Check there is a font-lock specification before doing initial
2311 fontification.
2312
2313 * font-core.el (font-lock-mode): Move the conditional from
2314 :after-hook to font-lock-initial-fontify.
2315 (font-lock-default-function): Move the check for a specification
2316 to font-lock-spec-present.
2317
2318 * font-lock.el (font-lock-initial-fontify): Call ...
2319 (font-lock-spec-present): New function.
2320
2321 2012-02-26 Jim Blandy <jimb@red-bean.com>
2322
2323 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2324 (gdb-send): Apply it to the operand of the '-interpreter-exec
2325 console' command, so that we can pass arguments with (say) quotes
2326 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2327
2328 2012-02-26 Chong Yidong <cyd@gnu.org>
2329
2330 * help-fns.el (describe-function-1): Clarify description of
2331 remapping (Bug#10844).
2332
2333 * files.el (files-equal-p): Doc fix.
2334 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2335 and quit the loop once a mismatch is found.
2336
2337 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2338
2339 * bs.el (bs--show-with-configuration): Don't throw an error
2340 if the window cannot be split; otherwise, subsequent calls to
2341 bs-show fail, restoring a stale window config. (Bug#10882)
2342
2343 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2344
2345 * term/ns-win.el (global-map): Bind ns-drag-file to
2346 ns-find-file (Bug#5855, Bug#10050).
2347
2348 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2349
2350 * calendar/parse-time.el (parse-time-string): Allow extractor to
2351 return nil.
2352
2353 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2354
2355 * net/tramp.el (tramp-file-name-for-operation):
2356 Add `files-equal-p' and `file-subdir-of-p'.
2357
2358 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2359 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2360 Add COPY-CONTENTS argument.
2361
2362 2012-02-25 Chong Yidong <cyd@gnu.org>
2363
2364 Add custom groups for VC backends, for consistency with vc-bzr.
2365
2366 * vc/vc-arch.el (vc-arch):
2367 * vc/vc-cvs.el (vc-cvs):
2368 * vc/vc-git.el (vc-git):
2369 * vc/vc-hg.el (vc-hg):
2370 * vc/vc-mtn.el (vc-mtn):
2371 * vc/vc-rcs.el (vc-rcs):
2372 * vc/vc-sccs.el (vc-sccs):
2373 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2374 All relevant defcustoms reassigned.
2375
2376 2012-02-25 Chong Yidong <cyd@gnu.org>
2377
2378 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2379
2380 * term/x-win.el (x-initialize-window-system): Reduce default for
2381 x-selection-timeout to 5 seconds (Bug#8869).
2382
2383 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2384
2385 * files.el (files-equal-p, file-subdir-of-p): New functions.
2386 (copy-directory): Error when trying to copy a directory on itself.
2387 Add missing copy-contents arg to tramp handler.
2388 * dired-aux.el (dired-copy-file-recursive): Same.
2389 (dired-create-files): Modify destination when source is equal to
2390 dest when copying files.
2391 Return also when dest is a subdir of source. (Bug#10489)
2392
2393 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2394
2395 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2396 (Bug#10874)
2397
2398 2012-02-23 Alan Mackenzie <acm@muc.de>
2399
2400 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2401 parameter "after-hook:" to allow the expansion to run code after
2402 the execution of the mode hooks.
2403
2404 * font-lock.el (font-lock-initial-fontify): New function extracted
2405 from font-lock-mode-internal.
2406
2407 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2408 :after-hook.
2409
2410 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2411
2412 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2413 (completion--cache-all-sorted-completions): New function.
2414 (completion-all-sorted-completions): Use it.
2415 (completion--do-completion, minibuffer-force-complete):
2416 Use it to re-instate the flush hook.
2417
2418 * icomplete.el (icomplete-completions): Replace last fix with a better
2419 one (bug#10850).
2420
2421 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2422
2423 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2424 when it might call us back infinitely (bug#10797).
2425
2426 2012-02-23 Glenn Morris <rgm@gnu.org>
2427
2428 * minibuffer.el (completion-category-overrides): Doc fix.
2429
2430 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2431
2432 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2433 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2434
2435 2012-02-23 Glenn Morris <rgm@gnu.org>
2436
2437 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2438 (authors-obsolete-files-regexps, authors-ignored-files)
2439 (authors-ambiguous-files, authors-renamed-files-alist):
2440 Add more entries.
2441
2442 2012-02-23 Juri Linkov <juri@jurta.org>
2443
2444 * isearch.el (isearch-occur): Sync interactive spec with occur's
2445 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2446
2447 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2448
2449 2012-02-22 Juri Linkov <juri@jurta.org>
2450
2451 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2452 (ucs-insert): Doc fix. Check for hex digits in the string.
2453 Don't display `nil' in the error message. (Bug#10857)
2454
2455 2012-02-22 Alan Mackenzie <acm@muc.de>
2456
2457 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2458
2459 2012-02-22 Glenn Morris <rgm@gnu.org>
2460
2461 * ffap.el (ffap-c-path):
2462 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2463
2464 2012-02-22 Chong Yidong <cyd@gnu.org>
2465
2466 * custom.el (load-theme): Doc fix.
2467
2468 2012-02-22 Glenn Morris <rgm@gnu.org>
2469
2470 * dired-x.el (dired-guess-shell-alist-default):
2471 Remove escape sequences from nroff output. (Bug#172)
2472
2473 2012-02-21 Glenn Morris <rgm@gnu.org>
2474
2475 * vc/emerge.el (emerge-defvar-local):
2476 Set `permanent-local' property rather than unused `preserved'.
2477
2478 * textmodes/picture.el (picture-delete-char): New alias.
2479 (picture-mode-map): Use it. (Bug#10860)
2480 (picture-mode): Doc fix.
2481
2482 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2483
2484 * newcomment.el (uncomment-region-default): Remove unused binding.
2485
2486 2012-02-21 Glenn Morris <rgm@gnu.org>
2487
2488 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2489 (picture-self-insert, picture-tab-chars): Doc fix.
2490 (picture-mode-map): Fix C-a, C-e.
2491
2492 2012-02-20 Glenn Morris <rgm@gnu.org>
2493
2494 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2495
2496 2012-02-20 Leo Liu <sdl.web@gmail.com>
2497
2498 * icomplete.el (icomplete-completions): Check FROM arg before
2499 passing to substring (Bug#10850).
2500
2501 2012-02-19 Chong Yidong <cyd@gnu.org>
2502
2503 * comint.el: Require ansi-color.
2504 (comint-output-filter-functions): Add ansi-color-process-output.
2505
2506 * ansi-color.el: Don't set comint-output-filter-functions; it is
2507 now in the initial value defined in comint.el.
2508 (ansi-color-apply-face-function): New variable.
2509 (ansi-color-apply-on-region): Use it.
2510 (ansi-color-apply-overlay-face): New function.
2511
2512 * shell.el (shell): No need to require ansi-color.
2513 (shell-mode): Use ansi-color-apply-face-function to highlight
2514 color escapes using font-lock-face property (Bug#10835).
2515
2516 2012-02-19 Chong Yidong <cyd@gnu.org>
2517
2518 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2519 mode-line formats (Bug#10839).
2520
2521 2012-02-18 Glenn Morris <rgm@gnu.org>
2522
2523 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2524
2525 * mail/undigest.el (unforward-rmail-message): Doc fix.
2526
2527 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2528
2529 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2530
2531 * international/characters.el (script-list): Sync with the latest
2532 Unicode Character Database.
2533
2534 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2535
2536 * international/titdic-cnv.el: Remove duplicate coding tag.
2537 * language/cham.el: Likewise.
2538 * language/tai-viet.el: Likewise.
2539
2540 2012-02-18 Glenn Morris <rgm@gnu.org>
2541
2542 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2543 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2544 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2545 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2546 * calendar/holidays.el (holiday-bahai-holidays)
2547 (calendar-holidays, list-holidays):
2548 Use utf-8 Bahá'í in doc-strings, menus, etc.
2549
2550 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2551
2552 * saveplace.el (save-place-ignore-files-regexp): New variable
2553 allowing for excluding files from saving their location of point.
2554 The default value matches the temporary commit message editing
2555 files from Git, SVN, Bazaar, and Mercurial.
2556 (save-place-to-alist): Use it.
2557
2558 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2559 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2561 * newcomment.el (uncomment-region-default): Don't leave extra space
2562 when an arg is provided (bug#8150).
2563
2564 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2565
2566 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2567
2568 2012-02-17 Glenn Morris <rgm@gnu.org>
2569
2570 * net/socks.el: Require network-stream. (Bug#10599)
2571
2572 2012-02-17 Kenichi Handa <handa@m17n.org>
2573
2574 * international/charprop.el:
2575 * international/uni-name.el:
2576 * international/uni-old-name.el:
2577 * international/uni-comment.el: Regenerate.
2578
2579 2012-02-16 Glenn Morris <rgm@gnu.org>
2580
2581 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2582 Interactively in calendar buffer, give an error if not on a date.
2583
2584 2012-02-15 Glenn Morris <rgm@gnu.org>
2585
2586 * shell.el (shell-delimiter-argument-list):
2587 Revert 2011-02-17 change. (Bug#8027)
2588
2589 2012-02-15 Chong Yidong <cyd@gnu.org>
2590
2591 * minibuffer.el (completion-at-point-functions): Doc fix.
2592
2593 * custom.el (defcustom): Doc fix; note use of defvar.
2594
2595 2012-02-15 Glenn Morris <rgm@gnu.org>
2596
2597 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2598 Doc fixes.
2599
2600 2012-02-14 Glenn Morris <rgm@gnu.org>
2601
2602 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2603
2604 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2605
2606 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2607 way the ports list is computed.
2608 (smtpmail-query-smtp-server): Prompt the user for a port number if
2609 we can't connect to any of the standard ports (bug#10810).
2610
2611 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2612
2613 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2614
2615 2012-02-13 Glenn Morris <rgm@gnu.org>
2616
2617 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2618
2619 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2620
2621 * net/gnutls.el (gnutls-trustfiles): New variable.
2622 (gnutls-negotiate): Use it.
2623
2624 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2625
2626 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2627 does its stuff if Gnus is running.
2628
2629 2012-02-13 Alan Mackenzie <acm@muc.de>
2630
2631 Fix a loop in c-set-fl-decl-start.
2632
2633 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2634 c-backward-syntactic-ws actually moves backwards.
2635
2636 2012-02-13 Leo Liu <sdl.web@gmail.com>
2637
2638 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2639 beginning so that all \C-o chars are removed.
2640
2641 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2642
2643 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2644
2645 2012-02-12 Alan Mackenzie <acm@muc.de>
2646
2647 Fix infinite loop with long macros.
2648 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2649
2650 2012-02-12 Chong Yidong <cyd@gnu.org>
2651
2652 * window.el (display-buffer): Doc fix (Bug#10785).
2653
2654 2012-02-12 Glenn Morris <rgm@gnu.org>
2655
2656 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2657 (x-disown-selection-internal, x-get-selection-internal):
2658 Sync docs with the xselect.c versions.
2659
2660 * allout-widgets.el: Add missing license notice.
2661
2662 2012-02-11 Glenn Morris <rgm@gnu.org>
2663
2664 * select.el (x-get-selection-internal, x-own-selection-internal)
2665 (x-disown-selection-internal):
2666 * x-dnd.el (x-get-selection-internal): Update declarations.
2667
2668 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2669
2670 * window.el (window-sides-slots):
2671 * tool-bar.el (tool-bar-position):
2672 * term/xterm.el (xterm-extra-capabilities):
2673 * ses.el (ses-self-reference-early-detection):
2674 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2675 (verilog-auto-wire-type)
2676 (verilog-auto-delete-trailing-whitespace)
2677 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2678 (verilog-auto-tieoff-declaration):
2679 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2680 (sql-oracle-statement-starters, sql-oracle-scan-on):
2681 * progmodes/prolog.el (prolog-align-comments-flag)
2682 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2683 (prolog-left-indent-regexp, prolog-paren-indent-p)
2684 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2685 (prolog-types, prolog-mode-specificators)
2686 (prolog-determinism-specificators, prolog-directives)
2687 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2688 (prolog-electric-dot-flag)
2689 (prolog-electric-dot-full-predicate-template)
2690 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2691 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2692 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2693 (prolog-program-switches, prolog-prompt-regexp)
2694 (prolog-debug-on-string, prolog-debug-off-string)
2695 (prolog-trace-on-string, prolog-trace-off-string)
2696 (prolog-zip-on-string, prolog-zip-off-string)
2697 (prolog-use-standard-consult-compile-method-flag)
2698 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2699 (prolog-imenu-max-lines, prolog-info-predicate-index)
2700 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2701 (prolog-char-quote-workaround):
2702 * progmodes/cc-vars.el (c-defun-tactic):
2703 * net/tramp.el (tramp-encoding-command-interactive)
2704 (tramp-local-end-of-line):
2705 * net/soap-client.el (soap-client):
2706 * net/netrc.el (netrc-file):
2707 * net/gnutls.el (gnutls):
2708 * minibuffer.el (completion-category-overrides)
2709 (completion-cycle-threshold)
2710 (completion-pcm-complete-word-inserts-delimiters):
2711 * man.el (Man-name-local-regexp):
2712 * mail/feedmail.el (feedmail-display-full-frame):
2713 * international/characters.el (glyphless-char-display-control):
2714 * eshell/em-ls.el (eshell-ls-date-format):
2715 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2716 (lisp-lambda-list-keyword-parameter-indentation)
2717 (lisp-lambda-list-keyword-parameter-alignment):
2718 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2719 * dired-x.el (dired-omit-verbose):
2720 * cus-theme.el (custom-theme-allow-multiple-selections):
2721 * calc/calc.el (calc-highlight-selections-with-faces)
2722 (calc-lu-field-reference, calc-lu-power-reference)
2723 (calc-note-threshold):
2724 * battery.el (battery-mode-line-limit):
2725 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2726 (archive-7z-update):
2727 * allout.el (allout-prefixed-keybindings)
2728 (allout-unprefixed-keybindings)
2729 (allout-inhibit-auto-fill-on-headline)
2730 (allout-flattened-numbering-abbreviation):
2731 * allout-widgets.el (allout-widgets-auto-activation)
2732 (allout-widgets-icons-dark-subdir)
2733 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2734 (allout-widgets-theme-dark-background)
2735 (allout-widgets-theme-light-background)
2736 (allout-widgets-item-image-properties-emacs)
2737 (allout-widgets-item-image-properties-xemacs)
2738 (allout-widgets-run-unit-tests-on-load)
2739 (allout-widgets-time-decoration-activity)
2740 (allout-widgets-hook-error-post-time)
2741 (allout-widgets-track-decoration):
2742 Add missing :version tags to new defcustoms and defgroups.
2743
2744 * progmodes/sql.el (sql-ansi-statement-starters)
2745 (sql-oracle-statement-starters): Add custom type.
2746
2747 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2748 (prolog-system-version): Give it a type.
2749
2750 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2751
2752 * term/pc-win.el (x-select-text, x-selection-owner-p)
2753 (x-own-selection-internal, x-disown-selection-internal)
2754 (x-get-selection-internal): Sync doc strings and argument lists
2755 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2756
2757 2012-02-11 Leo Liu <sdl.web@gmail.com>
2758
2759 * progmodes/python.el (python-end-of-statement): Fix infinite
2760 loop. (Bug#10788)
2761
2762 2012-02-10 Glenn Morris <rgm@gnu.org>
2763
2764 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2765 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2766
2767 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2768
2769 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2770 about SMTP before checking the From header.
2771
2772 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2773 into own function for reuse by emacsbug.el.
2774
2775 2012-02-10 Leo Liu <sdl.web@gmail.com>
2776
2777 * subr.el (condition-case-unless-debug): Rename from
2778 condition-case-no-debug. All callers changed.
2779 (with-demoted-errors): Fix caller.
2780
2781 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2782 * nxml/rng-valid.el (rng-do-some-validation):
2783 * emacs-lisp/package.el (package-refresh-contents)
2784 (package-menu-execute):
2785 * desktop.el (desktop-create-buffer):
2786 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2787
2788 2012-02-10 Glenn Morris <rgm@gnu.org>
2789
2790 * textmodes/bibtex.el:
2791 Add missing :version tags for new/changed defcustoms.
2792
2793 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2794
2795 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2796
2797 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2798 (smtpmail-via-smtp): Use it, or fall back on the From address.
2799 (smtpmail-send-it): Ditto.
2800
2801 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2802
2803 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2804 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2805 (byte-compile-tmp-var): New const.
2806 (byte-compile-defvar): Use it to minimize .elc size.
2807 Just use `defvar' rather than simulate it (bug#10761).
2808
2809 2012-02-09 Glenn Morris <rgm@gnu.org>
2810
2811 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2812
2813 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2814 Add :version tags.
2815
2816 * progmodes/compile.el (compilation-error-screen-columns)
2817 (compilation-first-column, compilation-filter-start): Doc fixes.
2818
2819 * vc/log-view.el (log-view-toggle-entry-display):
2820 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2821
2822 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2823 (report-emacs-bug-can-use-xdg-email):
2824 (report-emacs-bug-insert-to-mailer): Doc fixes.
2825 (report-emacs-bug): Message fix.
2826
2827 * net/browse-url.el (browse-url-can-use-xdg-open)
2828 (browse-url-xdg-open): Doc fixes.
2829
2830 * electric.el (electric-indent-mode, electric-pair-mode)
2831 (electric-layout-rules, electric-layout-mode): Doc fixes.
2832 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2833
2834 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2835
2836 * server.el (server-unselect-display): Don't inadvertently kill
2837 the current buffer. (Bug#10729)
2838
2839 2012-02-08 Glenn Morris <rgm@gnu.org>
2840
2841 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2842 (sql-list-table): Doc fixes.
2843
2844 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2845 Comment out (does nothing).
2846
2847 * completion.el (dynamic-completion-mode):
2848 * dirtrack.el (dirtrack-debug-mode):
2849 * electric.el (electric-layout-mode):
2850 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2851 * face-remap.el (text-scale-mode, buffer-face-mode):
2852 * iimage.el (iimage-mode):
2853 * image-mode.el (image-transform-mode):
2854 * minibuffer.el (completion-in-region-mode):
2855 * scroll-lock.el (scroll-lock-mode):
2856 * simple.el (next-error-follow-minor-mode):
2857 * tar-mode.el (tar-subfile-mode):
2858 * tooltip.el (tooltip-mode):
2859 * vcursor.el (vcursor-use-vcursor-map):
2860 * wid-browse.el (widget-minor-mode):
2861 * emulation/tpu-edt.el (tpu-edt-mode):
2862 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2863 * international/iso-ascii.el (iso-ascii-mode):
2864 * language/thai-util.el (thai-word-mode):
2865 * mail/supercite.el (sc-minor-mode):
2866 * net/goto-addr.el (goto-address-mode):
2867 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2868 * progmodes/cwarn.el (cwarn-mode):
2869 * progmodes/flymake.el (flymake-mode):
2870 * progmodes/glasses.el (glasses-mode):
2871 * progmodes/hideshow.el (hs-minor-mode):
2872 * progmodes/pascal.el (pascal-outline-mode):
2873 * textmodes/enriched.el (enriched-mode):
2874 * vc/smerge-mode.el (smerge-mode):
2875 Doc fixes (minor mode argument).
2876
2877 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2878
2879 * ls-lisp.el (ls-lisp-sanitize): New function.
2880 (ls-lisp-insert-directory): Use it to fix or remove any elements
2881 in file-alist with missing attributes. (Bug#4673)
2882
2883 2012-02-07 Alan Mackenzie <acm@muc.de>
2884
2885 Fix spurious recognition of c-in-knr-argdecl.
2886
2887 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2888 putative K&R region.
2889
2890 2012-02-07 Alan Mackenzie <acm@muc.de>
2891
2892 * progmodes/cc-engine.el (c-forward-objc-directive):
2893 Prevent looping in "#pragma mark @implementation".
2894
2895 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2896
2897 * notifications.el (notifications-on-closed-signal): Make `reason'
2898 optional. (Bug#10744)
2899
2900 2012-02-07 Glenn Morris <rgm@gnu.org>
2901
2902 * emacs-lisp/easy-mmode.el (define-minor-mode):
2903 Doc fixes for the macro and the mode it defines.
2904
2905 * image.el (imagemagick-types-inhibit): Doc fix.
2906
2907 * cus-start.el (imagemagick-render-type): Add it.
2908
2909 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2910
2911 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2912 Set the default at load time, too, so that `font-lock-fontify-buffer'
2913 can be called without setting up the entire mode first. This fixes
2914 a bug in `mm-inline-text' with C MIME parts.
2915
2916 2012-02-06 Chong Yidong <cyd@gnu.org>
2917
2918 * simple.el (list-processes--refresh): Delete exited processes
2919 (Bug#8094).
2920
2921 * comint.el (comint-next-prompt): next-single-char-property-change
2922 and prev-single-char-property-change never return nil (Bug#8657).
2923
2924 * custom.el (defcustom): Doc fix (Bug#9711).
2925
2926 2012-02-05 Chong Yidong <cyd@gnu.org>
2927
2928 * cus-edit.el (custom-variable-reset-backup): Quote the value
2929 before storing it in the customized-value property (Bug#6712).
2930 (custom-display): Add a customization type tag.
2931 (custom-buffer-create-internal): Improve tooltip message.
2932
2933 * wid-edit.el (widget-field-value-get): New optional arg to
2934 suppress trailing whitespace truncation.
2935 (character): Use it (Bug#2689).
2936
2937 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2938
2939 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2940 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2941
2942 2012-02-05 Chong Yidong <cyd@gnu.org>
2943
2944 * cus-edit.el (custom-variable-value-create): For mismatched
2945 types, show the current value (Bug#7600).
2946
2947 * custom.el (defcustom): Doc fix.
2948
2949 2012-02-05 Glenn Morris <rgm@gnu.org>
2950
2951 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2952
2953 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2954
2955 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2956 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2957 (pp-last-sexp): Use `looking-at-p'.
2958
2959 2012-02-04 Glenn Morris <rgm@gnu.org>
2960
2961 * files.el (revert-buffer):
2962 Doc fix (mention revert-buffer-in-progress-p).
2963
2964 * emacs-lisp/ert-x.el (ert-simulate-command):
2965 Check deferred-action-list (which is obsolete) is bound.
2966
2967 * subr.el (with-wrapper-hook): Doc fixes.
2968
2969 * simple.el (filter-buffer-substring-functions)
2970 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2971
2972 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2973
2974 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2975 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2976
2977 2012-02-04 Leo Liu <sdl.web@gmail.com>
2978
2979 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2980
2981 2012-02-04 Glenn Morris <rgm@gnu.org>
2982
2983 * image.el (image-extension-data): Add obsolete alias.
2984
2985 * isearch.el (isearch-update): Doc fix.
2986
2987 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2988
2989 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2990
2991 2012-02-03 Glenn Morris <rgm@gnu.org>
2992
2993 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2994 (image-animate-timeout): Doc fix.
2995
2996 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2997
2998 2012-02-02 Glenn Morris <rgm@gnu.org>
2999
3000 * server.el (server-auth-dir): Doc fix.
3001 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3002
3003 * subr.el (run-mode-hooks): Doc fix.
3004
3005 2012-02-02 Juri Linkov <juri@jurta.org>
3006
3007 * image-mode.el (image-toggle-display-image): Remove tautological
3008 `major-mode' from the `derived-mode-p' test.
3009
3010 2012-02-02 Kenichi Handa <handa@m17n.org>
3011
3012 * composite.el (compose-region): Cancel previous change.
3013
3014 2012-02-02 Kenichi Handa <handa@m17n.org>
3015
3016 * composite.el (compose-region, compose-string): Signal error for
3017 a null string component (Bug#6988).
3018
3019 2012-02-01 Chong Yidong <cyd@gnu.org>
3020
3021 * view.el (view-buffer-other-window, view-buffer-other-frame):
3022 Handle special modes like view-buffer (Bug#10650).
3023 (view-buffer): Simplify.
3024
3025 * frame.el (set-frame-font): Tweak meaning of third argument.
3026
3027 * dynamic-setting.el (font-setting-change-default-font):
3028 Use set-frame-font (Bug#9982).
3029
3030 2012-02-01 Glenn Morris <rgm@gnu.org>
3031
3032 * progmodes/compile.el (compilation-internal-error-properties):
3033 Respect compilation-first-column in the "*compilation*" buffer.
3034
3035 * emacs-lisp/easy-mmode.el (define-minor-mode):
3036 Relax :variable's test for a named function.
3037
3038 2012-01-31 Alan Mackenzie <acm@muc.de>
3039
3040 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3041 off by one error.
3042
3043 2012-01-31 Chong Yidong <cyd@gnu.org>
3044
3045 * frame.el (set-frame-font): New arg ALL-FRAMES.
3046
3047 * menu-bar.el (menu-set-font): Use set-frame-font.
3048
3049 * faces.el (face-spec-reset-face): Don't apply unspecified
3050 attribute values to the default face.
3051
3052 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3053
3054 * progmodes/cwarn.el (cwarn): Remove dead link.
3055 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3056 Remove * from defcustom docstrings.
3057 (turn-on-cwarn-mode): Make obsolete.
3058 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3059 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3060
3061 2012-01-31 Glenn Morris <rgm@gnu.org>
3062
3063 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3064 Fix :variable handling of mode a symbol not equal to modefun.
3065 Allow named functions to be used as the cdr of :variable.
3066
3067 2012-01-30 Glenn Morris <rgm@gnu.org>
3068
3069 * emacs-lisp/authors.el (authors-fixed-entries):
3070 Remove reference to deleted file rnewspost.el.
3071
3072 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
3073
3074 * window.el (window-with-parameter): Remove unused variable `windows'.
3075 (window--side-check): Remove unused variable `code'.
3076 (window--resize-siblings): Remove unused variable `first'.
3077 (adjust-window-trailing-edge): Remove unused variable `failed'.
3078 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3079 Use `let', not `let*'.
3080 (balance-windows-2): Remove unused variable `found'.
3081 (window--state-put-2): Remove unused variable `splits'.
3082 (window-state-put): Remove unused variable `selected'.
3083 (same-window-p): Use `string-match-p'.
3084 (display-buffer-assq-regexp): Remove unused variable `value'.
3085 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3086 Mark argument ALIST as ignored.
3087 (pop-to-buffer): Remove unused variable `old-window'.
3088
3089 2012-01-29 Eli Zaretskii <eliz@gnu.org>
3090
3091 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3092 and .lzma compressed files.
3093
3094 2012-01-29 Chong Yidong <cyd@gnu.org>
3095
3096 * frame.el (window-system-default-frame-alist): Doc fix.
3097
3098 * dynamic-setting.el (font-setting-change-default-font): Don't
3099 change the default face if SET-FONT argument is non-nil (Bug#9982).
3100
3101 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3102
3103 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3104
3105 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3106
3107 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3108 breakpoints in files outside current directory (Bug#6098).
3109
3110 2012-01-29 Chong Yidong <cyd@gnu.org>
3111
3112 * progmodes/python.el: Require ansi-color at top-level.
3113
3114 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3115 Define and use in Emacs Lisp mode (Bug#9360).
3116 (lisp-mode-abbrev-table): Add doc.
3117 (lisp-mode-variables): Don't set local-abbrev-table.
3118 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3119
3120 2012-01-28 Roland Winkler <winkler@gnu.org>
3121
3122 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3123
3124 2012-01-28 Roland Winkler <winkler@gnu.org>
3125
3126 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3127 (bibtex-set-dialect): Use it. Either set global values of
3128 dialect-dependent variables or bind these variables buffer-locally
3129 (Bug#10254).
3130 (bibtex-mode): Call bibtex-set-dialect via
3131 hack-local-variables-hook.
3132 (bibtex-dialect): Update docstring.
3133 Add safe-local-variable predicate.
3134 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3135 bibtex-set-dialect.
3136 (bibtex-mode-map): Define menu for each dialect.
3137 (bibtex-entry): Fix docstring.
3138
3139 2012-01-28 Chong Yidong <cyd@gnu.org>
3140
3141 * eshell/esh-arg.el (eshell-quote-argument): New function.
3142
3143 * eshell/esh-ext.el (eshell-invoke-batch-file):
3144 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3145 first arg to eshell-parse-command (Bug#10523).
3146
3147 2012-01-28 Drew Adams <drew.adams@oracle.com>
3148
3149 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3150 `default-directory' is non-nil.
3151
3152 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3153
3154 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3155 line that displays system-configuration-options. (Bug#9924)
3156
3157 2012-01-28 Drew Adams <drew.adams@oracle.com>
3158
3159 * descr-text.el (describe-char): Show information about POS, in
3160 addition to information about the character at POS. Improve and
3161 update the doc string. Change "code point" to "code point in
3162 charset", to avoid confusion with the character's Unicode code
3163 point shown above that. (Bug#10129)
3164
3165 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3166
3167 * descr-text.el (describe-char): Show the raw character, not only
3168 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3169 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3170 for the reasons.
3171
3172 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3173
3174 * emacs-lisp/package.el (package-install):
3175 Run package-refresh-contents if there is no archive yet (Bug#9798).
3176
3177 2012-01-28 Chong Yidong <cyd@gnu.org>
3178
3179 * emacs-lisp/package.el (package-maybe-load-descriptor):
3180 New function, split from package-maybe-load-descriptor.
3181 (package-maybe-load-descriptor): Use it.
3182 (package-download-transaction): Fully load required packages
3183 inside the loop, so that `require' calls work (Bug#10593).
3184 (package-install): No need to call package-initialize now.
3185
3186 2012-01-28 Chong Yidong <cyd@gnu.org>
3187
3188 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3189
3190 * tooltip.el (tooltip-mode): Doc fix.
3191 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3192
3193 * frame.el (set-cursor-color): Doc fix (Bug#352).
3194
3195 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3196 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3197
3198 * cus-edit.el (custom-buffer-create-internal): Fix search button
3199 action (Bug#10542).
3200 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3201
3202 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3203
3204 * dired.el (dired-mark-files-regexp):
3205 Include any subdirectory components. (Bug#10445)
3206
3207 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3208
3209 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3210 Handle [host]:port syntax. (Bug#10533)
3211
3212 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3213
3214 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3215
3216 2012-01-26 Glenn Morris <rgm@gnu.org>
3217
3218 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3219 * term.el (term-raw-escape-map): Use Control-X-prefix.
3220 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3221
3222 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3223
3224 * window.el (window-state-get, window--state-get-1): Don't deal
3225 with fixed-sizeness of windows. Simplify code.
3226
3227 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3228
3229 * window.el (window--state-get-1, window--state-put-2):
3230 Don't save and restore the mark.
3231
3232 2012-01-25 Chong Yidong <cyd@gnu.org>
3233
3234 * custom.el (custom-variable-p): Doc fix.
3235
3236 2012-01-25 Glenn Morris <rgm@gnu.org>
3237
3238 * dired.el (dired-goto-file): Handle some of the more common
3239 characters that `ls -b' escapes. (Bug#10596)
3240
3241 * progmodes/compile.el (compilation-next-error-function):
3242 Respect compilation-first-column in the "*compilation*" buffer.
3243 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3244
3245 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3246
3247 2012-01-24 Glenn Morris <rgm@gnu.org>
3248
3249 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3250
3251 2012-01-24 Julien Danjou <julien@danjou.info>
3252
3253 * color.el (color-rgb-to-hsl): Fix value computing.
3254 (color-hue-to-rgb): New function.
3255 (color-hsl-to-rgb): New function.
3256 (color-clamp, color-saturate-hsl, color-saturate-name)
3257 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3258 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3259
3260 2012-01-24 Glenn Morris <rgm@gnu.org>
3261
3262 * vc/vc-rcs.el (vc-rcs-create-tag):
3263 * vc/vc-sccs.el (vc-sccs-create-tag):
3264 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3265
3266 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3267
3268 * eshell/esh-util.el (eshell-read-hosts-file):
3269 Skip comment lines. (Bug#10549)
3270
3271 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3272
3273 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3274
3275 * subr.el (display-delayed-warnings): Doc fix.
3276 (collapse-delayed-warnings): New function to collapse identical
3277 adjacent warnings.
3278 (delayed-warnings-hook): Add it.
3279
3280 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3281
3282 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3283
3284 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3285 properties, when "login-as" is set.
3286
3287 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3288 (tramp-default-user-alist): Don't add "pscp".
3289 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3290 property "login-as", if set. (Bug#10530)
3291
3292 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3293
3294 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3295 "plink1" and "psftp". (Bug#10530)
3296
3297 2012-01-21 Kenichi Handa <handa@m17n.org>
3298
3299 * international/mule-cmds.el (prefer-coding-system): Show a
3300 warning message if the default value of file-name-coding-system
3301 was not changed.
3302
3303 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3304
3305 * windmove.el (windmove-reference-loc):
3306 Fix windmove-reference-loc miscalculation.
3307
3308 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3309
3310 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3311 default unit.
3312
3313 2012-01-21 Glenn Morris <rgm@gnu.org>
3314
3315 * international/mule.el (auto-coding-alist): Add .tbz.
3316
3317 * files.el (local-enable-local-variables): Doc fix.
3318 (inhibit-local-variables-regexps): Rename from
3319 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3320 Doc fix. Add some extensions from auto-coding-alist.
3321 (inhibit-local-variables-suffixes):
3322 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3323 (inhibit-local-variables-p):
3324 New function, extracted from set-auto-mode-1.
3325 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3326 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3327 (hack-local-variables): Doc fix. Make the mode-only case
3328 respect enable-local-variables and friends.
3329 Respect inhibit-local-variables-regexps for file-locals, but
3330 not for directory-locals.
3331 (set-visited-file-name):
3332 Take account of inhibit-local-variables-regexps.
3333 Whether it applies may change as the file name is changed.
3334 * jka-cmpr-hook.el (jka-compr-install):
3335 * jka-compr.el (jka-compr-uninstall):
3336 Update for inhibit-first-line-modes-suffixes name change.
3337
3338 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3339
3340 * help-macro.el (make-help-screen): Temporarily restore original
3341 binding for minor-mode-map-alist (Bug#10454).
3342
3343 2012-01-19 Julien Danjou <julien@danjou.info>
3344
3345 * color.el (color-name-to-rgb): Use the white color to find the max
3346 color component value and return correctly computed values.
3347 (color-name-to-rgb): Add missing float conversion for max value.
3348
3349 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3350
3351 * window.el (window--state-get-1, window-state-get): Do not use
3352 special state value for window-persistent-parameters.
3353 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3354 (window--state-put-2): Reset all window parameters to nil before
3355 assigning values of persistent parameters.
3356
3357 2012-01-18 Alan Mackenzie <acm@muc.de>
3358
3359 Eliminate sluggishness and hangs in fontification of "semicolon
3360 deserts".
3361
3362 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3363 Change value 10000 -> 3000.
3364 (c-state-safe-place): Reformulate so it doesn't stack up an
3365 infinite number of wrong entries in c-state-nonlit-pos-cache.
3366 (c-determine-limit-get-base, c-determine-limit): New functions to
3367 determine backward search limits disregarding literals.
3368 (c-find-decl-spots): Amend commenting.
3369 (c-cheap-inside-bracelist-p): New function which detects "={".
3370
3371 * progmodes/cc-fonts.el
3372 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3373 backward search.
3374 (c-font-lock-declarations): Fix an occurrence of point being
3375 undefined. Check additionally for point being in a bracelist or
3376 near a macro invocation without a semicolon so as to avoid a
3377 fruitless time consuming search for a declarator. Give a more
3378 precise search limit for declarators using the new
3379 c-determine-limit.
3380
3381 2012-01-18 Glenn Morris <rgm@gnu.org>
3382
3383 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3384 (set-auto-mode): Doc fixes.
3385
3386 2012-01-17 Glenn Morris <rgm@gnu.org>
3387
3388 * isearch.el (search-nonincremental-instead): Fix doc typo.
3389
3390 * dired.el (dired-insert-directory): Handle newlines in directory name.
3391 (dired-build-subdir-alist): Unescape newlines in directory name.
3392
3393 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3394
3395 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3396 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3397 (tramp-action-terminal): Use it. (Bug#10530)
3398
3399 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3400
3401 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3402
3403 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3404
3405 * window.el (window-state-ignored-parameters): Remove variable.
3406 (window--state-get-1): Rename argument MARKERS to IGNORE.
3407 Handle persistent window parameters. Make copy of clone-of
3408 parameter only if requested. (Bug#10348)
3409 (window--state-put-2): Install a window parameter only if it has
3410 a non-nil value or an existing parameter shall be overwritten.
3411
3412 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3413
3414 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3415
3416 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3417
3418 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3419 don't pass the (nil) value of `upnode' to string-match.
3420
3421 2012-01-14 Chong Yidong <cyd@gnu.org>
3422
3423 * startup.el (command-line): Fix X resource class for cursorColor.
3424 Fix values recognized by the cursorBlink resource.
3425
3426 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3427
3428 * epg.el (epg--make-temp-file): Avoid permission race condition
3429 when running on old Emacs versions (bug#10403).
3430
3431 2012-01-14 Glenn Morris <rgm@gnu.org>
3432
3433 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3434
3435 2012-01-13 Alan Mackenzie <acm@muc.de>
3436
3437 Fix filling for when filladapt mode is enabled.
3438
3439 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3440 c-mask-paragraph, pass in `fill-paragraph' rather than
3441 `fill-region-as-paragraph'. (This is a reversion of a previous
3442 change.)
3443 * progmodes/cc-mode.el (c-basic-common-init):
3444 Make fill-paragraph-handle-comment buffer local and set it to nil.
3445
3446 2012-01-13 Glenn Morris <rgm@gnu.org>
3447
3448 * dired.el (dired-switches-escape-p): New function.
3449 (dired-insert-directory): Use dired-switches-escape-p.
3450 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3451
3452 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3453
3454 2012-01-12 Glenn Morris <rgm@gnu.org>
3455
3456 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3457 changes in adaptive-fill-regexp. (Bug#10276)
3458
3459 2012-01-11 Alan Mackenzie <acm@muc.de>
3460
3461 Fix Emacs bug #10463 - put `widen's around the critical spots.
3462
3463 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3464 widen around each invocation of c-state-pp-to-literal. Remove an
3465 unused let variable.
3466
3467 2012-01-11 Glenn Morris <rgm@gnu.org>
3468
3469 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3470 Doc fix.
3471
3472 2012-01-10 Chong Yidong <cyd@gnu.org>
3473
3474 * net/network-stream.el (network-stream-open-starttls):
3475 Avoid emitting a confusing error message when the server gives a bad
3476 response to the capability command.
3477
3478 2012-01-10 Glenn Morris <rgm@gnu.org>
3479
3480 * mail/unrmail.el (unrmail): Tweak previous change.
3481
3482 2012-01-09 Chong Yidong <cyd@gnu.org>
3483
3484 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3485
3486 2012-01-08 Alan Mackenzie <acm@muc.de>
3487
3488 Optimise font locking in long enum definitions.
3489
3490 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3491 arm to a cond form to handle enums.
3492 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3493 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3494
3495 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3496
3497 * files.el (move-file-to-trash): Preserve default file modes on error.
3498 (Bug#10401)
3499
3500 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3501
3502 * faces.el (set-face-attribute): Clarify the meaning of the nil
3503 frame (bug#10294).
3504
3505 * subr.el (with-selected-frame): Mention that the selected frame
3506 is restored (bug#9980).
3507
3508 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3509 (bug#9759).
3510
3511 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3512 (password-read): Don't autoload unused function.
3513
3514 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3515
3516 * progmodes/which-func.el (which-func-mode): Turn into a
3517 non-interactive function and mark as obsolete (bug#10428).
3518
3519 2012-01-06 Chong Yidong <cyd@gnu.org>
3520
3521 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3522 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3523 functions, along with 1 and -1.
3524
3525 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3526
3527 * time.el (display-time-load-average)
3528 (display-time-default-load-average): Doc fixes. See the thread
3529 starting at
3530 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3531 for the details.
3532
3533 2012-01-06 Glenn Morris <rgm@gnu.org>
3534
3535 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3536 has no messages. (Bug#10377)
3537
3538 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3539 than Info-edit. (Bug#10385)
3540
3541 * time.el (display-time-load-average, display-time-next-load-average):
3542 Doc fixes.
3543
3544 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3545 local setting of buffer-read-only to the input buffer. (Bug#10419)
3546
3547 * calendar/calendar.el (calendar-mode):
3548 Locally set scroll-margin to 0. (Bug#10379)
3549
3550 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3551
3552 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3553
3554 2012-01-05 Glenn Morris <rgm@gnu.org>
3555
3556 * eshell/em-unix.el (diff-no-select): Autoload it.
3557 (eshell/diff): Use diff-no-select. (Bug#10420)
3558
3559 2012-01-05 Chong Yidong <cyd@gnu.org>
3560
3561 * shell.el (shell-dynamic-complete-functions): Revert last change.
3562 (shell-command-completion-function): New function.
3563 (shell-completion-vars): Use it to implement
3564 shell-completion-execonly (Bug#10417).
3565
3566 * custom.el (enable-theme): Don't set custom-safe-themes.
3567
3568 * cus-theme.el (custom-theme-merge-theme):
3569 Ignore custom-enabled-themes and custom-safe-themes.
3570
3571 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3572
3573 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3574 first prompt in `sql-interacive-mode'.
3575 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3576 keywords.
3577 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3578 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3579 context of original buffer. Invoke `sql-login-hook'.
3580
3581 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3582
3583 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3584 letters in cite-prefix.
3585
3586 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3587
3588 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3589
3590 2012-01-03 Chong Yidong <cyd@gnu.org>
3591
3592 * shell.el (shell-dynamic-complete-functions):
3593 Put pcomplete-completions-at-point, so as to try
3594 comint-filename-completion first (Bug#10417).
3595
3596 2012-01-02 Richard Stallman <rms@gnu.org>
3597
3598 * battery.el (battery-status-function):
3599 Detect when to use battery-yeeloong-sysfs.
3600 (battery-echo-area-format): Add string for Yeeloong.
3601 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3602 (battery-yeeloong-sysfs): New function.
3603
3604 2012-01-02 Chong Yidong <cyd@gnu.org>
3605
3606 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3607 (dirtrack): Merge code for handling relative filenames in prompt
3608 from shell-dir-cookie-watcher.
3609 (dirtrack-debug-message): New arg to avoid excess format calls.
3610
3611 * shell.el (shell-dir-cookie-re): Variable deleted.
3612 (shell-dir-cookie-watcher): Function deleted.
3613 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3614 with dirtrack-mode.
3615
3616 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3617
3618 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3619 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3620 libgnutls-26.dll.
3621
3622 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3623
3624 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3625
3626 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3627
3628 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3629 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3630
3631 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3632
3633 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3634 also for alternative shells.
3635 (tramp-open-connection-setup-interactive-shell): Check, whether
3636 the shell is a busybox.
3637 (tramp-send-command): Don't suppress multiple prompts for
3638 busyboxes, it hurts.
3639
3640 2011-12-28 Chong Yidong <cyd@gnu.org>
3641
3642 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3643 (gdb-get-source-file): Move mode line update to
3644 gdb-get-source-file (Bug#10087).
3645
3646 2011-12-25 Chong Yidong <cyd@gnu.org>
3647
3648 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3649 gud-gdb-marker-filter without taking it as an argument.
3650 (gud-gdb-run-command-fetch-lines): Caller changed.
3651 (gud-gdb-completion-function): New variable.
3652 (gud-gdb-completion-at-point): Use it.
3653 (gud-gdb-completions-1): Split from gud-gdb-completions.
3654
3655 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3656 function as separate arguments.
3657 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3658 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3659 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3660 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3661 (gdb-stopped, def-gdb-auto-update-trigger)
3662 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3663 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3664 Callers changed.
3665 (gud-gdbmi-completions): New function.
3666 (gdb): Use it for generating the completion table.
3667
3668 2011-12-24 Alan Mackenzie <acm@muc.de>
3669
3670 Introduce a mechanism to widen the region used in context font
3671 locking. Use this to protect declarations from losing their contexts.
3672
3673 * progmodes/cc-langs.el (c-before-font-lock-functions):
3674 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3675 (c-before-context-fontification-functions): New defvar, a list of
3676 functions to be run just before context (etc.) font locking.
3677
3678 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3679 New, functionality extracted from
3680 c-neutralize-syntax-in-and-mark-CPP.
3681 (c-in-after-change-fontification): New variable.
3682 (c-after-change): Set c-in-after-change-fontification.
3683 (c-set-fl-decl-start): Rejig its interface, so it can be called
3684 from both after-change and context fontifying.
3685 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3686 New functions.
3687 (c-standard-font-lock-fontify-region-function): New variable.
3688 (c-font-lock-fontify-region): New function.
3689
3690 2011-12-24 Juri Linkov <juri@jurta.org>
3691
3692 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3693 (Bug#10348)
3694
3695 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3696
3697 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3698 existence of source file. (Bug#10325)
3699
3700 2011-12-23 Alan Mackenzie <acm@muc.de>
3701
3702 Fix unstable fontification inside templates.
3703
3704 * progmodes/cc-langs.el (c-before-font-lock-functions):
3705 Newly created from the singular version. The (c c++ objc) entry now
3706 additionally has c-set-fl-decl-start. The other languages (apart
3707 from AWK) have that as a single entry.
3708
3709 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3710 The functionality for "local" declarations has been extracted to
3711 c-set-fl-decl-start.
3712
3713 * progmodes/cc-mode.el (c-common-init, c-after-change):
3714 Changes due to pluralisation of c-before-font-lock-functions.
3715 (c-set-fl-decl-start): New function, extracted from
3716 c-font-lock-enclosing-decls and enhanced.
3717
3718 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3719
3720 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3721
3722 2011-12-22 Juri Linkov <juri@jurta.org>
3723
3724 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3725
3726 2011-12-22 Chong Yidong <cyd@gnu.org>
3727
3728 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3729
3730 2011-12-21 Drew Adams <drew.adams@oracle.com>
3731
3732 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3733
3734 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3735
3736 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3737
3738 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3739
3740 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3741 highlighting and support. Fix up comments for capitalization.
3742 (cfengine-mode-debug): New var.
3743 (cfengine3-mode): Change the modeline indicator to "CFE3".
3744 (cfengine3-font-lock-keywords): Improve defun highlighting.
3745 (cfengine2-actions): Rename from `cfengine-actions'.
3746 (cfengine2-font-lock-keywords): Rename from
3747 `cfengine-font-lock-keywords'.
3748 (cfengine2-imenu-expression): Rename from
3749 `cfengine-imenu-expression'.
3750 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3751 (cfengine2-beginning-of-defun): Rename from
3752 `cfengine-beginning-of-defun'.
3753 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3754 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3755 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3756 modeline indicator to "CFE2".
3757 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3758 (cfengine-mode-abbrevs): Mark obsolete.
3759
3760 2011-12-21 Chong Yidong <cyd@gnu.org>
3761
3762 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3763 filename argument.
3764
3765 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3766
3767 * window.el (window-normalize-buffer-to-display): Remove.
3768 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3769
3770 2011-12-19 Chong Yidong <cyd@gnu.org>
3771
3772 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3773 Don't signal an error in a predicate function; return non-nil.
3774 (vc-dir-mark-file): Move the error here.
3775 (vc-dir-mark-unmark): If acting on the region, keep going if one
3776 of the entries cannot be marked/unmarked.
3777 (vc-dir-mark-all-files): If current entry is a directory, mark
3778 only child files, as documented.
3779
3780 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3781
3782 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3783 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3784 addition.
3785
3786 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3787
3788 * term/ns-win.el (ns-get-selection-internal)
3789 (ns-store-selection-internal): Declare.
3790 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3791 Declare as obsolete.
3792 (ns-get-pasteboard, ns-paste-secondary):
3793 Use ns-get-selection-internal.
3794 (ns-set-pasteboard, ns-copy-including-secondary):
3795 Use ns-store-selection-internal.
3796
3797 2011-12-17 Chong Yidong <cyd@gnu.org>
3798
3799 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3800 (vc-deduce-fileset): Doc fix.
3801
3802 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3803
3804 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3805
3806 2011-12-13 Sam Steingold <sds@gnu.org>
3807
3808 * man.el (Man-getpage-in-background): When running under a
3809 window-system, ignore $MANWIDTH and $COLUMNS.
3810
3811 2011-12-15 Kenichi Handa <handa@m17n.org>
3812
3813 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3814 (setup-ethiopic-environment-internal): Comment out key-binding for
3815 ethio-toggle-punctuation.
3816
3817 2011-12-13 Alan Mackenzie <acm@muc.de>
3818
3819 Add the switch statement to AWK Mode.
3820
3821 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3822 "default" to the keywords regexp.
3823
3824 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3825 expression as the rest.
3826 (c-nonlabel-token-key): Allow string literals for AWK.
3827 Refactor for the other modes.
3828
3829 Large brace-block initialisation makes CC Mode slow: Fix.
3830 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3831 routines. Limit backward searching in c-font-lock-enclosing.decl.
3832
3833 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3834 pp-state and literal type in addition to the limits.
3835 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3836 (c-state-literal-at): Use the above new defun.
3837 (c-slow-in-literal, c-fast-in-literal): Remove.
3838 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3839
3840 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3841 being in a literal. Add a limit for backward searching.
3842
3843 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3844 c-slow-in-literal.
3845
3846 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3849
3850 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3851
3852 * window.el (delete-other-windows): Use correct frame in call to
3853 window-with-parameter.
3854
3855 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3856
3857 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3858 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3859 (makefile-gmake-statements, makefile-makepp-statements):
3860 Use it and add new makepp keywords.
3861 (makefile-makepp-font-lock-keywords): Add new patterns.
3862 (makefile-match-function-end): Match new [...] and [[...]].
3863
3864 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3865
3866 * ses.el (ses-call-printer-return, ses-cell-property-get)
3867 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3868 (ses-create-cell-variable, ses-reset-header-string)
3869 (ses-cell-set-formula, ses-repair-cell-reference-all)
3870 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3871 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3872 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3873 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3874 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3875 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3876 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3877 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3878 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3879 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3880 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3881 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3882
3883 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3884
3885 * ses.el: The overall change is to add cell renaming, that is
3886 setting fancy names for cell symbols other than name matching
3887 "\\`[A-Z]+[0-9]+\\'" regexp .
3888 (ses-create-cell-variable): New defun.
3889 (ses-relocate-formula): Relocate formulas only for cells the
3890 symbols of which are not renamed, i.e. symbols whose names do not
3891 match regexp "\\`[A-Z]+[0-9]+\\'".
3892 (ses-relocate-all): Relocate values only for cells the symbols of
3893 which are not renamed.
3894 (ses-load): Create cells variables as the (ses-cell ...) are read,
3895 in order to check row col consistency with cell symbol name only
3896 for cells that are not renamed.
3897 (ses-replace-name-in-formula): New defun.
3898 (ses-rename-cell): New defun.
3899
3900 2011-12-11 Chong Yidong <cyd@gnu.org>
3901
3902 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3903 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3904
3905 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3906
3907 * window.el (other-window): Fix docstring.
3908
3909 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3910
3911 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3912 `from' or `to' address before taking its substring.
3913 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3914 encoded name is chopped in the middle of the encoded string, and
3915 thus displayed encoded.
3916
3917 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3918
3919 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3920
3921 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3922
3923 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3924 to use texinfo-update-node and commands that call it if the
3925 Texinfo file uses @node lines without next/prev/up pointers.
3926 Correct outdated description about texinfo-master-menu.
3927 (texinfo-all-menus-update, texinfo-master-menu)
3928 (texinfo-update-node, texinfo-every-node-update)
3929 (texinfo-multiple-files-update): Doc fix. Warn against updating
3930 all the @node lines.
3931 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3932 argument is numeric. Explain better in the doc string what the
3933 function really does.
3934 (texinfo-insert-master-menu-list): Improve the error message
3935 displayed if there's no menu in the Top node.
3936 (Bug#2975) See also this thread:
3937 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3938
3939 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3940
3941 * speedbar.el (speedbar-supported-extension-expressions):
3942 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3943
3944 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3945
3946 * printing.el (pr-mode-alist):
3947 * simple.el (filter-buffer-substring-functions)
3948 (completion-list-insert-choice-function):
3949 * window.el (window-with-parameter, window-atom-root)
3950 (window-sides-slots, window-size-fixed, window-min-delta)
3951 (window-max-delta, window--resize-mini-window)
3952 (window--resize-child-windows-normal, window-tree)
3953 (delete-other-windows, quit-window, split-window)
3954 (display-buffer-record-window, special-display-buffer-names)
3955 (special-display-regexps, special-display-popup-frame)
3956 (same-window-p, split-window-sensibly)
3957 (display-buffer-overriding-action, display-buffer-alist)
3958 (display-buffer-base-action, display-buffer, switch-to-buffer)
3959 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3960 (fit-window-to-buffer, recenter-positions)
3961 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3962 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3963 and remove unneeded backslashes in docstrings.
3964
3965 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3966
3967 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3968
3969 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3970 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3971 end in ".mk".
3972 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3973 when reading the makefile (bug#10116).
3974
3975 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3976
3977 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3978 (bug#10116).
3979
3980 2011-12-06 Glenn Morris <rgm@gnu.org>
3981
3982 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3983
3984 2011-12-06 Chong Yidong <cyd@gnu.org>
3985
3986 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3987
3988 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3989
3990 * textmodes/table.el (table-shorten-cell): Fix typo.
3991
3992 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3993
3994 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3995
3996 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3997
3998 * descr-text.el (describe-char): Fix display of strong
3999 right-to-left characters and directional embeddings and overrides.
4000
4001 * simple.el (what-cursor-position): Fix display of codepoints of
4002 strong right-to-left characters.
4003
4004 2011-12-05 Chong Yidong <cyd@gnu.org>
4005
4006 * faces.el (read-color): Doc fix.
4007
4008 2011-12-05 Glenn Morris <rgm@gnu.org>
4009
4010 * align.el (align--set-marker): Add doc-string.
4011 Don't try to move something that is not a marker. (Bug#10216)
4012
4013 2011-12-04 Glenn Morris <rgm@gnu.org>
4014
4015 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4016 overly zealous deletion of trailing whitespace.
4017
4018 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
4019
4020 * server.el (server-delete-client): On Windows, do not try to delete
4021 the only terminal.
4022 (server-process-filter): On Windows, treat requests for a tty frame as
4023 if they were for a GUI frame if the running server is in GUI mode.
4024
4025 2011-12-03 Glenn Morris <rgm@gnu.org>
4026
4027 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4028
4029 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4030
4031 * electric.el: Streamline electric-indent's hook.
4032 (electric-indent-chars): Revert to simple list.
4033 (electric-indent-functions): New var.
4034 (electric-indent-post-self-insert-function): Use it.
4035
4036 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4037 there's no inferior buffer (bug#10196).
4038 (prolog-consult-compile): Don't use toggle-read-only.
4039
4040 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
4041
4042 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4043 interrupt. (Bug#10187)
4044
4045 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4048 (bug#9160).
4049
4050 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4051 (bug#10191).
4052
4053 2011-12-02 Juri Linkov <juri@jurta.org>
4054
4055 * info.el (Info-search): Display "end of manual" when Isearch
4056 reaches the end of single-file Info manual. (Bug#9918)
4057
4058 2011-12-02 Eli Zaretskii <eliz@gnu.org>
4059
4060 * isearch.el (isearch-message-prefix): Run the input method part
4061 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4062
4063 2011-12-02 Juri Linkov <juri@jurta.org>
4064
4065 * isearch.el (isearch-occur): Use `word-search-regexp' for
4066 `isearch-word'.
4067 (isearch-search-and-update): Add condition for `isearch-word' and
4068 call `word-search-regexp'. (Bug#10145)
4069
4070 2011-12-01 Glenn Morris <rgm@gnu.org>
4071
4072 * eshell/em-hist.el (eshell-hist-initialize):
4073 Handle eshell-history-size nil and HISTSIZE set or unset.
4074 (eshell-history-file-name, eshell-history-size): Fix custom type.
4075
4076 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4079
4080 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
4081
4082 * progmodes/verilog-mode.el (verilog-pretty-expr):
4083 Rework verilog-pretty-expr to handle new assignment operators in system
4084 verilog, such as += *= and the like.
4085 (verilog-assignment-operator-re): Regular expression to find the
4086 assigment operator in a verilog assignment.
4087 (verilog-assignment-operation-re): Regular expression to find an
4088 assignment statement for pretty-expr.
4089 (verilog-in-attribute-p): Query returns true if point is in an
4090 attribute context; used to skip these for expression line up from
4091 pretty-expr.
4092 (verilog-in-parameter-p): Query returns true if point is in an
4093 parameter definition context; used to skip these for expression
4094 line up from pretty-expr.
4095 (verilog-in-parenthesis-p): Query returns true if point is in a
4096 parenthetical expression, specifically ( ) but not [ ] or { };
4097 used by pretty-expr.
4098 (verilog-just-one-space): If there is no space, don't add one.
4099 (verilog-get-lineup-indent-2): Specifically skip just attribute
4100 contexts for expression lineup, rather than skipping all
4101 parenthetical expressions.
4102 (verilog-calculate-indent): Fix comment, and fix indent.
4103 (verilog-do-indent): Indent declarations in lists (suggested by
4104 Joachim Lechner).
4105 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4106 skeleton items.
4107 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4108 by Alain Mellan).
4109
4110 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4111
4112 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4113 parameters with embedded comments. Reported by Ray Stevens.
4114 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4115 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4116 Reported by Tim Holt.
4117 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4118 instantiated by upper module causing wrong expansion until AUTOed a
4119 second time. Reported by K C Buckenmaier.
4120 (verilog-diff-auto): Fix showing .* as a difference when
4121 `verilog-auto-star-save' off. Reported by Dan Dever.
4122 (verilog-auto-reset, verilog-read-always-signals)
4123 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4124 temporary signals in reset list if
4125 verilog-auto-reset-blocking-in-non is nil, and match assignment
4126 style to each signal's assignment type, bug381.
4127 Reported by Thomas Esposito.
4128 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4129 (verilog-uvm-statement-re): Support UVM indentation and
4130 highlighting, with old OVM keywords only.
4131 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4132 Support AUTOTIEOFF creating non-wire data types.
4133 Suggested by Jonathan Greenlaw.
4134 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4135 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4136 (verilog-inject-sense, verilog-read-inst-pins)
4137 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4138 Fix mismatching parenthesis inside commented out code when deleting
4139 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4140 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4141 non-numeric vector width. Reported by Alex Reed.
4142 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4143 detecting signals with parameter widths. Reported by Alex Reed.
4144 (verilog-auto-delete-trailing-whitespace):
4145 With `verilog-auto-delete-trailing-whitespace' remove trailing
4146 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4147 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4148 Fix verilog-scan-cache corruption when running user AUTO expansion
4149 hooks that call indentation routines.
4150 (verilog-simplify-range-expression): Fix typo ignoring lower case
4151 identifiers.
4152 (verilog-delete-auto): Fix delete-autos to also remove user created
4153 automatics, as long as they start with AUTO.
4154 (verilog-batch-diff-auto, verilog-diff-auto)
4155 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4156 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4157 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4158 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4159 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4160 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4161 is disabled and its cache will get corrupt, causing AUTOS not to
4162 expand. Instead use only -quick functions.
4163 (verilog-scan-region): Fix scanning over escaped quotes.
4164 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4165 (verilog-re-search-backward-quick)
4166 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4167 related functions now ignore strings, to fix misparsing of strings
4168 with magic comments embedded in them.
4169 (verilog-read-auto-template):
4170 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4171 Reported by Brad Dobbie.
4172 (verilog-read-auto-template):
4173 Fix 'verilog-auto-inst-template-numbers' with comments.
4174 Reported by Brad Dobbie.
4175 (verilog-auto-inst, verilog-auto-inst-param)
4176 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4177 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4178 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4179 debugging templates without merge conflicts, bug357.
4180 Reported by Brad Dobbie.
4181 (verilog-read-auto-template):
4182 Fix verilog-auto-inst-template-numbers with multiple templates.
4183 Reported by Brad Dobbie.
4184 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4185 abbrevs so user won't be asked to save.
4186 (verilog-read-auto-lisp-present): Fix to start at beginning of
4187 buffer in case called outside of verilog-auto.
4188 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4189 to "X-2". Reported by Matthew Myers.
4190 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4191 all inputs from module templates. Reported by Leith Johnson.
4192 (verilog-module-inside-filename-p): Fix locating programs as with
4193 modules.
4194 (verilog-auto-inst-port): Fix vl-width expressions when using
4195 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4196 (verilog-decls-get-regs, verilog-decls-get-signals,
4197 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4198 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4199 verilog-read-decls): Combine reg and wire structures into one var
4200 structure to represent SystemVerilog concepts.
4201 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4202 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4203 (verilog-auto-wire-type, verilog-insert-definition):
4204 Add verilog-auto-wire-type and AUTOLOGIC to support using
4205 SystemVerilog "logic" keyword instead of "wire"/"reg".
4206 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4207 to declares outputs that also have assignments (presumably in an
4208 ifdef or generate if so there's not a driver conflict).
4209 Reported by Matthew Myers.
4210 (verilog-auto-declare-nettype, verilog-insert-definition):
4211 Add verilog-auto-declare-nettype to fix declarations using
4212 `default_nettype none. Reported by Julian Gorfajn.
4213 (verilog-read-always-signals-recurse, verilog-read-decls)
4214 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4215 malformed end statement, bug325. Reported by Joshua Wise and
4216 Andrew Drake.
4217 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4218 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4219 when expanding .* in interfaces, bug320.
4220 Reported by Pierre-David Pfister.
4221 (verilog-read-module-name): Fix import statements between module
4222 name and open parenthesis, bug317.
4223 Reported by Pierre-David Pfister.
4224 (verilog-simplify-range-expression): Fix simplification of
4225 multiplications inside AUTOWIRE connections, bug303.
4226 (verilog-auto-inst-port): Support parameter expansion in
4227 multidimensional arrays.
4228 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4229 after "assert property". Reported by Julian Gorfajn.
4230 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4231 with multiplication, bug303.
4232 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4233 Reported by Jan Frode Lonnum.
4234
4235 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4236
4237 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4238 (hfy-shell-file-name, hfy-shell):
4239 * international/fontset.el (x-decompose-font-name): Fix typos.
4240
4241 2011-11-29 Ken Brown <kbrown@cornell.edu>
4242
4243 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4244 (gdb-version): Remove defvar.
4245 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4246 (gdb-gud-context-command, gdb-non-stop-handler)
4247 (gdb-current-context-command, gdb-stopped): Use it.
4248 (gdb-init-1): Enable pretty printing here.
4249 (gdb-non-stop-handler): Don't enable pretty-printing here.
4250 Check to see if the target supports non-stop mode; if not, turn off
4251 non-stop mode. Use the following.
4252 (gdb-check-target-async): New defun.
4253 (gud-watch, gdb-stopped): Fix whitespace.
4254 (gdb-get-source-file): Don't try to display the source file if
4255 `gdb-main-file' is nil.
4256
4257 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * align.el: Try to generate fewer markers (bug#10047).
4260 (align--set-marker): New macro.
4261 (align-region): Use it.
4262
4263 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4266
4267 2011-11-29 Chong Yidong <cyd@gnu.org>
4268
4269 * indent.el (indent-for-tab-command, indent-according-to-mode):
4270 Doc fix.
4271 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4272
4273 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4274
4275 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4276 aware of remote file names. (Bug#10124)
4277
4278 2011-11-29 Chong Yidong <cyd@gnu.org>
4279
4280 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4281
4282 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 * files.el (find-file): Don't use force-same-window (bug#10144).
4285 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4286 use pop-to-buffer if the selected window can't be used.
4287 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4288
4289 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4290
4291 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4292 special-mode-map.
4293
4294 2011-11-28 Chong Yidong <cyd@gnu.org>
4295
4296 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4297
4298 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4299
4300 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4301 gdb-get-source-file-list on gdb-create-source-file-list.
4302
4303 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4304
4305 * whitespace.el (whitespace-newline): Use a different foreground
4306 color for 16-color light-background displays.
4307
4308 2011-11-24 Chong Yidong <cyd@gnu.org>
4309
4310 * window.el (display-buffer--special-action): Doc fix.
4311
4312 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4313
4314 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4315 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4316 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4317 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4318 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4319 (avl-tree-stack-first):
4320 * emacs-lisp/cconv.el (cconv--analyse-use):
4321 * net/gnutls.el (gnutls-negotiate): Fix typos.
4322
4323 2011-11-24 Glenn Morris <rgm@gnu.org>
4324
4325 * lpr.el (lpr-windows-system, lpr-lp-system):
4326 * mail/binhex.el (binhex-begin-line):
4327 * progmodes/grep.el (grep-history, grep-find-history):
4328 * textmodes/flyspell.el:
4329 * vc/pcvs-defs.el (cvs-global-menu):
4330 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4331 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4332 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4333
4334 * net/tls.el: Fix case of "GnuTLS".
4335
4336 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4337
4338 * version.el (emacs-build-system): Give it a doc-string.
4339
4340 2011-11-24 Juri Linkov <juri@jurta.org>
4341
4342 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4343
4344 2011-11-24 Glenn Morris <rgm@gnu.org>
4345
4346 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4347 if called on a non-mime message just toggle the headers. (Bug#8006)
4348
4349 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4350
4351 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4352 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4353 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4354 (allout-rebullet-heading, allout-open-sibtopic)
4355 (allout-toggle-current-subtree-encryption)
4356 (allout-toggle-subtree-encryption, allout-encrypt-string)
4357 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4358 (allout-distinctive-bullets-string, allout-auto-activation):
4359 * window.el (window-normalize-buffer-to-display):
4360 * progmodes/verilog-mode.el (verilog-batch-indent):
4361 * textmodes/bibtex.el (bibtex-field-braces-opt)
4362 (bibtex-field-strings-opt):
4363 * vc/cvs-status.el (cvs-tree-merge):
4364 Fix typos.
4365
4366 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4367
4368 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4369 `non-essential' to t, in order to avoid remote connections.
4370
4371 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4372
4373 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4374 On MS-DOS and MS-Windows, compare with loaddefs.el
4375 case-insensitively.
4376
4377 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4378
4379 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4380
4381 2011-11-23 Glenn Morris <rgm@gnu.org>
4382
4383 * paths.el (rmail-file-name): Reformat the doc-string so that it
4384 is picked up.
4385
4386 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4387 (rmail-auto-file): Ignore case in the "special" field names,
4388 as mail-fetch-field does for all others.
4389
4390 * mail/rmail.el (rmail-forward):
4391 * mail/rmailkwd.el (rmail-set-label):
4392 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4393 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4394
4395 * mail/rmail.el (rmail-current-message): Doc fix.
4396
4397 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4398
4399 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4402
4403 2011-11-22 Glenn Morris <rgm@gnu.org>
4404
4405 * mail/rmailmm.el (test-rmail-mime-handler)
4406 (test-rmail-mime-bulk-handler)
4407 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4408
4409 2011-11-21 Juri Linkov <juri@jurta.org>
4410
4411 * calc/calc.el (calc-read-key-sequence):
4412 Let-bind `input-method-function' to nil. (Bug#10018)
4413
4414 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4415
4416 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4417 Tell the caller that the next line needs recomputation, even
4418 though it doesn't start a sexp (bug#10094).
4419
4420 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4423
4424 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4425
4426 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4427 Use force-same-window.
4428
4429 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4430
4431 * descr-text.el (describe-char-unicode-data):
4432 * json.el (json-string-escape):
4433 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4434 (Footnote-unicode, Footnote-style-p):
4435 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4436
4437 2011-11-20 Chong Yidong <cyd@gnu.org>
4438
4439 * window.el (replace-buffer-in-windows): Restore interactive spec.
4440
4441 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4442
4443 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4444
4445 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4446 (byte-compile-global-not-obsolete-vars): New var.
4447 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4448 Use it.
4449 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4450
4451 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4452
4453 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4454 * progmodes/pascal.el (electric-pascal-equal):
4455 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4456 * xml.el (xml-substitute-special): Fix typos.
4457
4458 2011-11-20 Glenn Morris <rgm@gnu.org>
4459
4460 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4461 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4462 Doc fixes.
4463 (rmail-decode-mime-charset): Mark as obsolete.
4464
4465 * mail/rmailsum.el (rmail-message-regexp-p-1):
4466 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4467 Before using mime functions, check they are set. (Bug#10077)
4468
4469 2011-11-19 Juri Linkov <juri@jurta.org>
4470
4471 * info.el (Info-finder-find-node): Use `package--builtins' instead
4472 of `package-alist'. Use node names formed by the pattern "Keyword "
4473 and the keyword name.
4474
4475 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4476
4477 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4478
4479 2011-11-19 Juri Linkov <juri@jurta.org>
4480
4481 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4482 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4483 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4484 `old-history', `old-history-forward'. Add let-binding
4485 `window-selected'. Remove calls to `kill-buffer',
4486 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4487 before calling `Info-find-node', so `Info-find-node-2' will reread
4488 the Info file. Restore window positions only when `window-selected'
4489 is non-nil.
4490
4491 2011-11-19 Juri Linkov <juri@jurta.org>
4492
4493 * isearch.el (isearch-lazy-highlight-new-loop):
4494 Remove condition `(not isearch-error)'. (Bug#9918)
4495
4496 * misearch.el (multi-isearch-search-fun): Add condition
4497 `(not bound)' to ignore lazy-highlighting search.
4498 Add the search-failed message "end of multi" when the end of
4499 multi-sequence is reached. Uncapitalize the search-failed
4500 message "Repeat for next buffer".
4501
4502 * info.el (Info-search): Add the search-failed message
4503 "end of the manual" when the end of the manual is reached
4504 in Isearch mode.
4505
4506 2011-11-19 Juri Linkov <juri@jurta.org>
4507
4508 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4509 Use non-destructive `remove' instead of `delete' because
4510 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4511 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4512
4513 2011-11-19 Juri Linkov <juri@jurta.org>
4514
4515 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4516 to nil instead of binding `search-ring' and `regexp-search-ring'.
4517 (Bug#9185)
4518
4519 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4520
4521 * simple.el (line-move): Force movement by logical lines for any
4522 hscrolled window, not only when auto-hscroll-mode is on.
4523 (line-move-visual): Update doc string to that effect. (Bug#10076)
4524
4525 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4526
4527 * language/european.el (macintosh): Define as alias for mac-roman.
4528
4529 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4530
4531 * mail/rmailmm.el (rmail-mime-display-header)
4532 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4533 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4534 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4535 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4536 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4537 of a raw aref.
4538 (rmail-mime-entity-segment): To get past the tagline, move forward
4539 2 more lines, to account for the 2 empty lines that precede and
4540 follow the line with the buttons.
4541 (rmail-mime-update-tagline): Move one more line, to get past the
4542 empty line that follows the buttons in the tagline. (Bug#9520)
4543
4544 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4545
4546 * window.el (window-max-delta-1, window-min-delta-1)
4547 (window-min-size-1, window-state-get-1, window-state-put-1)
4548 (window-state-put-2): Use "window--" prefix.
4549
4550 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4553 (smie-warning-count): New var.
4554 (smie-set-prec2tab): Use it.
4555 (smie-bnf->prec2): Improve warnings. Add docstring.
4556 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4557 (smie-bnf--set-class): New function.
4558 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4559 corner case.
4560
4561 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4562 (compilation-error-properties, compilation-move-to-column):
4563 Handle compilation-first-column while in the target buffer.
4564
4565 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4566 Don't hardcode point-min==1.
4567
4568 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4569 (eshell-rewrite-for-command): Remove workaround.
4570 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4571 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4572 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4573
4574 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4575
4576 2011-11-17 Glenn Morris <rgm@gnu.org>
4577
4578 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4579 Ignore buffer-local generated-autoload-file if it is the same
4580 as the global value. (Bug#10049)
4581
4582 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4583
4584 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4585 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4586 (reftex-toc-previous-heading, reftex-toc-max-level)
4587 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4588 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4589 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4590 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4591 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4592 (reftex-toc-rename-label, reftex-toc-visit-location)
4593 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4594 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4595 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4596 leaving "*toc*" only for references to the buffer.
4597
4598 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4599
4600 * window.el (window-resize, delete-window, split-window):
4601 Replace window-splits by window-combination-resize.
4602 * cus-start.el (window-splits): Replace by window-combination-resize.
4603
4604 2011-11-17 Glenn Morris <rgm@gnu.org>
4605
4606 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4607 Make bash entry derive from sh entry, not shell entry.
4608
4609 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4610
4611 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4612 properties of linked files. (Bug#9879)
4613
4614 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4615 local file name.
4616
4617 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4618
4619 * menu-bar.el (menu-bar-file-menu):
4620 * printing.el (pr-ps-utility):
4621 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4622 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4623 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4624 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4625 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4626 (icalendar--convert-cyclic-to-ical)
4627 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4628 (icalendar--convert-ical-to-diary)
4629 (icalendar--convert-recurring-to-diary)
4630 (icalendar--convert-non-recurring-all-day-to-diary)
4631 (icalendar-import-format-sample):
4632 * progmodes/idlw-shell.el (idlwave-shell-mode):
4633 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4634 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4635 (vhdl-ps-print-init): Fix typos.
4636
4637 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4638
4639 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4640 FSF and collapse date sequence, obscure author/maintainer email address
4641 better, remove extra version line, track relocation of author's webpage.
4642
4643 * progmodes/python.el (python-pdbtrack-input-prompt)
4644 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4645 regular python pdb prompts. Adjustments shamelessly taken exactly as
4646 suggested in EmacsWiki page (tiny change):
4647 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4648
4649 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4650
4651 * expand.el (expand-pos, expand-index, expand-point):
4652 Remove redundant info from docstring.
4653 (expand-add-abbrevs): Doc fix.
4654 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4655 (expand-sample-perl-mode-expand-list): Fix typos.
4656
4657 * net/dbus.el (dbus-event-member-name):
4658 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4659 * term/pc-win.el (msdos-create-frame-with-faces):
4660 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4661
4662 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4663
4664 * window.el (split-window, window-state-get-1)
4665 (window-state-put-1, window-state-put-2): Rename occurrences of
4666 window-nest to window-combination-limit.
4667 * cus-start.el (window-nest): Rename to window-combination-limit.
4668
4669 2011-11-16 Chong Yidong <cyd@gnu.org>
4670
4671 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4672 regexp (Bug#10033).
4673
4674 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4677 `completing-read' will remove *Completions* and will preserve
4678 current-buffer for us.
4679 (tmm-add-prompt): Users of *Completions* will always (re)set its
4680 major mode.
4681 (tmm-old-comp-map): Remove.
4682
4683 2011-11-16 Glenn Morris <rgm@gnu.org>
4684
4685 * mail/rmailedit.el: Require rmailmm when compiling.
4686 (rmail-old-mime-state): New declaration.
4687 (rmail-edit-current-message): If editing a mime message,
4688 edit the "raw" message from the mbox buffer.
4689 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4690
4691 2011-11-15 Glenn Morris <rgm@gnu.org>
4692
4693 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4694 which wasn't being used. Add optional arg to force given state.
4695 (rmail-mime): Add optional arg to force given state.
4696
4697 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4698
4699 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4700 * frame.el (display-mm-dimensions-alist):
4701 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4702 (outline-move-subtree-down):
4703 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4704 (newsticker--treeview-do-get-node):
4705 * net/quickurl.el (quickurl-list-buffer-name):
4706 * progmodes/dcl-mode.el (dcl-mode):
4707 * progmodes/gdb-mi.el (gdb-mapcar*):
4708 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4709
4710 2011-11-15 Glenn Morris <rgm@gnu.org>
4711
4712 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4713 in a boolean sense, so just make it a boolean, and fix the doc.
4714 (rmail-show-mime-function, rmail-mime-feature)
4715 (rmail-require-mime-maybe): Doc fixes.
4716 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4717
4718 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4719
4720 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4721
4722 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4723 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4724 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4725 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4726
4727 2011-11-15 Glenn Morris <rgm@gnu.org>
4728
4729 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4730 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4731 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4732 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4733 (rmail-mime, rmail-show-mime): Doc fixes.
4734
4735 * term/ns-win.el (mode-line-frame-identification):
4736 Leave it alone. (Bug#10051)
4737
4738 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4739
4740 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4741 Handle empty buffers. (Bug#9978)
4742
4743 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4744
4745 * international/mule.el (define-charset):
4746 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4747 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4748 * progmodes/verilog-mode.el (verilog-backward-token):
4749 * textmodes/ispell.el (lookup-words):
4750 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4751
4752 2011-11-14 Glenn Morris <rgm@gnu.org>
4753
4754 * progmodes/executable.el
4755 (executable-make-buffer-file-executable-if-script-p):
4756 Handle file-modes returning nil.
4757
4758 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4759 message - not necessary, and causes problems. (Bug#9831)
4760
4761 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4762
4763 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4764
4765 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4766 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4767 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4768
4769 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4770
4771 * window.el (window-resize, delete-window): Use window-splits
4772 variable instead of function.
4773 (window-state-get-1, window-state-put-2, window-state-put):
4774 Don't deal with windows' splits status.
4775
4776 2011-11-12 Glenn Morris <rgm@gnu.org>
4777
4778 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4779 (apropos-documentation): Doc fixes.
4780
4781 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4782
4783 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4784 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4785
4786 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4787
4788 * electric.el (electric-indent-post-self-insert-function): Make it
4789 possible for a char to only indent in some circumstances.
4790 (electric-indent-mode): Simplify.
4791
4792 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4793
4794 * window.el (windows-with-parameter): Remove unused function.
4795 (windows-at-side): Rename to window-at-side-list.
4796 (window-check, window-atom-check, window-atom-check-1)
4797 (window-side-check, window-size-ignore, window-size-fixed-1)
4798 (window-in-direction-2): Prefix with "window--".
4799 (window-tree-1): Rename to window--subtree, fix doc-string.
4800
4801 2011-11-11 Glenn Morris <rgm@gnu.org>
4802
4803 * subr.el (eval-after-load): If FILE is already loaded,
4804 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4805
4806 2011-11-10 Glenn Morris <rgm@gnu.org>
4807
4808 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4809 Call svn via vc-svn-command rather than vc-do-command.
4810 (vc-svn-command): Add --non-interactive. (Bug#9993)
4811 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4812
4813 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4814 Add toggle-read-only. (Bug#7292)
4815 * files.el (toggle-read-only): Mention that it should only
4816 be used interactively. (Bug#10006)
4817
4818 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4819
4820 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4821 Adjust regexp for OCaml warnings.
4822
4823 * electric.el (electric-pair-post-self-insert-function): Let user
4824 turn it off buffer-locally (bug#9932).
4825
4826 * progmodes/python.el (python-beginning-of-statement):
4827 Rewrite (bug#2703).
4828
4829 * progmodes/compile.el: Better handle TABs (bug#9749).
4830 (compilation-internal-error-properties)
4831 (compilation-next-error-function): Obey the target buffer's
4832 compilation-error-screen-columns.
4833
4834 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4835
4836 * progmodes/meta-mode.el: Remove obsolete comments.
4837 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4838 Fix typos in docstrings.
4839
4840 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4841
4842 * window.el (window-size-fixed-p): Rewrite doc-string.
4843 (window-resizable-p): Rename to window--resizable-p. Update callers.
4844 (window--resizable): New function. Make all callers of
4845 window-resizable call window--resizable instead.
4846 (window-resizable): Rewrite in terms of window--resizable.
4847
4848 2011-11-08 Glenn Morris <rgm@gnu.org>
4849
4850 * progmodes/delphi.el (delphi-mode-syntax-table):
4851 Let define-derived-mode define a proper syntax table. (Bug#9994)
4852
4853 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * window.el: Stay away from defsubst.
4856 (window-list-no-nils): Remove.
4857 (window-state-get-1, window-state-get): Use backquote instead.
4858
4859 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4860
4861 * emacs-lisp/find-func.el (find-function-read):
4862 Fix incorrect use of default argument in `completing-read'.
4863
4864 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4865
4866 * window.el (display-buffer-function, special-display-function):
4867 Mention display-buffer-record-window but do not mention
4868 help-setup parameter in doc-strings.
4869 (window-min-delta): Fix doc-string typo.
4870
4871 2011-11-08 Chong Yidong <cyd@gnu.org>
4872
4873 * window.el (window-total-height, window-total-width): Doc fix.
4874 (window-body-size): Move from C.
4875 (window-body-height, window-body-width): Move to C.
4876
4877 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4879 * window.el: Make special-display like display-buffer-alist (bug#9532).
4880 (display-buffer--special-action): New function, morphed
4881 from display-buffer--special.
4882 (display-buffer): Use it to handle special-display-buffers at higher
4883 priority (just after display-buffer-alist).
4884 (display-buffer-fallback-action, display-buffer--other-frame-action)
4885 (pop-to-buffer-same-window): Remove display-buffer--special.
4886
4887 2011-11-07 Glenn Morris <rgm@gnu.org>
4888
4889 * calendar/cal-menu.el (cal-menu-set-date-title):
4890 Do nothing if not in a calendar. (Bug#9976)
4891
4892 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4893
4894 * files.el (find-file): Always use selected-window.
4895
4896 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4897
4898 * window.el (window-combinations): Make WINDOW argument
4899 mandatory. Rewrite doc-string.
4900 (walk-window-subtree, window-atom-check, window-min-delta)
4901 (window-max-delta, window--resize-this-window)
4902 (window--resize-root-window-vertically, window-tree)
4903 (balance-windows, window-state-put): Rewrite doc-strings as to
4904 not mention the term "subwindow".
4905 (window--resize-subwindows-skip-p): Rename to
4906 window--resize-child-windows-skip-p.
4907 (window--resize-subwindows-normal): Rename to
4908 window--resize-child-windows-normal.
4909 (window--resize-subwindows): Rename to
4910 window--resize-child-windows.
4911 (window-or-subwindow-p): Rename to window--in-subtree-p.
4912
4913 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4914
4915 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4916 Ensure that mbox format messages end in two newlines (Bug#9974).
4917
4918 2011-11-06 Chong Yidong <cyd@gnu.org>
4919
4920 * window.el (window-combination-p): Function deleted; its
4921 side-effect is not used in any existing code.
4922 (window-combinations, window-combined-p): Call window-*-child
4923 directly.
4924
4925 2011-11-05 Chong Yidong <cyd@gnu.org>
4926
4927 * window.el (window-valid-p): Rename from window-any-p.
4928 (window-size-ignore, window-state-get): Callers changed.
4929 (window-normalize-window): Rename from window-normalize-any-window.
4930 New arg LIVE-ONLY, replacing window-normalize-live-window.
4931 (window-normalize-live-window): Delete.
4932 (window-combination-p, window-combined-p, window-combinations)
4933 (walk-window-subtree, window-atom-root, window-min-size)
4934 (window-sizable, window-sizable-p, window-size-fixed-p)
4935 (window-min-delta, window-max-delta, window-resizable)
4936 (window-resizable-p, window-full-height-p, window-full-width-p)
4937 (window-current-scroll-bars, window-point-1, set-window-point-1)
4938 (window-at-side-p, window-in-direction, window-resize)
4939 (adjust-window-trailing-edge, maximize-window, minimize-window)
4940 (window-deletable-p, delete-window, delete-other-windows)
4941 (record-window-buffer, unrecord-window-buffer)
4942 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4943 (quit-window, split-window, window-state-put)
4944 (set-window-text-height, fit-window-to-buffer)
4945 (shrink-window-if-larger-than-buffer): Callers changed.
4946
4947 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4948
4949 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4950 rfc2047-decode-string.
4951 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4952 warnings.
4953
4954 * window.el (window-body-height, window-body-width): Mention in
4955 the doc string that the return values are in frame's canonical
4956 units. (Bug#9949)
4957
4958 2011-11-03 Alan Mackenzie <acm@muc.de>
4959
4960 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4961 change in cc-engine.el.
4962
4963 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4966
4967 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4968
4969 * window.el (quit-window): Call unrecord-window-buffer after
4970 showing another buffer in the window. (Bug#9937)
4971 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4972
4973 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4974
4975 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4976 Accept status with more than 9 shelves. (Bug#9935)
4977 Reported by Colin D Bennett <colin@gibibit.com>.
4978
4979 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4980
4981 * help.el (with-help-window): Don't reference
4982 temp-buffer-show-specifiers in doc-string.
4983
4984 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4985
4986 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4987 menu-item.
4988
4989 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4990
4991 * whitespace.el: New version 13.2.2.
4992 (whitespace-newline-mode): Disable properly. Reported by Sarah
4993 <EmacsWiki>.
4994
4995 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4996
4997 * net/newst-treeview.el: Remove "Time-stamp".
4998 (newsticker--group-manage-orphan-feeds): Do not call
4999 newsticker--treeview-tree-update.
5000 (newsticker-treeview-update, newsticker-treeview):
5001 Call newsticker--treeview-tree-update if necessary.
5002
5003 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5004
5005 * window.el (window-iso-combination-p, window-iso-combined-p)
5006 (window-iso-combinations): Remove "iso-" infix.
5007 Suggested by Chong Yidong.
5008 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5009 (window-max-delta-1, window-resize, window--resize-siblings)
5010 (window--resize-this-window, adjust-window-trailing-edge)
5011 (split-window, balance-windows-1)
5012 (shrink-window-if-larger-than-buffer):
5013 * calendar/calendar.el (calendar-generate-window):
5014 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5015
5016 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5017
5018 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5019 in place (bug#9907).
5020 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5021 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5022 (eshell-structure-basic-command, eshell-rewrite-while-command)
5023 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5024 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5025 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5026 (eshell-do-pipelines-synchronously, eshell-eval-command):
5027 Use backquotes and prefer setq to set.
5028 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5029 (eshell-macrop): Use functionp.
5030 (eshell-do-eval): Handle multiple expressions in `while' body.
5031
5032 2011-10-30 Chong Yidong <cyd@gnu.org>
5033
5034 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5035 instead of set-mark (Bug#9810).
5036
5037 2011-10-30 Chong Yidong <cyd@gnu.org>
5038
5039 * window.el (split-window-below, split-window-right): Rename from
5040 split-window-above-each-other and split-window-side-by-side
5041 respectively. All callers changed.
5042 (split-window-sensibly, split-window-sensibly): Use them.
5043 (split-window-keep-point): Doc fix.
5044
5045 * isearch.el: Add isearch-scroll property to split-window-below
5046 and split-window-right.
5047
5048 * follow.el (follow-mode):
5049 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5050 * progmodes/ada-xref.el (ada-gdb-application):
5051 * emulation/vip.el (vip-buffer-in-two-windows):
5052 * image-dired.el (image-dired-dired-with-window-configuration):
5053 * dired-x.el (dired-do-find-marked-files):
5054 * dired.el (dired-pop-to-buffer):
5055 * bs.el (bs--show-with-configuration):
5056 * vc/emerge.el (emerge-setup-windows):
5057 * textmodes/two-column.el (2C-two-columns):
5058 * textmodes/reftex-toc.el (reftex-toc):
5059 * progmodes/gdb-mi.el (gdb-setup-windows):
5060 * progmodes/fortran.el (fortran-window-create):
5061 * net/newst-treeview.el (newsticker--treeview-window-init):
5062 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5063 * emulation/tpu-edt.el (tpu-gold-map):
5064 * emulation/crisp.el (crisp-mode-map):
5065 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5066
5067 2011-10-29 Chong Yidong <cyd@gnu.org>
5068
5069 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5070
5071 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5072
5073 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5074 forged Ispell output (Bug#7904).
5075
5076 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5077
5078 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5079
5080 * doc-view.el: Avoid ugly errors about not finding nil.
5081 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5082 (doc-view-dvipdf-program, doc-view-unoconv-program)
5083 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5084 Avoid nil or absolute file name as default value.
5085 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5086
5087 2011-10-28 Alan Mackenzie <acm@muc.de>
5088
5089 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5090
5091 2011-10-28 Alan Mackenzie <acm@muc.de>
5092
5093 Amend the handling of c-beginning/end-of-defun in nested declaration
5094 scopes.
5095
5096 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5097 cc-langs.el. Change it to a defcustom.
5098
5099 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5100 cc-vars.el.
5101
5102 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5103 Prevent "class foo : bar" being spuriously recognized as a label.
5104
5105 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5106 Add parameter `inclusive' (to include enclosing braces in the region).
5107 (c-widen-to-enclosing-decl-scope): New function.
5108 (c-while-widening-to-decl-block): New macro.
5109 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5110 outward for defun boundaries, and correspondingly change symbol
5111 `respect-enclosure' to `go-outward'.
5112 (c-declaration-limits): Change algorithm to report only the "innermost"
5113 defun's boundaries.
5114
5115 2011-10-28 Deniz Dogan <deniz@dogan.se>
5116
5117 * net/rcirc.el (rcirc-mode): Use hard newlines.
5118
5119 2011-10-28 Alan Mackenzie <acm@muc.de>
5120
5121 Amend to indent and fontify macros "which include their own semicolon"
5122 correctly, using the "virtual semicolon" mechanism.
5123
5124 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5125
5126 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5127 Recode to scan one line at a time rather than having \n and \r
5128 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5129 (c-forward-label): Amend for virtual semicolons.
5130 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5131
5132 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5133 of the new C macros.
5134
5135 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5136 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5137 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5138 (c-opt-cpp-macro-define): Make into a full language variable.
5139 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5140 AWK Mode (including \n, \r) removed, no longer needed.
5141
5142 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5143 Invoke c-make-macro-with-semi-re.
5144
5145 * progmodes/cc-vars.el (c-macro-with-semi-re):
5146 (c-macro-names-with-semicolon): New variables.
5147 (c-make-macro-with-semi-re): New function.
5148
5149 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * vc/log-edit.el: Fill empty field rather than adding new one.
5152 (log-edit-add-field): New function.
5153 (log-edit-insert-changelog): Use it.
5154
5155 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5156
5157 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5158
5159 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5160
5161 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5162 (gdb--check-interpreter): New function.
5163 (gdb): Use it.
5164
5165 2011-10-27 Glenn Morris <rgm@gnu.org>
5166
5167 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5168 (least-positive-float, least-negative-float)
5169 (least-positive-normalized-float, least-negative-normalized-float)
5170 (float-epsilon, float-negative-epsilon):
5171 Remove unnecessary declarations.
5172
5173 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5174 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5175 (least-positive-float, least-negative-float)
5176 (least-positive-normalized-float, least-negative-normalized-float)
5177 (float-epsilon, float-negative-epsilon): Add doc-strings,
5178 based on those in cl.texi.
5179
5180 * files.el (set-visited-file-name): If the major-mode changed,
5181 reload the local variables. (Bug#9796)
5182
5183 2011-10-27 Chong Yidong <cyd@gnu.org>
5184
5185 * subr.el (change-major-mode-after-body-hook): New hook.
5186 (run-mode-hooks): Run it.
5187
5188 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5189 Use change-major-mode-before-body-hook.
5190
5191 * simple.el (fundamental-mode):
5192 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5193 change introducing fundamental-mode-hook.
5194
5195 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5196
5197 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5198
5199 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5200
5201 * ido.el (ido-file-name-all-completions-1): Do not require
5202 tramp.el explicitly. (Bug#7583)
5203
5204 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5205
5206 * progmodes/octave-mod.el:
5207 * progmodes/octave-inf.el: Update maintainer.
5208
5209 2011-10-26 Chong Yidong <cyd@gnu.org>
5210
5211 * subr.el (with-wrapper-hook): Rewrite doc.
5212
5213 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5214
5215 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5216 filenames "/method:foo:". (Bug#9793)
5217
5218 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5220 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5221 (bug#9865).
5222
5223 2011-10-24 Glenn Morris <rgm@gnu.org>
5224
5225 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5226
5227 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5228
5229 * notifications.el: Add the requirement of a running D-Bus session
5230 bus to the Commentary.
5231
5232 2011-10-24 Juri Linkov <juri@jurta.org>
5233
5234 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5235 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5236 (Bug#9364)
5237
5238 2011-10-24 Juri Linkov <juri@jurta.org>
5239
5240 * info.el (Info-following-node-name-re): Add newline to the list
5241 of allowed characters for leading space. (Bug#9824)
5242
5243 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5244
5245 * progmodes/octave-inf.el (inferior-octave-mode-map):
5246 Fix C-c C-h binding.
5247 * progmodes/octave-mod.el (octave-help): Remove.
5248
5249 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5250
5251 Sync with Tramp 2.2.3.
5252
5253 * net/tramp-cache.el (top): Pacify byte-compiler using
5254 `init-file-user' and `site-run-file'.
5255
5256 * net/trampver.el: Update release number.
5257
5258 2011-10-23 Chong Yidong <cyd@gnu.org>
5259
5260 * files.el (toggle-read-only): Remove obsolete comment about
5261 version control.
5262
5263 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5264 for toggle-read-only. Note that this hasn't called vc-next-action
5265 since 2008-05-02, though it wasn't documented at the time.
5266
5267 * vc/ediff-init.el (ediff-toggle-read-only-function):
5268 Use toggle-read-only.
5269
5270 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5271
5272 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5273 of c-parse-state.
5274
5275 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5276 correct faulty logical expression.
5277 (c-parse-state-state, c-record-parse-state-state):
5278 (c-replay-parse-state-state): New defvar/defuns.
5279 (c-debug-parse-state): Use new functions.
5280
5281 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5282
5283 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5284 last fix. Use window-in-direction correctly.
5285
5286 2011-10-21 Chong Yidong <cyd@gnu.org>
5287
5288 * progmodes/idlwave.el (idlwave-mode):
5289 * progmodes/vera-mode.el (vera-mode): No need to set
5290 require-final-newline; that's done in prog-mode.
5291 Suggested by Stefan Monnier.
5292
5293 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5294
5295 * mouse.el (mouse-drag-window-above)
5296 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5297 (mouse-drag-mode-line-1, mouse-drag-header-line)
5298 (mouse-drag-vertical-line-rightward-window): Remove.
5299 (mouse-drag-line): New function.
5300 (mouse-drag-mode-line, mouse-drag-header-line)
5301 (mouse-drag-vertical-line): Call mouse-drag-line.
5302 * window.el (window-at-side-p, windows-at-side): New functions.
5303
5304 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5305
5306 * tar-mode.el (tar-grind-file-mode):
5307 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5308
5309 2011-10-21 Chong Yidong <cyd@gnu.org>
5310
5311 * progmodes/idlwave.el (idlwave-mode):
5312 * progmodes/vera-mode.el (vera-mode):
5313 Use mode-require-final-newline.
5314
5315 2011-10-20 Glenn Morris <rgm@gnu.org>
5316
5317 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5318
5319 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5320
5321 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5322
5323 2011-10-20 Chong Yidong <cyd@gnu.org>
5324
5325 * emulation/cua-base.el (cua-mode):
5326 * mail/footnote.el (footnote-mode):
5327 * mail/mailabbrev.el (mail-abbrevs-mode):
5328 * net/xesam.el (xesam-minor-mode):
5329 * progmodes/bug-reference.el (bug-reference-mode):
5330 * progmodes/cap-words.el (capitalized-words-mode):
5331 * progmodes/compile.el (compilation-minor-mode)
5332 (compilation-shell-minor-mode):
5333 * progmodes/gud.el (gud-tooltip-mode):
5334 * progmodes/hideif.el (hide-ifdef-mode):
5335 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5336 * progmodes/subword.el (subword-mode):
5337 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5338 * progmodes/which-func.el (which-function-mode):
5339 * term/tvi970.el (tvi970-set-keypad-mode):
5340 * term/vt100.el (vt100-wide-mode):
5341 * textmodes/flyspell.el (flyspell-mode):
5342 * textmodes/ispell.el (ispell-minor-mode):
5343 * textmodes/nroff-mode.el (nroff-electric-mode):
5344 * textmodes/paragraphs.el (use-hard-newlines):
5345 * textmodes/refill.el (refill-mode):
5346 * textmodes/reftex.el (reftex-mode):
5347 * textmodes/rst.el (rst-minor-mode):
5348 * textmodes/sgml-mode.el (html-autoview-mode)
5349 (sgml-electric-tag-pair-mode):
5350 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5351 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5352 * emulation/crisp.el (crisp-mode):
5353 * emacs-lisp/eldoc.el (eldoc-mode):
5354 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5355 minor mode behavior.
5356
5357 2011-10-19 Juri Linkov <juri@jurta.org>
5358
5359 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5360 the list of hard-coded chars with escape-glyph face.
5361
5362 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5365
5366 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5367
5368 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5369 running process.
5370
5371 2011-10-19 Glenn Morris <rgm@gnu.org>
5372
5373 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5374 Ignore ignored files. (Bug#9726)
5375
5376 2011-10-19 Chong Yidong <cyd@gnu.org>
5377
5378 Doc fix for minor modes, stating that an omitted argument enables
5379 the mode unconditionally when called from Lisp.
5380
5381 * abbrev.el (abbrev-mode):
5382 * allout.el (allout-mode):
5383 * autoinsert.el (auto-insert-mode):
5384 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5385 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5386 (global-auto-revert-mode):
5387 * battery.el (display-battery-mode):
5388 * composite.el (global-auto-composition-mode)
5389 (auto-composition-mode):
5390 * delsel.el (delete-selection-mode):
5391 * desktop.el (desktop-save-mode):
5392 * dired-x.el (dired-omit-mode):
5393 * dirtrack.el (dirtrack-mode):
5394 * doc-view.el (doc-view-minor-mode):
5395 * double.el (double-mode):
5396 * electric.el (electric-indent-mode, electric-pair-mode):
5397 * emacs-lock.el (emacs-lock-mode):
5398 * epa-hook.el (auto-encryption-mode):
5399 * follow.el (follow-mode):
5400 * font-core.el (font-lock-mode):
5401 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5402 * help.el (temp-buffer-resize-mode):
5403 * hilit-chg.el (highlight-changes-mode)
5404 (highlight-changes-visible-mode):
5405 * hi-lock.el (hi-lock-mode):
5406 * hl-line.el (hl-line-mode, global-hl-line-mode):
5407 * icomplete.el (icomplete-mode):
5408 * ido.el (ido-everywhere):
5409 * image-file.el (auto-image-file-mode):
5410 * image-mode.el (image-minor-mode):
5411 * iswitchb.el (iswitchb-mode):
5412 * jka-cmpr-hook.el (auto-compression-mode):
5413 * linum.el (linum-mode):
5414 * longlines.el (longlines-mode):
5415 * master.el (master-mode):
5416 * mb-depth.el (minibuffer-depth-indicate-mode):
5417 * menu-bar.el (menu-bar-mode):
5418 * minibuf-eldef.el (minibuffer-electric-default-mode):
5419 * mouse-sel.el (mouse-sel-mode):
5420 * msb.el (msb-mode):
5421 * mwheel.el (mouse-wheel-mode):
5422 * outline.el (outline-minor-mode):
5423 * paren.el (show-paren-mode):
5424 * recentf.el (recentf-mode):
5425 * reveal.el (reveal-mode, global-reveal-mode):
5426 * rfn-eshadow.el (file-name-shadow-mode):
5427 * ruler-mode.el (ruler-mode):
5428 * savehist.el (savehist-mode):
5429 * scroll-all.el (scroll-all-mode):
5430 * scroll-bar.el (scroll-bar-mode):
5431 * server.el (server-mode):
5432 * shell.el (shell-dirtrack-mode):
5433 * simple.el (auto-fill-mode, transient-mark-mode)
5434 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5435 (line-number-mode, column-number-mode, size-indication-mode)
5436 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5437 * strokes.el (strokes-mode):
5438 * time.el (display-time-mode):
5439 * t-mouse.el (gpm-mouse-mode):
5440 * tool-bar.el (tool-bar-mode):
5441 * tooltip.el (tooltip-mode):
5442 * type-break.el (type-break-mode-line-message-mode)
5443 (type-break-query-mode):
5444 * view.el (view-mode):
5445 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5446 (global-whitespace-mode, global-whitespace-newline-mode):
5447 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5448
5449 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5450 Fix autogenerated docstring.
5451
5452 2011-10-19 Juri Linkov <juri@jurta.org>
5453
5454 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5455 by checking environment variables "DESKTOP_SESSION" and
5456 "XDG_CURRENT_DESKTOP". (Bug#9779)
5457
5458 2011-10-19 Juri Linkov <juri@jurta.org>
5459
5460 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5461 (browse-url-chromium-program, browse-url-chromium-arguments):
5462 New defcustoms.
5463 (browse-url-default-browser): Check for `browse-url-chromium' and
5464 call `browse-url-chromium-program'.
5465 (browse-url-chromium): New command. (Bug#9779)
5466
5467 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5468
5469 * facemenu.el (list-colors-duplicates): On Windows, detect more
5470 duplicates by assuming that only colors matching "^System" are
5471 special "system colors". (Bug#9722)
5472
5473 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5476 to distinguish the author from the committer.
5477
5478 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5479
5480 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5481
5482 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5483
5484 * international/mule.el (sgml-html-meta-auto-coding-function):
5485 Add support for detecting encoding in HTML5 specified only as
5486 <meta charset="UTF-8">. Implementation just makes http-equiv and
5487 content-type parts from HTML4 encoding string optional. (Bug#9716)
5488
5489 2011-10-18 Glenn Morris <rgm@gnu.org>
5490
5491 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5492
5493 2011-10-18 Chong Yidong <cyd@gnu.org>
5494
5495 * faces.el (cursor): Doc fix.
5496
5497 2011-10-17 Chong Yidong <cyd@gnu.org>
5498
5499 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5500
5501 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5502
5503 * dirtrack.el (dirtrack): Support shell buffers with path
5504 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5505
5506 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5507
5508 * json.el: Bump version to 1.3 and note change in History.
5509 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5510
5511 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5512
5513 * comint.el (comint-insert-input, comint-send-input)
5514 (comint-get-old-input-default, comint-backward-matching-input)
5515 (comint-next-prompt): Use nil instead of `input' for field property of
5516 past user input (bug#114).
5517
5518 * minibuffer.el (completion--replace): Inherit surrounding properties
5519 (bug#114).
5520 (minibuffer-complete-and-exit): Use it.
5521
5522 * comint.el (comint--table-subvert): Quote the all-completions output
5523 (bug#9160).
5524
5525 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5526
5527 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5528
5529 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5530 window on right of selected. (Bug#9350) Reword other window
5531 entries and separate them from frame entries.
5532
5533 2011-10-15 Glenn Morris <rgm@gnu.org>
5534
5535 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5536 Doc fixes.
5537
5538 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5539
5540 * net/network-stream.el (network-stream-open-starttls):
5541 Improve detection of failure due to lack of TLS support.
5542
5543 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5544 putting the input text in front and in bold.
5545
5546 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5547
5548 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5549
5550 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5551 empty buffer.
5552
5553 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5554 unread-command-events rather than pushing yet-another event.
5555
5556 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5557
5558 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5559 the explanation of the possible choices. Make the options passed
5560 to completing-read shorter.
5561
5562 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5563
5564 * textmodes/flyspell.el (flyspell-large-region): Make sure
5565 extended character mode is used if defined (Bug#1339).
5566
5567 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5568
5569 * simple.el (what-cursor-position): Fix the display of the
5570 character info for LRE, LRO, RLE, and RLO characters by appending
5571 an invisible PDF.
5572
5573 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5576 even in case of error; add debug spec; simplify data flow.
5577 (with-timeout-handler): Remove.
5578
5579 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5580
5581 Fix Bug#6019, Bug#9315.
5582
5583 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5584 complete `buffer-file-name', the local file name part could look
5585 remotely (for example on VMS).
5586
5587 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5588 `tramp-run-real-handler'.
5589 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5590 already quoted by '"'.
5591
5592 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5593 Let `file-name-handler-alist' be nil, the local file name part
5594 could look remotely (for example on VMS).
5595
5596 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5599 from here...
5600 (flyspell-post-command-hook): ...to here.
5601
5602 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5603
5604 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5605 if not needed.
5606 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5607 using completion. Protect against "slow" callers.
5608 Remove the "message hack".
5609
5610 2011-10-11 Juri Linkov <juri@jurta.org>
5611
5612 * isearch.el (isearch-lazy-highlight-word): New variable.
5613 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5614 Use it. (Bug#9727)
5615
5616 2011-10-11 Glenn Morris <rgm@gnu.org>
5617
5618 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5619 like f90-previous-statement does.
5620
5621 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5622
5623 * eshell/eshell.el (eshell-command): History should be saved
5624 only in interactive use, to avoid error.
5625
5626 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5627
5628 * minibuffer.el (completion-file-name-table): Fix last change,
5629 i.e. ignore normal errors but not the other ones.
5630
5631 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5632
5633 * window.el (special-display-buffer-names)
5634 (special-display-regexps): Remove some remnants of earlier
5635 changes from doc-strings.
5636 (quit-windows-on): New function.
5637
5638 * vc/vc.el (vc-revert, vc-rollback):
5639 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5640 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5641 (Bug#6183) (Bug#7074) (Bug#7447)
5642
5643 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5644
5645 * window.el (frame-auto-hide-function): Add version tag.
5646 (Bug#9699)
5647
5648 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5649
5650 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5651 condition.
5652
5653 2011-10-09 Leo Liu <sdl.web@gmail.com>
5654
5655 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5656 (Bug#9701)
5657
5658 2011-10-08 Glenn Morris <rgm@gnu.org>
5659
5660 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5661 before the first code statement zero indent. (Bug#9690)
5662
5663 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5664
5665 * simple.el (count-words-region): Always count in the region.
5666 Report the number of lines and characters too.
5667 (count-words): New command, which counts in the buffer if the
5668 region is inactive, as count-words-region used to.
5669 (count-words--message): New function. Handle plurals.
5670 (count-lines-region): Make it an alias for count-words-region.
5671
5672 * bindings.el (esc-map): Replace count-lines-region with
5673 count-words-region.
5674
5675 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5676
5677 * window.el (window--delete): Delete dedicated frame
5678 unconditionally when argument KILL is non-nil. (Bug#9699)
5679 (switch-to-buffer): Fix doc-string typo.
5680
5681 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5682
5683 * eshell/eshell.el (eshell-command): Avoid using hooks.
5684
5685 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5686
5687 * bindings.el ([M-left],[M-right]): Bind to left-word and
5688 right-word respectively.
5689
5690 2011-10-07 Glenn Morris <rgm@gnu.org>
5691
5692 * cus-start.el (debug-on-quit): Fix custom type.
5693
5694 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5695
5696 * subr.el (define-key-after): Clarify that the function is not
5697 useful for non-menu keymaps.
5698
5699 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5700
5701 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5702
5703 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5704 in current minibuffer (Fix bug with recursive minibuffers).
5705
5706 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5707
5708 * progmodes/gdb-mi.el (gdb): Doc fix.
5709
5710 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5711
5712 * window.el (frame-auto-hide-function): New option replacing
5713 frame-auto-delete. Suggested by Stefan Monnier.
5714 (window--delete): Call frame-auto-hide-function instead of
5715 investigating frame-auto-delete.
5716 (window-point-1, set-window-point-1): New functions.
5717 (window-in-direction, record-window-buffer, window-state-get-1)
5718 (display-buffer-record-window): Use window-point-1 instead of
5719 window-point.
5720 (set-window-buffer-start-and-point): Use set-window-point-1.
5721
5722 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5725
5726 2011-10-05 Glenn Morris <rgm@gnu.org>
5727
5728 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5729 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5730
5731 2011-10-05 Leo Liu <sdl.web@gmail.com>
5732
5733 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5734 works with buffer object.
5735
5736 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5737
5738 * mpc.el (mpc-tool-bar-map): Add labels.
5739
5740 2011-10-04 Glenn Morris <rgm@gnu.org>
5741
5742 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5743
5744 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5745
5746 * window.el (window--delete): New function.
5747 (frame-auto-delete): Resuscitate option.
5748 (bury-buffer, replace-buffer-in-windows)
5749 (quit-window): Rewrite using window--delete.
5750 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5751 Pass display-buffer-mark-dedicated to window--display-buffer-2
5752 (Bug#9639).
5753
5754 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5755
5756 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5757 returns a list (bug#9554). Add remote file name completion.
5758 * comint.el (comint--table-subvert): Curry and get quote&unquote
5759 functions as arguments.
5760 (comint--complete-file-name-data): Adjust call accordingly.
5761 * pcomplete.el (pcomplete--table-subvert): Remove.
5762 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5763
5764 * minibuffer.el (completion-table-case-fold): Use currying.
5765 (completion--styles-type, completion--cycling-threshold-type):
5766 New constants.
5767 (completion-styles, completion-category-overrides)
5768 (completion-cycle-threshold): Use them.
5769 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5770 completion-table-case-fold.
5771
5772 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5773
5774 * minibuffer.el (completion-category-overrides): Fix type of styles
5775 and add more user friendly tags (bug#9660).
5776
5777 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5780 (mule-input-method-string): New widget.
5781 (default-input-method, language-info-custom-alist): Use it.
5782
5783 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * pcomplete.el: Require comint.
5786 (pcomplete--common-suffix): Remove.
5787 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5788 (pcomplete--table-subvert): Sync with comint--table-subvert.
5789 (pcomplete--entries): Use comint-completion-file-name-table.
5790 * comint.el (comint-unquote-filename): Simplify.
5791 (comint-completion-file-name-table): New function (bug#9616).
5792 (comint--complete-file-name-data): Use it.
5793
5794 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5795 (pcmpl-gnu-tar-buffer): Remove.
5796 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5797 around. Make sure pcomplete-suffix-list is only changed temporarily.
5798 Don't look inside the tar's file if it's too large.
5799
5800 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5801
5802 * cus-edit.el (custom-mode-map):
5803 * epa.el (epa-key-list-mode-map):
5804 * man.el (Man-mode-map):
5805 * startup.el (splash-screen-keymap):
5806 * simple.el (special-mode-map): Use scroll-up-command and
5807 scroll-down-command.
5808
5809 * progmodes/idlw-help.el (idlwave-help-mode-map):
5810 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5811 * net/newst-plainview.el (newsticker-mode-map):
5812 * emulation/ws-mode.el (wordstar-mode-map):
5813 * emulation/vi.el (vi-com-map):
5814 * calc/calc-graph.el (calc-graph-show-dumb):
5815 * term/sun.el (terminal-init-sun):
5816 * term/ns-win.el (global-map):
5817 * progmodes/grep.el (grep-mode-map):
5818 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5819 * mail/rmail.el (rmail-mode-map):
5820 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5821
5822 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5823 custom-safe-themes as special.
5824
5825 2011-10-01 Julien Danjou <julien@danjou.info>
5826
5827 * notifications.el (notifications-notify): Fix docstring.
5828
5829 2011-10-01 Per Starbäck <per@starback.se>
5830
5831 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5832
5833 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5834
5835 * startup.el (command-line-1): Fix last fix by inserting
5836 initial-scratch-message into *scratch* before displaying it.
5837 (Bug#9605) and (Bug#9636)
5838
5839 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5840
5841 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5842 window is hscrolled, move by logical lines. (Bug#9607)
5843 (line-move-visual): Update the doc string to the above effect.
5844
5845 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5846
5847 * window.el (display-buffer-record-window): When WINDOW is the
5848 selected window use `point' instead of `window-point'. (Bug#9626)
5849
5850 * startup.el (command-line-1): Use insert-before-markers when
5851 inserting initial-scratch-message. (Bug#9605)
5852
5853 * help.el (help-window): Remove variable.
5854
5855 2011-09-29 Glenn Morris <rgm@gnu.org>
5856
5857 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5858
5859 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5860
5861 * descr-text.el (describe-char-categories): Accept category
5862 descriptions more than one line long.
5863
5864 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5865
5866 * simple.el (delete-trailing-whitespace): Fix last change.
5867
5868 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5869 Don't confuse "y => 3" as the beginning of a `y' operation.
5870
5871 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5872 object has more than 4 slots (bug#9613).
5873
5874 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5875
5876 * subr.el (with-output-to-temp-buffer):
5877 * net/quickurl.el (quickurl, quickurl-browse-url):
5878 Fix typos in docstrings.
5879
5880 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5881
5882 * minibuffer.el (completion-styles)
5883 (completion-category-overrides): Cross reference each other in doc
5884 strings.
5885
5886 2011-09-27 Glenn Morris <rgm@gnu.org>
5887
5888 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5889 to split-string. (Bug#9606)
5890
5891 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5892
5893 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5894 (bug#9615).
5895
5896 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5897
5898 * emacs-lisp/package.el (list-packages): Fix echo area message.
5899
5900 2011-09-27 Leo Liu <sdl.web@gmail.com>
5901
5902 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5903
5904 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5905
5906 * net/dbus.el (dbus-unregister-object): Don't release services for
5907 registered signals. (Bug#9581)
5908
5909 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5910
5911 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5912 function that picks between cfengine 2 and 3 support
5913 automatically. Update docs accordingly.
5914
5915 2011-09-22 Kenichi Handa <handa@m17n.org>
5916
5917 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5918 ZERO.
5919 (indian-itrans-v5-table-for-tamil): New variable.
5920 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5921
5922 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5923
5924 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5925 that's true if the current command involved collapsing of text.
5926 It's reset to false at the beginning of the next command.
5927 (allout-post-command-business): Move the cursor to the beginning
5928 of entry if the cursor is hidden and collapsing activity just
5929 happened.
5930
5931 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5932
5933 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5934 tracking (Bug#9541).
5935
5936 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5937
5938 * net/newst-reader.el (newsticker-html-renderer)
5939 (newsticker-show-news): Automatically load html rendering package
5940 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5941 because w3m-fill-column is let-bound" and the error "Symbol's value
5942 as variable is void: w3m-fill-column".
5943
5944 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5945
5946 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5947 Release services only if they are defined. (Bug#9581)
5948
5949 2011-09-23 Richard Stallman <rms@gnu.org>
5950
5951 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5952 distinguish start of paragraph from start of its text.
5953
5954 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5955
5956 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5957 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5958 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5959
5960 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5961
5962 * international/mule-diag.el (mule-diag): Insert a newline after
5963 each fontset description.
5964
5965 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5966
5967 * simple.el (delete-trailing-whitespace):
5968 Document last change; simplify.
5969
5970 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5971
5972 * simple.el (delete-trailing-whitespace): Also delete
5973 extra newlines at the end of the buffer.
5974
5975 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5976 (picture-newline): Use forward-line so as to ignore fields.
5977
5978 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5979
5980 * subr.el (with-wrapper-hook): Fix edebug spec.
5981
5982 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5983
5984 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5985 (bug#4538).
5986
5987 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5988
5989 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5990 Fix nasty bug using wrong cached values.
5991
5992 2011-09-23 Alan Mackenzie <acm@muc.de>
5993
5994 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5995
5996 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5997
5998 * window.el (pop-to-buffer): Ensure right window is selected if we
5999 chose another frame.
6000
6001 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6002
6003 * simple.el (what-cursor-position): Use get-char-property-change
6004 and next-single-char-property-change, to be able to show display
6005 properties that come from overlays as well as text properties.
6006
6007 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6008
6009 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6010
6011 * cmuscheme.el (run-scheme, switch-to-scheme):
6012 * cus-edit.el (customize-group, custom-buffer-create)
6013 (customize-browse):
6014 * info.el (info):
6015 * shell.el (shell):
6016 * mail/sendmail.el (mail):
6017 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6018
6019 2011-09-22 Richard Stallman <rms@gnu.org>
6020
6021 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6022 move back only to line beg, don't move back over blank lines.
6023
6024 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
6025
6026 * files.el (copy-directory): Set directory attributes only in case
6027 they could be retrieved from the source directory. (Bug#9565)
6028
6029 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6030
6031 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6032 (hs-find-block-beginning, hs-hide-level-recursive):
6033 Ignore strings as well as comments. (Bug#9502)
6034
6035 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6036
6037 * progmodes/sql.el (sql-comint-postgres):
6038 Convert port number to a string. (Bug#9566)
6039
6040 2011-09-22 Martin Rudalics <rudalics@gmx.at>
6041
6042 * window.el (quit-window): Undedicate window when switching to
6043 previous buffer. Reported by Thierry Volpiatto
6044 <thierry.volpiatto@gmail.com>.
6045 (special-display-popup-frame): When popping up a new frame reset
6046 its previous buffers to nil. Simplify code.
6047
6048 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
6049
6050 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6051 and process filter, as done also in `shell-command'.
6052
6053 2011-09-21 Martin Rudalics <rudalics@gmx.at>
6054
6055 * window.el (set-window-buffer-start-and-point):
6056 Call set-window-start with NOFORCE argument t.
6057 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6058 (quit-window): Reword doc-string. Handle new format of
6059 quit-restore parameter. Don't delete window if it has a
6060 previous buffer we can show instead of the present one.
6061 (display-buffer-record-window): Rewrite using a new format for
6062 the quit-restore window parameter
6063 (special-display-popup-frame, display-buffer-same-window)
6064 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6065 (display-buffer-pop-up-window, display-buffer-use-some-window):
6066 Adapt symbol passed to display-buffer-record-window.
6067 * help.el (help-window-setup): Handle new format of quit-restore
6068 parameter.
6069
6070 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6071
6072 * faces.el (face-list): Fix docstring (bug#9564).
6073
6074 * window.el (display-buffer--action-function-custom-type):
6075 Don't include internal functions in the Custom interface.
6076
6077 2011-09-20 Juri Linkov <juri@jurta.org>
6078
6079 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6080 (Info-forward-node, Info-backward-node, Info-next-preorder)
6081 (Info-last-preorder): Use it. (Bug#9528)
6082
6083 2011-09-20 Juri Linkov <juri@jurta.org>
6084
6085 * info.el (Info-last-preorder): Visit last menu item only when
6086 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6087
6088 2011-09-20 Julien Danjou <julien@danjou.info>
6089
6090 * password-cache.el (password-cache-remove): Remove entries even if the
6091 value is nil, so that password with a nil value (negative caching) is
6092 possible to invalidate.
6093
6094 2011-09-20 Lawrence Mitchell <wence@gmx.li>
6095
6096 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6097 all whitespace around breakpoint. (Bug#9553)
6098 (f90-find-breakpoint): Only break at whitespace inside a comment.
6099
6100 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * minibuffer.el (completion-file-name-table): Keep track of errors.
6103 (completion-table-with-predicate): Handle the case where pred1 is nil.
6104 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6105
6106 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6109 (debugger-return-value): Signal an error if the debugging context does
6110 not await any return value.
6111
6112 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6113 * image-mode.el (image-toggle-display-text)
6114 (image-toggle-display-image): Stay away from evil `intangible'.
6115
6116 2011-09-19 Leo Liu <sdl.web@gmail.com>
6117
6118 * replace.el (occur-revert-arguments): Make it permanent-local.
6119 (occur-mode): Don't call font-lock-defontify.
6120
6121 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6122
6123 * net/ldap.el (ldap-search-internal): Don't push empty search
6124 result (Bug#9508).
6125
6126 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6127
6128 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6129
6130 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6131
6132 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6133 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6134
6135 2011-09-18 Juri Linkov <juri@jurta.org>
6136
6137 * buff-menu.el (Buffer-menu-mode-map):
6138 * dired.el (dired-mode-map):
6139 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6140 (lisp-interaction-mode-map):
6141 * emacs-lisp/package.el (package-menu-mode-map):
6142 * epa.el (epa-key-list-mode-map):
6143 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6144 (menu-bar-options-menu):
6145 * outline.el (outline-mode-menu-bar-map):
6146 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6147 * vc/vc-dir.el (vc-dir-menu-map):
6148 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6149 Capitalize non-function content words in menu item strings.
6150
6151 * dired.el (dired-mode-map): Add menu item for
6152 `image-dired-dired-toggle-marked-thumbs'.
6153
6154 2011-09-18 Juri Linkov <juri@jurta.org>
6155
6156 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6157 to `isearch-case-fold-search' and restore its original value
6158 after the `isearch-mode' call.
6159
6160 2011-09-18 Juri Linkov <juri@jurta.org>
6161
6162 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6163 because `zgrep' returns 1 for successful matches (bug#9226).
6164
6165 2011-09-18 Juri Linkov <juri@jurta.org>
6166
6167 * info.el (Info-extract-menu-node-name): Check the second match
6168 for empty string (second test-case of bug#9528).
6169 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6170 intermediate nodes to the history (first test-case of bug#9528).
6171
6172 2011-09-18 Juri Linkov <juri@jurta.org>
6173
6174 * info.el (Info-mode-syntax-table): New variable.
6175 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6176
6177 2011-09-18 Juri Linkov <juri@jurta.org>
6178
6179 * info.el (Info-file-supports-index-cookies):
6180 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6181 outputs one more line for long file names (bug#4142).
6182
6183 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6184
6185 * newcomment.el (comment-normalize-vars): If prompting for
6186 comment-start, set comment-start-skip too (Bug#8424).
6187
6188 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6189
6190 * icomplete.el: Fix previous fix of Bug#5849.
6191 (icomplete-mode): Don't set completion-show-inline-help.
6192 (icomplete-minibuffer-setup): Set completion-show-inline-help
6193 locally during icompletion.
6194
6195 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6196
6197 * woman.el (woman2-process-escapes): Don't delete unrecognized
6198 escapes (Bug#7843).
6199
6200 * files.el (inhibit-first-line-modes-regexps): Add image files.
6201 (hack-local-variables-prop-line): Return nil for malformed
6202 prop-lines (Bug#9044).
6203
6204 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6205
6206 * net/tramp.el (top): Don't require 'shell.
6207 (tramp-methods): Fix docstring.
6208 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6209 Return complete remote file name. Handle "smb" case.
6210 Use `tramp-tmpdir', if defined for the respective method.
6211 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6212
6213 * net/tramp-compat.el (top): Require 'shell.
6214
6215 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6216 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6217 `tramp-current-host'.
6218 (tramp-get-remote-tmpdir): Remove.
6219
6220 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6221 `tramp-tmpdir' entries.
6222 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6223 (tramp-smb-handle-file-attributes): Ignore errors.
6224 (tramp-smb-wait-for-output): Check also for process end.
6225
6226 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6227
6228 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6229 when sending QUIT (bug#9312).
6230
6231 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6232
6233 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6234 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6235 occur-mode-display-occurrence.
6236 (occur-edit-mode): Add usage message.
6237 (occur-cease-edit): New command.
6238 (occur-after-change-function): Use text properties to find the
6239 position of the prefix text.
6240 (occur-engine): Set stickiness of prefix text properties.
6241
6242 2011-09-17 Glenn Morris <rgm@gnu.org>
6243
6244 * progmodes/etags.el (complete-tag):
6245 Fix call to completion-in-region. (Bug#9526)
6246
6247 2011-09-17 Juri Linkov <juri@jurta.org>
6248
6249 * textmodes/ispell.el (ispell-word): Add to the error message
6250 the word, ispell program name and current dictionary (bug#9121).
6251 (ispell-tex-arg-end): Capitalize "error" in the error message.
6252
6253 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6254
6255 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6256 check. (Bug#4251)
6257
6258 2011-09-17 Juri Linkov <juri@jurta.org>
6259
6260 * window.el (window-safe-min-height, window-safe-min-width):
6261 Fix typos (followup to bug#9522).
6262
6263 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6264
6265 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6266
6267 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6268
6269 * simple.el (line-move): If goal-column is set, move by logical
6270 lines, not by display lines. (Bug#971)
6271 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6272 to reflect the above change.
6273
6274 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6275
6276 * image.el (imagemagick-register-types): Use regexp-opt.
6277
6278 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6279
6280 * window.el (display-buffer-base-action): Rename from
6281 display-buffer-default-action. Make default value empty.
6282 (display-buffer-overriding-action): Convert to defvar.
6283 (display-buffer-fallback-action): New var.
6284
6285 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6286
6287 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6288 declaration.
6289 (package--add-to-archive-contents): If there is a duplicate entry
6290 with an older version, remove it.
6291 (package-menu-mark-delete, package-menu-mark-install)
6292 (package-menu-mark-unmark): Make unused args optional.
6293 (package-menu-mark-obsolete-for-deletion):
6294 Use package-menu-get-status instead of a regexp search.
6295 (package-menu-get-status): Use tabulated-list-entry.
6296 (package-menu-mark-upgrades): New command.
6297 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6298 (package-menu-execute): Do installation before deletion.
6299 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6300 instead of checking major-mode.
6301 (package-menu--find-upgrades): New function.
6302
6303 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6304
6305 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6306 passwords in the log buffer.
6307 (smtpmail-process-filter): Update the process marker so that the
6308 "broken by peer" status message is inserted in the right place.
6309
6310 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6311
6312 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6313 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6314 bibtex-completion-at-point-function.
6315 (bibtex-completion-at-point-function): Use them.
6316
6317 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6318
6319 * mpc.el (mpc-constraints-tag-lookup): New function.
6320 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6321 also to browser "album|playlist".
6322
6323 2011-09-14 Juri Linkov <juri@jurta.org>
6324
6325 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6326 (isearch-edit-string): Use length of `isearch-string' when
6327 `isearch-fail-pos' returns nil.
6328 (isearch-message): Remove duplicate code and call
6329 `isearch-fail-pos' with arg `t'.
6330
6331 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6332
6333 * replace.el (occur-mode-goto-occurrence): Don't force using other
6334 window (Bug#9499).
6335
6336 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6337
6338 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6339
6340 * window.el (display-buffer-window): Remove.
6341 (display-buffer-record-window): Use help-setup window parameter
6342 instead of variable display-buffer-window.
6343 (display-buffer-function, special-display-buffer-names)
6344 (special-display-function): Mention help-setup parameter instead
6345 of display-buffer-window in doc-string.
6346 * help.el (help-window-setup): New argument help-window.
6347 Use help-window-setup parameter instead of display-buffer-window.
6348 Reword some messages.
6349 (with-help-window): Pass window used for displaying the buffer
6350 to help-window-setup. Don't set display-buffer-window.
6351
6352 2011-09-13 Glenn Morris <rgm@gnu.org>
6353
6354 * emacs-lisp/debug.el (debugger-make-xrefs):
6355 Preserve point. (Bug#9462)
6356
6357 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6358
6359 * window.el (window-deletable-p): Use next-frame.
6360
6361 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6362
6363 * window.el (window-auto-delete): Remove.
6364 (window-deletable-p): Remove argument FORCE. Don't deal with
6365 dedication and previous buffers.
6366 (switch-to-prev-buffer): Don't delete window.
6367 (delete-windows-on): Delete a window's frame if and only if the
6368 window is dedicated.
6369 (replace-buffer-in-windows): Delete buffer's window or frame if
6370 and only if window is dedicated.
6371 (quit-window): Handle quit-restore as before last change.
6372 (bury-buffer): Delete window only if window-deletable-p returns t.
6373
6374 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6375
6376 * window.el (window-deletable-p): Never delete the last frame on a
6377 given terminal.
6378
6379 2011-09-13 Glenn Morris <rgm@gnu.org>
6380
6381 * help.el (describe-key-briefly): Copy previous standard-output change.
6382
6383 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6384
6385 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6386
6387 2011-09-13 Glenn Morris <rgm@gnu.org>
6388
6389 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6390 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6391
6392 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6393
6394 * dired-aux.el (dired-mark-read-string): Don't return default
6395 value on empty input (Bug#9361).
6396 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6397 Omit initial minibuffer contents.
6398 (dired-do-chmod): Signal an error on empty input.
6399 (dired-mark-read-string): Don't return default on empty input.
6400
6401 * files.el (file-modes-symbolic-to-number): Doc fix.
6402
6403 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 * international/mule-cmds.el (ucs-completions): Remove.
6406 (read-char-by-name): Use complete-with-action instead; add metadata.
6407
6408 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6409
6410 * window.el (display-buffer--action-function-custom-type)
6411 (display-buffer--action-custom-type): New vars.
6412 (display-buffer-alist, display-buffer-default-action)
6413 (display-buffer-overriding-action): Add defcustom types.
6414
6415 * frame.el (delete-other-frames): Doc fix (Bug#276).
6416
6417 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6418
6419 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6420
6421 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6422
6423 Change modes that used same-window-* vars to use switch-to-buffer.
6424
6425 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6426 Use switch-to-buffer.
6427
6428 * cus-edit.el (customize-group, custom-buffer-create)
6429 (customize-browse, custom-buffer-create-other-window):
6430 Use switch-to-buffer or switch-to-buffer-other-window.
6431
6432 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6433 (Info-prev, Info-up, Info-speedbar-goto-node)
6434 (info-display-manual): Use switch-to-buffer.
6435 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6436
6437 * mail/sendmail.el (mail): Use switch-to-buffer.
6438 (mail-recover): Use switch-to-buffer-other-window.
6439
6440 * cmuscheme.el (run-scheme, switch-to-scheme):
6441 * ielm.el (ielm):
6442 * shell.el (shell):
6443 * net/rlogin.el (rlogin):
6444 * net/telnet.el (telnet, rsh):
6445 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6446
6447 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6448
6449 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6450
6451 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6452
6453 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6454 so don't mention it (bug#9301).
6455 (dired-sort-toggle-or-edit): Clarify string further.
6456
6457 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6458 match `x', `w32' and `ns', like the manual says (bug#9029).
6459
6460 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6461 (process-kill-buffer-query-function): Mention the buffer name in
6462 the query.
6463
6464 * image-mode.el (image-next-line): The line parameter is mandatory
6465 (bug#9258).
6466
6467 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6468 which can be useful (bug#9301).
6469
6470 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6471
6472 * subr.el (match-string): Mention that the current buffer should
6473 be the same as the search was done in (bug#9282).
6474
6475 * facemenu.el: Disable the remove-* commands if the mark isn't
6476 active (bug#9162).
6477
6478 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6479
6480 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6481 of display-buffer.
6482 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6483
6484 * replace.el (occur-mode-goto-occurrence)
6485 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6486 and display-buffer.
6487
6488 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6489 display-buffer.
6490
6491 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6492 special-display and same-window variables.
6493 (mail-other-window): Use switch-to-buffer-other-window.
6494 (mail-other-frame): USe switch-to-buffer-other-frame.
6495
6496 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6497 Use display-buffer-other-frame.
6498 (gdb-display-gdb-buffer): Use pop-to-buffer.
6499
6500 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6501
6502 * progmodes/python.el: Don't set same-window-buffer-names.
6503
6504 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6505
6506 * window.el (display-buffer-alist): Add *Python*.
6507
6508 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6509
6510 * window.el (display-buffer-alist): Add entry for buffers
6511 previously handled same-window-*.
6512 (display-buffer-alist, display-buffer-default-action)
6513 (display-buffer-overriding-action): Mark as risky.
6514 (display-buffer-alist): Document action function changes.
6515 (display-buffer--same-window-action)
6516 (display-buffer--other-frame-action): New variables.
6517 (switch-to-buffer, display-buffer-other-frame): Use them.
6518 (display-buffer): Rename reuse-frame entry to reusable-frames.
6519 (display-buffer-reuse-selected-window): Function deleted.
6520 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6521 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6522 (display-buffer-special): New function.
6523 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6524 display-buffer-reuse-or-pop-window. Split off special-display
6525 part into display-buffer-special.
6526 (display-buffer-use-some-window): Don't perform any special
6527 pop-up-frames handling.
6528 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6529 (display-buffer--maybe-same-window): Rename from
6530 display-buffer-maybe-same-window.
6531
6532 * info.el: Don't set same-window-regexps.
6533 (info-setup): New function.
6534 (info-other-window, info): Call it.
6535
6536 * cus-edit.el: Don't set same-window-regexps.
6537 (customize-group): New argument.
6538 (customize-group-other-window): Use it.
6539 (customize-face, customize-face-other-window): Likewise.
6540 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6541
6542 * net/rlogin.el:
6543 * net/telnet.el:
6544 * progmodes/gud.el: Don't set same-window-regexps.
6545
6546 * cmuscheme.el:
6547 * ielm.el:
6548 * shell.el:
6549 * mail/sendmail.el:
6550 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6551
6552 2011-09-10 Juri Linkov <juri@jurta.org>
6553
6554 * isearch.el (isearch-edit-string): Remove obsolete mention of
6555 `C-w' (`isearch-yank-word-or-char') from docstring.
6556 (isearch-query-replace): Fix typo in docstring (bug#9466).
6557
6558 2011-09-10 Juri Linkov <juri@jurta.org>
6559
6560 * paren.el (show-paren-function): Don't show escaped parens.
6561 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6562
6563 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6564
6565 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6566 (mm-default-file-encoding): Remove autoload forms, they are
6567 replaced with autoload cookies in mml.el and mm-encode.el.
6568 (mail-add-attachment): New command.
6569 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6570 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6571 the doc string.
6572 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6573
6574 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6575
6576 * simple.el (count-words-region): Use buffer if there's no region
6577 (bug#9429).
6578
6579 2011-09-09 Juri Linkov <juri@jurta.org>
6580
6581 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6582 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6583 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6584
6585 2011-09-09 Alan Mackenzie <acm@muc.de>
6586
6587 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6588 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6589
6590 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6591
6592 Fix for Savannah bug#9392.
6593 * simple.el (mail-encode-mml): New defvar.
6594
6595 * mail/rmail.el (mail-encode-mml): Add a defvar.
6596 (rmail-enable-mime-composing): Default to t.
6597 (rmail-forward): Use MIME method of forwarding only if both
6598 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6599 Set mail-encode-mml non-nil if the MIME method was used.
6600
6601 * mail/sendmail.el (mml-to-mime): Add autoload form.
6602 (mail-encode-mml): Add a defvar.
6603 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6604 to nil.
6605 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6606 message through mml-to-mime, and reset mail-encode-mml to nil.
6607
6608 2011-09-09 Glenn Morris <rgm@gnu.org>
6609
6610 * woman.el (woman-if-body): When processing an .el block,
6611 do not delete the next .el block as well. (Bug#9447)
6612 (woman-special-characters): Add oq, cq, and hy characters.
6613
6614 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6615
6616 * window.el (window-deletable-p): Make sure window is live before
6617 invoking window-prev-buffers.
6618
6619 2011-09-08 Leo Liu <sdl.web@gmail.com>
6620
6621 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6622
6623 2011-09-08 Juri Linkov <juri@jurta.org>
6624
6625 * progmodes/compile.el (compilation-environment): Make it
6626 a defcustom (bug#8340).
6627
6628 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6629
6630 * window.el (frame-auto-delete): Rename to window-auto-delete.
6631 Make it control auto-deletion of windows and/or frames.
6632 (window-deletable-p): New argument FORCE. Rewrite conditions
6633 for deleting window/frame. (Bug#9419)
6634 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6635 Rewrite handling of case when window/frame can be deleted.
6636 (delete-windows-on): Call window-deletable-p with new FORCE
6637 argument t. (Bug#9456)
6638
6639 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6640
6641 * help-mode.el (help-mode): Restore autoload.
6642
6643 2011-09-07 Juri Linkov <juri@jurta.org>
6644
6645 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6646 `compilation-environment'. Set buffer-local
6647 `compilation-environment' to `thisenv' later after (funcall mode).
6648 (Bug#8340)
6649
6650 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6651 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6652 instead of replacing its value. (Bug#8340)
6653
6654 2011-09-07 Juri Linkov <juri@jurta.org>
6655
6656 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6657 based on text properties put by `grep-filter' instead of matching
6658 escape sequences.
6659 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6660 to the value of `grep-error-screen-columns' (bug#9438).
6661
6662 2011-09-07 Juri Linkov <juri@jurta.org>
6663
6664 * simple.el (next-error-highlight, next-error-highlight-no-select):
6665 Doc fix (bug#9432).
6666
6667 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6668
6669 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6670 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6671
6672 2011-09-07 Leo Liu <sdl.web@gmail.com>
6673
6674 * net/rcirc.el (rcirc-mode): Conditionally initialize
6675 rcirc-input-ring.
6676
6677 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6678
6679 * emacs-lisp/find-func.el (find-function-C-source): Only set
6680 find-function-C-source-directory after checking that we found a source
6681 file there (bug#9440).
6682
6683 2011-09-06 Alan Mackenzie <acm@muc.de>
6684
6685 * isearch.el (isearch-other-meta-char): Wherever a key list is
6686 unread, "unread" the prefix arg, too. This fixes bug #8901.
6687
6688 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6689
6690 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6691
6692 2011-09-05 Juri Linkov <juri@jurta.org>
6693
6694 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6695
6696 2011-09-05 Juri Linkov <juri@jurta.org>
6697
6698 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6699 keeping point where processing of grep matches begins, and
6700 continue to delete remaining escape sequences from the same point.
6701 (grep-filter): Make leading zero optional in "0?1;31m" because
6702 git-grep emits "\033[1;31m" escape sequences unlike expected
6703 "\033[01;31m" as GNU Grep does (bug#9408).
6704 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6705
6706 2011-09-05 Juri Linkov <juri@jurta.org>
6707
6708 * subr.el (y-or-n-p): Capitalize "yes".
6709
6710 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6711
6712 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6713 `tramp-cache-unload-hook' where appropriate.
6714 (tramp-methods): Rename `tramp-remote-sh' to
6715 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6716 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6717
6718 * net/tramp-sh.el (top): Don't require 'shell.
6719 (tramp-methods): Add `tramp-remote-shell' and
6720 `tramp-remote-shell-args' entries.
6721 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6722 (tramp-sh-handle-shell-command): Remove.
6723 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6724 Use `tramp-remote-shell'.
6725
6726 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6727
6728 * mail/sendmail.el (sendmail-query-once-function): Delete.
6729 (sendmail-query-once): Save directly to send-mail-function.
6730 Update message-send-mail-function too.
6731
6732 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6733
6734 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6735
6736 * progmodes/python.el (python-mode-map): Use correct function to
6737 start python interpreter from menu-bar (as reported by Geert
6738 Kloosterman).
6739 (inferior-python-mode-map): Fix typo.
6740 (python-shell-map): Remove.
6741
6742 2011-09-03 Deniz Dogan <deniz@dogan.se>
6743
6744 * net/rcirc.el (rcirc-print): Simplify code for
6745 rcirc-scroll-show-maximum-output. There is no need to walk
6746 through all windows to find the right one.
6747
6748 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6749
6750 * help.el (help-return-method): Doc fix.
6751
6752 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6753
6754 * window.el (window-deletable-p): Don't return a non-nil value
6755 when there's a buffer that was shown in the window before.
6756 (Bug#9419)
6757 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6758 Set window's previous buffers to nil.
6759
6760 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6761
6762 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6763 newline before and after the tag line, so it doesn't interfere
6764 with determining the paragraph direction of bidirectional text.
6765
6766 2011-09-03 Leo Liu <sdl.web@gmail.com>
6767
6768 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6769
6770 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6771
6772 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6773 (pop-to-buffer): Change interactive spec. Pass second argument
6774 directly to display-buffer.
6775 (display-buffer): Fix interactive spec. Use functionp to
6776 distinguish between a function and a list of functions.
6777
6778 * abbrev.el (edit-abbrevs):
6779 * arc-mode.el (archive-extract):
6780 * autoinsert.el (auto-insert):
6781 * bookmark.el (bookmark-bmenu-list):
6782 * files.el (find-file):
6783 * view.el (view-buffer):
6784 * progmodes/compile.el (compilation-goto-locus):
6785 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6786
6787 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6788
6789 * window.el (display-buffer-alist): Doc fix.
6790 (display-buffer): Add docstring. Don't treat
6791 display-buffer-default specially.
6792 (display-buffer-reuse-selected-window)
6793 (display-buffer-same-window, display-buffer-maybe-same-window)
6794 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6795 (display-buffer-pop-up-window)
6796 (display-buffer-reuse-or-pop-window)
6797 (display-buffer-use-some-window): New functions.
6798 (display-buffer-default-action): Use them.
6799 (display-buffer-default): Delete.
6800 (pop-to-buffer-1): Fix choice of actions.
6801
6802 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * minibuffer.el (completion--insert-strings): Don't get confused by
6805 completion entries that end with an LF char.
6806
6807 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6808
6809 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6810
6811 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6812
6813 * window.el (display-buffer): Restore interactive spec.
6814 (display-buffer-same-window, display-buffer-other-window):
6815 New functions.
6816 (pop-to-buffer-1): New function. Use the above.
6817 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6818 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6819
6820 * view.el (view-buffer-other-window, view-buffer-other-frame):
6821 Just use pop-to-buffer.
6822
6823 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6824
6825 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6826
6827 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6828
6829 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6830
6831 2011-08-31 Richard Stallman <rms@gnu.org>
6832
6833 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6834 of the separation of rmail-view-buffer from rmail-buffer.
6835 If you say no to "replace original", the decrypt is in the
6836 view buffer. If you say yes, the decrypt goes into the
6837 rmail buffer also.
6838
6839 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6840
6841 * window.el (display-buffer-window): Rewrite doc-string.
6842 (display-buffer-record-window): New function.
6843 (display-buffer-macro-specifiers)
6844 (display-buffer-even-window-sizes, display-buffer-set-height)
6845 (display-buffer-set-width, display-buffer-in-window)
6846 (display-buffer-reuse-window, display-buffer-split-specifiers)
6847 (display-buffer-side-specifiers, display-buffer-split-window-1)
6848 (display-buffer-split-window, display-buffer-split-atom-window)
6849 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6850 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6851 (display-buffer-other-window-means-other-frame)
6852 (display-buffer-normalize-special)
6853 (display-buffer-normalize-default)
6854 (display-buffer-normalize-argument)
6855 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6856 (display-buffer-normalize-specifiers, display-buffer-frame)
6857 (display-buffer-same-window, display-buffer-same-frame)
6858 (display-buffer-other-window)
6859 (display-buffer-same-frame-other-window)
6860 (display-buffer-other-frame, pop-to-buffer-same-window)
6861 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6862 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6863 (switch-to-buffer-same-frame)
6864 (switch-to-buffer-other-window-same-frame)
6865 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6866 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6867 (display-buffer-alist-set): Remove.
6868 (display-buffer-function, special-display-buffer-names)
6869 (special-display-regexps, special-display-function):
6870 In doc-string refer to display-buffer-window and quit-restore
6871 parameter.
6872 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6873 (special-display-frame-alist, special-display-popup-frame)
6874 (same-window-buffer-names, same-window-regexps, same-window-p)
6875 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6876 (split-window-preferred-function, split-height-threshold)
6877 (split-width-threshold, window-splittable-p)
6878 (split-window-sensibly, window--try-to-split-window)
6879 (window--frame-usable-p, even-window-heights)
6880 (window--even-window-heights, window--display-buffer-1)
6881 (window--display-buffer-2, display-buffer-other-frame):
6882 Restore old Emacs 23 code, order and doc-strings where applicable.
6883 (display-buffer-default, display-buffer-assq-regexp): New functions.
6884 (display-buffer-alist): Rewrite doc-string.
6885 (display-buffer-default-action)
6886 (display-buffer-overriding-action): New variables.
6887 (display-buffer, switch-to-buffer): Rewrite.
6888 (pop-to-buffer): Restore Emacs 23 behavior but use
6889 window-normalize-buffer-to-display.
6890 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6891 Restore Emacs 23 behavior but use
6892 window-normalize-buffer-to-switch-to.
6893 (pop-to-buffer-same-window): Rewrite.
6894 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6895 Rewrite using Emacs 23 options.
6896
6897 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6898
6899 * net/tramp.el (tramp-root-regexp): Remove.
6900 (tramp-completion-file-name-regexp-unified)
6901 (tramp-completion-file-name-regexp-separate)
6902 (tramp-completion-file-name-regexp-url): Don't use leading volume
6903 letter on win32 systems. (Bug#5303, Bug#9311)
6904 (tramp-drop-volume-letter): Simplify definition.
6905 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6906
6907 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6910 (bug#9356).
6911
6912 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6913
6914 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6915
6916 2011-08-29 Juri Linkov <juri@jurta.org>
6917
6918 * isearch.el (isearch-done): Don't display message "Mark saved"
6919 when arg `edit' is non-nil to prevent its flicker in the echo area.
6920
6921 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6922
6923 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6924 obsolete packages for deletion.
6925
6926 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6927
6928 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6929 (help-mode): Derive help-mode from special-mode. Don't invoke
6930 view-mode from help-mode.
6931 (help-xref-override-view-map): Remove.
6932 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6933 view-mode is not used anymore.
6934
6935 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6936
6937 * server.el (server-port): Doc fix.
6938
6939 * cus-theme.el (custom-theme-choose-mode): Inherit from
6940 special-mode (Bug#9124).
6941 (custom-theme-choose-mode-map): Add special-mode to parent.
6942
6943 2011-08-28 Alan Mackenzie <acm@muc.de>
6944
6945 * progmodes/cc-fonts.el
6946 (c-make-font-lock-BO-decl-search-function): New function.
6947 (c-basic-matchers-after - "Fontify the clauses after various
6948 keywords"): Extract the three keyword lists for the 3 erroneous
6949 constructs from the list of four, and use the new function above
6950 in place of an old one.
6951
6952 2011-08-28 Deniz Dogan <deniz@dogan.se>
6953
6954 * net/rcirc.el (rcirc-insert-prev-input)
6955 (rcirc-insert-next-input): Remove unused argument.
6956
6957 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6960
6961 2011-08-27 Alan Mackenzie <acm@muc.de>
6962
6963 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6964 handle function pointer parameters properly.
6965
6966 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6967
6968 * window.el (display-buffer-reuse-window): Fix case where
6969 selected window was reused with non-nil OTHER-WINDOW argument.
6970 (Bug#9381)
6971
6972 2011-08-27 Deniz Dogan <deniz@dogan.se>
6973
6974 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6975 oftc's NickServ messages.
6976
6977 2011-08-27 Glenn Morris <rgm@gnu.org>
6978
6979 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6980
6981 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6982
6983 * emacs-lisp/package.el (package-install): Call package-initialize
6984 if called interactively.
6985
6986 2011-08-26 Leo Liu <sdl.web@gmail.com>
6987
6988 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6989
6990 2011-08-25 Juri Linkov <juri@jurta.org>
6991
6992 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6993 `search-whitespace-regexp' (bug#9364).
6994
6995 2011-08-25 Juri Linkov <juri@jurta.org>
6996
6997 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6998 `regexp-search-ring' to their global values to protect from
6999 updating by `read-from-minibuffer' (bug#9185).
7000
7001 2011-08-25 Juri Linkov <juri@jurta.org>
7002
7003 * textmodes/ispell.el (ispell-command-loop): Add newline
7004 at the end of the "Use option `i'..." line.
7005
7006 2011-08-25 Juri Linkov <juri@jurta.org>
7007
7008 * battery.el (display-battery-mode): If `battery-status-function'
7009 or `battery-mode-line-format' is nil, display the message and set
7010 `display-battery-mode' to nil (bug#9363).
7011
7012 2011-08-25 Eli Zaretskii <eliz@gnu.org>
7013
7014 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7015 bidi-string-mark-left-to-right; they are unnecessary now.
7016
7017 2011-08-25 Deniz Dogan <deniz@dogan.se>
7018
7019 * net/quickurl.el: Documentation typo fixes.
7020
7021 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
7022
7023 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7024
7025 2011-08-25 Glenn Morris <rgm@gnu.org>
7026
7027 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7028
7029 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7030 (smtpmail-via-smtp): Handle nil response from smtp.
7031
7032 2011-08-24 Juri Linkov <juri@jurta.org>
7033
7034 * proced.el (proced-marked): Inherit from `error' instead of
7035 `font-lock-warning-face'.
7036
7037 * ibuffer.el (ibuffer-marked-face): Change default face from
7038 `font-lock-warning-face' to `warning'.
7039 (ibuffer-deletion-face): Change default face from
7040 `font-lock-type-face' to `error'.
7041
7042 * battery.el (battery-update): Use the face `error' instead of
7043 `font-lock-warning-face' (bug#6117).
7044
7045 2011-08-24 Juri Linkov <juri@jurta.org>
7046
7047 * faces.el (success): Change face color from "Green3" to
7048 "ForestGreen" on light background (bug#9353).
7049
7050 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
7051
7052 * window.el (quit-window): Rename from quit-restore-window.
7053 Use same arglist as old quit-window.
7054 (frame-auto-delete): Doc fix.
7055
7056 * view.el (view-mode-exit): Use quit-window.
7057
7058 2011-08-24 Juri Linkov <juri@jurta.org>
7059
7060 * isearch.el (isearch-ring-adjust1): Start visiting previous
7061 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7062 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7063 for empty search string (when the last search string is reused
7064 automatically) to adjust the isearch ring to the last element and
7065 prepare the correct index for further M-p commands (bug#9185).
7066
7067 2011-08-24 Kenichi Handa <handa@m17n.org>
7068
7069 * international/ucs-normalize.el: If decomposition property of
7070 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7071 nil.
7072 (nfd, nfkd): Likewise.
7073
7074 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7077 from process filters aren't reliably transmitted to the surrounding
7078 accept-process-output.
7079 (mpc-proc-check): New function.
7080 (mpc-proc-sync): Use it (bug#8293)
7081
7082 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7083
7084 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7085 Add compatibility functions (bug#9313).
7086
7087 2011-08-23 Eli Zaretskii <eliz@gnu.org>
7088
7089 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7090
7091 * international/uni-bidi.el: Regenerate.
7092
7093 2011-08-23 Kenichi Handa <handa@m17n.org>
7094
7095 * international/charprop.el:
7096 * international/uni-bidi.el:
7097 * international/uni-category.el:
7098 * international/uni-combining.el:
7099 * international/uni-comment.el:
7100 * international/uni-decimal.el:
7101 * international/uni-decomposition.el:
7102 * international/uni-digit.el:
7103 * international/uni-lowercase.el:
7104 * international/uni-mirrored.el:
7105 * international/uni-name.el:
7106 * international/uni-numeric.el:
7107 * international/uni-old-name.el:
7108 * international/uni-titlecase.el:
7109 * international/uni-uppercase.el: Regenerate.
7110
7111 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7112
7113 * help.el (help-window-setup): Fix message displayed when other
7114 window is reused. (Bug#9341)
7115
7116 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7117
7118 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7119 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7120
7121 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7122 Mark obsolete.
7123 * shell.el (shell-parse-pcomplete-arguments): New function.
7124 (shell-completion-vars): Use it instead (bug#9160).
7125
7126 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7127
7128 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7129 strings and comments (bug#9333).
7130
7131 * emacs-lisp/debug.el (debug-arglist): New function.
7132 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7133 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7134
7135 2011-08-22 Juri Linkov <juri@jurta.org>
7136
7137 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7138 Revert regexp that highlights output switches to its old
7139 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7140
7141 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7142 to check for empty output (bug#9226).
7143
7144 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7145
7146 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7147 symbol-constituent as the default, as that stops font-lock from
7148 working properly (Bug#8843).
7149
7150 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7151
7152 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7153 `coding-system-for-*' around the process open call to avoid
7154 auth-source side effects.
7155 (smtpmail-try-auth-methods): Expand the secret password.
7156 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7157 probe hangs.
7158
7159 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7160
7161 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7162
7163 * emacs-lisp/find-func.el (find-function-noselect): New arg
7164 lisp-only.
7165
7166 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7167 signal an error for built-in functions (Bug#6664).
7168
7169 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7170
7171 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7172 (smtpmail-try-auth-methods): Use it.
7173
7174 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7175
7176 * font-lock.el (font-lock-fontify-region)
7177 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7178 (font-lock-default-unfontify-buffer)
7179 (font-lock-default-fontify-region)
7180 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7181
7182 * progmodes/compile.el (compilation-error-properties):
7183 Fix confusion between file struct and message struct (Bug#9319).
7184 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7185 `ant' regexp.
7186
7187 * net/browse-url.el (browse-url-firefox): Don't call
7188 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7189
7190 2011-08-20 Glenn Morris <rgm@gnu.org>
7191
7192 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7193
7194 * tutorial.el (tutorial--default-keys): Update some default bindings.
7195
7196 * files.el (hack-local-variables): Fully ignore case for "mode:".
7197
7198 2011-08-20 Alan Mackenzie <acm@muc.de>
7199
7200 Resolve invalid use of a regexp in regexp-opt.
7201
7202 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7203 detection for a java annotation.
7204
7205 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7206 detection for a java annotation.
7207
7208 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7209 handling for java.
7210 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7211
7212 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7213
7214 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7215 (Bug#9274).
7216
7217 2011-08-20 Alan Mackenzie <acm@muc.de>
7218
7219 Fontify CPP expressions correctly when starting in the middle of
7220 such a construct. Mainly for when jit-lock etc. starts a chunk
7221 here.
7222
7223 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7224 variable.
7225 (c-make-font-lock-search-form): New function, extracted from
7226 c-make-font-lock-search-function.
7227 (c-make-font-lock-search-function): Use the above function.
7228 (c-make-font-lock-context-search-function): New function.
7229 (c-cpp-matchers): Enhance the preprocessor expression case with
7230 the above function
7231 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7232 which takes an expression.
7233
7234 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7235
7236 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7237
7238 * window.el (display-buffer-reuse-window)
7239 (display-buffer-pop-up-window): Don't reuse or split a side
7240 window.
7241
7242 2011-08-19 Glenn Morris <rgm@gnu.org>
7243
7244 * files.el (hack-local-variables-prop-line, hack-local-variables):
7245 Downcase "Mode:". (Bug#9331)
7246
7247 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7248
7249 * international/characters.el: Add L and R categories.
7250
7251 * subr.el (bidi-string-mark-left-to-right): Rename from
7252 string-mark-left-to-right. Use category search.
7253
7254 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7255
7256 2011-08-18 Juri Linkov <juri@jurta.org>
7257
7258 * faces.el (error, warning, success): New faces with definitions
7259 copied from old default values of `font-lock-warning-face',
7260 `compilation-warning', `compilation-info' (bug#6117).
7261
7262 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7263
7264 * progmodes/compile.el (compilation-error): Inherit from `error'.
7265 (compilation-warning): Inherit from `warning'.
7266 (compilation-info): Inherit from `success'.
7267
7268 * dired.el (dired-marked): Inherit from `warning'.
7269 (dired-flagged): Inherit from `error'.
7270
7271 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7272
7273 * mail/smtpmail.el (auth-source): Require to avoid problems with
7274 binding variables (bug#9298). Also clean up some unused
7275 autoloads.
7276
7277 * net/network-stream.el (network-stream-open-starttls):
7278 Support using starttls.el without using gnutls-cli.
7279
7280 2011-08-17 Juri Linkov <juri@jurta.org>
7281
7282 * progmodes/grep.el (rgrep): Handle the case when
7283 `grep-find-command' is a cons cell (bug#9278).
7284
7285 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7286
7287 * window.el (display-buffer-pop-up-frame): Run frame creation
7288 function with BUFFER current (as special-display-popup-frame
7289 does). Reported by Drew Adams.
7290
7291 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7292
7293 * epa-mail.el: Simplify GnuPG group expansion using
7294 epg-expand-group.
7295 (epa-mail-group-alist, epa-mail-group-modtime)
7296 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7297 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7298 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7299 Remove.
7300
7301 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7302
7303 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7304
7305 2011-08-16 Alan Mackenzie <acm@muc.de>
7306
7307 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7308 Correct, to avoid the inside of macros.
7309
7310 2011-08-16 Richard Stallman <rms@gnu.org>
7311
7312 * epa-mail.el: Handle GnuPG group definitions.
7313 (epa-mail-group-alist, epa-mail-group-modtime)
7314 (epa-mail-gnupg-conf-file): New variables.
7315 (epa-mail-parse-groups, epa-mail-sync-groups)
7316 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7317 (epa-mail-expand-recipients): New functions.
7318 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7319
7320 * mail/rmail.el (rmail-epa-decrypt): New command.
7321
7322 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7323 Don't bind buffer-read-only, just inhibit-read-only.
7324 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7325 (epa-decrypt-armor-in-region): Make error message clearer.
7326
7327 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7330 and "a2b" to "ab" for `prefix'.
7331
7332 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7333
7334 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7335 filter groups.
7336 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7337 Fourquet (Bug#8804).
7338
7339 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7340
7341 * startup.el (argi): Declare as global variable (bug#9275).
7342
7343 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7344
7345 * subr.el (string-mark-left-to-right): Search the entire string
7346 for RTL script, not just the terminating character. Doc fix.
7347
7348 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7351 New function.
7352 (js--regexp-literal, js-syntax-propertize-function): Remove.
7353 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7354 (js-mode-map): Don't rebind electric keys.
7355 (js-insert-and-indent): Remove.
7356 (js-mode): Setup electric-layout and electric-indent instead.
7357
7358 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7359
7360 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7361
7362 * epa.el (epa-progress-callback-function): Fix the logic of
7363 displaying progress.
7364 * epa-file.el (epa-file-insert-file-contents): Make progress
7365 display more user-friendly.
7366 (epa-file-write-region): Ditto.
7367
7368 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7369
7370 * subr.el (string-mark-left-to-right): New function.
7371
7372 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7373 Use string-mark-left-to-right.
7374 (list-buffers-noselect): Caller changed.
7375
7376 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7377 Use string-mark-left-to-right.
7378 (tabulated-list-print): Recenter after moving point.
7379
7380 2011-08-10 Juri Linkov <juri@jurta.org>
7381
7382 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7383 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7384 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7385
7386 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7387
7388 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7389 (Bug#7554).
7390
7391 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7392
7393 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7394 character. (Bug#6594)
7395
7396 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7397
7398 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7399 (image-dired--with-db-file): New macro.
7400 (image-dired-write-tags, image-dired-remove-tag)
7401 (image-dired-create-gallery-lists, image-dired-write-comments)
7402 (image-dired-get-comment, image-dired-mark-tagged-files)
7403 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7404 (image-dired-gallery-generate): Use insert-file-contents.
7405
7406 * time.el (display-time-world-list, display-time-world-display):
7407 * time-stamp.el (time-stamp-string):
7408 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7409 set-time-zone-rule (Bug#7337).
7410
7411 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7412
7413 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7414 (epg-error-to-string, epg-errors-to-string): New function.
7415 (epg-wait-for-completion): Reverse errors list.
7416 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7417 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7418 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7419 (epg-sign-keys, epg-generate-key-from-file)
7420 (epg-generate-key-from-string): Format errors by using
7421 epg-errors-to-string (bug#9255).
7422 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7423
7424 2011-08-07 Juri Linkov <juri@jurta.org>
7425
7426 * faces.el (list-faces-display): Remove extra angle bracket
7427 from `help-mode-map'.
7428
7429 * info.el (Info-history-toc-nodes): Doc fix.
7430
7431 * longlines.el (longlines-mode): Doc fix.
7432
7433 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7434
7435 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7436 of statements and in a few more cases (bug#9183).
7437
7438 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7439 New functions.
7440 (cl-transform-lambda): Use them (bug#9239).
7441
7442 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7443
7444 * window.el (display-buffer-same-window)
7445 (display-buffer-same-frame, display-buffer-other-window)
7446 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7447 (pop-to-buffer-other-window)
7448 (pop-to-buffer-same-frame-other-window)
7449 (pop-to-buffer-other-frame): Make them defuns.
7450 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7451
7452 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7453
7454 * subr.el (make-composed-keymap): Move from C. Change calling
7455 convention, and improve docstring to bring attention to a subtle point.
7456 * minibuffer.el (completing-read-default): Adjust accordingly.
7457
7458 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7459
7460 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7461 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7462
7463 * net/trampver.el: Update release number.
7464
7465 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7466
7467 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7468 "in" (bug#9190).
7469
7470 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7471
7472 * mail/sendmail.el (sendmail-query-once): Restore the current
7473 buffer after querying (bug#9074).
7474
7475 * dired.el (dired-flagged): Use different faces for marked and
7476 flagged files (bug#6117).
7477
7478 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7479 (bug#4433).
7480
7481 * ido.el (ido-mode): Switch off the message if called
7482 non-interactively.
7483
7484 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7485 before 587, since it appears that that's more likely to work for
7486 more people.
7487
7488 * cus-edit.el (custom-file): When running under emacs -q, always
7489 refuse to save the customizations, even if the .emacs file doesn't
7490 exist.
7491
7492 * info.el: Remove the `Info-beginning-of-buffer' function
7493 (bug#8325).
7494
7495 * net/network-stream.el (network-stream-open-starttls):
7496 Use `starttls-available-p' to see whether starttls.el can be used.
7497
7498 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7499
7500 * window.el (display-buffer-in-window): Don't set dedicated status
7501 of window here (Bug#9215).
7502 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7503 (display-buffer-pop-up-side-window)
7504 (display-buffer-in-side-window): Set dedicated status of window here.
7505
7506 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7509 before binding generated-autoload-file.
7510
7511 2011-08-01 Deniz Dogan <deniz@dogan.se>
7512
7513 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7514
7515 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7516
7517 Sync with Tramp 2.2.2.
7518
7519 * net/trampver.el: Update release number.
7520
7521 2011-07-30 Juri Linkov <juri@jurta.org>
7522
7523 * dired-aux.el (dired-touch-initial): Remove function.
7524 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7525 current time, and `default' to the last modification time of the
7526 current marked file (bug#6887).
7527
7528 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7529
7530 * simple.el (goto-line): Use string-to-number to provide a
7531 numeric argument to read-number (bug#9163).
7532
7533 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7534
7535 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7536 connection process, it could be nil.
7537
7538 2011-07-27 Leo Liu <sdl.web@gmail.com>
7539
7540 Simplify url handling in rcirc-mode.
7541
7542 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7543 (rcirc-browse-url-at-mouse): Remove.
7544 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7545
7546 2011-07-26 Alan Mackenzie <acm@muc.de>
7547
7548 Fontify bitfield declarations properly.
7549
7550 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7551 (c-symbol-chars): Now exported as a lang variable.
7552 (c-not-primitive-type-keywords): New lang variable.
7553
7554 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7555 QT keyword "more" to prevent "more slots: ...." being spuriously
7556 parsed as a bitfield declaration.
7557
7558 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7559 Refactor and enhance to handle bitfield declarations.
7560 (c-punctuation-in): New function.
7561 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7562 declarations properly.
7563
7564 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7565
7566 * calendar/icalendar.el (icalendar--all-events): Take care of
7567 multiple vcalendars in a single file.
7568 (icalendar--convert-float-to-ical): Checkdoc fixes.
7569
7570 2011-07-25 Deniz Dogan <deniz@dogan.se>
7571
7572 * image.el (insert-image): Clarifying docstring.
7573
7574 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7575
7576 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7577 `tramp-send-command-and-check' if there is no error.
7578 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7579
7580 2011-07-22 Alan Mackenzie <acm@muc.de>
7581
7582 Prevent cc-langs.elc being loaded at run time.
7583
7584 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7585 cc-langs.
7586
7587 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7588 "(require 'cc-langs)". Quote a form so it will evaluate at
7589 (cc-mode's) compilation time.
7590
7591 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7592
7593 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7594 loading. (Bug#9114)
7595
7596 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7597
7598 * window.el (display-buffer-pop-up-window)
7599 (display-buffer-pop-up-side-window)
7600 (display-buffer-in-side-window): Call display-buffer-set-height
7601 and display-buffer-set-width after setting the new window's
7602 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7603
7604 2011-07-20 Sam Steingold <sds@gnu.org>
7605
7606 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7607 (etags-tags-included-tables): Call `convert-standard-filename' on
7608 the file names contained in TAGS so that windows Emacs can handle
7609 TAGS files created by cygwin ctags.
7610
7611 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7612
7613 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7614 which apparently didn't work.
7615
7616 2011-07-19 Roland Winkler <winkler@gnu.org>
7617
7618 * proced.el (proced-send-signal): For *Marked Processes* buffer
7619 put point at beginning of buffer.
7620
7621 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7622
7623 * proced.el (proced-format): Make header lines align with the text
7624 (bug#1779).
7625
7626 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7627
7628 * view.el (view-buffer): Allow running in `special' modes if we're
7629 visiting a file (bug#8615).
7630
7631 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7632
7633 * window.el (display-buffer-alist-of-strings-p)
7634 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7635 New functions.
7636 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7637 more accurately.
7638
7639 2011-07-18 Alan Mackenzie <acm@muc.de>
7640
7641 Fontify declarators properly when, e.g., a jit-lock chunk begins
7642 inside a declaration.
7643
7644 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7645
7646 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7647 New function.
7648 (c-complex-decl-matchers): Insert reference to
7649 c-font-lock-enclosing-decls.
7650
7651 * progmodes/cc-engine.el (c-backward-single-comment):
7652 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7653 to nil around calls to (forward-comment -1).
7654
7655 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7656
7657 * image.el (put-image): Doc typo fix.
7658
7659 * progmodes/etags.el (tags-search): Doc typo fix.
7660
7661 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7662 password if we get errors 550 to 554.
7663
7664 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7665
7666 * net/gnutls.el (gnutls-log-level): Remove.
7667
7668 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7669 indentation character (bug#6380).
7670
7671 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7672
7673 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7674 to clarify what the problem is (bug#4291).
7675
7676 * simple.el (current-kill): Clarify what
7677 `interprogram-paste-function' does (bug#7500).
7678 (auto-fill-mode): Document `auto-fill-function' in relation to
7679 `auto-fill-mode' (bug#2470).
7680
7681 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7682
7683 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7684 method if slot is read-only (bug#9035).
7685
7686 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7687
7688 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7689 * window.el (pop-to-buffer): Select window used even if it was
7690 selected before, see discussion of (Bug#8615), (Bug#6954).
7691 Pass argument NORECORD on to select-frame-set-input-focus.
7692
7693 2011-07-15 Glenn Morris <rgm@gnu.org>
7694
7695 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7696 Respect help-form.
7697
7698 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7699
7700 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7701 (gnutls-negotiate): Use it.
7702
7703 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7704
7705 * net/gnutls.el (gnutls-negotiate):
7706 Upcase `gnutls-algorithm-priority'.
7707
7708 2011-07-15 Glenn Morris <rgm@gnu.org>
7709
7710 * jka-compr.el (jka-compr-verbose): Move from here...
7711 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7712 Add missing :version tag.
7713 * info.el: No need to require jka-compr when compiling.
7714
7715 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7716
7717 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7718 (gnutls-negotiate): Use it.
7719
7720 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7721
7722 * info.el (Info-beginning-of-buffer): New command.
7723 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7724 announcing `b' as the key (bug#8325).
7725 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7726
7727 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7728
7729 * international/mule-cmds.el
7730 (describe-specified-language-support): Make the error message
7731 clearer (bug#8905).
7732
7733 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7734
7735 * isearch.el (isearch-barrier): Add a doc string, since it's
7736 mentioned in a function doc string (bug#8678).
7737
7738 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7739
7740 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7741 buffer argument (Bug#9083) and self-identifying label argument.
7742
7743 2011-07-15 Glenn Morris <rgm@gnu.org>
7744
7745 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7746
7747 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7748
7749 * man.el (Man-fontify-manpage): Fix message when formatting the
7750 man page (bug#7929).
7751
7752 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7753
7754 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7755 argument LRM; if non-nil, append an invisible LRM character to the
7756 buffer name.
7757 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7758 last argument non-nil, when formatting buffer names.
7759 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7760 paragraph direction.
7761
7762 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7763
7764 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7765 the man page name (bug#7929).
7766
7767 * image.el (put-image): Mention the `put-image' overlay property
7768 (bug#7834).
7769
7770 * scroll-bar.el (set-scroll-bar-mode): Mention that
7771 `scroll-bar-mode' lists the values (bug#7772).
7772
7773 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7774 command (bug#7729).
7775
7776 * rect.el (apply-on-rectangle): Return the point after the last
7777 operation.
7778 (string-rectangle): Go to the point after the last operation
7779 (bug#7522).
7780
7781 * printing.el (pr-toggle-region): Clarify the documentation
7782 slightly (bug#7493).
7783
7784 * time.el (display-time-update):
7785 Allow `display-time-mail-function' to return nil (bug#7158).
7786 Fix suggested by Detlev Zundel.
7787
7788 * vc/diff.el (diff): Clarify the order the file names are read
7789 (bug#7111).
7790
7791 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7792 the doc string (bug#7015).
7793
7794 * font-lock.el (font-lock-maximum-decoration): Mention what
7795 numeric levels mean (bug#6935).
7796
7797 * startup.el (initial-buffer-choice): Don't mention the `none'
7798 selection, which is against policy.
7799
7800 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7801
7802 * window.el (display-buffer-normalize-special):
7803 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7804
7805 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7806
7807 * subr.el (version<, version<=, version=): Mention "-CVS" and
7808 "-12345" alpha version numbers.
7809
7810 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7811
7812 * bindings.el: Add advertised binding for set-mark-command
7813 (Bug#5772).
7814
7815 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7816
7817 * bindings.el (mode-line-other-buffer):
7818 * bookmark.el (bookmark-bmenu-2-window):
7819 * bs.el (bs-cycle-next, bs-cycle-previous):
7820 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7821 switch-to-buffer.
7822
7823 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7824 Delete.
7825
7826 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7827
7828 * follow.el (follow-debug-message, follow-redisplay):
7829 * jka-cmpr-hook.el (with-auto-compression-mode):
7830 Fix typos in docstrings.
7831
7832 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7833
7834 * subr.el (with-silent-modifications): Clarify somewhat what the
7835 macro inhibits (bug#6525).
7836
7837 * simple.el (eval-expression): Note what it does if called
7838 interactively (bug#6495).
7839
7840 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7841
7842 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7843 Use pop-to-buffer buffer-or-name if it is nil.
7844
7845 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7846 Remove switch-to-buffer.
7847
7848 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7849
7850 * files.el (make-directory): Clarify that an error will be raised
7851 if there's an error (bug#6397).
7852
7853 * startup.el (initial-buffer-choice): Add `none' as a choice
7854 (bug#6234).
7855
7856 * subr.el (add-hook): Clarify section about buffer-local hooks
7857 (bug#6218).
7858
7859 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7860
7861 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7862
7863 * tabify.el (untabify): Preserve the current column so that point
7864 doesn't move (bug#6032).
7865
7866 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7867
7868 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7869 Rewrite to avoid awkward possessive "s" (bug#5986).
7870
7871 2011-07-13 Glenn Morris <rgm@gnu.org>
7872
7873 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7874 (dired-insert-directory): Give a message the first time
7875 if ls is found not to support --dired.
7876
7877 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7878
7879 * simple.el (toggle-truncate-lines): Clarify what is toggled
7880 (bug#5580). Text by Drew Adams.
7881
7882 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7883
7884 * simple.el (blink-matching-open): Make the error message from the
7885 last change less verbose.
7886
7887 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7888
7889 * font-lock.el (font-lock-comment-face): Use the high contrast
7890 "yellow" color for font-lock-comment-face on low color terminals
7891 using a dark background color (bug#4221).
7892
7893 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7894
7895 * dired.el (dired-insert-set-properties): Make the doc string
7896 reflect what it does now (bug#5325).
7897
7898 * simple.el (blink-matching-open): Say that we were unable to find
7899 the match within the limit, if we're limited (bug#5122).
7900
7901 * international/mule-cmds.el (prefer-coding-system): Add an
7902 example (bug#4869).
7903
7904 * progmodes/etags.el (tags-search): Document `file-list-form'
7905 (bug#4731).
7906
7907 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7908
7909 * net/browse-url.el (browse-url-default-browser)
7910 (browse-url-browser-function): Make the default browser choice a
7911 bit more logical (bug#4300). Also clean up the doc string.
7912
7913 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7914
7915 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7916 binary endings (bug#4440).
7917
7918 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7919
7920 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7921 which can be pretty annoying (bug#8971).
7922
7923 * jka-compr.el (jka-compr-verbose): New variable, and use
7924 throughout (bug#8971).
7925
7926 * info.el (Info-find-file): Fall back on the installation
7927 directory if we can't find the info node anywhere else.
7928
7929 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7930
7931 * vc/vc.el (vc-revert-file):
7932 Don't set file time-stamp in the past. (Bug#5181)
7933
7934 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7935
7936 * files.el (after-find-file): Give a better error message when
7937 trying to find a symlink that points to a file that doesn't exist
7938 (bug#4398).
7939
7940 * progmodes/cc-vars.el: Remove (probably) misleading comment
7941 (bug#4396).
7942
7943 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7944
7945 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7946
7947 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7948
7949 * mouse-sel.el: Hack restoring functionality, while keeping
7950 compatibility with 2010-07-03 changes to mouse selection.
7951 (mouse-sel-primary-overlay): New var.
7952 (mouse-sel-selection-alist): Use it.
7953 (mouse-sel-mode): Doc fix; remove points that are default features
7954 of mouse.el.
7955
7956 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7957
7958 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7959 Fix previous fix (bug#2490).
7960
7961 2011-07-12 Roland Winkler <winkler@gnu.org>
7962
7963 * textmodes/bibtex.el (bibtex-initialize):
7964 Use pop-to-buffer-same-window.
7965 (bibtex-search-entries): Fix interactive call.
7966
7967 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7968
7969 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7970 Fontise bytecomp Error lines more correctly (bug#2490).
7971 Fix suggested by Johan Bockgård.
7972
7973 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7974
7975 * dired-x.el (dired-guess-default): Use `delete-dups'.
7976
7977 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7978
7979 * dired.el (dired-mark-prompt):
7980 * dired-aux.el (dired-read-shell-command): Doc fix.
7981
7982 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7983
7984 * mail/sendmail.el (sendmail-query-once):
7985 Use `customize-save-variable' unconditionally, now that it works under
7986 emacs -Q.
7987
7988 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7989
7990 * cus-edit.el (custom-file): Take an optional no-error variable.
7991 (customize-save-variable): Set the variable, and give a warning if
7992 running under "emacs -q".
7993
7994 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7995
7996 * loadhist.el (unload-feature-special-hooks):
7997 Add `auto-coding-functions', `fill-nobreak-predicate' and
7998 `find-directory-functions' (bug#5327).
7999
8000 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8001
8002 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8003
8004 * cus-edit.el (custom-guess-name-alist): -alist variables should
8005 use the `alist' type (bug#3120). Suggested by Drew Adams.
8006
8007 * printing.el: Add documentation to all the `pr-toggle-' commands.
8008
8009 2011-07-11 Leo Liu <sdl.web@gmail.com>
8010
8011 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8012 backends where it makes sense (bug#2623).
8013
8014 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8015
8016 * dired-x.el (dired-guess-default): Remove duplicate shell command
8017 entries (bug#2028).
8018 (dired-guess-default): Fix grammar in doc string (bug#2028).
8019 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8020
8021 * subr.el (remove-duplicates): New conveniency function.
8022
8023 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8024
8025 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8026 (bug#1526).
8027
8028 2011-07-10 Martin Rudalics <rudalics@gmx.at>
8029
8030 * window.el (display-buffer-normalize-default): Don't invert
8031 meaning of even-window-heights. Reported by Eli Zaretskii
8032 <eliz@gnu.org>.
8033
8034 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8035
8036 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8037
8038 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
8039
8040 * window.el (display-buffer): Fix arguments to
8041 display-buffer-reuse-window in last change.
8042
8043 * faces.el (link): Use a less saturated blue on light backgrounds.
8044
8045 * startup.el (fancy-startup-text, fancy-about-text)
8046 (fancy-startup-tail): Use font-lock faces, for background safety.
8047
8048 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8049
8050 * emulation/viper-cmd.el (viper-change-state-to-vi):
8051 Limit triggering of abbrev expansion (Bug#9038).
8052
8053 2011-07-09 Martin Rudalics <rudalics@gmx.at>
8054
8055 * window.el (display-buffer-default-specifiers): Remove.
8056 (display-buffer-macro-specifiers): Remove default specifiers.
8057 (display-buffer-alist): Default to nil.
8058 (display-buffer-reuse-window): New optional argument other-window.
8059 (display-buffer-pop-up-window): Allow splitting internal
8060 windows. Check whether a live window was created.
8061 (display-buffer-other-window-means-other-frame)
8062 (display-buffer-normalize-arguments): Rename to
8063 display-buffer-normalize-argument and rewrite. Set the
8064 other-window specifier.
8065 (display-buffer-normalize-special): New function.
8066 (display-buffer-normalize-options): Rename to
8067 display-buffer-normalize-default and rewrite.
8068 (display-buffer-normalize-options-inhibit): Remove.
8069 (display-buffer-normalize-specifiers): Rewrite.
8070 (display-buffer): Process other-window specifier and call
8071 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8072 more faithfully.
8073 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8074 (display-buffer-alist-set): Don't handle 'unset default values.
8075 (display-buffer-in-window, display-buffer-alist-set):
8076 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8077 <tassilo@member.fsf.org>.
8078
8079 2011-07-09 Leo Liu <sdl.web@gmail.com>
8080
8081 * register.el (insert-register): Restore accidental change on
8082 2011-06-26. (Bug#9028)
8083
8084 2011-07-09 Glenn Morris <rgm@gnu.org>
8085
8086 * subr.el (remq): Handle the empty list. (Bug#9024)
8087
8088 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8089
8090 * mail/sendmail.el (send-mail-function): No longer delay custom
8091 initialization.
8092 * custom.el (custom-initialize-delay): Doc fix.
8093
8094 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8097
8098 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8099
8100 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8101 human-friendly prompt.
8102
8103 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8104
8105 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8106 provided by a particular plugin.
8107
8108 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8109
8110 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8111 save customizations (with "emacs -Q"), just set the variable
8112 instead of erroring out.
8113
8114 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8115
8116 2011-07-08 Juri Linkov <juri@jurta.org>
8117
8118 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8119 (archive-zip-update-case): Use 7z if found by `executable-find'.
8120 The order of searching the available programs is the same as in
8121 `archive-zip-extract' (bug#8968).
8122
8123 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8124
8125 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8126 (menu-bar-options-menu): Tweak descriptions.
8127
8128 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8129
8130 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8131 menu items into verb phrases (bug#1421). Also refill to fit under
8132 80 columns.
8133
8134 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8135
8136 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8137 (Info-read-node-name): Doc fix (Bug#1084).
8138
8139 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8140 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8141 (end-of-sexp, beginning-of-sexp)
8142 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8143 (forward-symbol, forward-same-syntax, word-at-point)
8144 (sentence-at-point): Doc fix (Bug#1144).
8145
8146 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8147
8148 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8149 should cover it (bug#1281).
8150
8151 * cus-edit.el (custom-show): Mark as obsolete.
8152
8153 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8154 negotiation fails, then possibly try again with a non-encrypted
8155 connection (bug#9017).
8156
8157 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8158 be used.
8159
8160 2011-07-07 Richard Stallman <rms@gnu.org>
8161
8162 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8163 property, and handle its changed format.
8164 Look for the correct line number.
8165 Use file's line contents (but not past first =) to find
8166 correct line in message.
8167
8168 2011-07-07 Kenichi Handa <handa@m17n.org>
8169
8170 * international/characters.el (build-unicode-category-table):
8171 Delete it.
8172 (unicode-category-table): Set it by unicode-property-table-internal.
8173
8174 * international/mule-cmds.el (char-code-property-alist): Move to
8175 to src/chartab.c.
8176 (get-char-code-property): Call unicode-property-table-internal to
8177 load a file. Call get-unicode-property-internal where necessary.
8178 (put-char-code-property): Call unicode-property-table-internal to
8179 load a file. Call put-unicode-property-internal where necessary.
8180 put-unicode-property-internal where necessary.
8181 (char-code-property-description):
8182 Call unicode-property-table-internal to load a file.
8183
8184 * international/charprop.el:
8185 * international/uni-bidi.el:
8186 * international/uni-category.el:
8187 * international/uni-combining.el:
8188 * international/uni-comment.el:
8189 * international/uni-decimal.el:
8190 * international/uni-decomposition.el:
8191 * international/uni-digit.el:
8192 * international/uni-lowercase.el:
8193 * international/uni-mirrored.el:
8194 * international/uni-name.el:
8195 * international/uni-numeric.el:
8196 * international/uni-old-name.el:
8197 * international/uni-titlecase.el:
8198 * international/uni-uppercase.el: Regenerate.
8199
8200 * loadup.el: Load international/charprop.el before
8201 international/characters.
8202
8203 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8204
8205 * window.el (next-buffer, previous-buffer): Signal an error if
8206 called from a minibuffer window.
8207
8208 * bindings.el: Revert 2011-07-04 change.
8209
8210 2011-07-06 Richard Stallman <rms@gnu.org>
8211
8212 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8213 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8214 Treat markers like ints.
8215 (rmail-mime-entity): Doc fix.
8216
8217 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8218
8219 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8220 defcustom again for backwards compatibility.
8221
8222 * simple.el (shell-command-on-region): Fill.
8223
8224 * dired-aux.el (dired-kill-line): Add a doc string.
8225
8226 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8227 to "\\sw\\|\\s_" (bug#358).
8228
8229 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8230 (dired-unmark-backward): Ditto.
8231 (dired-flag-backup-files): Ditto.
8232
8233 * dired-x.el (dired-mark-sexp): Ditto.
8234
8235 2011-07-06 Richard Stallman <rms@gnu.org>
8236
8237 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8238 (rmail-mime-entity): New arg TRUNCATED.
8239 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8240 New functions.
8241 (rmail-mime-save): Warn if entity is truncated.
8242 (rmail-mime-toggle-hidden): Likewise, for showing.
8243 (rmail-mime-process-multipart): Record when an entity is truncated.
8244
8245 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8246 if ENTITY is a string.
8247
8248 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8249
8250 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8251 of faces when `M-C-x'-ing their definitions (bug#8378).
8252 Also clean up the code slightly.
8253
8254 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8255 because that makes the colors go away.
8256
8257 * mail/sendmail.el (send-mail-function): Change the default to
8258 `sendmail-query-once'.
8259 (sendmail-query-once): Add an autoload cookie.
8260
8261 * net/network-stream.el (network-stream-open-starttls): Try using
8262 a plain connection even if the server offered STARTTLS, and we
8263 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8264 capability. This should make smtpmail.el work in slightly more
8265 configurations.
8266
8267 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8268
8269 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8270 New defun.
8271 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8272
8273 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8274
8275 * progmodes/sql.el: Version 3.0
8276 (sql-product-alist): Add product :completion-object,
8277 :completion-column, and :statement attributes.
8278 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8279 (sql-mode-syntax-table): Mark all punctuation.
8280 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8281 ansi keywords.
8282 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8283 (sql-mode-oracle-font-lock-keywords): Improve.
8284 (sql-oracle-show-reserved-words): New function for development.
8285 (sql-product-font-lock): Simplify for source code buffers.
8286 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8287 New functions.
8288 (sql-highlight-product): Set product specific syntax table.
8289 (sql-mode-map): Add statement movement functions.
8290 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8291 New variable.
8292 (sql-statement-regexp, sql-beginning-of-statement)
8293 (sql-end-of-statement, sql-signum): New functions.
8294 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8295 (sql-show-sqli-buffer): Bug fix.
8296 (sql-interactive-mode): Store connection data as buffer local.
8297 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8298 with sql-interactive-mode.
8299 (sql-save-connection): Save buffer local settings.
8300 (sql-connection-menu-filter): Change menu entry name.
8301 (sql-product-interactive): Bug fix.
8302 (sql-preoutput-hold): New variable.
8303 (sql-interactive-remove-continuation-prompt): Bug fixes.
8304 (sql-debug-redirect): New variable.
8305 (sql-str-literal): New function.
8306 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8307 Redesign.
8308 (sql-oracle-save-settings, sql-oracle-restore-settings)
8309 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8310 (sql-completion-object, sql-completion-column)
8311 (sql-completion-sqlbuf): New variables.
8312 (sql-build-completions-1, sql-build-completions)
8313 (sql-try-completion): New functions.
8314 (sql-read-table-name): Use them.
8315 (sql-contains-names): New buffer local variable.
8316 (sql-list-all, sql-list-table): Use it.
8317 (sql-oracle-completion-types): New variable.
8318 (sql-oracle-completion-object, sql-sqlite-completion-object)
8319 (sql-postgres-completion-object): New functions.
8320
8321 2011-07-06 Glenn Morris <rgm@gnu.org>
8322
8323 * window.el (pop-to-buffer): Doc fix.
8324
8325 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8326
8327 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8328
8329 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8330
8331 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8332
8333 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8334
8335 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8336
8337 * button.el (button): Inherit from link face. Suggested by Dan
8338 Nicolaescu.
8339
8340 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8341
8342 * progmodes/gdb-mi.el: Fit in 80 columns.
8343 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8344 switch-to-buffer.
8345
8346 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8347 if imenu is simply not configured (bug#8941).
8348
8349 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8350
8351 * allout.el (allout-post-undo-hook): New allout outline-change
8352 event hook to signal undo activity.
8353 (allout-post-command-business): Run allout-post-undo-hook if an
8354 undo just occurred.
8355 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8356 * allout-widgets.el (allout-widgets-after-undo-function):
8357 Ensure the integrity of the current item's decoration after it has been
8358 in the vicinity of an undo.
8359 (allout-widgets-mode): Include allout-widgets-after-undo-function
8360 on the new allout-post-undo-hook.
8361
8362 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8365 Let define-derived-mode define it.
8366 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8367 cycles of abbrev-table inheritance (bug#8998).
8368
8369 2011-07-05 Roland Winkler <winkler@gnu.org>
8370
8371 * textmodes/bibtex.el: Add support for biblatex.
8372 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8373 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8374 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8375 (bibtex-entry-alist, bibtex-field-alist): New variables.
8376 (bibtex-entry-field-alist): Obsolete alias for
8377 bibtex-BibTeX-entry-alist.
8378 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8379 (bibtex-set-dialect): New command.
8380 (bibtex-entry-type, bibtex-entry-head)
8381 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8382 Bind via bibtex-set-dialect.
8383 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8384 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8385 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8386 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8387 Define via bibtex-set-dialect.
8388 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8389 Obey bibtex-no-opt-remove-re.
8390 (bibtex-vec-push, bibtex-vec-incr): New functions.
8391 (bibtex-format-entry, bibtex-field-list)
8392 (bibtex-print-help-message, bibtex-validate)
8393 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8394
8395 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * progmodes/compile.el (compilation-goto-locus):
8398 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8399 * bs.el (bs-cycle-next, bs-cycle-previous):
8400 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8401 * bindings.el (mode-line-other-buffer):
8402 * autoinsert.el (auto-insert):
8403 * arc-mode.el (archive-extract):
8404 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8405
8406 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8407
8408 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8409 Fix check of `emacs-lock-unlockable-modes'.
8410 Coerce true values of `emacs-lock--try-unlocking' to t.
8411
8412 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8413
8414 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8415 * emacs-lock.el: New file.
8416
8417 2011-07-05 Julien Danjou <julien@danjou.info>
8418
8419 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8420 than `boundp' to check if face is set.
8421
8422 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8423
8424 * register.el (registerv-make):
8425 * window.el (window-min-height): Fix typos in docstrings.
8426
8427 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8428
8429 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8430 Update doc string.
8431
8432 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8433
8434 * server.el (server-execute): Catch quit and call
8435 `server-return-error' to pass the error back to emacsclient and
8436 close the connection (bug#8942).
8437
8438 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8439
8440 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8441 insecure exception for current topic. Also note that auto-saves
8442 are handled differently.
8443
8444 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8445 State variables for tracking auto-save inhibition situation.
8446
8447 (allout-write-contents-hook-handler): Rename from
8448 'allout-write-file-hook-handler', and describe how it depends on
8449 write-contents-functions sensitivity to non-nil value to prevent
8450 file write.
8451
8452 (allout-auto-save-hook-handler): Remove. auto-save does not check
8453 this in individual buffers, only in the starting buffer, so this
8454 is not the right way for us to inhibit auto-save in a buffer
8455 according to its condition.
8456
8457 (allout-mode): Use new allout-write-contents-hook-handler, and
8458 only with write-contents-functions. Remove auto-save provisions -
8459 they're implemented elsewhere.
8460
8461 (allout-before-change-handler): If undo is in progress, note that
8462 for attention of allout-post-command-business.
8463
8464 (allout-post-command-business): If the command we're following was
8465 an undo, check for change in the status of encrypted items and
8466 adjust auto-save inhibitions accordingly.
8467
8468 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8469 according to whether there are or aren't any plain-text topics
8470 pending encryption.
8471
8472 (allout-inhibit-auto-save-info-for-decryption):
8473 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8474 if there are plain-text topics pending encryption.
8475
8476 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8477 buffer-saved-size and some allout state to not inhibit auto-saves
8478 if there are no longer any plain-text topics pending encryption.
8479
8480 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8481 No longer provide for exemption of the current topic.
8482
8483 2011-07-04 Juri Linkov <juri@jurta.org>
8484
8485 Add 7z operations to delete and save changed members (bug#8968).
8486 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8487 New defcustoms.
8488 (archive-7z-write-file-member): New function.
8489 (archive-7z-summarize): Fix the number of dashes in the
8490 listing output.
8491
8492 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8495 (bug#8958).
8496
8497 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8498
8499 * bindings.el: Ignore next-buffer and previous-buffer in
8500 minibuffer-local-map.
8501
8502 * font-lock.el (font-lock-builtin-face): Change light background
8503 color to dark slate blue (Bug#6693).
8504
8505 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8506
8507 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8508
8509 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8512 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8513 Add switch-to-buffer.
8514
8515 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8516
8517 * isearch.el (isearch-search-fun-function): Clarify further the
8518 meaning of the function returned.
8519
8520 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8521
8522 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8523
8524 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8525 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8526 Use it.
8527 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8528 `tramp-default-remote-path' does not exist.
8529 (tramp-send-command-and-read): New optional argument NOERROR.
8530 (tramp-open-connection-setup-interactive-shell)
8531 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8532 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8533 (tramp-process-sentinel): Flush also process' connection property.
8534 (tramp-sh-handle-start-file-process): Do not set process
8535 sentinel. It is done now ...
8536 (tramp-maybe-open-connection): ... here. (Bug#8929)
8537
8538 2011-07-04 MON KEY <monkey@sandpframing.com>
8539
8540 * play/animate.el (animate-string): Doc fixes and allow changing
8541 the buffer name (bug#5417).
8542
8543 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8544
8545 * play/animate.el (animation-buffer-name): Rename from *animate*.
8546
8547 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8548
8549 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8550 This is simpler and helps future-proof the code.
8551 (timer-until): Use time-subtract and float-time.
8552 (timer--time-less-p): Use time-less-p.
8553
8554 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8555
8556 * type-break.el (timep): Use the value of `float-time' to avoid a
8557 byte-compiler warning.
8558
8559 * server.el (server-eval-and-print): Return any result, even nil.
8560
8561 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8562
8563 * type-break.el: Accept time formats that the builtins accept.
8564 (timep, type-break-time-difference): Accept any format that
8565 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8566 This is simpler and helps future-proof the code.
8567 (type-break-time-difference): Round rather than ignoring
8568 subseconds components.
8569
8570 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8571
8572 * info.el (Info-apropos-matches): Make non-interactive, since it
8573 doesn't seem to do anything useful as a command (bug#8829).
8574
8575 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8576
8577 * frame.el (frame-background-mode, frame-set-background-mode):
8578 Move from faces.el.
8579 (frame-default-terminal-background): New function.
8580
8581 * custom.el (custom-push-theme): Don't record faces in `changed'
8582 theme; this doesn't work correctly for per-frame face settings.
8583 (disable-theme): Use face-set-after-frame-default to reset faces.
8584 (custom--frame-color-default): New function.
8585
8586 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8587
8588 * dired.el (dired-flagging-regexp): Remove unused variable
8589 (bug#8769).
8590
8591 2011-03-29 Kevin Ryde <user42@zip.com.au>
8592
8593 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8594 `perl-Test2' extend to match possible "fail #N" rep count
8595 (bug#8377).
8596
8597 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8598
8599 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8600 `smtpmail-via-smtp' now returns the error instead of nil.
8601
8602 * isearch.el (isearch-search-fun-function): Clarify the doc string
8603 (bug#8101).
8604
8605 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8606
8607 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8608 unnecessary spaces (bug#8987).
8609
8610 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8611
8612 * net/network-stream.el (open-network-stream): Use the
8613 :end-of-capability command thoughout.
8614
8615 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8616
8617 * net/network-stream.el (open-network-stream): Add the
8618 :end-of-capability command parameter, used by pop3.el.
8619
8620 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8621
8622 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8623
8624 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8625 for list)" (bug#6475).
8626
8627 * files.el (file-expand-wildcards): Ignore non-readable
8628 sub-directories while trying to find matches instead of signaling
8629 an error (bug#6297).
8630
8631 * man.el (Man-reference-regexp): Allow matching possible
8632 word-wrapped references (bug#6289).
8633
8634 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8635 for consistency with the other vc buffers (bug#6197).
8636 (vc-checkin): Ditto.
8637
8638 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8639
8640 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8641
8642 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8643
8644 * custom.el (defcustom): Clarify that :set is only used in the
8645 Customize user interface (bug#6089).
8646
8647 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8648 associated with a file, refuse to run instead of erroring out
8649 (bug#6084).
8650
8651 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8652 the doc string, since it appears that using `fill-column' always
8653 controls the width (bug#7845).
8654
8655 * simple.el (shell-command-on-region): Say where the error output
8656 went if `shell-command-default-error-buffer' is set (bug#6857).
8657
8658 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8659
8660 * allout.el (allout-yank-processing): Adjust cursor position for
8661 backwards-deleted space.
8662
8663 (allout-rebullet-heading): Register changes with
8664 allout-exposure-changed-hook, so the modified topic is properly
8665 decorated.
8666
8667 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8668
8669 * minibuffer.el (completion-in-region): Document PREDICATE
8670 (bug#7136).
8671
8672 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8673 of keyword/argument pairs (bug#6904).
8674
8675 * replace.el (multi-occur):
8676 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8677
8678 2011-07-02 Drew Adams <drew.adams@oracle.com>
8679
8680 * dired.el (dired-mark-if): Make the message about whether it's
8681 marking or unmarking clearer (bug#8523).
8682
8683 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8684
8685 * disp-table.el (display-table-print-array): New function.
8686 (describe-display-table): Use it to print the vectors more pretty
8687 (Bug#8859).
8688
8689 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8690
8691 * window.el (window-state-get-1): Don't assign clone numbers.
8692 Add clone-of item to list of window parameters.
8693 (window-state-put-2): Don't process clone numbers.
8694 (display-buffer-alist): Fix doc-string.
8695
8696 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8697
8698 * subr.el (remq): Don't allocate if it's not needed.
8699 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8700 (keymap--merge-bindings): New functions.
8701 (keymap-canonicalize): Use them to refine the canonicalization.
8702 * minibuffer.el (minibuffer-local-completion-map)
8703 (minibuffer-local-must-match-map): Move initialization from C.
8704 (minibuffer-local-filename-completion-map): Move initialization from C;
8705 don't inherit from anything here.
8706 (minibuffer-local-filename-must-match-map): Make obsolete.
8707 (completing-read-default): Use make-composed-keymap to combine
8708 minibuffer-local-filename-completion-map with either
8709 minibuffer-local-must-match-map or
8710 minibuffer-local-filename-completion-map.
8711
8712 2011-07-01 Glenn Morris <rgm@gnu.org>
8713
8714 * type-break.el (type-break-time-sum): Use dolist.
8715
8716 * textmodes/flyspell.el (flyspell-word-search-backward):
8717 Replace CL function.
8718
8719 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8720
8721 * mouse.el (mouse--strip-first-event): New function.
8722 (function-key-map): Use it to map fringe clicks to normal clicks
8723 by default.
8724
8725 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8726 (vc-bzr-revision-completion-table): Add support for annotate and date.
8727
8728 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8729 inherit from parent.
8730
8731 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8732
8733 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8734 (dired-show-file-type): Doc fixup (bug#8818).
8735
8736 * dired.el (dired-mode): Fix up the doc string as suggested by
8737 Drew Adams (bug#8817).
8738
8739 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8740 cookie, since the manual says that it should be possible to add
8741 this function to `find-file-hook' (bug#8709).
8742
8743 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8744
8745 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8746 here. Noted Ted Zlatanov as the maintainer.
8747 (cfengine-common-settings, cfengine-common-syntax): New functions
8748 to set up common things between `cfengine-mode' and
8749 `cfengine3-mode'.
8750 (cfengine3-mode): New mode.
8751 (cfengine3-defuns cfengine3-defuns-regex
8752 (cfengine3-class-selector-regex cfengine3-category-regex)
8753 (cfengine3-vartypes cfengine3-font-lock-keywords)
8754 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8755 (cfengine3-indent-line): Add from cfengine3.el.
8756
8757 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8758
8759 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8760
8761 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8762
8763 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8764
8765 * window.el (same-window-buffer-names, same-window-regexps)
8766 (same-window-p, special-display-frame-alist)
8767 (special-display-popup-frame, special-display-function)
8768 (special-display-buffer-names, special-display-regexps)
8769 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8770 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8771 (split-window-preferred-function, split-height-threshold)
8772 (split-width-threshold, even-window-heights)
8773 (display-buffer-mark-dedicated, window-splittable-p)
8774 (split-window-sensibly, window-safely-shrinkable-p):
8775 Un-obsolete.
8776 (display-buffer): Don't spread args with function specifier
8777 because special-display-popup-frame won't like it.
8778
8779 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8780
8781 Time-stamp simplifications and fixes.
8782 These improve accuracy slightly, and future-proof the code
8783 against some potential changes to current-time format.
8784
8785 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8786 by using time-since and float-time.
8787
8788 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8789 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8790 + NNN microseconds".
8791
8792 * type-break.el (type-break-time-sum): Rewrite using time-add.
8793
8794 * play/hanoi.el (hanoi-current-time-float): Remove.
8795 All uses replaced by float-time.
8796
8797 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8798 This yields a more-accurate answer.
8799 (rng-time-to-float): Remove; no longer needed.
8800
8801 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8802
8803 * calendar/timeclock.el (timeclock-seconds-to-time):
8804 Defalias to seconds-to-time, since they're the same thing.
8805
8806 * emacs-lisp/elp.el (elp-elapsed-time):
8807 * emacs-lisp/benchmark.el (benchmark-elapse):
8808 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8809
8810 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8811
8812 * window.el (bury-buffer): Don't iconify the only frame.
8813 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8814 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8815
8816 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8817
8818 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8819 Add mouse-yank-primary.
8820
8821 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8822
8823 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8824
8825 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8826
8827 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8828 (find-library-name): Use it to find relative load names when provided
8829 absolute file name (bug#8803).
8830
8831 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8832
8833 * textmodes/flyspell.el (flyspell-word): Consider words that
8834 differ only in case as potential doublons (bug#5687).
8835
8836 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8837 Remove two rather uninteresting debugging-like messages to make
8838 debbugs.el more silent.
8839
8840 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8841 a password-like phrase.
8842
8843 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8844
8845 * progmodes/cc-guess.el: New file.
8846
8847 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8848
8849 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8850 derived from `c-basic-common-init'.
8851
8852 * progmodes/cc-mode.el (top-level): Require cc-guess.
8853 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8854
8855 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8856
8857 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8858
8859 2011-06-30 Alan Mackenzie <acm@muc.de>
8860
8861 * progmodes/cc-engine.el (c-guess-continued-construct):
8862 Correct the handling of template-args-cont, particularly for when font
8863 lock is disabled. Name this case as "CASE G".
8864
8865 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8866
8867 * allout.el (allout-yank-processing): Fix injection of extra space
8868 between bullet and non-whitespace character in first topic when
8869 pasting, ensuring that the actual spacing in the pasted topic
8870 following the bullet char is preserved. This extra space was
8871 causing pasted encrypted topics to get a decrypted status even
8872 when the content was actually still encrypted. Now the decryption
8873 status from before the paste is preserved.
8874
8875 (allout-flag-region): Set all allout overlays so they evaporate
8876 when reduced to zero length (evanescent), to prevent overlay
8877 leakage.
8878
8879 2011-06-30 Glenn Morris <rgm@gnu.org>
8880
8881 * w32-fns.el (w32-charset-info-alist): Declare.
8882
8883 * find-dired.el (find-grep-options): Simplify.
8884
8885 * term/ns-win.el (ns-set-resource): Declare.
8886
8887 * ses.el (row, col): Declare dynamic variables honestly.
8888
8889 * textmodes/reftex-parse.el (index-tags): Declare.
8890
8891 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8892
8893 * cus-edit.el (customize-push-and-save): New function.
8894
8895 * files.el (hack-local-variables-confirm): Use it.
8896
8897 * custom.el (load-theme): New arg NO-CONFIRM.
8898 Use customize-push-and-save (Bug#8720).
8899 (custom-enabled-themes): Doc fix.
8900
8901 * cus-theme.el (customize-create-theme)
8902 (custom-theme-merge-theme): Callers to load-theme changed.
8903
8904 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8905
8906 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8907 short URLs have at least one dot in them (bug #7614).
8908
8909 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8910 nil, because using a pty is apparently too slow (bug #895).
8911
8912 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8913
8914 * mail/sendmail.el (sendmail-query-once): New function.
8915 (sendmail-query-once-function): New variable.
8916
8917 2011-06-29 Glenn Morris <rgm@gnu.org>
8918
8919 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8920
8921 * ses.el (top-level): Require cl when compiling.
8922 (ses-set-localvars): Fix error statement.
8923 Call it at compile time to silence a storm of warnings.
8924
8925 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8926
8927 * window.el (normalize-live-buffer): Rename to
8928 window-normalize-buffer.
8929 (normalize-live-frame): Rename to window-normalize-frame.
8930 (normalize-any-window): Rename to window-normalize-any-window.
8931 (normalize-live-window): Rename to window-normalize-live-window.
8932 (make-window-atom): Rename to window-make-atom.
8933 (window-resize-reset): Rename to window--resize-reset.
8934 (window-resize-reset-1): Rename to window--resize-reset-1.
8935 (resize-mini-window): Rename to window--resize-mini-window.
8936 (resize-subwindows-skip-p): Rename to
8937 window--resize-subwindows-skip-p.
8938 (resize-subwindows-normal): Rename to
8939 window--resize-subwindows-normal.
8940 (resize-subwindows): Rename to window--resize-subwindows.
8941 (resize-other-windows): Rename to window--resize-siblings.
8942 (resize-this-window): Rename to window--resize-this-window.
8943 (resize-root-window): Rename to window--resize-root-window.
8944 (resize-root-window-vertically): Rename to
8945 window--resize-root-window-vertically.
8946 (normalize-buffer-to-display): Rename to
8947 window-normalize-buffer-to-display.
8948 (normalize-buffer-to-switch-to): Rename to
8949 window-normalize-buffer-to-switch-to.
8950 Correspondingly update all callers of the functions listed
8951 above.
8952 (display-buffer-alist, display-buffer-normalize-arguments)
8953 (display-buffer-normalize-options, display-buffer)
8954 (display-buffer-alist-set): Use "function" instead of
8955 "fun-with-args".
8956
8957 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8958
8959 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8960 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8961 debbugs.gnu.org. Mention acknowledgment email.
8962
8963 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8964
8965 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8966 buffer multibyteness, since it shouldn't matter.
8967
8968 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8969
8970 * window.el (display-buffer-in-side-window): Handle dedicated
8971 windows as in display-buffer-reuse-window.
8972 (display-buffer-normalize-alist): Use value of override
8973 specifier.
8974 (display-buffer-normalize-specifiers): Use value of
8975 other-window-means-other-frame specifier.
8976 (display-buffer-alist): Rewrite some texts in widgets.
8977 (display-buffer): Spread arguments when calling function
8978 specified by fun-with-args.
8979
8980 2011-06-28 Deniz Dogan <deniz@dogan.se>
8981
8982 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8983 Unnest `let'.
8984
8985 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8986 selectors (Bug#5732).
8987 (css-proprietary-nmstart-re): Use `regexp-opt'.
8988
8989 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8990
8991 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8992 (eshell-ls-date-format): New defcustom.
8993 (eshell-ls-file): Use it.
8994
8995 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8998
8999 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9000
9001 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9002 (ange-ftp-make-tmp-name): New arg.
9003 (ange-ftp-file-local-copy): Use it.
9004
9005 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9006
9007 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9008 no-conversion (Bug#8870).
9009
9010 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9011
9012 * window.el (window-right, window-left, window-child)
9013 (window-child-count, window-last-child)
9014 (window-iso-combination-p, walk-window-tree-1)
9015 (window-atom-check-1, window-tree-1, delete-window)
9016 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9017 new naming conventions - window-vchild, window-hchild,
9018 window-next and window-prev are now called window-top-child,
9019 window-left-child, window-next-sibling and window-prev-sibling
9020 respectively.
9021 (resize-window-reset): Rename to window-resize-reset.
9022 (resize-window-reset-1): Rename to window-resize-reset-1.
9023 (resize-window): Rename to window-resize.
9024 (window-min-height, window-min-width)
9025 (resize-mini-window, resize-this-window, resize-root-window)
9026 (resize-root-window-vertically, adjust-window-trailing-edge)
9027 (enlarge-window, shrink-window, maximize-window)
9028 (minimize-window, delete-window, quit-restore-window)
9029 (split-window, balance-windows, balance-windows-area-adjust)
9030 (balance-windows-area, window-state-put-2)
9031 (display-buffer-even-window-sizes, display-buffer-set-height)
9032 (display-buffer-set-width, set-window-text-height)
9033 (fit-window-to-buffer): Rename all "resize-window" prefixed
9034 calls to use the "window-resize" prefix convention.
9035 (display-buffer-alist): Fix symbol for label specifier.
9036 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9037 corresponding specifier.
9038 Reported by Juanma Barranquero <lekktu@gmail.com>.
9039
9040 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9041
9042 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9043 convention.
9044 (ses-call-printer): Does not pass an empty string to formatter when the
9045 cell is empty to keep from barking printer Calc math-format-value.
9046
9047 2011-06-27 Richard Stallman <rms@gnu.org>
9048
9049 * battery.el (battery-mode-line-limit): New variable.
9050 (battery-update): Handle it.
9051
9052 * mail/rmailmm.el (rmail-mime-process-multipart):
9053 Handle truncated messages.
9054
9055 2011-06-27 Glenn Morris <rgm@gnu.org>
9056
9057 * progmodes/flymake.el (flymake-err-line-patterns):
9058 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9059
9060 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9061
9062 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9063 (ses--clean-!, ses--clean-_): New functions.
9064 (ses-range): Add configurability of readout order, and conversion
9065 to Calc vector.
9066
9067 * ses.el (ses-repair-cell-reference-all): New function.
9068 (ses-cell-symbol): Set macro as safe, so that it can be used in
9069 formulas.
9070
9071 * ses.el: Update cycle detection algorithm.
9072 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9073 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9074 (ses-set-localvars): New function.
9075 (ses-make-cell): Add property-list as a cell element.
9076 (ses-cell-property-get-fun, ses-cell-property-get)
9077 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9078 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9079 New functions.
9080 (ses-cell-property-set, ses-cell-property-pop)
9081 (ses-cell-property-get-handle): New macro.
9082 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9083 New aliases, used for code readability.
9084 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9085 cycle detection.
9086 (ses-self-reference-early-detection): New defcustom.
9087 (ses-formula-references): Robustify against self-referring cells.
9088 (ses-mode): Use ses-set-localvars.
9089 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9090 before lauching the update processing.
9091 (ses-initialize-Dijkstra-attempt): New function.
9092 (ses-recalculate-cell): Update for cycle detection based on
9093 Dijkstra algorithm.
9094
9095 * ses.el: Fix commenting and indenting convention.
9096
9097 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * bs.el (bs-cycle-next): Complete last change.
9100
9101 2011-06-27 Drew Adams <drew.adams@oracle.com>
9102
9103 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9104
9105 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9106
9107 * net/network-stream.el (network-stream-open-starttls):
9108 Don't re-get capabilities unless we've reestablished connection.
9109 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9110
9111 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9112 to binary to possibly avoid line encoding issues on Windows (among
9113 other things).
9114
9115 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9116
9117 * net/network-stream.el (open-network-stream): Return an :error
9118 saying what the problem was, if possible.
9119
9120 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9121 server.
9122
9123 * net/network-stream.el (network-stream-open-starttls): If we
9124 wanted to use STARTTLS, and the server offered it, but we weren't
9125 able to because we had no STARTTLS support, then close the connection.
9126 (open-network-stream): Return an :error element, if present.
9127
9128 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9129
9130 * hl-line.el (hl-line-sticky-flag): Doc fix.
9131 (global-hl-line-sticky-flag): New option (Bug#8323).
9132 (global-hl-line-highlight): Obey it.
9133
9134 * vc/vc.el (vc-revert-show-diff): Default to t.
9135
9136 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9137
9138 * allout-widgets.el (allout-widgets-post-command-business):
9139 Stop decorating intermediate isearch matches. They're not being
9140 undecorated when an isearch is continued past, and isearch
9141 automatically collapses them. This leads to "widget leaks", where
9142 decorated items accumulate in collapsed areas. Lines with lots of
9143 hidden widgets can slow down cursor travel, substantially.
9144 Too much complicated machinery would be needed to ensure undecoration,
9145 so we're doing without this nicety.
9146
9147 (allout-widgets-tally-string): Don't try to do a hash-table-count
9148 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9149 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9150 *Messages* when allout-widgets-maintain-tally is t.
9151
9152 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9153
9154 * window.el (display-buffer-normalize-argument): Rename to
9155 display-buffer-normalize-arguments. Handle special meaning of
9156 LABEL argument. Respect special-display-function when popping up
9157 a new frame. Fix code searching for a window showing the buffer
9158 on another frame.
9159 (display-buffer-normalize-specifiers):
9160 Call display-buffer-normalize-arguments.
9161 (display-buffer-in-window): Don't undedicate the window if its
9162 buffer remains the same.
9163 Reported by Drew Adams <drew.adams@oracle.com>.
9164 (display-buffer-alist): Add choice for same-window macro
9165 specfier.
9166 (display-buffer): Mention special meaning of LABEL argument in
9167 doc-string. Fix quoting. Don't pop up a new frame even as
9168 fallback.
9169
9170 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9171
9172 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9173 avoid deleting the current window in some cases (bug#8911).
9174
9175 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9176
9177 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9178 (Bug#8934)
9179
9180 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9181
9182 * net/network-stream.el (network-stream-open-starttls):
9183 Use built-in TLS support if `gnutls-available-p' is true.
9184 (network-stream-open-tls): Ditto.
9185
9186 2011-06-26 Leo Liu <sdl.web@gmail.com>
9187
9188 * register.el (registerv): New struct.
9189 (registerv-make): New function.
9190 (jump-to-register, describe-register-1, insert-register):
9191 Support the jump-func, print-func and insert-func slot of a registerv
9192 struct. (Bug#8415)
9193
9194 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9195
9196 * vc/vc.el (vc-revert-show-diff): New defcustom.
9197 (vc-diff-internal): New arg specifying diff buffer.
9198 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9199 reuse an existing *vc-diff* buffer (Bug#8927).
9200
9201 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9202
9203 2011-06-26 Glenn Morris <rgm@gnu.org>
9204
9205 * progmodes/f90.el (f90-critical-indent): New option.
9206 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9207 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9208 (f90-mode): Doc fix.
9209 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9210 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9211 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9212 (f90-match-end): Handle block, critical.
9213
9214 2011-06-25 Glenn Morris <rgm@gnu.org>
9215
9216 * calendar/diary-lib.el (diary-included-files): Doc fix.
9217 (diary-include-files): New function, extracted from
9218 diary-include-other-diary-files and diary-mark-included-diary-files.
9219 (diary-include-other-diary-files, diary-mark-included-diary-files):
9220 Just call diary-include-files.
9221 (diary-mark-entries): Reset diary-included-files on first call.
9222
9223 * calendar/diary-lib.el (diary-mark-entries)
9224 (diary-mark-included-diary-files):
9225 Visit included diary-files in temp buffers.
9226
9227 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9228 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9229 (f90-start-block-re, f90-imenu-generic-expression)
9230 (f90-looking-at-program-block-start, f90-no-block-limit):
9231 Add support for submodules.
9232
9233 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9234 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9235
9236 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9237
9238 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9239 buffer-file-type before setting its value, to avoid disastrous
9240 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9241
9242 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9243
9244 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9245
9246 * ses.el (ses-unload-function):
9247 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9248
9249 * proced.el (proced-unload-function):
9250 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9251
9252 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9253
9254 * server.el (server-create-window-system-frame): Add parameters arg.
9255 (server-process-filter): Doc fix. Handle frame-parameters.
9256
9257 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9258
9259 Fix bug#8730, bug#8781.
9260
9261 * loadhist.el (unload--set-major-mode): New function.
9262 (unload-feature): Use it.
9263
9264 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9265 (python-unload-function): New function.
9266
9267 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9268
9269 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9270
9271 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9272
9273 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9274 the candidates list.
9275
9276 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9277
9278 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9279
9280 2011-06-23 Richard Stallman <rms@gnu.org>
9281
9282 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9283 (rmail-variables): Set next-error-move-function.
9284 (rmail-what-message): Take argument POS.
9285 (rmail-next-error-move): New function.
9286
9287 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9288
9289 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9290 messages for adjacent non-terminals.
9291
9292 2011-06-23 Richard Stallman <rms@gnu.org>
9293
9294 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9295 (rmail-show-message-1): Preserve buffer modified flag.
9296 (rmail-start-mail): Don't specify use of rmail-mail-return;
9297 that's done by mail-bury now.
9298 (rmail-mail-return): Handle arg NEWBUF.
9299
9300 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9301
9302 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9303 SIZE is a number.
9304
9305 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9306
9307 * window.el (get-lru-window, get-mru-window)
9308 (get-largest-window): Never return a minibuffer window.
9309 (display-buffer-pop-up-window): Fix a bug that could lead to
9310 reusing the minibuffer window.
9311 (display-buffer): Pass original specifier argument to
9312 display-buffer-function instead of the normalized one.
9313 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9314
9315 2011-06-22 Leo Liu <sdl.web@gmail.com>
9316
9317 * minibuffer.el (completing-read-function)
9318 (completing-read-default): Move from minibuf.c
9319
9320 2011-06-22 Richard Stallman <rms@gnu.org>
9321
9322 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9323 to Rmail even if not started by a special Rmail command.
9324
9325 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9326 Copy the buffer currently showing just one message.
9327
9328 2011-06-22 Roland Winkler <winkler@gnu.org>
9329
9330 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9331 (bibtex-clean-entry): First delete the old key so that a
9332 customized algorithm for generating the new key does not get
9333 confused by the old key.
9334 (bibtex-url): Obey regexp of first step.
9335 (bibtex-search-entries): Do not use add-to-list with local
9336 list-var.
9337
9338 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9339
9340 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9341 stored a user name, then query for the password first, instead of
9342 waiting for SMTP to give an error message and the trying again.
9343
9344 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9345
9346 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9347 BUFFER in call-process.
9348
9349 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9350
9351 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9352 QUIT twice.
9353 (smtpmail-try-auth-methods): Require user name and password from
9354 auth-source.
9355
9356 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9357
9358 * window.el (display-buffer-default-specifiers)
9359 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9360 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9361 (split-window): Normalize SIDE argument (Bug#8916).
9362
9363 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9364 (special-display-frame-alist, special-display-popup-frame):
9365 Remove duplicate declarations. These are now in window.el.
9366
9367 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9368
9369 * mail/smtpmail.el (smtpmail-via-smtp):
9370 Set :use-starttls-if-possible so that we always use STARTTLS if the
9371 server supports it. SMTP servers that support STARTTLS commonly
9372 require it.
9373
9374 * net/network-stream.el (network-stream-open-starttls): Support
9375 upgrading to STARTTLS always, even if we don't have built-in support.
9376 (open-network-stream): Add the :always-query-capabilities keyword.
9377
9378 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9379 upgrades with `open-network-stream', and rely solely on
9380 auth-source for all credentials. Big changes throughout the file,
9381 but in particular:
9382 (smtpmail-auth-credentials): Remove.
9383 (smtpmail-starttls-credentials): Remove.
9384 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9385 MAIL FROM, too.
9386
9387 * net/network-stream.el (network-stream-open-starttls):
9388 Provide support for client certificates both for external and built-in
9389 STARTTLS.
9390 (auth-source): Require.
9391 (open-network-stream): Document the :client-certificate keyword.
9392 (network-stream-certificate): Change cert-cert to cert and
9393 cert-key to key.
9394
9395 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9396
9397 * net/tramp-cache.el (top): Don't load the persistency file when
9398 "emacs -Q" has been called.
9399
9400 2011-06-21 Tim Harper <timcharper@gmail.com>
9401
9402 * term/ns-win.el (ns-initialize-window-system):
9403 Set application-specific `ApplePressAndHoldEnabled' system
9404 resource to NO as it is not yet supported by the NS port.
9405
9406 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9407
9408 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9409 (list-dynamic-libraries): ...not here.
9410
9411 2011-06-21 Leo Liu <sdl.web@gmail.com>
9412
9413 * subr.el (sha1): Implement sha1 using secure-hash.
9414
9415 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9416
9417 * window.el (display-buffer-alist): In default value do not
9418 enforce searching a window on any but the selected frame.
9419 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9420 (display-buffer-select-window): Remove function.
9421 (display-buffer-in-window): When a window on another frame gets
9422 reused, do not select it any more but just raise its frame if
9423 necessary (Bug#8851) and (Bug#8856).
9424 (display-buffer-normalize-options): Handle pop-up-frames related
9425 options more faithfully.
9426 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9427 window if it is on another frame.
9428 (display-buffer-alist, display-buffer-default-specifiers):
9429 Don't make new frame unsplittable by default.
9430 (display-buffer-normalize-argument): Fix doc-string typo and use
9431 'same-frame-other-window instead of 'other-window when associating
9432 with display-buffer-macro-specifiers.
9433
9434 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9435
9436 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9437 New functions.
9438 (5x5-mode-map, 5x5-mode-menu): Bind them.
9439 (5x5-draw-grid): Tweak the solver's rendering.
9440
9441 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9442
9443 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9444 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9445
9446 2011-06-21 Drew Adams <drew.adams@oracle.com>
9447
9448 * menu-bar.el: Use function variable instead of switch-to-buffer.
9449 (menu-bar-select-buffer-function): New variable.
9450 (menu-bar-update-buffers): Use it (bug#8876).
9451
9452 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9455 variable's status.
9456
9457 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9458
9459 * x-dnd.el (x-dnd-version-from-flags)
9460 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9461 and long as number (Bug#8899).
9462 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9463
9464 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9465
9466 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9467 (completion-try-completion, completion-all-completions): Compute the
9468 metadata argument if it's missing; make it optional (bug#8795).
9469
9470 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9471 (widget-complete): Use new :completion-function property.
9472 (widget-completions-at-point): New function.
9473 (default): Use :completion-function instead of :complete.
9474 (widget-default-completions): Rename from widget-default-complete;
9475 Rewrite.
9476 (widget-string-complete, widget-file-complete, widget-color-complete):
9477 Remove functions.
9478 (file, symbol, function, variable, coding-system, color):
9479 * international/mule-cmds.el (default-input-method, charset)
9480 (language-info-custom-alist):
9481 * cus-edit.el (face): Use new property :completions.
9482
9483 * progmodes/pascal.el (pascal-completions-at-point): New function.
9484 (pascal-mode): Use it.
9485 (pascal-mode-map): Use completion-at-point.
9486 (pascal-toggle-completions): Make obsolete.
9487 (pascal-complete-word, pascal-show-completions):
9488 * progmodes/octave-mod.el (octave-complete-symbol):
9489 Redefine as obsolete alias.
9490 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9491 Signal absence of completion info for old Octave,
9492 (inferior-octave-complete): Redefine as obsolete alias.
9493 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9494 (meta-completions-at-point): Rename from meta-complete-symbol and
9495 adapt it for use on completion-at-point-functions.
9496 (meta-common-mode): Use it.
9497 (meta-looking-at-backward, meta-match-buffer): Remove.
9498 (meta-complete-symbol): Redefine as obsolete alias.
9499 (meta-common-mode-map): Use completion-at-point.
9500 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9501 (makefile-mode-map): Use completion-at-point.
9502 (makefile-completions-at-point): Rename from makefile-complete and
9503 adapt it for use on completion-at-point-functions.
9504 (makefile-mode): Use it.
9505 (makefile-complete): Redefine as obsolete alias.
9506
9507 2011-06-20 Deniz Dogan <deniz@dogan.se>
9508
9509 * net/rcirc.el: Delete trailing whitespaces once and for all.
9510
9511 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9512
9513 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9514
9515 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9516
9517 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9518
9519 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9520
9521 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9522
9523 * window.el (display-buffer-other-window-means-other-frame):
9524 Call display-buffer-normalize-alist.
9525 (display-buffer-normalize-specifiers-1): Rename to
9526 display-buffer-normalize-argument. New argument other-frame.
9527 Rewrite.
9528 (display-buffer-normalize-specifiers-2): Rename to
9529 display-buffer-normalize-options.
9530 (display-buffer-normalize-alist-1): New function.
9531 (display-buffer-normalize-specifiers-3): Rename to
9532 display-buffer-normalize-alist.
9533 Call display-buffer-normalize-alist-1.
9534 (display-buffer-normalize-options-inhibit): New variable.
9535 (display-buffer-normalize-specifiers): Rewrite calling
9536 display-buffer-normalize-alist,
9537 display-buffer-normalize-argument, and
9538 display-buffer-normalize-options. Don't call the latter if
9539 display-buffer-normalize-options-inhibit is non-nil.
9540 (frame-auto-delete): New option.
9541 (window-deletable-p): Use frame-auto-delete.
9542 (window-list-no-nils, window-state-ignored-parameters)
9543 (window-state-get-1, window-state-get, window-state-put-list)
9544 (window-state-put-1, window-state-put-2, window-state-put):
9545 New functions.
9546 (display-buffer-normalize-options): Move special-display-p group
9547 after pop-up-frame group (Bug#8851) and (Bug#8856).
9548
9549 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9550
9551 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9552 groups (Bug#8776).
9553 (rx-submatch-n): New function.
9554 (rx): Document it.
9555
9556 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9557 (Bug#8768).
9558
9559 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9560
9561 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9562
9563 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9564 anytime existing face settings are present (Bug#8889).
9565
9566 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9567 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9568 Remove unused argument.
9569
9570 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9571
9572 * window.el (display-buffer-default-specifiers):
9573 Remove pop-up-frame. Add pop-up-window-min-height,
9574 pop-up-window-min-width, and another reuse-window specifier
9575 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9576 (display-buffer-normalize-specifiers-2):
9577 Handle split-height-threshold and split-width-threshold also when
9578 pop-up-windows is unset. Add a reuse-window specifier for the
9579 case popping up a new window fails.
9580 (special-display-popup-frame): Remove double quoting.
9581 (display-buffer-normalize-specifiers-1): Fix thinko.
9582
9583 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9584
9585 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9586 according to comint-completion-addsuffix.
9587
9588 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9589 (pcomplete-suffix-list): Mark as obsolete.
9590 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9591 pcomplete-seen in the closure.
9592 (pcomplete-comint-setup): Setup completion-at-point as well.
9593 (pcomplete--entries): New function.
9594 (pcomplete--env-regexp): New var.
9595 (pcomplete-entries): Rewrite to work with partial-completion and
9596 without relying on pcomplete-suffix-list.
9597 (pcomplete-pare-list): Remove, unused.
9598
9599 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9600
9601 * window.el (display-buffer-alist): Set pop-up-window-min-height
9602 and pop-up-window-min-width in default value. Reported by
9603 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9604 other-window-means-other-frame.
9605 (display-buffer-macro-specifiers): Comment out entry for
9606 other-window specifier.
9607 (display-buffer-other-window-means-other-frame): New function.
9608 (display-buffer-normalize-specifiers-1): New arguments
9609 buffer-name and label. Treat other-window case specially.
9610 (display-buffer-normalize-specifiers-2): Treat other-window case
9611 specially.
9612 (display-buffer-normalize-specifiers-3): New function.
9613 (display-buffer-normalize-specifiers):
9614 Call display-buffer-normalize-specifiers-3.
9615
9616 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9617
9618 * window.el (same-window-p): Fix two typos introduced when
9619 adding with-no-warnings.
9620 (display-buffer-normalize-specifiers-1): Don't check
9621 pop-up-frames for 'unset initialization.
9622 (display-buffer-normalize-specifiers-2): Major rewrite using
9623 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9624 (pop-up-frames, display-buffer-reuse-frames)
9625 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9626 Suggested by David Engster <deng@randomsample.de>.
9627 (even-window-heights): Initialize to 'unset.
9628 (display-buffer-alist-set): Handle new 'unset initializations.
9629 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9630 other window case.
9631
9632 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9633
9634 * window.el (display-buffer-normalize-specifiers-1):
9635 Respect current value of pop-up-frames for most reasonable values of
9636 second argument of display-buffer (Bug#8865).
9637 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9638 (switch-to-buffer-other-window-same-frame)
9639 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9640 Adams (Bug#8875).
9641 (display-buffer): Don't check noninteractive when calling
9642 display-buffer-pop-up-frame.
9643 (display-buffer-pop-up-frame): Never pop up a frame in
9644 noninteractive mode (Bug#8857).
9645 (enlarge-window, shrink-window): Don't report an error when the
9646 window can't be resized as requested (Bug#8862).
9647
9648 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9649
9650 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9651
9652 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9653
9654 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9655
9656 2011-06-15 Alan Mackenzie <acm@muc.de>
9657
9658 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9659 for declarators, disable knr checking to speed up for normal files.
9660 2: Refactor, replacing a sequence of nested if forms by a cond form.
9661
9662 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9663
9664 * net/network-stream.el (open-network-stream): Add the keyword
9665 :always-query-capabilities for the case where you want to force a
9666 `plain' network connection, but the protocol still requires the
9667 capabilitiy command (i.e., SMTP and EHLO).
9668
9669 * subr.el (process-live-p): Rename from `process-alive-p' for
9670 consistency with other `-live-p' functions.
9671
9672 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9673
9674 * window.el (same-window-buffer-names, same-window-regexps)
9675 (special-display-frame-alist, special-display-popup-frame)
9676 (special-display-function, special-display-buffer-names)
9677 (special-display-regexps, pop-up-frame-alist)
9678 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9679 (pop-up-windows, split-window-preferred-function)
9680 (split-height-threshold, split-width-threshold, even-window-heights)
9681 (display-buffer-mark-dedicated): Don't encourage the use of
9682 display-buffer-alist from Elisp code.
9683
9684 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9685
9686 * progmodes/python.el (python-mode): Derive from prog-mode.
9687 * progmodes/ps-mode.el (ps-mode):
9688 * progmodes/mixal-mode.el (mixal-mode):
9689 * progmodes/cfengine.el (cfengine-mode):
9690 * progmodes/ld-script.el (ld-script-mode): Likewise.
9691
9692 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9693
9694 * window.el (display-buffer-alist): Trim default value to avoid
9695 popping up a new frame (Bug#8857) or reusing an arbitrary window
9696 on another frame.
9697 (display-buffer): Do not fall back on popping up a new frame in
9698 batch mode (Bug#8857).
9699
9700 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9701
9702 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9703 (custom-theme-summary): New function.
9704 (customize-themes): Use it.
9705
9706 2011-06-13 Glenn Morris <rgm@gnu.org>
9707
9708 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9709
9710 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9711
9712 * help.el (help-window): Remove variable.
9713 (help-window-point-marker, temp-buffer-max-height)
9714 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9715 (help-print-return-message): Don't set help-window.
9716 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9717 (help-window-setup-finish): Remove.
9718 (help-window-display-message, help-window-setup)
9719 (with-help-window): Major rewrite based on new
9720 display-buffer-window variable.
9721
9722 * help-mode.el (help-mode-finish): Remove help-window related
9723 code.
9724
9725 * view.el (view-exits-all-viewing-windows): Remove reference to
9726 view-return-to-alist in doc-string.
9727 (view-return-to-alist): Make obsolete.
9728 (view-buffer): Call pop-to-buffer-same-window and remove
9729 undo-window code.
9730 (view-buffer-other-window): Call pop-to-buffer-other-window and
9731 simplify code. Ignore second argument.
9732 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9733 simplify code. Ignore second argument.
9734 (view-return-to-alist-update): Make obsolete.
9735 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9736 Rewrite using quit-restore window parameters.
9737 (view-mode-exit): Rename second argument to EXIT-ONLY.
9738 Rewrite using quit-restore-window.
9739 (View-exit, View-exit-and-edit, View-leave, View-quit)
9740 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9741 appropriate arguments.
9742 (view-end-message): Use quit-restore window parameter.
9743
9744 * window.el (display-buffer-function): Rewrite doc-string.
9745 (display-buffer-window, display-buffer-alist): New variables.
9746 (display-buffer-split-specifiers)
9747 (display-buffer-side-specifiers)
9748 (display-buffer-macro-specifiers): New constants.
9749 (display-buffer-even-window-sizes, display-buffer-set-height)
9750 (display-buffer-set-width, display-buffer-select-window)
9751 (display-buffer-in-window, display-buffer-reuse-window)
9752 (display-buffer-split-window-1, display-buffer-split-window)
9753 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9754 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9755 (display-buffer-in-side-window, normalize-buffer-to-display)
9756 (display-buffer-normalize-specifiers-1)
9757 (display-buffer-normalize-specifiers-2)
9758 (display-buffer-normalize-specifiers, display-buffer-frame):
9759 New functions.
9760 (display-buffer): Major rewrite.
9761 (display-buffer-other-window, display-buffer-other-frame)
9762 (pop-to-buffer, switch-to-buffer-other-window)
9763 (switch-to-buffer-other-frame): Rewrite.
9764 (display-buffer-same-window, display-buffer-same-frame)
9765 (display-buffer-same-frame-other-window)
9766 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9767 (pop-to-buffer-other-window)
9768 (pop-to-buffer-same-frame-other-window)
9769 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9770 (switch-to-buffer-other-window-same-frame): New functions.
9771 (same-window-p, special-display-p): Rewrite disabling warnings.
9772 Make obsolete.
9773 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9774 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9775 Make obsolete
9776 (same-window-buffer-names, same-window-regexps)
9777 (special-display-frame-alist, special-display-popup-frame)
9778 (special-display-function, special-display-buffer-names)
9779 (special-display-regexps, pop-up-frame-alist)
9780 (pop-up-frame-function, split-window-preferred-function)
9781 (split-height-threshold, split-width-threshold)
9782 (even-window-heights): Make obsolete.
9783
9784 2011-06-12 Glenn Morris <rgm@gnu.org>
9785
9786 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9787 Misc simplifications.
9788
9789 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9790
9791 * window.el (window-safely-shrinkable-p): Restore function which
9792 was inadvertently removed in change from 2011-06-11. Declare as
9793 obsolete.
9794
9795 * calendar/calendar.el (calendar-generate-window):
9796 Use window-iso-combined-p instead of combination of one-window-p and
9797 window-safely-shrinkable-p.
9798
9799 2011-06-12 Glenn Morris <rgm@gnu.org>
9800
9801 * progmodes/fortran.el (fortran-mode-syntax-table):
9802 * progmodes/f90.el (f90-mode-syntax-table):
9803 Set % to punctuation. (Bug#8820)
9804 (f90-find-tag-default): Remove, no longer needed.
9805
9806 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9807
9808 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9809
9810 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9811
9812 * image.el (image-animated-p): Return animation delay in seconds.
9813 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9814 (image-animate-timeout): Remove DELAY argument. Don't assume
9815 every subimage has the same delay; get it from image-animated-p.
9816 (image-animate): Caller changed.
9817
9818 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9819
9820 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9821 to ignored backtrace functions.
9822
9823 2011-06-11 Glenn Morris <rgm@gnu.org>
9824
9825 * calendar/appt.el (appt-disp-window-function): Doc fix.
9826 (appt-check): Handle overlapping appointments. (Bug#8337)
9827
9828 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9829
9830 * window.el (window-tree-1, window-tree): New functions, moving
9831 the latter to window.el.
9832 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9833 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9834 (bw-refresh-edges): Remove.
9835 (balance-windows-1, balance-windows-2): New functions.
9836 (balance-windows): Rewrite in terms of window tree functions,
9837 balance-windows-1 and balance-windows-2.
9838 (bw-adjust-window): Remove.
9839 (balance-windows-area-adjust): New function with functionality of
9840 bw-adjust-window but using resize-window.
9841 (set-window-text-height): Rewrite doc-string.
9842 Use normalize-live-window and resize-window.
9843 (enlarge-window-horizontally, shrink-window-horizontally):
9844 Rename argument to DELTA.
9845 (window-buffer-height): New function.
9846 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9847 Rewrite using new window resize routines.
9848 (kill-buffer-and-window, mouse-autoselect-window-select):
9849 Use ignore-errors instead of condition-case.
9850 (quit-window): Call delete-frame instead of delete-windows-on
9851 for the only buffer on frame.
9852
9853 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9854
9855 * loadup.el (top-level): Load window before files for the sake
9856 of replace-buffer-in-windows.
9857
9858 * files.el (read-buffer-to-switch)
9859 (switch-to-buffer-other-window)
9860 (switch-to-buffer-other-frame, display-buffer-other-frame):
9861 Move to window.el.
9862
9863 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9864 (previous-buffer): Move to window.el.
9865
9866 * bindings.el (unbury-buffer): Move to window.el.
9867
9868 * window.el (delete-other-windows-vertically): Move after
9869 definition of delete-other-windows.
9870 (other-window, delete-windows-on, replace-buffer-in-windows):
9871 Move here from window.c.
9872 (record-window-buffer, unrecord-window-buffer)
9873 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9874 (switch-to-next-buffer): New functions.
9875 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9876 from simple.el. Call switch-to-next-buffer.
9877 (previous-buffer): Move here from simple.el.
9878 Call switch-to-prev-buffer.
9879 (bury-buffer): Move here from buffer.c. Switch to previous
9880 buffer when window cannot be deleted.
9881 (unbury-buffer): Move here from bindings.el.
9882 (ctl-x-map): Move binding for other-window from window.c to
9883 here.
9884 (read-buffer-to-switch, switch-to-buffer-other-window)
9885 (switch-to-buffer-other-frame): Move here from files.el.
9886 (normalize-buffer-to-switch-to): New functions.
9887 (switch-to-buffer): Move here from buffer.c.
9888 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9889
9890 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9891
9892 * window.el (window-min-height, window-min-width): Move here
9893 from window.c. Add defcustoms and rewrite doc-strings.
9894 (resize-mini-window, resize-window): New functions.
9895 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9896 Move here from window.c.
9897 (maximize-window, minimize-window): New functions.
9898 (delete-window, delete-other-windows, split-window): Move here
9899 from window.c.
9900 (window-split-min-size): New function.
9901 (split-window-keep-point): Mention split-window-above-each-other
9902 instead of split-window-vertically.
9903 (split-window-above-each-other, split-window-vertically):
9904 Rename split-window-vertically to split-window-above-each-other
9905 and provide defalias for old definition.
9906 (split-window-side-by-side, split-window-horizontally):
9907 Rename split-window-horizontally to split-window-side-by-side
9908 and provide defalias for the old definition.
9909 (ctl-x-map): Move bindings for delete-window,
9910 delete-other-windows and enlarge-window here from window.c.
9911 Replace bindings for split-window-vertically and
9912 split-window-horizontally by bindings for
9913 split-window-above-each-other and split-window-side-by-side.
9914
9915 * cus-start.el (all): Remove entries for window-min-height and
9916 window-min-width. Add entries for window-splits and
9917 window-nest.
9918
9919 2011-06-09 Glenn Morris <rgm@gnu.org>
9920
9921 * calendar/appt.el (appt-mode-line): New function.
9922 (appt-check, appt-disp-window): Use it.
9923
9924 * files.el (hack-one-local-variable-eval-safep):
9925 Allow minor-modes with explicit +/-1 arguments.
9926
9927 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9928
9929 * term/xterm.el (xterm): Add defgroup.
9930 (xterm-extra-capabilities): Add defcustom to supply known xterm
9931 capabilities, skip querying them, or query them (default).
9932 (terminal-init-xterm): Use it.
9933 (terminal-init-xterm-modify-other-keys): New function to set up
9934 modifyOtherKeys support to simplify `terminal-init-xterm'.
9935
9936 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9937
9938 * window.el (resize-window-reset, resize-window-reset-1)
9939 (resize-subwindows-skip-p, resize-subwindows-normal)
9940 (resize-subwindows, resize-other-windows, resize-this-window)
9941 (resize-root-window, resize-root-window-vertically)
9942 (window-deletable-p, window-or-subwindow-p)
9943 (frame-root-window-p): New functions.
9944
9945 2011-06-09 Glenn Morris <rgm@gnu.org>
9946
9947 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9948 (ange-ftp-get-files): Use it.
9949
9950 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9951
9952 * mail/sendmail.el (mail-recover-1, mail-recover):
9953 * files.el (recover-file, recover-session):
9954 Handle dired-listing-switches not being just a single short option.
9955
9956 2011-06-09 Glenn Morris <rgm@gnu.org>
9957
9958 * calendar/appt.el (appt-display-message, appt-disp-window):
9959 Handle lists of appointments.
9960
9961 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9962
9963 * window.el (one-window-p): Move down in code.
9964 Rewrite doc-string.
9965 (window-current-scroll-bars): Rewrite doc-string.
9966 Normalize live window argument.
9967 (walk-windows, get-window-with-predicate, count-windows):
9968 Rewrite doc-string. Use window-list-1.
9969 (window-in-direction-2, window-in-direction, get-mru-window):
9970 New functions.
9971
9972 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9973
9974 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9975 Doc fix (Bug#8713).
9976
9977 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9978
9979 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9980
9981 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9982
9983 * loadhist.el (unload-feature-special-hooks):
9984 Add `comint-output-filter-functions'.
9985
9986 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9987
9988 * calendar/appt.el (appt-check): Move some initializations into the let.
9989
9990 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9991
9992 * window.el (window-height): Defalias to window-total-height.
9993 (window-width): Defalias to window-body-width.
9994
9995 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9996
9997 * image-mode.el (image-toggle-animation): New command.
9998 (image-mode-map): Bind it to RET.
9999 (image-mode): Update message.
10000 (image-toggle-display-image): Avoid a spurious cache flush.
10001 (image-transform-rotation): Doc fix.
10002 (image-transform-properties): Return quickly in the normal case.
10003 (image-animate-loop): Rename from image-animate-max-time.
10004
10005 * image.el (image-animate-max-time): Move to image-mode.el.
10006 (create-animated-image): Remove unnecessary function.
10007 (image-animate): Rename from image-animate-start. New arg.
10008 (image-animate-stop): Remove; just use image-animate-timer.
10009 (image-animate-timer): Use car-safe.
10010 (image-animate-timeout): Rename argument.
10011
10012 2011-06-07 Martin Rudalics <rudalics@gmx.at>
10013
10014 * window.el (get-lru-window, get-largest-window): Move here from
10015 window.c. Rename first argument to ALL-FRAMES.
10016 Rephrase doc-strings.
10017 (get-buffer-window-list): Rewrite using window-list-1.
10018 Rephrase doc-string.
10019 (window-safe-min-height, window-safe-min-width): New constants.
10020 (window-size-ignore, window-min-size, window-min-size-1)
10021 (window-sizable, window-sizable-p, window-size-fixed-1)
10022 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10023 (window-max-delta-1, window-max-delta, window-resizable)
10024 (window-resizable-p, window-total-height, window-total-width)
10025 (window-body-width): New functions.
10026 (window-full-height-p, window-full-width-p): Rewrite using
10027 window-total-size.
10028 (window-body-height): Rewrite using window-body-size.
10029
10030 2011-06-06 Martin Rudalics <rudalics@gmx.at>
10031
10032 * window.el (window-right, window-left, window-child)
10033 (window-child-count, window-last-child, window-any-p)
10034 (normalize-live-buffer, normalize-live-frame)
10035 (normalize-any-window, normalize-live-window)
10036 (window-iso-combination-p, window-iso-combined-p)
10037 (window-iso-combinations)
10038 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10039 (windows-with-parameter, window-with-parameter)
10040 (window-atom-root, make-window-atom, window-atom-check-1)
10041 (window-atom-check, window-side-check, window-check):
10042 New functions.
10043 (ignore-window-parameters, window-sides, window-sides-vertical)
10044 (window-sides-slots): New variables.
10045 (window-size-fixed): Move down in code. Minor doc-string fix.
10046
10047 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10048
10049 * comint.el (comint-dynamic-complete-as-filename)
10050 (comint-dynamic-complete-filename): Correctly call
10051 completion-in-region.
10052
10053 2011-06-05 Deniz Dogan <deniz@dogan.se>
10054
10055 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10056 in last change.
10057
10058 2011-06-05 Deniz Dogan <deniz@dogan.se>
10059
10060 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10061 (rcirc): Use it to prompt for encryption.
10062
10063 2011-06-05 Roland Winkler <winkler@gnu.org>
10064
10065 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10066 (bibtex-search-entries): New command bound to C-c C-a.
10067 (bibtex-display-entries): New function.
10068
10069 2011-06-05 Roland Winkler <winkler@gnu.org>
10070
10071 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10072 (bibtex-insert-kill): After yanking insert newline if necessary.
10073 (bibtex-initialize): Call bibtex-string-files-init only once.
10074 (bibtex-mode): Do not call easy-menu-add.
10075 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10076 (bibtex-yank): Set arg properly if nil.
10077
10078 2011-06-05 Roland Winkler <winkler@gnu.org>
10079
10080 * textmodes/bibtex.el (bibtex-search-entry-globally):
10081 New variable.
10082 (bibtex-search-entry): Use it.
10083
10084 2011-06-05 Roland Winkler <winkler@gnu.org>
10085
10086 * textmodes/bibtex.el (bibtex-entry-format): New option
10087 sort-fields.
10088 (bibtex-format-entry, bibtex-reformat): Honor this option.
10089 (bibtex-parse-entry): Return fields in proper order.
10090
10091 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
10092
10093 * doc-view.el (doc-view-remove-if): Move computation of result out
10094 of `dolist' to silence misleading lexical-binding warning.
10095
10096 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10097
10098 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10099 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10100
10101 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10102
10103 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10104 "SunOS 5.10".
10105
10106 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10107
10108 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10109 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10110 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10111 (tramp-parse-putty):
10112 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10113 (tramp-completion-function-alist-ssh)
10114 (tramp-completion-function-alist-telnet)
10115 (tramp-completion-function-alist-su)
10116 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10117 cookie.
10118
10119 * net/tramp-ftp.el:
10120 * net/tramp-sh.el:
10121 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10122 load "tramp.el" `tramp-set-completion-function'.
10123
10124 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10125
10126 * shell.el: Require and use pcomplete.
10127 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10128 (shell-completion-vars): Set pcomplete-default-completion-function.
10129
10130 2011-06-04 Deniz Dogan <deniz@dogan.se>
10131
10132 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10133 `memq' (Bug#8799).
10134
10135 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10136
10137 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10138
10139 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10140
10141 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10142 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10143 * vc/log-view.el (log-view-beginning-of-defun):
10144 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10145 (smerge-refine-forward, smerge-refine-chopup-region):
10146 Silence warning for unused `dotimes' counter variables.
10147
10148 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10149
10150 * net/tramp.el (tramp-with-progress-reporter): Rename from
10151 with-progress-reporter. Use `declare'.
10152 * net/tramp-smb.el:
10153 * net/tramp-sh.el:
10154 * net/tramp-gvfs.el: Update all uses.
10155
10156 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10157
10158 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10159 buffer isn't killed before making it current.
10160
10161 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10162
10163 Silence various byte-compiler warnings.
10164 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10165 `access-type' and new obsolescence format.
10166 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10167 new format.
10168 (byte-compile-check-variable): New `access-type' argument.
10169 Only warn if the access-type is obsolete.
10170 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10171 (byte-compile-variable-set): Adjust callers.
10172 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10173 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10174 setting it as obsolete.
10175 * simple.el (minibuffer-completing-symbol):
10176 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10177 access as obsolete.
10178 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10179 obsolete yet.
10180 * international/quail.el (quail-mouse-choose-completion): Remove unused
10181 code referring to obsolete var.
10182 (quail-choose-completion-string): Remove.
10183 * server.el (server-clients-with, server-kill-buffer-query-function)
10184 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10185 * proced.el (proced-send-signal):
10186 * emacs-lisp/lisp.el (lisp-complete-symbol):
10187 Replace completion-annotate-function with completion-extra-properties.
10188
10189 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10190
10191 * simple.el (goto-line): Use read-number.
10192 (overriding-map-is-bound): Remove.
10193 (saved-overriding-map): Change default.
10194 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10195 Take the map as argument.
10196 (universal-argument, negative-argument, digit-argument): Use it.
10197 (restore-overriding-map): Adjust.
10198 (do-auto-fill): Use fill-forward-paragraph.
10199 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10200
10201 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10202 (minibuffer-inactive-mode): New major mode.
10203 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10204 the *Messages* buffer" hack.
10205 (mouse-popup-menubar): Don't burp if the event is a normal key.
10206
10207 Miscellaneous tweaks.
10208 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10209 lexical scoping as in subr.el's dolist and dotimes.
10210 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10211 Silence compiler warning.
10212 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10213 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10214 * international/ccl.el (ccl-compile): Trivial simplification.
10215 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10216 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10217 `printflag' argument.
10218 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10219 Purecopy the whole obsolescence data.
10220
10221 2011-06-01 Leo Liu <sdl.web@gmail.com>
10222
10223 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10224 improve doc-string as suggested by Marco Pessotto
10225 <melmothx@gmail.com>.
10226 (rcirc-print): Fix last change.
10227
10228 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * minibuffer.el (complete-with-action): Return nil for the metadata and
10231 boundaries of non-functional tables.
10232 (completion-table-dynamic): Return nil for the metadata.
10233 (completion-table-with-terminator): Add default case, using
10234 complete-with-action.
10235 (completion--metadata): New function.
10236 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10237 to try and avoid pathological performance problems.
10238 (completion--embedded-envvar-table): Return `category' metadata.
10239
10240 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10241
10242 * subr.el (process-alive-p): New tiny convenience function.
10243
10244 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10245
10246 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10247 content but also its previous major mode.
10248
10249 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10250
10251 * emacs-lisp/debug.el (debug): Restore the previous content of the
10252 *Backtrace* buffer when we exit with C-M-c.
10253
10254 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10255
10256 * minibuffer.el: Add metadata method to completion tables.
10257 (completion-category-overrides): New defcustom.
10258 (completion-metadata, completion--field-metadata)
10259 (completion-metadata-get, completion--styles)
10260 (completion--cycle-threshold): New functions.
10261 (completion-try-completion, completion-all-completions):
10262 Add `metadata' argument to choose completion-styles.
10263 (completion--do-completion): Use metadata to choose cycling.
10264 (completion-all-sorted-completions): Use metadata for sorting.
10265 Remove :completion-cycle-penalty which is not needed any more.
10266 (completion--try-word-completion): Add `metadata' argument.
10267 (minibuffer-completion-help): Check metadata for annotation function
10268 and sorting.
10269 (completion-file-name-table): Return `category' metadata.
10270 (minibuffer-completing-file-name): Make obsolete.
10271 * simple.el (minibuffer-completing-symbol): Make obsolete.
10272 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10273 completion-try-completion.
10274
10275 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10276
10277 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10278
10279 2011-05-30 Leo Liu <sdl.web@gmail.com>
10280
10281 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10282 (rcirc-print): Decode all incoming messages (bug#8744).
10283 (rcirc-decode-coding-system): Allow value nil for automatic coding
10284 system detection.
10285
10286 2011-06-01 Glenn Morris <rgm@gnu.org>
10287
10288 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10289
10290 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10291
10292 * image.el (image-animate-max-time): Allow nil and t values.
10293 Default to nil.
10294 (create-animated-image): Doc fix.
10295 (image-animate-start): Remove second arg; just use
10296 image-animate-max-time.
10297 (image-animate-timeout): Doc fix. Args changed.
10298
10299 * image-mode.el (image-toggle-display-image): Ensure that the
10300 image spec passed to the animate timer is the same object as in
10301 the buffer's display property (Bug#6981).
10302 (image-transform-properties): Doc fix.
10303
10304 * image.el (image-animate-max-time): Default to nil.
10305
10306 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10307
10308 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10309 entire buffer list (Bug#8184).
10310
10311 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10312
10313 * image.el (imagemagick-types-inhibit)
10314 (imagemagick-register-types): Doc fix.
10315
10316 2011-05-29 Deniz Dogan <deniz@dogan.se>
10317
10318 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10319 default.
10320
10321 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10322
10323 * select.el: Don't perform clipboard-manager saving in hooks;
10324 leave the hooks empty.
10325
10326 2011-05-28 Leo Liu <sdl.web@gmail.com>
10327
10328 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10329 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10330 (occur-edit-mode): New major mode (Bug#8463).
10331 (occur-after-change-function): New function.
10332 (occur-engine): Give Occur tags a read-only property.
10333
10334 2011-05-28 Kevin Ryde <user42@zip.com.au>
10335
10336 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10337
10338 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10339
10340 * bindings.el (help-echo): Make the initial non-indicator dash
10341 empty on graphical terminals (Bug#7295).
10342
10343 * files.el (auto-mode-alist): Move config rule after the
10344 in-stripping one (Bug#8547).
10345
10346 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10347
10348 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10349 setting (Bug#8740).
10350
10351 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10352
10353 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10354 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10355 (Bug#8539).
10356
10357 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10358
10359 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10360
10361 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10362
10363 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10364 (hs-hide-block-at-point, hs-find-block-beginning)
10365 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10366 (Bug#8279).
10367
10368 2011-05-28 Glenn Morris <rgm@gnu.org>
10369
10370 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10371
10372 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10373
10374 * help-fns.el (describe-function-1): If the function is a derived
10375 major mode, print the parent mode.
10376
10377 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10378 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10379
10380 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10381
10382 * minibuffer.el (completion--capf-wrapper): Check applicability before
10383 returning non-nil for non-exclusive completion data.
10384 * progmodes/etags.el (tags-completion-at-point-function):
10385 * info-look.el (info-lookup-completions-at-point): Mark as
10386 non-exclusive.
10387 (info-complete): Adjust accordingly.
10388
10389 * info-look.el: Convert to lexical-binding and completion-at-point.
10390 (info-lookup-completions-at-point): New function.
10391 (info-complete): Use it and completion-in-region.
10392
10393 2011-05-28 Drew Adams <drew.adams@oracle.com>
10394
10395 * isearch.el: Let M-e start with point at the first mismatched char.
10396 (isearch-fail-pos): New function.
10397 (isearch-edit-string): Use it.
10398
10399 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10400
10401 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10402
10403 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10404
10405 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10406 traversal functions for avl-trees.
10407 (avl-tree--stack): New struct.
10408 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10409 (avl-tree-enter): Add optional `updatefun' arg.
10410 (avl-tree--do-enter): Add optional `updatefun' arg.
10411 Change return value.
10412 (avl-tree-delete): Add optional `test' and `nilflag' args.
10413 (avl-tree--do-delete): Add `test' and `nilflag' args.
10414 Change return value.
10415 (avl-tree-member): Add optional `nilflag'
10416 (avl-tree-member-p): New function.
10417 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10418 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10419 (avl-tree-stack-empty-p): New functions.
10420
10421 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10422 avl-tree--del-balance1 and make it work both ways.
10423 (avl-tree--del-balance2): Remove.
10424 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10425 make it work both ways.
10426 (avl-tree--enter-balance2): Remove.
10427 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10428 New macros.
10429 (avl-tree--mapc, avl-tree-map): Add direction argument.
10430
10431 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10432
10433 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10434
10435 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10436
10437 * select.el: Support clipboard managers with built-in function
10438 x-clipboard-manager-save, via delete-frame-functions and
10439 kill-emacs-hook.
10440 (xselect-convert-to-targets): Add MULTIPLE target to list.
10441 (xselect-convert-to-save-targets): New function.
10442
10443 2011-05-27 Kenichi Handa <handa@m17n.org>
10444
10445 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10446 let-binding rfc2047-encode-encoded-words to nil.
10447
10448 2011-05-27 Glenn Morris <rgm@gnu.org>
10449
10450 * mail/emacsbug.el: Don't require url-util.
10451
10452 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10453
10454 * files.el (set-auto-mode):
10455 Also respect mode: entries at the end of the file. (Bug#8586)
10456
10457 2011-05-26 Glenn Morris <rgm@gnu.org>
10458
10459 * files.el (hack-local-variables-prop-line, hack-local-variables):
10460 Downcase mode names, as seems to be traditional.
10461 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10462
10463 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10464 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10465
10466 2011-05-25 Julien Danjou <julien@danjou.info>
10467
10468 * textmodes/rst.el (rst-define-level-faces): Do not define face
10469 symbol if it is already defined.
10470
10471 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10472
10473 * play/5x5.el (5x5-new-game, 5x5-randomize):
10474 Reset 5x5-solver-output to nil when a new grid is cast.
10475 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10476 these debugging traces, as defmacro breaks the compiled code.
10477
10478 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10479
10480 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10481
10482 2011-05-24 Leo Liu <sdl.web@gmail.com>
10483
10484 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10485 (vc-bzr-sha1): Adapt.
10486
10487 * sha1.el: Remove. Function `sha1' is now builtin.
10488
10489 * bindings.el: Provide sha1 feature.
10490
10491 2011-05-24 Kenichi Handa <handa@m17n.org>
10492
10493 * mail/sendmail.el: Require `rfc2047'.
10494 (mail-insert-from-field): Do not perform RFC2047 encoding.
10495 (mail-encode-header): New function.
10496 (sendmail-send-it): Set buffer-file-coding-system of the work
10497 buffer to the return value of select-message-coding-system.
10498 Call mail-encode-header.
10499
10500 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10501
10502 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10503
10504 * mail/supercite.el (sc-default-cite-frame):
10505 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10506
10507 2011-05-24 Glenn Morris <rgm@gnu.org>
10508
10509 * progmodes/python.el (brm-menu): Declare.
10510
10511 * emulation/viper.el (viper-set-hooks): Declare.
10512
10513 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10514 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10515 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10516 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10517 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10518 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10519
10520 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10521
10522 Add an :exit-function for completion-at-point.
10523
10524 * minibuffer.el (completion--done): New fun.
10525 (completion--do-completion): Use it. New arg `expect-exact'.
10526 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10527 since completion--do-completion does it for us now.
10528 (minibuffer-force-complete): Use completion--done and
10529 completion--replace. Handle sole-completion case with more care.
10530 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10531 (completion-extra-properties): New var.
10532 (completion-annotate-function): Make obsolete.
10533 (minibuffer-completion-help): Adjust accordingly.
10534 Use completion-list-insert-choice-function.
10535 (completion-at-point, completion-help-at-point):
10536 Bind completion-extra-properties.
10537 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10538 * simple.el (completion-list-insert-choice-function): New var.
10539 (completion-setup-function): Preserve it.
10540 (choose-completion): Pay attention to it, shuffle the code a bit.
10541 (choose-completion-string): New arg `insert-function'.
10542
10543 * textmodes/bibtex.el: Convert to lexical binding.
10544 (bibtex-mode-map): Use completion-at-point.
10545 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10546 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10547 (bibtex-complete): Define as obsolete alias.
10548 (bibtex-complete-internal): Remove.
10549 (bibtex-format-entry): Remove unused sub-group in regexp.
10550 * shell.el (shell--command-completion-data)
10551 (shell-environment-variable-completion):
10552 * pcomplete.el (pcomplete-completions-at-point):
10553 * comint.el (comint--complete-file-name-data): Use :exit-function
10554 instead of completion-table-with-terminator so it also works for
10555 choose-completion.
10556
10557 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10558
10559 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10560
10561 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10562 (bug#8710).
10563
10564 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10565
10566 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10567
10568 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10569 customization variable and implement: If non-nil, auto-fill will
10570 be inhibited while on topic's header line.
10571
10572 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10573
10574 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10575 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10576 always have a solution in grid size = 5 cases.
10577 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10578 (5x5-solver-output, 5x5-log-buffer): New vars.
10579 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10580 Make these variables buffer local to achieve 5x5 multi-session-ness.
10581 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10582 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10583 (5x5-solve-suggest): New funs.
10584 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10585 randomize a grid so that we ensure that there is always a solution.
10586 (5x5-make-random-grid): Allow other movement than flipping.
10587
10588 2011-05-23 Kevin Ryde <user42@zip.com.au>
10589
10590 * emacs-lisp/advice.el (ad-read-advised-function):
10591 Use `function-called-at-point' as the default, if it has
10592 advice and passes PREDICATE.
10593
10594 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10595
10596 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10597 byte-compile-lambda if it's actually a lambda.
10598
10599 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10600 Fix function quoting. Use backquote better.
10601
10602 2011-05-22 Yuanle Song <sylecn@gmail.com>
10603
10604 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10605 matching (Bug#8516).
10606
10607 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10608
10609 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10610 different face (Bug#8178).
10611
10612 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10613
10614 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10615 defface (Bug#8144).
10616
10617 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10618
10619 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10620 funcall as well (bug#8712). Warn when performing those conversions.
10621 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10622
10623 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10624
10625 2011-05-22 Glenn Morris <rgm@gnu.org>
10626
10627 * files.el (hack-local-variables-prop-line): Small simplifications.
10628 (hack-local-variables, hack-local-variables-prop-line):
10629 If MODE-ONLY, return the mode, rather than just `t'.
10630
10631 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10632
10633 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10634
10635 2011-05-21 Glenn Morris <rgm@gnu.org>
10636
10637 * files.el (hack-local-variables-prop-line, hack-local-variables):
10638 If only interested in the mode, don't bother doing the other stuff.
10639
10640 * image-mode.el (image-after-revert-hook):
10641 Redraw all frames on which the image is visible. (Bug#8567)
10642
10643 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10644
10645 * wid-edit.el (widget-checklist-match-inline):
10646 Fix 2011-04-19 change. (Bug#8649)
10647
10648 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10651 Also allow singlespace after single-letter capitals followed by a dot.
10652
10653 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10654 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10655
10656 2011-05-20 Nix <nix@esperi.org.uk>
10657
10658 * files.el (basic-save-buffer-2):
10659 Fix handling of break-hardlink-on-save with non-existent files.
10660
10661 2011-05-19 Deniz Dogan <deniz@dogan.se>
10662
10663 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10664 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10665
10666 2011-05-19 Glenn Morris <rgm@gnu.org>
10667
10668 * progmodes/f90.el (f90-type-def-re):
10669 Handle "type, bind(c)". (Bug#8691)
10670
10671 * emacs-lisp/autoload.el (batch-update-autoloads):
10672 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10673
10674 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10675
10676 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10677 property for the correct connection in case of multihops.
10678
10679 2011-05-18 Glenn Morris <rgm@gnu.org>
10680
10681 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10682 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10683
10684 Rationalize calendar handling of day and month abbrev-arrays.
10685 * calendar/calendar.el (calendar-customized-p): New function.
10686 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10687 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10688 Add :set function.
10689 (calendar-abbrev-length, calendar-day-abbrev-array)
10690 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10691 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10692 Elements may no longer be nil.
10693 (calendar-day-name, calendar-month-name):
10694 Update for changed nature of abbrev arrays.
10695 * calendar/diary-lib.el (diary-name-pattern):
10696 Update for changed nature of abbrev arrays.
10697 (diary-mark-entries-1): Update calendar-make-alist calls.
10698 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10699 * calendar/cal-html.el (cal-html-day-abbrev-array):
10700 Simply inherit from calendar-day-abbrev-array.
10701
10702 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10703
10704 * progmodes/grep.el (grep-mode): Disable default
10705 compilation-directory-matcher setting (bug#8684).
10706
10707 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10708
10709 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10710 instead of "head" and "tail". There were problems with SunOS 5.9,
10711 and it performs better.
10712
10713 2011-05-17 Glenn Morris <rgm@gnu.org>
10714
10715 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10716
10717 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10718 Replace obsolete function.
10719
10720 * shell.el (pcomplete-parse-arguments-function): Declare.
10721
10722 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10723 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10724 (appt-check): Doc fixes.
10725 (appt-disp-window-function, appt-delete-window-function):
10726 Remove needless special case in custom :type.
10727 (appt-display-count): Default to 0, not nil.
10728 (appt-check): Reset appt-display-count to 0, not nil.
10729
10730 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10731
10732 * progmodes/python.el (python-font-lock-keywords):
10733 Add the Python 3.X keyword "nonlocal" (bug#8639).
10734
10735 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10736
10737 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10738
10739 2011-05-16 Kevin Ryde <user42@zip.com.au>
10740
10741 * info-look.el (makefile-automake-mode): New setups, looking in
10742 automake manual, then makefile-mode.
10743 (makefile-mode): Remove automake manual, have it just in
10744 makefile-automake-mode since there's various things different or
10745 not relevant to plain make.
10746 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10747 believe a hypothetical automake-mode would go to makefile-mode,
10748 not the other way around.
10749
10750 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10751
10752 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10753 hunk-end tags (Bug#8672).
10754
10755 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10756 vc-annotate-show-diff-revision-at-line (Bug#8671).
10757
10758 2011-05-14 Glenn Morris <rgm@gnu.org>
10759
10760 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10761 in the middle of an existing one with multiple authors. (Bug#8645)
10762 (change-log-font-lock-keywords): Also handle multiple author lines
10763 with leading tabs. (Bug#8644)
10764
10765 * calendar/appt.el (appt-check): Rename some local variables.
10766 Some simplification/reordering.
10767
10768 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10769 (feedmail-sendmail-f-doesnt-sell-me-out)
10770 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10771 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10772 (feedmail-queue-runner-message-sender): Set :version.
10773 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10774 (bbdb-dwim-net-address, vm-mail): Declare.
10775 (feedmail-binmail-gnulinuxish-template):
10776 Rename from feedmail-binmail-linuxish-template.
10777 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10778 Use insert-buffer-substring.
10779
10780 2011-05-14 Bill Carpenter <bill@carpenter.org>
10781
10782 * mail/feedmail.el (feedmail-patch-level): Increase.
10783 (feedmail-debug): New custom group.
10784 (feedmail-confirm-outgoing-timeout)
10785 (feedmail-sendmail-f-doesnt-sell-me-out)
10786 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10787 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10788 (feedmail-sender-line, feedmail-from-line)
10789 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10790 (feedmail-spray-this-address)
10791 (feedmail-spray-address-fiddle-plex-list)
10792 (feedmail-queue-use-send-time-for-date)
10793 (feedmail-queue-use-send-time-for-message-id)
10794 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10795 (feedmail-buffer-eating-function):
10796 Doc fixes.
10797 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10798 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10799 (feedmail-message-action-scroll-down): New functions.
10800 (feedmail-queue-directory, feedmail-queue-draft-directory):
10801 Use expand-file-name.
10802 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10803 Remove C-v help entry.
10804 (feedmail-queue-buffer-file-name): New variable.
10805 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10806 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10807 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10808 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10809 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10810 (feedmail-message-action-toggle-spray)
10811 (feedmail-run-the-queue-no-prompts)
10812 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10813 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10814 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10815 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10816 (feedmail-envelope-deducer, feedmail-fiddle-from)
10817 (feedmail-fiddle-sender, feedmail-default-date-generator)
10818 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10819 (feedmail-fiddle-spray-address)
10820 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10821 (feedmail-fiddle-list-of-fiddle-plexes)
10822 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10823 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10824 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10825 Change default. Doc fix.
10826 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10827 (feedmail-binmail-linuxish-template): New constant.
10828 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10829 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10830 (feedmail-send-it): Add debug call.
10831 Use feedmail-queue-buffer-file-name, and
10832 feedmail-send-it-immediately-wrapper.
10833 (feedmail-message-action-send): Add debug call.
10834 Use feedmail-send-it-immediately-wrapper.
10835 (feedmail-queue-express-to-queue): Add debug call.
10836 Run feedmail-queue-express-hook.
10837 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10838 (feedmail-message-action-help-blat):
10839 Rename from feedmail-queue-send-edit-prompt-help-first.
10840 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10841 Check line-endings. Handle errors better.
10842 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10843 Doc fix. Add debug call.
10844 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10845 Use feedmail-queue-send-edit-prompt-inner.
10846 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10847 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10848 from feedmail-queue-send-edit-prompt.
10849 (feedmail-queue-send-edit-prompt-help)
10850 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10851 (feedmail-tidy-up-slug): Add debug call.
10852 Respect feedmail-queue-slug-suspect-regexp.
10853 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10854 (feedmail-dump-message-to-queue): Add debug call.
10855 Expand queue-directory.
10856 (feedmail-dump-message-to-queue): Change message slightly.
10857 Use feedmail-say-chatter.
10858 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10859 (feedmail-send-it-immediately-wrapper): New function.
10860 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10861 Insert empty string rather than newline. Handle full-frame case.
10862 Use catch/throw. Use feedmail-say-chatter.
10863 (feedmail-fiddle-from): Try mail-host-address.
10864 (feedmail-default-message-id-generator): Doc fix.
10865 Bind system-time-locale. Handle missing end.
10866 (feedmail-fiddle-x-mailer): Add debug call.
10867 Handle feedmail-x-mailer-line being nil.
10868 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10869 Add debug call. Use buffer-substring-no-properties.
10870 (feedmail-say-debug, feedmail-say-chatter): New functions.
10871 (feedmail-find-eoh): Give an explicit error.
10872
10873 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10874
10875 * net/newst-treeview.el (newsticker-treeview-face): Change default
10876 family from helvetica to sans.
10877 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10878 etc/images/newsticker.
10879
10880 * net/newst-reader.el (newsticker-feed-face): Change default
10881 family from helvetica to sans.
10882
10883 * net/newst-plainview.el (newsticker-new-item-face)
10884 (newsticker-old-item-face, newsticker-immortal-item-face)
10885 (newsticker-obsolete-item-face, newsticker-date-face)
10886 (newsticker-statistics-face): Change default family from
10887 helvetica to sans.
10888 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10889 etc/images/newsticker.
10890
10891 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
10892 (newsticker--process-auto-mark-filter-match): Tell user about
10893 auto-marking.
10894
10895 2011-05-13 Didier Verna <didier@xemacs.org>
10896
10897 Common Lisp indentation improvements on defmethod and lambda-lists.
10898 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10899 TODO entries.
10900 (lisp-lambda-list-keyword-parameter-indentation)
10901 (lisp-lambda-list-keyword-parameter-alignment)
10902 (lisp-lambda-list-keyword-alignment): New customizable user options.
10903 (lisp-indent-defun-method): Improve docstring.
10904 (extended-loop-p): Fix comment.
10905 (lisp-indent-lambda-list-keywords-regexp): New variable.
10906 (lisp-indent-lambda-list): New function.
10907 (lisp-indent-259): Use it.
10908 (lisp-indent-defmethod): Support for more than one
10909 method qualifier and properly indent methods lambda-lists.
10910 (defgeneric): Provide a missing common-lisp-indent-function property.
10911
10912 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10913
10914 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10915 bounds for the empty string (bug#8667).
10916
10917 2011-05-13 Glenn Morris <rgm@gnu.org>
10918
10919 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10920
10921 * mail/sendmail.el (sendmail-program): Try executable-find first.
10922 (sendmail-send-it): `sendmail-program' cannot be unbound.
10923
10924 * calendar/appt.el (appt-make-list): Simplify.
10925 (appt-time-msg-list): Doc fix.
10926 (appt-check): Change mode-line message at the time of the appointment.
10927
10928 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10929
10930 * progmodes/ld-script.el (ld-script-keywords)
10931 (ld-script-builtins): Update keywords list.
10932
10933 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10934
10935 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10936
10937 * shell.el (shell-completion-vars): New function.
10938 (shell-mode):
10939 * simple.el (read-shell-command): Use it.
10940 (blink-matching-open): No need for " [...]" in minibuffer-message.
10941
10942 2011-05-12 Glenn Morris <rgm@gnu.org>
10943
10944 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10945 (appt-check): Simplify.
10946
10947 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10948
10949 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10950 literal "/dev/null".
10951
10952 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10953
10954 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10955 Fix typo.
10956
10957 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10958
10959 * progmodes/which-func.el (which-function):
10960 Use add-log-current-defun instead of add-log-current-defun-function,
10961 which might not be defined (Bug#8260).
10962
10963 2011-05-12 Glenn Morris <rgm@gnu.org>
10964
10965 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10966 Let byte-compile-initial-macro-environment always take precedence.
10967
10968 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10969
10970 * net/rcirc.el: Add support for SSL/TLS connections.
10971 (rcirc-server-alist): New field `encryption'.
10972 (rcirc): Check `encryption' settings.
10973 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10974 Merge make-local-variable into `set'.
10975 (rcirc--connection-open-p): New function.
10976 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10977 the process is not a network process (e.g. running gnutls-cli).
10978 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10979 Make rcirc-(en|de)code-coding-system local here.
10980 (rcirc-mode): Merge make-local-variable into `set'.
10981 (rcirc-parent-buffer): Make permanent buffer-local.
10982 (rcirc-multiline-minor-mode): Don't do it here.
10983 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10984 there's no server buffer.
10985
10986 2011-05-11 Glenn Morris <rgm@gnu.org>
10987
10988 * newcomment.el (comment-kill): Prefix "unused" local.
10989
10990 * term/w32console.el (get-screen-color): Declare.
10991
10992 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10993 Handle symbol elements of byte-compile-initial-macro-environment.
10994
10995 2011-05-10 Leo Liu <sdl.web@gmail.com>
10996
10997 * bookmark.el (bookmark-bmenu-mode-map):
10998 Bind bookmark-bmenu-search to `/'.
10999
11000 * mail/footnote.el: Convert to utf-8 encoding.
11001 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11002 (Footnote-unicode): New function.
11003 (footnote-style-alist): Add unicode style to the list.
11004 (footnote-style): Doc fix.
11005
11006 2011-05-10 Jim Meyering <meyering@redhat.com>
11007
11008 Fix doubled-word typos.
11009 * international/quail.el (quail-insert-kbd-layout): and and -> and
11010 * kermit.el: and and -> and
11011 * net/ldap.el (ldap-search-internal): to to -> to
11012 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11013 * progmodes/js.el (js-mode): and and -> and
11014 * textmodes/artist.el (artist-move-to-xy): at at -> at
11015 (artist-draw-region-trim-line-endings): if if -> if
11016 And Safetyc -> Safety.
11017 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11018
11019 2011-05-10 Glenn Morris <rgm@gnu.org>
11020 Stefan Monnier <monnier@iro.umontreal.ca>
11021
11022 * files.el (hack-one-local-variable-eval-safep):
11023 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11024
11025 2011-05-10 Glenn Morris <rgm@gnu.org>
11026
11027 * calendar/diary-lib.el (diary-list-entries-hook)
11028 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11029 (diary-nongregorian-marking-hook, diary-list-entries)
11030 (diary-include-other-diary-files, diary-mark-entries)
11031 (diary-mark-included-diary-files): Doc fixes.
11032
11033 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11034
11035 * misc.el: Require tabulated-list.el during compilation.
11036
11037 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11038
11039 * progmodes/compile.el (compilation-start):
11040 Run compilation-filter-hook for the async case too.
11041 (compilation-filter-hook): Doc fix.
11042
11043 2011-05-09 Deniz Dogan <deniz@dogan.se>
11044
11045 * wdired.el: Remove outdated installation comment. Fix usage
11046 comment.
11047
11048 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11049
11050 * misc.el: Implement new command `list-dynamic-libraries'.
11051 (list-dynamic-libraries--loaded-only-p): New variable.
11052 (list-dynamic-libraries--refresh): New function.
11053 (list-dynamic-libraries): New command.
11054
11055 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11056
11057 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11058 Fix the ant regexp to handle end-line and end-column info from jikes.
11059 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11060 higher priority to avoid clobbering by gnu.
11061
11062 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11063
11064 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11065 if the face has existing theme settings (Bug#8454).
11066
11067 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11068
11069 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11070 Only match variables declared via `my' or `our' (Bug#8261).
11071
11072 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11073 special file names `.' and `..' (Bug#8259).
11074
11075 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11076
11077 * progmodes/grep.el (grep-mode-font-lock-keywords):
11078 Remove buffer-changing entries.
11079 (grep-filter): New function.
11080 (grep-mode): Add it to compilation-filter-hook.
11081
11082 * progmodes/compile.el (compilation-filter-hook)
11083 (compilation-filter-start): New defvars.
11084 (compilation-filter): Call compilation-filter-hook prior to
11085 updating the process mark.
11086
11087 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11088
11089 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11090
11091 2011-05-07 Eli Zaretskii <eliz@gnu.org>
11092
11093 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11094 mailclient-send-it even if window-system is nil. (Bug#8595)
11095
11096 * term/w32console.el (terminal-init-w32console):
11097 Call get-screen-color and use its output to set the frame
11098 background-mode. (Bug#8597)
11099
11100 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11101
11102 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11103 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11104 New functions.
11105 (defgeneric, eieio--defmethod): Use them.
11106 (eieio-defgeneric): Remove.
11107 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11108
11109 2011-05-07 Glenn Morris <rgm@gnu.org>
11110
11111 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11112 Use let rather than let*.
11113 (timeclock-find-discrep): Remove unused local.
11114
11115 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11116
11117 * calendar/appt.el (appt-time-msg-list): Doc fix.
11118
11119 2011-05-06 Noah Friedman <friedman@splode.com>
11120
11121 * apropos.el (apropos-print-doc): Only use
11122 emacs-lisp-docstring-fill-column when it is bound to an integer,
11123 per that variable's documentation.
11124
11125 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11128 and warnings are not silently discarded (e.g. use -d instead of -P).
11129
11130 2011-05-06 Glenn Morris <rgm@gnu.org>
11131
11132 * calendar/appt.el (appt-message-warning-time): Doc fix.
11133 (appt-warning-time-regexp): New option.
11134 (appt-make-list): Respect appt-message-warning-time.
11135
11136 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11137 New options.
11138 (diary-add-to-list): Strip comments from the displayed string.
11139 (diary-mode): Set comment-start and comment-end.
11140
11141 * vc/diff-mode.el (smerge-refine-subst): Declare.
11142 (diff-refine-hunk): Don't require smerge-mode when compiling.
11143
11144 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11145
11146 * simple.el (list-processes): Return nil as the docstring says.
11147
11148 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11149
11150 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11151 to "".
11152 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11153 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11154 determining of binary transfer. (Bug#7383)
11155
11156 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11157
11158 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11159 Fix port computation bug. (Bug#8618)
11160
11161 2011-05-05 Glenn Morris <rgm@gnu.org>
11162
11163 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11164
11165 * simple.el (shell-dynamic-complete-functions)
11166 (comint-dynamic-complete-functions): Declare.
11167
11168 * net/network-stream.el (gnutls-negotiate):
11169 * simple.el (tabulated-list-print): Fix declarations.
11170
11171 * progmodes/gud.el (syntax-symbol, syntax-point):
11172 Remove unnecessary and incorrect declarations.
11173
11174 * emacs-lisp/check-declare.el (check-declare-scan):
11175 Handle byte-compile-initial-macro-environment in bytecomp.el
11176
11177 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 Fix earlier half-done eieio-defmethod change (bug#8338).
11180 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11181 Streamline and change calling convention.
11182 (defmethod): Adjust accordingly and simplify.
11183 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11184 new eieio--defmethod.
11185 (slot-boundp): Minor CSE simplification.
11186
11187 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11188
11189 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11190 (glasses-make-readable): Use glasses-separate-capital-groups.
11191
11192 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11193
11194 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11195 (warning-series): Doc fix.
11196 (display-warning): Don't try to create the buffer if we just found it.
11197
11198 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11199
11200 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11201 (autoload-find-generated-file): New function.
11202 (generate-file-autoloads): Bind generated-autoload-file to
11203 buffer-file-name.
11204 (update-file-autoloads, update-directory-autoloads):
11205 Use autoload-find-generated-file. If called interactively, prompt for
11206 output file (Bug#7989).
11207 (batch-update-autoloads): Doc fix.
11208
11209 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11210
11211 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11212
11213 2011-05-04 Glenn Morris <rgm@gnu.org>
11214
11215 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11216 function, so it follows changes in calendar-date-style.
11217 (diary-fancy-date-matcher): New function.
11218 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11219 (diary-fancy-font-lock-fontify-region-function):
11220 Use diary-fancy-date-pattern as a function.
11221
11222 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11223 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11224
11225 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11226
11227 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11228 instead of positional arguments. Allow :keylist and :crlfiles
11229 arguments.
11230 (open-gnutls-stream): Call it.
11231
11232 * net/network-stream.el (network-stream-open-starttls): Adjust to
11233 call `gnutls-negotiate' with :process and :hostname arguments.
11234
11235 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * minibuffer.el (completion--message): New function.
11238 (completion--do-completion, minibuffer-complete)
11239 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11240 (completion--do-completion): Don't ignore completion-auto-help when in
11241 icomplete-mode.
11242
11243 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11244 internal encoding (e.g. tibetan zero is not whitespace).
11245 (global-whitespace-mode): Prefer save-current-buffer.
11246 (whitespace-trailing-regexp): Remove useless save-match-data.
11247 (whitespace-empty-at-bob-regexp): Minor simplification.
11248
11249 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11250
11251 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11252
11253 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11254
11255 * textmodes/ispell.el (ispell-add-per-file-word-list):
11256 Use `concat' to create string for insertion.
11257
11258 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11259
11260 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11261 Avoid open-line which runs post-self-insert-hook.
11262 (bibtex-fill-entry): Remove unused `end' var.
11263
11264 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11265
11266 * textmodes/ispell.el (ispell-add-per-file-word-list):
11267 Protect against `nil' value of `comment-start' (Bug#8579).
11268
11269 2011-05-03 Leo Liu <sdl.web@gmail.com>
11270
11271 * isearch.el (isearch-yank-pop): New command.
11272 (isearch-mode-map): Bind it to `M-y'.
11273 (isearch-forward): Mention it.
11274
11275 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11276
11277 * simple.el (minibuffer-complete-shell-command): Remove.
11278 (minibuffer-local-shell-command-map): Use completion-at-point.
11279 (read-shell-command): Setup completion vars here instead.
11280 (read-expression-map): Bind TAB to symbol completion.
11281
11282 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11283 error directly rather via storing it into `results'.
11284
11285 2011-05-02 Leo Liu <sdl.web@gmail.com>
11286
11287 * vc/diff.el: Fix description.
11288
11289 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11290
11291 * server.el (server-eval-at): New function.
11292
11293 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11294
11295 * net/network-stream.el (open-network-stream): Take a :nowait
11296 parameter and pass it on to `make-network-process'.
11297 (network-stream-open-plain): Ditto.
11298
11299 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11300
11301 * faces.el (face-spec-set-match-display): Don't match toolkit
11302 options on terminal frames.
11303
11304 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * progmodes/pascal.el: Use lexical binding.
11307 (pascal-mode-map): Remove author preferences.
11308
11309 * pcomplete.el (pcomplete-std-complete): Don't abuse
11310 completion-at-point.
11311
11312 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11313
11314 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11315 removing code that has been dead since 1991 or so.
11316
11317 * startup.el (command-line): When warning about "_emacs", use a
11318 delayed warning to allow the user to filter it out.
11319
11320 2011-04-28 Deniz Dogan <deniz@dogan.se>
11321
11322 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11323 user has not joined.
11324
11325 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11326
11327 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11328 aren't any completions at point.
11329
11330 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11331
11332 * subr.el (display-delayed-warnings): New function.
11333 (delayed-warnings-hook): New variable.
11334
11335 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11336
11337 * minibuffer.el (completion-at-point, completion-help-at-point):
11338 Don't presume that a given completion-at-point-function will always
11339 use the same calling convention.
11340
11341 * pcomplete.el (pcomplete-completions-at-point):
11342 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11343 pcomplete-seen is non-nil.
11344 (pcomplete-comint-setup): Also recognize the new comint/shell
11345 completion functions.
11346 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11347 pcomplete-seen is non-nil.
11348
11349 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11350
11351 * calendar/icalendar.el (diary-lib): Add require statement.
11352 (icalendar--create-uid): Read out a uid from a text-property on
11353 the first character in the entry. This allows for code to add its
11354 own uid to the entry.
11355 (icalendar--convert-float-to-ical): Add export of
11356 `diary-float'-entries save for those with the optional DAY
11357 argument.
11358
11359 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11360
11361 * subr.el (shell-quote-argument): Use alternate escaping strategy
11362 when we spot a variable reference in a string.
11363
11364 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11365
11366 * cus-start.el (all): Define customization for debug-on-event.
11367
11368 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11369
11370 * subr.el (shell-quote-argument): Escape correctly under Windows.
11371
11372 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11373
11374 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11375
11376 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11377
11378 * net/tramp.el (tramp-process-actions): Add POS argument.
11379 Delete region between POS and (pos).
11380
11381 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11382 Use `nil' position in `tramp-process-actions' call.
11383 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11384
11385 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11386 position in `tramp-process-actions' call.
11387
11388 * net/trampver.el: Update release number.
11389
11390 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11391
11392 * custom.el (defcustom): Obey lexical-binding.
11393
11394 Fix octave-inf completion problems reported by Alexander Klimov.
11395 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11396 Inherit from octave-mode-syntax-table.
11397 (inferior-octave-mode): Set info-lookup-mode.
11398 (inferior-octave-completion-at-point): New function.
11399 (inferior-octave-complete): Use it and completion-in-region.
11400 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11401 comint-filename-completion.
11402 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11403 symbol elements which shouldn't be word elements.
11404 (octave-font-lock-keywords, octave-beginning-of-defun)
11405 (octave-function-header-regexp): Adjust regexps accordingly.
11406 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11407
11408 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11409
11410 * net/gnutls.el (gnutls-errorp): Declare before first use.
11411
11412 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11413
11414 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11415 verify-error, and verify-hostname-error parameters. Check whether
11416 default trustfile exists before going to use it. Add missing
11417 argument to gnutls-message-maybe call. Return value.
11418 Reported by Claudio Bley <claudio.bley@gmail.com>.
11419 (open-gnutls-stream): Add usage example.
11420
11421 * net/network-stream.el (network-stream-open-starttls): Give host
11422 parameter to `gnutls-negotiate'.
11423 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11424 * subr.el (shell-quote-argument): Escape correctly under Windows.
11425
11426 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11427
11428 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11429 Use correct match group (bug#8438).
11430
11431 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11432
11433 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11434 (package-menu--generate): New arg specifying packages to show.
11435 (package-menu-refresh, package-menu-execute, list-packages):
11436 Callers changed.
11437 (package-show-package-list): New function, replacing deleted
11438 package--list-packages (renamed because it is non-internal).
11439
11440 * finder.el (finder-list-matches): Use package-show-package-list
11441 instead of deleted package--list-packages.
11442
11443 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11444 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11445 (vc-annotate-mode-map): Bind it to RET.
11446
11447 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11448
11449 * progmodes/etags.el (next-file): Don't use set-buffer to change
11450 buffers (Bug#8478).
11451
11452 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11453
11454 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11455
11456 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11457 (apropos-accumulator): Doc fix.
11458 (apropos-function, apropos-macro, apropos-command)
11459 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11460 (apropos-plist): Add face property.
11461 (apropos-symbols-internal): Fix indentation.
11462 (apropos-print): Simplify help, and recognize apropos-multi-type.
11463 (apropos-print-doc): Use button-type-get to extract the button's
11464 face property. Fill docstring (Bug#8352).
11465
11466 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11467
11468 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11469
11470 * play/mpuz.el (mpuz-silent): Doc fix.
11471 (mpuz-mode-map): Use mapc.
11472 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11473 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11474 Fix typos in docstrings.
11475
11476 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11477 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11478
11479 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11480
11481 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11482
11483 * minibuffer.el (completion--do-completion): Avoid the "Next char
11484 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11485
11486 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11487 mouse-2 into unread-command-events, it is interpreted correctly.
11488
11489 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11490 (image-toggle-display): Doc fix.
11491
11492 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11493
11494 * textmodes/page.el (what-page): Use line-number-at-pos to
11495 calculate line number (Bug#6825).
11496
11497 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11498
11499 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11500 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11501 Pass argument NO-DEFAULT to `find-tag-interactive'.
11502
11503 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11504
11505 Lexical-binding cleanup.
11506
11507 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11508 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11509 * progmodes/ada-prj.el (ada-prj-initialize-values)
11510 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11511 (ada-prj-show-value):
11512 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11513 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11514 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11515 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11516 * progmodes/bug-reference.el (bug-reference-push-button):
11517 * progmodes/fortran.el (fortran-line-length):
11518 * progmodes/glasses.el (glasses-change):
11519 * progmodes/octave-mod.el (octave-fill-paragraph):
11520 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11521 (python-pdbtrack-grub-for-buffer, python-sentinel):
11522 * progmodes/sql.el (sql-save-connection):
11523 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11524 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11525 Mark unused parameters.
11526
11527 * progmodes/compile.el (compilation--flush-directory-cache)
11528 (compilation--flush-parse, compile-internal): Mark unused parameters.
11529 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11530 (compilation-next-error-function): Remove unused variable `timestamp'.
11531
11532 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11533 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11534
11535 * progmodes/dcl-mode.el (dcl-end-of-command):
11536 Remove unused variable `start'.
11537 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11538 (dcl-option-value-basic, dcl-option-value-offset)
11539 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11540 Mark unused parameters.
11541 (dcl-save-local-variable): Remove unused variable `val'.
11542 (mode): Declare.
11543
11544 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11545 Mark unused parameters.
11546 (delphi-ignore-changes): Move before first use.
11547 (delphi-charset-token-at): Remove unused variable `start'.
11548 (delphi-else-start): Remove unused variable `if-count'.
11549 (delphi-comment-block-start, delphi-comment-block-end):
11550 Remove unused variable `kind'.
11551 (delphi-indent-line): Remove unused variable `new-point'.
11552
11553 * progmodes/ebrowse.el (ebrowse-files-list)
11554 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11555 Mark unused parameters. Don't quote `lambda'.
11556 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11557 Don't quote `lambda'.
11558 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11559 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11560 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11561 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11562 Use `ignore-errors'.
11563 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11564 (ebrowse-view/find-file-and-search-pattern)
11565 (ebrowse-view/find-member-declaration/definition):
11566 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11567 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11568 Rename parameter PREFIX-ARG to PREFIX.
11569 (ebrowse-tags-read-name): Remove unused variables `start' and
11570 `member-info'.
11571 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11572 to `tags-file'.
11573
11574 * progmodes/etags.el (local-find-tag-hook): Declare.
11575 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11576 Mark unused parameters.
11577
11578 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11579 (executable-interpret): Mark unused parameter.
11580
11581 * progmodes/flymake.el (flymake-process-sentinel)
11582 (flymake-after-change-function)
11583 (flymake-create-temp-with-folder-structure)
11584 (flymake-get-include-dirs-dot): Mark unused parameters.
11585 (flymake-safe-delete-directory): Remove unused variable `err'.
11586
11587 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11588 (speedbar-timer-fn, speedbar-line-text)
11589 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11590 (speedbar-center-buffer-smartly): Declare functions.
11591 (gdb-find-watch-expression): Remove unused variable `array'.
11592 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11593 (gdb-starting): Mark unused parameters.
11594 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11595 (gdb-table-string): Remove unused variable `res'.
11596 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11597 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11598 (gdb-display-buffer): Remove unused variable `cur-size'.
11599
11600 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11601 allow lexical-binding compilation.
11602 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11603 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11604 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11605 Mark unused parameters.
11606 (gud-gdb-marker-filter): Remove unused variable `match'.
11607 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11608 lambda expressions and funcall them, instead of using `fset'.
11609
11610 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11611 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11612
11613 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11614 variable `header-beg'; use `let'.
11615
11616 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11617 `restart', `last-sexp' and `at-do'.
11618
11619 * progmodes/js.el (js--debug): Mark unused parameter.
11620 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11621 (js--splice-into-items): Remove unused variable `item'.
11622 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11623
11624 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11625 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11626 (makefile-complete): Remove unused variable `try'.
11627 (makefile-fill-paragraph, makefile-match-function-end):
11628 Mark unused parameters.
11629
11630 * progmodes/octave-inf.el (inferior-octave-complete):
11631 Remove unused variable `proc'.
11632 (inferior-octave-output-digest): Mark unused parameter.
11633
11634 * progmodes/perl-mode.el (perl-calculate-indent):
11635 Remove unused variable `err'.
11636
11637 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11638 (prolog-indent-line): Mark unused parameters.
11639 (prolog-indent-line): Remove unused variable `beg'.
11640
11641 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11642 (reporter-dont-compact-list): Declare.
11643
11644 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11645 Remove unused variable `char'.
11646 (sh-debug): Mark unused parameter.
11647 (sh-get-indent-info): Remove unused variable `start'.
11648 (sh-calculate-indent): Remove unused variable `var'.
11649
11650 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11651 (simula-electric-keyword): Remove unused variable `null'.
11652 (simula-search-backward, simula-search-forward): Remove unused
11653 variables `begin' and `end'.
11654
11655 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11656 Remove unused variable `pos'.
11657 (vera-electric-tab, vera-comment-uncomment-region):
11658 Mark unused parameters.
11659 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11660
11661 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11662
11663 * emacs-lisp/package.el (package--builtins, package-alist)
11664 (package-load-descriptor, package-built-in-p, package-activate)
11665 (define-package, package-installed-p)
11666 (package-compute-transaction, package-buffer-info)
11667 (package--push): Doc fix. Distinguish more clearly between
11668 version strings and version lists.
11669
11670 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11671
11672 Lexical-binding cleanup.
11673
11674 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11675 (5x5-make-mutate-best):
11676 * play/fortune.el (fortune-in-buffer):
11677 * play/gomoku.el (gomoku-init-display):
11678 * play/solitaire.el (solitaire, solitaire-do-check):
11679 * play/tetris.el (tetris-default-update-speed-function):
11680 Mark unused parameters.
11681
11682 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11683 (bubbles--shift): Remove unused variable `char-org'.
11684 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11685 (bubbles--show-images): Remove unused variable `char'.
11686
11687 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11688 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11689 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11690 (decipher-analyze-buffer): Use ?\s.
11691 (decipher-make-checkpoint): Remove unused variable `mapping'.
11692
11693 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11694
11695 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11696 Remove unused variable `result'; use `let'.
11697
11698 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11699 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11700 (gametree-children-shown-p, gametree-compute-reduced-score):
11701 Use `ignore-errors'.
11702
11703 * play/handwrite.el (ps-lpr-switches): Declare.
11704 (handwrite): Remove unused variables `pmin' and `lastp'.
11705
11706 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11707
11708 * play/landmark.el (landmark-init-display)
11709 (landmark-update-naught-weights): Mark unused parameters.
11710 (landmark-y): Remove unused variable `noise'. Simplify.
11711 (landmark-human-plays): Remove unused variable `score'.
11712
11713 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11714 (mpuz-try-proposal): Remove unused variable `game'.
11715
11716 * play/zone.el (life-patterns): Declare.
11717
11718 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11719
11720 * vc/vc.el (ediff-vc-internal): Declare function.
11721
11722 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 * shell.el: Use lexical-binding and std completion UI.
11725 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11726 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11727 comint-preoutput-filter-functions rather than on
11728 comint-output-filter-functions.
11729 (shell-command-completion, shell--command-completion-data)
11730 (shell-filename-completion, shell-environment-variable-completion)
11731 (shell-c-a-p-replace-by-expanded-directory): New functions.
11732 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11733 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11734 (shell-dynamic-complete-environment-variable): Use them.
11735 (shell-dynamic-complete-as-environment-variable)
11736 (shell-dynamic-complete-as-command): Remove.
11737 (shell-match-partial-variable): Match past point.
11738 * comint.el: Clean up use of completion-at-point-functions.
11739 (comint-completion-at-point): New function.
11740 (comint-mode): Use it completion-at-point-functions.
11741 (comint-dynamic-complete): Make it obsolete.
11742 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11743 (comint-c-a-p-replace-by-expanded-history): New function.
11744 (comint-dynamic-complete-functions)
11745 (comint-replace-by-expanded-history): Use it.
11746 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11747 termination strings. Try harder to avoid second try-completion.
11748 (completion-in-region-mode-map): Disable bindings that don't work yet.
11749
11750 * comint.el: Use lexical-binding. Require CL.
11751 (comint-dynamic-complete-functions): Use comint-filename-completion.
11752 (comint-completion-addsuffix): Tweak custom type.
11753 (comint-filename-completion, comint--common-suffix)
11754 (comint--common-quoted-suffix, comint--table-subvert)
11755 (comint--complete-file-name-data): New functions.
11756 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11757 (comint-dynamic-list-filename-completions): Use them.
11758 (comint-dynamic-simple-complete): Make obsolete.
11759
11760 * minibuffer.el (completion-in-region-mode):
11761 Keep completion-in-region-mode--predicate global.
11762 (completion-in-region--postch):
11763 Assume completion-in-region-mode--predicate is not null.
11764
11765 * progmodes/flymake.el (flymake-start-syntax-check-process):
11766 Obey `dir'. Simplify.
11767
11768 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11769 we're in VC after all.
11770
11771 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11772
11773 * vc/vc.el (vc-diff-build-argument-list-internal)
11774 (vc-version-ediff, vc-ediff): New commands.
11775 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11776
11777 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11778
11779 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11780 add sanity check.
11781
11782 * obsolete/erc-hecomplete.el: Make obsolete.
11783 * obsolete/: Standardize obsolescence info in the header.
11784
11785 2011-04-20 Glenn Morris <rgm@gnu.org>
11786
11787 * calendar/solar.el (solar-horizontal-coordinates):
11788 Use the longitude argument rather than `calendar-longitude'.
11789 (solar-date-next-longitude): Remove unused locals.
11790
11791 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11792
11793 * whitespace.el: New version 13.2.1.
11794
11795 2011-04-20 felix <EmacsWiki> (tiny change)
11796
11797 * whitespace.el (global-whitespace-mode): Keep highlight when
11798 switching between major modes on a file.
11799
11800 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11803 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11804 multi-line comments as well.
11805
11806 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11807
11808 Lexical-binding cleanup.
11809
11810 * arc-mode.el (archive-mode-revert):
11811 * cmuscheme.el (scheme-interactively-start-process):
11812 * custom.el (custom-initialize-delay):
11813 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11814 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11815 * emacs-lock.el (emacs-lock-clear-sentinel):
11816 * ezimage.el (defezimage):
11817 * follow.el (follow-avoid-tail-recenter):
11818 * fringe.el (set-fringe-mode-1):
11819 * generic-x.el (bat-generic-mode-compile):
11820 * help-mode.el (help-info-variable, help-do-xref)
11821 (help-mode-revert-buffer):
11822 * help.el (view-emacs-todo):
11823 * iswitchb.el (iswitchb-completion-help):
11824 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11825 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11826 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11827 * locate.el (locate-update):
11828 * longlines.el (longlines-encode-region)
11829 (longlines-after-change-function):
11830 * outline.el (outline-isearch-open-invisible):
11831 * ps-def.el (declare-function, charset-dimension, char-width)
11832 (encode-char):
11833 * ps-mule.el (ps-mule-plot-string):
11834 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11835 (recentf-edit-list-select, recentf-edit-list-validate)
11836 (recentf-open-files-action):
11837 * rect.el (delete-whitespace-rectangle-line)
11838 (rectangle-number-line-callback):
11839 * register.el (window-configuration-to-register)
11840 (frame-configuration-to-register):
11841 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11842 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11843 (xselect-convert-to-targets, xselect-convert-to-delete)
11844 (xselect-convert-to-filename, xselect-convert-to-charpos)
11845 (xselect-convert-to-lineno, xselect-convert-to-colno)
11846 (xselect-convert-to-os, xselect-convert-to-host)
11847 (xselect-convert-to-user, xselect-convert-to-class)
11848 (xselect-convert-to-name, xselect-convert-to-integer)
11849 (xselect-convert-to-atom, xselect-convert-to-identity):
11850 * subr.el (declare, ignore, process-kill-without-query)
11851 (text-clone-maintain):
11852 * terminal.el (te-get-char, te-tic-sentinel):
11853 * tool-bar.el (tool-bar-make-keymap):
11854 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11855 * type-break.el (type-break-mode, type-break-noninteractive-query):
11856 * view.el (View-back-to-mark):
11857 * wid-browse.el (widget-browse-action, widget-browse-widget)
11858 (widget-browse-widgets, widget-browse-sexp):
11859 * widget.el (define-widget-keywords):
11860 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11861 Mark unused parameters.
11862
11863 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11864 (align-areas): Remove unused variable `look'.
11865 (align-region): Remove unused variables `real-end' and `pos-list'.
11866
11867 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11868
11869 * bindings.el (mode-line-modified, mode-line-remote):
11870 Mark unused parameters.
11871 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11872
11873 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11874 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11875
11876 * comint.el (comint-history-isearch-pop-state)
11877 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11878 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11879 (comint-substitute-in-file-name): Doc fix.
11880
11881 * completion.el (cmpl-statistics-block): Mark unused parameter.
11882 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11883 (save-completions-to-file, load-completions-from-file):
11884 Remove unused local variable `e'.
11885
11886 * composite.el (compose-chars): Remove unused variable `len'.
11887 (lgstring-insert-glyph): Remove unused variable `g'.
11888 (compose-glyph-string): Remove unused variables `ascent',
11889 `descent', `lbearing' and `rbearing'.
11890 (compose-glyph-string-relative): Remove unused variables
11891 `lbearing', `rbearing' and `wadjust'.
11892 (compose-gstring-for-graphic): Remove unused variables `header',
11893 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11894 (compose-gstring-for-terminal): Remove unused variables `header'
11895 and `nchars'. Use `let', not `let*'.
11896
11897 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11898 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11899 (Custom-buffer-done, custom-buffer-create-internal)
11900 (custom-browse-visibility-action, custom-browse-group-tag-action)
11901 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11902 (widget-magic-mouse-down-action, custom-toggle-parent)
11903 (custom-add-parent-links, custom-toggle-hide-variable)
11904 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11905 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11906 (custom-face-menu-create, custom-variable-menu-create, get)
11907 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11908 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11909 (customize-apropos): Remove unused variable `tests'.
11910 (custom-group-value-create): Remove unused variable `hidden-p'.
11911 (sort-fold-case): Declare.
11912
11913 * cus-theme.el (custom-reset-standard-faces-list)
11914 (custom-reset-standard-variables-list): Declare.
11915 (customize-create-theme, custom-theme-revert, custom-theme-write)
11916 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11917 Mark unused parameters.
11918
11919 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11920
11921 * delim-col.el (delimit-columns-max): Move defvar before first use.
11922
11923 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11924 (describe-char): Don't quote `lambda'. Mark unused parameter.
11925
11926 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11927 (auto-insert): Declare.
11928 (desktop-restore-file-buffer): Rename desktop-* parameters;
11929 mark unused ones.
11930 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11931 (desktop-buffer): Rename desktop-* parameters.
11932
11933 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11934 (dframe-reposition-frame-xemacs, dframe-help-echo)
11935 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11936 Mark unused parameters.
11937
11938 * dired-aux.el (backup-extract-version-start, overwrite-query)
11939 (overwrite-backup-query, rename-regexp-query)
11940 (rename-non-directory-query): Declare.
11941 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11942 (dired-add-entry): Remove unused variable `orig-file-name'.
11943 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11944 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11945 `dired-copy-preserve-time' directly.
11946 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11947 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11948
11949 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11950 (dired-virtual-revert, dired-make-relative-symlink):
11951 Mark unused parameters.
11952 (manual-program): Declare.
11953 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11954 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11955 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11956
11957 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11958
11959 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11960
11961 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11962 Declare.
11963
11964 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11965
11966 * electric.el (Electric-command-loop): Rename parameter
11967 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11968
11969 * expand.el (expand-in-literal): Remove unused variable `here'.
11970
11971 * facemenu.el (facemenu-add-new-color):
11972 Remove unused variable `docstring'.
11973
11974 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11975 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11976 (face-attr-construct): Mark unused parameter. Doc fix.
11977 (read-color): Remove unused variable `hex-string'.
11978
11979 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11980 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11981 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11982 (display-buffer-other-frame): Remove unused variable `old-window'.
11983 (kill-buffer-hook): Declare.
11984 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11985 Mark unused parameters.
11986 (after-find-file): Pass 1 to `auto-save-mode', not t.
11987
11988 * files-x.el (auto-insert): Declare.
11989 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11990
11991 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11992 variable `buf'. Mark unused parameter.
11993 (find-lisp-insert-directory): Mark unused parameter.
11994
11995 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11996 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11997 (format-common-tail): Remove, unused.
11998 (format-deannotate-region): Remove unused variable `loc'.
11999 (format-annotate-region): Remove unused variable `p'.
12000 (format-annotate-single-property-change): Remove unused variables
12001 `default' and `tail'.
12002
12003 * forms.el (read-file-filter): Declare.
12004 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12005
12006 * frame.el (frame-creation-function-alist): Mark unused parameter.
12007 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12008
12009 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12010 Remove unused parameters.
12011 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12012 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12013
12014 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12015 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12016 (hfy-prepare-tag-map): Mark unused parameters.
12017 (htmlfontify-buffer): Use `called-interactively-p'.
12018
12019 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12020 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12021 (ibuffer-do-occur): Mark unused parameters.
12022 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12023 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12024
12025 * ibuffer.el: Don't quote `lambda'.
12026 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12027 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12028 Mark unused parameters.
12029
12030 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12031 (ido-completing-read): Mark unused parameters.
12032 (ido-copy-current-word): Mark unused parameters;
12033 remove unused variable `name'.
12034 (ido-sort-merged-list): Remove unused parameter `dirs'.
12035
12036 * ielm.el (ielm-input-sender): Mark unused parameter.
12037 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12038 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12039 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12040 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12041 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12042
12043 * image-dired.el (image-dired-display-thumbs): Remove unused
12044 variables `curr-file' and `count'.
12045 (image-dired-remove-tag): Remove unused variable `start'.
12046 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12047 variable `curr-file'
12048 (image-dired-rotate-original): Remove unused variable `temp-file'.
12049 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12050 Remove unused variable `file'.
12051 (image-dired-gallery-generate): Remove unused variable `curr'.
12052 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12053
12054 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12055
12056 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12057
12058 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12059
12060 * isearch.el (minibuffer-history-symbol): Declare.
12061 (isearch-edit-string): Remove unused variable `err'.
12062 (isearch-message-prefix, isearch-message-suffix):
12063 Mark unused parameters.
12064
12065 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12066
12067 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12068
12069 * makesum.el (double-column): Remove unused variable `cnt'.
12070
12071 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12072 (ido-ignore-item-temp-list): Declare.
12073
12074 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12075 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12076 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12077 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12078 `mouse-col-delta'.
12079
12080 * mouse-sel.el (mouse-extend-internal):
12081 Remove unused variable `orig-window-frame'.
12082
12083 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12084 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12085 Move declarations before first use.
12086 (pcomplete-opt): Mark unused parameters; doc fix.
12087
12088 * proced.el (proced-revert): Mark unused parameter.
12089 (proced-send-signal): Remove unused variable `err'.
12090
12091 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12092 Rename parameter PREFIX-ARG to ARG.
12093 (ps-basic-plot-string, ps-basic-plot-whitespace):
12094 Mark unused parameters.
12095
12096 * replace.el (replace-count): Define.
12097 (occur-revert-function): Mark unused parameters.
12098 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12099 (isearch-case-fold-search, isearch-string): Declare.
12100 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12101 bind `case-fold-search'. Remove unused variables `beg' and `end',
12102 and simplify.
12103 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12104 COUNT and bind `replace-count'.
12105 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12106 to COUNT.
12107
12108 * savehist.el (print-readably, print-string-length): Declare.
12109
12110 * shadowfile.el (shadow-expand-cluster-in-file-name):
12111 Remove unused variable `cluster'.
12112 (shadow-copy-file): Remove unused variable `i'.
12113 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12114 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12115 (shadow-define-literal-group, shadow-define-regexp-group)
12116 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12117
12118 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12119 (shell): Use `called-interactively-p'.
12120 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12121
12122 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12123 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12124 (delete-backward-char): Remove unused variable `ocol'.
12125 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12126 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12127 (event-apply-hyper-modifier, event-apply-shift-modifier)
12128 (event-apply-control-modifier, event-apply-meta-modifier):
12129 Mark unused parameters.
12130 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12131 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12132
12133 * speedbar.el (speedbar-ignored-directory-expressions)
12134 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12135 (speedbar-find-file, speedbar-dir-follow)
12136 (speedbar-directory-buttons-follow, speedbar-tag-find)
12137 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12138 (speedbar-buffers-line-directory, speedbar-buffer-click):
12139 Mark unused parameters.
12140 (speedbar-tag-file): Remove unused variable `mode'.
12141 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12142
12143 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12144
12145 * talk.el (talk): Remove unused variable `display'.
12146
12147 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12148 (tar-write-region-annotate): Mark unused parameter.
12149
12150 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12151 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12152 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12153 warning by another.
12154
12155 * time-stamp.el (time-stamp-string-preprocess):
12156 Remove unused variable `require-padding'.
12157
12158 * tree-widget.el (widget-glyph-enable): Declare.
12159 (tree-widget-action): Mark unused parameter.
12160
12161 * w32-fns.el (x-get-selection): Mark unused parameter.
12162 (autoload-make-program, generated-autoload-file): Declare.
12163
12164 * wdired.el (wdired-revert): Mark unused parameters.
12165 (wdired-xcase-word): Remove unused variable `err'.
12166
12167 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12168 (whitespace-help-scroll): Remove unused variable `data-help'.
12169
12170 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12171 (widget-image-insert, widget-after-change, default)
12172 (widget-default-format-handler, widget-default-notify)
12173 (widget-default-prompt-value, widget-info-link-action)
12174 (widget-url-link-action, widget-function-link-action)
12175 (widget-variable-link-action, widget-file-link-action)
12176 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12177 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12178 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12179 (widget-insert-button-action, widget-delete-button-action, visibility)
12180 (widget-documentation-link-action, widget-documentation-string-action)
12181 (widget-const-prompt-value, widget-regexp-match, symbol)
12182 (widget-coding-system-prompt-value)
12183 (widget-key-sequence-value-to-external, sexp)
12184 (widget-sexp-value-to-internal, character, vector, cons)
12185 (widget-choice-prompt-value, widget-boolean-prompt-value)
12186 (widget-color--choose-action): Mark unused parameters.
12187 (widget-item-match-inline, widget-choice-match-inline)
12188 (widget-checklist-match, widget-checklist-match-inline)
12189 (widget-group-match): Rename parameter VALUES to VALS.
12190 (widget-field-value-set): Remove unused variable `size'.
12191 (widget-color-action): Remove unused variables `value' and `start'.
12192
12193 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12194 variable `dir'. Doc fix.
12195 (windmove-find-other-window): Don't pass it.
12196
12197 * window.el (count-windows): Mark unused parameter.
12198 (bw-adjust-window): Remove unused variable `err'.
12199
12200 * woman.el (woman-file-name): Remove unused variable `default'.
12201 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12202 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12203 (global-font-lock-mode): Declare.
12204 (woman-decode-region): Mark unused parameter.
12205 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12206
12207 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12208 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12209 (x-dnd-handle-moz-url): Remove unused variable `title'.
12210 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12211
12212 * xml.el (xml-parse-tag, xml-parse-attlist):
12213 Remove unused variable `pos'.
12214
12215 2011-04-19 Glenn Morris <rgm@gnu.org>
12216
12217 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12218 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12219 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12220 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12221 * calendar/cal-html.el (cal-html-insert-minical):
12222 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12223 (calendar-mark-date-pattern):
12224 Prefix "unused" locals.
12225
12226 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12227 optional argument `style'.
12228
12229 * calendar/appt.el (appt-make-list):
12230 * calendar/cal-china.el (calendar-chinese-date-string):
12231 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12232 (diary-hebrew-yahrzeit):
12233 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12234 * calendar/calendar.el (calendar-generate-window):
12235 * calendar/time-date.el (time-to-days):
12236 Remove unused local variables.
12237
12238 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12239
12240 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12241 glyphless-char-display table.
12242 (tabulated-list-glyphless-char-display): New var.
12243
12244 2011-04-18 Sam Steingold <sds@gnu.org>
12245
12246 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12247 to acknowledgments.
12248
12249 2011-04-17 Glenn Morris <rgm@gnu.org>
12250
12251 * calendar/diary-lib.el (diary-sexp-entry):
12252 * calendar/holidays.el (holiday-sexp):
12253 Set debug-on-error rather than the removed stack-trace-on-error.
12254
12255 2011-04-16 Glenn Morris <rgm@gnu.org>
12256
12257 * progmodes/f90.el: Use lexical-binding.
12258 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12259
12260 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12263 (mail-mode): Setup mailalias completion here instead.
12264 * mail/mailalias.el: Use lexical-binding.
12265 (pattern, mailalias-done): Declare dynamic.
12266 (mail-completion-at-point-function): New function, from mail-complete.
12267 (mail-complete): Use it.
12268 (mail-completion-expand): New function.
12269 (mail-get-names): Use it.
12270 (mail-directory, mail-directory-process, mail-directory-stream):
12271 Don't use `pattern' for lexically bound arg.
12272
12273 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12274
12275 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12276 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12277 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12278
12279 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12280 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12281 (byte-interactive-p): Define them again, for use when inlining
12282 old code.
12283
12284 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12285
12286 * loadup.el: Use `string-to-number', not `string-to-int'.
12287
12288 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12289
12290 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12291 gud-gdb-complete-command.
12292 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12293 (gud-gdb-completion-at-point): New function.
12294 (gud-gdb-completions): Remove.
12295
12296 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12297
12298 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12299 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12300 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12301 whether `executable-find' is bound.
12302
12303 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12304
12305 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12306
12307 * minibuffer.el (completion-in-region-mode-predicate)
12308 (completion-in-region-mode--predicate): New vars.
12309 (completion-in-region, completion-in-region--postch)
12310 (completion-in-region-mode): Use them.
12311 (completion--capf-wrapper): Also return the hook function.
12312 (completion-at-point, completion-help-at-point):
12313 Adjust and provide a predicate.
12314
12315 Preserve arg names for advice of subr and lexical functions (bug#8457).
12316 * help-fns.el (help-function-arglist): Consolidate the subr and
12317 new-byte-code cases. Add argument `preserve-names' to extract names
12318 from the docstring when needed.
12319 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12320 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12321 (ad-arglist): Use help-function-arglist's new arg.
12322 (ad-definition-type): Use cond.
12323
12324 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12325
12326 * autorevert.el (auto-revert-handler):
12327 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12328 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12329 Don't quote lambda.
12330
12331 * image-mode.el (image-transform-set-scale):
12332 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12333
12334 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12335
12336 * net/network-stream.el (network-stream-open-starttls): Only do
12337 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12338 Upgrades via gnutls-cli are too slow to be done opportunistically.
12339
12340 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12341
12342 * dframe.el (dframe-current-frame): Remove spurious quote.
12343
12344 2011-04-12 Glenn Morris <rgm@gnu.org>
12345
12346 * calendar/cal-tex.el (cal-tex-end-document):
12347 Try to automatically use latin1 input if needed.
12348
12349 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12350 Don't try to cons a mark onto an empty element.
12351
12352 2011-04-11 Leo Liu <sdl.web@gmail.com>
12353
12354 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12355 buffers.
12356 (ido-kill-buffer-at-head): Support killing virtual buffers.
12357
12358 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12359
12360 * minibuffer.el (completion-show-inline-help): New var.
12361 (completion--do-completion, minibuffer-complete)
12362 (minibuffer-force-complete, minibuffer-complete-word):
12363 Inhibit minibuffer messages if completion-show-inline-help is nil.
12364
12365 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12366 to avoid interference from inline help (Bug#5849).
12367
12368 2011-04-10 Leo Liu <sdl.web@gmail.com>
12369
12370 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12371 Fix typo.
12372
12373 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12374
12375 * image-mode.el (image-toggle-display-image): Signal an error if
12376 not in Image mode.
12377 (image-transform-mode, image-transform-resize)
12378 (image-transform-set-rotation): Doc fix.
12379 (image-transform-set-resize): Delete.
12380 (image-transform-set-scale, image-transform-fit-to-height)
12381 (image-transform-fit-to-width): Handle image-toggle-display-image
12382 and image-transform-resize directly.
12383
12384 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12385
12386 * doc-view.el (doc-view-fit-width-to-window)
12387 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12388 New functions for fitting the shown image to the Emacs window size.
12389 (doc-view-mode-map): Add bindings for the new functions.
12390
12391 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12392
12393 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12394 Fix typo in docstring.
12395
12396 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12397
12398 * files.el (file-size-human-readable): Produce one digit after
12399 decimal, like "ls -lh" does.
12400
12401 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12402 the file size representation.
12403
12404 * simple.el (list-processes): If async subprocesses are not
12405 available, error out with a clear error message.
12406
12407 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12408
12409 * help.el (help-form-show): New function, to be called from C.
12410 Put help-form output in a buffer named differently than *Help*.
12411
12412 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12413
12414 * files.el (file-size-human-readable): New function.
12415
12416 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12417 computing the representation inline. Don't require `cl'.
12418
12419 2011-04-08 Glenn Morris <rgm@gnu.org>
12420
12421 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12422
12423 * net/browse-url.el (browse-url-firefox):
12424 Test system-type, not system-configuration.
12425
12426 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12427 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12428 Use log-edit-empty-buffer-p. (Bug#7598)
12429
12430 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12431 (rlogin-mode-map): Initialize in the defvar.
12432 (rlogin): Use ignore-errors.
12433
12434 * replace.el (occur-mode-map): Some fixes for menu items.
12435
12436 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12437
12438 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12439
12440 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12441
12442 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12443 issuing unused warnings.
12444
12445 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12446 macro directly.
12447
12448 * simple.el: Lisp reimplement of list-processes. Based on an
12449 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12450 (process-menu-mode): New major mode.
12451 (list-processes--refresh, list-processes):
12452 (process-menu-visit-buffer): New functions.
12453
12454 * files.el (save-buffers-kill-emacs): Don't assume any return
12455 value of list-processes, which is undocumented anyway.
12456
12457 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12458
12459 * emacs-lisp/tabulated-list.el: New file.
12460
12461 * emacs-lisp/package.el: Use Tabulated List mode.
12462 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12463 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12464 table format using Tabulated List mode variables.
12465 (package--push): New macro, replacing package-list-maybe-add.
12466 (package-menu--generate): Use package--push. Renamed from
12467 package--generate-package-list.
12468 (package-menu-refresh, list-packages): Use it.
12469 (package-menu--print-info): Rename from package-print-package.
12470 Return insertion data instead of inserting it directly.
12471 (package-menu-describe-package, package-menu-execute):
12472 Use tabulated-list-get-id.
12473 (package-menu-mark-delete, package-menu-mark-install)
12474 (package-menu-mark-unmark, package-menu-backup-unmark)
12475 (package-menu-mark-obsolete-for-deletion):
12476 Use tabulated-list-put-tag.
12477 (package--list-packages, package-menu-revert)
12478 (package-menu-get-package, package-menu-get-version)
12479 (package-menu-sort-by-column): Functions deleted.
12480 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12481 (package-menu--status-predicate, package-menu--version-predicate)
12482 (package-menu--name-predicate)
12483 (package-menu--description-predicate): Handle arguments in the
12484 Tabulated List format.
12485 (package-list-packages-no-fetch): Call list-packages.
12486
12487 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12488
12489 * files.el (after-find-file-from-revert-buffer): Remove variable.
12490 (after-find-file): Don't bind it.
12491 (revert-buffer-in-progress-p): New variable.
12492 (revert-buffer): Bind it.
12493 Pass nil for `after-find-file-from-revert-buffer'.
12494
12495 * saveplace.el (save-place-find-file-hook): Use new variable
12496 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12497
12498 2011-04-06 Glenn Morris <rgm@gnu.org>
12499
12500 * Makefile.in (AUTOGEN_VCS): New variable.
12501 (autoloads): Use $AUTOGEN_VCS.
12502
12503 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12504 * calendar/calendar.el (calendar-mode-map):
12505 Check for toolkit scroll bars. (Bug#8305)
12506
12507 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12508
12509 * minibuffer.el (completion-in-region--postch)
12510 (completion-in-region-mode): Remove unnecessary messages.
12511
12512 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12513
12514 * font-lock.el (font-lock-refresh-defaults):
12515 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12516 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12517
12518 * info.el (Info-directory-list, Info-read-node-name-2)
12519 (Info-split-parameter-string): Doc fixes.
12520 (Info-virtual-nodes): Reflow docstring.
12521 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12522 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12523 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12524 Fix typos in docstrings.
12525 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12526 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12527 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12528 (Info-restore-desktop-buffer): Mark unused parameters.
12529 (Info-directory-find-file, Info-directory-find-node)
12530 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12531 (Info-virtual-index-find-node, Info-apropos-find-file)
12532 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12533 Mark unused parameters; fix typos in docstrings.
12534 (Info-virtual-index): Remove unused local variable `nodename'.
12535
12536 2011-04-05 Deniz Dogan <deniz@dogan.se>
12537
12538 * net/rcirc.el: Update my e-mail address.
12539 (rcirc-mode-map): Remove M-o binding.
12540
12541 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12542
12543 * startup.el (command-line): Save the cursor's theme-face
12544 directly, instead of using face-override-spec.
12545
12546 * custom.el (load-theme): Minor optimization in assigning faces.
12547
12548 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12549
12550 * help-fns.el (describe-variable): Complete all variables having
12551 documentation, including keywords.
12552 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12553
12554 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12555
12556 Convert to lexical-binding.
12557
12558 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12559 (bs--get-marked-string, bs--get-modified-string)
12560 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12561 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12562 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12563
12564 * ehelp.el (electric-help-execute-extended)
12565 (electric-help-ctrl-x-prefix):
12566 * hexl.el (hexl-revert-buffer-function):
12567 * linum.el (linum-after-change, linum-after-scroll):
12568 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12569
12570 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12571
12572 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12573
12574 * epa-dired.el:
12575 * epa-mail.el:
12576 * epa-hook.el:
12577 * epa-file.el:
12578 * epa.el:
12579 * epg.el: Use lexical binding.
12580
12581 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12582
12583 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12584
12585 * textmodes/flyspell.el (flyspell-word): Recognize default
12586 dictionary case for flyspell-mark-duplications-exceptions.
12587 Use regexp matching for languages.
12588 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12589 default dictionary (Bug#7926).
12590
12591 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12592
12593 * emacs-lisp/package.el (package--with-work-buffer):
12594 Recognize https URLs.
12595
12596 * net/network-stream.el: Move from gnus/proto-stream.el.
12597 Change prefix to network-stream throughout.
12598 (open-protocol-stream): Merge into open-network-stream, leaving
12599 open-protocol-stream as an alias. Handle nil BUFFER args.
12600
12601 * subr.el (open-network-stream): Move to net/network-stream.el.
12602
12603 2011-04-02 Glenn Morris <rgm@gnu.org>
12604
12605 * find-dired.el (find-exec-terminator): New option.
12606 (find-ls-option): Test for -ls support.
12607 (find-ls-subdir-switches): Test for -b in find-ls-option.
12608 (find-dired, find-grep-dired): Doc fixes.
12609 (find-dired): Use find-exec-terminator.
12610
12611 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12612 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12613 (find-name-arg): Remove purecopy.
12614
12615 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12616 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12617 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12618 accordingly. Don't add the null-device if not needed.
12619
12620 * files.el (save-some-buffers): Doc fix.
12621
12622 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12623
12624 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12625
12626 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12627
12628 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12629 Use `dolist' rather than `mapcar'.
12630
12631 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12632
12633 Add lexical binding.
12634
12635 * subr.el (apply-partially): Use new closures rather than CL.
12636 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12637 (dolist, dotimes): Use slightly different expansion for lexical code.
12638 (functionp): Move to C.
12639 (letrec): New macro.
12640 (with-wrapper-hook): Use it and apply-partially instead of CL.
12641 (eval-after-load): Preserve lexical-binding.
12642 (save-window-excursion, with-output-to-temp-buffer): Turn them
12643 into macros.
12644
12645 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12646
12647 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12648 than the arglist.
12649 (help-add-fundoc-usage): Don't add `Not documented'.
12650 (help-function-arglist): Handle closures, subroutines, and new
12651 byte-code-functions.
12652 (help-make-usage): Remove leading underscores.
12653 (describe-function-1): Handle closures.
12654 (describe-variable): Use special-variable-p for completion.
12655
12656 * files.el (lexical-binding): Declare safe.
12657
12658 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12659 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12660 (pcase): Add `let' pattern.
12661 Change memoization so it actually works.
12662 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12663 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12664 <let>: New case.
12665
12666 * emacs-lisp/macroexp.el: Use lexical binding.
12667 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12668 Don't convert ' to #' without checking that it's indeed quoting
12669 a lambda.
12670
12671 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12672 Use eval-sexp-add-defvars.
12673 (eval-sexp-add-defvars): New fun.
12674
12675 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12676
12677 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12678 Don't autoload.
12679 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12680 than the internal `byte-compile-lambda'.
12681 (defmethod): Don't hide code under quotes.
12682 (eieio-defmethod): New `code' argument.
12683
12684 * emacs-lisp/eieio-comp.el: Remove.
12685
12686 * emacs-lisp/edebug.el (edebug-eval-defun)
12687 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12688 (edebug-toggle): Avoid `eval'.
12689
12690 * emacs-lisp/disass.el (disassemble-internal): Handle new
12691 `closure' objects.
12692 (disassemble-1): Handle new byte codes.
12693
12694 * emacs-lisp/cl.el (pushnew): Silence warning.
12695
12696 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12697 (cl-byte-compile-throw): Remove.
12698 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12699
12700 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12701 closures.
12702
12703 * emacs-lisp/cconv.el: New file.
12704
12705 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12706 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12707 (byte-compile-initial-macro-environment):
12708 Handle declare-function here.
12709 (byte-compile--lexical-environment): New var.
12710 (byte-stack-ref, byte-stack-set, byte-discardN)
12711 (byte-discardN-preserve-tos): New lap codes.
12712 (byte-interactive-p): Don't use any more.
12713 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12714 New macros.
12715 (byte-compile-lapcode): Use them and handle new lap codes.
12716 (byte-compile-obsolete): Remove.
12717 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12718 (byte-compile-arglist-warn): Check late def of inlinable funs.
12719 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12720 since they should have been expanded by now.
12721 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12722 (byte-compile-from-buffer): Remove unused second arg.
12723 (byte-compile-preprocess): New function.
12724 (byte-compile-toplevel-file-form): New function to distinguish
12725 file-form calls from outside from file-form calls from hunk-handlers.
12726 (byte-compile-file-form): Simplify.
12727 (byte-compile-file-form-defsubst): Remove.
12728 (byte-compile-file-form-defmumble): Simplify now that
12729 byte-compile-lambda always returns a byte-code-function.
12730 (byte-compile): Preprocess.
12731 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12732 Remove, not used any more.
12733 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12734 (byte-compile-make-args-desc): New funs.
12735 (byte-compile-lambda): Handle lexical functions. Always return
12736 a byte-code-function.
12737 (byte-compile-reserved-constants): New var, to make up room for
12738 closed-over variables.
12739 (byte-compile-constants-vector): Obey it.
12740 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12741 (byte-compile-macroexpand-declare-function): New function.
12742 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12743 byte-code-functions.
12744 (byte-compile-form): Check obsolescence here.
12745 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12746 (byte-compile-variable-ref): Remove.
12747 (byte-compile-dynamic-variable-op): New fun.
12748 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12749 (byte-compile-variable-set): New funs.
12750 (byte-compile-discard): Add 2 args.
12751 (byte-compile-stack-ref, byte-compile-stack-set)
12752 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12753 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12754 macroexpand-all instead.
12755 (byte-compile-quote-form): Remove.
12756 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12757 (byte-compile-bind, byte-compile-unbind): New funs.
12758 (byte-compile-let): Handle let* and lexical binding.
12759 (byte-compile-let*): Remove.
12760 (byte-compile-catch, byte-compile-unwind-protect)
12761 (byte-compile-track-mouse, byte-compile-condition-case):
12762 Handle a new :fun-body form, used for lexical scoping.
12763 (byte-compile-save-window-excursion)
12764 (byte-compile-with-output-to-temp-buffer): Remove.
12765 (byte-compile-defun): Simplify.
12766 (byte-compile-stack-adjustment): New fun.
12767 (byte-compile-out): Use it.
12768 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12769
12770 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12771 handler any more.
12772
12773 * emacs-lisp/byte-opt.el: Use lexical binding.
12774 (byte-inline-lapcode): Remove (to bytecomp).
12775 (byte-compile-inline-expand): Pay attention to inlining to/from
12776 lexically bound code.
12777 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12778 any more.
12779 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12780 any more and don't call compiler-macros.
12781 (byte-compile-splice-in-already-compiled-code): Remove.
12782 (byte-code): Don't inline any more.
12783 (disassemble-offset): Receive `bytes' as argument rather than via
12784 dynamic scoping.
12785 (byte-compile-tag-number): Declare before first use.
12786 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12787 `return' even if make-spliceable.
12788 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12789 obsolete interactive-p.
12790 (byte-optimize-lapcode): Optimize new lap-codes.
12791 Don't trip up on new form of `byte-constant' lap code.
12792
12793 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12794
12795 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12796
12797 * custom.el (custom-initialize-default, custom-declare-variable):
12798 Use `defvar'.
12799
12800 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12801 New variables.
12802 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12803 (COMPILE_FIRST): Add macroexp and cconv.
12804 * makefile.w32-in: Mirror changes in Makefile.in.
12805
12806 * vc/cvs-status.el:
12807 * vc/diff-mode.el:
12808 * vc/log-edit.el:
12809 * vc/log-view.el:
12810 * vc/smerge-mode.el:
12811 * textmodes/bibtex-style.el:
12812 * textmodes/css.el:
12813 * startup.el:
12814 * uniquify.el:
12815 * minibuffer.el:
12816 * newcomment.el:
12817 * reveal.el:
12818 * server.el:
12819 * mpc.el:
12820 * emacs-lisp/smie.el:
12821 * doc-view.el:
12822 * dired.el:
12823 * abbrev.el: Use lexical binding.
12824
12825 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12826
12827 * info.el (info-display-manual): New function.
12828
12829 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12830
12831 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12832
12833 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12834
12835 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12836 an entry for that server in rcirc-authinfo. (Bug#8385)
12837
12838 2011-03-31 Glenn Morris <rgm@gnu.org>
12839
12840 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12841
12842 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12843
12844 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12845
12846 * progmodes/python.el (python-default-interpreter)
12847 (python-python-command-args, python-jython-command-args)
12848 (python-which-shell, python-which-args, python-which-bufname)
12849 (python-file-queue, python-comint-output-filter-function)
12850 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12851 variables and functions.
12852
12853 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12854
12855 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12856 (completion-in-region-mode): New minor mode.
12857 (completion-in-region): Use it.
12858 (completion-in-region--data, completion-in-region-mode-map): New vars.
12859 (completion-in-region--postch): New function.
12860 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12861 New vars.
12862 (completion--capf-wrapper): New function.
12863 (completion-at-point): Use it to track well-behavedness of
12864 hook functions.
12865 (completion-help-at-point): New command.
12866
12867 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12868
12869 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12870 syntax class to search for whitespace on a single line
12871 (Message-ID: <4D938140.4030905@redhat.com>).
12872
12873 2011-03-30 Leo Liu <sdl.web@gmail.com>
12874
12875 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12876 New commands.
12877 (edit-abbrevs-map): Bind them here.
12878 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12879
12880 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12881
12882 * allout.el (allout-hide-by-annotation, allout-flag-region):
12883 Reduce possibility of overlay leakage by making them volatile.
12884
12885 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12886 hash is not shared between buffers. Mode initialization is
12887 responsible for giving it a useful starting value.
12888 (allout-item-span): Reduce possibility of overlay leakage by
12889 making them volatile.
12890 (allout-widgets-count-buttons-in-region): Add diagnostic function
12891 for tracking down button overlay leaks.
12892
12893 2011-03-29 Leo Liu <sdl.web@gmail.com>
12894
12895 * ido.el (ido-read-internal): Use the default history var
12896 minibuffer-history if no HISTORY is specified.
12897
12898 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12899
12900 * net/imap.el (imap-shell-open, imap-process-connection-type):
12901 Use imap-process-connection-type for 'shell' streams as well as
12902 Kerberos, SSL, other subprocesses.
12903
12904 2011-03-28 Leo Liu <sdl.web@gmail.com>
12905
12906 * abbrev.el (abbrev-table-empty-p): New function.
12907 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12908 nonempty ones. (Bug#5937)
12909
12910 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12911
12912 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12913
12914 2011-03-27 Leo Liu <sdl.web@gmail.com>
12915
12916 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12917 for foreground and background colors.
12918 (ansi-color-make-color-map): Adapt.
12919
12920 2011-03-25 Leo Liu <sdl.web@gmail.com>
12921
12922 * midnight.el (midnight-time-float): Remove. Note it calculates
12923 the microsecond component incorrectly and seconds-to-time does the
12924 same job.
12925 Remove redundant (require 'timer).
12926
12927 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12928 (ido-completions): Remove unused arguments. (Bug#8329)
12929
12930 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12931
12932 * minibuffer.el (completion--flush-all-sorted-completions):
12933 Remove itself from hook.
12934 (completion-at-point): Let the functions perform the completion
12935 immediately and return nil or t.
12936 * comint.el (comint-dynamic-complete-functions): Now identical to
12937 completion-at-point-functions.
12938 (comint-dynamic-list-input-ring): Remove unused var `index'.
12939 (comint--match-partial-filename, comint--unquote&expand-filename):
12940 New funs, split from comint-match-partial-filename.
12941 (comint-dynamic-complete): Use completion-at-point.
12942 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12943
12944 2011-03-24 Drew Adams <drew.adams@oracle.com>
12945
12946 * thingatpt.el: Support `defun'.
12947
12948 2011-03-23 Leo Liu <sdl.web@gmail.com>
12949
12950 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12951
12952 * help-mode.el (help-mode-finish): Tweak regexp.
12953
12954 2011-03-23 Glenn Morris <rgm@gnu.org>
12955
12956 * eshell/esh-opt.el (eshell-eval-using-options):
12957 Do not bind unused local variable `eshell-option-stub'.
12958
12959 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12960
12961 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12962
12963 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12964 keymap variable in `with-no-warnings' to avoid a warning when the
12965 keymap has been already `defconst'ed.
12966
12967 2011-03-22 Leo Liu <sdl.web@gmail.com>
12968
12969 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12970 encode all chars in abbrevs; otherwise use emacs-mule or
12971 utf-8-emacs. (Bug#8308)
12972
12973 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12974
12975 * simple.el (backward-delete-char-untabify):
12976 Avoid warning about using `delete-backward-char'.
12977
12978 * image.el (image-type-file-name-regexps): Make it variable.
12979 `imagemagick-register-types' modifies it, and the user may want
12980 to add new extensions for known image types.
12981 (imagemagick-register-types): Throw error if not using ImageMagick.
12982
12983 2011-03-22 Leo Liu <sdl.web@gmail.com>
12984
12985 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12986 located before rcirc-prompt-end-marker.
12987 (rcirc-complete): Error if point is not after rcirc prompt.
12988 Handle the case when table is nil.
12989 (rcirc-user-authenticated): Define to fix compiler warning.
12990
12991 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12992
12993 * custom.el (custom--inhibit-theme-enable): Make it affect only
12994 custom-theme-set-variables and custom-theme-set-faces.
12995 (provide-theme): Ignore custom--inhibit-theme-enable.
12996 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12997 (custom-enabling-themes): Delete variable.
12998 (enable-theme): Accept only loaded themes as arguments.
12999 Ignore the special custom-enabled-themes variable.
13000 (custom-enabled-themes): Forbid themes from setting this.
13001 Eliminate use of custom-enabling-themes.
13002 (custom-push-theme): Quote "changed" custom var entry.
13003
13004 2011-03-21 Leo Liu <sdl.web@gmail.com>
13005
13006 * ido.el (ido-read-internal): Add ido-selected to history instead
13007 of user input.
13008
13009 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13010
13011 * subr.el (deferred-action-list, deferred-action-function):
13012 Mark obsolete.
13013
13014 2011-03-21 Leo Liu <sdl.web@gmail.com>
13015
13016 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13017 change on 2011-02-13 (bug#8309).
13018
13019 * minibuffer.el (read-file-name-function): Change default value.
13020 (read-file-name--defaults): Rename from read-file-name-defaults.
13021 (read-file-name-default): Rename from read-file-name.
13022 (read-file-name): Call read-file-name-function.
13023
13024 2011-03-21 Glenn Morris <rgm@gnu.org>
13025
13026 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13027 Doc fixes.
13028
13029 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
13030
13031 * cus-theme.el: Add missing provide statement.
13032 (customize-create-theme): Extract theme value correctly.
13033 (custom-theme-visit-theme): Autoload.
13034 (customize-create-theme): Prompt before inserting default faces.
13035
13036 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13037
13038 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13039 units and musical notes.
13040
13041 2011-03-20 Leo Liu <sdl.web@gmail.com>
13042
13043 * ido.el (ido-read-internal): Use completing-read-default.
13044 (ido-completing-read): Fix compatibility with completing-read.
13045
13046 2011-03-20 Christian Ohler <ohler@gnu.org>
13047
13048 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13049 (ert-delete-all-tests): Use `called-interactively-p' rather than
13050 `interactive-p'.
13051 (ert--make-xrefs-region): Respect END.
13052
13053 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13054
13055 * dired-aux.el (dired-create-directory): Signal an error if the
13056 directory already exists (Bug#8246).
13057
13058 * facemenu.el (list-colors-display): Call list-faces-display
13059 inside with-help-window.
13060 (list-colors-print): Use display property to align the final
13061 column, instead of checking window-width.
13062
13063 2011-03-19 Eli Zaretskii <eliz@gnu.org>
13064
13065 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13066 windows-nt systems.
13067 (emerge-protect-metachars): Quote correctly for ms-dos and
13068 windows-nt systems.
13069
13070 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13071
13072 * info.el (info-initialize): Replace all uses of `:' with
13073 path-separator for compatibility with non-Unix systems.
13074 Cache quoting of path-separator. (Bug#8258)
13075
13076 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
13077
13078 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13079 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13080 (mouse-avoidance-mode): Fix typos in docstrings.
13081
13082 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13083
13084 * startup.el (package-subdirectory-regexp): Move from package.el.
13085 Omit \\` and \\', and let callers add them.
13086
13087 * emacs-lisp/package.el (package-strip-version)
13088 (package-load-all-descriptors): Add \\` and \\' to
13089 package-subdirectory-regexp before using it.
13090 (package-untar-buffer): New arg DIR; ensure that file untars only
13091 into this expected directory. Remove superfluous delete-region.
13092 (package-unpack): Caller changed.
13093 (package-tar-file-info): Use package-subdirectory-regexp.
13094
13095 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13096
13097 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13098 diff-mode-shared-map (bug#8284).
13099 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13100
13101 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13102
13103 * calendar/time-date.el (format-seconds): Use assoc instead of
13104 assoc-string, since assoc-string doesn't exist in XEmacs.
13105
13106 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13107
13108 * custom.el (custom-known-themes): Reflow docstring.
13109 (custom-theme-load-path): Fix typo in docstring.
13110 (load-theme): Fix typo in error message.
13111 (custom-available-themes, custom-variable-theme-value):
13112 Use `let', not `let*'.
13113
13114 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13115
13116 * calc/README: Mention inclusion of musical notes.
13117
13118 * calc/calc-units.el (calc-lu-quant): Rename from
13119 `calc-logunits-quantity'.
13120 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13121 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13122 (calc-db): Rename from `calc-dblevel'.
13123 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13124 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13125 (calc-np): Rename from `calc-nplevel'.
13126 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13127 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13128 (calc-lu-plus): Rename from `calc-logunits-add'.
13129 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13130 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13131 (calc-lu-minus): Rename from `calc-logunits-sub'.
13132 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13133 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13134 (calc-lu-times): Rename from `calc-logunits-mul'.
13135 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13136 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13137 (calc-lu-divide): Rename from `calc-logunits-div'.
13138 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13139 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13140
13141 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13142 functions being autoloaded.
13143
13144 * calc/calc.el (calc-lu-power-reference): Rename from
13145 `calc-logunits-power-reference'.
13146 (calc-lu-field-reference): Rename from
13147 `calc-logunits-field-reference'.
13148
13149 * calc/calc-help.el (calc-l-prefix-help):
13150 Mention musical note functions.
13151
13152 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13153
13154 * minibuffer.el (completion-all-sorted-completions):
13155 Use :completion-cycle-penalty text property if present.
13156
13157 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13158
13159 * allout.el (allout-yank-processing): Adjust for new rebulleting
13160 regime so bullet being yanked is used without prompting the user
13161 for a choice.
13162
13163 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13164
13165 * startup.el (command-line): Warn the user that _emacs is deprecated.
13166
13167 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13168
13169 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13170 (delphi-verbose, delphi-comment-face, delphi-string-face)
13171 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13172 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13173 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13174 (delphi-new-comment-line, delphi-font-lock-defaults)
13175 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13176 Fix typos in docstrings.
13177
13178 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13179
13180 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13181 Invert the roles of character and string values for INSTEAD, so a
13182 string is used for the more common case of a defaulting prompt.
13183
13184 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13185
13186 * progmodes/ruby-mode.el (ruby-backward-sexp):
13187 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13188 * play/gamegrid.el (gamegrid-make-face):
13189 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13190 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13191 * notifications.el (notifications-notify):
13192 * net/xesam.el (xesam-search-engines):
13193 * net/quickurl.el (quickurl-list-insert):
13194 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13195
13196 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13197
13198 * startup.el (command-line): Update package subdirectory regexp.
13199
13200 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13201
13202 * allout.el (allout-abbreviate-flattened-numbering)
13203 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13204
13205 * subr.el (read-char-choice): Only show the cursor after the prompt,
13206 not after the answer.
13207
13208 2011-03-15 Kevin Ryde <user42@zip.com.au>
13209
13210 * help-fns.el (variable-at-point): Skip leading quotes, if any
13211 (bug#8253).
13212
13213 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13214
13215 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13216 warning message.
13217
13218 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13219
13220 * shell.el (shell): When called interactively, offer to change the
13221 shell file name on remote hosts.
13222
13223 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13224
13225 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13226 integration for LDAP parameters. The host, base, user or binddn,
13227 and secret tokens can be specified in a netrc file, for instance.
13228 This is optional because an `auth-source' parameter must be
13229 specified in the search attributes.
13230
13231 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13232
13233 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13234
13235 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13236
13237 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13238 into declaration. Remove redundant and harmful binding.
13239
13240 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13241
13242 * files.el (file-ownership-preserved-p): Pass `integer' as an
13243 explicit 2nd argument to `file-attributes'. If the file's owner
13244 is the Administrators group on Windows, and the current user is
13245 Administrator, consider that a match.
13246
13247 * server.el (server-ensure-safe-dir): Consider server directory
13248 safe on MS-Windows if its owner is the Administrators group while
13249 the current Emacs user is Administrator. Use `=' to compare
13250 numerical UIDs, since they could be integers or floats.
13251
13252 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13253
13254 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13255
13256 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13257
13258 Sync with Tramp 2.2.1.
13259
13260 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13261
13262 * net/trampver.el: Update release number.
13263
13264 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13265
13266 * progmodes/compile.el (compilation--previous-directory): Fix up
13267 various nil/dead-marker mismatches (bug#8014).
13268 (compilation-directory-properties, compilation-error-properties):
13269 Don't call it at a position past the one we're about to change.
13270
13271 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13272 Disable obsolescence warnings in the file that declares it.
13273
13274 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13275
13276 * allout-widgets.el (allout-widgets-tally):
13277 Initialize allout-widgets-tally as a hash table rather than nil to
13278 prevent mode-line redisplay warnings. Also, clarify the module
13279 description and fix a comment typo.
13280
13281 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13282
13283 * help-fns.el (describe-variable): Don't complete keywords.
13284 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13285
13286 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13287
13288 * emacs-lisp/package.el (package-version-join): Impose a standard
13289 string representation for pre/alpha/beta version lists.
13290 (package-unpack-single): Standardize the directory name by passing
13291 it through package-version-join.
13292 (package-strip-rcs-id): Accept any version string that does not
13293 signal an error in version-to-list.
13294
13295 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13296
13297 * simple.el (delete-trailing-whitespace): Return nil for the
13298 benefit of `write-file-functions'.
13299
13300 2011-03-10 Glenn Morris <rgm@gnu.org>
13301
13302 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13303
13304 * vc/vc-git.el (vc-git-program): New option.
13305 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13306 (vc-git--call): Use it.
13307
13308 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13309
13310 * cus-edit.el (Custom-newline): If no button at point, look
13311 for a subgroup button at start-of-line. (Bug#2298)
13312
13313 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13314
13315 2011-03-10 Julien Danjou <julien@danjou.info>
13316
13317 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13318 `cursor-type' is nil.
13319
13320 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13321
13322 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13323
13324 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13325
13326 * allout.el: Change so yank of distinctive-bullet items
13327 preserves the existing header prefix, rebulleting it if necessary,
13328 rather than replacing it. This is necessary for proper operation
13329 of cooperative addons like allout-widgets.
13330 (allout-make-topic-prefix, allout-rebullet-heading):
13331 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13332 value as alternate bullet to be used, instead of prompting the user
13333 for a bullet character.
13334
13335 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13336
13337 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13338 Do not use `tramp-file-name-port', because this returns also
13339 `tramp-default-port'.
13340
13341 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13342
13343 * net/rcirc.el (rcirc-handler-001): Remove useless
13344 with-rcirc-process-buffer.
13345 (rcirc-check-auth-status): Swap arguments to string-match.
13346
13347 2011-03-09 Glenn Morris <rgm@gnu.org>
13348
13349 * shell.el (shell-mode):
13350 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13351
13352 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13353 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13354
13355 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13356
13357 * emacs-lisp/package.el (package-refresh-contents)
13358 (package-menu-execute): Use condition-case-no-debug.
13359
13360 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13361
13362 * simple.el (shell-command-to-string): Use `process-file'.
13363
13364 * emacs-lisp/package.el (package-tar-file-info): Handle also
13365 remote files.
13366
13367 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13368 Use `equal' for upload base check.
13369
13370 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13371
13372 * textmodes/texinfo.el (texinfo-environments):
13373 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13374
13375 2011-03-08 Glenn Morris <rgm@gnu.org>
13376
13377 * cus-start.el (cursor-in-non-selected-windows):
13378 Fix :set quoting oddness. (Bug#8192)
13379
13380 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13381 in some setf expressions. (Bug#2159)
13382
13383 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13384
13385 * custom.el (custom-available-themes): Return themes in
13386 alphabetical order.
13387
13388 See ChangeLog.15 for earlier changes.
13389
13390 ;; Local Variables:
13391 ;; coding: utf-8
13392 ;; End:
13393
13394 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13395
13396 This file is part of GNU Emacs.
13397
13398 GNU Emacs is free software: you can redistribute it and/or modify
13399 it under the terms of the GNU General Public License as published by
13400 the Free Software Foundation, either version 3 of the License, or
13401 (at your option) any later version.
13402
13403 GNU Emacs is distributed in the hope that it will be useful,
13404 but WITHOUT ANY WARRANTY; without even the implied warranty of
13405 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13406 GNU General Public License for more details.
13407
13408 You should have received a copy of the GNU General Public License
13409 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.