Add new error and function `user-error'.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
71873e2b
SM
12012-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
8a61ee22
SM
462012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
47
66408d1e
SM
48 * dabbrev.el (dabbrev--ignore-case-p): New function.
49 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
50 Use it.
51
8a61ee22
SM
52 * files.el (automount-dir-prefix): Mark as obsolete.
53
3c74813a
GM
542012-05-04 Glenn Morris <rgm@gnu.org>
55
56 * patcomp.el, play/bruce.el: Move to obsolete/.
57
0bfcf5c5
PE
582012-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
78f3273a
CY
702012-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
f7ae6719
SM
982012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
99
100 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
101
47086495
WS
1022012-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
1532012-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
2e51d4b5
KH
1642012-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
2bd785a2
SM
1702012-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
99d27583
SM
1782012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
181
55a71479
JB
1822012-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
7b97c764
CY
1882012-05-02 Chong Yidong <cyd@gnu.org>
189
2bc356d7
CY
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
7b97c764
CY
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.
5d3385a0
JB
201 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
202 Convert to defcustoms.
7b97c764
CY
203 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
204
205 * allout-widgets.el: Hook callers changed.
206
90207a15 2072012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
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
90207a15 2132012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 214
5d3385a0
JB
215 * window.el (display-buffer--action-function-custom-type):
216 Fix entry.
d9558cad 217
90207a15 2182012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
219
220 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
221
d80ac57b
GM
2222012-05-01 Glenn Morris <rgm@gnu.org>
223
976f7668
GM
224 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
225
beb83b5a
GM
226 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
227
d80ac57b
GM
228 * cus-edit.el (custom-variable-documentation): Simplify with format.
229
b593d6a9
AH
2302012-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
782fbf2a
CY
2362012-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.
b593d6a9
AH
241 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
242 Vars deleted.
782fbf2a
CY
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)
b593d6a9
AH
263 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
264 New functions, replacing advice on scroll-bar-* commands.
87233a14 265 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
266
267 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
268 (comint-postoutput-scroll-to-bottom): Use it.
269 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 270
290af740
GM
2712012-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
6eac8dc9
SM
2802012-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
9cc7819c
LL
2852012-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
c93b886f
CY
2902012-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
8b6c19f4
SM
2962012-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
c5bb7569
CY
3102012-04-27 Chong Yidong <cyd@gnu.org>
311
d1d2e2e8
CY
312 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
313
15cd8efd
CY
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
c5bb7569
CY
322 * subr.el (read-key): Avoid running filter function when setting
323 up temporary tool bar entries (Bug#9922).
324
a8e7d6d7 3252012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
326
327 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
328 (Bug#11344)
329
a8e7d6d7 3302012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
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
a8e7d6d7 3392012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
340
341 * simple.el (delete-active-region): Move to killing custom group.
342
a8e7d6d7 3432012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
344
345 * progmodes/which-func.el (which-func-current): Quote %
346 characters for mode-line processing.
347
578c1d4b 3482012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
349
350 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
351 reaching eob (Bug#11286).
352
a8e7d6d7 3532012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
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
a8e7d6d7 3632012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
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
b3608390
CY
3702012-04-27 Chong Yidong <cyd@gnu.org>
371
372 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 373 fix "missing prefix" warning. All callers changed.
b3608390 374
797e6e88
SM
3752012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
376
377 * emacs-lisp/assoc.el: Move to obsolete/.
378
e95a67dc
SM
3792012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
380
657c21e4 381 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
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
cb3e7ae0
CY
3932012-04-26 Chong Yidong <cyd@gnu.org>
394
dce04f7f
CY
395 * image.el (image-type-from-buffer): Only return supported image
396 type (Bug#9045).
397
cb3e7ae0
CY
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
0d42eb3e
SM
4072012-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
f08ae1c9
CY
4212012-04-26 Chong Yidong <cyd@gnu.org>
422
8b71081d
CY
423 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
424 (diff-mode-shared-map): Bind it to / and [remap undo].
425
f08ae1c9
CY
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
ef24141c
SM
4332012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
434
cc356a5d
SM
435 * ffap.el: Remove old code for obsolete package.
436 (ffap-complete-as-file-p): Remove.
437
b4ff4f1f
SM
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
79c4eeb4
SM
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
ef24141c
SM
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
784e7d6e
LL
4702012-04-25 Leo Liu <sdl.web@gmail.com>
471
dd2ac746
SM
472 * progmodes/python.el (python-pdbtrack-get-source-buffer):
473 Use compilation-message if available to find real filename.
784e7d6e 474
07875ee7
CY
4752012-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
5055880d
LL
4842012-04-25 Leo Liu <sdl.web@gmail.com>
485
daf75653
LL
486 * progmodes/python.el (python-send-region): Add suffix .py to the
487 temp file.
488
5055880d
LL
489 * files.el (auto-mode-alist): Use javascript-mode instead.
490
db9b177b
AH
4912012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
492
ef24141c 493 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
494
495 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 496 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 497 references, see Bug#9.
ef24141c 498 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 499 when receiving a fault reply.
ef24141c 500 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
501
502 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 503 (soap-inspect-simple-type): New function.
db9b177b 504
ef24141c 505 * soap-client.el (soap-simple-type): New struct.
db9b177b 506 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
507 (soap-decode-basic-type, soap-encode-basic-type):
508 support unsignedInt and double basic types.
db9b177b 509 (soap-resolve-references-for-simple-type)
ef24141c
SM
510 (soap-parse-simple-type, soap-encode-simple-type): New function.
511 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
512
513 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
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
db9b177b
AH
518 decoding integer, byte and anyURI xsd types.
519
1fc6097b
CY
5202012-04-25 Chong Yidong <cyd@gnu.org>
521
522 * cus-edit.el (custom-buffer-create-internal): Update header text.
523
afc6df87
EZ
5242012-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
dfbd787f
SM
5302012-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
85222d44
DG
5372012-04-24 Dmitry Gutov <dgutov@yandex.ru>
538
51a8ea2a
DG
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
85222d44
DG
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
b613912b
MA
5522012-04-24 Michael Albinus <michael.albinus@gmx.de>
553
b5380639
MA
554 * notifications.el (top): Remove unneeded declarations.
555 (notifications-specification-version): Change to "1.2".
e43042fe 556 (notifications-interface, notifications-notify-method)
b613912b
MA
557 (notifications-close-notification-method): Fix docstring.
558 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
559 (notifications-notify): Add :action-items, :resident and
560 :transient hints. Change "image_data" to "image-data" and
561 "image_path" to "image-path".
b613912b
MA
562 (notifications-get-capabilities): New defun.
563
257440aa
LL
5642012-04-24 Leo Liu <sdl.web@gmail.com>
565
566 * progmodes/python.el: Move hideshow setup to the end.
567
b1bac16e
MR
5682012-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
d81bd059
SM
5732012-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
c4cf6d91
IA
5822012-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
7511ded8
CY
5882012-04-23 Andreas Politz <politza@fh-trier.de>
589
590 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
591
775c916b
CY
5922012-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.
922d37d3 602 Fix word list splitting (Bug#11132).
46c71e23
CY
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.
775c916b 611
2df41f9c
MA
6122012-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
da00640a
AM
6172012-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
f621ccf5
AM
6332012-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'.
ef24141c
SM
637 (ispell-word, ispell-process-line, ispell-complete-word):
638 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 639
c2d1019e
CY
6402012-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
eeddc531
CY
648 * faces.el (face-spec-set): Stop supporting deprecated form of
649 third arg.
650
dcbf5805
MA
6512012-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
ef24141c
SM
656 * net/dbus.el (dbus-message-internal): Declare function.
657 Remove unneeded function declarations.
dcbf5805
MA
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)
ef24141c
SM
673 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
674 New defuns.
dcbf5805
MA
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
cf20dee0
CY
6842012-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
583e23bd
AM
7172012-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
7dd51bf1
JB
7232012-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
d64a438f
LL
7292012-04-21 Leo Liu <sdl.web@gmail.com>
730
7dd51bf1 731 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 732
081e8d65
MV
7332012-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
7432012-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
ed571ccb
SM
7502012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
751
752 * minibuffer.el (completion-file-name-table): Complete user names.
753
39773899
LL
7542012-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
de6ff46d
CY
7592012-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.
2d0e8e61
CY
765 (server-process-filter): Only try to open a window system frame if
766 compiled with graphical support (Bug#8314).
de6ff46d 767
54071013
DN
7682012-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
f30d612a
CY
7742012-04-20 Chong Yidong <cyd@gnu.org>
775
c07a4c0b 776 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
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
2116e93c
EZ
7862012-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)
cd0f830c 795 (enlarge-window, shrink-window): Doc fixes.
2116e93c 796
c07a4c0b 7972012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 798
ef24141c
SM
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.
b668fa6e
CY
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
d02766ab
CY
811 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
812
c07a4c0b 8132012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
814
815 * net/network-stream.el (open-network-stream): Doc fix.
816
c07a4c0b 8172012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
818
819 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
820
c07a4c0b 8212012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
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)
c07a4c0b 829 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 830
ef24141c
SM
831 * progmodes/cc-mode.el (c-font-lock-fontify-region):
832 Bind case-fold-search to nil.
f0f6bc35 833
c07a4c0b 8342012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
835
836 * mail/sendmail.el (mail-bury): Call return action with the right
837 Rmail buffer (Bug#11242).
838
9a864fa2
CY
839 * server.el (server-process-filter): Handle corner case where both
840 tty and nowait options are present (Bug#11102).
841
539aa513
EZ
8422012-04-20 Eli Zaretskii <eliz@gnu.org>
843
844 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
845 (top level): Put into the executable the ident-style '$Id:' tag on
846 windows-nt as well.
539aa513 847
cfc7d5da
SM
8482012-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
5b01685c
JB
8532012-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
4d6769e1
JB
8582012-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
8c8fc5df
MA
9162012-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
a77b0ac9
SS
9212012-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
12a106a9
LL
9282012-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
bc6494ef
CY
9352012-04-18 Chong Yidong <cyd@gnu.org>
936
937 * simple.el (line-move): Use forward-line if in batch mode
938 (Bug#11053).
939
c09c46b2
CS
9402012-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
5f6530ea
RS
9452012-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
c09c46b2 956 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
957 buffer, not newbuf.
958
197b6f3c
JB
9592012-04-17 Juanma Barranquero <lekktu@gmail.com>
960
961 * server.el (server-ensure-safe-dir): Simplify.
962
2311d8e5 9632012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 964
2311d8e5
GM
965 * emacs-lisp/smie.el: Provide smarter auto-filling.
966 (smie-auto-fill): New function.
967 (smie-setup): Use it.
98fb480e 968
2311d8e5
GM
969 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
970
9712012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
972
973 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
974 (comment-indent): Use it.
975
2311d8e5 9762012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
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 .
2311d8e5 981 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 982 (ses-create-cell-variable): New defun.
2311d8e5 983 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
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.
4bdf2ad2 994
fc72b15c
PO
9952012-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
12e10e61
GM
10012012-04-17 Glenn Morris <rgm@gnu.org>
1002
1003 * dired-aux.el (dired-mark-read-string): Doc fix.
1004
30009afd
DA
10052012-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
41f03f4d
GM
10102012-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
f45f90f3
LL
10162012-04-16 Leo Liu <sdl.web@gmail.com>
1017
1018 * progmodes/python.el: Trivial cleanup.
1019
94ee8db5
GM
10202012-04-16 Glenn Morris <rgm@gnu.org>
1021
121b8917
GM
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
1197ecfa
GM
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
099e7202
GM
1037 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1038 Autoload trivia.
1039
bf350d6a
GM
1040 * emacs-lisp/cl-extra.el (*random-state*):
1041 Remove unnecessary declaration.
1042
0e829eab
GM
1043 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1044
e3ad7552
GM
1045 * play/cookie1.el (cookie-snarf):
1046 Give an explicit error if input file cannot be read.
1047
68892d27
GM
1048 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1049
20f0c46d
GM
1050 * progmodes/perl-mode.el (c-macro-expand):
1051 Remove unnecessary autoload (it is in loaddefs.el).
1052
5a0978ce
GM
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
6b955486
GM
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
94ee8db5
GM
1062 * frame.el (automatic-hscrolling): Make this alias obsolete.
1063
177eca34
AM
10642012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1065
1066 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1067 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
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
177eca34 1071
c505aaeb
CY
10722012-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
60efac0f
CY
10852012-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
5dd1713e
CY
10912012-04-15 Chong Yidong <cyd@gnu.org>
1092
1093 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1094
e6fd457e
CY
10952012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1098 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1099
e153c136
GM
11002012-04-15 Glenn Morris <rgm@gnu.org>
1101
1102 * simple.el (process-file-side-effects): Doc fix.
1103
e6fd457e 11042012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1105
1106 * international/mule-cmds.el (set-language-environment): Doc fix.
1107
3603c3b1
JB
11082012-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
e6de100c
LI
11142012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1115
1116 * server.el (server-generate-key): `called-interactively-p'
1117 requires a parameter.
1118
29734c21
MN
11192012-04-14 Michal Nazarewicz <mina86@mina86.com>
1120
1121 * server.el (server-auth-key): New variable.
75f1671a 1122 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1123 (server-start): Use the new variable and functions to allow
1124 setting a permanent server key (bug#9423).
1125
d65c9521
LL
11262012-04-14 Leo Liu <sdl.web@gmail.com>
1127
1128 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1129
5ae255c7
PE
11302012-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
d5e6342e
JB
11362012-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
ab036cd7
SM
11432012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1144
1145 * progmodes/which-func.el (which-func-modes): Change default.
1146
35dc09a1 11472012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
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
35dc09a1 11522012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1153
1154 * custom.el (custom-theme-set-variables): Doc fix.
1155
35dc09a1 11562012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1157
1158 * international/mule.el (set-auto-coding-for-load): Doc fix.
1159
35dc09a1 11602012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1161
35dc09a1
GM
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.
57f845ee 1165
0de3da9f
AM
1166 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1167 Correct two search limits.
1168
35dc09a1 11692012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1170
1171 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1172
35dc09a1 11732012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1174
1175 * international/characters.el: Fix sorting.
1176
35dc09a1 11772012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1178
1179 * international/characters.el: Add more missing Latin case pairs.
1180
35dc09a1 11812012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1182
1183 * files.el (dir-locals-set-class-variables): Doc fix.
1184
35dc09a1 11852012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1186
3f1b5bf8
EZ
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
9f847f41
EZ
1191 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1192
35dc09a1 11932012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1194
1195 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1196
35dc09a1 11972012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1198
35dc09a1
GM
1199 * textmodes/ispell.el (ispell-dictionary-base-alist):
1200 Add data for Hebrew.
e2627d21 1201
35dc09a1 12022012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1203
35dc09a1
GM
1204 * net/rcirc.el (rcirc-cmd-quit):
1205 Revert 2012-03-18 change (Bug#11192).
5c14e333 1206
35dc09a1 12072012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1208
1209 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1210
35dc09a1 12112012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1212
4517fe3a
SM
1213 * minibuffer.el (completion-in-region-mode-map):
1214 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1215
b472a594
VD
12162012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1217
1218 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1219
09b95ce3
MY
12202012-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
4b63a9ca
LI
12262012-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
7b55b8bf
TV
12312012-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
adedaa1f
LL
12362012-04-13 Leo Liu <sdl.web@gmail.com>
1237
1238 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1239
70e74021
KB
12402012-04-13 Ken Brown <kbrown@cornell.edu>
1241
1242 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1243 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1244 (browse-url-filename-alist): For the same reason, don't modify
1245 file:// URLs on Cygwin.
1246
e75e89ba
SM
12472012-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
82f289a4
GM
12522012-04-12 Glenn Morris <rgm@gnu.org>
1253
1254 * mail/mailpost.el: Move to obsolete/.
1255
d333dc4c
DA
12562012-04-12 Drew Adams <drew.adams@oracle.com>
1257
1258 * imenu.el (imenu--generic-function): Ignore invisible definitions
1259 (bug#10123).
1260
0d15b5ba
VD
12612012-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.
75f1671a 1265 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1266 (hexl-mode): Mention the new variable.
75f1671a
JB
1267 (hexl-mode, hexl-current-address, hexl-current-address):
1268 Use the displen.
0d15b5ba
VD
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
64a440db
AM
12732012-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
6decb6c2
SM
12792012-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
088be6fb
SM
12862012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1287
6622e416
SM
1288 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1289 Reported by Noah Friedman.
1290
088be6fb
SM
1291 * subr.el (read-passwd): Use read-string.
1292
b49f886e
LMI
12932012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1294
1295 * vcursor.el (vcursor-move): Increase the priority of the overlay
1296 (bug#9663).
1297
a63067fc
DD
12982012-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
ac3cf14a
WS
13032012-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
c4fc691b 13082012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1309
4d6769e1 1310 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1311 that directories matching `grep-find-ignored-files' won't be
1312 pruned (bug#10351).
1313
af23e2e5
CY
13142012-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
ab7ce8c1
GM
13192012-04-11 Glenn Morris <rgm@gnu.org>
1320
1321 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1322
de8c03dc
SM
13232012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1324
1325 * window.el (window--state-get-1): Obey window-point-insertion-type.
1326
050cc68b
LB
13272012-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
75f1671a 1331 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1332
a38c310c
GM
13332012-04-11 Glenn Morris <rgm@gnu.org>
1334
effed0c2
GM
1335 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1336 not just file-errors.
1337
a38c310c
GM
1338 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1339 (vc-bzr-sha1): Use internal sha1.
1340
0221e323
SM
13412012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1344
43956923
SG
13452012-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
6a8c9eaf
DN
13502012-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
1930bf5d
SM
13572012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1358
2a718f6f
SM
1359 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1360
599430d0
SM
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
a2754b6c
SM
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
1930bf5d
SM
1371 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1372 Use derived-mode-p. Run the diff asynchronously.
1373
9f67961c
LMI
13742012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1375
1376 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1377
2a8ce227
JB
13782012-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
8f33b5f8
NW
13842012-04-10 Nathan Weizenbaum <nweiz@google.com>
1385
1930bf5d
SM
1386 * progmodes/python.el (python-fill-paragraph):
1387 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1388 disabled (bug#7018).
1389
b12f0439
L
13902012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1391
1930bf5d 1392 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1393 DOS/MS Windows for the Baltic languages. There are still plenty
1394 of texts written in this encoding/codepage (bug#6519).
b12f0439 1395
57c3bd01
GM
13962012-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
6c3eab30
FA
14012012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1402
1930bf5d 1403 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
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
24d78a88
LMI
14072012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1408
bc72b5d9
LMI
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
bd2dba5a
LMI
1414 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1415
74beb59f
LMI
1416 * simple.el (zap-to-char): Allow zapping using input methods
1417 (bug#1580).
1418
24d78a88
LMI
1419 * textmodes/fill.el (fill-region): Leave point and mark where they
1420 were before filling (bug#5399).
1421
263f20cd
GM
14222012-04-09 Glenn Morris <rgm@gnu.org>
1423
1424 * version.el (emacs-bzr-get-version):
1425 Handle lightweight checkouts of local branches.
1426
58d1f797
AS
14272012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1428
263f20cd 1429 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1430
b4d3bc10
CY
14312012-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
fd06db5d
GM
14432012-04-09 Glenn Morris <rgm@gnu.org>
1444
e5fcdb5e
GM
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
fd06db5d
GM
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
b39bb7e1
EZ
14532012-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
5c5b8e23
GM
14612012-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
a1ed8b05
GM
14662012-04-07 Glenn Morris <rgm@gnu.org>
1467
1468 * version.el (emacs-bzr-get-version): New function.
dfae128a 1469 (emacs-bzr-version): New variable.
a1ed8b05
GM
1470 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1471 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1472
b142f158
EZ
14732012-04-07 Eli Zaretskii <eliz@gnu.org>
1474
dfae128a
GM
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.
b142f158 1482
9078ead6
EZ
14832012-04-07 Eli Zaretskii <eliz@gnu.org>
1484
1485 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1486
f23d2c7d
LMI
14872012-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
0a0a3573
BG
14922012-04-05 Bastien Guerry <bzg@altern.org>
1493
1494 * color.el (color-lighten-name): Fix typo.
1495
e5248ac9
SM
14962012-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
b4243e22
GV
15012012-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
305d9f44
SM
15062012-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
3d439cd1
CY
15122012-04-04 Chong Yidong <cyd@gnu.org>
1513
321cc491
CY
1514 * minibuffer.el (completion-extra-properties): Doc fix.
1515
3d439cd1
CY
1516 * subr.el (delayed-warnings-hook): Doc fix.
1517
2d562c0f
DU
15182012-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
4443f204
RS
15252012-04-04 Richard Stallman <rms@gnu.org>
1526
1527 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1528
529c06b6
CY
15292012-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
66b907dc
MA
15342012-04-03 Michael Albinus <michael.albinus@gmx.de>
1535
1536 * notifications.el (notifications-notify): Fix docstring.
1537
c0ea195d
GM
15382012-04-02 Glenn Morris <rgm@gnu.org>
1539
1540 * emacs-lisp/authors.el (authors-aliases): Another addition.
1541
5ca64e00
MA
15422012-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
42ee526b
CY
15482012-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
0b021094
GM
15572012-03-31 Glenn Morris <rgm@gnu.org>
1558
40f86458
GM
1559 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1560
7019c177
GM
1561 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1562
a1daddd6
GM
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
0b021094
GM
1567 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1568
40311efc
TV
15692012-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
5319014e
CY
15762012-03-30 Chong Yidong <cyd@gnu.org>
1577
1578 * image.el (imagemagick-types-inhibit)
1579 (imagemagick-register-types): Doc fix.
1580
935d1290
AM
15812012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1582
ef24141c
SM
1583 * ispell.el (ispell-get-extended-character-mode):
1584 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1585 and treats ~word as ordinary words in pipe mode.
935d1290 1586
61c6e8fd
GM
15872012-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
81fdff00
SM
15922012-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
6e7a6ec0
SS
15972012-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
fee88ca0
GM
16052012-03-28 Glenn Morris <rgm@gnu.org>
1606
1607 * replace.el (query-replace-map): Doc fix.
1608
38de3354
AS
16092012-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
b973155e
SM
16142012-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
dcb6e7b3
MR
16202012-03-27 Martin Rudalics <rudalics@gmx.at>
1621
1622 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1623 (switch-to-prev-buffer, switch-to-next-buffer):
1624 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1625 showing a buffer already is done on the same frame.
1626
b4fa35fa
GM
16272012-03-27 Glenn Morris <rgm@gnu.org>
1628
1629 * startup.el (mail-host-address): Doc fix.
1630
f9210e18
SM
16312012-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
c0bf7753
AF
16362012-03-26 Ami Fischman <ami@fischman.org>
1637
1638 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1639
33da7b16
GM
16402012-03-26 Glenn Morris <rgm@gnu.org>
1641
02243d9d
GM
1642 * files.el (save-buffers-kill-emacs): Doc fix.
1643
33da7b16
GM
1644 * startup.el (normal-top-level, command-line, command-line-1):
1645 Give them doc strings.
1646
e5a69fd0
EZ
16472012-03-25 Eli Zaretskii <eliz@gnu.org>
1648
1649 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1650 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1651
9a69676a
CY
16522012-03-25 Chong Yidong <cyd@gnu.org>
1653
4125cb8b
CY
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
dd470960
CY
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).
4125cb8b 1660 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1661
9a69676a
CY
1662 * button.el (button-at): Minor addition to docstring.
1663
6e7e90fa
SL
16642012-03-24 Simon Leinen <simon.leinen@gmail.com>
1665
1666 * vc/vc.el (vc-merge): Fix a prompt.
1667
f06e2758
CY
16682012-03-24 Chong Yidong <cyd@gnu.org>
1669
1670 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1671 point (Bug#9623).
1672
6e7e90fa
SL
1673 * button.el (button-at): Minor addition to docstring.
1674
b9d0879b
SM
16752012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * newcomment.el (comment-choose-indent): No space after BOL.
1678
e71cebb3
SS
16792012-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
335aff35
GM
16842012-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
c676576a
LMI
16892012-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
126f3d39
LW
16942012-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
64fee311
CY
16992012-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
a640d29a
KH
17042012-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
39675016
DG
17102012-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
0a6934fc 17182012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1719
3d008e4f
SM
1720 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1721
0a6934fc
SM
17222012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1723
af67c9d7
SM
1724 * progmodes/etags.el (tags-completion-at-point-function):
1725 Improve last fix.
1726
1acad97c
SM
1727 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1728
e298b5da
SS
17292012-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
91d82a70
JY
17342012-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
69188b79
CY
17392012-03-21 Drew Adams <drew.adams@oracle.com>
1740
1741 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1742
99fc91fe
AK
17432012-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
087bbb4c
SS
17492012-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
fb5b8aca
CY
17542012-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
dc9924b8
SM
17602012-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
f0bcceb9
CY
17652012-03-20 Chong Yidong <cyd@gnu.org>
1766
dc9924b8
SM
1767 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1768 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1769 characters.
1770
ee52ebf3
TH
17712012-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
4c5779ab
CY
17772012-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
15360934
LL
17822012-03-18 Leo Liu <sdl.web@gmail.com>
1783
dc9924b8 1784 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1785
d9a8eb66
EZ
17862012-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
f02ff80d
J
18002012-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.
dc9924b8 1814 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1815 over multiple runs. This is made possible by having the caller let
f02ff80d
J
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
9ac7a13f
EZ
18222012-03-17 Eli Zaretskii <eliz@gnu.org>
1823
1824 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1825 message more clear.
1826
e2b5bdd7
LL
18272012-03-16 Leo Liu <sdl.web@gmail.com>
1828
1829 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1830
2e492df3
AM
18312012-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.
dc9924b8
SM
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.
2e492df3
AM
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
50e94f0c
LL
18462012-03-16 Leo Liu <sdl.web@gmail.com>
1847
1848 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1849
6f09f6ed
AH
18502012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1851
1852 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1853 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1854
c7e73d51
GM
18552012-03-16 Glenn Morris <rgm@gnu.org>
1856
da986230
GM
1857 * view.el (view-buffer, view-buffer-other-window)
1858 (view-buffer-other-frame): Doc fixes re special mode-class.
1859
0835f01e
GM
1860 * subr.el (eval-after-load): If named feature is provided not from
1861 a file, run after-load forms. (Bug#10946)
1862
c7e73d51
GM
1863 * calendar/calendar.el (calendar-insert-at-column):
1864 Handle non-unit-width characters a bit better. (Bug#10978)
1865
3f2eafd1
CY
18662012-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
103af3fe
SM
18742012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1875
663b1677
SM
1876 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1877 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1878
103af3fe
SM
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
899cb7cb
KY
18832012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1884
1885 * mail/sendmail.el (mail-encode-header):
1886 Bind rfc2047-encode-encoded-words to nil.
1887
3809f91d
GM
18882012-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
9e345a01
LL
18932012-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
4a07df36
KS
18982012-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
4aaa9356
TL
19042012-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
225979da
SM
19112012-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
e2f1fdab
LL
19182012-03-12 Leo Liu <sdl.web@gmail.com>
1919
dc9924b8 1920 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1921 (kill-do-not-save-duplicates): Doc fix.
1922
b19490ed
SM
19232012-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
4b05d722
KH
19292012-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
dbbc2e69
SM
19362012-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
292112ed
CY
19422012-03-12 Chong Yidong <cyd@gnu.org>
1943
5d1ac394
CY
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
292112ed
CY
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
4098f8f7
CS
19532012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1954
1955 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1956
8f754691
MA
19572012-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
e29ab36b
AS
19632012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1964
dbbc2e69
SM
1965 * server.el (server-eval-at): Handle non-tcp connections.
1966 Decode result string.
ad0bf5b6 1967
e29ab36b
AS
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
de5939ba
CS
19742012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1975
1976 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1977 (Bug#10987).
1978
0c93eabf
CY
19792012-03-11 Chong Yidong <cyd@gnu.org>
1980
397a688f
CY
1981 * simple.el (goto-line): Doc fix (Bug#9938).
1982
2cc775f9
CY
1983 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1984
0c93eabf
CY
1985 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1986 when finished (Bug#10963).
1987
c491fa41
MR
19882012-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
300e8fa5
JL
19932012-03-11 Juri Linkov <juri@jurta.org>
1994
1995 * replace.el (replace-highlight): Set isearch-word to nil
1996 unconditionally. (Bug#10887)
1997
dbf6c5a1
EZ
19982012-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
dc9924b8 2002 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2003 (mairix-widget-create-query): Add usage information about mairix
2004 search forms: negating words, searching for substrings, etc.
2005
b9e501de
JP
20062012-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
92795c91
RS
20112012-03-10 Richard Stallman <rms@gnu.org>
2012
1694e6c1
RS
2013 * mail/sendmail.el (mail-encode-header):
2014 Set rfc2047-encode-encoded-words.
2015
607e8555
RS
2016 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2017
de3bc99a
RS
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
92795c91
RS
2023 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2024
699bd04e
CY
20252012-03-10 Chong Yidong <cyd@gnu.org>
2026
2027 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2028 * emulation/cua-base.el (cua--init-keymaps):
2029 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2030
570a1714
MR
20312012-03-10 Martin Rudalics <rudalics@gmx.at>
2032
dbbc2e69
SM
2033 * speedbar.el (speedbar-unhighlight-one-tag-line):
2034 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2035
82dcf4e4
CY
20362012-03-10 Chong Yidong <cyd@gnu.org>
2037
7a2c7ca7
CY
2038 * minibuffer.el (completion-in-region, completion-help-at-point):
2039 Give the completion field overlay a high priority (Bug#6830).
2040
82dcf4e4
CY
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
052e28ac
MA
20462012-03-09 Michael Albinus <michael.albinus@gmx.de>
2047
75f1671a 2048 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2049 there are no properties.
2050
95d5e396
LL
20512012-03-09 Leo Liu <sdl.web@gmail.com>
2052
2053 * savehist.el (savehist-printable): Stricter check for string
2054 value (Bug#10937).
2055
3f018d6d
EZ
20562012-03-09 Eli Zaretskii <eliz@gnu.org>
2057
dbbc2e69
SM
2058 * mail/smtpmail.el (smtpmail-send-it):
2059 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2060 valid mbox format.
2061
f7fd3d79
GM
20622012-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
6ff6e72f
EZ
20682012-03-08 Eli Zaretskii <eliz@gnu.org>
2069
dbbc2e69
SM
2070 * international/quail.el (quail-insert-kbd-layout):
2071 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
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
9cec7834
AM
20762012-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
9a40b8d4
GM
20832012-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
7a08ed35
EZ
20882012-03-07 Eli Zaretskii <eliz@gnu.org>
2089
dbbc2e69
SM
2090 * international/quail.el (quail-help):
2091 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2092 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2093 for the reason.
2094
5aca4f71 20952012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
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
78e8b10a
CY
21072012-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
69481eb8
GM
21122012-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
133b8e11
KS
21182012-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
99a83064
GM
21232012-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
17798e78
TTN
21282012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2129
2130 * info.el (Info-insert-dir): Also try "dir.gz".
2131
eb182446
GM
21322012-03-06 Glenn Morris <rgm@gnu.org>
2133
8f2114ee
GM
2134 * files.el (dir-locals-find-file):
2135 Ignore non-readable or non-regular files. (Bug#10928)
2136
eb182446
GM
2137 * files.el (locate-dominating-file): Doc fix.
2138
24679323
AS
21392012-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
01d972a9
LL
21442012-03-05 Leo Liu <sdl.web@gmail.com>
2145
109aa8a9
LL
2146 * simple.el (backward-delete-char-untabify): Constrain point to
2147 field (Bug#10939).
2148
01d972a9
LL
2149 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2150
10607bea
CY
21512012-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
5dd11cfe
TH
21602012-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
c349f4e6
CY
21662012-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
e627be4c
LMI
21712012-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
ebeabff4
MA
21772012-03-04 Michael Albinus <michael.albinus@gmx.de>
2178
a41a6cf4
MA
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.
ebeabff4 2182 (top): Register for signals with wildcard service name.
a41a6cf4 2183 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2184
c1ca42b4
CY
21852012-03-04 Chong Yidong <cyd@gnu.org>
2186
dc9924b8 2187 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2188
ea16568d
GM
21892012-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
fbae4637
LMI
21952012-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
a1e7225c
LMI
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
56d093a9
AM
22062012-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.
dbbc2e69
SM
2222 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2223 Use c-state-semi-safe-place.
56d093a9 2224
dbbc2e69
SM
2225 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2226 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2227
817e5c3d
MA
22282012-03-02 Michael Albinus <michael.albinus@gmx.de>
2229
dbbc2e69
SM
2230 * jka-compr.el (jka-compr-call-process):
2231 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2232 not remote.
2233
a032a702
MA
22342012-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
99a54f21
MA
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
f6561e1f
MM
22452012-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
2d44d9cc
LL
22542012-02-29 Leo Liu <sdl.web@gmail.com>
2255
2256 * abbrev.el (define-abbrevs): Reset sys to nil.
2257
96b49301 22582012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2259
bf7f9bc5
JB
2260 * files.el (file-equal-p): Rename from `files-equal-p'.
2261 Return nil when one or both files don't exist.
96b49301 2262 (file-subdir-of-p): Now only top directory must exists,
2263 return nil if it doesn't.
bf7f9bc5
JB
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'.
96b49301 2268
44e97401
GM
22692012-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
c98c6276
CY
22902012-02-27 Chong Yidong <cyd@gnu.org>
2291
bf7f9bc5
JB
2292 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2293 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2294
c98c6276
CY
2295 * font-lock.el (font-lock-specified-p): Rename from
2296 font-lock-spec-present. Callers changed.
2297
9c62cd04 22982012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2299
bf7f9bc5
JB
2300 * emacs-lisp/package.el (package-compute-transaction):
2301 Handle holding a package version to t in package-load-list.
8ac9e529 2302
530739c9
MA
23032012-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
487915d7
AM
23082012-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
dc9924b8 2318 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2319 (font-lock-spec-present): New function.
2320
4fd96557
JB
23212012-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
9a4888c0
CY
23282012-02-26 Chong Yidong <cyd@gnu.org>
2329
07498861
CY
2330 * help-fns.el (describe-function-1): Clarify description of
2331 remapping (Bug#10844).
2332
9a4888c0
CY
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
ea8fb88d
JB
23372012-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
525795c1
JD
23432012-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
f008086f
AS
23482012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2349
2350 * calendar/parse-time.el (parse-time-string): Allow extractor to
2351 return nil.
2352
a3fcfa99
MA
23532012-02-25 Michael Albinus <michael.albinus@gmx.de>
2354
91027d08
JB
2355 * net/tramp.el (tramp-file-name-for-operation):
2356 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2357
2358 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2359 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2360 Add COPY-CONTENTS argument.
a3fcfa99 2361
67b0de11
CY
23622012-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
3c9dfce6
CY
23762012-02-25 Chong Yidong <cyd@gnu.org>
2377
1339bf43
CY
2378 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2379
3c9dfce6
CY
2380 * term/x-win.el (x-initialize-window-system): Reduce default for
2381 x-selection-timeout to 5 seconds (Bug#8869).
2382
25b2e303 23832012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2384
ec70a47d
GM
2385 * files.el (files-equal-p, file-subdir-of-p): New functions.
2386 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2387 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
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.
53a46cd0 2391 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2392
914260cd
MA
23932012-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
2cb228f7
AM
23982012-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
91027d08 2405 from font-lock-mode-internal.
2cb228f7 2406
91027d08 2407 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2408 :after-hook.
2409
8f0fde21
SM
24102012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2411
3e88618b
SM
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
8f0fde21
SM
2418 * icomplete.el (icomplete-completions): Replace last fix with a better
2419 one (bug#10850).
2420
8e911f6f
DG
24212012-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
49fe4321
GM
24262012-02-23 Glenn Morris <rgm@gnu.org>
2427
2428 * minibuffer.el (completion-category-overrides): Doc fix.
2429
b291b572
SM
24302012-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
31a9ef2e
GM
24352012-02-23 Glenn Morris <rgm@gnu.org>
2436
5e6e6794 2437 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2438 (authors-obsolete-files-regexps, authors-ignored-files)
2439 (authors-ambiguous-files, authors-renamed-files-alist):
2440 Add more entries.
2441
0bd1e074
JL
24422012-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
b617673c
JL
2447 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2448
19e9789e
JL
24492012-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
f41ce09d
AM
24552012-02-22 Alan Mackenzie <acm@muc.de>
2456
7a71b18d 2457 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2458
ac2eceee
GM
24592012-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
abd1f678
CY
24642012-02-22 Chong Yidong <cyd@gnu.org>
2465
2466 * custom.el (load-theme): Doc fix.
2467
f25aef2e
GM
24682012-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
5f8dc2ca
GM
24732012-02-21 Glenn Morris <rgm@gnu.org>
2474
6ff86ec4
GM
2475 * vc/emerge.el (emerge-defvar-local):
2476 Set `permanent-local' property rather than unused `preserved'.
2477
be3223a3 2478 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2479 (picture-mode-map): Use it. (Bug#10860)
2480 (picture-mode): Doc fix.
2481
3fe58f4f
JB
24822012-02-21 Juanma Barranquero <lekktu@gmail.com>
2483
2484 * newcomment.el (uncomment-region-default): Remove unused binding.
2485
f9a998c3
GM
24862012-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
c6029348
GM
24922012-02-20 Glenn Morris <rgm@gnu.org>
2493
2494 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2495
ab1ce9d7
LL
24962012-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
0fd40f89
CY
25012012-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
20af2394
CY
25162012-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
e23a3fbe
GM
25212012-02-18 Glenn Morris <rgm@gnu.org>
2522
b474519e
GM
2523 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2524
2525 * mail/undigest.el (unforward-rmail-message): Doc fix.
2526
e23a3fbe
GM
2527 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2528
57939ff4
EZ
25292012-02-18 Eli Zaretskii <eliz@gnu.org>
2530
2531 * international/characters.el (script-list): Sync with the latest
2532 Unicode Character Database.
2533
0c23686e
AS
25342012-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
6818b449
GM
25402012-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
0311a3fc
TH
25502012-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
eb864a71
LM
25582012-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
ee0ce425
TZ
25642012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2565
eb864a71 2566 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2567
95ddf442
GM
25682012-02-17 Glenn Morris <rgm@gnu.org>
2569
2570 * net/socks.el: Require network-stream. (Bug#10599)
2571
48dd1e39 25722012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2573
2574 * international/charprop.el:
2575 * international/uni-name.el:
2576 * international/uni-old-name.el:
2577 * international/uni-comment.el: Regenerate.
2578
d68cd087
GM
25792012-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
13932042
GM
25842012-02-15 Glenn Morris <rgm@gnu.org>
2585
2586 * shell.el (shell-delimiter-argument-list):
2587 Revert 2011-02-17 change. (Bug#8027)
2588
c3a70e2b
CY
25892012-02-15 Chong Yidong <cyd@gnu.org>
2590
60236b0d
CY
2591 * minibuffer.el (completion-at-point-functions): Doc fix.
2592
c3a70e2b
CY
2593 * custom.el (defcustom): Doc fix; note use of defvar.
2594
9f26dc24
GM
25952012-02-15 Glenn Morris <rgm@gnu.org>
2596
2597 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2598 Doc fixes.
2599
6546b134
GM
26002012-02-14 Glenn Morris <rgm@gnu.org>
2601
2602 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2603
d29b2b4c
LI
26042012-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.
835bdcba
LI
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).
d29b2b4c 2610
08dcdbc9
TZ
26112012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2612
2613 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2614
2605051a
GM
26152012-02-13 Glenn Morris <rgm@gnu.org>
2616
2617 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2618
7ee99f32
TZ
26192012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2620
2621 * net/gnutls.el (gnutls-trustfiles): New variable.
2622 (gnutls-negotiate): Use it.
2623
5f0af64f
LI
26242012-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
c14fcc95
AM
26292012-02-13 Alan Mackenzie <acm@muc.de>
2630
2631 Fix a loop in c-set-fl-decl-start.
2632
7a71b18d 2633 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2634 c-backward-syntactic-ws actually moves backwards.
2635
142b4d90
LL
26362012-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
fa9958a6
TZ
26412012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2642
dc9924b8 2643 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2644
0bc5886a
AM
26452012-02-12 Alan Mackenzie <acm@muc.de>
2646
2647 Fix infinite loop with long macros.
4d6769e1 2648 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2649
d4bd55e7
CY
26502012-02-12 Chong Yidong <cyd@gnu.org>
2651
2652 * window.el (display-buffer): Doc fix (Bug#10785).
2653
66f3fe22
GM
26542012-02-12 Glenn Morris <rgm@gnu.org>
2655
bd7da63e
GM
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
66f3fe22
GM
2660 * allout-widgets.el: Add missing license notice.
2661
3e0d2fa7
GM
26622012-02-11 Glenn Morris <rgm@gnu.org>
2663
cfecdf09
GM
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
6d216d7f
GM
2668 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2669
2bed3f04
GM
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
5fec1b8e
GM
2744 * progmodes/sql.el (sql-ansi-statement-starters)
2745 (sql-oracle-statement-starters): Add custom type.
2746
3e0d2fa7
GM
2747 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2748 (prolog-system-version): Give it a type.
2749
90b671e2
EZ
27502012-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
5eac0c02
LL
27572012-02-11 Leo Liu <sdl.web@gmail.com>
2758
2759 * progmodes/python.el (python-end-of-statement): Fix infinite
2760 loop. (Bug#10788)
2761
f82cb659
GM
27622012-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
cc26d239
LI
27672012-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
91027d08 2772 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2773 into own function for reuse by emacsbug.el.
2774
1be3ca5a
LL
27752012-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):
91027d08 2786 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2787
b011fbfe
GM
27882012-02-10 Glenn Morris <rgm@gnu.org>
2789
b2096d72
GM
2790 * textmodes/bibtex.el:
2791 Add missing :version tags for new/changed defcustoms.
2792
b011fbfe
GM
2793 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2794
4c7e65bf
LI
27952012-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
f3934f6f
SM
28012012-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
a075a2c5
GM
28092012-02-09 Glenn Morris <rgm@gnu.org>
2810
cf3aa21b
GM
2811 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2812
354998cd
GM
2813 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2814 Add :version tags.
2815
dc9924b8
SM
2816 * progmodes/compile.el (compilation-error-screen-columns)
2817 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2818
dab3703d
GM
2819 * vc/log-view.el (log-view-toggle-entry-display):
2820 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2821
3f88cd72
GM
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
d95b247d
GM
2827 * net/browse-url.el (browse-url-can-use-xdg-open)
2828 (browse-url-xdg-open): Doc fixes.
2829
a075a2c5
GM
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
ffb6157e
MR
28342012-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
e1ac4066
GM
28392012-02-08 Glenn Morris <rgm@gnu.org>
2840
34e8a2da
GM
2841 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2842 (sql-list-table): Doc fixes.
2843
b4ac6e8c
GM
2844 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2845 Comment out (does nothing).
2846
e1ac4066
GM
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
5e0d957f
EZ
28772012-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
98d7371e
AM
28832012-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
667ced3a
AM
28902012-02-07 Alan Mackenzie <acm@muc.de>
2891
eb864a71
LM
2892 * progmodes/cc-engine.el (c-forward-objc-directive):
2893 Prevent looping in "#pragma mark @implementation".
667ced3a 2894
5b77774d
MA
28952012-02-07 Michael Albinus <michael.albinus@gmx.de>
2896
2897 * notifications.el (notifications-on-closed-signal): Make `reason'
2898 optional. (Bug#10744)
2899
af008560
GM
29002012-02-07 Glenn Morris <rgm@gnu.org>
2901
60d47423
GM
2902 * emacs-lisp/easy-mmode.el (define-minor-mode):
2903 Doc fixes for the macro and the mode it defines.
2904
dd605cc4
GM
2905 * image.el (imagemagick-types-inhibit): Doc fix.
2906
af008560
GM
2907 * cus-start.el (imagemagick-render-type): Add it.
2908
5cc59a37
LI
29092012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2910
4d6769e1
JB
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.
5cc59a37 2915
9a6dd747
CY
29162012-02-06 Chong Yidong <cyd@gnu.org>
2917
2d16b285
CY
2918 * simple.el (list-processes--refresh): Delete exited processes
2919 (Bug#8094).
2920
171e9b6e
CY
2921 * comint.el (comint-next-prompt): next-single-char-property-change
2922 and prev-single-char-property-change never return nil (Bug#8657).
2923
9a6dd747
CY
2924 * custom.el (defcustom): Doc fix (Bug#9711).
2925
aa4589a7
CY
29262012-02-05 Chong Yidong <cyd@gnu.org>
2927
5c2a252f
CY
2928 * cus-edit.el (custom-variable-reset-backup): Quote the value
2929 before storing it in the customized-value property (Bug#6712).
4aab9006 2930 (custom-display): Add a customization type tag.
983b9602 2931 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2932
aa4589a7
CY
2933 * wid-edit.el (widget-field-value-get): New optional arg to
2934 suppress trailing whitespace truncation.
2935 (character): Use it (Bug#2689).
2936
1ff980ae
AS
29372012-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
03988c98
CY
29422012-02-05 Chong Yidong <cyd@gnu.org>
2943
eeb6cc88
CY
2944 * cus-edit.el (custom-variable-value-create): For mismatched
2945 types, show the current value (Bug#7600).
2946
03988c98
CY
2947 * custom.el (defcustom): Doc fix.
2948
f8cdeef0
GM
29492012-02-05 Glenn Morris <rgm@gnu.org>
2950
2951 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2952
0696d255
JB
29532012-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
34c99998
GM
29592012-02-04 Glenn Morris <rgm@gnu.org>
2960
8f05da42
GM
2961 * files.el (revert-buffer):
2962 Doc fix (mention revert-buffer-in-progress-p).
2963
f160676e
GM
2964 * emacs-lisp/ert-x.el (ert-simulate-command):
2965 Check deferred-action-list (which is obsolete) is bound.
2966
c7291ad9
GM
2967 * subr.el (with-wrapper-hook): Doc fixes.
2968
34c99998
GM
2969 * simple.el (filter-buffer-substring-functions)
2970 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2971
6283a7d3
LL
29722012-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
e96e3013
LL
29772012-02-04 Leo Liu <sdl.web@gmail.com>
2978
2979 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2980
8ded50f2
GM
29812012-02-04 Glenn Morris <rgm@gnu.org>
2982
82ff1d13
GM
2983 * image.el (image-extension-data): Add obsolete alias.
2984
987a0a16
GM
2985 * isearch.el (isearch-update): Doc fix.
2986
ea32ef46
GM
2987 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2988
8ded50f2
GM
2989 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2990
eea14f31
GM
29912012-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
12f381b7
GM
29982012-02-02 Glenn Morris <rgm@gnu.org>
2999
953cebf5
GM
3000 * server.el (server-auth-dir): Doc fix.
3001 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3002
12f381b7
GM
3003 * subr.el (run-mode-hooks): Doc fix.
3004
953a8c3b
JL
30052012-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
c5d3843c
KH
30102012-02-02 Kenichi Handa <handa@m17n.org>
3011
9f6e692e 3012 * composite.el (compose-region): Cancel previous change.
c5d3843c 3013
159462d4 30142012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3015
3016 * composite.el (compose-region, compose-string): Signal error for
3017 a null string component (Bug#6988).
3018
9f562668
CY
30192012-02-01 Chong Yidong <cyd@gnu.org>
3020
e2cef717
CY
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
9f562668
CY
3025 * frame.el (set-frame-font): Tweak meaning of third argument.
3026
9f6e692e
JB
3027 * dynamic-setting.el (font-setting-change-default-font):
3028 Use set-frame-font (Bug#9982).
9f562668 3029
781acb9f
GM
30302012-02-01 Glenn Morris <rgm@gnu.org>
3031
6035be52
GM
3032 * progmodes/compile.el (compilation-internal-error-properties):
3033 Respect compilation-first-column in the "*compilation*" buffer.
3034
781acb9f
GM
3035 * emacs-lisp/easy-mmode.el (define-minor-mode):
3036 Relax :variable's test for a named function.
3037
abbceb00
AM
30382012-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
fce3fdeb
CY
30432012-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
47893581
JB
30522012-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
e58e988a
GM
30612012-01-31 Glenn Morris <rgm@gnu.org>
3062
60dc2671 3063 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3064 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3065 Allow named functions to be used as the cdr of :variable.
e58e988a 3066
7a3f511d
GM
30672012-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
cb882333
JB
30722012-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
907201af
EZ
30892012-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
ea162670
CY
30942012-01-29 Chong Yidong <cyd@gnu.org>
3095
5b95ee8a
CY
3096 * frame.el (window-system-default-frame-alist): Doc fix.
3097
ea162670
CY
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
d6e6f4b1
SB
31012012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3102
3103 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3104
0f29fa41 31052012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3106
3107 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3108 breakpoints in files outside current directory (Bug#6098).
3109
db174434
CY
31102012-01-29 Chong Yidong <cyd@gnu.org>
3111
6b25e4e2
SE
3112 * progmodes/python.el: Require ansi-color at top-level.
3113
6df6ae42
JB
3114 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3115 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
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
e70ee681
RW
31202012-01-28 Roland Winkler <winkler@gnu.org>
3121
3122 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3123
ace88aa2
RW
31242012-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.
eb864a71
LM
3132 (bibtex-dialect): Update docstring.
3133 Add safe-local-variable predicate.
ace88aa2
RW
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
93376c5b
CY
31392012-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
4372494f
DA
31472012-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
4d4ec1f8
EZ
31522012-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
7c188927
DA
31572012-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
e0da685a
EZ
31652012-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
70550acf
PH
31722012-01-28 Phil Hagelberg <phil@hagelb.org>
3173
eb864a71
LM
3174 * emacs-lisp/package.el (package-install):
3175 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3176
0ce8e868
CY
31772012-01-28 Chong Yidong <cyd@gnu.org>
3178
cb882333
JB
3179 * emacs-lisp/package.el (package-maybe-load-descriptor):
3180 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
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
2e7f3bea
CY
31862012-01-28 Chong Yidong <cyd@gnu.org>
3187
6e9bad14
CY
3188 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3189
f823b8ca
CY
3190 * tooltip.el (tooltip-mode): Doc fix.
3191 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3192
2680c309
CY
3193 * frame.el (set-cursor-color): Doc fix (Bug#352).
3194
d7a9e63b
CY
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
2e7f3bea
CY
3198 * cus-edit.el (custom-buffer-create-internal): Fix search button
3199 action (Bug#10542).
2ae01800 3200 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3201
fc4f7a23
EW
32022012-01-27 Eduard Wiebe <usenet@pusto.de>
3203
3204 * dired.el (dired-mark-files-regexp):
3205 Include any subdirectory components. (Bug#10445)
3206
7dd37071
ML
32072012-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
a268160b
AH
32122012-01-27 Alex Harsanyi <harsanyi@mac.com>
3213
3214 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3215
e43273ef
GM
32162012-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
1edf595d
MR
32222012-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
fa8eafef
JC
32272012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3228
6df6ae42
JB
3229 * window.el (window--state-get-1, window--state-put-2):
3230 Don't save and restore the mark.
fa8eafef 3231
0b21c100
CY
32322012-01-25 Chong Yidong <cyd@gnu.org>
3233
3234 * custom.el (custom-variable-p): Doc fix.
3235
5ae1a6c8
GM
32362012-01-25 Glenn Morris <rgm@gnu.org>
3237
40047858
GM
3238 * dired.el (dired-goto-file): Handle some of the more common
3239 characters that `ls -b' escapes. (Bug#10596)
3240
5ddce96c
GM
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
5ae1a6c8
GM
3245 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3246
b559f1a9
GM
32472012-01-24 Glenn Morris <rgm@gnu.org>
3248
3249 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3250
6725d21a
JD
32512012-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
70df4bbe
GM
32602012-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
802a2ae2
ML
32662012-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
d7128bb1
ML
3271 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3272
d1a5c3b4
JB
32732012-01-23 Juanma Barranquero <lekktu@gmail.com>
3274
2724d9c7
JB
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.
d1a5c3b4 3279
a5509865
MA
32802012-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
cc6d5805
MA
32922012-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
32972012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
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
f0960428
JC
33032012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3304
cb882333
JB
3305 * windmove.el (windmove-reference-loc):
3306 Fix windmove-reference-loc miscalculation.
f0960428 3307
dd6f2a63
JB
33082012-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
7b447e9b
GM
33132012-01-21 Glenn Morris <rgm@gnu.org>
3314
117a9ea1
GM
3315 * international/mule.el (auto-coding-alist): Add .tbz.
3316
7b447e9b
GM
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
dd6e3cdd
MR
33382012-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
0d0deb38
JD
33432012-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
34a02f46
MR
33492012-01-19 Martin Rudalics <rudalics@gmx.at>
3350
3351 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3352 special state value for window-persistent-parameters.
3353 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3354 (window--state-put-2): Reset all window parameters to nil before
3355 assigning values of persistent parameters.
3356
606c44c4
AM
33572012-01-18 Alan Mackenzie <acm@muc.de>
3358
3359 Eliminate sluggishness and hangs in fontification of "semicolon
3360 deserts".
3361
cb882333
JB
3362 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3363 Change value 10000 -> 3000.
606c44c4
AM
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
f3860cea
GM
33812012-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
1db03b16
GM
33862012-01-17 Glenn Morris <rgm@gnu.org>
3387
0e6038be
GM
3388 * isearch.el (search-nonincremental-instead): Fix doc typo.
3389
1db03b16
GM
3390 * dired.el (dired-insert-directory): Handle newlines in directory name.
3391 (dired-build-subdir-alist): Unescape newlines in directory name.
3392
4cb0aa75
MA
33932012-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
1d00653d
SM
33992012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3400
3401 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3402
6a6ee00d
MR
34032012-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
97912def
MA
34122012-01-15 Michael Albinus <michael.albinus@gmx.de>
3413
3414 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3415
688070a5
EZ
34162012-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
301afadc
CY
34212012-01-14 Chong Yidong <cyd@gnu.org>
3422
3423 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3424 Fix values recognized by the cursorBlink resource.
301afadc 3425
9e5788aa
PE
34262012-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
3cdb7f5a
GM
34312012-01-14 Glenn Morris <rgm@gnu.org>
3432
3433 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3434
8c82b1b4
AM
34352012-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.)
eb864a71
LM
3443 * progmodes/cc-mode.el (c-basic-common-init):
3444 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3445
e517eda4
GM
34462012-01-13 Glenn Morris <rgm@gnu.org>
3447
1498536e
GM
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
e517eda4
GM
3452 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3453
328f984d
GM
34542012-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
2cc769a8
AM
34592012-01-11 Alan Mackenzie <acm@muc.de>
3460
3461 Fix Emacs bug #10463 - put `widen's around the critical spots.
3462
1d00653d 3463 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3464 widen around each invocation of c-state-pp-to-literal. Remove an
3465 unused let variable.
3466
e52c37fa
GM
34672012-01-11 Glenn Morris <rgm@gnu.org>
3468
3469 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3470 Doc fix.
e52c37fa 3471
96f8741e
CY
34722012-01-10 Chong Yidong <cyd@gnu.org>
3473
1d00653d
SM
3474 * net/network-stream.el (network-stream-open-starttls):
3475 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3476 response to the capability command.
3477
b09a806e
GM
34782012-01-10 Glenn Morris <rgm@gnu.org>
3479
3480 * mail/unrmail.el (unrmail): Tweak previous change.
3481
7655cb66
CY
34822012-01-09 Chong Yidong <cyd@gnu.org>
3483
3484 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3485
9d5a8f0b
AM
34862012-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
9a0115ab 34952012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3496
3497 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3498 (Bug#10401)
6bb72cbd 3499
f186bb95
LMI
35002012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3501
29232a68
LMI
3502 * faces.el (set-face-attribute): Clarify the meaning of the nil
3503 frame (bug#10294).
3504
4e5d086d
LMI
3505 * subr.el (with-selected-frame): Mention that the selected frame
3506 is restored (bug#9980).
3507
8e66aebe
LMI
3508 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3509 (bug#9759).
3510
cd394be1 3511 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3512 (password-read): Don't autoload unused function.
3513
adf4e762
JB
35142012-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
89bd9ccd
CY
35192012-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
4afee9d5
EZ
35252012-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
536aea70
GM
35332012-01-06 Glenn Morris <rgm@gnu.org>
3534
665ae865
GM
3535 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3536 has no messages. (Bug#10377)
3537
c869783d
GM
3538 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3539 than Info-edit. (Bug#10385)
3540
2bb4227e
GM
3541 * time.el (display-time-load-average, display-time-next-load-average):
3542 Doc fixes.
3543
7d5944b9
GM
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
536aea70
GM
3547 * calendar/calendar.el (calendar-mode):
3548 Locally set scroll-margin to 0. (Bug#10379)
3549
7dccca16
UM
35502012-01-06 Ulrich Mueller <ulm@gentoo.org>
3551
3552 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3553
afbb7930
GM
35542012-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
04482335
CY
35592012-01-05 Chong Yidong <cyd@gnu.org>
3560
7baca3bc
CY
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
04482335
CY
3566 * custom.el (enable-theme): Don't set custom-safe-themes.
3567
1d00653d
SM
3568 * cus-theme.el (custom-theme-merge-theme):
3569 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3570
bb5aa5d6
MM
35712012-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
04482335 3576 keywords.
6df6ae42 3577 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3578 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3579 context of original buffer. Invoke `sql-login-hook'.
3580
a7183d7c
EZ
35812012-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
a1eacd1e
LMI
35862012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3587
3588 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3589
787cdb34
CY
35902012-01-03 Chong Yidong <cyd@gnu.org>
3591
1d00653d
SM
3592 * shell.el (shell-dynamic-complete-functions):
3593 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3594 comint-filename-completion first (Bug#10417).
3595
30710442
RS
35962012-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
f75bfc33
CY
36042012-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
651e947e
EZ
36162012-01-01 Eli Zaretskii <eliz@gnu.org>
3617
1d00653d
SM
3618 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3619 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3620 libgnutls-26.dll.
3621
94d4c7dc
AS
36222011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3623
3624 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3625
8d43f3cd
EZ
36262011-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
98c8795a
MA
36312011-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
51281b32
CY
36402011-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
2170cb53
CY
36462011-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)
b81d40f0
JB
3663 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3664 Callers changed.
2170cb53
CY
3665 (gud-gdbmi-completions): New function.
3666 (gdb): Use it for generating the completion table.
3667
be8b11bb
AM
36682011-12-24 Alan Mackenzie <acm@muc.de>
3669
3670 Introduce a mechanism to widen the region used in context font
1d00653d 3671 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3672
1d00653d
SM
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).
b81d40f0 3675 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3676 functions to be run just before context (etc.) font locking.
3677
3678 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3679 New, functionality extracted from
be8b11bb 3680 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3681 (c-in-after-change-fontification): New variable.
be8b11bb
AM
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.
b81d40f0
JB
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.
be8b11bb 3689
341cf6ac
JL
36902011-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
bffcee0a
MA
36952011-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
cb5e207c
AM
37002011-12-23 Alan Mackenzie <acm@muc.de>
3701
3702 Fix unstable fontification inside templates.
3703
b81d40f0
JB
3704 * progmodes/cc-langs.el (c-before-font-lock-functions):
3705 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3706 additionally has c-set-fl-decl-start. The other languages (apart
3707 from AWK) have that as a single entry.
3708
b81d40f0
JB
3709 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3710 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3711 c-set-fl-decl-start.
3712
b81d40f0
JB
3713 * progmodes/cc-mode.el (c-common-init, c-after-change):
3714 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3715 (c-set-fl-decl-start): New function, extracted from
3716 c-font-lock-enclosing-decls and enhanced.
3717
60ff536c
JB
37182011-12-23 Juanma Barranquero <lekktu@gmail.com>
3719
3720 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3721
1c4757d6
JL
37222011-12-22 Juri Linkov <juri@jurta.org>
3723
3724 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3725
d031f2c7
CY
37262011-12-22 Chong Yidong <cyd@gnu.org>
3727
3728 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3729
bace743a
DA
37302011-12-21 Drew Adams <drew.adams@oracle.com>
3731
3732 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3733
728a1f2b
JC
37342011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3735
3736 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3737
0d373f73
TZ
37382011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3739
fec0aaa4
TZ
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.
0d373f73 3759
bc86f573
CY
37602011-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
d45ba96b
MR
37652011-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
a6198c90
CY
37702011-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
34c5fb55
VB
37802011-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
c803b2b7
JD
37862011-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.
1154d12e
JB
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.
c803b2b7 3796
9cff91f8 37972011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3798
3799 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3800 (vc-deduce-fileset): Doc fix.
99a289d9 3801
f16c898a
AS
38022011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3803
3804 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3805
763237c4
SS
38062011-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
5fc1c122
KH
38112011-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
13d49cbb
AM
38172011-12-13 Alan Mackenzie <acm@muc.de>
3818
898169a2
AM
3819 Add the switch statement to AWK Mode.
3820
7a71b18d 3821 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3822 "default" to the keywords regexp.
3823
7a71b18d 3824 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3825 expression as the rest.
1d00653d
SM
3826 (c-nonlabel-token-key): Allow string literals for AWK.
3827 Refactor for the other modes.
898169a2 3828
13d49cbb 3829 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3830 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
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.
1d00653d 3835 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3836 (c-state-literal-at): Use the above new defun.
1d00653d
SM
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.
13d49cbb
AM
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
15e0efc7
SM
38462011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3849
454592a6
MR
38502011-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
87393f26
DP
38552011-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
11636b22
JB
38642011-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
cf018193
VB
38832011-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
ee957461
CY
39002011-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
9a9e9ef0
MR
39052011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3906
3907 * window.el (other-window): Fix docstring.
3908
92a8eba5
EZ
39092011-12-10 Eli Zaretskii <eliz@gnu.org>
3910
3911 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3912 `from' or `to' address before taking its substring.
3913 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3914 encoded name is chopped in the middle of the encoded string, and
3915 thus displayed encoded.
3916
e152e577
JB
39172011-12-10 Juanma Barranquero <lekktu@gmail.com>
3918
3919 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3920
e5d84bfe
EZ
39212011-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.
b8830d28 3926 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
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
b8830d28
EZ
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:
e5d84bfe
EZ
3937 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3938
1d84e9bb
MG
39392011-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
382c953b
JB
39442011-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
39c9faef
SM
39652011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3966
98449af8
SM
3967 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3968
39c9faef
SM
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
86ed9fdc
SM
39752011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3976
3977 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3978 (bug#10116).
3979
5580f89d
GM
39802011-12-06 Glenn Morris <rgm@gnu.org>
3981
3982 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3983
28d3917c
CY
39842011-12-06 Chong Yidong <cyd@gnu.org>
3985
3986 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3987
a98edce9
JB
39882011-12-06 Juanma Barranquero <lekktu@gmail.com>
3989
3990 * textmodes/table.el (table-shorten-cell): Fix typo.
3991
e65adfac
CG
39922011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3993
3994 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3995
71cc0b74
EZ
39962011-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
315bc30d
CY
40042011-12-05 Chong Yidong <cyd@gnu.org>
4005
4006 * faces.el (read-color): Doc fix.
4007
58a70b94
GM
40082011-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
5158face
GM
40132011-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
520fca41
JB
40182011-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
5e605a2e
GM
40252011-12-03 Glenn Morris <rgm@gnu.org>
4026
4027 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4028
5c3fe83f
SM
40292011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4030
6f5e57e7
SM
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
5c3fe83f
SM
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
6bdac736
MA
40402011-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
6131ba7f
SM
40452011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4046
99c79fee
SM
4047 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4048 (bug#9160).
4049
6131ba7f
SM
4050 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4051 (bug#10191).
4052
cb0a02ea
JL
40532011-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
66e0570c
EZ
40582011-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
02b16839
JL
40632011-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
0b950688
GM
40702011-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.
e8087a76 4074 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4075
9505c3c7
SM
40762011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4079
1bbe96b2 40802011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4081
a1beca85
SM
4082 * progmodes/verilog-mode.el (verilog-pretty-expr):
4083 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
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
1bbe96b2 41102011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
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
a1beca85
SM
4126 style to each signal's assignment type, bug381.
4127 Reported by Thomas Esposito.
6288f0ca
WS
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.
a1beca85 4131 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4132 Support AUTOTIEOFF creating non-wire data types.
4133 Suggested by Jonathan Greenlaw.
6288f0ca
WS
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)
a1beca85
SM
4137 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4138 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4139 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
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
382c953b 4143 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4144 (verilog-auto-delete-trailing-whitespace):
4145 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
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)
a1beca85
SM
4159 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4160 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
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.
a1beca85
SM
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.
6288f0ca 4174 Reported by Brad Dobbie.
6288f0ca
WS
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
a1beca85
SM
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.
6288f0ca
WS
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)
a1beca85
SM
4203 (verilog-auto-wire-type, verilog-insert-definition):
4204 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
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
a1beca85
SM
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
6288f0ca
WS
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
1d00653d
SM
4219 when expanding .* in interfaces, bug320.
4220 Reported by Pierre-David Pfister.
6288f0ca 4221 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4222 name and open parenthesis, bug317.
4223 Reported by Pierre-David Pfister.
6288f0ca
WS
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
1bbe96b2
GM
42352011-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
42412011-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.
6131ba7f
SM
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
1bbe96b2
GM
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
42572011-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
c935221f
SM
42632011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4266
e70b5064
CY
42672011-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
f3af92b7
MA
42732011-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
ed472be9
CY
42782011-11-29 Chong Yidong <cyd@gnu.org>
4279
4280 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4281
24510c22
SM
42822011-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
c60c3703
EZ
42892011-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
e95def75
CY
42942011-11-28 Chong Yidong <cyd@gnu.org>
4295
4296 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4297
c3f1c606
NR
42982011-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
00db469c
EZ
43032011-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
4ad3bc2a
CY
43082011-11-24 Chong Yidong <cyd@gnu.org>
4309
4310 * window.el (display-buffer--special-action): Doc fix.
4311
e9fce1ac
JB
43122011-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
cb825e5d
GM
43232011-11-24 Glenn Morris <rgm@gnu.org>
4324
3adbe224
GM
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
321decc8
GM
4334 * net/tls.el: Fix case of "GnuTLS".
4335
420b63ad
GM
4336 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4337
cb825e5d
GM
4338 * version.el (emacs-build-system): Give it a doc-string.
4339
a0649f08
JL
43402011-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
c0bc0fd4
GM
43442011-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
20db1522
JB
43492011-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
7262a87c
MA
43662011-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
283430a1
EZ
43712011-11-23 Eli Zaretskii <eliz@gnu.org>
4372
a1beca85
SM
4373 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4374 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4375 case-insensitively.
4376
d2992a38
ML
43772011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4378
4379 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4380
50419064
GM
43812011-11-23 Glenn Morris <rgm@gnu.org>
4382
da94eca1
GM
4383 * paths.el (rmail-file-name): Reformat the doc-string so that it
4384 is picked up.
4385
9aac4de2
GM
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
8038d2d2
GM
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
f3fe222a
GM
4395 * mail/rmail.el (rmail-current-message): Doc fix.
4396
50419064
GM
4397 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4398
28109f49
SM
43992011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4402
394c65f1
GM
44032011-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
f2a0aa3a
JL
44092011-11-21 Juri Linkov <juri@jurta.org>
4410
1154d12e
JB
4411 * calc/calc.el (calc-read-key-sequence):
4412 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4413
9c34a344
LMI
44142011-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
f04a3be9
SM
44202011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4423
7978747f
SM
44242011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4425
f04a3be9
SM
4426 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4427 Use force-same-window.
7978747f 4428
fe7a3057
JB
44292011-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
24901d61
CY
44372011-11-20 Chong Yidong <cyd@gnu.org>
4438
4439 * window.el (replace-buffer-in-windows): Restore interactive spec.
4440
bac7ff22
SM
44412011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4442
24f3d7b9
SM
4443 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4444
bac7ff22
SM
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
cd1181db
JB
44512011-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
7fb18e9e
GM
44582011-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
d5a6b3ba
JL
44692011-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
e981b61f
AS
44752011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4476
1d00653d 4477 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4478
3ffbc301
JL
44792011-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
30c62133
JL
44912011-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
645ca9cf
JL
45062011-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
df754f66
JL
45132011-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
0e23d96a
EZ
45192011-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
8a6ccb66
AS
45252011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4526
4527 * language/european.el (macintosh): Define as alias for mac-roman.
4528
49ae5b39
EZ
45292011-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
c56cad4a
MR
45442011-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
cbe71af3
SM
45502011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4551
2ad52c60
SM
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
6944dbc1
SM
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
c400c4d7
SM
4565 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4566 Don't hardcode point-min==1.
4567
6dbe3e96
SM
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
cbe71af3
SM
4574 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4575
a8e1496d
GM
45762011-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
df85d315
JB
45822011-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
a0c2d0ae
MR
45982011-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.
1d00653d 4602 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4603
35c0bac8
GM
46042011-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
d0c8fc8a
MA
46092011-11-16 Michael Albinus <michael.albinus@gmx.de>
4610
d0c8fc8a
MA
4611 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4612 properties of linked files. (Bug#9879)
4613
7262a87c
MA
4614 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4615 local file name.
4616
7877f373
JB
46172011-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
10649b82
KM
46372011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4638
9d0cfcd6
GM
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.
10649b82 4642
9d0cfcd6
GM
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
8642c216 4648
58179cce
JB
46492011-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
b6f67890
MR
46622011-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.
1d00653d 4667 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4668
ce7ddba0
CY
46692011-11-16 Chong Yidong <cyd@gnu.org>
4670
4671 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4672 regexp (Bug#10033).
4673
3ae704f4
SM
46742011-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
6ad1cdde
GM
46832011-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
d20faa20
GM
46912011-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
c7015153
JB
46972011-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
45261b50
GM
47102011-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
0d26e0b6
JB
47202011-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
447f30f6
GM
47272011-11-15 Glenn Morris <rgm@gnu.org>
4728
672b871d
GM
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
f6aa5bb1
GM
4735 * term/ns-win.el (mode-line-frame-identification):
4736 Leave it alone. (Bug#10051)
4737
947cd66b
GM
4738 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4739
447f30f6
GM
4740 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4741 Handle empty buffers. (Bug#9978)
4742
0b381c7e
JB
47432011-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
71e027ac
GM
47522011-11-14 Glenn Morris <rgm@gnu.org>
4753
56632ce4
GM
4754 * progmodes/executable.el
4755 (executable-make-buffer-file-executable-if-script-p):
4756 Handle file-modes returning nil.
4757
40500957
GM
4758 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4759 message - not necessary, and causes problems. (Bug#9831)
4760
071c2340
GM
4761 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4762
d3cfca60
GM
4763 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4764
71e027ac
GM
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
89d61221
MR
47692011-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
98282f6f
GM
47762011-11-12 Glenn Morris <rgm@gnu.org>
4777
4778 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4779 (apropos-documentation): Doc fixes.
4780
40a8bdf6
JB
47812011-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
65bd19ff
SM
47862011-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
54f9154c
MR
47922011-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)
5e92ca23
MR
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.
54f9154c 4800
68cbc58b
GM
48012011-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
b2621720
GM
48062011-11-10 Glenn Morris <rgm@gnu.org>
4807
9a4de110
GM
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
b2621720
GM
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
1dce7193
SM
48182011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4819
d9ac1a1e
SM
4820 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4821 Adjust regexp for OCaml warnings.
4822
0c325082
SM
4823 * electric.el (electric-pair-post-self-insert-function): Let user
4824 turn it off buffer-locally (bug#9932).
4825
90132c14
SM
4826 * progmodes/python.el (python-beginning-of-statement):
4827 Rewrite (bug#2703).
4828
1dce7193
SM
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
c4e7c63a
JB
48342011-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
2cffd681
MR
48402011-11-09 Martin Rudalics <rudalics@gmx.at>
4841
4842 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4843 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
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
0edcba87
GM
48482011-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
4b0d61e3
SM
48532011-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
cd394be1 48592011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4860
4b0d61e3 4861 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4862 Fix incorrect use of default argument in `completing-read'.
4863
e1c2c6f2
MR
48642011-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.
b3f4a882 4869 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4870
105216ed
CY
48712011-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
0a9f9ab5
SM
48772011-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
a769dd15
GM
48872011-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
05a61ee3
SM
48922011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4893
4894 * files.el (find-file): Always use selected-window.
4895
be7f5545
MR
48962011-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
3c6702ef
ML
49132011-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
49745b39
CY
49182011-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
24300f5f
CY
49252011-11-05 Chong Yidong <cyd@gnu.org>
4926
4927 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
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.
1dce7193 4931 (window-normalize-live-window): Delete.
447f16b8
CY
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.
24300f5f 4946
89bd5ee1
EZ
49472011-11-04 Eli Zaretskii <eliz@gnu.org>
4948
53479029
EZ
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
89bd5ee1
EZ
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
bd17fdee
AM
49582011-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
acc825c5
SM
49632011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4966
1885e5b8
MR
49672011-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)
acc825c5 4971 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4972
ebe06da9
JB
49732011-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
4ee88440
MR
49792011-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
08e1d82c
AS
49842011-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
84bd6e9e
VJL
49892011-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
dba0634a
UJ
49952011-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.
db22a3c2
JB
5000 (newsticker-treeview-update, newsticker-treeview):
5001 Call newsticker--treeview-tree-update if necessary.
dba0634a 5002
3d8daefe
MR
50032011-10-30 Martin Rudalics <rudalics@gmx.at>
5004
5005 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5006 (window-iso-combinations): Remove "iso-" infix.
5007 Suggested by Chong Yidong.
3d8daefe
MR
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):
db22a3c2 5014 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5015
1bc4c3ae
SM
50162011-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.
c1e2f5fa 5030 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5031
30b65d9c
CY
50322011-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
2d197ffb
CY
50372011-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
38bb2ca8
CY
50672011-10-29 Chong Yidong <cyd@gnu.org>
5068
aa4de341
CY
5069 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5070
e1eb5385
CY
5071 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5072
5d2ece3c
CY
5073 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5074 forged Ispell output (Bug#7904).
5075
38bb2ca8
CY
5076 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5077
d0af9f77
SM
50782011-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
52bedd34
AM
50872011-10-28 Alan Mackenzie <acm@muc.de>
5088
db22a3c2 5089 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5090
7e43cfa5
AM
50912011-10-28 Alan Mackenzie <acm@muc.de>
5092
5093 Amend the handling of c-beginning/end-of-defun in nested declaration
5094 scopes.
5095
52bedd34
AM
5096 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5097 cc-langs.el. Change it to a defcustom.
7e43cfa5 5098
52bedd34
AM
5099 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5100 cc-vars.el.
7e43cfa5 5101
d0af9f77
SM
5102 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5103 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5104
52bedd34 5105 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5106 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
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
1a2ce9ee
DD
51152011-10-28 Deniz Dogan <deniz@dogan.se>
5116
5117 * net/rcirc.el (rcirc-mode): Use hard newlines.
5118
bc97a826
AM
51192011-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
52bedd34 5124 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5125
d0af9f77 5126 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5127 Recode to scan one line at a time rather than having \n and \r
58179cce 5128 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5129 (c-forward-label): Amend for virtual semicolons.
58179cce 5130 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5131
52bedd34
AM
5132 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5133 of the new C macros.
bc97a826 5134
52bedd34 5135 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
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.
bc97a826
AM
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
d0af9f77
SM
5142 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5143 Invoke c-make-macro-with-semi-re.
bc97a826 5144
52bedd34
AM
5145 * progmodes/cc-vars.el (c-macro-with-semi-re):
5146 (c-macro-names-with-semicolon): New variables.
58179cce 5147 (c-make-macro-with-semi-re): New function.
bc97a826 5148
7a6c0941
SM
51492011-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
b0c4cdcf
ML
51552011-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
ee1f1da9
SM
51592011-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
51bc5f8b
GM
51652011-10-27 Glenn Morris <rgm@gnu.org>
5166
416a2c45
GM
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
51bc5f8b
GM
5180 * files.el (set-visited-file-name): If the major-mode changed,
5181 reload the local variables. (Bug#9796)
5182
15de15c6
CY
51832011-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
ee1f1da9
SM
5188 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5189 Use change-major-mode-before-body-hook.
15de15c6
CY
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
5430d399
JB
51952011-10-26 Juanma Barranquero <lekktu@gmail.com>
5196
acc825c5 5197 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5198
ad74a69e
MA
51992011-10-26 Michael Albinus <michael.albinus@gmx.de>
5200
5201 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5202 tramp.el explicitly. (Bug#7583)
ad74a69e 5203
71d4c2a5
SM
52042011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5205
5206 * progmodes/octave-mod.el:
5207 * progmodes/octave-inf.el: Update maintainer.
5208
b1f6fa26
CY
52092011-10-26 Chong Yidong <cyd@gnu.org>
5210
5211 * subr.el (with-wrapper-hook): Rewrite doc.
5212
3f04efd6
MA
52132011-10-25 Michael Albinus <michael.albinus@gmx.de>
5214
5215 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5216 filenames "/method:foo:". (Bug#9793)
3f04efd6 5217
410488d3
SM
52182011-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
c1ebb47e
GM
52232011-10-24 Glenn Morris <rgm@gnu.org>
5224
5225 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5226
7f5c46c7
MA
52272011-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
db2440b6
JL
52322011-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
feecf435
JL
52382011-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
a3839de2
SM
52432011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5244
acc825c5
SM
5245 * progmodes/octave-inf.el (inferior-octave-mode-map):
5246 Fix C-c C-h binding.
a3839de2
SM
5247 * progmodes/octave-mod.el (octave-help): Remove.
5248
09388e76
MA
52492011-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
86c60681
CY
52582011-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
a3839de2
SM
5267 * vc/ediff-init.el (ediff-toggle-read-only-function):
5268 Use toggle-read-only.
86c60681 5269
cd5495ff
AM
52702011-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
00b77525 5275 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5276 correct faulty logical expression.
cd5495ff
AM
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
42ee24ed
MR
52812011-10-22 Martin Rudalics <rudalics@gmx.at>
5282
5283 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5284 last fix. Use window-in-direction correctly.
42ee24ed 5285
a7dee7e7
CY
52862011-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
a3839de2
SM
5290 require-final-newline; that's done in prog-mode.
5291 Suggested by Stefan Monnier.
a7dee7e7 5292
e07b9a6d
MR
52932011-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
7e1361d9
UM
53042011-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
30fcaf3a
CY
53092011-10-21 Chong Yidong <cyd@gnu.org>
5310
5311 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5312 * progmodes/vera-mode.el (vera-mode):
5313 Use mode-require-final-newline.
30fcaf3a 5314
516eddb0
GM
53152011-10-20 Glenn Morris <rgm@gnu.org>
5316
db22a3c2 5317 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5318
10d5f513
CS
53192011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5320
5321 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5322
ac6c8639
CY
53232011-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
aa42ab43
JL
53572011-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
89400f1d
SM
53622011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5365
305c07f6
MA
53662011-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
13754b54
GM
53712011-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
06e21633
CY
53762011-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
a3839de2
SM
5449 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5450 Fix autogenerated docstring.
06e21633 5451
5214e501
JL
54522011-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
195f8db9
JL
54582011-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
343a34ff
JB
54672011-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
6978a151
SM
54732011-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
6a80b297
MA
54782011-10-18 Michael Albinus <michael.albinus@gmx.de>
5479
5480 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5481
b31a5677
JK
54822011-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
80c6d77f
GM
54892011-10-18 Glenn Morris <rgm@gnu.org>
5490
5491 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5492
08b0fee8
CY
54932011-10-18 Chong Yidong <cyd@gnu.org>
5494
5495 * faces.el (cursor): Doc fix.
5496
67e729a5
CY
54972011-10-17 Chong Yidong <cyd@gnu.org>
5498
5499 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5500
343a34ff 55012011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5502
5503 * dirtrack.el (dirtrack): Support shell buffers with path
5504 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5505
0bc06380
TZ
55062011-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
8b79f3e0
SM
55112011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5512
5a7c536b
SM
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
96a8a0df
SM
5518 * minibuffer.el (completion--replace): Inherit surrounding properties
5519 (bug#114).
5520 (minibuffer-complete-and-exit): Use it.
5521
8b79f3e0
SM
5522 * comint.el (comint--table-subvert): Quote the all-completions output
5523 (bug#9160).
5524
b8f7ff0d
MR
55252011-10-17 Martin Rudalics <rudalics@gmx.at>
5526
8b79f3e0 5527 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5528
b8f7ff0d 5529 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5530 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5531 entries and separate them from frame entries.
5532
c235b555
GM
55332011-10-15 Glenn Morris <rgm@gnu.org>
5534
5535 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5536 Doc fixes.
5537
6bbfa6e1
CY
55382011-10-15 Chong Yidong <cyd@stupidchicken.com>
5539
8b79f3e0
SM
5540 * net/network-stream.el (network-stream-open-starttls):
5541 Improve detection of failure due to lack of TLS support.
ec5c990d 5542
6bbfa6e1
CY
5543 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5544 putting the input text in front and in bold.
5545
98488977
SM
55462011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5547
3d1337be
SM
5548 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5549
ee0b45e4
SM
5550 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5551 empty buffer.
5552
98488977
SM
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
186f4720
EZ
55562011-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
8b7a997c
AM
55622011-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
12587bbb
EZ
55672011-10-13 Eli Zaretskii <eliz@gnu.org>
5568
5569 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5570 character info for LRE, LRO, RLE, and RLO characters by appending
5571 an invisible PDF.
12587bbb 5572
bad41229
SM
55732011-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
28dbc92f
MA
55792011-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
e1b0b23a
SM
55962011-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
a120bde9
SM
56022011-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
7ce7717b
JL
56102011-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
c02ee9d6
GM
56162011-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
93e616fd 56212011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5622
1f190e73 5623 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5624 only in interactive use, to avoid error.
5625
af7b6078
SM
56262011-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
0563dae9
MR
56312011-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.
366ca7f3
MR
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)
9ac13c31 5641 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5642
49677495
MR
56432011-10-09 Martin Rudalics <rudalics@gmx.at>
5644
5645 * window.el (frame-auto-hide-function): Add version tag.
5646 (Bug#9699)
5647
56f2d1e1
MA
56482011-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
112a6592
LL
56532011-10-09 Leo Liu <sdl.web@gmail.com>
5654
5655 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5656 (Bug#9701)
5657
0812589b
GM
56582011-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
b2b0776e
CY
56632011-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
c557cd6b
MR
56752011-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)
235ce86f 5679 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5680
61a57ef4 56812011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5682
3a7d293b 5683 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5684
c3833279
CY
56852011-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
21ce8245
GM
56902011-10-07 Glenn Morris <rgm@gnu.org>
5691
5692 * cus-start.el (debug-on-quit): Fix custom type.
5693
6d823bb2
LMI
56942011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5695
0181e193
LMI
5696 * subr.el (define-key-after): Clarify that the function is not
5697 useful for non-menu keymaps.
5698
6d823bb2
LMI
5699 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5700
8e3459ce 57012011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5702
21ce8245 5703 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5704 in current minibuffer (Fix bug with recursive minibuffers).
5705
a1c2d21e
CY
57062011-10-06 Chong Yidong <cyd@stupidchicken.com>
5707
5708 * progmodes/gdb-mi.el (gdb): Doc fix.
5709
5a4cf282
MR
57102011-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.
c96111ea
MR
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.
5a4cf282 5721
9854542e
SM
57222011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5725
8943cfb0
GM
57262011-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
647ab967
LL
57312011-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
3ddfbced
SM
57362011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5737
5738 * mpc.el (mpc-tool-bar-map): Add labels.
5739
bdfa5dd2
GM
57402011-10-04 Glenn Morris <rgm@gnu.org>
5741
5742 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5743
0e2070b5
MR
57442011-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
3dc61a09
SM
57542011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5755
915a9b64
SM
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
3dc61a09
SM
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
8ea0a993
SB
57722011-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
8c24b7f6
SM
57772011-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
428fe61a
SM
57832011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5784
32c1fffd
SM
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
428fe61a
SM
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
9aaf2b9c
GM
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.
428fe61a 5799
04c52e2f
CY
58002011-10-01 Chong Yidong <cyd@stupidchicken.com>
5801
ce3cefcc
CY
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
04c52e2f
CY
5822 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5823 custom-safe-themes as special.
5824
79adf8c8
JD
58252011-10-01 Julien Danjou <julien@danjou.info>
5826
5827 * notifications.el (notifications-notify): Fix docstring.
5828
63bd50d3
PS
58292011-10-01 Per Starbäck <per@starback.se>
5830
5831 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5832
199e4c7e
MR
58332011-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.
cbc5ee22 5837 (Bug#9605) and (Bug#9636)
199e4c7e 5838
fe5f08dd
EZ
58392011-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
b5516bbd
MR
58452011-09-29 Martin Rudalics <rudalics@gmx.at>
5846
ccee00c0
MR
5847 * window.el (display-buffer-record-window): When WINDOW is the
5848 selected window use `point' instead of `window-point'. (Bug#9626)
5849
b5516bbd
MR
5850 * startup.el (command-line-1): Use insert-before-markers when
5851 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5852
b5516bbd
MR
5853 * help.el (help-window): Remove variable.
5854
52aa0014
GM
58552011-09-29 Glenn Morris <rgm@gnu.org>
5856
5857 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5858
df9a7357
JB
58592011-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
a8406c20
SM
58642011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5865
88d9610c
SM
5866 * simple.el (delete-trailing-whitespace): Fix last change.
5867
a5daf810
SM
5868 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5869 Don't confuse "y => 3" as the beginning of a `y' operation.
5870
a8406c20
SM
5871 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5872 object has more than 4 slots (bug#9613).
5873
a239d4e9
JB
58742011-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
693fbdb6
EZ
58802011-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
8b457e28
GM
58862011-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
85a16208
LMI
58912011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5892
5893 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5894 (bug#9615).
5895
502f9ebd
CY
58962011-09-27 Chong Yidong <cyd@stupidchicken.com>
5897
5898 * emacs-lisp/package.el (list-packages): Fix echo area message.
5899
7690bdea
LL
59002011-09-27 Leo Liu <sdl.web@gmail.com>
5901
5902 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5903
e2ee6f30
MA
59042011-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
f3f98342
TZ
59092011-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
dd7aa8dd
KH
59152011-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
3f2b07f8
KM
59222011-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
371d6a61
CY
59312011-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
2ac2721a
UJ
59362011-09-24 Ulf Jasper <ulf.jasper@web.de>
5937
5938 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
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".
2ac2721a 5943
fac7ae53
MA
59442011-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
e08b633b
RS
59492011-09-23 Richard Stallman <rms@gnu.org>
5950
e488d29c
RS
5951 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5952 distinguish start of paragraph from start of its text.
5953
19c38752
RS
5954 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5955
e08b633b
RS
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
0a39f27e
AS
59602011-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
db4e950d
SM
59652011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5966
5967 * simple.el (delete-trailing-whitespace):
5968 Document last change; simplify.
5969
eca3f3ea
PW
59702011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5971
d68e189a
PW
5972 * simple.el (delete-trailing-whitespace): Also delete
5973 extra newlines at the end of the buffer.
5974
eca3f3ea
PW
5975 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5976 (picture-newline): Use forward-line so as to ignore fields.
5977
01c157cc
SM
59782011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5979
5980 * subr.el (with-wrapper-hook): Fix edebug spec.
5981
022de23e
LMI
59822011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5983
5984 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5985 (bug#4538).
5986
91683089
MA
59872011-09-23 Michael Albinus <michael.albinus@gmx.de>
5988
eca3f3ea
PW
5989 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5990 Fix nasty bug using wrong cached values.
91683089 5991
5bdd6fa4
AM
59922011-09-23 Alan Mackenzie <acm@muc.de>
5993
5994 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5995
97adfb97
CY
59962011-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
d4ef2b50
EZ
60012011-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
72258fe5
CY
60072011-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
8f098516
RS
60192011-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
e74f1bb6
MA
60242011-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
bfeef8b6
DK
60292011-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
7e423bb8
AS
60352011-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
b4d72fcf
MR
60402011-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>.
7f80c86d
MR
6045 (special-display-popup-frame): When popping up a new frame reset
6046 its previous buffers to nil. Simplify code.
b4d72fcf 6047
a7b88dc6
MA
60482011-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
cf4eacfd
MR
60532011-09-21 Martin Rudalics <rudalics@gmx.at>
6054
eca3f3ea 6055 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6056 Call set-window-start with NOFORCE argument t.
6057 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
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
8d28cb95
SM
60702011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6071
94ab793f
SM
6072 * faces.el (face-list): Fix docstring (bug#9564).
6073
8d28cb95
SM
6074 * window.el (display-buffer--action-function-custom-type):
6075 Don't include internal functions in the Custom interface.
6076
3820edeb
JL
60772011-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
5147931d
JL
60832011-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
cf499a1a
JD
60882011-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
f84e2fe2
LM
60942011-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
78054a46
SM
61002011-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
345083b2
SM
61062011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6107
e24e27be
SM
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
345083b2
SM
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
08d355e3
LL
61162011-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
f01da43f
CY
61212011-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
b6072fa6
SM
61262011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6127
6128 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6129
443d6696
MA
61302011-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
7cc6e154
JL
61352011-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
80302a81
JL
61542011-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
46c5cf66
JL
61602011-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
d18b513b
JL
61652011-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
72753f87
JL
61722011-09-18 Juri Linkov <juri@jurta.org>
6173
6174 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6175 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6176
c9384295
JL
61772011-09-18 Juri Linkov <juri@jurta.org>
6178
1154d12e
JB
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).
c9384295 6182
d473dce8
CY
61832011-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
2176854d
JB
61882011-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
3aace4e4
CY
61952011-09-18 Chong Yidong <cyd@stupidchicken.com>
6196
c940224f
CY
6197 * woman.el (woman2-process-escapes): Don't delete unrecognized
6198 escapes (Bug#7843).
6199
3aace4e4
CY
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
710dec63
MA
62042011-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.
8d28cb95
SM
6209 Return complete remote file name. Handle "smb" case.
6210 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
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
5d5ac8ec
LMI
62262011-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
8c0f49f0
CY
62312011-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
8f1383f7
GM
62422011-09-17 Glenn Morris <rgm@gnu.org>
6243
6244 * progmodes/etags.el (complete-tag):
6245 Fix call to completion-in-region. (Bug#9526)
6246
744ba0e3
JL
62472011-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
d9bbf400
AS
62532011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6254
6255 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6256 check. (Bug#4251)
6257
8da11505
JL
62582011-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
a91adc7e
SJ
62632011-09-17 Sven Joachim <svenjoac@gmx.de>
6264
6265 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6266
064f328a
EZ
62672011-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
e69df516
SM
62742011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6275
6276 * image.el (imagemagick-register-types): Use regexp-opt.
6277
cbb0f9ab
CY
62782011-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
25322144
CY
62852011-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.
e69df516
SM
6293 (package-menu-mark-obsolete-for-deletion):
6294 Use package-menu-get-status instead of a regexp search.
25322144
CY
6295 (package-menu-get-status): Use tabulated-list-entry.
6296 (package-menu-mark-upgrades): New command.
d770725a 6297 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
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
7520339c
LMI
63032011-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.
65a046c4
LMI
6307 (smtpmail-process-filter): Update the process marker so that the
6308 "broken by peer" status message is inserted in the right place.
7520339c 6309
d3c30954
SM
63102011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6311
3fe48822
SM
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
1b8b3954
SM
6317 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6318
d3c30954
SM
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
72779976
JL
63232011-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
a0bf2bcd
CY
63312011-09-14 Chong Yidong <cyd@stupidchicken.com>
6332
17bb0a2d
CY
6333 * replace.el (occur-mode-goto-occurrence): Don't force using other
6334 window (Bug#9499).
6335
a0bf2bcd
CY
6336 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6337
f678e0b6
MR
63382011-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.
d3c30954
SM
6346 * help.el (help-window-setup): New argument help-window.
6347 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
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
8e39b2e8
GM
63522011-09-13 Glenn Morris <rgm@gnu.org>
6353
6354 * emacs-lisp/debug.el (debugger-make-xrefs):
6355 Preserve point. (Bug#9462)
6356
85e9c04b
CY
63572011-09-13 Chong Yidong <cyd@stupidchicken.com>
6358
6359 * window.el (window-deletable-p): Use next-frame.
6360
1b36ed6a
MR
63612011-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
e4769531 6365 dedication and previous buffers.
1b36ed6a
MR
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.
4d61f28d 6372 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6373
ef8ef9fb
CY
63742011-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
b2cba41e
GM
63792011-09-13 Glenn Morris <rgm@gnu.org>
6380
6381 * help.el (describe-key-briefly): Copy previous standard-output change.
6382
51553db6 63832011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6384
6385 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6386
b7556719
GM
63872011-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
64b51947
CY
63922011-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
393a301e
SM
64032011-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
fa5660f9
CY
64082011-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
4a592f66
CY
6415 * frame.el (delete-other-frames): Doc fix (Bug#276).
6416
73d56dbd
LMI
64172011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6418
6419 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6420
37ac18a3
CY
64212011-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)
393a301e
SM
6429 (customize-browse, custom-buffer-create-other-window):
6430 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
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
10195bd6
AS
64472011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6448
6449 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6450
b322f63a
LMI
64512011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6452
39d7fed6
LMI
6453 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6454 so don't mention it (bug#9301).
ba5a81f1 6455 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6456
ee0e9f11
LMI
6457 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6458 match `x', `w32' and `ns', like the manual says (bug#9029).
6459
0b1c89c1 6460 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6461 (process-kill-buffer-query-function): Mention the buffer name in
6462 the query.
0b1c89c1 6463
77549ea8
LMI
6464 * image-mode.el (image-next-line): The line parameter is mandatory
6465 (bug#9258).
6466
803ef892
LMI
6467 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6468 which can be useful (bug#9301).
6469
12980837
LMI
6470 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6471
91054f8f
LMI
6472 * subr.el (match-string): Mention that the current buffer should
6473 be the same as the search was done in (bug#9282).
6474
b322f63a
LMI
6475 * facemenu.el: Disable the remove-* commands if the mark isn't
6476 active (bug#9162).
6477
3199b96f
CY
64782011-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
393a301e
SM
6496 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6497 Use display-buffer-other-frame.
3199b96f
CY
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
8319e0bf
CY
65082011-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.
393a301e 6529 (display-buffer--maybe-same-window): Rename from
0d3ff375 6530 display-buffer-maybe-same-window.
8319e0bf 6531
919a69aa
CY
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
8319e0bf
CY
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
25173000
JL
65522011-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
056e44ef
JL
65582011-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
c3760c17
EZ
65632011-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
fece895e
RT
65742011-09-10 Reuben Thomas <rrt@sc3d.org>
6575
e69df516
SM
6576 * simple.el (count-words-region): Use buffer if there's no region
6577 (bug#9429).
fece895e 6578
5e68ce4a
JL
65792011-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
0a6b9622
AM
65852011-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
14a29deb
EZ
65902011-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
28c45130
GM
66082011-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)
69f4b618 6612 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6613
9b1c252e
MR
66142011-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
567457e3
LL
66192011-09-08 Leo Liu <sdl.web@gmail.com>
6620
6621 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6622
97f05794
JL
66232011-09-08 Juri Linkov <juri@jurta.org>
6624
6625 * progmodes/compile.el (compilation-environment): Make it
6626 a defcustom (bug#8340).
6627
8b0874b5
MR
66282011-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
5e617bc2 6633 for deleting window/frame. (Bug#9419)
8b0874b5
MR
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
5e617bc2 6637 argument t. (Bug#9456)
8b0874b5 6638
4feb6e73
CY
66392011-09-07 Chong Yidong <cyd@stupidchicken.com>
6640
6641 * help-mode.el (help-mode): Restore autoload.
6642
91ab9c13
JL
66432011-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
0527e251
JL
66542011-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
249f792c
JL
66622011-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
ff7271b9
OT
66672011-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
183fc730
LL
66722011-09-07 Leo Liu <sdl.web@gmail.com>
6673
6674 * net/rcirc.el (rcirc-mode): Conditionally initialize
6675 rcirc-input-ring.
6676
77694924
SM
66772011-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
d809b8eb
AM
66832011-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
453de99f
OG
66882011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6689
6690 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6691
90439906
JL
66922011-09-05 Juri Linkov <juri@jurta.org>
6693
6694 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6695
f62bd846
JL
66962011-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
045820ec
JL
67062011-09-05 Juri Linkov <juri@jurta.org>
6707
6708 * subr.el (y-or-n-p): Capitalize "yes".
6709
f5e29b9b
MA
67102011-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
2784c434
CY
67262011-09-03 Chong Yidong <cyd@stupidchicken.com>
6727
393a301e 6728 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
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
464cdf56
CS
67342011-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.
393a301e 6740 (python-shell-map): Remove.
464cdf56 6741
d37e5c87
DD
67422011-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
f3ada0ee
CS
67482011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6749
6750 * help.el (help-return-method): Doc fix.
6751
1f3c99ca
MR
67522011-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)
393a301e
SM
6757 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6758 Set window's previous buffers to nil.
1f3c99ca 6759
a3cf097f
EZ
67602011-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
3d03de90
LL
67662011-09-03 Leo Liu <sdl.web@gmail.com>
6767
6768 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6769
c3313451
CY
67702011-09-02 Chong Yidong <cyd@stupidchicken.com>
6771
393a301e 6772 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
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
89894cd8
CY
67872011-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.
393a301e 6799 (display-buffer-default): Delete.
89894cd8
CY
6800 (pop-to-buffer-1): Fix choice of actions.
6801
ae0bc9fb
SM
68022011-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
e9d90883
EZ
68072011-09-01 Eli Zaretskii <eliz@gnu.org>
6808
6809 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6810
437014c8
CY
68112011-09-01 Chong Yidong <cyd@stupidchicken.com>
6812
6813 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6814 (display-buffer-same-window, display-buffer-other-window):
6815 New functions.
437014c8
CY
6816 (pop-to-buffer-1): New function. Use the above.
6817 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6818 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6819
6820 * view.el (view-buffer-other-window, view-buffer-other-frame):
6821 Just use pop-to-buffer.
6822
a5e063d5
TV
68232011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6824
6825 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6826
793d32bb
WH
68272011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6828
6829 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6830
d65e4c15
RS
68312011-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
f818cd2a
MR
68392011-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)
ae0bc9fb
SM
6869 (special-display-regexps, special-display-function):
6870 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
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)
ae0bc9fb
SM
6881 (window--display-buffer-2, display-buffer-other-frame):
6882 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
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.
ae0bc9fb
SM
6894 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6895 Rewrite using Emacs 23 options.
f818cd2a 6896
5bc3b51d
MA
68972011-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)
ae0bc9fb
SM
6904 (tramp-drop-volume-letter): Simplify definition.
6905 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6906
b1a4f8e1
SM
69072011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6910 (bug#9356).
6911
5664fa7b
RT
69122011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6913
b1a4f8e1 6914 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6915
9a45d6c3
JL
69162011-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
fb87e0fb
CY
69212011-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
09ac1c2a
CS
69262011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6927
6928 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6929 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
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
7a1ff57f
CY
69352011-08-28 Chong Yidong <cyd@stupidchicken.com>
6936
6937 * server.el (server-port): Doc fix.
6938
b9696605
CY
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
ef8cdf8c
AM
69432011-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
27de4e20
DD
69522011-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
356a3681
SM
69572011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6960
3fc9b218
AM
69612011-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
538a061c
MR
69662011-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
35b1c40c
DD
69722011-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
2f6a3e79
GM
69772011-08-27 Glenn Morris <rgm@gnu.org>
6978
6979 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6980
7254299e
CY
69812011-08-26 Chong Yidong <cyd@stupidchicken.com>
6982
6983 * emacs-lisp/package.el (package-install): Call package-initialize
6984 if called interactively.
6985
f8ccf167
LL
69862011-08-26 Leo Liu <sdl.web@gmail.com>
6987
6988 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6989
3e8cd5ce
JL
69902011-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
93eb7113
JL
69952011-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
f65d1611
JL
70012011-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
f1cf7a31
JL
70062011-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
0c95fcf7
EZ
70122011-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
a2ebe600
DD
70172011-08-25 Deniz Dogan <deniz@dogan.se>
7018
7019 * net/quickurl.el: Documentation typo fixes.
7020
e4ed06f1
CY
70212011-08-25 Chong Yidong <cyd@stupidchicken.com>
7022
7023 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7024
e5f1c99e
GM
70252011-08-25 Glenn Morris <rgm@gnu.org>
7026
b2948976
GM
7027 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7028
e5f1c99e
GM
7029 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7030 (smtpmail-via-smtp): Handle nil response from smtp.
7031
f22f4808
JL
70322011-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
6a93965e
JL
70452011-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
1ed43b09
CY
70502011-08-24 Chong Yidong <cyd@stupidchicken.com>
7051
5664fa7b
RT
7052 * window.el (quit-window): Rename from quit-restore-window.
7053 Use same arglist as old quit-window.
1ed43b09
CY
7054 (frame-auto-delete): Doc fix.
7055
7056 * view.el (view-mode-exit): Use quit-window.
7057
11dcdbb2
JL
70582011-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
de62b4df
KH
70672011-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
963b492b
SM
70742011-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
93b6b5e1
SM
70822011-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
bca633fb
EZ
70872011-08-23 Eli Zaretskii <eliz@gnu.org>
7088
b177498a
EZ
7089 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7090
6df6ae42 7091 * international/uni-bidi.el: Regenerate.
bca633fb 7092
0902a04e
KH
70932011-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
3bbf23bc
MR
71112011-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
b3fd59bd
SM
71162011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7117
1802e444
SM
7118 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7119 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7120
b3fd59bd
SM
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
4eb61348
SM
71262011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7127
867cab74
SM
7128 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7129 strings and comments (bug#9333).
7130
4eb61348
SM
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
262a1439
JL
71352011-08-22 Juri Linkov <juri@jurta.org>
7136
56ee679c
JL
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
262a1439
JL
7141 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7142 to check for empty output (bug#9226).
7143
f13f86fb
CY
71442011-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
c65c9622
LMI
71502011-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.
e7f2c178 7155 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7156 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7157 probe hangs.
c65c9622 7158
23a8a5ab
CY
71592011-08-21 Chong Yidong <cyd@stupidchicken.com>
7160
ff98b2dd
CY
7161 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7162
23a8a5ab
CY
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
f5e3c598
LMI
71692011-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
a3f2468a
CY
71742011-08-21 Chong Yidong <cyd@stupidchicken.com>
7175
2c34e8da
CY
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
b3fd59bd
SM
7182 * progmodes/compile.el (compilation-error-properties):
7183 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7184 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7185 `ant' regexp.
ee31aabc 7186
a3f2468a
CY
7187 * net/browse-url.el (browse-url-firefox): Don't call
7188 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7189
8e999f70
GM
71902011-08-20 Glenn Morris <rgm@gnu.org>
7191
c21a496a
GM
7192 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7193
59ee0542
GM
7194 * tutorial.el (tutorial--default-keys): Update some default bindings.
7195
8e999f70
GM
7196 * files.el (hack-local-variables): Fully ignore case for "mode:".
7197
e3715033
AM
71982011-08-20 Alan Mackenzie <acm@muc.de>
7199
7200 Resolve invalid use of a regexp in regexp-opt.
7201
4d61f28d
JB
7202 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7203 detection for a java annotation.
e3715033 7204
4d61f28d 7205 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7206 detection for a java annotation.
7207
4d61f28d
JB
7208 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7209 handling for java.
e3715033
AM
7210 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7211
04ed2e9c
CY
72122011-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
826cee64
AM
72172011-08-20 Alan Mackenzie <acm@muc.de>
7218
58179cce 7219 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7220 such a construct. Mainly for when jit-lock etc. starts a chunk
7221 here.
7222
58179cce 7223 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7224 variable.
58179cce 7225 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
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
13009bd8
MR
72362011-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
9234ff7f
GM
72422011-08-19 Glenn Morris <rgm@gnu.org>
7243
7244 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7245 Downcase "Mode:". (Bug#9331)
9234ff7f 7246
f635daa1
CY
72472011-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
bc987f8b
JL
72562011-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
57173b96
LMI
72712011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7272
3e79eb87
LMI
7273 * mail/smtpmail.el (auth-source): Require to avoid problems with
7274 binding variables (bug#9298). Also clean up some unused
7275 autoloads.
7276
b3fd59bd
SM
7277 * net/network-stream.el (network-stream-open-starttls):
7278 Support using starttls.el without using gnutls-cli.
57173b96 7279
02b404de
JL
72802011-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
8c9177f2
MR
72852011-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
3644a0ab
DU
72912011-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
5e617bc2 73012011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7302
7303 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7304
9c4aeabf
AM
73052011-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
3a99bf64
RS
73102011-08-16 Richard Stallman <rms@gnu.org>
7311
04963aa8
RS
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
177549d0
RS
7320 * mail/rmail.el (rmail-epa-decrypt): New command.
7321
fe38beef
RS
7322 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7323 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7324 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7325 (epa-decrypt-armor-in-region): Make error message clearer.
7326
934eacb9
SM
73272011-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
d024fb4e
CY
73322011-08-14 Chong Yidong <cyd@stupidchicken.com>
7333
7334 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7335 filter groups.
de148fee
CY
7336 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7337 Fourquet (Bug#8804).
d024fb4e 7338
62f1ca49
JB
73392011-08-12 Juanma Barranquero <lekktu@gmail.com>
7340
7341 * startup.el (argi): Declare as global variable (bug#9275).
7342
9ccaaa4b
CY
73432011-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
a3dae87a
SM
73482011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7349
6cd18349
SM
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
a3dae87a
SM
7358 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7359
9d5cb631
DU
73602011-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
3e26a4a2
CY
73682011-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
a3dae87a
SM
7376 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7377 Use string-mark-left-to-right.
3e26a4a2
CY
7378 (tabulated-list-print): Recenter after moving point.
7379
ac8cf6e6
JL
73802011-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
8d96c9a4
CY
73862011-08-09 Chong Yidong <cyd@stupidchicken.com>
7387
7388 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7389 (Bug#7554).
7390
7be1c708 73912011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7392
7393 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7394 character. (Bug#6594)
7395
37e11a63
CY
73962011-08-08 Chong Yidong <cyd@stupidchicken.com>
7397
839dde57
CY
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
37e11a63
CY
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
0b4946c4
DU
74112011-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
75bfc667
JL
74242011-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
673e08bb
SM
74332011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7434
4640dd88
SM
7435 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7436 of statements and in a few more cases (bug#9183).
7437
673e08bb
SM
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
89b3f019
MR
74422011-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
640c8776
SM
74522011-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
63648a95
MA
74582011-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
b796c9b7
SM
74652011-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
2239d7d5
LMI
74702011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7471
e07dd7c3
LMI
7472 * mail/sendmail.el (sendmail-query-once): Restore the current
7473 buffer after querying (bug#9074).
7474
0e6a2bd7
LMI
7475 * dired.el (dired-flagged): Use different faces for marked and
7476 flagged files (bug#6117).
7477
ce887515
LMI
7478 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7479 (bug#4433).
7480
92f2affc
LMI
7481 * ido.el (ido-mode): Switch off the message if called
7482 non-interactively.
7483
57d5aff0
LMI
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
98cd6c18 7488 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7489 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7490 exist.
7491
b96dec83
LMI
7492 * info.el: Remove the `Info-beginning-of-buffer' function
7493 (bug#8325).
7494
b796c9b7
SM
7495 * net/network-stream.el (network-stream-open-starttls):
7496 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7497
d90e2ea0
MR
74982011-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)
b796c9b7 7504 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7505
cca09170
SM
75062011-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
027b979c
DD
75112011-08-01 Deniz Dogan <deniz@dogan.se>
7512
7513 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7514
3c7ee4f3
MA
75152011-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
2cc8e51a
JL
75212011-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
a514d856
JM
75282011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7529
7530 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7531 numeric argument to read-number (bug#9163).
a514d856 7532
8a7eddd7
MA
75332011-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
1ddd96f5
LL
75382011-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
b248a85d
AM
75462011-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
58179cce 7556 parsed as a bitfield declaration.
b248a85d 7557
b796c9b7
SM
7558 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7559 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7560 (c-punctuation-in): New function.
7561 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7562 declarations properly.
7563
68575ab0
UJ
75642011-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.
b796c9b7 7568 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7569
0f0a88b9
DD
75702011-07-25 Deniz Dogan <deniz@dogan.se>
7571
7572 * image.el (insert-image): Clarifying docstring.
7573
0b3f36df
MA
75742011-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
a9901f61
AM
75802011-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
4d61f28d 7587 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7588 "(require 'cc-langs)". Quote a form so it will evaluate at
7589 (cc-mode's) compilation time.
7590
11d074b2
MA
75912011-07-22 Michael Albinus <michael.albinus@gmx.de>
7592
7593 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7594 loading. (Bug#9114)
7595
938b94c8
MR
75962011-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
b796c9b7 7602 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7603
bfa4f190
SS
76042011-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
8ca42262
LMI
76112011-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
5db2afd2 76162011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7617
5db2afd2
RW
7618 * proced.el (proced-send-signal): For *Marked Processes* buffer
7619 put point at beginning of buffer.
7620
92e15d10
SB
76212011-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
1bfd59e5
LMI
76262011-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
f5aae37c
MR
76312011-07-19 Martin Rudalics <rudalics@gmx.at>
7632
7633 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7634 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7635 New functions.
f5aae37c
MR
7636 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7637 more accurately.
7638
bf2c1571
AM
76392011-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
b796c9b7
SM
7646 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7647 New function.
bf2c1571
AM
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
4e190b80
LMI
76552011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7656
12dc863d
LMI
7657 * image.el (put-image): Doc typo fix.
7658
a762e966
LMI
7659 * progmodes/etags.el (tags-search): Doc typo fix.
7660
4e190b80
LMI
7661 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7662 password if we get errors 550 to 554.
7663
f019fb21
LMI
76642011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7665
b796c9b7 7666 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7667
81746738
LMI
7668 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7669 indentation character (bug#6380).
7670
3ee3a1b5
LMI
7671 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7672
c82f64de
LMI
7673 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7674 to clarify what the problem is (bug#4291).
7675
f019fb21
LMI
7676 * simple.el (current-kill): Clarify what
7677 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7678 (auto-fill-mode): Document `auto-fill-function' in relation to
7679 `auto-fill-mode' (bug#2470).
f019fb21 7680
0794775d
LM
76812011-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
be39b8cc
MR
76862011-07-16 Martin Rudalics <rudalics@gmx.at>
7687
b796c9b7 7688 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7689 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7690 selected before, see discussion of (Bug#8615), (Bug#6954).
7691 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7692
6ccf7859
GM
76932011-07-15 Glenn Morris <rgm@gnu.org>
7694
7695 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7696 Respect help-form.
6ccf7859 7697
87e86684
LM
76982011-07-09 Lawrence Mitchell <wence@gmx.li>
7699
7700 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7701 (gnutls-negotiate): Use it.
7702
d6066239
LMI
77032011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7704
b796c9b7
SM
7705 * net/gnutls.el (gnutls-negotiate):
7706 Upcase `gnutls-algorithm-priority'.
d6066239 7707
bd23ebc0
GM
77082011-07-15 Glenn Morris <rgm@gnu.org>
7709
c65bca65
GM
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.
bd23ebc0 7714
478615cc
LMI
77152011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7716
7b41decb
LMI
7717 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7718 (gnutls-negotiate): Use it.
7719
dbc44fcd
LMI
7720 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7721
06789f97
LMI
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).
ab896c37 7725 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7726
c39da690
LMI
7727 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7728
3aa5f34b
LMI
7729 * international/mule-cmds.el
7730 (describe-specified-language-support): Make the error message
7731 clearer (bug#8905).
7732
4bf0979f
LMI
7733 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7734
478615cc
LMI
7735 * isearch.el (isearch-barrier): Add a doc string, since it's
7736 mentioned in a function doc string (bug#8678).
7737
75c68aa1
MR
77382011-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
a7c33da2
GM
77432011-07-15 Glenn Morris <rgm@gnu.org>
7744
7745 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7746
2f5c6024
LMI
77472011-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
0bb23927 77522011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
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.
0bb23927
EZ
7759 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7760 paragraph direction.
cce4b0a7 7761
621ef9ab
LMI
77622011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7763
d1583c48
LMI
7764 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7765 the man page name (bug#7929).
7766
6a57fb5f
LMI
7767 * image.el (put-image): Mention the `put-image' overlay property
7768 (bug#7834).
7769
d7956b14
LMI
7770 * scroll-bar.el (set-scroll-bar-mode): Mention that
7771 `scroll-bar-mode' lists the values (bug#7772).
7772
5b2d4a66
LMI
7773 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7774 command (bug#7729).
7775
7509a874
LMI
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
4fe74b19
LMI
7781 * printing.el (pr-toggle-region): Clarify the documentation
7782 slightly (bug#7493).
7783
b796c9b7
SM
7784 * time.el (display-time-update):
7785 Allow `display-time-mail-function' to return nil (bug#7158).
7786 Fix suggested by Detlev Zundel.
ab283561 7787
fc233c9d
LMI
7788 * vc/diff.el (diff): Clarify the order the file names are read
7789 (bug#7111).
7790
43f5740b
LMI
7791 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7792 the doc string (bug#7015).
7793
f2182a76
LMI
7794 * font-lock.el (font-lock-maximum-decoration): Mention what
7795 numeric levels mean (bug#6935).
7796
621ef9ab
LMI
7797 * startup.el (initial-buffer-choice): Don't mention the `none'
7798 selection, which is against policy.
7799
adc47434
MR
78002011-07-14 Martin Rudalics <rudalics@gmx.at>
7801
b796c9b7
SM
7802 * window.el (display-buffer-normalize-special):
7803 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7804
7e5bfb8f
EZ
78052011-07-14 Eli Zaretskii <eliz@gnu.org>
7806
7807 * subr.el (version<, version<=, version=): Mention "-CVS" and
7808 "-12345" alpha version numbers.
7809
27fa387a
CY
78102011-07-14 Chong Yidong <cyd@stupidchicken.com>
7811
7812 * bindings.el: Add advertised binding for set-mark-command
7813 (Bug#5772).
7814
8bdfa064
CY
78152011-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):
b796c9b7 7824 Delete.
8bdfa064 7825
5eba16a3
JB
78262011-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
15853710
LMI
78322011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7833
a28e4607
LMI
7834 * subr.el (with-silent-modifications): Clarify somewhat what the
7835 macro inhibits (bug#6525).
7836
15853710
LMI
7837 * simple.el (eval-expression): Note what it does if called
7838 interactively (bug#6495).
7839
bee0fcef
CY
78402011-07-13 Chong Yidong <cyd@stupidchicken.com>
7841
b796c9b7
SM
7842 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7843 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7844
7845 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7846 Remove switch-to-buffer.
7847
58274504
LMI
78482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7849
bd2fcc8d
LMI
7850 * files.el (make-directory): Clarify that an error will be raised
7851 if there's an error (bug#6397).
7852
0f04b32c
LMI
7853 * startup.el (initial-buffer-choice): Add `none' as a choice
7854 (bug#6234).
7855
465c5fc8
LMI
7856 * subr.el (add-hook): Clarify section about buffer-local hooks
7857 (bug#6218).
7858
58274504
LMI
7859 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7860
bead9a43
JB
78612011-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
3af98a7b
LMI
78662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7867
b796c9b7
SM
7868 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7869 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7870
6240145a
GM
78712011-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
1d8c2ccc
LMI
78772011-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
5fc4038e
CY
78822011-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
bf6012e5
DN
78872011-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
343c3b5a
LMI
78932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7894
7e9505c5
LMI
7895 * dired.el (dired-insert-set-properties): Make the doc string
7896 reflect what it does now (bug#5325).
7897
c26fdcf5
LMI
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
bb388cc5
LMI
7901 * international/mule-cmds.el (prefer-coding-system): Add an
7902 example (bug#4869).
7903
343c3b5a
LMI
7904 * progmodes/etags.el (tags-search): Document `file-list-form'
7905 (bug#4731).
7906
2a517d45
LM
79072011-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
b6c78ef2
JB
79132011-07-13 Juanma Barranquero <lekktu@gmail.com>
7914
7915 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7916 binary endings (bug#4440).
7917
1c4dd947
LMI
79182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7919
a2014063
LMI
7920 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7921 which can be pretty annoying (bug#8971).
7922
9c9c2d88
LMI
7923 * jka-compr.el (jka-compr-verbose): New variable, and use
7924 throughout (bug#8971).
7925
1c4dd947
LMI
7926 * info.el (Info-find-file): Fall back on the installation
7927 directory if we can't find the info node anywhere else.
7928
a1c9f41b
SO
79292011-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
536f3d36
LMI
79342011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7935
7152b011
LMI
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
536f3d36
LMI
7940 * progmodes/cc-vars.el: Remove (probably) misleading comment
7941 (bug#4396).
7942
460c0fba
JB
79432011-07-12 Johan Bockgård <bojohan@gnu.org>
7944
7945 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7946
7a6bda45
CY
79472011-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
c79598ef
JB
79562011-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
ff8be6ef
RW
79612011-07-12 Roland Winkler <winkler@gnu.org>
7962
b796c9b7
SM
7963 * textmodes/bibtex.el (bibtex-initialize):
7964 Use pop-to-buffer-same-window.
ff8be6ef
RW
7965 (bibtex-search-entries): Fix interactive call.
7966
296ba3ee
LMI
79672011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7968
f5242a02 7969 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7970 Fontise bytecomp Error lines more correctly (bug#2490).
7971 Fix suggested by Johan Bockgård.
f5242a02 7972
296ba3ee
LMI
7973 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7974
7975 * dired-x.el (dired-guess-default): Use `delete-dups'.
7976
f69fd0d2
CY
79772011-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
eab5dc07
LMI
79822011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7983
b796c9b7
SM
7984 * mail/sendmail.el (sendmail-query-once):
7985 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7986 emacs -Q.
7987
7988 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7989
eab5dc07
LMI
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
a1e65d42
JB
79942011-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
1d52da10
LMI
80002011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8001
be958f1d
LMI
8002 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8003
5bedb26c
LMI
8004 * cus-edit.el (custom-guess-name-alist): -alist variables should
8005 use the `alist' type (bug#3120). Suggested by Drew Adams.
8006
1d52da10
LMI
8007 * printing.el: Add documentation to all the `pr-toggle-' commands.
8008
cd394be1 80092011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
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
dcc88d8a
LMI
80142011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8015
c3de9feb
LMI
8016 * dired-x.el (dired-guess-default): Remove duplicate shell command
8017 entries (bug#2028).
8a93078b 8018 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8019 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8020
dcc88d8a
LMI
8021 * subr.el (remove-duplicates): New conveniency function.
8022
505e3645
LMI
80232011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8024
8025 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8026 (bug#1526).
8027
80282011-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
455e4fa1
BR
80342011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8035
8036 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8037
8e0bc3e9
CY
80382011-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
fa7c3228
CY
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
c0a7f300
BN
80482011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8049
b796c9b7
SM
8050 * emulation/viper-cmd.el (viper-change-state-to-vi):
8051 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8052
4dc2a129
MR
80532011-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.
b796c9b7 8058 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
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.
b796c9b7 8073 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8074 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8075 (display-buffer-in-window, display-buffer-alist-set):
8076 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8077 <tassilo@member.fsf.org>.
8078
2d43b8c9
LL
80792011-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
7f9b7c53
GM
80842011-07-09 Glenn Morris <rgm@gnu.org>
8085
8086 * subr.el (remq): Handle the empty list. (Bug#9024)
8087
f042cfd8
AS
80882011-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
856b2f11
SM
80942011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8097
afae1d68
MA
80982011-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
0757af94
SM
81032011-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
d760b731
LMI
81082011-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
cd79ce90
JL
81162011-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
14cc04aa
CY
81232011-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
0a1848ec
LMI
81282011-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
f5bd0689
CY
81342011-07-07 Chong Yidong <cyd@stupidchicken.com>
8135
538e85c6
CY
8136 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8137 (Info-read-node-name): Doc fix (Bug#1084).
8138
f5bd0689
CY
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
56ec5115
LMI
81462011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8147
f3f8e37f
LMI
8148 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8149 should cover it (bug#1281).
8150
0757af94 8151 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8152
e9fce1ac 8153 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8154 negotiation fails, then possibly try again with a non-encrypted
8155 connection (bug#9017).
8156
56ec5115
LMI
8157 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8158 be used.
8159
c2f9aec8
RS
81602011-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
ef7b981d 81682011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8169
8170 * international/characters.el (build-unicode-category-table):
8171 Delete it.
0757af94 8172 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8173
0757af94 8174 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
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.
0757af94
SM
8181 (char-code-property-description):
8182 Call unicode-property-table-internal to load a file.
c805dec0
KH
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
e14b388a
CY
82032011-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
354cf0ba
RS
82102011-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
a48868a7
LMI
82172011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8218
4906cd3d
LMI
8219 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8220 defcustom again for backwards compatibility.
8221
e0457abe
LMI
8222 * simple.el (shell-command-on-region): Fill.
8223
d67f7e1f
LMI
8224 * dired-aux.el (dired-kill-line): Add a doc string.
8225
fe204702
LMI
8226 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8227 to "\\sw\\|\\s_" (bug#358).
8228
a48868a7
LMI
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
aa8a705c
RS
82352011-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
a9a936b9
RS
8245 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8246 if ENTITY is a string.
8247
1f2b92cb
LMI
82482011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8249
f4f73198 8250 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8251 of faces when `M-C-x'-ing their definitions (bug#8378).
8252 Also clean up the code slightly.
f4f73198 8253
12b16734 8254 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8255 because that makes the colors go away.
12b16734 8256
f0691d22
LMI
8257 * mail/sendmail.el (send-mail-function): Change the default to
8258 `sendmail-query-once'.
9e87df06 8259 (sendmail-query-once): Add an autoload cookie.
f0691d22 8260
1f2b92cb
LMI
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
1cdd2a1b
MA
82672011-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
fbcc67e2
MM
82732011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8274
8275 * progmodes/sql.el: Version 3.0
0757af94 8276 (sql-product-alist): Add product :completion-object,
fbcc67e2 8277 :completion-column, and :statement attributes.
0757af94 8278 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8279 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8280 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8281 ansi keywords.
8282 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8283 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
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.
0757af94
SM
8289 (sql-mode-map): Add statement movement functions.
8290 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8291 New variable.
fbcc67e2
MM
8292 (sql-statement-regexp, sql-beginning-of-statement)
8293 (sql-end-of-statement, sql-signum): New functions.
0757af94 8294 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8295 (sql-show-sqli-buffer): Bug fix.
8296 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8297 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8298 with sql-interactive-mode.
8299 (sql-save-connection): Save buffer local settings.
0757af94 8300 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
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):
0757af94 8307 Redesign.
fbcc67e2
MM
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
d4eaeab1
GM
83212011-07-06 Glenn Morris <rgm@gnu.org>
8322
8323 * window.el (pop-to-buffer): Doc fix.
8324
322b7dab 83252011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8326
8327 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8328
322b7dab 83292011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8330
322b7dab 8331 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8332
322b7dab 8333 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8334
605dd5bf
CY
83352011-07-05 Chong Yidong <cyd@stupidchicken.com>
8336
8337 * button.el (button): Inherit from link face. Suggested by Dan
8338 Nicolaescu.
8339
7dbfa719
SM
83402011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8341
3db614b0
SM
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
7dbfa719
SM
8346 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8347 if imenu is simply not configured (bug#8941).
8348
919d884a
KM
83492011-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.
7dbfa719
SM
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
919d884a
KM
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
450a0f09
SM
83622011-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
2de69e00
RW
83692011-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)
450a0f09
SM
8381 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8382 Bind via bibtex-set-dialect.
2de69e00
RW
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.
450a0f09
SM
8388 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8389 Obey bibtex-no-opt-remove-re.
2de69e00
RW
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
2dcdbdd9
SM
83952011-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
b27640fe
JB
84062011-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
53bbe3ad
JB
84122011-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
1d3cdbc7
JD
84172011-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
9173deec
JB
84222011-07-05 Juanma Barranquero <lekktu@gmail.com>
8423
8424 * register.el (registerv-make):
8425 * window.el (window-min-height): Fix typos in docstrings.
8426
869795d6
JD
84272011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8428
9173deec 8429 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8430 Update doc string.
8431
b768cdcd
JB
84322011-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
13aa217b
KM
84382011-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
5d3385a0 8444 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
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
2dcdbdd9 8472 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8473 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8474 if there are plain-text topics pending encryption.
13aa217b
KM
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
0757af94
SM
8480 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8481 No longer provide for exemption of the current topic.
13aa217b 8482
ac89b32c
JL
84832011-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
8fa39615
SM
84922011-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
2f11b3f1
CY
84972011-07-04 Chong Yidong <cyd@stupidchicken.com>
8498
d66fef2b
CY
8499 * bindings.el: Ignore next-buffer and previous-buffer in
8500 minibuffer-local-map.
8501
2f11b3f1
CY
8502 * font-lock.el (font-lock-builtin-face): Change light background
8503 color to dark slate blue (Bug#6693).
8504
f932a347
WD
85052011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8506
8507 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8508
c8af70e1
SM
85092011-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
f158badc
LMI
85152011-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
6d95bd46
MA
85202011-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
909e6b67
MK
85382011-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
85432011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8544
c8af70e1 8545 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8546
f34755dc
PE
85472011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8548
396cec72
PE
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.
08235028 8552 (timer--time-less-p): Use time-less-p.
f34755dc 8553
56e6cc31
JB
85542011-07-04 Juanma Barranquero <lekktu@gmail.com>
8555
3abb79e5
JB
8556 * type-break.el (timep): Use the value of `float-time' to avoid a
8557 byte-compiler warning.
8558
56e6cc31
JB
8559 * server.el (server-eval-and-print): Return any result, even nil.
8560
7b9430b4
PE
85612011-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
3034e9e7
LMI
85702011-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
1485f4c0
CY
85752011-07-03 Chong Yidong <cyd@stupidchicken.com>
8576
8577 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8578 Move from faces.el.
1485f4c0
CY
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
9fa3dd45
LMI
85862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8587
c8af70e1 8588 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8589 (bug#8769).
8590
6cbbc20c
KR
85912011-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
c7f98048
LMI
85972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8598
65676592
LMI
8599 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8600 `smtpmail-via-smtp' now returns the error instead of nil.
8601
c7f98048
LMI
8602 * isearch.el (isearch-search-fun-function): Clarify the doc string
8603 (bug#8101).
8604
56e6cc31 86052011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8606
8607 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8608 unnecessary spaces (bug#8987).
8609
2b216704
LMI
86102011-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
86152011-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
36adf6ce
LMI
86202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8621
1ca0da0e
LMI
8622 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8623
fc00f69c
LMI
8624 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8625 for list)" (bug#6475).
8626
28fd8759 8627 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8628 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8629 an error (bug#6297).
8630
0dd8b6da
LMI
8631 * man.el (Man-reference-regexp): Allow matching possible
8632 word-wrapped references (bug#6289).
8633
ce1438d6
LMI
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
36adf6ce
LMI
8640 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8641
e83cc1f7
LMI
86422011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8643
8a20ca4c
LMI
8644 * custom.el (defcustom): Clarify that :set is only used in the
8645 Customize user interface (bug#6089).
8646
83319045
LMI
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
a8392169
LMI
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
e83cc1f7
LMI
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
e47ca23b
KM
86582011-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
5cf56143
LMI
86672011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8668
08549772
LMI
8669 * minibuffer.el (completion-in-region): Document PREDICATE
8670 (bug#7136).
8671
48e96771
LMI
8672 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8673 of keyword/argument pairs (bug#6904).
8674
c8af70e1
SM
8675 * replace.el (multi-occur):
8676 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8677
e17d05e2
LMI
86782011-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
063b0e45
LMI
86832011-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
28545e04
MR
86892011-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
3349e122
SM
86962011-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
d224ac83
GM
87122011-07-01 Glenn Morris <rgm@gnu.org>
8713
3de63bf8
GM
8714 * type-break.el (type-break-time-sum): Use dolist.
8715
d224ac83
GM
8716 * textmodes/flyspell.el (flyspell-word-search-backward):
8717 Replace CL function.
8718
1a1e3f32
SM
87192011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8720
fe3f64d5
SM
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
eb604e34
SM
8725 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8726 (vc-bzr-revision-completion-table): Add support for annotate and date.
8727
1a1e3f32
SM
8728 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8729 inherit from parent.
8730
5bd35902
LMI
87312011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8732
ace6c69c 8733 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8734 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8735
191e2bed
LMI
8736 * dired.el (dired-mode): Fix up the doc string as suggested by
8737 Drew Adams (bug#8817).
8738
5bd35902
LMI
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
eee8207a
TZ
87432011-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)
eb604e34 8755 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8756
36b148cf
MA
87572011-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
0bf4ba9a
MR
87632011-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
35837f51
PE
87792011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8780
d0672f86
PE
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
b9444d97
PE
8785 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8786 by using time-since and float-time.
8787
0ef923dc
PE
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
2f81380d
PE
8792 * type-break.el (type-break-time-sum): Rewrite using time-add.
8793
845b5c3e
PE
8794 * play/hanoi.el (hanoi-current-time-float): Remove.
8795 All uses replaced by float-time.
8796
ee6f1be0
PE
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
fe955043
PE
8801 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8802
5777162a
PE
8803 * calendar/timeclock.el (timeclock-seconds-to-time):
8804 Defalias to seconds-to-time, since they're the same thing.
8805
3103f8b6 8806 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8807 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8808 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8809
0e61a35f
SM
88102011-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
ddd63a1e
CY
88162011-07-01 Chong Yidong <cyd@stupidchicken.com>
8817
0e61a35f
SM
8818 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8819 Add mouse-yank-primary.
ddd63a1e 8820
055f4923
TZ
88212011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8822
8823 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8824
6a2fb145
SM
88252011-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
fd4983f2
LMI
88312011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8832
887d14ad
LMI
8833 * textmodes/flyspell.el (flyspell-word): Consider words that
8834 differ only in case as potential doublons (bug#5687).
8835
c53dc7fc
LMI
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
fd4983f2
LMI
8840 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8841 a password-like phrase.
8842
7a71b18d 88432011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8844
8845 * progmodes/cc-guess.el: New file.
8846
6a2fb145 8847 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
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
1fa280a3
LM
88552011-06-30 Lawrence Mitchell <wence@gmx.li>
8856
8857 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8858
e6597158
AM
88592011-06-30 Alan Mackenzie <acm@muc.de>
8860
1fa280a3
LM
8861 * progmodes/cc-engine.el (c-guess-continued-construct):
8862 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8863 lock is disabled. Name this case as "CASE G".
8864
68ba37fb
KM
88652011-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
887a0b34
GM
88792011-06-30 Glenn Morris <rgm@gnu.org>
8880
94b9acce
GM
8881 * w32-fns.el (w32-charset-info-alist): Declare.
8882
1d9b46d4
GM
8883 * find-dired.el (find-grep-options): Simplify.
8884
cc232200
GM
8885 * term/ns-win.el (ns-set-resource): Declare.
8886
28e77c46
GM
8887 * ses.el (row, col): Declare dynamic variables honestly.
8888
887a0b34
GM
8889 * textmodes/reftex-parse.el (index-tags): Declare.
8890
658d8eb8
CY
88912011-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
1fa280a3
LM
8897 * custom.el (load-theme): New arg NO-CONFIRM.
8898 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
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
bb617717
LMI
89042011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8905
d61bdd5d
LMI
8906 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8907 short URLs have at least one dot in them (bug #7614).
8908
bb617717
LMI
8909 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8910 nil, because using a pty is apparently too slow (bug #895).
8911
2f31f37a
LMI
89122011-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
3076b24e
GM
89172011-06-29 Glenn Morris <rgm@gnu.org>
8918
faf2a174
GM
8919 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8920
3076b24e
GM
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
5386012d
MR
89252011-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
1176868d
CY
89572011-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
20a7a65f
LMI
89632011-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
5f45cca5
MR
89682011-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
ad85fe1f
DD
89802011-06-28 Deniz Dogan <deniz@dogan.se>
8981
1fa280a3
LM
8982 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8983 Unnest `let'.
da68c4c8 8984
ad85fe1f
DD
8985 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8986 selectors (Bug#5732).
ec49bd31 8987 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8988
a08cc025
JA
89892011-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
e2b551c5
SM
89952011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8998
8982b231
KY
89992011-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
36c9fa27
J
90052011-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
d68443dc
MR
90102011-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.
d615d6d2
MR
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>.
d68443dc 9039
b6458526
VB
90402011-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
d31fd9ac
RS
90472011-06-27 Richard Stallman <rms@gnu.org>
9048
43d5bf84
RS
9049 * battery.el (battery-mode-line-limit): New variable.
9050 (battery-update): Handle it.
9051
d31fd9ac
RS
9052 * mail/rmailmm.el (rmail-mime-process-multipart):
9053 Handle truncated messages.
9054
819a6054
GM
90552011-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
cedc73f2
VB
90602011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9061
819a6054 9062 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9063 (ses--clean-!, ses--clean-_): New functions.
9064 (ses-range): Add configurability of readout order, and conversion
9065 to Calc vector.
9066
5e5d49b6
VB
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
56e6cc31 9071 * ses.el: Update cycle detection algorithm.
90ca8b49 9072 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9073 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
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)
819a6054
GM
9078 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9079 New functions.
90ca8b49
VB
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.
fac916bf 9087 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
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
2bb63e81
VB
9095 * ses.el: Fix commenting and indenting convention.
9096
c9d29fb8
SM
90972011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * bs.el (bs-cycle-next): Complete last change.
9100
d8e4b68b
JB
91012011-06-27 Drew Adams <drew.adams@oracle.com>
9102
9103 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9104
40098786
LMI
91052011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9106
c9d29fb8
SM
9107 * net/network-stream.el (network-stream-open-starttls):
9108 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9109 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9110
40098786
LMI
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
468d09d4
LMI
91152011-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
16f07dd7
CY
91282011-06-26 Chong Yidong <cyd@stupidchicken.com>
9129
88821ca0
CY
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
16f07dd7
CY
9134 * vc/vc.el (vc-revert-show-diff): Default to t.
9135
6b5ccddf
KM
91362011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9137
c9d29fb8
SM
9138 * allout-widgets.el (allout-widgets-post-command-business):
9139 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
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
c9d29fb8
SM
9143 hidden widgets can slow down cursor travel, substantially.
9144 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
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
355f2e07
MR
91522011-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
6b5ccddf
KM
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.
c9d29fb8
SM
9159 (display-buffer-normalize-specifiers):
9160 Call display-buffer-normalize-arguments.
355f2e07
MR
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
7ca8fc42
JB
91702011-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
bc312254
AS
91752011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9176
9177 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9178 (Bug#8934)
9179
2db18f3f
LMI
91802011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9181
c9d29fb8
SM
9182 * net/network-stream.el (network-stream-open-starttls):
9183 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9184 (network-stream-open-tls): Ditto.
9185
6302e0d3
LL
91862011-06-26 Leo Liu <sdl.web@gmail.com>
9187
9188 * register.el (registerv): New struct.
9189 (registerv-make): New function.
c9d29fb8
SM
9190 (jump-to-register, describe-register-1, insert-register):
9191 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9192 struct. (Bug#8415)
9193
5fdd4046
CY
91942011-06-26 Chong Yidong <cyd@stupidchicken.com>
9195
2afef60a
CY
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
5fdd4046
CY
9201 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9202
e93db24a
GM
92032011-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
eefff499
GM
92142011-06-25 Glenn Morris <rgm@gnu.org>
9215
f6ba4cc9
GM
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
16712304
GM
9223 * calendar/diary-lib.el (diary-mark-entries)
9224 (diary-mark-included-diary-files):
9225 Visit included diary-files in temp buffers.
9226
5d8e0d43
GM
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
ccf7a5d5
GM
9233 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9234 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9235
11fdef7d 92362011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9237
9238 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9239 buffer-file-type before setting its value, to avoid disastrous
eefff499 9240 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9241
74f53697
JB
92422011-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
18a4ce5e
AR
92522011-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
519d22cc
JB
92572011-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
c206f5b0
SM
92672011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9268
9269 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9270
f9ad64f3
GS
92712011-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
7d0da90e
JB
92762011-06-24 Juanma Barranquero <lekktu@gmail.com>
9277
9278 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9279
14b4e83d
RS
92802011-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
273d2baf
SM
92872011-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
56c2cc9a
RS
92922011-06-23 Richard Stallman <rms@gnu.org>
9293
9294 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9295 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
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.
56c2cc9a 9299
d59eb518
MA
93002011-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
02cfc6d6
MR
93052011-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
4e323265
LL
93152011-06-22 Leo Liu <sdl.web@gmail.com>
9316
9317 * minibuffer.el (completing-read-function)
9318 (completing-read-default): Move from minibuf.c
9319
7a70468f
RS
93202011-06-22 Richard Stallman <rms@gnu.org>
9321
50718fc2
RS
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
7a70468f
RS
9325 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9326 Copy the buffer currently showing just one message.
9327
297dde5a
RW
93282011-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
97bb1093
LMI
93382011-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
1c0f1a19
JD
93442011-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
396f7c9d
LMI
93492011-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.
ddb7ffee
LMI
9353 (smtpmail-try-auth-methods): Require user name and password from
9354 auth-source.
396f7c9d 9355
8998d1b3
MR
93562011-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>.
130e3e11 9361 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
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
4ea31e07
LMI
93672011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9368
c9d29fb8
SM
9369 * mail/smtpmail.el (smtpmail-via-smtp):
9370 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
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.
fa463103 9376 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9377
95f41d9a
LMI
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:
c9d29fb8
SM
9382 (smtpmail-auth-credentials): Remove.
9383 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9384 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9385 MAIL FROM, too.
95f41d9a 9386
c9d29fb8
SM
9387 * net/network-stream.el (network-stream-open-starttls):
9388 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9389 STARTTLS.
9390 (auth-source): Require.
9391 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9392 (network-stream-certificate): Change cert-cert to cert and
9393 cert-key to key.
4ea31e07 9394
065ec2c7
MA
93952011-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
cd93b359
DR
94002011-06-21 Tim Harper <timcharper@gmail.com>
9401
d8e4b68b
JB
9402 * term/ns-win.el (ns-initialize-window-system):
9403 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9404 resource to NO as it is not yet supported by the NS port.
9405
ae9c0411
JB
94062011-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
7f3f739f
LL
94112011-06-21 Leo Liu <sdl.web@gmail.com>
9412
9413 * subr.el (sha1): Implement sha1 using secure-hash.
9414
327c8fb1
MR
94152011-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.
c9d29fb8
SM
9428 (display-buffer-alist, display-buffer-default-specifiers):
9429 Don't make new frame unsplittable by default.
9e9de014
MR
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.
327c8fb1 9433
7cf3f556
VB
94342011-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
60a406cf
SM
94412011-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
d8e4b68b 94462011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9447
9448 * menu-bar.el: Use function variable instead of switch-to-buffer.
9449 (menu-bar-select-buffer-function): New variable.
60a406cf 9450 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9451
478d6f95
SM
94522011-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
ca530739
JD
94572011-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
bcd70d97
SM
94642011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9465
60a406cf 9466 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9467 (completion-try-completion, completion-all-completions): Compute the
9468 metadata argument if it's missing; make it optional (bug#8795).
9469
60a406cf 9470 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9471 (widget-complete): Use new :completion-function property.
9472 (widget-completions-at-point): New function.
9473 (default): Use :completion-function instead of :complete.
60a406cf
SM
9474 (widget-default-completions): Rename from widget-default-complete;
9475 Rewrite.
bcd70d97
SM
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
aebf69c8
DD
95072011-06-20 Deniz Dogan <deniz@dogan.se>
9508
9509 * net/rcirc.el: Delete trailing whitespaces once and for all.
9510
bfbbb27d
DC
95112011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9512
9513 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9514
d264a46b
CY
95152011-06-19 Chong Yidong <cyd@stupidchicken.com>
9516
4ca009e5
CY
9517 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9518
d264a46b
CY
9519 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9520
fbf5b3ce
MR
95212011-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
bcd70d97
SM
9532 display-buffer-normalize-alist.
9533 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
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.
9d89fec7
MR
9542 (window-list-no-nils, window-state-ignored-parameters)
9543 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9544 (window-state-put-1, window-state-put-2, window-state-put):
9545 New functions.
9a028c23
MR
9546 (display-buffer-normalize-options): Move special-display-p group
9547 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9548
6d10d800
CY
95492011-06-18 Chong Yidong <cyd@stupidchicken.com>
9550
6420d28b
CY
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
ddb8b596
CY
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
77080289
CY
9561 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9562
61dfb316
CY
9563 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9564 anytime existing face settings are present (Bug#8889).
9565
6d10d800
CY
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
be3fb2b8
MR
95702011-06-18 Martin Rudalics <rudalics@gmx.at>
9571
bcd70d97
SM
9572 * window.el (display-buffer-default-specifiers):
9573 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9574 pop-up-window-min-width, and another reuse-window specifier
9575 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9576 (display-buffer-normalize-specifiers-2):
9577 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
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.
28dec25a 9581 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9582
1c6d8c76
SM
95832011-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
25aef8b8
MR
95992011-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.
bcd70d97
SM
9613 (display-buffer-normalize-specifiers):
9614 Call display-buffer-normalize-specifiers-3.
25aef8b8 9615
dbad4f69
MR
96162011-06-17 Martin Rudalics <rudalics@gmx.at>
9617
9618 * window.el (same-window-p): Fix two typos introduced when
9619 adding with-no-warnings.
d1067961
MR
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.
25aef8b8
MR
9629 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9630 other window case.
dbad4f69 9631
9b9c9e3a
MR
96322011-06-16 Martin Rudalics <rudalics@gmx.at>
9633
bcd70d97
SM
9634 * window.el (display-buffer-normalize-specifiers-1):
9635 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9636 second argument of display-buffer (Bug#8865).
981d5c09
MR
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).
9c2755e9
MR
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).
67222e1d
MR
9645 (enlarge-window, shrink-window): Don't report an error when the
9646 window can't be resized as requested (Bug#8862).
9b9c9e3a 9647
2b75be67
SM
96482011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9649
9ffdd3ba
SM
9650 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9651
cb581a67
SM
9652 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9653
2b75be67
SM
9654 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9655
8c0e3589
AM
96562011-06-15 Alan Mackenzie <acm@muc.de>
9657
cb581a67
SM
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.
8c0e3589 9661
b96e6cde
LMI
96622011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9663
4bba86e6
LMI
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
2b75be67 9669 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9670 consistency with other `-live-p' functions.
9671
efdcdbf8
SM
96722011-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
c5cde042
DN
96842011-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):
50328a1b 9689 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9690 * progmodes/ld-script.el (ld-script-mode): Likewise.
9691
baa1c9ab
MR
96922011-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
c5dd5a51
CY
97002011-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
d647b7c4
GM
97062011-06-13 Glenn Morris <rgm@gnu.org>
9707
9708 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9709
9481c002
MR
97102011-06-13 Martin Rudalics <rudalics@gmx.at>
9711
357f93d2
MR
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.
2b75be67
SM
9737 (view-mode-exit): Rename second argument to EXIT-ONLY.
9738 Rewrite using quit-restore-window.
357f93d2
MR
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
9481c002
MR
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)
2b75be67
SM
9758 (display-buffer-normalize-specifiers, display-buffer-frame):
9759 New functions.
9481c002
MR
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
9db51aca
GM
97842011-06-12 Glenn Morris <rgm@gnu.org>
9785
9786 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9787 Misc simplifications.
9db51aca 9788
39cffb44
MR
97892011-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
2b75be67
SM
9795 * calendar/calendar.el (calendar-generate-window):
9796 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9797 window-safely-shrinkable-p.
9798
a8955be7
GM
97992011-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
f0d4059d
DC
98062011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9807
9808 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9809
1100a63c
CY
98102011-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
def722bf
MA
98182011-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
0a2bb1a9
GM
98232011-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
6198ccd0
MR
98282011-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.
2b75be67
SM
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.
6198ccd0
MR
9845 (window-buffer-height): New function.
9846 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9847 Rewrite using new window resize routines.
2b75be67
SM
9848 (kill-buffer-and-window, mouse-autoselect-window-select):
9849 Use ignore-errors instead of condition-case.
6198ccd0
MR
9850 (quit-window): Call delete-frame instead of delete-windows-on
9851 for the only buffer on frame.
9852
9397e56f
MR
98532011-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)
2b75be67
SM
9860 (switch-to-buffer-other-frame, display-buffer-other-frame):
9861 Move to window.el.
9397e56f
MR
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.
2b75be67
SM
9877 (previous-buffer): Move here from simple.el.
9878 Call switch-to-prev-buffer.
9397e56f
MR
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.
2b75be67
SM
9887 (switch-to-buffer): Move here from buffer.c.
9888 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9889
562dd5e9
MR
98902011-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.
2b75be67 9903 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
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.
562dd5e9
MR
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
f0da764a
GM
99192011-06-09 Glenn Morris <rgm@gnu.org>
9920
80675c21
GM
9921 * calendar/appt.el (appt-mode-line): New function.
9922 (appt-check, appt-disp-window): Use it.
9923
f0da764a
GM
9924 * files.el (hack-one-local-variable-eval-safep):
9925 Allow minor-modes with explicit +/-1 arguments.
9926
59f623b7
TZ
99272011-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
9aab8e0d
MR
99362011-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
e8b08aee
GM
99452011-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
254c37a5
AK
99502011-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
35d7dbd3
GM
99562011-06-09 Glenn Morris <rgm@gnu.org>
9957
9958 * calendar/appt.el (appt-display-message, appt-disp-window):
9959 Handle lists of appointments.
9960
387522b2
MR
99612011-06-08 Martin Rudalics <rudalics@gmx.at>
9962
2b75be67
SM
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.
387522b2
MR
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
d8e4b68b 99722011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9973
9974 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9975 Doc fix (Bug#8713).
9976
99772011-06-08 Chong Yidong <cyd@stupidchicken.com>
9978
9979 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9980
99812011-06-08 Juanma Barranquero <lekktu@gmail.com>
9982
9983 * loadhist.el (unload-feature-special-hooks):
9984 Add `comint-output-filter-functions'.
9985
0de12c52
IK
99862011-06-08 Ivan Kanis <gnu@kanis.fr>
9987
9988 * calendar/appt.el (appt-check): Move some initializations into the let.
9989
f3d1777e
MR
99902011-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
18af70d0
CY
99952011-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
2b75be67 10005 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10006 (create-animated-image): Remove unnecessary function.
10007 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10008 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10009 (image-animate-timer): Use car-safe.
10010 (image-animate-timeout): Rename argument.
10011
190b47e6
MR
100122011-06-07 Martin Rudalics <rudalics@gmx.at>
10013
10014 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
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.
a1511caf
MR
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.
190b47e6 10029
85cc1f11
MR
100302011-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)
2b75be67
SM
10041 (window-atom-check, window-side-check, window-check):
10042 New functions.
85cc1f11
MR
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
e7156492
AS
100472011-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
7e821d0d
DD
100532011-06-05 Deniz Dogan <deniz@dogan.se>
10054
10055 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10056 in last change.
10057
ac09b8a1
DD
100582011-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
34699b85
RW
100632011-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
004dedd3
RW
100692011-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
022fe7ce
RW
100782011-06-05 Roland Winkler <winkler@gnu.org>
10079
2b75be67
SM
10080 * textmodes/bibtex.el (bibtex-search-entry-globally):
10081 New variable.
022fe7ce
RW
10082 (bibtex-search-entry): Use it.
10083
b7c3692a
RW
100842011-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
8eda563d
JB
100912011-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
7dbe3dbc
CY
100962011-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
0c33dd17
MA
101012011-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
f8f91c2b
MA
101062011-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
e17d9003
SM
101242011-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
6c4cab03
DD
101302011-06-04 Deniz Dogan <deniz@dogan.se>
10131
10132 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10133 `memq' (Bug#8799).
10134
ea9fafe0
SM
101352011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10136
10137 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10138
b3e945d3
JB
101392011-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
7d520089
SM
101482011-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
a1c2400f
JB
101562011-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
2403c841
SM
101612011-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
2462470b
SM
101892011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10190
fb5b2591
SM
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
fd6fa53f
SM
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
2462470b
SM
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
108bf785
LL
102212011-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
30a23501
SM
102282011-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
bcd54f83
LMI
102402011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10241
10242 * subr.el (process-alive-p): New tiny convenience function.
10243
e227544d
SM
102442011-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
e8296fdc
HE
102492011-05-31 Helmut Eller <eller.helmut@gmail.com>
10250
4d61f28d 10251 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10252 *Backtrace* buffer when we exit with C-M-c.
10253
620c53a6
SM
102542011-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
1257e755
SM
102752011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10276
10277 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10278
3767e706
LL
102792011-05-30 Leo Liu <sdl.web@gmail.com>
10280
10281 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10282 (rcirc-print): Decode all incoming messages (bug#8744).
10283 (rcirc-decode-coding-system): Allow value nil for automatic coding
10284 system detection.
3767e706 10285
d1a5d56a
GM
102862011-06-01 Glenn Morris <rgm@gnu.org>
10287
10288 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10289
e8cbec34
CY
102902011-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
58179cce 10301 the buffer's display property (Bug#6981).
e8cbec34
CY
10302 (image-transform-properties): Doc fix.
10303
10304 * image.el (image-animate-max-time): Default to nil.
10305
159daf87
MR
103062011-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
d66c4c7c
CY
103112011-05-29 Chong Yidong <cyd@stupidchicken.com>
10312
10313 * image.el (imagemagick-types-inhibit)
10314 (imagemagick-register-types): Doc fix.
10315
80aec780
DD
103162011-05-29 Deniz Dogan <deniz@dogan.se>
10317
10318 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10319 default.
10320
1dd3c2d9
CY
103212011-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
60e56523
LL
103262011-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
2b1e1a22
KR
103342011-05-28 Kevin Ryde <user42@zip.com.au>
10335
10336 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10337
5d344e88
CY
103382011-05-28 Chong Yidong <cyd@stupidchicken.com>
10339
8e6ca83d
CY
10340 * bindings.el (help-echo): Make the initial non-indicator dash
10341 empty on graphical terminals (Bug#7295).
10342
5d344e88
CY
10343 * files.el (auto-mode-alist): Move config rule after the
10344 in-stripping one (Bug#8547).
10345
bfbbace7
CY
10346 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10347
fbeba6e2
CY
10348 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10349 setting (Bug#8740).
10350
60ed8c72
AA
103512011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10352
4ac619f0
AA
10353 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10354 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10355 (Bug#8539).
60ed8c72 10356
23db196e
CY
103572011-05-28 Chong Yidong <cyd@stupidchicken.com>
10358
10359 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10360
5012f24c
DK
103612011-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
6a639b16
GM
103682011-05-28 Glenn Morris <rgm@gnu.org>
10369
10370 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10371
d43eaf2c
CY
103722011-05-28 Chong Yidong <cyd@stupidchicken.com>
10373
5199bde1
CY
10374 * help-fns.el (describe-function-1): If the function is a derived
10375 major mode, print the parent mode.
10376
d43eaf2c
CY
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
423428a8
SM
103802011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10381
0ff8e1ba 10382 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10383 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
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
423428a8
SM
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
b74aa22b
DA
103932011-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
66e2e71d
DK
103992011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10400
10401 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10402
b1890b0f 104032011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
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.
93a1c12a
TC
10410 (avl-tree--do-enter): Add optional `updatefun' arg.
10411 Change return value.
eb95d01d 10412 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10413 (avl-tree--do-delete): Add `test' and `nilflag' args.
10414 Change return value.
eb95d01d
TC
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
3769ddcf
TC
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
eb95d01d 104312011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10432
10433 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10434
a9f737ee
CY
104352011-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
c92a1e54
KH
104432011-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
e145f188
GM
104482011-05-27 Glenn Morris <rgm@gnu.org>
10449
5ec8a862
GM
10450 * mail/emacsbug.el: Don't require url-util.
10451
4b29d9fb
GM
10452 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10453
e145f188
GM
10454 * files.el (set-auto-mode):
10455 Also respect mode: entries at the end of the file. (Bug#8586)
10456
7d15102b
GM
104572011-05-26 Glenn Morris <rgm@gnu.org>
10458
98f593b8
GM
10459 * files.el (hack-local-variables-prop-line, hack-local-variables):
10460 Downcase mode names, as seems to be traditional.
27b48e63 10461 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10462
7d15102b
GM
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
51d5b4ec
JD
104662011-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
91513f63
VB
104712011-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
4d90d6d0
DK
104782011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10479
10480 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10481
e1b90ef6
LL
104822011-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
d8e4b68b 10487 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10488
10489 * bindings.el: Provide sha1 feature.
10490
db0406bb 104912011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
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
4d90d6d0
DK
10497 buffer to the return value of select-message-coding-system.
10498 Call mail-encode-header.
b8d747b9
KH
10499
10500 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10501
db0406bb 105022011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10503
4d90d6d0
DK
10504 * mail/supercite.el (sc-default-cite-frame):
10505 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10506
eb8a5e9b
GM
105072011-05-24 Glenn Morris <rgm@gnu.org>
10508
f8630703
GM
10509 * progmodes/python.el (brm-menu): Declare.
10510
8831bbed
GM
10511 * emulation/viper.el (viper-set-hooks): Declare.
10512
eb8a5e9b
GM
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
a2a25d24
SM
105202011-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
e44e373d
SM
105572011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10558
4f91a816
SM
10559 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10560
782fc819
SM
10561 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10562 (bug#8710).
10563
e44e373d
SM
10564 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10565
381987c3
KM
105662011-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
b776bc70
VB
105722011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10573
10574 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10575 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
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
7de88b6e
KR
105882011-05-23 Kevin Ryde <user42@zip.com.au>
10589
10590 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10591 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10592 advice and passes PREDICATE.
10593
b1ef1257
SM
105942011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10595
bbca48fe
SM
10596 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10597 byte-compile-lambda if it's actually a lambda.
10598
b1ef1257
SM
10599 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10600 Fix function quoting. Use backquote better.
10601
92a9cc65
YS
106022011-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
f0fb8059
JA
106072011-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
d5b44c93
CY
106122011-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
79106a44
SM
106172011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10618
9c848d8a
SM
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
79106a44
SM
10623 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10624
88dfa756
GM
106252011-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
b7cf2c79
SM
106312011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10632
10633 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10634
3f1a8558
GM
106352011-05-21 Glenn Morris <rgm@gnu.org>
10636
7e4ccca3
GM
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
637d46ca
GM
10640 * image-mode.el (image-after-revert-hook):
10641 Redraw all frames on which the image is visible. (Bug#8567)
10642
973d955b
GM
10643 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10644
3f1a8558
GM
10645 * wid-edit.el (widget-checklist-match-inline):
10646 Fix 2011-04-19 change. (Bug#8649)
10647
96479927
SM
106482011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10649
1dcf791f
SM
10650 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10651 Also allow singlespace after single-letter capitals followed by a dot.
10652
96479927
SM
10653 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10654 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10655
35fd0881
N
106562011-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
82745640
DD
106612011-05-19 Deniz Dogan <deniz@dogan.se>
10662
10663 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10664 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10665
4a720484
GM
106662011-05-19 Glenn Morris <rgm@gnu.org>
10667
d1f21341
GM
10668 * progmodes/f90.el (f90-type-def-re):
10669 Handle "type, bind(c)". (Bug#8691)
10670
4a720484
GM
10671 * emacs-lisp/autoload.el (batch-update-autoloads):
10672 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10673
2fb0a219
MA
106742011-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
e565dd37
GM
106792011-05-18 Glenn Morris <rgm@gnu.org>
10680
c2571358 10681 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10682 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10683
e565dd37
GM
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
1d99a745
SM
107022011-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
7c1d9aa0
MA
107072011-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
3952e9d8
GM
107132011-05-17 Glenn Morris <rgm@gnu.org>
10714
2dd12e7f
GM
10715 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10716
e4157b9c
GM
10717 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10718 Replace obsolete function.
10719
8e249bbd
GM
10720 * shell.el (pcomplete-parse-arguments-function): Declare.
10721
3952e9d8
GM
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
c71a0d48 107302011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10731
c71a0d48
GM
10732 * progmodes/python.el (python-font-lock-keywords):
10733 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10734
31d55be9
SM
107352011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10736
10737 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10738
3bfacb2f
KR
107392011-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
c8e83751
CY
107502011-05-15 Chong Yidong <cyd@stupidchicken.com>
10751
5e9e35cd
CY
10752 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10753 hunk-end tags (Bug#8672).
10754
c8e83751
CY
10755 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10756 vc-annotate-show-diff-revision-at-line (Bug#8671).
10757
50b23e5a
GM
107582011-05-14 Glenn Morris <rgm@gnu.org>
10759
7210a739
GM
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)
375cb676
GM
10762 (change-log-font-lock-keywords): Also handle multiple author lines
10763 with leading tabs. (Bug#8644)
7210a739 10764
4691905a
GM
10765 * calendar/appt.el (appt-check): Rename some local variables.
10766 Some simplification/reordering.
10767
50b23e5a
GM
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.
1aa64307
GM
10773 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10774 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
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
215cda7c
BC
107802011-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)
c2571358 10790 (feedmail-spray-this-address)
215cda7c
BC
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
42c7e61e
UJ
108732011-05-13 Ulf Jasper <ulf.jasper@web.de>
10874
c2571358 10875 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10876 family from helvetica to sans.
c2571358 10877 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10878 etc/images/newsticker.
10879
c2571358 10880 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
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)
c2571358 10886 (newsticker-statistics-face): Change default family from
42c7e61e 10887 helvetica to sans.
c2571358 10888 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10889 etc/images/newsticker.
10890
5d3385a0
JB
10891 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
10892 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
10893 auto-marking.
10894
8497a297
DV
108952011-05-13 Didier Verna <didier@xemacs.org>
10896
10897 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10898 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10899 TODO entries.
8497a297
DV
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
f278f87f
SM
109122011-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
5233edd7
GM
109172011-05-13 Glenn Morris <rgm@gnu.org>
10918
5237a44f
GM
10919 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10920
8340026c 10921 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10922 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10923
5233edd7 10924 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10925 (appt-time-msg-list): Doc fix.
a5464014 10926 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10927
92d10796
AS
109282011-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
914a0ae1
SM
109332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10934
c89be45f
SM
10935 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10936
914a0ae1
SM
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
98dc3df3
GM
109422011-05-12 Glenn Morris <rgm@gnu.org>
10943
10944 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10945 (appt-check): Simplify.
10946
d2fc7e3d 109472011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10948
4d61f28d 10949 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10950 literal "/dev/null".
10951
d2fc7e3d 109522011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10953
10954 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10955 Fix typo.
10956
d2fc7e3d 109572011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10958
3f254caa
SM
10959 * progmodes/which-func.el (which-function):
10960 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10961 which might not be defined (Bug#8260).
10962
d45885f7
GM
109632011-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
488086f4
SM
109682011-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
7d3b9d44
GM
109862011-05-11 Glenn Morris <rgm@gnu.org>
10987
f64049c6
GM
10988 * newcomment.el (comment-kill): Prefix "unused" local.
10989
93c9df73
GM
10990 * term/w32console.el (get-screen-color): Declare.
10991
7d3b9d44
GM
10992 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10993 Handle symbol elements of byte-compile-initial-macro-environment.
10994
9e2dd53f
LL
109952011-05-10 Leo Liu <sdl.web@gmail.com>
10996
488086f4
SM
10997 * bookmark.el (bookmark-bmenu-mode-map):
10998 Bind bookmark-bmenu-search to `/'.
8b340240 10999
9e2dd53f 11000 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
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.
9e2dd53f 11005
79b70037
GM
110062011-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
b8f82dc1 110192011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11020 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11021
11022 * files.el (hack-one-local-variable-eval-safep):
11023 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11024
4f99f44b
GM
110252011-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
84f29e6b
JB
110332011-05-09 Juanma Barranquero <lekktu@gmail.com>
11034
11035 * misc.el: Require tabulated-list.el during compilation.
11036
9bedd73a
CY
110372011-05-09 Chong Yidong <cyd@stupidchicken.com>
11038
488086f4
SM
11039 * progmodes/compile.el (compilation-start):
11040 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11041 (compilation-filter-hook): Doc fix.
11042
797c735c
DD
110432011-05-09 Deniz Dogan <deniz@dogan.se>
11044
11045 * wdired.el: Remove outdated installation comment. Fix usage
11046 comment.
11047
5f4b1dfe
JB
110482011-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
4c44026c
CY
110552011-05-09 Chong Yidong <cyd@stupidchicken.com>
11056
488086f4
SM
11057 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11058 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11059 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11060 higher priority to avoid clobbering by gnu.
11061
027f966d
CY
110622011-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
085f5d7d
CY
110672011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11068
488086f4
SM
11069 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11070 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11071
2a86a00c
RS
11072 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11073 special file names `.' and `..' (Bug#8259).
11074
d9c54a06
CY
110752011-05-08 Chong Yidong <cyd@stupidchicken.com>
11076
488086f4
SM
11077 * progmodes/grep.el (grep-mode-font-lock-keywords):
11078 Remove buffer-changing entries.
d9c54a06
CY
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
c4662635
SM
110872011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11088
11089 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11090
b0512a1d
EZ
110912011-05-07 Eli Zaretskii <eliz@gnu.org>
11092
605c9376
EZ
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
c4662635
SM
11096 * term/w32console.el (terminal-init-w32console):
11097 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11098 background-mode. (Bug#8597)
11099
d1dc2cc2
SM
111002011-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
915d1300
GM
111092011-05-07 Glenn Morris <rgm@gnu.org>
11110
a3961c3e
GM
11111 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11112 Use let rather than let*.
11113 (timeclock-find-discrep): Remove unused local.
11114
314347b9
GM
11115 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11116
915d1300
GM
11117 * calendar/appt.el (appt-time-msg-list): Doc fix.
11118
275b59b0
NF
111192011-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
6c19f744
SM
111252011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11128 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11129
60f884b2
GM
111302011-05-06 Glenn Morris <rgm@gnu.org>
11131
5006e634
GM
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
548d0a63
GM
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
60f884b2
GM
11141 * vc/diff-mode.el (smerge-refine-subst): Declare.
11142 (diff-refine-hunk): Don't require smerge-mode when compiling.
11143
989681bb
JB
111442011-05-06 Juanma Barranquero <lekktu@gmail.com>
11145
11146 * simple.el (list-processes): Return nil as the docstring says.
11147
a6bc05e1
MA
111482011-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
23c22e9a
MA
111562011-05-05 Michael Albinus <michael.albinus@gmx.de>
11157
c4662635
SM
11158 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11159 Fix port computation bug. (Bug#8618)
23c22e9a 11160
0bff894f
GM
111612011-05-05 Glenn Morris <rgm@gnu.org>
11162
b8296902
GM
11163 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11164
1f522ce8
GM
11165 * simple.el (shell-dynamic-complete-functions)
11166 (comint-dynamic-complete-functions): Declare.
11167
cf5bee67
GM
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
0bff894f
GM
11174 * emacs-lisp/check-declare.el (check-declare-scan):
11175 Handle byte-compile-initial-macro-environment in bytecomp.el
11176
9869b3ae
SM
111772011-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
9c1d5ac5
MZ
111872011-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
455c834e
JB
111922011-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
9ed7c8cb
CY
111982011-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.
9869b3ae
SM
11204 (update-file-autoloads, update-directory-autoloads):
11205 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11206 output file (Bug#7989).
11207 (batch-update-autoloads): Doc fix.
11208
0898ca10
JB
112092011-05-04 Juanma Barranquero <lekktu@gmail.com>
11210
11211 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11212
31dfb76c
GM
112132011-05-04 Glenn Morris <rgm@gnu.org>
11214
f330b642
GM
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
31dfb76c
GM
11222 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11223 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11224
48e79d6a
TZ
112252011-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
dd5a5ee0
SM
112352011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11236
ef80fc09
SM
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
dd5a5ee0
SM
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
b7d22a83
CY
112492011-05-03 Chong Yidong <cyd@stupidchicken.com>
11250
11251 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11252
5192af46
AM
112532011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11254
11255 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11256 Use `concat' to create string for insertion.
5192af46 11257
5767d190
SM
112582011-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
bf242939
AM
112642011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11265
5767d190
SM
11266 * textmodes/ispell.el (ispell-add-per-file-word-list):
11267 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11268
25666126
LL
112692011-05-03 Leo Liu <sdl.web@gmail.com>
11270
11271 * isearch.el (isearch-yank-pop): New command.
5767d190 11272 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11273 (isearch-forward): Mention it.
11274
52d3c2d0
SM
112752011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11276
1bcace58
SM
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
52d3c2d0
SM
11282 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11283 error directly rather via storing it into `results'.
11284
35813471
LL
112852011-05-02 Leo Liu <sdl.web@gmail.com>
11286
11287 * vc/diff.el: Fix description.
11288
e793a940
LMI
112892011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11290
11291 * server.el (server-eval-at): New function.
11292
8de66e05
LMI
112932011-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
dcb79f20
AS
112992011-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
14a7fbd8
SM
113042011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11305
7eabc1be
SM
11306 * progmodes/pascal.el: Use lexical binding.
11307 (pascal-mode-map): Remove author preferences.
11308
14a7fbd8
SM
11309 * pcomplete.el (pcomplete-std-complete): Don't abuse
11310 completion-at-point.
11311
50f84510
JB
113122011-04-28 Juanma Barranquero <lekktu@gmail.com>
11313
6e087a44
JB
11314 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11315 removing code that has been dead since 1991 or so.
11316
50f84510
JB
11317 * startup.el (command-line): When warning about "_emacs", use a
11318 delayed warning to allow the user to filter it out.
11319
0ba690bd
DD
113202011-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
08abfaad
SM
113252011-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
638f053a
JB
113302011-04-28 Juanma Barranquero <lekktu@gmail.com>
11331
11332 * subr.el (display-delayed-warnings): New function.
11333 (delayed-warnings-hook): New variable.
11334
8fff8daa
SM
113352011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11336
08abfaad
SM
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
8fff8daa
SM
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
841a1577 113492011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11350
841a1577 11351 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11352 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11353 the first character in the entry. This allows for code to add its
211ec907
UJ
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
2a782793
DC
113592011-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
0438ce91
DC
113642011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11365
11366 * cus-start.el (all): Define customization for debug-on-event.
11367
841a1577 113682011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11369
11370 * subr.el (shell-quote-argument): Escape correctly under Windows.
11371
d090ed6c
SM
113722011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11373
11374 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11375
bfd31217
MA
113762011-04-25 Michael Albinus <michael.albinus@gmx.de>
11377
d090ed6c
SM
11378 * net/tramp.el (tramp-process-actions): Add POS argument.
11379 Delete region between POS and (pos).
bfd31217 11380
d090ed6c
SM
11381 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11382 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
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
e92f3bd3
SM
113902011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11391
850256b5
SM
11392 * custom.el (defcustom): Obey lexical-binding.
11393
e92f3bd3
SM
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
cd22b309
JB
114082011-04-25 Juanma Barranquero <lekktu@gmail.com>
11409
11410 * net/gnutls.el (gnutls-errorp): Declare before first use.
11411
8b492194
TZ
114122011-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
cd22b309 11416 default trustfile exists before going to use it. Add missing
5a5fa834 11417 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
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.
8f91bf93 11424 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11425
841a1577 114262011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11427
cd22b309
JB
11428 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11429 Use correct match group (bug#8438).
05842630 11430
3ba7869c
CY
114312011-04-24 Chong Yidong <cyd@stupidchicken.com>
11432
512e3ae1
CY
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
e92f3bd3
SM
11443 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11444 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11445 (vc-annotate-mode-map): Bind it to RET.
11446
7031be6d
UR
114472011-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
4ef177aa
CY
114522011-04-24 Chong Yidong <cyd@stupidchicken.com>
11453
c8d173eb
CY
11454 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11455
4ef177aa
CY
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
4ffd0d6b 114662011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11467
11468 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11469
c6c32125 11470 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11471 (mpuz-mode-map): Use mapc.
c6c32125
JB
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
58d468b4
JB
11476 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11477 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11478
6470c3c6
JB
11479 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11480
4ffd0d6b 114812011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11482
11483 * minibuffer.el (completion--do-completion): Avoid the "Next char
11484 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11485
3ad8bad0
CY
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
71d73c9c 11489 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11490 (image-toggle-display): Doc fix.
71d73c9c 11491
841a1577 114922011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11493
4ffd0d6b
GM
11494 * textmodes/page.el (what-page): Use line-number-at-pos to
11495 calculate line number (Bug#6825).
6e1dbaa9 11496
c2fb1b60
JB
114972011-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
e02f48d7
JB
115032011-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
7ede3b65
CY
116612011-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
121656e9
JB
116702011-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
80f499c7
JB
117182011-04-20 Juanma Barranquero <lekktu@gmail.com>
11719
11720 * vc/vc.el (ediff-vc-internal): Declare function.
11721
024ff170
SM
117222011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11723
c0a193ea
SM
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
2dbaa080
SM
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.
c0a193ea 11759
2dbaa080
SM
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
c79a6f38
SM
11765 * progmodes/flymake.el (flymake-start-syntax-check-process):
11766 Obey `dir'. Simplify.
11767
024ff170
SM
11768 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11769 we're in VC after all.
11770
1c6c854e
CS
117712011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11772
11773 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11774 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11775 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11776
bed7f140
SM
117772011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11778
332e62ab
SM
11779 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11780 add sanity check.
11781
bed7f140
SM
11782 * obsolete/erc-hecomplete.el: Make obsolete.
11783 * obsolete/: Standardize obsolescence info in the header.
11784
f195c582
GM
117852011-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
cb79b8c0
VJL
117912011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11792
11793 * whitespace.el: New version 13.2.1.
11794
117952011-04-20 felix <EmacsWiki> (tiny change)
11796
d8e4b68b 11797 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11798 switching between major modes on a file.
11799
602ea69d
SM
118002011-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
06b60517
JB
118062011-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'.
bd0d2ee2 11924 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
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
bd0d2ee2 11992 variable `buf'. Mark unused parameter.
06b60517
JB
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
bd0d2ee2 12194 variable `dir'. Doc fix.
06b60517
JB
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
bc4f7f3d
GM
122152011-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
16a43933
CY
122382011-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
7eed1860
SS
122442011-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
4d2d1ccd
GM
122492011-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
239da61d
GM
122552011-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
8b05752a
SM
122602011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12261
daca8ba5
SM
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
6f542485
SM
12273 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12274
037e7c3f
SM
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
8b05752a
SM
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
49093f60
JB
122842011-04-15 Juanma Barranquero <lekktu@gmail.com>
12285
12286 * loadup.el: Use `string-to-number', not `string-to-int'.
12287
b5b8e7de
SM
122882011-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
f42efeb5
MA
122962011-04-14 Michael Albinus <michael.albinus@gmx.de>
12297
49093f60
JB
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.
f42efeb5
MA
12302
12303 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12304
e240cc21
SM
123052011-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.
c2bd2ab0
SM
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
c183f693
JB
123242011-04-13 Juanma Barranquero <lekktu@gmail.com>
12325
06641a47
JB
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
c183f693
JB
12331 * image-mode.el (image-transform-set-scale):
12332 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12333
1e3b6001
G
123342011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12335
12336 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12337 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12338 Upgrades via gnutls-cli are too slow to be done opportunistically.
12339
2d6af8dd
JB
123402011-04-12 Juanma Barranquero <lekktu@gmail.com>
12341
12342 * dframe.el (dframe-current-frame): Remove spurious quote.
12343
c0749a51
GM
123442011-04-12 Glenn Morris <rgm@gnu.org>
12345
088d0d61
GM
12346 * calendar/cal-tex.el (cal-tex-end-document):
12347 Try to automatically use latin1 input if needed.
12348
c0749a51
GM
12349 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12350 Don't try to cons a mark onto an empty element.
12351
5c90fde0
LL
123522011-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
369e974d
CY
123582011-04-10 Chong Yidong <cyd@stupidchicken.com>
12359
12360 * minibuffer.el (completion-show-inline-help): New var.
12361 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12362 (minibuffer-force-complete, minibuffer-complete-word):
12363 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12364
12365 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12366 to avoid interference from inline help (Bug#5849).
12367
37f1c930
LL
123682011-04-10 Leo Liu <sdl.web@gmail.com>
12369
099c39a4
JB
12370 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12371 Fix typo.
37f1c930 12372
a32d4040
CY
123732011-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.
daca8ba5 12379 (image-transform-set-resize): Delete.
a32d4040
CY
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
099c39a4 123842011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12385
12386 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
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.
d7b89879
TH
12389 (doc-view-mode-map): Add bindings for the new functions.
12390
099c39a4 123912011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12392
4d61f28d 12393 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12394 Fix typo in docstring.
12395
3726838a
EZ
123962011-04-08 Eli Zaretskii <eliz@gnu.org>
12397
04f33f1e
EZ
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
3726838a
EZ
12404 * simple.el (list-processes): If async subprocesses are not
12405 available, error out with a clear error message.
12406
cbb59342
CY
124072011-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
e3971c44
EZ
124122011-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
12544bbe
GM
124192011-04-08 Glenn Morris <rgm@gnu.org>
12420
a1de6c6a
GM
12421 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12422
3c4671f4
GM
12423 * net/browse-url.el (browse-url-firefox):
12424 Test system-type, not system-configuration.
12425
b605679c
GM
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
56442f0c
GM
12430 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12431 (rlogin-mode-map): Initialize in the defvar.
12432 (rlogin): Use ignore-errors.
12433
12544bbe
GM
12434 * replace.el (occur-mode-map): Some fixes for menu items.
12435
eb237b0f
AH
124362011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12437
12438 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12439
7d668f2c
CY
124402011-04-06 Chong Yidong <cyd@stupidchicken.com>
12441
e67a13ab
CY
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
7d668f2c
CY
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
a83ec3c9
CY
124572011-04-06 Chong Yidong <cyd@stupidchicken.com>
12458
12459 * emacs-lisp/tabulated-list.el: New file.
12460
e91a96fe
CY
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.
daca8ba5 12469 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12470 Return insertion data instead of inserting it directly.
099c39a4
JB
12471 (package-menu-describe-package, package-menu-execute):
12472 Use tabulated-list-get-id.
e91a96fe
CY
12473 (package-menu-mark-delete, package-menu-mark-install)
12474 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12475 (package-menu-mark-obsolete-for-deletion):
12476 Use tabulated-list-put-tag.
e91a96fe
CY
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
3e214b50
JB
124872011-04-06 Juanma Barranquero <lekktu@gmail.com>
12488
12489 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12490 (after-find-file): Don't bind it.
3e214b50
JB
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
3f0f1700
GM
124982011-04-06 Glenn Morris <rgm@gnu.org>
12499
c0274801
GM
12500 * Makefile.in (AUTOGEN_VCS): New variable.
12501 (autoloads): Use $AUTOGEN_VCS.
12502
3f0f1700
GM
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
41ea9e48
CY
125072011-04-05 Chong Yidong <cyd@stupidchicken.com>
12508
12509 * minibuffer.el (completion-in-region--postch)
12510 (completion-in-region-mode): Remove unnecessary messages.
12511
6194c800
JB
125122011-04-05 Juanma Barranquero <lekktu@gmail.com>
12513
33256f14
JB
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
6194c800
JB
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):
33256f14 12533 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12534 (Info-virtual-index): Remove unused local variable `nodename'.
12535
b87a8200 125362011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12537
b87a8200
DD
12538 * net/rcirc.el: Update my e-mail address.
12539 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12540
3b2ff876
CY
125412011-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
8d17e7ca
JB
125482011-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
2fbc1934
JB
125542011-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
74f50695
DU
125722011-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
c11325f7
CY
125812011-04-03 Chong Yidong <cyd@stupidchicken.com>
12582
0d9e9a12
CY
12583 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12584
c11325f7 12585 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12586 dictionary case for flyspell-mark-duplications-exceptions.
12587 Use regexp matching for languages.
c11325f7
CY
12588 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12589 default dictionary (Bug#7926).
12590
da91b5f2
CY
125912011-04-02 Chong Yidong <cyd@stupidchicken.com>
12592
099c39a4
JB
12593 * emacs-lisp/package.el (package--with-work-buffer):
12594 Recognize https URLs.
da91b5f2 12595
099c39a4
JB
12596 * net/network-stream.el: Move from gnus/proto-stream.el.
12597 Change prefix to network-stream throughout.
da91b5f2
CY
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
afa8e9f6
GM
126032011-04-02 Glenn Morris <rgm@gnu.org>
12604
1d2e369d
GM
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
8abb7da8 12611 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12612 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12613 (find-name-arg): Remove purecopy.
8abb7da8 12614
f3ca7378
GM
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
afa8e9f6
GM
12620 * files.el (save-some-buffers): Doc fix.
12621
35eae264
EZ
126222011-04-02 Eli Zaretskii <eliz@gnu.org>
12623
12624 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12625
26b51db5
JB
126262011-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
7200d79c
SM
126312011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12632
03408648 12633 Add lexical binding.
7200d79c 12634
03408648
SM
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.
7200d79c 12644
03408648
SM
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.
f488fb65 12657
03408648
SM
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.
f488fb65 12665
03408648
SM
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):
f488fb65 12672 Use eval-sexp-add-defvars.
03408648
SM
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:
da91b5f2
CY
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:
03408648
SM
12823 * abbrev.el: Use lexical binding.
12824
0f0c1f27
EZ
128252011-04-01 Eli Zaretskii <eliz@gnu.org>
12826
12827 * info.el (info-display-manual): New function.
12828
c82b2579
SM
128292011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12830
12831 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12832
221ddf68
TH
128332011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12834
12835 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12836 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12837
cba6e77e
GM
128382011-03-31 Glenn Morris <rgm@gnu.org>
12839
e040639f
GM
12840 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12841
cba6e77e
GM
12842 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12843
6d0f1c9e
CS
128442011-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
3e2d70fd
SM
128532011-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
f3e4086c
JM
128672011-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
eb7ffc14
LL
128732011-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
d806ab68
KM
128802011-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
ea622834
LL
128932011-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
b62f8267
G
128982011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12899
03408648
SM
12900 * net/imap.el (imap-shell-open, imap-process-connection-type):
12901 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12902 Kerberos, SSL, other subprocesses.
12903
947b6566
LL
129042011-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
5ffb62aa
JD
129102011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12911
12912 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12913
7a097943
LL
129142011-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
c5b40130
LL
129202011-03-25 Leo Liu <sdl.web@gmail.com>
12921
1f48f7d2
LL
12922 * midnight.el (midnight-time-float): Remove. Note it calculates
12923 the microsecond component incorrectly and seconds-to-time does the
12924 same job.
625897ec 12925 Remove redundant (require 'timer).
1f48f7d2 12926
c5b40130
LL
12927 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12928 (ido-completions): Remove unused arguments. (Bug#8329)
12929
d86d2721
SM
129302011-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
e8974c48
DA
129442011-03-24 Drew Adams <drew.adams@oracle.com>
12945
12946 * thingatpt.el: Support `defun'.
12947
def71b5e
LL
129482011-03-23 Leo Liu <sdl.web@gmail.com>
12949
cb5af48e
LL
12950 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12951
def71b5e
LL
12952 * help-mode.el (help-mode-finish): Tweak regexp.
12953
927c53e7
GM
129542011-03-23 Glenn Morris <rgm@gnu.org>
12955
18d05bed
GM
12956 * eshell/esh-opt.el (eshell-eval-using-options):
12957 Do not bind unused local variable `eshell-option-stub'.
12958
927c53e7
GM
12959 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12960
9d0da923
JB
129612011-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
4b978a67
LL
129672011-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
5fd62452
JB
129732011-03-22 Juanma Barranquero <lekktu@gmail.com>
12974
0b1596c6
JB
12975 * simple.el (backward-delete-char-untabify):
12976 Avoid warning about using `delete-backward-char'.
12977
5fd62452
JB
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
0b4e93f1
LL
129832011-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.
9882e214 12989 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12990
fccee4ab
CY
129912011-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.
d86d2721
SM
12998 (enable-theme): Accept only loaded themes as arguments.
12999 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
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.
0357c7ae 13003
af896da6
LL
130042011-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
78f64af0
SM
130092011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13010
13011 * subr.el (deferred-action-list, deferred-action-function):
13012 Mark obsolete.
13013
b16ac1ec
LL
130142011-03-21 Leo Liu <sdl.web@gmail.com>
13015
810f7698
LL
13016 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13017 change on 2011-02-13 (bug#8309).
13018
b16ac1ec
LL
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
4e05e67e
GM
130242011-03-21 Glenn Morris <rgm@gnu.org>
13025
13026 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13027 Doc fixes.
13028
4359915b
CY
130292011-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
1fe275ee
JB
130362011-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
cd394be1 130412011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13042
13043 * ido.el (ido-read-internal): Use completing-read-default.
13044 (ido-completing-read): Fix compatibility with completing-read.
13045
7d476bde
CO
130462011-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
fe0fb33e
CY
130532011-03-19 Chong Yidong <cyd@stupidchicken.com>
13054
ff854b0b
CY
13055 * dired-aux.el (dired-create-directory): Signal an error if the
13056 directory already exists (Bug#8246).
13057
fe0fb33e
CY
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
576bce32
EZ
130632011-03-19 Eli Zaretskii <eliz@gnu.org>
13064
4d61f28d 13065 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13066 windows-nt systems.
13067 (emerge-protect-metachars): Quote correctly for ms-dos and
13068 windows-nt systems.
13069
89c41d68 130702011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
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
b14e3e21 130762011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
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
4525ce3e
CY
130822011-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
a904a09a 130952011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13096
a904a09a
SM
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.
1518e4f0
G
13100
131012011-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
171fc304
JB
131062011-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
d71990a1
JB
131142011-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
7a71b18d
GM
13149 * calc/calc-help.el (calc-l-prefix-help):
13150 Mention musical note functions.
d71990a1 13151
40c2934b
SM
131522011-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
b0911414
KM
131572011-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
8a05b668
JB
131632011-03-16 Juanma Barranquero <lekktu@gmail.com>
13164
13165 * startup.el (command-line): Warn the user that _emacs is deprecated.
13166
5ba5fb81
JB
131672011-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
2dab465b
KM
131782011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13179
5ba5fb81 13180 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
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
0adf5618
SM
131842011-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
d72700e5
CY
131962011-03-15 Chong Yidong <cyd@stupidchicken.com>
13197
13198 * startup.el (command-line): Update package subdirectory regexp.
13199
49c5410a
SM
132002011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13201
c6eee9aa
SM
13202 * allout.el (allout-abbreviate-flattened-numbering)
13203 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13204
49c5410a
SM
13205 * subr.el (read-char-choice): Only show the cursor after the prompt,
13206 not after the answer.
13207
047b2bb9
KR
132082011-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
0a57d256
SM
132132011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13214
13215 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13216 warning message.
13217
77c992bc
MA
132182011-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
eebc475d
TZ
132232011-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
9d05d1ba
JB
132312011-03-13 Juanma Barranquero <lekktu@gmail.com>
13232
13233 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13234
09d9db2c
GM
132352011-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
132402011-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
219bd536
JB
132522011-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
f3afd36b
MA
132562011-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
3aaaa6f1
SM
132642011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13265
94642599
SM
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
3aaaa6f1
SM
13271 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13272 Disable obsolescence warnings in the file that declares it.
13273
14239447
KM
132742011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13275
099c39a4
JB
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.
14239447 13280
135e287c
JB
132812011-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
ffbf300e
CY
132862011-03-10 Chong Yidong <cyd@stupidchicken.com>
13287
ba08b241
CY
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.
ffbf300e 13294
f346fd6b
MA
132952011-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
ccb55d27
GM
133002011-03-10 Glenn Morris <rgm@gnu.org>
13301
5ceaac0c
GM
13302 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13303
02da65ff
GM
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
b2f603cc
GM
13308 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13309
5772caab
GM
13310 * cus-edit.el (Custom-newline): If no button at point, look
13311 for a subgroup button at start-of-line. (Bug#2298)
13312
ccb55d27
GM
13313 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13314
ec6ecaed
JD
133152011-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
9d5aa01d
JB
133202011-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
b6a5875b
KM
133242011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13325
7a71b18d 13326 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
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.
1154d12e
JB
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.
b6a5875b 13334
ee545c35
MA
133352011-03-09 Michael Albinus <michael.albinus@gmx.de>
13336
d86d2721
SM
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
ee545c35
MA
13339 `tramp-default-port'.
13340
c47971d7
DD
133412011-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
13522cb4
GM
133472011-03-09 Glenn Morris <rgm@gnu.org>
13348
0be6f4f1
GM
13349 * shell.el (shell-mode):
13350 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13351
13522cb4
GM
13352 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13353 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13354
515de2e3
CY
133552011-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
b511b994
MA
133602011-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
d86d2721
SM
13367 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13368 Use `equal' for upload base check.
b511b994 13369
25bbfb31
AM
133702011-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
be996521
GM
133752011-03-08 Glenn Morris <rgm@gnu.org>
13376
e9c8529f
GM
13377 * cus-start.el (cursor-in-non-selected-windows):
13378 Fix :set quoting oddness. (Bug#8192)
13379
be996521
GM
13380 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13381 in some setf expressions. (Bug#2159)
13382
2bb5649e
CY
133832011-03-08 Chong Yidong <cyd@stupidchicken.com>
13384
13385 * custom.el (custom-available-themes): Return themes in
13386 alphabetical order.
13387
33383987 13388See ChangeLog.15 for earlier changes.
e3d51b27
MR
13389
13390;; Local Variables:
13391;; coding: utf-8
e3d51b27
MR
13392;; End:
13393
acaf905b 13394 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
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/>.