* lisp/files.el (file-auto-mode-skip): New var.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
248da2f4
RW
12012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2
3 * files.el (file-auto-mode-skip): New var.
4 (set-auto-mode-1): Use it.
5
f95e9344
SM
62012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7
df96ab1e
SM
8 * repeat.el: Use lexical-binding.
9 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10 (repeat-undo-count): Remove.
11 (repeat):
12 * progmodes/octave-mod.el (octave-abbrev-start):
13 * progmodes/f90.el (f90-abbrev-start):
14 * face-remap.el (text-scale-adjust):
15 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
16
5342bb06
SM
17 * emacs-lisp/pcase.el (pcase--let*): New function.
18 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
19 a bit more.
20 (pcase--split-pred): Be more clever about ruling out overlap between
21 a predicate and some constant pattern.
22 (pcase--q1): Use `null' instead of (eq foo nil).
23
f95e9344
SM
24 * subr.el (setq-local, defvar-local): New macros.
25 (kbd): Redefine as an alias.
26 (with-selected-window): Leave unrelated frames alone.
27 (set-temporary-overlay-map): New function.
28
71873e2b
SM
292012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
30
31 * subr.el (user-error): New function.
32 * window.el (switch-to-buffer):
33 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
34 (smerge-match-conflict):
35 * simple.el (previous-matching-history-element)
36 (next-matching-history-element, goto-history-element, undo-more)
37 (undo-start):
38 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
39 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
40 (next-file, tags-loop-scan, list-tags, complete-tag):
41 * progmodes/compile.el (compilation-loop):
42 * mouse.el (mouse-minibuffer-check):
43 * man.el (Man-bgproc-sentinel, Man-goto-page):
44 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
45 (Info-history-forward, Info-follow-reference, Info-menu)
46 (Info-extract-menu-item, Info-extract-menu-counting)
47 (Info-forward-node, Info-backward-node, Info-next-menu-item)
48 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
49 (Info-next-reference, Info-prev-reference, Info-index)
50 (Info-index-next, Info-follow-nearest-node)
51 (Info-copy-current-node-name):
52 * imenu.el (imenu--make-index-alist)
53 (imenu-default-create-index-function, imenu-add-to-menubar):
54 * files.el (basic-save-buffer, recover-file):
55 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
56 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
57 (checkdoc-message-text, checkdoc-defun):
58 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
59 * cus-edit.el (customize-changed-options, customize-rogue)
60 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
61 (custom-variable-mark-to-reset-standard)
62 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
63 (custom-file):
64 * completion.el (check-completion-length):
65 * comint.el (comint-search-arg)
66 (comint-previous-matching-input-string-position)
67 (comint-previous-matching-input)
68 (comint-replace-by-expanded-history-before-point, comint-send-input)
69 (comint-copy-old-input, comint-backward-matching-input)
70 (comint-goto-process-mark, comint-set-process-mark):
71 * calendar/calendar.el (calendar-cursor-to-date): Use it.
72 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
73
8a61ee22
SM
742012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
75
66408d1e
SM
76 * dabbrev.el (dabbrev--ignore-case-p): New function.
77 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
78 Use it.
79
8a61ee22
SM
80 * files.el (automount-dir-prefix): Mark as obsolete.
81
3c74813a
GM
822012-05-04 Glenn Morris <rgm@gnu.org>
83
84 * patcomp.el, play/bruce.el: Move to obsolete/.
85
0bfcf5c5
PE
862012-05-04 Paul Eggert <eggert@cs.ucla.edu>
87
88 Fix minor Y10k bugs.
89 * arc-mode.el (archive-unixdate):
90 * autoinsert.el (auto-insert-alist):
91 * calc/calc-forms.el (math-this-year):
92 * emacs-lisp/copyright.el (copyright-current-year)
93 (copyright-update-year, copyright):
94 * tar-mode.el (tar-clip-time-string):
95 * time.el (display-time-update):
96 Don't assume years have 4 digits.
97
78f3273a
CY
982012-05-04 Chong Yidong <cyd@gnu.org>
99
100 * dos-w32.el (file-name-buffer-file-type-alist)
101 (direct-print-region-use-command-dot-com):
102 * ffap.el (ffap-menu-regexp):
103 * find-file.el (ff-special-constructs):
104 * follow.el (follow-debug):
105 * forms.el (forms--debug):
106 * iswitchb.el (iswitchb-all-frames):
107 * ido.el (ido-all-frames):
108 * emacs-lisp/timer.el (timer-max-repeats):
109 * mail/feedmail.el (feedmail-mail-send-hook)
110 (feedmail-mail-send-hook-queued):
111 * mail/footnote.el (footnote-signature-separator):
112 * mail/mailabbrev.el (mail-alias-separator-string)
113 (mail-abbrev-mode-regexp):
114 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
115 * progmodes/idlwave.el (idlwave-libinfo-file)
116 (idlwave-default-completion-case-is-down)
117 (idlwave-library-routines): Convert defvars to defcustoms.
118
119 * mail/rmail.el (rmail-decode-mime-charset):
120 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
121 (idlwave-shell-fix-inserted-breaks)
122 (idlwave-shell-activate-alt-keybindings)
123 (idlwave-shell-use-breakpoint-glyph):
124 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
125
f7ae6719
SM
1262012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
127
128 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
129
47086495
WS
1302012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
131
132 * progmodes/verilog-mode.el (font-lock-keywords):
133 Fix mis-highligting auto. Reported by Craig Barner.
134 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
135 defines from global name space. Reported by Dan Dever.
136 (verilog-auto-reset, verilog-auto-reset-widths)
137 (verilog-auto-tieoff): Support using unbased numbers for
138 AUTORESET and AUTOTIEOFF.
139 (verilog-submit-bug-report): Update variable list.
140 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
141 parenthesis from not matching. Reported by Michael Rytting.
142 (verilog-auto-template-lint): Fix hash error when linting modules
143 with no used templates.
144 (verilog-warn, verilog-warn-error)
145 (verilog-warn-fatal): When non-interactive report multiple
146 warnings before exiting. Suggested by Brad Dobbie.
147 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
148 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
149 to report unused template errors. Reported by Brad Dobbie.
150 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
151 nets, bug438. Reported by Vns Blore.
152 (verilog-auto-inout-module, verilog-auto-reg)
153 (verilog-read-decls, verilog-read-sub-decls-sig)
154 (verilog-signals-edit-wire-reg, verilog-signals-with):
155 Fix passing of Verilog data types in ANSI input/output ports
156 such as "output logic" into the AUTOs. Special case "wire" and
157 "reg" for backwards compatibility presuming Verilog 2001.
158 (verilog-auto-ascii-enum): Add "auto enum" as alias.
159 (verilog-preprocess): Fix replication of preprocess output.
160 Reported by Brad Dobbie.
161 (verilog-auto-inst-interfaced-ports):
162 Create verilog-auto-inst-interfaced-ports, bug429.
163 Reported by Julian Gorfajn.
164 (verilog-after-save-font-hook)
165 (verilog-before-save-font-hook): New variable.
166 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
167 (verilog-save-font-mods): Wrap disabling fontification, reported
168 by David Rogoff.
169 (verilog-do-indent, verilog-pretty-declarations-auto)
170 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
171 Reported by Pierre-David Pfister.
172 (verilog-set-auto-endcomments): Fix endtask auto comments outside
173 of class declarations, bug292. Reported by Kevin Heilman.
174 (verilog-read-decls): Fix 'parameter type' not appearing in
175 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
176 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
177 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
178 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
179 Reported by David Kravitz.
180
1812012-05-03 Michael McNamara <mac@mail.brushroad.com>
182
183 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
184 assignment with tests in ifs and for loops.
185 (verilog-extended-complete-re, verilog-complete-reg): Change so
186 that DPI inport functions don't look like fuction declarations.
187 (verilog-pretty-expr): Don't line up assignment
188 operations to the test and increment in if and for loops
189 (verilog-extended-complete-re, verilog-complete-reg): Change so
190 that DPI inport functions don't look like fuction declarations
191
2e51d4b5
KH
1922012-05-03 Kenichi Handa <handa@m17n.org>
193
194 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
195 decoding, and show a warning message without signalling an error
196 (Bug#11282).
197
2bd785a2
SM
1982012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
199
200 * emacs-lisp/bytecomp.el
201 (byte-compile-file-form-custom-declare-variable): Compile all elements,
202 since cconv.el might have introduced :fun-body, internal-make-closure,
203 and friends for bytecomp to handle (bug#11391).
204 * custom.el (defcustom): Avoid ((λ ..) ..).
205
99d27583
SM
2062012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
209
55a71479
JB
2102012-05-02 Juanma Barranquero <lekktu@gmail.com>
211
212 * notifications.el (dbus-debug):
213 * term/linux.el (gpm-mouse-enable):
214 * term/screen.el (xterm-register-default-colors): Declare.
215
7b97c764
CY
2162012-05-02 Chong Yidong <cyd@gnu.org>
217
2bc356d7
CY
218 * cus-start.el (gc-cons-percentage, exec-suffixes)
219 (dos-display-scancodes, dos-hyper-key, dos-super-key)
220 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
221 (make-cursor-line-fully-visible, void-text-area-pointer)
222 (font-list-limit): Add customization data.
223
7b97c764
CY
224 * allout.el (allout-exposure-change-functions)
225 (allout-structure-added-functions)
226 (allout-structure-deleted-functions)
227 (allout-structure-shifted-functions): Rename abnormal hooks from
228 *-hook, and convert to defcustoms.
5d3385a0
JB
229 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
230 Convert to defcustoms.
7b97c764
CY
231 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
232
233 * allout-widgets.el: Hook callers changed.
234
90207a15 2352012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
236
237 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
238 the yanked message in preference to the default value of
239 buffer-file-coding-system.
240
90207a15 2412012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 242
5d3385a0
JB
243 * window.el (display-buffer--action-function-custom-type):
244 Fix entry.
d9558cad 245
90207a15 2462012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
247
248 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
249
d80ac57b
GM
2502012-05-01 Glenn Morris <rgm@gnu.org>
251
976f7668
GM
252 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
253
beb83b5a
GM
254 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
255
d80ac57b
GM
256 * cus-edit.el (custom-variable-documentation): Simplify with format.
257
b593d6a9
AH
2582012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
259 Stefan Monnier <monnier@iro.umontreal.ca>
260
261 * simple.el (suggest-key-bindings, execute-extended-command):
262 Move from keyboard.c.
263
782fbf2a
CY
2642012-05-01 Chong Yidong <cyd@gnu.org>
265
266 * follow.el: Eliminate advice.
267 (set-process-filter, process-filter, sit-for): Advice deleted.
268 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
269 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
270 Vars deleted.
782fbf2a
CY
271 (follow-auto): Use a :set function.
272 (follow-mode): Rewritten. Don't advise process filters.
273 (follow-switch-to-current-buffer-all, follow-scroll-up)
274 (follow-scroll-down): Assume follow-mode is bound.
275 (follow-comint-scroll-to-bottom)
276 (follow-align-compilation-windows): New functions.
277 (follow--window-sorter): New function.
278 (follow-all-followers): Use it to explicitly sort windows by their
279 positions; don't make assumptions about next-window order.
280 (follow-windows-start-end, follow-delete-other-windows-and-split)
281 (follow-calc-win-start): Doc fix.
282 (follow-windows-aligned-p, follow-select-if-visible): Don't call
283 vertical-motion unnecessarily.
284 (follow-adjust-window): New function.
285 (follow-post-command-hook): Use it.
286 (follow-call-set-process-filter, follow-call-process-filter)
287 (follow-intercept-process-output, follow-tidy-process-filter-alist)
288 (follow-stop-intercept-process-output, follow-generic-filter):
289 Functions deleted.
290 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
291 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
292 New functions, replacing advice on scroll-bar-* commands.
87233a14 293 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
294
295 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
296 (comint-postoutput-scroll-to-bottom): Use it.
297 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 298
290af740
GM
2992012-05-01 Glenn Morris <rgm@gnu.org>
300
301 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
302 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
303 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
304 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
305 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
306 Remove no-byte-compile setting.
307
6eac8dc9
SM
3082012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * minibuffer.el (completion-table-with-quoting): Fix compatibility
311 all-completions code to not return a number in the last cdr.
312
9cc7819c
LL
3132012-04-30 Leo Liu <sdl.web@gmail.com>
314
315 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
316 read-only error.
317
c93b886f
CY
3182012-04-29 Chong Yidong <cyd@gnu.org>
319
320 * follow.el (follow-calc-win-end): Rewrite to handle partial
321 screen lines correctly (Bug#8390).
322 (follow-avoid-tail-recenter): Minor cleanup.
323
8b6c19f4
SM
3242012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
325
326 Avoid the obsolete `assoc' package.
327 * speedbar.el (speedbar-refresh): Avoid adelete.
328 (speedbar-file-lists): Simplify and avoid aput.
329 * man.el (Man--sections, Man--refpages): New vars, replacing
330 Man-sections-alist and Man-refpages-alist.
331 (Man-build-section-alist, Man-build-references-alist):
332 Use them; avoid aput.
333 (Man--last-section, Man--last-refpage): New vars.
334 (Man-follow-manual-reference): Use them.
335 Use the `default' arg of completing-read.
336 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
337
c5bb7569
CY
3382012-04-27 Chong Yidong <cyd@gnu.org>
339
d1d2e2e8
CY
340 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
341
15cd8efd
CY
342 * startup.el (x-apply-session-resources): New function.
343
344 * term/ns-win.el (ns-initialize-window-system):
345 * term/w32-win.el (w32-initialize-window-system):
346 * term/x-win.el (x-initialize-window-system): Use it to properly
347 set menu-bar-mode and other vars from X resources, even if the
348 initial frame is not a window-system frame (Bug#2299).
349
c5bb7569
CY
350 * subr.el (read-key): Avoid running filter function when setting
351 up temporary tool bar entries (Bug#9922).
352
a8e7d6d7 3532012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
354
355 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
356 (Bug#11344)
357
a8e7d6d7 3582012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
359
360 * select.el (xselect--encode-string): New function, split from
361 xselect-convert-to-string.
362 (xselect-convert-to-string): Use it.
363 (xselect-convert-to-filename, xselect-convert-to-os)
364 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
365 returned strings are properly encoded (Bug#11315).
366
a8e7d6d7 3672012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
368
369 * simple.el (delete-active-region): Move to killing custom group.
370
a8e7d6d7 3712012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
372
373 * progmodes/which-func.el (which-func-current): Quote %
374 characters for mode-line processing.
375
578c1d4b 3762012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
377
378 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
379 reaching eob (Bug#11286).
380
a8e7d6d7 3812012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
382
383 * progmodes/gdb-mi.el (gdb-control-level): New variable.
384 (gdb): Make it buffer-local and init to zero.
385 (gdb-control-commands-regexp): New variable.
386 (gdb-send): Don't wrap in "-interpreter-exec console" if
387 gdb-control-level is positive. Increment gdb-control-level
388 whenever the command matches gdb-control-commands-regexp, and
389 decrement it each time the command is "end". (Bug#11279)
390
a8e7d6d7 3912012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
392
393 * window.el (adjust-window-trailing-edge, enlarge-window)
394 (shrink-window, window-resize):
395 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
396 windows (Bug#11276).
397
b3608390
CY
3982012-04-27 Chong Yidong <cyd@gnu.org>
399
400 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 401 fix "missing prefix" warning. All callers changed.
b3608390 402
797e6e88
SM
4032012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 * emacs-lisp/assoc.el: Move to obsolete/.
406
e95a67dc
SM
4072012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
408
657c21e4 409 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
410
411 * term/ns-win.el (ns-define-service):
412 * progmodes/pascal.el (pascal-goto-defun):
413 * progmodes/js.el (js--read-tab):
414 * progmodes/etags.el (tags-lazy-completion-table):
415 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
416 * emacs-lisp/ewoc.el (ewoc--wrap):
417 * emacs-lisp/assoc.el (aput, adelete, amake):
418 * doc-view.el (doc-view-convert-current-doc):
419 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
420
cb3e7ae0
CY
4212012-04-26 Chong Yidong <cyd@gnu.org>
422
dce04f7f
CY
423 * image.el (image-type-from-buffer): Only return supported image
424 type (Bug#9045).
425
cb3e7ae0
CY
426 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
427 value, for symmetry with diff-end-of-hunk.
428 (diff-split-hunk, diff-find-source-location)
429 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
430 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
431 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
432 compute the relevant hunk or file properly (Bug#6005).
433 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
434
0d42eb3e
SM
4352012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
436
437 * vc/vc-mtn.el:
438 * vc/vc-hg.el:
439 * vc/vc-git.el:
440 * vc/vc-dir.el:
441 * vc/vc-cvs.el:
442 * vc/vc-bzr.el:
443 * vc/vc-arch.el:
444 * vc/vc.el: Replace lexical-let by lexical-binding.
445 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
446 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
447 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
448
f08ae1c9
CY
4492012-04-26 Chong Yidong <cyd@gnu.org>
450
8b71081d
CY
451 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
452 (diff-mode-shared-map): Bind it to / and [remap undo].
453
f08ae1c9
CY
454 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
455 (ediff-window-setup-function): Use it as the default, to set up
456 windows based on whether the current frame is graphical (Bug#2138).
457 (ediff-choose-window-setup-function-automatically): Make obsolete.
458
459 * vc/ediff-init.el: Always define ediff-pixel-width/height.
460
ef24141c
SM
4612012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
462
cc356a5d
SM
463 * ffap.el: Remove old code for obsolete package.
464 (ffap-complete-as-file-p): Remove.
465
b4ff4f1f
SM
466 Use completion-table-with-quoting for comint and pcomplete.
467 * comint.el (comint--unquote&requote-argument)
468 (comint--unquote-argument, comint--requote-argument): New functions.
469 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
470 (comint-quote-filename): Use regexp-opt-charset.
471 (comint--common-suffix, comint--common-quoted-suffix)
472 (comint--table-subvert): Remove.
473 (comint-unquote-function, comint-requote-function): New vars.
474 (comint--complete-file-name-data): Use them with
475 completion-table-with-quoting.
476 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
477 * pcomplete.el (pcomplete-arg-quote-list)
478 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
479 (pcomplete-unquote-argument-function): Default to non-nil.
480 (pcomplete-unquote-argument): Simplify.
481 (pcomplete--common-quoted-suffix): Remove.
482 (pcomplete-requote-argument-function): New var.
483 (pcomplete--common-suffix): New function.
484 (pcomplete-completions-at-point): Use completion-table-with-quoting
485 and completion-table-subvert.
486
79c4eeb4
SM
487 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
488 (minibuffer--double-dollars): Preserve properties.
489 (completion--sifn-requote): New function.
490 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
491
ef24141c
SM
492 * minibuffer.el: Add support for completion of quoted/escaped data.
493 (completion-table-with-quoting, completion-table-subvert): New funs.
494 (completion--twq-try, completion--twq-all): New functions.
495 (completion--nth-completion): New function.
496 (completion-try-completion, completion-all-completions): Use it.
497
784e7d6e
LL
4982012-04-25 Leo Liu <sdl.web@gmail.com>
499
dd2ac746
SM
500 * progmodes/python.el (python-pdbtrack-get-source-buffer):
501 Use compilation-message if available to find real filename.
784e7d6e 502
07875ee7
CY
5032012-04-25 Chong Yidong <cyd@gnu.org>
504
505 * vc/diff-mode.el (diff-setup-whitespace): New function.
506 (diff-mode): Use it.
507
508 * vc/diff.el (diff-sentinel):
509 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
510 Whitespace mode variables based on diff style (Bug#8612).
511
5055880d
LL
5122012-04-25 Leo Liu <sdl.web@gmail.com>
513
daf75653
LL
514 * progmodes/python.el (python-send-region): Add suffix .py to the
515 temp file.
516
5055880d
LL
517 * files.el (auto-mode-alist): Use javascript-mode instead.
518
db9b177b
AH
5192012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
520
ef24141c 521 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
522
523 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 524 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 525 references, see Bug#9.
ef24141c 526 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 527 when receiving a fault reply.
ef24141c 528 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
529
530 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 531 (soap-inspect-simple-type): New function.
db9b177b 532
ef24141c 533 * soap-client.el (soap-simple-type): New struct.
db9b177b 534 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
535 (soap-decode-basic-type, soap-encode-basic-type):
536 support unsignedInt and double basic types.
db9b177b 537 (soap-resolve-references-for-simple-type)
ef24141c
SM
538 (soap-parse-simple-type, soap-encode-simple-type): New function.
539 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
540
541 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
542 (soap-default-soapenc-types): Add integer, byte and anyURI types.
543 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
544 the local name of "soapenc:Array".
545 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
546 decoding integer, byte and anyURI xsd types.
547
1fc6097b
CY
5482012-04-25 Chong Yidong <cyd@gnu.org>
549
550 * cus-edit.el (custom-buffer-create-internal): Update header text.
551
afc6df87
EZ
5522012-04-25 Eli Zaretskii <eliz@gnu.org>
553
554 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
555 settings on 'system-type', not on 'window-system'. On MS-Windows,
556 set interactive-mode on in GDB.
557
dfbd787f
SM
5582012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
561 (ruby-syntax-propertize-regexp): Remove.
562 (ruby-syntax-propertize-function): Split regexp into chunks.
563 Match following code directly.
564
85222d44
DG
5652012-04-24 Dmitry Gutov <dgutov@yandex.ru>
566
51a8ea2a
DG
567 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
568 (ruby-syntax-propertize-regexp): New function.
569 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
570 by a special keyword.
571
85222d44
DG
572 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
573 (ruby-syntax-general-delimiters-goto-beg)
574 (ruby-syntax-propertize-general-delimiters): New functions.
575 (ruby-syntax-propertize-function): Use them to handle GDL.
576 (ruby-font-lock-keywords): Move old handling of GDL...
577 (ruby-font-lock-syntactic-keywords): .. to here.
578 (ruby-calculate-indent): Adjust indentation for GDL.
579
b613912b
MA
5802012-04-24 Michael Albinus <michael.albinus@gmx.de>
581
b5380639
MA
582 * notifications.el (top): Remove unneeded declarations.
583 (notifications-specification-version): Change to "1.2".
e43042fe 584 (notifications-interface, notifications-notify-method)
b613912b
MA
585 (notifications-close-notification-method): Fix docstring.
586 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
587 (notifications-notify): Add :action-items, :resident and
588 :transient hints. Change "image_data" to "image-data" and
589 "image_path" to "image-path".
b613912b
MA
590 (notifications-get-capabilities): New defun.
591
257440aa
LL
5922012-04-24 Leo Liu <sdl.web@gmail.com>
593
594 * progmodes/python.el: Move hideshow setup to the end.
595
b1bac16e
MR
5962012-04-24 Martin Rudalics <rudalics@gmx.at>
597
598 * window.el (handle-select-window): Clear echo area since this is
599 no more done by read_char (Bug#11304).
600
d81bd059
SM
6012012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
604 and `/ M' to filter-derived-mode.
605 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
606 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
607 (ibuffer-mark-by-mode): Use default rather than initial-input.
608 (ibuffer-filter-by-derived-mode): Autoload and require-match.
609
c4cf6d91
IA
6102012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
611
612 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
613 (ibuffer-filter-by-derived-mode): New filter.
614 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
615
7511ded8
CY
6162012-04-23 Andreas Politz <politza@fh-trier.de>
617
618 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
619
775c916b
CY
6202012-04-23 Chong Yidong <cyd@gnu.org>
621
622 * cus-edit.el (customize-apropos, customize-apropos-options):
623 Disable matching of non-option variables (Bug#11176).
624 (customize-option, customize-option-other-window)
625 (customize-changed-options): Doc fix.
626 (customize-apropos-options, customize-apropos-faces)
627 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
628
629 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 630 Fix word list splitting (Bug#11132).
46c71e23
CY
631 (apropos-symbol, apropos-keybinding, apropos-label)
632 (apropos-property, apropos-function-button)
633 (apropos-variable-button, apropos-misc-button): New faces.
634 (apropos-symbol-face, apropos-keybinding-face)
635 (apropos-label-face, apropos-property-face, apropos-match-face):
636 Variables removed (Bug#8396).
637 (apropos-library-button, apropos-format-plist, apropos-print)
638 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 639
2df41f9c
MA
6402012-04-23 Michael Albinus <michael.albinus@gmx.de>
641
642 * net/xesam.el (xesam-mode-map): Use let-bound map in
643 initialization. (Bug#11292)
644
da00640a
AM
6452012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
646
647 Preserve ispell session localwords when switching back to
648 original buffer.
649
650 * ispell.el (ispell-buffer-session-localwords): New buffer-local
651 variable to hold buffer session localwords.
652 (ispell-kill-ispell): add option 'clear to delete session
653 localwords.
654 (ispell-command-loop, ispell-change-dictionary)
655 (ispell-buffer-local-words): Preserve session localwords when
656 needed.
657
658 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
659 Preserve session localwords when needed.
660
f621ccf5
AM
6612012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
662
663 * ispell.el (ispell-insert-word) Remove unneeded function using
664 obsolete `translation-table-for-input'.
ef24141c
SM
665 (ispell-word, ispell-process-line, ispell-complete-word):
666 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 667
c2d1019e
CY
6682012-04-22 Chong Yidong <cyd@gnu.org>
669
670 * cus-edit.el (custom-variable-menu)
671 (custom-variable-reset-saved, custom-face-menu)
672 (custom-face-reset-saved): If there is no saved value, make the
673 "reset-saved" operation bring back the default (Bug#9509).
674 (custom-face-state): Properly detect themed faces.
675
eeddc531
CY
676 * faces.el (face-spec-set): Stop supporting deprecated form of
677 third arg.
678
dcbf5805
MA
6792012-04-22 Michael Albinus <michael.albinus@gmx.de>
680
681 Move functions from C to Lisp. Make non-blocking method calls
682 the default. Implement further D-Bus standard interfaces.
683
ef24141c
SM
684 * net/dbus.el (dbus-message-internal): Declare function.
685 Remove unneeded function declarations.
dcbf5805
MA
686 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
687 (dbus-message-type-method-return, dbus-message-type-error)
688 (dbus-message-type-signal): Declare variables. Remove local
689 definitions.
690 (dbus-interface-dbus, dbus-interface-peer)
691 (dbus-interface-introspectable, dbus-interface-properties)
692 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
693 Adapt docstring.
694 (dbus-interface-objectmanager): New defconst.
695 (dbus-call-method, dbus-call-method-asynchronously)
696 (dbus-send-signal, dbus-method-return-internal)
697 (dbus-method-error-internal, dbus-register-service)
698 (dbus-register-signal, dbus-register-method): New defuns, moved
699 from dbusbind.c
700 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
701 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
702 New defuns.
dcbf5805
MA
703 (dbus-call-method-non-blocking): Make it an obsolete function.
704 (dbus-unregister-object, dbus-unregister-service)
705 (dbus-handle-event, dbus-register-property)
706 (dbus-property-handler): Obey the new structure of
707 `bus-registered-objects'.
708 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
709 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
710 Use `dbus-call-method'.
711
cf20dee0
CY
7122012-04-22 Chong Yidong <cyd@gnu.org>
713
714 * cus-edit.el (custom-commands, custom-reset-menu)
715 (Custom-reset-standard): Tweak labels.
716 (custom-reset-button-menu): Change default to t.
717 (custom-buffer-create-internal): For the custom-reset-button-menu
718 case, put the revert button first.
719 (custom-group-subtitle): New face.
720 (custom-group-value-create): Align docstring to a specific column.
721
722 * wid-edit.el (widget-documentation-link-add): Don't handle
723 indentation in this function.
724 (widget-documentation-string-indent-to): New function.
725 (widget-documentation-string-value-create): Use it.
726
727 * autorevert.el (auto-revert):
728 * epg-config.el (epg):
729 * ibuffer.el (ibuffer):
730 * mpc.el (mpc):
731 * ses.el (ses):
732 * eshell/eshell.el (eshell):
733 * net/ange-ftp.el (ange-ftp):
734 * progmodes/ebnf2ps.el (postscript):
735 * progmodes/flymake.el (flymake):
736 * progmodes/prolog.el (prolog):
737 * progmodes/verilog-mode.el (verilog-mode):
738 * progmodes/which-func.el (which-func):
739 * term/xterm.el (xterm):
740 * textmodes/picture.el (picture):
741 * textmodes/tildify.el (tildify):
742 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
743 customization buffers.
744
583e23bd
AM
7452012-04-22 Alan Mackenzie <acm@muc.de>
746
747 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
748 Adding a ) can hide the resulting (..) from searches. Fix it.
749 Bound the backward search to the position of the existing (.
750
7dd51bf1
JB
7512012-04-21 Juanma Barranquero <lekktu@gmail.com>
752
753 * progmodes/verilog-mode.el (verilog-mode): Check whether
754 which-func-modes is t before adding verilog-mode.
755 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
756
d64a438f
LL
7572012-04-21 Leo Liu <sdl.web@gmail.com>
758
7dd51bf1 759 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 760
081e8d65
MV
7612012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
762
763 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
764 filling of the last column of a table (Bug#5635).
765 (woman-find-next-control-line): New arg, specifying an additional
766 regexp component for the control line.
767 (woman2-roff-buffer): Use it.
768 (woman-break-table): New function.
769 (woman2-TS): Use it.
770
7712012-04-21 Chong Yidong <cyd@gnu.org>
772
773 * woman.el (woman-set-buffer-display-table, woman-decode-region)
774 (woman-horizontal-escapes, woman-negative-vertical-space)
775 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
776 (WoMan-warn-ignored): Use ?\s instead of ?\ .
777
ed571ccb
SM
7782012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * minibuffer.el (completion-file-name-table): Complete user names.
781
39773899
LL
7822012-04-20 Leo Liu <sdl.web@gmail.com>
783
784 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
785 and pcase-let*.
786
de6ff46d
CY
7872012-04-20 Chong Yidong <cyd@gnu.org>
788
789 * server.el (server-execute): Respect initial-buffer-choice if it
790 is a string and there are no files to open (Bug#2825).
791 (server-create-window-system-frame, server-create-tty-frame):
792 Don't switch buffers here.
2d0e8e61
CY
793 (server-process-filter): Only try to open a window system frame if
794 compiled with graphical support (Bug#8314).
de6ff46d 795
54071013
DN
7962012-04-20 Dan Nicolaescu <dann@gnu.org>
797
798 * battery.el (battery-echo-area-format): Display remaining time
799 for sysfs backend too (Bug#11269).
800 (battery-linux-sysfs): Fix conditional for the charge.
801
f30d612a
CY
8022012-04-20 Chong Yidong <cyd@gnu.org>
803
c07a4c0b 804 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
805 (gdb-inferior-io--init-proc): New function.
806 (gdb-init-1): Use it.
807 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
808 responsible for allocating a new pty and hooking it to gdb when
809 the old pty gets an EIO due to process exit.
810 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
811 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
812 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
813
2116e93c
EZ
8142012-04-20 Eli Zaretskii <eliz@gnu.org>
815
816 * window.el (window-min-size, window-sizable, window-min-delta)
817 (window-max-delta, window--resizable, window-resizable)
818 (window-total-size, window-full-height-p, window-full-width-p)
819 (window-in-direction, window--resize-mini-window, window-resize)
820 (window--resize-child-windows-normal)
821 (window--resize-child-windows, window--resize-siblings)
822 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 823 (enlarge-window, shrink-window): Doc fixes.
2116e93c 824
c07a4c0b 8252012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 826
ef24141c
SM
827 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
828 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
829 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
830 pty process (Bug#11273).
831 (gdb-update): New arg to suppress talking to the gdb process.
832 (gdb-done-or-error): Use it.
833 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
834 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
835 sentinel not being called.
836
837 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
838
d02766ab
CY
839 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
840
c07a4c0b 8412012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
842
843 * net/network-stream.el (open-network-stream): Doc fix.
844
c07a4c0b 8452012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
846
847 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
848
c07a4c0b 8492012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
850
851 Ensure searching for keywords is case sensitive.
852
853 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
854 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
855 (c-defun-name, c-mark-function, c-cpp-define-name)
856 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 857 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 858
ef24141c
SM
859 * progmodes/cc-mode.el (c-font-lock-fontify-region):
860 Bind case-fold-search to nil.
f0f6bc35 861
c07a4c0b 8622012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
863
864 * mail/sendmail.el (mail-bury): Call return action with the right
865 Rmail buffer (Bug#11242).
866
9a864fa2
CY
867 * server.el (server-process-filter): Handle corner case where both
868 tty and nowait options are present (Bug#11102).
869
539aa513
EZ
8702012-04-20 Eli Zaretskii <eliz@gnu.org>
871
872 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
873 (top level): Put into the executable the ident-style '$Id:' tag on
874 windows-nt as well.
539aa513 875
cfc7d5da
SM
8762012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
877
878 * electric.el (electric-indent-post-self-insert-function): Check that
879 electric-indent-mode is enabled in current buffer.
880
5b01685c
JB
8812012-04-19 Juanma Barranquero <lekktu@gmail.com>
882
883 * imenu.el (imenu-progress-message): Restore; it is "used" in
884 erc/erc-imenu.el and net/snmp-mode.el.
885
4d6769e1
JB
8862012-04-19 Juanma Barranquero <lekktu@gmail.com>
887
888 * avoid.el (mouse-avoidance-mode): Mark unused arg.
889 (mouse-avoidance-nudge-mouse): Remove unused binding.
890
891 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
892
893 * descr-text.el (describe-char):
894 * progmodes/python.el (python-describe-symbol):
895 Don't call `toggle-read-only', set `buffer-read-only'.
896
897 * imenu.el (imenu-default-goto-function): Mark unused args.
898 (imenu-progress-message): Remove obsolete macro; all callers changed.
899
900 * subr.el (keymap-canonicalize): Remove unused binding.
901 (read-passwd): Mark unused arg.
902
903 * tutorial.el (tutorial--display-changes): Remove unused binding.
904 (tutorial--save-tutorial-to): Remove unused variable.
905
906 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
907 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
908 (package-generate-autoloads, package-menu--generate)
909 (package-menu--find-upgrades): Remove unused bindings.
910
911 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
912 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
913 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
914 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
915 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
916 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
917 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
918 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
919 (cua-delete-char-rectangle): Mark unused args.
920 (cua-align-rectangle): Remove unused binding.
921
922 * mail/rmail.el (compilation--message->loc)
923 (epa--find-coding-system-for-mime-charset): Declare.
924
925 * net/dbus.el (dbus-register-service): Declare.
926 (dbus-name-owner-changed-handler): Remove unused binding.
927
928 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
929 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
930 (nxml-scan-backward-within): Mark unused arg.
931 (nxml-dynamic-markup-word): Remove unused binding.
932
933 * mouse.el (mouse-menu-major-mode-map):
934 * emacs-lisp/authors.el (authors-scan-change-log)
935 (authors-add-to-author-list):
936 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
937 * emacs-lisp/smie.el (smie-auto-fill):
938 * mail/sendmail.el (mail-bury):
939 * mail/unrmail.el (unrmail):
940 * net/tls.el (open-tls-stream):
941 * textmodes/picture.el (picture-mouse-set-point):
942 Remove unused bindings.
943
8c8fc5df
MA
9442012-04-19 Michael Albinus <michael.albinus@gmx.de>
945
946 * net/tramp.el (tramp-action-password): Let-bind
947 `enable-recursive-minibuffers' to t.
948
a77b0ac9
SS
9492012-04-18 Sam Steingold <sds@gnu.org>
950
951 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
952 instead of 'string to accommodate values like [f11].
953 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
954 * progmodes/gdb-mi.el: Likewise.
955
12a106a9
LL
9562012-04-18 Leo Liu <sdl.web@gmail.com>
957
958 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
959 current buffer.
960 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
961 LOCAL is nil.
962
bc6494ef
CY
9632012-04-18 Chong Yidong <cyd@gnu.org>
964
965 * simple.el (line-move): Use forward-line if in batch mode
966 (Bug#11053).
967
c09c46b2
CS
9682012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
969
970 * files.el (after-find-file): Do not try to add a final newline if
971 the buffer is read-only (Bug#11156).
972
5f6530ea
RS
9732012-04-17 Richard Stallman <rms@gnu.org>
974
975 * mail/rmail.el (rmail-start-mail):
976 Pass (rmail-mail-return...) for the return-action.
977 Pass (rmail-yank-current-message...) for the yank-action.
978 (rmail-yank-current-message): New function.
979 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
980 (rmail-reply): Likewise.
981 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
982
983 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 984 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
985 buffer, not newbuf.
986
197b6f3c
JB
9872012-04-17 Juanma Barranquero <lekktu@gmail.com>
988
989 * server.el (server-ensure-safe-dir): Simplify.
990
2311d8e5 9912012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 992
2311d8e5
GM
993 * emacs-lisp/smie.el: Provide smarter auto-filling.
994 (smie-auto-fill): New function.
995 (smie-setup): Use it.
98fb480e 996
2311d8e5
GM
997 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
998
9992012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1000
1001 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1002 (comment-indent): Use it.
1003
2311d8e5 10042012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1005
1006 * ses.el: The overall change is to add cell renaming, that is
1007 setting fancy names for cell symbols other than name matching
1008 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1009 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1010 (ses-create-cell-variable): New defun.
2311d8e5 1011 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1012 (ses-relocate-formula): Relocate formulas only for cells the
1013 symbols of which are not renamed, i.e. symbols whose names do not
1014 match regexp "\\`[A-Z]+[0-9]+\\'".
1015 (ses-relocate-all): Relocate values only for cells the symbols of
1016 which are not renamed.
1017 (ses-load): Create cells variables as the (ses-cell ...) are read,
1018 in order to check row col consistency with cell symbol name only
1019 for cells that are not renamed.
1020 (ses-replace-name-in-formula): New defun.
1021 (ses-rename-cell): New defun.
4bdf2ad2 1022
fc72b15c
PO
10232012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1024
1025 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1026 New option (bug#11118).
1027 (perl-calculate-indent): Respect it.
1028
12e10e61
GM
10292012-04-17 Glenn Morris <rgm@gnu.org>
1030
1031 * dired-aux.el (dired-mark-read-string): Doc fix.
1032
30009afd
DA
10332012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1034
1035 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1036 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1037
41f03f4d
GM
10382012-04-17 Glenn Morris <rgm@gnu.org>
1039
1040 * mouse.el (mouse-drag-track):
1041 * speedbar.el (speedbar-frame-mode):
1042 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1043
f45f90f3
LL
10442012-04-16 Leo Liu <sdl.web@gmail.com>
1045
1046 * progmodes/python.el: Trivial cleanup.
1047
94ee8db5
GM
10482012-04-16 Glenn Morris <rgm@gnu.org>
1049
121b8917
GM
1050 * vc/vc.el (vc-string-prefix-p):
1051 * vc/pcvs-util.el (cvs-string-prefix-p):
1052 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1053 * mpc.el (mpc-string-prefix-p):
1054 Make all of these into obsolete aliases for string-prefix-p.
1055 Update callers.
1056 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1057
1197ecfa
GM
1058 * textmodes/two-column.el: Move custom options to the start.
1059 (frame-width): Remove compat definition.
1060 (2C-associate-buffer, 2C-dissociate):
1061 Use with-current-buffer rather than save-excursion.
1062 (2C-dissociate): Force a mode-line update.
1063 (2C-autoscroll): Use ignore-errors.
1064
099e7202
GM
1065 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1066 Autoload trivia.
1067
bf350d6a
GM
1068 * emacs-lisp/cl-extra.el (*random-state*):
1069 Remove unnecessary declaration.
1070
0e829eab
GM
1071 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1072
e3ad7552
GM
1073 * play/cookie1.el (cookie-snarf):
1074 Give an explicit error if input file cannot be read.
1075
68892d27
GM
1076 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1077
20f0c46d
GM
1078 * progmodes/perl-mode.el (c-macro-expand):
1079 Remove unnecessary autoload (it is in loaddefs.el).
1080
5a0978ce
GM
1081 * textmodes/picture.el (picture-desired-column)
1082 (picture-update-desired-column): Convert comments to doc-strings.
1083 (picture-substitute): Remove function.
1084 (picture-mode-map): Initialize in the defvar.
1085
6b955486
GM
1086 * woman.el: Remove eval-after-load for tar-mode.
1087 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1088 (woman-tar-extract-file): Autoload it.
1089
94ee8db5
GM
1090 * frame.el (automatic-hscrolling): Make this alias obsolete.
1091
177eca34
AM
10922012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1093
1094 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1095 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1096 (ispell-dictionary-base-alist): Revert to original XEmacs
1097 friendly version for default. [:alpha:] will be added in
1098 `ispell-set-spellchecker-params' if needed
177eca34 1099
c505aaeb
CY
11002012-04-16 Chong Yidong <cyd@gnu.org>
1101
1102 * image.el (imagemagick--extension-regexp): New variable.
1103 (imagemagick-register-types): Use it.
1104 (imagemagick-types-inhibit): Add :set function. Allow new value
1105 of t to inhibit all types.
1106
1107 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1108 so we can preload it.
1109
1110 * loadup.el (fboundp): Preload regexp-opt, needed by
1111 imagemagick-register-types.
1112
60efac0f
CY
11132012-04-15 Chong Yidong <cyd@gnu.org>
1114
1115 * frame.el (scrolling): Remove nearly unused customization group.
1116
1117 * scroll-all.el (scroll-all-mode): Move to windows group.
1118
5dd1713e
CY
11192012-04-15 Chong Yidong <cyd@gnu.org>
1120
1121 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1122
e6fd457e
CY
11232012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1124
1125 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1126 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1127
e153c136
GM
11282012-04-15 Glenn Morris <rgm@gnu.org>
1129
1130 * simple.el (process-file-side-effects): Doc fix.
1131
e6fd457e 11322012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1133
1134 * international/mule-cmds.el (set-language-environment): Doc fix.
1135
3603c3b1
JB
11362012-04-14 Juanma Barranquero <lekktu@gmail.com>
1137
1138 * server.el (server-auth-key, server-generate-key): Doc fixes.
1139 (server-get-auth-key): Doc fix. Use `string-match-p'.
1140 (server-start): Reflow docstring.
1141
e6de100c
LI
11422012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1143
1144 * server.el (server-generate-key): `called-interactively-p'
1145 requires a parameter.
1146
29734c21
MN
11472012-04-14 Michal Nazarewicz <mina86@mina86.com>
1148
1149 * server.el (server-auth-key): New variable.
75f1671a 1150 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1151 (server-start): Use the new variable and functions to allow
1152 setting a permanent server key (bug#9423).
1153
d65c9521
LL
11542012-04-14 Leo Liu <sdl.web@gmail.com>
1155
1156 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1157
5ae255c7
PE
11582012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1159
1160 Spelling fixes.
1161 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1162 Emacs uses American spelling.
1163
d5e6342e
JB
11642012-04-14 Juanma Barranquero <lekktu@gmail.com>
1165
1166 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1167 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1168 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1169 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1170
ab036cd7
SM
11712012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1172
1173 * progmodes/which-func.el (which-func-modes): Change default.
1174
35dc09a1 11752012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1176
1177 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1178 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1179
35dc09a1 11802012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1181
1182 * custom.el (custom-theme-set-variables): Doc fix.
1183
35dc09a1 11842012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1185
1186 * international/mule.el (set-auto-coding-for-load): Doc fix.
1187
35dc09a1 11882012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1189
35dc09a1
GM
1190 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1191 imenu work again for Objective C Mode. Correct the *-index values,
1192 these having been disturbed by a previous change in 2011-08.
57f845ee 1193
0de3da9f
AM
1194 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1195 Correct two search limits.
1196
35dc09a1 11972012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1198
1199 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1200
35dc09a1 12012012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1202
1203 * international/characters.el: Fix sorting.
1204
35dc09a1 12052012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1206
1207 * international/characters.el: Add more missing Latin case pairs.
1208
35dc09a1 12092012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1210
1211 * files.el (dir-locals-set-class-variables): Doc fix.
1212
35dc09a1 12132012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1214
3f1b5bf8
EZ
1215 * international/characters.el: Add set-case-syntax-pair call for
1216 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1217 counterpart. (Bug#11209)
1218
9f847f41
EZ
1219 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1220
35dc09a1 12212012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1222
1223 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1224
35dc09a1 12252012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1226
35dc09a1
GM
1227 * textmodes/ispell.el (ispell-dictionary-base-alist):
1228 Add data for Hebrew.
e2627d21 1229
35dc09a1 12302012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1231
35dc09a1
GM
1232 * net/rcirc.el (rcirc-cmd-quit):
1233 Revert 2012-03-18 change (Bug#11192).
5c14e333 1234
35dc09a1 12352012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1236
1237 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1238
35dc09a1 12392012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1240
4517fe3a
SM
1241 * minibuffer.el (completion-in-region-mode-map):
1242 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1243
b472a594
VD
12442012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1245
1246 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1247
09b95ce3
MY
12482012-04-13 Masatake YAMATO <yamato@redhat.com>
1249
1250 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1251 to allow `C-M-f' and `C-M-b' to move to the nearest path
1252 separator (bug#9511).
1253
4b63a9ca
LI
12542012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1255
1256 * avoid.el: Require cl when compiling. And also move the
1257 `provide' to the end.
1258
7b55b8bf
TV
12592012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1260
1261 * avoid.el (mouse-avoidance-banish-position): New variable.
1262 (mouse-avoidance-banish-destination): Use it (bug#10165).
1263
adedaa1f
LL
12642012-04-13 Leo Liu <sdl.web@gmail.com>
1265
1266 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1267
70e74021
KB
12682012-04-13 Ken Brown <kbrown@cornell.edu>
1269
1270 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1271 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1272 (browse-url-filename-alist): For the same reason, don't modify
1273 file:// URLs on Cygwin.
1274
e75e89ba
SM
12752012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1276
1277 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1278 the region on shift if the binding is already shifted (bug#11221).
1279
82f289a4
GM
12802012-04-12 Glenn Morris <rgm@gnu.org>
1281
1282 * mail/mailpost.el: Move to obsolete/.
1283
d333dc4c
DA
12842012-04-12 Drew Adams <drew.adams@oracle.com>
1285
1286 * imenu.el (imenu--generic-function): Ignore invisible definitions
1287 (bug#10123).
1288
0d15b5ba
VD
12892012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1290
1291 * hexl.el (hexl-bits): New variable.
1292 (hexl-options): Mention the variable in the doc string.
75f1671a 1293 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1294 (hexl-mode): Mention the new variable.
75f1671a
JB
1295 (hexl-mode, hexl-current-address, hexl-current-address):
1296 Use the displen.
0d15b5ba
VD
1297 (hexl-ascii-start-column): New function.
1298 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1299 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1300
64a440db
AM
13012012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1302
1303 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1304 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1305 the encoding, as expected by hunspell.
1306
6decb6c2
SM
13072012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1308
1309 * battery.el (battery--linux-sysfs-regexp): New const.
1310 (battery-status-function): Use it. Remove yeeloong special case.
1311 (battery-yeeloong-sysfs): Remove.
1312 (battery-echo-area-format): Remove yeeloong special case.
1313
088be6fb
SM
13142012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1315
6622e416
SM
1316 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1317 Reported by Noah Friedman.
1318
088be6fb
SM
1319 * subr.el (read-passwd): Use read-string.
1320
b49f886e
LMI
13212012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1322
1323 * vcursor.el (vcursor-move): Increase the priority of the overlay
1324 (bug#9663).
1325
a63067fc
DD
13262012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1327
1328 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1329 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1330
ac3cf14a
WS
13312012-04-11 William Stevenson <yhvh2000@gmail.com>
1332
1333 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1334 define-minor-mode (bug#10760).
1335
c4fc691b 13362012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1337
4d6769e1 1338 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1339 that directories matching `grep-find-ignored-files' won't be
1340 pruned (bug#10351).
1341
af23e2e5
CY
13422012-04-11 Chong Yidong <cyd@gnu.org>
1343
1344 * startup.el (command-line): Remove support for long-obsolete
1345 variable font-lock-face-attributes.
1346
ab7ce8c1
GM
13472012-04-11 Glenn Morris <rgm@gnu.org>
1348
1349 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1350
de8c03dc
SM
13512012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * window.el (window--state-get-1): Obey window-point-insertion-type.
1354
050cc68b
LB
13552012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1356
1357 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1358 to previous function when point is on the first character of a
75f1671a 1359 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1360
a38c310c
GM
13612012-04-11 Glenn Morris <rgm@gnu.org>
1362
effed0c2
GM
1363 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1364 not just file-errors.
1365
a38c310c
GM
1366 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1367 (vc-bzr-sha1): Use internal sha1.
1368
0221e323
SM
13692012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1370
1371 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1372
43956923
SG
13732012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1374
1375 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1376 that start in the middle of the line (bug#10496).
1377
6a8c9eaf
DN
13782012-04-10 Dan Nicolaescu <dann@gnu.org>
1379
1380 * battery.el (battery-linux-proc-acpi): Only one battery is
1381 discharged at a time, but that seems to confuse battery.el when
1382 computing `rate-type' for the battery not being discharged
1383 (bug#10332).
1384
1930bf5d
SM
13852012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1386
2a718f6f
SM
1387 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1388
599430d0
SM
1389 * international/quail.el: Use dolist and simplify.
1390 (quail-define-package, quail-update-keyboard-layout)
1391 (quail-define-rules): Use dolist.
1392 (quail-insert-kbd-layout, quail-get-translation): CSE.
1393
a2754b6c
SM
1394 * tmm.el: Use dolist, remove left over hook.
1395 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1396 Use dolist.
1397 (calendar-load-hook): Don't mess with it.
1398
1930bf5d
SM
1399 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1400 Use derived-mode-p. Run the diff asynchronously.
1401
9f67961c
LMI
14022012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1403
1404 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1405
2a8ce227
JB
14062012-04-10 Juanma Barranquero <lekktu@gmail.com>
1407
1408 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1409 (list-dynamic-libraries--loaded): New function.
1410 (list-dynamic-libraries--refresh): Use it.
1411
8f33b5f8
NW
14122012-04-10 Nathan Weizenbaum <nweiz@google.com>
1413
1930bf5d
SM
1414 * progmodes/python.el (python-fill-paragraph):
1415 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1416 disabled (bug#7018).
1417
b12f0439
L
14182012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1419
1930bf5d 1420 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1421 DOS/MS Windows for the Baltic languages. There are still plenty
1422 of texts written in this encoding/codepage (bug#6519).
b12f0439 1423
57c3bd01
GM
14242012-04-10 Glenn Morris <rgm@gnu.org>
1425
1426 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1427 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1428
6c3eab30
FA
14292012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1430
1930bf5d 1431 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1432 next-line "n" and previous-line "p" in order to make recentf more
1433 consistent with ibuffer, dired or org-mode (bug#9387).
1434
24d78a88
LMI
14352012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1436
bc72b5d9
LMI
1437 * image.el (put-image): Return the overlay created instead of the
1438 optional input string (bug#7834). Note that this may break code
1439 that is (for some reason or other) depending on `put-image'
1440 returning the string.
1441
bd2dba5a
LMI
1442 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1443
74beb59f
LMI
1444 * simple.el (zap-to-char): Allow zapping using input methods
1445 (bug#1580).
1446
24d78a88
LMI
1447 * textmodes/fill.el (fill-region): Leave point and mark where they
1448 were before filling (bug#5399).
1449
263f20cd
GM
14502012-04-09 Glenn Morris <rgm@gnu.org>
1451
1452 * version.el (emacs-bzr-get-version):
1453 Handle lightweight checkouts of local branches.
1454
58d1f797
AS
14552012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1456
263f20cd 1457 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1458
b4d3bc10
CY
14592012-04-09 Chong Yidong <cyd@gnu.org>
1460
1461 * custom.el (custom-variable-p): Return nil for non-symbol
1462 arguments instead of signaling an error.
1463 (user-variable-p): Obsolete alias for custom-variable-p.
1464
1465 * apropos.el (apropos-variable):
1466 * files-x.el (read-file-local-variable):
1467 * simple.el (set-variable):
1468 * woman.el (woman-mini-help):
1469 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1470
fd06db5d
GM
14712012-04-09 Glenn Morris <rgm@gnu.org>
1472
e5fcdb5e
GM
1473 * startup.el (normal-top-level): Don't look for leim-list.el
1474 in places where it will not be found. (Bug#910)
1475
fd06db5d
GM
1476 * international/mule-cmds.el (set-default-coding-systems):
1477 * files.el (normal-mode):
1478 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1479 This function was removed with ucs-tables.el in 2008.
1480
b39bb7e1
EZ
14812012-04-08 Eli Zaretskii <eliz@gnu.org>
1482
1483 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1484 ispell-encoding8-command to "-i", without a trailing space.
1485 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1486 separate command-line arguments, to specify the encoding, since
1487 that's how hunspell expects it.
1488
5c5b8e23
GM
14892012-04-08 Glenn Morris <rgm@gnu.org>
1490
1491 * loadup.el: Load bindings before cus-start.
1492 This reduces somewhat the number of "rogue" settings in emacs -Q.
1493
a1ed8b05
GM
14942012-04-07 Glenn Morris <rgm@gnu.org>
1495
1496 * version.el (emacs-bzr-get-version): New function.
dfae128a 1497 (emacs-bzr-version): New variable.
a1ed8b05
GM
1498 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1499 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1500
b142f158
EZ
15012012-04-07 Eli Zaretskii <eliz@gnu.org>
1502
dfae128a
GM
1503 * international/uni-bidi.el, international/uni-category.el:
1504 * international/uni-combining.el, international/uni-decimal.el:
1505 * international/uni-decomposition.el, international/uni-digit.el:
1506 * international/uni-lowercase.el, international/uni-mirrored.el:
1507 * international/uni-name.el, international/uni-numeric.el:
1508 * international/uni-titlecase.el, international/uni-uppercase.el:
1509 Update for Unicode 6.1.
b142f158 1510
9078ead6
EZ
15112012-04-07 Eli Zaretskii <eliz@gnu.org>
1512
1513 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1514
f23d2c7d
LMI
15152012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1516
1517 * window.el (shrink-window): Mention the `window-min-height'
1518 variable in the doc string.
1519
0a0a3573
BG
15202012-04-05 Bastien Guerry <bzg@altern.org>
1521
1522 * color.el (color-lighten-name): Fix typo.
1523
e5248ac9
SM
15242012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * server.el (server--on-display-p): New function.
1527 (server--on-display-p): Use it.
1528
b4243e22
GV
15292012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1530
1531 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1532 (bug#11145).
1533
305d9f44
SM
15342012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1535
1536 * comint.el (comint--common-quoted-suffix): Check string boundary
1537 before comparing (bug#11158).
1538 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1539
3d439cd1
CY
15402012-04-04 Chong Yidong <cyd@gnu.org>
1541
321cc491
CY
1542 * minibuffer.el (completion-extra-properties): Doc fix.
1543
3d439cd1
CY
1544 * subr.el (delayed-warnings-hook): Doc fix.
1545
2d562c0f
DU
15462012-04-04 Daiki Ueno <ueno@unixuser.org>
1547
1548 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1549 selection (Bug#11159).
1550 (epa-insert-keys): Inform that the default public key will be
1551 exported if no key is selected.
1552
4443f204
RS
15532012-04-04 Richard Stallman <rms@gnu.org>
1554
1555 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1556
529c06b6
CY
15572012-04-03 Chong Yidong <cyd@gnu.org>
1558
1559 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1560 mail-insert-file, not its obsolete alias mail-attach-file.
1561
66b907dc
MA
15622012-04-03 Michael Albinus <michael.albinus@gmx.de>
1563
1564 * notifications.el (notifications-notify): Fix docstring.
1565
c0ea195d
GM
15662012-04-02 Glenn Morris <rgm@gnu.org>
1567
1568 * emacs-lisp/authors.el (authors-aliases): Another addition.
1569
5ca64e00
MA
15702012-04-02 Michael Albinus <michael.albinus@gmx.de>
1571
1572 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1573 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1574 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1575
42ee526b
CY
15762012-04-01 Chong Yidong <cyd@gnu.org>
1577
1578 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1579 Handle root directory properly.
1580 (copy-directory): Caller changed.
1581
1582 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1583 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1584
0b021094
GM
15852012-03-31 Glenn Morris <rgm@gnu.org>
1586
40f86458
GM
1587 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1588
7019c177
GM
1589 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1590
a1daddd6
GM
1591 * calendar/calendar.el (calendar-window-list)
1592 (calendar-hide-window): Restore. (Bug#11140)
1593 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1594
0b021094
GM
1595 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1596
40311efc
TV
15972012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1598
1599 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1600 Check if file is a symlink (Bug#10489).
1601
1602 * files.el (copy-directory): Likewise.
1603
5319014e
CY
16042012-03-30 Chong Yidong <cyd@gnu.org>
1605
1606 * image.el (imagemagick-types-inhibit)
1607 (imagemagick-register-types): Doc fix.
1608
935d1290
AM
16092012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1610
ef24141c
SM
1611 * ispell.el (ispell-get-extended-character-mode):
1612 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1613 and treats ~word as ordinary words in pipe mode.
935d1290 1614
61c6e8fd
GM
16152012-03-30 Glenn Morris <rgm@gnu.org>
1616
1617 * tutorial.el (help-with-tutorial): Ensure local variables don't
1618 happen to make the buffer read-only. (Bug#11127)
1619
81fdff00
SM
16202012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1623 (perl-calculate-indent): Return `noindent' in strings.
1624
6e7a6ec0
SS
16252012-03-28 Sam Steingold <sds@gnu.org>
1626
1627 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1628 instead of the broken adhockery which does not prevent calendar
1629 buffers from being displayed at random after exit.
1630 (calendar-window-list, calendar-hide-window): Remove the broken
1631 adhockery.
1632
fee88ca0
GM
16332012-03-28 Glenn Morris <rgm@gnu.org>
1634
1635 * replace.el (query-replace-map): Doc fix.
1636
38de3354
AS
16372012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1638
1639 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1640 contents. (Bug#11109)
1641
b973155e
SM
16422012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1643
1644 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1645 (bug#11077).
1646 (avl-tree--check, avl-tree--check-node): New funs.
1647
dcb6e7b3
MR
16482012-03-27 Martin Rudalics <rudalics@gmx.at>
1649
1650 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1651 (switch-to-prev-buffer, switch-to-next-buffer):
1652 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1653 showing a buffer already is done on the same frame.
1654
b4fa35fa
GM
16552012-03-27 Glenn Morris <rgm@gnu.org>
1656
1657 * startup.el (mail-host-address): Doc fix.
1658
f9210e18
SM
16592012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1660
1661 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1662 than 197 variables.
1663
c0bf7753
AF
16642012-03-26 Ami Fischman <ami@fischman.org>
1665
1666 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1667
33da7b16
GM
16682012-03-26 Glenn Morris <rgm@gnu.org>
1669
02243d9d
GM
1670 * files.el (save-buffers-kill-emacs): Doc fix.
1671
33da7b16
GM
1672 * startup.el (normal-top-level, command-line, command-line-1):
1673 Give them doc strings.
1674
e5a69fd0
EZ
16752012-03-25 Eli Zaretskii <eliz@gnu.org>
1676
1677 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1678 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1679
9a69676a
CY
16802012-03-25 Chong Yidong <cyd@gnu.org>
1681
4125cb8b
CY
1682 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1683 theme if it was previously enabled before (Bug#11031).
1684
dd470960
CY
1685 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1686 spec with custom-face-get-current-spec if its :shown-value is not
1687 determined yet (Bug#9337).
4125cb8b 1688 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1689
9a69676a
CY
1690 * button.el (button-at): Minor addition to docstring.
1691
6e7e90fa
SL
16922012-03-24 Simon Leinen <simon.leinen@gmail.com>
1693
1694 * vc/vc.el (vc-merge): Fix a prompt.
1695
f06e2758
CY
16962012-03-24 Chong Yidong <cyd@gnu.org>
1697
1698 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1699 point (Bug#9623).
1700
6e7e90fa
SL
1701 * button.el (button-at): Minor addition to docstring.
1702
b9d0879b
SM
17032012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1704
1705 * newcomment.el (comment-choose-indent): No space after BOL.
1706
e71cebb3
SS
17072012-03-22 Sam Steingold <sds@gnu.org>
1708
1709 * window.el (switch-to-prev-buffer): Revert last patch because the
1710 bug turned out to be an advertised feature (Elisp manual 28.14).
1711
335aff35
GM
17122012-03-22 Glenn Morris <rgm@gnu.org>
1713
1714 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1715 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1716
c676576a
LMI
17172012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1718
1719 * net/network-stream.el (network-stream-open-starttls): Make error
1720 message under Windows be less misleading.
1721
126f3d39
LW
17222012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1723
1724 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1725 understands (bug#9942).
1726
64fee311
CY
17272012-03-22 Chong Yidong <cyd@gnu.org>
1728
1729 * simple.el (end-of-visible-line): Handle return value of
1730 next-single-property-change properly (Bug#9371).
1731
a640d29a
KH
17322012-03-22 Kenichi Handa <handa@m17n.org>
1733
1734 * international/quail.el (quail-insert-kbd-layout): Fix previous
1735 change. To avoid unwanted bidi reordering, use
1736 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1737
39675016
DG
17382012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1739
1740 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1741 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1742 (ruby-beginning-of-indent): Be more careful with the difference
1743 between word-boundary and symbol boundary.
1744 (ruby-mode-syntax-table): Make : a symbol constituent.
1745
0a6934fc 17462012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1747
3d008e4f
SM
1748 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1749
0a6934fc
SM
17502012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1751
af67c9d7
SM
1752 * progmodes/etags.el (tags-completion-at-point-function):
1753 Improve last fix.
1754
1acad97c
SM
1755 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1756
e298b5da
SS
17572012-03-21 Sam Steingold <sds@gnu.org>
1758
1759 * progmodes/etags.el (tags-completion-at-point-function):
1760 Avoid the error when point is inside the pattern.
1761
91d82a70
JY
17622012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1763
1764 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1765 line (Bug#10855).
1766
69188b79
CY
17672012-03-21 Drew Adams <drew.adams@oracle.com>
1768
1769 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1770
99fc91fe
AK
17712012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1772
1773 * ido.el (ido-set-current-directory, ido-read-internal)
1774 (ido-choose-completion-string, ido-completion-help): Handle nil
1775 value of ido-completion-buffer (Bug#11008).
1776
087bbb4c
SS
17772012-03-21 Sam Steingold <sds@gnu.org>
1778
1779 * window.el (switch-to-prev-buffer): Do not switch to a visible
1780 window previous buffer, just like with the frame previous buffers.
1781
fb5b8aca
CY
17822012-03-21 Chong Yidong <cyd@gnu.org>
1783
1784 * faces.el (make-face, make-empty-face, copy-face):
1785 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1786 Doc fixes.
1787
dc9924b8
SM
17882012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1791 (widget-complete): Remove broken use of it.
1792
f0bcceb9
CY
17932012-03-20 Chong Yidong <cyd@gnu.org>
1794
dc9924b8
SM
1795 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1796 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1797 characters.
1798
ee52ebf3
TH
17992012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1800
1801 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1802 to draw rectangles, not squares. (Regression introduced by revno
1803 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1804
4c5779ab
CY
18052012-03-18 Chong Yidong <cyd@gnu.org>
1806
1807 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1808 it is not yet defined (for temacs).
1809
15360934
LL
18102012-03-18 Leo Liu <sdl.web@gmail.com>
1811
dc9924b8 1812 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1813
d9a8eb66
EZ
18142012-03-17 Eli Zaretskii <eliz@gnu.org>
1815
1816 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1817 (ispell-choices-win-default-height, ispell-silently-savep)
1818 (ispell-dictionary-alist, ispell-encoding8-command)
1819 (ispell-check-version, ispell-aspell-find-dictionary)
1820 (ispell-valid-dictionary-list, ispell-words-keyword)
1821 (ispell-get-word, ispell-internal-change-dictionary)
1822 (ispell-region, ispell-skip-region-list)
1823 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1824 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1825 (ispell-message-text-end, ispell-message)
1826 (ispell-buffer-local-parsing): Doc fix.
1827
f02ff80d
J
18282012-03-13 Jambunathan K <kjambunathan@gmail.com>
1829
1830 * htmlfontify.el: Add support for code block fontification for ODT
1831 export (Bug #9914).
1832 (hfy-optimisations): Define new option
1833 `body-text-only'
1834 (hfy-fontify-buffer): Honor above setting.
1835 (hfy-begin-span, hfy-end-span): New routines factored out form
1836 `hfy-fontify-buffer'.
1837 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1838 that permit insertion of custom tags.
1839 (hfy-fontify-buffer): Use above handlers.
1840 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1841 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1842 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1843 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1844 bind a special variable `hfy-user-sheet-assoc'.
1845 (htmlfontify-string): New defun.
1846 (hfy-compile-face-map): Make sure that the last char in the
1847 buffer is correctly fontified.
1848 (hfy-face-resolve-face): Whitespace only change.
1849
9ac7a13f
EZ
18502012-03-17 Eli Zaretskii <eliz@gnu.org>
1851
1852 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1853 message more clear.
1854
e2b5bdd7
LL
18552012-03-16 Leo Liu <sdl.web@gmail.com>
1856
1857 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1858
2e492df3
AM
18592012-03-16 Alan Mackenzie <acm@muc.de>
1860
1861 Further optimise the handling of large macros.
1862
1863 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1864 limit to a call of `c-literal-limits'.
1865 (c-determine-+ve-limit): New function.
dc9924b8
SM
1866 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1867 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1868 In CASE 5B, restrict a search limit to 500.
1869 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1870
1871 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1872 Restrict macro bounds to +-500 from after-change's BEG END.
1873
50e94f0c
LL
18742012-03-16 Leo Liu <sdl.web@gmail.com>
1875
1876 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1877
6f09f6ed
AH
18782012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1879
1880 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1881 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1882
c7e73d51
GM
18832012-03-16 Glenn Morris <rgm@gnu.org>
1884
da986230
GM
1885 * view.el (view-buffer, view-buffer-other-window)
1886 (view-buffer-other-frame): Doc fixes re special mode-class.
1887
0835f01e
GM
1888 * subr.el (eval-after-load): If named feature is provided not from
1889 a file, run after-load forms. (Bug#10946)
1890
c7e73d51
GM
1891 * calendar/calendar.el (calendar-insert-at-column):
1892 Handle non-unit-width characters a bit better. (Bug#10978)
1893
3f2eafd1
CY
18942012-03-15 Chong Yidong <cyd@gnu.org>
1895
1896 * emacs-lisp/ring.el (ring-extend): New function.
1897 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1898
1899 * comint.el (comint-read-input-ring)
1900 (comint-add-to-input-history): Grow comint-input-ring lazily.
1901
103af3fe
SM
19022012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1903
663b1677
SM
1904 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1905 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1906
103af3fe
SM
1907 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1908 (imenu-add-to-menubar): Don't add a redundant index.
1909 (imenu-update-menubar): Handle a dynamically composed keymap.
1910
899cb7cb
KY
19112012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1912
1913 * mail/sendmail.el (mail-encode-header):
1914 Bind rfc2047-encode-encoded-words to nil.
1915
3809f91d
GM
19162012-03-13 Glenn Morris <rgm@gnu.org>
1917
1918 * calendar/calendar.el (calendar-string-spread):
1919 Handle non-unit-width characters a bit better. (Bug#10978)
1920
9e345a01
LL
19212012-03-13 Leo Liu <sdl.web@gmail.com>
1922
1923 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1924 directory and file as argument (Bug#10822).
1925
4a07df36
KS
19262012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1927
1928 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1929 For dynamically generated code, follow $PC.
1930 (gdb-disassembly-handler-custom): Handle no function name case.
1931
4aaa9356
TL
19322012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1933
1934 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1935 * emulation/ws-mode.el (ws-query-replace):
1936 * sort.el (sort-regexp-fields):
1937 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1938
225979da
SM
19392012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * dabbrev.el: Fix cycle completion order (bug#10963).
1942 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1943 (dabbrev-completion): Don't use an obarray; provide
1944 a cycle-sort-function.
1945
e2f1fdab
LL
19462012-03-12 Leo Liu <sdl.web@gmail.com>
1947
dc9924b8 1948 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1949 (kill-do-not-save-duplicates): Doc fix.
1950
b19490ed
SM
19512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1952
1953 * dabbrev.el: Fix cycle completion (bug#10963).
1954 Use lexical binding and wrap to 80 columns.
1955 (dabbrev-completion): Delay computing the list of completions.
1956
4b05d722
KH
19572012-03-12 Kenichi Handa <handa@m17n.org>
1958
1959 * international/quail.el (quail-insert-kbd-layout): Surround each
1960 row by LRO and PDF instead of inserting many LRMs. Pad the left
1961 and right of each non-spacing marks. Insert invisible space
1962 between lower and upper characters to prevent composition.
1963
dbbc2e69
SM
19642012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 * minibuffer.el (minibuffer-complete): Don't get confused when the
1967 function is run twice via different commands (bug#10958).
1968 (complete-with-action): Fix docstring.
1969
292112ed
CY
19702012-03-12 Chong Yidong <cyd@gnu.org>
1971
5d1ac394
CY
1972 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1973 (nxml-completion-at-point-function): New function.
1974 (nxml-mode): Use it.
1975 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1976
292112ed
CY
1977 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1978 Load generated autoloads file before byte compiling (Bug#10970).
1979 (package--make-autoloads-and-compile): New helper fun.
1980
4098f8f7
CS
19812012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1982
1983 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1984
8f754691
MA
19852012-03-11 Michael Albinus <michael.albinus@gmx.de>
1986
1987 * autorevert.el (auto-revert-handler): Ensure, that
1988 file-readable-p is applied only for local files or in
1989 auto-revert-tail-mode.
1990
e29ab36b
AS
19912012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1992
dbbc2e69
SM
1993 * server.el (server-eval-at): Handle non-tcp connections.
1994 Decode result string.
ad0bf5b6 1995
e29ab36b
AS
1996 * server.el (server-msg-size): New constant.
1997 (server-reply-print): New function.
1998 (server-eval-and-print): Use it.
1999 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2000 Handle -print-nonl.
2001
de5939ba
CS
20022012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2003
2004 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2005 (Bug#10987).
2006
0c93eabf
CY
20072012-03-11 Chong Yidong <cyd@gnu.org>
2008
397a688f
CY
2009 * simple.el (goto-line): Doc fix (Bug#9938).
2010
2cc775f9
CY
2011 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2012
0c93eabf
CY
2013 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2014 when finished (Bug#10963).
2015
c491fa41
MR
20162012-03-11 Martin Rudalics <rudalics@gmx.at>
2017
2018 * window.el (split-window-below): Fix bug in case where
2019 split-window-keep-point is nil (Bug#10971).
2020
300e8fa5
JL
20212012-03-11 Juri Linkov <juri@jurta.org>
2022
2023 * replace.el (replace-highlight): Set isearch-word to nil
2024 unconditionally. (Bug#10887)
2025
dbf6c5a1
EZ
20262012-03-10 Eli Zaretskii <eliz@gnu.org>
2027
2028 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2029 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2030 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2031 (mairix-widget-create-query): Add usage information about mairix
2032 search forms: negating words, searching for substrings, etc.
2033
b9e501de
JP
20342012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2035
2036 * international/fontset.el (font-encoding-alist): Add an entry for
2037 ksx1001 (Bug#5667).
2038
92795c91
RS
20392012-03-10 Richard Stallman <rms@gnu.org>
2040
1694e6c1
RS
2041 * mail/sendmail.el (mail-encode-header):
2042 Set rfc2047-encode-encoded-words.
2043
607e8555
RS
2044 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2045
de3bc99a
RS
2046 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2047 view buffer means not swapped.
2048 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2049 (rmail-write-region-annotate): Error if real text has disappeared.
2050
92795c91
RS
2051 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2052
699bd04e
CY
20532012-03-10 Chong Yidong <cyd@gnu.org>
2054
2055 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2056 * emulation/cua-base.el (cua--init-keymaps):
2057 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2058
570a1714
MR
20592012-03-10 Martin Rudalics <rudalics@gmx.at>
2060
dbbc2e69
SM
2061 * speedbar.el (speedbar-unhighlight-one-tag-line):
2062 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2063
82dcf4e4
CY
20642012-03-10 Chong Yidong <cyd@gnu.org>
2065
7a2c7ca7
CY
2066 * minibuffer.el (completion-in-region, completion-help-at-point):
2067 Give the completion field overlay a high priority (Bug#6830).
2068
82dcf4e4
CY
2069 * dired.el (dired-goto-file): Recognize absolute file name
2070 listings (Bug#7126).
2071 (dired-goto-file-1): New helper function.
2072 (dired-toggle-read-only): Inhibit warnings.
2073
052e28ac
MA
20742012-03-09 Michael Albinus <michael.albinus@gmx.de>
2075
75f1671a 2076 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2077 there are no properties.
2078
95d5e396
LL
20792012-03-09 Leo Liu <sdl.web@gmail.com>
2080
2081 * savehist.el (savehist-printable): Stricter check for string
2082 value (Bug#10937).
2083
3f018d6d
EZ
20842012-03-09 Eli Zaretskii <eliz@gnu.org>
2085
dbbc2e69
SM
2086 * mail/smtpmail.el (smtpmail-send-it):
2087 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2088 valid mbox format.
2089
f7fd3d79
GM
20902012-03-09 Glenn Morris <rgm@gnu.org>
2091
2092 * files.el (dir-locals-find-file):
2093 Don't check result is regular, readable.
2094 (dir-locals-read-from-file): Demote errors.
2095
6ff6e72f
EZ
20962012-03-08 Eli Zaretskii <eliz@gnu.org>
2097
dbbc2e69
SM
2098 * international/quail.el (quail-insert-kbd-layout):
2099 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2100 layout cell, to prevent their reordering by bidi display engine.
2101 For details, see the discussion in
2102 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2103
9cec7834
AM
21042012-03-08 Alan Mackenzie <acm@muc.de>
2105
2106 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2107 the starting position; make it extend the marked region when
2108 invoked repeatedly - all under appropriate circumstances.
2109 Fixes bugs #5525, #10906.
2110
9a40b8d4
GM
21112012-03-08 Glenn Morris <rgm@gnu.org>
2112
2113 * files.el (locate-dominating-file, dir-locals-find-file):
2114 Undo 2012-03-06 change.
2115
7a08ed35
EZ
21162012-03-07 Eli Zaretskii <eliz@gnu.org>
2117
dbbc2e69
SM
2118 * international/quail.el (quail-help):
2119 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2120 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2121 for the reason.
2122
5aca4f71 21232012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2124
2125 Avoid superfluous registering of signals. (Bug#10807)
2126
2127 * notifications.el (notifications-on-action-object)
2128 (notifications-on-close-object): New defvars.
2129 (notifications-on-action-signal, notifications-on-closed-signal):
2130 Unregister the signal if not needed any longer.
2131 (notifications-notify): Register `notifications-action-signal' or
2132 `notifications-closed-signal', if :on-action or :on-close has been
2133 passed as argument.
2134
78e8b10a
CY
21352012-03-07 Chong Yidong <cyd@gnu.org>
2136
2137 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2138 non-X platforms.
2139
69481eb8
GM
21402012-03-06 Glenn Morris <rgm@gnu.org>
2141
2142 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2143 (x-disown-selection-internal, x-get-selection-internal):
2144 Doc fix (add arglist signatures). (Bug#10783)
2145
133b8e11
KS
21462012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2147
2148 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2149 Handle breakpoints with no "type".
2150
99a83064
GM
21512012-03-06 Glenn Morris <rgm@gnu.org>
2152
2153 * files.el (locate-dominating-file): Add optional predicate argument.
2154 (dir-locals-find-file): Make use of above change.
2155
17798e78
TTN
21562012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2157
2158 * info.el (Info-insert-dir): Also try "dir.gz".
2159
eb182446
GM
21602012-03-06 Glenn Morris <rgm@gnu.org>
2161
8f2114ee
GM
2162 * files.el (dir-locals-find-file):
2163 Ignore non-readable or non-regular files. (Bug#10928)
2164
eb182446
GM
2165 * files.el (locate-dominating-file): Doc fix.
2166
24679323
AS
21672012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2168
2169 * calendar/calendar.el (calendar-set-mode-line):
2170 `getenv' returns a string. (Bug#10951)
2171
01d972a9
LL
21722012-03-05 Leo Liu <sdl.web@gmail.com>
2173
109aa8a9
LL
2174 * simple.el (backward-delete-char-untabify): Constrain point to
2175 field (Bug#10939).
2176
01d972a9
LL
2177 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2178
10607bea
CY
21792012-03-05 Chong Yidong <cyd@gnu.org>
2180
2181 * simple.el (count-words): If called from Lisp, return the word
2182 count, for symmetry with `count-lines'. Arglist changed.
2183 (count-words--message): Args changed. Consolidate counting code
2184 from count-words and count-words-region.
2185 (count-words-region): Caller changed.
2186 (count-lines-region): Make it an obsolete alias.
2187
5dd11cfe
TH
21882012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2189
2190 * saveplace.el (save-place-to-alist)
2191 (save-place-ignore-files-regexp): Allow value nil to disable this
2192 feature.
2193
c349f4e6
CY
21942012-03-04 Chong Yidong <cyd@gnu.org>
2195
2196 * faces.el (face-spec-reset-face): For the default face, reset the
2197 attributes to default values (Bug#10748).
2198
e627be4c
LMI
21992012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2200
2201 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2202 previous patch: Check `message-send-mail-function', and not the
2203 default function (bug#10897).
2204
ebeabff4
MA
22052012-03-04 Michael Albinus <michael.albinus@gmx.de>
2206
a41a6cf4
MA
2207 * notifications.el (notifications-on-action-signal)
2208 (notifications-on-closed-signal): Check for unique service name of
2209 incoming event. Fix error in removing entry.
ebeabff4 2210 (top): Register for signals with wildcard service name.
a41a6cf4 2211 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2212
c1ca42b4
CY
22132012-03-04 Chong Yidong <cyd@gnu.org>
2214
dc9924b8 2215 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2216
ea16568d
GM
22172012-03-04 Glenn Morris <rgm@gnu.org>
2218
2219 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2220 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2221 (expand-abbrev, define-abbrev-table): Doc fixes.
2222
fbae4637
LMI
22232012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2224
2225 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2226 `message-default-send-mail-function' and not `send-mail-function'
2227 when doing the prompting for `sendmail-query-once' before sending
2228 in Message buffers (bug#10897).
2229
a1e7225c
LMI
2230 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2231 This is inconsistent with all the other stream functions, which leave
2232 the setting up to the higher levels (if so wanted) (bug#10931).
2233
56d093a9
AM
22342012-03-02 Alan Mackenzie <acm@muc.de>
2235
2236 Depessimize the handling of very large macros.
2237
2238 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2239 (c-macro-cache-syntactic): New variables to implement a one
2240 element macro cache.
2241 (c-invalidate-macro-cache): New function.
2242 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2243 Adapt to use the new cache.
2244 (c-state-safe-place): Use better the cache of safe positions.
2245 (c-state-semi-nonlit-pos-cache)
2246 (c-state-semi-nonlit-pos-cache-limit):
2247 New variables for...
2248 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2249 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2250 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2251 Use c-state-semi-safe-place.
56d093a9 2252
dbbc2e69
SM
2253 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2254 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2255
817e5c3d
MA
22562012-03-02 Michael Albinus <michael.albinus@gmx.de>
2257
dbbc2e69
SM
2258 * jka-compr.el (jka-compr-call-process):
2259 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2260 not remote.
2261
a032a702
MA
22622012-03-01 Michael Albinus <michael.albinus@gmx.de>
2263
2264 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2265 access of FILE2, if FILE1 does not exist.
2266
99a54f21
MA
2267 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2268 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2269
2270 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2271 Add "PAGER=" to `process-environment'.
2272
f6561e1f
MM
22732012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2274
2275 * progmodes/sql.el: Bug fix
2276 (sql-get-login-ext): Save login values in globals.
2277 (sql-get-login): Use new version of `sql-get-login-ext'.
2278 (sql-interactive-mode): Set global `sql-connection' to nil.
2279 (sql-connect): Set global values for connection.
2280 (sql-product-interactive): Save global values as buffer local.
2281
2d44d9cc
LL
22822012-02-29 Leo Liu <sdl.web@gmail.com>
2283
2284 * abbrev.el (define-abbrevs): Reset sys to nil.
2285
96b49301 22862012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2287
bf7f9bc5
JB
2288 * files.el (file-equal-p): Rename from `files-equal-p'.
2289 Return nil when one or both files don't exist.
96b49301 2290 (file-subdir-of-p): Now only top directory must exists,
2291 return nil if it doesn't.
bf7f9bc5
JB
2292 (copy-directory): No need to test with `file-subdir-of-p' after
2293 creating dir.
2294 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2295 to `file-equal-p'.
96b49301 2296
44e97401
GM
22972012-02-28 Glenn Morris <rgm@gnu.org>
2298
2299 * shell.el (shell-mode):
2300 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2301 * play/landmark.el (landmark-font-lock-face-O):
2302 * play/handwrite.el (handwrite):
2303 * play/gomoku.el (gomoku-O):
2304 * net/browse-url.el (browse-url-browser-display):
2305 * international/mule.el (define-charset):
2306 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2307 * filesets.el (filesets-find-file-delay):
2308 * eshell/em-xtra.el (eshell-xtra):
2309 * eshell/em-unix.el (eshell-grep):
2310 * emulation/viper.el (viper-mode):
2311 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2312 * emacs-lisp/easymenu.el (easy-menu-define):
2313 * calendar/timeclock.el (timeclock-use-display-time):
2314 * bs.el (bs-mode):
2315 * bookmark.el (bookmark-save-flag):
2316 Doc fix (standardize possessive apostrophe usage).
2317
c98c6276
CY
23182012-02-27 Chong Yidong <cyd@gnu.org>
2319
bf7f9bc5
JB
2320 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2321 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2322
c98c6276
CY
2323 * font-lock.el (font-lock-specified-p): Rename from
2324 font-lock-spec-present. Callers changed.
2325
9c62cd04 23262012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2327
bf7f9bc5
JB
2328 * emacs-lisp/package.el (package-compute-transaction):
2329 Handle holding a package version to t in package-load-list.
8ac9e529 2330
530739c9
MA
23312012-02-26 Michael Albinus <michael.albinus@gmx.de>
2332
2333 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2334 (tramp-get-inode, tramp-get-device): Use cached values.
2335
487915d7
AM
23362012-02-26 Alan Mackenzie <acm@muc.de>
2337
2338 Check there is a font-lock specification before doing initial
2339 fontification.
2340
2341 * font-core.el (font-lock-mode): Move the conditional from
2342 :after-hook to font-lock-initial-fontify.
2343 (font-lock-default-function): Move the check for a specification
2344 to font-lock-spec-present.
2345
dc9924b8 2346 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2347 (font-lock-spec-present): New function.
2348
4fd96557
JB
23492012-02-26 Jim Blandy <jimb@red-bean.com>
2350
2351 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2352 (gdb-send): Apply it to the operand of the '-interpreter-exec
2353 console' command, so that we can pass arguments with (say) quotes
2354 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2355
9a4888c0
CY
23562012-02-26 Chong Yidong <cyd@gnu.org>
2357
07498861
CY
2358 * help-fns.el (describe-function-1): Clarify description of
2359 remapping (Bug#10844).
2360
9a4888c0
CY
2361 * files.el (files-equal-p): Doc fix.
2362 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2363 and quit the loop once a mismatch is found.
2364
ea8fb88d
JB
23652012-02-25 Juanma Barranquero <lekktu@gmail.com>
2366
2367 * bs.el (bs--show-with-configuration): Don't throw an error
2368 if the window cannot be split; otherwise, subsequent calls to
2369 bs-show fail, restoring a stale window config. (Bug#10882)
2370
525795c1
JD
23712012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2372
2373 * term/ns-win.el (global-map): Bind ns-drag-file to
2374 ns-find-file (Bug#5855, Bug#10050).
2375
f008086f
AS
23762012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2377
2378 * calendar/parse-time.el (parse-time-string): Allow extractor to
2379 return nil.
2380
a3fcfa99
MA
23812012-02-25 Michael Albinus <michael.albinus@gmx.de>
2382
91027d08
JB
2383 * net/tramp.el (tramp-file-name-for-operation):
2384 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2385
2386 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2387 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2388 Add COPY-CONTENTS argument.
a3fcfa99 2389
67b0de11
CY
23902012-02-25 Chong Yidong <cyd@gnu.org>
2391
2392 Add custom groups for VC backends, for consistency with vc-bzr.
2393
2394 * vc/vc-arch.el (vc-arch):
2395 * vc/vc-cvs.el (vc-cvs):
2396 * vc/vc-git.el (vc-git):
2397 * vc/vc-hg.el (vc-hg):
2398 * vc/vc-mtn.el (vc-mtn):
2399 * vc/vc-rcs.el (vc-rcs):
2400 * vc/vc-sccs.el (vc-sccs):
2401 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2402 All relevant defcustoms reassigned.
2403
3c9dfce6
CY
24042012-02-25 Chong Yidong <cyd@gnu.org>
2405
1339bf43
CY
2406 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2407
3c9dfce6
CY
2408 * term/x-win.el (x-initialize-window-system): Reduce default for
2409 x-selection-timeout to 5 seconds (Bug#8869).
2410
25b2e303 24112012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2412
ec70a47d
GM
2413 * files.el (files-equal-p, file-subdir-of-p): New functions.
2414 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2415 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2416 * dired-aux.el (dired-copy-file-recursive): Same.
2417 (dired-create-files): Modify destination when source is equal to
2418 dest when copying files.
53a46cd0 2419 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2420
914260cd
MA
24212012-02-24 Michael Albinus <michael.albinus@gmx.de>
2422
2423 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2424 (Bug#10874)
2425
2cb228f7
AM
24262012-02-23 Alan Mackenzie <acm@muc.de>
2427
2428 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2429 parameter "after-hook:" to allow the expansion to run code after
2430 the execution of the mode hooks.
2431
2432 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2433 from font-lock-mode-internal.
2cb228f7 2434
91027d08 2435 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2436 :after-hook.
2437
8f0fde21
SM
24382012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2439
3e88618b
SM
2440 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2441 (completion--cache-all-sorted-completions): New function.
2442 (completion-all-sorted-completions): Use it.
2443 (completion--do-completion, minibuffer-force-complete):
2444 Use it to re-instate the flush hook.
2445
8f0fde21
SM
2446 * icomplete.el (icomplete-completions): Replace last fix with a better
2447 one (bug#10850).
2448
8e911f6f
DG
24492012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2450
2451 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2452 when it might call us back infinitely (bug#10797).
2453
49fe4321
GM
24542012-02-23 Glenn Morris <rgm@gnu.org>
2455
2456 * minibuffer.el (completion-category-overrides): Doc fix.
2457
b291b572
SM
24582012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2459
2460 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2461 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2462
31a9ef2e
GM
24632012-02-23 Glenn Morris <rgm@gnu.org>
2464
5e6e6794 2465 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2466 (authors-obsolete-files-regexps, authors-ignored-files)
2467 (authors-ambiguous-files, authors-renamed-files-alist):
2468 Add more entries.
2469
0bd1e074
JL
24702012-02-23 Juri Linkov <juri@jurta.org>
2471
2472 * isearch.el (isearch-occur): Sync interactive spec with occur's
2473 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2474
b617673c
JL
2475 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2476
19e9789e
JL
24772012-02-22 Juri Linkov <juri@jurta.org>
2478
2479 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2480 (ucs-insert): Doc fix. Check for hex digits in the string.
2481 Don't display `nil' in the error message. (Bug#10857)
2482
f41ce09d
AM
24832012-02-22 Alan Mackenzie <acm@muc.de>
2484
7a71b18d 2485 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2486
ac2eceee
GM
24872012-02-22 Glenn Morris <rgm@gnu.org>
2488
2489 * ffap.el (ffap-c-path):
2490 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2491
abd1f678
CY
24922012-02-22 Chong Yidong <cyd@gnu.org>
2493
2494 * custom.el (load-theme): Doc fix.
2495
f25aef2e
GM
24962012-02-22 Glenn Morris <rgm@gnu.org>
2497
2498 * dired-x.el (dired-guess-shell-alist-default):
2499 Remove escape sequences from nroff output. (Bug#172)
2500
5f8dc2ca
GM
25012012-02-21 Glenn Morris <rgm@gnu.org>
2502
6ff86ec4
GM
2503 * vc/emerge.el (emerge-defvar-local):
2504 Set `permanent-local' property rather than unused `preserved'.
2505
be3223a3 2506 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2507 (picture-mode-map): Use it. (Bug#10860)
2508 (picture-mode): Doc fix.
2509
3fe58f4f
JB
25102012-02-21 Juanma Barranquero <lekktu@gmail.com>
2511
2512 * newcomment.el (uncomment-region-default): Remove unused binding.
2513
f9a998c3
GM
25142012-02-21 Glenn Morris <rgm@gnu.org>
2515
2516 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2517 (picture-self-insert, picture-tab-chars): Doc fix.
2518 (picture-mode-map): Fix C-a, C-e.
2519
c6029348
GM
25202012-02-20 Glenn Morris <rgm@gnu.org>
2521
2522 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2523
ab1ce9d7
LL
25242012-02-20 Leo Liu <sdl.web@gmail.com>
2525
2526 * icomplete.el (icomplete-completions): Check FROM arg before
2527 passing to substring (Bug#10850).
2528
0fd40f89
CY
25292012-02-19 Chong Yidong <cyd@gnu.org>
2530
2531 * comint.el: Require ansi-color.
2532 (comint-output-filter-functions): Add ansi-color-process-output.
2533
2534 * ansi-color.el: Don't set comint-output-filter-functions; it is
2535 now in the initial value defined in comint.el.
2536 (ansi-color-apply-face-function): New variable.
2537 (ansi-color-apply-on-region): Use it.
2538 (ansi-color-apply-overlay-face): New function.
2539
2540 * shell.el (shell): No need to require ansi-color.
2541 (shell-mode): Use ansi-color-apply-face-function to highlight
2542 color escapes using font-lock-face property (Bug#10835).
2543
20af2394
CY
25442012-02-19 Chong Yidong <cyd@gnu.org>
2545
2546 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2547 mode-line formats (Bug#10839).
2548
e23a3fbe
GM
25492012-02-18 Glenn Morris <rgm@gnu.org>
2550
b474519e
GM
2551 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2552
2553 * mail/undigest.el (unforward-rmail-message): Doc fix.
2554
e23a3fbe
GM
2555 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2556
57939ff4
EZ
25572012-02-18 Eli Zaretskii <eliz@gnu.org>
2558
2559 * international/characters.el (script-list): Sync with the latest
2560 Unicode Character Database.
2561
0c23686e
AS
25622012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2563
2564 * international/titdic-cnv.el: Remove duplicate coding tag.
2565 * language/cham.el: Likewise.
2566 * language/tai-viet.el: Likewise.
2567
6818b449
GM
25682012-02-18 Glenn Morris <rgm@gnu.org>
2569
2570 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2571 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2572 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2573 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2574 * calendar/holidays.el (holiday-bahai-holidays)
2575 (calendar-holidays, list-holidays):
2576 Use utf-8 Bahá'í in doc-strings, menus, etc.
2577
0311a3fc
TH
25782012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2579
2580 * saveplace.el (save-place-ignore-files-regexp): New variable
2581 allowing for excluding files from saving their location of point.
2582 The default value matches the temporary commit message editing
2583 files from Git, SVN, Bazaar, and Mercurial.
2584 (save-place-to-alist): Use it.
2585
eb864a71
LM
25862012-02-17 Lawrence Mitchell <wence@gmx.li>
2587 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 * newcomment.el (uncomment-region-default): Don't leave extra space
2590 when an arg is provided (bug#8150).
2591
ee0ce425
TZ
25922012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2593
eb864a71 2594 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2595
95ddf442
GM
25962012-02-17 Glenn Morris <rgm@gnu.org>
2597
2598 * net/socks.el: Require network-stream. (Bug#10599)
2599
48dd1e39 26002012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2601
2602 * international/charprop.el:
2603 * international/uni-name.el:
2604 * international/uni-old-name.el:
2605 * international/uni-comment.el: Regenerate.
2606
d68cd087
GM
26072012-02-16 Glenn Morris <rgm@gnu.org>
2608
2609 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2610 Interactively in calendar buffer, give an error if not on a date.
2611
13932042
GM
26122012-02-15 Glenn Morris <rgm@gnu.org>
2613
2614 * shell.el (shell-delimiter-argument-list):
2615 Revert 2011-02-17 change. (Bug#8027)
2616
c3a70e2b
CY
26172012-02-15 Chong Yidong <cyd@gnu.org>
2618
60236b0d
CY
2619 * minibuffer.el (completion-at-point-functions): Doc fix.
2620
c3a70e2b
CY
2621 * custom.el (defcustom): Doc fix; note use of defvar.
2622
9f26dc24
GM
26232012-02-15 Glenn Morris <rgm@gnu.org>
2624
2625 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2626 Doc fixes.
2627
6546b134
GM
26282012-02-14 Glenn Morris <rgm@gnu.org>
2629
2630 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2631
d29b2b4c
LI
26322012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2633
2634 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2635 way the ports list is computed.
835bdcba
LI
2636 (smtpmail-query-smtp-server): Prompt the user for a port number if
2637 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2638
08dcdbc9
TZ
26392012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2640
2641 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2642
2605051a
GM
26432012-02-13 Glenn Morris <rgm@gnu.org>
2644
2645 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2646
7ee99f32
TZ
26472012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2648
2649 * net/gnutls.el (gnutls-trustfiles): New variable.
2650 (gnutls-negotiate): Use it.
2651
5f0af64f
LI
26522012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2653
2654 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2655 does its stuff if Gnus is running.
2656
c14fcc95
AM
26572012-02-13 Alan Mackenzie <acm@muc.de>
2658
2659 Fix a loop in c-set-fl-decl-start.
2660
7a71b18d 2661 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2662 c-backward-syntactic-ws actually moves backwards.
2663
142b4d90
LL
26642012-02-13 Leo Liu <sdl.web@gmail.com>
2665
2666 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2667 beginning so that all \C-o chars are removed.
2668
fa9958a6
TZ
26692012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2670
dc9924b8 2671 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2672
0bc5886a
AM
26732012-02-12 Alan Mackenzie <acm@muc.de>
2674
2675 Fix infinite loop with long macros.
4d6769e1 2676 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2677
d4bd55e7
CY
26782012-02-12 Chong Yidong <cyd@gnu.org>
2679
2680 * window.el (display-buffer): Doc fix (Bug#10785).
2681
66f3fe22
GM
26822012-02-12 Glenn Morris <rgm@gnu.org>
2683
bd7da63e
GM
2684 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2685 (x-disown-selection-internal, x-get-selection-internal):
2686 Sync docs with the xselect.c versions.
2687
66f3fe22
GM
2688 * allout-widgets.el: Add missing license notice.
2689
3e0d2fa7
GM
26902012-02-11 Glenn Morris <rgm@gnu.org>
2691
cfecdf09
GM
2692 * select.el (x-get-selection-internal, x-own-selection-internal)
2693 (x-disown-selection-internal):
2694 * x-dnd.el (x-get-selection-internal): Update declarations.
2695
6d216d7f
GM
2696 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2697
2bed3f04
GM
2698 * window.el (window-sides-slots):
2699 * tool-bar.el (tool-bar-position):
2700 * term/xterm.el (xterm-extra-capabilities):
2701 * ses.el (ses-self-reference-early-detection):
2702 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2703 (verilog-auto-wire-type)
2704 (verilog-auto-delete-trailing-whitespace)
2705 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2706 (verilog-auto-tieoff-declaration):
2707 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2708 (sql-oracle-statement-starters, sql-oracle-scan-on):
2709 * progmodes/prolog.el (prolog-align-comments-flag)
2710 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2711 (prolog-left-indent-regexp, prolog-paren-indent-p)
2712 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2713 (prolog-types, prolog-mode-specificators)
2714 (prolog-determinism-specificators, prolog-directives)
2715 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2716 (prolog-electric-dot-flag)
2717 (prolog-electric-dot-full-predicate-template)
2718 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2719 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2720 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2721 (prolog-program-switches, prolog-prompt-regexp)
2722 (prolog-debug-on-string, prolog-debug-off-string)
2723 (prolog-trace-on-string, prolog-trace-off-string)
2724 (prolog-zip-on-string, prolog-zip-off-string)
2725 (prolog-use-standard-consult-compile-method-flag)
2726 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2727 (prolog-imenu-max-lines, prolog-info-predicate-index)
2728 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2729 (prolog-char-quote-workaround):
2730 * progmodes/cc-vars.el (c-defun-tactic):
2731 * net/tramp.el (tramp-encoding-command-interactive)
2732 (tramp-local-end-of-line):
2733 * net/soap-client.el (soap-client):
2734 * net/netrc.el (netrc-file):
2735 * net/gnutls.el (gnutls):
2736 * minibuffer.el (completion-category-overrides)
2737 (completion-cycle-threshold)
2738 (completion-pcm-complete-word-inserts-delimiters):
2739 * man.el (Man-name-local-regexp):
2740 * mail/feedmail.el (feedmail-display-full-frame):
2741 * international/characters.el (glyphless-char-display-control):
2742 * eshell/em-ls.el (eshell-ls-date-format):
2743 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2744 (lisp-lambda-list-keyword-parameter-indentation)
2745 (lisp-lambda-list-keyword-parameter-alignment):
2746 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2747 * dired-x.el (dired-omit-verbose):
2748 * cus-theme.el (custom-theme-allow-multiple-selections):
2749 * calc/calc.el (calc-highlight-selections-with-faces)
2750 (calc-lu-field-reference, calc-lu-power-reference)
2751 (calc-note-threshold):
2752 * battery.el (battery-mode-line-limit):
2753 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2754 (archive-7z-update):
2755 * allout.el (allout-prefixed-keybindings)
2756 (allout-unprefixed-keybindings)
2757 (allout-inhibit-auto-fill-on-headline)
2758 (allout-flattened-numbering-abbreviation):
2759 * allout-widgets.el (allout-widgets-auto-activation)
2760 (allout-widgets-icons-dark-subdir)
2761 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2762 (allout-widgets-theme-dark-background)
2763 (allout-widgets-theme-light-background)
2764 (allout-widgets-item-image-properties-emacs)
2765 (allout-widgets-item-image-properties-xemacs)
2766 (allout-widgets-run-unit-tests-on-load)
2767 (allout-widgets-time-decoration-activity)
2768 (allout-widgets-hook-error-post-time)
2769 (allout-widgets-track-decoration):
2770 Add missing :version tags to new defcustoms and defgroups.
2771
5fec1b8e
GM
2772 * progmodes/sql.el (sql-ansi-statement-starters)
2773 (sql-oracle-statement-starters): Add custom type.
2774
3e0d2fa7
GM
2775 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2776 (prolog-system-version): Give it a type.
2777
90b671e2
EZ
27782012-02-11 Eli Zaretskii <eliz@gnu.org>
2779
2780 * term/pc-win.el (x-select-text, x-selection-owner-p)
2781 (x-own-selection-internal, x-disown-selection-internal)
2782 (x-get-selection-internal): Sync doc strings and argument lists
2783 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2784
5eac0c02
LL
27852012-02-11 Leo Liu <sdl.web@gmail.com>
2786
2787 * progmodes/python.el (python-end-of-statement): Fix infinite
2788 loop. (Bug#10788)
2789
f82cb659
GM
27902012-02-10 Glenn Morris <rgm@gnu.org>
2791
2792 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2793 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2794
cc26d239
LI
27952012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2796
2797 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2798 about SMTP before checking the From header.
2799
91027d08 2800 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2801 into own function for reuse by emacsbug.el.
2802
1be3ca5a
LL
28032012-02-10 Leo Liu <sdl.web@gmail.com>
2804
2805 * subr.el (condition-case-unless-debug): Rename from
2806 condition-case-no-debug. All callers changed.
2807 (with-demoted-errors): Fix caller.
2808
2809 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2810 * nxml/rng-valid.el (rng-do-some-validation):
2811 * emacs-lisp/package.el (package-refresh-contents)
2812 (package-menu-execute):
2813 * desktop.el (desktop-create-buffer):
91027d08 2814 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2815
b011fbfe
GM
28162012-02-10 Glenn Morris <rgm@gnu.org>
2817
b2096d72
GM
2818 * textmodes/bibtex.el:
2819 Add missing :version tags for new/changed defcustoms.
2820
b011fbfe
GM
2821 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2822
4c7e65bf
LI
28232012-02-09 Lars Ingebrigtsen <larsi@rusty>
2824
2825 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2826 (smtpmail-via-smtp): Use it, or fall back on the From address.
2827 (smtpmail-send-it): Ditto.
2828
f3934f6f
SM
28292012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2830
2831 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2832 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2833 (byte-compile-tmp-var): New const.
2834 (byte-compile-defvar): Use it to minimize .elc size.
2835 Just use `defvar' rather than simulate it (bug#10761).
2836
a075a2c5
GM
28372012-02-09 Glenn Morris <rgm@gnu.org>
2838
cf3aa21b
GM
2839 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2840
354998cd
GM
2841 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2842 Add :version tags.
2843
dc9924b8
SM
2844 * progmodes/compile.el (compilation-error-screen-columns)
2845 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2846
dab3703d
GM
2847 * vc/log-view.el (log-view-toggle-entry-display):
2848 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2849
3f88cd72
GM
2850 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2851 (report-emacs-bug-can-use-xdg-email):
2852 (report-emacs-bug-insert-to-mailer): Doc fixes.
2853 (report-emacs-bug): Message fix.
2854
d95b247d
GM
2855 * net/browse-url.el (browse-url-can-use-xdg-open)
2856 (browse-url-xdg-open): Doc fixes.
2857
a075a2c5
GM
2858 * electric.el (electric-indent-mode, electric-pair-mode)
2859 (electric-layout-rules, electric-layout-mode): Doc fixes.
2860 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2861
ffb6157e
MR
28622012-02-08 Martin Rudalics <rudalics@gmx.at>
2863
2864 * server.el (server-unselect-display): Don't inadvertently kill
2865 the current buffer. (Bug#10729)
2866
e1ac4066
GM
28672012-02-08 Glenn Morris <rgm@gnu.org>
2868
34e8a2da
GM
2869 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2870 (sql-list-table): Doc fixes.
2871
b4ac6e8c
GM
2872 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2873 Comment out (does nothing).
2874
e1ac4066
GM
2875 * completion.el (dynamic-completion-mode):
2876 * dirtrack.el (dirtrack-debug-mode):
2877 * electric.el (electric-layout-mode):
2878 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2879 * face-remap.el (text-scale-mode, buffer-face-mode):
2880 * iimage.el (iimage-mode):
2881 * image-mode.el (image-transform-mode):
2882 * minibuffer.el (completion-in-region-mode):
2883 * scroll-lock.el (scroll-lock-mode):
2884 * simple.el (next-error-follow-minor-mode):
2885 * tar-mode.el (tar-subfile-mode):
2886 * tooltip.el (tooltip-mode):
2887 * vcursor.el (vcursor-use-vcursor-map):
2888 * wid-browse.el (widget-minor-mode):
2889 * emulation/tpu-edt.el (tpu-edt-mode):
2890 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2891 * international/iso-ascii.el (iso-ascii-mode):
2892 * language/thai-util.el (thai-word-mode):
2893 * mail/supercite.el (sc-minor-mode):
2894 * net/goto-addr.el (goto-address-mode):
2895 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2896 * progmodes/cwarn.el (cwarn-mode):
2897 * progmodes/flymake.el (flymake-mode):
2898 * progmodes/glasses.el (glasses-mode):
2899 * progmodes/hideshow.el (hs-minor-mode):
2900 * progmodes/pascal.el (pascal-outline-mode):
2901 * textmodes/enriched.el (enriched-mode):
2902 * vc/smerge-mode.el (smerge-mode):
2903 Doc fixes (minor mode argument).
2904
5e0d957f
EZ
29052012-02-07 Eli Zaretskii <eliz@gnu.org>
2906
2907 * ls-lisp.el (ls-lisp-sanitize): New function.
2908 (ls-lisp-insert-directory): Use it to fix or remove any elements
2909 in file-alist with missing attributes. (Bug#4673)
2910
98d7371e
AM
29112012-02-07 Alan Mackenzie <acm@muc.de>
2912
2913 Fix spurious recognition of c-in-knr-argdecl.
2914
2915 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2916 putative K&R region.
2917
667ced3a
AM
29182012-02-07 Alan Mackenzie <acm@muc.de>
2919
eb864a71
LM
2920 * progmodes/cc-engine.el (c-forward-objc-directive):
2921 Prevent looping in "#pragma mark @implementation".
667ced3a 2922
5b77774d
MA
29232012-02-07 Michael Albinus <michael.albinus@gmx.de>
2924
2925 * notifications.el (notifications-on-closed-signal): Make `reason'
2926 optional. (Bug#10744)
2927
af008560
GM
29282012-02-07 Glenn Morris <rgm@gnu.org>
2929
60d47423
GM
2930 * emacs-lisp/easy-mmode.el (define-minor-mode):
2931 Doc fixes for the macro and the mode it defines.
2932
dd605cc4
GM
2933 * image.el (imagemagick-types-inhibit): Doc fix.
2934
af008560
GM
2935 * cus-start.el (imagemagick-render-type): Add it.
2936
5cc59a37
LI
29372012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2938
4d6769e1
JB
2939 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2940 Set the default at load time, too, so that `font-lock-fontify-buffer'
2941 can be called without setting up the entire mode first. This fixes
2942 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2943
9a6dd747
CY
29442012-02-06 Chong Yidong <cyd@gnu.org>
2945
2d16b285
CY
2946 * simple.el (list-processes--refresh): Delete exited processes
2947 (Bug#8094).
2948
171e9b6e
CY
2949 * comint.el (comint-next-prompt): next-single-char-property-change
2950 and prev-single-char-property-change never return nil (Bug#8657).
2951
9a6dd747
CY
2952 * custom.el (defcustom): Doc fix (Bug#9711).
2953
aa4589a7
CY
29542012-02-05 Chong Yidong <cyd@gnu.org>
2955
5c2a252f
CY
2956 * cus-edit.el (custom-variable-reset-backup): Quote the value
2957 before storing it in the customized-value property (Bug#6712).
4aab9006 2958 (custom-display): Add a customization type tag.
983b9602 2959 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2960
aa4589a7
CY
2961 * wid-edit.el (widget-field-value-get): New optional arg to
2962 suppress trailing whitespace truncation.
2963 (character): Use it (Bug#2689).
2964
1ff980ae
AS
29652012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2966
2967 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2968 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2969
03988c98
CY
29702012-02-05 Chong Yidong <cyd@gnu.org>
2971
eeb6cc88
CY
2972 * cus-edit.el (custom-variable-value-create): For mismatched
2973 types, show the current value (Bug#7600).
2974
03988c98
CY
2975 * custom.el (defcustom): Doc fix.
2976
f8cdeef0
GM
29772012-02-05 Glenn Morris <rgm@gnu.org>
2978
2979 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2980
0696d255
JB
29812012-02-05 Juanma Barranquero <lekktu@gmail.com>
2982
2983 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2984 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2985 (pp-last-sexp): Use `looking-at-p'.
2986
34c99998
GM
29872012-02-04 Glenn Morris <rgm@gnu.org>
2988
8f05da42
GM
2989 * files.el (revert-buffer):
2990 Doc fix (mention revert-buffer-in-progress-p).
2991
f160676e
GM
2992 * emacs-lisp/ert-x.el (ert-simulate-command):
2993 Check deferred-action-list (which is obsolete) is bound.
2994
c7291ad9
GM
2995 * subr.el (with-wrapper-hook): Doc fixes.
2996
34c99998
GM
2997 * simple.el (filter-buffer-substring-functions)
2998 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2999
6283a7d3
LL
30002012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3001
3002 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3003 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3004
e96e3013
LL
30052012-02-04 Leo Liu <sdl.web@gmail.com>
3006
3007 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3008
8ded50f2
GM
30092012-02-04 Glenn Morris <rgm@gnu.org>
3010
82ff1d13
GM
3011 * image.el (image-extension-data): Add obsolete alias.
3012
987a0a16
GM
3013 * isearch.el (isearch-update): Doc fix.
3014
ea32ef46
GM
3015 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3016
8ded50f2
GM
3017 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3018
eea14f31
GM
30192012-02-03 Glenn Morris <rgm@gnu.org>
3020
3021 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3022 (image-animate-timeout): Doc fix.
3023
3024 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3025
12f381b7
GM
30262012-02-02 Glenn Morris <rgm@gnu.org>
3027
953cebf5
GM
3028 * server.el (server-auth-dir): Doc fix.
3029 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3030
12f381b7
GM
3031 * subr.el (run-mode-hooks): Doc fix.
3032
953a8c3b
JL
30332012-02-02 Juri Linkov <juri@jurta.org>
3034
3035 * image-mode.el (image-toggle-display-image): Remove tautological
3036 `major-mode' from the `derived-mode-p' test.
3037
c5d3843c
KH
30382012-02-02 Kenichi Handa <handa@m17n.org>
3039
9f6e692e 3040 * composite.el (compose-region): Cancel previous change.
c5d3843c 3041
159462d4 30422012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3043
3044 * composite.el (compose-region, compose-string): Signal error for
3045 a null string component (Bug#6988).
3046
9f562668
CY
30472012-02-01 Chong Yidong <cyd@gnu.org>
3048
e2cef717
CY
3049 * view.el (view-buffer-other-window, view-buffer-other-frame):
3050 Handle special modes like view-buffer (Bug#10650).
3051 (view-buffer): Simplify.
3052
9f562668
CY
3053 * frame.el (set-frame-font): Tweak meaning of third argument.
3054
9f6e692e
JB
3055 * dynamic-setting.el (font-setting-change-default-font):
3056 Use set-frame-font (Bug#9982).
9f562668 3057
781acb9f
GM
30582012-02-01 Glenn Morris <rgm@gnu.org>
3059
6035be52
GM
3060 * progmodes/compile.el (compilation-internal-error-properties):
3061 Respect compilation-first-column in the "*compilation*" buffer.
3062
781acb9f
GM
3063 * emacs-lisp/easy-mmode.el (define-minor-mode):
3064 Relax :variable's test for a named function.
3065
abbceb00
AM
30662012-01-31 Alan Mackenzie <acm@muc.de>
3067
3068 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3069 off by one error.
3070
fce3fdeb
CY
30712012-01-31 Chong Yidong <cyd@gnu.org>
3072
3073 * frame.el (set-frame-font): New arg ALL-FRAMES.
3074
3075 * menu-bar.el (menu-set-font): Use set-frame-font.
3076
3077 * faces.el (face-spec-reset-face): Don't apply unspecified
3078 attribute values to the default face.
3079
47893581
JB
30802012-01-31 Juanma Barranquero <lekktu@gmail.com>
3081
3082 * progmodes/cwarn.el (cwarn): Remove dead link.
3083 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3084 Remove * from defcustom docstrings.
3085 (turn-on-cwarn-mode): Make obsolete.
3086 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3087 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3088
e58e988a
GM
30892012-01-31 Glenn Morris <rgm@gnu.org>
3090
60dc2671 3091 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3092 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3093 Allow named functions to be used as the cdr of :variable.
e58e988a 3094
7a3f511d
GM
30952012-01-30 Glenn Morris <rgm@gnu.org>
3096
3097 * emacs-lisp/authors.el (authors-fixed-entries):
3098 Remove reference to deleted file rnewspost.el.
3099
cb882333
JB
31002012-01-29 Juanma Barranquero <lekktu@gmail.com>
3101
3102 * window.el (window-with-parameter): Remove unused variable `windows'.
3103 (window--side-check): Remove unused variable `code'.
3104 (window--resize-siblings): Remove unused variable `first'.
3105 (adjust-window-trailing-edge): Remove unused variable `failed'.
3106 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3107 Use `let', not `let*'.
3108 (balance-windows-2): Remove unused variable `found'.
3109 (window--state-put-2): Remove unused variable `splits'.
3110 (window-state-put): Remove unused variable `selected'.
3111 (same-window-p): Use `string-match-p'.
3112 (display-buffer-assq-regexp): Remove unused variable `value'.
3113 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3114 Mark argument ALIST as ignored.
3115 (pop-to-buffer): Remove unused variable `old-window'.
3116
907201af
EZ
31172012-01-29 Eli Zaretskii <eliz@gnu.org>
3118
3119 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3120 and .lzma compressed files.
3121
ea162670
CY
31222012-01-29 Chong Yidong <cyd@gnu.org>
3123
5b95ee8a
CY
3124 * frame.el (window-system-default-frame-alist): Doc fix.
3125
ea162670
CY
3126 * dynamic-setting.el (font-setting-change-default-font): Don't
3127 change the default face if SET-FONT argument is non-nil (Bug#9982).
3128
d6e6f4b1
SB
31292012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3130
3131 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3132
0f29fa41 31332012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3134
3135 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3136 breakpoints in files outside current directory (Bug#6098).
3137
db174434
CY
31382012-01-29 Chong Yidong <cyd@gnu.org>
3139
6b25e4e2
SE
3140 * progmodes/python.el: Require ansi-color at top-level.
3141
6df6ae42
JB
3142 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3143 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3144 (lisp-mode-abbrev-table): Add doc.
3145 (lisp-mode-variables): Don't set local-abbrev-table.
3146 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3147
e70ee681
RW
31482012-01-28 Roland Winkler <winkler@gnu.org>
3149
3150 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3151
ace88aa2
RW
31522012-01-28 Roland Winkler <winkler@gnu.org>
3153
3154 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3155 (bibtex-set-dialect): Use it. Either set global values of
3156 dialect-dependent variables or bind these variables buffer-locally
3157 (Bug#10254).
3158 (bibtex-mode): Call bibtex-set-dialect via
3159 hack-local-variables-hook.
eb864a71
LM
3160 (bibtex-dialect): Update docstring.
3161 Add safe-local-variable predicate.
ace88aa2
RW
3162 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3163 bibtex-set-dialect.
3164 (bibtex-mode-map): Define menu for each dialect.
3165 (bibtex-entry): Fix docstring.
3166
93376c5b
CY
31672012-01-28 Chong Yidong <cyd@gnu.org>
3168
3169 * eshell/esh-arg.el (eshell-quote-argument): New function.
3170
3171 * eshell/esh-ext.el (eshell-invoke-batch-file):
3172 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3173 first arg to eshell-parse-command (Bug#10523).
3174
4372494f
DA
31752012-01-28 Drew Adams <drew.adams@oracle.com>
3176
3177 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3178 `default-directory' is non-nil.
3179
4d4ec1f8
EZ
31802012-01-28 Eli Zaretskii <eliz@gnu.org>
3181
3182 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3183 line that displays system-configuration-options. (Bug#9924)
3184
7c188927
DA
31852012-01-28 Drew Adams <drew.adams@oracle.com>
3186
3187 * descr-text.el (describe-char): Show information about POS, in
3188 addition to information about the character at POS. Improve and
3189 update the doc string. Change "code point" to "code point in
3190 charset", to avoid confusion with the character's Unicode code
3191 point shown above that. (Bug#10129)
3192
e0da685a
EZ
31932012-01-28 Eli Zaretskii <eliz@gnu.org>
3194
3195 * descr-text.el (describe-char): Show the raw character, not only
3196 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3197 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3198 for the reasons.
3199
70550acf
PH
32002012-01-28 Phil Hagelberg <phil@hagelb.org>
3201
eb864a71
LM
3202 * emacs-lisp/package.el (package-install):
3203 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3204
0ce8e868
CY
32052012-01-28 Chong Yidong <cyd@gnu.org>
3206
cb882333
JB
3207 * emacs-lisp/package.el (package-maybe-load-descriptor):
3208 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3209 (package-maybe-load-descriptor): Use it.
3210 (package-download-transaction): Fully load required packages
3211 inside the loop, so that `require' calls work (Bug#10593).
3212 (package-install): No need to call package-initialize now.
3213
2e7f3bea
CY
32142012-01-28 Chong Yidong <cyd@gnu.org>
3215
6e9bad14
CY
3216 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3217
f823b8ca
CY
3218 * tooltip.el (tooltip-mode): Doc fix.
3219 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3220
2680c309
CY
3221 * frame.el (set-cursor-color): Doc fix (Bug#352).
3222
d7a9e63b
CY
3223 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3224 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3225
2e7f3bea
CY
3226 * cus-edit.el (custom-buffer-create-internal): Fix search button
3227 action (Bug#10542).
2ae01800 3228 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3229
fc4f7a23
EW
32302012-01-27 Eduard Wiebe <usenet@pusto.de>
3231
3232 * dired.el (dired-mark-files-regexp):
3233 Include any subdirectory components. (Bug#10445)
3234
7dd37071
ML
32352012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3236
3237 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3238 Handle [host]:port syntax. (Bug#10533)
3239
a268160b
AH
32402012-01-27 Alex Harsanyi <harsanyi@mac.com>
3241
3242 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3243
e43273ef
GM
32442012-01-26 Glenn Morris <rgm@gnu.org>
3245
3246 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3247 * term.el (term-raw-escape-map): Use Control-X-prefix.
3248 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3249
1edf595d
MR
32502012-01-25 Martin Rudalics <rudalics@gmx.at>
3251
3252 * window.el (window-state-get, window--state-get-1): Don't deal
3253 with fixed-sizeness of windows. Simplify code.
3254
fa8eafef
JC
32552012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3256
6df6ae42
JB
3257 * window.el (window--state-get-1, window--state-put-2):
3258 Don't save and restore the mark.
fa8eafef 3259
0b21c100
CY
32602012-01-25 Chong Yidong <cyd@gnu.org>
3261
3262 * custom.el (custom-variable-p): Doc fix.
3263
5ae1a6c8
GM
32642012-01-25 Glenn Morris <rgm@gnu.org>
3265
40047858
GM
3266 * dired.el (dired-goto-file): Handle some of the more common
3267 characters that `ls -b' escapes. (Bug#10596)
3268
5ddce96c
GM
3269 * progmodes/compile.el (compilation-next-error-function):
3270 Respect compilation-first-column in the "*compilation*" buffer.
3271 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3272
5ae1a6c8
GM
3273 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3274
b559f1a9
GM
32752012-01-24 Glenn Morris <rgm@gnu.org>
3276
3277 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3278
6725d21a
JD
32792012-01-24 Julien Danjou <julien@danjou.info>
3280
3281 * color.el (color-rgb-to-hsl): Fix value computing.
3282 (color-hue-to-rgb): New function.
3283 (color-hsl-to-rgb): New function.
3284 (color-clamp, color-saturate-hsl, color-saturate-name)
3285 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3286 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3287
70df4bbe
GM
32882012-01-24 Glenn Morris <rgm@gnu.org>
3289
3290 * vc/vc-rcs.el (vc-rcs-create-tag):
3291 * vc/vc-sccs.el (vc-sccs-create-tag):
3292 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3293
802a2ae2
ML
32942012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3295
3296 * eshell/esh-util.el (eshell-read-hosts-file):
3297 Skip comment lines. (Bug#10549)
3298
d7128bb1
ML
3299 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3300
d1a5c3b4
JB
33012012-01-23 Juanma Barranquero <lekktu@gmail.com>
3302
2724d9c7
JB
3303 * subr.el (display-delayed-warnings): Doc fix.
3304 (collapse-delayed-warnings): New function to collapse identical
3305 adjacent warnings.
3306 (delayed-warnings-hook): Add it.
d1a5c3b4 3307
a5509865
MA
33082012-01-22 Michael Albinus <michael.albinus@gmx.de>
3309
3310 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3311
3312 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3313 properties, when "login-as" is set.
3314
3315 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3316 (tramp-default-user-alist): Don't add "pscp".
3317 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3318 property "login-as", if set. (Bug#10530)
3319
cc6d5805
MA
33202012-01-21 Michael Albinus <michael.albinus@gmx.de>
3321
3322 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3323 "plink1" and "psftp". (Bug#10530)
3324
33252012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3326
3327 * international/mule-cmds.el (prefer-coding-system): Show a
3328 warning message if the default value of file-name-coding-system
3329 was not changed.
3330
f0960428
JC
33312012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3332
cb882333
JB
3333 * windmove.el (windmove-reference-loc):
3334 Fix windmove-reference-loc miscalculation.
f0960428 3335
dd6f2a63
JB
33362012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3337
3338 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3339 default unit.
3340
7b447e9b
GM
33412012-01-21 Glenn Morris <rgm@gnu.org>
3342
117a9ea1
GM
3343 * international/mule.el (auto-coding-alist): Add .tbz.
3344
7b447e9b
GM
3345 * files.el (local-enable-local-variables): Doc fix.
3346 (inhibit-local-variables-regexps): Rename from
3347 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3348 Doc fix. Add some extensions from auto-coding-alist.
3349 (inhibit-local-variables-suffixes):
3350 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3351 (inhibit-local-variables-p):
3352 New function, extracted from set-auto-mode-1.
3353 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3354 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3355 (hack-local-variables): Doc fix. Make the mode-only case
3356 respect enable-local-variables and friends.
3357 Respect inhibit-local-variables-regexps for file-locals, but
3358 not for directory-locals.
3359 (set-visited-file-name):
3360 Take account of inhibit-local-variables-regexps.
3361 Whether it applies may change as the file name is changed.
3362 * jka-cmpr-hook.el (jka-compr-install):
3363 * jka-compr.el (jka-compr-uninstall):
3364 Update for inhibit-first-line-modes-suffixes name change.
3365
dd6e3cdd
MR
33662012-01-20 Martin Rudalics <rudalics@gmx.at>
3367
3368 * help-macro.el (make-help-screen): Temporarily restore original
3369 binding for minor-mode-map-alist (Bug#10454).
3370
0d0deb38
JD
33712012-01-19 Julien Danjou <julien@danjou.info>
3372
3373 * color.el (color-name-to-rgb): Use the white color to find the max
3374 color component value and return correctly computed values.
3375 (color-name-to-rgb): Add missing float conversion for max value.
3376
34a02f46
MR
33772012-01-19 Martin Rudalics <rudalics@gmx.at>
3378
3379 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3380 special state value for window-persistent-parameters.
3381 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3382 (window--state-put-2): Reset all window parameters to nil before
3383 assigning values of persistent parameters.
3384
606c44c4
AM
33852012-01-18 Alan Mackenzie <acm@muc.de>
3386
3387 Eliminate sluggishness and hangs in fontification of "semicolon
3388 deserts".
3389
cb882333
JB
3390 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3391 Change value 10000 -> 3000.
606c44c4
AM
3392 (c-state-safe-place): Reformulate so it doesn't stack up an
3393 infinite number of wrong entries in c-state-nonlit-pos-cache.
3394 (c-determine-limit-get-base, c-determine-limit): New functions to
3395 determine backward search limits disregarding literals.
3396 (c-find-decl-spots): Amend commenting.
3397 (c-cheap-inside-bracelist-p): New function which detects "={".
3398
3399 * progmodes/cc-fonts.el
3400 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3401 backward search.
3402 (c-font-lock-declarations): Fix an occurrence of point being
3403 undefined. Check additionally for point being in a bracelist or
3404 near a macro invocation without a semicolon so as to avoid a
3405 fruitless time consuming search for a declarator. Give a more
3406 precise search limit for declarators using the new
3407 c-determine-limit.
3408
f3860cea
GM
34092012-01-18 Glenn Morris <rgm@gnu.org>
3410
3411 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3412 (set-auto-mode): Doc fixes.
3413
1db03b16
GM
34142012-01-17 Glenn Morris <rgm@gnu.org>
3415
0e6038be
GM
3416 * isearch.el (search-nonincremental-instead): Fix doc typo.
3417
1db03b16
GM
3418 * dired.el (dired-insert-directory): Handle newlines in directory name.
3419 (dired-build-subdir-alist): Unescape newlines in directory name.
3420
4cb0aa75
MA
34212012-01-17 Michael Albinus <michael.albinus@gmx.de>
3422
3423 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3424 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3425 (tramp-action-terminal): Use it. (Bug#10530)
3426
1d00653d
SM
34272012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3428
3429 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3430
6a6ee00d
MR
34312012-01-16 Martin Rudalics <rudalics@gmx.at>
3432
3433 * window.el (window-state-ignored-parameters): Remove variable.
3434 (window--state-get-1): Rename argument MARKERS to IGNORE.
3435 Handle persistent window parameters. Make copy of clone-of
3436 parameter only if requested. (Bug#10348)
3437 (window--state-put-2): Install a window parameter only if it has
3438 a non-nil value or an existing parameter shall be overwritten.
3439
97912def
MA
34402012-01-15 Michael Albinus <michael.albinus@gmx.de>
3441
3442 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3443
688070a5
EZ
34442012-01-14 Eli Zaretskii <eliz@gnu.org>
3445
3446 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3447 don't pass the (nil) value of `upnode' to string-match.
3448
301afadc
CY
34492012-01-14 Chong Yidong <cyd@gnu.org>
3450
3451 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3452 Fix values recognized by the cursorBlink resource.
301afadc 3453
9e5788aa
PE
34542012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3455
3456 * epg.el (epg--make-temp-file): Avoid permission race condition
3457 when running on old Emacs versions (bug#10403).
3458
3cdb7f5a
GM
34592012-01-14 Glenn Morris <rgm@gnu.org>
3460
3461 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3462
8c82b1b4
AM
34632012-01-13 Alan Mackenzie <acm@muc.de>
3464
3465 Fix filling for when filladapt mode is enabled.
3466
3467 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3468 c-mask-paragraph, pass in `fill-paragraph' rather than
3469 `fill-region-as-paragraph'. (This is a reversion of a previous
3470 change.)
eb864a71
LM
3471 * progmodes/cc-mode.el (c-basic-common-init):
3472 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3473
e517eda4
GM
34742012-01-13 Glenn Morris <rgm@gnu.org>
3475
1498536e
GM
3476 * dired.el (dired-switches-escape-p): New function.
3477 (dired-insert-directory): Use dired-switches-escape-p.
3478 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3479
e517eda4
GM
3480 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3481
328f984d
GM
34822012-01-12 Glenn Morris <rgm@gnu.org>
3483
3484 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3485 changes in adaptive-fill-regexp. (Bug#10276)
3486
2cc769a8
AM
34872012-01-11 Alan Mackenzie <acm@muc.de>
3488
3489 Fix Emacs bug #10463 - put `widen's around the critical spots.
3490
1d00653d 3491 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3492 widen around each invocation of c-state-pp-to-literal. Remove an
3493 unused let variable.
3494
e52c37fa
GM
34952012-01-11 Glenn Morris <rgm@gnu.org>
3496
3497 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3498 Doc fix.
e52c37fa 3499
96f8741e
CY
35002012-01-10 Chong Yidong <cyd@gnu.org>
3501
1d00653d
SM
3502 * net/network-stream.el (network-stream-open-starttls):
3503 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3504 response to the capability command.
3505
b09a806e
GM
35062012-01-10 Glenn Morris <rgm@gnu.org>
3507
3508 * mail/unrmail.el (unrmail): Tweak previous change.
3509
7655cb66
CY
35102012-01-09 Chong Yidong <cyd@gnu.org>
3511
3512 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3513
9d5a8f0b
AM
35142012-01-08 Alan Mackenzie <acm@muc.de>
3515
3516 Optimise font locking in long enum definitions.
3517
3518 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3519 arm to a cond form to handle enums.
3520 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3521 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3522
9a0115ab 35232012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3524
3525 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3526 (Bug#10401)
6bb72cbd 3527
f186bb95
LMI
35282012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3529
29232a68
LMI
3530 * faces.el (set-face-attribute): Clarify the meaning of the nil
3531 frame (bug#10294).
3532
4e5d086d
LMI
3533 * subr.el (with-selected-frame): Mention that the selected frame
3534 is restored (bug#9980).
3535
8e66aebe
LMI
3536 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3537 (bug#9759).
3538
cd394be1 3539 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3540 (password-read): Don't autoload unused function.
3541
adf4e762
JB
35422012-01-07 Juanma Barranquero <lekktu@gmail.com>
3543
3544 * progmodes/which-func.el (which-func-mode): Turn into a
3545 non-interactive function and mark as obsolete (bug#10428).
3546
89bd9ccd
CY
35472012-01-06 Chong Yidong <cyd@gnu.org>
3548
3549 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3550 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3551 functions, along with 1 and -1.
3552
4afee9d5
EZ
35532012-01-06 Eli Zaretskii <eliz@gnu.org>
3554
3555 * time.el (display-time-load-average)
3556 (display-time-default-load-average): Doc fixes. See the thread
3557 starting at
3558 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3559 for the details.
3560
536aea70
GM
35612012-01-06 Glenn Morris <rgm@gnu.org>
3562
665ae865
GM
3563 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3564 has no messages. (Bug#10377)
3565
c869783d
GM
3566 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3567 than Info-edit. (Bug#10385)
3568
2bb4227e
GM
3569 * time.el (display-time-load-average, display-time-next-load-average):
3570 Doc fixes.
3571
7d5944b9
GM
3572 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3573 local setting of buffer-read-only to the input buffer. (Bug#10419)
3574
536aea70
GM
3575 * calendar/calendar.el (calendar-mode):
3576 Locally set scroll-margin to 0. (Bug#10379)
3577
7dccca16
UM
35782012-01-06 Ulrich Mueller <ulm@gentoo.org>
3579
3580 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3581
afbb7930
GM
35822012-01-05 Glenn Morris <rgm@gnu.org>
3583
3584 * eshell/em-unix.el (diff-no-select): Autoload it.
3585 (eshell/diff): Use diff-no-select. (Bug#10420)
3586
04482335
CY
35872012-01-05 Chong Yidong <cyd@gnu.org>
3588
7baca3bc
CY
3589 * shell.el (shell-dynamic-complete-functions): Revert last change.
3590 (shell-command-completion-function): New function.
3591 (shell-completion-vars): Use it to implement
3592 shell-completion-execonly (Bug#10417).
3593
04482335
CY
3594 * custom.el (enable-theme): Don't set custom-safe-themes.
3595
1d00653d
SM
3596 * cus-theme.el (custom-theme-merge-theme):
3597 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3598
bb5aa5d6
MM
35992012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3600
3601 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3602 first prompt in `sql-interacive-mode'.
3603 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3604 keywords.
6df6ae42 3605 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3606 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3607 context of original buffer. Invoke `sql-login-hook'.
3608
a7183d7c
EZ
36092012-01-04 Eli Zaretskii <eliz@gnu.org>
3610
3611 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3612 letters in cite-prefix.
3613
a1eacd1e
LMI
36142012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3615
3616 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3617
787cdb34
CY
36182012-01-03 Chong Yidong <cyd@gnu.org>
3619
1d00653d
SM
3620 * shell.el (shell-dynamic-complete-functions):
3621 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3622 comint-filename-completion first (Bug#10417).
3623
30710442
RS
36242012-01-02 Richard Stallman <rms@gnu.org>
3625
3626 * battery.el (battery-status-function):
3627 Detect when to use battery-yeeloong-sysfs.
3628 (battery-echo-area-format): Add string for Yeeloong.
3629 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3630 (battery-yeeloong-sysfs): New function.
3631
f75bfc33
CY
36322012-01-02 Chong Yidong <cyd@gnu.org>
3633
3634 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3635 (dirtrack): Merge code for handling relative filenames in prompt
3636 from shell-dir-cookie-watcher.
3637 (dirtrack-debug-message): New arg to avoid excess format calls.
3638
3639 * shell.el (shell-dir-cookie-re): Variable deleted.
3640 (shell-dir-cookie-watcher): Function deleted.
3641 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3642 with dirtrack-mode.
3643
651e947e
EZ
36442012-01-01 Eli Zaretskii <eliz@gnu.org>
3645
1d00653d
SM
3646 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3647 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3648 libgnutls-26.dll.
3649
94d4c7dc
AS
36502011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3651
3652 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3653
8d43f3cd
EZ
36542011-12-31 Eli Zaretskii <eliz@gnu.org>
3655
3656 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3657 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3658
98c8795a
MA
36592011-12-29 Michael Albinus <michael.albinus@gmx.de>
3660
3661 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3662 also for alternative shells.
3663 (tramp-open-connection-setup-interactive-shell): Check, whether
3664 the shell is a busybox.
3665 (tramp-send-command): Don't suppress multiple prompts for
3666 busyboxes, it hurts.
3667
51281b32
CY
36682011-12-28 Chong Yidong <cyd@gnu.org>
3669
3670 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3671 (gdb-get-source-file): Move mode line update to
3672 gdb-get-source-file (Bug#10087).
3673
2170cb53
CY
36742011-12-25 Chong Yidong <cyd@gnu.org>
3675
3676 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3677 gud-gdb-marker-filter without taking it as an argument.
3678 (gud-gdb-run-command-fetch-lines): Caller changed.
3679 (gud-gdb-completion-function): New variable.
3680 (gud-gdb-completion-at-point): Use it.
3681 (gud-gdb-completions-1): Split from gud-gdb-completions.
3682
3683 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3684 function as separate arguments.
3685 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3686 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3687 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3688 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3689 (gdb-stopped, def-gdb-auto-update-trigger)
3690 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3691 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3692 Callers changed.
2170cb53
CY
3693 (gud-gdbmi-completions): New function.
3694 (gdb): Use it for generating the completion table.
3695
be8b11bb
AM
36962011-12-24 Alan Mackenzie <acm@muc.de>
3697
3698 Introduce a mechanism to widen the region used in context font
1d00653d 3699 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3700
1d00653d
SM
3701 * progmodes/cc-langs.el (c-before-font-lock-functions):
3702 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3703 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3704 functions to be run just before context (etc.) font locking.
3705
3706 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3707 New, functionality extracted from
be8b11bb 3708 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3709 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3710 (c-after-change): Set c-in-after-change-fontification.
3711 (c-set-fl-decl-start): Rejig its interface, so it can be called
3712 from both after-change and context fontifying.
b81d40f0
JB
3713 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3714 New functions.
3715 (c-standard-font-lock-fontify-region-function): New variable.
3716 (c-font-lock-fontify-region): New function.
be8b11bb 3717
341cf6ac
JL
37182011-12-24 Juri Linkov <juri@jurta.org>
3719
3720 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3721 (Bug#10348)
3722
bffcee0a
MA
37232011-12-23 Michael Albinus <michael.albinus@gmx.de>
3724
3725 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3726 existence of source file. (Bug#10325)
3727
cb5e207c
AM
37282011-12-23 Alan Mackenzie <acm@muc.de>
3729
3730 Fix unstable fontification inside templates.
3731
b81d40f0
JB
3732 * progmodes/cc-langs.el (c-before-font-lock-functions):
3733 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3734 additionally has c-set-fl-decl-start. The other languages (apart
3735 from AWK) have that as a single entry.
3736
b81d40f0
JB
3737 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3738 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3739 c-set-fl-decl-start.
3740
b81d40f0
JB
3741 * progmodes/cc-mode.el (c-common-init, c-after-change):
3742 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3743 (c-set-fl-decl-start): New function, extracted from
3744 c-font-lock-enclosing-decls and enhanced.
3745
60ff536c
JB
37462011-12-23 Juanma Barranquero <lekktu@gmail.com>
3747
3748 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3749
1c4757d6
JL
37502011-12-22 Juri Linkov <juri@jurta.org>
3751
3752 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3753
d031f2c7
CY
37542011-12-22 Chong Yidong <cyd@gnu.org>
3755
3756 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3757
bace743a
DA
37582011-12-21 Drew Adams <drew.adams@oracle.com>
3759
3760 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3761
728a1f2b
JC
37622011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3763
3764 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3765
0d373f73
TZ
37662011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3767
fec0aaa4
TZ
3768 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3769 highlighting and support. Fix up comments for capitalization.
3770 (cfengine-mode-debug): New var.
3771 (cfengine3-mode): Change the modeline indicator to "CFE3".
3772 (cfengine3-font-lock-keywords): Improve defun highlighting.
3773 (cfengine2-actions): Rename from `cfengine-actions'.
3774 (cfengine2-font-lock-keywords): Rename from
3775 `cfengine-font-lock-keywords'.
3776 (cfengine2-imenu-expression): Rename from
3777 `cfengine-imenu-expression'.
3778 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3779 (cfengine2-beginning-of-defun): Rename from
3780 `cfengine-beginning-of-defun'.
3781 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3782 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3783 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3784 modeline indicator to "CFE2".
3785 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3786 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3787
bc86f573
CY
37882011-12-21 Chong Yidong <cyd@gnu.org>
3789
3790 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3791 filename argument.
3792
d45ba96b
MR
37932011-12-20 Martin Rudalics <rudalics@gmx.at>
3794
3795 * window.el (window-normalize-buffer-to-display): Remove.
3796 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3797
a6198c90
CY
37982011-12-19 Chong Yidong <cyd@gnu.org>
3799
3800 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3801 Don't signal an error in a predicate function; return non-nil.
3802 (vc-dir-mark-file): Move the error here.
3803 (vc-dir-mark-unmark): If acting on the region, keep going if one
3804 of the entries cannot be marked/unmarked.
3805 (vc-dir-mark-all-files): If current entry is a directory, mark
3806 only child files, as documented.
3807
34c5fb55
VB
38082011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3809
3810 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3811 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3812 addition.
3813
c803b2b7
JD
38142011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3815
3816 * term/ns-win.el (ns-get-selection-internal)
3817 (ns-store-selection-internal): Declare.
1154d12e
JB
3818 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3819 Declare as obsolete.
3820 (ns-get-pasteboard, ns-paste-secondary):
3821 Use ns-get-selection-internal.
3822 (ns-set-pasteboard, ns-copy-including-secondary):
3823 Use ns-store-selection-internal.
c803b2b7 3824
9cff91f8 38252011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3826
3827 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3828 (vc-deduce-fileset): Doc fix.
99a289d9 3829
f16c898a
AS
38302011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3831
3832 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3833
763237c4
SS
38342011-12-13 Sam Steingold <sds@gnu.org>
3835
3836 * man.el (Man-getpage-in-background): When running under a
3837 window-system, ignore $MANWIDTH and $COLUMNS.
3838
5fc1c122
KH
38392011-12-15 Kenichi Handa <handa@m17n.org>
3840
3841 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3842 (setup-ethiopic-environment-internal): Comment out key-binding for
3843 ethio-toggle-punctuation.
3844
13d49cbb
AM
38452011-12-13 Alan Mackenzie <acm@muc.de>
3846
898169a2
AM
3847 Add the switch statement to AWK Mode.
3848
7a71b18d 3849 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3850 "default" to the keywords regexp.
3851
7a71b18d 3852 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3853 expression as the rest.
1d00653d
SM
3854 (c-nonlabel-token-key): Allow string literals for AWK.
3855 Refactor for the other modes.
898169a2 3856
13d49cbb 3857 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3858 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3859 routines. Limit backward searching in c-font-lock-enclosing.decl.
3860
3861 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3862 pp-state and literal type in addition to the limits.
1d00653d 3863 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3864 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3865 (c-slow-in-literal, c-fast-in-literal): Remove.
3866 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3867
3868 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3869 being in a literal. Add a limit for backward searching.
3870
3871 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3872 c-slow-in-literal.
3873
15e0efc7
SM
38742011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3877
454592a6
MR
38782011-12-13 Martin Rudalics <rudalics@gmx.at>
3879
3880 * window.el (delete-other-windows): Use correct frame in call to
3881 window-with-parameter.
3882
87393f26
DP
38832011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3884
3885 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3886 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3887 (makefile-gmake-statements, makefile-makepp-statements):
3888 Use it and add new makepp keywords.
3889 (makefile-makepp-font-lock-keywords): Add new patterns.
3890 (makefile-match-function-end): Match new [...] and [[...]].
3891
11636b22
JB
38922011-12-11 Juanma Barranquero <lekktu@gmail.com>
3893
3894 * ses.el (ses-call-printer-return, ses-cell-property-get)
3895 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3896 (ses-create-cell-variable, ses-reset-header-string)
3897 (ses-cell-set-formula, ses-repair-cell-reference-all)
3898 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3899 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3900 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3901 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3902 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3903 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3904 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3905 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3906 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3907 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3908 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3909 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3910
cf018193
VB
39112011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3912
3913 * ses.el: The overall change is to add cell renaming, that is
3914 setting fancy names for cell symbols other than name matching
3915 "\\`[A-Z]+[0-9]+\\'" regexp .
3916 (ses-create-cell-variable): New defun.
3917 (ses-relocate-formula): Relocate formulas only for cells the
3918 symbols of which are not renamed, i.e. symbols whose names do not
3919 match regexp "\\`[A-Z]+[0-9]+\\'".
3920 (ses-relocate-all): Relocate values only for cells the symbols of
3921 which are not renamed.
3922 (ses-load): Create cells variables as the (ses-cell ...) are read,
3923 in order to check row col consistency with cell symbol name only
3924 for cells that are not renamed.
3925 (ses-replace-name-in-formula): New defun.
3926 (ses-rename-cell): New defun.
3927
ee957461
CY
39282011-12-11 Chong Yidong <cyd@gnu.org>
3929
3930 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3931 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3932
9a9e9ef0
MR
39332011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3934
3935 * window.el (other-window): Fix docstring.
3936
92a8eba5
EZ
39372011-12-10 Eli Zaretskii <eliz@gnu.org>
3938
3939 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3940 `from' or `to' address before taking its substring.
3941 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3942 encoded name is chopped in the middle of the encoded string, and
3943 thus displayed encoded.
3944
e152e577
JB
39452011-12-10 Juanma Barranquero <lekktu@gmail.com>
3946
3947 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3948
e5d84bfe
EZ
39492011-12-10 Eli Zaretskii <eliz@gnu.org>
3950
3951 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3952 to use texinfo-update-node and commands that call it if the
3953 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3954 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3955 (texinfo-all-menus-update, texinfo-master-menu)
3956 (texinfo-update-node, texinfo-every-node-update)
3957 (texinfo-multiple-files-update): Doc fix. Warn against updating
3958 all the @node lines.
3959 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3960 argument is numeric. Explain better in the doc string what the
3961 function really does.
3962 (texinfo-insert-master-menu-list): Improve the error message
3963 displayed if there's no menu in the Top node.
3964 (Bug#2975) See also this thread:
e5d84bfe
EZ
3965 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3966
1d84e9bb
MG
39672011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3968
3969 * speedbar.el (speedbar-supported-extension-expressions):
3970 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3971
382c953b
JB
39722011-12-09 Juanma Barranquero <lekktu@gmail.com>
3973
3974 * printing.el (pr-mode-alist):
3975 * simple.el (filter-buffer-substring-functions)
3976 (completion-list-insert-choice-function):
3977 * window.el (window-with-parameter, window-atom-root)
3978 (window-sides-slots, window-size-fixed, window-min-delta)
3979 (window-max-delta, window--resize-mini-window)
3980 (window--resize-child-windows-normal, window-tree)
3981 (delete-other-windows, quit-window, split-window)
3982 (display-buffer-record-window, special-display-buffer-names)
3983 (special-display-regexps, special-display-popup-frame)
3984 (same-window-p, split-window-sensibly)
3985 (display-buffer-overriding-action, display-buffer-alist)
3986 (display-buffer-base-action, display-buffer, switch-to-buffer)
3987 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3988 (fit-window-to-buffer, recenter-positions)
3989 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3990 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3991 and remove unneeded backslashes in docstrings.
3992
39c9faef
SM
39932011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3994
98449af8
SM
3995 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3996
39c9faef
SM
3997 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3998 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3999 end in ".mk".
4000 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4001 when reading the makefile (bug#10116).
4002
86ed9fdc
SM
40032011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4006 (bug#10116).
4007
5580f89d
GM
40082011-12-06 Glenn Morris <rgm@gnu.org>
4009
4010 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4011
28d3917c
CY
40122011-12-06 Chong Yidong <cyd@gnu.org>
4013
4014 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4015
a98edce9
JB
40162011-12-06 Juanma Barranquero <lekktu@gmail.com>
4017
4018 * textmodes/table.el (table-shorten-cell): Fix typo.
4019
e65adfac
CG
40202011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4021
4022 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4023
71cc0b74
EZ
40242011-12-05 Eli Zaretskii <eliz@gnu.org>
4025
4026 * descr-text.el (describe-char): Fix display of strong
4027 right-to-left characters and directional embeddings and overrides.
4028
4029 * simple.el (what-cursor-position): Fix display of codepoints of
4030 strong right-to-left characters.
4031
315bc30d
CY
40322011-12-05 Chong Yidong <cyd@gnu.org>
4033
4034 * faces.el (read-color): Doc fix.
4035
58a70b94
GM
40362011-12-05 Glenn Morris <rgm@gnu.org>
4037
4038 * align.el (align--set-marker): Add doc-string.
4039 Don't try to move something that is not a marker. (Bug#10216)
4040
5158face
GM
40412011-12-04 Glenn Morris <rgm@gnu.org>
4042
4043 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4044 overly zealous deletion of trailing whitespace.
4045
520fca41
JB
40462011-12-04 Juanma Barranquero <lekktu@gmail.com>
4047
4048 * server.el (server-delete-client): On Windows, do not try to delete
4049 the only terminal.
4050 (server-process-filter): On Windows, treat requests for a tty frame as
4051 if they were for a GUI frame if the running server is in GUI mode.
4052
5e605a2e
GM
40532011-12-03 Glenn Morris <rgm@gnu.org>
4054
4055 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4056
5c3fe83f
SM
40572011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4058
6f5e57e7
SM
4059 * electric.el: Streamline electric-indent's hook.
4060 (electric-indent-chars): Revert to simple list.
4061 (electric-indent-functions): New var.
4062 (electric-indent-post-self-insert-function): Use it.
4063
5c3fe83f
SM
4064 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4065 there's no inferior buffer (bug#10196).
4066 (prolog-consult-compile): Don't use toggle-read-only.
4067
6bdac736
MA
40682011-12-02 Michael Albinus <michael.albinus@gmx.de>
4069
4070 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4071 interrupt. (Bug#10187)
4072
6131ba7f
SM
40732011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4074
99c79fee
SM
4075 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4076 (bug#9160).
4077
6131ba7f
SM
4078 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4079 (bug#10191).
4080
cb0a02ea
JL
40812011-12-02 Juri Linkov <juri@jurta.org>
4082
4083 * info.el (Info-search): Display "end of manual" when Isearch
4084 reaches the end of single-file Info manual. (Bug#9918)
4085
66e0570c
EZ
40862011-12-02 Eli Zaretskii <eliz@gnu.org>
4087
4088 * isearch.el (isearch-message-prefix): Run the input method part
4089 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4090
02b16839
JL
40912011-12-02 Juri Linkov <juri@jurta.org>
4092
4093 * isearch.el (isearch-occur): Use `word-search-regexp' for
4094 `isearch-word'.
4095 (isearch-search-and-update): Add condition for `isearch-word' and
4096 call `word-search-regexp'. (Bug#10145)
4097
0b950688
GM
40982011-12-01 Glenn Morris <rgm@gnu.org>
4099
4100 * eshell/em-hist.el (eshell-hist-initialize):
4101 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4102 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4103
9505c3c7
SM
41042011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4105
4106 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4107
1bbe96b2 41082011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4109
a1beca85
SM
4110 * progmodes/verilog-mode.el (verilog-pretty-expr):
4111 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4112 verilog, such as += *= and the like.
4113 (verilog-assignment-operator-re): Regular expression to find the
4114 assigment operator in a verilog assignment.
4115 (verilog-assignment-operation-re): Regular expression to find an
4116 assignment statement for pretty-expr.
4117 (verilog-in-attribute-p): Query returns true if point is in an
4118 attribute context; used to skip these for expression line up from
4119 pretty-expr.
4120 (verilog-in-parameter-p): Query returns true if point is in an
4121 parameter definition context; used to skip these for expression
4122 line up from pretty-expr.
4123 (verilog-in-parenthesis-p): Query returns true if point is in a
4124 parenthetical expression, specifically ( ) but not [ ] or { };
4125 used by pretty-expr.
4126 (verilog-just-one-space): If there is no space, don't add one.
4127 (verilog-get-lineup-indent-2): Specifically skip just attribute
4128 contexts for expression lineup, rather than skipping all
4129 parenthetical expressions.
4130 (verilog-calculate-indent): Fix comment, and fix indent.
4131 (verilog-do-indent): Indent declarations in lists (suggested by
4132 Joachim Lechner).
4133 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4134 skeleton items.
4135 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4136 by Alain Mellan).
4137
1bbe96b2 41382011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4139
4140 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4141 parameters with embedded comments. Reported by Ray Stevens.
4142 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4143 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4144 Reported by Tim Holt.
4145 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4146 instantiated by upper module causing wrong expansion until AUTOed a
4147 second time. Reported by K C Buckenmaier.
4148 (verilog-diff-auto): Fix showing .* as a difference when
4149 `verilog-auto-star-save' off. Reported by Dan Dever.
4150 (verilog-auto-reset, verilog-read-always-signals)
4151 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4152 temporary signals in reset list if
4153 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4154 style to each signal's assignment type, bug381.
4155 Reported by Thomas Esposito.
6288f0ca
WS
4156 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4157 (verilog-uvm-statement-re): Support UVM indentation and
4158 highlighting, with old OVM keywords only.
a1beca85 4159 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4160 Support AUTOTIEOFF creating non-wire data types.
4161 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4162 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4163 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4164 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4165 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4166 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4167 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4168 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4169 non-numeric vector width. Reported by Alex Reed.
4170 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4171 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4172 (verilog-auto-delete-trailing-whitespace):
4173 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4174 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4175 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4176 Fix verilog-scan-cache corruption when running user AUTO expansion
4177 hooks that call indentation routines.
4178 (verilog-simplify-range-expression): Fix typo ignoring lower case
4179 identifiers.
4180 (verilog-delete-auto): Fix delete-autos to also remove user created
4181 automatics, as long as they start with AUTO.
4182 (verilog-batch-diff-auto, verilog-diff-auto)
4183 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4184 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4185 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4186 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4187 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4188 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4189 is disabled and its cache will get corrupt, causing AUTOS not to
4190 expand. Instead use only -quick functions.
4191 (verilog-scan-region): Fix scanning over escaped quotes.
4192 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4193 (verilog-re-search-backward-quick)
4194 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4195 related functions now ignore strings, to fix misparsing of strings
4196 with magic comments embedded in them.
a1beca85
SM
4197 (verilog-read-auto-template):
4198 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4199 Reported by Brad Dobbie.
4200 (verilog-read-auto-template):
4201 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4202 Reported by Brad Dobbie.
6288f0ca
WS
4203 (verilog-auto-inst, verilog-auto-inst-param)
4204 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4205 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4206 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4207 debugging templates without merge conflicts, bug357.
4208 Reported by Brad Dobbie.
4209 (verilog-read-auto-template):
4210 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4211 Reported by Brad Dobbie.
4212 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4213 abbrevs so user won't be asked to save.
4214 (verilog-read-auto-lisp-present): Fix to start at beginning of
4215 buffer in case called outside of verilog-auto.
4216 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4217 to "X-2". Reported by Matthew Myers.
4218 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4219 all inputs from module templates. Reported by Leith Johnson.
4220 (verilog-module-inside-filename-p): Fix locating programs as with
4221 modules.
4222 (verilog-auto-inst-port): Fix vl-width expressions when using
4223 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4224 (verilog-decls-get-regs, verilog-decls-get-signals,
4225 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4226 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4227 verilog-read-decls): Combine reg and wire structures into one var
4228 structure to represent SystemVerilog concepts.
4229 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4230 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4231 (verilog-auto-wire-type, verilog-insert-definition):
4232 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4233 SystemVerilog "logic" keyword instead of "wire"/"reg".
4234 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4235 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4236 ifdef or generate if so there's not a driver conflict).
4237 Reported by Matthew Myers.
4238 (verilog-auto-declare-nettype, verilog-insert-definition):
4239 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4240 `default_nettype none. Reported by Julian Gorfajn.
4241 (verilog-read-always-signals-recurse, verilog-read-decls)
4242 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4243 malformed end statement, bug325. Reported by Joshua Wise and
4244 Andrew Drake.
4245 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4246 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4247 when expanding .* in interfaces, bug320.
4248 Reported by Pierre-David Pfister.
6288f0ca 4249 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4250 name and open parenthesis, bug317.
4251 Reported by Pierre-David Pfister.
6288f0ca
WS
4252 (verilog-simplify-range-expression): Fix simplification of
4253 multiplications inside AUTOWIRE connections, bug303.
4254 (verilog-auto-inst-port): Support parameter expansion in
4255 multidimensional arrays.
4256 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4257 after "assert property". Reported by Julian Gorfajn.
4258 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4259 with multiplication, bug303.
4260 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4261 Reported by Jan Frode Lonnum.
4262
1bbe96b2
GM
42632011-11-30 Juanma Barranquero <lekktu@gmail.com>
4264
4265 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4266 (hfy-shell-file-name, hfy-shell):
4267 * international/fontset.el (x-decompose-font-name): Fix typos.
4268
42692011-11-29 Ken Brown <kbrown@cornell.edu>
4270
4271 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4272 (gdb-version): Remove defvar.
4273 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4274 (gdb-gud-context-command, gdb-non-stop-handler)
4275 (gdb-current-context-command, gdb-stopped): Use it.
4276 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4277 (gdb-non-stop-handler): Don't enable pretty-printing here.
4278 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4279 non-stop mode. Use the following.
4280 (gdb-check-target-async): New defun.
4281 (gud-watch, gdb-stopped): Fix whitespace.
4282 (gdb-get-source-file): Don't try to display the source file if
4283 `gdb-main-file' is nil.
4284
42852011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4286
4287 * align.el: Try to generate fewer markers (bug#10047).
4288 (align--set-marker): New macro.
4289 (align-region): Use it.
4290
c935221f
SM
42912011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4292
4293 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4294
e70b5064
CY
42952011-11-29 Chong Yidong <cyd@gnu.org>
4296
4297 * indent.el (indent-for-tab-command, indent-according-to-mode):
4298 Doc fix.
4299 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4300
f3af92b7
MA
43012011-11-29 Michael Albinus <michael.albinus@gmx.de>
4302
4303 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4304 aware of remote file names. (Bug#10124)
4305
ed472be9
CY
43062011-11-29 Chong Yidong <cyd@gnu.org>
4307
4308 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4309
24510c22
SM
43102011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4311
4312 * files.el (find-file): Don't use force-same-window (bug#10144).
4313 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4314 use pop-to-buffer if the selected window can't be used.
4315 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4316
c60c3703
EZ
43172011-11-28 Eli Zaretskii <eliz@gnu.org>
4318
4319 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4320 special-mode-map.
4321
e95def75
CY
43222011-11-28 Chong Yidong <cyd@gnu.org>
4323
4324 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4325
c3f1c606
NR
43262011-11-27 Nick Roberts <nickrob@snap.net.nz>
4327
4328 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4329 gdb-get-source-file-list on gdb-create-source-file-list.
4330
00db469c
EZ
43312011-11-26 Eli Zaretskii <eliz@gnu.org>
4332
4333 * whitespace.el (whitespace-newline): Use a different foreground
4334 color for 16-color light-background displays.
4335
4ad3bc2a
CY
43362011-11-24 Chong Yidong <cyd@gnu.org>
4337
4338 * window.el (display-buffer--special-action): Doc fix.
4339
e9fce1ac
JB
43402011-11-25 Juanma Barranquero <lekktu@gmail.com>
4341
4342 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4343 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4344 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4345 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4346 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4347 (avl-tree-stack-first):
4348 * emacs-lisp/cconv.el (cconv--analyse-use):
4349 * net/gnutls.el (gnutls-negotiate): Fix typos.
4350
cb825e5d
GM
43512011-11-24 Glenn Morris <rgm@gnu.org>
4352
3adbe224
GM
4353 * lpr.el (lpr-windows-system, lpr-lp-system):
4354 * mail/binhex.el (binhex-begin-line):
4355 * progmodes/grep.el (grep-history, grep-find-history):
4356 * textmodes/flyspell.el:
4357 * vc/pcvs-defs.el (cvs-global-menu):
4358 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4359 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4360 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4361
321decc8
GM
4362 * net/tls.el: Fix case of "GnuTLS".
4363
420b63ad
GM
4364 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4365
cb825e5d
GM
4366 * version.el (emacs-build-system): Give it a doc-string.
4367
a0649f08
JL
43682011-11-24 Juri Linkov <juri@jurta.org>
4369
4370 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4371
c0bc0fd4
GM
43722011-11-24 Glenn Morris <rgm@gnu.org>
4373
4374 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4375 if called on a non-mime message just toggle the headers. (Bug#8006)
4376
20db1522
JB
43772011-11-24 Juanma Barranquero <lekktu@gmail.com>
4378
4379 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4380 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4381 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4382 (allout-rebullet-heading, allout-open-sibtopic)
4383 (allout-toggle-current-subtree-encryption)
4384 (allout-toggle-subtree-encryption, allout-encrypt-string)
4385 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4386 (allout-distinctive-bullets-string, allout-auto-activation):
4387 * window.el (window-normalize-buffer-to-display):
4388 * progmodes/verilog-mode.el (verilog-batch-indent):
4389 * textmodes/bibtex.el (bibtex-field-braces-opt)
4390 (bibtex-field-strings-opt):
4391 * vc/cvs-status.el (cvs-tree-merge):
4392 Fix typos.
4393
7262a87c
MA
43942011-11-23 Michael Albinus <michael.albinus@gmx.de>
4395
4396 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4397 `non-essential' to t, in order to avoid remote connections.
4398
283430a1
EZ
43992011-11-23 Eli Zaretskii <eliz@gnu.org>
4400
a1beca85
SM
4401 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4402 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4403 case-insensitively.
4404
d2992a38
ML
44052011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4406
4407 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4408
50419064
GM
44092011-11-23 Glenn Morris <rgm@gnu.org>
4410
da94eca1
GM
4411 * paths.el (rmail-file-name): Reformat the doc-string so that it
4412 is picked up.
4413
9aac4de2
GM
4414 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4415 (rmail-auto-file): Ignore case in the "special" field names,
4416 as mail-fetch-field does for all others.
4417
8038d2d2
GM
4418 * mail/rmail.el (rmail-forward):
4419 * mail/rmailkwd.el (rmail-set-label):
4420 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4421 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4422
f3fe222a
GM
4423 * mail/rmail.el (rmail-current-message): Doc fix.
4424
50419064
GM
4425 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4426
28109f49
SM
44272011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4428
4429 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4430
394c65f1
GM
44312011-11-22 Glenn Morris <rgm@gnu.org>
4432
4433 * mail/rmailmm.el (test-rmail-mime-handler)
4434 (test-rmail-mime-bulk-handler)
4435 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4436
f2a0aa3a
JL
44372011-11-21 Juri Linkov <juri@jurta.org>
4438
1154d12e
JB
4439 * calc/calc.el (calc-read-key-sequence):
4440 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4441
9c34a344
LMI
44422011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4443
4444 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4445 Tell the caller that the next line needs recomputation, even
4446 though it doesn't start a sexp (bug#10094).
4447
f04a3be9
SM
44482011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4449
4450 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4451
7978747f
SM
44522011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4453
f04a3be9
SM
4454 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4455 Use force-same-window.
7978747f 4456
fe7a3057
JB
44572011-11-20 Juanma Barranquero <lekktu@gmail.com>
4458
4459 * descr-text.el (describe-char-unicode-data):
4460 * json.el (json-string-escape):
4461 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4462 (Footnote-unicode, Footnote-style-p):
4463 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4464
24901d61
CY
44652011-11-20 Chong Yidong <cyd@gnu.org>
4466
4467 * window.el (replace-buffer-in-windows): Restore interactive spec.
4468
bac7ff22
SM
44692011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4470
24f3d7b9
SM
4471 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4472
bac7ff22
SM
4473 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4474 (byte-compile-global-not-obsolete-vars): New var.
4475 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4476 Use it.
4477 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4478
cd1181db
JB
44792011-11-20 Juanma Barranquero <lekktu@gmail.com>
4480
4481 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4482 * progmodes/pascal.el (electric-pascal-equal):
4483 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4484 * xml.el (xml-substitute-special): Fix typos.
4485
7fb18e9e
GM
44862011-11-20 Glenn Morris <rgm@gnu.org>
4487
4488 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4489 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4490 Doc fixes.
4491 (rmail-decode-mime-charset): Mark as obsolete.
4492
4493 * mail/rmailsum.el (rmail-message-regexp-p-1):
4494 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4495 Before using mime functions, check they are set. (Bug#10077)
4496
d5a6b3ba
JL
44972011-11-19 Juri Linkov <juri@jurta.org>
4498
4499 * info.el (Info-finder-find-node): Use `package--builtins' instead
4500 of `package-alist'. Use node names formed by the pattern "Keyword "
4501 and the keyword name.
4502
e981b61f
AS
45032011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4504
1d00653d 4505 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4506
3ffbc301
JL
45072011-11-19 Juri Linkov <juri@jurta.org>
4508
4509 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4510 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4511 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4512 `old-history', `old-history-forward'. Add let-binding
4513 `window-selected'. Remove calls to `kill-buffer',
4514 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4515 before calling `Info-find-node', so `Info-find-node-2' will reread
4516 the Info file. Restore window positions only when `window-selected'
4517 is non-nil.
4518
30c62133
JL
45192011-11-19 Juri Linkov <juri@jurta.org>
4520
4521 * isearch.el (isearch-lazy-highlight-new-loop):
4522 Remove condition `(not isearch-error)'. (Bug#9918)
4523
4524 * misearch.el (multi-isearch-search-fun): Add condition
4525 `(not bound)' to ignore lazy-highlighting search.
4526 Add the search-failed message "end of multi" when the end of
4527 multi-sequence is reached. Uncapitalize the search-failed
4528 message "Repeat for next buffer".
4529
4530 * info.el (Info-search): Add the search-failed message
4531 "end of the manual" when the end of the manual is reached
4532 in Isearch mode.
4533
645ca9cf
JL
45342011-11-19 Juri Linkov <juri@jurta.org>
4535
4536 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4537 Use non-destructive `remove' instead of `delete' because
4538 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4539 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4540
df754f66
JL
45412011-11-19 Juri Linkov <juri@jurta.org>
4542
4543 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4544 to nil instead of binding `search-ring' and `regexp-search-ring'.
4545 (Bug#9185)
4546
0e23d96a
EZ
45472011-11-19 Eli Zaretskii <eliz@gnu.org>
4548
4549 * simple.el (line-move): Force movement by logical lines for any
4550 hscrolled window, not only when auto-hscroll-mode is on.
4551 (line-move-visual): Update doc string to that effect. (Bug#10076)
4552
8a6ccb66
AS
45532011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4554
4555 * language/european.el (macintosh): Define as alias for mac-roman.
4556
49ae5b39
EZ
45572011-11-19 Eli Zaretskii <eliz@gnu.org>
4558
4559 * mail/rmailmm.el (rmail-mime-display-header)
4560 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4561 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4562 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4563 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4564 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4565 of a raw aref.
4566 (rmail-mime-entity-segment): To get past the tagline, move forward
4567 2 more lines, to account for the 2 empty lines that precede and
4568 follow the line with the buttons.
4569 (rmail-mime-update-tagline): Move one more line, to get past the
4570 empty line that follows the buttons in the tagline. (Bug#9520)
4571
c56cad4a
MR
45722011-11-19 Martin Rudalics <rudalics@gmx.at>
4573
4574 * window.el (window-max-delta-1, window-min-delta-1)
4575 (window-min-size-1, window-state-get-1, window-state-put-1)
4576 (window-state-put-2): Use "window--" prefix.
4577
cbe71af3
SM
45782011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4579
2ad52c60
SM
4580 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4581 (smie-warning-count): New var.
4582 (smie-set-prec2tab): Use it.
4583 (smie-bnf->prec2): Improve warnings. Add docstring.
4584 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4585 (smie-bnf--set-class): New function.
4586 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4587 corner case.
4588
6944dbc1
SM
4589 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4590 (compilation-error-properties, compilation-move-to-column):
4591 Handle compilation-first-column while in the target buffer.
4592
c400c4d7
SM
4593 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4594 Don't hardcode point-min==1.
4595
6dbe3e96
SM
4596 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4597 (eshell-rewrite-for-command): Remove workaround.
4598 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4599 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4600 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4601
cbe71af3
SM
4602 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4603
a8e1496d
GM
46042011-11-17 Glenn Morris <rgm@gnu.org>
4605
4606 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4607 Ignore buffer-local generated-autoload-file if it is the same
4608 as the global value. (Bug#10049)
4609
df85d315
JB
46102011-11-17 Juanma Barranquero <lekktu@gmail.com>
4611
4612 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4613 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4614 (reftex-toc-previous-heading, reftex-toc-max-level)
4615 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4616 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4617 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4618 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4619 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4620 (reftex-toc-rename-label, reftex-toc-visit-location)
4621 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4622 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4623 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4624 leaving "*toc*" only for references to the buffer.
4625
a0c2d0ae
MR
46262011-11-17 Martin Rudalics <rudalics@gmx.at>
4627
4628 * window.el (window-resize, delete-window, split-window):
4629 Replace window-splits by window-combination-resize.
1d00653d 4630 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4631
35c0bac8
GM
46322011-11-17 Glenn Morris <rgm@gnu.org>
4633
4634 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4635 Make bash entry derive from sh entry, not shell entry.
4636
d0c8fc8a
MA
46372011-11-16 Michael Albinus <michael.albinus@gmx.de>
4638
d0c8fc8a
MA
4639 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4640 properties of linked files. (Bug#9879)
4641
7262a87c
MA
4642 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4643 local file name.
4644
7877f373
JB
46452011-11-16 Juanma Barranquero <lekktu@gmail.com>
4646
4647 * menu-bar.el (menu-bar-file-menu):
4648 * printing.el (pr-ps-utility):
4649 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4650 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4651 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4652 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4653 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4654 (icalendar--convert-cyclic-to-ical)
4655 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4656 (icalendar--convert-ical-to-diary)
4657 (icalendar--convert-recurring-to-diary)
4658 (icalendar--convert-non-recurring-all-day-to-diary)
4659 (icalendar-import-format-sample):
4660 * progmodes/idlw-shell.el (idlwave-shell-mode):
4661 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4662 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4663 (vhdl-ps-print-init): Fix typos.
4664
10649b82
KM
46652011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4666
9d0cfcd6
GM
4667 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4668 FSF and collapse date sequence, obscure author/maintainer email address
4669 better, remove extra version line, track relocation of author's webpage.
10649b82 4670
9d0cfcd6
GM
4671 * progmodes/python.el (python-pdbtrack-input-prompt)
4672 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4673 regular python pdb prompts. Adjustments shamelessly taken exactly as
4674 suggested in EmacsWiki page (tiny change):
4675 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4676
58179cce
JB
46772011-11-16 Juanma Barranquero <lekktu@gmail.com>
4678
4679 * expand.el (expand-pos, expand-index, expand-point):
4680 Remove redundant info from docstring.
4681 (expand-add-abbrevs): Doc fix.
4682 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4683 (expand-sample-perl-mode-expand-list): Fix typos.
4684
4685 * net/dbus.el (dbus-event-member-name):
4686 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4687 * term/pc-win.el (msdos-create-frame-with-faces):
4688 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4689
b6f67890
MR
46902011-11-16 Martin Rudalics <rudalics@gmx.at>
4691
4692 * window.el (split-window, window-state-get-1)
4693 (window-state-put-1, window-state-put-2): Rename occurrences of
4694 window-nest to window-combination-limit.
1d00653d 4695 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4696
ce7ddba0
CY
46972011-11-16 Chong Yidong <cyd@gnu.org>
4698
4699 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4700 regexp (Bug#10033).
4701
3ae704f4
SM
47022011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4703
4704 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4705 `completing-read' will remove *Completions* and will preserve
4706 current-buffer for us.
4707 (tmm-add-prompt): Users of *Completions* will always (re)set its
4708 major mode.
4709 (tmm-old-comp-map): Remove.
4710
6ad1cdde
GM
47112011-11-16 Glenn Morris <rgm@gnu.org>
4712
4713 * mail/rmailedit.el: Require rmailmm when compiling.
4714 (rmail-old-mime-state): New declaration.
4715 (rmail-edit-current-message): If editing a mime message,
4716 edit the "raw" message from the mbox buffer.
4717 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4718
d20faa20
GM
47192011-11-15 Glenn Morris <rgm@gnu.org>
4720
4721 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4722 which wasn't being used. Add optional arg to force given state.
4723 (rmail-mime): Add optional arg to force given state.
4724
c7015153
JB
47252011-11-15 Juanma Barranquero <lekktu@gmail.com>
4726
4727 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4728 * frame.el (display-mm-dimensions-alist):
4729 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4730 (outline-move-subtree-down):
4731 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4732 (newsticker--treeview-do-get-node):
4733 * net/quickurl.el (quickurl-list-buffer-name):
4734 * progmodes/dcl-mode.el (dcl-mode):
4735 * progmodes/gdb-mi.el (gdb-mapcar*):
4736 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4737
45261b50
GM
47382011-11-15 Glenn Morris <rgm@gnu.org>
4739
4740 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4741 in a boolean sense, so just make it a boolean, and fix the doc.
4742 (rmail-show-mime-function, rmail-mime-feature)
4743 (rmail-require-mime-maybe): Doc fixes.
4744 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4745
4746 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4747
0d26e0b6
JB
47482011-11-15 Juanma Barranquero <lekktu@gmail.com>
4749
4750 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4751 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4752 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4753 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4754
447f30f6
GM
47552011-11-15 Glenn Morris <rgm@gnu.org>
4756
672b871d
GM
4757 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4758 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4759 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4760 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4761 (rmail-mime, rmail-show-mime): Doc fixes.
4762
f6aa5bb1
GM
4763 * term/ns-win.el (mode-line-frame-identification):
4764 Leave it alone. (Bug#10051)
4765
947cd66b
GM
4766 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4767
447f30f6
GM
4768 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4769 Handle empty buffers. (Bug#9978)
4770
0b381c7e
JB
47712011-11-14 Juanma Barranquero <lekktu@gmail.com>
4772
4773 * international/mule.el (define-charset):
4774 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4775 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4776 * progmodes/verilog-mode.el (verilog-backward-token):
4777 * textmodes/ispell.el (lookup-words):
4778 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4779
71e027ac
GM
47802011-11-14 Glenn Morris <rgm@gnu.org>
4781
56632ce4
GM
4782 * progmodes/executable.el
4783 (executable-make-buffer-file-executable-if-script-p):
4784 Handle file-modes returning nil.
4785
40500957
GM
4786 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4787 message - not necessary, and causes problems. (Bug#9831)
4788
071c2340
GM
4789 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4790
d3cfca60
GM
4791 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4792
71e027ac
GM
4793 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4794 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4795 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4796
89d61221
MR
47972011-11-12 Martin Rudalics <rudalics@gmx.at>
4798
4799 * window.el (window-resize, delete-window): Use window-splits
4800 variable instead of function.
4801 (window-state-get-1, window-state-put-2, window-state-put):
4802 Don't deal with windows' splits status.
4803
98282f6f
GM
48042011-11-12 Glenn Morris <rgm@gnu.org>
4805
4806 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4807 (apropos-documentation): Doc fixes.
4808
40a8bdf6
JB
48092011-11-11 Juanma Barranquero <lekktu@gmail.com>
4810
4811 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4812 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4813
65bd19ff
SM
48142011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4815
4816 * electric.el (electric-indent-post-self-insert-function): Make it
4817 possible for a char to only indent in some circumstances.
4818 (electric-indent-mode): Simplify.
4819
54f9154c
MR
48202011-11-11 Martin Rudalics <rudalics@gmx.at>
4821
4822 * window.el (windows-with-parameter): Remove unused function.
4823 (windows-at-side): Rename to window-at-side-list.
4824 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4825 (window-side-check, window-size-ignore, window-size-fixed-1)
4826 (window-in-direction-2): Prefix with "window--".
4827 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4828
68cbc58b
GM
48292011-11-11 Glenn Morris <rgm@gnu.org>
4830
4831 * subr.el (eval-after-load): If FILE is already loaded,
4832 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4833
b2621720
GM
48342011-11-10 Glenn Morris <rgm@gnu.org>
4835
9a4de110
GM
4836 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4837 Call svn via vc-svn-command rather than vc-do-command.
4838 (vc-svn-command): Add --non-interactive. (Bug#9993)
4839 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4840
b2621720
GM
4841 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4842 Add toggle-read-only. (Bug#7292)
4843 * files.el (toggle-read-only): Mention that it should only
4844 be used interactively. (Bug#10006)
4845
1dce7193
SM
48462011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4847
d9ac1a1e
SM
4848 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4849 Adjust regexp for OCaml warnings.
4850
0c325082
SM
4851 * electric.el (electric-pair-post-self-insert-function): Let user
4852 turn it off buffer-locally (bug#9932).
4853
90132c14
SM
4854 * progmodes/python.el (python-beginning-of-statement):
4855 Rewrite (bug#2703).
4856
1dce7193
SM
4857 * progmodes/compile.el: Better handle TABs (bug#9749).
4858 (compilation-internal-error-properties)
4859 (compilation-next-error-function): Obey the target buffer's
4860 compilation-error-screen-columns.
4861
c4e7c63a
JB
48622011-11-09 Juanma Barranquero <lekktu@gmail.com>
4863
4864 * progmodes/meta-mode.el: Remove obsolete comments.
4865 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4866 Fix typos in docstrings.
4867
2cffd681
MR
48682011-11-09 Martin Rudalics <rudalics@gmx.at>
4869
4870 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4871 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4872 (window--resizable): New function. Make all callers of
4873 window-resizable call window--resizable instead.
4874 (window-resizable): Rewrite in terms of window--resizable.
4875
0edcba87
GM
48762011-11-08 Glenn Morris <rgm@gnu.org>
4877
4878 * progmodes/delphi.el (delphi-mode-syntax-table):
4879 Let define-derived-mode define a proper syntax table. (Bug#9994)
4880
4b0d61e3
SM
48812011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4882
4883 * window.el: Stay away from defsubst.
4884 (window-list-no-nils): Remove.
4885 (window-state-get-1, window-state-get): Use backquote instead.
4886
cd394be1 48872011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4888
4b0d61e3 4889 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4890 Fix incorrect use of default argument in `completing-read'.
4891
e1c2c6f2
MR
48922011-11-08 Martin Rudalics <rudalics@gmx.at>
4893
4894 * window.el (display-buffer-function, special-display-function):
4895 Mention display-buffer-record-window but do not mention
4896 help-setup parameter in doc-strings.
b3f4a882 4897 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4898
105216ed
CY
48992011-11-08 Chong Yidong <cyd@gnu.org>
4900
4901 * window.el (window-total-height, window-total-width): Doc fix.
4902 (window-body-size): Move from C.
4903 (window-body-height, window-body-width): Move to C.
4904
0a9f9ab5
SM
49052011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4906
4907 * window.el: Make special-display like display-buffer-alist (bug#9532).
4908 (display-buffer--special-action): New function, morphed
4909 from display-buffer--special.
4910 (display-buffer): Use it to handle special-display-buffers at higher
4911 priority (just after display-buffer-alist).
4912 (display-buffer-fallback-action, display-buffer--other-frame-action)
4913 (pop-to-buffer-same-window): Remove display-buffer--special.
4914
a769dd15
GM
49152011-11-07 Glenn Morris <rgm@gnu.org>
4916
4917 * calendar/cal-menu.el (cal-menu-set-date-title):
4918 Do nothing if not in a calendar. (Bug#9976)
4919
05a61ee3
SM
49202011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4921
4922 * files.el (find-file): Always use selected-window.
4923
be7f5545
MR
49242011-11-07 Martin Rudalics <rudalics@gmx.at>
4925
4926 * window.el (window-combinations): Make WINDOW argument
4927 mandatory. Rewrite doc-string.
4928 (walk-window-subtree, window-atom-check, window-min-delta)
4929 (window-max-delta, window--resize-this-window)
4930 (window--resize-root-window-vertically, window-tree)
4931 (balance-windows, window-state-put): Rewrite doc-strings as to
4932 not mention the term "subwindow".
4933 (window--resize-subwindows-skip-p): Rename to
4934 window--resize-child-windows-skip-p.
4935 (window--resize-subwindows-normal): Rename to
4936 window--resize-child-windows-normal.
4937 (window--resize-subwindows): Rename to
4938 window--resize-child-windows.
4939 (window-or-subwindow-p): Rename to window--in-subtree-p.
4940
3c6702ef
ML
49412011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4942
4943 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4944 Ensure that mbox format messages end in two newlines (Bug#9974).
4945
49745b39
CY
49462011-11-06 Chong Yidong <cyd@gnu.org>
4947
4948 * window.el (window-combination-p): Function deleted; its
4949 side-effect is not used in any existing code.
4950 (window-combinations, window-combined-p): Call window-*-child
4951 directly.
4952
24300f5f
CY
49532011-11-05 Chong Yidong <cyd@gnu.org>
4954
4955 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4956 (window-size-ignore, window-state-get): Callers changed.
4957 (window-normalize-window): Rename from window-normalize-any-window.
4958 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4959 (window-normalize-live-window): Delete.
447f16b8
CY
4960 (window-combination-p, window-combined-p, window-combinations)
4961 (walk-window-subtree, window-atom-root, window-min-size)
4962 (window-sizable, window-sizable-p, window-size-fixed-p)
4963 (window-min-delta, window-max-delta, window-resizable)
4964 (window-resizable-p, window-full-height-p, window-full-width-p)
4965 (window-current-scroll-bars, window-point-1, set-window-point-1)
4966 (window-at-side-p, window-in-direction, window-resize)
4967 (adjust-window-trailing-edge, maximize-window, minimize-window)
4968 (window-deletable-p, delete-window, delete-other-windows)
4969 (record-window-buffer, unrecord-window-buffer)
4970 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4971 (quit-window, split-window, window-state-put)
4972 (set-window-text-height, fit-window-to-buffer)
4973 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4974
89bd5ee1
EZ
49752011-11-04 Eli Zaretskii <eliz@gnu.org>
4976
53479029
EZ
4977 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4978 rfc2047-decode-string.
4979 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4980 warnings.
4981
89bd5ee1
EZ
4982 * window.el (window-body-height, window-body-width): Mention in
4983 the doc string that the return values are in frame's canonical
4984 units. (Bug#9949)
4985
bd17fdee
AM
49862011-11-03 Alan Mackenzie <acm@muc.de>
4987
4988 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4989 change in cc-engine.el.
4990
acc825c5
SM
49912011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4992
4993 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4994
1885e5b8
MR
49952011-11-02 Martin Rudalics <rudalics@gmx.at>
4996
4997 * window.el (quit-window): Call unrecord-window-buffer after
4998 showing another buffer in the window. (Bug#9937)
acc825c5 4999 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5000
ebe06da9
JB
50012011-11-02 Juanma Barranquero <lekktu@gmail.com>
5002
5003 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5004 Accept status with more than 9 shelves. (Bug#9935)
5005 Reported by Colin D Bennett <colin@gibibit.com>.
5006
4ee88440
MR
50072011-11-01 Martin Rudalics <rudalics@gmx.at>
5008
5009 * help.el (with-help-window): Don't reference
5010 temp-buffer-show-specifiers in doc-string.
5011
08e1d82c
AS
50122011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5013
5014 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5015 menu-item.
5016
84bd6e9e
VJL
50172011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5018
5019 * whitespace.el: New version 13.2.2.
5020 (whitespace-newline-mode): Disable properly. Reported by Sarah
5021 <EmacsWiki>.
5022
dba0634a
UJ
50232011-10-30 Ulf Jasper <ulf.jasper@web.de>
5024
5025 * net/newst-treeview.el: Remove "Time-stamp".
5026 (newsticker--group-manage-orphan-feeds): Do not call
5027 newsticker--treeview-tree-update.
db22a3c2
JB
5028 (newsticker-treeview-update, newsticker-treeview):
5029 Call newsticker--treeview-tree-update if necessary.
dba0634a 5030
3d8daefe
MR
50312011-10-30 Martin Rudalics <rudalics@gmx.at>
5032
5033 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5034 (window-iso-combinations): Remove "iso-" infix.
5035 Suggested by Chong Yidong.
3d8daefe
MR
5036 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5037 (window-max-delta-1, window-resize, window--resize-siblings)
5038 (window--resize-this-window, adjust-window-trailing-edge)
5039 (split-window, balance-windows-1)
5040 (shrink-window-if-larger-than-buffer):
5041 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5042 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5043
1bc4c3ae
SM
50442011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5045
5046 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5047 in place (bug#9907).
5048 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5049 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5050 (eshell-structure-basic-command, eshell-rewrite-while-command)
5051 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5052 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5053 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5054 (eshell-do-pipelines-synchronously, eshell-eval-command):
5055 Use backquotes and prefer setq to set.
5056 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5057 (eshell-macrop): Use functionp.
c1e2f5fa 5058 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5059
30b65d9c
CY
50602011-10-30 Chong Yidong <cyd@gnu.org>
5061
5062 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5063 instead of set-mark (Bug#9810).
5064
2d197ffb
CY
50652011-10-30 Chong Yidong <cyd@gnu.org>
5066
5067 * window.el (split-window-below, split-window-right): Rename from
5068 split-window-above-each-other and split-window-side-by-side
5069 respectively. All callers changed.
5070 (split-window-sensibly, split-window-sensibly): Use them.
5071 (split-window-keep-point): Doc fix.
5072
5073 * isearch.el: Add isearch-scroll property to split-window-below
5074 and split-window-right.
5075
5076 * follow.el (follow-mode):
5077 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5078 * progmodes/ada-xref.el (ada-gdb-application):
5079 * emulation/vip.el (vip-buffer-in-two-windows):
5080 * image-dired.el (image-dired-dired-with-window-configuration):
5081 * dired-x.el (dired-do-find-marked-files):
5082 * dired.el (dired-pop-to-buffer):
5083 * bs.el (bs--show-with-configuration):
5084 * vc/emerge.el (emerge-setup-windows):
5085 * textmodes/two-column.el (2C-two-columns):
5086 * textmodes/reftex-toc.el (reftex-toc):
5087 * progmodes/gdb-mi.el (gdb-setup-windows):
5088 * progmodes/fortran.el (fortran-window-create):
5089 * net/newst-treeview.el (newsticker--treeview-window-init):
5090 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5091 * emulation/tpu-edt.el (tpu-gold-map):
5092 * emulation/crisp.el (crisp-mode-map):
5093 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5094
38bb2ca8
CY
50952011-10-29 Chong Yidong <cyd@gnu.org>
5096
aa4de341
CY
5097 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5098
e1eb5385
CY
5099 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5100
5d2ece3c
CY
5101 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5102 forged Ispell output (Bug#7904).
5103
38bb2ca8
CY
5104 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5105
d0af9f77
SM
51062011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * doc-view.el: Avoid ugly errors about not finding nil.
5109 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5110 (doc-view-dvipdf-program, doc-view-unoconv-program)
5111 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5112 Avoid nil or absolute file name as default value.
5113 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5114
52bedd34
AM
51152011-10-28 Alan Mackenzie <acm@muc.de>
5116
db22a3c2 5117 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5118
7e43cfa5
AM
51192011-10-28 Alan Mackenzie <acm@muc.de>
5120
5121 Amend the handling of c-beginning/end-of-defun in nested declaration
5122 scopes.
5123
52bedd34
AM
5124 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5125 cc-langs.el. Change it to a defcustom.
7e43cfa5 5126
52bedd34
AM
5127 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5128 cc-vars.el.
7e43cfa5 5129
d0af9f77
SM
5130 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5131 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5132
52bedd34 5133 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5134 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5135 (c-widen-to-enclosing-decl-scope): New function.
5136 (c-while-widening-to-decl-block): New macro.
5137 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5138 outward for defun boundaries, and correspondingly change symbol
5139 `respect-enclosure' to `go-outward'.
5140 (c-declaration-limits): Change algorithm to report only the "innermost"
5141 defun's boundaries.
5142
1a2ce9ee
DD
51432011-10-28 Deniz Dogan <deniz@dogan.se>
5144
5145 * net/rcirc.el (rcirc-mode): Use hard newlines.
5146
bc97a826
AM
51472011-10-28 Alan Mackenzie <acm@muc.de>
5148
5149 Amend to indent and fontify macros "which include their own semicolon"
5150 correctly, using the "virtual semicolon" mechanism.
5151
52bedd34 5152 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5153
d0af9f77 5154 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5155 Recode to scan one line at a time rather than having \n and \r
58179cce 5156 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5157 (c-forward-label): Amend for virtual semicolons.
58179cce 5158 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5159
52bedd34
AM
5160 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5161 of the new C macros.
bc97a826 5162
52bedd34 5163 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5164 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5165 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5166 (c-opt-cpp-macro-define): Make into a full language variable.
5167 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5168 AWK Mode (including \n, \r) removed, no longer needed.
5169
d0af9f77
SM
5170 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5171 Invoke c-make-macro-with-semi-re.
bc97a826 5172
52bedd34
AM
5173 * progmodes/cc-vars.el (c-macro-with-semi-re):
5174 (c-macro-names-with-semicolon): New variables.
58179cce 5175 (c-make-macro-with-semi-re): New function.
bc97a826 5176
7a6c0941
SM
51772011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * vc/log-edit.el: Fill empty field rather than adding new one.
5180 (log-edit-add-field): New function.
5181 (log-edit-insert-changelog): Use it.
5182
b0c4cdcf
ML
51832011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5184
5185 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5186
ee1f1da9
SM
51872011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5188
5189 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5190 (gdb--check-interpreter): New function.
5191 (gdb): Use it.
5192
51bc5f8b
GM
51932011-10-27 Glenn Morris <rgm@gnu.org>
5194
416a2c45
GM
5195 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5196 (least-positive-float, least-negative-float)
5197 (least-positive-normalized-float, least-negative-normalized-float)
5198 (float-epsilon, float-negative-epsilon):
5199 Remove unnecessary declarations.
5200
5201 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5202 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5203 (least-positive-float, least-negative-float)
5204 (least-positive-normalized-float, least-negative-normalized-float)
5205 (float-epsilon, float-negative-epsilon): Add doc-strings,
5206 based on those in cl.texi.
5207
51bc5f8b
GM
5208 * files.el (set-visited-file-name): If the major-mode changed,
5209 reload the local variables. (Bug#9796)
5210
15de15c6
CY
52112011-10-27 Chong Yidong <cyd@gnu.org>
5212
5213 * subr.el (change-major-mode-after-body-hook): New hook.
5214 (run-mode-hooks): Run it.
5215
ee1f1da9
SM
5216 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5217 Use change-major-mode-before-body-hook.
15de15c6
CY
5218
5219 * simple.el (fundamental-mode):
5220 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5221 change introducing fundamental-mode-hook.
5222
5430d399
JB
52232011-10-26 Juanma Barranquero <lekktu@gmail.com>
5224
acc825c5 5225 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5226
ad74a69e
MA
52272011-10-26 Michael Albinus <michael.albinus@gmx.de>
5228
5229 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5230 tramp.el explicitly. (Bug#7583)
ad74a69e 5231
71d4c2a5
SM
52322011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5233
5234 * progmodes/octave-mod.el:
5235 * progmodes/octave-inf.el: Update maintainer.
5236
b1f6fa26
CY
52372011-10-26 Chong Yidong <cyd@gnu.org>
5238
5239 * subr.el (with-wrapper-hook): Rewrite doc.
5240
3f04efd6
MA
52412011-10-25 Michael Albinus <michael.albinus@gmx.de>
5242
5243 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5244 filenames "/method:foo:". (Bug#9793)
3f04efd6 5245
410488d3
SM
52462011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5247
5248 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5249 (bug#9865).
5250
c1ebb47e
GM
52512011-10-24 Glenn Morris <rgm@gnu.org>
5252
5253 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5254
7f5c46c7
MA
52552011-10-24 Michael Albinus <michael.albinus@gmx.de>
5256
5257 * notifications.el: Add the requirement of a running D-Bus session
5258 bus to the Commentary.
5259
db2440b6
JL
52602011-10-24 Juri Linkov <juri@jurta.org>
5261
5262 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5263 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5264 (Bug#9364)
5265
feecf435
JL
52662011-10-24 Juri Linkov <juri@jurta.org>
5267
5268 * info.el (Info-following-node-name-re): Add newline to the list
5269 of allowed characters for leading space. (Bug#9824)
5270
a3839de2
SM
52712011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5272
acc825c5
SM
5273 * progmodes/octave-inf.el (inferior-octave-mode-map):
5274 Fix C-c C-h binding.
a3839de2
SM
5275 * progmodes/octave-mod.el (octave-help): Remove.
5276
09388e76
MA
52772011-10-23 Michael Albinus <michael.albinus@gmx.de>
5278
5279 Sync with Tramp 2.2.3.
5280
5281 * net/tramp-cache.el (top): Pacify byte-compiler using
5282 `init-file-user' and `site-run-file'.
5283
5284 * net/trampver.el: Update release number.
5285
86c60681
CY
52862011-10-23 Chong Yidong <cyd@gnu.org>
5287
5288 * files.el (toggle-read-only): Remove obsolete comment about
5289 version control.
5290
5291 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5292 for toggle-read-only. Note that this hasn't called vc-next-action
5293 since 2008-05-02, though it wasn't documented at the time.
5294
a3839de2
SM
5295 * vc/ediff-init.el (ediff-toggle-read-only-function):
5296 Use toggle-read-only.
86c60681 5297
cd5495ff
AM
52982011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5299
5300 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5301 of c-parse-state.
5302
00b77525 5303 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5304 correct faulty logical expression.
cd5495ff
AM
5305 (c-parse-state-state, c-record-parse-state-state):
5306 (c-replay-parse-state-state): New defvar/defuns.
5307 (c-debug-parse-state): Use new functions.
5308
42ee24ed
MR
53092011-10-22 Martin Rudalics <rudalics@gmx.at>
5310
5311 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5312 last fix. Use window-in-direction correctly.
42ee24ed 5313
a7dee7e7
CY
53142011-10-21 Chong Yidong <cyd@gnu.org>
5315
5316 * progmodes/idlwave.el (idlwave-mode):
5317 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5318 require-final-newline; that's done in prog-mode.
5319 Suggested by Stefan Monnier.
a7dee7e7 5320
e07b9a6d
MR
53212011-10-21 Martin Rudalics <rudalics@gmx.at>
5322
5323 * mouse.el (mouse-drag-window-above)
5324 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5325 (mouse-drag-mode-line-1, mouse-drag-header-line)
5326 (mouse-drag-vertical-line-rightward-window): Remove.
5327 (mouse-drag-line): New function.
5328 (mouse-drag-mode-line, mouse-drag-header-line)
5329 (mouse-drag-vertical-line): Call mouse-drag-line.
5330 * window.el (window-at-side-p, windows-at-side): New functions.
5331
7e1361d9
UM
53322011-10-21 Ulrich Mueller <ulm@gentoo.org>
5333
5334 * tar-mode.el (tar-grind-file-mode):
5335 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5336
30fcaf3a
CY
53372011-10-21 Chong Yidong <cyd@gnu.org>
5338
5339 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5340 * progmodes/vera-mode.el (vera-mode):
5341 Use mode-require-final-newline.
30fcaf3a 5342
516eddb0
GM
53432011-10-20 Glenn Morris <rgm@gnu.org>
5344
db22a3c2 5345 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5346
10d5f513
CS
53472011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5348
5349 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5350
ac6c8639
CY
53512011-10-20 Chong Yidong <cyd@gnu.org>
5352
5353 * emulation/cua-base.el (cua-mode):
5354 * mail/footnote.el (footnote-mode):
5355 * mail/mailabbrev.el (mail-abbrevs-mode):
5356 * net/xesam.el (xesam-minor-mode):
5357 * progmodes/bug-reference.el (bug-reference-mode):
5358 * progmodes/cap-words.el (capitalized-words-mode):
5359 * progmodes/compile.el (compilation-minor-mode)
5360 (compilation-shell-minor-mode):
5361 * progmodes/gud.el (gud-tooltip-mode):
5362 * progmodes/hideif.el (hide-ifdef-mode):
5363 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5364 * progmodes/subword.el (subword-mode):
5365 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5366 * progmodes/which-func.el (which-function-mode):
5367 * term/tvi970.el (tvi970-set-keypad-mode):
5368 * term/vt100.el (vt100-wide-mode):
5369 * textmodes/flyspell.el (flyspell-mode):
5370 * textmodes/ispell.el (ispell-minor-mode):
5371 * textmodes/nroff-mode.el (nroff-electric-mode):
5372 * textmodes/paragraphs.el (use-hard-newlines):
5373 * textmodes/refill.el (refill-mode):
5374 * textmodes/reftex.el (reftex-mode):
5375 * textmodes/rst.el (rst-minor-mode):
5376 * textmodes/sgml-mode.el (html-autoview-mode)
5377 (sgml-electric-tag-pair-mode):
5378 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5379 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5380 * emulation/crisp.el (crisp-mode):
5381 * emacs-lisp/eldoc.el (eldoc-mode):
5382 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5383 minor mode behavior.
5384
aa42ab43
JL
53852011-10-19 Juri Linkov <juri@jurta.org>
5386
5387 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5388 the list of hard-coded chars with escape-glyph face.
5389
89400f1d
SM
53902011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5391
5392 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5393
305c07f6
MA
53942011-10-19 Michael Albinus <michael.albinus@gmx.de>
5395
5396 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5397 running process.
5398
13754b54
GM
53992011-10-19 Glenn Morris <rgm@gnu.org>
5400
5401 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5402 Ignore ignored files. (Bug#9726)
5403
06e21633
CY
54042011-10-19 Chong Yidong <cyd@gnu.org>
5405
5406 Doc fix for minor modes, stating that an omitted argument enables
5407 the mode unconditionally when called from Lisp.
5408
5409 * abbrev.el (abbrev-mode):
5410 * allout.el (allout-mode):
5411 * autoinsert.el (auto-insert-mode):
5412 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5413 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5414 (global-auto-revert-mode):
5415 * battery.el (display-battery-mode):
5416 * composite.el (global-auto-composition-mode)
5417 (auto-composition-mode):
5418 * delsel.el (delete-selection-mode):
5419 * desktop.el (desktop-save-mode):
5420 * dired-x.el (dired-omit-mode):
5421 * dirtrack.el (dirtrack-mode):
5422 * doc-view.el (doc-view-minor-mode):
5423 * double.el (double-mode):
5424 * electric.el (electric-indent-mode, electric-pair-mode):
5425 * emacs-lock.el (emacs-lock-mode):
5426 * epa-hook.el (auto-encryption-mode):
5427 * follow.el (follow-mode):
5428 * font-core.el (font-lock-mode):
5429 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5430 * help.el (temp-buffer-resize-mode):
5431 * hilit-chg.el (highlight-changes-mode)
5432 (highlight-changes-visible-mode):
5433 * hi-lock.el (hi-lock-mode):
5434 * hl-line.el (hl-line-mode, global-hl-line-mode):
5435 * icomplete.el (icomplete-mode):
5436 * ido.el (ido-everywhere):
5437 * image-file.el (auto-image-file-mode):
5438 * image-mode.el (image-minor-mode):
5439 * iswitchb.el (iswitchb-mode):
5440 * jka-cmpr-hook.el (auto-compression-mode):
5441 * linum.el (linum-mode):
5442 * longlines.el (longlines-mode):
5443 * master.el (master-mode):
5444 * mb-depth.el (minibuffer-depth-indicate-mode):
5445 * menu-bar.el (menu-bar-mode):
5446 * minibuf-eldef.el (minibuffer-electric-default-mode):
5447 * mouse-sel.el (mouse-sel-mode):
5448 * msb.el (msb-mode):
5449 * mwheel.el (mouse-wheel-mode):
5450 * outline.el (outline-minor-mode):
5451 * paren.el (show-paren-mode):
5452 * recentf.el (recentf-mode):
5453 * reveal.el (reveal-mode, global-reveal-mode):
5454 * rfn-eshadow.el (file-name-shadow-mode):
5455 * ruler-mode.el (ruler-mode):
5456 * savehist.el (savehist-mode):
5457 * scroll-all.el (scroll-all-mode):
5458 * scroll-bar.el (scroll-bar-mode):
5459 * server.el (server-mode):
5460 * shell.el (shell-dirtrack-mode):
5461 * simple.el (auto-fill-mode, transient-mark-mode)
5462 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5463 (line-number-mode, column-number-mode, size-indication-mode)
5464 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5465 * strokes.el (strokes-mode):
5466 * time.el (display-time-mode):
5467 * t-mouse.el (gpm-mouse-mode):
5468 * tool-bar.el (tool-bar-mode):
5469 * tooltip.el (tooltip-mode):
5470 * type-break.el (type-break-mode-line-message-mode)
5471 (type-break-query-mode):
5472 * view.el (view-mode):
5473 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5474 (global-whitespace-mode, global-whitespace-newline-mode):
5475 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5476
a3839de2
SM
5477 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5478 Fix autogenerated docstring.
06e21633 5479
5214e501
JL
54802011-10-19 Juri Linkov <juri@jurta.org>
5481
5482 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5483 by checking environment variables "DESKTOP_SESSION" and
5484 "XDG_CURRENT_DESKTOP". (Bug#9779)
5485
195f8db9
JL
54862011-10-19 Juri Linkov <juri@jurta.org>
5487
5488 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5489 (browse-url-chromium-program, browse-url-chromium-arguments):
5490 New defcustoms.
5491 (browse-url-default-browser): Check for `browse-url-chromium' and
5492 call `browse-url-chromium-program'.
5493 (browse-url-chromium): New command. (Bug#9779)
5494
343a34ff
JB
54952011-10-18 Juanma Barranquero <lekktu@gmail.com>
5496
5497 * facemenu.el (list-colors-duplicates): On Windows, detect more
5498 duplicates by assuming that only colors matching "^System" are
5499 special "system colors". (Bug#9722)
5500
6978a151
SM
55012011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5502
5503 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5504 to distinguish the author from the committer.
5505
6a80b297
MA
55062011-10-18 Michael Albinus <michael.albinus@gmx.de>
5507
5508 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5509
b31a5677
JK
55102011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5511
5512 * international/mule.el (sgml-html-meta-auto-coding-function):
5513 Add support for detecting encoding in HTML5 specified only as
5514 <meta charset="UTF-8">. Implementation just makes http-equiv and
5515 content-type parts from HTML4 encoding string optional. (Bug#9716)
5516
80c6d77f
GM
55172011-10-18 Glenn Morris <rgm@gnu.org>
5518
5519 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5520
08b0fee8
CY
55212011-10-18 Chong Yidong <cyd@gnu.org>
5522
5523 * faces.el (cursor): Doc fix.
5524
67e729a5
CY
55252011-10-17 Chong Yidong <cyd@gnu.org>
5526
5527 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5528
343a34ff 55292011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5530
5531 * dirtrack.el (dirtrack): Support shell buffers with path
5532 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5533
0bc06380
TZ
55342011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5535
5536 * json.el: Bump version to 1.3 and note change in History.
5537 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5538
8b79f3e0
SM
55392011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5540
5a7c536b
SM
5541 * comint.el (comint-insert-input, comint-send-input)
5542 (comint-get-old-input-default, comint-backward-matching-input)
5543 (comint-next-prompt): Use nil instead of `input' for field property of
5544 past user input (bug#114).
5545
96a8a0df
SM
5546 * minibuffer.el (completion--replace): Inherit surrounding properties
5547 (bug#114).
5548 (minibuffer-complete-and-exit): Use it.
5549
8b79f3e0
SM
5550 * comint.el (comint--table-subvert): Quote the all-completions output
5551 (bug#9160).
5552
b8f7ff0d
MR
55532011-10-17 Martin Rudalics <rudalics@gmx.at>
5554
8b79f3e0 5555 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5556
b8f7ff0d 5557 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5558 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5559 entries and separate them from frame entries.
5560
c235b555
GM
55612011-10-15 Glenn Morris <rgm@gnu.org>
5562
5563 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5564 Doc fixes.
5565
6bbfa6e1
CY
55662011-10-15 Chong Yidong <cyd@stupidchicken.com>
5567
8b79f3e0
SM
5568 * net/network-stream.el (network-stream-open-starttls):
5569 Improve detection of failure due to lack of TLS support.
ec5c990d 5570
6bbfa6e1
CY
5571 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5572 putting the input text in front and in bold.
5573
98488977
SM
55742011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5575
3d1337be
SM
5576 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5577
ee0b45e4
SM
5578 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5579 empty buffer.
5580
98488977
SM
5581 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5582 unread-command-events rather than pushing yet-another event.
5583
186f4720
EZ
55842011-10-14 Eli Zaretskii <eliz@gnu.org>
5585
5586 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5587 the explanation of the possible choices. Make the options passed
5588 to completing-read shorter.
5589
8b7a997c
AM
55902011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5591
5592 * textmodes/flyspell.el (flyspell-large-region): Make sure
5593 extended character mode is used if defined (Bug#1339).
5594
12587bbb
EZ
55952011-10-13 Eli Zaretskii <eliz@gnu.org>
5596
5597 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5598 character info for LRE, LRO, RLE, and RLO characters by appending
5599 an invisible PDF.
12587bbb 5600
bad41229
SM
56012011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5604 even in case of error; add debug spec; simplify data flow.
5605 (with-timeout-handler): Remove.
5606
28dbc92f
MA
56072011-10-12 Michael Albinus <michael.albinus@gmx.de>
5608
5609 Fix Bug#6019, Bug#9315.
5610
5611 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5612 complete `buffer-file-name', the local file name part could look
5613 remotely (for example on VMS).
5614
5615 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5616 `tramp-run-real-handler'.
5617 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5618 already quoted by '"'.
5619
5620 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5621 Let `file-name-handler-alist' be nil, the local file name part
5622 could look remotely (for example on VMS).
5623
e1b0b23a
SM
56242011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5627 from here...
5628 (flyspell-post-command-hook): ...to here.
5629
a120bde9
SM
56302011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5633 if not needed.
5634 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5635 using completion. Protect against "slow" callers.
5636 Remove the "message hack".
5637
7ce7717b
JL
56382011-10-11 Juri Linkov <juri@jurta.org>
5639
5640 * isearch.el (isearch-lazy-highlight-word): New variable.
5641 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5642 Use it. (Bug#9727)
5643
c02ee9d6
GM
56442011-10-11 Glenn Morris <rgm@gnu.org>
5645
5646 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5647 like f90-previous-statement does.
5648
93e616fd 56492011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5650
1f190e73 5651 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5652 only in interactive use, to avoid error.
5653
af7b6078
SM
56542011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * minibuffer.el (completion-file-name-table): Fix last change,
5657 i.e. ignore normal errors but not the other ones.
5658
0563dae9
MR
56592011-10-10 Martin Rudalics <rudalics@gmx.at>
5660
5661 * window.el (special-display-buffer-names)
5662 (special-display-regexps): Remove some remnants of earlier
5663 changes from doc-strings.
366ca7f3
MR
5664 (quit-windows-on): New function.
5665
5666 * vc/vc.el (vc-revert, vc-rollback):
5667 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5668 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5669 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5670
49677495
MR
56712011-10-09 Martin Rudalics <rudalics@gmx.at>
5672
5673 * window.el (frame-auto-hide-function): Add version tag.
5674 (Bug#9699)
5675
56f2d1e1
MA
56762011-10-09 Michael Albinus <michael.albinus@gmx.de>
5677
5678 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5679 condition.
5680
112a6592
LL
56812011-10-09 Leo Liu <sdl.web@gmail.com>
5682
5683 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5684 (Bug#9701)
5685
0812589b
GM
56862011-10-08 Glenn Morris <rgm@gnu.org>
5687
5688 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5689 before the first code statement zero indent. (Bug#9690)
5690
b2b0776e
CY
56912011-10-08 Chong Yidong <cyd@stupidchicken.com>
5692
5693 * simple.el (count-words-region): Always count in the region.
5694 Report the number of lines and characters too.
5695 (count-words): New command, which counts in the buffer if the
5696 region is inactive, as count-words-region used to.
5697 (count-words--message): New function. Handle plurals.
5698 (count-lines-region): Make it an alias for count-words-region.
5699
5700 * bindings.el (esc-map): Replace count-lines-region with
5701 count-words-region.
5702
c557cd6b
MR
57032011-10-08 Martin Rudalics <rudalics@gmx.at>
5704
5705 * window.el (window--delete): Delete dedicated frame
5706 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5707 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5708
61a57ef4 57092011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5710
3a7d293b 5711 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5712
c3833279
CY
57132011-10-07 Chong Yidong <cyd@stupidchicken.com>
5714
5715 * bindings.el ([M-left],[M-right]): Bind to left-word and
5716 right-word respectively.
5717
21ce8245
GM
57182011-10-07 Glenn Morris <rgm@gnu.org>
5719
5720 * cus-start.el (debug-on-quit): Fix custom type.
5721
6d823bb2
LMI
57222011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5723
0181e193
LMI
5724 * subr.el (define-key-after): Clarify that the function is not
5725 useful for non-menu keymaps.
5726
6d823bb2
LMI
5727 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5728
8e3459ce 57292011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5730
21ce8245 5731 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5732 in current minibuffer (Fix bug with recursive minibuffers).
5733
a1c2d21e
CY
57342011-10-06 Chong Yidong <cyd@stupidchicken.com>
5735
5736 * progmodes/gdb-mi.el (gdb): Doc fix.
5737
5a4cf282
MR
57382011-10-05 Martin Rudalics <rudalics@gmx.at>
5739
5740 * window.el (frame-auto-hide-function): New option replacing
5741 frame-auto-delete. Suggested by Stefan Monnier.
5742 (window--delete): Call frame-auto-hide-function instead of
5743 investigating frame-auto-delete.
c96111ea
MR
5744 (window-point-1, set-window-point-1): New functions.
5745 (window-in-direction, record-window-buffer, window-state-get-1)
5746 (display-buffer-record-window): Use window-point-1 instead of
5747 window-point.
5748 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5749
9854542e
SM
57502011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5751
5752 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5753
8943cfb0
GM
57542011-10-05 Glenn Morris <rgm@gnu.org>
5755
5756 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5757 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5758
647ab967
LL
57592011-10-05 Leo Liu <sdl.web@gmail.com>
5760
5761 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5762 works with buffer object.
5763
3ddfbced
SM
57642011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * mpc.el (mpc-tool-bar-map): Add labels.
5767
bdfa5dd2
GM
57682011-10-04 Glenn Morris <rgm@gnu.org>
5769
5770 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5771
0e2070b5
MR
57722011-10-04 Martin Rudalics <rudalics@gmx.at>
5773
5774 * window.el (window--delete): New function.
5775 (frame-auto-delete): Resuscitate option.
5776 (bury-buffer, replace-buffer-in-windows)
5777 (quit-window): Rewrite using window--delete.
5778 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5779 Pass display-buffer-mark-dedicated to window--display-buffer-2
5780 (Bug#9639).
5781
3dc61a09
SM
57822011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5783
915a9b64
SM
5784 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5785 returns a list (bug#9554). Add remote file name completion.
5786 * comint.el (comint--table-subvert): Curry and get quote&unquote
5787 functions as arguments.
5788 (comint--complete-file-name-data): Adjust call accordingly.
5789 * pcomplete.el (pcomplete--table-subvert): Remove.
5790 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5791
3dc61a09
SM
5792 * minibuffer.el (completion-table-case-fold): Use currying.
5793 (completion--styles-type, completion--cycling-threshold-type):
5794 New constants.
5795 (completion-styles, completion-category-overrides)
5796 (completion-cycle-threshold): Use them.
5797 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5798 completion-table-case-fold.
5799
8ea0a993
SB
58002011-10-03 Stephen Berman <stephen.berman@gmx.net>
5801
5802 * minibuffer.el (completion-category-overrides): Fix type of styles
5803 and add more user friendly tags (bug#9660).
5804
8c24b7f6
SM
58052011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5808 (mule-input-method-string): New widget.
5809 (default-input-method, language-info-custom-alist): Use it.
5810
428fe61a
SM
58112011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5812
32c1fffd
SM
5813 * pcomplete.el: Require comint.
5814 (pcomplete--common-suffix): Remove.
5815 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5816 (pcomplete--table-subvert): Sync with comint--table-subvert.
5817 (pcomplete--entries): Use comint-completion-file-name-table.
5818 * comint.el (comint-unquote-filename): Simplify.
5819 (comint-completion-file-name-table): New function (bug#9616).
5820 (comint--complete-file-name-data): Use it.
5821
428fe61a
SM
5822 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5823 (pcmpl-gnu-tar-buffer): Remove.
5824 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5825 around. Make sure pcomplete-suffix-list is only changed temporarily.
5826 Don't look inside the tar's file if it's too large.
428fe61a 5827
04c52e2f
CY
58282011-10-01 Chong Yidong <cyd@stupidchicken.com>
5829
ce3cefcc
CY
5830 * cus-edit.el (custom-mode-map):
5831 * epa.el (epa-key-list-mode-map):
5832 * man.el (Man-mode-map):
5833 * startup.el (splash-screen-keymap):
5834 * simple.el (special-mode-map): Use scroll-up-command and
5835 scroll-down-command.
5836
5837 * progmodes/idlw-help.el (idlwave-help-mode-map):
5838 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5839 * net/newst-plainview.el (newsticker-mode-map):
5840 * emulation/ws-mode.el (wordstar-mode-map):
5841 * emulation/vi.el (vi-com-map):
5842 * calc/calc-graph.el (calc-graph-show-dumb):
5843 * term/sun.el (terminal-init-sun):
5844 * term/ns-win.el (global-map):
5845 * progmodes/grep.el (grep-mode-map):
5846 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5847 * mail/rmail.el (rmail-mode-map):
5848 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5849
04c52e2f
CY
5850 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5851 custom-safe-themes as special.
5852
79adf8c8
JD
58532011-10-01 Julien Danjou <julien@danjou.info>
5854
5855 * notifications.el (notifications-notify): Fix docstring.
5856
63bd50d3
PS
58572011-10-01 Per Starbäck <per@starback.se>
5858
5859 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5860
199e4c7e
MR
58612011-09-30 Martin Rudalics <rudalics@gmx.at>
5862
5863 * startup.el (command-line-1): Fix last fix by inserting
5864 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5865 (Bug#9605) and (Bug#9636)
199e4c7e 5866
fe5f08dd
EZ
58672011-09-29 Eli Zaretskii <eliz@gnu.org>
5868
5869 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5870 window is hscrolled, move by logical lines. (Bug#9607)
5871 (line-move-visual): Update the doc string to the above effect.
5872
b5516bbd
MR
58732011-09-29 Martin Rudalics <rudalics@gmx.at>
5874
ccee00c0
MR
5875 * window.el (display-buffer-record-window): When WINDOW is the
5876 selected window use `point' instead of `window-point'. (Bug#9626)
5877
b5516bbd
MR
5878 * startup.el (command-line-1): Use insert-before-markers when
5879 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5880
b5516bbd
MR
5881 * help.el (help-window): Remove variable.
5882
52aa0014
GM
58832011-09-29 Glenn Morris <rgm@gnu.org>
5884
5885 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5886
df9a7357
JB
58872011-09-29 Juanma Barranquero <lekktu@gmail.com>
5888
5889 * descr-text.el (describe-char-categories): Accept category
5890 descriptions more than one line long.
5891
a8406c20
SM
58922011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5893
88d9610c
SM
5894 * simple.el (delete-trailing-whitespace): Fix last change.
5895
a5daf810
SM
5896 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5897 Don't confuse "y => 3" as the beginning of a `y' operation.
5898
a8406c20
SM
5899 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5900 object has more than 4 slots (bug#9613).
5901
a239d4e9
JB
59022011-09-28 Juanma Barranquero <lekktu@gmail.com>
5903
5904 * subr.el (with-output-to-temp-buffer):
5905 * net/quickurl.el (quickurl, quickurl-browse-url):
5906 Fix typos in docstrings.
5907
693fbdb6
EZ
59082011-09-27 Eli Zaretskii <eliz@gnu.org>
5909
5910 * minibuffer.el (completion-styles)
5911 (completion-category-overrides): Cross reference each other in doc
5912 strings.
5913
8b457e28
GM
59142011-09-27 Glenn Morris <rgm@gnu.org>
5915
5916 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5917 to split-string. (Bug#9606)
5918
85a16208
LMI
59192011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5920
5921 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5922 (bug#9615).
5923
502f9ebd
CY
59242011-09-27 Chong Yidong <cyd@stupidchicken.com>
5925
5926 * emacs-lisp/package.el (list-packages): Fix echo area message.
5927
7690bdea
LL
59282011-09-27 Leo Liu <sdl.web@gmail.com>
5929
5930 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5931
e2ee6f30
MA
59322011-09-25 Michael Albinus <michael.albinus@gmx.de>
5933
5934 * net/dbus.el (dbus-unregister-object): Don't release services for
5935 registered signals. (Bug#9581)
5936
f3f98342
TZ
59372011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5938
5939 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5940 function that picks between cfengine 2 and 3 support
5941 automatically. Update docs accordingly.
5942
dd7aa8dd
KH
59432011-09-22 Kenichi Handa <handa@m17n.org>
5944
5945 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5946 ZERO.
5947 (indian-itrans-v5-table-for-tamil): New variable.
5948 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5949
3f2b07f8
KM
59502011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5951
5952 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5953 that's true if the current command involved collapsing of text.
5954 It's reset to false at the beginning of the next command.
5955 (allout-post-command-business): Move the cursor to the beginning
5956 of entry if the cursor is hidden and collapsing activity just
5957 happened.
5958
371d6a61
CY
59592011-09-24 Chong Yidong <cyd@stupidchicken.com>
5960
5961 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5962 tracking (Bug#9541).
5963
2ac2721a
UJ
59642011-09-24 Ulf Jasper <ulf.jasper@web.de>
5965
5966 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5967 (newsticker-show-news): Automatically load html rendering package
5968 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5969 because w3m-fill-column is let-bound" and the error "Symbol's value
5970 as variable is void: w3m-fill-column".
2ac2721a 5971
fac7ae53
MA
59722011-09-24 Michael Albinus <michael.albinus@gmx.de>
5973
5974 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5975 Release services only if they are defined. (Bug#9581)
5976
e08b633b
RS
59772011-09-23 Richard Stallman <rms@gnu.org>
5978
e488d29c
RS
5979 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5980 distinguish start of paragraph from start of its text.
5981
19c38752
RS
5982 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5983
e08b633b
RS
5984 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5985 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5986 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5987
0a39f27e
AS
59882011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5989
5990 * international/mule-diag.el (mule-diag): Insert a newline after
5991 each fontset description.
5992
db4e950d
SM
59932011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5994
5995 * simple.el (delete-trailing-whitespace):
5996 Document last change; simplify.
5997
eca3f3ea
PW
59982011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5999
d68e189a
PW
6000 * simple.el (delete-trailing-whitespace): Also delete
6001 extra newlines at the end of the buffer.
6002
eca3f3ea
PW
6003 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6004 (picture-newline): Use forward-line so as to ignore fields.
6005
01c157cc
SM
60062011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * subr.el (with-wrapper-hook): Fix edebug spec.
6009
022de23e
LMI
60102011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6011
6012 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6013 (bug#4538).
6014
91683089
MA
60152011-09-23 Michael Albinus <michael.albinus@gmx.de>
6016
eca3f3ea
PW
6017 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6018 Fix nasty bug using wrong cached values.
91683089 6019
5bdd6fa4
AM
60202011-09-23 Alan Mackenzie <acm@muc.de>
6021
6022 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6023
97adfb97
CY
60242011-09-23 Chong Yidong <cyd@stupidchicken.com>
6025
6026 * window.el (pop-to-buffer): Ensure right window is selected if we
6027 chose another frame.
6028
d4ef2b50
EZ
60292011-09-22 Eli Zaretskii <eliz@gnu.org>
6030
6031 * simple.el (what-cursor-position): Use get-char-property-change
6032 and next-single-char-property-change, to be able to show display
6033 properties that come from overlays as well as text properties.
6034
72258fe5
CY
60352011-09-22 Chong Yidong <cyd@stupidchicken.com>
6036
6037 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6038
6039 * cmuscheme.el (run-scheme, switch-to-scheme):
6040 * cus-edit.el (customize-group, custom-buffer-create)
6041 (customize-browse):
6042 * info.el (info):
6043 * shell.el (shell):
6044 * mail/sendmail.el (mail):
6045 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6046
8f098516
RS
60472011-09-22 Richard Stallman <rms@gnu.org>
6048
6049 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6050 move back only to line beg, don't move back over blank lines.
6051
e74f1bb6
MA
60522011-09-22 Michael Albinus <michael.albinus@gmx.de>
6053
6054 * files.el (copy-directory): Set directory attributes only in case
6055 they could be retrieved from the source directory. (Bug#9565)
6056
bfeef8b6
DK
60572011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6058
6059 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6060 (hs-find-block-beginning, hs-hide-level-recursive):
6061 Ignore strings as well as comments. (Bug#9502)
6062
7e423bb8
AS
60632011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6064
6065 * progmodes/sql.el (sql-comint-postgres):
6066 Convert port number to a string. (Bug#9566)
6067
b4d72fcf
MR
60682011-09-22 Martin Rudalics <rudalics@gmx.at>
6069
6070 * window.el (quit-window): Undedicate window when switching to
6071 previous buffer. Reported by Thierry Volpiatto
6072 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6073 (special-display-popup-frame): When popping up a new frame reset
6074 its previous buffers to nil. Simplify code.
b4d72fcf 6075
a7b88dc6
MA
60762011-09-21 Michael Albinus <michael.albinus@gmx.de>
6077
6078 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6079 and process filter, as done also in `shell-command'.
6080
cf4eacfd
MR
60812011-09-21 Martin Rudalics <rudalics@gmx.at>
6082
eca3f3ea 6083 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6084 Call set-window-start with NOFORCE argument t.
6085 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6086 (quit-window): Reword doc-string. Handle new format of
6087 quit-restore parameter. Don't delete window if it has a
6088 previous buffer we can show instead of the present one.
6089 (display-buffer-record-window): Rewrite using a new format for
6090 the quit-restore window parameter
6091 (special-display-popup-frame, display-buffer-same-window)
6092 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6093 (display-buffer-pop-up-window, display-buffer-use-some-window):
6094 Adapt symbol passed to display-buffer-record-window.
6095 * help.el (help-window-setup): Handle new format of quit-restore
6096 parameter.
6097
8d28cb95
SM
60982011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6099
94ab793f
SM
6100 * faces.el (face-list): Fix docstring (bug#9564).
6101
8d28cb95
SM
6102 * window.el (display-buffer--action-function-custom-type):
6103 Don't include internal functions in the Custom interface.
6104
3820edeb
JL
61052011-09-20 Juri Linkov <juri@jurta.org>
6106
6107 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6108 (Info-forward-node, Info-backward-node, Info-next-preorder)
6109 (Info-last-preorder): Use it. (Bug#9528)
6110
5147931d
JL
61112011-09-20 Juri Linkov <juri@jurta.org>
6112
6113 * info.el (Info-last-preorder): Visit last menu item only when
6114 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6115
cf499a1a
JD
61162011-09-20 Julien Danjou <julien@danjou.info>
6117
6118 * password-cache.el (password-cache-remove): Remove entries even if the
6119 value is nil, so that password with a nil value (negative caching) is
6120 possible to invalidate.
6121
f84e2fe2
LM
61222011-09-20 Lawrence Mitchell <wence@gmx.li>
6123
6124 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6125 all whitespace around breakpoint. (Bug#9553)
6126 (f90-find-breakpoint): Only break at whitespace inside a comment.
6127
78054a46
SM
61282011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6129
6130 * minibuffer.el (completion-file-name-table): Keep track of errors.
6131 (completion-table-with-predicate): Handle the case where pred1 is nil.
6132 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6133
345083b2
SM
61342011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6135
e24e27be
SM
6136 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6137 (debugger-return-value): Signal an error if the debugging context does
6138 not await any return value.
6139
345083b2
SM
6140 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6141 * image-mode.el (image-toggle-display-text)
6142 (image-toggle-display-image): Stay away from evil `intangible'.
6143
08d355e3
LL
61442011-09-19 Leo Liu <sdl.web@gmail.com>
6145
6146 * replace.el (occur-revert-arguments): Make it permanent-local.
6147 (occur-mode): Don't call font-lock-defontify.
6148
f01da43f
CY
61492011-09-19 Chong Yidong <cyd@stupidchicken.com>
6150
6151 * net/ldap.el (ldap-search-internal): Don't push empty search
6152 result (Bug#9508).
6153
b6072fa6
SM
61542011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6157
443d6696
MA
61582011-09-19 Michael Albinus <michael.albinus@gmx.de>
6159
6160 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6161 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6162
7cc6e154
JL
61632011-09-18 Juri Linkov <juri@jurta.org>
6164
6165 * buff-menu.el (Buffer-menu-mode-map):
6166 * dired.el (dired-mode-map):
6167 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6168 (lisp-interaction-mode-map):
6169 * emacs-lisp/package.el (package-menu-mode-map):
6170 * epa.el (epa-key-list-mode-map):
6171 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6172 (menu-bar-options-menu):
6173 * outline.el (outline-mode-menu-bar-map):
6174 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6175 * vc/vc-dir.el (vc-dir-menu-map):
6176 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6177 Capitalize non-function content words in menu item strings.
6178
6179 * dired.el (dired-mode-map): Add menu item for
6180 `image-dired-dired-toggle-marked-thumbs'.
6181
80302a81
JL
61822011-09-18 Juri Linkov <juri@jurta.org>
6183
6184 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6185 to `isearch-case-fold-search' and restore its original value
6186 after the `isearch-mode' call.
6187
46c5cf66
JL
61882011-09-18 Juri Linkov <juri@jurta.org>
6189
6190 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6191 because `zgrep' returns 1 for successful matches (bug#9226).
6192
d18b513b
JL
61932011-09-18 Juri Linkov <juri@jurta.org>
6194
6195 * info.el (Info-extract-menu-node-name): Check the second match
6196 for empty string (second test-case of bug#9528).
6197 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6198 intermediate nodes to the history (first test-case of bug#9528).
6199
72753f87
JL
62002011-09-18 Juri Linkov <juri@jurta.org>
6201
6202 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6203 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6204
c9384295
JL
62052011-09-18 Juri Linkov <juri@jurta.org>
6206
1154d12e
JB
6207 * info.el (Info-file-supports-index-cookies):
6208 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6209 outputs one more line for long file names (bug#4142).
c9384295 6210
d473dce8
CY
62112011-09-18 Chong Yidong <cyd@stupidchicken.com>
6212
6213 * newcomment.el (comment-normalize-vars): If prompting for
6214 comment-start, set comment-start-skip too (Bug#8424).
6215
2176854d
JB
62162011-09-18 Johan Bockgård <bojohan@gnu.org>
6217
6218 * icomplete.el: Fix previous fix of Bug#5849.
6219 (icomplete-mode): Don't set completion-show-inline-help.
6220 (icomplete-minibuffer-setup): Set completion-show-inline-help
6221 locally during icompletion.
6222
3aace4e4
CY
62232011-09-18 Chong Yidong <cyd@stupidchicken.com>
6224
c940224f
CY
6225 * woman.el (woman2-process-escapes): Don't delete unrecognized
6226 escapes (Bug#7843).
6227
3aace4e4
CY
6228 * files.el (inhibit-first-line-modes-regexps): Add image files.
6229 (hack-local-variables-prop-line): Return nil for malformed
6230 prop-lines (Bug#9044).
6231
710dec63
MA
62322011-09-18 Michael Albinus <michael.albinus@gmx.de>
6233
6234 * net/tramp.el (top): Don't require 'shell.
6235 (tramp-methods): Fix docstring.
6236 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6237 Return complete remote file name. Handle "smb" case.
6238 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6239 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6240
6241 * net/tramp-compat.el (top): Require 'shell.
6242
6243 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6244 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6245 `tramp-current-host'.
6246 (tramp-get-remote-tmpdir): Remove.
6247
6248 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6249 `tramp-tmpdir' entries.
6250 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6251 (tramp-smb-handle-file-attributes): Ignore errors.
6252 (tramp-smb-wait-for-output): Check also for process end.
6253
5d5ac8ec
LMI
62542011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6255
6256 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6257 when sending QUIT (bug#9312).
6258
8c0f49f0
CY
62592011-09-17 Chong Yidong <cyd@stupidchicken.com>
6260
6261 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6262 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6263 occur-mode-display-occurrence.
6264 (occur-edit-mode): Add usage message.
6265 (occur-cease-edit): New command.
6266 (occur-after-change-function): Use text properties to find the
6267 position of the prefix text.
6268 (occur-engine): Set stickiness of prefix text properties.
6269
8f1383f7
GM
62702011-09-17 Glenn Morris <rgm@gnu.org>
6271
6272 * progmodes/etags.el (complete-tag):
6273 Fix call to completion-in-region. (Bug#9526)
6274
744ba0e3
JL
62752011-09-17 Juri Linkov <juri@jurta.org>
6276
6277 * textmodes/ispell.el (ispell-word): Add to the error message
6278 the word, ispell program name and current dictionary (bug#9121).
6279 (ispell-tex-arg-end): Capitalize "error" in the error message.
6280
d9bbf400
AS
62812011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6282
6283 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6284 check. (Bug#4251)
6285
8da11505
JL
62862011-09-17 Juri Linkov <juri@jurta.org>
6287
6288 * window.el (window-safe-min-height, window-safe-min-width):
6289 Fix typos (followup to bug#9522).
6290
a91adc7e
SJ
62912011-09-17 Sven Joachim <svenjoac@gmx.de>
6292
6293 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6294
064f328a
EZ
62952011-09-16 Eli Zaretskii <eliz@gnu.org>
6296
6297 * simple.el (line-move): If goal-column is set, move by logical
6298 lines, not by display lines. (Bug#971)
6299 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6300 to reflect the above change.
6301
e69df516
SM
63022011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * image.el (imagemagick-register-types): Use regexp-opt.
6305
cbb0f9ab
CY
63062011-09-15 Chong Yidong <cyd@stupidchicken.com>
6307
6308 * window.el (display-buffer-base-action): Rename from
6309 display-buffer-default-action. Make default value empty.
6310 (display-buffer-overriding-action): Convert to defvar.
6311 (display-buffer-fallback-action): New var.
6312
25322144
CY
63132011-09-15 Chong Yidong <cyd@stupidchicken.com>
6314
6315 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6316 declaration.
6317 (package--add-to-archive-contents): If there is a duplicate entry
6318 with an older version, remove it.
6319 (package-menu-mark-delete, package-menu-mark-install)
6320 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6321 (package-menu-mark-obsolete-for-deletion):
6322 Use package-menu-get-status instead of a regexp search.
25322144
CY
6323 (package-menu-get-status): Use tabulated-list-entry.
6324 (package-menu-mark-upgrades): New command.
d770725a 6325 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6326 (package-menu-execute): Do installation before deletion.
6327 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6328 instead of checking major-mode.
6329 (package-menu--find-upgrades): New function.
6330
7520339c
LMI
63312011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6332
6333 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6334 passwords in the log buffer.
65a046c4
LMI
6335 (smtpmail-process-filter): Update the process marker so that the
6336 "broken by peer" status message is inserted in the right place.
7520339c 6337
d3c30954
SM
63382011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6339
3fe48822
SM
6340 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6341 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6342 bibtex-completion-at-point-function.
6343 (bibtex-completion-at-point-function): Use them.
6344
1b8b3954
SM
6345 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6346
d3c30954
SM
6347 * mpc.el (mpc-constraints-tag-lookup): New function.
6348 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6349 also to browser "album|playlist".
6350
72779976
JL
63512011-09-14 Juri Linkov <juri@jurta.org>
6352
6353 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6354 (isearch-edit-string): Use length of `isearch-string' when
6355 `isearch-fail-pos' returns nil.
6356 (isearch-message): Remove duplicate code and call
6357 `isearch-fail-pos' with arg `t'.
6358
a0bf2bcd
CY
63592011-09-14 Chong Yidong <cyd@stupidchicken.com>
6360
17bb0a2d
CY
6361 * replace.el (occur-mode-goto-occurrence): Don't force using other
6362 window (Bug#9499).
6363
a0bf2bcd
CY
6364 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6365
f678e0b6
MR
63662011-09-14 Martin Rudalics <rudalics@gmx.at>
6367
6368 * window.el (display-buffer-window): Remove.
6369 (display-buffer-record-window): Use help-setup window parameter
6370 instead of variable display-buffer-window.
6371 (display-buffer-function, special-display-buffer-names)
6372 (special-display-function): Mention help-setup parameter instead
6373 of display-buffer-window in doc-string.
d3c30954
SM
6374 * help.el (help-window-setup): New argument help-window.
6375 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6376 Reword some messages.
6377 (with-help-window): Pass window used for displaying the buffer
6378 to help-window-setup. Don't set display-buffer-window.
6379
8e39b2e8
GM
63802011-09-13 Glenn Morris <rgm@gnu.org>
6381
6382 * emacs-lisp/debug.el (debugger-make-xrefs):
6383 Preserve point. (Bug#9462)
6384
85e9c04b
CY
63852011-09-13 Chong Yidong <cyd@stupidchicken.com>
6386
6387 * window.el (window-deletable-p): Use next-frame.
6388
1b36ed6a
MR
63892011-09-13 Martin Rudalics <rudalics@gmx.at>
6390
6391 * window.el (window-auto-delete): Remove.
6392 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6393 dedication and previous buffers.
1b36ed6a
MR
6394 (switch-to-prev-buffer): Don't delete window.
6395 (delete-windows-on): Delete a window's frame if and only if the
6396 window is dedicated.
6397 (replace-buffer-in-windows): Delete buffer's window or frame if
6398 and only if window is dedicated.
6399 (quit-window): Handle quit-restore as before last change.
4d61f28d 6400 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6401
ef8ef9fb
CY
64022011-09-13 Chong Yidong <cyd@stupidchicken.com>
6403
6404 * window.el (window-deletable-p): Never delete the last frame on a
6405 given terminal.
6406
b2cba41e
GM
64072011-09-13 Glenn Morris <rgm@gnu.org>
6408
6409 * help.el (describe-key-briefly): Copy previous standard-output change.
6410
51553db6 64112011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6412
6413 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6414
b7556719
GM
64152011-09-13 Glenn Morris <rgm@gnu.org>
6416
6417 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6418 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6419
64b51947
CY
64202011-09-12 Chong Yidong <cyd@stupidchicken.com>
6421
6422 * dired-aux.el (dired-mark-read-string): Don't return default
6423 value on empty input (Bug#9361).
6424 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6425 Omit initial minibuffer contents.
6426 (dired-do-chmod): Signal an error on empty input.
6427 (dired-mark-read-string): Don't return default on empty input.
6428
6429 * files.el (file-modes-symbolic-to-number): Doc fix.
6430
393a301e
SM
64312011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * international/mule-cmds.el (ucs-completions): Remove.
6434 (read-char-by-name): Use complete-with-action instead; add metadata.
6435
fa5660f9
CY
64362011-09-11 Chong Yidong <cyd@stupidchicken.com>
6437
6438 * window.el (display-buffer--action-function-custom-type)
6439 (display-buffer--action-custom-type): New vars.
6440 (display-buffer-alist, display-buffer-default-action)
6441 (display-buffer-overriding-action): Add defcustom types.
6442
4a592f66
CY
6443 * frame.el (delete-other-frames): Doc fix (Bug#276).
6444
73d56dbd
LMI
64452011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6446
6447 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6448
37ac18a3
CY
64492011-09-11 Chong Yidong <cyd@stupidchicken.com>
6450
6451 Change modes that used same-window-* vars to use switch-to-buffer.
6452
6453 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6454 Use switch-to-buffer.
6455
6456 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6457 (customize-browse, custom-buffer-create-other-window):
6458 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6459
6460 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6461 (Info-prev, Info-up, Info-speedbar-goto-node)
6462 (info-display-manual): Use switch-to-buffer.
6463 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6464
6465 * mail/sendmail.el (mail): Use switch-to-buffer.
6466 (mail-recover): Use switch-to-buffer-other-window.
6467
6468 * cmuscheme.el (run-scheme, switch-to-scheme):
6469 * ielm.el (ielm):
6470 * shell.el (shell):
6471 * net/rlogin.el (rlogin):
6472 * net/telnet.el (telnet, rsh):
6473 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6474
10195bd6
AS
64752011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6476
6477 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6478
b322f63a
LMI
64792011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6480
39d7fed6
LMI
6481 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6482 so don't mention it (bug#9301).
ba5a81f1 6483 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6484
ee0e9f11
LMI
6485 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6486 match `x', `w32' and `ns', like the manual says (bug#9029).
6487
0b1c89c1 6488 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6489 (process-kill-buffer-query-function): Mention the buffer name in
6490 the query.
0b1c89c1 6491
77549ea8
LMI
6492 * image-mode.el (image-next-line): The line parameter is mandatory
6493 (bug#9258).
6494
803ef892
LMI
6495 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6496 which can be useful (bug#9301).
6497
12980837
LMI
6498 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6499
91054f8f
LMI
6500 * subr.el (match-string): Mention that the current buffer should
6501 be the same as the search was done in (bug#9282).
6502
b322f63a
LMI
6503 * facemenu.el: Disable the remove-* commands if the mark isn't
6504 active (bug#9162).
6505
3199b96f
CY
65062011-09-10 Chong Yidong <cyd@stupidchicken.com>
6507
6508 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6509 of display-buffer.
6510 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6511
6512 * replace.el (occur-mode-goto-occurrence)
6513 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6514 and display-buffer.
6515
6516 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6517 display-buffer.
6518
6519 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6520 special-display and same-window variables.
6521 (mail-other-window): Use switch-to-buffer-other-window.
6522 (mail-other-frame): USe switch-to-buffer-other-frame.
6523
393a301e
SM
6524 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6525 Use display-buffer-other-frame.
3199b96f
CY
6526 (gdb-display-gdb-buffer): Use pop-to-buffer.
6527
6528 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6529
6530 * progmodes/python.el: Don't set same-window-buffer-names.
6531
6532 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6533
6534 * window.el (display-buffer-alist): Add *Python*.
6535
8319e0bf
CY
65362011-09-10 Chong Yidong <cyd@stupidchicken.com>
6537
6538 * window.el (display-buffer-alist): Add entry for buffers
6539 previously handled same-window-*.
6540 (display-buffer-alist, display-buffer-default-action)
6541 (display-buffer-overriding-action): Mark as risky.
6542 (display-buffer-alist): Document action function changes.
6543 (display-buffer--same-window-action)
6544 (display-buffer--other-frame-action): New variables.
6545 (switch-to-buffer, display-buffer-other-frame): Use them.
6546 (display-buffer): Rename reuse-frame entry to reusable-frames.
6547 (display-buffer-reuse-selected-window): Function deleted.
6548 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6549 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6550 (display-buffer-special): New function.
6551 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6552 display-buffer-reuse-or-pop-window. Split off special-display
6553 part into display-buffer-special.
6554 (display-buffer-use-some-window): Don't perform any special
6555 pop-up-frames handling.
6556 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6557 (display-buffer--maybe-same-window): Rename from
0d3ff375 6558 display-buffer-maybe-same-window.
8319e0bf 6559
919a69aa
CY
6560 * info.el: Don't set same-window-regexps.
6561 (info-setup): New function.
6562 (info-other-window, info): Call it.
6563
6564 * cus-edit.el: Don't set same-window-regexps.
6565 (customize-group): New argument.
6566 (customize-group-other-window): Use it.
6567 (customize-face, customize-face-other-window): Likewise.
6568 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6569
8319e0bf
CY
6570 * net/rlogin.el:
6571 * net/telnet.el:
6572 * progmodes/gud.el: Don't set same-window-regexps.
6573
6574 * cmuscheme.el:
6575 * ielm.el:
6576 * shell.el:
6577 * mail/sendmail.el:
6578 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6579
25173000
JL
65802011-09-10 Juri Linkov <juri@jurta.org>
6581
6582 * isearch.el (isearch-edit-string): Remove obsolete mention of
6583 `C-w' (`isearch-yank-word-or-char') from docstring.
6584 (isearch-query-replace): Fix typo in docstring (bug#9466).
6585
056e44ef
JL
65862011-09-10 Juri Linkov <juri@jurta.org>
6587
6588 * paren.el (show-paren-function): Don't show escaped parens.
6589 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6590
c3760c17
EZ
65912011-09-10 Eli Zaretskii <eliz@gnu.org>
6592
6593 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6594 (mm-default-file-encoding): Remove autoload forms, they are
6595 replaced with autoload cookies in mml.el and mm-encode.el.
6596 (mail-add-attachment): New command.
6597 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6598 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6599 the doc string.
6600 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6601
fece895e
RT
66022011-09-10 Reuben Thomas <rrt@sc3d.org>
6603
e69df516
SM
6604 * simple.el (count-words-region): Use buffer if there's no region
6605 (bug#9429).
fece895e 6606
5e68ce4a
JL
66072011-09-09 Juri Linkov <juri@jurta.org>
6608
6609 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6610 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6611 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6612
0a6b9622
AM
66132011-09-09 Alan Mackenzie <acm@muc.de>
6614
6615 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6616 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6617
14a29deb
EZ
66182011-09-09 Eli Zaretskii <eliz@gnu.org>
6619
6620 Fix for Savannah bug#9392.
6621 * simple.el (mail-encode-mml): New defvar.
6622
6623 * mail/rmail.el (mail-encode-mml): Add a defvar.
6624 (rmail-enable-mime-composing): Default to t.
6625 (rmail-forward): Use MIME method of forwarding only if both
6626 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6627 Set mail-encode-mml non-nil if the MIME method was used.
6628
6629 * mail/sendmail.el (mml-to-mime): Add autoload form.
6630 (mail-encode-mml): Add a defvar.
6631 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6632 to nil.
6633 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6634 message through mml-to-mime, and reset mail-encode-mml to nil.
6635
28c45130
GM
66362011-09-09 Glenn Morris <rgm@gnu.org>
6637
6638 * woman.el (woman-if-body): When processing an .el block,
6639 do not delete the next .el block as well. (Bug#9447)
69f4b618 6640 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6641
9b1c252e
MR
66422011-09-08 Martin Rudalics <rudalics@gmx.at>
6643
6644 * window.el (window-deletable-p): Make sure window is live before
6645 invoking window-prev-buffers.
6646
567457e3
LL
66472011-09-08 Leo Liu <sdl.web@gmail.com>
6648
6649 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6650
97f05794
JL
66512011-09-08 Juri Linkov <juri@jurta.org>
6652
6653 * progmodes/compile.el (compilation-environment): Make it
6654 a defcustom (bug#8340).
6655
8b0874b5
MR
66562011-09-08 Martin Rudalics <rudalics@gmx.at>
6657
6658 * window.el (frame-auto-delete): Rename to window-auto-delete.
6659 Make it control auto-deletion of windows and/or frames.
6660 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6661 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6662 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6663 Rewrite handling of case when window/frame can be deleted.
6664 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6665 argument t. (Bug#9456)
8b0874b5 6666
4feb6e73
CY
66672011-09-07 Chong Yidong <cyd@stupidchicken.com>
6668
6669 * help-mode.el (help-mode): Restore autoload.
6670
91ab9c13
JL
66712011-09-07 Juri Linkov <juri@jurta.org>
6672
6673 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6674 `compilation-environment'. Set buffer-local
6675 `compilation-environment' to `thisenv' later after (funcall mode).
6676 (Bug#8340)
6677
6678 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6679 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6680 instead of replacing its value. (Bug#8340)
6681
0527e251
JL
66822011-09-07 Juri Linkov <juri@jurta.org>
6683
6684 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6685 based on text properties put by `grep-filter' instead of matching
6686 escape sequences.
6687 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6688 to the value of `grep-error-screen-columns' (bug#9438).
6689
249f792c
JL
66902011-09-07 Juri Linkov <juri@jurta.org>
6691
6692 * simple.el (next-error-highlight, next-error-highlight-no-select):
6693 Doc fix (bug#9432).
6694
ff7271b9
OT
66952011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6696
6697 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6698 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6699
183fc730
LL
67002011-09-07 Leo Liu <sdl.web@gmail.com>
6701
6702 * net/rcirc.el (rcirc-mode): Conditionally initialize
6703 rcirc-input-ring.
6704
77694924
SM
67052011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6706
6707 * emacs-lisp/find-func.el (find-function-C-source): Only set
6708 find-function-C-source-directory after checking that we found a source
6709 file there (bug#9440).
6710
d809b8eb
AM
67112011-09-06 Alan Mackenzie <acm@muc.de>
6712
6713 * isearch.el (isearch-other-meta-char): Wherever a key list is
6714 unread, "unread" the prefix arg, too. This fixes bug #8901.
6715
453de99f
OG
67162011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6717
6718 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6719
90439906
JL
67202011-09-05 Juri Linkov <juri@jurta.org>
6721
6722 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6723
f62bd846
JL
67242011-09-05 Juri Linkov <juri@jurta.org>
6725
6726 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6727 keeping point where processing of grep matches begins, and
6728 continue to delete remaining escape sequences from the same point.
6729 (grep-filter): Make leading zero optional in "0?1;31m" because
6730 git-grep emits "\033[1;31m" escape sequences unlike expected
6731 "\033[01;31m" as GNU Grep does (bug#9408).
6732 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6733
045820ec
JL
67342011-09-05 Juri Linkov <juri@jurta.org>
6735
6736 * subr.el (y-or-n-p): Capitalize "yes".
6737
f5e29b9b
MA
67382011-09-04 Michael Albinus <michael.albinus@gmx.de>
6739
6740 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6741 `tramp-cache-unload-hook' where appropriate.
6742 (tramp-methods): Rename `tramp-remote-sh' to
6743 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6744 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6745
6746 * net/tramp-sh.el (top): Don't require 'shell.
6747 (tramp-methods): Add `tramp-remote-shell' and
6748 `tramp-remote-shell-args' entries.
6749 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6750 (tramp-sh-handle-shell-command): Remove.
6751 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6752 Use `tramp-remote-shell'.
6753
2784c434
CY
67542011-09-03 Chong Yidong <cyd@stupidchicken.com>
6755
393a301e 6756 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6757 (sendmail-query-once): Save directly to send-mail-function.
6758 Update message-send-mail-function too.
6759
6760 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6761
464cdf56
CS
67622011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6763
6764 * progmodes/python.el (python-mode-map): Use correct function to
6765 start python interpreter from menu-bar (as reported by Geert
6766 Kloosterman).
6767 (inferior-python-mode-map): Fix typo.
393a301e 6768 (python-shell-map): Remove.
464cdf56 6769
d37e5c87
DD
67702011-09-03 Deniz Dogan <deniz@dogan.se>
6771
6772 * net/rcirc.el (rcirc-print): Simplify code for
6773 rcirc-scroll-show-maximum-output. There is no need to walk
6774 through all windows to find the right one.
6775
f3ada0ee
CS
67762011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6777
6778 * help.el (help-return-method): Doc fix.
6779
1f3c99ca
MR
67802011-09-03 Martin Rudalics <rudalics@gmx.at>
6781
6782 * window.el (window-deletable-p): Don't return a non-nil value
6783 when there's a buffer that was shown in the window before.
6784 (Bug#9419)
393a301e
SM
6785 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6786 Set window's previous buffers to nil.
1f3c99ca 6787
a3cf097f
EZ
67882011-09-03 Eli Zaretskii <eliz@gnu.org>
6789
6790 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6791 newline before and after the tag line, so it doesn't interfere
6792 with determining the paragraph direction of bidirectional text.
6793
3d03de90
LL
67942011-09-03 Leo Liu <sdl.web@gmail.com>
6795
6796 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6797
c3313451
CY
67982011-09-02 Chong Yidong <cyd@stupidchicken.com>
6799
393a301e 6800 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6801 (pop-to-buffer): Change interactive spec. Pass second argument
6802 directly to display-buffer.
6803 (display-buffer): Fix interactive spec. Use functionp to
6804 distinguish between a function and a list of functions.
6805
6806 * abbrev.el (edit-abbrevs):
6807 * arc-mode.el (archive-extract):
6808 * autoinsert.el (auto-insert):
6809 * bookmark.el (bookmark-bmenu-list):
6810 * files.el (find-file):
6811 * view.el (view-buffer):
6812 * progmodes/compile.el (compilation-goto-locus):
6813 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6814
89894cd8
CY
68152011-09-02 Chong Yidong <cyd@stupidchicken.com>
6816
6817 * window.el (display-buffer-alist): Doc fix.
6818 (display-buffer): Add docstring. Don't treat
6819 display-buffer-default specially.
6820 (display-buffer-reuse-selected-window)
6821 (display-buffer-same-window, display-buffer-maybe-same-window)
6822 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6823 (display-buffer-pop-up-window)
6824 (display-buffer-reuse-or-pop-window)
6825 (display-buffer-use-some-window): New functions.
6826 (display-buffer-default-action): Use them.
393a301e 6827 (display-buffer-default): Delete.
89894cd8
CY
6828 (pop-to-buffer-1): Fix choice of actions.
6829
ae0bc9fb
SM
68302011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6831
6832 * minibuffer.el (completion--insert-strings): Don't get confused by
6833 completion entries that end with an LF char.
6834
e9d90883
EZ
68352011-09-01 Eli Zaretskii <eliz@gnu.org>
6836
6837 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6838
437014c8
CY
68392011-09-01 Chong Yidong <cyd@stupidchicken.com>
6840
6841 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6842 (display-buffer-same-window, display-buffer-other-window):
6843 New functions.
437014c8
CY
6844 (pop-to-buffer-1): New function. Use the above.
6845 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6846 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6847
6848 * view.el (view-buffer-other-window, view-buffer-other-frame):
6849 Just use pop-to-buffer.
6850
a5e063d5
TV
68512011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6852
6853 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6854
793d32bb
WH
68552011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6856
6857 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6858
d65e4c15
RS
68592011-08-31 Richard Stallman <rms@gnu.org>
6860
6861 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6862 of the separation of rmail-view-buffer from rmail-buffer.
6863 If you say no to "replace original", the decrypt is in the
6864 view buffer. If you say yes, the decrypt goes into the
6865 rmail buffer also.
6866
f818cd2a
MR
68672011-08-31 Martin Rudalics <rudalics@gmx.at>
6868
6869 * window.el (display-buffer-window): Rewrite doc-string.
6870 (display-buffer-record-window): New function.
6871 (display-buffer-macro-specifiers)
6872 (display-buffer-even-window-sizes, display-buffer-set-height)
6873 (display-buffer-set-width, display-buffer-in-window)
6874 (display-buffer-reuse-window, display-buffer-split-specifiers)
6875 (display-buffer-side-specifiers, display-buffer-split-window-1)
6876 (display-buffer-split-window, display-buffer-split-atom-window)
6877 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6878 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6879 (display-buffer-other-window-means-other-frame)
6880 (display-buffer-normalize-special)
6881 (display-buffer-normalize-default)
6882 (display-buffer-normalize-argument)
6883 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6884 (display-buffer-normalize-specifiers, display-buffer-frame)
6885 (display-buffer-same-window, display-buffer-same-frame)
6886 (display-buffer-other-window)
6887 (display-buffer-same-frame-other-window)
6888 (display-buffer-other-frame, pop-to-buffer-same-window)
6889 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6890 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6891 (switch-to-buffer-same-frame)
6892 (switch-to-buffer-other-window-same-frame)
6893 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6894 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6895 (display-buffer-alist-set): Remove.
6896 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6897 (special-display-regexps, special-display-function):
6898 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6899 parameter.
6900 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6901 (special-display-frame-alist, special-display-popup-frame)
6902 (same-window-buffer-names, same-window-regexps, same-window-p)
6903 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6904 (split-window-preferred-function, split-height-threshold)
6905 (split-width-threshold, window-splittable-p)
6906 (split-window-sensibly, window--try-to-split-window)
6907 (window--frame-usable-p, even-window-heights)
6908 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6909 (window--display-buffer-2, display-buffer-other-frame):
6910 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6911 (display-buffer-default, display-buffer-assq-regexp): New functions.
6912 (display-buffer-alist): Rewrite doc-string.
6913 (display-buffer-default-action)
6914 (display-buffer-overriding-action): New variables.
6915 (display-buffer, switch-to-buffer): Rewrite.
6916 (pop-to-buffer): Restore Emacs 23 behavior but use
6917 window-normalize-buffer-to-display.
6918 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6919 Restore Emacs 23 behavior but use
6920 window-normalize-buffer-to-switch-to.
6921 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6922 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6923 Rewrite using Emacs 23 options.
f818cd2a 6924
5bc3b51d
MA
69252011-08-31 Michael Albinus <michael.albinus@gmx.de>
6926
6927 * net/tramp.el (tramp-root-regexp): Remove.
6928 (tramp-completion-file-name-regexp-unified)
6929 (tramp-completion-file-name-regexp-separate)
6930 (tramp-completion-file-name-regexp-url): Don't use leading volume
6931 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6932 (tramp-drop-volume-letter): Simplify definition.
6933 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6934
b1a4f8e1
SM
69352011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6936
6937 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6938 (bug#9356).
6939
5664fa7b
RT
69402011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6941
b1a4f8e1 6942 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6943
9a45d6c3
JL
69442011-08-29 Juri Linkov <juri@jurta.org>
6945
6946 * isearch.el (isearch-done): Don't display message "Mark saved"
6947 when arg `edit' is non-nil to prevent its flicker in the echo area.
6948
fb87e0fb
CY
69492011-08-28 Chong Yidong <cyd@stupidchicken.com>
6950
6951 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6952 obsolete packages for deletion.
6953
09ac1c2a
CS
69542011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6955
6956 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6957 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6958 view-mode from help-mode.
6959 (help-xref-override-view-map): Remove.
6960 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6961 view-mode is not used anymore.
6962
7a1ff57f
CY
69632011-08-28 Chong Yidong <cyd@stupidchicken.com>
6964
6965 * server.el (server-port): Doc fix.
6966
b9696605
CY
6967 * cus-theme.el (custom-theme-choose-mode): Inherit from
6968 special-mode (Bug#9124).
6969 (custom-theme-choose-mode-map): Add special-mode to parent.
6970
ef8cdf8c
AM
69712011-08-28 Alan Mackenzie <acm@muc.de>
6972
6973 * progmodes/cc-fonts.el
6974 (c-make-font-lock-BO-decl-search-function): New function.
6975 (c-basic-matchers-after - "Fontify the clauses after various
6976 keywords"): Extract the three keyword lists for the 3 erroneous
6977 constructs from the list of four, and use the new function above
6978 in place of an old one.
6979
27de4e20
DD
69802011-08-28 Deniz Dogan <deniz@dogan.se>
6981
6982 * net/rcirc.el (rcirc-insert-prev-input)
6983 (rcirc-insert-next-input): Remove unused argument.
6984
356a3681
SM
69852011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6986
6987 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6988
3fc9b218
AM
69892011-08-27 Alan Mackenzie <acm@muc.de>
6990
6991 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6992 handle function pointer parameters properly.
6993
538a061c
MR
69942011-08-27 Martin Rudalics <rudalics@gmx.at>
6995
6996 * window.el (display-buffer-reuse-window): Fix case where
6997 selected window was reused with non-nil OTHER-WINDOW argument.
6998 (Bug#9381)
6999
35b1c40c
DD
70002011-08-27 Deniz Dogan <deniz@dogan.se>
7001
7002 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7003 oftc's NickServ messages.
7004
2f6a3e79
GM
70052011-08-27 Glenn Morris <rgm@gnu.org>
7006
7007 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7008
7254299e
CY
70092011-08-26 Chong Yidong <cyd@stupidchicken.com>
7010
7011 * emacs-lisp/package.el (package-install): Call package-initialize
7012 if called interactively.
7013
f8ccf167
LL
70142011-08-26 Leo Liu <sdl.web@gmail.com>
7015
7016 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7017
3e8cd5ce
JL
70182011-08-25 Juri Linkov <juri@jurta.org>
7019
7020 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7021 `search-whitespace-regexp' (bug#9364).
7022
93eb7113
JL
70232011-08-25 Juri Linkov <juri@jurta.org>
7024
7025 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7026 `regexp-search-ring' to their global values to protect from
7027 updating by `read-from-minibuffer' (bug#9185).
7028
f65d1611
JL
70292011-08-25 Juri Linkov <juri@jurta.org>
7030
7031 * textmodes/ispell.el (ispell-command-loop): Add newline
7032 at the end of the "Use option `i'..." line.
7033
f1cf7a31
JL
70342011-08-25 Juri Linkov <juri@jurta.org>
7035
7036 * battery.el (display-battery-mode): If `battery-status-function'
7037 or `battery-mode-line-format' is nil, display the message and set
7038 `display-battery-mode' to nil (bug#9363).
7039
0c95fcf7
EZ
70402011-08-25 Eli Zaretskii <eliz@gnu.org>
7041
7042 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7043 bidi-string-mark-left-to-right; they are unnecessary now.
7044
a2ebe600
DD
70452011-08-25 Deniz Dogan <deniz@dogan.se>
7046
7047 * net/quickurl.el: Documentation typo fixes.
7048
e4ed06f1
CY
70492011-08-25 Chong Yidong <cyd@stupidchicken.com>
7050
7051 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7052
e5f1c99e
GM
70532011-08-25 Glenn Morris <rgm@gnu.org>
7054
b2948976
GM
7055 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7056
e5f1c99e
GM
7057 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7058 (smtpmail-via-smtp): Handle nil response from smtp.
7059
f22f4808
JL
70602011-08-24 Juri Linkov <juri@jurta.org>
7061
7062 * proced.el (proced-marked): Inherit from `error' instead of
7063 `font-lock-warning-face'.
7064
7065 * ibuffer.el (ibuffer-marked-face): Change default face from
7066 `font-lock-warning-face' to `warning'.
7067 (ibuffer-deletion-face): Change default face from
7068 `font-lock-type-face' to `error'.
7069
7070 * battery.el (battery-update): Use the face `error' instead of
7071 `font-lock-warning-face' (bug#6117).
7072
6a93965e
JL
70732011-08-24 Juri Linkov <juri@jurta.org>
7074
7075 * faces.el (success): Change face color from "Green3" to
7076 "ForestGreen" on light background (bug#9353).
7077
1ed43b09
CY
70782011-08-24 Chong Yidong <cyd@stupidchicken.com>
7079
5664fa7b
RT
7080 * window.el (quit-window): Rename from quit-restore-window.
7081 Use same arglist as old quit-window.
1ed43b09
CY
7082 (frame-auto-delete): Doc fix.
7083
7084 * view.el (view-mode-exit): Use quit-window.
7085
11dcdbb2
JL
70862011-08-24 Juri Linkov <juri@jurta.org>
7087
7088 * isearch.el (isearch-ring-adjust1): Start visiting previous
7089 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7090 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7091 for empty search string (when the last search string is reused
7092 automatically) to adjust the isearch ring to the last element and
7093 prepare the correct index for further M-p commands (bug#9185).
7094
de62b4df
KH
70952011-08-24 Kenichi Handa <handa@m17n.org>
7096
7097 * international/ucs-normalize.el: If decomposition property of
7098 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7099 nil.
7100 (nfd, nfkd): Likewise.
7101
963b492b
SM
71022011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7105 from process filters aren't reliably transmitted to the surrounding
7106 accept-process-output.
7107 (mpc-proc-check): New function.
7108 (mpc-proc-sync): Use it (bug#8293)
7109
93b6b5e1
SM
71102011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7111
7112 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7113 Add compatibility functions (bug#9313).
7114
bca633fb
EZ
71152011-08-23 Eli Zaretskii <eliz@gnu.org>
7116
b177498a
EZ
7117 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7118
6df6ae42 7119 * international/uni-bidi.el: Regenerate.
bca633fb 7120
0902a04e
KH
71212011-08-23 Kenichi Handa <handa@m17n.org>
7122
7123 * international/charprop.el:
7124 * international/uni-bidi.el:
7125 * international/uni-category.el:
7126 * international/uni-combining.el:
7127 * international/uni-comment.el:
7128 * international/uni-decimal.el:
7129 * international/uni-decomposition.el:
7130 * international/uni-digit.el:
7131 * international/uni-lowercase.el:
7132 * international/uni-mirrored.el:
7133 * international/uni-name.el:
7134 * international/uni-numeric.el:
7135 * international/uni-old-name.el:
7136 * international/uni-titlecase.el:
7137 * international/uni-uppercase.el: Regenerate.
7138
3bbf23bc
MR
71392011-08-23 Martin Rudalics <rudalics@gmx.at>
7140
7141 * help.el (help-window-setup): Fix message displayed when other
7142 window is reused. (Bug#9341)
7143
b3fd59bd
SM
71442011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7145
1802e444
SM
7146 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7147 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7148
b3fd59bd
SM
7149 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7150 Mark obsolete.
7151 * shell.el (shell-parse-pcomplete-arguments): New function.
7152 (shell-completion-vars): Use it instead (bug#9160).
7153
4eb61348
SM
71542011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7155
867cab74
SM
7156 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7157 strings and comments (bug#9333).
7158
4eb61348
SM
7159 * emacs-lisp/debug.el (debug-arglist): New function.
7160 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7161 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7162
262a1439
JL
71632011-08-22 Juri Linkov <juri@jurta.org>
7164
56ee679c
JL
7165 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7166 Revert regexp that highlights output switches to its old
7167 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7168
262a1439
JL
7169 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7170 to check for empty output (bug#9226).
7171
f13f86fb
CY
71722011-08-22 Chong Yidong <cyd@stupidchicken.com>
7173
7174 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7175 symbol-constituent as the default, as that stops font-lock from
7176 working properly (Bug#8843).
7177
c65c9622
LMI
71782011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7179
7180 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7181 `coding-system-for-*' around the process open call to avoid
7182 auth-source side effects.
e7f2c178 7183 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7184 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7185 probe hangs.
c65c9622 7186
23a8a5ab
CY
71872011-08-21 Chong Yidong <cyd@stupidchicken.com>
7188
ff98b2dd
CY
7189 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7190
23a8a5ab
CY
7191 * emacs-lisp/find-func.el (find-function-noselect): New arg
7192 lisp-only.
7193
7194 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7195 signal an error for built-in functions (Bug#6664).
7196
f5e3c598
LMI
71972011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7198
7199 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7200 (smtpmail-try-auth-methods): Use it.
7201
a3f2468a
CY
72022011-08-21 Chong Yidong <cyd@stupidchicken.com>
7203
2c34e8da
CY
7204 * font-lock.el (font-lock-fontify-region)
7205 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7206 (font-lock-default-unfontify-buffer)
7207 (font-lock-default-fontify-region)
7208 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7209
b3fd59bd
SM
7210 * progmodes/compile.el (compilation-error-properties):
7211 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7212 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7213 `ant' regexp.
ee31aabc 7214
a3f2468a
CY
7215 * net/browse-url.el (browse-url-firefox): Don't call
7216 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7217
8e999f70
GM
72182011-08-20 Glenn Morris <rgm@gnu.org>
7219
c21a496a
GM
7220 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7221
59ee0542
GM
7222 * tutorial.el (tutorial--default-keys): Update some default bindings.
7223
8e999f70
GM
7224 * files.el (hack-local-variables): Fully ignore case for "mode:".
7225
e3715033
AM
72262011-08-20 Alan Mackenzie <acm@muc.de>
7227
7228 Resolve invalid use of a regexp in regexp-opt.
7229
4d61f28d
JB
7230 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7231 detection for a java annotation.
e3715033 7232
4d61f28d 7233 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7234 detection for a java annotation.
7235
4d61f28d
JB
7236 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7237 handling for java.
e3715033
AM
7238 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7239
04ed2e9c
CY
72402011-08-20 Chong Yidong <cyd@stupidchicken.com>
7241
7242 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7243 (Bug#9274).
7244
826cee64
AM
72452011-08-20 Alan Mackenzie <acm@muc.de>
7246
58179cce 7247 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7248 such a construct. Mainly for when jit-lock etc. starts a chunk
7249 here.
7250
58179cce 7251 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7252 variable.
58179cce 7253 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7254 c-make-font-lock-search-function.
7255 (c-make-font-lock-search-function): Use the above function.
7256 (c-make-font-lock-context-search-function): New function.
7257 (c-cpp-matchers): Enhance the preprocessor expression case with
7258 the above function
7259 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7260 which takes an expression.
7261
7262 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7263
13009bd8
MR
72642011-08-20 Martin Rudalics <rudalics@gmx.at>
7265
7266 * window.el (display-buffer-reuse-window)
7267 (display-buffer-pop-up-window): Don't reuse or split a side
7268 window.
7269
9234ff7f
GM
72702011-08-19 Glenn Morris <rgm@gnu.org>
7271
7272 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7273 Downcase "Mode:". (Bug#9331)
9234ff7f 7274
f635daa1
CY
72752011-08-18 Chong Yidong <cyd@stupidchicken.com>
7276
7277 * international/characters.el: Add L and R categories.
7278
7279 * subr.el (bidi-string-mark-left-to-right): Rename from
7280 string-mark-left-to-right. Use category search.
7281
7282 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7283
bc987f8b
JL
72842011-08-18 Juri Linkov <juri@jurta.org>
7285
7286 * faces.el (error, warning, success): New faces with definitions
7287 copied from old default values of `font-lock-warning-face',
7288 `compilation-warning', `compilation-info' (bug#6117).
7289
7290 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7291
7292 * progmodes/compile.el (compilation-error): Inherit from `error'.
7293 (compilation-warning): Inherit from `warning'.
7294 (compilation-info): Inherit from `success'.
7295
7296 * dired.el (dired-marked): Inherit from `warning'.
7297 (dired-flagged): Inherit from `error'.
7298
57173b96
LMI
72992011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7300
3e79eb87
LMI
7301 * mail/smtpmail.el (auth-source): Require to avoid problems with
7302 binding variables (bug#9298). Also clean up some unused
7303 autoloads.
7304
b3fd59bd
SM
7305 * net/network-stream.el (network-stream-open-starttls):
7306 Support using starttls.el without using gnutls-cli.
57173b96 7307
02b404de
JL
73082011-08-17 Juri Linkov <juri@jurta.org>
7309
7310 * progmodes/grep.el (rgrep): Handle the case when
7311 `grep-find-command' is a cons cell (bug#9278).
7312
8c9177f2
MR
73132011-08-17 Martin Rudalics <rudalics@gmx.at>
7314
7315 * window.el (display-buffer-pop-up-frame): Run frame creation
7316 function with BUFFER current (as special-display-popup-frame
7317 does). Reported by Drew Adams.
7318
3644a0ab
DU
73192011-08-17 Daiki Ueno <ueno@unixuser.org>
7320
7321 * epa-mail.el: Simplify GnuPG group expansion using
7322 epg-expand-group.
7323 (epa-mail-group-alist, epa-mail-group-modtime)
7324 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7325 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7326 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7327 Remove.
7328
5e617bc2 73292011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7330
7331 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7332
9c4aeabf
AM
73332011-08-16 Alan Mackenzie <acm@muc.de>
7334
7335 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7336 Correct, to avoid the inside of macros.
7337
3a99bf64
RS
73382011-08-16 Richard Stallman <rms@gnu.org>
7339
04963aa8
RS
7340 * epa-mail.el: Handle GnuPG group definitions.
7341 (epa-mail-group-alist, epa-mail-group-modtime)
7342 (epa-mail-gnupg-conf-file): New variables.
7343 (epa-mail-parse-groups, epa-mail-sync-groups)
7344 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7345 (epa-mail-expand-recipients): New functions.
7346 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7347
177549d0
RS
7348 * mail/rmail.el (rmail-epa-decrypt): New command.
7349
fe38beef
RS
7350 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7351 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7352 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7353 (epa-decrypt-armor-in-region): Make error message clearer.
7354
934eacb9
SM
73552011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7356
7357 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7358 and "a2b" to "ab" for `prefix'.
7359
d024fb4e
CY
73602011-08-14 Chong Yidong <cyd@stupidchicken.com>
7361
7362 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7363 filter groups.
de148fee
CY
7364 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7365 Fourquet (Bug#8804).
d024fb4e 7366
62f1ca49
JB
73672011-08-12 Juanma Barranquero <lekktu@gmail.com>
7368
7369 * startup.el (argi): Declare as global variable (bug#9275).
7370
9ccaaa4b
CY
73712011-08-12 Chong Yidong <cyd@stupidchicken.com>
7372
7373 * subr.el (string-mark-left-to-right): Search the entire string
7374 for RTL script, not just the terminating character. Doc fix.
7375
a3dae87a
SM
73762011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7377
6cd18349
SM
7378 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7379 New function.
7380 (js--regexp-literal, js-syntax-propertize-function): Remove.
7381 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7382 (js-mode-map): Don't rebind electric keys.
7383 (js-insert-and-indent): Remove.
7384 (js-mode): Setup electric-layout and electric-indent instead.
7385
a3dae87a
SM
7386 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7387
9d5cb631
DU
73882011-08-12 Daiki Ueno <ueno@unixuser.org>
7389
7390 * epa.el (epa-progress-callback-function): Fix the logic of
7391 displaying progress.
7392 * epa-file.el (epa-file-insert-file-contents): Make progress
7393 display more user-friendly.
7394 (epa-file-write-region): Ditto.
7395
3e26a4a2
CY
73962011-08-10 Chong Yidong <cyd@stupidchicken.com>
7397
7398 * subr.el (string-mark-left-to-right): New function.
7399
7400 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7401 Use string-mark-left-to-right.
7402 (list-buffers-noselect): Caller changed.
7403
a3dae87a
SM
7404 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7405 Use string-mark-left-to-right.
3e26a4a2
CY
7406 (tabulated-list-print): Recenter after moving point.
7407
ac8cf6e6
JL
74082011-08-10 Juri Linkov <juri@jurta.org>
7409
7410 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7411 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7412 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7413
8d96c9a4
CY
74142011-08-09 Chong Yidong <cyd@stupidchicken.com>
7415
7416 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7417 (Bug#7554).
7418
7be1c708 74192011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7420
7421 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7422 character. (Bug#6594)
7423
37e11a63
CY
74242011-08-08 Chong Yidong <cyd@stupidchicken.com>
7425
839dde57
CY
7426 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7427 (image-dired--with-db-file): New macro.
7428 (image-dired-write-tags, image-dired-remove-tag)
7429 (image-dired-create-gallery-lists, image-dired-write-comments)
7430 (image-dired-get-comment, image-dired-mark-tagged-files)
7431 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7432 (image-dired-gallery-generate): Use insert-file-contents.
7433
37e11a63
CY
7434 * time.el (display-time-world-list, display-time-world-display):
7435 * time-stamp.el (time-stamp-string):
7436 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7437 set-time-zone-rule (Bug#7337).
7438
0b4946c4
DU
74392011-08-08 Daiki Ueno <ueno@unixuser.org>
7440
7441 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7442 (epg-error-to-string, epg-errors-to-string): New function.
7443 (epg-wait-for-completion): Reverse errors list.
7444 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7445 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7446 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7447 (epg-sign-keys, epg-generate-key-from-file)
7448 (epg-generate-key-from-string): Format errors by using
7449 epg-errors-to-string (bug#9255).
7450 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7451
75bfc667
JL
74522011-08-07 Juri Linkov <juri@jurta.org>
7453
7454 * faces.el (list-faces-display): Remove extra angle bracket
7455 from `help-mode-map'.
7456
7457 * info.el (Info-history-toc-nodes): Doc fix.
7458
7459 * longlines.el (longlines-mode): Doc fix.
7460
673e08bb
SM
74612011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7462
4640dd88
SM
7463 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7464 of statements and in a few more cases (bug#9183).
7465
673e08bb
SM
7466 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7467 New functions.
7468 (cl-transform-lambda): Use them (bug#9239).
7469
89b3f019
MR
74702011-08-05 Martin Rudalics <rudalics@gmx.at>
7471
7472 * window.el (display-buffer-same-window)
7473 (display-buffer-same-frame, display-buffer-other-window)
7474 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7475 (pop-to-buffer-other-window)
7476 (pop-to-buffer-same-frame-other-window)
7477 (pop-to-buffer-other-frame): Make them defuns.
7478 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7479
640c8776
SM
74802011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7481
7482 * subr.el (make-composed-keymap): Move from C. Change calling
7483 convention, and improve docstring to bring attention to a subtle point.
7484 * minibuffer.el (completing-read-default): Adjust accordingly.
7485
63648a95
MA
74862011-08-03 Michael Albinus <michael.albinus@gmx.de>
7487
7488 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7489 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7490
7491 * net/trampver.el: Update release number.
7492
b796c9b7
SM
74932011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7494
7495 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7496 "in" (bug#9190).
7497
2239d7d5
LMI
74982011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7499
e07dd7c3
LMI
7500 * mail/sendmail.el (sendmail-query-once): Restore the current
7501 buffer after querying (bug#9074).
7502
0e6a2bd7
LMI
7503 * dired.el (dired-flagged): Use different faces for marked and
7504 flagged files (bug#6117).
7505
ce887515
LMI
7506 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7507 (bug#4433).
7508
92f2affc
LMI
7509 * ido.el (ido-mode): Switch off the message if called
7510 non-interactively.
7511
57d5aff0
LMI
7512 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7513 before 587, since it appears that that's more likely to work for
7514 more people.
7515
98cd6c18 7516 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7517 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7518 exist.
7519
b96dec83
LMI
7520 * info.el: Remove the `Info-beginning-of-buffer' function
7521 (bug#8325).
7522
b796c9b7
SM
7523 * net/network-stream.el (network-stream-open-starttls):
7524 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7525
d90e2ea0
MR
75262011-08-01 Martin Rudalics <rudalics@gmx.at>
7527
7528 * window.el (display-buffer-in-window): Don't set dedicated status
7529 of window here (Bug#9215).
7530 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7531 (display-buffer-pop-up-side-window)
b796c9b7 7532 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7533
cca09170
SM
75342011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7537 before binding generated-autoload-file.
7538
027b979c
DD
75392011-08-01 Deniz Dogan <deniz@dogan.se>
7540
7541 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7542
3c7ee4f3
MA
75432011-07-30 Michael Albinus <michael.albinus@gmx.de>
7544
7545 Sync with Tramp 2.2.2.
7546
7547 * net/trampver.el: Update release number.
7548
2cc8e51a
JL
75492011-07-30 Juri Linkov <juri@jurta.org>
7550
7551 * dired-aux.el (dired-touch-initial): Remove function.
7552 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7553 current time, and `default' to the last modification time of the
7554 current marked file (bug#6887).
7555
a514d856
JM
75562011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7557
7558 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7559 numeric argument to read-number (bug#9163).
a514d856 7560
8a7eddd7
MA
75612011-07-27 Michael Albinus <michael.albinus@gmx.de>
7562
7563 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7564 connection process, it could be nil.
7565
1ddd96f5
LL
75662011-07-27 Leo Liu <sdl.web@gmail.com>
7567
7568 Simplify url handling in rcirc-mode.
7569
7570 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7571 (rcirc-browse-url-at-mouse): Remove.
7572 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7573
b248a85d
AM
75742011-07-26 Alan Mackenzie <acm@muc.de>
7575
7576 Fontify bitfield declarations properly.
7577
7578 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7579 (c-symbol-chars): Now exported as a lang variable.
7580 (c-not-primitive-type-keywords): New lang variable.
7581
7582 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7583 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7584 parsed as a bitfield declaration.
b248a85d 7585
b796c9b7
SM
7586 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7587 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7588 (c-punctuation-in): New function.
7589 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7590 declarations properly.
7591
68575ab0
UJ
75922011-07-26 Ulf Jasper <ulf.jasper@web.de>
7593
7594 * calendar/icalendar.el (icalendar--all-events): Take care of
7595 multiple vcalendars in a single file.
b796c9b7 7596 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7597
0f0a88b9
DD
75982011-07-25 Deniz Dogan <deniz@dogan.se>
7599
7600 * image.el (insert-image): Clarifying docstring.
7601
0b3f36df
MA
76022011-07-24 Michael Albinus <michael.albinus@gmx.de>
7603
7604 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7605 `tramp-send-command-and-check' if there is no error.
7606 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7607
a9901f61
AM
76082011-07-22 Alan Mackenzie <acm@muc.de>
7609
7610 Prevent cc-langs.elc being loaded at run time.
7611
7612 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7613 cc-langs.
7614
4d61f28d 7615 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7616 "(require 'cc-langs)". Quote a form so it will evaluate at
7617 (cc-mode's) compilation time.
7618
11d074b2
MA
76192011-07-22 Michael Albinus <michael.albinus@gmx.de>
7620
7621 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7622 loading. (Bug#9114)
7623
938b94c8
MR
76242011-07-21 Martin Rudalics <rudalics@gmx.at>
7625
7626 * window.el (display-buffer-pop-up-window)
7627 (display-buffer-pop-up-side-window)
7628 (display-buffer-in-side-window): Call display-buffer-set-height
7629 and display-buffer-set-width after setting the new window's
b796c9b7 7630 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7631
bfa4f190
SS
76322011-07-20 Sam Steingold <sds@gnu.org>
7633
7634 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7635 (etags-tags-included-tables): Call `convert-standard-filename' on
7636 the file names contained in TAGS so that windows Emacs can handle
7637 TAGS files created by cygwin ctags.
7638
8ca42262
LMI
76392011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7640
7641 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7642 which apparently didn't work.
7643
5db2afd2 76442011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7645
5db2afd2
RW
7646 * proced.el (proced-send-signal): For *Marked Processes* buffer
7647 put point at beginning of buffer.
7648
92e15d10
SB
76492011-07-19 Stephen Berman <stephen.berman@gmx.net>
7650
7651 * proced.el (proced-format): Make header lines align with the text
7652 (bug#1779).
7653
1bfd59e5
LMI
76542011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7655
7656 * view.el (view-buffer): Allow running in `special' modes if we're
7657 visiting a file (bug#8615).
7658
f5aae37c
MR
76592011-07-19 Martin Rudalics <rudalics@gmx.at>
7660
7661 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7662 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7663 New functions.
f5aae37c
MR
7664 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7665 more accurately.
7666
bf2c1571
AM
76672011-07-18 Alan Mackenzie <acm@muc.de>
7668
7669 Fontify declarators properly when, e.g., a jit-lock chunk begins
7670 inside a declaration.
7671
7672 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7673
b796c9b7
SM
7674 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7675 New function.
bf2c1571
AM
7676 (c-complex-decl-matchers): Insert reference to
7677 c-font-lock-enclosing-decls.
7678
7679 * progmodes/cc-engine.el (c-backward-single-comment):
7680 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7681 to nil around calls to (forward-comment -1).
7682
4e190b80
LMI
76832011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7684
12dc863d
LMI
7685 * image.el (put-image): Doc typo fix.
7686
a762e966
LMI
7687 * progmodes/etags.el (tags-search): Doc typo fix.
7688
4e190b80
LMI
7689 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7690 password if we get errors 550 to 554.
7691
f019fb21
LMI
76922011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7693
b796c9b7 7694 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7695
81746738
LMI
7696 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7697 indentation character (bug#6380).
7698
3ee3a1b5
LMI
7699 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7700
c82f64de
LMI
7701 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7702 to clarify what the problem is (bug#4291).
7703
f019fb21
LMI
7704 * simple.el (current-kill): Clarify what
7705 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7706 (auto-fill-mode): Document `auto-fill-function' in relation to
7707 `auto-fill-mode' (bug#2470).
f019fb21 7708
0794775d
LM
77092011-07-16 Lawrence Mitchell <wence@gmx.li>
7710
7711 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7712 method if slot is read-only (bug#9035).
7713
be39b8cc
MR
77142011-07-16 Martin Rudalics <rudalics@gmx.at>
7715
b796c9b7 7716 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7717 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7718 selected before, see discussion of (Bug#8615), (Bug#6954).
7719 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7720
6ccf7859
GM
77212011-07-15 Glenn Morris <rgm@gnu.org>
7722
7723 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7724 Respect help-form.
6ccf7859 7725
87e86684
LM
77262011-07-09 Lawrence Mitchell <wence@gmx.li>
7727
7728 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7729 (gnutls-negotiate): Use it.
7730
d6066239
LMI
77312011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7732
b796c9b7
SM
7733 * net/gnutls.el (gnutls-negotiate):
7734 Upcase `gnutls-algorithm-priority'.
d6066239 7735
bd23ebc0
GM
77362011-07-15 Glenn Morris <rgm@gnu.org>
7737
c65bca65
GM
7738 * jka-compr.el (jka-compr-verbose): Move from here...
7739 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7740 Add missing :version tag.
7741 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7742
478615cc
LMI
77432011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7744
7b41decb
LMI
7745 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7746 (gnutls-negotiate): Use it.
7747
dbc44fcd
LMI
7748 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7749
06789f97
LMI
7750 * info.el (Info-beginning-of-buffer): New command.
7751 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7752 announcing `b' as the key (bug#8325).
ab896c37 7753 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7754
c39da690
LMI
7755 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7756
3aa5f34b
LMI
7757 * international/mule-cmds.el
7758 (describe-specified-language-support): Make the error message
7759 clearer (bug#8905).
7760
4bf0979f
LMI
7761 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7762
478615cc
LMI
7763 * isearch.el (isearch-barrier): Add a doc string, since it's
7764 mentioned in a function doc string (bug#8678).
7765
75c68aa1
MR
77662011-07-15 Martin Rudalics <rudalics@gmx.at>
7767
7768 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7769 buffer argument (Bug#9083) and self-identifying label argument.
7770
a7c33da2
GM
77712011-07-15 Glenn Morris <rgm@gnu.org>
7772
7773 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7774
2f5c6024
LMI
77752011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7776
7777 * man.el (Man-fontify-manpage): Fix message when formatting the
7778 man page (bug#7929).
7779
0bb23927 77802011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7781
7782 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7783 argument LRM; if non-nil, append an invisible LRM character to the
7784 buffer name.
7785 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7786 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7787 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7788 paragraph direction.
cce4b0a7 7789
621ef9ab
LMI
77902011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7791
d1583c48
LMI
7792 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7793 the man page name (bug#7929).
7794
6a57fb5f
LMI
7795 * image.el (put-image): Mention the `put-image' overlay property
7796 (bug#7834).
7797
d7956b14
LMI
7798 * scroll-bar.el (set-scroll-bar-mode): Mention that
7799 `scroll-bar-mode' lists the values (bug#7772).
7800
5b2d4a66
LMI
7801 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7802 command (bug#7729).
7803
7509a874
LMI
7804 * rect.el (apply-on-rectangle): Return the point after the last
7805 operation.
7806 (string-rectangle): Go to the point after the last operation
7807 (bug#7522).
7808
4fe74b19
LMI
7809 * printing.el (pr-toggle-region): Clarify the documentation
7810 slightly (bug#7493).
7811
b796c9b7
SM
7812 * time.el (display-time-update):
7813 Allow `display-time-mail-function' to return nil (bug#7158).
7814 Fix suggested by Detlev Zundel.
ab283561 7815
fc233c9d
LMI
7816 * vc/diff.el (diff): Clarify the order the file names are read
7817 (bug#7111).
7818
43f5740b
LMI
7819 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7820 the doc string (bug#7015).
7821
f2182a76
LMI
7822 * font-lock.el (font-lock-maximum-decoration): Mention what
7823 numeric levels mean (bug#6935).
7824
621ef9ab
LMI
7825 * startup.el (initial-buffer-choice): Don't mention the `none'
7826 selection, which is against policy.
7827
adc47434
MR
78282011-07-14 Martin Rudalics <rudalics@gmx.at>
7829
b796c9b7
SM
7830 * window.el (display-buffer-normalize-special):
7831 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7832
7e5bfb8f
EZ
78332011-07-14 Eli Zaretskii <eliz@gnu.org>
7834
7835 * subr.el (version<, version<=, version=): Mention "-CVS" and
7836 "-12345" alpha version numbers.
7837
27fa387a
CY
78382011-07-14 Chong Yidong <cyd@stupidchicken.com>
7839
7840 * bindings.el: Add advertised binding for set-mark-command
7841 (Bug#5772).
7842
8bdfa064
CY
78432011-07-14 Chong Yidong <cyd@stupidchicken.com>
7844
7845 * bindings.el (mode-line-other-buffer):
7846 * bookmark.el (bookmark-bmenu-2-window):
7847 * bs.el (bs-cycle-next, bs-cycle-previous):
7848 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7849 switch-to-buffer.
7850
7851 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7852 Delete.
8bdfa064 7853
5eba16a3
JB
78542011-07-14 Juanma Barranquero <lekktu@gmail.com>
7855
7856 * follow.el (follow-debug-message, follow-redisplay):
7857 * jka-cmpr-hook.el (with-auto-compression-mode):
7858 Fix typos in docstrings.
7859
15853710
LMI
78602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7861
a28e4607
LMI
7862 * subr.el (with-silent-modifications): Clarify somewhat what the
7863 macro inhibits (bug#6525).
7864
15853710
LMI
7865 * simple.el (eval-expression): Note what it does if called
7866 interactively (bug#6495).
7867
bee0fcef
CY
78682011-07-13 Chong Yidong <cyd@stupidchicken.com>
7869
b796c9b7
SM
7870 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7871 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7872
7873 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7874 Remove switch-to-buffer.
7875
58274504
LMI
78762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7877
bd2fcc8d
LMI
7878 * files.el (make-directory): Clarify that an error will be raised
7879 if there's an error (bug#6397).
7880
0f04b32c
LMI
7881 * startup.el (initial-buffer-choice): Add `none' as a choice
7882 (bug#6234).
7883
465c5fc8
LMI
7884 * subr.el (add-hook): Clarify section about buffer-local hooks
7885 (bug#6218).
7886
58274504
LMI
7887 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7888
bead9a43
JB
78892011-07-13 Juanma Barranquero <lekktu@gmail.com>
7890
7891 * tabify.el (untabify): Preserve the current column so that point
7892 doesn't move (bug#6032).
7893
3af98a7b
LMI
78942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7895
b796c9b7
SM
7896 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7897 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7898
6240145a
GM
78992011-07-13 Glenn Morris <rgm@gnu.org>
7900
7901 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7902 (dired-insert-directory): Give a message the first time
7903 if ls is found not to support --dired.
7904
1d8c2ccc
LMI
79052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7906
7907 * simple.el (toggle-truncate-lines): Clarify what is toggled
7908 (bug#5580). Text by Drew Adams.
7909
5fc4038e
CY
79102011-07-13 Chong Yidong <cyd@stupidchicken.com>
7911
7912 * simple.el (blink-matching-open): Make the error message from the
7913 last change less verbose.
7914
bf6012e5
DN
79152011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7916
7917 * font-lock.el (font-lock-comment-face): Use the high contrast
7918 "yellow" color for font-lock-comment-face on low color terminals
7919 using a dark background color (bug#4221).
7920
343c3b5a
LMI
79212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7922
7e9505c5
LMI
7923 * dired.el (dired-insert-set-properties): Make the doc string
7924 reflect what it does now (bug#5325).
7925
c26fdcf5
LMI
7926 * simple.el (blink-matching-open): Say that we were unable to find
7927 the match within the limit, if we're limited (bug#5122).
7928
bb388cc5
LMI
7929 * international/mule-cmds.el (prefer-coding-system): Add an
7930 example (bug#4869).
7931
343c3b5a
LMI
7932 * progmodes/etags.el (tags-search): Document `file-list-form'
7933 (bug#4731).
7934
2a517d45
LM
79352011-07-13 Lawrence Mitchell <wence@gmx.li>
7936
7937 * net/browse-url.el (browse-url-default-browser)
7938 (browse-url-browser-function): Make the default browser choice a
7939 bit more logical (bug#4300). Also clean up the doc string.
7940
b6c78ef2
JB
79412011-07-13 Juanma Barranquero <lekktu@gmail.com>
7942
7943 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7944 binary endings (bug#4440).
7945
1c4dd947
LMI
79462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7947
a2014063
LMI
7948 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7949 which can be pretty annoying (bug#8971).
7950
9c9c2d88
LMI
7951 * jka-compr.el (jka-compr-verbose): New variable, and use
7952 throughout (bug#8971).
7953
1c4dd947
LMI
7954 * info.el (Info-find-file): Fall back on the installation
7955 directory if we can't find the info node anywhere else.
7956
a1c9f41b
SO
79572011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7958
7959 * vc/vc.el (vc-revert-file):
7960 Don't set file time-stamp in the past. (Bug#5181)
7961
536f3d36
LMI
79622011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7963
7152b011
LMI
7964 * files.el (after-find-file): Give a better error message when
7965 trying to find a symlink that points to a file that doesn't exist
7966 (bug#4398).
7967
536f3d36
LMI
7968 * progmodes/cc-vars.el: Remove (probably) misleading comment
7969 (bug#4396).
7970
460c0fba
JB
79712011-07-12 Johan Bockgård <bojohan@gnu.org>
7972
7973 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7974
7a6bda45
CY
79752011-07-12 Chong Yidong <cyd@stupidchicken.com>
7976
7977 * mouse-sel.el: Hack restoring functionality, while keeping
7978 compatibility with 2010-07-03 changes to mouse selection.
7979 (mouse-sel-primary-overlay): New var.
7980 (mouse-sel-selection-alist): Use it.
7981 (mouse-sel-mode): Doc fix; remove points that are default features
7982 of mouse.el.
7983
c79598ef
JB
79842011-07-12 Johan Bockgård <bojohan@gnu.org>
7985
7986 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7987 Fix previous fix (bug#2490).
7988
ff8be6ef
RW
79892011-07-12 Roland Winkler <winkler@gnu.org>
7990
b796c9b7
SM
7991 * textmodes/bibtex.el (bibtex-initialize):
7992 Use pop-to-buffer-same-window.
ff8be6ef
RW
7993 (bibtex-search-entries): Fix interactive call.
7994
296ba3ee
LMI
79952011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7996
f5242a02 7997 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7998 Fontise bytecomp Error lines more correctly (bug#2490).
7999 Fix suggested by Johan Bockgård.
f5242a02 8000
296ba3ee
LMI
8001 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8002
8003 * dired-x.el (dired-guess-default): Use `delete-dups'.
8004
f69fd0d2
CY
80052011-07-12 Chong Yidong <cyd@stupidchicken.com>
8006
8007 * dired.el (dired-mark-prompt):
8008 * dired-aux.el (dired-read-shell-command): Doc fix.
8009
eab5dc07
LMI
80102011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8011
b796c9b7
SM
8012 * mail/sendmail.el (sendmail-query-once):
8013 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8014 emacs -Q.
8015
8016 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8017
eab5dc07
LMI
8018 * cus-edit.el (custom-file): Take an optional no-error variable.
8019 (customize-save-variable): Set the variable, and give a warning if
8020 running under "emacs -q".
8021
a1e65d42
JB
80222011-07-11 Juanma Barranquero <lekktu@gmail.com>
8023
8024 * loadhist.el (unload-feature-special-hooks):
8025 Add `auto-coding-functions', `fill-nobreak-predicate' and
8026 `find-directory-functions' (bug#5327).
8027
1d52da10
LMI
80282011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8029
be958f1d
LMI
8030 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8031
5bedb26c
LMI
8032 * cus-edit.el (custom-guess-name-alist): -alist variables should
8033 use the `alist' type (bug#3120). Suggested by Drew Adams.
8034
1d52da10
LMI
8035 * printing.el: Add documentation to all the `pr-toggle-' commands.
8036
cd394be1 80372011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8038
8039 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8040 backends where it makes sense (bug#2623).
8041
dcc88d8a
LMI
80422011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8043
c3de9feb
LMI
8044 * dired-x.el (dired-guess-default): Remove duplicate shell command
8045 entries (bug#2028).
8a93078b 8046 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8047 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8048
dcc88d8a
LMI
8049 * subr.el (remove-duplicates): New conveniency function.
8050
505e3645
LMI
80512011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8052
8053 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8054 (bug#1526).
8055
80562011-07-10 Martin Rudalics <rudalics@gmx.at>
8057
8058 * window.el (display-buffer-normalize-default): Don't invert
8059 meaning of even-window-heights. Reported by Eli Zaretskii
8060 <eliz@gnu.org>.
8061
455e4fa1
BR
80622011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8063
8064 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8065
8e0bc3e9
CY
80662011-07-10 Chong Yidong <cyd@stupidchicken.com>
8067
8068 * window.el (display-buffer): Fix arguments to
8069 display-buffer-reuse-window in last change.
8070
fa7c3228
CY
8071 * faces.el (link): Use a less saturated blue on light backgrounds.
8072
8073 * startup.el (fancy-startup-text, fancy-about-text)
8074 (fancy-startup-tail): Use font-lock faces, for background safety.
8075
c0a7f300
BN
80762011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8077
b796c9b7
SM
8078 * emulation/viper-cmd.el (viper-change-state-to-vi):
8079 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8080
4dc2a129
MR
80812011-07-09 Martin Rudalics <rudalics@gmx.at>
8082
8083 * window.el (display-buffer-default-specifiers): Remove.
8084 (display-buffer-macro-specifiers): Remove default specifiers.
8085 (display-buffer-alist): Default to nil.
b796c9b7 8086 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8087 (display-buffer-pop-up-window): Allow splitting internal
8088 windows. Check whether a live window was created.
8089 (display-buffer-other-window-means-other-frame)
8090 (display-buffer-normalize-arguments): Rename to
8091 display-buffer-normalize-argument and rewrite. Set the
8092 other-window specifier.
8093 (display-buffer-normalize-special): New function.
8094 (display-buffer-normalize-options): Rename to
8095 display-buffer-normalize-default and rewrite.
8096 (display-buffer-normalize-options-inhibit): Remove.
8097 (display-buffer-normalize-specifiers): Rewrite.
8098 (display-buffer): Process other-window specifier and call
8099 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8100 more faithfully.
b796c9b7 8101 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8102 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8103 (display-buffer-in-window, display-buffer-alist-set):
8104 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8105 <tassilo@member.fsf.org>.
8106
2d43b8c9
LL
81072011-07-09 Leo Liu <sdl.web@gmail.com>
8108
8109 * register.el (insert-register): Restore accidental change on
8110 2011-06-26. (Bug#9028)
8111
7f9b7c53
GM
81122011-07-09 Glenn Morris <rgm@gnu.org>
8113
8114 * subr.el (remq): Handle the empty list. (Bug#9024)
8115
f042cfd8
AS
81162011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8117
8118 * mail/sendmail.el (send-mail-function): No longer delay custom
8119 initialization.
8120 * custom.el (custom-initialize-delay): Doc fix.
8121
856b2f11
SM
81222011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8125
afae1d68
MA
81262011-07-08 Michael Albinus <michael.albinus@gmx.de>
8127
8128 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8129 human-friendly prompt.
8130
0757af94
SM
81312011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8132
8133 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8134 provided by a particular plugin.
8135
d760b731
LMI
81362011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8137
8138 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8139 save customizations (with "emacs -Q"), just set the variable
8140 instead of erroring out.
8141
8142 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8143
cd79ce90
JL
81442011-07-08 Juri Linkov <juri@jurta.org>
8145
8146 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8147 (archive-zip-update-case): Use 7z if found by `executable-find'.
8148 The order of searching the available programs is the same as in
8149 `archive-zip-extract' (bug#8968).
8150
14cc04aa
CY
81512011-07-07 Chong Yidong <cyd@stupidchicken.com>
8152
8153 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8154 (menu-bar-options-menu): Tweak descriptions.
8155
0a1848ec
LMI
81562011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8157
8158 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8159 menu items into verb phrases (bug#1421). Also refill to fit under
8160 80 columns.
8161
f5bd0689
CY
81622011-07-07 Chong Yidong <cyd@stupidchicken.com>
8163
538e85c6
CY
8164 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8165 (Info-read-node-name): Doc fix (Bug#1084).
8166
f5bd0689
CY
8167 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8168 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8169 (end-of-sexp, beginning-of-sexp)
8170 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8171 (forward-symbol, forward-same-syntax, word-at-point)
8172 (sentence-at-point): Doc fix (Bug#1144).
8173
56ec5115
LMI
81742011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8175
f3f8e37f
LMI
8176 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8177 should cover it (bug#1281).
8178
0757af94 8179 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8180
e9fce1ac 8181 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8182 negotiation fails, then possibly try again with a non-encrypted
8183 connection (bug#9017).
8184
56ec5115
LMI
8185 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8186 be used.
8187
c2f9aec8
RS
81882011-07-07 Richard Stallman <rms@gnu.org>
8189
8190 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8191 property, and handle its changed format.
8192 Look for the correct line number.
8193 Use file's line contents (but not past first =) to find
8194 correct line in message.
8195
ef7b981d 81962011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8197
8198 * international/characters.el (build-unicode-category-table):
8199 Delete it.
0757af94 8200 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8201
0757af94 8202 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8203 to src/chartab.c.
8204 (get-char-code-property): Call unicode-property-table-internal to
8205 load a file. Call get-unicode-property-internal where necessary.
8206 (put-char-code-property): Call unicode-property-table-internal to
8207 load a file. Call put-unicode-property-internal where necessary.
8208 put-unicode-property-internal where necessary.
0757af94
SM
8209 (char-code-property-description):
8210 Call unicode-property-table-internal to load a file.
c805dec0
KH
8211
8212 * international/charprop.el:
8213 * international/uni-bidi.el:
8214 * international/uni-category.el:
8215 * international/uni-combining.el:
8216 * international/uni-comment.el:
8217 * international/uni-decimal.el:
8218 * international/uni-decomposition.el:
8219 * international/uni-digit.el:
8220 * international/uni-lowercase.el:
8221 * international/uni-mirrored.el:
8222 * international/uni-name.el:
8223 * international/uni-numeric.el:
8224 * international/uni-old-name.el:
8225 * international/uni-titlecase.el:
8226 * international/uni-uppercase.el: Regenerate.
8227
8228 * loadup.el: Load international/charprop.el before
8229 international/characters.
8230
e14b388a
CY
82312011-07-07 Chong Yidong <cyd@stupidchicken.com>
8232
8233 * window.el (next-buffer, previous-buffer): Signal an error if
8234 called from a minibuffer window.
8235
8236 * bindings.el: Revert 2011-07-04 change.
8237
354cf0ba
RS
82382011-07-06 Richard Stallman <rms@gnu.org>
8239
8240 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8241 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8242 Treat markers like ints.
8243 (rmail-mime-entity): Doc fix.
8244
a48868a7
LMI
82452011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8246
4906cd3d
LMI
8247 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8248 defcustom again for backwards compatibility.
8249
e0457abe
LMI
8250 * simple.el (shell-command-on-region): Fill.
8251
d67f7e1f
LMI
8252 * dired-aux.el (dired-kill-line): Add a doc string.
8253
fe204702
LMI
8254 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8255 to "\\sw\\|\\s_" (bug#358).
8256
a48868a7
LMI
8257 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8258 (dired-unmark-backward): Ditto.
8259 (dired-flag-backup-files): Ditto.
8260
8261 * dired-x.el (dired-mark-sexp): Ditto.
8262
aa8a705c
RS
82632011-07-06 Richard Stallman <rms@gnu.org>
8264
8265 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8266 (rmail-mime-entity): New arg TRUNCATED.
8267 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8268 New functions.
8269 (rmail-mime-save): Warn if entity is truncated.
8270 (rmail-mime-toggle-hidden): Likewise, for showing.
8271 (rmail-mime-process-multipart): Record when an entity is truncated.
8272
a9a936b9
RS
8273 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8274 if ENTITY is a string.
8275
1f2b92cb
LMI
82762011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8277
f4f73198 8278 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8279 of faces when `M-C-x'-ing their definitions (bug#8378).
8280 Also clean up the code slightly.
f4f73198 8281
12b16734 8282 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8283 because that makes the colors go away.
12b16734 8284
f0691d22
LMI
8285 * mail/sendmail.el (send-mail-function): Change the default to
8286 `sendmail-query-once'.
9e87df06 8287 (sendmail-query-once): Add an autoload cookie.
f0691d22 8288
1f2b92cb
LMI
8289 * net/network-stream.el (network-stream-open-starttls): Try using
8290 a plain connection even if the server offered STARTTLS, and we
8291 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8292 capability. This should make smtpmail.el work in slightly more
8293 configurations.
8294
1cdd2a1b
MA
82952011-07-06 Michael Albinus <michael.albinus@gmx.de>
8296
8297 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8298 New defun.
8299 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8300
fbcc67e2
MM
83012011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8302
8303 * progmodes/sql.el: Version 3.0
0757af94 8304 (sql-product-alist): Add product :completion-object,
fbcc67e2 8305 :completion-column, and :statement attributes.
0757af94 8306 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8307 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8308 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8309 ansi keywords.
8310 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8311 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8312 (sql-oracle-show-reserved-words): New function for development.
8313 (sql-product-font-lock): Simplify for source code buffers.
8314 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8315 New functions.
8316 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8317 (sql-mode-map): Add statement movement functions.
8318 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8319 New variable.
fbcc67e2
MM
8320 (sql-statement-regexp, sql-beginning-of-statement)
8321 (sql-end-of-statement, sql-signum): New functions.
0757af94 8322 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8323 (sql-show-sqli-buffer): Bug fix.
8324 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8325 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8326 with sql-interactive-mode.
8327 (sql-save-connection): Save buffer local settings.
0757af94 8328 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8329 (sql-product-interactive): Bug fix.
8330 (sql-preoutput-hold): New variable.
8331 (sql-interactive-remove-continuation-prompt): Bug fixes.
8332 (sql-debug-redirect): New variable.
8333 (sql-str-literal): New function.
8334 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8335 Redesign.
fbcc67e2
MM
8336 (sql-oracle-save-settings, sql-oracle-restore-settings)
8337 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8338 (sql-completion-object, sql-completion-column)
8339 (sql-completion-sqlbuf): New variables.
8340 (sql-build-completions-1, sql-build-completions)
8341 (sql-try-completion): New functions.
8342 (sql-read-table-name): Use them.
8343 (sql-contains-names): New buffer local variable.
8344 (sql-list-all, sql-list-table): Use it.
8345 (sql-oracle-completion-types): New variable.
8346 (sql-oracle-completion-object, sql-sqlite-completion-object)
8347 (sql-postgres-completion-object): New functions.
8348
d4eaeab1
GM
83492011-07-06 Glenn Morris <rgm@gnu.org>
8350
8351 * window.el (pop-to-buffer): Doc fix.
8352
322b7dab 83532011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8354
8355 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8356
322b7dab 83572011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8358
322b7dab 8359 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8360
322b7dab 8361 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8362
605dd5bf
CY
83632011-07-05 Chong Yidong <cyd@stupidchicken.com>
8364
8365 * button.el (button): Inherit from link face. Suggested by Dan
8366 Nicolaescu.
8367
7dbfa719
SM
83682011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8369
3db614b0
SM
8370 * progmodes/gdb-mi.el: Fit in 80 columns.
8371 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8372 switch-to-buffer.
8373
7dbfa719
SM
8374 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8375 if imenu is simply not configured (bug#8941).
8376
919d884a
KM
83772011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8378
8379 * allout.el (allout-post-undo-hook): New allout outline-change
8380 event hook to signal undo activity.
8381 (allout-post-command-business): Run allout-post-undo-hook if an
8382 undo just occurred.
7dbfa719
SM
8383 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8384 * allout-widgets.el (allout-widgets-after-undo-function):
8385 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8386 in the vicinity of an undo.
8387 (allout-widgets-mode): Include allout-widgets-after-undo-function
8388 on the new allout-post-undo-hook.
8389
450a0f09
SM
83902011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8393 Let define-derived-mode define it.
8394 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8395 cycles of abbrev-table inheritance (bug#8998).
8396
2de69e00
RW
83972011-07-05 Roland Winkler <winkler@gnu.org>
8398
8399 * textmodes/bibtex.el: Add support for biblatex.
8400 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8401 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8402 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8403 (bibtex-entry-alist, bibtex-field-alist): New variables.
8404 (bibtex-entry-field-alist): Obsolete alias for
8405 bibtex-BibTeX-entry-alist.
8406 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8407 (bibtex-set-dialect): New command.
8408 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8409 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8410 Bind via bibtex-set-dialect.
2de69e00
RW
8411 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8412 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8413 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8414 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8415 Define via bibtex-set-dialect.
450a0f09
SM
8416 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8417 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8418 (bibtex-vec-push, bibtex-vec-incr): New functions.
8419 (bibtex-format-entry, bibtex-field-list)
8420 (bibtex-print-help-message, bibtex-validate)
8421 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8422
2dcdbdd9
SM
84232011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8424
8425 * progmodes/compile.el (compilation-goto-locus):
8426 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8427 * bs.el (bs-cycle-next, bs-cycle-previous):
8428 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8429 * bindings.el (mode-line-other-buffer):
8430 * autoinsert.el (auto-insert):
8431 * arc-mode.el (archive-extract):
8432 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8433
b27640fe
JB
84342011-07-05 Juanma Barranquero <lekktu@gmail.com>
8435
8436 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8437 Fix check of `emacs-lock-unlockable-modes'.
8438 Coerce true values of `emacs-lock--try-unlocking' to t.
8439
53bbe3ad
JB
84402011-07-05 Juanma Barranquero <lekktu@gmail.com>
8441
8442 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8443 * emacs-lock.el: New file.
8444
1d3cdbc7
JD
84452011-07-05 Julien Danjou <julien@danjou.info>
8446
8447 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8448 than `boundp' to check if face is set.
8449
9173deec
JB
84502011-07-05 Juanma Barranquero <lekktu@gmail.com>
8451
8452 * register.el (registerv-make):
8453 * window.el (window-min-height): Fix typos in docstrings.
8454
869795d6
JD
84552011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8456
9173deec 8457 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8458 Update doc string.
8459
b768cdcd
JB
84602011-07-04 Juanma Barranquero <lekktu@gmail.com>
8461
8462 * server.el (server-execute): Catch quit and call
8463 `server-return-error' to pass the error back to emacsclient and
8464 close the connection (bug#8942).
8465
13aa217b
KM
84662011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8467
8468 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8469 insecure exception for current topic. Also note that auto-saves
8470 are handled differently.
8471
5d3385a0 8472 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8473 State variables for tracking auto-save inhibition situation.
8474
8475 (allout-write-contents-hook-handler): Rename from
8476 'allout-write-file-hook-handler', and describe how it depends on
8477 write-contents-functions sensitivity to non-nil value to prevent
8478 file write.
8479
8480 (allout-auto-save-hook-handler): Remove. auto-save does not check
8481 this in individual buffers, only in the starting buffer, so this
8482 is not the right way for us to inhibit auto-save in a buffer
8483 according to its condition.
8484
8485 (allout-mode): Use new allout-write-contents-hook-handler, and
8486 only with write-contents-functions. Remove auto-save provisions -
8487 they're implemented elsewhere.
8488
8489 (allout-before-change-handler): If undo is in progress, note that
8490 for attention of allout-post-command-business.
8491
8492 (allout-post-command-business): If the command we're following was
8493 an undo, check for change in the status of encrypted items and
8494 adjust auto-save inhibitions accordingly.
8495
8496 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8497 according to whether there are or aren't any plain-text topics
8498 pending encryption.
8499
2dcdbdd9 8500 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8501 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8502 if there are plain-text topics pending encryption.
13aa217b
KM
8503
8504 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8505 buffer-saved-size and some allout state to not inhibit auto-saves
8506 if there are no longer any plain-text topics pending encryption.
8507
0757af94
SM
8508 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8509 No longer provide for exemption of the current topic.
13aa217b 8510
ac89b32c
JL
85112011-07-04 Juri Linkov <juri@jurta.org>
8512
8513 Add 7z operations to delete and save changed members (bug#8968).
8514 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8515 New defcustoms.
8516 (archive-7z-write-file-member): New function.
8517 (archive-7z-summarize): Fix the number of dashes in the
8518 listing output.
8519
8fa39615
SM
85202011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8523 (bug#8958).
8524
2f11b3f1
CY
85252011-07-04 Chong Yidong <cyd@stupidchicken.com>
8526
d66fef2b
CY
8527 * bindings.el: Ignore next-buffer and previous-buffer in
8528 minibuffer-local-map.
8529
2f11b3f1
CY
8530 * font-lock.el (font-lock-builtin-face): Change light background
8531 color to dark slate blue (Bug#6693).
8532
f932a347
WD
85332011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8534
8535 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8536
c8af70e1
SM
85372011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8538
8539 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8540 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8541 Add switch-to-buffer.
8542
f158badc
LMI
85432011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8544
8545 * isearch.el (isearch-search-fun-function): Clarify further the
8546 meaning of the function returned.
8547
6d95bd46
MA
85482011-07-04 Michael Albinus <michael.albinus@gmx.de>
8549
8550 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8551
8552 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8553 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8554 Use it.
8555 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8556 `tramp-default-remote-path' does not exist.
8557 (tramp-send-command-and-read): New optional argument NOERROR.
8558 (tramp-open-connection-setup-interactive-shell)
8559 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8560 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8561 (tramp-process-sentinel): Flush also process' connection property.
8562 (tramp-sh-handle-start-file-process): Do not set process
8563 sentinel. It is done now ...
8564 (tramp-maybe-open-connection): ... here. (Bug#8929)
8565
909e6b67
MK
85662011-07-04 MON KEY <monkey@sandpframing.com>
8567
8568 * play/animate.el (animate-string): Doc fixes and allow changing
8569 the buffer name (bug#5417).
8570
85712011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8572
c8af70e1 8573 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8574
f34755dc
PE
85752011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8576
396cec72
PE
8577 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8578 This is simpler and helps future-proof the code.
8579 (timer-until): Use time-subtract and float-time.
08235028 8580 (timer--time-less-p): Use time-less-p.
f34755dc 8581
56e6cc31
JB
85822011-07-04 Juanma Barranquero <lekktu@gmail.com>
8583
3abb79e5
JB
8584 * type-break.el (timep): Use the value of `float-time' to avoid a
8585 byte-compiler warning.
8586
56e6cc31
JB
8587 * server.el (server-eval-and-print): Return any result, even nil.
8588
7b9430b4
PE
85892011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8590
8591 * type-break.el: Accept time formats that the builtins accept.
8592 (timep, type-break-time-difference): Accept any format that
8593 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8594 This is simpler and helps future-proof the code.
8595 (type-break-time-difference): Round rather than ignoring
8596 subseconds components.
8597
3034e9e7
LMI
85982011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8599
8600 * info.el (Info-apropos-matches): Make non-interactive, since it
8601 doesn't seem to do anything useful as a command (bug#8829).
8602
1485f4c0
CY
86032011-07-03 Chong Yidong <cyd@stupidchicken.com>
8604
8605 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8606 Move from faces.el.
1485f4c0
CY
8607 (frame-default-terminal-background): New function.
8608
8609 * custom.el (custom-push-theme): Don't record faces in `changed'
8610 theme; this doesn't work correctly for per-frame face settings.
8611 (disable-theme): Use face-set-after-frame-default to reset faces.
8612 (custom--frame-color-default): New function.
8613
9fa3dd45
LMI
86142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8615
c8af70e1 8616 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8617 (bug#8769).
8618
6cbbc20c
KR
86192011-03-29 Kevin Ryde <user42@zip.com.au>
8620
8621 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8622 `perl-Test2' extend to match possible "fail #N" rep count
8623 (bug#8377).
8624
c7f98048
LMI
86252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8626
65676592
LMI
8627 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8628 `smtpmail-via-smtp' now returns the error instead of nil.
8629
c7f98048
LMI
8630 * isearch.el (isearch-search-fun-function): Clarify the doc string
8631 (bug#8101).
8632
56e6cc31 86332011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8634
8635 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8636 unnecessary spaces (bug#8987).
8637
2b216704
LMI
86382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8639
8640 * net/network-stream.el (open-network-stream): Use the
8641 :end-of-capability command thoughout.
8642
86432011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8644
8645 * net/network-stream.el (open-network-stream): Add the
8646 :end-of-capability command parameter, used by pop3.el.
8647
36adf6ce
LMI
86482011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8649
1ca0da0e
LMI
8650 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8651
fc00f69c
LMI
8652 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8653 for list)" (bug#6475).
8654
28fd8759 8655 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8656 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8657 an error (bug#6297).
8658
0dd8b6da
LMI
8659 * man.el (Man-reference-regexp): Allow matching possible
8660 word-wrapped references (bug#6289).
8661
ce1438d6
LMI
8662 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8663 for consistency with the other vc buffers (bug#6197).
8664 (vc-checkin): Ditto.
8665
8666 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8667
36adf6ce
LMI
8668 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8669
e83cc1f7
LMI
86702011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8671
8a20ca4c
LMI
8672 * custom.el (defcustom): Clarify that :set is only used in the
8673 Customize user interface (bug#6089).
8674
83319045
LMI
8675 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8676 associated with a file, refuse to run instead of erroring out
8677 (bug#6084).
8678
a8392169
LMI
8679 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8680 the doc string, since it appears that using `fill-column' always
8681 controls the width (bug#7845).
8682
e83cc1f7
LMI
8683 * simple.el (shell-command-on-region): Say where the error output
8684 went if `shell-command-default-error-buffer' is set (bug#6857).
8685
e47ca23b
KM
86862011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8687
8688 * allout.el (allout-yank-processing): Adjust cursor position for
8689 backwards-deleted space.
8690
8691 (allout-rebullet-heading): Register changes with
8692 allout-exposure-changed-hook, so the modified topic is properly
8693 decorated.
8694
5cf56143
LMI
86952011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8696
08549772
LMI
8697 * minibuffer.el (completion-in-region): Document PREDICATE
8698 (bug#7136).
8699
48e96771
LMI
8700 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8701 of keyword/argument pairs (bug#6904).
8702
c8af70e1
SM
8703 * replace.el (multi-occur):
8704 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8705
e17d05e2
LMI
87062011-07-02 Drew Adams <drew.adams@oracle.com>
8707
8708 * dired.el (dired-mark-if): Make the message about whether it's
8709 marking or unmarking clearer (bug#8523).
8710
063b0e45
LMI
87112011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8712
8713 * disp-table.el (display-table-print-array): New function.
8714 (describe-display-table): Use it to print the vectors more pretty
8715 (Bug#8859).
8716
28545e04
MR
87172011-07-02 Martin Rudalics <rudalics@gmx.at>
8718
8719 * window.el (window-state-get-1): Don't assign clone numbers.
8720 Add clone-of item to list of window parameters.
8721 (window-state-put-2): Don't process clone numbers.
8722 (display-buffer-alist): Fix doc-string.
8723
3349e122
SM
87242011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8725
8726 * subr.el (remq): Don't allocate if it's not needed.
8727 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8728 (keymap--merge-bindings): New functions.
8729 (keymap-canonicalize): Use them to refine the canonicalization.
8730 * minibuffer.el (minibuffer-local-completion-map)
8731 (minibuffer-local-must-match-map): Move initialization from C.
8732 (minibuffer-local-filename-completion-map): Move initialization from C;
8733 don't inherit from anything here.
8734 (minibuffer-local-filename-must-match-map): Make obsolete.
8735 (completing-read-default): Use make-composed-keymap to combine
8736 minibuffer-local-filename-completion-map with either
8737 minibuffer-local-must-match-map or
8738 minibuffer-local-filename-completion-map.
8739
d224ac83
GM
87402011-07-01 Glenn Morris <rgm@gnu.org>
8741
3de63bf8
GM
8742 * type-break.el (type-break-time-sum): Use dolist.
8743
d224ac83
GM
8744 * textmodes/flyspell.el (flyspell-word-search-backward):
8745 Replace CL function.
8746
1a1e3f32
SM
87472011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8748
fe3f64d5
SM
8749 * mouse.el (mouse--strip-first-event): New function.
8750 (function-key-map): Use it to map fringe clicks to normal clicks
8751 by default.
8752
eb604e34
SM
8753 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8754 (vc-bzr-revision-completion-table): Add support for annotate and date.
8755
1a1e3f32
SM
8756 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8757 inherit from parent.
8758
5bd35902
LMI
87592011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8760
ace6c69c 8761 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8762 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8763
191e2bed
LMI
8764 * dired.el (dired-mode): Fix up the doc string as suggested by
8765 Drew Adams (bug#8817).
8766
5bd35902
LMI
8767 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8768 cookie, since the manual says that it should be possible to add
8769 this function to `find-file-hook' (bug#8709).
8770
eee8207a
TZ
87712011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8772
8773 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8774 here. Noted Ted Zlatanov as the maintainer.
8775 (cfengine-common-settings, cfengine-common-syntax): New functions
8776 to set up common things between `cfengine-mode' and
8777 `cfengine3-mode'.
8778 (cfengine3-mode): New mode.
8779 (cfengine3-defuns cfengine3-defuns-regex
8780 (cfengine3-class-selector-regex cfengine3-category-regex)
8781 (cfengine3-vartypes cfengine3-font-lock-keywords)
8782 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8783 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8784
36b148cf
MA
87852011-07-01 Michael Albinus <michael.albinus@gmx.de>
8786
8787 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8788
8789 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8790
0bf4ba9a
MR
87912011-07-01 Martin Rudalics <rudalics@gmx.at>
8792
8793 * window.el (same-window-buffer-names, same-window-regexps)
8794 (same-window-p, special-display-frame-alist)
8795 (special-display-popup-frame, special-display-function)
8796 (special-display-buffer-names, special-display-regexps)
8797 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8798 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8799 (split-window-preferred-function, split-height-threshold)
8800 (split-width-threshold, even-window-heights)
8801 (display-buffer-mark-dedicated, window-splittable-p)
8802 (split-window-sensibly, window-safely-shrinkable-p):
8803 Un-obsolete.
8804 (display-buffer): Don't spread args with function specifier
8805 because special-display-popup-frame won't like it.
8806
35837f51
PE
88072011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8808
d0672f86
PE
8809 Time-stamp simplifications and fixes.
8810 These improve accuracy slightly, and future-proof the code
8811 against some potential changes to current-time format.
8812
b9444d97
PE
8813 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8814 by using time-since and float-time.
8815
0ef923dc
PE
8816 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8817 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8818 + NNN microseconds".
8819
2f81380d
PE
8820 * type-break.el (type-break-time-sum): Rewrite using time-add.
8821
845b5c3e
PE
8822 * play/hanoi.el (hanoi-current-time-float): Remove.
8823 All uses replaced by float-time.
8824
ee6f1be0
PE
8825 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8826 This yields a more-accurate answer.
8827 (rng-time-to-float): Remove; no longer needed.
8828
fe955043
PE
8829 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8830
5777162a
PE
8831 * calendar/timeclock.el (timeclock-seconds-to-time):
8832 Defalias to seconds-to-time, since they're the same thing.
8833
3103f8b6 8834 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8835 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8836 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8837
0e61a35f
SM
88382011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * window.el (bury-buffer): Don't iconify the only frame.
8841 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8842 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8843
ddd63a1e
CY
88442011-07-01 Chong Yidong <cyd@stupidchicken.com>
8845
0e61a35f
SM
8846 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8847 Add mouse-yank-primary.
ddd63a1e 8848
055f4923
TZ
88492011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8850
8851 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8852
6a2fb145
SM
88532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8856 (find-library-name): Use it to find relative load names when provided
8857 absolute file name (bug#8803).
8858
fd4983f2
LMI
88592011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8860
887d14ad
LMI
8861 * textmodes/flyspell.el (flyspell-word): Consider words that
8862 differ only in case as potential doublons (bug#5687).
8863
c53dc7fc
LMI
8864 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8865 Remove two rather uninteresting debugging-like messages to make
8866 debbugs.el more silent.
8867
fd4983f2
LMI
8868 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8869 a password-like phrase.
8870
7a71b18d 88712011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8872
8873 * progmodes/cc-guess.el: New file.
8874
6a2fb145 8875 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8876
8877 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8878 derived from `c-basic-common-init'.
8879
8880 * progmodes/cc-mode.el (top-level): Require cc-guess.
8881 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8882
1fa280a3
LM
88832011-06-30 Lawrence Mitchell <wence@gmx.li>
8884
8885 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8886
e6597158
AM
88872011-06-30 Alan Mackenzie <acm@muc.de>
8888
1fa280a3
LM
8889 * progmodes/cc-engine.el (c-guess-continued-construct):
8890 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8891 lock is disabled. Name this case as "CASE G".
8892
68ba37fb
KM
88932011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8894
8895 * allout.el (allout-yank-processing): Fix injection of extra space
8896 between bullet and non-whitespace character in first topic when
8897 pasting, ensuring that the actual spacing in the pasted topic
8898 following the bullet char is preserved. This extra space was
8899 causing pasted encrypted topics to get a decrypted status even
8900 when the content was actually still encrypted. Now the decryption
8901 status from before the paste is preserved.
8902
8903 (allout-flag-region): Set all allout overlays so they evaporate
8904 when reduced to zero length (evanescent), to prevent overlay
8905 leakage.
8906
887a0b34
GM
89072011-06-30 Glenn Morris <rgm@gnu.org>
8908
94b9acce
GM
8909 * w32-fns.el (w32-charset-info-alist): Declare.
8910
1d9b46d4
GM
8911 * find-dired.el (find-grep-options): Simplify.
8912
cc232200
GM
8913 * term/ns-win.el (ns-set-resource): Declare.
8914
28e77c46
GM
8915 * ses.el (row, col): Declare dynamic variables honestly.
8916
887a0b34
GM
8917 * textmodes/reftex-parse.el (index-tags): Declare.
8918
658d8eb8
CY
89192011-06-30 Chong Yidong <cyd@stupidchicken.com>
8920
8921 * cus-edit.el (customize-push-and-save): New function.
8922
8923 * files.el (hack-local-variables-confirm): Use it.
8924
1fa280a3
LM
8925 * custom.el (load-theme): New arg NO-CONFIRM.
8926 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8927 (custom-enabled-themes): Doc fix.
8928
8929 * cus-theme.el (customize-create-theme)
8930 (custom-theme-merge-theme): Callers to load-theme changed.
8931
bb617717
LMI
89322011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8933
d61bdd5d
LMI
8934 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8935 short URLs have at least one dot in them (bug #7614).
8936
bb617717
LMI
8937 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8938 nil, because using a pty is apparently too slow (bug #895).
8939
2f31f37a
LMI
89402011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8941
8942 * mail/sendmail.el (sendmail-query-once): New function.
8943 (sendmail-query-once-function): New variable.
8944
3076b24e
GM
89452011-06-29 Glenn Morris <rgm@gnu.org>
8946
faf2a174
GM
8947 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8948
3076b24e
GM
8949 * ses.el (top-level): Require cl when compiling.
8950 (ses-set-localvars): Fix error statement.
8951 Call it at compile time to silence a storm of warnings.
8952
5386012d
MR
89532011-06-29 Martin Rudalics <rudalics@gmx.at>
8954
8955 * window.el (normalize-live-buffer): Rename to
8956 window-normalize-buffer.
8957 (normalize-live-frame): Rename to window-normalize-frame.
8958 (normalize-any-window): Rename to window-normalize-any-window.
8959 (normalize-live-window): Rename to window-normalize-live-window.
8960 (make-window-atom): Rename to window-make-atom.
8961 (window-resize-reset): Rename to window--resize-reset.
8962 (window-resize-reset-1): Rename to window--resize-reset-1.
8963 (resize-mini-window): Rename to window--resize-mini-window.
8964 (resize-subwindows-skip-p): Rename to
8965 window--resize-subwindows-skip-p.
8966 (resize-subwindows-normal): Rename to
8967 window--resize-subwindows-normal.
8968 (resize-subwindows): Rename to window--resize-subwindows.
8969 (resize-other-windows): Rename to window--resize-siblings.
8970 (resize-this-window): Rename to window--resize-this-window.
8971 (resize-root-window): Rename to window--resize-root-window.
8972 (resize-root-window-vertically): Rename to
8973 window--resize-root-window-vertically.
8974 (normalize-buffer-to-display): Rename to
8975 window-normalize-buffer-to-display.
8976 (normalize-buffer-to-switch-to): Rename to
8977 window-normalize-buffer-to-switch-to.
8978 Correspondingly update all callers of the functions listed
8979 above.
8980 (display-buffer-alist, display-buffer-normalize-arguments)
8981 (display-buffer-normalize-options, display-buffer)
8982 (display-buffer-alist-set): Use "function" instead of
8983 "fun-with-args".
8984
1176868d
CY
89852011-06-28 Chong Yidong <cyd@stupidchicken.com>
8986
8987 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8988 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8989 debbugs.gnu.org. Mention acknowledgment email.
8990
20a7a65f
LMI
89912011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8992
8993 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8994 buffer multibyteness, since it shouldn't matter.
8995
5f45cca5
MR
89962011-06-28 Martin Rudalics <rudalics@gmx.at>
8997
8998 * window.el (display-buffer-in-side-window): Handle dedicated
8999 windows as in display-buffer-reuse-window.
9000 (display-buffer-normalize-alist): Use value of override
9001 specifier.
9002 (display-buffer-normalize-specifiers): Use value of
9003 other-window-means-other-frame specifier.
9004 (display-buffer-alist): Rewrite some texts in widgets.
9005 (display-buffer): Spread arguments when calling function
9006 specified by fun-with-args.
9007
ad85fe1f
DD
90082011-06-28 Deniz Dogan <deniz@dogan.se>
9009
1fa280a3
LM
9010 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9011 Unnest `let'.
da68c4c8 9012
ad85fe1f
DD
9013 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9014 selectors (Bug#5732).
ec49bd31 9015 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9016
a08cc025
JA
90172011-06-27 Jari Aalto <jari.aalto@cante.net>
9018
9019 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9020 (eshell-ls-date-format): New defcustom.
9021 (eshell-ls-file): Use it.
9022
e2b551c5
SM
90232011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9024
9025 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9026
8982b231
KY
90272011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9028
9029 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9030 (ange-ftp-make-tmp-name): New arg.
9031 (ange-ftp-file-local-copy): Use it.
9032
36c9fa27
J
90332011-06-27 Jambunathan K <kjambunathan@gmail.com>
9034
9035 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9036 no-conversion (Bug#8870).
9037
d68443dc
MR
90382011-06-27 Martin Rudalics <rudalics@gmx.at>
9039
9040 * window.el (window-right, window-left, window-child)
9041 (window-child-count, window-last-child)
9042 (window-iso-combination-p, walk-window-tree-1)
9043 (window-atom-check-1, window-tree-1, delete-window)
9044 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9045 new naming conventions - window-vchild, window-hchild,
9046 window-next and window-prev are now called window-top-child,
9047 window-left-child, window-next-sibling and window-prev-sibling
9048 respectively.
d615d6d2
MR
9049 (resize-window-reset): Rename to window-resize-reset.
9050 (resize-window-reset-1): Rename to window-resize-reset-1.
9051 (resize-window): Rename to window-resize.
9052 (window-min-height, window-min-width)
9053 (resize-mini-window, resize-this-window, resize-root-window)
9054 (resize-root-window-vertically, adjust-window-trailing-edge)
9055 (enlarge-window, shrink-window, maximize-window)
9056 (minimize-window, delete-window, quit-restore-window)
9057 (split-window, balance-windows, balance-windows-area-adjust)
9058 (balance-windows-area, window-state-put-2)
9059 (display-buffer-even-window-sizes, display-buffer-set-height)
9060 (display-buffer-set-width, set-window-text-height)
9061 (fit-window-to-buffer): Rename all "resize-window" prefixed
9062 calls to use the "window-resize" prefix convention.
9063 (display-buffer-alist): Fix symbol for label specifier.
9064 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9065 corresponding specifier.
9066 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9067
b6458526
VB
90682011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9069
9070 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9071 convention.
9072 (ses-call-printer): Does not pass an empty string to formatter when the
9073 cell is empty to keep from barking printer Calc math-format-value.
9074
d31fd9ac
RS
90752011-06-27 Richard Stallman <rms@gnu.org>
9076
43d5bf84
RS
9077 * battery.el (battery-mode-line-limit): New variable.
9078 (battery-update): Handle it.
9079
d31fd9ac
RS
9080 * mail/rmailmm.el (rmail-mime-process-multipart):
9081 Handle truncated messages.
9082
819a6054
GM
90832011-06-27 Glenn Morris <rgm@gnu.org>
9084
9085 * progmodes/flymake.el (flymake-err-line-patterns):
9086 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9087
cedc73f2
VB
90882011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9089
819a6054 9090 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9091 (ses--clean-!, ses--clean-_): New functions.
9092 (ses-range): Add configurability of readout order, and conversion
9093 to Calc vector.
9094
5e5d49b6
VB
9095 * ses.el (ses-repair-cell-reference-all): New function.
9096 (ses-cell-symbol): Set macro as safe, so that it can be used in
9097 formulas.
9098
56e6cc31 9099 * ses.el: Update cycle detection algorithm.
90ca8b49 9100 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9101 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9102 (ses-set-localvars): New function.
9103 (ses-make-cell): Add property-list as a cell element.
9104 (ses-cell-property-get-fun, ses-cell-property-get)
9105 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9106 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9107 New functions.
90ca8b49
VB
9108 (ses-cell-property-set, ses-cell-property-pop)
9109 (ses-cell-property-get-handle): New macro.
9110 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9111 New aliases, used for code readability.
9112 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9113 cycle detection.
9114 (ses-self-reference-early-detection): New defcustom.
fac916bf 9115 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9116 (ses-mode): Use ses-set-localvars.
9117 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9118 before lauching the update processing.
9119 (ses-initialize-Dijkstra-attempt): New function.
9120 (ses-recalculate-cell): Update for cycle detection based on
9121 Dijkstra algorithm.
9122
2bb63e81
VB
9123 * ses.el: Fix commenting and indenting convention.
9124
c9d29fb8
SM
91252011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 * bs.el (bs-cycle-next): Complete last change.
9128
d8e4b68b
JB
91292011-06-27 Drew Adams <drew.adams@oracle.com>
9130
9131 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9132
40098786
LMI
91332011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9134
c9d29fb8
SM
9135 * net/network-stream.el (network-stream-open-starttls):
9136 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9137 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9138
40098786
LMI
9139 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9140 to binary to possibly avoid line encoding issues on Windows (among
9141 other things).
9142
468d09d4
LMI
91432011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9144
9145 * net/network-stream.el (open-network-stream): Return an :error
9146 saying what the problem was, if possible.
9147
9148 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9149 server.
9150
9151 * net/network-stream.el (network-stream-open-starttls): If we
9152 wanted to use STARTTLS, and the server offered it, but we weren't
9153 able to because we had no STARTTLS support, then close the connection.
9154 (open-network-stream): Return an :error element, if present.
9155
16f07dd7
CY
91562011-06-26 Chong Yidong <cyd@stupidchicken.com>
9157
88821ca0
CY
9158 * hl-line.el (hl-line-sticky-flag): Doc fix.
9159 (global-hl-line-sticky-flag): New option (Bug#8323).
9160 (global-hl-line-highlight): Obey it.
9161
16f07dd7
CY
9162 * vc/vc.el (vc-revert-show-diff): Default to t.
9163
6b5ccddf
KM
91642011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9165
c9d29fb8
SM
9166 * allout-widgets.el (allout-widgets-post-command-business):
9167 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9168 undecorated when an isearch is continued past, and isearch
9169 automatically collapses them. This leads to "widget leaks", where
9170 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9171 hidden widgets can slow down cursor travel, substantially.
9172 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9173 so we're doing without this nicety.
9174
9175 (allout-widgets-tally-string): Don't try to do a hash-table-count
9176 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9177 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9178 *Messages* when allout-widgets-maintain-tally is t.
9179
355f2e07
MR
91802011-06-26 Martin Rudalics <rudalics@gmx.at>
9181
9182 * window.el (display-buffer-normalize-argument): Rename to
9183 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9184 LABEL argument. Respect special-display-function when popping up
9185 a new frame. Fix code searching for a window showing the buffer
9186 on another frame.
c9d29fb8
SM
9187 (display-buffer-normalize-specifiers):
9188 Call display-buffer-normalize-arguments.
355f2e07
MR
9189 (display-buffer-in-window): Don't undedicate the window if its
9190 buffer remains the same.
9191 Reported by Drew Adams <drew.adams@oracle.com>.
9192 (display-buffer-alist): Add choice for same-window macro
9193 specfier.
9194 (display-buffer): Mention special meaning of LABEL argument in
9195 doc-string. Fix quoting. Don't pop up a new frame even as
9196 fallback.
9197
7ca8fc42
JB
91982011-06-26 Juanma Barranquero <lekktu@gmail.com>
9199
9200 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9201 avoid deleting the current window in some cases (bug#8911).
9202
bc312254
AS
92032011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9204
9205 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9206 (Bug#8934)
9207
2db18f3f
LMI
92082011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9209
c9d29fb8
SM
9210 * net/network-stream.el (network-stream-open-starttls):
9211 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9212 (network-stream-open-tls): Ditto.
9213
6302e0d3
LL
92142011-06-26 Leo Liu <sdl.web@gmail.com>
9215
9216 * register.el (registerv): New struct.
9217 (registerv-make): New function.
c9d29fb8
SM
9218 (jump-to-register, describe-register-1, insert-register):
9219 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9220 struct. (Bug#8415)
9221
5fdd4046
CY
92222011-06-26 Chong Yidong <cyd@stupidchicken.com>
9223
2afef60a
CY
9224 * vc/vc.el (vc-revert-show-diff): New defcustom.
9225 (vc-diff-internal): New arg specifying diff buffer.
9226 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9227 reuse an existing *vc-diff* buffer (Bug#8927).
9228
5fdd4046
CY
9229 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9230
e93db24a
GM
92312011-06-26 Glenn Morris <rgm@gnu.org>
9232
9233 * progmodes/f90.el (f90-critical-indent): New option.
9234 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9235 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9236 (f90-mode): Doc fix.
9237 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9238 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9239 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9240 (f90-match-end): Handle block, critical.
9241
eefff499
GM
92422011-06-25 Glenn Morris <rgm@gnu.org>
9243
f6ba4cc9
GM
9244 * calendar/diary-lib.el (diary-included-files): Doc fix.
9245 (diary-include-files): New function, extracted from
9246 diary-include-other-diary-files and diary-mark-included-diary-files.
9247 (diary-include-other-diary-files, diary-mark-included-diary-files):
9248 Just call diary-include-files.
9249 (diary-mark-entries): Reset diary-included-files on first call.
9250
16712304
GM
9251 * calendar/diary-lib.el (diary-mark-entries)
9252 (diary-mark-included-diary-files):
9253 Visit included diary-files in temp buffers.
9254
5d8e0d43
GM
9255 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9256 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9257 (f90-start-block-re, f90-imenu-generic-expression)
9258 (f90-looking-at-program-block-start, f90-no-block-limit):
9259 Add support for submodules.
9260
ccf7a5d5
GM
9261 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9262 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9263
11fdef7d 92642011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9265
9266 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9267 buffer-file-type before setting its value, to avoid disastrous
eefff499 9268 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9269
74f53697
JB
92702011-06-25 Juanma Barranquero <lekktu@gmail.com>
9271
9272 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9273
9274 * ses.el (ses-unload-function):
9275 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9276
9277 * proced.el (proced-unload-function):
9278 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9279
18a4ce5e
AR
92802011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9281
9282 * server.el (server-create-window-system-frame): Add parameters arg.
9283 (server-process-filter): Doc fix. Handle frame-parameters.
9284
519d22cc
JB
92852011-06-25 Juanma Barranquero <lekktu@gmail.com>
9286
9287 Fix bug#8730, bug#8781.
9288
9289 * loadhist.el (unload--set-major-mode): New function.
9290 (unload-feature): Use it.
9291
9292 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9293 (python-unload-function): New function.
9294
c206f5b0
SM
92952011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9298
f9ad64f3
GS
92992011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9300
9301 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9302 the candidates list.
9303
7d0da90e
JB
93042011-06-24 Juanma Barranquero <lekktu@gmail.com>
9305
9306 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9307
14b4e83d
RS
93082011-06-23 Richard Stallman <rms@gnu.org>
9309
9310 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9311 (rmail-variables): Set next-error-move-function.
9312 (rmail-what-message): Take argument POS.
9313 (rmail-next-error-move): New function.
9314
273d2baf
SM
93152011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9316
9317 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9318 messages for adjacent non-terminals.
9319
56c2cc9a
RS
93202011-06-23 Richard Stallman <rms@gnu.org>
9321
9322 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9323 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9324 (rmail-start-mail): Don't specify use of rmail-mail-return;
9325 that's done by mail-bury now.
9326 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9327
d59eb518
MA
93282011-06-23 Michael Albinus <michael.albinus@gmx.de>
9329
9330 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9331 SIZE is a number.
9332
02cfc6d6
MR
93332011-06-23 Martin Rudalics <rudalics@gmx.at>
9334
9335 * window.el (get-lru-window, get-mru-window)
9336 (get-largest-window): Never return a minibuffer window.
9337 (display-buffer-pop-up-window): Fix a bug that could lead to
9338 reusing the minibuffer window.
9339 (display-buffer): Pass original specifier argument to
9340 display-buffer-function instead of the normalized one.
9341 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9342
4e323265
LL
93432011-06-22 Leo Liu <sdl.web@gmail.com>
9344
9345 * minibuffer.el (completing-read-function)
9346 (completing-read-default): Move from minibuf.c
9347
7a70468f
RS
93482011-06-22 Richard Stallman <rms@gnu.org>
9349
50718fc2
RS
9350 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9351 to Rmail even if not started by a special Rmail command.
9352
7a70468f
RS
9353 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9354 Copy the buffer currently showing just one message.
9355
297dde5a
RW
93562011-06-22 Roland Winkler <winkler@gnu.org>
9357
9358 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9359 (bibtex-clean-entry): First delete the old key so that a
9360 customized algorithm for generating the new key does not get
9361 confused by the old key.
9362 (bibtex-url): Obey regexp of first step.
9363 (bibtex-search-entries): Do not use add-to-list with local
9364 list-var.
9365
97bb1093
LMI
93662011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9367
9368 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9369 stored a user name, then query for the password first, instead of
9370 waiting for SMTP to give an error message and the trying again.
9371
1c0f1a19
JD
93722011-06-22 Lawrence Mitchell <wence@gmx.li>
9373
9374 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9375 BUFFER in call-process.
9376
396f7c9d
LMI
93772011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9378
9379 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9380 QUIT twice.
ddb7ffee
LMI
9381 (smtpmail-try-auth-methods): Require user name and password from
9382 auth-source.
396f7c9d 9383
8998d1b3
MR
93842011-06-22 Martin Rudalics <rudalics@gmx.at>
9385
9386 * window.el (display-buffer-default-specifiers)
9387 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9388 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9389 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9390
9391 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9392 (special-display-frame-alist, special-display-popup-frame):
9393 Remove duplicate declarations. These are now in window.el.
9394
4ea31e07
LMI
93952011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9396
c9d29fb8
SM
9397 * mail/smtpmail.el (smtpmail-via-smtp):
9398 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9399 server supports it. SMTP servers that support STARTTLS commonly
9400 require it.
9401
9402 * net/network-stream.el (network-stream-open-starttls): Support
9403 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9404 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9405
95f41d9a
LMI
9406 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9407 upgrades with `open-network-stream', and rely solely on
9408 auth-source for all credentials. Big changes throughout the file,
9409 but in particular:
c9d29fb8
SM
9410 (smtpmail-auth-credentials): Remove.
9411 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9412 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9413 MAIL FROM, too.
95f41d9a 9414
c9d29fb8
SM
9415 * net/network-stream.el (network-stream-open-starttls):
9416 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9417 STARTTLS.
9418 (auth-source): Require.
9419 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9420 (network-stream-certificate): Change cert-cert to cert and
9421 cert-key to key.
4ea31e07 9422
065ec2c7
MA
94232011-06-21 Michael Albinus <michael.albinus@gmx.de>
9424
9425 * net/tramp-cache.el (top): Don't load the persistency file when
9426 "emacs -Q" has been called.
9427
cd93b359
DR
94282011-06-21 Tim Harper <timcharper@gmail.com>
9429
d8e4b68b
JB
9430 * term/ns-win.el (ns-initialize-window-system):
9431 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9432 resource to NO as it is not yet supported by the NS port.
9433
ae9c0411
JB
94342011-06-21 Juanma Barranquero <lekktu@gmail.com>
9435
9436 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9437 (list-dynamic-libraries): ...not here.
9438
7f3f739f
LL
94392011-06-21 Leo Liu <sdl.web@gmail.com>
9440
9441 * subr.el (sha1): Implement sha1 using secure-hash.
9442
327c8fb1
MR
94432011-06-21 Martin Rudalics <rudalics@gmx.at>
9444
9445 * window.el (display-buffer-alist): In default value do not
9446 enforce searching a window on any but the selected frame.
9447 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9448 (display-buffer-select-window): Remove function.
9449 (display-buffer-in-window): When a window on another frame gets
9450 reused, do not select it any more but just raise its frame if
9451 necessary (Bug#8851) and (Bug#8856).
9452 (display-buffer-normalize-options): Handle pop-up-frames related
9453 options more faithfully.
9454 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9455 window if it is on another frame.
c9d29fb8
SM
9456 (display-buffer-alist, display-buffer-default-specifiers):
9457 Don't make new frame unsplittable by default.
9e9de014
MR
9458 (display-buffer-normalize-argument): Fix doc-string typo and use
9459 'same-frame-other-window instead of 'other-window when associating
9460 with display-buffer-macro-specifiers.
327c8fb1 9461
7cf3f556
VB
94622011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9463
9464 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9465 New functions.
9466 (5x5-mode-map, 5x5-mode-menu): Bind them.
9467 (5x5-draw-grid): Tweak the solver's rendering.
9468
60a406cf
SM
94692011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9470
9471 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9472 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9473
d8e4b68b 94742011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9475
9476 * menu-bar.el: Use function variable instead of switch-to-buffer.
9477 (menu-bar-select-buffer-function): New variable.
60a406cf 9478 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9479
478d6f95
SM
94802011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9481
9482 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9483 variable's status.
9484
ca530739
JD
94852011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9486
9487 * x-dnd.el (x-dnd-version-from-flags)
9488 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9489 and long as number (Bug#8899).
9490 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9491
bcd70d97
SM
94922011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9493
60a406cf 9494 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9495 (completion-try-completion, completion-all-completions): Compute the
9496 metadata argument if it's missing; make it optional (bug#8795).
9497
60a406cf 9498 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9499 (widget-complete): Use new :completion-function property.
9500 (widget-completions-at-point): New function.
9501 (default): Use :completion-function instead of :complete.
60a406cf
SM
9502 (widget-default-completions): Rename from widget-default-complete;
9503 Rewrite.
bcd70d97
SM
9504 (widget-string-complete, widget-file-complete, widget-color-complete):
9505 Remove functions.
9506 (file, symbol, function, variable, coding-system, color):
9507 * international/mule-cmds.el (default-input-method, charset)
9508 (language-info-custom-alist):
9509 * cus-edit.el (face): Use new property :completions.
9510
9511 * progmodes/pascal.el (pascal-completions-at-point): New function.
9512 (pascal-mode): Use it.
9513 (pascal-mode-map): Use completion-at-point.
9514 (pascal-toggle-completions): Make obsolete.
9515 (pascal-complete-word, pascal-show-completions):
9516 * progmodes/octave-mod.el (octave-complete-symbol):
9517 Redefine as obsolete alias.
9518 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9519 Signal absence of completion info for old Octave,
9520 (inferior-octave-complete): Redefine as obsolete alias.
9521 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9522 (meta-completions-at-point): Rename from meta-complete-symbol and
9523 adapt it for use on completion-at-point-functions.
9524 (meta-common-mode): Use it.
9525 (meta-looking-at-backward, meta-match-buffer): Remove.
9526 (meta-complete-symbol): Redefine as obsolete alias.
9527 (meta-common-mode-map): Use completion-at-point.
9528 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9529 (makefile-mode-map): Use completion-at-point.
9530 (makefile-completions-at-point): Rename from makefile-complete and
9531 adapt it for use on completion-at-point-functions.
9532 (makefile-mode): Use it.
9533 (makefile-complete): Redefine as obsolete alias.
9534
aebf69c8
DD
95352011-06-20 Deniz Dogan <deniz@dogan.se>
9536
9537 * net/rcirc.el: Delete trailing whitespaces once and for all.
9538
bfbbb27d
DC
95392011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9540
9541 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9542
d264a46b
CY
95432011-06-19 Chong Yidong <cyd@stupidchicken.com>
9544
4ca009e5
CY
9545 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9546
d264a46b
CY
9547 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9548
fbf5b3ce
MR
95492011-06-19 Martin Rudalics <rudalics@gmx.at>
9550
9551 * window.el (display-buffer-other-window-means-other-frame):
9552 Call display-buffer-normalize-alist.
9553 (display-buffer-normalize-specifiers-1): Rename to
9554 display-buffer-normalize-argument. New argument other-frame.
9555 Rewrite.
9556 (display-buffer-normalize-specifiers-2): Rename to
9557 display-buffer-normalize-options.
9558 (display-buffer-normalize-alist-1): New function.
9559 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9560 display-buffer-normalize-alist.
9561 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9562 (display-buffer-normalize-options-inhibit): New variable.
9563 (display-buffer-normalize-specifiers): Rewrite calling
9564 display-buffer-normalize-alist,
9565 display-buffer-normalize-argument, and
9566 display-buffer-normalize-options. Don't call the latter if
9567 display-buffer-normalize-options-inhibit is non-nil.
9568 (frame-auto-delete): New option.
9569 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9570 (window-list-no-nils, window-state-ignored-parameters)
9571 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9572 (window-state-put-1, window-state-put-2, window-state-put):
9573 New functions.
9a028c23
MR
9574 (display-buffer-normalize-options): Move special-display-p group
9575 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9576
6d10d800
CY
95772011-06-18 Chong Yidong <cyd@stupidchicken.com>
9578
6420d28b
CY
9579 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9580 groups (Bug#8776).
9581 (rx-submatch-n): New function.
9582 (rx): Document it.
9583
ddb8b596
CY
9584 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9585 (Bug#8768).
9586
9587 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9588
77080289
CY
9589 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9590
61dfb316
CY
9591 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9592 anytime existing face settings are present (Bug#8889).
9593
6d10d800
CY
9594 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9595 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9596 Remove unused argument.
9597
be3fb2b8
MR
95982011-06-18 Martin Rudalics <rudalics@gmx.at>
9599
bcd70d97
SM
9600 * window.el (display-buffer-default-specifiers):
9601 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9602 pop-up-window-min-width, and another reuse-window specifier
9603 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9604 (display-buffer-normalize-specifiers-2):
9605 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9606 pop-up-windows is unset. Add a reuse-window specifier for the
9607 case popping up a new window fails.
9608 (special-display-popup-frame): Remove double quoting.
28dec25a 9609 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9610
1c6d8c76
SM
96112011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9612
9613 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9614 according to comint-completion-addsuffix.
9615
9616 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9617 (pcomplete-suffix-list): Mark as obsolete.
9618 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9619 pcomplete-seen in the closure.
9620 (pcomplete-comint-setup): Setup completion-at-point as well.
9621 (pcomplete--entries): New function.
9622 (pcomplete--env-regexp): New var.
9623 (pcomplete-entries): Rewrite to work with partial-completion and
9624 without relying on pcomplete-suffix-list.
9625 (pcomplete-pare-list): Remove, unused.
9626
25aef8b8
MR
96272011-06-17 Martin Rudalics <rudalics@gmx.at>
9628
9629 * window.el (display-buffer-alist): Set pop-up-window-min-height
9630 and pop-up-window-min-width in default value. Reported by
9631 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9632 other-window-means-other-frame.
9633 (display-buffer-macro-specifiers): Comment out entry for
9634 other-window specifier.
9635 (display-buffer-other-window-means-other-frame): New function.
9636 (display-buffer-normalize-specifiers-1): New arguments
9637 buffer-name and label. Treat other-window case specially.
9638 (display-buffer-normalize-specifiers-2): Treat other-window case
9639 specially.
9640 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9641 (display-buffer-normalize-specifiers):
9642 Call display-buffer-normalize-specifiers-3.
25aef8b8 9643
dbad4f69
MR
96442011-06-17 Martin Rudalics <rudalics@gmx.at>
9645
9646 * window.el (same-window-p): Fix two typos introduced when
9647 adding with-no-warnings.
d1067961
MR
9648 (display-buffer-normalize-specifiers-1): Don't check
9649 pop-up-frames for 'unset initialization.
9650 (display-buffer-normalize-specifiers-2): Major rewrite using
9651 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9652 (pop-up-frames, display-buffer-reuse-frames)
9653 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9654 Suggested by David Engster <deng@randomsample.de>.
9655 (even-window-heights): Initialize to 'unset.
9656 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9657 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9658 other window case.
dbad4f69 9659
9b9c9e3a
MR
96602011-06-16 Martin Rudalics <rudalics@gmx.at>
9661
bcd70d97
SM
9662 * window.el (display-buffer-normalize-specifiers-1):
9663 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9664 second argument of display-buffer (Bug#8865).
981d5c09
MR
9665 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9666 (switch-to-buffer-other-window-same-frame)
9667 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9668 Adams (Bug#8875).
9c2755e9
MR
9669 (display-buffer): Don't check noninteractive when calling
9670 display-buffer-pop-up-frame.
9671 (display-buffer-pop-up-frame): Never pop up a frame in
9672 noninteractive mode (Bug#8857).
67222e1d
MR
9673 (enlarge-window, shrink-window): Don't report an error when the
9674 window can't be resized as requested (Bug#8862).
9b9c9e3a 9675
2b75be67
SM
96762011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9677
9ffdd3ba
SM
9678 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9679
cb581a67
SM
9680 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9681
2b75be67
SM
9682 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9683
8c0e3589
AM
96842011-06-15 Alan Mackenzie <acm@muc.de>
9685
cb581a67
SM
9686 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9687 for declarators, disable knr checking to speed up for normal files.
9688 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9689
b96e6cde
LMI
96902011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9691
4bba86e6
LMI
9692 * net/network-stream.el (open-network-stream): Add the keyword
9693 :always-query-capabilities for the case where you want to force a
9694 `plain' network connection, but the protocol still requires the
9695 capabilitiy command (i.e., SMTP and EHLO).
9696
2b75be67 9697 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9698 consistency with other `-live-p' functions.
9699
efdcdbf8
SM
97002011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9701
9702 * window.el (same-window-buffer-names, same-window-regexps)
9703 (special-display-frame-alist, special-display-popup-frame)
9704 (special-display-function, special-display-buffer-names)
9705 (special-display-regexps, pop-up-frame-alist)
9706 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9707 (pop-up-windows, split-window-preferred-function)
9708 (split-height-threshold, split-width-threshold, even-window-heights)
9709 (display-buffer-mark-dedicated): Don't encourage the use of
9710 display-buffer-alist from Elisp code.
9711
c5cde042
DN
97122011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9713
9714 * progmodes/python.el (python-mode): Derive from prog-mode.
9715 * progmodes/ps-mode.el (ps-mode):
9716 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9717 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9718 * progmodes/ld-script.el (ld-script-mode): Likewise.
9719
baa1c9ab
MR
97202011-06-15 Martin Rudalics <rudalics@gmx.at>
9721
9722 * window.el (display-buffer-alist): Trim default value to avoid
9723 popping up a new frame (Bug#8857) or reusing an arbitrary window
9724 on another frame.
9725 (display-buffer): Do not fall back on popping up a new frame in
9726 batch mode (Bug#8857).
9727
c5dd5a51
CY
97282011-06-14 Chong Yidong <cyd@stupidchicken.com>
9729
9730 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9731 (custom-theme-summary): New function.
9732 (customize-themes): Use it.
9733
d647b7c4
GM
97342011-06-13 Glenn Morris <rgm@gnu.org>
9735
9736 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9737
9481c002
MR
97382011-06-13 Martin Rudalics <rudalics@gmx.at>
9739
357f93d2
MR
9740 * help.el (help-window): Remove variable.
9741 (help-window-point-marker, temp-buffer-max-height)
9742 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9743 (help-print-return-message): Don't set help-window.
9744 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9745 (help-window-setup-finish): Remove.
9746 (help-window-display-message, help-window-setup)
9747 (with-help-window): Major rewrite based on new
9748 display-buffer-window variable.
9749
9750 * help-mode.el (help-mode-finish): Remove help-window related
9751 code.
9752
9753 * view.el (view-exits-all-viewing-windows): Remove reference to
9754 view-return-to-alist in doc-string.
9755 (view-return-to-alist): Make obsolete.
9756 (view-buffer): Call pop-to-buffer-same-window and remove
9757 undo-window code.
9758 (view-buffer-other-window): Call pop-to-buffer-other-window and
9759 simplify code. Ignore second argument.
9760 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9761 simplify code. Ignore second argument.
9762 (view-return-to-alist-update): Make obsolete.
9763 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9764 Rewrite using quit-restore window parameters.
2b75be67
SM
9765 (view-mode-exit): Rename second argument to EXIT-ONLY.
9766 Rewrite using quit-restore-window.
357f93d2
MR
9767 (View-exit, View-exit-and-edit, View-leave, View-quit)
9768 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9769 appropriate arguments.
9770 (view-end-message): Use quit-restore window parameter.
9771
9481c002
MR
9772 * window.el (display-buffer-function): Rewrite doc-string.
9773 (display-buffer-window, display-buffer-alist): New variables.
9774 (display-buffer-split-specifiers)
9775 (display-buffer-side-specifiers)
9776 (display-buffer-macro-specifiers): New constants.
9777 (display-buffer-even-window-sizes, display-buffer-set-height)
9778 (display-buffer-set-width, display-buffer-select-window)
9779 (display-buffer-in-window, display-buffer-reuse-window)
9780 (display-buffer-split-window-1, display-buffer-split-window)
9781 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9782 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9783 (display-buffer-in-side-window, normalize-buffer-to-display)
9784 (display-buffer-normalize-specifiers-1)
9785 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9786 (display-buffer-normalize-specifiers, display-buffer-frame):
9787 New functions.
9481c002
MR
9788 (display-buffer): Major rewrite.
9789 (display-buffer-other-window, display-buffer-other-frame)
9790 (pop-to-buffer, switch-to-buffer-other-window)
9791 (switch-to-buffer-other-frame): Rewrite.
9792 (display-buffer-same-window, display-buffer-same-frame)
9793 (display-buffer-same-frame-other-window)
9794 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9795 (pop-to-buffer-other-window)
9796 (pop-to-buffer-same-frame-other-window)
9797 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9798 (switch-to-buffer-other-window-same-frame): New functions.
9799 (same-window-p, special-display-p): Rewrite disabling warnings.
9800 Make obsolete.
9801 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9802 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9803 Make obsolete
9804 (same-window-buffer-names, same-window-regexps)
9805 (special-display-frame-alist, special-display-popup-frame)
9806 (special-display-function, special-display-buffer-names)
9807 (special-display-regexps, pop-up-frame-alist)
9808 (pop-up-frame-function, split-window-preferred-function)
9809 (split-height-threshold, split-width-threshold)
9810 (even-window-heights): Make obsolete.
9811
9db51aca
GM
98122011-06-12 Glenn Morris <rgm@gnu.org>
9813
9814 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9815 Misc simplifications.
9db51aca 9816
39cffb44
MR
98172011-06-12 Martin Rudalics <rudalics@gmx.at>
9818
9819 * window.el (window-safely-shrinkable-p): Restore function which
9820 was inadvertently removed in change from 2011-06-11. Declare as
9821 obsolete.
9822
2b75be67
SM
9823 * calendar/calendar.el (calendar-generate-window):
9824 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9825 window-safely-shrinkable-p.
9826
a8955be7
GM
98272011-06-12 Glenn Morris <rgm@gnu.org>
9828
9829 * progmodes/fortran.el (fortran-mode-syntax-table):
9830 * progmodes/f90.el (f90-mode-syntax-table):
9831 Set % to punctuation. (Bug#8820)
9832 (f90-find-tag-default): Remove, no longer needed.
9833
f0d4059d
DC
98342011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9835
9836 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9837
1100a63c
CY
98382011-06-11 Chong Yidong <cyd@stupidchicken.com>
9839
9840 * image.el (image-animated-p): Return animation delay in seconds.
9841 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9842 (image-animate-timeout): Remove DELAY argument. Don't assume
9843 every subimage has the same delay; get it from image-animated-p.
9844 (image-animate): Caller changed.
9845
def722bf
MA
98462011-06-11 Michael Albinus <michael.albinus@gmx.de>
9847
9848 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9849 to ignored backtrace functions.
9850
0a2bb1a9
GM
98512011-06-11 Glenn Morris <rgm@gnu.org>
9852
9853 * calendar/appt.el (appt-disp-window-function): Doc fix.
9854 (appt-check): Handle overlapping appointments. (Bug#8337)
9855
6198ccd0
MR
98562011-06-11 Martin Rudalics <rudalics@gmx.at>
9857
9858 * window.el (window-tree-1, window-tree): New functions, moving
9859 the latter to window.el.
9860 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9861 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9862 (bw-refresh-edges): Remove.
9863 (balance-windows-1, balance-windows-2): New functions.
9864 (balance-windows): Rewrite in terms of window tree functions,
9865 balance-windows-1 and balance-windows-2.
9866 (bw-adjust-window): Remove.
9867 (balance-windows-area-adjust): New function with functionality of
9868 bw-adjust-window but using resize-window.
2b75be67
SM
9869 (set-window-text-height): Rewrite doc-string.
9870 Use normalize-live-window and resize-window.
9871 (enlarge-window-horizontally, shrink-window-horizontally):
9872 Rename argument to DELTA.
6198ccd0
MR
9873 (window-buffer-height): New function.
9874 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9875 Rewrite using new window resize routines.
2b75be67
SM
9876 (kill-buffer-and-window, mouse-autoselect-window-select):
9877 Use ignore-errors instead of condition-case.
6198ccd0
MR
9878 (quit-window): Call delete-frame instead of delete-windows-on
9879 for the only buffer on frame.
9880
9397e56f
MR
98812011-06-10 Martin Rudalics <rudalics@gmx.at>
9882
9883 * loadup.el (top-level): Load window before files for the sake
9884 of replace-buffer-in-windows.
9885
9886 * files.el (read-buffer-to-switch)
9887 (switch-to-buffer-other-window)
2b75be67
SM
9888 (switch-to-buffer-other-frame, display-buffer-other-frame):
9889 Move to window.el.
9397e56f
MR
9890
9891 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9892 (previous-buffer): Move to window.el.
9893
9894 * bindings.el (unbury-buffer): Move to window.el.
9895
9896 * window.el (delete-other-windows-vertically): Move after
9897 definition of delete-other-windows.
9898 (other-window, delete-windows-on, replace-buffer-in-windows):
9899 Move here from window.c.
9900 (record-window-buffer, unrecord-window-buffer)
9901 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9902 (switch-to-next-buffer): New functions.
9903 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9904 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9905 (previous-buffer): Move here from simple.el.
9906 Call switch-to-prev-buffer.
9397e56f
MR
9907 (bury-buffer): Move here from buffer.c. Switch to previous
9908 buffer when window cannot be deleted.
9909 (unbury-buffer): Move here from bindings.el.
9910 (ctl-x-map): Move binding for other-window from window.c to
9911 here.
9912 (read-buffer-to-switch, switch-to-buffer-other-window)
9913 (switch-to-buffer-other-frame): Move here from files.el.
9914 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9915 (switch-to-buffer): Move here from buffer.c.
9916 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9917
562dd5e9
MR
99182011-06-10 Martin Rudalics <rudalics@gmx.at>
9919
9920 * window.el (window-min-height, window-min-width): Move here
9921 from window.c. Add defcustoms and rewrite doc-strings.
9922 (resize-mini-window, resize-window): New functions.
9923 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9924 Move here from window.c.
9925 (maximize-window, minimize-window): New functions.
9926 (delete-window, delete-other-windows, split-window): Move here
9927 from window.c.
9928 (window-split-min-size): New function.
9929 (split-window-keep-point): Mention split-window-above-each-other
9930 instead of split-window-vertically.
2b75be67 9931 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9932 Rename split-window-vertically to split-window-above-each-other
9933 and provide defalias for old definition.
9934 (split-window-side-by-side, split-window-horizontally):
9935 Rename split-window-horizontally to split-window-side-by-side
9936 and provide defalias for the old definition.
562dd5e9
MR
9937 (ctl-x-map): Move bindings for delete-window,
9938 delete-other-windows and enlarge-window here from window.c.
9939 Replace bindings for split-window-vertically and
9940 split-window-horizontally by bindings for
9941 split-window-above-each-other and split-window-side-by-side.
9942
9943 * cus-start.el (all): Remove entries for window-min-height and
9944 window-min-width. Add entries for window-splits and
9945 window-nest.
9946
f0da764a
GM
99472011-06-09 Glenn Morris <rgm@gnu.org>
9948
80675c21
GM
9949 * calendar/appt.el (appt-mode-line): New function.
9950 (appt-check, appt-disp-window): Use it.
9951
f0da764a
GM
9952 * files.el (hack-one-local-variable-eval-safep):
9953 Allow minor-modes with explicit +/-1 arguments.
9954
59f623b7
TZ
99552011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9956
9957 * term/xterm.el (xterm): Add defgroup.
9958 (xterm-extra-capabilities): Add defcustom to supply known xterm
9959 capabilities, skip querying them, or query them (default).
9960 (terminal-init-xterm): Use it.
9961 (terminal-init-xterm-modify-other-keys): New function to set up
9962 modifyOtherKeys support to simplify `terminal-init-xterm'.
9963
9aab8e0d
MR
99642011-06-09 Martin Rudalics <rudalics@gmx.at>
9965
9966 * window.el (resize-window-reset, resize-window-reset-1)
9967 (resize-subwindows-skip-p, resize-subwindows-normal)
9968 (resize-subwindows, resize-other-windows, resize-this-window)
9969 (resize-root-window, resize-root-window-vertically)
9970 (window-deletable-p, window-or-subwindow-p)
9971 (frame-root-window-p): New functions.
9972
e8b08aee
GM
99732011-06-09 Glenn Morris <rgm@gnu.org>
9974
9975 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9976 (ange-ftp-get-files): Use it.
9977
254c37a5
AK
99782011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9979
9980 * mail/sendmail.el (mail-recover-1, mail-recover):
9981 * files.el (recover-file, recover-session):
9982 Handle dired-listing-switches not being just a single short option.
9983
35d7dbd3
GM
99842011-06-09 Glenn Morris <rgm@gnu.org>
9985
9986 * calendar/appt.el (appt-display-message, appt-disp-window):
9987 Handle lists of appointments.
9988
387522b2
MR
99892011-06-08 Martin Rudalics <rudalics@gmx.at>
9990
2b75be67
SM
9991 * window.el (one-window-p): Move down in code.
9992 Rewrite doc-string.
9993 (window-current-scroll-bars): Rewrite doc-string.
9994 Normalize live window argument.
387522b2
MR
9995 (walk-windows, get-window-with-predicate, count-windows):
9996 Rewrite doc-string. Use window-list-1.
9997 (window-in-direction-2, window-in-direction, get-mru-window):
9998 New functions.
9999
d8e4b68b 100002011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10001
10002 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10003 Doc fix (Bug#8713).
10004
100052011-06-08 Chong Yidong <cyd@stupidchicken.com>
10006
10007 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10008
100092011-06-08 Juanma Barranquero <lekktu@gmail.com>
10010
10011 * loadhist.el (unload-feature-special-hooks):
10012 Add `comint-output-filter-functions'.
10013
0de12c52
IK
100142011-06-08 Ivan Kanis <gnu@kanis.fr>
10015
10016 * calendar/appt.el (appt-check): Move some initializations into the let.
10017
f3d1777e
MR
100182011-06-08 Martin Rudalics <rudalics@gmx.at>
10019
10020 * window.el (window-height): Defalias to window-total-height.
10021 (window-width): Defalias to window-body-width.
10022
18af70d0
CY
100232011-06-07 Chong Yidong <cyd@stupidchicken.com>
10024
10025 * image-mode.el (image-toggle-animation): New command.
10026 (image-mode-map): Bind it to RET.
10027 (image-mode): Update message.
10028 (image-toggle-display-image): Avoid a spurious cache flush.
10029 (image-transform-rotation): Doc fix.
10030 (image-transform-properties): Return quickly in the normal case.
10031 (image-animate-loop): Rename from image-animate-max-time.
10032
2b75be67 10033 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10034 (create-animated-image): Remove unnecessary function.
10035 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10036 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10037 (image-animate-timer): Use car-safe.
10038 (image-animate-timeout): Rename argument.
10039
190b47e6
MR
100402011-06-07 Martin Rudalics <rudalics@gmx.at>
10041
10042 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10043 window.c. Rename first argument to ALL-FRAMES.
10044 Rephrase doc-strings.
10045 (get-buffer-window-list): Rewrite using window-list-1.
10046 Rephrase doc-string.
a1511caf
MR
10047 (window-safe-min-height, window-safe-min-width): New constants.
10048 (window-size-ignore, window-min-size, window-min-size-1)
10049 (window-sizable, window-sizable-p, window-size-fixed-1)
10050 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10051 (window-max-delta-1, window-max-delta, window-resizable)
10052 (window-resizable-p, window-total-height, window-total-width)
10053 (window-body-width): New functions.
10054 (window-full-height-p, window-full-width-p): Rewrite using
10055 window-total-size.
10056 (window-body-height): Rewrite using window-body-size.
190b47e6 10057
85cc1f11
MR
100582011-06-06 Martin Rudalics <rudalics@gmx.at>
10059
10060 * window.el (window-right, window-left, window-child)
10061 (window-child-count, window-last-child, window-any-p)
10062 (normalize-live-buffer, normalize-live-frame)
10063 (normalize-any-window, normalize-live-window)
10064 (window-iso-combination-p, window-iso-combined-p)
10065 (window-iso-combinations)
10066 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10067 (windows-with-parameter, window-with-parameter)
10068 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10069 (window-atom-check, window-side-check, window-check):
10070 New functions.
85cc1f11
MR
10071 (ignore-window-parameters, window-sides, window-sides-vertical)
10072 (window-sides-slots): New variables.
10073 (window-size-fixed): Move down in code. Minor doc-string fix.
10074
e7156492
AS
100752011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10076
10077 * comint.el (comint-dynamic-complete-as-filename)
10078 (comint-dynamic-complete-filename): Correctly call
10079 completion-in-region.
10080
7e821d0d
DD
100812011-06-05 Deniz Dogan <deniz@dogan.se>
10082
10083 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10084 in last change.
10085
ac09b8a1
DD
100862011-06-05 Deniz Dogan <deniz@dogan.se>
10087
10088 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10089 (rcirc): Use it to prompt for encryption.
10090
34699b85
RW
100912011-06-05 Roland Winkler <winkler@gnu.org>
10092
10093 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10094 (bibtex-search-entries): New command bound to C-c C-a.
10095 (bibtex-display-entries): New function.
10096
004dedd3
RW
100972011-06-05 Roland Winkler <winkler@gnu.org>
10098
10099 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10100 (bibtex-insert-kill): After yanking insert newline if necessary.
10101 (bibtex-initialize): Call bibtex-string-files-init only once.
10102 (bibtex-mode): Do not call easy-menu-add.
10103 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10104 (bibtex-yank): Set arg properly if nil.
10105
022fe7ce
RW
101062011-06-05 Roland Winkler <winkler@gnu.org>
10107
2b75be67
SM
10108 * textmodes/bibtex.el (bibtex-search-entry-globally):
10109 New variable.
022fe7ce
RW
10110 (bibtex-search-entry): Use it.
10111
b7c3692a
RW
101122011-06-05 Roland Winkler <winkler@gnu.org>
10113
10114 * textmodes/bibtex.el (bibtex-entry-format): New option
10115 sort-fields.
10116 (bibtex-format-entry, bibtex-reformat): Honor this option.
10117 (bibtex-parse-entry): Return fields in proper order.
10118
8eda563d
JB
101192011-06-05 Juanma Barranquero <lekktu@gmail.com>
10120
10121 * doc-view.el (doc-view-remove-if): Move computation of result out
10122 of `dolist' to silence misleading lexical-binding warning.
10123
7dbe3dbc
CY
101242011-06-04 Chong Yidong <cyd@stupidchicken.com>
10125
10126 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10127 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10128
0c33dd17
MA
101292011-06-04 Michael Albinus <michael.albinus@gmx.de>
10130
10131 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10132 "SunOS 5.10".
10133
f8f91c2b
MA
101342011-06-04 Michael Albinus <michael.albinus@gmx.de>
10135
10136 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10137 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10138 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10139 (tramp-parse-putty):
10140 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10141 (tramp-completion-function-alist-ssh)
10142 (tramp-completion-function-alist-telnet)
10143 (tramp-completion-function-alist-su)
10144 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10145 cookie.
10146
10147 * net/tramp-ftp.el:
10148 * net/tramp-sh.el:
10149 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10150 load "tramp.el" `tramp-set-completion-function'.
10151
e17d9003
SM
101522011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10153
10154 * shell.el: Require and use pcomplete.
10155 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10156 (shell-completion-vars): Set pcomplete-default-completion-function.
10157
6c4cab03
DD
101582011-06-04 Deniz Dogan <deniz@dogan.se>
10159
10160 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10161 `memq' (Bug#8799).
10162
ea9fafe0
SM
101632011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10164
10165 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10166
b3e945d3
JB
101672011-06-02 Juanma Barranquero <lekktu@gmail.com>
10168
10169 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10170 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10171 * vc/log-view.el (log-view-beginning-of-defun):
10172 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10173 (smerge-refine-forward, smerge-refine-chopup-region):
10174 Silence warning for unused `dotimes' counter variables.
10175
7d520089
SM
101762011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * net/tramp.el (tramp-with-progress-reporter): Rename from
10179 with-progress-reporter. Use `declare'.
10180 * net/tramp-smb.el:
10181 * net/tramp-sh.el:
10182 * net/tramp-gvfs.el: Update all uses.
10183
a1c2400f
JB
101842011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10185
10186 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10187 buffer isn't killed before making it current.
10188
2403c841
SM
101892011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10190
10191 Silence various byte-compiler warnings.
10192 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10193 `access-type' and new obsolescence format.
10194 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10195 new format.
10196 (byte-compile-check-variable): New `access-type' argument.
10197 Only warn if the access-type is obsolete.
10198 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10199 (byte-compile-variable-set): Adjust callers.
10200 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10201 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10202 setting it as obsolete.
10203 * simple.el (minibuffer-completing-symbol):
10204 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10205 access as obsolete.
10206 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10207 obsolete yet.
10208 * international/quail.el (quail-mouse-choose-completion): Remove unused
10209 code referring to obsolete var.
10210 (quail-choose-completion-string): Remove.
10211 * server.el (server-clients-with, server-kill-buffer-query-function)
10212 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10213 * proced.el (proced-send-signal):
10214 * emacs-lisp/lisp.el (lisp-complete-symbol):
10215 Replace completion-annotate-function with completion-extra-properties.
10216
2462470b
SM
102172011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10218
fb5b2591
SM
10219 * simple.el (goto-line): Use read-number.
10220 (overriding-map-is-bound): Remove.
10221 (saved-overriding-map): Change default.
10222 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10223 Take the map as argument.
10224 (universal-argument, negative-argument, digit-argument): Use it.
10225 (restore-overriding-map): Adjust.
10226 (do-auto-fill): Use fill-forward-paragraph.
10227 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10228
fd6fa53f
SM
10229 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10230 (minibuffer-inactive-mode): New major mode.
10231 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10232 the *Messages* buffer" hack.
10233 (mouse-popup-menubar): Don't burp if the event is a normal key.
10234
2462470b
SM
10235 Miscellaneous tweaks.
10236 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10237 lexical scoping as in subr.el's dolist and dotimes.
10238 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10239 Silence compiler warning.
10240 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10241 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10242 * international/ccl.el (ccl-compile): Trivial simplification.
10243 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10244 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10245 `printflag' argument.
10246 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10247 Purecopy the whole obsolescence data.
10248
108bf785
LL
102492011-06-01 Leo Liu <sdl.web@gmail.com>
10250
10251 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10252 improve doc-string as suggested by Marco Pessotto
10253 <melmothx@gmail.com>.
10254 (rcirc-print): Fix last change.
10255
30a23501
SM
102562011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10257
10258 * minibuffer.el (complete-with-action): Return nil for the metadata and
10259 boundaries of non-functional tables.
10260 (completion-table-dynamic): Return nil for the metadata.
10261 (completion-table-with-terminator): Add default case, using
10262 complete-with-action.
10263 (completion--metadata): New function.
10264 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10265 to try and avoid pathological performance problems.
10266 (completion--embedded-envvar-table): Return `category' metadata.
10267
bcd54f83
LMI
102682011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10269
10270 * subr.el (process-alive-p): New tiny convenience function.
10271
e227544d
SM
102722011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10275 content but also its previous major mode.
10276
e8296fdc
HE
102772011-05-31 Helmut Eller <eller.helmut@gmail.com>
10278
4d61f28d 10279 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10280 *Backtrace* buffer when we exit with C-M-c.
10281
620c53a6
SM
102822011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10283
10284 * minibuffer.el: Add metadata method to completion tables.
10285 (completion-category-overrides): New defcustom.
10286 (completion-metadata, completion--field-metadata)
10287 (completion-metadata-get, completion--styles)
10288 (completion--cycle-threshold): New functions.
10289 (completion-try-completion, completion-all-completions):
10290 Add `metadata' argument to choose completion-styles.
10291 (completion--do-completion): Use metadata to choose cycling.
10292 (completion-all-sorted-completions): Use metadata for sorting.
10293 Remove :completion-cycle-penalty which is not needed any more.
10294 (completion--try-word-completion): Add `metadata' argument.
10295 (minibuffer-completion-help): Check metadata for annotation function
10296 and sorting.
10297 (completion-file-name-table): Return `category' metadata.
10298 (minibuffer-completing-file-name): Make obsolete.
10299 * simple.el (minibuffer-completing-symbol): Make obsolete.
10300 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10301 completion-try-completion.
10302
1257e755
SM
103032011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10304
10305 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10306
3767e706
LL
103072011-05-30 Leo Liu <sdl.web@gmail.com>
10308
10309 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10310 (rcirc-print): Decode all incoming messages (bug#8744).
10311 (rcirc-decode-coding-system): Allow value nil for automatic coding
10312 system detection.
3767e706 10313
d1a5d56a
GM
103142011-06-01 Glenn Morris <rgm@gnu.org>
10315
10316 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10317
e8cbec34
CY
103182011-05-29 Chong Yidong <cyd@stupidchicken.com>
10319
10320 * image.el (image-animate-max-time): Allow nil and t values.
10321 Default to nil.
10322 (create-animated-image): Doc fix.
10323 (image-animate-start): Remove second arg; just use
10324 image-animate-max-time.
10325 (image-animate-timeout): Doc fix. Args changed.
10326
10327 * image-mode.el (image-toggle-display-image): Ensure that the
10328 image spec passed to the animate timer is the same object as in
58179cce 10329 the buffer's display property (Bug#6981).
e8cbec34
CY
10330 (image-transform-properties): Doc fix.
10331
10332 * image.el (image-animate-max-time): Default to nil.
10333
159daf87
MR
103342011-05-29 Martin Rudalics <rudalics@gmx.at>
10335
10336 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10337 entire buffer list (Bug#8184).
10338
d66c4c7c
CY
103392011-05-29 Chong Yidong <cyd@stupidchicken.com>
10340
10341 * image.el (imagemagick-types-inhibit)
10342 (imagemagick-register-types): Doc fix.
10343
80aec780
DD
103442011-05-29 Deniz Dogan <deniz@dogan.se>
10345
10346 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10347 default.
10348
1dd3c2d9
CY
103492011-05-29 Chong Yidong <cyd@stupidchicken.com>
10350
10351 * select.el: Don't perform clipboard-manager saving in hooks;
10352 leave the hooks empty.
10353
60e56523
LL
103542011-05-28 Leo Liu <sdl.web@gmail.com>
10355
10356 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10357 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10358 (occur-edit-mode): New major mode (Bug#8463).
10359 (occur-after-change-function): New function.
10360 (occur-engine): Give Occur tags a read-only property.
10361
2b1e1a22
KR
103622011-05-28 Kevin Ryde <user42@zip.com.au>
10363
10364 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10365
5d344e88
CY
103662011-05-28 Chong Yidong <cyd@stupidchicken.com>
10367
8e6ca83d
CY
10368 * bindings.el (help-echo): Make the initial non-indicator dash
10369 empty on graphical terminals (Bug#7295).
10370
5d344e88
CY
10371 * files.el (auto-mode-alist): Move config rule after the
10372 in-stripping one (Bug#8547).
10373
bfbbace7
CY
10374 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10375
fbeba6e2
CY
10376 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10377 setting (Bug#8740).
10378
60ed8c72
AA
103792011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10380
4ac619f0
AA
10381 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10382 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10383 (Bug#8539).
60ed8c72 10384
23db196e
CY
103852011-05-28 Chong Yidong <cyd@stupidchicken.com>
10386
10387 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10388
5012f24c
DK
103892011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10390
10391 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10392 (hs-hide-block-at-point, hs-find-block-beginning)
10393 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10394 (Bug#8279).
10395
6a639b16
GM
103962011-05-28 Glenn Morris <rgm@gnu.org>
10397
10398 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10399
d43eaf2c
CY
104002011-05-28 Chong Yidong <cyd@stupidchicken.com>
10401
5199bde1
CY
10402 * help-fns.el (describe-function-1): If the function is a derived
10403 major mode, print the parent mode.
10404
d43eaf2c
CY
10405 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10406 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10407
423428a8
SM
104082011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10409
0ff8e1ba 10410 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10411 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10412 * progmodes/etags.el (tags-completion-at-point-function):
10413 * info-look.el (info-lookup-completions-at-point): Mark as
10414 non-exclusive.
10415 (info-complete): Adjust accordingly.
10416
423428a8
SM
10417 * info-look.el: Convert to lexical-binding and completion-at-point.
10418 (info-lookup-completions-at-point): New function.
10419 (info-complete): Use it and completion-in-region.
10420
b74aa22b
DA
104212011-05-28 Drew Adams <drew.adams@oracle.com>
10422
10423 * isearch.el: Let M-e start with point at the first mismatched char.
10424 (isearch-fail-pos): New function.
10425 (isearch-edit-string): Use it.
10426
66e2e71d
DK
104272011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10428
10429 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10430
b1890b0f 104312011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10432
10433 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10434 traversal functions for avl-trees.
10435 (avl-tree--stack): New struct.
10436 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10437 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10438 (avl-tree--do-enter): Add optional `updatefun' arg.
10439 Change return value.
eb95d01d 10440 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10441 (avl-tree--do-delete): Add `test' and `nilflag' args.
10442 Change return value.
eb95d01d
TC
10443 (avl-tree-member): Add optional `nilflag'
10444 (avl-tree-member-p): New function.
10445 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10446 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10447 (avl-tree-stack-empty-p): New functions.
10448
3769ddcf
TC
10449 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10450 avl-tree--del-balance1 and make it work both ways.
10451 (avl-tree--del-balance2): Remove.
10452 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10453 make it work both ways.
10454 (avl-tree--enter-balance2): Remove.
10455 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10456 New macros.
10457 (avl-tree--mapc, avl-tree-map): Add direction argument.
10458
eb95d01d 104592011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10460
10461 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10462
a9f737ee
CY
104632011-05-27 Chong Yidong <cyd@stupidchicken.com>
10464
10465 * select.el: Support clipboard managers with built-in function
10466 x-clipboard-manager-save, via delete-frame-functions and
10467 kill-emacs-hook.
10468 (xselect-convert-to-targets): Add MULTIPLE target to list.
10469 (xselect-convert-to-save-targets): New function.
10470
c92a1e54
KH
104712011-05-27 Kenichi Handa <handa@m17n.org>
10472
10473 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10474 let-binding rfc2047-encode-encoded-words to nil.
10475
e145f188
GM
104762011-05-27 Glenn Morris <rgm@gnu.org>
10477
5ec8a862
GM
10478 * mail/emacsbug.el: Don't require url-util.
10479
4b29d9fb
GM
10480 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10481
e145f188
GM
10482 * files.el (set-auto-mode):
10483 Also respect mode: entries at the end of the file. (Bug#8586)
10484
7d15102b
GM
104852011-05-26 Glenn Morris <rgm@gnu.org>
10486
98f593b8
GM
10487 * files.el (hack-local-variables-prop-line, hack-local-variables):
10488 Downcase mode names, as seems to be traditional.
27b48e63 10489 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10490
7d15102b
GM
10491 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10492 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10493
51d5b4ec
JD
104942011-05-25 Julien Danjou <julien@danjou.info>
10495
10496 * textmodes/rst.el (rst-define-level-faces): Do not define face
10497 symbol if it is already defined.
10498
91513f63
VB
104992011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10500
10501 * play/5x5.el (5x5-new-game, 5x5-randomize):
10502 Reset 5x5-solver-output to nil when a new grid is cast.
10503 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10504 these debugging traces, as defmacro breaks the compiled code.
10505
4d90d6d0
DK
105062011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10507
10508 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10509
e1b90ef6
LL
105102011-05-24 Leo Liu <sdl.web@gmail.com>
10511
10512 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10513 (vc-bzr-sha1): Adapt.
10514
d8e4b68b 10515 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10516
10517 * bindings.el: Provide sha1 feature.
10518
db0406bb 105192011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10520
10521 * mail/sendmail.el: Require `rfc2047'.
10522 (mail-insert-from-field): Do not perform RFC2047 encoding.
10523 (mail-encode-header): New function.
10524 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10525 buffer to the return value of select-message-coding-system.
10526 Call mail-encode-header.
b8d747b9
KH
10527
10528 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10529
db0406bb 105302011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10531
4d90d6d0
DK
10532 * mail/supercite.el (sc-default-cite-frame):
10533 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10534
eb8a5e9b
GM
105352011-05-24 Glenn Morris <rgm@gnu.org>
10536
f8630703
GM
10537 * progmodes/python.el (brm-menu): Declare.
10538
8831bbed
GM
10539 * emulation/viper.el (viper-set-hooks): Declare.
10540
eb8a5e9b
GM
10541 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10542 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10543 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10544 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10545 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10546 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10547
a2a25d24
SM
105482011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 Add an :exit-function for completion-at-point.
10551
10552 * minibuffer.el (completion--done): New fun.
10553 (completion--do-completion): Use it. New arg `expect-exact'.
10554 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10555 since completion--do-completion does it for us now.
10556 (minibuffer-force-complete): Use completion--done and
10557 completion--replace. Handle sole-completion case with more care.
10558 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10559 (completion-extra-properties): New var.
10560 (completion-annotate-function): Make obsolete.
10561 (minibuffer-completion-help): Adjust accordingly.
10562 Use completion-list-insert-choice-function.
10563 (completion-at-point, completion-help-at-point):
10564 Bind completion-extra-properties.
10565 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10566 * simple.el (completion-list-insert-choice-function): New var.
10567 (completion-setup-function): Preserve it.
10568 (choose-completion): Pay attention to it, shuffle the code a bit.
10569 (choose-completion-string): New arg `insert-function'.
10570
10571 * textmodes/bibtex.el: Convert to lexical binding.
10572 (bibtex-mode-map): Use completion-at-point.
10573 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10574 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10575 (bibtex-complete): Define as obsolete alias.
10576 (bibtex-complete-internal): Remove.
10577 (bibtex-format-entry): Remove unused sub-group in regexp.
10578 * shell.el (shell--command-completion-data)
10579 (shell-environment-variable-completion):
10580 * pcomplete.el (pcomplete-completions-at-point):
10581 * comint.el (comint--complete-file-name-data): Use :exit-function
10582 instead of completion-table-with-terminator so it also works for
10583 choose-completion.
10584
e44e373d
SM
105852011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10586
4f91a816
SM
10587 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10588
782fc819
SM
10589 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10590 (bug#8710).
10591
e44e373d
SM
10592 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10593
381987c3
KM
105942011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10595
10596 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10597 customization variable and implement: If non-nil, auto-fill will
10598 be inhibited while on topic's header line.
10599
b776bc70
VB
106002011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10601
10602 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10603 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10604 always have a solution in grid size = 5 cases.
10605 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10606 (5x5-solver-output, 5x5-log-buffer): New vars.
10607 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10608 Make these variables buffer local to achieve 5x5 multi-session-ness.
10609 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10610 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10611 (5x5-solve-suggest): New funs.
10612 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10613 randomize a grid so that we ensure that there is always a solution.
10614 (5x5-make-random-grid): Allow other movement than flipping.
10615
7de88b6e
KR
106162011-05-23 Kevin Ryde <user42@zip.com.au>
10617
10618 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10619 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10620 advice and passes PREDICATE.
10621
b1ef1257
SM
106222011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10623
bbca48fe
SM
10624 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10625 byte-compile-lambda if it's actually a lambda.
10626
b1ef1257
SM
10627 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10628 Fix function quoting. Use backquote better.
10629
92a9cc65
YS
106302011-05-22 Yuanle Song <sylecn@gmail.com>
10631
10632 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10633 matching (Bug#8516).
10634
f0fb8059
JA
106352011-01-22 Jari Aalto <jari.aalto@cante.net>
10636
10637 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10638 different face (Bug#8178).
10639
d5b44c93
CY
106402011-05-22 Chong Yidong <cyd@stupidchicken.com>
10641
10642 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10643 defface (Bug#8144).
10644
79106a44
SM
106452011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10646
9c848d8a
SM
10647 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10648 funcall as well (bug#8712). Warn when performing those conversions.
10649 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10650
79106a44
SM
10651 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10652
88dfa756
GM
106532011-05-22 Glenn Morris <rgm@gnu.org>
10654
10655 * files.el (hack-local-variables-prop-line): Small simplifications.
10656 (hack-local-variables, hack-local-variables-prop-line):
10657 If MODE-ONLY, return the mode, rather than just `t'.
10658
b7cf2c79
SM
106592011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10660
10661 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10662
3f1a8558
GM
106632011-05-21 Glenn Morris <rgm@gnu.org>
10664
7e4ccca3
GM
10665 * files.el (hack-local-variables-prop-line, hack-local-variables):
10666 If only interested in the mode, don't bother doing the other stuff.
10667
637d46ca
GM
10668 * image-mode.el (image-after-revert-hook):
10669 Redraw all frames on which the image is visible. (Bug#8567)
10670
973d955b
GM
10671 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10672
3f1a8558
GM
10673 * wid-edit.el (widget-checklist-match-inline):
10674 Fix 2011-04-19 change. (Bug#8649)
10675
96479927
SM
106762011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10677
1dcf791f
SM
10678 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10679 Also allow singlespace after single-letter capitals followed by a dot.
10680
96479927
SM
10681 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10682 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10683
35fd0881
N
106842011-05-20 Nix <nix@esperi.org.uk>
10685
10686 * files.el (basic-save-buffer-2):
10687 Fix handling of break-hardlink-on-save with non-existent files.
10688
82745640
DD
106892011-05-19 Deniz Dogan <deniz@dogan.se>
10690
10691 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10692 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10693
4a720484
GM
106942011-05-19 Glenn Morris <rgm@gnu.org>
10695
d1f21341
GM
10696 * progmodes/f90.el (f90-type-def-re):
10697 Handle "type, bind(c)". (Bug#8691)
10698
4a720484
GM
10699 * emacs-lisp/autoload.el (batch-update-autoloads):
10700 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10701
2fb0a219
MA
107022011-05-18 Michael Albinus <michael.albinus@gmx.de>
10703
10704 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10705 property for the correct connection in case of multihops.
10706
e565dd37
GM
107072011-05-18 Glenn Morris <rgm@gnu.org>
10708
c2571358 10709 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10710 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10711
e565dd37
GM
10712 Rationalize calendar handling of day and month abbrev-arrays.
10713 * calendar/calendar.el (calendar-customized-p): New function.
10714 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10715 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10716 Add :set function.
10717 (calendar-abbrev-length, calendar-day-abbrev-array)
10718 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10719 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10720 Elements may no longer be nil.
10721 (calendar-day-name, calendar-month-name):
10722 Update for changed nature of abbrev arrays.
10723 * calendar/diary-lib.el (diary-name-pattern):
10724 Update for changed nature of abbrev arrays.
10725 (diary-mark-entries-1): Update calendar-make-alist calls.
10726 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10727 * calendar/cal-html.el (cal-html-day-abbrev-array):
10728 Simply inherit from calendar-day-abbrev-array.
10729
1d99a745
SM
107302011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10731
10732 * progmodes/grep.el (grep-mode): Disable default
10733 compilation-directory-matcher setting (bug#8684).
10734
7c1d9aa0
MA
107352011-05-17 Michael Albinus <michael.albinus@gmx.de>
10736
10737 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10738 instead of "head" and "tail". There were problems with SunOS 5.9,
10739 and it performs better.
10740
3952e9d8
GM
107412011-05-17 Glenn Morris <rgm@gnu.org>
10742
2dd12e7f
GM
10743 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10744
e4157b9c
GM
10745 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10746 Replace obsolete function.
10747
8e249bbd
GM
10748 * shell.el (pcomplete-parse-arguments-function): Declare.
10749
3952e9d8
GM
10750 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10751 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10752 (appt-check): Doc fixes.
10753 (appt-disp-window-function, appt-delete-window-function):
10754 Remove needless special case in custom :type.
10755 (appt-display-count): Default to 0, not nil.
10756 (appt-check): Reset appt-display-count to 0, not nil.
10757
c71a0d48 107582011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10759
c71a0d48
GM
10760 * progmodes/python.el (python-font-lock-keywords):
10761 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10762
31d55be9
SM
107632011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10764
10765 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10766
3bfacb2f
KR
107672011-05-16 Kevin Ryde <user42@zip.com.au>
10768
10769 * info-look.el (makefile-automake-mode): New setups, looking in
10770 automake manual, then makefile-mode.
10771 (makefile-mode): Remove automake manual, have it just in
10772 makefile-automake-mode since there's various things different or
10773 not relevant to plain make.
10774 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10775 believe a hypothetical automake-mode would go to makefile-mode,
10776 not the other way around.
10777
c8e83751
CY
107782011-05-15 Chong Yidong <cyd@stupidchicken.com>
10779
5e9e35cd
CY
10780 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10781 hunk-end tags (Bug#8672).
10782
c8e83751
CY
10783 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10784 vc-annotate-show-diff-revision-at-line (Bug#8671).
10785
50b23e5a
GM
107862011-05-14 Glenn Morris <rgm@gnu.org>
10787
7210a739
GM
10788 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10789 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10790 (change-log-font-lock-keywords): Also handle multiple author lines
10791 with leading tabs. (Bug#8644)
7210a739 10792
4691905a
GM
10793 * calendar/appt.el (appt-check): Rename some local variables.
10794 Some simplification/reordering.
10795
50b23e5a
GM
10796 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10797 (feedmail-sendmail-f-doesnt-sell-me-out)
10798 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10799 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10800 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10801 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10802 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10803 (feedmail-binmail-gnulinuxish-template):
10804 Rename from feedmail-binmail-linuxish-template.
10805 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10806 Use insert-buffer-substring.
10807
215cda7c
BC
108082011-05-14 Bill Carpenter <bill@carpenter.org>
10809
10810 * mail/feedmail.el (feedmail-patch-level): Increase.
10811 (feedmail-debug): New custom group.
10812 (feedmail-confirm-outgoing-timeout)
10813 (feedmail-sendmail-f-doesnt-sell-me-out)
10814 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10815 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10816 (feedmail-sender-line, feedmail-from-line)
10817 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10818 (feedmail-spray-this-address)
215cda7c
BC
10819 (feedmail-spray-address-fiddle-plex-list)
10820 (feedmail-queue-use-send-time-for-date)
10821 (feedmail-queue-use-send-time-for-message-id)
10822 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10823 (feedmail-buffer-eating-function):
10824 Doc fixes.
10825 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10826 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10827 (feedmail-message-action-scroll-down): New functions.
10828 (feedmail-queue-directory, feedmail-queue-draft-directory):
10829 Use expand-file-name.
10830 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10831 Remove C-v help entry.
10832 (feedmail-queue-buffer-file-name): New variable.
10833 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10834 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10835 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10836 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10837 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10838 (feedmail-message-action-toggle-spray)
10839 (feedmail-run-the-queue-no-prompts)
10840 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10841 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10842 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10843 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10844 (feedmail-envelope-deducer, feedmail-fiddle-from)
10845 (feedmail-fiddle-sender, feedmail-default-date-generator)
10846 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10847 (feedmail-fiddle-spray-address)
10848 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10849 (feedmail-fiddle-list-of-fiddle-plexes)
10850 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10851 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10852 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10853 Change default. Doc fix.
10854 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10855 (feedmail-binmail-linuxish-template): New constant.
10856 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10857 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10858 (feedmail-send-it): Add debug call.
10859 Use feedmail-queue-buffer-file-name, and
10860 feedmail-send-it-immediately-wrapper.
10861 (feedmail-message-action-send): Add debug call.
10862 Use feedmail-send-it-immediately-wrapper.
10863 (feedmail-queue-express-to-queue): Add debug call.
10864 Run feedmail-queue-express-hook.
10865 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10866 (feedmail-message-action-help-blat):
10867 Rename from feedmail-queue-send-edit-prompt-help-first.
10868 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10869 Check line-endings. Handle errors better.
10870 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10871 Doc fix. Add debug call.
10872 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10873 Use feedmail-queue-send-edit-prompt-inner.
10874 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10875 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10876 from feedmail-queue-send-edit-prompt.
10877 (feedmail-queue-send-edit-prompt-help)
10878 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10879 (feedmail-tidy-up-slug): Add debug call.
10880 Respect feedmail-queue-slug-suspect-regexp.
10881 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10882 (feedmail-dump-message-to-queue): Add debug call.
10883 Expand queue-directory.
10884 (feedmail-dump-message-to-queue): Change message slightly.
10885 Use feedmail-say-chatter.
10886 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10887 (feedmail-send-it-immediately-wrapper): New function.
10888 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10889 Insert empty string rather than newline. Handle full-frame case.
10890 Use catch/throw. Use feedmail-say-chatter.
10891 (feedmail-fiddle-from): Try mail-host-address.
10892 (feedmail-default-message-id-generator): Doc fix.
10893 Bind system-time-locale. Handle missing end.
10894 (feedmail-fiddle-x-mailer): Add debug call.
10895 Handle feedmail-x-mailer-line being nil.
10896 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10897 Add debug call. Use buffer-substring-no-properties.
10898 (feedmail-say-debug, feedmail-say-chatter): New functions.
10899 (feedmail-find-eoh): Give an explicit error.
10900
42c7e61e
UJ
109012011-05-13 Ulf Jasper <ulf.jasper@web.de>
10902
c2571358 10903 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10904 family from helvetica to sans.
c2571358 10905 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10906 etc/images/newsticker.
10907
c2571358 10908 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10909 family from helvetica to sans.
10910
10911 * net/newst-plainview.el (newsticker-new-item-face)
10912 (newsticker-old-item-face, newsticker-immortal-item-face)
10913 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10914 (newsticker-statistics-face): Change default family from
42c7e61e 10915 helvetica to sans.
c2571358 10916 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10917 etc/images/newsticker.
10918
5d3385a0
JB
10919 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
10920 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
10921 auto-marking.
10922
8497a297
DV
109232011-05-13 Didier Verna <didier@xemacs.org>
10924
10925 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10926 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10927 TODO entries.
8497a297
DV
10928 (lisp-lambda-list-keyword-parameter-indentation)
10929 (lisp-lambda-list-keyword-parameter-alignment)
10930 (lisp-lambda-list-keyword-alignment): New customizable user options.
10931 (lisp-indent-defun-method): Improve docstring.
10932 (extended-loop-p): Fix comment.
10933 (lisp-indent-lambda-list-keywords-regexp): New variable.
10934 (lisp-indent-lambda-list): New function.
10935 (lisp-indent-259): Use it.
10936 (lisp-indent-defmethod): Support for more than one
10937 method qualifier and properly indent methods lambda-lists.
10938 (defgeneric): Provide a missing common-lisp-indent-function property.
10939
f278f87f
SM
109402011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10941
10942 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10943 bounds for the empty string (bug#8667).
10944
5233edd7
GM
109452011-05-13 Glenn Morris <rgm@gnu.org>
10946
5237a44f
GM
10947 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10948
8340026c 10949 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10950 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10951
5233edd7 10952 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10953 (appt-time-msg-list): Doc fix.
a5464014 10954 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10955
92d10796
AS
109562011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10957
10958 * progmodes/ld-script.el (ld-script-keywords)
10959 (ld-script-builtins): Update keywords list.
10960
914a0ae1
SM
109612011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10962
c89be45f
SM
10963 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10964
914a0ae1
SM
10965 * shell.el (shell-completion-vars): New function.
10966 (shell-mode):
10967 * simple.el (read-shell-command): Use it.
10968 (blink-matching-open): No need for " [...]" in minibuffer-message.
10969
98dc3df3
GM
109702011-05-12 Glenn Morris <rgm@gnu.org>
10971
10972 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10973 (appt-check): Simplify.
10974
d2fc7e3d 109752011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10976
4d61f28d 10977 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10978 literal "/dev/null".
10979
d2fc7e3d 109802011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10981
10982 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10983 Fix typo.
10984
d2fc7e3d 109852011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10986
3f254caa
SM
10987 * progmodes/which-func.el (which-function):
10988 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10989 which might not be defined (Bug#8260).
10990
d45885f7
GM
109912011-05-12 Glenn Morris <rgm@gnu.org>
10992
10993 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10994 Let byte-compile-initial-macro-environment always take precedence.
10995
488086f4
SM
109962011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10997
10998 * net/rcirc.el: Add support for SSL/TLS connections.
10999 (rcirc-server-alist): New field `encryption'.
11000 (rcirc): Check `encryption' settings.
11001 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11002 Merge make-local-variable into `set'.
11003 (rcirc--connection-open-p): New function.
11004 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11005 the process is not a network process (e.g. running gnutls-cli).
11006 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11007 Make rcirc-(en|de)code-coding-system local here.
11008 (rcirc-mode): Merge make-local-variable into `set'.
11009 (rcirc-parent-buffer): Make permanent buffer-local.
11010 (rcirc-multiline-minor-mode): Don't do it here.
11011 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11012 there's no server buffer.
11013
7d3b9d44
GM
110142011-05-11 Glenn Morris <rgm@gnu.org>
11015
f64049c6
GM
11016 * newcomment.el (comment-kill): Prefix "unused" local.
11017
93c9df73
GM
11018 * term/w32console.el (get-screen-color): Declare.
11019
7d3b9d44
GM
11020 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11021 Handle symbol elements of byte-compile-initial-macro-environment.
11022
9e2dd53f
LL
110232011-05-10 Leo Liu <sdl.web@gmail.com>
11024
488086f4
SM
11025 * bookmark.el (bookmark-bmenu-mode-map):
11026 Bind bookmark-bmenu-search to `/'.
8b340240 11027
9e2dd53f 11028 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11029 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11030 (Footnote-unicode): New function.
11031 (footnote-style-alist): Add unicode style to the list.
11032 (footnote-style): Doc fix.
9e2dd53f 11033
79b70037
GM
110342011-05-10 Jim Meyering <meyering@redhat.com>
11035
11036 Fix doubled-word typos.
11037 * international/quail.el (quail-insert-kbd-layout): and and -> and
11038 * kermit.el: and and -> and
11039 * net/ldap.el (ldap-search-internal): to to -> to
11040 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11041 * progmodes/js.el (js-mode): and and -> and
11042 * textmodes/artist.el (artist-move-to-xy): at at -> at
11043 (artist-draw-region-trim-line-endings): if if -> if
11044 And Safetyc -> Safety.
11045 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11046
b8f82dc1 110472011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11048 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11049
11050 * files.el (hack-one-local-variable-eval-safep):
11051 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11052
4f99f44b
GM
110532011-05-10 Glenn Morris <rgm@gnu.org>
11054
11055 * calendar/diary-lib.el (diary-list-entries-hook)
11056 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11057 (diary-nongregorian-marking-hook, diary-list-entries)
11058 (diary-include-other-diary-files, diary-mark-entries)
11059 (diary-mark-included-diary-files): Doc fixes.
11060
84f29e6b
JB
110612011-05-09 Juanma Barranquero <lekktu@gmail.com>
11062
11063 * misc.el: Require tabulated-list.el during compilation.
11064
9bedd73a
CY
110652011-05-09 Chong Yidong <cyd@stupidchicken.com>
11066
488086f4
SM
11067 * progmodes/compile.el (compilation-start):
11068 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11069 (compilation-filter-hook): Doc fix.
11070
797c735c
DD
110712011-05-09 Deniz Dogan <deniz@dogan.se>
11072
11073 * wdired.el: Remove outdated installation comment. Fix usage
11074 comment.
11075
5f4b1dfe
JB
110762011-05-09 Juanma Barranquero <lekktu@gmail.com>
11077
11078 * misc.el: Implement new command `list-dynamic-libraries'.
11079 (list-dynamic-libraries--loaded-only-p): New variable.
11080 (list-dynamic-libraries--refresh): New function.
11081 (list-dynamic-libraries): New command.
11082
4c44026c
CY
110832011-05-09 Chong Yidong <cyd@stupidchicken.com>
11084
488086f4
SM
11085 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11086 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11087 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11088 higher priority to avoid clobbering by gnu.
11089
027f966d
CY
110902011-05-08 Chong Yidong <cyd@stupidchicken.com>
11091
11092 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11093 if the face has existing theme settings (Bug#8454).
11094
085f5d7d
CY
110952011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11096
488086f4
SM
11097 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11098 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11099
2a86a00c
RS
11100 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11101 special file names `.' and `..' (Bug#8259).
11102
d9c54a06
CY
111032011-05-08 Chong Yidong <cyd@stupidchicken.com>
11104
488086f4
SM
11105 * progmodes/grep.el (grep-mode-font-lock-keywords):
11106 Remove buffer-changing entries.
d9c54a06
CY
11107 (grep-filter): New function.
11108 (grep-mode): Add it to compilation-filter-hook.
11109
11110 * progmodes/compile.el (compilation-filter-hook)
11111 (compilation-filter-start): New defvars.
11112 (compilation-filter): Call compilation-filter-hook prior to
11113 updating the process mark.
11114
c4662635
SM
111152011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11116
11117 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11118
b0512a1d
EZ
111192011-05-07 Eli Zaretskii <eliz@gnu.org>
11120
605c9376
EZ
11121 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11122 mailclient-send-it even if window-system is nil. (Bug#8595)
11123
c4662635
SM
11124 * term/w32console.el (terminal-init-w32console):
11125 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11126 background-mode. (Bug#8597)
11127
d1dc2cc2
SM
111282011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11129
11130 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11131 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11132 New functions.
11133 (defgeneric, eieio--defmethod): Use them.
11134 (eieio-defgeneric): Remove.
11135 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11136
915d1300
GM
111372011-05-07 Glenn Morris <rgm@gnu.org>
11138
a3961c3e
GM
11139 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11140 Use let rather than let*.
11141 (timeclock-find-discrep): Remove unused local.
11142
314347b9
GM
11143 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11144
915d1300
GM
11145 * calendar/appt.el (appt-time-msg-list): Doc fix.
11146
275b59b0
NF
111472011-05-06 Noah Friedman <friedman@splode.com>
11148
11149 * apropos.el (apropos-print-doc): Only use
11150 emacs-lisp-docstring-fill-column when it is bound to an integer,
11151 per that variable's documentation.
11152
6c19f744
SM
111532011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11154
11155 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11156 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11157
60f884b2
GM
111582011-05-06 Glenn Morris <rgm@gnu.org>
11159
5006e634
GM
11160 * calendar/appt.el (appt-message-warning-time): Doc fix.
11161 (appt-warning-time-regexp): New option.
11162 (appt-make-list): Respect appt-message-warning-time.
11163
548d0a63
GM
11164 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11165 New options.
11166 (diary-add-to-list): Strip comments from the displayed string.
11167 (diary-mode): Set comment-start and comment-end.
11168
60f884b2
GM
11169 * vc/diff-mode.el (smerge-refine-subst): Declare.
11170 (diff-refine-hunk): Don't require smerge-mode when compiling.
11171
989681bb
JB
111722011-05-06 Juanma Barranquero <lekktu@gmail.com>
11173
11174 * simple.el (list-processes): Return nil as the docstring says.
11175
a6bc05e1
MA
111762011-05-05 Michael Albinus <michael.albinus@gmx.de>
11177
11178 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11179 to "".
11180 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11181 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11182 determining of binary transfer. (Bug#7383)
11183
23c22e9a
MA
111842011-05-05 Michael Albinus <michael.albinus@gmx.de>
11185
c4662635
SM
11186 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11187 Fix port computation bug. (Bug#8618)
23c22e9a 11188
0bff894f
GM
111892011-05-05 Glenn Morris <rgm@gnu.org>
11190
b8296902
GM
11191 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11192
1f522ce8
GM
11193 * simple.el (shell-dynamic-complete-functions)
11194 (comint-dynamic-complete-functions): Declare.
11195
cf5bee67
GM
11196 * net/network-stream.el (gnutls-negotiate):
11197 * simple.el (tabulated-list-print): Fix declarations.
11198
11199 * progmodes/gud.el (syntax-symbol, syntax-point):
11200 Remove unnecessary and incorrect declarations.
11201
0bff894f
GM
11202 * emacs-lisp/check-declare.el (check-declare-scan):
11203 Handle byte-compile-initial-macro-environment in bytecomp.el
11204
9869b3ae
SM
112052011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11206
11207 Fix earlier half-done eieio-defmethod change (bug#8338).
11208 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11209 Streamline and change calling convention.
11210 (defmethod): Adjust accordingly and simplify.
11211 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11212 new eieio--defmethod.
11213 (slot-boundp): Minor CSE simplification.
11214
9c1d5ac5
MZ
112152011-05-05 Milan Zamazal <pdm@zamazal.org>
11216
11217 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11218 (glasses-make-readable): Use glasses-separate-capital-groups.
11219
455c834e
JB
112202011-05-05 Juanma Barranquero <lekktu@gmail.com>
11221
11222 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11223 (warning-series): Doc fix.
11224 (display-warning): Don't try to create the buffer if we just found it.
11225
9ed7c8cb
CY
112262011-05-04 Chong Yidong <cyd@stupidchicken.com>
11227
11228 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11229 (autoload-find-generated-file): New function.
11230 (generate-file-autoloads): Bind generated-autoload-file to
11231 buffer-file-name.
9869b3ae
SM
11232 (update-file-autoloads, update-directory-autoloads):
11233 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11234 output file (Bug#7989).
11235 (batch-update-autoloads): Doc fix.
11236
0898ca10
JB
112372011-05-04 Juanma Barranquero <lekktu@gmail.com>
11238
11239 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11240
31dfb76c
GM
112412011-05-04 Glenn Morris <rgm@gnu.org>
11242
f330b642
GM
11243 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11244 function, so it follows changes in calendar-date-style.
11245 (diary-fancy-date-matcher): New function.
11246 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11247 (diary-fancy-font-lock-fontify-region-function):
11248 Use diary-fancy-date-pattern as a function.
11249
31dfb76c
GM
11250 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11251 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11252
48e79d6a
TZ
112532011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11254
11255 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11256 instead of positional arguments. Allow :keylist and :crlfiles
11257 arguments.
11258 (open-gnutls-stream): Call it.
11259
11260 * net/network-stream.el (network-stream-open-starttls): Adjust to
11261 call `gnutls-negotiate' with :process and :hostname arguments.
11262
dd5a5ee0
SM
112632011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11264
ef80fc09
SM
11265 * minibuffer.el (completion--message): New function.
11266 (completion--do-completion, minibuffer-complete)
11267 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11268 (completion--do-completion): Don't ignore completion-auto-help when in
11269 icomplete-mode.
11270
dd5a5ee0
SM
11271 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11272 internal encoding (e.g. tibetan zero is not whitespace).
11273 (global-whitespace-mode): Prefer save-current-buffer.
11274 (whitespace-trailing-regexp): Remove useless save-match-data.
11275 (whitespace-empty-at-bob-regexp): Minor simplification.
11276
b7d22a83
CY
112772011-05-03 Chong Yidong <cyd@stupidchicken.com>
11278
11279 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11280
5192af46
AM
112812011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11282
11283 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11284 Use `concat' to create string for insertion.
5192af46 11285
5767d190
SM
112862011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11287
11288 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11289 Avoid open-line which runs post-self-insert-hook.
11290 (bibtex-fill-entry): Remove unused `end' var.
11291
bf242939
AM
112922011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11293
5767d190
SM
11294 * textmodes/ispell.el (ispell-add-per-file-word-list):
11295 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11296
25666126
LL
112972011-05-03 Leo Liu <sdl.web@gmail.com>
11298
11299 * isearch.el (isearch-yank-pop): New command.
5767d190 11300 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11301 (isearch-forward): Mention it.
11302
52d3c2d0
SM
113032011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11304
1bcace58
SM
11305 * simple.el (minibuffer-complete-shell-command): Remove.
11306 (minibuffer-local-shell-command-map): Use completion-at-point.
11307 (read-shell-command): Setup completion vars here instead.
11308 (read-expression-map): Bind TAB to symbol completion.
11309
52d3c2d0
SM
11310 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11311 error directly rather via storing it into `results'.
11312
35813471
LL
113132011-05-02 Leo Liu <sdl.web@gmail.com>
11314
11315 * vc/diff.el: Fix description.
11316
e793a940
LMI
113172011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11318
11319 * server.el (server-eval-at): New function.
11320
8de66e05
LMI
113212011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11322
11323 * net/network-stream.el (open-network-stream): Take a :nowait
11324 parameter and pass it on to `make-network-process'.
11325 (network-stream-open-plain): Ditto.
11326
dcb79f20
AS
113272011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11328
11329 * faces.el (face-spec-set-match-display): Don't match toolkit
11330 options on terminal frames.
11331
14a7fbd8
SM
113322011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11333
7eabc1be
SM
11334 * progmodes/pascal.el: Use lexical binding.
11335 (pascal-mode-map): Remove author preferences.
11336
14a7fbd8
SM
11337 * pcomplete.el (pcomplete-std-complete): Don't abuse
11338 completion-at-point.
11339
50f84510
JB
113402011-04-28 Juanma Barranquero <lekktu@gmail.com>
11341
6e087a44
JB
11342 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11343 removing code that has been dead since 1991 or so.
11344
50f84510
JB
11345 * startup.el (command-line): When warning about "_emacs", use a
11346 delayed warning to allow the user to filter it out.
11347
0ba690bd
DD
113482011-04-28 Deniz Dogan <deniz@dogan.se>
11349
11350 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11351 user has not joined.
11352
08abfaad
SM
113532011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11354
11355 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11356 aren't any completions at point.
11357
638f053a
JB
113582011-04-28 Juanma Barranquero <lekktu@gmail.com>
11359
11360 * subr.el (display-delayed-warnings): New function.
11361 (delayed-warnings-hook): New variable.
11362
8fff8daa
SM
113632011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11364
08abfaad
SM
11365 * minibuffer.el (completion-at-point, completion-help-at-point):
11366 Don't presume that a given completion-at-point-function will always
11367 use the same calling convention.
11368
8fff8daa
SM
11369 * pcomplete.el (pcomplete-completions-at-point):
11370 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11371 pcomplete-seen is non-nil.
11372 (pcomplete-comint-setup): Also recognize the new comint/shell
11373 completion functions.
11374 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11375 pcomplete-seen is non-nil.
11376
841a1577 113772011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11378
841a1577 11379 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11380 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11381 the first character in the entry. This allows for code to add its
211ec907
UJ
11382 own uid to the entry.
11383 (icalendar--convert-float-to-ical): Add export of
11384 `diary-float'-entries save for those with the optional DAY
11385 argument.
11386
2a782793
DC
113872011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11388
11389 * subr.el (shell-quote-argument): Use alternate escaping strategy
11390 when we spot a variable reference in a string.
11391
0438ce91
DC
113922011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11393
11394 * cus-start.el (all): Define customization for debug-on-event.
11395
841a1577 113962011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11397
11398 * subr.el (shell-quote-argument): Escape correctly under Windows.
11399
d090ed6c
SM
114002011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11401
11402 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11403
bfd31217
MA
114042011-04-25 Michael Albinus <michael.albinus@gmx.de>
11405
d090ed6c
SM
11406 * net/tramp.el (tramp-process-actions): Add POS argument.
11407 Delete region between POS and (pos).
bfd31217 11408
d090ed6c
SM
11409 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11410 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11411 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11412
11413 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11414 position in `tramp-process-actions' call.
11415
11416 * net/trampver.el: Update release number.
11417
e92f3bd3
SM
114182011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11419
850256b5
SM
11420 * custom.el (defcustom): Obey lexical-binding.
11421
e92f3bd3
SM
11422 Fix octave-inf completion problems reported by Alexander Klimov.
11423 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11424 Inherit from octave-mode-syntax-table.
11425 (inferior-octave-mode): Set info-lookup-mode.
11426 (inferior-octave-completion-at-point): New function.
11427 (inferior-octave-complete): Use it and completion-in-region.
11428 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11429 comint-filename-completion.
11430 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11431 symbol elements which shouldn't be word elements.
11432 (octave-font-lock-keywords, octave-beginning-of-defun)
11433 (octave-function-header-regexp): Adjust regexps accordingly.
11434 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11435
cd22b309
JB
114362011-04-25 Juanma Barranquero <lekktu@gmail.com>
11437
11438 * net/gnutls.el (gnutls-errorp): Declare before first use.
11439
8b492194
TZ
114402011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11441
11442 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11443 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11444 default trustfile exists before going to use it. Add missing
5a5fa834 11445 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11446 Reported by Claudio Bley <claudio.bley@gmail.com>.
11447 (open-gnutls-stream): Add usage example.
11448
11449 * net/network-stream.el (network-stream-open-starttls): Give host
11450 parameter to `gnutls-negotiate'.
11451 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11452 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11453
841a1577 114542011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11455
cd22b309
JB
11456 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11457 Use correct match group (bug#8438).
05842630 11458
3ba7869c
CY
114592011-04-24 Chong Yidong <cyd@stupidchicken.com>
11460
512e3ae1
CY
11461 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11462 (package-menu--generate): New arg specifying packages to show.
11463 (package-menu-refresh, package-menu-execute, list-packages):
11464 Callers changed.
11465 (package-show-package-list): New function, replacing deleted
11466 package--list-packages (renamed because it is non-internal).
11467
11468 * finder.el (finder-list-matches): Use package-show-package-list
11469 instead of deleted package--list-packages.
11470
e92f3bd3
SM
11471 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11472 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11473 (vc-annotate-mode-map): Bind it to RET.
11474
7031be6d
UR
114752011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11476
11477 * progmodes/etags.el (next-file): Don't use set-buffer to change
11478 buffers (Bug#8478).
11479
4ef177aa
CY
114802011-04-24 Chong Yidong <cyd@stupidchicken.com>
11481
c8d173eb
CY
11482 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11483
4ef177aa
CY
11484 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11485 (apropos-accumulator): Doc fix.
11486 (apropos-function, apropos-macro, apropos-command)
11487 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11488 (apropos-plist): Add face property.
11489 (apropos-symbols-internal): Fix indentation.
11490 (apropos-print): Simplify help, and recognize apropos-multi-type.
11491 (apropos-print-doc): Use button-type-get to extract the button's
11492 face property. Fill docstring (Bug#8352).
11493
4ffd0d6b 114942011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11495
11496 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11497
c6c32125 11498 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11499 (mpuz-mode-map): Use mapc.
c6c32125
JB
11500 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11501 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11502 Fix typos in docstrings.
11503
58d468b4
JB
11504 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11505 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11506
6470c3c6
JB
11507 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11508
4ffd0d6b 115092011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11510
11511 * minibuffer.el (completion--do-completion): Avoid the "Next char
11512 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11513
3ad8bad0
CY
11514 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11515 mouse-2 into unread-command-events, it is interpreted correctly.
11516
71d73c9c 11517 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11518 (image-toggle-display): Doc fix.
71d73c9c 11519
841a1577 115202011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11521
4ffd0d6b
GM
11522 * textmodes/page.el (what-page): Use line-number-at-pos to
11523 calculate line number (Bug#6825).
6e1dbaa9 11524
c2fb1b60
JB
115252011-04-22 Juanma Barranquero <lekktu@gmail.com>
11526
11527 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11528 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11529 Pass argument NO-DEFAULT to `find-tag-interactive'.
11530
e02f48d7
JB
115312011-04-22 Juanma Barranquero <lekktu@gmail.com>
11532
11533 Lexical-binding cleanup.
11534
11535 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11536 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11537 * progmodes/ada-prj.el (ada-prj-initialize-values)
11538 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11539 (ada-prj-show-value):
11540 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11541 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11542 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11543 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11544 * progmodes/bug-reference.el (bug-reference-push-button):
11545 * progmodes/fortran.el (fortran-line-length):
11546 * progmodes/glasses.el (glasses-change):
11547 * progmodes/octave-mod.el (octave-fill-paragraph):
11548 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11549 (python-pdbtrack-grub-for-buffer, python-sentinel):
11550 * progmodes/sql.el (sql-save-connection):
11551 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11552 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11553 Mark unused parameters.
11554
11555 * progmodes/compile.el (compilation--flush-directory-cache)
11556 (compilation--flush-parse, compile-internal): Mark unused parameters.
11557 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11558 (compilation-next-error-function): Remove unused variable `timestamp'.
11559
11560 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11561 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11562
11563 * progmodes/dcl-mode.el (dcl-end-of-command):
11564 Remove unused variable `start'.
11565 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11566 (dcl-option-value-basic, dcl-option-value-offset)
11567 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11568 Mark unused parameters.
11569 (dcl-save-local-variable): Remove unused variable `val'.
11570 (mode): Declare.
11571
11572 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11573 Mark unused parameters.
11574 (delphi-ignore-changes): Move before first use.
11575 (delphi-charset-token-at): Remove unused variable `start'.
11576 (delphi-else-start): Remove unused variable `if-count'.
11577 (delphi-comment-block-start, delphi-comment-block-end):
11578 Remove unused variable `kind'.
11579 (delphi-indent-line): Remove unused variable `new-point'.
11580
11581 * progmodes/ebrowse.el (ebrowse-files-list)
11582 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11583 Mark unused parameters. Don't quote `lambda'.
11584 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11585 Don't quote `lambda'.
11586 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11587 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11588 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11589 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11590 Use `ignore-errors'.
11591 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11592 (ebrowse-view/find-file-and-search-pattern)
11593 (ebrowse-view/find-member-declaration/definition):
11594 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11595 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11596 Rename parameter PREFIX-ARG to PREFIX.
11597 (ebrowse-tags-read-name): Remove unused variables `start' and
11598 `member-info'.
11599 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11600 to `tags-file'.
11601
11602 * progmodes/etags.el (local-find-tag-hook): Declare.
11603 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11604 Mark unused parameters.
11605
11606 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11607 (executable-interpret): Mark unused parameter.
11608
11609 * progmodes/flymake.el (flymake-process-sentinel)
11610 (flymake-after-change-function)
11611 (flymake-create-temp-with-folder-structure)
11612 (flymake-get-include-dirs-dot): Mark unused parameters.
11613 (flymake-safe-delete-directory): Remove unused variable `err'.
11614
11615 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11616 (speedbar-timer-fn, speedbar-line-text)
11617 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11618 (speedbar-center-buffer-smartly): Declare functions.
11619 (gdb-find-watch-expression): Remove unused variable `array'.
11620 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11621 (gdb-starting): Mark unused parameters.
11622 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11623 (gdb-table-string): Remove unused variable `res'.
11624 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11625 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11626 (gdb-display-buffer): Remove unused variable `cur-size'.
11627
11628 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11629 allow lexical-binding compilation.
11630 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11631 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11632 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11633 Mark unused parameters.
11634 (gud-gdb-marker-filter): Remove unused variable `match'.
11635 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11636 lambda expressions and funcall them, instead of using `fset'.
11637
11638 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11639 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11640
11641 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11642 variable `header-beg'; use `let'.
11643
11644 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11645 `restart', `last-sexp' and `at-do'.
11646
11647 * progmodes/js.el (js--debug): Mark unused parameter.
11648 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11649 (js--splice-into-items): Remove unused variable `item'.
11650 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11651
11652 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11653 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11654 (makefile-complete): Remove unused variable `try'.
11655 (makefile-fill-paragraph, makefile-match-function-end):
11656 Mark unused parameters.
11657
11658 * progmodes/octave-inf.el (inferior-octave-complete):
11659 Remove unused variable `proc'.
11660 (inferior-octave-output-digest): Mark unused parameter.
11661
11662 * progmodes/perl-mode.el (perl-calculate-indent):
11663 Remove unused variable `err'.
11664
11665 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11666 (prolog-indent-line): Mark unused parameters.
11667 (prolog-indent-line): Remove unused variable `beg'.
11668
11669 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11670 (reporter-dont-compact-list): Declare.
11671
11672 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11673 Remove unused variable `char'.
11674 (sh-debug): Mark unused parameter.
11675 (sh-get-indent-info): Remove unused variable `start'.
11676 (sh-calculate-indent): Remove unused variable `var'.
11677
11678 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11679 (simula-electric-keyword): Remove unused variable `null'.
11680 (simula-search-backward, simula-search-forward): Remove unused
11681 variables `begin' and `end'.
11682
11683 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11684 Remove unused variable `pos'.
11685 (vera-electric-tab, vera-comment-uncomment-region):
11686 Mark unused parameters.
11687 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11688
7ede3b65
CY
116892011-04-22 Chong Yidong <cyd@stupidchicken.com>
11690
11691 * emacs-lisp/package.el (package--builtins, package-alist)
11692 (package-load-descriptor, package-built-in-p, package-activate)
11693 (define-package, package-installed-p)
11694 (package-compute-transaction, package-buffer-info)
11695 (package--push): Doc fix. Distinguish more clearly between
11696 version strings and version lists.
11697
121656e9
JB
116982011-04-21 Juanma Barranquero <lekktu@gmail.com>
11699
11700 Lexical-binding cleanup.
11701
11702 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11703 (5x5-make-mutate-best):
11704 * play/fortune.el (fortune-in-buffer):
11705 * play/gomoku.el (gomoku-init-display):
11706 * play/solitaire.el (solitaire, solitaire-do-check):
11707 * play/tetris.el (tetris-default-update-speed-function):
11708 Mark unused parameters.
11709
11710 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11711 (bubbles--shift): Remove unused variable `char-org'.
11712 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11713 (bubbles--show-images): Remove unused variable `char'.
11714
11715 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11716 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11717 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11718 (decipher-analyze-buffer): Use ?\s.
11719 (decipher-make-checkpoint): Remove unused variable `mapping'.
11720
11721 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11722
11723 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11724 Remove unused variable `result'; use `let'.
11725
11726 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11727 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11728 (gametree-children-shown-p, gametree-compute-reduced-score):
11729 Use `ignore-errors'.
11730
11731 * play/handwrite.el (ps-lpr-switches): Declare.
11732 (handwrite): Remove unused variables `pmin' and `lastp'.
11733
11734 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11735
11736 * play/landmark.el (landmark-init-display)
11737 (landmark-update-naught-weights): Mark unused parameters.
11738 (landmark-y): Remove unused variable `noise'. Simplify.
11739 (landmark-human-plays): Remove unused variable `score'.
11740
11741 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11742 (mpuz-try-proposal): Remove unused variable `game'.
11743
11744 * play/zone.el (life-patterns): Declare.
11745
80f499c7
JB
117462011-04-20 Juanma Barranquero <lekktu@gmail.com>
11747
11748 * vc/vc.el (ediff-vc-internal): Declare function.
11749
024ff170
SM
117502011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11751
c0a193ea
SM
11752 * shell.el: Use lexical-binding and std completion UI.
11753 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11754 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11755 comint-preoutput-filter-functions rather than on
11756 comint-output-filter-functions.
11757 (shell-command-completion, shell--command-completion-data)
11758 (shell-filename-completion, shell-environment-variable-completion)
11759 (shell-c-a-p-replace-by-expanded-directory): New functions.
11760 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11761 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11762 (shell-dynamic-complete-environment-variable): Use them.
11763 (shell-dynamic-complete-as-environment-variable)
11764 (shell-dynamic-complete-as-command): Remove.
11765 (shell-match-partial-variable): Match past point.
11766 * comint.el: Clean up use of completion-at-point-functions.
11767 (comint-completion-at-point): New function.
11768 (comint-mode): Use it completion-at-point-functions.
11769 (comint-dynamic-complete): Make it obsolete.
11770 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11771 (comint-c-a-p-replace-by-expanded-history): New function.
11772 (comint-dynamic-complete-functions)
11773 (comint-replace-by-expanded-history): Use it.
11774 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11775 termination strings. Try harder to avoid second try-completion.
11776 (completion-in-region-mode-map): Disable bindings that don't work yet.
11777
2dbaa080
SM
11778 * comint.el: Use lexical-binding. Require CL.
11779 (comint-dynamic-complete-functions): Use comint-filename-completion.
11780 (comint-completion-addsuffix): Tweak custom type.
11781 (comint-filename-completion, comint--common-suffix)
11782 (comint--common-quoted-suffix, comint--table-subvert)
11783 (comint--complete-file-name-data): New functions.
11784 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11785 (comint-dynamic-list-filename-completions): Use them.
11786 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11787
2dbaa080
SM
11788 * minibuffer.el (completion-in-region-mode):
11789 Keep completion-in-region-mode--predicate global.
11790 (completion-in-region--postch):
11791 Assume completion-in-region-mode--predicate is not null.
11792
c79a6f38
SM
11793 * progmodes/flymake.el (flymake-start-syntax-check-process):
11794 Obey `dir'. Simplify.
11795
024ff170
SM
11796 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11797 we're in VC after all.
11798
1c6c854e
CS
117992011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11800
11801 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11802 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11803 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11804
bed7f140
SM
118052011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11806
332e62ab
SM
11807 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11808 add sanity check.
11809
bed7f140
SM
11810 * obsolete/erc-hecomplete.el: Make obsolete.
11811 * obsolete/: Standardize obsolescence info in the header.
11812
f195c582
GM
118132011-04-20 Glenn Morris <rgm@gnu.org>
11814
11815 * calendar/solar.el (solar-horizontal-coordinates):
11816 Use the longitude argument rather than `calendar-longitude'.
11817 (solar-date-next-longitude): Remove unused locals.
11818
cb79b8c0
VJL
118192011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11820
11821 * whitespace.el: New version 13.2.1.
11822
118232011-04-20 felix <EmacsWiki> (tiny change)
11824
d8e4b68b 11825 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11826 switching between major modes on a file.
11827
602ea69d
SM
118282011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11829
11830 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11831 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11832 multi-line comments as well.
11833
06b60517
JB
118342011-04-19 Juanma Barranquero <lekktu@gmail.com>
11835
11836 Lexical-binding cleanup.
11837
11838 * arc-mode.el (archive-mode-revert):
11839 * cmuscheme.el (scheme-interactively-start-process):
11840 * custom.el (custom-initialize-delay):
11841 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11842 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11843 * emacs-lock.el (emacs-lock-clear-sentinel):
11844 * ezimage.el (defezimage):
11845 * follow.el (follow-avoid-tail-recenter):
11846 * fringe.el (set-fringe-mode-1):
11847 * generic-x.el (bat-generic-mode-compile):
11848 * help-mode.el (help-info-variable, help-do-xref)
11849 (help-mode-revert-buffer):
11850 * help.el (view-emacs-todo):
11851 * iswitchb.el (iswitchb-completion-help):
11852 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11853 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11854 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11855 * locate.el (locate-update):
11856 * longlines.el (longlines-encode-region)
11857 (longlines-after-change-function):
11858 * outline.el (outline-isearch-open-invisible):
11859 * ps-def.el (declare-function, charset-dimension, char-width)
11860 (encode-char):
11861 * ps-mule.el (ps-mule-plot-string):
11862 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11863 (recentf-edit-list-select, recentf-edit-list-validate)
11864 (recentf-open-files-action):
11865 * rect.el (delete-whitespace-rectangle-line)
11866 (rectangle-number-line-callback):
11867 * register.el (window-configuration-to-register)
11868 (frame-configuration-to-register):
11869 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11870 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11871 (xselect-convert-to-targets, xselect-convert-to-delete)
11872 (xselect-convert-to-filename, xselect-convert-to-charpos)
11873 (xselect-convert-to-lineno, xselect-convert-to-colno)
11874 (xselect-convert-to-os, xselect-convert-to-host)
11875 (xselect-convert-to-user, xselect-convert-to-class)
11876 (xselect-convert-to-name, xselect-convert-to-integer)
11877 (xselect-convert-to-atom, xselect-convert-to-identity):
11878 * subr.el (declare, ignore, process-kill-without-query)
11879 (text-clone-maintain):
11880 * terminal.el (te-get-char, te-tic-sentinel):
11881 * tool-bar.el (tool-bar-make-keymap):
11882 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11883 * type-break.el (type-break-mode, type-break-noninteractive-query):
11884 * view.el (View-back-to-mark):
11885 * wid-browse.el (widget-browse-action, widget-browse-widget)
11886 (widget-browse-widgets, widget-browse-sexp):
11887 * widget.el (define-widget-keywords):
11888 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11889 Mark unused parameters.
11890
11891 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11892 (align-areas): Remove unused variable `look'.
11893 (align-region): Remove unused variables `real-end' and `pos-list'.
11894
11895 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11896
11897 * bindings.el (mode-line-modified, mode-line-remote):
11898 Mark unused parameters.
11899 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11900
11901 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11902 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11903
11904 * comint.el (comint-history-isearch-pop-state)
11905 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11906 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11907 (comint-substitute-in-file-name): Doc fix.
11908
11909 * completion.el (cmpl-statistics-block): Mark unused parameter.
11910 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11911 (save-completions-to-file, load-completions-from-file):
11912 Remove unused local variable `e'.
11913
11914 * composite.el (compose-chars): Remove unused variable `len'.
11915 (lgstring-insert-glyph): Remove unused variable `g'.
11916 (compose-glyph-string): Remove unused variables `ascent',
11917 `descent', `lbearing' and `rbearing'.
11918 (compose-glyph-string-relative): Remove unused variables
11919 `lbearing', `rbearing' and `wadjust'.
11920 (compose-gstring-for-graphic): Remove unused variables `header',
11921 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11922 (compose-gstring-for-terminal): Remove unused variables `header'
11923 and `nchars'. Use `let', not `let*'.
11924
11925 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11926 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11927 (Custom-buffer-done, custom-buffer-create-internal)
11928 (custom-browse-visibility-action, custom-browse-group-tag-action)
11929 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11930 (widget-magic-mouse-down-action, custom-toggle-parent)
11931 (custom-add-parent-links, custom-toggle-hide-variable)
11932 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11933 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11934 (custom-face-menu-create, custom-variable-menu-create, get)
11935 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11936 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11937 (customize-apropos): Remove unused variable `tests'.
11938 (custom-group-value-create): Remove unused variable `hidden-p'.
11939 (sort-fold-case): Declare.
11940
11941 * cus-theme.el (custom-reset-standard-faces-list)
11942 (custom-reset-standard-variables-list): Declare.
11943 (customize-create-theme, custom-theme-revert, custom-theme-write)
11944 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11945 Mark unused parameters.
11946
11947 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11948
11949 * delim-col.el (delimit-columns-max): Move defvar before first use.
11950
11951 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11952 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11953
11954 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11955 (auto-insert): Declare.
11956 (desktop-restore-file-buffer): Rename desktop-* parameters;
11957 mark unused ones.
11958 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11959 (desktop-buffer): Rename desktop-* parameters.
11960
11961 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11962 (dframe-reposition-frame-xemacs, dframe-help-echo)
11963 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11964 Mark unused parameters.
11965
11966 * dired-aux.el (backup-extract-version-start, overwrite-query)
11967 (overwrite-backup-query, rename-regexp-query)
11968 (rename-non-directory-query): Declare.
11969 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11970 (dired-add-entry): Remove unused variable `orig-file-name'.
11971 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11972 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11973 `dired-copy-preserve-time' directly.
11974 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11975 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11976
11977 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11978 (dired-virtual-revert, dired-make-relative-symlink):
11979 Mark unused parameters.
11980 (manual-program): Declare.
11981 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11982 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11983 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11984
11985 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11986
11987 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11988
11989 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11990 Declare.
11991
11992 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11993
11994 * electric.el (Electric-command-loop): Rename parameter
11995 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11996
11997 * expand.el (expand-in-literal): Remove unused variable `here'.
11998
11999 * facemenu.el (facemenu-add-new-color):
12000 Remove unused variable `docstring'.
12001
12002 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12003 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12004 (face-attr-construct): Mark unused parameter. Doc fix.
12005 (read-color): Remove unused variable `hex-string'.
12006
12007 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12008 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12009 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12010 (display-buffer-other-frame): Remove unused variable `old-window'.
12011 (kill-buffer-hook): Declare.
12012 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12013 Mark unused parameters.
12014 (after-find-file): Pass 1 to `auto-save-mode', not t.
12015
12016 * files-x.el (auto-insert): Declare.
12017 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12018
12019 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12020 variable `buf'. Mark unused parameter.
06b60517
JB
12021 (find-lisp-insert-directory): Mark unused parameter.
12022
12023 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12024 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12025 (format-common-tail): Remove, unused.
12026 (format-deannotate-region): Remove unused variable `loc'.
12027 (format-annotate-region): Remove unused variable `p'.
12028 (format-annotate-single-property-change): Remove unused variables
12029 `default' and `tail'.
12030
12031 * forms.el (read-file-filter): Declare.
12032 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12033
12034 * frame.el (frame-creation-function-alist): Mark unused parameter.
12035 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12036
12037 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12038 Remove unused parameters.
12039 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12040 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12041
12042 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12043 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12044 (hfy-prepare-tag-map): Mark unused parameters.
12045 (htmlfontify-buffer): Use `called-interactively-p'.
12046
12047 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12048 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12049 (ibuffer-do-occur): Mark unused parameters.
12050 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12051 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12052
12053 * ibuffer.el: Don't quote `lambda'.
12054 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12055 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12056 Mark unused parameters.
12057
12058 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12059 (ido-completing-read): Mark unused parameters.
12060 (ido-copy-current-word): Mark unused parameters;
12061 remove unused variable `name'.
12062 (ido-sort-merged-list): Remove unused parameter `dirs'.
12063
12064 * ielm.el (ielm-input-sender): Mark unused parameter.
12065 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12066 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12067 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12068 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12069 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12070
12071 * image-dired.el (image-dired-display-thumbs): Remove unused
12072 variables `curr-file' and `count'.
12073 (image-dired-remove-tag): Remove unused variable `start'.
12074 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12075 variable `curr-file'
12076 (image-dired-rotate-original): Remove unused variable `temp-file'.
12077 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12078 Remove unused variable `file'.
12079 (image-dired-gallery-generate): Remove unused variable `curr'.
12080 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12081
12082 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12083
12084 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12085
12086 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12087
12088 * isearch.el (minibuffer-history-symbol): Declare.
12089 (isearch-edit-string): Remove unused variable `err'.
12090 (isearch-message-prefix, isearch-message-suffix):
12091 Mark unused parameters.
12092
12093 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12094
12095 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12096
12097 * makesum.el (double-column): Remove unused variable `cnt'.
12098
12099 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12100 (ido-ignore-item-temp-list): Declare.
12101
12102 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12103 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12104 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12105 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12106 `mouse-col-delta'.
12107
12108 * mouse-sel.el (mouse-extend-internal):
12109 Remove unused variable `orig-window-frame'.
12110
12111 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12112 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12113 Move declarations before first use.
12114 (pcomplete-opt): Mark unused parameters; doc fix.
12115
12116 * proced.el (proced-revert): Mark unused parameter.
12117 (proced-send-signal): Remove unused variable `err'.
12118
12119 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12120 Rename parameter PREFIX-ARG to ARG.
12121 (ps-basic-plot-string, ps-basic-plot-whitespace):
12122 Mark unused parameters.
12123
12124 * replace.el (replace-count): Define.
12125 (occur-revert-function): Mark unused parameters.
12126 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12127 (isearch-case-fold-search, isearch-string): Declare.
12128 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12129 bind `case-fold-search'. Remove unused variables `beg' and `end',
12130 and simplify.
12131 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12132 COUNT and bind `replace-count'.
12133 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12134 to COUNT.
12135
12136 * savehist.el (print-readably, print-string-length): Declare.
12137
12138 * shadowfile.el (shadow-expand-cluster-in-file-name):
12139 Remove unused variable `cluster'.
12140 (shadow-copy-file): Remove unused variable `i'.
12141 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12142 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12143 (shadow-define-literal-group, shadow-define-regexp-group)
12144 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12145
12146 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12147 (shell): Use `called-interactively-p'.
12148 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12149
12150 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12151 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12152 (delete-backward-char): Remove unused variable `ocol'.
12153 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12154 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12155 (event-apply-hyper-modifier, event-apply-shift-modifier)
12156 (event-apply-control-modifier, event-apply-meta-modifier):
12157 Mark unused parameters.
12158 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12159 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12160
12161 * speedbar.el (speedbar-ignored-directory-expressions)
12162 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12163 (speedbar-find-file, speedbar-dir-follow)
12164 (speedbar-directory-buttons-follow, speedbar-tag-find)
12165 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12166 (speedbar-buffers-line-directory, speedbar-buffer-click):
12167 Mark unused parameters.
12168 (speedbar-tag-file): Remove unused variable `mode'.
12169 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12170
12171 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12172
12173 * talk.el (talk): Remove unused variable `display'.
12174
12175 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12176 (tar-write-region-annotate): Mark unused parameter.
12177
12178 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12179 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12180 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12181 warning by another.
12182
12183 * time-stamp.el (time-stamp-string-preprocess):
12184 Remove unused variable `require-padding'.
12185
12186 * tree-widget.el (widget-glyph-enable): Declare.
12187 (tree-widget-action): Mark unused parameter.
12188
12189 * w32-fns.el (x-get-selection): Mark unused parameter.
12190 (autoload-make-program, generated-autoload-file): Declare.
12191
12192 * wdired.el (wdired-revert): Mark unused parameters.
12193 (wdired-xcase-word): Remove unused variable `err'.
12194
12195 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12196 (whitespace-help-scroll): Remove unused variable `data-help'.
12197
12198 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12199 (widget-image-insert, widget-after-change, default)
12200 (widget-default-format-handler, widget-default-notify)
12201 (widget-default-prompt-value, widget-info-link-action)
12202 (widget-url-link-action, widget-function-link-action)
12203 (widget-variable-link-action, widget-file-link-action)
12204 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12205 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12206 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12207 (widget-insert-button-action, widget-delete-button-action, visibility)
12208 (widget-documentation-link-action, widget-documentation-string-action)
12209 (widget-const-prompt-value, widget-regexp-match, symbol)
12210 (widget-coding-system-prompt-value)
12211 (widget-key-sequence-value-to-external, sexp)
12212 (widget-sexp-value-to-internal, character, vector, cons)
12213 (widget-choice-prompt-value, widget-boolean-prompt-value)
12214 (widget-color--choose-action): Mark unused parameters.
12215 (widget-item-match-inline, widget-choice-match-inline)
12216 (widget-checklist-match, widget-checklist-match-inline)
12217 (widget-group-match): Rename parameter VALUES to VALS.
12218 (widget-field-value-set): Remove unused variable `size'.
12219 (widget-color-action): Remove unused variables `value' and `start'.
12220
12221 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12222 variable `dir'. Doc fix.
06b60517
JB
12223 (windmove-find-other-window): Don't pass it.
12224
12225 * window.el (count-windows): Mark unused parameter.
12226 (bw-adjust-window): Remove unused variable `err'.
12227
12228 * woman.el (woman-file-name): Remove unused variable `default'.
12229 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12230 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12231 (global-font-lock-mode): Declare.
12232 (woman-decode-region): Mark unused parameter.
12233 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12234
12235 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12236 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12237 (x-dnd-handle-moz-url): Remove unused variable `title'.
12238 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12239
12240 * xml.el (xml-parse-tag, xml-parse-attlist):
12241 Remove unused variable `pos'.
12242
bc4f7f3d
GM
122432011-04-19 Glenn Morris <rgm@gnu.org>
12244
12245 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12246 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12247 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12248 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12249 * calendar/cal-html.el (cal-html-insert-minical):
12250 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12251 (calendar-mark-date-pattern):
12252 Prefix "unused" locals.
12253
12254 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12255 optional argument `style'.
12256
12257 * calendar/appt.el (appt-make-list):
12258 * calendar/cal-china.el (calendar-chinese-date-string):
12259 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12260 (diary-hebrew-yahrzeit):
12261 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12262 * calendar/calendar.el (calendar-generate-window):
12263 * calendar/time-date.el (time-to-days):
12264 Remove unused local variables.
12265
16a43933
CY
122662011-04-18 Chong Yidong <cyd@stupidchicken.com>
12267
12268 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12269 glyphless-char-display table.
12270 (tabulated-list-glyphless-char-display): New var.
12271
7eed1860
SS
122722011-04-18 Sam Steingold <sds@gnu.org>
12273
12274 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12275 to acknowledgments.
12276
4d2d1ccd
GM
122772011-04-17 Glenn Morris <rgm@gnu.org>
12278
12279 * calendar/diary-lib.el (diary-sexp-entry):
12280 * calendar/holidays.el (holiday-sexp):
12281 Set debug-on-error rather than the removed stack-trace-on-error.
12282
239da61d
GM
122832011-04-16 Glenn Morris <rgm@gnu.org>
12284
12285 * progmodes/f90.el: Use lexical-binding.
12286 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12287
8b05752a
SM
122882011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12289
daca8ba5
SM
12290 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12291 (mail-mode): Setup mailalias completion here instead.
12292 * mail/mailalias.el: Use lexical-binding.
12293 (pattern, mailalias-done): Declare dynamic.
12294 (mail-completion-at-point-function): New function, from mail-complete.
12295 (mail-complete): Use it.
12296 (mail-completion-expand): New function.
12297 (mail-get-names): Use it.
12298 (mail-directory, mail-directory-process, mail-directory-stream):
12299 Don't use `pattern' for lexically bound arg.
12300
6f542485
SM
12301 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12302
037e7c3f
SM
12303 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12304 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12305 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12306
8b05752a
SM
12307 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12308 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12309 (byte-interactive-p): Define them again, for use when inlining
12310 old code.
12311
49093f60
JB
123122011-04-15 Juanma Barranquero <lekktu@gmail.com>
12313
12314 * loadup.el: Use `string-to-number', not `string-to-int'.
12315
b5b8e7de
SM
123162011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12317
12318 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12319 gud-gdb-complete-command.
12320 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12321 (gud-gdb-completion-at-point): New function.
12322 (gud-gdb-completions): Remove.
12323
f42efeb5
MA
123242011-04-14 Michael Albinus <michael.albinus@gmx.de>
12325
49093f60
JB
12326 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12327 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12328 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12329 whether `executable-find' is bound.
f42efeb5
MA
12330
12331 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12332
e240cc21
SM
123332011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12334
12335 * minibuffer.el (completion-in-region-mode-predicate)
12336 (completion-in-region-mode--predicate): New vars.
12337 (completion-in-region, completion-in-region--postch)
12338 (completion-in-region-mode): Use them.
12339 (completion--capf-wrapper): Also return the hook function.
12340 (completion-at-point, completion-help-at-point):
12341 Adjust and provide a predicate.
c2bd2ab0
SM
12342
12343 Preserve arg names for advice of subr and lexical functions (bug#8457).
12344 * help-fns.el (help-function-arglist): Consolidate the subr and
12345 new-byte-code cases. Add argument `preserve-names' to extract names
12346 from the docstring when needed.
12347 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12348 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12349 (ad-arglist): Use help-function-arglist's new arg.
12350 (ad-definition-type): Use cond.
12351
c183f693
JB
123522011-04-13 Juanma Barranquero <lekktu@gmail.com>
12353
06641a47
JB
12354 * autorevert.el (auto-revert-handler):
12355 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12356 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12357 Don't quote lambda.
12358
c183f693
JB
12359 * image-mode.el (image-transform-set-scale):
12360 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12361
1e3b6001
G
123622011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12363
12364 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12365 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12366 Upgrades via gnutls-cli are too slow to be done opportunistically.
12367
2d6af8dd
JB
123682011-04-12 Juanma Barranquero <lekktu@gmail.com>
12369
12370 * dframe.el (dframe-current-frame): Remove spurious quote.
12371
c0749a51
GM
123722011-04-12 Glenn Morris <rgm@gnu.org>
12373
088d0d61
GM
12374 * calendar/cal-tex.el (cal-tex-end-document):
12375 Try to automatically use latin1 input if needed.
12376
c0749a51
GM
12377 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12378 Don't try to cons a mark onto an empty element.
12379
5c90fde0
LL
123802011-04-11 Leo Liu <sdl.web@gmail.com>
12381
12382 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12383 buffers.
12384 (ido-kill-buffer-at-head): Support killing virtual buffers.
12385
369e974d
CY
123862011-04-10 Chong Yidong <cyd@stupidchicken.com>
12387
12388 * minibuffer.el (completion-show-inline-help): New var.
12389 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12390 (minibuffer-force-complete, minibuffer-complete-word):
12391 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12392
12393 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12394 to avoid interference from inline help (Bug#5849).
12395
37f1c930
LL
123962011-04-10 Leo Liu <sdl.web@gmail.com>
12397
099c39a4
JB
12398 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12399 Fix typo.
37f1c930 12400
a32d4040
CY
124012011-04-09 Chong Yidong <cyd@stupidchicken.com>
12402
12403 * image-mode.el (image-toggle-display-image): Signal an error if
12404 not in Image mode.
12405 (image-transform-mode, image-transform-resize)
12406 (image-transform-set-rotation): Doc fix.
daca8ba5 12407 (image-transform-set-resize): Delete.
a32d4040
CY
12408 (image-transform-set-scale, image-transform-fit-to-height)
12409 (image-transform-fit-to-width): Handle image-toggle-display-image
12410 and image-transform-resize directly.
12411
099c39a4 124122011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12413
12414 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12415 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12416 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12417 (doc-view-mode-map): Add bindings for the new functions.
12418
099c39a4 124192011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12420
4d61f28d 12421 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12422 Fix typo in docstring.
12423
3726838a
EZ
124242011-04-08 Eli Zaretskii <eliz@gnu.org>
12425
04f33f1e
EZ
12426 * files.el (file-size-human-readable): Produce one digit after
12427 decimal, like "ls -lh" does.
12428
12429 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12430 the file size representation.
12431
3726838a
EZ
12432 * simple.el (list-processes): If async subprocesses are not
12433 available, error out with a clear error message.
12434
cbb59342
CY
124352011-04-08 Chong Yidong <cyd@stupidchicken.com>
12436
12437 * help.el (help-form-show): New function, to be called from C.
12438 Put help-form output in a buffer named differently than *Help*.
12439
e3971c44
EZ
124402011-04-08 Eli Zaretskii <eliz@gnu.org>
12441
12442 * files.el (file-size-human-readable): New function.
12443
12444 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12445 computing the representation inline. Don't require `cl'.
12446
12544bbe
GM
124472011-04-08 Glenn Morris <rgm@gnu.org>
12448
a1de6c6a
GM
12449 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12450
3c4671f4
GM
12451 * net/browse-url.el (browse-url-firefox):
12452 Test system-type, not system-configuration.
12453
b605679c
GM
12454 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12455 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12456 Use log-edit-empty-buffer-p. (Bug#7598)
12457
56442f0c
GM
12458 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12459 (rlogin-mode-map): Initialize in the defvar.
12460 (rlogin): Use ignore-errors.
12461
12544bbe
GM
12462 * replace.el (occur-mode-map): Some fixes for menu items.
12463
eb237b0f
AH
124642011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12465
12466 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12467
7d668f2c
CY
124682011-04-06 Chong Yidong <cyd@stupidchicken.com>
12469
e67a13ab
CY
12470 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12471 issuing unused warnings.
12472
12473 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12474 macro directly.
12475
7d668f2c
CY
12476 * simple.el: Lisp reimplement of list-processes. Based on an
12477 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12478 (process-menu-mode): New major mode.
12479 (list-processes--refresh, list-processes):
12480 (process-menu-visit-buffer): New functions.
12481
12482 * files.el (save-buffers-kill-emacs): Don't assume any return
12483 value of list-processes, which is undocumented anyway.
12484
a83ec3c9
CY
124852011-04-06 Chong Yidong <cyd@stupidchicken.com>
12486
12487 * emacs-lisp/tabulated-list.el: New file.
12488
e91a96fe
CY
12489 * emacs-lisp/package.el: Use Tabulated List mode.
12490 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12491 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12492 table format using Tabulated List mode variables.
12493 (package--push): New macro, replacing package-list-maybe-add.
12494 (package-menu--generate): Use package--push. Renamed from
12495 package--generate-package-list.
12496 (package-menu-refresh, list-packages): Use it.
daca8ba5 12497 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12498 Return insertion data instead of inserting it directly.
099c39a4
JB
12499 (package-menu-describe-package, package-menu-execute):
12500 Use tabulated-list-get-id.
e91a96fe
CY
12501 (package-menu-mark-delete, package-menu-mark-install)
12502 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12503 (package-menu-mark-obsolete-for-deletion):
12504 Use tabulated-list-put-tag.
e91a96fe
CY
12505 (package--list-packages, package-menu-revert)
12506 (package-menu-get-package, package-menu-get-version)
12507 (package-menu-sort-by-column): Functions deleted.
12508 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12509 (package-menu--status-predicate, package-menu--version-predicate)
12510 (package-menu--name-predicate)
12511 (package-menu--description-predicate): Handle arguments in the
12512 Tabulated List format.
12513 (package-list-packages-no-fetch): Call list-packages.
12514
3e214b50
JB
125152011-04-06 Juanma Barranquero <lekktu@gmail.com>
12516
12517 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12518 (after-find-file): Don't bind it.
3e214b50
JB
12519 (revert-buffer-in-progress-p): New variable.
12520 (revert-buffer): Bind it.
12521 Pass nil for `after-find-file-from-revert-buffer'.
12522
12523 * saveplace.el (save-place-find-file-hook): Use new variable
12524 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12525
3f0f1700
GM
125262011-04-06 Glenn Morris <rgm@gnu.org>
12527
c0274801
GM
12528 * Makefile.in (AUTOGEN_VCS): New variable.
12529 (autoloads): Use $AUTOGEN_VCS.
12530
3f0f1700
GM
12531 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12532 * calendar/calendar.el (calendar-mode-map):
12533 Check for toolkit scroll bars. (Bug#8305)
12534
41ea9e48
CY
125352011-04-05 Chong Yidong <cyd@stupidchicken.com>
12536
12537 * minibuffer.el (completion-in-region--postch)
12538 (completion-in-region-mode): Remove unnecessary messages.
12539
6194c800
JB
125402011-04-05 Juanma Barranquero <lekktu@gmail.com>
12541
33256f14
JB
12542 * font-lock.el (font-lock-refresh-defaults):
12543 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12544 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12545
6194c800
JB
12546 * info.el (Info-directory-list, Info-read-node-name-2)
12547 (Info-split-parameter-string): Doc fixes.
12548 (Info-virtual-nodes): Reflow docstring.
12549 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12550 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12551 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12552 Fix typos in docstrings.
12553 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12554 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12555 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12556 (Info-restore-desktop-buffer): Mark unused parameters.
12557 (Info-directory-find-file, Info-directory-find-node)
12558 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12559 (Info-virtual-index-find-node, Info-apropos-find-file)
12560 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12561 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12562 (Info-virtual-index): Remove unused local variable `nodename'.
12563
b87a8200 125642011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12565
b87a8200
DD
12566 * net/rcirc.el: Update my e-mail address.
12567 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12568
3b2ff876
CY
125692011-04-05 Chong Yidong <cyd@stupidchicken.com>
12570
12571 * startup.el (command-line): Save the cursor's theme-face
12572 directly, instead of using face-override-spec.
12573
12574 * custom.el (load-theme): Minor optimization in assigning faces.
12575
8d17e7ca
JB
125762011-04-04 Juanma Barranquero <lekktu@gmail.com>
12577
12578 * help-fns.el (describe-variable): Complete all variables having
12579 documentation, including keywords.
12580 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12581
2fbc1934
JB
125822011-04-04 Juanma Barranquero <lekktu@gmail.com>
12583
12584 Convert to lexical-binding.
12585
12586 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12587 (bs--get-marked-string, bs--get-modified-string)
12588 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12589 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12590 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12591
12592 * ehelp.el (electric-help-execute-extended)
12593 (electric-help-ctrl-x-prefix):
12594 * hexl.el (hexl-revert-buffer-function):
12595 * linum.el (linum-after-change, linum-after-scroll):
12596 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12597
12598 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12599
74f50695
DU
126002011-04-04 Daiki Ueno <ueno@unixuser.org>
12601
12602 * epa-dired.el:
12603 * epa-mail.el:
12604 * epa-hook.el:
12605 * epa-file.el:
12606 * epa.el:
12607 * epg.el: Use lexical binding.
12608
c11325f7
CY
126092011-04-03 Chong Yidong <cyd@stupidchicken.com>
12610
0d9e9a12
CY
12611 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12612
c11325f7 12613 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12614 dictionary case for flyspell-mark-duplications-exceptions.
12615 Use regexp matching for languages.
c11325f7
CY
12616 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12617 default dictionary (Bug#7926).
12618
da91b5f2
CY
126192011-04-02 Chong Yidong <cyd@stupidchicken.com>
12620
099c39a4
JB
12621 * emacs-lisp/package.el (package--with-work-buffer):
12622 Recognize https URLs.
da91b5f2 12623
099c39a4
JB
12624 * net/network-stream.el: Move from gnus/proto-stream.el.
12625 Change prefix to network-stream throughout.
da91b5f2
CY
12626 (open-protocol-stream): Merge into open-network-stream, leaving
12627 open-protocol-stream as an alias. Handle nil BUFFER args.
12628
12629 * subr.el (open-network-stream): Move to net/network-stream.el.
12630
afa8e9f6
GM
126312011-04-02 Glenn Morris <rgm@gnu.org>
12632
1d2e369d
GM
12633 * find-dired.el (find-exec-terminator): New option.
12634 (find-ls-option): Test for -ls support.
12635 (find-ls-subdir-switches): Test for -b in find-ls-option.
12636 (find-dired, find-grep-dired): Doc fixes.
12637 (find-dired): Use find-exec-terminator.
12638
8abb7da8 12639 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12640 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12641 (find-name-arg): Remove purecopy.
8abb7da8 12642
f3ca7378
GM
12643 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12644 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12645 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12646 accordingly. Don't add the null-device if not needed.
12647
afa8e9f6
GM
12648 * files.el (save-some-buffers): Doc fix.
12649
35eae264
EZ
126502011-04-02 Eli Zaretskii <eliz@gnu.org>
12651
12652 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12653
26b51db5
JB
126542011-04-01 Juanma Barranquero <lekktu@gmail.com>
12655
12656 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12657 Use `dolist' rather than `mapcar'.
12658
7200d79c
SM
126592011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12660
03408648 12661 Add lexical binding.
7200d79c 12662
03408648
SM
12663 * subr.el (apply-partially): Use new closures rather than CL.
12664 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12665 (dolist, dotimes): Use slightly different expansion for lexical code.
12666 (functionp): Move to C.
12667 (letrec): New macro.
12668 (with-wrapper-hook): Use it and apply-partially instead of CL.
12669 (eval-after-load): Preserve lexical-binding.
12670 (save-window-excursion, with-output-to-temp-buffer): Turn them
12671 into macros.
7200d79c 12672
03408648
SM
12673 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12674
12675 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12676 than the arglist.
12677 (help-add-fundoc-usage): Don't add `Not documented'.
12678 (help-function-arglist): Handle closures, subroutines, and new
12679 byte-code-functions.
12680 (help-make-usage): Remove leading underscores.
12681 (describe-function-1): Handle closures.
12682 (describe-variable): Use special-variable-p for completion.
12683
12684 * files.el (lexical-binding): Declare safe.
f488fb65 12685
03408648
SM
12686 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12687 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12688 (pcase): Add `let' pattern.
12689 Change memoization so it actually works.
12690 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12691 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12692 <let>: New case.
f488fb65 12693
03408648
SM
12694 * emacs-lisp/macroexp.el: Use lexical binding.
12695 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12696 Don't convert ' to #' without checking that it's indeed quoting
12697 a lambda.
12698
12699 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12700 Use eval-sexp-add-defvars.
03408648
SM
12701 (eval-sexp-add-defvars): New fun.
12702
12703 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12704
12705 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12706 Don't autoload.
12707 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12708 than the internal `byte-compile-lambda'.
12709 (defmethod): Don't hide code under quotes.
12710 (eieio-defmethod): New `code' argument.
12711
12712 * emacs-lisp/eieio-comp.el: Remove.
12713
12714 * emacs-lisp/edebug.el (edebug-eval-defun)
12715 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12716 (edebug-toggle): Avoid `eval'.
12717
12718 * emacs-lisp/disass.el (disassemble-internal): Handle new
12719 `closure' objects.
12720 (disassemble-1): Handle new byte codes.
12721
12722 * emacs-lisp/cl.el (pushnew): Silence warning.
12723
12724 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12725 (cl-byte-compile-throw): Remove.
12726 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12727
12728 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12729 closures.
12730
12731 * emacs-lisp/cconv.el: New file.
12732
12733 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12734 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12735 (byte-compile-initial-macro-environment):
12736 Handle declare-function here.
12737 (byte-compile--lexical-environment): New var.
12738 (byte-stack-ref, byte-stack-set, byte-discardN)
12739 (byte-discardN-preserve-tos): New lap codes.
12740 (byte-interactive-p): Don't use any more.
12741 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12742 New macros.
12743 (byte-compile-lapcode): Use them and handle new lap codes.
12744 (byte-compile-obsolete): Remove.
12745 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12746 (byte-compile-arglist-warn): Check late def of inlinable funs.
12747 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12748 since they should have been expanded by now.
12749 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12750 (byte-compile-from-buffer): Remove unused second arg.
12751 (byte-compile-preprocess): New function.
12752 (byte-compile-toplevel-file-form): New function to distinguish
12753 file-form calls from outside from file-form calls from hunk-handlers.
12754 (byte-compile-file-form): Simplify.
12755 (byte-compile-file-form-defsubst): Remove.
12756 (byte-compile-file-form-defmumble): Simplify now that
12757 byte-compile-lambda always returns a byte-code-function.
12758 (byte-compile): Preprocess.
12759 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12760 Remove, not used any more.
12761 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12762 (byte-compile-make-args-desc): New funs.
12763 (byte-compile-lambda): Handle lexical functions. Always return
12764 a byte-code-function.
12765 (byte-compile-reserved-constants): New var, to make up room for
12766 closed-over variables.
12767 (byte-compile-constants-vector): Obey it.
12768 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12769 (byte-compile-macroexpand-declare-function): New function.
12770 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12771 byte-code-functions.
12772 (byte-compile-form): Check obsolescence here.
12773 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12774 (byte-compile-variable-ref): Remove.
12775 (byte-compile-dynamic-variable-op): New fun.
12776 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12777 (byte-compile-variable-set): New funs.
12778 (byte-compile-discard): Add 2 args.
12779 (byte-compile-stack-ref, byte-compile-stack-set)
12780 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12781 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12782 macroexpand-all instead.
12783 (byte-compile-quote-form): Remove.
12784 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12785 (byte-compile-bind, byte-compile-unbind): New funs.
12786 (byte-compile-let): Handle let* and lexical binding.
12787 (byte-compile-let*): Remove.
12788 (byte-compile-catch, byte-compile-unwind-protect)
12789 (byte-compile-track-mouse, byte-compile-condition-case):
12790 Handle a new :fun-body form, used for lexical scoping.
12791 (byte-compile-save-window-excursion)
12792 (byte-compile-with-output-to-temp-buffer): Remove.
12793 (byte-compile-defun): Simplify.
12794 (byte-compile-stack-adjustment): New fun.
12795 (byte-compile-out): Use it.
12796 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12797
12798 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12799 handler any more.
12800
12801 * emacs-lisp/byte-opt.el: Use lexical binding.
12802 (byte-inline-lapcode): Remove (to bytecomp).
12803 (byte-compile-inline-expand): Pay attention to inlining to/from
12804 lexically bound code.
12805 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12806 any more.
12807 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12808 any more and don't call compiler-macros.
12809 (byte-compile-splice-in-already-compiled-code): Remove.
12810 (byte-code): Don't inline any more.
12811 (disassemble-offset): Receive `bytes' as argument rather than via
12812 dynamic scoping.
12813 (byte-compile-tag-number): Declare before first use.
12814 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12815 `return' even if make-spliceable.
12816 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12817 obsolete interactive-p.
12818 (byte-optimize-lapcode): Optimize new lap-codes.
12819 Don't trip up on new form of `byte-constant' lap code.
12820
12821 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12822
12823 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12824
12825 * custom.el (custom-initialize-default, custom-declare-variable):
12826 Use `defvar'.
12827
12828 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12829 New variables.
12830 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12831 (COMPILE_FIRST): Add macroexp and cconv.
12832 * makefile.w32-in: Mirror changes in Makefile.in.
12833
12834 * vc/cvs-status.el:
12835 * vc/diff-mode.el:
12836 * vc/log-edit.el:
12837 * vc/log-view.el:
12838 * vc/smerge-mode.el:
12839 * textmodes/bibtex-style.el:
12840 * textmodes/css.el:
12841 * startup.el:
12842 * uniquify.el:
da91b5f2
CY
12843 * minibuffer.el:
12844 * newcomment.el:
12845 * reveal.el:
12846 * server.el:
12847 * mpc.el:
12848 * emacs-lisp/smie.el:
12849 * doc-view.el:
12850 * dired.el:
03408648
SM
12851 * abbrev.el: Use lexical binding.
12852
0f0c1f27
EZ
128532011-04-01 Eli Zaretskii <eliz@gnu.org>
12854
12855 * info.el (info-display-manual): New function.
12856
c82b2579
SM
128572011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12858
12859 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12860
221ddf68
TH
128612011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12862
12863 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12864 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12865
cba6e77e
GM
128662011-03-31 Glenn Morris <rgm@gnu.org>
12867
e040639f
GM
12868 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12869
cba6e77e
GM
12870 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12871
6d0f1c9e
CS
128722011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12873
12874 * progmodes/python.el (python-default-interpreter)
12875 (python-python-command-args, python-jython-command-args)
12876 (python-which-shell, python-which-args, python-which-bufname)
12877 (python-file-queue, python-comint-output-filter-function)
12878 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12879 variables and functions.
12880
3e2d70fd
SM
128812011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12882
12883 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12884 (completion-in-region-mode): New minor mode.
12885 (completion-in-region): Use it.
12886 (completion-in-region--data, completion-in-region-mode-map): New vars.
12887 (completion-in-region--postch): New function.
12888 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12889 New vars.
12890 (completion--capf-wrapper): New function.
12891 (completion-at-point): Use it to track well-behavedness of
12892 hook functions.
12893 (completion-help-at-point): New command.
12894
f3e4086c
JM
128952011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12896
12897 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12898 syntax class to search for whitespace on a single line
12899 (Message-ID: <4D938140.4030905@redhat.com>).
12900
eb7ffc14
LL
129012011-03-30 Leo Liu <sdl.web@gmail.com>
12902
12903 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12904 New commands.
12905 (edit-abbrevs-map): Bind them here.
12906 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12907
d806ab68
KM
129082011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12909
12910 * allout.el (allout-hide-by-annotation, allout-flag-region):
12911 Reduce possibility of overlay leakage by making them volatile.
12912
12913 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12914 hash is not shared between buffers. Mode initialization is
12915 responsible for giving it a useful starting value.
12916 (allout-item-span): Reduce possibility of overlay leakage by
12917 making them volatile.
12918 (allout-widgets-count-buttons-in-region): Add diagnostic function
12919 for tracking down button overlay leaks.
12920
ea622834
LL
129212011-03-29 Leo Liu <sdl.web@gmail.com>
12922
12923 * ido.el (ido-read-internal): Use the default history var
12924 minibuffer-history if no HISTORY is specified.
12925
b62f8267
G
129262011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12927
03408648
SM
12928 * net/imap.el (imap-shell-open, imap-process-connection-type):
12929 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12930 Kerberos, SSL, other subprocesses.
12931
947b6566
LL
129322011-03-28 Leo Liu <sdl.web@gmail.com>
12933
12934 * abbrev.el (abbrev-table-empty-p): New function.
12935 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12936 nonempty ones. (Bug#5937)
12937
5ffb62aa
JD
129382011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12939
12940 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12941
7a097943
LL
129422011-03-27 Leo Liu <sdl.web@gmail.com>
12943
12944 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12945 for foreground and background colors.
12946 (ansi-color-make-color-map): Adapt.
12947
c5b40130
LL
129482011-03-25 Leo Liu <sdl.web@gmail.com>
12949
1f48f7d2
LL
12950 * midnight.el (midnight-time-float): Remove. Note it calculates
12951 the microsecond component incorrectly and seconds-to-time does the
12952 same job.
625897ec 12953 Remove redundant (require 'timer).
1f48f7d2 12954
c5b40130
LL
12955 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12956 (ido-completions): Remove unused arguments. (Bug#8329)
12957
d86d2721
SM
129582011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12959
12960 * minibuffer.el (completion--flush-all-sorted-completions):
12961 Remove itself from hook.
12962 (completion-at-point): Let the functions perform the completion
12963 immediately and return nil or t.
12964 * comint.el (comint-dynamic-complete-functions): Now identical to
12965 completion-at-point-functions.
12966 (comint-dynamic-list-input-ring): Remove unused var `index'.
12967 (comint--match-partial-filename, comint--unquote&expand-filename):
12968 New funs, split from comint-match-partial-filename.
12969 (comint-dynamic-complete): Use completion-at-point.
12970 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12971
e8974c48
DA
129722011-03-24 Drew Adams <drew.adams@oracle.com>
12973
12974 * thingatpt.el: Support `defun'.
12975
def71b5e
LL
129762011-03-23 Leo Liu <sdl.web@gmail.com>
12977
cb5af48e
LL
12978 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12979
def71b5e
LL
12980 * help-mode.el (help-mode-finish): Tweak regexp.
12981
927c53e7
GM
129822011-03-23 Glenn Morris <rgm@gnu.org>
12983
18d05bed
GM
12984 * eshell/esh-opt.el (eshell-eval-using-options):
12985 Do not bind unused local variable `eshell-option-stub'.
12986
927c53e7
GM
12987 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12988
9d0da923
JB
129892011-03-22 Juanma Barranquero <lekktu@gmail.com>
12990
12991 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12992 keymap variable in `with-no-warnings' to avoid a warning when the
12993 keymap has been already `defconst'ed.
12994
4b978a67
LL
129952011-03-22 Leo Liu <sdl.web@gmail.com>
12996
12997 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12998 encode all chars in abbrevs; otherwise use emacs-mule or
12999 utf-8-emacs. (Bug#8308)
13000
5fd62452
JB
130012011-03-22 Juanma Barranquero <lekktu@gmail.com>
13002
0b1596c6
JB
13003 * simple.el (backward-delete-char-untabify):
13004 Avoid warning about using `delete-backward-char'.
13005
5fd62452
JB
13006 * image.el (image-type-file-name-regexps): Make it variable.
13007 `imagemagick-register-types' modifies it, and the user may want
13008 to add new extensions for known image types.
13009 (imagemagick-register-types): Throw error if not using ImageMagick.
13010
0b4e93f1
LL
130112011-03-22 Leo Liu <sdl.web@gmail.com>
13012
13013 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13014 located before rcirc-prompt-end-marker.
13015 (rcirc-complete): Error if point is not after rcirc prompt.
13016 Handle the case when table is nil.
9882e214 13017 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13018
fccee4ab
CY
130192011-03-22 Chong Yidong <cyd@stupidchicken.com>
13020
13021 * custom.el (custom--inhibit-theme-enable): Make it affect only
13022 custom-theme-set-variables and custom-theme-set-faces.
13023 (provide-theme): Ignore custom--inhibit-theme-enable.
13024 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13025 (custom-enabling-themes): Delete variable.
d86d2721
SM
13026 (enable-theme): Accept only loaded themes as arguments.
13027 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13028 (custom-enabled-themes): Forbid themes from setting this.
13029 Eliminate use of custom-enabling-themes.
13030 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13031
af896da6
LL
130322011-03-21 Leo Liu <sdl.web@gmail.com>
13033
13034 * ido.el (ido-read-internal): Add ido-selected to history instead
13035 of user input.
13036
78f64af0
SM
130372011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13038
13039 * subr.el (deferred-action-list, deferred-action-function):
13040 Mark obsolete.
13041
b16ac1ec
LL
130422011-03-21 Leo Liu <sdl.web@gmail.com>
13043
810f7698
LL
13044 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13045 change on 2011-02-13 (bug#8309).
13046
b16ac1ec
LL
13047 * minibuffer.el (read-file-name-function): Change default value.
13048 (read-file-name--defaults): Rename from read-file-name-defaults.
13049 (read-file-name-default): Rename from read-file-name.
13050 (read-file-name): Call read-file-name-function.
13051
4e05e67e
GM
130522011-03-21 Glenn Morris <rgm@gnu.org>
13053
13054 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13055 Doc fixes.
13056
4359915b
CY
130572011-03-21 Chong Yidong <cyd@stupidchicken.com>
13058
13059 * cus-theme.el: Add missing provide statement.
13060 (customize-create-theme): Extract theme value correctly.
13061 (custom-theme-visit-theme): Autoload.
13062 (customize-create-theme): Prompt before inserting default faces.
13063
1fe275ee
JB
130642011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13065
13066 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13067 units and musical notes.
13068
cd394be1 130692011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13070
13071 * ido.el (ido-read-internal): Use completing-read-default.
13072 (ido-completing-read): Fix compatibility with completing-read.
13073
7d476bde
CO
130742011-03-20 Christian Ohler <ohler@gnu.org>
13075
13076 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13077 (ert-delete-all-tests): Use `called-interactively-p' rather than
13078 `interactive-p'.
13079 (ert--make-xrefs-region): Respect END.
13080
fe0fb33e
CY
130812011-03-19 Chong Yidong <cyd@stupidchicken.com>
13082
ff854b0b
CY
13083 * dired-aux.el (dired-create-directory): Signal an error if the
13084 directory already exists (Bug#8246).
13085
fe0fb33e
CY
13086 * facemenu.el (list-colors-display): Call list-faces-display
13087 inside with-help-window.
13088 (list-colors-print): Use display property to align the final
13089 column, instead of checking window-width.
13090
576bce32
EZ
130912011-03-19 Eli Zaretskii <eliz@gnu.org>
13092
4d61f28d 13093 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13094 windows-nt systems.
13095 (emerge-protect-metachars): Quote correctly for ms-dos and
13096 windows-nt systems.
13097
89c41d68 130982011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13099
13100 * info.el (info-initialize): Replace all uses of `:' with
13101 path-separator for compatibility with non-Unix systems.
13102 Cache quoting of path-separator. (Bug#8258)
13103
b14e3e21 131042011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13105
13106 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13107 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13108 (mouse-avoidance-mode): Fix typos in docstrings.
13109
4525ce3e
CY
131102011-03-19 Chong Yidong <cyd@stupidchicken.com>
13111
13112 * startup.el (package-subdirectory-regexp): Move from package.el.
13113 Omit \\` and \\', and let callers add them.
13114
13115 * emacs-lisp/package.el (package-strip-version)
13116 (package-load-all-descriptors): Add \\` and \\' to
13117 package-subdirectory-regexp before using it.
13118 (package-untar-buffer): New arg DIR; ensure that file untars only
13119 into this expected directory. Remove superfluous delete-region.
13120 (package-unpack): Caller changed.
13121 (package-tar-file-info): Use package-subdirectory-regexp.
13122
a904a09a 131232011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13124
a904a09a
SM
13125 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13126 diff-mode-shared-map (bug#8284).
13127 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13128
131292011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13130
13131 * calendar/time-date.el (format-seconds): Use assoc instead of
13132 assoc-string, since assoc-string doesn't exist in XEmacs.
13133
171fc304
JB
131342011-03-17 Juanma Barranquero <lekktu@gmail.com>
13135
13136 * custom.el (custom-known-themes): Reflow docstring.
13137 (custom-theme-load-path): Fix typo in docstring.
13138 (load-theme): Fix typo in error message.
13139 (custom-available-themes, custom-variable-theme-value):
13140 Use `let', not `let*'.
13141
d71990a1
JB
131422011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13143
13144 * calc/README: Mention inclusion of musical notes.
13145
13146 * calc/calc-units.el (calc-lu-quant): Rename from
13147 `calc-logunits-quantity'.
13148 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13149 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13150 (calc-db): Rename from `calc-dblevel'.
13151 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13152 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13153 (calc-np): Rename from `calc-nplevel'.
13154 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13155 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13156 (calc-lu-plus): Rename from `calc-logunits-add'.
13157 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13158 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13159 (calc-lu-minus): Rename from `calc-logunits-sub'.
13160 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13161 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13162 (calc-lu-times): Rename from `calc-logunits-mul'.
13163 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13164 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13165 (calc-lu-divide): Rename from `calc-logunits-div'.
13166 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13167 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13168
13169 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13170 functions being autoloaded.
13171
13172 * calc/calc.el (calc-lu-power-reference): Rename from
13173 `calc-logunits-power-reference'.
13174 (calc-lu-field-reference): Rename from
13175 `calc-logunits-field-reference'.
13176
7a71b18d
GM
13177 * calc/calc-help.el (calc-l-prefix-help):
13178 Mention musical note functions.
d71990a1 13179
40c2934b
SM
131802011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13181
13182 * minibuffer.el (completion-all-sorted-completions):
13183 Use :completion-cycle-penalty text property if present.
13184
b0911414
KM
131852011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13186
13187 * allout.el (allout-yank-processing): Adjust for new rebulleting
13188 regime so bullet being yanked is used without prompting the user
13189 for a choice.
13190
8a05b668
JB
131912011-03-16 Juanma Barranquero <lekktu@gmail.com>
13192
13193 * startup.el (command-line): Warn the user that _emacs is deprecated.
13194
5ba5fb81
JB
131952011-03-16 Juanma Barranquero <lekktu@gmail.com>
13196
13197 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13198 (delphi-verbose, delphi-comment-face, delphi-string-face)
13199 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13200 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13201 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13202 (delphi-new-comment-line, delphi-font-lock-defaults)
13203 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13204 Fix typos in docstrings.
13205
2dab465b
KM
132062011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13207
5ba5fb81 13208 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13209 Invert the roles of character and string values for INSTEAD, so a
13210 string is used for the more common case of a defaulting prompt.
13211
0adf5618
SM
132122011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13213
13214 * progmodes/ruby-mode.el (ruby-backward-sexp):
13215 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13216 * play/gamegrid.el (gamegrid-make-face):
13217 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13218 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13219 * notifications.el (notifications-notify):
13220 * net/xesam.el (xesam-search-engines):
13221 * net/quickurl.el (quickurl-list-insert):
13222 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13223
d72700e5
CY
132242011-03-15 Chong Yidong <cyd@stupidchicken.com>
13225
13226 * startup.el (command-line): Update package subdirectory regexp.
13227
49c5410a
SM
132282011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13229
c6eee9aa
SM
13230 * allout.el (allout-abbreviate-flattened-numbering)
13231 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13232
49c5410a
SM
13233 * subr.el (read-char-choice): Only show the cursor after the prompt,
13234 not after the answer.
13235
047b2bb9
KR
132362011-03-15 Kevin Ryde <user42@zip.com.au>
13237
13238 * help-fns.el (variable-at-point): Skip leading quotes, if any
13239 (bug#8253).
13240
0a57d256
SM
132412011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13242
13243 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13244 warning message.
13245
77c992bc
MA
132462011-03-14 Michael Albinus <michael.albinus@gmx.de>
13247
13248 * shell.el (shell): When called interactively, offer to change the
13249 shell file name on remote hosts.
13250
eebc475d
TZ
132512011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13252
13253 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13254 integration for LDAP parameters. The host, base, user or binddn,
13255 and secret tokens can be specified in a netrc file, for instance.
13256 This is optional because an `auth-source' parameter must be
13257 specified in the search attributes.
13258
9d05d1ba
JB
132592011-03-13 Juanma Barranquero <lekktu@gmail.com>
13260
13261 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13262
09d9db2c
GM
132632011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13264
13265 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13266 into declaration. Remove redundant and harmful binding.
13267
132682011-03-12 Eli Zaretskii <eliz@gnu.org>
13269
13270 * files.el (file-ownership-preserved-p): Pass `integer' as an
13271 explicit 2nd argument to `file-attributes'. If the file's owner
13272 is the Administrators group on Windows, and the current user is
13273 Administrator, consider that a match.
13274
13275 * server.el (server-ensure-safe-dir): Consider server directory
13276 safe on MS-Windows if its owner is the Administrators group while
13277 the current Emacs user is Administrator. Use `=' to compare
13278 numerical UIDs, since they could be integers or floats.
13279
219bd536
JB
132802011-03-12 Juanma Barranquero <lekktu@gmail.com>
13281
13282 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13283
f3afd36b
MA
132842011-03-12 Michael Albinus <michael.albinus@gmx.de>
13285
13286 Sync with Tramp 2.2.1.
13287
13288 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13289
13290 * net/trampver.el: Update release number.
13291
3aaaa6f1
SM
132922011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13293
94642599
SM
13294 * progmodes/compile.el (compilation--previous-directory): Fix up
13295 various nil/dead-marker mismatches (bug#8014).
13296 (compilation-directory-properties, compilation-error-properties):
13297 Don't call it at a position past the one we're about to change.
13298
3aaaa6f1
SM
13299 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13300 Disable obsolescence warnings in the file that declares it.
13301
14239447
KM
133022011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13303
099c39a4
JB
13304 * allout-widgets.el (allout-widgets-tally):
13305 Initialize allout-widgets-tally as a hash table rather than nil to
13306 prevent mode-line redisplay warnings. Also, clarify the module
13307 description and fix a comment typo.
14239447 13308
135e287c
JB
133092011-03-11 Juanma Barranquero <lekktu@gmail.com>
13310
13311 * help-fns.el (describe-variable): Don't complete keywords.
13312 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13313
ffbf300e
CY
133142011-03-10 Chong Yidong <cyd@stupidchicken.com>
13315
ba08b241
CY
13316 * emacs-lisp/package.el (package-version-join): Impose a standard
13317 string representation for pre/alpha/beta version lists.
13318 (package-unpack-single): Standardize the directory name by passing
13319 it through package-version-join.
13320 (package-strip-rcs-id): Accept any version string that does not
13321 signal an error in version-to-list.
ffbf300e 13322
f346fd6b
MA
133232011-03-10 Michael Albinus <michael.albinus@gmx.de>
13324
13325 * simple.el (delete-trailing-whitespace): Return nil for the
13326 benefit of `write-file-functions'.
13327
ccb55d27
GM
133282011-03-10 Glenn Morris <rgm@gnu.org>
13329
5ceaac0c
GM
13330 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13331
02da65ff
GM
13332 * vc/vc-git.el (vc-git-program): New option.
13333 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13334 (vc-git--call): Use it.
13335
b2f603cc
GM
13336 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13337
5772caab
GM
13338 * cus-edit.el (Custom-newline): If no button at point, look
13339 for a subgroup button at start-of-line. (Bug#2298)
13340
ccb55d27
GM
13341 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13342
ec6ecaed
JD
133432011-03-10 Julien Danjou <julien@danjou.info>
13344
13345 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13346 `cursor-type' is nil.
13347
9d5aa01d
JB
133482011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13349
13350 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13351
b6a5875b
KM
133522011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13353
7a71b18d 13354 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13355 preserves the existing header prefix, rebulleting it if necessary,
13356 rather than replacing it. This is necessary for proper operation
13357 of cooperative addons like allout-widgets.
1154d12e
JB
13358 (allout-make-topic-prefix, allout-rebullet-heading):
13359 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13360 value as alternate bullet to be used, instead of prompting the user
13361 for a bullet character.
b6a5875b 13362
ee545c35
MA
133632011-03-09 Michael Albinus <michael.albinus@gmx.de>
13364
d86d2721
SM
13365 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13366 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13367 `tramp-default-port'.
13368
c47971d7
DD
133692011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13370
13371 * net/rcirc.el (rcirc-handler-001): Remove useless
13372 with-rcirc-process-buffer.
13373 (rcirc-check-auth-status): Swap arguments to string-match.
13374
13522cb4
GM
133752011-03-09 Glenn Morris <rgm@gnu.org>
13376
0be6f4f1
GM
13377 * shell.el (shell-mode):
13378 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13379
13522cb4
GM
13380 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13381 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13382
515de2e3
CY
133832011-03-08 Chong Yidong <cyd@stupidchicken.com>
13384
13385 * emacs-lisp/package.el (package-refresh-contents)
13386 (package-menu-execute): Use condition-case-no-debug.
13387
b511b994
MA
133882011-03-08 Michael Albinus <michael.albinus@gmx.de>
13389
13390 * simple.el (shell-command-to-string): Use `process-file'.
13391
13392 * emacs-lisp/package.el (package-tar-file-info): Handle also
13393 remote files.
13394
d86d2721
SM
13395 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13396 Use `equal' for upload base check.
b511b994 13397
25bbfb31
AM
133982011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13399
13400 * textmodes/texinfo.el (texinfo-environments):
13401 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13402
be996521
GM
134032011-03-08 Glenn Morris <rgm@gnu.org>
13404
e9c8529f
GM
13405 * cus-start.el (cursor-in-non-selected-windows):
13406 Fix :set quoting oddness. (Bug#8192)
13407
be996521
GM
13408 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13409 in some setf expressions. (Bug#2159)
13410
2bb5649e
CY
134112011-03-08 Chong Yidong <cyd@stupidchicken.com>
13412
13413 * custom.el (custom-available-themes): Return themes in
13414 alphabetical order.
13415
33383987 13416See ChangeLog.15 for earlier changes.
e3d51b27
MR
13417
13418;; Local Variables:
13419;; coding: utf-8
e3d51b27
MR
13420;; End:
13421
acaf905b 13422 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13423
13424 This file is part of GNU Emacs.
13425
13426 GNU Emacs is free software: you can redistribute it and/or modify
13427 it under the terms of the GNU General Public License as published by
13428 the Free Software Foundation, either version 3 of the License, or
13429 (at your option) any later version.
13430
13431 GNU Emacs is distributed in the hope that it will be useful,
13432 but WITHOUT ANY WARRANTY; without even the implied warranty of
13433 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13434 GNU General Public License for more details.
13435
13436 You should have received a copy of the GNU General Public License
13437 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.