Optionally include holidays in cal-html output
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a43f98b3
GM
12012-05-05 Glenn Morris <rgm@gnu.org>
2
48176e8b
GM
3 * calendar/cal-html.el: Optionally include holidays in the output.
4 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5 (cal-html-holidays): New option.
6 (cal-html-css-default): Add holiday entry.
7 (holiday-in-range): Autoload it.
8 (cal-html-htmlify-entry): Add optional class argument.
9 (cal-html-htmlify-list): Add optional holidays argument.
10 (cal-html-insert-agenda-days): Include holidays in the output.
11 (cal-html-one-month): Maybe include holidays.
12
a43f98b3
GM
13 * calendar/holidays.el (holiday-in-range):
14 Move here from cal-tex-list-holidays.
15 * calendar/cal-tex.el (cal-tex-list-holidays):
16 Make it an obsolete alias for holiday-in-range. Update all callers.
17
fef9d149 182012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
19
20 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
21 Nextstep.
22
248da2f4
RW
232012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
24
25 * files.el (file-auto-mode-skip): New var.
26 (set-auto-mode-1): Use it.
27
f95e9344
SM
282012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
29
df96ab1e
SM
30 * repeat.el: Use lexical-binding.
31 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
32 (repeat-undo-count): Remove.
33 (repeat):
34 * progmodes/octave-mod.el (octave-abbrev-start):
35 * progmodes/f90.el (f90-abbrev-start):
36 * face-remap.el (text-scale-adjust):
37 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
38
5342bb06
SM
39 * emacs-lisp/pcase.el (pcase--let*): New function.
40 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
41 a bit more.
42 (pcase--split-pred): Be more clever about ruling out overlap between
43 a predicate and some constant pattern.
44 (pcase--q1): Use `null' instead of (eq foo nil).
45
f95e9344
SM
46 * subr.el (setq-local, defvar-local): New macros.
47 (kbd): Redefine as an alias.
48 (with-selected-window): Leave unrelated frames alone.
49 (set-temporary-overlay-map): New function.
50
71873e2b
SM
512012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
52
53 * subr.el (user-error): New function.
54 * window.el (switch-to-buffer):
55 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
56 (smerge-match-conflict):
57 * simple.el (previous-matching-history-element)
58 (next-matching-history-element, goto-history-element, undo-more)
59 (undo-start):
60 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
61 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
62 (next-file, tags-loop-scan, list-tags, complete-tag):
63 * progmodes/compile.el (compilation-loop):
64 * mouse.el (mouse-minibuffer-check):
65 * man.el (Man-bgproc-sentinel, Man-goto-page):
66 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
67 (Info-history-forward, Info-follow-reference, Info-menu)
68 (Info-extract-menu-item, Info-extract-menu-counting)
69 (Info-forward-node, Info-backward-node, Info-next-menu-item)
70 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
71 (Info-next-reference, Info-prev-reference, Info-index)
72 (Info-index-next, Info-follow-nearest-node)
73 (Info-copy-current-node-name):
74 * imenu.el (imenu--make-index-alist)
75 (imenu-default-create-index-function, imenu-add-to-menubar):
76 * files.el (basic-save-buffer, recover-file):
77 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
78 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
79 (checkdoc-message-text, checkdoc-defun):
80 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
81 * cus-edit.el (customize-changed-options, customize-rogue)
82 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
83 (custom-variable-mark-to-reset-standard)
84 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
85 (custom-file):
86 * completion.el (check-completion-length):
87 * comint.el (comint-search-arg)
88 (comint-previous-matching-input-string-position)
89 (comint-previous-matching-input)
90 (comint-replace-by-expanded-history-before-point, comint-send-input)
91 (comint-copy-old-input, comint-backward-matching-input)
92 (comint-goto-process-mark, comint-set-process-mark):
93 * calendar/calendar.el (calendar-cursor-to-date): Use it.
94 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
95
8a61ee22
SM
962012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
97
66408d1e
SM
98 * dabbrev.el (dabbrev--ignore-case-p): New function.
99 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
100 Use it.
101
8a61ee22
SM
102 * files.el (automount-dir-prefix): Mark as obsolete.
103
3c74813a
GM
1042012-05-04 Glenn Morris <rgm@gnu.org>
105
106 * patcomp.el, play/bruce.el: Move to obsolete/.
107
0bfcf5c5
PE
1082012-05-04 Paul Eggert <eggert@cs.ucla.edu>
109
110 Fix minor Y10k bugs.
111 * arc-mode.el (archive-unixdate):
112 * autoinsert.el (auto-insert-alist):
113 * calc/calc-forms.el (math-this-year):
114 * emacs-lisp/copyright.el (copyright-current-year)
115 (copyright-update-year, copyright):
116 * tar-mode.el (tar-clip-time-string):
117 * time.el (display-time-update):
118 Don't assume years have 4 digits.
119
78f3273a
CY
1202012-05-04 Chong Yidong <cyd@gnu.org>
121
122 * dos-w32.el (file-name-buffer-file-type-alist)
123 (direct-print-region-use-command-dot-com):
124 * ffap.el (ffap-menu-regexp):
125 * find-file.el (ff-special-constructs):
126 * follow.el (follow-debug):
127 * forms.el (forms--debug):
128 * iswitchb.el (iswitchb-all-frames):
129 * ido.el (ido-all-frames):
130 * emacs-lisp/timer.el (timer-max-repeats):
131 * mail/feedmail.el (feedmail-mail-send-hook)
132 (feedmail-mail-send-hook-queued):
133 * mail/footnote.el (footnote-signature-separator):
134 * mail/mailabbrev.el (mail-alias-separator-string)
135 (mail-abbrev-mode-regexp):
136 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
137 * progmodes/idlwave.el (idlwave-libinfo-file)
138 (idlwave-default-completion-case-is-down)
139 (idlwave-library-routines): Convert defvars to defcustoms.
140
141 * mail/rmail.el (rmail-decode-mime-charset):
142 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
143 (idlwave-shell-fix-inserted-breaks)
144 (idlwave-shell-activate-alt-keybindings)
145 (idlwave-shell-use-breakpoint-glyph):
146 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
147
f7ae6719
SM
1482012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
149
150 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
151
47086495
WS
1522012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
153
154 * progmodes/verilog-mode.el (font-lock-keywords):
155 Fix mis-highligting auto. Reported by Craig Barner.
156 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
157 defines from global name space. Reported by Dan Dever.
158 (verilog-auto-reset, verilog-auto-reset-widths)
159 (verilog-auto-tieoff): Support using unbased numbers for
160 AUTORESET and AUTOTIEOFF.
161 (verilog-submit-bug-report): Update variable list.
162 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
163 parenthesis from not matching. Reported by Michael Rytting.
164 (verilog-auto-template-lint): Fix hash error when linting modules
165 with no used templates.
166 (verilog-warn, verilog-warn-error)
167 (verilog-warn-fatal): When non-interactive report multiple
168 warnings before exiting. Suggested by Brad Dobbie.
169 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
170 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
171 to report unused template errors. Reported by Brad Dobbie.
172 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
173 nets, bug438. Reported by Vns Blore.
174 (verilog-auto-inout-module, verilog-auto-reg)
175 (verilog-read-decls, verilog-read-sub-decls-sig)
176 (verilog-signals-edit-wire-reg, verilog-signals-with):
177 Fix passing of Verilog data types in ANSI input/output ports
178 such as "output logic" into the AUTOs. Special case "wire" and
179 "reg" for backwards compatibility presuming Verilog 2001.
180 (verilog-auto-ascii-enum): Add "auto enum" as alias.
181 (verilog-preprocess): Fix replication of preprocess output.
182 Reported by Brad Dobbie.
183 (verilog-auto-inst-interfaced-ports):
184 Create verilog-auto-inst-interfaced-ports, bug429.
185 Reported by Julian Gorfajn.
186 (verilog-after-save-font-hook)
187 (verilog-before-save-font-hook): New variable.
188 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
189 (verilog-save-font-mods): Wrap disabling fontification, reported
190 by David Rogoff.
191 (verilog-do-indent, verilog-pretty-declarations-auto)
192 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
193 Reported by Pierre-David Pfister.
194 (verilog-set-auto-endcomments): Fix endtask auto comments outside
195 of class declarations, bug292. Reported by Kevin Heilman.
196 (verilog-read-decls): Fix 'parameter type' not appearing in
197 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
198 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
199 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
200 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
201 Reported by David Kravitz.
202
2032012-05-03 Michael McNamara <mac@mail.brushroad.com>
204
205 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
206 assignment with tests in ifs and for loops.
207 (verilog-extended-complete-re, verilog-complete-reg): Change so
208 that DPI inport functions don't look like fuction declarations.
209 (verilog-pretty-expr): Don't line up assignment
210 operations to the test and increment in if and for loops
211 (verilog-extended-complete-re, verilog-complete-reg): Change so
212 that DPI inport functions don't look like fuction declarations
213
2e51d4b5
KH
2142012-05-03 Kenichi Handa <handa@m17n.org>
215
216 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
217 decoding, and show a warning message without signalling an error
218 (Bug#11282).
219
2bd785a2
SM
2202012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
221
222 * emacs-lisp/bytecomp.el
223 (byte-compile-file-form-custom-declare-variable): Compile all elements,
224 since cconv.el might have introduced :fun-body, internal-make-closure,
225 and friends for bytecomp to handle (bug#11391).
226 * custom.el (defcustom): Avoid ((λ ..) ..).
227
99d27583
SM
2282012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
231
55a71479
JB
2322012-05-02 Juanma Barranquero <lekktu@gmail.com>
233
234 * notifications.el (dbus-debug):
235 * term/linux.el (gpm-mouse-enable):
236 * term/screen.el (xterm-register-default-colors): Declare.
237
7b97c764
CY
2382012-05-02 Chong Yidong <cyd@gnu.org>
239
2bc356d7
CY
240 * cus-start.el (gc-cons-percentage, exec-suffixes)
241 (dos-display-scancodes, dos-hyper-key, dos-super-key)
242 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
243 (make-cursor-line-fully-visible, void-text-area-pointer)
244 (font-list-limit): Add customization data.
245
7b97c764
CY
246 * allout.el (allout-exposure-change-functions)
247 (allout-structure-added-functions)
248 (allout-structure-deleted-functions)
249 (allout-structure-shifted-functions): Rename abnormal hooks from
250 *-hook, and convert to defcustoms.
5d3385a0
JB
251 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
252 Convert to defcustoms.
7b97c764
CY
253 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
254
255 * allout-widgets.el: Hook callers changed.
256
90207a15 2572012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
258
259 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
260 the yanked message in preference to the default value of
261 buffer-file-coding-system.
262
90207a15 2632012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 264
5d3385a0
JB
265 * window.el (display-buffer--action-function-custom-type):
266 Fix entry.
d9558cad 267
90207a15 2682012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
269
270 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
271
d80ac57b
GM
2722012-05-01 Glenn Morris <rgm@gnu.org>
273
976f7668
GM
274 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
275
beb83b5a
GM
276 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
277
d80ac57b
GM
278 * cus-edit.el (custom-variable-documentation): Simplify with format.
279
b593d6a9
AH
2802012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
281 Stefan Monnier <monnier@iro.umontreal.ca>
282
283 * simple.el (suggest-key-bindings, execute-extended-command):
284 Move from keyboard.c.
285
782fbf2a
CY
2862012-05-01 Chong Yidong <cyd@gnu.org>
287
288 * follow.el: Eliminate advice.
289 (set-process-filter, process-filter, sit-for): Advice deleted.
290 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
291 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
292 Vars deleted.
782fbf2a
CY
293 (follow-auto): Use a :set function.
294 (follow-mode): Rewritten. Don't advise process filters.
295 (follow-switch-to-current-buffer-all, follow-scroll-up)
296 (follow-scroll-down): Assume follow-mode is bound.
297 (follow-comint-scroll-to-bottom)
298 (follow-align-compilation-windows): New functions.
299 (follow--window-sorter): New function.
300 (follow-all-followers): Use it to explicitly sort windows by their
301 positions; don't make assumptions about next-window order.
302 (follow-windows-start-end, follow-delete-other-windows-and-split)
303 (follow-calc-win-start): Doc fix.
304 (follow-windows-aligned-p, follow-select-if-visible): Don't call
305 vertical-motion unnecessarily.
306 (follow-adjust-window): New function.
307 (follow-post-command-hook): Use it.
308 (follow-call-set-process-filter, follow-call-process-filter)
309 (follow-intercept-process-output, follow-tidy-process-filter-alist)
310 (follow-stop-intercept-process-output, follow-generic-filter):
311 Functions deleted.
312 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
313 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
314 New functions, replacing advice on scroll-bar-* commands.
87233a14 315 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
316
317 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
318 (comint-postoutput-scroll-to-bottom): Use it.
319 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 320
290af740
GM
3212012-05-01 Glenn Morris <rgm@gnu.org>
322
323 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
324 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
325 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
326 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
327 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
328 Remove no-byte-compile setting.
329
6eac8dc9
SM
3302012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
331
332 * minibuffer.el (completion-table-with-quoting): Fix compatibility
333 all-completions code to not return a number in the last cdr.
334
9cc7819c
LL
3352012-04-30 Leo Liu <sdl.web@gmail.com>
336
337 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
338 read-only error.
339
c93b886f
CY
3402012-04-29 Chong Yidong <cyd@gnu.org>
341
342 * follow.el (follow-calc-win-end): Rewrite to handle partial
343 screen lines correctly (Bug#8390).
344 (follow-avoid-tail-recenter): Minor cleanup.
345
8b6c19f4
SM
3462012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
347
348 Avoid the obsolete `assoc' package.
349 * speedbar.el (speedbar-refresh): Avoid adelete.
350 (speedbar-file-lists): Simplify and avoid aput.
351 * man.el (Man--sections, Man--refpages): New vars, replacing
352 Man-sections-alist and Man-refpages-alist.
353 (Man-build-section-alist, Man-build-references-alist):
354 Use them; avoid aput.
355 (Man--last-section, Man--last-refpage): New vars.
356 (Man-follow-manual-reference): Use them.
357 Use the `default' arg of completing-read.
358 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
359
c5bb7569
CY
3602012-04-27 Chong Yidong <cyd@gnu.org>
361
d1d2e2e8
CY
362 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
363
15cd8efd
CY
364 * startup.el (x-apply-session-resources): New function.
365
366 * term/ns-win.el (ns-initialize-window-system):
367 * term/w32-win.el (w32-initialize-window-system):
368 * term/x-win.el (x-initialize-window-system): Use it to properly
369 set menu-bar-mode and other vars from X resources, even if the
370 initial frame is not a window-system frame (Bug#2299).
371
c5bb7569
CY
372 * subr.el (read-key): Avoid running filter function when setting
373 up temporary tool bar entries (Bug#9922).
374
a8e7d6d7 3752012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
376
377 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
378 (Bug#11344)
379
a8e7d6d7 3802012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
381
382 * select.el (xselect--encode-string): New function, split from
383 xselect-convert-to-string.
384 (xselect-convert-to-string): Use it.
385 (xselect-convert-to-filename, xselect-convert-to-os)
386 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
387 returned strings are properly encoded (Bug#11315).
388
a8e7d6d7 3892012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
390
391 * simple.el (delete-active-region): Move to killing custom group.
392
a8e7d6d7 3932012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
394
395 * progmodes/which-func.el (which-func-current): Quote %
396 characters for mode-line processing.
397
578c1d4b 3982012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
399
400 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
401 reaching eob (Bug#11286).
402
a8e7d6d7 4032012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
404
405 * progmodes/gdb-mi.el (gdb-control-level): New variable.
406 (gdb): Make it buffer-local and init to zero.
407 (gdb-control-commands-regexp): New variable.
408 (gdb-send): Don't wrap in "-interpreter-exec console" if
409 gdb-control-level is positive. Increment gdb-control-level
410 whenever the command matches gdb-control-commands-regexp, and
411 decrement it each time the command is "end". (Bug#11279)
412
a8e7d6d7 4132012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
414
415 * window.el (adjust-window-trailing-edge, enlarge-window)
416 (shrink-window, window-resize):
417 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
418 windows (Bug#11276).
419
b3608390
CY
4202012-04-27 Chong Yidong <cyd@gnu.org>
421
422 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 423 fix "missing prefix" warning. All callers changed.
b3608390 424
797e6e88
SM
4252012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * emacs-lisp/assoc.el: Move to obsolete/.
428
e95a67dc
SM
4292012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
430
657c21e4 431 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
432
433 * term/ns-win.el (ns-define-service):
434 * progmodes/pascal.el (pascal-goto-defun):
435 * progmodes/js.el (js--read-tab):
436 * progmodes/etags.el (tags-lazy-completion-table):
437 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
438 * emacs-lisp/ewoc.el (ewoc--wrap):
439 * emacs-lisp/assoc.el (aput, adelete, amake):
440 * doc-view.el (doc-view-convert-current-doc):
441 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
442
cb3e7ae0
CY
4432012-04-26 Chong Yidong <cyd@gnu.org>
444
dce04f7f
CY
445 * image.el (image-type-from-buffer): Only return supported image
446 type (Bug#9045).
447
cb3e7ae0
CY
448 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
449 value, for symmetry with diff-end-of-hunk.
450 (diff-split-hunk, diff-find-source-location)
451 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
452 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
453 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
454 compute the relevant hunk or file properly (Bug#6005).
455 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
456
0d42eb3e
SM
4572012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * vc/vc-mtn.el:
460 * vc/vc-hg.el:
461 * vc/vc-git.el:
462 * vc/vc-dir.el:
463 * vc/vc-cvs.el:
464 * vc/vc-bzr.el:
465 * vc/vc-arch.el:
466 * vc/vc.el: Replace lexical-let by lexical-binding.
467 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
468 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
469 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
470
f08ae1c9
CY
4712012-04-26 Chong Yidong <cyd@gnu.org>
472
8b71081d
CY
473 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
474 (diff-mode-shared-map): Bind it to / and [remap undo].
475
f08ae1c9
CY
476 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
477 (ediff-window-setup-function): Use it as the default, to set up
478 windows based on whether the current frame is graphical (Bug#2138).
479 (ediff-choose-window-setup-function-automatically): Make obsolete.
480
481 * vc/ediff-init.el: Always define ediff-pixel-width/height.
482
ef24141c
SM
4832012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
484
cc356a5d
SM
485 * ffap.el: Remove old code for obsolete package.
486 (ffap-complete-as-file-p): Remove.
487
b4ff4f1f
SM
488 Use completion-table-with-quoting for comint and pcomplete.
489 * comint.el (comint--unquote&requote-argument)
490 (comint--unquote-argument, comint--requote-argument): New functions.
491 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
492 (comint-quote-filename): Use regexp-opt-charset.
493 (comint--common-suffix, comint--common-quoted-suffix)
494 (comint--table-subvert): Remove.
495 (comint-unquote-function, comint-requote-function): New vars.
496 (comint--complete-file-name-data): Use them with
497 completion-table-with-quoting.
498 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
499 * pcomplete.el (pcomplete-arg-quote-list)
500 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
501 (pcomplete-unquote-argument-function): Default to non-nil.
502 (pcomplete-unquote-argument): Simplify.
503 (pcomplete--common-quoted-suffix): Remove.
504 (pcomplete-requote-argument-function): New var.
505 (pcomplete--common-suffix): New function.
506 (pcomplete-completions-at-point): Use completion-table-with-quoting
507 and completion-table-subvert.
508
79c4eeb4
SM
509 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
510 (minibuffer--double-dollars): Preserve properties.
511 (completion--sifn-requote): New function.
512 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
513
ef24141c
SM
514 * minibuffer.el: Add support for completion of quoted/escaped data.
515 (completion-table-with-quoting, completion-table-subvert): New funs.
516 (completion--twq-try, completion--twq-all): New functions.
517 (completion--nth-completion): New function.
518 (completion-try-completion, completion-all-completions): Use it.
519
784e7d6e
LL
5202012-04-25 Leo Liu <sdl.web@gmail.com>
521
dd2ac746
SM
522 * progmodes/python.el (python-pdbtrack-get-source-buffer):
523 Use compilation-message if available to find real filename.
784e7d6e 524
07875ee7
CY
5252012-04-25 Chong Yidong <cyd@gnu.org>
526
527 * vc/diff-mode.el (diff-setup-whitespace): New function.
528 (diff-mode): Use it.
529
530 * vc/diff.el (diff-sentinel):
531 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
532 Whitespace mode variables based on diff style (Bug#8612).
533
5055880d
LL
5342012-04-25 Leo Liu <sdl.web@gmail.com>
535
daf75653
LL
536 * progmodes/python.el (python-send-region): Add suffix .py to the
537 temp file.
538
5055880d
LL
539 * files.el (auto-mode-alist): Use javascript-mode instead.
540
db9b177b
AH
5412012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
542
ef24141c 543 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
544
545 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 546 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 547 references, see Bug#9.
ef24141c 548 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 549 when receiving a fault reply.
ef24141c 550 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
551
552 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 553 (soap-inspect-simple-type): New function.
db9b177b 554
ef24141c 555 * soap-client.el (soap-simple-type): New struct.
db9b177b 556 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
557 (soap-decode-basic-type, soap-encode-basic-type):
558 support unsignedInt and double basic types.
db9b177b 559 (soap-resolve-references-for-simple-type)
ef24141c
SM
560 (soap-parse-simple-type, soap-encode-simple-type): New function.
561 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
562
563 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
564 (soap-default-soapenc-types): Add integer, byte and anyURI types.
565 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
566 the local name of "soapenc:Array".
567 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
568 decoding integer, byte and anyURI xsd types.
569
1fc6097b
CY
5702012-04-25 Chong Yidong <cyd@gnu.org>
571
572 * cus-edit.el (custom-buffer-create-internal): Update header text.
573
afc6df87
EZ
5742012-04-25 Eli Zaretskii <eliz@gnu.org>
575
576 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
577 settings on 'system-type', not on 'window-system'. On MS-Windows,
578 set interactive-mode on in GDB.
579
dfbd787f
SM
5802012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
583 (ruby-syntax-propertize-regexp): Remove.
584 (ruby-syntax-propertize-function): Split regexp into chunks.
585 Match following code directly.
586
85222d44
DG
5872012-04-24 Dmitry Gutov <dgutov@yandex.ru>
588
51a8ea2a
DG
589 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
590 (ruby-syntax-propertize-regexp): New function.
591 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
592 by a special keyword.
593
85222d44
DG
594 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
595 (ruby-syntax-general-delimiters-goto-beg)
596 (ruby-syntax-propertize-general-delimiters): New functions.
597 (ruby-syntax-propertize-function): Use them to handle GDL.
598 (ruby-font-lock-keywords): Move old handling of GDL...
599 (ruby-font-lock-syntactic-keywords): .. to here.
600 (ruby-calculate-indent): Adjust indentation for GDL.
601
b613912b
MA
6022012-04-24 Michael Albinus <michael.albinus@gmx.de>
603
b5380639
MA
604 * notifications.el (top): Remove unneeded declarations.
605 (notifications-specification-version): Change to "1.2".
e43042fe 606 (notifications-interface, notifications-notify-method)
b613912b
MA
607 (notifications-close-notification-method): Fix docstring.
608 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
609 (notifications-notify): Add :action-items, :resident and
610 :transient hints. Change "image_data" to "image-data" and
611 "image_path" to "image-path".
b613912b
MA
612 (notifications-get-capabilities): New defun.
613
257440aa
LL
6142012-04-24 Leo Liu <sdl.web@gmail.com>
615
616 * progmodes/python.el: Move hideshow setup to the end.
617
b1bac16e
MR
6182012-04-24 Martin Rudalics <rudalics@gmx.at>
619
620 * window.el (handle-select-window): Clear echo area since this is
621 no more done by read_char (Bug#11304).
622
d81bd059
SM
6232012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
624
625 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
626 and `/ M' to filter-derived-mode.
627 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
628 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
629 (ibuffer-mark-by-mode): Use default rather than initial-input.
630 (ibuffer-filter-by-derived-mode): Autoload and require-match.
631
c4cf6d91
IA
6322012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
633
634 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
635 (ibuffer-filter-by-derived-mode): New filter.
636 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
637
7511ded8
CY
6382012-04-23 Andreas Politz <politza@fh-trier.de>
639
640 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
641
775c916b
CY
6422012-04-23 Chong Yidong <cyd@gnu.org>
643
644 * cus-edit.el (customize-apropos, customize-apropos-options):
645 Disable matching of non-option variables (Bug#11176).
646 (customize-option, customize-option-other-window)
647 (customize-changed-options): Doc fix.
648 (customize-apropos-options, customize-apropos-faces)
649 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
650
651 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 652 Fix word list splitting (Bug#11132).
46c71e23
CY
653 (apropos-symbol, apropos-keybinding, apropos-label)
654 (apropos-property, apropos-function-button)
655 (apropos-variable-button, apropos-misc-button): New faces.
656 (apropos-symbol-face, apropos-keybinding-face)
657 (apropos-label-face, apropos-property-face, apropos-match-face):
658 Variables removed (Bug#8396).
659 (apropos-library-button, apropos-format-plist, apropos-print)
660 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 661
2df41f9c
MA
6622012-04-23 Michael Albinus <michael.albinus@gmx.de>
663
664 * net/xesam.el (xesam-mode-map): Use let-bound map in
665 initialization. (Bug#11292)
666
da00640a
AM
6672012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
668
669 Preserve ispell session localwords when switching back to
670 original buffer.
671
672 * ispell.el (ispell-buffer-session-localwords): New buffer-local
673 variable to hold buffer session localwords.
674 (ispell-kill-ispell): add option 'clear to delete session
675 localwords.
676 (ispell-command-loop, ispell-change-dictionary)
677 (ispell-buffer-local-words): Preserve session localwords when
678 needed.
679
680 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
681 Preserve session localwords when needed.
682
f621ccf5
AM
6832012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
684
685 * ispell.el (ispell-insert-word) Remove unneeded function using
686 obsolete `translation-table-for-input'.
ef24141c
SM
687 (ispell-word, ispell-process-line, ispell-complete-word):
688 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 689
c2d1019e
CY
6902012-04-22 Chong Yidong <cyd@gnu.org>
691
692 * cus-edit.el (custom-variable-menu)
693 (custom-variable-reset-saved, custom-face-menu)
694 (custom-face-reset-saved): If there is no saved value, make the
695 "reset-saved" operation bring back the default (Bug#9509).
696 (custom-face-state): Properly detect themed faces.
697
eeddc531
CY
698 * faces.el (face-spec-set): Stop supporting deprecated form of
699 third arg.
700
dcbf5805
MA
7012012-04-22 Michael Albinus <michael.albinus@gmx.de>
702
703 Move functions from C to Lisp. Make non-blocking method calls
704 the default. Implement further D-Bus standard interfaces.
705
ef24141c
SM
706 * net/dbus.el (dbus-message-internal): Declare function.
707 Remove unneeded function declarations.
dcbf5805
MA
708 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
709 (dbus-message-type-method-return, dbus-message-type-error)
710 (dbus-message-type-signal): Declare variables. Remove local
711 definitions.
712 (dbus-interface-dbus, dbus-interface-peer)
713 (dbus-interface-introspectable, dbus-interface-properties)
714 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
715 Adapt docstring.
716 (dbus-interface-objectmanager): New defconst.
717 (dbus-call-method, dbus-call-method-asynchronously)
718 (dbus-send-signal, dbus-method-return-internal)
719 (dbus-method-error-internal, dbus-register-service)
720 (dbus-register-signal, dbus-register-method): New defuns, moved
721 from dbusbind.c
722 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
723 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
724 New defuns.
dcbf5805
MA
725 (dbus-call-method-non-blocking): Make it an obsolete function.
726 (dbus-unregister-object, dbus-unregister-service)
727 (dbus-handle-event, dbus-register-property)
728 (dbus-property-handler): Obey the new structure of
729 `bus-registered-objects'.
730 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
731 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
732 Use `dbus-call-method'.
733
cf20dee0
CY
7342012-04-22 Chong Yidong <cyd@gnu.org>
735
736 * cus-edit.el (custom-commands, custom-reset-menu)
737 (Custom-reset-standard): Tweak labels.
738 (custom-reset-button-menu): Change default to t.
739 (custom-buffer-create-internal): For the custom-reset-button-menu
740 case, put the revert button first.
741 (custom-group-subtitle): New face.
742 (custom-group-value-create): Align docstring to a specific column.
743
744 * wid-edit.el (widget-documentation-link-add): Don't handle
745 indentation in this function.
746 (widget-documentation-string-indent-to): New function.
747 (widget-documentation-string-value-create): Use it.
748
749 * autorevert.el (auto-revert):
750 * epg-config.el (epg):
751 * ibuffer.el (ibuffer):
752 * mpc.el (mpc):
753 * ses.el (ses):
754 * eshell/eshell.el (eshell):
755 * net/ange-ftp.el (ange-ftp):
756 * progmodes/ebnf2ps.el (postscript):
757 * progmodes/flymake.el (flymake):
758 * progmodes/prolog.el (prolog):
759 * progmodes/verilog-mode.el (verilog-mode):
760 * progmodes/which-func.el (which-func):
761 * term/xterm.el (xterm):
762 * textmodes/picture.el (picture):
763 * textmodes/tildify.el (tildify):
764 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
765 customization buffers.
766
583e23bd
AM
7672012-04-22 Alan Mackenzie <acm@muc.de>
768
769 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
770 Adding a ) can hide the resulting (..) from searches. Fix it.
771 Bound the backward search to the position of the existing (.
772
7dd51bf1
JB
7732012-04-21 Juanma Barranquero <lekktu@gmail.com>
774
775 * progmodes/verilog-mode.el (verilog-mode): Check whether
776 which-func-modes is t before adding verilog-mode.
777 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
778
d64a438f
LL
7792012-04-21 Leo Liu <sdl.web@gmail.com>
780
7dd51bf1 781 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 782
081e8d65
MV
7832012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
784
785 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
786 filling of the last column of a table (Bug#5635).
787 (woman-find-next-control-line): New arg, specifying an additional
788 regexp component for the control line.
789 (woman2-roff-buffer): Use it.
790 (woman-break-table): New function.
791 (woman2-TS): Use it.
792
7932012-04-21 Chong Yidong <cyd@gnu.org>
794
795 * woman.el (woman-set-buffer-display-table, woman-decode-region)
796 (woman-horizontal-escapes, woman-negative-vertical-space)
797 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
798 (WoMan-warn-ignored): Use ?\s instead of ?\ .
799
ed571ccb
SM
8002012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 * minibuffer.el (completion-file-name-table): Complete user names.
803
39773899
LL
8042012-04-20 Leo Liu <sdl.web@gmail.com>
805
806 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
807 and pcase-let*.
808
de6ff46d
CY
8092012-04-20 Chong Yidong <cyd@gnu.org>
810
811 * server.el (server-execute): Respect initial-buffer-choice if it
812 is a string and there are no files to open (Bug#2825).
813 (server-create-window-system-frame, server-create-tty-frame):
814 Don't switch buffers here.
2d0e8e61
CY
815 (server-process-filter): Only try to open a window system frame if
816 compiled with graphical support (Bug#8314).
de6ff46d 817
54071013
DN
8182012-04-20 Dan Nicolaescu <dann@gnu.org>
819
820 * battery.el (battery-echo-area-format): Display remaining time
821 for sysfs backend too (Bug#11269).
822 (battery-linux-sysfs): Fix conditional for the charge.
823
f30d612a
CY
8242012-04-20 Chong Yidong <cyd@gnu.org>
825
c07a4c0b 826 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
827 (gdb-inferior-io--init-proc): New function.
828 (gdb-init-1): Use it.
829 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
830 responsible for allocating a new pty and hooking it to gdb when
831 the old pty gets an EIO due to process exit.
832 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
833 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
834 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
835
2116e93c
EZ
8362012-04-20 Eli Zaretskii <eliz@gnu.org>
837
838 * window.el (window-min-size, window-sizable, window-min-delta)
839 (window-max-delta, window--resizable, window-resizable)
840 (window-total-size, window-full-height-p, window-full-width-p)
841 (window-in-direction, window--resize-mini-window, window-resize)
842 (window--resize-child-windows-normal)
843 (window--resize-child-windows, window--resize-siblings)
844 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 845 (enlarge-window, shrink-window): Doc fixes.
2116e93c 846
c07a4c0b 8472012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 848
ef24141c
SM
849 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
850 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
851 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
852 pty process (Bug#11273).
853 (gdb-update): New arg to suppress talking to the gdb process.
854 (gdb-done-or-error): Use it.
855 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
856 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
857 sentinel not being called.
858
859 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
860
d02766ab
CY
861 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
862
c07a4c0b 8632012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
864
865 * net/network-stream.el (open-network-stream): Doc fix.
866
c07a4c0b 8672012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
868
869 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
870
c07a4c0b 8712012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
872
873 Ensure searching for keywords is case sensitive.
874
875 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
876 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
877 (c-defun-name, c-mark-function, c-cpp-define-name)
878 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 879 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 880
ef24141c
SM
881 * progmodes/cc-mode.el (c-font-lock-fontify-region):
882 Bind case-fold-search to nil.
f0f6bc35 883
c07a4c0b 8842012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
885
886 * mail/sendmail.el (mail-bury): Call return action with the right
887 Rmail buffer (Bug#11242).
888
9a864fa2
CY
889 * server.el (server-process-filter): Handle corner case where both
890 tty and nowait options are present (Bug#11102).
891
539aa513
EZ
8922012-04-20 Eli Zaretskii <eliz@gnu.org>
893
894 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
895 (top level): Put into the executable the ident-style '$Id:' tag on
896 windows-nt as well.
539aa513 897
cfc7d5da
SM
8982012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
899
900 * electric.el (electric-indent-post-self-insert-function): Check that
901 electric-indent-mode is enabled in current buffer.
902
5b01685c
JB
9032012-04-19 Juanma Barranquero <lekktu@gmail.com>
904
905 * imenu.el (imenu-progress-message): Restore; it is "used" in
906 erc/erc-imenu.el and net/snmp-mode.el.
907
4d6769e1
JB
9082012-04-19 Juanma Barranquero <lekktu@gmail.com>
909
910 * avoid.el (mouse-avoidance-mode): Mark unused arg.
911 (mouse-avoidance-nudge-mouse): Remove unused binding.
912
913 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
914
915 * descr-text.el (describe-char):
916 * progmodes/python.el (python-describe-symbol):
917 Don't call `toggle-read-only', set `buffer-read-only'.
918
919 * imenu.el (imenu-default-goto-function): Mark unused args.
920 (imenu-progress-message): Remove obsolete macro; all callers changed.
921
922 * subr.el (keymap-canonicalize): Remove unused binding.
923 (read-passwd): Mark unused arg.
924
925 * tutorial.el (tutorial--display-changes): Remove unused binding.
926 (tutorial--save-tutorial-to): Remove unused variable.
927
928 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
929 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
930 (package-generate-autoloads, package-menu--generate)
931 (package-menu--find-upgrades): Remove unused bindings.
932
933 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
934 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
935 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
936 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
937 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
938 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
939 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
940 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
941 (cua-delete-char-rectangle): Mark unused args.
942 (cua-align-rectangle): Remove unused binding.
943
944 * mail/rmail.el (compilation--message->loc)
945 (epa--find-coding-system-for-mime-charset): Declare.
946
947 * net/dbus.el (dbus-register-service): Declare.
948 (dbus-name-owner-changed-handler): Remove unused binding.
949
950 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
951 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
952 (nxml-scan-backward-within): Mark unused arg.
953 (nxml-dynamic-markup-word): Remove unused binding.
954
955 * mouse.el (mouse-menu-major-mode-map):
956 * emacs-lisp/authors.el (authors-scan-change-log)
957 (authors-add-to-author-list):
958 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
959 * emacs-lisp/smie.el (smie-auto-fill):
960 * mail/sendmail.el (mail-bury):
961 * mail/unrmail.el (unrmail):
962 * net/tls.el (open-tls-stream):
963 * textmodes/picture.el (picture-mouse-set-point):
964 Remove unused bindings.
965
8c8fc5df
MA
9662012-04-19 Michael Albinus <michael.albinus@gmx.de>
967
968 * net/tramp.el (tramp-action-password): Let-bind
969 `enable-recursive-minibuffers' to t.
970
a77b0ac9
SS
9712012-04-18 Sam Steingold <sds@gnu.org>
972
973 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
974 instead of 'string to accommodate values like [f11].
975 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
976 * progmodes/gdb-mi.el: Likewise.
977
12a106a9
LL
9782012-04-18 Leo Liu <sdl.web@gmail.com>
979
980 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
981 current buffer.
982 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
983 LOCAL is nil.
984
bc6494ef
CY
9852012-04-18 Chong Yidong <cyd@gnu.org>
986
987 * simple.el (line-move): Use forward-line if in batch mode
988 (Bug#11053).
989
c09c46b2
CS
9902012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
991
992 * files.el (after-find-file): Do not try to add a final newline if
993 the buffer is read-only (Bug#11156).
994
5f6530ea
RS
9952012-04-17 Richard Stallman <rms@gnu.org>
996
997 * mail/rmail.el (rmail-start-mail):
998 Pass (rmail-mail-return...) for the return-action.
999 Pass (rmail-yank-current-message...) for the yank-action.
1000 (rmail-yank-current-message): New function.
1001 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1002 (rmail-reply): Likewise.
1003 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1004
1005 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1006 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1007 buffer, not newbuf.
1008
197b6f3c
JB
10092012-04-17 Juanma Barranquero <lekktu@gmail.com>
1010
1011 * server.el (server-ensure-safe-dir): Simplify.
1012
2311d8e5 10132012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1014
2311d8e5
GM
1015 * emacs-lisp/smie.el: Provide smarter auto-filling.
1016 (smie-auto-fill): New function.
1017 (smie-setup): Use it.
98fb480e 1018
2311d8e5
GM
1019 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1020
10212012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1022
1023 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1024 (comment-indent): Use it.
1025
2311d8e5 10262012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1027
1028 * ses.el: The overall change is to add cell renaming, that is
1029 setting fancy names for cell symbols other than name matching
1030 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1031 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1032 (ses-create-cell-variable): New defun.
2311d8e5 1033 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1034 (ses-relocate-formula): Relocate formulas only for cells the
1035 symbols of which are not renamed, i.e. symbols whose names do not
1036 match regexp "\\`[A-Z]+[0-9]+\\'".
1037 (ses-relocate-all): Relocate values only for cells the symbols of
1038 which are not renamed.
1039 (ses-load): Create cells variables as the (ses-cell ...) are read,
1040 in order to check row col consistency with cell symbol name only
1041 for cells that are not renamed.
1042 (ses-replace-name-in-formula): New defun.
1043 (ses-rename-cell): New defun.
4bdf2ad2 1044
fc72b15c
PO
10452012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1046
1047 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1048 New option (bug#11118).
1049 (perl-calculate-indent): Respect it.
1050
12e10e61
GM
10512012-04-17 Glenn Morris <rgm@gnu.org>
1052
1053 * dired-aux.el (dired-mark-read-string): Doc fix.
1054
30009afd
DA
10552012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1056
1057 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1058 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1059
41f03f4d
GM
10602012-04-17 Glenn Morris <rgm@gnu.org>
1061
1062 * mouse.el (mouse-drag-track):
1063 * speedbar.el (speedbar-frame-mode):
1064 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1065
f45f90f3
LL
10662012-04-16 Leo Liu <sdl.web@gmail.com>
1067
1068 * progmodes/python.el: Trivial cleanup.
1069
94ee8db5
GM
10702012-04-16 Glenn Morris <rgm@gnu.org>
1071
121b8917
GM
1072 * vc/vc.el (vc-string-prefix-p):
1073 * vc/pcvs-util.el (cvs-string-prefix-p):
1074 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1075 * mpc.el (mpc-string-prefix-p):
1076 Make all of these into obsolete aliases for string-prefix-p.
1077 Update callers.
1078 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1079
1197ecfa
GM
1080 * textmodes/two-column.el: Move custom options to the start.
1081 (frame-width): Remove compat definition.
1082 (2C-associate-buffer, 2C-dissociate):
1083 Use with-current-buffer rather than save-excursion.
1084 (2C-dissociate): Force a mode-line update.
1085 (2C-autoscroll): Use ignore-errors.
1086
099e7202
GM
1087 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1088 Autoload trivia.
1089
bf350d6a
GM
1090 * emacs-lisp/cl-extra.el (*random-state*):
1091 Remove unnecessary declaration.
1092
0e829eab
GM
1093 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1094
e3ad7552
GM
1095 * play/cookie1.el (cookie-snarf):
1096 Give an explicit error if input file cannot be read.
1097
68892d27
GM
1098 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1099
20f0c46d
GM
1100 * progmodes/perl-mode.el (c-macro-expand):
1101 Remove unnecessary autoload (it is in loaddefs.el).
1102
5a0978ce
GM
1103 * textmodes/picture.el (picture-desired-column)
1104 (picture-update-desired-column): Convert comments to doc-strings.
1105 (picture-substitute): Remove function.
1106 (picture-mode-map): Initialize in the defvar.
1107
6b955486
GM
1108 * woman.el: Remove eval-after-load for tar-mode.
1109 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1110 (woman-tar-extract-file): Autoload it.
1111
94ee8db5
GM
1112 * frame.el (automatic-hscrolling): Make this alias obsolete.
1113
177eca34
AM
11142012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1115
1116 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1117 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1118 (ispell-dictionary-base-alist): Revert to original XEmacs
1119 friendly version for default. [:alpha:] will be added in
1120 `ispell-set-spellchecker-params' if needed
177eca34 1121
c505aaeb
CY
11222012-04-16 Chong Yidong <cyd@gnu.org>
1123
1124 * image.el (imagemagick--extension-regexp): New variable.
1125 (imagemagick-register-types): Use it.
1126 (imagemagick-types-inhibit): Add :set function. Allow new value
1127 of t to inhibit all types.
1128
1129 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1130 so we can preload it.
1131
1132 * loadup.el (fboundp): Preload regexp-opt, needed by
1133 imagemagick-register-types.
1134
60efac0f
CY
11352012-04-15 Chong Yidong <cyd@gnu.org>
1136
1137 * frame.el (scrolling): Remove nearly unused customization group.
1138
1139 * scroll-all.el (scroll-all-mode): Move to windows group.
1140
5dd1713e
CY
11412012-04-15 Chong Yidong <cyd@gnu.org>
1142
1143 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1144
e6fd457e
CY
11452012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1146
1147 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1148 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1149
e153c136
GM
11502012-04-15 Glenn Morris <rgm@gnu.org>
1151
1152 * simple.el (process-file-side-effects): Doc fix.
1153
e6fd457e 11542012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1155
1156 * international/mule-cmds.el (set-language-environment): Doc fix.
1157
3603c3b1
JB
11582012-04-14 Juanma Barranquero <lekktu@gmail.com>
1159
1160 * server.el (server-auth-key, server-generate-key): Doc fixes.
1161 (server-get-auth-key): Doc fix. Use `string-match-p'.
1162 (server-start): Reflow docstring.
1163
e6de100c
LI
11642012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1165
1166 * server.el (server-generate-key): `called-interactively-p'
1167 requires a parameter.
1168
29734c21
MN
11692012-04-14 Michal Nazarewicz <mina86@mina86.com>
1170
1171 * server.el (server-auth-key): New variable.
75f1671a 1172 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1173 (server-start): Use the new variable and functions to allow
1174 setting a permanent server key (bug#9423).
1175
d65c9521
LL
11762012-04-14 Leo Liu <sdl.web@gmail.com>
1177
1178 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1179
5ae255c7
PE
11802012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1181
1182 Spelling fixes.
1183 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1184 Emacs uses American spelling.
1185
d5e6342e
JB
11862012-04-14 Juanma Barranquero <lekktu@gmail.com>
1187
1188 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1189 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1190 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1191 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1192
ab036cd7
SM
11932012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * progmodes/which-func.el (which-func-modes): Change default.
1196
35dc09a1 11972012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1198
1199 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1200 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1201
35dc09a1 12022012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1203
1204 * custom.el (custom-theme-set-variables): Doc fix.
1205
35dc09a1 12062012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1207
1208 * international/mule.el (set-auto-coding-for-load): Doc fix.
1209
35dc09a1 12102012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1211
35dc09a1
GM
1212 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1213 imenu work again for Objective C Mode. Correct the *-index values,
1214 these having been disturbed by a previous change in 2011-08.
57f845ee 1215
0de3da9f
AM
1216 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1217 Correct two search limits.
1218
35dc09a1 12192012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1220
1221 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1222
35dc09a1 12232012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1224
1225 * international/characters.el: Fix sorting.
1226
35dc09a1 12272012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1228
1229 * international/characters.el: Add more missing Latin case pairs.
1230
35dc09a1 12312012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1232
1233 * files.el (dir-locals-set-class-variables): Doc fix.
1234
35dc09a1 12352012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1236
3f1b5bf8
EZ
1237 * international/characters.el: Add set-case-syntax-pair call for
1238 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1239 counterpart. (Bug#11209)
1240
9f847f41
EZ
1241 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1242
35dc09a1 12432012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1244
1245 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1246
35dc09a1 12472012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1248
35dc09a1
GM
1249 * textmodes/ispell.el (ispell-dictionary-base-alist):
1250 Add data for Hebrew.
e2627d21 1251
35dc09a1 12522012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1253
35dc09a1
GM
1254 * net/rcirc.el (rcirc-cmd-quit):
1255 Revert 2012-03-18 change (Bug#11192).
5c14e333 1256
35dc09a1 12572012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1258
1259 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1260
35dc09a1 12612012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1262
4517fe3a
SM
1263 * minibuffer.el (completion-in-region-mode-map):
1264 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1265
b472a594
VD
12662012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1267
1268 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1269
09b95ce3
MY
12702012-04-13 Masatake YAMATO <yamato@redhat.com>
1271
1272 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1273 to allow `C-M-f' and `C-M-b' to move to the nearest path
1274 separator (bug#9511).
1275
4b63a9ca
LI
12762012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1277
1278 * avoid.el: Require cl when compiling. And also move the
1279 `provide' to the end.
1280
7b55b8bf
TV
12812012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1282
1283 * avoid.el (mouse-avoidance-banish-position): New variable.
1284 (mouse-avoidance-banish-destination): Use it (bug#10165).
1285
adedaa1f
LL
12862012-04-13 Leo Liu <sdl.web@gmail.com>
1287
1288 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1289
70e74021
KB
12902012-04-13 Ken Brown <kbrown@cornell.edu>
1291
1292 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1293 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1294 (browse-url-filename-alist): For the same reason, don't modify
1295 file:// URLs on Cygwin.
1296
e75e89ba
SM
12972012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1300 the region on shift if the binding is already shifted (bug#11221).
1301
82f289a4
GM
13022012-04-12 Glenn Morris <rgm@gnu.org>
1303
1304 * mail/mailpost.el: Move to obsolete/.
1305
d333dc4c
DA
13062012-04-12 Drew Adams <drew.adams@oracle.com>
1307
1308 * imenu.el (imenu--generic-function): Ignore invisible definitions
1309 (bug#10123).
1310
0d15b5ba
VD
13112012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1312
1313 * hexl.el (hexl-bits): New variable.
1314 (hexl-options): Mention the variable in the doc string.
75f1671a 1315 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1316 (hexl-mode): Mention the new variable.
75f1671a
JB
1317 (hexl-mode, hexl-current-address, hexl-current-address):
1318 Use the displen.
0d15b5ba
VD
1319 (hexl-ascii-start-column): New function.
1320 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1321 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1322
64a440db
AM
13232012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1324
1325 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1326 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1327 the encoding, as expected by hunspell.
1328
6decb6c2
SM
13292012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1330
1331 * battery.el (battery--linux-sysfs-regexp): New const.
1332 (battery-status-function): Use it. Remove yeeloong special case.
1333 (battery-yeeloong-sysfs): Remove.
1334 (battery-echo-area-format): Remove yeeloong special case.
1335
088be6fb
SM
13362012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1337
6622e416
SM
1338 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1339 Reported by Noah Friedman.
1340
088be6fb
SM
1341 * subr.el (read-passwd): Use read-string.
1342
b49f886e
LMI
13432012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1344
1345 * vcursor.el (vcursor-move): Increase the priority of the overlay
1346 (bug#9663).
1347
a63067fc
DD
13482012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1349
1350 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1351 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1352
ac3cf14a
WS
13532012-04-11 William Stevenson <yhvh2000@gmail.com>
1354
1355 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1356 define-minor-mode (bug#10760).
1357
c4fc691b 13582012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1359
4d6769e1 1360 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1361 that directories matching `grep-find-ignored-files' won't be
1362 pruned (bug#10351).
1363
af23e2e5
CY
13642012-04-11 Chong Yidong <cyd@gnu.org>
1365
1366 * startup.el (command-line): Remove support for long-obsolete
1367 variable font-lock-face-attributes.
1368
ab7ce8c1
GM
13692012-04-11 Glenn Morris <rgm@gnu.org>
1370
1371 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1372
de8c03dc
SM
13732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1374
1375 * window.el (window--state-get-1): Obey window-point-insertion-type.
1376
050cc68b
LB
13772012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1378
1379 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1380 to previous function when point is on the first character of a
75f1671a 1381 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1382
a38c310c
GM
13832012-04-11 Glenn Morris <rgm@gnu.org>
1384
effed0c2
GM
1385 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1386 not just file-errors.
1387
a38c310c
GM
1388 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1389 (vc-bzr-sha1): Use internal sha1.
1390
0221e323
SM
13912012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1394
43956923
SG
13952012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1396
1397 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1398 that start in the middle of the line (bug#10496).
1399
6a8c9eaf
DN
14002012-04-10 Dan Nicolaescu <dann@gnu.org>
1401
1402 * battery.el (battery-linux-proc-acpi): Only one battery is
1403 discharged at a time, but that seems to confuse battery.el when
1404 computing `rate-type' for the battery not being discharged
1405 (bug#10332).
1406
1930bf5d
SM
14072012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1408
2a718f6f
SM
1409 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1410
599430d0
SM
1411 * international/quail.el: Use dolist and simplify.
1412 (quail-define-package, quail-update-keyboard-layout)
1413 (quail-define-rules): Use dolist.
1414 (quail-insert-kbd-layout, quail-get-translation): CSE.
1415
a2754b6c
SM
1416 * tmm.el: Use dolist, remove left over hook.
1417 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1418 Use dolist.
1419 (calendar-load-hook): Don't mess with it.
1420
1930bf5d
SM
1421 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1422 Use derived-mode-p. Run the diff asynchronously.
1423
9f67961c
LMI
14242012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1425
1426 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1427
2a8ce227
JB
14282012-04-10 Juanma Barranquero <lekktu@gmail.com>
1429
1430 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1431 (list-dynamic-libraries--loaded): New function.
1432 (list-dynamic-libraries--refresh): Use it.
1433
8f33b5f8
NW
14342012-04-10 Nathan Weizenbaum <nweiz@google.com>
1435
1930bf5d
SM
1436 * progmodes/python.el (python-fill-paragraph):
1437 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1438 disabled (bug#7018).
1439
b12f0439
L
14402012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1441
1930bf5d 1442 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1443 DOS/MS Windows for the Baltic languages. There are still plenty
1444 of texts written in this encoding/codepage (bug#6519).
b12f0439 1445
57c3bd01
GM
14462012-04-10 Glenn Morris <rgm@gnu.org>
1447
1448 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1449 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1450
6c3eab30
FA
14512012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1452
1930bf5d 1453 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1454 next-line "n" and previous-line "p" in order to make recentf more
1455 consistent with ibuffer, dired or org-mode (bug#9387).
1456
24d78a88
LMI
14572012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1458
bc72b5d9
LMI
1459 * image.el (put-image): Return the overlay created instead of the
1460 optional input string (bug#7834). Note that this may break code
1461 that is (for some reason or other) depending on `put-image'
1462 returning the string.
1463
bd2dba5a
LMI
1464 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1465
74beb59f
LMI
1466 * simple.el (zap-to-char): Allow zapping using input methods
1467 (bug#1580).
1468
24d78a88
LMI
1469 * textmodes/fill.el (fill-region): Leave point and mark where they
1470 were before filling (bug#5399).
1471
263f20cd
GM
14722012-04-09 Glenn Morris <rgm@gnu.org>
1473
1474 * version.el (emacs-bzr-get-version):
1475 Handle lightweight checkouts of local branches.
1476
58d1f797
AS
14772012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1478
263f20cd 1479 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1480
b4d3bc10
CY
14812012-04-09 Chong Yidong <cyd@gnu.org>
1482
1483 * custom.el (custom-variable-p): Return nil for non-symbol
1484 arguments instead of signaling an error.
1485 (user-variable-p): Obsolete alias for custom-variable-p.
1486
1487 * apropos.el (apropos-variable):
1488 * files-x.el (read-file-local-variable):
1489 * simple.el (set-variable):
1490 * woman.el (woman-mini-help):
1491 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1492
fd06db5d
GM
14932012-04-09 Glenn Morris <rgm@gnu.org>
1494
e5fcdb5e
GM
1495 * startup.el (normal-top-level): Don't look for leim-list.el
1496 in places where it will not be found. (Bug#910)
1497
fd06db5d
GM
1498 * international/mule-cmds.el (set-default-coding-systems):
1499 * files.el (normal-mode):
1500 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1501 This function was removed with ucs-tables.el in 2008.
1502
b39bb7e1
EZ
15032012-04-08 Eli Zaretskii <eliz@gnu.org>
1504
1505 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1506 ispell-encoding8-command to "-i", without a trailing space.
1507 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1508 separate command-line arguments, to specify the encoding, since
1509 that's how hunspell expects it.
1510
5c5b8e23
GM
15112012-04-08 Glenn Morris <rgm@gnu.org>
1512
1513 * loadup.el: Load bindings before cus-start.
1514 This reduces somewhat the number of "rogue" settings in emacs -Q.
1515
a1ed8b05
GM
15162012-04-07 Glenn Morris <rgm@gnu.org>
1517
1518 * version.el (emacs-bzr-get-version): New function.
dfae128a 1519 (emacs-bzr-version): New variable.
a1ed8b05
GM
1520 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1521 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1522
b142f158
EZ
15232012-04-07 Eli Zaretskii <eliz@gnu.org>
1524
dfae128a
GM
1525 * international/uni-bidi.el, international/uni-category.el:
1526 * international/uni-combining.el, international/uni-decimal.el:
1527 * international/uni-decomposition.el, international/uni-digit.el:
1528 * international/uni-lowercase.el, international/uni-mirrored.el:
1529 * international/uni-name.el, international/uni-numeric.el:
1530 * international/uni-titlecase.el, international/uni-uppercase.el:
1531 Update for Unicode 6.1.
b142f158 1532
9078ead6
EZ
15332012-04-07 Eli Zaretskii <eliz@gnu.org>
1534
1535 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1536
f23d2c7d
LMI
15372012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1538
1539 * window.el (shrink-window): Mention the `window-min-height'
1540 variable in the doc string.
1541
0a0a3573
BG
15422012-04-05 Bastien Guerry <bzg@altern.org>
1543
1544 * color.el (color-lighten-name): Fix typo.
1545
e5248ac9
SM
15462012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * server.el (server--on-display-p): New function.
1549 (server--on-display-p): Use it.
1550
b4243e22
GV
15512012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1552
1553 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1554 (bug#11145).
1555
305d9f44
SM
15562012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1557
1558 * comint.el (comint--common-quoted-suffix): Check string boundary
1559 before comparing (bug#11158).
1560 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1561
3d439cd1
CY
15622012-04-04 Chong Yidong <cyd@gnu.org>
1563
321cc491
CY
1564 * minibuffer.el (completion-extra-properties): Doc fix.
1565
3d439cd1
CY
1566 * subr.el (delayed-warnings-hook): Doc fix.
1567
2d562c0f
DU
15682012-04-04 Daiki Ueno <ueno@unixuser.org>
1569
1570 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1571 selection (Bug#11159).
1572 (epa-insert-keys): Inform that the default public key will be
1573 exported if no key is selected.
1574
4443f204
RS
15752012-04-04 Richard Stallman <rms@gnu.org>
1576
1577 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1578
529c06b6
CY
15792012-04-03 Chong Yidong <cyd@gnu.org>
1580
1581 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1582 mail-insert-file, not its obsolete alias mail-attach-file.
1583
66b907dc
MA
15842012-04-03 Michael Albinus <michael.albinus@gmx.de>
1585
1586 * notifications.el (notifications-notify): Fix docstring.
1587
c0ea195d
GM
15882012-04-02 Glenn Morris <rgm@gnu.org>
1589
1590 * emacs-lisp/authors.el (authors-aliases): Another addition.
1591
5ca64e00
MA
15922012-04-02 Michael Albinus <michael.albinus@gmx.de>
1593
1594 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1595 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1596 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1597
42ee526b
CY
15982012-04-01 Chong Yidong <cyd@gnu.org>
1599
1600 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1601 Handle root directory properly.
1602 (copy-directory): Caller changed.
1603
1604 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1605 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1606
0b021094
GM
16072012-03-31 Glenn Morris <rgm@gnu.org>
1608
40f86458
GM
1609 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1610
7019c177
GM
1611 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1612
a1daddd6
GM
1613 * calendar/calendar.el (calendar-window-list)
1614 (calendar-hide-window): Restore. (Bug#11140)
1615 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1616
0b021094
GM
1617 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1618
40311efc
TV
16192012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1620
1621 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1622 Check if file is a symlink (Bug#10489).
1623
1624 * files.el (copy-directory): Likewise.
1625
5319014e
CY
16262012-03-30 Chong Yidong <cyd@gnu.org>
1627
1628 * image.el (imagemagick-types-inhibit)
1629 (imagemagick-register-types): Doc fix.
1630
935d1290
AM
16312012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1632
ef24141c
SM
1633 * ispell.el (ispell-get-extended-character-mode):
1634 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1635 and treats ~word as ordinary words in pipe mode.
935d1290 1636
61c6e8fd
GM
16372012-03-30 Glenn Morris <rgm@gnu.org>
1638
1639 * tutorial.el (help-with-tutorial): Ensure local variables don't
1640 happen to make the buffer read-only. (Bug#11127)
1641
81fdff00
SM
16422012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1643
1644 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1645 (perl-calculate-indent): Return `noindent' in strings.
1646
6e7a6ec0
SS
16472012-03-28 Sam Steingold <sds@gnu.org>
1648
1649 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1650 instead of the broken adhockery which does not prevent calendar
1651 buffers from being displayed at random after exit.
1652 (calendar-window-list, calendar-hide-window): Remove the broken
1653 adhockery.
1654
fee88ca0
GM
16552012-03-28 Glenn Morris <rgm@gnu.org>
1656
1657 * replace.el (query-replace-map): Doc fix.
1658
38de3354
AS
16592012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1660
1661 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1662 contents. (Bug#11109)
1663
b973155e
SM
16642012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1665
1666 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1667 (bug#11077).
1668 (avl-tree--check, avl-tree--check-node): New funs.
1669
dcb6e7b3
MR
16702012-03-27 Martin Rudalics <rudalics@gmx.at>
1671
1672 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1673 (switch-to-prev-buffer, switch-to-next-buffer):
1674 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1675 showing a buffer already is done on the same frame.
1676
b4fa35fa
GM
16772012-03-27 Glenn Morris <rgm@gnu.org>
1678
1679 * startup.el (mail-host-address): Doc fix.
1680
f9210e18
SM
16812012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1682
1683 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1684 than 197 variables.
1685
c0bf7753
AF
16862012-03-26 Ami Fischman <ami@fischman.org>
1687
1688 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1689
33da7b16
GM
16902012-03-26 Glenn Morris <rgm@gnu.org>
1691
02243d9d
GM
1692 * files.el (save-buffers-kill-emacs): Doc fix.
1693
33da7b16
GM
1694 * startup.el (normal-top-level, command-line, command-line-1):
1695 Give them doc strings.
1696
e5a69fd0
EZ
16972012-03-25 Eli Zaretskii <eliz@gnu.org>
1698
1699 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1700 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1701
9a69676a
CY
17022012-03-25 Chong Yidong <cyd@gnu.org>
1703
4125cb8b
CY
1704 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1705 theme if it was previously enabled before (Bug#11031).
1706
dd470960
CY
1707 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1708 spec with custom-face-get-current-spec if its :shown-value is not
1709 determined yet (Bug#9337).
4125cb8b 1710 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1711
9a69676a
CY
1712 * button.el (button-at): Minor addition to docstring.
1713
6e7e90fa
SL
17142012-03-24 Simon Leinen <simon.leinen@gmail.com>
1715
1716 * vc/vc.el (vc-merge): Fix a prompt.
1717
f06e2758
CY
17182012-03-24 Chong Yidong <cyd@gnu.org>
1719
1720 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1721 point (Bug#9623).
1722
6e7e90fa
SL
1723 * button.el (button-at): Minor addition to docstring.
1724
b9d0879b
SM
17252012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1726
1727 * newcomment.el (comment-choose-indent): No space after BOL.
1728
e71cebb3
SS
17292012-03-22 Sam Steingold <sds@gnu.org>
1730
1731 * window.el (switch-to-prev-buffer): Revert last patch because the
1732 bug turned out to be an advertised feature (Elisp manual 28.14).
1733
335aff35
GM
17342012-03-22 Glenn Morris <rgm@gnu.org>
1735
1736 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1737 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1738
c676576a
LMI
17392012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1740
1741 * net/network-stream.el (network-stream-open-starttls): Make error
1742 message under Windows be less misleading.
1743
126f3d39
LW
17442012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1745
1746 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1747 understands (bug#9942).
1748
64fee311
CY
17492012-03-22 Chong Yidong <cyd@gnu.org>
1750
1751 * simple.el (end-of-visible-line): Handle return value of
1752 next-single-property-change properly (Bug#9371).
1753
a640d29a
KH
17542012-03-22 Kenichi Handa <handa@m17n.org>
1755
1756 * international/quail.el (quail-insert-kbd-layout): Fix previous
1757 change. To avoid unwanted bidi reordering, use
1758 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1759
39675016
DG
17602012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1761
1762 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1763 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1764 (ruby-beginning-of-indent): Be more careful with the difference
1765 between word-boundary and symbol boundary.
1766 (ruby-mode-syntax-table): Make : a symbol constituent.
1767
0a6934fc 17682012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1769
3d008e4f
SM
1770 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1771
0a6934fc
SM
17722012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1773
af67c9d7
SM
1774 * progmodes/etags.el (tags-completion-at-point-function):
1775 Improve last fix.
1776
1acad97c
SM
1777 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1778
e298b5da
SS
17792012-03-21 Sam Steingold <sds@gnu.org>
1780
1781 * progmodes/etags.el (tags-completion-at-point-function):
1782 Avoid the error when point is inside the pattern.
1783
91d82a70
JY
17842012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1785
1786 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1787 line (Bug#10855).
1788
69188b79
CY
17892012-03-21 Drew Adams <drew.adams@oracle.com>
1790
1791 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1792
99fc91fe
AK
17932012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1794
1795 * ido.el (ido-set-current-directory, ido-read-internal)
1796 (ido-choose-completion-string, ido-completion-help): Handle nil
1797 value of ido-completion-buffer (Bug#11008).
1798
087bbb4c
SS
17992012-03-21 Sam Steingold <sds@gnu.org>
1800
1801 * window.el (switch-to-prev-buffer): Do not switch to a visible
1802 window previous buffer, just like with the frame previous buffers.
1803
fb5b8aca
CY
18042012-03-21 Chong Yidong <cyd@gnu.org>
1805
1806 * faces.el (make-face, make-empty-face, copy-face):
1807 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1808 Doc fixes.
1809
dc9924b8
SM
18102012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1813 (widget-complete): Remove broken use of it.
1814
f0bcceb9
CY
18152012-03-20 Chong Yidong <cyd@gnu.org>
1816
dc9924b8
SM
1817 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1818 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1819 characters.
1820
ee52ebf3
TH
18212012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1822
1823 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1824 to draw rectangles, not squares. (Regression introduced by revno
1825 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1826
4c5779ab
CY
18272012-03-18 Chong Yidong <cyd@gnu.org>
1828
1829 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1830 it is not yet defined (for temacs).
1831
15360934
LL
18322012-03-18 Leo Liu <sdl.web@gmail.com>
1833
dc9924b8 1834 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1835
d9a8eb66
EZ
18362012-03-17 Eli Zaretskii <eliz@gnu.org>
1837
1838 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1839 (ispell-choices-win-default-height, ispell-silently-savep)
1840 (ispell-dictionary-alist, ispell-encoding8-command)
1841 (ispell-check-version, ispell-aspell-find-dictionary)
1842 (ispell-valid-dictionary-list, ispell-words-keyword)
1843 (ispell-get-word, ispell-internal-change-dictionary)
1844 (ispell-region, ispell-skip-region-list)
1845 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1846 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1847 (ispell-message-text-end, ispell-message)
1848 (ispell-buffer-local-parsing): Doc fix.
1849
f02ff80d
J
18502012-03-13 Jambunathan K <kjambunathan@gmail.com>
1851
1852 * htmlfontify.el: Add support for code block fontification for ODT
1853 export (Bug #9914).
1854 (hfy-optimisations): Define new option
1855 `body-text-only'
1856 (hfy-fontify-buffer): Honor above setting.
1857 (hfy-begin-span, hfy-end-span): New routines factored out form
1858 `hfy-fontify-buffer'.
1859 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1860 that permit insertion of custom tags.
1861 (hfy-fontify-buffer): Use above handlers.
1862 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1863 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1864 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1865 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1866 bind a special variable `hfy-user-sheet-assoc'.
1867 (htmlfontify-string): New defun.
1868 (hfy-compile-face-map): Make sure that the last char in the
1869 buffer is correctly fontified.
1870 (hfy-face-resolve-face): Whitespace only change.
1871
9ac7a13f
EZ
18722012-03-17 Eli Zaretskii <eliz@gnu.org>
1873
1874 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1875 message more clear.
1876
e2b5bdd7
LL
18772012-03-16 Leo Liu <sdl.web@gmail.com>
1878
1879 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1880
2e492df3
AM
18812012-03-16 Alan Mackenzie <acm@muc.de>
1882
1883 Further optimise the handling of large macros.
1884
1885 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1886 limit to a call of `c-literal-limits'.
1887 (c-determine-+ve-limit): New function.
dc9924b8
SM
1888 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1889 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1890 In CASE 5B, restrict a search limit to 500.
1891 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1892
1893 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1894 Restrict macro bounds to +-500 from after-change's BEG END.
1895
50e94f0c
LL
18962012-03-16 Leo Liu <sdl.web@gmail.com>
1897
1898 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1899
6f09f6ed
AH
19002012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1901
1902 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1903 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1904
c7e73d51
GM
19052012-03-16 Glenn Morris <rgm@gnu.org>
1906
da986230
GM
1907 * view.el (view-buffer, view-buffer-other-window)
1908 (view-buffer-other-frame): Doc fixes re special mode-class.
1909
0835f01e
GM
1910 * subr.el (eval-after-load): If named feature is provided not from
1911 a file, run after-load forms. (Bug#10946)
1912
c7e73d51
GM
1913 * calendar/calendar.el (calendar-insert-at-column):
1914 Handle non-unit-width characters a bit better. (Bug#10978)
1915
3f2eafd1
CY
19162012-03-15 Chong Yidong <cyd@gnu.org>
1917
1918 * emacs-lisp/ring.el (ring-extend): New function.
1919 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1920
1921 * comint.el (comint-read-input-ring)
1922 (comint-add-to-input-history): Grow comint-input-ring lazily.
1923
103af3fe
SM
19242012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1925
663b1677
SM
1926 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1927 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1928
103af3fe
SM
1929 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1930 (imenu-add-to-menubar): Don't add a redundant index.
1931 (imenu-update-menubar): Handle a dynamically composed keymap.
1932
899cb7cb
KY
19332012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1934
1935 * mail/sendmail.el (mail-encode-header):
1936 Bind rfc2047-encode-encoded-words to nil.
1937
3809f91d
GM
19382012-03-13 Glenn Morris <rgm@gnu.org>
1939
1940 * calendar/calendar.el (calendar-string-spread):
1941 Handle non-unit-width characters a bit better. (Bug#10978)
1942
9e345a01
LL
19432012-03-13 Leo Liu <sdl.web@gmail.com>
1944
1945 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1946 directory and file as argument (Bug#10822).
1947
4a07df36
KS
19482012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1949
1950 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1951 For dynamically generated code, follow $PC.
1952 (gdb-disassembly-handler-custom): Handle no function name case.
1953
4aaa9356
TL
19542012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1955
1956 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1957 * emulation/ws-mode.el (ws-query-replace):
1958 * sort.el (sort-regexp-fields):
1959 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1960
225979da
SM
19612012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * dabbrev.el: Fix cycle completion order (bug#10963).
1964 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1965 (dabbrev-completion): Don't use an obarray; provide
1966 a cycle-sort-function.
1967
e2f1fdab
LL
19682012-03-12 Leo Liu <sdl.web@gmail.com>
1969
dc9924b8 1970 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1971 (kill-do-not-save-duplicates): Doc fix.
1972
b19490ed
SM
19732012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * dabbrev.el: Fix cycle completion (bug#10963).
1976 Use lexical binding and wrap to 80 columns.
1977 (dabbrev-completion): Delay computing the list of completions.
1978
4b05d722
KH
19792012-03-12 Kenichi Handa <handa@m17n.org>
1980
1981 * international/quail.el (quail-insert-kbd-layout): Surround each
1982 row by LRO and PDF instead of inserting many LRMs. Pad the left
1983 and right of each non-spacing marks. Insert invisible space
1984 between lower and upper characters to prevent composition.
1985
dbbc2e69
SM
19862012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * minibuffer.el (minibuffer-complete): Don't get confused when the
1989 function is run twice via different commands (bug#10958).
1990 (complete-with-action): Fix docstring.
1991
292112ed
CY
19922012-03-12 Chong Yidong <cyd@gnu.org>
1993
5d1ac394
CY
1994 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1995 (nxml-completion-at-point-function): New function.
1996 (nxml-mode): Use it.
1997 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1998
292112ed
CY
1999 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2000 Load generated autoloads file before byte compiling (Bug#10970).
2001 (package--make-autoloads-and-compile): New helper fun.
2002
4098f8f7
CS
20032012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2004
2005 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2006
8f754691
MA
20072012-03-11 Michael Albinus <michael.albinus@gmx.de>
2008
2009 * autorevert.el (auto-revert-handler): Ensure, that
2010 file-readable-p is applied only for local files or in
2011 auto-revert-tail-mode.
2012
e29ab36b
AS
20132012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2014
dbbc2e69
SM
2015 * server.el (server-eval-at): Handle non-tcp connections.
2016 Decode result string.
ad0bf5b6 2017
e29ab36b
AS
2018 * server.el (server-msg-size): New constant.
2019 (server-reply-print): New function.
2020 (server-eval-and-print): Use it.
2021 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2022 Handle -print-nonl.
2023
de5939ba
CS
20242012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2025
2026 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2027 (Bug#10987).
2028
0c93eabf
CY
20292012-03-11 Chong Yidong <cyd@gnu.org>
2030
397a688f
CY
2031 * simple.el (goto-line): Doc fix (Bug#9938).
2032
2cc775f9
CY
2033 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2034
0c93eabf
CY
2035 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2036 when finished (Bug#10963).
2037
c491fa41
MR
20382012-03-11 Martin Rudalics <rudalics@gmx.at>
2039
2040 * window.el (split-window-below): Fix bug in case where
2041 split-window-keep-point is nil (Bug#10971).
2042
300e8fa5
JL
20432012-03-11 Juri Linkov <juri@jurta.org>
2044
2045 * replace.el (replace-highlight): Set isearch-word to nil
2046 unconditionally. (Bug#10887)
2047
dbf6c5a1
EZ
20482012-03-10 Eli Zaretskii <eliz@gnu.org>
2049
2050 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2051 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2052 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2053 (mairix-widget-create-query): Add usage information about mairix
2054 search forms: negating words, searching for substrings, etc.
2055
b9e501de
JP
20562012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2057
2058 * international/fontset.el (font-encoding-alist): Add an entry for
2059 ksx1001 (Bug#5667).
2060
92795c91
RS
20612012-03-10 Richard Stallman <rms@gnu.org>
2062
1694e6c1
RS
2063 * mail/sendmail.el (mail-encode-header):
2064 Set rfc2047-encode-encoded-words.
2065
607e8555
RS
2066 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2067
de3bc99a
RS
2068 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2069 view buffer means not swapped.
2070 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2071 (rmail-write-region-annotate): Error if real text has disappeared.
2072
92795c91
RS
2073 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2074
699bd04e
CY
20752012-03-10 Chong Yidong <cyd@gnu.org>
2076
2077 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2078 * emulation/cua-base.el (cua--init-keymaps):
2079 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2080
570a1714
MR
20812012-03-10 Martin Rudalics <rudalics@gmx.at>
2082
dbbc2e69
SM
2083 * speedbar.el (speedbar-unhighlight-one-tag-line):
2084 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2085
82dcf4e4
CY
20862012-03-10 Chong Yidong <cyd@gnu.org>
2087
7a2c7ca7
CY
2088 * minibuffer.el (completion-in-region, completion-help-at-point):
2089 Give the completion field overlay a high priority (Bug#6830).
2090
82dcf4e4
CY
2091 * dired.el (dired-goto-file): Recognize absolute file name
2092 listings (Bug#7126).
2093 (dired-goto-file-1): New helper function.
2094 (dired-toggle-read-only): Inhibit warnings.
2095
052e28ac
MA
20962012-03-09 Michael Albinus <michael.albinus@gmx.de>
2097
75f1671a 2098 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2099 there are no properties.
2100
95d5e396
LL
21012012-03-09 Leo Liu <sdl.web@gmail.com>
2102
2103 * savehist.el (savehist-printable): Stricter check for string
2104 value (Bug#10937).
2105
3f018d6d
EZ
21062012-03-09 Eli Zaretskii <eliz@gnu.org>
2107
dbbc2e69
SM
2108 * mail/smtpmail.el (smtpmail-send-it):
2109 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2110 valid mbox format.
2111
f7fd3d79
GM
21122012-03-09 Glenn Morris <rgm@gnu.org>
2113
2114 * files.el (dir-locals-find-file):
2115 Don't check result is regular, readable.
2116 (dir-locals-read-from-file): Demote errors.
2117
6ff6e72f
EZ
21182012-03-08 Eli Zaretskii <eliz@gnu.org>
2119
dbbc2e69
SM
2120 * international/quail.el (quail-insert-kbd-layout):
2121 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2122 layout cell, to prevent their reordering by bidi display engine.
2123 For details, see the discussion in
2124 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2125
9cec7834
AM
21262012-03-08 Alan Mackenzie <acm@muc.de>
2127
2128 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2129 the starting position; make it extend the marked region when
2130 invoked repeatedly - all under appropriate circumstances.
2131 Fixes bugs #5525, #10906.
2132
9a40b8d4
GM
21332012-03-08 Glenn Morris <rgm@gnu.org>
2134
2135 * files.el (locate-dominating-file, dir-locals-find-file):
2136 Undo 2012-03-06 change.
2137
7a08ed35
EZ
21382012-03-07 Eli Zaretskii <eliz@gnu.org>
2139
dbbc2e69
SM
2140 * international/quail.el (quail-help):
2141 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2142 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2143 for the reason.
2144
5aca4f71 21452012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2146
2147 Avoid superfluous registering of signals. (Bug#10807)
2148
2149 * notifications.el (notifications-on-action-object)
2150 (notifications-on-close-object): New defvars.
2151 (notifications-on-action-signal, notifications-on-closed-signal):
2152 Unregister the signal if not needed any longer.
2153 (notifications-notify): Register `notifications-action-signal' or
2154 `notifications-closed-signal', if :on-action or :on-close has been
2155 passed as argument.
2156
78e8b10a
CY
21572012-03-07 Chong Yidong <cyd@gnu.org>
2158
2159 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2160 non-X platforms.
2161
69481eb8
GM
21622012-03-06 Glenn Morris <rgm@gnu.org>
2163
2164 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2165 (x-disown-selection-internal, x-get-selection-internal):
2166 Doc fix (add arglist signatures). (Bug#10783)
2167
133b8e11
KS
21682012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2169
2170 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2171 Handle breakpoints with no "type".
2172
99a83064
GM
21732012-03-06 Glenn Morris <rgm@gnu.org>
2174
2175 * files.el (locate-dominating-file): Add optional predicate argument.
2176 (dir-locals-find-file): Make use of above change.
2177
17798e78
TTN
21782012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2179
2180 * info.el (Info-insert-dir): Also try "dir.gz".
2181
eb182446
GM
21822012-03-06 Glenn Morris <rgm@gnu.org>
2183
8f2114ee
GM
2184 * files.el (dir-locals-find-file):
2185 Ignore non-readable or non-regular files. (Bug#10928)
2186
eb182446
GM
2187 * files.el (locate-dominating-file): Doc fix.
2188
24679323
AS
21892012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2190
2191 * calendar/calendar.el (calendar-set-mode-line):
2192 `getenv' returns a string. (Bug#10951)
2193
01d972a9
LL
21942012-03-05 Leo Liu <sdl.web@gmail.com>
2195
109aa8a9
LL
2196 * simple.el (backward-delete-char-untabify): Constrain point to
2197 field (Bug#10939).
2198
01d972a9
LL
2199 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2200
10607bea
CY
22012012-03-05 Chong Yidong <cyd@gnu.org>
2202
2203 * simple.el (count-words): If called from Lisp, return the word
2204 count, for symmetry with `count-lines'. Arglist changed.
2205 (count-words--message): Args changed. Consolidate counting code
2206 from count-words and count-words-region.
2207 (count-words-region): Caller changed.
2208 (count-lines-region): Make it an obsolete alias.
2209
5dd11cfe
TH
22102012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2211
2212 * saveplace.el (save-place-to-alist)
2213 (save-place-ignore-files-regexp): Allow value nil to disable this
2214 feature.
2215
c349f4e6
CY
22162012-03-04 Chong Yidong <cyd@gnu.org>
2217
2218 * faces.el (face-spec-reset-face): For the default face, reset the
2219 attributes to default values (Bug#10748).
2220
e627be4c
LMI
22212012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2222
2223 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2224 previous patch: Check `message-send-mail-function', and not the
2225 default function (bug#10897).
2226
ebeabff4
MA
22272012-03-04 Michael Albinus <michael.albinus@gmx.de>
2228
a41a6cf4
MA
2229 * notifications.el (notifications-on-action-signal)
2230 (notifications-on-closed-signal): Check for unique service name of
2231 incoming event. Fix error in removing entry.
ebeabff4 2232 (top): Register for signals with wildcard service name.
a41a6cf4 2233 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2234
c1ca42b4
CY
22352012-03-04 Chong Yidong <cyd@gnu.org>
2236
dc9924b8 2237 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2238
ea16568d
GM
22392012-03-04 Glenn Morris <rgm@gnu.org>
2240
2241 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2242 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2243 (expand-abbrev, define-abbrev-table): Doc fixes.
2244
fbae4637
LMI
22452012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2246
2247 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2248 `message-default-send-mail-function' and not `send-mail-function'
2249 when doing the prompting for `sendmail-query-once' before sending
2250 in Message buffers (bug#10897).
2251
a1e7225c
LMI
2252 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2253 This is inconsistent with all the other stream functions, which leave
2254 the setting up to the higher levels (if so wanted) (bug#10931).
2255
56d093a9
AM
22562012-03-02 Alan Mackenzie <acm@muc.de>
2257
2258 Depessimize the handling of very large macros.
2259
2260 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2261 (c-macro-cache-syntactic): New variables to implement a one
2262 element macro cache.
2263 (c-invalidate-macro-cache): New function.
2264 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2265 Adapt to use the new cache.
2266 (c-state-safe-place): Use better the cache of safe positions.
2267 (c-state-semi-nonlit-pos-cache)
2268 (c-state-semi-nonlit-pos-cache-limit):
2269 New variables for...
2270 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2271 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2272 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2273 Use c-state-semi-safe-place.
56d093a9 2274
dbbc2e69
SM
2275 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2276 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2277
817e5c3d
MA
22782012-03-02 Michael Albinus <michael.albinus@gmx.de>
2279
dbbc2e69
SM
2280 * jka-compr.el (jka-compr-call-process):
2281 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2282 not remote.
2283
a032a702
MA
22842012-03-01 Michael Albinus <michael.albinus@gmx.de>
2285
2286 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2287 access of FILE2, if FILE1 does not exist.
2288
99a54f21
MA
2289 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2290 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2291
2292 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2293 Add "PAGER=" to `process-environment'.
2294
f6561e1f
MM
22952012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2296
2297 * progmodes/sql.el: Bug fix
2298 (sql-get-login-ext): Save login values in globals.
2299 (sql-get-login): Use new version of `sql-get-login-ext'.
2300 (sql-interactive-mode): Set global `sql-connection' to nil.
2301 (sql-connect): Set global values for connection.
2302 (sql-product-interactive): Save global values as buffer local.
2303
2d44d9cc
LL
23042012-02-29 Leo Liu <sdl.web@gmail.com>
2305
2306 * abbrev.el (define-abbrevs): Reset sys to nil.
2307
96b49301 23082012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2309
bf7f9bc5
JB
2310 * files.el (file-equal-p): Rename from `files-equal-p'.
2311 Return nil when one or both files don't exist.
96b49301 2312 (file-subdir-of-p): Now only top directory must exists,
2313 return nil if it doesn't.
bf7f9bc5
JB
2314 (copy-directory): No need to test with `file-subdir-of-p' after
2315 creating dir.
2316 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2317 to `file-equal-p'.
96b49301 2318
44e97401
GM
23192012-02-28 Glenn Morris <rgm@gnu.org>
2320
2321 * shell.el (shell-mode):
2322 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2323 * play/landmark.el (landmark-font-lock-face-O):
2324 * play/handwrite.el (handwrite):
2325 * play/gomoku.el (gomoku-O):
2326 * net/browse-url.el (browse-url-browser-display):
2327 * international/mule.el (define-charset):
2328 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2329 * filesets.el (filesets-find-file-delay):
2330 * eshell/em-xtra.el (eshell-xtra):
2331 * eshell/em-unix.el (eshell-grep):
2332 * emulation/viper.el (viper-mode):
2333 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2334 * emacs-lisp/easymenu.el (easy-menu-define):
2335 * calendar/timeclock.el (timeclock-use-display-time):
2336 * bs.el (bs-mode):
2337 * bookmark.el (bookmark-save-flag):
2338 Doc fix (standardize possessive apostrophe usage).
2339
c98c6276
CY
23402012-02-27 Chong Yidong <cyd@gnu.org>
2341
bf7f9bc5
JB
2342 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2343 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2344
c98c6276
CY
2345 * font-lock.el (font-lock-specified-p): Rename from
2346 font-lock-spec-present. Callers changed.
2347
9c62cd04 23482012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2349
bf7f9bc5
JB
2350 * emacs-lisp/package.el (package-compute-transaction):
2351 Handle holding a package version to t in package-load-list.
8ac9e529 2352
530739c9
MA
23532012-02-26 Michael Albinus <michael.albinus@gmx.de>
2354
2355 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2356 (tramp-get-inode, tramp-get-device): Use cached values.
2357
487915d7
AM
23582012-02-26 Alan Mackenzie <acm@muc.de>
2359
2360 Check there is a font-lock specification before doing initial
2361 fontification.
2362
2363 * font-core.el (font-lock-mode): Move the conditional from
2364 :after-hook to font-lock-initial-fontify.
2365 (font-lock-default-function): Move the check for a specification
2366 to font-lock-spec-present.
2367
dc9924b8 2368 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2369 (font-lock-spec-present): New function.
2370
4fd96557
JB
23712012-02-26 Jim Blandy <jimb@red-bean.com>
2372
2373 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2374 (gdb-send): Apply it to the operand of the '-interpreter-exec
2375 console' command, so that we can pass arguments with (say) quotes
2376 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2377
9a4888c0
CY
23782012-02-26 Chong Yidong <cyd@gnu.org>
2379
07498861
CY
2380 * help-fns.el (describe-function-1): Clarify description of
2381 remapping (Bug#10844).
2382
9a4888c0
CY
2383 * files.el (files-equal-p): Doc fix.
2384 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2385 and quit the loop once a mismatch is found.
2386
ea8fb88d
JB
23872012-02-25 Juanma Barranquero <lekktu@gmail.com>
2388
2389 * bs.el (bs--show-with-configuration): Don't throw an error
2390 if the window cannot be split; otherwise, subsequent calls to
2391 bs-show fail, restoring a stale window config. (Bug#10882)
2392
525795c1
JD
23932012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2394
2395 * term/ns-win.el (global-map): Bind ns-drag-file to
2396 ns-find-file (Bug#5855, Bug#10050).
2397
f008086f
AS
23982012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2399
2400 * calendar/parse-time.el (parse-time-string): Allow extractor to
2401 return nil.
2402
a3fcfa99
MA
24032012-02-25 Michael Albinus <michael.albinus@gmx.de>
2404
91027d08
JB
2405 * net/tramp.el (tramp-file-name-for-operation):
2406 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2407
2408 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2409 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2410 Add COPY-CONTENTS argument.
a3fcfa99 2411
67b0de11
CY
24122012-02-25 Chong Yidong <cyd@gnu.org>
2413
2414 Add custom groups for VC backends, for consistency with vc-bzr.
2415
2416 * vc/vc-arch.el (vc-arch):
2417 * vc/vc-cvs.el (vc-cvs):
2418 * vc/vc-git.el (vc-git):
2419 * vc/vc-hg.el (vc-hg):
2420 * vc/vc-mtn.el (vc-mtn):
2421 * vc/vc-rcs.el (vc-rcs):
2422 * vc/vc-sccs.el (vc-sccs):
2423 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2424 All relevant defcustoms reassigned.
2425
3c9dfce6
CY
24262012-02-25 Chong Yidong <cyd@gnu.org>
2427
1339bf43
CY
2428 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2429
3c9dfce6
CY
2430 * term/x-win.el (x-initialize-window-system): Reduce default for
2431 x-selection-timeout to 5 seconds (Bug#8869).
2432
25b2e303 24332012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2434
ec70a47d
GM
2435 * files.el (files-equal-p, file-subdir-of-p): New functions.
2436 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2437 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2438 * dired-aux.el (dired-copy-file-recursive): Same.
2439 (dired-create-files): Modify destination when source is equal to
2440 dest when copying files.
53a46cd0 2441 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2442
914260cd
MA
24432012-02-24 Michael Albinus <michael.albinus@gmx.de>
2444
2445 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2446 (Bug#10874)
2447
2cb228f7
AM
24482012-02-23 Alan Mackenzie <acm@muc.de>
2449
2450 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2451 parameter "after-hook:" to allow the expansion to run code after
2452 the execution of the mode hooks.
2453
2454 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2455 from font-lock-mode-internal.
2cb228f7 2456
91027d08 2457 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2458 :after-hook.
2459
8f0fde21
SM
24602012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2461
3e88618b
SM
2462 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2463 (completion--cache-all-sorted-completions): New function.
2464 (completion-all-sorted-completions): Use it.
2465 (completion--do-completion, minibuffer-force-complete):
2466 Use it to re-instate the flush hook.
2467
8f0fde21
SM
2468 * icomplete.el (icomplete-completions): Replace last fix with a better
2469 one (bug#10850).
2470
8e911f6f
DG
24712012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2472
2473 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2474 when it might call us back infinitely (bug#10797).
2475
49fe4321
GM
24762012-02-23 Glenn Morris <rgm@gnu.org>
2477
2478 * minibuffer.el (completion-category-overrides): Doc fix.
2479
b291b572
SM
24802012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2481
2482 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2483 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2484
31a9ef2e
GM
24852012-02-23 Glenn Morris <rgm@gnu.org>
2486
5e6e6794 2487 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2488 (authors-obsolete-files-regexps, authors-ignored-files)
2489 (authors-ambiguous-files, authors-renamed-files-alist):
2490 Add more entries.
2491
0bd1e074
JL
24922012-02-23 Juri Linkov <juri@jurta.org>
2493
2494 * isearch.el (isearch-occur): Sync interactive spec with occur's
2495 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2496
b617673c
JL
2497 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2498
19e9789e
JL
24992012-02-22 Juri Linkov <juri@jurta.org>
2500
2501 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2502 (ucs-insert): Doc fix. Check for hex digits in the string.
2503 Don't display `nil' in the error message. (Bug#10857)
2504
f41ce09d
AM
25052012-02-22 Alan Mackenzie <acm@muc.de>
2506
7a71b18d 2507 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2508
ac2eceee
GM
25092012-02-22 Glenn Morris <rgm@gnu.org>
2510
2511 * ffap.el (ffap-c-path):
2512 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2513
abd1f678
CY
25142012-02-22 Chong Yidong <cyd@gnu.org>
2515
2516 * custom.el (load-theme): Doc fix.
2517
f25aef2e
GM
25182012-02-22 Glenn Morris <rgm@gnu.org>
2519
2520 * dired-x.el (dired-guess-shell-alist-default):
2521 Remove escape sequences from nroff output. (Bug#172)
2522
5f8dc2ca
GM
25232012-02-21 Glenn Morris <rgm@gnu.org>
2524
6ff86ec4
GM
2525 * vc/emerge.el (emerge-defvar-local):
2526 Set `permanent-local' property rather than unused `preserved'.
2527
be3223a3 2528 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2529 (picture-mode-map): Use it. (Bug#10860)
2530 (picture-mode): Doc fix.
2531
3fe58f4f
JB
25322012-02-21 Juanma Barranquero <lekktu@gmail.com>
2533
2534 * newcomment.el (uncomment-region-default): Remove unused binding.
2535
f9a998c3
GM
25362012-02-21 Glenn Morris <rgm@gnu.org>
2537
2538 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2539 (picture-self-insert, picture-tab-chars): Doc fix.
2540 (picture-mode-map): Fix C-a, C-e.
2541
c6029348
GM
25422012-02-20 Glenn Morris <rgm@gnu.org>
2543
2544 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2545
ab1ce9d7
LL
25462012-02-20 Leo Liu <sdl.web@gmail.com>
2547
2548 * icomplete.el (icomplete-completions): Check FROM arg before
2549 passing to substring (Bug#10850).
2550
0fd40f89
CY
25512012-02-19 Chong Yidong <cyd@gnu.org>
2552
2553 * comint.el: Require ansi-color.
2554 (comint-output-filter-functions): Add ansi-color-process-output.
2555
2556 * ansi-color.el: Don't set comint-output-filter-functions; it is
2557 now in the initial value defined in comint.el.
2558 (ansi-color-apply-face-function): New variable.
2559 (ansi-color-apply-on-region): Use it.
2560 (ansi-color-apply-overlay-face): New function.
2561
2562 * shell.el (shell): No need to require ansi-color.
2563 (shell-mode): Use ansi-color-apply-face-function to highlight
2564 color escapes using font-lock-face property (Bug#10835).
2565
20af2394
CY
25662012-02-19 Chong Yidong <cyd@gnu.org>
2567
2568 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2569 mode-line formats (Bug#10839).
2570
e23a3fbe
GM
25712012-02-18 Glenn Morris <rgm@gnu.org>
2572
b474519e
GM
2573 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2574
2575 * mail/undigest.el (unforward-rmail-message): Doc fix.
2576
e23a3fbe
GM
2577 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2578
57939ff4
EZ
25792012-02-18 Eli Zaretskii <eliz@gnu.org>
2580
2581 * international/characters.el (script-list): Sync with the latest
2582 Unicode Character Database.
2583
0c23686e
AS
25842012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2585
2586 * international/titdic-cnv.el: Remove duplicate coding tag.
2587 * language/cham.el: Likewise.
2588 * language/tai-viet.el: Likewise.
2589
6818b449
GM
25902012-02-18 Glenn Morris <rgm@gnu.org>
2591
2592 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2593 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2594 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2595 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2596 * calendar/holidays.el (holiday-bahai-holidays)
2597 (calendar-holidays, list-holidays):
2598 Use utf-8 Bahá'í in doc-strings, menus, etc.
2599
0311a3fc
TH
26002012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2601
2602 * saveplace.el (save-place-ignore-files-regexp): New variable
2603 allowing for excluding files from saving their location of point.
2604 The default value matches the temporary commit message editing
2605 files from Git, SVN, Bazaar, and Mercurial.
2606 (save-place-to-alist): Use it.
2607
eb864a71
LM
26082012-02-17 Lawrence Mitchell <wence@gmx.li>
2609 Stefan Monnier <monnier@iro.umontreal.ca>
2610
2611 * newcomment.el (uncomment-region-default): Don't leave extra space
2612 when an arg is provided (bug#8150).
2613
ee0ce425
TZ
26142012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2615
eb864a71 2616 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2617
95ddf442
GM
26182012-02-17 Glenn Morris <rgm@gnu.org>
2619
2620 * net/socks.el: Require network-stream. (Bug#10599)
2621
48dd1e39 26222012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2623
2624 * international/charprop.el:
2625 * international/uni-name.el:
2626 * international/uni-old-name.el:
2627 * international/uni-comment.el: Regenerate.
2628
d68cd087
GM
26292012-02-16 Glenn Morris <rgm@gnu.org>
2630
2631 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2632 Interactively in calendar buffer, give an error if not on a date.
2633
13932042
GM
26342012-02-15 Glenn Morris <rgm@gnu.org>
2635
2636 * shell.el (shell-delimiter-argument-list):
2637 Revert 2011-02-17 change. (Bug#8027)
2638
c3a70e2b
CY
26392012-02-15 Chong Yidong <cyd@gnu.org>
2640
60236b0d
CY
2641 * minibuffer.el (completion-at-point-functions): Doc fix.
2642
c3a70e2b
CY
2643 * custom.el (defcustom): Doc fix; note use of defvar.
2644
9f26dc24
GM
26452012-02-15 Glenn Morris <rgm@gnu.org>
2646
2647 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2648 Doc fixes.
2649
6546b134
GM
26502012-02-14 Glenn Morris <rgm@gnu.org>
2651
2652 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2653
d29b2b4c
LI
26542012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2655
2656 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2657 way the ports list is computed.
835bdcba
LI
2658 (smtpmail-query-smtp-server): Prompt the user for a port number if
2659 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2660
08dcdbc9
TZ
26612012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2662
2663 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2664
2605051a
GM
26652012-02-13 Glenn Morris <rgm@gnu.org>
2666
2667 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2668
7ee99f32
TZ
26692012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2670
2671 * net/gnutls.el (gnutls-trustfiles): New variable.
2672 (gnutls-negotiate): Use it.
2673
5f0af64f
LI
26742012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2675
2676 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2677 does its stuff if Gnus is running.
2678
c14fcc95
AM
26792012-02-13 Alan Mackenzie <acm@muc.de>
2680
2681 Fix a loop in c-set-fl-decl-start.
2682
7a71b18d 2683 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2684 c-backward-syntactic-ws actually moves backwards.
2685
142b4d90
LL
26862012-02-13 Leo Liu <sdl.web@gmail.com>
2687
2688 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2689 beginning so that all \C-o chars are removed.
2690
fa9958a6
TZ
26912012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2692
dc9924b8 2693 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2694
0bc5886a
AM
26952012-02-12 Alan Mackenzie <acm@muc.de>
2696
2697 Fix infinite loop with long macros.
4d6769e1 2698 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2699
d4bd55e7
CY
27002012-02-12 Chong Yidong <cyd@gnu.org>
2701
2702 * window.el (display-buffer): Doc fix (Bug#10785).
2703
66f3fe22
GM
27042012-02-12 Glenn Morris <rgm@gnu.org>
2705
bd7da63e
GM
2706 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2707 (x-disown-selection-internal, x-get-selection-internal):
2708 Sync docs with the xselect.c versions.
2709
66f3fe22
GM
2710 * allout-widgets.el: Add missing license notice.
2711
3e0d2fa7
GM
27122012-02-11 Glenn Morris <rgm@gnu.org>
2713
cfecdf09
GM
2714 * select.el (x-get-selection-internal, x-own-selection-internal)
2715 (x-disown-selection-internal):
2716 * x-dnd.el (x-get-selection-internal): Update declarations.
2717
6d216d7f
GM
2718 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2719
2bed3f04
GM
2720 * window.el (window-sides-slots):
2721 * tool-bar.el (tool-bar-position):
2722 * term/xterm.el (xterm-extra-capabilities):
2723 * ses.el (ses-self-reference-early-detection):
2724 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2725 (verilog-auto-wire-type)
2726 (verilog-auto-delete-trailing-whitespace)
2727 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2728 (verilog-auto-tieoff-declaration):
2729 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2730 (sql-oracle-statement-starters, sql-oracle-scan-on):
2731 * progmodes/prolog.el (prolog-align-comments-flag)
2732 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2733 (prolog-left-indent-regexp, prolog-paren-indent-p)
2734 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2735 (prolog-types, prolog-mode-specificators)
2736 (prolog-determinism-specificators, prolog-directives)
2737 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2738 (prolog-electric-dot-flag)
2739 (prolog-electric-dot-full-predicate-template)
2740 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2741 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2742 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2743 (prolog-program-switches, prolog-prompt-regexp)
2744 (prolog-debug-on-string, prolog-debug-off-string)
2745 (prolog-trace-on-string, prolog-trace-off-string)
2746 (prolog-zip-on-string, prolog-zip-off-string)
2747 (prolog-use-standard-consult-compile-method-flag)
2748 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2749 (prolog-imenu-max-lines, prolog-info-predicate-index)
2750 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2751 (prolog-char-quote-workaround):
2752 * progmodes/cc-vars.el (c-defun-tactic):
2753 * net/tramp.el (tramp-encoding-command-interactive)
2754 (tramp-local-end-of-line):
2755 * net/soap-client.el (soap-client):
2756 * net/netrc.el (netrc-file):
2757 * net/gnutls.el (gnutls):
2758 * minibuffer.el (completion-category-overrides)
2759 (completion-cycle-threshold)
2760 (completion-pcm-complete-word-inserts-delimiters):
2761 * man.el (Man-name-local-regexp):
2762 * mail/feedmail.el (feedmail-display-full-frame):
2763 * international/characters.el (glyphless-char-display-control):
2764 * eshell/em-ls.el (eshell-ls-date-format):
2765 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2766 (lisp-lambda-list-keyword-parameter-indentation)
2767 (lisp-lambda-list-keyword-parameter-alignment):
2768 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2769 * dired-x.el (dired-omit-verbose):
2770 * cus-theme.el (custom-theme-allow-multiple-selections):
2771 * calc/calc.el (calc-highlight-selections-with-faces)
2772 (calc-lu-field-reference, calc-lu-power-reference)
2773 (calc-note-threshold):
2774 * battery.el (battery-mode-line-limit):
2775 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2776 (archive-7z-update):
2777 * allout.el (allout-prefixed-keybindings)
2778 (allout-unprefixed-keybindings)
2779 (allout-inhibit-auto-fill-on-headline)
2780 (allout-flattened-numbering-abbreviation):
2781 * allout-widgets.el (allout-widgets-auto-activation)
2782 (allout-widgets-icons-dark-subdir)
2783 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2784 (allout-widgets-theme-dark-background)
2785 (allout-widgets-theme-light-background)
2786 (allout-widgets-item-image-properties-emacs)
2787 (allout-widgets-item-image-properties-xemacs)
2788 (allout-widgets-run-unit-tests-on-load)
2789 (allout-widgets-time-decoration-activity)
2790 (allout-widgets-hook-error-post-time)
2791 (allout-widgets-track-decoration):
2792 Add missing :version tags to new defcustoms and defgroups.
2793
5fec1b8e
GM
2794 * progmodes/sql.el (sql-ansi-statement-starters)
2795 (sql-oracle-statement-starters): Add custom type.
2796
3e0d2fa7
GM
2797 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2798 (prolog-system-version): Give it a type.
2799
90b671e2
EZ
28002012-02-11 Eli Zaretskii <eliz@gnu.org>
2801
2802 * term/pc-win.el (x-select-text, x-selection-owner-p)
2803 (x-own-selection-internal, x-disown-selection-internal)
2804 (x-get-selection-internal): Sync doc strings and argument lists
2805 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2806
5eac0c02
LL
28072012-02-11 Leo Liu <sdl.web@gmail.com>
2808
2809 * progmodes/python.el (python-end-of-statement): Fix infinite
2810 loop. (Bug#10788)
2811
f82cb659
GM
28122012-02-10 Glenn Morris <rgm@gnu.org>
2813
2814 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2815 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2816
cc26d239
LI
28172012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2818
2819 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2820 about SMTP before checking the From header.
2821
91027d08 2822 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2823 into own function for reuse by emacsbug.el.
2824
1be3ca5a
LL
28252012-02-10 Leo Liu <sdl.web@gmail.com>
2826
2827 * subr.el (condition-case-unless-debug): Rename from
2828 condition-case-no-debug. All callers changed.
2829 (with-demoted-errors): Fix caller.
2830
2831 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2832 * nxml/rng-valid.el (rng-do-some-validation):
2833 * emacs-lisp/package.el (package-refresh-contents)
2834 (package-menu-execute):
2835 * desktop.el (desktop-create-buffer):
91027d08 2836 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2837
b011fbfe
GM
28382012-02-10 Glenn Morris <rgm@gnu.org>
2839
b2096d72
GM
2840 * textmodes/bibtex.el:
2841 Add missing :version tags for new/changed defcustoms.
2842
b011fbfe
GM
2843 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2844
4c7e65bf
LI
28452012-02-09 Lars Ingebrigtsen <larsi@rusty>
2846
2847 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2848 (smtpmail-via-smtp): Use it, or fall back on the From address.
2849 (smtpmail-send-it): Ditto.
2850
f3934f6f
SM
28512012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2854 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2855 (byte-compile-tmp-var): New const.
2856 (byte-compile-defvar): Use it to minimize .elc size.
2857 Just use `defvar' rather than simulate it (bug#10761).
2858
a075a2c5
GM
28592012-02-09 Glenn Morris <rgm@gnu.org>
2860
cf3aa21b
GM
2861 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2862
354998cd
GM
2863 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2864 Add :version tags.
2865
dc9924b8
SM
2866 * progmodes/compile.el (compilation-error-screen-columns)
2867 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2868
dab3703d
GM
2869 * vc/log-view.el (log-view-toggle-entry-display):
2870 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2871
3f88cd72
GM
2872 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2873 (report-emacs-bug-can-use-xdg-email):
2874 (report-emacs-bug-insert-to-mailer): Doc fixes.
2875 (report-emacs-bug): Message fix.
2876
d95b247d
GM
2877 * net/browse-url.el (browse-url-can-use-xdg-open)
2878 (browse-url-xdg-open): Doc fixes.
2879
a075a2c5
GM
2880 * electric.el (electric-indent-mode, electric-pair-mode)
2881 (electric-layout-rules, electric-layout-mode): Doc fixes.
2882 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2883
ffb6157e
MR
28842012-02-08 Martin Rudalics <rudalics@gmx.at>
2885
2886 * server.el (server-unselect-display): Don't inadvertently kill
2887 the current buffer. (Bug#10729)
2888
e1ac4066
GM
28892012-02-08 Glenn Morris <rgm@gnu.org>
2890
34e8a2da
GM
2891 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2892 (sql-list-table): Doc fixes.
2893
b4ac6e8c
GM
2894 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2895 Comment out (does nothing).
2896
e1ac4066
GM
2897 * completion.el (dynamic-completion-mode):
2898 * dirtrack.el (dirtrack-debug-mode):
2899 * electric.el (electric-layout-mode):
2900 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2901 * face-remap.el (text-scale-mode, buffer-face-mode):
2902 * iimage.el (iimage-mode):
2903 * image-mode.el (image-transform-mode):
2904 * minibuffer.el (completion-in-region-mode):
2905 * scroll-lock.el (scroll-lock-mode):
2906 * simple.el (next-error-follow-minor-mode):
2907 * tar-mode.el (tar-subfile-mode):
2908 * tooltip.el (tooltip-mode):
2909 * vcursor.el (vcursor-use-vcursor-map):
2910 * wid-browse.el (widget-minor-mode):
2911 * emulation/tpu-edt.el (tpu-edt-mode):
2912 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2913 * international/iso-ascii.el (iso-ascii-mode):
2914 * language/thai-util.el (thai-word-mode):
2915 * mail/supercite.el (sc-minor-mode):
2916 * net/goto-addr.el (goto-address-mode):
2917 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2918 * progmodes/cwarn.el (cwarn-mode):
2919 * progmodes/flymake.el (flymake-mode):
2920 * progmodes/glasses.el (glasses-mode):
2921 * progmodes/hideshow.el (hs-minor-mode):
2922 * progmodes/pascal.el (pascal-outline-mode):
2923 * textmodes/enriched.el (enriched-mode):
2924 * vc/smerge-mode.el (smerge-mode):
2925 Doc fixes (minor mode argument).
2926
5e0d957f
EZ
29272012-02-07 Eli Zaretskii <eliz@gnu.org>
2928
2929 * ls-lisp.el (ls-lisp-sanitize): New function.
2930 (ls-lisp-insert-directory): Use it to fix or remove any elements
2931 in file-alist with missing attributes. (Bug#4673)
2932
98d7371e
AM
29332012-02-07 Alan Mackenzie <acm@muc.de>
2934
2935 Fix spurious recognition of c-in-knr-argdecl.
2936
2937 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2938 putative K&R region.
2939
667ced3a
AM
29402012-02-07 Alan Mackenzie <acm@muc.de>
2941
eb864a71
LM
2942 * progmodes/cc-engine.el (c-forward-objc-directive):
2943 Prevent looping in "#pragma mark @implementation".
667ced3a 2944
5b77774d
MA
29452012-02-07 Michael Albinus <michael.albinus@gmx.de>
2946
2947 * notifications.el (notifications-on-closed-signal): Make `reason'
2948 optional. (Bug#10744)
2949
af008560
GM
29502012-02-07 Glenn Morris <rgm@gnu.org>
2951
60d47423
GM
2952 * emacs-lisp/easy-mmode.el (define-minor-mode):
2953 Doc fixes for the macro and the mode it defines.
2954
dd605cc4
GM
2955 * image.el (imagemagick-types-inhibit): Doc fix.
2956
af008560
GM
2957 * cus-start.el (imagemagick-render-type): Add it.
2958
5cc59a37
LI
29592012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2960
4d6769e1
JB
2961 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2962 Set the default at load time, too, so that `font-lock-fontify-buffer'
2963 can be called without setting up the entire mode first. This fixes
2964 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2965
9a6dd747
CY
29662012-02-06 Chong Yidong <cyd@gnu.org>
2967
2d16b285
CY
2968 * simple.el (list-processes--refresh): Delete exited processes
2969 (Bug#8094).
2970
171e9b6e
CY
2971 * comint.el (comint-next-prompt): next-single-char-property-change
2972 and prev-single-char-property-change never return nil (Bug#8657).
2973
9a6dd747
CY
2974 * custom.el (defcustom): Doc fix (Bug#9711).
2975
aa4589a7
CY
29762012-02-05 Chong Yidong <cyd@gnu.org>
2977
5c2a252f
CY
2978 * cus-edit.el (custom-variable-reset-backup): Quote the value
2979 before storing it in the customized-value property (Bug#6712).
4aab9006 2980 (custom-display): Add a customization type tag.
983b9602 2981 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2982
aa4589a7
CY
2983 * wid-edit.el (widget-field-value-get): New optional arg to
2984 suppress trailing whitespace truncation.
2985 (character): Use it (Bug#2689).
2986
1ff980ae
AS
29872012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2988
2989 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2990 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2991
03988c98
CY
29922012-02-05 Chong Yidong <cyd@gnu.org>
2993
eeb6cc88
CY
2994 * cus-edit.el (custom-variable-value-create): For mismatched
2995 types, show the current value (Bug#7600).
2996
03988c98
CY
2997 * custom.el (defcustom): Doc fix.
2998
f8cdeef0
GM
29992012-02-05 Glenn Morris <rgm@gnu.org>
3000
3001 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3002
0696d255
JB
30032012-02-05 Juanma Barranquero <lekktu@gmail.com>
3004
3005 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3006 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3007 (pp-last-sexp): Use `looking-at-p'.
3008
34c99998
GM
30092012-02-04 Glenn Morris <rgm@gnu.org>
3010
8f05da42
GM
3011 * files.el (revert-buffer):
3012 Doc fix (mention revert-buffer-in-progress-p).
3013
f160676e
GM
3014 * emacs-lisp/ert-x.el (ert-simulate-command):
3015 Check deferred-action-list (which is obsolete) is bound.
3016
c7291ad9
GM
3017 * subr.el (with-wrapper-hook): Doc fixes.
3018
34c99998
GM
3019 * simple.el (filter-buffer-substring-functions)
3020 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3021
6283a7d3
LL
30222012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3023
3024 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3025 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3026
e96e3013
LL
30272012-02-04 Leo Liu <sdl.web@gmail.com>
3028
3029 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3030
8ded50f2
GM
30312012-02-04 Glenn Morris <rgm@gnu.org>
3032
82ff1d13
GM
3033 * image.el (image-extension-data): Add obsolete alias.
3034
987a0a16
GM
3035 * isearch.el (isearch-update): Doc fix.
3036
ea32ef46
GM
3037 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3038
8ded50f2
GM
3039 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3040
eea14f31
GM
30412012-02-03 Glenn Morris <rgm@gnu.org>
3042
3043 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3044 (image-animate-timeout): Doc fix.
3045
3046 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3047
12f381b7
GM
30482012-02-02 Glenn Morris <rgm@gnu.org>
3049
953cebf5
GM
3050 * server.el (server-auth-dir): Doc fix.
3051 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3052
12f381b7
GM
3053 * subr.el (run-mode-hooks): Doc fix.
3054
953a8c3b
JL
30552012-02-02 Juri Linkov <juri@jurta.org>
3056
3057 * image-mode.el (image-toggle-display-image): Remove tautological
3058 `major-mode' from the `derived-mode-p' test.
3059
c5d3843c
KH
30602012-02-02 Kenichi Handa <handa@m17n.org>
3061
9f6e692e 3062 * composite.el (compose-region): Cancel previous change.
c5d3843c 3063
159462d4 30642012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3065
3066 * composite.el (compose-region, compose-string): Signal error for
3067 a null string component (Bug#6988).
3068
9f562668
CY
30692012-02-01 Chong Yidong <cyd@gnu.org>
3070
e2cef717
CY
3071 * view.el (view-buffer-other-window, view-buffer-other-frame):
3072 Handle special modes like view-buffer (Bug#10650).
3073 (view-buffer): Simplify.
3074
9f562668
CY
3075 * frame.el (set-frame-font): Tweak meaning of third argument.
3076
9f6e692e
JB
3077 * dynamic-setting.el (font-setting-change-default-font):
3078 Use set-frame-font (Bug#9982).
9f562668 3079
781acb9f
GM
30802012-02-01 Glenn Morris <rgm@gnu.org>
3081
6035be52
GM
3082 * progmodes/compile.el (compilation-internal-error-properties):
3083 Respect compilation-first-column in the "*compilation*" buffer.
3084
781acb9f
GM
3085 * emacs-lisp/easy-mmode.el (define-minor-mode):
3086 Relax :variable's test for a named function.
3087
abbceb00
AM
30882012-01-31 Alan Mackenzie <acm@muc.de>
3089
3090 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3091 off by one error.
3092
fce3fdeb
CY
30932012-01-31 Chong Yidong <cyd@gnu.org>
3094
3095 * frame.el (set-frame-font): New arg ALL-FRAMES.
3096
3097 * menu-bar.el (menu-set-font): Use set-frame-font.
3098
3099 * faces.el (face-spec-reset-face): Don't apply unspecified
3100 attribute values to the default face.
3101
47893581
JB
31022012-01-31 Juanma Barranquero <lekktu@gmail.com>
3103
3104 * progmodes/cwarn.el (cwarn): Remove dead link.
3105 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3106 Remove * from defcustom docstrings.
3107 (turn-on-cwarn-mode): Make obsolete.
3108 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3109 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3110
e58e988a
GM
31112012-01-31 Glenn Morris <rgm@gnu.org>
3112
60dc2671 3113 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3114 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3115 Allow named functions to be used as the cdr of :variable.
e58e988a 3116
7a3f511d
GM
31172012-01-30 Glenn Morris <rgm@gnu.org>
3118
3119 * emacs-lisp/authors.el (authors-fixed-entries):
3120 Remove reference to deleted file rnewspost.el.
3121
cb882333
JB
31222012-01-29 Juanma Barranquero <lekktu@gmail.com>
3123
3124 * window.el (window-with-parameter): Remove unused variable `windows'.
3125 (window--side-check): Remove unused variable `code'.
3126 (window--resize-siblings): Remove unused variable `first'.
3127 (adjust-window-trailing-edge): Remove unused variable `failed'.
3128 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3129 Use `let', not `let*'.
3130 (balance-windows-2): Remove unused variable `found'.
3131 (window--state-put-2): Remove unused variable `splits'.
3132 (window-state-put): Remove unused variable `selected'.
3133 (same-window-p): Use `string-match-p'.
3134 (display-buffer-assq-regexp): Remove unused variable `value'.
3135 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3136 Mark argument ALIST as ignored.
3137 (pop-to-buffer): Remove unused variable `old-window'.
3138
907201af
EZ
31392012-01-29 Eli Zaretskii <eliz@gnu.org>
3140
3141 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3142 and .lzma compressed files.
3143
ea162670
CY
31442012-01-29 Chong Yidong <cyd@gnu.org>
3145
5b95ee8a
CY
3146 * frame.el (window-system-default-frame-alist): Doc fix.
3147
ea162670
CY
3148 * dynamic-setting.el (font-setting-change-default-font): Don't
3149 change the default face if SET-FONT argument is non-nil (Bug#9982).
3150
d6e6f4b1
SB
31512012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3152
3153 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3154
0f29fa41 31552012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3156
3157 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3158 breakpoints in files outside current directory (Bug#6098).
3159
db174434
CY
31602012-01-29 Chong Yidong <cyd@gnu.org>
3161
6b25e4e2
SE
3162 * progmodes/python.el: Require ansi-color at top-level.
3163
6df6ae42
JB
3164 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3165 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3166 (lisp-mode-abbrev-table): Add doc.
3167 (lisp-mode-variables): Don't set local-abbrev-table.
3168 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3169
e70ee681
RW
31702012-01-28 Roland Winkler <winkler@gnu.org>
3171
3172 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3173
ace88aa2
RW
31742012-01-28 Roland Winkler <winkler@gnu.org>
3175
3176 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3177 (bibtex-set-dialect): Use it. Either set global values of
3178 dialect-dependent variables or bind these variables buffer-locally
3179 (Bug#10254).
3180 (bibtex-mode): Call bibtex-set-dialect via
3181 hack-local-variables-hook.
eb864a71
LM
3182 (bibtex-dialect): Update docstring.
3183 Add safe-local-variable predicate.
ace88aa2
RW
3184 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3185 bibtex-set-dialect.
3186 (bibtex-mode-map): Define menu for each dialect.
3187 (bibtex-entry): Fix docstring.
3188
93376c5b
CY
31892012-01-28 Chong Yidong <cyd@gnu.org>
3190
3191 * eshell/esh-arg.el (eshell-quote-argument): New function.
3192
3193 * eshell/esh-ext.el (eshell-invoke-batch-file):
3194 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3195 first arg to eshell-parse-command (Bug#10523).
3196
4372494f
DA
31972012-01-28 Drew Adams <drew.adams@oracle.com>
3198
3199 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3200 `default-directory' is non-nil.
3201
4d4ec1f8
EZ
32022012-01-28 Eli Zaretskii <eliz@gnu.org>
3203
3204 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3205 line that displays system-configuration-options. (Bug#9924)
3206
7c188927
DA
32072012-01-28 Drew Adams <drew.adams@oracle.com>
3208
3209 * descr-text.el (describe-char): Show information about POS, in
3210 addition to information about the character at POS. Improve and
3211 update the doc string. Change "code point" to "code point in
3212 charset", to avoid confusion with the character's Unicode code
3213 point shown above that. (Bug#10129)
3214
e0da685a
EZ
32152012-01-28 Eli Zaretskii <eliz@gnu.org>
3216
3217 * descr-text.el (describe-char): Show the raw character, not only
3218 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3219 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3220 for the reasons.
3221
70550acf
PH
32222012-01-28 Phil Hagelberg <phil@hagelb.org>
3223
eb864a71
LM
3224 * emacs-lisp/package.el (package-install):
3225 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3226
0ce8e868
CY
32272012-01-28 Chong Yidong <cyd@gnu.org>
3228
cb882333
JB
3229 * emacs-lisp/package.el (package-maybe-load-descriptor):
3230 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3231 (package-maybe-load-descriptor): Use it.
3232 (package-download-transaction): Fully load required packages
3233 inside the loop, so that `require' calls work (Bug#10593).
3234 (package-install): No need to call package-initialize now.
3235
2e7f3bea
CY
32362012-01-28 Chong Yidong <cyd@gnu.org>
3237
6e9bad14
CY
3238 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3239
f823b8ca
CY
3240 * tooltip.el (tooltip-mode): Doc fix.
3241 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3242
2680c309
CY
3243 * frame.el (set-cursor-color): Doc fix (Bug#352).
3244
d7a9e63b
CY
3245 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3246 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3247
2e7f3bea
CY
3248 * cus-edit.el (custom-buffer-create-internal): Fix search button
3249 action (Bug#10542).
2ae01800 3250 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3251
fc4f7a23
EW
32522012-01-27 Eduard Wiebe <usenet@pusto.de>
3253
3254 * dired.el (dired-mark-files-regexp):
3255 Include any subdirectory components. (Bug#10445)
3256
7dd37071
ML
32572012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3258
3259 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3260 Handle [host]:port syntax. (Bug#10533)
3261
a268160b
AH
32622012-01-27 Alex Harsanyi <harsanyi@mac.com>
3263
3264 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3265
e43273ef
GM
32662012-01-26 Glenn Morris <rgm@gnu.org>
3267
3268 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3269 * term.el (term-raw-escape-map): Use Control-X-prefix.
3270 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3271
1edf595d
MR
32722012-01-25 Martin Rudalics <rudalics@gmx.at>
3273
3274 * window.el (window-state-get, window--state-get-1): Don't deal
3275 with fixed-sizeness of windows. Simplify code.
3276
fa8eafef
JC
32772012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3278
6df6ae42
JB
3279 * window.el (window--state-get-1, window--state-put-2):
3280 Don't save and restore the mark.
fa8eafef 3281
0b21c100
CY
32822012-01-25 Chong Yidong <cyd@gnu.org>
3283
3284 * custom.el (custom-variable-p): Doc fix.
3285
5ae1a6c8
GM
32862012-01-25 Glenn Morris <rgm@gnu.org>
3287
40047858
GM
3288 * dired.el (dired-goto-file): Handle some of the more common
3289 characters that `ls -b' escapes. (Bug#10596)
3290
5ddce96c
GM
3291 * progmodes/compile.el (compilation-next-error-function):
3292 Respect compilation-first-column in the "*compilation*" buffer.
3293 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3294
5ae1a6c8
GM
3295 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3296
b559f1a9
GM
32972012-01-24 Glenn Morris <rgm@gnu.org>
3298
3299 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3300
6725d21a
JD
33012012-01-24 Julien Danjou <julien@danjou.info>
3302
3303 * color.el (color-rgb-to-hsl): Fix value computing.
3304 (color-hue-to-rgb): New function.
3305 (color-hsl-to-rgb): New function.
3306 (color-clamp, color-saturate-hsl, color-saturate-name)
3307 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3308 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3309
70df4bbe
GM
33102012-01-24 Glenn Morris <rgm@gnu.org>
3311
3312 * vc/vc-rcs.el (vc-rcs-create-tag):
3313 * vc/vc-sccs.el (vc-sccs-create-tag):
3314 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3315
802a2ae2
ML
33162012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3317
3318 * eshell/esh-util.el (eshell-read-hosts-file):
3319 Skip comment lines. (Bug#10549)
3320
d7128bb1
ML
3321 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3322
d1a5c3b4
JB
33232012-01-23 Juanma Barranquero <lekktu@gmail.com>
3324
2724d9c7
JB
3325 * subr.el (display-delayed-warnings): Doc fix.
3326 (collapse-delayed-warnings): New function to collapse identical
3327 adjacent warnings.
3328 (delayed-warnings-hook): Add it.
d1a5c3b4 3329
a5509865
MA
33302012-01-22 Michael Albinus <michael.albinus@gmx.de>
3331
3332 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3333
3334 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3335 properties, when "login-as" is set.
3336
3337 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3338 (tramp-default-user-alist): Don't add "pscp".
3339 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3340 property "login-as", if set. (Bug#10530)
3341
cc6d5805
MA
33422012-01-21 Michael Albinus <michael.albinus@gmx.de>
3343
3344 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3345 "plink1" and "psftp". (Bug#10530)
3346
33472012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3348
3349 * international/mule-cmds.el (prefer-coding-system): Show a
3350 warning message if the default value of file-name-coding-system
3351 was not changed.
3352
f0960428
JC
33532012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3354
cb882333
JB
3355 * windmove.el (windmove-reference-loc):
3356 Fix windmove-reference-loc miscalculation.
f0960428 3357
dd6f2a63
JB
33582012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3359
3360 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3361 default unit.
3362
7b447e9b
GM
33632012-01-21 Glenn Morris <rgm@gnu.org>
3364
117a9ea1
GM
3365 * international/mule.el (auto-coding-alist): Add .tbz.
3366
7b447e9b
GM
3367 * files.el (local-enable-local-variables): Doc fix.
3368 (inhibit-local-variables-regexps): Rename from
3369 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3370 Doc fix. Add some extensions from auto-coding-alist.
3371 (inhibit-local-variables-suffixes):
3372 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3373 (inhibit-local-variables-p):
3374 New function, extracted from set-auto-mode-1.
3375 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3376 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3377 (hack-local-variables): Doc fix. Make the mode-only case
3378 respect enable-local-variables and friends.
3379 Respect inhibit-local-variables-regexps for file-locals, but
3380 not for directory-locals.
3381 (set-visited-file-name):
3382 Take account of inhibit-local-variables-regexps.
3383 Whether it applies may change as the file name is changed.
3384 * jka-cmpr-hook.el (jka-compr-install):
3385 * jka-compr.el (jka-compr-uninstall):
3386 Update for inhibit-first-line-modes-suffixes name change.
3387
dd6e3cdd
MR
33882012-01-20 Martin Rudalics <rudalics@gmx.at>
3389
3390 * help-macro.el (make-help-screen): Temporarily restore original
3391 binding for minor-mode-map-alist (Bug#10454).
3392
0d0deb38
JD
33932012-01-19 Julien Danjou <julien@danjou.info>
3394
3395 * color.el (color-name-to-rgb): Use the white color to find the max
3396 color component value and return correctly computed values.
3397 (color-name-to-rgb): Add missing float conversion for max value.
3398
34a02f46
MR
33992012-01-19 Martin Rudalics <rudalics@gmx.at>
3400
3401 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3402 special state value for window-persistent-parameters.
3403 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3404 (window--state-put-2): Reset all window parameters to nil before
3405 assigning values of persistent parameters.
3406
606c44c4
AM
34072012-01-18 Alan Mackenzie <acm@muc.de>
3408
3409 Eliminate sluggishness and hangs in fontification of "semicolon
3410 deserts".
3411
cb882333
JB
3412 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3413 Change value 10000 -> 3000.
606c44c4
AM
3414 (c-state-safe-place): Reformulate so it doesn't stack up an
3415 infinite number of wrong entries in c-state-nonlit-pos-cache.
3416 (c-determine-limit-get-base, c-determine-limit): New functions to
3417 determine backward search limits disregarding literals.
3418 (c-find-decl-spots): Amend commenting.
3419 (c-cheap-inside-bracelist-p): New function which detects "={".
3420
3421 * progmodes/cc-fonts.el
3422 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3423 backward search.
3424 (c-font-lock-declarations): Fix an occurrence of point being
3425 undefined. Check additionally for point being in a bracelist or
3426 near a macro invocation without a semicolon so as to avoid a
3427 fruitless time consuming search for a declarator. Give a more
3428 precise search limit for declarators using the new
3429 c-determine-limit.
3430
f3860cea
GM
34312012-01-18 Glenn Morris <rgm@gnu.org>
3432
3433 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3434 (set-auto-mode): Doc fixes.
3435
1db03b16
GM
34362012-01-17 Glenn Morris <rgm@gnu.org>
3437
0e6038be
GM
3438 * isearch.el (search-nonincremental-instead): Fix doc typo.
3439
1db03b16
GM
3440 * dired.el (dired-insert-directory): Handle newlines in directory name.
3441 (dired-build-subdir-alist): Unescape newlines in directory name.
3442
4cb0aa75
MA
34432012-01-17 Michael Albinus <michael.albinus@gmx.de>
3444
3445 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3446 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3447 (tramp-action-terminal): Use it. (Bug#10530)
3448
1d00653d
SM
34492012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3452
6a6ee00d
MR
34532012-01-16 Martin Rudalics <rudalics@gmx.at>
3454
3455 * window.el (window-state-ignored-parameters): Remove variable.
3456 (window--state-get-1): Rename argument MARKERS to IGNORE.
3457 Handle persistent window parameters. Make copy of clone-of
3458 parameter only if requested. (Bug#10348)
3459 (window--state-put-2): Install a window parameter only if it has
3460 a non-nil value or an existing parameter shall be overwritten.
3461
97912def
MA
34622012-01-15 Michael Albinus <michael.albinus@gmx.de>
3463
3464 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3465
688070a5
EZ
34662012-01-14 Eli Zaretskii <eliz@gnu.org>
3467
3468 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3469 don't pass the (nil) value of `upnode' to string-match.
3470
301afadc
CY
34712012-01-14 Chong Yidong <cyd@gnu.org>
3472
3473 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3474 Fix values recognized by the cursorBlink resource.
301afadc 3475
9e5788aa
PE
34762012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3477
3478 * epg.el (epg--make-temp-file): Avoid permission race condition
3479 when running on old Emacs versions (bug#10403).
3480
3cdb7f5a
GM
34812012-01-14 Glenn Morris <rgm@gnu.org>
3482
3483 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3484
8c82b1b4
AM
34852012-01-13 Alan Mackenzie <acm@muc.de>
3486
3487 Fix filling for when filladapt mode is enabled.
3488
3489 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3490 c-mask-paragraph, pass in `fill-paragraph' rather than
3491 `fill-region-as-paragraph'. (This is a reversion of a previous
3492 change.)
eb864a71
LM
3493 * progmodes/cc-mode.el (c-basic-common-init):
3494 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3495
e517eda4
GM
34962012-01-13 Glenn Morris <rgm@gnu.org>
3497
1498536e
GM
3498 * dired.el (dired-switches-escape-p): New function.
3499 (dired-insert-directory): Use dired-switches-escape-p.
3500 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3501
e517eda4
GM
3502 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3503
328f984d
GM
35042012-01-12 Glenn Morris <rgm@gnu.org>
3505
3506 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3507 changes in adaptive-fill-regexp. (Bug#10276)
3508
2cc769a8
AM
35092012-01-11 Alan Mackenzie <acm@muc.de>
3510
3511 Fix Emacs bug #10463 - put `widen's around the critical spots.
3512
1d00653d 3513 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3514 widen around each invocation of c-state-pp-to-literal. Remove an
3515 unused let variable.
3516
e52c37fa
GM
35172012-01-11 Glenn Morris <rgm@gnu.org>
3518
3519 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3520 Doc fix.
e52c37fa 3521
96f8741e
CY
35222012-01-10 Chong Yidong <cyd@gnu.org>
3523
1d00653d
SM
3524 * net/network-stream.el (network-stream-open-starttls):
3525 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3526 response to the capability command.
3527
b09a806e
GM
35282012-01-10 Glenn Morris <rgm@gnu.org>
3529
3530 * mail/unrmail.el (unrmail): Tweak previous change.
3531
7655cb66
CY
35322012-01-09 Chong Yidong <cyd@gnu.org>
3533
3534 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3535
9d5a8f0b
AM
35362012-01-08 Alan Mackenzie <acm@muc.de>
3537
3538 Optimise font locking in long enum definitions.
3539
3540 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3541 arm to a cond form to handle enums.
3542 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3543 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3544
9a0115ab 35452012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3546
3547 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3548 (Bug#10401)
6bb72cbd 3549
f186bb95
LMI
35502012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3551
29232a68
LMI
3552 * faces.el (set-face-attribute): Clarify the meaning of the nil
3553 frame (bug#10294).
3554
4e5d086d
LMI
3555 * subr.el (with-selected-frame): Mention that the selected frame
3556 is restored (bug#9980).
3557
8e66aebe
LMI
3558 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3559 (bug#9759).
3560
cd394be1 3561 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3562 (password-read): Don't autoload unused function.
3563
adf4e762
JB
35642012-01-07 Juanma Barranquero <lekktu@gmail.com>
3565
3566 * progmodes/which-func.el (which-func-mode): Turn into a
3567 non-interactive function and mark as obsolete (bug#10428).
3568
89bd9ccd
CY
35692012-01-06 Chong Yidong <cyd@gnu.org>
3570
3571 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3572 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3573 functions, along with 1 and -1.
3574
4afee9d5
EZ
35752012-01-06 Eli Zaretskii <eliz@gnu.org>
3576
3577 * time.el (display-time-load-average)
3578 (display-time-default-load-average): Doc fixes. See the thread
3579 starting at
3580 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3581 for the details.
3582
536aea70
GM
35832012-01-06 Glenn Morris <rgm@gnu.org>
3584
665ae865
GM
3585 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3586 has no messages. (Bug#10377)
3587
c869783d
GM
3588 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3589 than Info-edit. (Bug#10385)
3590
2bb4227e
GM
3591 * time.el (display-time-load-average, display-time-next-load-average):
3592 Doc fixes.
3593
7d5944b9
GM
3594 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3595 local setting of buffer-read-only to the input buffer. (Bug#10419)
3596
536aea70
GM
3597 * calendar/calendar.el (calendar-mode):
3598 Locally set scroll-margin to 0. (Bug#10379)
3599
7dccca16
UM
36002012-01-06 Ulrich Mueller <ulm@gentoo.org>
3601
3602 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3603
afbb7930
GM
36042012-01-05 Glenn Morris <rgm@gnu.org>
3605
3606 * eshell/em-unix.el (diff-no-select): Autoload it.
3607 (eshell/diff): Use diff-no-select. (Bug#10420)
3608
04482335
CY
36092012-01-05 Chong Yidong <cyd@gnu.org>
3610
7baca3bc
CY
3611 * shell.el (shell-dynamic-complete-functions): Revert last change.
3612 (shell-command-completion-function): New function.
3613 (shell-completion-vars): Use it to implement
3614 shell-completion-execonly (Bug#10417).
3615
04482335
CY
3616 * custom.el (enable-theme): Don't set custom-safe-themes.
3617
1d00653d
SM
3618 * cus-theme.el (custom-theme-merge-theme):
3619 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3620
bb5aa5d6
MM
36212012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3622
3623 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3624 first prompt in `sql-interacive-mode'.
3625 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3626 keywords.
6df6ae42 3627 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3628 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3629 context of original buffer. Invoke `sql-login-hook'.
3630
a7183d7c
EZ
36312012-01-04 Eli Zaretskii <eliz@gnu.org>
3632
3633 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3634 letters in cite-prefix.
3635
a1eacd1e
LMI
36362012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3637
3638 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3639
787cdb34
CY
36402012-01-03 Chong Yidong <cyd@gnu.org>
3641
1d00653d
SM
3642 * shell.el (shell-dynamic-complete-functions):
3643 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3644 comint-filename-completion first (Bug#10417).
3645
30710442
RS
36462012-01-02 Richard Stallman <rms@gnu.org>
3647
3648 * battery.el (battery-status-function):
3649 Detect when to use battery-yeeloong-sysfs.
3650 (battery-echo-area-format): Add string for Yeeloong.
3651 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3652 (battery-yeeloong-sysfs): New function.
3653
f75bfc33
CY
36542012-01-02 Chong Yidong <cyd@gnu.org>
3655
3656 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3657 (dirtrack): Merge code for handling relative filenames in prompt
3658 from shell-dir-cookie-watcher.
3659 (dirtrack-debug-message): New arg to avoid excess format calls.
3660
3661 * shell.el (shell-dir-cookie-re): Variable deleted.
3662 (shell-dir-cookie-watcher): Function deleted.
3663 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3664 with dirtrack-mode.
3665
651e947e
EZ
36662012-01-01 Eli Zaretskii <eliz@gnu.org>
3667
1d00653d
SM
3668 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3669 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3670 libgnutls-26.dll.
3671
94d4c7dc
AS
36722011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3673
3674 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3675
8d43f3cd
EZ
36762011-12-31 Eli Zaretskii <eliz@gnu.org>
3677
3678 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3679 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3680
98c8795a
MA
36812011-12-29 Michael Albinus <michael.albinus@gmx.de>
3682
3683 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3684 also for alternative shells.
3685 (tramp-open-connection-setup-interactive-shell): Check, whether
3686 the shell is a busybox.
3687 (tramp-send-command): Don't suppress multiple prompts for
3688 busyboxes, it hurts.
3689
51281b32
CY
36902011-12-28 Chong Yidong <cyd@gnu.org>
3691
3692 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3693 (gdb-get-source-file): Move mode line update to
3694 gdb-get-source-file (Bug#10087).
3695
2170cb53
CY
36962011-12-25 Chong Yidong <cyd@gnu.org>
3697
3698 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3699 gud-gdb-marker-filter without taking it as an argument.
3700 (gud-gdb-run-command-fetch-lines): Caller changed.
3701 (gud-gdb-completion-function): New variable.
3702 (gud-gdb-completion-at-point): Use it.
3703 (gud-gdb-completions-1): Split from gud-gdb-completions.
3704
3705 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3706 function as separate arguments.
3707 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3708 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3709 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3710 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3711 (gdb-stopped, def-gdb-auto-update-trigger)
3712 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3713 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3714 Callers changed.
2170cb53
CY
3715 (gud-gdbmi-completions): New function.
3716 (gdb): Use it for generating the completion table.
3717
be8b11bb
AM
37182011-12-24 Alan Mackenzie <acm@muc.de>
3719
3720 Introduce a mechanism to widen the region used in context font
1d00653d 3721 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3722
1d00653d
SM
3723 * progmodes/cc-langs.el (c-before-font-lock-functions):
3724 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3725 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3726 functions to be run just before context (etc.) font locking.
3727
3728 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3729 New, functionality extracted from
be8b11bb 3730 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3731 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3732 (c-after-change): Set c-in-after-change-fontification.
3733 (c-set-fl-decl-start): Rejig its interface, so it can be called
3734 from both after-change and context fontifying.
b81d40f0
JB
3735 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3736 New functions.
3737 (c-standard-font-lock-fontify-region-function): New variable.
3738 (c-font-lock-fontify-region): New function.
be8b11bb 3739
341cf6ac
JL
37402011-12-24 Juri Linkov <juri@jurta.org>
3741
3742 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3743 (Bug#10348)
3744
bffcee0a
MA
37452011-12-23 Michael Albinus <michael.albinus@gmx.de>
3746
3747 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3748 existence of source file. (Bug#10325)
3749
cb5e207c
AM
37502011-12-23 Alan Mackenzie <acm@muc.de>
3751
3752 Fix unstable fontification inside templates.
3753
b81d40f0
JB
3754 * progmodes/cc-langs.el (c-before-font-lock-functions):
3755 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3756 additionally has c-set-fl-decl-start. The other languages (apart
3757 from AWK) have that as a single entry.
3758
b81d40f0
JB
3759 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3760 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3761 c-set-fl-decl-start.
3762
b81d40f0
JB
3763 * progmodes/cc-mode.el (c-common-init, c-after-change):
3764 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3765 (c-set-fl-decl-start): New function, extracted from
3766 c-font-lock-enclosing-decls and enhanced.
3767
60ff536c
JB
37682011-12-23 Juanma Barranquero <lekktu@gmail.com>
3769
3770 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3771
1c4757d6
JL
37722011-12-22 Juri Linkov <juri@jurta.org>
3773
3774 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3775
d031f2c7
CY
37762011-12-22 Chong Yidong <cyd@gnu.org>
3777
3778 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3779
bace743a
DA
37802011-12-21 Drew Adams <drew.adams@oracle.com>
3781
3782 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3783
728a1f2b
JC
37842011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3785
3786 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3787
0d373f73
TZ
37882011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3789
fec0aaa4
TZ
3790 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3791 highlighting and support. Fix up comments for capitalization.
3792 (cfengine-mode-debug): New var.
3793 (cfengine3-mode): Change the modeline indicator to "CFE3".
3794 (cfengine3-font-lock-keywords): Improve defun highlighting.
3795 (cfengine2-actions): Rename from `cfengine-actions'.
3796 (cfengine2-font-lock-keywords): Rename from
3797 `cfengine-font-lock-keywords'.
3798 (cfengine2-imenu-expression): Rename from
3799 `cfengine-imenu-expression'.
3800 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3801 (cfengine2-beginning-of-defun): Rename from
3802 `cfengine-beginning-of-defun'.
3803 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3804 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3805 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3806 modeline indicator to "CFE2".
3807 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3808 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3809
bc86f573
CY
38102011-12-21 Chong Yidong <cyd@gnu.org>
3811
3812 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3813 filename argument.
3814
d45ba96b
MR
38152011-12-20 Martin Rudalics <rudalics@gmx.at>
3816
3817 * window.el (window-normalize-buffer-to-display): Remove.
3818 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3819
a6198c90
CY
38202011-12-19 Chong Yidong <cyd@gnu.org>
3821
3822 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3823 Don't signal an error in a predicate function; return non-nil.
3824 (vc-dir-mark-file): Move the error here.
3825 (vc-dir-mark-unmark): If acting on the region, keep going if one
3826 of the entries cannot be marked/unmarked.
3827 (vc-dir-mark-all-files): If current entry is a directory, mark
3828 only child files, as documented.
3829
34c5fb55
VB
38302011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3831
3832 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3833 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3834 addition.
3835
c803b2b7
JD
38362011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3837
3838 * term/ns-win.el (ns-get-selection-internal)
3839 (ns-store-selection-internal): Declare.
1154d12e
JB
3840 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3841 Declare as obsolete.
3842 (ns-get-pasteboard, ns-paste-secondary):
3843 Use ns-get-selection-internal.
3844 (ns-set-pasteboard, ns-copy-including-secondary):
3845 Use ns-store-selection-internal.
c803b2b7 3846
9cff91f8 38472011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3848
3849 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3850 (vc-deduce-fileset): Doc fix.
99a289d9 3851
f16c898a
AS
38522011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3853
3854 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3855
763237c4
SS
38562011-12-13 Sam Steingold <sds@gnu.org>
3857
3858 * man.el (Man-getpage-in-background): When running under a
3859 window-system, ignore $MANWIDTH and $COLUMNS.
3860
5fc1c122
KH
38612011-12-15 Kenichi Handa <handa@m17n.org>
3862
3863 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3864 (setup-ethiopic-environment-internal): Comment out key-binding for
3865 ethio-toggle-punctuation.
3866
13d49cbb
AM
38672011-12-13 Alan Mackenzie <acm@muc.de>
3868
898169a2
AM
3869 Add the switch statement to AWK Mode.
3870
7a71b18d 3871 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3872 "default" to the keywords regexp.
3873
7a71b18d 3874 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3875 expression as the rest.
1d00653d
SM
3876 (c-nonlabel-token-key): Allow string literals for AWK.
3877 Refactor for the other modes.
898169a2 3878
13d49cbb 3879 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3880 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3881 routines. Limit backward searching in c-font-lock-enclosing.decl.
3882
3883 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3884 pp-state and literal type in addition to the limits.
1d00653d 3885 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3886 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3887 (c-slow-in-literal, c-fast-in-literal): Remove.
3888 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3889
3890 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3891 being in a literal. Add a limit for backward searching.
3892
3893 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3894 c-slow-in-literal.
3895
15e0efc7
SM
38962011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3897
3898 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3899
454592a6
MR
39002011-12-13 Martin Rudalics <rudalics@gmx.at>
3901
3902 * window.el (delete-other-windows): Use correct frame in call to
3903 window-with-parameter.
3904
87393f26
DP
39052011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3906
3907 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3908 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3909 (makefile-gmake-statements, makefile-makepp-statements):
3910 Use it and add new makepp keywords.
3911 (makefile-makepp-font-lock-keywords): Add new patterns.
3912 (makefile-match-function-end): Match new [...] and [[...]].
3913
11636b22
JB
39142011-12-11 Juanma Barranquero <lekktu@gmail.com>
3915
3916 * ses.el (ses-call-printer-return, ses-cell-property-get)
3917 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3918 (ses-create-cell-variable, ses-reset-header-string)
3919 (ses-cell-set-formula, ses-repair-cell-reference-all)
3920 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3921 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3922 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3923 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3924 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3925 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3926 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3927 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3928 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3929 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3930 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3931 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3932
cf018193
VB
39332011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3934
3935 * ses.el: The overall change is to add cell renaming, that is
3936 setting fancy names for cell symbols other than name matching
3937 "\\`[A-Z]+[0-9]+\\'" regexp .
3938 (ses-create-cell-variable): New defun.
3939 (ses-relocate-formula): Relocate formulas only for cells the
3940 symbols of which are not renamed, i.e. symbols whose names do not
3941 match regexp "\\`[A-Z]+[0-9]+\\'".
3942 (ses-relocate-all): Relocate values only for cells the symbols of
3943 which are not renamed.
3944 (ses-load): Create cells variables as the (ses-cell ...) are read,
3945 in order to check row col consistency with cell symbol name only
3946 for cells that are not renamed.
3947 (ses-replace-name-in-formula): New defun.
3948 (ses-rename-cell): New defun.
3949
ee957461
CY
39502011-12-11 Chong Yidong <cyd@gnu.org>
3951
3952 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3953 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3954
9a9e9ef0
MR
39552011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3956
3957 * window.el (other-window): Fix docstring.
3958
92a8eba5
EZ
39592011-12-10 Eli Zaretskii <eliz@gnu.org>
3960
3961 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3962 `from' or `to' address before taking its substring.
3963 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3964 encoded name is chopped in the middle of the encoded string, and
3965 thus displayed encoded.
3966
e152e577
JB
39672011-12-10 Juanma Barranquero <lekktu@gmail.com>
3968
3969 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3970
e5d84bfe
EZ
39712011-12-10 Eli Zaretskii <eliz@gnu.org>
3972
3973 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3974 to use texinfo-update-node and commands that call it if the
3975 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3976 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3977 (texinfo-all-menus-update, texinfo-master-menu)
3978 (texinfo-update-node, texinfo-every-node-update)
3979 (texinfo-multiple-files-update): Doc fix. Warn against updating
3980 all the @node lines.
3981 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3982 argument is numeric. Explain better in the doc string what the
3983 function really does.
3984 (texinfo-insert-master-menu-list): Improve the error message
3985 displayed if there's no menu in the Top node.
3986 (Bug#2975) See also this thread:
e5d84bfe
EZ
3987 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3988
1d84e9bb
MG
39892011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3990
3991 * speedbar.el (speedbar-supported-extension-expressions):
3992 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3993
382c953b
JB
39942011-12-09 Juanma Barranquero <lekktu@gmail.com>
3995
3996 * printing.el (pr-mode-alist):
3997 * simple.el (filter-buffer-substring-functions)
3998 (completion-list-insert-choice-function):
3999 * window.el (window-with-parameter, window-atom-root)
4000 (window-sides-slots, window-size-fixed, window-min-delta)
4001 (window-max-delta, window--resize-mini-window)
4002 (window--resize-child-windows-normal, window-tree)
4003 (delete-other-windows, quit-window, split-window)
4004 (display-buffer-record-window, special-display-buffer-names)
4005 (special-display-regexps, special-display-popup-frame)
4006 (same-window-p, split-window-sensibly)
4007 (display-buffer-overriding-action, display-buffer-alist)
4008 (display-buffer-base-action, display-buffer, switch-to-buffer)
4009 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4010 (fit-window-to-buffer, recenter-positions)
4011 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4012 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4013 and remove unneeded backslashes in docstrings.
4014
39c9faef
SM
40152011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4016
98449af8
SM
4017 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4018
39c9faef
SM
4019 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4020 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4021 end in ".mk".
4022 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4023 when reading the makefile (bug#10116).
4024
86ed9fdc
SM
40252011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4028 (bug#10116).
4029
5580f89d
GM
40302011-12-06 Glenn Morris <rgm@gnu.org>
4031
4032 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4033
28d3917c
CY
40342011-12-06 Chong Yidong <cyd@gnu.org>
4035
4036 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4037
a98edce9
JB
40382011-12-06 Juanma Barranquero <lekktu@gmail.com>
4039
4040 * textmodes/table.el (table-shorten-cell): Fix typo.
4041
e65adfac
CG
40422011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4043
4044 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4045
71cc0b74
EZ
40462011-12-05 Eli Zaretskii <eliz@gnu.org>
4047
4048 * descr-text.el (describe-char): Fix display of strong
4049 right-to-left characters and directional embeddings and overrides.
4050
4051 * simple.el (what-cursor-position): Fix display of codepoints of
4052 strong right-to-left characters.
4053
315bc30d
CY
40542011-12-05 Chong Yidong <cyd@gnu.org>
4055
4056 * faces.el (read-color): Doc fix.
4057
58a70b94
GM
40582011-12-05 Glenn Morris <rgm@gnu.org>
4059
4060 * align.el (align--set-marker): Add doc-string.
4061 Don't try to move something that is not a marker. (Bug#10216)
4062
5158face
GM
40632011-12-04 Glenn Morris <rgm@gnu.org>
4064
4065 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4066 overly zealous deletion of trailing whitespace.
4067
520fca41
JB
40682011-12-04 Juanma Barranquero <lekktu@gmail.com>
4069
4070 * server.el (server-delete-client): On Windows, do not try to delete
4071 the only terminal.
4072 (server-process-filter): On Windows, treat requests for a tty frame as
4073 if they were for a GUI frame if the running server is in GUI mode.
4074
5e605a2e
GM
40752011-12-03 Glenn Morris <rgm@gnu.org>
4076
4077 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4078
5c3fe83f
SM
40792011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4080
6f5e57e7
SM
4081 * electric.el: Streamline electric-indent's hook.
4082 (electric-indent-chars): Revert to simple list.
4083 (electric-indent-functions): New var.
4084 (electric-indent-post-self-insert-function): Use it.
4085
5c3fe83f
SM
4086 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4087 there's no inferior buffer (bug#10196).
4088 (prolog-consult-compile): Don't use toggle-read-only.
4089
6bdac736
MA
40902011-12-02 Michael Albinus <michael.albinus@gmx.de>
4091
4092 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4093 interrupt. (Bug#10187)
4094
6131ba7f
SM
40952011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4096
99c79fee
SM
4097 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4098 (bug#9160).
4099
6131ba7f
SM
4100 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4101 (bug#10191).
4102
cb0a02ea
JL
41032011-12-02 Juri Linkov <juri@jurta.org>
4104
4105 * info.el (Info-search): Display "end of manual" when Isearch
4106 reaches the end of single-file Info manual. (Bug#9918)
4107
66e0570c
EZ
41082011-12-02 Eli Zaretskii <eliz@gnu.org>
4109
4110 * isearch.el (isearch-message-prefix): Run the input method part
4111 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4112
02b16839
JL
41132011-12-02 Juri Linkov <juri@jurta.org>
4114
4115 * isearch.el (isearch-occur): Use `word-search-regexp' for
4116 `isearch-word'.
4117 (isearch-search-and-update): Add condition for `isearch-word' and
4118 call `word-search-regexp'. (Bug#10145)
4119
0b950688
GM
41202011-12-01 Glenn Morris <rgm@gnu.org>
4121
4122 * eshell/em-hist.el (eshell-hist-initialize):
4123 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4124 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4125
9505c3c7
SM
41262011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4127
4128 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4129
1bbe96b2 41302011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4131
a1beca85
SM
4132 * progmodes/verilog-mode.el (verilog-pretty-expr):
4133 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4134 verilog, such as += *= and the like.
4135 (verilog-assignment-operator-re): Regular expression to find the
4136 assigment operator in a verilog assignment.
4137 (verilog-assignment-operation-re): Regular expression to find an
4138 assignment statement for pretty-expr.
4139 (verilog-in-attribute-p): Query returns true if point is in an
4140 attribute context; used to skip these for expression line up from
4141 pretty-expr.
4142 (verilog-in-parameter-p): Query returns true if point is in an
4143 parameter definition context; used to skip these for expression
4144 line up from pretty-expr.
4145 (verilog-in-parenthesis-p): Query returns true if point is in a
4146 parenthetical expression, specifically ( ) but not [ ] or { };
4147 used by pretty-expr.
4148 (verilog-just-one-space): If there is no space, don't add one.
4149 (verilog-get-lineup-indent-2): Specifically skip just attribute
4150 contexts for expression lineup, rather than skipping all
4151 parenthetical expressions.
4152 (verilog-calculate-indent): Fix comment, and fix indent.
4153 (verilog-do-indent): Indent declarations in lists (suggested by
4154 Joachim Lechner).
4155 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4156 skeleton items.
4157 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4158 by Alain Mellan).
4159
1bbe96b2 41602011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4161
4162 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4163 parameters with embedded comments. Reported by Ray Stevens.
4164 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4165 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4166 Reported by Tim Holt.
4167 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4168 instantiated by upper module causing wrong expansion until AUTOed a
4169 second time. Reported by K C Buckenmaier.
4170 (verilog-diff-auto): Fix showing .* as a difference when
4171 `verilog-auto-star-save' off. Reported by Dan Dever.
4172 (verilog-auto-reset, verilog-read-always-signals)
4173 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4174 temporary signals in reset list if
4175 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4176 style to each signal's assignment type, bug381.
4177 Reported by Thomas Esposito.
6288f0ca
WS
4178 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4179 (verilog-uvm-statement-re): Support UVM indentation and
4180 highlighting, with old OVM keywords only.
a1beca85 4181 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4182 Support AUTOTIEOFF creating non-wire data types.
4183 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4184 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4185 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4186 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4187 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4188 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4189 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4190 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4191 non-numeric vector width. Reported by Alex Reed.
4192 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4193 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4194 (verilog-auto-delete-trailing-whitespace):
4195 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4196 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4197 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4198 Fix verilog-scan-cache corruption when running user AUTO expansion
4199 hooks that call indentation routines.
4200 (verilog-simplify-range-expression): Fix typo ignoring lower case
4201 identifiers.
4202 (verilog-delete-auto): Fix delete-autos to also remove user created
4203 automatics, as long as they start with AUTO.
4204 (verilog-batch-diff-auto, verilog-diff-auto)
4205 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4206 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4207 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4208 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4209 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4210 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4211 is disabled and its cache will get corrupt, causing AUTOS not to
4212 expand. Instead use only -quick functions.
4213 (verilog-scan-region): Fix scanning over escaped quotes.
4214 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4215 (verilog-re-search-backward-quick)
4216 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4217 related functions now ignore strings, to fix misparsing of strings
4218 with magic comments embedded in them.
a1beca85
SM
4219 (verilog-read-auto-template):
4220 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4221 Reported by Brad Dobbie.
4222 (verilog-read-auto-template):
4223 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4224 Reported by Brad Dobbie.
6288f0ca
WS
4225 (verilog-auto-inst, verilog-auto-inst-param)
4226 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4227 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4228 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4229 debugging templates without merge conflicts, bug357.
4230 Reported by Brad Dobbie.
4231 (verilog-read-auto-template):
4232 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4233 Reported by Brad Dobbie.
4234 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4235 abbrevs so user won't be asked to save.
4236 (verilog-read-auto-lisp-present): Fix to start at beginning of
4237 buffer in case called outside of verilog-auto.
4238 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4239 to "X-2". Reported by Matthew Myers.
4240 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4241 all inputs from module templates. Reported by Leith Johnson.
4242 (verilog-module-inside-filename-p): Fix locating programs as with
4243 modules.
4244 (verilog-auto-inst-port): Fix vl-width expressions when using
4245 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4246 (verilog-decls-get-regs, verilog-decls-get-signals,
4247 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4248 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4249 verilog-read-decls): Combine reg and wire structures into one var
4250 structure to represent SystemVerilog concepts.
4251 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4252 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4253 (verilog-auto-wire-type, verilog-insert-definition):
4254 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4255 SystemVerilog "logic" keyword instead of "wire"/"reg".
4256 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4257 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4258 ifdef or generate if so there's not a driver conflict).
4259 Reported by Matthew Myers.
4260 (verilog-auto-declare-nettype, verilog-insert-definition):
4261 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4262 `default_nettype none. Reported by Julian Gorfajn.
4263 (verilog-read-always-signals-recurse, verilog-read-decls)
4264 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4265 malformed end statement, bug325. Reported by Joshua Wise and
4266 Andrew Drake.
4267 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4268 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4269 when expanding .* in interfaces, bug320.
4270 Reported by Pierre-David Pfister.
6288f0ca 4271 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4272 name and open parenthesis, bug317.
4273 Reported by Pierre-David Pfister.
6288f0ca
WS
4274 (verilog-simplify-range-expression): Fix simplification of
4275 multiplications inside AUTOWIRE connections, bug303.
4276 (verilog-auto-inst-port): Support parameter expansion in
4277 multidimensional arrays.
4278 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4279 after "assert property". Reported by Julian Gorfajn.
4280 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4281 with multiplication, bug303.
4282 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4283 Reported by Jan Frode Lonnum.
4284
1bbe96b2
GM
42852011-11-30 Juanma Barranquero <lekktu@gmail.com>
4286
4287 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4288 (hfy-shell-file-name, hfy-shell):
4289 * international/fontset.el (x-decompose-font-name): Fix typos.
4290
42912011-11-29 Ken Brown <kbrown@cornell.edu>
4292
4293 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4294 (gdb-version): Remove defvar.
4295 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4296 (gdb-gud-context-command, gdb-non-stop-handler)
4297 (gdb-current-context-command, gdb-stopped): Use it.
4298 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4299 (gdb-non-stop-handler): Don't enable pretty-printing here.
4300 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4301 non-stop mode. Use the following.
4302 (gdb-check-target-async): New defun.
4303 (gud-watch, gdb-stopped): Fix whitespace.
4304 (gdb-get-source-file): Don't try to display the source file if
4305 `gdb-main-file' is nil.
4306
43072011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4308
4309 * align.el: Try to generate fewer markers (bug#10047).
4310 (align--set-marker): New macro.
4311 (align-region): Use it.
4312
c935221f
SM
43132011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4314
4315 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4316
e70b5064
CY
43172011-11-29 Chong Yidong <cyd@gnu.org>
4318
4319 * indent.el (indent-for-tab-command, indent-according-to-mode):
4320 Doc fix.
4321 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4322
f3af92b7
MA
43232011-11-29 Michael Albinus <michael.albinus@gmx.de>
4324
4325 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4326 aware of remote file names. (Bug#10124)
4327
ed472be9
CY
43282011-11-29 Chong Yidong <cyd@gnu.org>
4329
4330 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4331
24510c22
SM
43322011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4333
4334 * files.el (find-file): Don't use force-same-window (bug#10144).
4335 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4336 use pop-to-buffer if the selected window can't be used.
4337 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4338
c60c3703
EZ
43392011-11-28 Eli Zaretskii <eliz@gnu.org>
4340
4341 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4342 special-mode-map.
4343
e95def75
CY
43442011-11-28 Chong Yidong <cyd@gnu.org>
4345
4346 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4347
c3f1c606
NR
43482011-11-27 Nick Roberts <nickrob@snap.net.nz>
4349
4350 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4351 gdb-get-source-file-list on gdb-create-source-file-list.
4352
00db469c
EZ
43532011-11-26 Eli Zaretskii <eliz@gnu.org>
4354
4355 * whitespace.el (whitespace-newline): Use a different foreground
4356 color for 16-color light-background displays.
4357
4ad3bc2a
CY
43582011-11-24 Chong Yidong <cyd@gnu.org>
4359
4360 * window.el (display-buffer--special-action): Doc fix.
4361
e9fce1ac
JB
43622011-11-25 Juanma Barranquero <lekktu@gmail.com>
4363
4364 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4365 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4366 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4367 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4368 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4369 (avl-tree-stack-first):
4370 * emacs-lisp/cconv.el (cconv--analyse-use):
4371 * net/gnutls.el (gnutls-negotiate): Fix typos.
4372
cb825e5d
GM
43732011-11-24 Glenn Morris <rgm@gnu.org>
4374
3adbe224
GM
4375 * lpr.el (lpr-windows-system, lpr-lp-system):
4376 * mail/binhex.el (binhex-begin-line):
4377 * progmodes/grep.el (grep-history, grep-find-history):
4378 * textmodes/flyspell.el:
4379 * vc/pcvs-defs.el (cvs-global-menu):
4380 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4381 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4382 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4383
321decc8
GM
4384 * net/tls.el: Fix case of "GnuTLS".
4385
420b63ad
GM
4386 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4387
cb825e5d
GM
4388 * version.el (emacs-build-system): Give it a doc-string.
4389
a0649f08
JL
43902011-11-24 Juri Linkov <juri@jurta.org>
4391
4392 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4393
c0bc0fd4
GM
43942011-11-24 Glenn Morris <rgm@gnu.org>
4395
4396 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4397 if called on a non-mime message just toggle the headers. (Bug#8006)
4398
20db1522
JB
43992011-11-24 Juanma Barranquero <lekktu@gmail.com>
4400
4401 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4402 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4403 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4404 (allout-rebullet-heading, allout-open-sibtopic)
4405 (allout-toggle-current-subtree-encryption)
4406 (allout-toggle-subtree-encryption, allout-encrypt-string)
4407 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4408 (allout-distinctive-bullets-string, allout-auto-activation):
4409 * window.el (window-normalize-buffer-to-display):
4410 * progmodes/verilog-mode.el (verilog-batch-indent):
4411 * textmodes/bibtex.el (bibtex-field-braces-opt)
4412 (bibtex-field-strings-opt):
4413 * vc/cvs-status.el (cvs-tree-merge):
4414 Fix typos.
4415
7262a87c
MA
44162011-11-23 Michael Albinus <michael.albinus@gmx.de>
4417
4418 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4419 `non-essential' to t, in order to avoid remote connections.
4420
283430a1
EZ
44212011-11-23 Eli Zaretskii <eliz@gnu.org>
4422
a1beca85
SM
4423 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4424 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4425 case-insensitively.
4426
d2992a38
ML
44272011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4428
4429 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4430
50419064
GM
44312011-11-23 Glenn Morris <rgm@gnu.org>
4432
da94eca1
GM
4433 * paths.el (rmail-file-name): Reformat the doc-string so that it
4434 is picked up.
4435
9aac4de2
GM
4436 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4437 (rmail-auto-file): Ignore case in the "special" field names,
4438 as mail-fetch-field does for all others.
4439
8038d2d2
GM
4440 * mail/rmail.el (rmail-forward):
4441 * mail/rmailkwd.el (rmail-set-label):
4442 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4443 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4444
f3fe222a
GM
4445 * mail/rmail.el (rmail-current-message): Doc fix.
4446
50419064
GM
4447 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4448
28109f49
SM
44492011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4450
4451 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4452
394c65f1
GM
44532011-11-22 Glenn Morris <rgm@gnu.org>
4454
4455 * mail/rmailmm.el (test-rmail-mime-handler)
4456 (test-rmail-mime-bulk-handler)
4457 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4458
f2a0aa3a
JL
44592011-11-21 Juri Linkov <juri@jurta.org>
4460
1154d12e
JB
4461 * calc/calc.el (calc-read-key-sequence):
4462 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4463
9c34a344
LMI
44642011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4465
4466 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4467 Tell the caller that the next line needs recomputation, even
4468 though it doesn't start a sexp (bug#10094).
4469
f04a3be9
SM
44702011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4471
4472 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4473
7978747f
SM
44742011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4475
f04a3be9
SM
4476 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4477 Use force-same-window.
7978747f 4478
fe7a3057
JB
44792011-11-20 Juanma Barranquero <lekktu@gmail.com>
4480
4481 * descr-text.el (describe-char-unicode-data):
4482 * json.el (json-string-escape):
4483 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4484 (Footnote-unicode, Footnote-style-p):
4485 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4486
24901d61
CY
44872011-11-20 Chong Yidong <cyd@gnu.org>
4488
4489 * window.el (replace-buffer-in-windows): Restore interactive spec.
4490
bac7ff22
SM
44912011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4492
24f3d7b9
SM
4493 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4494
bac7ff22
SM
4495 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4496 (byte-compile-global-not-obsolete-vars): New var.
4497 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4498 Use it.
4499 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4500
cd1181db
JB
45012011-11-20 Juanma Barranquero <lekktu@gmail.com>
4502
4503 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4504 * progmodes/pascal.el (electric-pascal-equal):
4505 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4506 * xml.el (xml-substitute-special): Fix typos.
4507
7fb18e9e
GM
45082011-11-20 Glenn Morris <rgm@gnu.org>
4509
4510 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4511 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4512 Doc fixes.
4513 (rmail-decode-mime-charset): Mark as obsolete.
4514
4515 * mail/rmailsum.el (rmail-message-regexp-p-1):
4516 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4517 Before using mime functions, check they are set. (Bug#10077)
4518
d5a6b3ba
JL
45192011-11-19 Juri Linkov <juri@jurta.org>
4520
4521 * info.el (Info-finder-find-node): Use `package--builtins' instead
4522 of `package-alist'. Use node names formed by the pattern "Keyword "
4523 and the keyword name.
4524
e981b61f
AS
45252011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4526
1d00653d 4527 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4528
3ffbc301
JL
45292011-11-19 Juri Linkov <juri@jurta.org>
4530
4531 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4532 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4533 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4534 `old-history', `old-history-forward'. Add let-binding
4535 `window-selected'. Remove calls to `kill-buffer',
4536 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4537 before calling `Info-find-node', so `Info-find-node-2' will reread
4538 the Info file. Restore window positions only when `window-selected'
4539 is non-nil.
4540
30c62133
JL
45412011-11-19 Juri Linkov <juri@jurta.org>
4542
4543 * isearch.el (isearch-lazy-highlight-new-loop):
4544 Remove condition `(not isearch-error)'. (Bug#9918)
4545
4546 * misearch.el (multi-isearch-search-fun): Add condition
4547 `(not bound)' to ignore lazy-highlighting search.
4548 Add the search-failed message "end of multi" when the end of
4549 multi-sequence is reached. Uncapitalize the search-failed
4550 message "Repeat for next buffer".
4551
4552 * info.el (Info-search): Add the search-failed message
4553 "end of the manual" when the end of the manual is reached
4554 in Isearch mode.
4555
645ca9cf
JL
45562011-11-19 Juri Linkov <juri@jurta.org>
4557
4558 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4559 Use non-destructive `remove' instead of `delete' because
4560 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4561 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4562
df754f66
JL
45632011-11-19 Juri Linkov <juri@jurta.org>
4564
4565 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4566 to nil instead of binding `search-ring' and `regexp-search-ring'.
4567 (Bug#9185)
4568
0e23d96a
EZ
45692011-11-19 Eli Zaretskii <eliz@gnu.org>
4570
4571 * simple.el (line-move): Force movement by logical lines for any
4572 hscrolled window, not only when auto-hscroll-mode is on.
4573 (line-move-visual): Update doc string to that effect. (Bug#10076)
4574
8a6ccb66
AS
45752011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4576
4577 * language/european.el (macintosh): Define as alias for mac-roman.
4578
49ae5b39
EZ
45792011-11-19 Eli Zaretskii <eliz@gnu.org>
4580
4581 * mail/rmailmm.el (rmail-mime-display-header)
4582 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4583 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4584 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4585 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4586 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4587 of a raw aref.
4588 (rmail-mime-entity-segment): To get past the tagline, move forward
4589 2 more lines, to account for the 2 empty lines that precede and
4590 follow the line with the buttons.
4591 (rmail-mime-update-tagline): Move one more line, to get past the
4592 empty line that follows the buttons in the tagline. (Bug#9520)
4593
c56cad4a
MR
45942011-11-19 Martin Rudalics <rudalics@gmx.at>
4595
4596 * window.el (window-max-delta-1, window-min-delta-1)
4597 (window-min-size-1, window-state-get-1, window-state-put-1)
4598 (window-state-put-2): Use "window--" prefix.
4599
cbe71af3
SM
46002011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4601
2ad52c60
SM
4602 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4603 (smie-warning-count): New var.
4604 (smie-set-prec2tab): Use it.
4605 (smie-bnf->prec2): Improve warnings. Add docstring.
4606 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4607 (smie-bnf--set-class): New function.
4608 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4609 corner case.
4610
6944dbc1
SM
4611 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4612 (compilation-error-properties, compilation-move-to-column):
4613 Handle compilation-first-column while in the target buffer.
4614
c400c4d7
SM
4615 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4616 Don't hardcode point-min==1.
4617
6dbe3e96
SM
4618 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4619 (eshell-rewrite-for-command): Remove workaround.
4620 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4621 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4622 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4623
cbe71af3
SM
4624 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4625
a8e1496d
GM
46262011-11-17 Glenn Morris <rgm@gnu.org>
4627
4628 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4629 Ignore buffer-local generated-autoload-file if it is the same
4630 as the global value. (Bug#10049)
4631
df85d315
JB
46322011-11-17 Juanma Barranquero <lekktu@gmail.com>
4633
4634 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4635 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4636 (reftex-toc-previous-heading, reftex-toc-max-level)
4637 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4638 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4639 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4640 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4641 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4642 (reftex-toc-rename-label, reftex-toc-visit-location)
4643 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4644 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4645 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4646 leaving "*toc*" only for references to the buffer.
4647
a0c2d0ae
MR
46482011-11-17 Martin Rudalics <rudalics@gmx.at>
4649
4650 * window.el (window-resize, delete-window, split-window):
4651 Replace window-splits by window-combination-resize.
1d00653d 4652 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4653
35c0bac8
GM
46542011-11-17 Glenn Morris <rgm@gnu.org>
4655
4656 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4657 Make bash entry derive from sh entry, not shell entry.
4658
d0c8fc8a
MA
46592011-11-16 Michael Albinus <michael.albinus@gmx.de>
4660
d0c8fc8a
MA
4661 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4662 properties of linked files. (Bug#9879)
4663
7262a87c
MA
4664 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4665 local file name.
4666
7877f373
JB
46672011-11-16 Juanma Barranquero <lekktu@gmail.com>
4668
4669 * menu-bar.el (menu-bar-file-menu):
4670 * printing.el (pr-ps-utility):
4671 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4672 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4673 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4674 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4675 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4676 (icalendar--convert-cyclic-to-ical)
4677 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4678 (icalendar--convert-ical-to-diary)
4679 (icalendar--convert-recurring-to-diary)
4680 (icalendar--convert-non-recurring-all-day-to-diary)
4681 (icalendar-import-format-sample):
4682 * progmodes/idlw-shell.el (idlwave-shell-mode):
4683 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4684 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4685 (vhdl-ps-print-init): Fix typos.
4686
10649b82
KM
46872011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4688
9d0cfcd6
GM
4689 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4690 FSF and collapse date sequence, obscure author/maintainer email address
4691 better, remove extra version line, track relocation of author's webpage.
10649b82 4692
9d0cfcd6
GM
4693 * progmodes/python.el (python-pdbtrack-input-prompt)
4694 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4695 regular python pdb prompts. Adjustments shamelessly taken exactly as
4696 suggested in EmacsWiki page (tiny change):
4697 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4698
58179cce
JB
46992011-11-16 Juanma Barranquero <lekktu@gmail.com>
4700
4701 * expand.el (expand-pos, expand-index, expand-point):
4702 Remove redundant info from docstring.
4703 (expand-add-abbrevs): Doc fix.
4704 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4705 (expand-sample-perl-mode-expand-list): Fix typos.
4706
4707 * net/dbus.el (dbus-event-member-name):
4708 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4709 * term/pc-win.el (msdos-create-frame-with-faces):
4710 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4711
b6f67890
MR
47122011-11-16 Martin Rudalics <rudalics@gmx.at>
4713
4714 * window.el (split-window, window-state-get-1)
4715 (window-state-put-1, window-state-put-2): Rename occurrences of
4716 window-nest to window-combination-limit.
1d00653d 4717 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4718
ce7ddba0
CY
47192011-11-16 Chong Yidong <cyd@gnu.org>
4720
4721 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4722 regexp (Bug#10033).
4723
3ae704f4
SM
47242011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4725
4726 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4727 `completing-read' will remove *Completions* and will preserve
4728 current-buffer for us.
4729 (tmm-add-prompt): Users of *Completions* will always (re)set its
4730 major mode.
4731 (tmm-old-comp-map): Remove.
4732
6ad1cdde
GM
47332011-11-16 Glenn Morris <rgm@gnu.org>
4734
4735 * mail/rmailedit.el: Require rmailmm when compiling.
4736 (rmail-old-mime-state): New declaration.
4737 (rmail-edit-current-message): If editing a mime message,
4738 edit the "raw" message from the mbox buffer.
4739 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4740
d20faa20
GM
47412011-11-15 Glenn Morris <rgm@gnu.org>
4742
4743 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4744 which wasn't being used. Add optional arg to force given state.
4745 (rmail-mime): Add optional arg to force given state.
4746
c7015153
JB
47472011-11-15 Juanma Barranquero <lekktu@gmail.com>
4748
4749 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4750 * frame.el (display-mm-dimensions-alist):
4751 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4752 (outline-move-subtree-down):
4753 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4754 (newsticker--treeview-do-get-node):
4755 * net/quickurl.el (quickurl-list-buffer-name):
4756 * progmodes/dcl-mode.el (dcl-mode):
4757 * progmodes/gdb-mi.el (gdb-mapcar*):
4758 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4759
45261b50
GM
47602011-11-15 Glenn Morris <rgm@gnu.org>
4761
4762 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4763 in a boolean sense, so just make it a boolean, and fix the doc.
4764 (rmail-show-mime-function, rmail-mime-feature)
4765 (rmail-require-mime-maybe): Doc fixes.
4766 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4767
4768 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4769
0d26e0b6
JB
47702011-11-15 Juanma Barranquero <lekktu@gmail.com>
4771
4772 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4773 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4774 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4775 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4776
447f30f6
GM
47772011-11-15 Glenn Morris <rgm@gnu.org>
4778
672b871d
GM
4779 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4780 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4781 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4782 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4783 (rmail-mime, rmail-show-mime): Doc fixes.
4784
f6aa5bb1
GM
4785 * term/ns-win.el (mode-line-frame-identification):
4786 Leave it alone. (Bug#10051)
4787
947cd66b
GM
4788 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4789
447f30f6
GM
4790 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4791 Handle empty buffers. (Bug#9978)
4792
0b381c7e
JB
47932011-11-14 Juanma Barranquero <lekktu@gmail.com>
4794
4795 * international/mule.el (define-charset):
4796 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4797 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4798 * progmodes/verilog-mode.el (verilog-backward-token):
4799 * textmodes/ispell.el (lookup-words):
4800 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4801
71e027ac
GM
48022011-11-14 Glenn Morris <rgm@gnu.org>
4803
56632ce4
GM
4804 * progmodes/executable.el
4805 (executable-make-buffer-file-executable-if-script-p):
4806 Handle file-modes returning nil.
4807
40500957
GM
4808 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4809 message - not necessary, and causes problems. (Bug#9831)
4810
071c2340
GM
4811 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4812
d3cfca60
GM
4813 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4814
71e027ac
GM
4815 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4816 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4817 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4818
89d61221
MR
48192011-11-12 Martin Rudalics <rudalics@gmx.at>
4820
4821 * window.el (window-resize, delete-window): Use window-splits
4822 variable instead of function.
4823 (window-state-get-1, window-state-put-2, window-state-put):
4824 Don't deal with windows' splits status.
4825
98282f6f
GM
48262011-11-12 Glenn Morris <rgm@gnu.org>
4827
4828 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4829 (apropos-documentation): Doc fixes.
4830
40a8bdf6
JB
48312011-11-11 Juanma Barranquero <lekktu@gmail.com>
4832
4833 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4834 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4835
65bd19ff
SM
48362011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4837
4838 * electric.el (electric-indent-post-self-insert-function): Make it
4839 possible for a char to only indent in some circumstances.
4840 (electric-indent-mode): Simplify.
4841
54f9154c
MR
48422011-11-11 Martin Rudalics <rudalics@gmx.at>
4843
4844 * window.el (windows-with-parameter): Remove unused function.
4845 (windows-at-side): Rename to window-at-side-list.
4846 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4847 (window-side-check, window-size-ignore, window-size-fixed-1)
4848 (window-in-direction-2): Prefix with "window--".
4849 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4850
68cbc58b
GM
48512011-11-11 Glenn Morris <rgm@gnu.org>
4852
4853 * subr.el (eval-after-load): If FILE is already loaded,
4854 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4855
b2621720
GM
48562011-11-10 Glenn Morris <rgm@gnu.org>
4857
9a4de110
GM
4858 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4859 Call svn via vc-svn-command rather than vc-do-command.
4860 (vc-svn-command): Add --non-interactive. (Bug#9993)
4861 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4862
b2621720
GM
4863 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4864 Add toggle-read-only. (Bug#7292)
4865 * files.el (toggle-read-only): Mention that it should only
4866 be used interactively. (Bug#10006)
4867
1dce7193
SM
48682011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4869
d9ac1a1e
SM
4870 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4871 Adjust regexp for OCaml warnings.
4872
0c325082
SM
4873 * electric.el (electric-pair-post-self-insert-function): Let user
4874 turn it off buffer-locally (bug#9932).
4875
90132c14
SM
4876 * progmodes/python.el (python-beginning-of-statement):
4877 Rewrite (bug#2703).
4878
1dce7193
SM
4879 * progmodes/compile.el: Better handle TABs (bug#9749).
4880 (compilation-internal-error-properties)
4881 (compilation-next-error-function): Obey the target buffer's
4882 compilation-error-screen-columns.
4883
c4e7c63a
JB
48842011-11-09 Juanma Barranquero <lekktu@gmail.com>
4885
4886 * progmodes/meta-mode.el: Remove obsolete comments.
4887 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4888 Fix typos in docstrings.
4889
2cffd681
MR
48902011-11-09 Martin Rudalics <rudalics@gmx.at>
4891
4892 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4893 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4894 (window--resizable): New function. Make all callers of
4895 window-resizable call window--resizable instead.
4896 (window-resizable): Rewrite in terms of window--resizable.
4897
0edcba87
GM
48982011-11-08 Glenn Morris <rgm@gnu.org>
4899
4900 * progmodes/delphi.el (delphi-mode-syntax-table):
4901 Let define-derived-mode define a proper syntax table. (Bug#9994)
4902
4b0d61e3
SM
49032011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4904
4905 * window.el: Stay away from defsubst.
4906 (window-list-no-nils): Remove.
4907 (window-state-get-1, window-state-get): Use backquote instead.
4908
cd394be1 49092011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4910
4b0d61e3 4911 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4912 Fix incorrect use of default argument in `completing-read'.
4913
e1c2c6f2
MR
49142011-11-08 Martin Rudalics <rudalics@gmx.at>
4915
4916 * window.el (display-buffer-function, special-display-function):
4917 Mention display-buffer-record-window but do not mention
4918 help-setup parameter in doc-strings.
b3f4a882 4919 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4920
105216ed
CY
49212011-11-08 Chong Yidong <cyd@gnu.org>
4922
4923 * window.el (window-total-height, window-total-width): Doc fix.
4924 (window-body-size): Move from C.
4925 (window-body-height, window-body-width): Move to C.
4926
0a9f9ab5
SM
49272011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4928
4929 * window.el: Make special-display like display-buffer-alist (bug#9532).
4930 (display-buffer--special-action): New function, morphed
4931 from display-buffer--special.
4932 (display-buffer): Use it to handle special-display-buffers at higher
4933 priority (just after display-buffer-alist).
4934 (display-buffer-fallback-action, display-buffer--other-frame-action)
4935 (pop-to-buffer-same-window): Remove display-buffer--special.
4936
a769dd15
GM
49372011-11-07 Glenn Morris <rgm@gnu.org>
4938
4939 * calendar/cal-menu.el (cal-menu-set-date-title):
4940 Do nothing if not in a calendar. (Bug#9976)
4941
05a61ee3
SM
49422011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4943
4944 * files.el (find-file): Always use selected-window.
4945
be7f5545
MR
49462011-11-07 Martin Rudalics <rudalics@gmx.at>
4947
4948 * window.el (window-combinations): Make WINDOW argument
4949 mandatory. Rewrite doc-string.
4950 (walk-window-subtree, window-atom-check, window-min-delta)
4951 (window-max-delta, window--resize-this-window)
4952 (window--resize-root-window-vertically, window-tree)
4953 (balance-windows, window-state-put): Rewrite doc-strings as to
4954 not mention the term "subwindow".
4955 (window--resize-subwindows-skip-p): Rename to
4956 window--resize-child-windows-skip-p.
4957 (window--resize-subwindows-normal): Rename to
4958 window--resize-child-windows-normal.
4959 (window--resize-subwindows): Rename to
4960 window--resize-child-windows.
4961 (window-or-subwindow-p): Rename to window--in-subtree-p.
4962
3c6702ef
ML
49632011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4964
4965 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4966 Ensure that mbox format messages end in two newlines (Bug#9974).
4967
49745b39
CY
49682011-11-06 Chong Yidong <cyd@gnu.org>
4969
4970 * window.el (window-combination-p): Function deleted; its
4971 side-effect is not used in any existing code.
4972 (window-combinations, window-combined-p): Call window-*-child
4973 directly.
4974
24300f5f
CY
49752011-11-05 Chong Yidong <cyd@gnu.org>
4976
4977 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4978 (window-size-ignore, window-state-get): Callers changed.
4979 (window-normalize-window): Rename from window-normalize-any-window.
4980 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4981 (window-normalize-live-window): Delete.
447f16b8
CY
4982 (window-combination-p, window-combined-p, window-combinations)
4983 (walk-window-subtree, window-atom-root, window-min-size)
4984 (window-sizable, window-sizable-p, window-size-fixed-p)
4985 (window-min-delta, window-max-delta, window-resizable)
4986 (window-resizable-p, window-full-height-p, window-full-width-p)
4987 (window-current-scroll-bars, window-point-1, set-window-point-1)
4988 (window-at-side-p, window-in-direction, window-resize)
4989 (adjust-window-trailing-edge, maximize-window, minimize-window)
4990 (window-deletable-p, delete-window, delete-other-windows)
4991 (record-window-buffer, unrecord-window-buffer)
4992 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4993 (quit-window, split-window, window-state-put)
4994 (set-window-text-height, fit-window-to-buffer)
4995 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4996
89bd5ee1
EZ
49972011-11-04 Eli Zaretskii <eliz@gnu.org>
4998
53479029
EZ
4999 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5000 rfc2047-decode-string.
5001 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5002 warnings.
5003
89bd5ee1
EZ
5004 * window.el (window-body-height, window-body-width): Mention in
5005 the doc string that the return values are in frame's canonical
5006 units. (Bug#9949)
5007
bd17fdee
AM
50082011-11-03 Alan Mackenzie <acm@muc.de>
5009
5010 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5011 change in cc-engine.el.
5012
acc825c5
SM
50132011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5016
1885e5b8
MR
50172011-11-02 Martin Rudalics <rudalics@gmx.at>
5018
5019 * window.el (quit-window): Call unrecord-window-buffer after
5020 showing another buffer in the window. (Bug#9937)
acc825c5 5021 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5022
ebe06da9
JB
50232011-11-02 Juanma Barranquero <lekktu@gmail.com>
5024
5025 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5026 Accept status with more than 9 shelves. (Bug#9935)
5027 Reported by Colin D Bennett <colin@gibibit.com>.
5028
4ee88440
MR
50292011-11-01 Martin Rudalics <rudalics@gmx.at>
5030
5031 * help.el (with-help-window): Don't reference
5032 temp-buffer-show-specifiers in doc-string.
5033
08e1d82c
AS
50342011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5035
5036 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5037 menu-item.
5038
84bd6e9e
VJL
50392011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5040
5041 * whitespace.el: New version 13.2.2.
5042 (whitespace-newline-mode): Disable properly. Reported by Sarah
5043 <EmacsWiki>.
5044
dba0634a
UJ
50452011-10-30 Ulf Jasper <ulf.jasper@web.de>
5046
5047 * net/newst-treeview.el: Remove "Time-stamp".
5048 (newsticker--group-manage-orphan-feeds): Do not call
5049 newsticker--treeview-tree-update.
db22a3c2
JB
5050 (newsticker-treeview-update, newsticker-treeview):
5051 Call newsticker--treeview-tree-update if necessary.
dba0634a 5052
3d8daefe
MR
50532011-10-30 Martin Rudalics <rudalics@gmx.at>
5054
5055 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5056 (window-iso-combinations): Remove "iso-" infix.
5057 Suggested by Chong Yidong.
3d8daefe
MR
5058 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5059 (window-max-delta-1, window-resize, window--resize-siblings)
5060 (window--resize-this-window, adjust-window-trailing-edge)
5061 (split-window, balance-windows-1)
5062 (shrink-window-if-larger-than-buffer):
5063 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5064 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5065
1bc4c3ae
SM
50662011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5067
5068 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5069 in place (bug#9907).
5070 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5071 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5072 (eshell-structure-basic-command, eshell-rewrite-while-command)
5073 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5074 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5075 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5076 (eshell-do-pipelines-synchronously, eshell-eval-command):
5077 Use backquotes and prefer setq to set.
5078 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5079 (eshell-macrop): Use functionp.
c1e2f5fa 5080 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5081
30b65d9c
CY
50822011-10-30 Chong Yidong <cyd@gnu.org>
5083
5084 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5085 instead of set-mark (Bug#9810).
5086
2d197ffb
CY
50872011-10-30 Chong Yidong <cyd@gnu.org>
5088
5089 * window.el (split-window-below, split-window-right): Rename from
5090 split-window-above-each-other and split-window-side-by-side
5091 respectively. All callers changed.
5092 (split-window-sensibly, split-window-sensibly): Use them.
5093 (split-window-keep-point): Doc fix.
5094
5095 * isearch.el: Add isearch-scroll property to split-window-below
5096 and split-window-right.
5097
5098 * follow.el (follow-mode):
5099 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5100 * progmodes/ada-xref.el (ada-gdb-application):
5101 * emulation/vip.el (vip-buffer-in-two-windows):
5102 * image-dired.el (image-dired-dired-with-window-configuration):
5103 * dired-x.el (dired-do-find-marked-files):
5104 * dired.el (dired-pop-to-buffer):
5105 * bs.el (bs--show-with-configuration):
5106 * vc/emerge.el (emerge-setup-windows):
5107 * textmodes/two-column.el (2C-two-columns):
5108 * textmodes/reftex-toc.el (reftex-toc):
5109 * progmodes/gdb-mi.el (gdb-setup-windows):
5110 * progmodes/fortran.el (fortran-window-create):
5111 * net/newst-treeview.el (newsticker--treeview-window-init):
5112 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5113 * emulation/tpu-edt.el (tpu-gold-map):
5114 * emulation/crisp.el (crisp-mode-map):
5115 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5116
38bb2ca8
CY
51172011-10-29 Chong Yidong <cyd@gnu.org>
5118
aa4de341
CY
5119 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5120
e1eb5385
CY
5121 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5122
5d2ece3c
CY
5123 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5124 forged Ispell output (Bug#7904).
5125
38bb2ca8
CY
5126 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5127
d0af9f77
SM
51282011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5129
5130 * doc-view.el: Avoid ugly errors about not finding nil.
5131 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5132 (doc-view-dvipdf-program, doc-view-unoconv-program)
5133 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5134 Avoid nil or absolute file name as default value.
5135 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5136
52bedd34
AM
51372011-10-28 Alan Mackenzie <acm@muc.de>
5138
db22a3c2 5139 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5140
7e43cfa5
AM
51412011-10-28 Alan Mackenzie <acm@muc.de>
5142
5143 Amend the handling of c-beginning/end-of-defun in nested declaration
5144 scopes.
5145
52bedd34
AM
5146 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5147 cc-langs.el. Change it to a defcustom.
7e43cfa5 5148
52bedd34
AM
5149 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5150 cc-vars.el.
7e43cfa5 5151
d0af9f77
SM
5152 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5153 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5154
52bedd34 5155 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5156 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5157 (c-widen-to-enclosing-decl-scope): New function.
5158 (c-while-widening-to-decl-block): New macro.
5159 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5160 outward for defun boundaries, and correspondingly change symbol
5161 `respect-enclosure' to `go-outward'.
5162 (c-declaration-limits): Change algorithm to report only the "innermost"
5163 defun's boundaries.
5164
1a2ce9ee
DD
51652011-10-28 Deniz Dogan <deniz@dogan.se>
5166
5167 * net/rcirc.el (rcirc-mode): Use hard newlines.
5168
bc97a826
AM
51692011-10-28 Alan Mackenzie <acm@muc.de>
5170
5171 Amend to indent and fontify macros "which include their own semicolon"
5172 correctly, using the "virtual semicolon" mechanism.
5173
52bedd34 5174 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5175
d0af9f77 5176 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5177 Recode to scan one line at a time rather than having \n and \r
58179cce 5178 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5179 (c-forward-label): Amend for virtual semicolons.
58179cce 5180 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5181
52bedd34
AM
5182 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5183 of the new C macros.
bc97a826 5184
52bedd34 5185 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5186 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5187 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5188 (c-opt-cpp-macro-define): Make into a full language variable.
5189 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5190 AWK Mode (including \n, \r) removed, no longer needed.
5191
d0af9f77
SM
5192 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5193 Invoke c-make-macro-with-semi-re.
bc97a826 5194
52bedd34
AM
5195 * progmodes/cc-vars.el (c-macro-with-semi-re):
5196 (c-macro-names-with-semicolon): New variables.
58179cce 5197 (c-make-macro-with-semi-re): New function.
bc97a826 5198
7a6c0941
SM
51992011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5200
5201 * vc/log-edit.el: Fill empty field rather than adding new one.
5202 (log-edit-add-field): New function.
5203 (log-edit-insert-changelog): Use it.
5204
b0c4cdcf
ML
52052011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5206
5207 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5208
ee1f1da9
SM
52092011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5210
5211 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5212 (gdb--check-interpreter): New function.
5213 (gdb): Use it.
5214
51bc5f8b
GM
52152011-10-27 Glenn Morris <rgm@gnu.org>
5216
416a2c45
GM
5217 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5218 (least-positive-float, least-negative-float)
5219 (least-positive-normalized-float, least-negative-normalized-float)
5220 (float-epsilon, float-negative-epsilon):
5221 Remove unnecessary declarations.
5222
5223 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5224 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5225 (least-positive-float, least-negative-float)
5226 (least-positive-normalized-float, least-negative-normalized-float)
5227 (float-epsilon, float-negative-epsilon): Add doc-strings,
5228 based on those in cl.texi.
5229
51bc5f8b
GM
5230 * files.el (set-visited-file-name): If the major-mode changed,
5231 reload the local variables. (Bug#9796)
5232
15de15c6
CY
52332011-10-27 Chong Yidong <cyd@gnu.org>
5234
5235 * subr.el (change-major-mode-after-body-hook): New hook.
5236 (run-mode-hooks): Run it.
5237
ee1f1da9
SM
5238 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5239 Use change-major-mode-before-body-hook.
15de15c6
CY
5240
5241 * simple.el (fundamental-mode):
5242 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5243 change introducing fundamental-mode-hook.
5244
5430d399
JB
52452011-10-26 Juanma Barranquero <lekktu@gmail.com>
5246
acc825c5 5247 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5248
ad74a69e
MA
52492011-10-26 Michael Albinus <michael.albinus@gmx.de>
5250
5251 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5252 tramp.el explicitly. (Bug#7583)
ad74a69e 5253
71d4c2a5
SM
52542011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5255
5256 * progmodes/octave-mod.el:
5257 * progmodes/octave-inf.el: Update maintainer.
5258
b1f6fa26
CY
52592011-10-26 Chong Yidong <cyd@gnu.org>
5260
5261 * subr.el (with-wrapper-hook): Rewrite doc.
5262
3f04efd6
MA
52632011-10-25 Michael Albinus <michael.albinus@gmx.de>
5264
5265 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5266 filenames "/method:foo:". (Bug#9793)
3f04efd6 5267
410488d3
SM
52682011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5269
5270 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5271 (bug#9865).
5272
c1ebb47e
GM
52732011-10-24 Glenn Morris <rgm@gnu.org>
5274
5275 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5276
7f5c46c7
MA
52772011-10-24 Michael Albinus <michael.albinus@gmx.de>
5278
5279 * notifications.el: Add the requirement of a running D-Bus session
5280 bus to the Commentary.
5281
db2440b6
JL
52822011-10-24 Juri Linkov <juri@jurta.org>
5283
5284 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5285 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5286 (Bug#9364)
5287
feecf435
JL
52882011-10-24 Juri Linkov <juri@jurta.org>
5289
5290 * info.el (Info-following-node-name-re): Add newline to the list
5291 of allowed characters for leading space. (Bug#9824)
5292
a3839de2
SM
52932011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5294
acc825c5
SM
5295 * progmodes/octave-inf.el (inferior-octave-mode-map):
5296 Fix C-c C-h binding.
a3839de2
SM
5297 * progmodes/octave-mod.el (octave-help): Remove.
5298
09388e76
MA
52992011-10-23 Michael Albinus <michael.albinus@gmx.de>
5300
5301 Sync with Tramp 2.2.3.
5302
5303 * net/tramp-cache.el (top): Pacify byte-compiler using
5304 `init-file-user' and `site-run-file'.
5305
5306 * net/trampver.el: Update release number.
5307
86c60681
CY
53082011-10-23 Chong Yidong <cyd@gnu.org>
5309
5310 * files.el (toggle-read-only): Remove obsolete comment about
5311 version control.
5312
5313 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5314 for toggle-read-only. Note that this hasn't called vc-next-action
5315 since 2008-05-02, though it wasn't documented at the time.
5316
a3839de2
SM
5317 * vc/ediff-init.el (ediff-toggle-read-only-function):
5318 Use toggle-read-only.
86c60681 5319
cd5495ff
AM
53202011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5321
5322 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5323 of c-parse-state.
5324
00b77525 5325 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5326 correct faulty logical expression.
cd5495ff
AM
5327 (c-parse-state-state, c-record-parse-state-state):
5328 (c-replay-parse-state-state): New defvar/defuns.
5329 (c-debug-parse-state): Use new functions.
5330
42ee24ed
MR
53312011-10-22 Martin Rudalics <rudalics@gmx.at>
5332
5333 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5334 last fix. Use window-in-direction correctly.
42ee24ed 5335
a7dee7e7
CY
53362011-10-21 Chong Yidong <cyd@gnu.org>
5337
5338 * progmodes/idlwave.el (idlwave-mode):
5339 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5340 require-final-newline; that's done in prog-mode.
5341 Suggested by Stefan Monnier.
a7dee7e7 5342
e07b9a6d
MR
53432011-10-21 Martin Rudalics <rudalics@gmx.at>
5344
5345 * mouse.el (mouse-drag-window-above)
5346 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5347 (mouse-drag-mode-line-1, mouse-drag-header-line)
5348 (mouse-drag-vertical-line-rightward-window): Remove.
5349 (mouse-drag-line): New function.
5350 (mouse-drag-mode-line, mouse-drag-header-line)
5351 (mouse-drag-vertical-line): Call mouse-drag-line.
5352 * window.el (window-at-side-p, windows-at-side): New functions.
5353
7e1361d9
UM
53542011-10-21 Ulrich Mueller <ulm@gentoo.org>
5355
5356 * tar-mode.el (tar-grind-file-mode):
5357 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5358
30fcaf3a
CY
53592011-10-21 Chong Yidong <cyd@gnu.org>
5360
5361 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5362 * progmodes/vera-mode.el (vera-mode):
5363 Use mode-require-final-newline.
30fcaf3a 5364
516eddb0
GM
53652011-10-20 Glenn Morris <rgm@gnu.org>
5366
db22a3c2 5367 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5368
10d5f513
CS
53692011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5370
5371 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5372
ac6c8639
CY
53732011-10-20 Chong Yidong <cyd@gnu.org>
5374
5375 * emulation/cua-base.el (cua-mode):
5376 * mail/footnote.el (footnote-mode):
5377 * mail/mailabbrev.el (mail-abbrevs-mode):
5378 * net/xesam.el (xesam-minor-mode):
5379 * progmodes/bug-reference.el (bug-reference-mode):
5380 * progmodes/cap-words.el (capitalized-words-mode):
5381 * progmodes/compile.el (compilation-minor-mode)
5382 (compilation-shell-minor-mode):
5383 * progmodes/gud.el (gud-tooltip-mode):
5384 * progmodes/hideif.el (hide-ifdef-mode):
5385 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5386 * progmodes/subword.el (subword-mode):
5387 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5388 * progmodes/which-func.el (which-function-mode):
5389 * term/tvi970.el (tvi970-set-keypad-mode):
5390 * term/vt100.el (vt100-wide-mode):
5391 * textmodes/flyspell.el (flyspell-mode):
5392 * textmodes/ispell.el (ispell-minor-mode):
5393 * textmodes/nroff-mode.el (nroff-electric-mode):
5394 * textmodes/paragraphs.el (use-hard-newlines):
5395 * textmodes/refill.el (refill-mode):
5396 * textmodes/reftex.el (reftex-mode):
5397 * textmodes/rst.el (rst-minor-mode):
5398 * textmodes/sgml-mode.el (html-autoview-mode)
5399 (sgml-electric-tag-pair-mode):
5400 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5401 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5402 * emulation/crisp.el (crisp-mode):
5403 * emacs-lisp/eldoc.el (eldoc-mode):
5404 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5405 minor mode behavior.
5406
aa42ab43
JL
54072011-10-19 Juri Linkov <juri@jurta.org>
5408
5409 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5410 the list of hard-coded chars with escape-glyph face.
5411
89400f1d
SM
54122011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5413
5414 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5415
305c07f6
MA
54162011-10-19 Michael Albinus <michael.albinus@gmx.de>
5417
5418 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5419 running process.
5420
13754b54
GM
54212011-10-19 Glenn Morris <rgm@gnu.org>
5422
5423 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5424 Ignore ignored files. (Bug#9726)
5425
06e21633
CY
54262011-10-19 Chong Yidong <cyd@gnu.org>
5427
5428 Doc fix for minor modes, stating that an omitted argument enables
5429 the mode unconditionally when called from Lisp.
5430
5431 * abbrev.el (abbrev-mode):
5432 * allout.el (allout-mode):
5433 * autoinsert.el (auto-insert-mode):
5434 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5435 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5436 (global-auto-revert-mode):
5437 * battery.el (display-battery-mode):
5438 * composite.el (global-auto-composition-mode)
5439 (auto-composition-mode):
5440 * delsel.el (delete-selection-mode):
5441 * desktop.el (desktop-save-mode):
5442 * dired-x.el (dired-omit-mode):
5443 * dirtrack.el (dirtrack-mode):
5444 * doc-view.el (doc-view-minor-mode):
5445 * double.el (double-mode):
5446 * electric.el (electric-indent-mode, electric-pair-mode):
5447 * emacs-lock.el (emacs-lock-mode):
5448 * epa-hook.el (auto-encryption-mode):
5449 * follow.el (follow-mode):
5450 * font-core.el (font-lock-mode):
5451 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5452 * help.el (temp-buffer-resize-mode):
5453 * hilit-chg.el (highlight-changes-mode)
5454 (highlight-changes-visible-mode):
5455 * hi-lock.el (hi-lock-mode):
5456 * hl-line.el (hl-line-mode, global-hl-line-mode):
5457 * icomplete.el (icomplete-mode):
5458 * ido.el (ido-everywhere):
5459 * image-file.el (auto-image-file-mode):
5460 * image-mode.el (image-minor-mode):
5461 * iswitchb.el (iswitchb-mode):
5462 * jka-cmpr-hook.el (auto-compression-mode):
5463 * linum.el (linum-mode):
5464 * longlines.el (longlines-mode):
5465 * master.el (master-mode):
5466 * mb-depth.el (minibuffer-depth-indicate-mode):
5467 * menu-bar.el (menu-bar-mode):
5468 * minibuf-eldef.el (minibuffer-electric-default-mode):
5469 * mouse-sel.el (mouse-sel-mode):
5470 * msb.el (msb-mode):
5471 * mwheel.el (mouse-wheel-mode):
5472 * outline.el (outline-minor-mode):
5473 * paren.el (show-paren-mode):
5474 * recentf.el (recentf-mode):
5475 * reveal.el (reveal-mode, global-reveal-mode):
5476 * rfn-eshadow.el (file-name-shadow-mode):
5477 * ruler-mode.el (ruler-mode):
5478 * savehist.el (savehist-mode):
5479 * scroll-all.el (scroll-all-mode):
5480 * scroll-bar.el (scroll-bar-mode):
5481 * server.el (server-mode):
5482 * shell.el (shell-dirtrack-mode):
5483 * simple.el (auto-fill-mode, transient-mark-mode)
5484 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5485 (line-number-mode, column-number-mode, size-indication-mode)
5486 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5487 * strokes.el (strokes-mode):
5488 * time.el (display-time-mode):
5489 * t-mouse.el (gpm-mouse-mode):
5490 * tool-bar.el (tool-bar-mode):
5491 * tooltip.el (tooltip-mode):
5492 * type-break.el (type-break-mode-line-message-mode)
5493 (type-break-query-mode):
5494 * view.el (view-mode):
5495 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5496 (global-whitespace-mode, global-whitespace-newline-mode):
5497 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5498
a3839de2
SM
5499 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5500 Fix autogenerated docstring.
06e21633 5501
5214e501
JL
55022011-10-19 Juri Linkov <juri@jurta.org>
5503
5504 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5505 by checking environment variables "DESKTOP_SESSION" and
5506 "XDG_CURRENT_DESKTOP". (Bug#9779)
5507
195f8db9
JL
55082011-10-19 Juri Linkov <juri@jurta.org>
5509
5510 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5511 (browse-url-chromium-program, browse-url-chromium-arguments):
5512 New defcustoms.
5513 (browse-url-default-browser): Check for `browse-url-chromium' and
5514 call `browse-url-chromium-program'.
5515 (browse-url-chromium): New command. (Bug#9779)
5516
343a34ff
JB
55172011-10-18 Juanma Barranquero <lekktu@gmail.com>
5518
5519 * facemenu.el (list-colors-duplicates): On Windows, detect more
5520 duplicates by assuming that only colors matching "^System" are
5521 special "system colors". (Bug#9722)
5522
6978a151
SM
55232011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5524
5525 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5526 to distinguish the author from the committer.
5527
6a80b297
MA
55282011-10-18 Michael Albinus <michael.albinus@gmx.de>
5529
5530 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5531
b31a5677
JK
55322011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5533
5534 * international/mule.el (sgml-html-meta-auto-coding-function):
5535 Add support for detecting encoding in HTML5 specified only as
5536 <meta charset="UTF-8">. Implementation just makes http-equiv and
5537 content-type parts from HTML4 encoding string optional. (Bug#9716)
5538
80c6d77f
GM
55392011-10-18 Glenn Morris <rgm@gnu.org>
5540
5541 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5542
08b0fee8
CY
55432011-10-18 Chong Yidong <cyd@gnu.org>
5544
5545 * faces.el (cursor): Doc fix.
5546
67e729a5
CY
55472011-10-17 Chong Yidong <cyd@gnu.org>
5548
5549 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5550
343a34ff 55512011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5552
5553 * dirtrack.el (dirtrack): Support shell buffers with path
5554 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5555
0bc06380
TZ
55562011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5557
5558 * json.el: Bump version to 1.3 and note change in History.
5559 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5560
8b79f3e0
SM
55612011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5562
5a7c536b
SM
5563 * comint.el (comint-insert-input, comint-send-input)
5564 (comint-get-old-input-default, comint-backward-matching-input)
5565 (comint-next-prompt): Use nil instead of `input' for field property of
5566 past user input (bug#114).
5567
96a8a0df
SM
5568 * minibuffer.el (completion--replace): Inherit surrounding properties
5569 (bug#114).
5570 (minibuffer-complete-and-exit): Use it.
5571
8b79f3e0
SM
5572 * comint.el (comint--table-subvert): Quote the all-completions output
5573 (bug#9160).
5574
b8f7ff0d
MR
55752011-10-17 Martin Rudalics <rudalics@gmx.at>
5576
8b79f3e0 5577 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5578
b8f7ff0d 5579 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5580 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5581 entries and separate them from frame entries.
5582
c235b555
GM
55832011-10-15 Glenn Morris <rgm@gnu.org>
5584
5585 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5586 Doc fixes.
5587
6bbfa6e1
CY
55882011-10-15 Chong Yidong <cyd@stupidchicken.com>
5589
8b79f3e0
SM
5590 * net/network-stream.el (network-stream-open-starttls):
5591 Improve detection of failure due to lack of TLS support.
ec5c990d 5592
6bbfa6e1
CY
5593 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5594 putting the input text in front and in bold.
5595
98488977
SM
55962011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5597
3d1337be
SM
5598 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5599
ee0b45e4
SM
5600 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5601 empty buffer.
5602
98488977
SM
5603 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5604 unread-command-events rather than pushing yet-another event.
5605
186f4720
EZ
56062011-10-14 Eli Zaretskii <eliz@gnu.org>
5607
5608 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5609 the explanation of the possible choices. Make the options passed
5610 to completing-read shorter.
5611
8b7a997c
AM
56122011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5613
5614 * textmodes/flyspell.el (flyspell-large-region): Make sure
5615 extended character mode is used if defined (Bug#1339).
5616
12587bbb
EZ
56172011-10-13 Eli Zaretskii <eliz@gnu.org>
5618
5619 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5620 character info for LRE, LRO, RLE, and RLO characters by appending
5621 an invisible PDF.
12587bbb 5622
bad41229
SM
56232011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5624
5625 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5626 even in case of error; add debug spec; simplify data flow.
5627 (with-timeout-handler): Remove.
5628
28dbc92f
MA
56292011-10-12 Michael Albinus <michael.albinus@gmx.de>
5630
5631 Fix Bug#6019, Bug#9315.
5632
5633 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5634 complete `buffer-file-name', the local file name part could look
5635 remotely (for example on VMS).
5636
5637 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5638 `tramp-run-real-handler'.
5639 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5640 already quoted by '"'.
5641
5642 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5643 Let `file-name-handler-alist' be nil, the local file name part
5644 could look remotely (for example on VMS).
5645
e1b0b23a
SM
56462011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5649 from here...
5650 (flyspell-post-command-hook): ...to here.
5651
a120bde9
SM
56522011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5653
5654 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5655 if not needed.
5656 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5657 using completion. Protect against "slow" callers.
5658 Remove the "message hack".
5659
7ce7717b
JL
56602011-10-11 Juri Linkov <juri@jurta.org>
5661
5662 * isearch.el (isearch-lazy-highlight-word): New variable.
5663 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5664 Use it. (Bug#9727)
5665
c02ee9d6
GM
56662011-10-11 Glenn Morris <rgm@gnu.org>
5667
5668 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5669 like f90-previous-statement does.
5670
93e616fd 56712011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5672
1f190e73 5673 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5674 only in interactive use, to avoid error.
5675
af7b6078
SM
56762011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5677
5678 * minibuffer.el (completion-file-name-table): Fix last change,
5679 i.e. ignore normal errors but not the other ones.
5680
0563dae9
MR
56812011-10-10 Martin Rudalics <rudalics@gmx.at>
5682
5683 * window.el (special-display-buffer-names)
5684 (special-display-regexps): Remove some remnants of earlier
5685 changes from doc-strings.
366ca7f3
MR
5686 (quit-windows-on): New function.
5687
5688 * vc/vc.el (vc-revert, vc-rollback):
5689 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5690 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5691 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5692
49677495
MR
56932011-10-09 Martin Rudalics <rudalics@gmx.at>
5694
5695 * window.el (frame-auto-hide-function): Add version tag.
5696 (Bug#9699)
5697
56f2d1e1
MA
56982011-10-09 Michael Albinus <michael.albinus@gmx.de>
5699
5700 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5701 condition.
5702
112a6592
LL
57032011-10-09 Leo Liu <sdl.web@gmail.com>
5704
5705 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5706 (Bug#9701)
5707
0812589b
GM
57082011-10-08 Glenn Morris <rgm@gnu.org>
5709
5710 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5711 before the first code statement zero indent. (Bug#9690)
5712
b2b0776e
CY
57132011-10-08 Chong Yidong <cyd@stupidchicken.com>
5714
5715 * simple.el (count-words-region): Always count in the region.
5716 Report the number of lines and characters too.
5717 (count-words): New command, which counts in the buffer if the
5718 region is inactive, as count-words-region used to.
5719 (count-words--message): New function. Handle plurals.
5720 (count-lines-region): Make it an alias for count-words-region.
5721
5722 * bindings.el (esc-map): Replace count-lines-region with
5723 count-words-region.
5724
c557cd6b
MR
57252011-10-08 Martin Rudalics <rudalics@gmx.at>
5726
5727 * window.el (window--delete): Delete dedicated frame
5728 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5729 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5730
61a57ef4 57312011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5732
3a7d293b 5733 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5734
c3833279
CY
57352011-10-07 Chong Yidong <cyd@stupidchicken.com>
5736
5737 * bindings.el ([M-left],[M-right]): Bind to left-word and
5738 right-word respectively.
5739
21ce8245
GM
57402011-10-07 Glenn Morris <rgm@gnu.org>
5741
5742 * cus-start.el (debug-on-quit): Fix custom type.
5743
6d823bb2
LMI
57442011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5745
0181e193
LMI
5746 * subr.el (define-key-after): Clarify that the function is not
5747 useful for non-menu keymaps.
5748
6d823bb2
LMI
5749 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5750
8e3459ce 57512011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5752
21ce8245 5753 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5754 in current minibuffer (Fix bug with recursive minibuffers).
5755
a1c2d21e
CY
57562011-10-06 Chong Yidong <cyd@stupidchicken.com>
5757
5758 * progmodes/gdb-mi.el (gdb): Doc fix.
5759
5a4cf282
MR
57602011-10-05 Martin Rudalics <rudalics@gmx.at>
5761
5762 * window.el (frame-auto-hide-function): New option replacing
5763 frame-auto-delete. Suggested by Stefan Monnier.
5764 (window--delete): Call frame-auto-hide-function instead of
5765 investigating frame-auto-delete.
c96111ea
MR
5766 (window-point-1, set-window-point-1): New functions.
5767 (window-in-direction, record-window-buffer, window-state-get-1)
5768 (display-buffer-record-window): Use window-point-1 instead of
5769 window-point.
5770 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5771
9854542e
SM
57722011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5773
5774 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5775
8943cfb0
GM
57762011-10-05 Glenn Morris <rgm@gnu.org>
5777
5778 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5779 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5780
647ab967
LL
57812011-10-05 Leo Liu <sdl.web@gmail.com>
5782
5783 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5784 works with buffer object.
5785
3ddfbced
SM
57862011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5787
5788 * mpc.el (mpc-tool-bar-map): Add labels.
5789
bdfa5dd2
GM
57902011-10-04 Glenn Morris <rgm@gnu.org>
5791
5792 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5793
0e2070b5
MR
57942011-10-04 Martin Rudalics <rudalics@gmx.at>
5795
5796 * window.el (window--delete): New function.
5797 (frame-auto-delete): Resuscitate option.
5798 (bury-buffer, replace-buffer-in-windows)
5799 (quit-window): Rewrite using window--delete.
5800 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5801 Pass display-buffer-mark-dedicated to window--display-buffer-2
5802 (Bug#9639).
5803
3dc61a09
SM
58042011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5805
915a9b64
SM
5806 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5807 returns a list (bug#9554). Add remote file name completion.
5808 * comint.el (comint--table-subvert): Curry and get quote&unquote
5809 functions as arguments.
5810 (comint--complete-file-name-data): Adjust call accordingly.
5811 * pcomplete.el (pcomplete--table-subvert): Remove.
5812 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5813
3dc61a09
SM
5814 * minibuffer.el (completion-table-case-fold): Use currying.
5815 (completion--styles-type, completion--cycling-threshold-type):
5816 New constants.
5817 (completion-styles, completion-category-overrides)
5818 (completion-cycle-threshold): Use them.
5819 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5820 completion-table-case-fold.
5821
8ea0a993
SB
58222011-10-03 Stephen Berman <stephen.berman@gmx.net>
5823
5824 * minibuffer.el (completion-category-overrides): Fix type of styles
5825 and add more user friendly tags (bug#9660).
5826
8c24b7f6
SM
58272011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5830 (mule-input-method-string): New widget.
5831 (default-input-method, language-info-custom-alist): Use it.
5832
428fe61a
SM
58332011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5834
32c1fffd
SM
5835 * pcomplete.el: Require comint.
5836 (pcomplete--common-suffix): Remove.
5837 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5838 (pcomplete--table-subvert): Sync with comint--table-subvert.
5839 (pcomplete--entries): Use comint-completion-file-name-table.
5840 * comint.el (comint-unquote-filename): Simplify.
5841 (comint-completion-file-name-table): New function (bug#9616).
5842 (comint--complete-file-name-data): Use it.
5843
428fe61a
SM
5844 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5845 (pcmpl-gnu-tar-buffer): Remove.
5846 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5847 around. Make sure pcomplete-suffix-list is only changed temporarily.
5848 Don't look inside the tar's file if it's too large.
428fe61a 5849
04c52e2f
CY
58502011-10-01 Chong Yidong <cyd@stupidchicken.com>
5851
ce3cefcc
CY
5852 * cus-edit.el (custom-mode-map):
5853 * epa.el (epa-key-list-mode-map):
5854 * man.el (Man-mode-map):
5855 * startup.el (splash-screen-keymap):
5856 * simple.el (special-mode-map): Use scroll-up-command and
5857 scroll-down-command.
5858
5859 * progmodes/idlw-help.el (idlwave-help-mode-map):
5860 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5861 * net/newst-plainview.el (newsticker-mode-map):
5862 * emulation/ws-mode.el (wordstar-mode-map):
5863 * emulation/vi.el (vi-com-map):
5864 * calc/calc-graph.el (calc-graph-show-dumb):
5865 * term/sun.el (terminal-init-sun):
5866 * term/ns-win.el (global-map):
5867 * progmodes/grep.el (grep-mode-map):
5868 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5869 * mail/rmail.el (rmail-mode-map):
5870 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5871
04c52e2f
CY
5872 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5873 custom-safe-themes as special.
5874
79adf8c8
JD
58752011-10-01 Julien Danjou <julien@danjou.info>
5876
5877 * notifications.el (notifications-notify): Fix docstring.
5878
63bd50d3
PS
58792011-10-01 Per Starbäck <per@starback.se>
5880
5881 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5882
199e4c7e
MR
58832011-09-30 Martin Rudalics <rudalics@gmx.at>
5884
5885 * startup.el (command-line-1): Fix last fix by inserting
5886 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5887 (Bug#9605) and (Bug#9636)
199e4c7e 5888
fe5f08dd
EZ
58892011-09-29 Eli Zaretskii <eliz@gnu.org>
5890
5891 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5892 window is hscrolled, move by logical lines. (Bug#9607)
5893 (line-move-visual): Update the doc string to the above effect.
5894
b5516bbd
MR
58952011-09-29 Martin Rudalics <rudalics@gmx.at>
5896
ccee00c0
MR
5897 * window.el (display-buffer-record-window): When WINDOW is the
5898 selected window use `point' instead of `window-point'. (Bug#9626)
5899
b5516bbd
MR
5900 * startup.el (command-line-1): Use insert-before-markers when
5901 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5902
b5516bbd
MR
5903 * help.el (help-window): Remove variable.
5904
52aa0014
GM
59052011-09-29 Glenn Morris <rgm@gnu.org>
5906
5907 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5908
df9a7357
JB
59092011-09-29 Juanma Barranquero <lekktu@gmail.com>
5910
5911 * descr-text.el (describe-char-categories): Accept category
5912 descriptions more than one line long.
5913
a8406c20
SM
59142011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5915
88d9610c
SM
5916 * simple.el (delete-trailing-whitespace): Fix last change.
5917
a5daf810
SM
5918 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5919 Don't confuse "y => 3" as the beginning of a `y' operation.
5920
a8406c20
SM
5921 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5922 object has more than 4 slots (bug#9613).
5923
a239d4e9
JB
59242011-09-28 Juanma Barranquero <lekktu@gmail.com>
5925
5926 * subr.el (with-output-to-temp-buffer):
5927 * net/quickurl.el (quickurl, quickurl-browse-url):
5928 Fix typos in docstrings.
5929
693fbdb6
EZ
59302011-09-27 Eli Zaretskii <eliz@gnu.org>
5931
5932 * minibuffer.el (completion-styles)
5933 (completion-category-overrides): Cross reference each other in doc
5934 strings.
5935
8b457e28
GM
59362011-09-27 Glenn Morris <rgm@gnu.org>
5937
5938 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5939 to split-string. (Bug#9606)
5940
85a16208
LMI
59412011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5942
5943 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5944 (bug#9615).
5945
502f9ebd
CY
59462011-09-27 Chong Yidong <cyd@stupidchicken.com>
5947
5948 * emacs-lisp/package.el (list-packages): Fix echo area message.
5949
7690bdea
LL
59502011-09-27 Leo Liu <sdl.web@gmail.com>
5951
5952 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5953
e2ee6f30
MA
59542011-09-25 Michael Albinus <michael.albinus@gmx.de>
5955
5956 * net/dbus.el (dbus-unregister-object): Don't release services for
5957 registered signals. (Bug#9581)
5958
f3f98342
TZ
59592011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5960
5961 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5962 function that picks between cfengine 2 and 3 support
5963 automatically. Update docs accordingly.
5964
dd7aa8dd
KH
59652011-09-22 Kenichi Handa <handa@m17n.org>
5966
5967 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5968 ZERO.
5969 (indian-itrans-v5-table-for-tamil): New variable.
5970 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5971
3f2b07f8
KM
59722011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5973
5974 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5975 that's true if the current command involved collapsing of text.
5976 It's reset to false at the beginning of the next command.
5977 (allout-post-command-business): Move the cursor to the beginning
5978 of entry if the cursor is hidden and collapsing activity just
5979 happened.
5980
371d6a61
CY
59812011-09-24 Chong Yidong <cyd@stupidchicken.com>
5982
5983 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5984 tracking (Bug#9541).
5985
2ac2721a
UJ
59862011-09-24 Ulf Jasper <ulf.jasper@web.de>
5987
5988 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5989 (newsticker-show-news): Automatically load html rendering package
5990 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5991 because w3m-fill-column is let-bound" and the error "Symbol's value
5992 as variable is void: w3m-fill-column".
2ac2721a 5993
fac7ae53
MA
59942011-09-24 Michael Albinus <michael.albinus@gmx.de>
5995
5996 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5997 Release services only if they are defined. (Bug#9581)
5998
e08b633b
RS
59992011-09-23 Richard Stallman <rms@gnu.org>
6000
e488d29c
RS
6001 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6002 distinguish start of paragraph from start of its text.
6003
19c38752
RS
6004 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6005
e08b633b
RS
6006 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6007 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6008 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6009
0a39f27e
AS
60102011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6011
6012 * international/mule-diag.el (mule-diag): Insert a newline after
6013 each fontset description.
6014
db4e950d
SM
60152011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6016
6017 * simple.el (delete-trailing-whitespace):
6018 Document last change; simplify.
6019
eca3f3ea
PW
60202011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6021
d68e189a
PW
6022 * simple.el (delete-trailing-whitespace): Also delete
6023 extra newlines at the end of the buffer.
6024
eca3f3ea
PW
6025 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6026 (picture-newline): Use forward-line so as to ignore fields.
6027
01c157cc
SM
60282011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * subr.el (with-wrapper-hook): Fix edebug spec.
6031
022de23e
LMI
60322011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6033
6034 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6035 (bug#4538).
6036
91683089
MA
60372011-09-23 Michael Albinus <michael.albinus@gmx.de>
6038
eca3f3ea
PW
6039 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6040 Fix nasty bug using wrong cached values.
91683089 6041
5bdd6fa4
AM
60422011-09-23 Alan Mackenzie <acm@muc.de>
6043
6044 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6045
97adfb97
CY
60462011-09-23 Chong Yidong <cyd@stupidchicken.com>
6047
6048 * window.el (pop-to-buffer): Ensure right window is selected if we
6049 chose another frame.
6050
d4ef2b50
EZ
60512011-09-22 Eli Zaretskii <eliz@gnu.org>
6052
6053 * simple.el (what-cursor-position): Use get-char-property-change
6054 and next-single-char-property-change, to be able to show display
6055 properties that come from overlays as well as text properties.
6056
72258fe5
CY
60572011-09-22 Chong Yidong <cyd@stupidchicken.com>
6058
6059 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6060
6061 * cmuscheme.el (run-scheme, switch-to-scheme):
6062 * cus-edit.el (customize-group, custom-buffer-create)
6063 (customize-browse):
6064 * info.el (info):
6065 * shell.el (shell):
6066 * mail/sendmail.el (mail):
6067 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6068
8f098516
RS
60692011-09-22 Richard Stallman <rms@gnu.org>
6070
6071 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6072 move back only to line beg, don't move back over blank lines.
6073
e74f1bb6
MA
60742011-09-22 Michael Albinus <michael.albinus@gmx.de>
6075
6076 * files.el (copy-directory): Set directory attributes only in case
6077 they could be retrieved from the source directory. (Bug#9565)
6078
bfeef8b6
DK
60792011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6080
6081 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6082 (hs-find-block-beginning, hs-hide-level-recursive):
6083 Ignore strings as well as comments. (Bug#9502)
6084
7e423bb8
AS
60852011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6086
6087 * progmodes/sql.el (sql-comint-postgres):
6088 Convert port number to a string. (Bug#9566)
6089
b4d72fcf
MR
60902011-09-22 Martin Rudalics <rudalics@gmx.at>
6091
6092 * window.el (quit-window): Undedicate window when switching to
6093 previous buffer. Reported by Thierry Volpiatto
6094 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6095 (special-display-popup-frame): When popping up a new frame reset
6096 its previous buffers to nil. Simplify code.
b4d72fcf 6097
a7b88dc6
MA
60982011-09-21 Michael Albinus <michael.albinus@gmx.de>
6099
6100 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6101 and process filter, as done also in `shell-command'.
6102
cf4eacfd
MR
61032011-09-21 Martin Rudalics <rudalics@gmx.at>
6104
eca3f3ea 6105 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6106 Call set-window-start with NOFORCE argument t.
6107 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6108 (quit-window): Reword doc-string. Handle new format of
6109 quit-restore parameter. Don't delete window if it has a
6110 previous buffer we can show instead of the present one.
6111 (display-buffer-record-window): Rewrite using a new format for
6112 the quit-restore window parameter
6113 (special-display-popup-frame, display-buffer-same-window)
6114 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6115 (display-buffer-pop-up-window, display-buffer-use-some-window):
6116 Adapt symbol passed to display-buffer-record-window.
6117 * help.el (help-window-setup): Handle new format of quit-restore
6118 parameter.
6119
8d28cb95
SM
61202011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6121
94ab793f
SM
6122 * faces.el (face-list): Fix docstring (bug#9564).
6123
8d28cb95
SM
6124 * window.el (display-buffer--action-function-custom-type):
6125 Don't include internal functions in the Custom interface.
6126
3820edeb
JL
61272011-09-20 Juri Linkov <juri@jurta.org>
6128
6129 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6130 (Info-forward-node, Info-backward-node, Info-next-preorder)
6131 (Info-last-preorder): Use it. (Bug#9528)
6132
5147931d
JL
61332011-09-20 Juri Linkov <juri@jurta.org>
6134
6135 * info.el (Info-last-preorder): Visit last menu item only when
6136 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6137
cf499a1a
JD
61382011-09-20 Julien Danjou <julien@danjou.info>
6139
6140 * password-cache.el (password-cache-remove): Remove entries even if the
6141 value is nil, so that password with a nil value (negative caching) is
6142 possible to invalidate.
6143
f84e2fe2
LM
61442011-09-20 Lawrence Mitchell <wence@gmx.li>
6145
6146 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6147 all whitespace around breakpoint. (Bug#9553)
6148 (f90-find-breakpoint): Only break at whitespace inside a comment.
6149
78054a46
SM
61502011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * minibuffer.el (completion-file-name-table): Keep track of errors.
6153 (completion-table-with-predicate): Handle the case where pred1 is nil.
6154 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6155
345083b2
SM
61562011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6157
e24e27be
SM
6158 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6159 (debugger-return-value): Signal an error if the debugging context does
6160 not await any return value.
6161
345083b2
SM
6162 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6163 * image-mode.el (image-toggle-display-text)
6164 (image-toggle-display-image): Stay away from evil `intangible'.
6165
08d355e3
LL
61662011-09-19 Leo Liu <sdl.web@gmail.com>
6167
6168 * replace.el (occur-revert-arguments): Make it permanent-local.
6169 (occur-mode): Don't call font-lock-defontify.
6170
f01da43f
CY
61712011-09-19 Chong Yidong <cyd@stupidchicken.com>
6172
6173 * net/ldap.el (ldap-search-internal): Don't push empty search
6174 result (Bug#9508).
6175
b6072fa6
SM
61762011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6179
443d6696
MA
61802011-09-19 Michael Albinus <michael.albinus@gmx.de>
6181
6182 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6183 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6184
7cc6e154
JL
61852011-09-18 Juri Linkov <juri@jurta.org>
6186
6187 * buff-menu.el (Buffer-menu-mode-map):
6188 * dired.el (dired-mode-map):
6189 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6190 (lisp-interaction-mode-map):
6191 * emacs-lisp/package.el (package-menu-mode-map):
6192 * epa.el (epa-key-list-mode-map):
6193 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6194 (menu-bar-options-menu):
6195 * outline.el (outline-mode-menu-bar-map):
6196 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6197 * vc/vc-dir.el (vc-dir-menu-map):
6198 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6199 Capitalize non-function content words in menu item strings.
6200
6201 * dired.el (dired-mode-map): Add menu item for
6202 `image-dired-dired-toggle-marked-thumbs'.
6203
80302a81
JL
62042011-09-18 Juri Linkov <juri@jurta.org>
6205
6206 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6207 to `isearch-case-fold-search' and restore its original value
6208 after the `isearch-mode' call.
6209
46c5cf66
JL
62102011-09-18 Juri Linkov <juri@jurta.org>
6211
6212 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6213 because `zgrep' returns 1 for successful matches (bug#9226).
6214
d18b513b
JL
62152011-09-18 Juri Linkov <juri@jurta.org>
6216
6217 * info.el (Info-extract-menu-node-name): Check the second match
6218 for empty string (second test-case of bug#9528).
6219 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6220 intermediate nodes to the history (first test-case of bug#9528).
6221
72753f87
JL
62222011-09-18 Juri Linkov <juri@jurta.org>
6223
6224 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6225 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6226
c9384295
JL
62272011-09-18 Juri Linkov <juri@jurta.org>
6228
1154d12e
JB
6229 * info.el (Info-file-supports-index-cookies):
6230 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6231 outputs one more line for long file names (bug#4142).
c9384295 6232
d473dce8
CY
62332011-09-18 Chong Yidong <cyd@stupidchicken.com>
6234
6235 * newcomment.el (comment-normalize-vars): If prompting for
6236 comment-start, set comment-start-skip too (Bug#8424).
6237
2176854d
JB
62382011-09-18 Johan Bockgård <bojohan@gnu.org>
6239
6240 * icomplete.el: Fix previous fix of Bug#5849.
6241 (icomplete-mode): Don't set completion-show-inline-help.
6242 (icomplete-minibuffer-setup): Set completion-show-inline-help
6243 locally during icompletion.
6244
3aace4e4
CY
62452011-09-18 Chong Yidong <cyd@stupidchicken.com>
6246
c940224f
CY
6247 * woman.el (woman2-process-escapes): Don't delete unrecognized
6248 escapes (Bug#7843).
6249
3aace4e4
CY
6250 * files.el (inhibit-first-line-modes-regexps): Add image files.
6251 (hack-local-variables-prop-line): Return nil for malformed
6252 prop-lines (Bug#9044).
6253
710dec63
MA
62542011-09-18 Michael Albinus <michael.albinus@gmx.de>
6255
6256 * net/tramp.el (top): Don't require 'shell.
6257 (tramp-methods): Fix docstring.
6258 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6259 Return complete remote file name. Handle "smb" case.
6260 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6261 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6262
6263 * net/tramp-compat.el (top): Require 'shell.
6264
6265 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6266 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6267 `tramp-current-host'.
6268 (tramp-get-remote-tmpdir): Remove.
6269
6270 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6271 `tramp-tmpdir' entries.
6272 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6273 (tramp-smb-handle-file-attributes): Ignore errors.
6274 (tramp-smb-wait-for-output): Check also for process end.
6275
5d5ac8ec
LMI
62762011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6277
6278 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6279 when sending QUIT (bug#9312).
6280
8c0f49f0
CY
62812011-09-17 Chong Yidong <cyd@stupidchicken.com>
6282
6283 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6284 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6285 occur-mode-display-occurrence.
6286 (occur-edit-mode): Add usage message.
6287 (occur-cease-edit): New command.
6288 (occur-after-change-function): Use text properties to find the
6289 position of the prefix text.
6290 (occur-engine): Set stickiness of prefix text properties.
6291
8f1383f7
GM
62922011-09-17 Glenn Morris <rgm@gnu.org>
6293
6294 * progmodes/etags.el (complete-tag):
6295 Fix call to completion-in-region. (Bug#9526)
6296
744ba0e3
JL
62972011-09-17 Juri Linkov <juri@jurta.org>
6298
6299 * textmodes/ispell.el (ispell-word): Add to the error message
6300 the word, ispell program name and current dictionary (bug#9121).
6301 (ispell-tex-arg-end): Capitalize "error" in the error message.
6302
d9bbf400
AS
63032011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6304
6305 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6306 check. (Bug#4251)
6307
8da11505
JL
63082011-09-17 Juri Linkov <juri@jurta.org>
6309
6310 * window.el (window-safe-min-height, window-safe-min-width):
6311 Fix typos (followup to bug#9522).
6312
a91adc7e
SJ
63132011-09-17 Sven Joachim <svenjoac@gmx.de>
6314
6315 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6316
064f328a
EZ
63172011-09-16 Eli Zaretskii <eliz@gnu.org>
6318
6319 * simple.el (line-move): If goal-column is set, move by logical
6320 lines, not by display lines. (Bug#971)
6321 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6322 to reflect the above change.
6323
e69df516
SM
63242011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6325
6326 * image.el (imagemagick-register-types): Use regexp-opt.
6327
cbb0f9ab
CY
63282011-09-15 Chong Yidong <cyd@stupidchicken.com>
6329
6330 * window.el (display-buffer-base-action): Rename from
6331 display-buffer-default-action. Make default value empty.
6332 (display-buffer-overriding-action): Convert to defvar.
6333 (display-buffer-fallback-action): New var.
6334
25322144
CY
63352011-09-15 Chong Yidong <cyd@stupidchicken.com>
6336
6337 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6338 declaration.
6339 (package--add-to-archive-contents): If there is a duplicate entry
6340 with an older version, remove it.
6341 (package-menu-mark-delete, package-menu-mark-install)
6342 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6343 (package-menu-mark-obsolete-for-deletion):
6344 Use package-menu-get-status instead of a regexp search.
25322144
CY
6345 (package-menu-get-status): Use tabulated-list-entry.
6346 (package-menu-mark-upgrades): New command.
d770725a 6347 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6348 (package-menu-execute): Do installation before deletion.
6349 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6350 instead of checking major-mode.
6351 (package-menu--find-upgrades): New function.
6352
7520339c
LMI
63532011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6354
6355 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6356 passwords in the log buffer.
65a046c4
LMI
6357 (smtpmail-process-filter): Update the process marker so that the
6358 "broken by peer" status message is inserted in the right place.
7520339c 6359
d3c30954
SM
63602011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6361
3fe48822
SM
6362 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6363 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6364 bibtex-completion-at-point-function.
6365 (bibtex-completion-at-point-function): Use them.
6366
1b8b3954
SM
6367 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6368
d3c30954
SM
6369 * mpc.el (mpc-constraints-tag-lookup): New function.
6370 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6371 also to browser "album|playlist".
6372
72779976
JL
63732011-09-14 Juri Linkov <juri@jurta.org>
6374
6375 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6376 (isearch-edit-string): Use length of `isearch-string' when
6377 `isearch-fail-pos' returns nil.
6378 (isearch-message): Remove duplicate code and call
6379 `isearch-fail-pos' with arg `t'.
6380
a0bf2bcd
CY
63812011-09-14 Chong Yidong <cyd@stupidchicken.com>
6382
17bb0a2d
CY
6383 * replace.el (occur-mode-goto-occurrence): Don't force using other
6384 window (Bug#9499).
6385
a0bf2bcd
CY
6386 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6387
f678e0b6
MR
63882011-09-14 Martin Rudalics <rudalics@gmx.at>
6389
6390 * window.el (display-buffer-window): Remove.
6391 (display-buffer-record-window): Use help-setup window parameter
6392 instead of variable display-buffer-window.
6393 (display-buffer-function, special-display-buffer-names)
6394 (special-display-function): Mention help-setup parameter instead
6395 of display-buffer-window in doc-string.
d3c30954
SM
6396 * help.el (help-window-setup): New argument help-window.
6397 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6398 Reword some messages.
6399 (with-help-window): Pass window used for displaying the buffer
6400 to help-window-setup. Don't set display-buffer-window.
6401
8e39b2e8
GM
64022011-09-13 Glenn Morris <rgm@gnu.org>
6403
6404 * emacs-lisp/debug.el (debugger-make-xrefs):
6405 Preserve point. (Bug#9462)
6406
85e9c04b
CY
64072011-09-13 Chong Yidong <cyd@stupidchicken.com>
6408
6409 * window.el (window-deletable-p): Use next-frame.
6410
1b36ed6a
MR
64112011-09-13 Martin Rudalics <rudalics@gmx.at>
6412
6413 * window.el (window-auto-delete): Remove.
6414 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6415 dedication and previous buffers.
1b36ed6a
MR
6416 (switch-to-prev-buffer): Don't delete window.
6417 (delete-windows-on): Delete a window's frame if and only if the
6418 window is dedicated.
6419 (replace-buffer-in-windows): Delete buffer's window or frame if
6420 and only if window is dedicated.
6421 (quit-window): Handle quit-restore as before last change.
4d61f28d 6422 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6423
ef8ef9fb
CY
64242011-09-13 Chong Yidong <cyd@stupidchicken.com>
6425
6426 * window.el (window-deletable-p): Never delete the last frame on a
6427 given terminal.
6428
b2cba41e
GM
64292011-09-13 Glenn Morris <rgm@gnu.org>
6430
6431 * help.el (describe-key-briefly): Copy previous standard-output change.
6432
51553db6 64332011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6434
6435 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6436
b7556719
GM
64372011-09-13 Glenn Morris <rgm@gnu.org>
6438
6439 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6440 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6441
64b51947
CY
64422011-09-12 Chong Yidong <cyd@stupidchicken.com>
6443
6444 * dired-aux.el (dired-mark-read-string): Don't return default
6445 value on empty input (Bug#9361).
6446 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6447 Omit initial minibuffer contents.
6448 (dired-do-chmod): Signal an error on empty input.
6449 (dired-mark-read-string): Don't return default on empty input.
6450
6451 * files.el (file-modes-symbolic-to-number): Doc fix.
6452
393a301e
SM
64532011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6454
6455 * international/mule-cmds.el (ucs-completions): Remove.
6456 (read-char-by-name): Use complete-with-action instead; add metadata.
6457
fa5660f9
CY
64582011-09-11 Chong Yidong <cyd@stupidchicken.com>
6459
6460 * window.el (display-buffer--action-function-custom-type)
6461 (display-buffer--action-custom-type): New vars.
6462 (display-buffer-alist, display-buffer-default-action)
6463 (display-buffer-overriding-action): Add defcustom types.
6464
4a592f66
CY
6465 * frame.el (delete-other-frames): Doc fix (Bug#276).
6466
73d56dbd
LMI
64672011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6468
6469 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6470
37ac18a3
CY
64712011-09-11 Chong Yidong <cyd@stupidchicken.com>
6472
6473 Change modes that used same-window-* vars to use switch-to-buffer.
6474
6475 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6476 Use switch-to-buffer.
6477
6478 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6479 (customize-browse, custom-buffer-create-other-window):
6480 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6481
6482 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6483 (Info-prev, Info-up, Info-speedbar-goto-node)
6484 (info-display-manual): Use switch-to-buffer.
6485 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6486
6487 * mail/sendmail.el (mail): Use switch-to-buffer.
6488 (mail-recover): Use switch-to-buffer-other-window.
6489
6490 * cmuscheme.el (run-scheme, switch-to-scheme):
6491 * ielm.el (ielm):
6492 * shell.el (shell):
6493 * net/rlogin.el (rlogin):
6494 * net/telnet.el (telnet, rsh):
6495 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6496
10195bd6
AS
64972011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6498
6499 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6500
b322f63a
LMI
65012011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6502
39d7fed6
LMI
6503 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6504 so don't mention it (bug#9301).
ba5a81f1 6505 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6506
ee0e9f11
LMI
6507 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6508 match `x', `w32' and `ns', like the manual says (bug#9029).
6509
0b1c89c1 6510 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6511 (process-kill-buffer-query-function): Mention the buffer name in
6512 the query.
0b1c89c1 6513
77549ea8
LMI
6514 * image-mode.el (image-next-line): The line parameter is mandatory
6515 (bug#9258).
6516
803ef892
LMI
6517 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6518 which can be useful (bug#9301).
6519
12980837
LMI
6520 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6521
91054f8f
LMI
6522 * subr.el (match-string): Mention that the current buffer should
6523 be the same as the search was done in (bug#9282).
6524
b322f63a
LMI
6525 * facemenu.el: Disable the remove-* commands if the mark isn't
6526 active (bug#9162).
6527
3199b96f
CY
65282011-09-10 Chong Yidong <cyd@stupidchicken.com>
6529
6530 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6531 of display-buffer.
6532 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6533
6534 * replace.el (occur-mode-goto-occurrence)
6535 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6536 and display-buffer.
6537
6538 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6539 display-buffer.
6540
6541 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6542 special-display and same-window variables.
6543 (mail-other-window): Use switch-to-buffer-other-window.
6544 (mail-other-frame): USe switch-to-buffer-other-frame.
6545
393a301e
SM
6546 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6547 Use display-buffer-other-frame.
3199b96f
CY
6548 (gdb-display-gdb-buffer): Use pop-to-buffer.
6549
6550 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6551
6552 * progmodes/python.el: Don't set same-window-buffer-names.
6553
6554 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6555
6556 * window.el (display-buffer-alist): Add *Python*.
6557
8319e0bf
CY
65582011-09-10 Chong Yidong <cyd@stupidchicken.com>
6559
6560 * window.el (display-buffer-alist): Add entry for buffers
6561 previously handled same-window-*.
6562 (display-buffer-alist, display-buffer-default-action)
6563 (display-buffer-overriding-action): Mark as risky.
6564 (display-buffer-alist): Document action function changes.
6565 (display-buffer--same-window-action)
6566 (display-buffer--other-frame-action): New variables.
6567 (switch-to-buffer, display-buffer-other-frame): Use them.
6568 (display-buffer): Rename reuse-frame entry to reusable-frames.
6569 (display-buffer-reuse-selected-window): Function deleted.
6570 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6571 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6572 (display-buffer-special): New function.
6573 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6574 display-buffer-reuse-or-pop-window. Split off special-display
6575 part into display-buffer-special.
6576 (display-buffer-use-some-window): Don't perform any special
6577 pop-up-frames handling.
6578 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6579 (display-buffer--maybe-same-window): Rename from
0d3ff375 6580 display-buffer-maybe-same-window.
8319e0bf 6581
919a69aa
CY
6582 * info.el: Don't set same-window-regexps.
6583 (info-setup): New function.
6584 (info-other-window, info): Call it.
6585
6586 * cus-edit.el: Don't set same-window-regexps.
6587 (customize-group): New argument.
6588 (customize-group-other-window): Use it.
6589 (customize-face, customize-face-other-window): Likewise.
6590 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6591
8319e0bf
CY
6592 * net/rlogin.el:
6593 * net/telnet.el:
6594 * progmodes/gud.el: Don't set same-window-regexps.
6595
6596 * cmuscheme.el:
6597 * ielm.el:
6598 * shell.el:
6599 * mail/sendmail.el:
6600 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6601
25173000
JL
66022011-09-10 Juri Linkov <juri@jurta.org>
6603
6604 * isearch.el (isearch-edit-string): Remove obsolete mention of
6605 `C-w' (`isearch-yank-word-or-char') from docstring.
6606 (isearch-query-replace): Fix typo in docstring (bug#9466).
6607
056e44ef
JL
66082011-09-10 Juri Linkov <juri@jurta.org>
6609
6610 * paren.el (show-paren-function): Don't show escaped parens.
6611 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6612
c3760c17
EZ
66132011-09-10 Eli Zaretskii <eliz@gnu.org>
6614
6615 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6616 (mm-default-file-encoding): Remove autoload forms, they are
6617 replaced with autoload cookies in mml.el and mm-encode.el.
6618 (mail-add-attachment): New command.
6619 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6620 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6621 the doc string.
6622 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6623
fece895e
RT
66242011-09-10 Reuben Thomas <rrt@sc3d.org>
6625
e69df516
SM
6626 * simple.el (count-words-region): Use buffer if there's no region
6627 (bug#9429).
fece895e 6628
5e68ce4a
JL
66292011-09-09 Juri Linkov <juri@jurta.org>
6630
6631 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6632 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6633 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6634
0a6b9622
AM
66352011-09-09 Alan Mackenzie <acm@muc.de>
6636
6637 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6638 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6639
14a29deb
EZ
66402011-09-09 Eli Zaretskii <eliz@gnu.org>
6641
6642 Fix for Savannah bug#9392.
6643 * simple.el (mail-encode-mml): New defvar.
6644
6645 * mail/rmail.el (mail-encode-mml): Add a defvar.
6646 (rmail-enable-mime-composing): Default to t.
6647 (rmail-forward): Use MIME method of forwarding only if both
6648 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6649 Set mail-encode-mml non-nil if the MIME method was used.
6650
6651 * mail/sendmail.el (mml-to-mime): Add autoload form.
6652 (mail-encode-mml): Add a defvar.
6653 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6654 to nil.
6655 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6656 message through mml-to-mime, and reset mail-encode-mml to nil.
6657
28c45130
GM
66582011-09-09 Glenn Morris <rgm@gnu.org>
6659
6660 * woman.el (woman-if-body): When processing an .el block,
6661 do not delete the next .el block as well. (Bug#9447)
69f4b618 6662 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6663
9b1c252e
MR
66642011-09-08 Martin Rudalics <rudalics@gmx.at>
6665
6666 * window.el (window-deletable-p): Make sure window is live before
6667 invoking window-prev-buffers.
6668
567457e3
LL
66692011-09-08 Leo Liu <sdl.web@gmail.com>
6670
6671 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6672
97f05794
JL
66732011-09-08 Juri Linkov <juri@jurta.org>
6674
6675 * progmodes/compile.el (compilation-environment): Make it
6676 a defcustom (bug#8340).
6677
8b0874b5
MR
66782011-09-08 Martin Rudalics <rudalics@gmx.at>
6679
6680 * window.el (frame-auto-delete): Rename to window-auto-delete.
6681 Make it control auto-deletion of windows and/or frames.
6682 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6683 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6684 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6685 Rewrite handling of case when window/frame can be deleted.
6686 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6687 argument t. (Bug#9456)
8b0874b5 6688
4feb6e73
CY
66892011-09-07 Chong Yidong <cyd@stupidchicken.com>
6690
6691 * help-mode.el (help-mode): Restore autoload.
6692
91ab9c13
JL
66932011-09-07 Juri Linkov <juri@jurta.org>
6694
6695 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6696 `compilation-environment'. Set buffer-local
6697 `compilation-environment' to `thisenv' later after (funcall mode).
6698 (Bug#8340)
6699
6700 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6701 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6702 instead of replacing its value. (Bug#8340)
6703
0527e251
JL
67042011-09-07 Juri Linkov <juri@jurta.org>
6705
6706 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6707 based on text properties put by `grep-filter' instead of matching
6708 escape sequences.
6709 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6710 to the value of `grep-error-screen-columns' (bug#9438).
6711
249f792c
JL
67122011-09-07 Juri Linkov <juri@jurta.org>
6713
6714 * simple.el (next-error-highlight, next-error-highlight-no-select):
6715 Doc fix (bug#9432).
6716
ff7271b9
OT
67172011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6718
6719 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6720 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6721
183fc730
LL
67222011-09-07 Leo Liu <sdl.web@gmail.com>
6723
6724 * net/rcirc.el (rcirc-mode): Conditionally initialize
6725 rcirc-input-ring.
6726
77694924
SM
67272011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6728
6729 * emacs-lisp/find-func.el (find-function-C-source): Only set
6730 find-function-C-source-directory after checking that we found a source
6731 file there (bug#9440).
6732
d809b8eb
AM
67332011-09-06 Alan Mackenzie <acm@muc.de>
6734
6735 * isearch.el (isearch-other-meta-char): Wherever a key list is
6736 unread, "unread" the prefix arg, too. This fixes bug #8901.
6737
453de99f
OG
67382011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6739
6740 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6741
90439906
JL
67422011-09-05 Juri Linkov <juri@jurta.org>
6743
6744 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6745
f62bd846
JL
67462011-09-05 Juri Linkov <juri@jurta.org>
6747
6748 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6749 keeping point where processing of grep matches begins, and
6750 continue to delete remaining escape sequences from the same point.
6751 (grep-filter): Make leading zero optional in "0?1;31m" because
6752 git-grep emits "\033[1;31m" escape sequences unlike expected
6753 "\033[01;31m" as GNU Grep does (bug#9408).
6754 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6755
045820ec
JL
67562011-09-05 Juri Linkov <juri@jurta.org>
6757
6758 * subr.el (y-or-n-p): Capitalize "yes".
6759
f5e29b9b
MA
67602011-09-04 Michael Albinus <michael.albinus@gmx.de>
6761
6762 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6763 `tramp-cache-unload-hook' where appropriate.
6764 (tramp-methods): Rename `tramp-remote-sh' to
6765 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6766 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6767
6768 * net/tramp-sh.el (top): Don't require 'shell.
6769 (tramp-methods): Add `tramp-remote-shell' and
6770 `tramp-remote-shell-args' entries.
6771 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6772 (tramp-sh-handle-shell-command): Remove.
6773 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6774 Use `tramp-remote-shell'.
6775
2784c434
CY
67762011-09-03 Chong Yidong <cyd@stupidchicken.com>
6777
393a301e 6778 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6779 (sendmail-query-once): Save directly to send-mail-function.
6780 Update message-send-mail-function too.
6781
6782 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6783
464cdf56
CS
67842011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6785
6786 * progmodes/python.el (python-mode-map): Use correct function to
6787 start python interpreter from menu-bar (as reported by Geert
6788 Kloosterman).
6789 (inferior-python-mode-map): Fix typo.
393a301e 6790 (python-shell-map): Remove.
464cdf56 6791
d37e5c87
DD
67922011-09-03 Deniz Dogan <deniz@dogan.se>
6793
6794 * net/rcirc.el (rcirc-print): Simplify code for
6795 rcirc-scroll-show-maximum-output. There is no need to walk
6796 through all windows to find the right one.
6797
f3ada0ee
CS
67982011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6799
6800 * help.el (help-return-method): Doc fix.
6801
1f3c99ca
MR
68022011-09-03 Martin Rudalics <rudalics@gmx.at>
6803
6804 * window.el (window-deletable-p): Don't return a non-nil value
6805 when there's a buffer that was shown in the window before.
6806 (Bug#9419)
393a301e
SM
6807 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6808 Set window's previous buffers to nil.
1f3c99ca 6809
a3cf097f
EZ
68102011-09-03 Eli Zaretskii <eliz@gnu.org>
6811
6812 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6813 newline before and after the tag line, so it doesn't interfere
6814 with determining the paragraph direction of bidirectional text.
6815
3d03de90
LL
68162011-09-03 Leo Liu <sdl.web@gmail.com>
6817
6818 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6819
c3313451
CY
68202011-09-02 Chong Yidong <cyd@stupidchicken.com>
6821
393a301e 6822 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6823 (pop-to-buffer): Change interactive spec. Pass second argument
6824 directly to display-buffer.
6825 (display-buffer): Fix interactive spec. Use functionp to
6826 distinguish between a function and a list of functions.
6827
6828 * abbrev.el (edit-abbrevs):
6829 * arc-mode.el (archive-extract):
6830 * autoinsert.el (auto-insert):
6831 * bookmark.el (bookmark-bmenu-list):
6832 * files.el (find-file):
6833 * view.el (view-buffer):
6834 * progmodes/compile.el (compilation-goto-locus):
6835 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6836
89894cd8
CY
68372011-09-02 Chong Yidong <cyd@stupidchicken.com>
6838
6839 * window.el (display-buffer-alist): Doc fix.
6840 (display-buffer): Add docstring. Don't treat
6841 display-buffer-default specially.
6842 (display-buffer-reuse-selected-window)
6843 (display-buffer-same-window, display-buffer-maybe-same-window)
6844 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6845 (display-buffer-pop-up-window)
6846 (display-buffer-reuse-or-pop-window)
6847 (display-buffer-use-some-window): New functions.
6848 (display-buffer-default-action): Use them.
393a301e 6849 (display-buffer-default): Delete.
89894cd8
CY
6850 (pop-to-buffer-1): Fix choice of actions.
6851
ae0bc9fb
SM
68522011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6853
6854 * minibuffer.el (completion--insert-strings): Don't get confused by
6855 completion entries that end with an LF char.
6856
e9d90883
EZ
68572011-09-01 Eli Zaretskii <eliz@gnu.org>
6858
6859 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6860
437014c8
CY
68612011-09-01 Chong Yidong <cyd@stupidchicken.com>
6862
6863 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6864 (display-buffer-same-window, display-buffer-other-window):
6865 New functions.
437014c8
CY
6866 (pop-to-buffer-1): New function. Use the above.
6867 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6868 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6869
6870 * view.el (view-buffer-other-window, view-buffer-other-frame):
6871 Just use pop-to-buffer.
6872
a5e063d5
TV
68732011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6874
6875 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6876
793d32bb
WH
68772011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6878
6879 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6880
d65e4c15
RS
68812011-08-31 Richard Stallman <rms@gnu.org>
6882
6883 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6884 of the separation of rmail-view-buffer from rmail-buffer.
6885 If you say no to "replace original", the decrypt is in the
6886 view buffer. If you say yes, the decrypt goes into the
6887 rmail buffer also.
6888
f818cd2a
MR
68892011-08-31 Martin Rudalics <rudalics@gmx.at>
6890
6891 * window.el (display-buffer-window): Rewrite doc-string.
6892 (display-buffer-record-window): New function.
6893 (display-buffer-macro-specifiers)
6894 (display-buffer-even-window-sizes, display-buffer-set-height)
6895 (display-buffer-set-width, display-buffer-in-window)
6896 (display-buffer-reuse-window, display-buffer-split-specifiers)
6897 (display-buffer-side-specifiers, display-buffer-split-window-1)
6898 (display-buffer-split-window, display-buffer-split-atom-window)
6899 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6900 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6901 (display-buffer-other-window-means-other-frame)
6902 (display-buffer-normalize-special)
6903 (display-buffer-normalize-default)
6904 (display-buffer-normalize-argument)
6905 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6906 (display-buffer-normalize-specifiers, display-buffer-frame)
6907 (display-buffer-same-window, display-buffer-same-frame)
6908 (display-buffer-other-window)
6909 (display-buffer-same-frame-other-window)
6910 (display-buffer-other-frame, pop-to-buffer-same-window)
6911 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6912 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6913 (switch-to-buffer-same-frame)
6914 (switch-to-buffer-other-window-same-frame)
6915 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6916 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6917 (display-buffer-alist-set): Remove.
6918 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6919 (special-display-regexps, special-display-function):
6920 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6921 parameter.
6922 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6923 (special-display-frame-alist, special-display-popup-frame)
6924 (same-window-buffer-names, same-window-regexps, same-window-p)
6925 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6926 (split-window-preferred-function, split-height-threshold)
6927 (split-width-threshold, window-splittable-p)
6928 (split-window-sensibly, window--try-to-split-window)
6929 (window--frame-usable-p, even-window-heights)
6930 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6931 (window--display-buffer-2, display-buffer-other-frame):
6932 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6933 (display-buffer-default, display-buffer-assq-regexp): New functions.
6934 (display-buffer-alist): Rewrite doc-string.
6935 (display-buffer-default-action)
6936 (display-buffer-overriding-action): New variables.
6937 (display-buffer, switch-to-buffer): Rewrite.
6938 (pop-to-buffer): Restore Emacs 23 behavior but use
6939 window-normalize-buffer-to-display.
6940 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6941 Restore Emacs 23 behavior but use
6942 window-normalize-buffer-to-switch-to.
6943 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6944 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6945 Rewrite using Emacs 23 options.
f818cd2a 6946
5bc3b51d
MA
69472011-08-31 Michael Albinus <michael.albinus@gmx.de>
6948
6949 * net/tramp.el (tramp-root-regexp): Remove.
6950 (tramp-completion-file-name-regexp-unified)
6951 (tramp-completion-file-name-regexp-separate)
6952 (tramp-completion-file-name-regexp-url): Don't use leading volume
6953 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6954 (tramp-drop-volume-letter): Simplify definition.
6955 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6956
b1a4f8e1
SM
69572011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6960 (bug#9356).
6961
5664fa7b
RT
69622011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6963
b1a4f8e1 6964 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6965
9a45d6c3
JL
69662011-08-29 Juri Linkov <juri@jurta.org>
6967
6968 * isearch.el (isearch-done): Don't display message "Mark saved"
6969 when arg `edit' is non-nil to prevent its flicker in the echo area.
6970
fb87e0fb
CY
69712011-08-28 Chong Yidong <cyd@stupidchicken.com>
6972
6973 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6974 obsolete packages for deletion.
6975
09ac1c2a
CS
69762011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6977
6978 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6979 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6980 view-mode from help-mode.
6981 (help-xref-override-view-map): Remove.
6982 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6983 view-mode is not used anymore.
6984
7a1ff57f
CY
69852011-08-28 Chong Yidong <cyd@stupidchicken.com>
6986
6987 * server.el (server-port): Doc fix.
6988
b9696605
CY
6989 * cus-theme.el (custom-theme-choose-mode): Inherit from
6990 special-mode (Bug#9124).
6991 (custom-theme-choose-mode-map): Add special-mode to parent.
6992
ef8cdf8c
AM
69932011-08-28 Alan Mackenzie <acm@muc.de>
6994
6995 * progmodes/cc-fonts.el
6996 (c-make-font-lock-BO-decl-search-function): New function.
6997 (c-basic-matchers-after - "Fontify the clauses after various
6998 keywords"): Extract the three keyword lists for the 3 erroneous
6999 constructs from the list of four, and use the new function above
7000 in place of an old one.
7001
27de4e20
DD
70022011-08-28 Deniz Dogan <deniz@dogan.se>
7003
7004 * net/rcirc.el (rcirc-insert-prev-input)
7005 (rcirc-insert-next-input): Remove unused argument.
7006
356a3681
SM
70072011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7008
7009 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7010
3fc9b218
AM
70112011-08-27 Alan Mackenzie <acm@muc.de>
7012
7013 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7014 handle function pointer parameters properly.
7015
538a061c
MR
70162011-08-27 Martin Rudalics <rudalics@gmx.at>
7017
7018 * window.el (display-buffer-reuse-window): Fix case where
7019 selected window was reused with non-nil OTHER-WINDOW argument.
7020 (Bug#9381)
7021
35b1c40c
DD
70222011-08-27 Deniz Dogan <deniz@dogan.se>
7023
7024 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7025 oftc's NickServ messages.
7026
2f6a3e79
GM
70272011-08-27 Glenn Morris <rgm@gnu.org>
7028
7029 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7030
7254299e
CY
70312011-08-26 Chong Yidong <cyd@stupidchicken.com>
7032
7033 * emacs-lisp/package.el (package-install): Call package-initialize
7034 if called interactively.
7035
f8ccf167
LL
70362011-08-26 Leo Liu <sdl.web@gmail.com>
7037
7038 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7039
3e8cd5ce
JL
70402011-08-25 Juri Linkov <juri@jurta.org>
7041
7042 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7043 `search-whitespace-regexp' (bug#9364).
7044
93eb7113
JL
70452011-08-25 Juri Linkov <juri@jurta.org>
7046
7047 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7048 `regexp-search-ring' to their global values to protect from
7049 updating by `read-from-minibuffer' (bug#9185).
7050
f65d1611
JL
70512011-08-25 Juri Linkov <juri@jurta.org>
7052
7053 * textmodes/ispell.el (ispell-command-loop): Add newline
7054 at the end of the "Use option `i'..." line.
7055
f1cf7a31
JL
70562011-08-25 Juri Linkov <juri@jurta.org>
7057
7058 * battery.el (display-battery-mode): If `battery-status-function'
7059 or `battery-mode-line-format' is nil, display the message and set
7060 `display-battery-mode' to nil (bug#9363).
7061
0c95fcf7
EZ
70622011-08-25 Eli Zaretskii <eliz@gnu.org>
7063
7064 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7065 bidi-string-mark-left-to-right; they are unnecessary now.
7066
a2ebe600
DD
70672011-08-25 Deniz Dogan <deniz@dogan.se>
7068
7069 * net/quickurl.el: Documentation typo fixes.
7070
e4ed06f1
CY
70712011-08-25 Chong Yidong <cyd@stupidchicken.com>
7072
7073 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7074
e5f1c99e
GM
70752011-08-25 Glenn Morris <rgm@gnu.org>
7076
b2948976
GM
7077 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7078
e5f1c99e
GM
7079 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7080 (smtpmail-via-smtp): Handle nil response from smtp.
7081
f22f4808
JL
70822011-08-24 Juri Linkov <juri@jurta.org>
7083
7084 * proced.el (proced-marked): Inherit from `error' instead of
7085 `font-lock-warning-face'.
7086
7087 * ibuffer.el (ibuffer-marked-face): Change default face from
7088 `font-lock-warning-face' to `warning'.
7089 (ibuffer-deletion-face): Change default face from
7090 `font-lock-type-face' to `error'.
7091
7092 * battery.el (battery-update): Use the face `error' instead of
7093 `font-lock-warning-face' (bug#6117).
7094
6a93965e
JL
70952011-08-24 Juri Linkov <juri@jurta.org>
7096
7097 * faces.el (success): Change face color from "Green3" to
7098 "ForestGreen" on light background (bug#9353).
7099
1ed43b09
CY
71002011-08-24 Chong Yidong <cyd@stupidchicken.com>
7101
5664fa7b
RT
7102 * window.el (quit-window): Rename from quit-restore-window.
7103 Use same arglist as old quit-window.
1ed43b09
CY
7104 (frame-auto-delete): Doc fix.
7105
7106 * view.el (view-mode-exit): Use quit-window.
7107
11dcdbb2
JL
71082011-08-24 Juri Linkov <juri@jurta.org>
7109
7110 * isearch.el (isearch-ring-adjust1): Start visiting previous
7111 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7112 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7113 for empty search string (when the last search string is reused
7114 automatically) to adjust the isearch ring to the last element and
7115 prepare the correct index for further M-p commands (bug#9185).
7116
de62b4df
KH
71172011-08-24 Kenichi Handa <handa@m17n.org>
7118
7119 * international/ucs-normalize.el: If decomposition property of
7120 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7121 nil.
7122 (nfd, nfkd): Likewise.
7123
963b492b
SM
71242011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7125
7126 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7127 from process filters aren't reliably transmitted to the surrounding
7128 accept-process-output.
7129 (mpc-proc-check): New function.
7130 (mpc-proc-sync): Use it (bug#8293)
7131
93b6b5e1
SM
71322011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7133
7134 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7135 Add compatibility functions (bug#9313).
7136
bca633fb
EZ
71372011-08-23 Eli Zaretskii <eliz@gnu.org>
7138
b177498a
EZ
7139 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7140
6df6ae42 7141 * international/uni-bidi.el: Regenerate.
bca633fb 7142
0902a04e
KH
71432011-08-23 Kenichi Handa <handa@m17n.org>
7144
7145 * international/charprop.el:
7146 * international/uni-bidi.el:
7147 * international/uni-category.el:
7148 * international/uni-combining.el:
7149 * international/uni-comment.el:
7150 * international/uni-decimal.el:
7151 * international/uni-decomposition.el:
7152 * international/uni-digit.el:
7153 * international/uni-lowercase.el:
7154 * international/uni-mirrored.el:
7155 * international/uni-name.el:
7156 * international/uni-numeric.el:
7157 * international/uni-old-name.el:
7158 * international/uni-titlecase.el:
7159 * international/uni-uppercase.el: Regenerate.
7160
3bbf23bc
MR
71612011-08-23 Martin Rudalics <rudalics@gmx.at>
7162
7163 * help.el (help-window-setup): Fix message displayed when other
7164 window is reused. (Bug#9341)
7165
b3fd59bd
SM
71662011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7167
1802e444
SM
7168 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7169 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7170
b3fd59bd
SM
7171 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7172 Mark obsolete.
7173 * shell.el (shell-parse-pcomplete-arguments): New function.
7174 (shell-completion-vars): Use it instead (bug#9160).
7175
4eb61348
SM
71762011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7177
867cab74
SM
7178 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7179 strings and comments (bug#9333).
7180
4eb61348
SM
7181 * emacs-lisp/debug.el (debug-arglist): New function.
7182 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7183 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7184
262a1439
JL
71852011-08-22 Juri Linkov <juri@jurta.org>
7186
56ee679c
JL
7187 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7188 Revert regexp that highlights output switches to its old
7189 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7190
262a1439
JL
7191 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7192 to check for empty output (bug#9226).
7193
f13f86fb
CY
71942011-08-22 Chong Yidong <cyd@stupidchicken.com>
7195
7196 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7197 symbol-constituent as the default, as that stops font-lock from
7198 working properly (Bug#8843).
7199
c65c9622
LMI
72002011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7201
7202 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7203 `coding-system-for-*' around the process open call to avoid
7204 auth-source side effects.
e7f2c178 7205 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7206 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7207 probe hangs.
c65c9622 7208
23a8a5ab
CY
72092011-08-21 Chong Yidong <cyd@stupidchicken.com>
7210
ff98b2dd
CY
7211 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7212
23a8a5ab
CY
7213 * emacs-lisp/find-func.el (find-function-noselect): New arg
7214 lisp-only.
7215
7216 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7217 signal an error for built-in functions (Bug#6664).
7218
f5e3c598
LMI
72192011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7220
7221 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7222 (smtpmail-try-auth-methods): Use it.
7223
a3f2468a
CY
72242011-08-21 Chong Yidong <cyd@stupidchicken.com>
7225
2c34e8da
CY
7226 * font-lock.el (font-lock-fontify-region)
7227 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7228 (font-lock-default-unfontify-buffer)
7229 (font-lock-default-fontify-region)
7230 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7231
b3fd59bd
SM
7232 * progmodes/compile.el (compilation-error-properties):
7233 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7234 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7235 `ant' regexp.
ee31aabc 7236
a3f2468a
CY
7237 * net/browse-url.el (browse-url-firefox): Don't call
7238 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7239
8e999f70
GM
72402011-08-20 Glenn Morris <rgm@gnu.org>
7241
c21a496a
GM
7242 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7243
59ee0542
GM
7244 * tutorial.el (tutorial--default-keys): Update some default bindings.
7245
8e999f70
GM
7246 * files.el (hack-local-variables): Fully ignore case for "mode:".
7247
e3715033
AM
72482011-08-20 Alan Mackenzie <acm@muc.de>
7249
7250 Resolve invalid use of a regexp in regexp-opt.
7251
4d61f28d
JB
7252 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7253 detection for a java annotation.
e3715033 7254
4d61f28d 7255 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7256 detection for a java annotation.
7257
4d61f28d
JB
7258 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7259 handling for java.
e3715033
AM
7260 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7261
04ed2e9c
CY
72622011-08-20 Chong Yidong <cyd@stupidchicken.com>
7263
7264 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7265 (Bug#9274).
7266
826cee64
AM
72672011-08-20 Alan Mackenzie <acm@muc.de>
7268
58179cce 7269 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7270 such a construct. Mainly for when jit-lock etc. starts a chunk
7271 here.
7272
58179cce 7273 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7274 variable.
58179cce 7275 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7276 c-make-font-lock-search-function.
7277 (c-make-font-lock-search-function): Use the above function.
7278 (c-make-font-lock-context-search-function): New function.
7279 (c-cpp-matchers): Enhance the preprocessor expression case with
7280 the above function
7281 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7282 which takes an expression.
7283
7284 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7285
13009bd8
MR
72862011-08-20 Martin Rudalics <rudalics@gmx.at>
7287
7288 * window.el (display-buffer-reuse-window)
7289 (display-buffer-pop-up-window): Don't reuse or split a side
7290 window.
7291
9234ff7f
GM
72922011-08-19 Glenn Morris <rgm@gnu.org>
7293
7294 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7295 Downcase "Mode:". (Bug#9331)
9234ff7f 7296
f635daa1
CY
72972011-08-18 Chong Yidong <cyd@stupidchicken.com>
7298
7299 * international/characters.el: Add L and R categories.
7300
7301 * subr.el (bidi-string-mark-left-to-right): Rename from
7302 string-mark-left-to-right. Use category search.
7303
7304 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7305
bc987f8b
JL
73062011-08-18 Juri Linkov <juri@jurta.org>
7307
7308 * faces.el (error, warning, success): New faces with definitions
7309 copied from old default values of `font-lock-warning-face',
7310 `compilation-warning', `compilation-info' (bug#6117).
7311
7312 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7313
7314 * progmodes/compile.el (compilation-error): Inherit from `error'.
7315 (compilation-warning): Inherit from `warning'.
7316 (compilation-info): Inherit from `success'.
7317
7318 * dired.el (dired-marked): Inherit from `warning'.
7319 (dired-flagged): Inherit from `error'.
7320
57173b96
LMI
73212011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7322
3e79eb87
LMI
7323 * mail/smtpmail.el (auth-source): Require to avoid problems with
7324 binding variables (bug#9298). Also clean up some unused
7325 autoloads.
7326
b3fd59bd
SM
7327 * net/network-stream.el (network-stream-open-starttls):
7328 Support using starttls.el without using gnutls-cli.
57173b96 7329
02b404de
JL
73302011-08-17 Juri Linkov <juri@jurta.org>
7331
7332 * progmodes/grep.el (rgrep): Handle the case when
7333 `grep-find-command' is a cons cell (bug#9278).
7334
8c9177f2
MR
73352011-08-17 Martin Rudalics <rudalics@gmx.at>
7336
7337 * window.el (display-buffer-pop-up-frame): Run frame creation
7338 function with BUFFER current (as special-display-popup-frame
7339 does). Reported by Drew Adams.
7340
3644a0ab
DU
73412011-08-17 Daiki Ueno <ueno@unixuser.org>
7342
7343 * epa-mail.el: Simplify GnuPG group expansion using
7344 epg-expand-group.
7345 (epa-mail-group-alist, epa-mail-group-modtime)
7346 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7347 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7348 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7349 Remove.
7350
5e617bc2 73512011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7352
7353 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7354
9c4aeabf
AM
73552011-08-16 Alan Mackenzie <acm@muc.de>
7356
7357 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7358 Correct, to avoid the inside of macros.
7359
3a99bf64
RS
73602011-08-16 Richard Stallman <rms@gnu.org>
7361
04963aa8
RS
7362 * epa-mail.el: Handle GnuPG group definitions.
7363 (epa-mail-group-alist, epa-mail-group-modtime)
7364 (epa-mail-gnupg-conf-file): New variables.
7365 (epa-mail-parse-groups, epa-mail-sync-groups)
7366 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7367 (epa-mail-expand-recipients): New functions.
7368 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7369
177549d0
RS
7370 * mail/rmail.el (rmail-epa-decrypt): New command.
7371
fe38beef
RS
7372 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7373 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7374 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7375 (epa-decrypt-armor-in-region): Make error message clearer.
7376
934eacb9
SM
73772011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7380 and "a2b" to "ab" for `prefix'.
7381
d024fb4e
CY
73822011-08-14 Chong Yidong <cyd@stupidchicken.com>
7383
7384 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7385 filter groups.
de148fee
CY
7386 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7387 Fourquet (Bug#8804).
d024fb4e 7388
62f1ca49
JB
73892011-08-12 Juanma Barranquero <lekktu@gmail.com>
7390
7391 * startup.el (argi): Declare as global variable (bug#9275).
7392
9ccaaa4b
CY
73932011-08-12 Chong Yidong <cyd@stupidchicken.com>
7394
7395 * subr.el (string-mark-left-to-right): Search the entire string
7396 for RTL script, not just the terminating character. Doc fix.
7397
a3dae87a
SM
73982011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7399
6cd18349
SM
7400 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7401 New function.
7402 (js--regexp-literal, js-syntax-propertize-function): Remove.
7403 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7404 (js-mode-map): Don't rebind electric keys.
7405 (js-insert-and-indent): Remove.
7406 (js-mode): Setup electric-layout and electric-indent instead.
7407
a3dae87a
SM
7408 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7409
9d5cb631
DU
74102011-08-12 Daiki Ueno <ueno@unixuser.org>
7411
7412 * epa.el (epa-progress-callback-function): Fix the logic of
7413 displaying progress.
7414 * epa-file.el (epa-file-insert-file-contents): Make progress
7415 display more user-friendly.
7416 (epa-file-write-region): Ditto.
7417
3e26a4a2
CY
74182011-08-10 Chong Yidong <cyd@stupidchicken.com>
7419
7420 * subr.el (string-mark-left-to-right): New function.
7421
7422 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7423 Use string-mark-left-to-right.
7424 (list-buffers-noselect): Caller changed.
7425
a3dae87a
SM
7426 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7427 Use string-mark-left-to-right.
3e26a4a2
CY
7428 (tabulated-list-print): Recenter after moving point.
7429
ac8cf6e6
JL
74302011-08-10 Juri Linkov <juri@jurta.org>
7431
7432 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7433 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7434 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7435
8d96c9a4
CY
74362011-08-09 Chong Yidong <cyd@stupidchicken.com>
7437
7438 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7439 (Bug#7554).
7440
7be1c708 74412011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7442
7443 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7444 character. (Bug#6594)
7445
37e11a63
CY
74462011-08-08 Chong Yidong <cyd@stupidchicken.com>
7447
839dde57
CY
7448 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7449 (image-dired--with-db-file): New macro.
7450 (image-dired-write-tags, image-dired-remove-tag)
7451 (image-dired-create-gallery-lists, image-dired-write-comments)
7452 (image-dired-get-comment, image-dired-mark-tagged-files)
7453 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7454 (image-dired-gallery-generate): Use insert-file-contents.
7455
37e11a63
CY
7456 * time.el (display-time-world-list, display-time-world-display):
7457 * time-stamp.el (time-stamp-string):
7458 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7459 set-time-zone-rule (Bug#7337).
7460
0b4946c4
DU
74612011-08-08 Daiki Ueno <ueno@unixuser.org>
7462
7463 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7464 (epg-error-to-string, epg-errors-to-string): New function.
7465 (epg-wait-for-completion): Reverse errors list.
7466 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7467 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7468 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7469 (epg-sign-keys, epg-generate-key-from-file)
7470 (epg-generate-key-from-string): Format errors by using
7471 epg-errors-to-string (bug#9255).
7472 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7473
75bfc667
JL
74742011-08-07 Juri Linkov <juri@jurta.org>
7475
7476 * faces.el (list-faces-display): Remove extra angle bracket
7477 from `help-mode-map'.
7478
7479 * info.el (Info-history-toc-nodes): Doc fix.
7480
7481 * longlines.el (longlines-mode): Doc fix.
7482
673e08bb
SM
74832011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7484
4640dd88
SM
7485 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7486 of statements and in a few more cases (bug#9183).
7487
673e08bb
SM
7488 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7489 New functions.
7490 (cl-transform-lambda): Use them (bug#9239).
7491
89b3f019
MR
74922011-08-05 Martin Rudalics <rudalics@gmx.at>
7493
7494 * window.el (display-buffer-same-window)
7495 (display-buffer-same-frame, display-buffer-other-window)
7496 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7497 (pop-to-buffer-other-window)
7498 (pop-to-buffer-same-frame-other-window)
7499 (pop-to-buffer-other-frame): Make them defuns.
7500 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7501
640c8776
SM
75022011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7503
7504 * subr.el (make-composed-keymap): Move from C. Change calling
7505 convention, and improve docstring to bring attention to a subtle point.
7506 * minibuffer.el (completing-read-default): Adjust accordingly.
7507
63648a95
MA
75082011-08-03 Michael Albinus <michael.albinus@gmx.de>
7509
7510 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7511 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7512
7513 * net/trampver.el: Update release number.
7514
b796c9b7
SM
75152011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7516
7517 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7518 "in" (bug#9190).
7519
2239d7d5
LMI
75202011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7521
e07dd7c3
LMI
7522 * mail/sendmail.el (sendmail-query-once): Restore the current
7523 buffer after querying (bug#9074).
7524
0e6a2bd7
LMI
7525 * dired.el (dired-flagged): Use different faces for marked and
7526 flagged files (bug#6117).
7527
ce887515
LMI
7528 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7529 (bug#4433).
7530
92f2affc
LMI
7531 * ido.el (ido-mode): Switch off the message if called
7532 non-interactively.
7533
57d5aff0
LMI
7534 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7535 before 587, since it appears that that's more likely to work for
7536 more people.
7537
98cd6c18 7538 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7539 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7540 exist.
7541
b96dec83
LMI
7542 * info.el: Remove the `Info-beginning-of-buffer' function
7543 (bug#8325).
7544
b796c9b7
SM
7545 * net/network-stream.el (network-stream-open-starttls):
7546 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7547
d90e2ea0
MR
75482011-08-01 Martin Rudalics <rudalics@gmx.at>
7549
7550 * window.el (display-buffer-in-window): Don't set dedicated status
7551 of window here (Bug#9215).
7552 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7553 (display-buffer-pop-up-side-window)
b796c9b7 7554 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7555
cca09170
SM
75562011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7557
7558 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7559 before binding generated-autoload-file.
7560
027b979c
DD
75612011-08-01 Deniz Dogan <deniz@dogan.se>
7562
7563 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7564
3c7ee4f3
MA
75652011-07-30 Michael Albinus <michael.albinus@gmx.de>
7566
7567 Sync with Tramp 2.2.2.
7568
7569 * net/trampver.el: Update release number.
7570
2cc8e51a
JL
75712011-07-30 Juri Linkov <juri@jurta.org>
7572
7573 * dired-aux.el (dired-touch-initial): Remove function.
7574 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7575 current time, and `default' to the last modification time of the
7576 current marked file (bug#6887).
7577
a514d856
JM
75782011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7579
7580 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7581 numeric argument to read-number (bug#9163).
a514d856 7582
8a7eddd7
MA
75832011-07-27 Michael Albinus <michael.albinus@gmx.de>
7584
7585 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7586 connection process, it could be nil.
7587
1ddd96f5
LL
75882011-07-27 Leo Liu <sdl.web@gmail.com>
7589
7590 Simplify url handling in rcirc-mode.
7591
7592 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7593 (rcirc-browse-url-at-mouse): Remove.
7594 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7595
b248a85d
AM
75962011-07-26 Alan Mackenzie <acm@muc.de>
7597
7598 Fontify bitfield declarations properly.
7599
7600 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7601 (c-symbol-chars): Now exported as a lang variable.
7602 (c-not-primitive-type-keywords): New lang variable.
7603
7604 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7605 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7606 parsed as a bitfield declaration.
b248a85d 7607
b796c9b7
SM
7608 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7609 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7610 (c-punctuation-in): New function.
7611 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7612 declarations properly.
7613
68575ab0
UJ
76142011-07-26 Ulf Jasper <ulf.jasper@web.de>
7615
7616 * calendar/icalendar.el (icalendar--all-events): Take care of
7617 multiple vcalendars in a single file.
b796c9b7 7618 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7619
0f0a88b9
DD
76202011-07-25 Deniz Dogan <deniz@dogan.se>
7621
7622 * image.el (insert-image): Clarifying docstring.
7623
0b3f36df
MA
76242011-07-24 Michael Albinus <michael.albinus@gmx.de>
7625
7626 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7627 `tramp-send-command-and-check' if there is no error.
7628 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7629
a9901f61
AM
76302011-07-22 Alan Mackenzie <acm@muc.de>
7631
7632 Prevent cc-langs.elc being loaded at run time.
7633
7634 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7635 cc-langs.
7636
4d61f28d 7637 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7638 "(require 'cc-langs)". Quote a form so it will evaluate at
7639 (cc-mode's) compilation time.
7640
11d074b2
MA
76412011-07-22 Michael Albinus <michael.albinus@gmx.de>
7642
7643 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7644 loading. (Bug#9114)
7645
938b94c8
MR
76462011-07-21 Martin Rudalics <rudalics@gmx.at>
7647
7648 * window.el (display-buffer-pop-up-window)
7649 (display-buffer-pop-up-side-window)
7650 (display-buffer-in-side-window): Call display-buffer-set-height
7651 and display-buffer-set-width after setting the new window's
b796c9b7 7652 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7653
bfa4f190
SS
76542011-07-20 Sam Steingold <sds@gnu.org>
7655
7656 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7657 (etags-tags-included-tables): Call `convert-standard-filename' on
7658 the file names contained in TAGS so that windows Emacs can handle
7659 TAGS files created by cygwin ctags.
7660
8ca42262
LMI
76612011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7662
7663 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7664 which apparently didn't work.
7665
5db2afd2 76662011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7667
5db2afd2
RW
7668 * proced.el (proced-send-signal): For *Marked Processes* buffer
7669 put point at beginning of buffer.
7670
92e15d10
SB
76712011-07-19 Stephen Berman <stephen.berman@gmx.net>
7672
7673 * proced.el (proced-format): Make header lines align with the text
7674 (bug#1779).
7675
1bfd59e5
LMI
76762011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7677
7678 * view.el (view-buffer): Allow running in `special' modes if we're
7679 visiting a file (bug#8615).
7680
f5aae37c
MR
76812011-07-19 Martin Rudalics <rudalics@gmx.at>
7682
7683 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7684 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7685 New functions.
f5aae37c
MR
7686 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7687 more accurately.
7688
bf2c1571
AM
76892011-07-18 Alan Mackenzie <acm@muc.de>
7690
7691 Fontify declarators properly when, e.g., a jit-lock chunk begins
7692 inside a declaration.
7693
7694 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7695
b796c9b7
SM
7696 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7697 New function.
bf2c1571
AM
7698 (c-complex-decl-matchers): Insert reference to
7699 c-font-lock-enclosing-decls.
7700
7701 * progmodes/cc-engine.el (c-backward-single-comment):
7702 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7703 to nil around calls to (forward-comment -1).
7704
4e190b80
LMI
77052011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7706
12dc863d
LMI
7707 * image.el (put-image): Doc typo fix.
7708
a762e966
LMI
7709 * progmodes/etags.el (tags-search): Doc typo fix.
7710
4e190b80
LMI
7711 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7712 password if we get errors 550 to 554.
7713
f019fb21
LMI
77142011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7715
b796c9b7 7716 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7717
81746738
LMI
7718 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7719 indentation character (bug#6380).
7720
3ee3a1b5
LMI
7721 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7722
c82f64de
LMI
7723 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7724 to clarify what the problem is (bug#4291).
7725
f019fb21
LMI
7726 * simple.el (current-kill): Clarify what
7727 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7728 (auto-fill-mode): Document `auto-fill-function' in relation to
7729 `auto-fill-mode' (bug#2470).
f019fb21 7730
0794775d
LM
77312011-07-16 Lawrence Mitchell <wence@gmx.li>
7732
7733 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7734 method if slot is read-only (bug#9035).
7735
be39b8cc
MR
77362011-07-16 Martin Rudalics <rudalics@gmx.at>
7737
b796c9b7 7738 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7739 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7740 selected before, see discussion of (Bug#8615), (Bug#6954).
7741 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7742
6ccf7859
GM
77432011-07-15 Glenn Morris <rgm@gnu.org>
7744
7745 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7746 Respect help-form.
6ccf7859 7747
87e86684
LM
77482011-07-09 Lawrence Mitchell <wence@gmx.li>
7749
7750 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7751 (gnutls-negotiate): Use it.
7752
d6066239
LMI
77532011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7754
b796c9b7
SM
7755 * net/gnutls.el (gnutls-negotiate):
7756 Upcase `gnutls-algorithm-priority'.
d6066239 7757
bd23ebc0
GM
77582011-07-15 Glenn Morris <rgm@gnu.org>
7759
c65bca65
GM
7760 * jka-compr.el (jka-compr-verbose): Move from here...
7761 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7762 Add missing :version tag.
7763 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7764
478615cc
LMI
77652011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7766
7b41decb
LMI
7767 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7768 (gnutls-negotiate): Use it.
7769
dbc44fcd
LMI
7770 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7771
06789f97
LMI
7772 * info.el (Info-beginning-of-buffer): New command.
7773 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7774 announcing `b' as the key (bug#8325).
ab896c37 7775 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7776
c39da690
LMI
7777 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7778
3aa5f34b
LMI
7779 * international/mule-cmds.el
7780 (describe-specified-language-support): Make the error message
7781 clearer (bug#8905).
7782
4bf0979f
LMI
7783 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7784
478615cc
LMI
7785 * isearch.el (isearch-barrier): Add a doc string, since it's
7786 mentioned in a function doc string (bug#8678).
7787
75c68aa1
MR
77882011-07-15 Martin Rudalics <rudalics@gmx.at>
7789
7790 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7791 buffer argument (Bug#9083) and self-identifying label argument.
7792
a7c33da2
GM
77932011-07-15 Glenn Morris <rgm@gnu.org>
7794
7795 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7796
2f5c6024
LMI
77972011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7798
7799 * man.el (Man-fontify-manpage): Fix message when formatting the
7800 man page (bug#7929).
7801
0bb23927 78022011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7803
7804 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7805 argument LRM; if non-nil, append an invisible LRM character to the
7806 buffer name.
7807 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7808 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7809 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7810 paragraph direction.
cce4b0a7 7811
621ef9ab
LMI
78122011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7813
d1583c48
LMI
7814 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7815 the man page name (bug#7929).
7816
6a57fb5f
LMI
7817 * image.el (put-image): Mention the `put-image' overlay property
7818 (bug#7834).
7819
d7956b14
LMI
7820 * scroll-bar.el (set-scroll-bar-mode): Mention that
7821 `scroll-bar-mode' lists the values (bug#7772).
7822
5b2d4a66
LMI
7823 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7824 command (bug#7729).
7825
7509a874
LMI
7826 * rect.el (apply-on-rectangle): Return the point after the last
7827 operation.
7828 (string-rectangle): Go to the point after the last operation
7829 (bug#7522).
7830
4fe74b19
LMI
7831 * printing.el (pr-toggle-region): Clarify the documentation
7832 slightly (bug#7493).
7833
b796c9b7
SM
7834 * time.el (display-time-update):
7835 Allow `display-time-mail-function' to return nil (bug#7158).
7836 Fix suggested by Detlev Zundel.
ab283561 7837
fc233c9d
LMI
7838 * vc/diff.el (diff): Clarify the order the file names are read
7839 (bug#7111).
7840
43f5740b
LMI
7841 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7842 the doc string (bug#7015).
7843
f2182a76
LMI
7844 * font-lock.el (font-lock-maximum-decoration): Mention what
7845 numeric levels mean (bug#6935).
7846
621ef9ab
LMI
7847 * startup.el (initial-buffer-choice): Don't mention the `none'
7848 selection, which is against policy.
7849
adc47434
MR
78502011-07-14 Martin Rudalics <rudalics@gmx.at>
7851
b796c9b7
SM
7852 * window.el (display-buffer-normalize-special):
7853 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7854
7e5bfb8f
EZ
78552011-07-14 Eli Zaretskii <eliz@gnu.org>
7856
7857 * subr.el (version<, version<=, version=): Mention "-CVS" and
7858 "-12345" alpha version numbers.
7859
27fa387a
CY
78602011-07-14 Chong Yidong <cyd@stupidchicken.com>
7861
7862 * bindings.el: Add advertised binding for set-mark-command
7863 (Bug#5772).
7864
8bdfa064
CY
78652011-07-14 Chong Yidong <cyd@stupidchicken.com>
7866
7867 * bindings.el (mode-line-other-buffer):
7868 * bookmark.el (bookmark-bmenu-2-window):
7869 * bs.el (bs-cycle-next, bs-cycle-previous):
7870 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7871 switch-to-buffer.
7872
7873 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7874 Delete.
8bdfa064 7875
5eba16a3
JB
78762011-07-14 Juanma Barranquero <lekktu@gmail.com>
7877
7878 * follow.el (follow-debug-message, follow-redisplay):
7879 * jka-cmpr-hook.el (with-auto-compression-mode):
7880 Fix typos in docstrings.
7881
15853710
LMI
78822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7883
a28e4607
LMI
7884 * subr.el (with-silent-modifications): Clarify somewhat what the
7885 macro inhibits (bug#6525).
7886
15853710
LMI
7887 * simple.el (eval-expression): Note what it does if called
7888 interactively (bug#6495).
7889
bee0fcef
CY
78902011-07-13 Chong Yidong <cyd@stupidchicken.com>
7891
b796c9b7
SM
7892 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7893 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7894
7895 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7896 Remove switch-to-buffer.
7897
58274504
LMI
78982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7899
bd2fcc8d
LMI
7900 * files.el (make-directory): Clarify that an error will be raised
7901 if there's an error (bug#6397).
7902
0f04b32c
LMI
7903 * startup.el (initial-buffer-choice): Add `none' as a choice
7904 (bug#6234).
7905
465c5fc8
LMI
7906 * subr.el (add-hook): Clarify section about buffer-local hooks
7907 (bug#6218).
7908
58274504
LMI
7909 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7910
bead9a43
JB
79112011-07-13 Juanma Barranquero <lekktu@gmail.com>
7912
7913 * tabify.el (untabify): Preserve the current column so that point
7914 doesn't move (bug#6032).
7915
3af98a7b
LMI
79162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7917
b796c9b7
SM
7918 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7919 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7920
6240145a
GM
79212011-07-13 Glenn Morris <rgm@gnu.org>
7922
7923 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7924 (dired-insert-directory): Give a message the first time
7925 if ls is found not to support --dired.
7926
1d8c2ccc
LMI
79272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7928
7929 * simple.el (toggle-truncate-lines): Clarify what is toggled
7930 (bug#5580). Text by Drew Adams.
7931
5fc4038e
CY
79322011-07-13 Chong Yidong <cyd@stupidchicken.com>
7933
7934 * simple.el (blink-matching-open): Make the error message from the
7935 last change less verbose.
7936
bf6012e5
DN
79372011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7938
7939 * font-lock.el (font-lock-comment-face): Use the high contrast
7940 "yellow" color for font-lock-comment-face on low color terminals
7941 using a dark background color (bug#4221).
7942
343c3b5a
LMI
79432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7944
7e9505c5
LMI
7945 * dired.el (dired-insert-set-properties): Make the doc string
7946 reflect what it does now (bug#5325).
7947
c26fdcf5
LMI
7948 * simple.el (blink-matching-open): Say that we were unable to find
7949 the match within the limit, if we're limited (bug#5122).
7950
bb388cc5
LMI
7951 * international/mule-cmds.el (prefer-coding-system): Add an
7952 example (bug#4869).
7953
343c3b5a
LMI
7954 * progmodes/etags.el (tags-search): Document `file-list-form'
7955 (bug#4731).
7956
2a517d45
LM
79572011-07-13 Lawrence Mitchell <wence@gmx.li>
7958
7959 * net/browse-url.el (browse-url-default-browser)
7960 (browse-url-browser-function): Make the default browser choice a
7961 bit more logical (bug#4300). Also clean up the doc string.
7962
b6c78ef2
JB
79632011-07-13 Juanma Barranquero <lekktu@gmail.com>
7964
7965 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7966 binary endings (bug#4440).
7967
1c4dd947
LMI
79682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7969
a2014063
LMI
7970 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7971 which can be pretty annoying (bug#8971).
7972
9c9c2d88
LMI
7973 * jka-compr.el (jka-compr-verbose): New variable, and use
7974 throughout (bug#8971).
7975
1c4dd947
LMI
7976 * info.el (Info-find-file): Fall back on the installation
7977 directory if we can't find the info node anywhere else.
7978
a1c9f41b
SO
79792011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7980
7981 * vc/vc.el (vc-revert-file):
7982 Don't set file time-stamp in the past. (Bug#5181)
7983
536f3d36
LMI
79842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7985
7152b011
LMI
7986 * files.el (after-find-file): Give a better error message when
7987 trying to find a symlink that points to a file that doesn't exist
7988 (bug#4398).
7989
536f3d36
LMI
7990 * progmodes/cc-vars.el: Remove (probably) misleading comment
7991 (bug#4396).
7992
460c0fba
JB
79932011-07-12 Johan Bockgård <bojohan@gnu.org>
7994
7995 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7996
7a6bda45
CY
79972011-07-12 Chong Yidong <cyd@stupidchicken.com>
7998
7999 * mouse-sel.el: Hack restoring functionality, while keeping
8000 compatibility with 2010-07-03 changes to mouse selection.
8001 (mouse-sel-primary-overlay): New var.
8002 (mouse-sel-selection-alist): Use it.
8003 (mouse-sel-mode): Doc fix; remove points that are default features
8004 of mouse.el.
8005
c79598ef
JB
80062011-07-12 Johan Bockgård <bojohan@gnu.org>
8007
8008 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8009 Fix previous fix (bug#2490).
8010
ff8be6ef
RW
80112011-07-12 Roland Winkler <winkler@gnu.org>
8012
b796c9b7
SM
8013 * textmodes/bibtex.el (bibtex-initialize):
8014 Use pop-to-buffer-same-window.
ff8be6ef
RW
8015 (bibtex-search-entries): Fix interactive call.
8016
296ba3ee
LMI
80172011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8018
f5242a02 8019 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8020 Fontise bytecomp Error lines more correctly (bug#2490).
8021 Fix suggested by Johan Bockgård.
f5242a02 8022
296ba3ee
LMI
8023 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8024
8025 * dired-x.el (dired-guess-default): Use `delete-dups'.
8026
f69fd0d2
CY
80272011-07-12 Chong Yidong <cyd@stupidchicken.com>
8028
8029 * dired.el (dired-mark-prompt):
8030 * dired-aux.el (dired-read-shell-command): Doc fix.
8031
eab5dc07
LMI
80322011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8033
b796c9b7
SM
8034 * mail/sendmail.el (sendmail-query-once):
8035 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8036 emacs -Q.
8037
8038 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8039
eab5dc07
LMI
8040 * cus-edit.el (custom-file): Take an optional no-error variable.
8041 (customize-save-variable): Set the variable, and give a warning if
8042 running under "emacs -q".
8043
a1e65d42
JB
80442011-07-11 Juanma Barranquero <lekktu@gmail.com>
8045
8046 * loadhist.el (unload-feature-special-hooks):
8047 Add `auto-coding-functions', `fill-nobreak-predicate' and
8048 `find-directory-functions' (bug#5327).
8049
1d52da10
LMI
80502011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8051
be958f1d
LMI
8052 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8053
5bedb26c
LMI
8054 * cus-edit.el (custom-guess-name-alist): -alist variables should
8055 use the `alist' type (bug#3120). Suggested by Drew Adams.
8056
1d52da10
LMI
8057 * printing.el: Add documentation to all the `pr-toggle-' commands.
8058
cd394be1 80592011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8060
8061 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8062 backends where it makes sense (bug#2623).
8063
dcc88d8a
LMI
80642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8065
c3de9feb
LMI
8066 * dired-x.el (dired-guess-default): Remove duplicate shell command
8067 entries (bug#2028).
8a93078b 8068 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8069 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8070
dcc88d8a
LMI
8071 * subr.el (remove-duplicates): New conveniency function.
8072
505e3645
LMI
80732011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8074
8075 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8076 (bug#1526).
8077
80782011-07-10 Martin Rudalics <rudalics@gmx.at>
8079
8080 * window.el (display-buffer-normalize-default): Don't invert
8081 meaning of even-window-heights. Reported by Eli Zaretskii
8082 <eliz@gnu.org>.
8083
455e4fa1
BR
80842011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8085
8086 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8087
8e0bc3e9
CY
80882011-07-10 Chong Yidong <cyd@stupidchicken.com>
8089
8090 * window.el (display-buffer): Fix arguments to
8091 display-buffer-reuse-window in last change.
8092
fa7c3228
CY
8093 * faces.el (link): Use a less saturated blue on light backgrounds.
8094
8095 * startup.el (fancy-startup-text, fancy-about-text)
8096 (fancy-startup-tail): Use font-lock faces, for background safety.
8097
c0a7f300
BN
80982011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8099
b796c9b7
SM
8100 * emulation/viper-cmd.el (viper-change-state-to-vi):
8101 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8102
4dc2a129
MR
81032011-07-09 Martin Rudalics <rudalics@gmx.at>
8104
8105 * window.el (display-buffer-default-specifiers): Remove.
8106 (display-buffer-macro-specifiers): Remove default specifiers.
8107 (display-buffer-alist): Default to nil.
b796c9b7 8108 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8109 (display-buffer-pop-up-window): Allow splitting internal
8110 windows. Check whether a live window was created.
8111 (display-buffer-other-window-means-other-frame)
8112 (display-buffer-normalize-arguments): Rename to
8113 display-buffer-normalize-argument and rewrite. Set the
8114 other-window specifier.
8115 (display-buffer-normalize-special): New function.
8116 (display-buffer-normalize-options): Rename to
8117 display-buffer-normalize-default and rewrite.
8118 (display-buffer-normalize-options-inhibit): Remove.
8119 (display-buffer-normalize-specifiers): Rewrite.
8120 (display-buffer): Process other-window specifier and call
8121 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8122 more faithfully.
b796c9b7 8123 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8124 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8125 (display-buffer-in-window, display-buffer-alist-set):
8126 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8127 <tassilo@member.fsf.org>.
8128
2d43b8c9
LL
81292011-07-09 Leo Liu <sdl.web@gmail.com>
8130
8131 * register.el (insert-register): Restore accidental change on
8132 2011-06-26. (Bug#9028)
8133
7f9b7c53
GM
81342011-07-09 Glenn Morris <rgm@gnu.org>
8135
8136 * subr.el (remq): Handle the empty list. (Bug#9024)
8137
f042cfd8
AS
81382011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8139
8140 * mail/sendmail.el (send-mail-function): No longer delay custom
8141 initialization.
8142 * custom.el (custom-initialize-delay): Doc fix.
8143
856b2f11
SM
81442011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8145
8146 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8147
afae1d68
MA
81482011-07-08 Michael Albinus <michael.albinus@gmx.de>
8149
8150 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8151 human-friendly prompt.
8152
0757af94
SM
81532011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8154
8155 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8156 provided by a particular plugin.
8157
d760b731
LMI
81582011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8159
8160 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8161 save customizations (with "emacs -Q"), just set the variable
8162 instead of erroring out.
8163
8164 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8165
cd79ce90
JL
81662011-07-08 Juri Linkov <juri@jurta.org>
8167
8168 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8169 (archive-zip-update-case): Use 7z if found by `executable-find'.
8170 The order of searching the available programs is the same as in
8171 `archive-zip-extract' (bug#8968).
8172
14cc04aa
CY
81732011-07-07 Chong Yidong <cyd@stupidchicken.com>
8174
8175 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8176 (menu-bar-options-menu): Tweak descriptions.
8177
0a1848ec
LMI
81782011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8179
8180 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8181 menu items into verb phrases (bug#1421). Also refill to fit under
8182 80 columns.
8183
f5bd0689
CY
81842011-07-07 Chong Yidong <cyd@stupidchicken.com>
8185
538e85c6
CY
8186 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8187 (Info-read-node-name): Doc fix (Bug#1084).
8188
f5bd0689
CY
8189 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8190 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8191 (end-of-sexp, beginning-of-sexp)
8192 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8193 (forward-symbol, forward-same-syntax, word-at-point)
8194 (sentence-at-point): Doc fix (Bug#1144).
8195
56ec5115
LMI
81962011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8197
f3f8e37f
LMI
8198 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8199 should cover it (bug#1281).
8200
0757af94 8201 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8202
e9fce1ac 8203 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8204 negotiation fails, then possibly try again with a non-encrypted
8205 connection (bug#9017).
8206
56ec5115
LMI
8207 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8208 be used.
8209
c2f9aec8
RS
82102011-07-07 Richard Stallman <rms@gnu.org>
8211
8212 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8213 property, and handle its changed format.
8214 Look for the correct line number.
8215 Use file's line contents (but not past first =) to find
8216 correct line in message.
8217
ef7b981d 82182011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8219
8220 * international/characters.el (build-unicode-category-table):
8221 Delete it.
0757af94 8222 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8223
0757af94 8224 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8225 to src/chartab.c.
8226 (get-char-code-property): Call unicode-property-table-internal to
8227 load a file. Call get-unicode-property-internal where necessary.
8228 (put-char-code-property): Call unicode-property-table-internal to
8229 load a file. Call put-unicode-property-internal where necessary.
8230 put-unicode-property-internal where necessary.
0757af94
SM
8231 (char-code-property-description):
8232 Call unicode-property-table-internal to load a file.
c805dec0
KH
8233
8234 * international/charprop.el:
8235 * international/uni-bidi.el:
8236 * international/uni-category.el:
8237 * international/uni-combining.el:
8238 * international/uni-comment.el:
8239 * international/uni-decimal.el:
8240 * international/uni-decomposition.el:
8241 * international/uni-digit.el:
8242 * international/uni-lowercase.el:
8243 * international/uni-mirrored.el:
8244 * international/uni-name.el:
8245 * international/uni-numeric.el:
8246 * international/uni-old-name.el:
8247 * international/uni-titlecase.el:
8248 * international/uni-uppercase.el: Regenerate.
8249
8250 * loadup.el: Load international/charprop.el before
8251 international/characters.
8252
e14b388a
CY
82532011-07-07 Chong Yidong <cyd@stupidchicken.com>
8254
8255 * window.el (next-buffer, previous-buffer): Signal an error if
8256 called from a minibuffer window.
8257
8258 * bindings.el: Revert 2011-07-04 change.
8259
354cf0ba
RS
82602011-07-06 Richard Stallman <rms@gnu.org>
8261
8262 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8263 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8264 Treat markers like ints.
8265 (rmail-mime-entity): Doc fix.
8266
a48868a7
LMI
82672011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8268
4906cd3d
LMI
8269 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8270 defcustom again for backwards compatibility.
8271
e0457abe
LMI
8272 * simple.el (shell-command-on-region): Fill.
8273
d67f7e1f
LMI
8274 * dired-aux.el (dired-kill-line): Add a doc string.
8275
fe204702
LMI
8276 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8277 to "\\sw\\|\\s_" (bug#358).
8278
a48868a7
LMI
8279 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8280 (dired-unmark-backward): Ditto.
8281 (dired-flag-backup-files): Ditto.
8282
8283 * dired-x.el (dired-mark-sexp): Ditto.
8284
aa8a705c
RS
82852011-07-06 Richard Stallman <rms@gnu.org>
8286
8287 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8288 (rmail-mime-entity): New arg TRUNCATED.
8289 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8290 New functions.
8291 (rmail-mime-save): Warn if entity is truncated.
8292 (rmail-mime-toggle-hidden): Likewise, for showing.
8293 (rmail-mime-process-multipart): Record when an entity is truncated.
8294
a9a936b9
RS
8295 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8296 if ENTITY is a string.
8297
1f2b92cb
LMI
82982011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8299
f4f73198 8300 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8301 of faces when `M-C-x'-ing their definitions (bug#8378).
8302 Also clean up the code slightly.
f4f73198 8303
12b16734 8304 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8305 because that makes the colors go away.
12b16734 8306
f0691d22
LMI
8307 * mail/sendmail.el (send-mail-function): Change the default to
8308 `sendmail-query-once'.
9e87df06 8309 (sendmail-query-once): Add an autoload cookie.
f0691d22 8310
1f2b92cb
LMI
8311 * net/network-stream.el (network-stream-open-starttls): Try using
8312 a plain connection even if the server offered STARTTLS, and we
8313 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8314 capability. This should make smtpmail.el work in slightly more
8315 configurations.
8316
1cdd2a1b
MA
83172011-07-06 Michael Albinus <michael.albinus@gmx.de>
8318
8319 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8320 New defun.
8321 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8322
fbcc67e2
MM
83232011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8324
8325 * progmodes/sql.el: Version 3.0
0757af94 8326 (sql-product-alist): Add product :completion-object,
fbcc67e2 8327 :completion-column, and :statement attributes.
0757af94 8328 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8329 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8330 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8331 ansi keywords.
8332 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8333 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8334 (sql-oracle-show-reserved-words): New function for development.
8335 (sql-product-font-lock): Simplify for source code buffers.
8336 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8337 New functions.
8338 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8339 (sql-mode-map): Add statement movement functions.
8340 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8341 New variable.
fbcc67e2
MM
8342 (sql-statement-regexp, sql-beginning-of-statement)
8343 (sql-end-of-statement, sql-signum): New functions.
0757af94 8344 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8345 (sql-show-sqli-buffer): Bug fix.
8346 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8347 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8348 with sql-interactive-mode.
8349 (sql-save-connection): Save buffer local settings.
0757af94 8350 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8351 (sql-product-interactive): Bug fix.
8352 (sql-preoutput-hold): New variable.
8353 (sql-interactive-remove-continuation-prompt): Bug fixes.
8354 (sql-debug-redirect): New variable.
8355 (sql-str-literal): New function.
8356 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8357 Redesign.
fbcc67e2
MM
8358 (sql-oracle-save-settings, sql-oracle-restore-settings)
8359 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8360 (sql-completion-object, sql-completion-column)
8361 (sql-completion-sqlbuf): New variables.
8362 (sql-build-completions-1, sql-build-completions)
8363 (sql-try-completion): New functions.
8364 (sql-read-table-name): Use them.
8365 (sql-contains-names): New buffer local variable.
8366 (sql-list-all, sql-list-table): Use it.
8367 (sql-oracle-completion-types): New variable.
8368 (sql-oracle-completion-object, sql-sqlite-completion-object)
8369 (sql-postgres-completion-object): New functions.
8370
d4eaeab1
GM
83712011-07-06 Glenn Morris <rgm@gnu.org>
8372
8373 * window.el (pop-to-buffer): Doc fix.
8374
322b7dab 83752011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8376
8377 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8378
322b7dab 83792011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8380
322b7dab 8381 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8382
322b7dab 8383 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8384
605dd5bf
CY
83852011-07-05 Chong Yidong <cyd@stupidchicken.com>
8386
8387 * button.el (button): Inherit from link face. Suggested by Dan
8388 Nicolaescu.
8389
7dbfa719
SM
83902011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8391
3db614b0
SM
8392 * progmodes/gdb-mi.el: Fit in 80 columns.
8393 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8394 switch-to-buffer.
8395
7dbfa719
SM
8396 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8397 if imenu is simply not configured (bug#8941).
8398
919d884a
KM
83992011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8400
8401 * allout.el (allout-post-undo-hook): New allout outline-change
8402 event hook to signal undo activity.
8403 (allout-post-command-business): Run allout-post-undo-hook if an
8404 undo just occurred.
7dbfa719
SM
8405 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8406 * allout-widgets.el (allout-widgets-after-undo-function):
8407 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8408 in the vicinity of an undo.
8409 (allout-widgets-mode): Include allout-widgets-after-undo-function
8410 on the new allout-post-undo-hook.
8411
450a0f09
SM
84122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8413
8414 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8415 Let define-derived-mode define it.
8416 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8417 cycles of abbrev-table inheritance (bug#8998).
8418
2de69e00
RW
84192011-07-05 Roland Winkler <winkler@gnu.org>
8420
8421 * textmodes/bibtex.el: Add support for biblatex.
8422 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8423 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8424 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8425 (bibtex-entry-alist, bibtex-field-alist): New variables.
8426 (bibtex-entry-field-alist): Obsolete alias for
8427 bibtex-BibTeX-entry-alist.
8428 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8429 (bibtex-set-dialect): New command.
8430 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8431 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8432 Bind via bibtex-set-dialect.
2de69e00
RW
8433 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8434 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8435 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8436 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8437 Define via bibtex-set-dialect.
450a0f09
SM
8438 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8439 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8440 (bibtex-vec-push, bibtex-vec-incr): New functions.
8441 (bibtex-format-entry, bibtex-field-list)
8442 (bibtex-print-help-message, bibtex-validate)
8443 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8444
2dcdbdd9
SM
84452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * progmodes/compile.el (compilation-goto-locus):
8448 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8449 * bs.el (bs-cycle-next, bs-cycle-previous):
8450 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8451 * bindings.el (mode-line-other-buffer):
8452 * autoinsert.el (auto-insert):
8453 * arc-mode.el (archive-extract):
8454 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8455
b27640fe
JB
84562011-07-05 Juanma Barranquero <lekktu@gmail.com>
8457
8458 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8459 Fix check of `emacs-lock-unlockable-modes'.
8460 Coerce true values of `emacs-lock--try-unlocking' to t.
8461
53bbe3ad
JB
84622011-07-05 Juanma Barranquero <lekktu@gmail.com>
8463
8464 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8465 * emacs-lock.el: New file.
8466
1d3cdbc7
JD
84672011-07-05 Julien Danjou <julien@danjou.info>
8468
8469 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8470 than `boundp' to check if face is set.
8471
9173deec
JB
84722011-07-05 Juanma Barranquero <lekktu@gmail.com>
8473
8474 * register.el (registerv-make):
8475 * window.el (window-min-height): Fix typos in docstrings.
8476
869795d6
JD
84772011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8478
9173deec 8479 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8480 Update doc string.
8481
b768cdcd
JB
84822011-07-04 Juanma Barranquero <lekktu@gmail.com>
8483
8484 * server.el (server-execute): Catch quit and call
8485 `server-return-error' to pass the error back to emacsclient and
8486 close the connection (bug#8942).
8487
13aa217b
KM
84882011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8489
8490 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8491 insecure exception for current topic. Also note that auto-saves
8492 are handled differently.
8493
5d3385a0 8494 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8495 State variables for tracking auto-save inhibition situation.
8496
8497 (allout-write-contents-hook-handler): Rename from
8498 'allout-write-file-hook-handler', and describe how it depends on
8499 write-contents-functions sensitivity to non-nil value to prevent
8500 file write.
8501
8502 (allout-auto-save-hook-handler): Remove. auto-save does not check
8503 this in individual buffers, only in the starting buffer, so this
8504 is not the right way for us to inhibit auto-save in a buffer
8505 according to its condition.
8506
8507 (allout-mode): Use new allout-write-contents-hook-handler, and
8508 only with write-contents-functions. Remove auto-save provisions -
8509 they're implemented elsewhere.
8510
8511 (allout-before-change-handler): If undo is in progress, note that
8512 for attention of allout-post-command-business.
8513
8514 (allout-post-command-business): If the command we're following was
8515 an undo, check for change in the status of encrypted items and
8516 adjust auto-save inhibitions accordingly.
8517
8518 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8519 according to whether there are or aren't any plain-text topics
8520 pending encryption.
8521
2dcdbdd9 8522 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8523 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8524 if there are plain-text topics pending encryption.
13aa217b
KM
8525
8526 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8527 buffer-saved-size and some allout state to not inhibit auto-saves
8528 if there are no longer any plain-text topics pending encryption.
8529
0757af94
SM
8530 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8531 No longer provide for exemption of the current topic.
13aa217b 8532
ac89b32c
JL
85332011-07-04 Juri Linkov <juri@jurta.org>
8534
8535 Add 7z operations to delete and save changed members (bug#8968).
8536 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8537 New defcustoms.
8538 (archive-7z-write-file-member): New function.
8539 (archive-7z-summarize): Fix the number of dashes in the
8540 listing output.
8541
8fa39615
SM
85422011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8543
8544 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8545 (bug#8958).
8546
2f11b3f1
CY
85472011-07-04 Chong Yidong <cyd@stupidchicken.com>
8548
d66fef2b
CY
8549 * bindings.el: Ignore next-buffer and previous-buffer in
8550 minibuffer-local-map.
8551
2f11b3f1
CY
8552 * font-lock.el (font-lock-builtin-face): Change light background
8553 color to dark slate blue (Bug#6693).
8554
f932a347
WD
85552011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8556
8557 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8558
c8af70e1
SM
85592011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8562 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8563 Add switch-to-buffer.
8564
f158badc
LMI
85652011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8566
8567 * isearch.el (isearch-search-fun-function): Clarify further the
8568 meaning of the function returned.
8569
6d95bd46
MA
85702011-07-04 Michael Albinus <michael.albinus@gmx.de>
8571
8572 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8573
8574 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8575 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8576 Use it.
8577 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8578 `tramp-default-remote-path' does not exist.
8579 (tramp-send-command-and-read): New optional argument NOERROR.
8580 (tramp-open-connection-setup-interactive-shell)
8581 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8582 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8583 (tramp-process-sentinel): Flush also process' connection property.
8584 (tramp-sh-handle-start-file-process): Do not set process
8585 sentinel. It is done now ...
8586 (tramp-maybe-open-connection): ... here. (Bug#8929)
8587
909e6b67
MK
85882011-07-04 MON KEY <monkey@sandpframing.com>
8589
8590 * play/animate.el (animate-string): Doc fixes and allow changing
8591 the buffer name (bug#5417).
8592
85932011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8594
c8af70e1 8595 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8596
f34755dc
PE
85972011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8598
396cec72
PE
8599 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8600 This is simpler and helps future-proof the code.
8601 (timer-until): Use time-subtract and float-time.
08235028 8602 (timer--time-less-p): Use time-less-p.
f34755dc 8603
56e6cc31
JB
86042011-07-04 Juanma Barranquero <lekktu@gmail.com>
8605
3abb79e5
JB
8606 * type-break.el (timep): Use the value of `float-time' to avoid a
8607 byte-compiler warning.
8608
56e6cc31
JB
8609 * server.el (server-eval-and-print): Return any result, even nil.
8610
7b9430b4
PE
86112011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8612
8613 * type-break.el: Accept time formats that the builtins accept.
8614 (timep, type-break-time-difference): Accept any format that
8615 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8616 This is simpler and helps future-proof the code.
8617 (type-break-time-difference): Round rather than ignoring
8618 subseconds components.
8619
3034e9e7
LMI
86202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8621
8622 * info.el (Info-apropos-matches): Make non-interactive, since it
8623 doesn't seem to do anything useful as a command (bug#8829).
8624
1485f4c0
CY
86252011-07-03 Chong Yidong <cyd@stupidchicken.com>
8626
8627 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8628 Move from faces.el.
1485f4c0
CY
8629 (frame-default-terminal-background): New function.
8630
8631 * custom.el (custom-push-theme): Don't record faces in `changed'
8632 theme; this doesn't work correctly for per-frame face settings.
8633 (disable-theme): Use face-set-after-frame-default to reset faces.
8634 (custom--frame-color-default): New function.
8635
9fa3dd45
LMI
86362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8637
c8af70e1 8638 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8639 (bug#8769).
8640
6cbbc20c
KR
86412011-03-29 Kevin Ryde <user42@zip.com.au>
8642
8643 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8644 `perl-Test2' extend to match possible "fail #N" rep count
8645 (bug#8377).
8646
c7f98048
LMI
86472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8648
65676592
LMI
8649 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8650 `smtpmail-via-smtp' now returns the error instead of nil.
8651
c7f98048
LMI
8652 * isearch.el (isearch-search-fun-function): Clarify the doc string
8653 (bug#8101).
8654
56e6cc31 86552011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8656
8657 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8658 unnecessary spaces (bug#8987).
8659
2b216704
LMI
86602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8661
8662 * net/network-stream.el (open-network-stream): Use the
8663 :end-of-capability command thoughout.
8664
86652011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8666
8667 * net/network-stream.el (open-network-stream): Add the
8668 :end-of-capability command parameter, used by pop3.el.
8669
36adf6ce
LMI
86702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8671
1ca0da0e
LMI
8672 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8673
fc00f69c
LMI
8674 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8675 for list)" (bug#6475).
8676
28fd8759 8677 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8678 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8679 an error (bug#6297).
8680
0dd8b6da
LMI
8681 * man.el (Man-reference-regexp): Allow matching possible
8682 word-wrapped references (bug#6289).
8683
ce1438d6
LMI
8684 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8685 for consistency with the other vc buffers (bug#6197).
8686 (vc-checkin): Ditto.
8687
8688 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8689
36adf6ce
LMI
8690 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8691
e83cc1f7
LMI
86922011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8693
8a20ca4c
LMI
8694 * custom.el (defcustom): Clarify that :set is only used in the
8695 Customize user interface (bug#6089).
8696
83319045
LMI
8697 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8698 associated with a file, refuse to run instead of erroring out
8699 (bug#6084).
8700
a8392169
LMI
8701 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8702 the doc string, since it appears that using `fill-column' always
8703 controls the width (bug#7845).
8704
e83cc1f7
LMI
8705 * simple.el (shell-command-on-region): Say where the error output
8706 went if `shell-command-default-error-buffer' is set (bug#6857).
8707
e47ca23b
KM
87082011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8709
8710 * allout.el (allout-yank-processing): Adjust cursor position for
8711 backwards-deleted space.
8712
8713 (allout-rebullet-heading): Register changes with
8714 allout-exposure-changed-hook, so the modified topic is properly
8715 decorated.
8716
5cf56143
LMI
87172011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8718
08549772
LMI
8719 * minibuffer.el (completion-in-region): Document PREDICATE
8720 (bug#7136).
8721
48e96771
LMI
8722 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8723 of keyword/argument pairs (bug#6904).
8724
c8af70e1
SM
8725 * replace.el (multi-occur):
8726 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8727
e17d05e2
LMI
87282011-07-02 Drew Adams <drew.adams@oracle.com>
8729
8730 * dired.el (dired-mark-if): Make the message about whether it's
8731 marking or unmarking clearer (bug#8523).
8732
063b0e45
LMI
87332011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8734
8735 * disp-table.el (display-table-print-array): New function.
8736 (describe-display-table): Use it to print the vectors more pretty
8737 (Bug#8859).
8738
28545e04
MR
87392011-07-02 Martin Rudalics <rudalics@gmx.at>
8740
8741 * window.el (window-state-get-1): Don't assign clone numbers.
8742 Add clone-of item to list of window parameters.
8743 (window-state-put-2): Don't process clone numbers.
8744 (display-buffer-alist): Fix doc-string.
8745
3349e122
SM
87462011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8747
8748 * subr.el (remq): Don't allocate if it's not needed.
8749 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8750 (keymap--merge-bindings): New functions.
8751 (keymap-canonicalize): Use them to refine the canonicalization.
8752 * minibuffer.el (minibuffer-local-completion-map)
8753 (minibuffer-local-must-match-map): Move initialization from C.
8754 (minibuffer-local-filename-completion-map): Move initialization from C;
8755 don't inherit from anything here.
8756 (minibuffer-local-filename-must-match-map): Make obsolete.
8757 (completing-read-default): Use make-composed-keymap to combine
8758 minibuffer-local-filename-completion-map with either
8759 minibuffer-local-must-match-map or
8760 minibuffer-local-filename-completion-map.
8761
d224ac83
GM
87622011-07-01 Glenn Morris <rgm@gnu.org>
8763
3de63bf8
GM
8764 * type-break.el (type-break-time-sum): Use dolist.
8765
d224ac83
GM
8766 * textmodes/flyspell.el (flyspell-word-search-backward):
8767 Replace CL function.
8768
1a1e3f32
SM
87692011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8770
fe3f64d5
SM
8771 * mouse.el (mouse--strip-first-event): New function.
8772 (function-key-map): Use it to map fringe clicks to normal clicks
8773 by default.
8774
eb604e34
SM
8775 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8776 (vc-bzr-revision-completion-table): Add support for annotate and date.
8777
1a1e3f32
SM
8778 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8779 inherit from parent.
8780
5bd35902
LMI
87812011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8782
ace6c69c 8783 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8784 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8785
191e2bed
LMI
8786 * dired.el (dired-mode): Fix up the doc string as suggested by
8787 Drew Adams (bug#8817).
8788
5bd35902
LMI
8789 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8790 cookie, since the manual says that it should be possible to add
8791 this function to `find-file-hook' (bug#8709).
8792
eee8207a
TZ
87932011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8794
8795 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8796 here. Noted Ted Zlatanov as the maintainer.
8797 (cfengine-common-settings, cfengine-common-syntax): New functions
8798 to set up common things between `cfengine-mode' and
8799 `cfengine3-mode'.
8800 (cfengine3-mode): New mode.
8801 (cfengine3-defuns cfengine3-defuns-regex
8802 (cfengine3-class-selector-regex cfengine3-category-regex)
8803 (cfengine3-vartypes cfengine3-font-lock-keywords)
8804 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8805 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8806
36b148cf
MA
88072011-07-01 Michael Albinus <michael.albinus@gmx.de>
8808
8809 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8810
8811 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8812
0bf4ba9a
MR
88132011-07-01 Martin Rudalics <rudalics@gmx.at>
8814
8815 * window.el (same-window-buffer-names, same-window-regexps)
8816 (same-window-p, special-display-frame-alist)
8817 (special-display-popup-frame, special-display-function)
8818 (special-display-buffer-names, special-display-regexps)
8819 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8820 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8821 (split-window-preferred-function, split-height-threshold)
8822 (split-width-threshold, even-window-heights)
8823 (display-buffer-mark-dedicated, window-splittable-p)
8824 (split-window-sensibly, window-safely-shrinkable-p):
8825 Un-obsolete.
8826 (display-buffer): Don't spread args with function specifier
8827 because special-display-popup-frame won't like it.
8828
35837f51
PE
88292011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8830
d0672f86
PE
8831 Time-stamp simplifications and fixes.
8832 These improve accuracy slightly, and future-proof the code
8833 against some potential changes to current-time format.
8834
b9444d97
PE
8835 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8836 by using time-since and float-time.
8837
0ef923dc
PE
8838 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8839 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8840 + NNN microseconds".
8841
2f81380d
PE
8842 * type-break.el (type-break-time-sum): Rewrite using time-add.
8843
845b5c3e
PE
8844 * play/hanoi.el (hanoi-current-time-float): Remove.
8845 All uses replaced by float-time.
8846
ee6f1be0
PE
8847 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8848 This yields a more-accurate answer.
8849 (rng-time-to-float): Remove; no longer needed.
8850
fe955043
PE
8851 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8852
5777162a
PE
8853 * calendar/timeclock.el (timeclock-seconds-to-time):
8854 Defalias to seconds-to-time, since they're the same thing.
8855
3103f8b6 8856 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8857 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8858 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8859
0e61a35f
SM
88602011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8861
8862 * window.el (bury-buffer): Don't iconify the only frame.
8863 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8864 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8865
ddd63a1e
CY
88662011-07-01 Chong Yidong <cyd@stupidchicken.com>
8867
0e61a35f
SM
8868 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8869 Add mouse-yank-primary.
ddd63a1e 8870
055f4923
TZ
88712011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8872
8873 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8874
6a2fb145
SM
88752011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8878 (find-library-name): Use it to find relative load names when provided
8879 absolute file name (bug#8803).
8880
fd4983f2
LMI
88812011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8882
887d14ad
LMI
8883 * textmodes/flyspell.el (flyspell-word): Consider words that
8884 differ only in case as potential doublons (bug#5687).
8885
c53dc7fc
LMI
8886 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8887 Remove two rather uninteresting debugging-like messages to make
8888 debbugs.el more silent.
8889
fd4983f2
LMI
8890 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8891 a password-like phrase.
8892
7a71b18d 88932011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8894
8895 * progmodes/cc-guess.el: New file.
8896
6a2fb145 8897 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8898
8899 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8900 derived from `c-basic-common-init'.
8901
8902 * progmodes/cc-mode.el (top-level): Require cc-guess.
8903 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8904
1fa280a3
LM
89052011-06-30 Lawrence Mitchell <wence@gmx.li>
8906
8907 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8908
e6597158
AM
89092011-06-30 Alan Mackenzie <acm@muc.de>
8910
1fa280a3
LM
8911 * progmodes/cc-engine.el (c-guess-continued-construct):
8912 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8913 lock is disabled. Name this case as "CASE G".
8914
68ba37fb
KM
89152011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8916
8917 * allout.el (allout-yank-processing): Fix injection of extra space
8918 between bullet and non-whitespace character in first topic when
8919 pasting, ensuring that the actual spacing in the pasted topic
8920 following the bullet char is preserved. This extra space was
8921 causing pasted encrypted topics to get a decrypted status even
8922 when the content was actually still encrypted. Now the decryption
8923 status from before the paste is preserved.
8924
8925 (allout-flag-region): Set all allout overlays so they evaporate
8926 when reduced to zero length (evanescent), to prevent overlay
8927 leakage.
8928
887a0b34
GM
89292011-06-30 Glenn Morris <rgm@gnu.org>
8930
94b9acce
GM
8931 * w32-fns.el (w32-charset-info-alist): Declare.
8932
1d9b46d4
GM
8933 * find-dired.el (find-grep-options): Simplify.
8934
cc232200
GM
8935 * term/ns-win.el (ns-set-resource): Declare.
8936
28e77c46
GM
8937 * ses.el (row, col): Declare dynamic variables honestly.
8938
887a0b34
GM
8939 * textmodes/reftex-parse.el (index-tags): Declare.
8940
658d8eb8
CY
89412011-06-30 Chong Yidong <cyd@stupidchicken.com>
8942
8943 * cus-edit.el (customize-push-and-save): New function.
8944
8945 * files.el (hack-local-variables-confirm): Use it.
8946
1fa280a3
LM
8947 * custom.el (load-theme): New arg NO-CONFIRM.
8948 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8949 (custom-enabled-themes): Doc fix.
8950
8951 * cus-theme.el (customize-create-theme)
8952 (custom-theme-merge-theme): Callers to load-theme changed.
8953
bb617717
LMI
89542011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8955
d61bdd5d
LMI
8956 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8957 short URLs have at least one dot in them (bug #7614).
8958
bb617717
LMI
8959 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8960 nil, because using a pty is apparently too slow (bug #895).
8961
2f31f37a
LMI
89622011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8963
8964 * mail/sendmail.el (sendmail-query-once): New function.
8965 (sendmail-query-once-function): New variable.
8966
3076b24e
GM
89672011-06-29 Glenn Morris <rgm@gnu.org>
8968
faf2a174
GM
8969 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8970
3076b24e
GM
8971 * ses.el (top-level): Require cl when compiling.
8972 (ses-set-localvars): Fix error statement.
8973 Call it at compile time to silence a storm of warnings.
8974
5386012d
MR
89752011-06-29 Martin Rudalics <rudalics@gmx.at>
8976
8977 * window.el (normalize-live-buffer): Rename to
8978 window-normalize-buffer.
8979 (normalize-live-frame): Rename to window-normalize-frame.
8980 (normalize-any-window): Rename to window-normalize-any-window.
8981 (normalize-live-window): Rename to window-normalize-live-window.
8982 (make-window-atom): Rename to window-make-atom.
8983 (window-resize-reset): Rename to window--resize-reset.
8984 (window-resize-reset-1): Rename to window--resize-reset-1.
8985 (resize-mini-window): Rename to window--resize-mini-window.
8986 (resize-subwindows-skip-p): Rename to
8987 window--resize-subwindows-skip-p.
8988 (resize-subwindows-normal): Rename to
8989 window--resize-subwindows-normal.
8990 (resize-subwindows): Rename to window--resize-subwindows.
8991 (resize-other-windows): Rename to window--resize-siblings.
8992 (resize-this-window): Rename to window--resize-this-window.
8993 (resize-root-window): Rename to window--resize-root-window.
8994 (resize-root-window-vertically): Rename to
8995 window--resize-root-window-vertically.
8996 (normalize-buffer-to-display): Rename to
8997 window-normalize-buffer-to-display.
8998 (normalize-buffer-to-switch-to): Rename to
8999 window-normalize-buffer-to-switch-to.
9000 Correspondingly update all callers of the functions listed
9001 above.
9002 (display-buffer-alist, display-buffer-normalize-arguments)
9003 (display-buffer-normalize-options, display-buffer)
9004 (display-buffer-alist-set): Use "function" instead of
9005 "fun-with-args".
9006
1176868d
CY
90072011-06-28 Chong Yidong <cyd@stupidchicken.com>
9008
9009 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9010 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9011 debbugs.gnu.org. Mention acknowledgment email.
9012
20a7a65f
LMI
90132011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9014
9015 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9016 buffer multibyteness, since it shouldn't matter.
9017
5f45cca5
MR
90182011-06-28 Martin Rudalics <rudalics@gmx.at>
9019
9020 * window.el (display-buffer-in-side-window): Handle dedicated
9021 windows as in display-buffer-reuse-window.
9022 (display-buffer-normalize-alist): Use value of override
9023 specifier.
9024 (display-buffer-normalize-specifiers): Use value of
9025 other-window-means-other-frame specifier.
9026 (display-buffer-alist): Rewrite some texts in widgets.
9027 (display-buffer): Spread arguments when calling function
9028 specified by fun-with-args.
9029
ad85fe1f
DD
90302011-06-28 Deniz Dogan <deniz@dogan.se>
9031
1fa280a3
LM
9032 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9033 Unnest `let'.
da68c4c8 9034
ad85fe1f
DD
9035 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9036 selectors (Bug#5732).
ec49bd31 9037 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9038
a08cc025
JA
90392011-06-27 Jari Aalto <jari.aalto@cante.net>
9040
9041 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9042 (eshell-ls-date-format): New defcustom.
9043 (eshell-ls-file): Use it.
9044
e2b551c5
SM
90452011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9048
8982b231
KY
90492011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9050
9051 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9052 (ange-ftp-make-tmp-name): New arg.
9053 (ange-ftp-file-local-copy): Use it.
9054
36c9fa27
J
90552011-06-27 Jambunathan K <kjambunathan@gmail.com>
9056
9057 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9058 no-conversion (Bug#8870).
9059
d68443dc
MR
90602011-06-27 Martin Rudalics <rudalics@gmx.at>
9061
9062 * window.el (window-right, window-left, window-child)
9063 (window-child-count, window-last-child)
9064 (window-iso-combination-p, walk-window-tree-1)
9065 (window-atom-check-1, window-tree-1, delete-window)
9066 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9067 new naming conventions - window-vchild, window-hchild,
9068 window-next and window-prev are now called window-top-child,
9069 window-left-child, window-next-sibling and window-prev-sibling
9070 respectively.
d615d6d2
MR
9071 (resize-window-reset): Rename to window-resize-reset.
9072 (resize-window-reset-1): Rename to window-resize-reset-1.
9073 (resize-window): Rename to window-resize.
9074 (window-min-height, window-min-width)
9075 (resize-mini-window, resize-this-window, resize-root-window)
9076 (resize-root-window-vertically, adjust-window-trailing-edge)
9077 (enlarge-window, shrink-window, maximize-window)
9078 (minimize-window, delete-window, quit-restore-window)
9079 (split-window, balance-windows, balance-windows-area-adjust)
9080 (balance-windows-area, window-state-put-2)
9081 (display-buffer-even-window-sizes, display-buffer-set-height)
9082 (display-buffer-set-width, set-window-text-height)
9083 (fit-window-to-buffer): Rename all "resize-window" prefixed
9084 calls to use the "window-resize" prefix convention.
9085 (display-buffer-alist): Fix symbol for label specifier.
9086 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9087 corresponding specifier.
9088 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9089
b6458526
VB
90902011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9091
9092 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9093 convention.
9094 (ses-call-printer): Does not pass an empty string to formatter when the
9095 cell is empty to keep from barking printer Calc math-format-value.
9096
d31fd9ac
RS
90972011-06-27 Richard Stallman <rms@gnu.org>
9098
43d5bf84
RS
9099 * battery.el (battery-mode-line-limit): New variable.
9100 (battery-update): Handle it.
9101
d31fd9ac
RS
9102 * mail/rmailmm.el (rmail-mime-process-multipart):
9103 Handle truncated messages.
9104
819a6054
GM
91052011-06-27 Glenn Morris <rgm@gnu.org>
9106
9107 * progmodes/flymake.el (flymake-err-line-patterns):
9108 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9109
cedc73f2
VB
91102011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9111
819a6054 9112 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9113 (ses--clean-!, ses--clean-_): New functions.
9114 (ses-range): Add configurability of readout order, and conversion
9115 to Calc vector.
9116
5e5d49b6
VB
9117 * ses.el (ses-repair-cell-reference-all): New function.
9118 (ses-cell-symbol): Set macro as safe, so that it can be used in
9119 formulas.
9120
56e6cc31 9121 * ses.el: Update cycle detection algorithm.
90ca8b49 9122 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9123 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9124 (ses-set-localvars): New function.
9125 (ses-make-cell): Add property-list as a cell element.
9126 (ses-cell-property-get-fun, ses-cell-property-get)
9127 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9128 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9129 New functions.
90ca8b49
VB
9130 (ses-cell-property-set, ses-cell-property-pop)
9131 (ses-cell-property-get-handle): New macro.
9132 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9133 New aliases, used for code readability.
9134 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9135 cycle detection.
9136 (ses-self-reference-early-detection): New defcustom.
fac916bf 9137 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9138 (ses-mode): Use ses-set-localvars.
9139 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9140 before lauching the update processing.
9141 (ses-initialize-Dijkstra-attempt): New function.
9142 (ses-recalculate-cell): Update for cycle detection based on
9143 Dijkstra algorithm.
9144
2bb63e81
VB
9145 * ses.el: Fix commenting and indenting convention.
9146
c9d29fb8
SM
91472011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9148
9149 * bs.el (bs-cycle-next): Complete last change.
9150
d8e4b68b
JB
91512011-06-27 Drew Adams <drew.adams@oracle.com>
9152
9153 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9154
40098786
LMI
91552011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9156
c9d29fb8
SM
9157 * net/network-stream.el (network-stream-open-starttls):
9158 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9159 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9160
40098786
LMI
9161 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9162 to binary to possibly avoid line encoding issues on Windows (among
9163 other things).
9164
468d09d4
LMI
91652011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9166
9167 * net/network-stream.el (open-network-stream): Return an :error
9168 saying what the problem was, if possible.
9169
9170 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9171 server.
9172
9173 * net/network-stream.el (network-stream-open-starttls): If we
9174 wanted to use STARTTLS, and the server offered it, but we weren't
9175 able to because we had no STARTTLS support, then close the connection.
9176 (open-network-stream): Return an :error element, if present.
9177
16f07dd7
CY
91782011-06-26 Chong Yidong <cyd@stupidchicken.com>
9179
88821ca0
CY
9180 * hl-line.el (hl-line-sticky-flag): Doc fix.
9181 (global-hl-line-sticky-flag): New option (Bug#8323).
9182 (global-hl-line-highlight): Obey it.
9183
16f07dd7
CY
9184 * vc/vc.el (vc-revert-show-diff): Default to t.
9185
6b5ccddf
KM
91862011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9187
c9d29fb8
SM
9188 * allout-widgets.el (allout-widgets-post-command-business):
9189 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9190 undecorated when an isearch is continued past, and isearch
9191 automatically collapses them. This leads to "widget leaks", where
9192 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9193 hidden widgets can slow down cursor travel, substantially.
9194 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9195 so we're doing without this nicety.
9196
9197 (allout-widgets-tally-string): Don't try to do a hash-table-count
9198 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9199 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9200 *Messages* when allout-widgets-maintain-tally is t.
9201
355f2e07
MR
92022011-06-26 Martin Rudalics <rudalics@gmx.at>
9203
9204 * window.el (display-buffer-normalize-argument): Rename to
9205 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9206 LABEL argument. Respect special-display-function when popping up
9207 a new frame. Fix code searching for a window showing the buffer
9208 on another frame.
c9d29fb8
SM
9209 (display-buffer-normalize-specifiers):
9210 Call display-buffer-normalize-arguments.
355f2e07
MR
9211 (display-buffer-in-window): Don't undedicate the window if its
9212 buffer remains the same.
9213 Reported by Drew Adams <drew.adams@oracle.com>.
9214 (display-buffer-alist): Add choice for same-window macro
9215 specfier.
9216 (display-buffer): Mention special meaning of LABEL argument in
9217 doc-string. Fix quoting. Don't pop up a new frame even as
9218 fallback.
9219
7ca8fc42
JB
92202011-06-26 Juanma Barranquero <lekktu@gmail.com>
9221
9222 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9223 avoid deleting the current window in some cases (bug#8911).
9224
bc312254
AS
92252011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9226
9227 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9228 (Bug#8934)
9229
2db18f3f
LMI
92302011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9231
c9d29fb8
SM
9232 * net/network-stream.el (network-stream-open-starttls):
9233 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9234 (network-stream-open-tls): Ditto.
9235
6302e0d3
LL
92362011-06-26 Leo Liu <sdl.web@gmail.com>
9237
9238 * register.el (registerv): New struct.
9239 (registerv-make): New function.
c9d29fb8
SM
9240 (jump-to-register, describe-register-1, insert-register):
9241 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9242 struct. (Bug#8415)
9243
5fdd4046
CY
92442011-06-26 Chong Yidong <cyd@stupidchicken.com>
9245
2afef60a
CY
9246 * vc/vc.el (vc-revert-show-diff): New defcustom.
9247 (vc-diff-internal): New arg specifying diff buffer.
9248 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9249 reuse an existing *vc-diff* buffer (Bug#8927).
9250
5fdd4046
CY
9251 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9252
e93db24a
GM
92532011-06-26 Glenn Morris <rgm@gnu.org>
9254
9255 * progmodes/f90.el (f90-critical-indent): New option.
9256 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9257 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9258 (f90-mode): Doc fix.
9259 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9260 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9261 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9262 (f90-match-end): Handle block, critical.
9263
eefff499
GM
92642011-06-25 Glenn Morris <rgm@gnu.org>
9265
f6ba4cc9
GM
9266 * calendar/diary-lib.el (diary-included-files): Doc fix.
9267 (diary-include-files): New function, extracted from
9268 diary-include-other-diary-files and diary-mark-included-diary-files.
9269 (diary-include-other-diary-files, diary-mark-included-diary-files):
9270 Just call diary-include-files.
9271 (diary-mark-entries): Reset diary-included-files on first call.
9272
16712304
GM
9273 * calendar/diary-lib.el (diary-mark-entries)
9274 (diary-mark-included-diary-files):
9275 Visit included diary-files in temp buffers.
9276
5d8e0d43
GM
9277 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9278 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9279 (f90-start-block-re, f90-imenu-generic-expression)
9280 (f90-looking-at-program-block-start, f90-no-block-limit):
9281 Add support for submodules.
9282
ccf7a5d5
GM
9283 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9284 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9285
11fdef7d 92862011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9287
9288 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9289 buffer-file-type before setting its value, to avoid disastrous
eefff499 9290 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9291
74f53697
JB
92922011-06-25 Juanma Barranquero <lekktu@gmail.com>
9293
9294 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9295
9296 * ses.el (ses-unload-function):
9297 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9298
9299 * proced.el (proced-unload-function):
9300 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9301
18a4ce5e
AR
93022011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9303
9304 * server.el (server-create-window-system-frame): Add parameters arg.
9305 (server-process-filter): Doc fix. Handle frame-parameters.
9306
519d22cc
JB
93072011-06-25 Juanma Barranquero <lekktu@gmail.com>
9308
9309 Fix bug#8730, bug#8781.
9310
9311 * loadhist.el (unload--set-major-mode): New function.
9312 (unload-feature): Use it.
9313
9314 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9315 (python-unload-function): New function.
9316
c206f5b0
SM
93172011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9320
f9ad64f3
GS
93212011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9322
9323 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9324 the candidates list.
9325
7d0da90e
JB
93262011-06-24 Juanma Barranquero <lekktu@gmail.com>
9327
9328 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9329
14b4e83d
RS
93302011-06-23 Richard Stallman <rms@gnu.org>
9331
9332 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9333 (rmail-variables): Set next-error-move-function.
9334 (rmail-what-message): Take argument POS.
9335 (rmail-next-error-move): New function.
9336
273d2baf
SM
93372011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9338
9339 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9340 messages for adjacent non-terminals.
9341
56c2cc9a
RS
93422011-06-23 Richard Stallman <rms@gnu.org>
9343
9344 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9345 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9346 (rmail-start-mail): Don't specify use of rmail-mail-return;
9347 that's done by mail-bury now.
9348 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9349
d59eb518
MA
93502011-06-23 Michael Albinus <michael.albinus@gmx.de>
9351
9352 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9353 SIZE is a number.
9354
02cfc6d6
MR
93552011-06-23 Martin Rudalics <rudalics@gmx.at>
9356
9357 * window.el (get-lru-window, get-mru-window)
9358 (get-largest-window): Never return a minibuffer window.
9359 (display-buffer-pop-up-window): Fix a bug that could lead to
9360 reusing the minibuffer window.
9361 (display-buffer): Pass original specifier argument to
9362 display-buffer-function instead of the normalized one.
9363 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9364
4e323265
LL
93652011-06-22 Leo Liu <sdl.web@gmail.com>
9366
9367 * minibuffer.el (completing-read-function)
9368 (completing-read-default): Move from minibuf.c
9369
7a70468f
RS
93702011-06-22 Richard Stallman <rms@gnu.org>
9371
50718fc2
RS
9372 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9373 to Rmail even if not started by a special Rmail command.
9374
7a70468f
RS
9375 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9376 Copy the buffer currently showing just one message.
9377
297dde5a
RW
93782011-06-22 Roland Winkler <winkler@gnu.org>
9379
9380 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9381 (bibtex-clean-entry): First delete the old key so that a
9382 customized algorithm for generating the new key does not get
9383 confused by the old key.
9384 (bibtex-url): Obey regexp of first step.
9385 (bibtex-search-entries): Do not use add-to-list with local
9386 list-var.
9387
97bb1093
LMI
93882011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9389
9390 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9391 stored a user name, then query for the password first, instead of
9392 waiting for SMTP to give an error message and the trying again.
9393
1c0f1a19
JD
93942011-06-22 Lawrence Mitchell <wence@gmx.li>
9395
9396 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9397 BUFFER in call-process.
9398
396f7c9d
LMI
93992011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9400
9401 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9402 QUIT twice.
ddb7ffee
LMI
9403 (smtpmail-try-auth-methods): Require user name and password from
9404 auth-source.
396f7c9d 9405
8998d1b3
MR
94062011-06-22 Martin Rudalics <rudalics@gmx.at>
9407
9408 * window.el (display-buffer-default-specifiers)
9409 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9410 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9411 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9412
9413 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9414 (special-display-frame-alist, special-display-popup-frame):
9415 Remove duplicate declarations. These are now in window.el.
9416
4ea31e07
LMI
94172011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9418
c9d29fb8
SM
9419 * mail/smtpmail.el (smtpmail-via-smtp):
9420 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9421 server supports it. SMTP servers that support STARTTLS commonly
9422 require it.
9423
9424 * net/network-stream.el (network-stream-open-starttls): Support
9425 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9426 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9427
95f41d9a
LMI
9428 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9429 upgrades with `open-network-stream', and rely solely on
9430 auth-source for all credentials. Big changes throughout the file,
9431 but in particular:
c9d29fb8
SM
9432 (smtpmail-auth-credentials): Remove.
9433 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9434 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9435 MAIL FROM, too.
95f41d9a 9436
c9d29fb8
SM
9437 * net/network-stream.el (network-stream-open-starttls):
9438 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9439 STARTTLS.
9440 (auth-source): Require.
9441 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9442 (network-stream-certificate): Change cert-cert to cert and
9443 cert-key to key.
4ea31e07 9444
065ec2c7
MA
94452011-06-21 Michael Albinus <michael.albinus@gmx.de>
9446
9447 * net/tramp-cache.el (top): Don't load the persistency file when
9448 "emacs -Q" has been called.
9449
cd93b359
DR
94502011-06-21 Tim Harper <timcharper@gmail.com>
9451
d8e4b68b
JB
9452 * term/ns-win.el (ns-initialize-window-system):
9453 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9454 resource to NO as it is not yet supported by the NS port.
9455
ae9c0411
JB
94562011-06-21 Juanma Barranquero <lekktu@gmail.com>
9457
9458 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9459 (list-dynamic-libraries): ...not here.
9460
7f3f739f
LL
94612011-06-21 Leo Liu <sdl.web@gmail.com>
9462
9463 * subr.el (sha1): Implement sha1 using secure-hash.
9464
327c8fb1
MR
94652011-06-21 Martin Rudalics <rudalics@gmx.at>
9466
9467 * window.el (display-buffer-alist): In default value do not
9468 enforce searching a window on any but the selected frame.
9469 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9470 (display-buffer-select-window): Remove function.
9471 (display-buffer-in-window): When a window on another frame gets
9472 reused, do not select it any more but just raise its frame if
9473 necessary (Bug#8851) and (Bug#8856).
9474 (display-buffer-normalize-options): Handle pop-up-frames related
9475 options more faithfully.
9476 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9477 window if it is on another frame.
c9d29fb8
SM
9478 (display-buffer-alist, display-buffer-default-specifiers):
9479 Don't make new frame unsplittable by default.
9e9de014
MR
9480 (display-buffer-normalize-argument): Fix doc-string typo and use
9481 'same-frame-other-window instead of 'other-window when associating
9482 with display-buffer-macro-specifiers.
327c8fb1 9483
7cf3f556
VB
94842011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9485
9486 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9487 New functions.
9488 (5x5-mode-map, 5x5-mode-menu): Bind them.
9489 (5x5-draw-grid): Tweak the solver's rendering.
9490
60a406cf
SM
94912011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9492
9493 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9494 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9495
d8e4b68b 94962011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9497
9498 * menu-bar.el: Use function variable instead of switch-to-buffer.
9499 (menu-bar-select-buffer-function): New variable.
60a406cf 9500 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9501
478d6f95
SM
95022011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9503
9504 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9505 variable's status.
9506
ca530739
JD
95072011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9508
9509 * x-dnd.el (x-dnd-version-from-flags)
9510 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9511 and long as number (Bug#8899).
9512 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9513
bcd70d97
SM
95142011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9515
60a406cf 9516 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9517 (completion-try-completion, completion-all-completions): Compute the
9518 metadata argument if it's missing; make it optional (bug#8795).
9519
60a406cf 9520 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9521 (widget-complete): Use new :completion-function property.
9522 (widget-completions-at-point): New function.
9523 (default): Use :completion-function instead of :complete.
60a406cf
SM
9524 (widget-default-completions): Rename from widget-default-complete;
9525 Rewrite.
bcd70d97
SM
9526 (widget-string-complete, widget-file-complete, widget-color-complete):
9527 Remove functions.
9528 (file, symbol, function, variable, coding-system, color):
9529 * international/mule-cmds.el (default-input-method, charset)
9530 (language-info-custom-alist):
9531 * cus-edit.el (face): Use new property :completions.
9532
9533 * progmodes/pascal.el (pascal-completions-at-point): New function.
9534 (pascal-mode): Use it.
9535 (pascal-mode-map): Use completion-at-point.
9536 (pascal-toggle-completions): Make obsolete.
9537 (pascal-complete-word, pascal-show-completions):
9538 * progmodes/octave-mod.el (octave-complete-symbol):
9539 Redefine as obsolete alias.
9540 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9541 Signal absence of completion info for old Octave,
9542 (inferior-octave-complete): Redefine as obsolete alias.
9543 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9544 (meta-completions-at-point): Rename from meta-complete-symbol and
9545 adapt it for use on completion-at-point-functions.
9546 (meta-common-mode): Use it.
9547 (meta-looking-at-backward, meta-match-buffer): Remove.
9548 (meta-complete-symbol): Redefine as obsolete alias.
9549 (meta-common-mode-map): Use completion-at-point.
9550 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9551 (makefile-mode-map): Use completion-at-point.
9552 (makefile-completions-at-point): Rename from makefile-complete and
9553 adapt it for use on completion-at-point-functions.
9554 (makefile-mode): Use it.
9555 (makefile-complete): Redefine as obsolete alias.
9556
aebf69c8
DD
95572011-06-20 Deniz Dogan <deniz@dogan.se>
9558
9559 * net/rcirc.el: Delete trailing whitespaces once and for all.
9560
bfbbb27d
DC
95612011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9562
9563 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9564
d264a46b
CY
95652011-06-19 Chong Yidong <cyd@stupidchicken.com>
9566
4ca009e5
CY
9567 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9568
d264a46b
CY
9569 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9570
fbf5b3ce
MR
95712011-06-19 Martin Rudalics <rudalics@gmx.at>
9572
9573 * window.el (display-buffer-other-window-means-other-frame):
9574 Call display-buffer-normalize-alist.
9575 (display-buffer-normalize-specifiers-1): Rename to
9576 display-buffer-normalize-argument. New argument other-frame.
9577 Rewrite.
9578 (display-buffer-normalize-specifiers-2): Rename to
9579 display-buffer-normalize-options.
9580 (display-buffer-normalize-alist-1): New function.
9581 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9582 display-buffer-normalize-alist.
9583 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9584 (display-buffer-normalize-options-inhibit): New variable.
9585 (display-buffer-normalize-specifiers): Rewrite calling
9586 display-buffer-normalize-alist,
9587 display-buffer-normalize-argument, and
9588 display-buffer-normalize-options. Don't call the latter if
9589 display-buffer-normalize-options-inhibit is non-nil.
9590 (frame-auto-delete): New option.
9591 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9592 (window-list-no-nils, window-state-ignored-parameters)
9593 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9594 (window-state-put-1, window-state-put-2, window-state-put):
9595 New functions.
9a028c23
MR
9596 (display-buffer-normalize-options): Move special-display-p group
9597 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9598
6d10d800
CY
95992011-06-18 Chong Yidong <cyd@stupidchicken.com>
9600
6420d28b
CY
9601 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9602 groups (Bug#8776).
9603 (rx-submatch-n): New function.
9604 (rx): Document it.
9605
ddb8b596
CY
9606 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9607 (Bug#8768).
9608
9609 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9610
77080289
CY
9611 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9612
61dfb316
CY
9613 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9614 anytime existing face settings are present (Bug#8889).
9615
6d10d800
CY
9616 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9617 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9618 Remove unused argument.
9619
be3fb2b8
MR
96202011-06-18 Martin Rudalics <rudalics@gmx.at>
9621
bcd70d97
SM
9622 * window.el (display-buffer-default-specifiers):
9623 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9624 pop-up-window-min-width, and another reuse-window specifier
9625 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9626 (display-buffer-normalize-specifiers-2):
9627 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9628 pop-up-windows is unset. Add a reuse-window specifier for the
9629 case popping up a new window fails.
9630 (special-display-popup-frame): Remove double quoting.
28dec25a 9631 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9632
1c6d8c76
SM
96332011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9634
9635 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9636 according to comint-completion-addsuffix.
9637
9638 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9639 (pcomplete-suffix-list): Mark as obsolete.
9640 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9641 pcomplete-seen in the closure.
9642 (pcomplete-comint-setup): Setup completion-at-point as well.
9643 (pcomplete--entries): New function.
9644 (pcomplete--env-regexp): New var.
9645 (pcomplete-entries): Rewrite to work with partial-completion and
9646 without relying on pcomplete-suffix-list.
9647 (pcomplete-pare-list): Remove, unused.
9648
25aef8b8
MR
96492011-06-17 Martin Rudalics <rudalics@gmx.at>
9650
9651 * window.el (display-buffer-alist): Set pop-up-window-min-height
9652 and pop-up-window-min-width in default value. Reported by
9653 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9654 other-window-means-other-frame.
9655 (display-buffer-macro-specifiers): Comment out entry for
9656 other-window specifier.
9657 (display-buffer-other-window-means-other-frame): New function.
9658 (display-buffer-normalize-specifiers-1): New arguments
9659 buffer-name and label. Treat other-window case specially.
9660 (display-buffer-normalize-specifiers-2): Treat other-window case
9661 specially.
9662 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9663 (display-buffer-normalize-specifiers):
9664 Call display-buffer-normalize-specifiers-3.
25aef8b8 9665
dbad4f69
MR
96662011-06-17 Martin Rudalics <rudalics@gmx.at>
9667
9668 * window.el (same-window-p): Fix two typos introduced when
9669 adding with-no-warnings.
d1067961
MR
9670 (display-buffer-normalize-specifiers-1): Don't check
9671 pop-up-frames for 'unset initialization.
9672 (display-buffer-normalize-specifiers-2): Major rewrite using
9673 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9674 (pop-up-frames, display-buffer-reuse-frames)
9675 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9676 Suggested by David Engster <deng@randomsample.de>.
9677 (even-window-heights): Initialize to 'unset.
9678 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9679 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9680 other window case.
dbad4f69 9681
9b9c9e3a
MR
96822011-06-16 Martin Rudalics <rudalics@gmx.at>
9683
bcd70d97
SM
9684 * window.el (display-buffer-normalize-specifiers-1):
9685 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9686 second argument of display-buffer (Bug#8865).
981d5c09
MR
9687 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9688 (switch-to-buffer-other-window-same-frame)
9689 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9690 Adams (Bug#8875).
9c2755e9
MR
9691 (display-buffer): Don't check noninteractive when calling
9692 display-buffer-pop-up-frame.
9693 (display-buffer-pop-up-frame): Never pop up a frame in
9694 noninteractive mode (Bug#8857).
67222e1d
MR
9695 (enlarge-window, shrink-window): Don't report an error when the
9696 window can't be resized as requested (Bug#8862).
9b9c9e3a 9697
2b75be67
SM
96982011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9ffdd3ba
SM
9700 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9701
cb581a67
SM
9702 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9703
2b75be67
SM
9704 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9705
8c0e3589
AM
97062011-06-15 Alan Mackenzie <acm@muc.de>
9707
cb581a67
SM
9708 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9709 for declarators, disable knr checking to speed up for normal files.
9710 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9711
b96e6cde
LMI
97122011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9713
4bba86e6
LMI
9714 * net/network-stream.el (open-network-stream): Add the keyword
9715 :always-query-capabilities for the case where you want to force a
9716 `plain' network connection, but the protocol still requires the
9717 capabilitiy command (i.e., SMTP and EHLO).
9718
2b75be67 9719 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9720 consistency with other `-live-p' functions.
9721
efdcdbf8
SM
97222011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9723
9724 * window.el (same-window-buffer-names, same-window-regexps)
9725 (special-display-frame-alist, special-display-popup-frame)
9726 (special-display-function, special-display-buffer-names)
9727 (special-display-regexps, pop-up-frame-alist)
9728 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9729 (pop-up-windows, split-window-preferred-function)
9730 (split-height-threshold, split-width-threshold, even-window-heights)
9731 (display-buffer-mark-dedicated): Don't encourage the use of
9732 display-buffer-alist from Elisp code.
9733
c5cde042
DN
97342011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9735
9736 * progmodes/python.el (python-mode): Derive from prog-mode.
9737 * progmodes/ps-mode.el (ps-mode):
9738 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9739 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9740 * progmodes/ld-script.el (ld-script-mode): Likewise.
9741
baa1c9ab
MR
97422011-06-15 Martin Rudalics <rudalics@gmx.at>
9743
9744 * window.el (display-buffer-alist): Trim default value to avoid
9745 popping up a new frame (Bug#8857) or reusing an arbitrary window
9746 on another frame.
9747 (display-buffer): Do not fall back on popping up a new frame in
9748 batch mode (Bug#8857).
9749
c5dd5a51
CY
97502011-06-14 Chong Yidong <cyd@stupidchicken.com>
9751
9752 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9753 (custom-theme-summary): New function.
9754 (customize-themes): Use it.
9755
d647b7c4
GM
97562011-06-13 Glenn Morris <rgm@gnu.org>
9757
9758 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9759
9481c002
MR
97602011-06-13 Martin Rudalics <rudalics@gmx.at>
9761
357f93d2
MR
9762 * help.el (help-window): Remove variable.
9763 (help-window-point-marker, temp-buffer-max-height)
9764 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9765 (help-print-return-message): Don't set help-window.
9766 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9767 (help-window-setup-finish): Remove.
9768 (help-window-display-message, help-window-setup)
9769 (with-help-window): Major rewrite based on new
9770 display-buffer-window variable.
9771
9772 * help-mode.el (help-mode-finish): Remove help-window related
9773 code.
9774
9775 * view.el (view-exits-all-viewing-windows): Remove reference to
9776 view-return-to-alist in doc-string.
9777 (view-return-to-alist): Make obsolete.
9778 (view-buffer): Call pop-to-buffer-same-window and remove
9779 undo-window code.
9780 (view-buffer-other-window): Call pop-to-buffer-other-window and
9781 simplify code. Ignore second argument.
9782 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9783 simplify code. Ignore second argument.
9784 (view-return-to-alist-update): Make obsolete.
9785 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9786 Rewrite using quit-restore window parameters.
2b75be67
SM
9787 (view-mode-exit): Rename second argument to EXIT-ONLY.
9788 Rewrite using quit-restore-window.
357f93d2
MR
9789 (View-exit, View-exit-and-edit, View-leave, View-quit)
9790 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9791 appropriate arguments.
9792 (view-end-message): Use quit-restore window parameter.
9793
9481c002
MR
9794 * window.el (display-buffer-function): Rewrite doc-string.
9795 (display-buffer-window, display-buffer-alist): New variables.
9796 (display-buffer-split-specifiers)
9797 (display-buffer-side-specifiers)
9798 (display-buffer-macro-specifiers): New constants.
9799 (display-buffer-even-window-sizes, display-buffer-set-height)
9800 (display-buffer-set-width, display-buffer-select-window)
9801 (display-buffer-in-window, display-buffer-reuse-window)
9802 (display-buffer-split-window-1, display-buffer-split-window)
9803 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9804 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9805 (display-buffer-in-side-window, normalize-buffer-to-display)
9806 (display-buffer-normalize-specifiers-1)
9807 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9808 (display-buffer-normalize-specifiers, display-buffer-frame):
9809 New functions.
9481c002
MR
9810 (display-buffer): Major rewrite.
9811 (display-buffer-other-window, display-buffer-other-frame)
9812 (pop-to-buffer, switch-to-buffer-other-window)
9813 (switch-to-buffer-other-frame): Rewrite.
9814 (display-buffer-same-window, display-buffer-same-frame)
9815 (display-buffer-same-frame-other-window)
9816 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9817 (pop-to-buffer-other-window)
9818 (pop-to-buffer-same-frame-other-window)
9819 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9820 (switch-to-buffer-other-window-same-frame): New functions.
9821 (same-window-p, special-display-p): Rewrite disabling warnings.
9822 Make obsolete.
9823 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9824 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9825 Make obsolete
9826 (same-window-buffer-names, same-window-regexps)
9827 (special-display-frame-alist, special-display-popup-frame)
9828 (special-display-function, special-display-buffer-names)
9829 (special-display-regexps, pop-up-frame-alist)
9830 (pop-up-frame-function, split-window-preferred-function)
9831 (split-height-threshold, split-width-threshold)
9832 (even-window-heights): Make obsolete.
9833
9db51aca
GM
98342011-06-12 Glenn Morris <rgm@gnu.org>
9835
9836 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9837 Misc simplifications.
9db51aca 9838
39cffb44
MR
98392011-06-12 Martin Rudalics <rudalics@gmx.at>
9840
9841 * window.el (window-safely-shrinkable-p): Restore function which
9842 was inadvertently removed in change from 2011-06-11. Declare as
9843 obsolete.
9844
2b75be67
SM
9845 * calendar/calendar.el (calendar-generate-window):
9846 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9847 window-safely-shrinkable-p.
9848
a8955be7
GM
98492011-06-12 Glenn Morris <rgm@gnu.org>
9850
9851 * progmodes/fortran.el (fortran-mode-syntax-table):
9852 * progmodes/f90.el (f90-mode-syntax-table):
9853 Set % to punctuation. (Bug#8820)
9854 (f90-find-tag-default): Remove, no longer needed.
9855
f0d4059d
DC
98562011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9857
9858 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9859
1100a63c
CY
98602011-06-11 Chong Yidong <cyd@stupidchicken.com>
9861
9862 * image.el (image-animated-p): Return animation delay in seconds.
9863 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9864 (image-animate-timeout): Remove DELAY argument. Don't assume
9865 every subimage has the same delay; get it from image-animated-p.
9866 (image-animate): Caller changed.
9867
def722bf
MA
98682011-06-11 Michael Albinus <michael.albinus@gmx.de>
9869
9870 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9871 to ignored backtrace functions.
9872
0a2bb1a9
GM
98732011-06-11 Glenn Morris <rgm@gnu.org>
9874
9875 * calendar/appt.el (appt-disp-window-function): Doc fix.
9876 (appt-check): Handle overlapping appointments. (Bug#8337)
9877
6198ccd0
MR
98782011-06-11 Martin Rudalics <rudalics@gmx.at>
9879
9880 * window.el (window-tree-1, window-tree): New functions, moving
9881 the latter to window.el.
9882 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9883 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9884 (bw-refresh-edges): Remove.
9885 (balance-windows-1, balance-windows-2): New functions.
9886 (balance-windows): Rewrite in terms of window tree functions,
9887 balance-windows-1 and balance-windows-2.
9888 (bw-adjust-window): Remove.
9889 (balance-windows-area-adjust): New function with functionality of
9890 bw-adjust-window but using resize-window.
2b75be67
SM
9891 (set-window-text-height): Rewrite doc-string.
9892 Use normalize-live-window and resize-window.
9893 (enlarge-window-horizontally, shrink-window-horizontally):
9894 Rename argument to DELTA.
6198ccd0
MR
9895 (window-buffer-height): New function.
9896 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9897 Rewrite using new window resize routines.
2b75be67
SM
9898 (kill-buffer-and-window, mouse-autoselect-window-select):
9899 Use ignore-errors instead of condition-case.
6198ccd0
MR
9900 (quit-window): Call delete-frame instead of delete-windows-on
9901 for the only buffer on frame.
9902
9397e56f
MR
99032011-06-10 Martin Rudalics <rudalics@gmx.at>
9904
9905 * loadup.el (top-level): Load window before files for the sake
9906 of replace-buffer-in-windows.
9907
9908 * files.el (read-buffer-to-switch)
9909 (switch-to-buffer-other-window)
2b75be67
SM
9910 (switch-to-buffer-other-frame, display-buffer-other-frame):
9911 Move to window.el.
9397e56f
MR
9912
9913 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9914 (previous-buffer): Move to window.el.
9915
9916 * bindings.el (unbury-buffer): Move to window.el.
9917
9918 * window.el (delete-other-windows-vertically): Move after
9919 definition of delete-other-windows.
9920 (other-window, delete-windows-on, replace-buffer-in-windows):
9921 Move here from window.c.
9922 (record-window-buffer, unrecord-window-buffer)
9923 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9924 (switch-to-next-buffer): New functions.
9925 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9926 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9927 (previous-buffer): Move here from simple.el.
9928 Call switch-to-prev-buffer.
9397e56f
MR
9929 (bury-buffer): Move here from buffer.c. Switch to previous
9930 buffer when window cannot be deleted.
9931 (unbury-buffer): Move here from bindings.el.
9932 (ctl-x-map): Move binding for other-window from window.c to
9933 here.
9934 (read-buffer-to-switch, switch-to-buffer-other-window)
9935 (switch-to-buffer-other-frame): Move here from files.el.
9936 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9937 (switch-to-buffer): Move here from buffer.c.
9938 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9939
562dd5e9
MR
99402011-06-10 Martin Rudalics <rudalics@gmx.at>
9941
9942 * window.el (window-min-height, window-min-width): Move here
9943 from window.c. Add defcustoms and rewrite doc-strings.
9944 (resize-mini-window, resize-window): New functions.
9945 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9946 Move here from window.c.
9947 (maximize-window, minimize-window): New functions.
9948 (delete-window, delete-other-windows, split-window): Move here
9949 from window.c.
9950 (window-split-min-size): New function.
9951 (split-window-keep-point): Mention split-window-above-each-other
9952 instead of split-window-vertically.
2b75be67 9953 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9954 Rename split-window-vertically to split-window-above-each-other
9955 and provide defalias for old definition.
9956 (split-window-side-by-side, split-window-horizontally):
9957 Rename split-window-horizontally to split-window-side-by-side
9958 and provide defalias for the old definition.
562dd5e9
MR
9959 (ctl-x-map): Move bindings for delete-window,
9960 delete-other-windows and enlarge-window here from window.c.
9961 Replace bindings for split-window-vertically and
9962 split-window-horizontally by bindings for
9963 split-window-above-each-other and split-window-side-by-side.
9964
9965 * cus-start.el (all): Remove entries for window-min-height and
9966 window-min-width. Add entries for window-splits and
9967 window-nest.
9968
f0da764a
GM
99692011-06-09 Glenn Morris <rgm@gnu.org>
9970
80675c21
GM
9971 * calendar/appt.el (appt-mode-line): New function.
9972 (appt-check, appt-disp-window): Use it.
9973
f0da764a
GM
9974 * files.el (hack-one-local-variable-eval-safep):
9975 Allow minor-modes with explicit +/-1 arguments.
9976
59f623b7
TZ
99772011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9978
9979 * term/xterm.el (xterm): Add defgroup.
9980 (xterm-extra-capabilities): Add defcustom to supply known xterm
9981 capabilities, skip querying them, or query them (default).
9982 (terminal-init-xterm): Use it.
9983 (terminal-init-xterm-modify-other-keys): New function to set up
9984 modifyOtherKeys support to simplify `terminal-init-xterm'.
9985
9aab8e0d
MR
99862011-06-09 Martin Rudalics <rudalics@gmx.at>
9987
9988 * window.el (resize-window-reset, resize-window-reset-1)
9989 (resize-subwindows-skip-p, resize-subwindows-normal)
9990 (resize-subwindows, resize-other-windows, resize-this-window)
9991 (resize-root-window, resize-root-window-vertically)
9992 (window-deletable-p, window-or-subwindow-p)
9993 (frame-root-window-p): New functions.
9994
e8b08aee
GM
99952011-06-09 Glenn Morris <rgm@gnu.org>
9996
9997 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9998 (ange-ftp-get-files): Use it.
9999
254c37a5
AK
100002011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10001
10002 * mail/sendmail.el (mail-recover-1, mail-recover):
10003 * files.el (recover-file, recover-session):
10004 Handle dired-listing-switches not being just a single short option.
10005
35d7dbd3
GM
100062011-06-09 Glenn Morris <rgm@gnu.org>
10007
10008 * calendar/appt.el (appt-display-message, appt-disp-window):
10009 Handle lists of appointments.
10010
387522b2
MR
100112011-06-08 Martin Rudalics <rudalics@gmx.at>
10012
2b75be67
SM
10013 * window.el (one-window-p): Move down in code.
10014 Rewrite doc-string.
10015 (window-current-scroll-bars): Rewrite doc-string.
10016 Normalize live window argument.
387522b2
MR
10017 (walk-windows, get-window-with-predicate, count-windows):
10018 Rewrite doc-string. Use window-list-1.
10019 (window-in-direction-2, window-in-direction, get-mru-window):
10020 New functions.
10021
d8e4b68b 100222011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10023
10024 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10025 Doc fix (Bug#8713).
10026
100272011-06-08 Chong Yidong <cyd@stupidchicken.com>
10028
10029 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10030
100312011-06-08 Juanma Barranquero <lekktu@gmail.com>
10032
10033 * loadhist.el (unload-feature-special-hooks):
10034 Add `comint-output-filter-functions'.
10035
0de12c52
IK
100362011-06-08 Ivan Kanis <gnu@kanis.fr>
10037
10038 * calendar/appt.el (appt-check): Move some initializations into the let.
10039
f3d1777e
MR
100402011-06-08 Martin Rudalics <rudalics@gmx.at>
10041
10042 * window.el (window-height): Defalias to window-total-height.
10043 (window-width): Defalias to window-body-width.
10044
18af70d0
CY
100452011-06-07 Chong Yidong <cyd@stupidchicken.com>
10046
10047 * image-mode.el (image-toggle-animation): New command.
10048 (image-mode-map): Bind it to RET.
10049 (image-mode): Update message.
10050 (image-toggle-display-image): Avoid a spurious cache flush.
10051 (image-transform-rotation): Doc fix.
10052 (image-transform-properties): Return quickly in the normal case.
10053 (image-animate-loop): Rename from image-animate-max-time.
10054
2b75be67 10055 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10056 (create-animated-image): Remove unnecessary function.
10057 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10058 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10059 (image-animate-timer): Use car-safe.
10060 (image-animate-timeout): Rename argument.
10061
190b47e6
MR
100622011-06-07 Martin Rudalics <rudalics@gmx.at>
10063
10064 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10065 window.c. Rename first argument to ALL-FRAMES.
10066 Rephrase doc-strings.
10067 (get-buffer-window-list): Rewrite using window-list-1.
10068 Rephrase doc-string.
a1511caf
MR
10069 (window-safe-min-height, window-safe-min-width): New constants.
10070 (window-size-ignore, window-min-size, window-min-size-1)
10071 (window-sizable, window-sizable-p, window-size-fixed-1)
10072 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10073 (window-max-delta-1, window-max-delta, window-resizable)
10074 (window-resizable-p, window-total-height, window-total-width)
10075 (window-body-width): New functions.
10076 (window-full-height-p, window-full-width-p): Rewrite using
10077 window-total-size.
10078 (window-body-height): Rewrite using window-body-size.
190b47e6 10079
85cc1f11
MR
100802011-06-06 Martin Rudalics <rudalics@gmx.at>
10081
10082 * window.el (window-right, window-left, window-child)
10083 (window-child-count, window-last-child, window-any-p)
10084 (normalize-live-buffer, normalize-live-frame)
10085 (normalize-any-window, normalize-live-window)
10086 (window-iso-combination-p, window-iso-combined-p)
10087 (window-iso-combinations)
10088 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10089 (windows-with-parameter, window-with-parameter)
10090 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10091 (window-atom-check, window-side-check, window-check):
10092 New functions.
85cc1f11
MR
10093 (ignore-window-parameters, window-sides, window-sides-vertical)
10094 (window-sides-slots): New variables.
10095 (window-size-fixed): Move down in code. Minor doc-string fix.
10096
e7156492
AS
100972011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10098
10099 * comint.el (comint-dynamic-complete-as-filename)
10100 (comint-dynamic-complete-filename): Correctly call
10101 completion-in-region.
10102
7e821d0d
DD
101032011-06-05 Deniz Dogan <deniz@dogan.se>
10104
10105 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10106 in last change.
10107
ac09b8a1
DD
101082011-06-05 Deniz Dogan <deniz@dogan.se>
10109
10110 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10111 (rcirc): Use it to prompt for encryption.
10112
34699b85
RW
101132011-06-05 Roland Winkler <winkler@gnu.org>
10114
10115 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10116 (bibtex-search-entries): New command bound to C-c C-a.
10117 (bibtex-display-entries): New function.
10118
004dedd3
RW
101192011-06-05 Roland Winkler <winkler@gnu.org>
10120
10121 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10122 (bibtex-insert-kill): After yanking insert newline if necessary.
10123 (bibtex-initialize): Call bibtex-string-files-init only once.
10124 (bibtex-mode): Do not call easy-menu-add.
10125 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10126 (bibtex-yank): Set arg properly if nil.
10127
022fe7ce
RW
101282011-06-05 Roland Winkler <winkler@gnu.org>
10129
2b75be67
SM
10130 * textmodes/bibtex.el (bibtex-search-entry-globally):
10131 New variable.
022fe7ce
RW
10132 (bibtex-search-entry): Use it.
10133
b7c3692a
RW
101342011-06-05 Roland Winkler <winkler@gnu.org>
10135
10136 * textmodes/bibtex.el (bibtex-entry-format): New option
10137 sort-fields.
10138 (bibtex-format-entry, bibtex-reformat): Honor this option.
10139 (bibtex-parse-entry): Return fields in proper order.
10140
8eda563d
JB
101412011-06-05 Juanma Barranquero <lekktu@gmail.com>
10142
10143 * doc-view.el (doc-view-remove-if): Move computation of result out
10144 of `dolist' to silence misleading lexical-binding warning.
10145
7dbe3dbc
CY
101462011-06-04 Chong Yidong <cyd@stupidchicken.com>
10147
10148 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10149 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10150
0c33dd17
MA
101512011-06-04 Michael Albinus <michael.albinus@gmx.de>
10152
10153 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10154 "SunOS 5.10".
10155
f8f91c2b
MA
101562011-06-04 Michael Albinus <michael.albinus@gmx.de>
10157
10158 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10159 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10160 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10161 (tramp-parse-putty):
10162 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10163 (tramp-completion-function-alist-ssh)
10164 (tramp-completion-function-alist-telnet)
10165 (tramp-completion-function-alist-su)
10166 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10167 cookie.
10168
10169 * net/tramp-ftp.el:
10170 * net/tramp-sh.el:
10171 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10172 load "tramp.el" `tramp-set-completion-function'.
10173
e17d9003
SM
101742011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10175
10176 * shell.el: Require and use pcomplete.
10177 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10178 (shell-completion-vars): Set pcomplete-default-completion-function.
10179
6c4cab03
DD
101802011-06-04 Deniz Dogan <deniz@dogan.se>
10181
10182 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10183 `memq' (Bug#8799).
10184
ea9fafe0
SM
101852011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10186
10187 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10188
b3e945d3
JB
101892011-06-02 Juanma Barranquero <lekktu@gmail.com>
10190
10191 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10192 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10193 * vc/log-view.el (log-view-beginning-of-defun):
10194 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10195 (smerge-refine-forward, smerge-refine-chopup-region):
10196 Silence warning for unused `dotimes' counter variables.
10197
7d520089
SM
101982011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10199
10200 * net/tramp.el (tramp-with-progress-reporter): Rename from
10201 with-progress-reporter. Use `declare'.
10202 * net/tramp-smb.el:
10203 * net/tramp-sh.el:
10204 * net/tramp-gvfs.el: Update all uses.
10205
a1c2400f
JB
102062011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10207
10208 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10209 buffer isn't killed before making it current.
10210
2403c841
SM
102112011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 Silence various byte-compiler warnings.
10214 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10215 `access-type' and new obsolescence format.
10216 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10217 new format.
10218 (byte-compile-check-variable): New `access-type' argument.
10219 Only warn if the access-type is obsolete.
10220 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10221 (byte-compile-variable-set): Adjust callers.
10222 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10223 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10224 setting it as obsolete.
10225 * simple.el (minibuffer-completing-symbol):
10226 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10227 access as obsolete.
10228 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10229 obsolete yet.
10230 * international/quail.el (quail-mouse-choose-completion): Remove unused
10231 code referring to obsolete var.
10232 (quail-choose-completion-string): Remove.
10233 * server.el (server-clients-with, server-kill-buffer-query-function)
10234 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10235 * proced.el (proced-send-signal):
10236 * emacs-lisp/lisp.el (lisp-complete-symbol):
10237 Replace completion-annotate-function with completion-extra-properties.
10238
2462470b
SM
102392011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10240
fb5b2591
SM
10241 * simple.el (goto-line): Use read-number.
10242 (overriding-map-is-bound): Remove.
10243 (saved-overriding-map): Change default.
10244 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10245 Take the map as argument.
10246 (universal-argument, negative-argument, digit-argument): Use it.
10247 (restore-overriding-map): Adjust.
10248 (do-auto-fill): Use fill-forward-paragraph.
10249 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10250
fd6fa53f
SM
10251 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10252 (minibuffer-inactive-mode): New major mode.
10253 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10254 the *Messages* buffer" hack.
10255 (mouse-popup-menubar): Don't burp if the event is a normal key.
10256
2462470b
SM
10257 Miscellaneous tweaks.
10258 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10259 lexical scoping as in subr.el's dolist and dotimes.
10260 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10261 Silence compiler warning.
10262 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10263 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10264 * international/ccl.el (ccl-compile): Trivial simplification.
10265 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10266 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10267 `printflag' argument.
10268 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10269 Purecopy the whole obsolescence data.
10270
108bf785
LL
102712011-06-01 Leo Liu <sdl.web@gmail.com>
10272
10273 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10274 improve doc-string as suggested by Marco Pessotto
10275 <melmothx@gmail.com>.
10276 (rcirc-print): Fix last change.
10277
30a23501
SM
102782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * minibuffer.el (complete-with-action): Return nil for the metadata and
10281 boundaries of non-functional tables.
10282 (completion-table-dynamic): Return nil for the metadata.
10283 (completion-table-with-terminator): Add default case, using
10284 complete-with-action.
10285 (completion--metadata): New function.
10286 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10287 to try and avoid pathological performance problems.
10288 (completion--embedded-envvar-table): Return `category' metadata.
10289
bcd54f83
LMI
102902011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10291
10292 * subr.el (process-alive-p): New tiny convenience function.
10293
e227544d
SM
102942011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10295
10296 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10297 content but also its previous major mode.
10298
e8296fdc
HE
102992011-05-31 Helmut Eller <eller.helmut@gmail.com>
10300
4d61f28d 10301 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10302 *Backtrace* buffer when we exit with C-M-c.
10303
620c53a6
SM
103042011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10305
10306 * minibuffer.el: Add metadata method to completion tables.
10307 (completion-category-overrides): New defcustom.
10308 (completion-metadata, completion--field-metadata)
10309 (completion-metadata-get, completion--styles)
10310 (completion--cycle-threshold): New functions.
10311 (completion-try-completion, completion-all-completions):
10312 Add `metadata' argument to choose completion-styles.
10313 (completion--do-completion): Use metadata to choose cycling.
10314 (completion-all-sorted-completions): Use metadata for sorting.
10315 Remove :completion-cycle-penalty which is not needed any more.
10316 (completion--try-word-completion): Add `metadata' argument.
10317 (minibuffer-completion-help): Check metadata for annotation function
10318 and sorting.
10319 (completion-file-name-table): Return `category' metadata.
10320 (minibuffer-completing-file-name): Make obsolete.
10321 * simple.el (minibuffer-completing-symbol): Make obsolete.
10322 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10323 completion-try-completion.
10324
1257e755
SM
103252011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10326
10327 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10328
3767e706
LL
103292011-05-30 Leo Liu <sdl.web@gmail.com>
10330
10331 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10332 (rcirc-print): Decode all incoming messages (bug#8744).
10333 (rcirc-decode-coding-system): Allow value nil for automatic coding
10334 system detection.
3767e706 10335
d1a5d56a
GM
103362011-06-01 Glenn Morris <rgm@gnu.org>
10337
10338 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10339
e8cbec34
CY
103402011-05-29 Chong Yidong <cyd@stupidchicken.com>
10341
10342 * image.el (image-animate-max-time): Allow nil and t values.
10343 Default to nil.
10344 (create-animated-image): Doc fix.
10345 (image-animate-start): Remove second arg; just use
10346 image-animate-max-time.
10347 (image-animate-timeout): Doc fix. Args changed.
10348
10349 * image-mode.el (image-toggle-display-image): Ensure that the
10350 image spec passed to the animate timer is the same object as in
58179cce 10351 the buffer's display property (Bug#6981).
e8cbec34
CY
10352 (image-transform-properties): Doc fix.
10353
10354 * image.el (image-animate-max-time): Default to nil.
10355
159daf87
MR
103562011-05-29 Martin Rudalics <rudalics@gmx.at>
10357
10358 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10359 entire buffer list (Bug#8184).
10360
d66c4c7c
CY
103612011-05-29 Chong Yidong <cyd@stupidchicken.com>
10362
10363 * image.el (imagemagick-types-inhibit)
10364 (imagemagick-register-types): Doc fix.
10365
80aec780
DD
103662011-05-29 Deniz Dogan <deniz@dogan.se>
10367
10368 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10369 default.
10370
1dd3c2d9
CY
103712011-05-29 Chong Yidong <cyd@stupidchicken.com>
10372
10373 * select.el: Don't perform clipboard-manager saving in hooks;
10374 leave the hooks empty.
10375
60e56523
LL
103762011-05-28 Leo Liu <sdl.web@gmail.com>
10377
10378 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10379 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10380 (occur-edit-mode): New major mode (Bug#8463).
10381 (occur-after-change-function): New function.
10382 (occur-engine): Give Occur tags a read-only property.
10383
2b1e1a22
KR
103842011-05-28 Kevin Ryde <user42@zip.com.au>
10385
10386 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10387
5d344e88
CY
103882011-05-28 Chong Yidong <cyd@stupidchicken.com>
10389
8e6ca83d
CY
10390 * bindings.el (help-echo): Make the initial non-indicator dash
10391 empty on graphical terminals (Bug#7295).
10392
5d344e88
CY
10393 * files.el (auto-mode-alist): Move config rule after the
10394 in-stripping one (Bug#8547).
10395
bfbbace7
CY
10396 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10397
fbeba6e2
CY
10398 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10399 setting (Bug#8740).
10400
60ed8c72
AA
104012011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10402
4ac619f0
AA
10403 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10404 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10405 (Bug#8539).
60ed8c72 10406
23db196e
CY
104072011-05-28 Chong Yidong <cyd@stupidchicken.com>
10408
10409 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10410
5012f24c
DK
104112011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10412
10413 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10414 (hs-hide-block-at-point, hs-find-block-beginning)
10415 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10416 (Bug#8279).
10417
6a639b16
GM
104182011-05-28 Glenn Morris <rgm@gnu.org>
10419
10420 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10421
d43eaf2c
CY
104222011-05-28 Chong Yidong <cyd@stupidchicken.com>
10423
5199bde1
CY
10424 * help-fns.el (describe-function-1): If the function is a derived
10425 major mode, print the parent mode.
10426
d43eaf2c
CY
10427 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10428 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10429
423428a8
SM
104302011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10431
0ff8e1ba 10432 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10433 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10434 * progmodes/etags.el (tags-completion-at-point-function):
10435 * info-look.el (info-lookup-completions-at-point): Mark as
10436 non-exclusive.
10437 (info-complete): Adjust accordingly.
10438
423428a8
SM
10439 * info-look.el: Convert to lexical-binding and completion-at-point.
10440 (info-lookup-completions-at-point): New function.
10441 (info-complete): Use it and completion-in-region.
10442
b74aa22b
DA
104432011-05-28 Drew Adams <drew.adams@oracle.com>
10444
10445 * isearch.el: Let M-e start with point at the first mismatched char.
10446 (isearch-fail-pos): New function.
10447 (isearch-edit-string): Use it.
10448
66e2e71d
DK
104492011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10450
10451 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10452
b1890b0f 104532011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10454
10455 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10456 traversal functions for avl-trees.
10457 (avl-tree--stack): New struct.
10458 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10459 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10460 (avl-tree--do-enter): Add optional `updatefun' arg.
10461 Change return value.
eb95d01d 10462 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10463 (avl-tree--do-delete): Add `test' and `nilflag' args.
10464 Change return value.
eb95d01d
TC
10465 (avl-tree-member): Add optional `nilflag'
10466 (avl-tree-member-p): New function.
10467 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10468 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10469 (avl-tree-stack-empty-p): New functions.
10470
3769ddcf
TC
10471 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10472 avl-tree--del-balance1 and make it work both ways.
10473 (avl-tree--del-balance2): Remove.
10474 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10475 make it work both ways.
10476 (avl-tree--enter-balance2): Remove.
10477 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10478 New macros.
10479 (avl-tree--mapc, avl-tree-map): Add direction argument.
10480
eb95d01d 104812011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10482
10483 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10484
a9f737ee
CY
104852011-05-27 Chong Yidong <cyd@stupidchicken.com>
10486
10487 * select.el: Support clipboard managers with built-in function
10488 x-clipboard-manager-save, via delete-frame-functions and
10489 kill-emacs-hook.
10490 (xselect-convert-to-targets): Add MULTIPLE target to list.
10491 (xselect-convert-to-save-targets): New function.
10492
c92a1e54
KH
104932011-05-27 Kenichi Handa <handa@m17n.org>
10494
10495 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10496 let-binding rfc2047-encode-encoded-words to nil.
10497
e145f188
GM
104982011-05-27 Glenn Morris <rgm@gnu.org>
10499
5ec8a862
GM
10500 * mail/emacsbug.el: Don't require url-util.
10501
4b29d9fb
GM
10502 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10503
e145f188
GM
10504 * files.el (set-auto-mode):
10505 Also respect mode: entries at the end of the file. (Bug#8586)
10506
7d15102b
GM
105072011-05-26 Glenn Morris <rgm@gnu.org>
10508
98f593b8
GM
10509 * files.el (hack-local-variables-prop-line, hack-local-variables):
10510 Downcase mode names, as seems to be traditional.
27b48e63 10511 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10512
7d15102b
GM
10513 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10514 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10515
51d5b4ec
JD
105162011-05-25 Julien Danjou <julien@danjou.info>
10517
10518 * textmodes/rst.el (rst-define-level-faces): Do not define face
10519 symbol if it is already defined.
10520
91513f63
VB
105212011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10522
10523 * play/5x5.el (5x5-new-game, 5x5-randomize):
10524 Reset 5x5-solver-output to nil when a new grid is cast.
10525 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10526 these debugging traces, as defmacro breaks the compiled code.
10527
4d90d6d0
DK
105282011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10529
10530 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10531
e1b90ef6
LL
105322011-05-24 Leo Liu <sdl.web@gmail.com>
10533
10534 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10535 (vc-bzr-sha1): Adapt.
10536
d8e4b68b 10537 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10538
10539 * bindings.el: Provide sha1 feature.
10540
db0406bb 105412011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10542
10543 * mail/sendmail.el: Require `rfc2047'.
10544 (mail-insert-from-field): Do not perform RFC2047 encoding.
10545 (mail-encode-header): New function.
10546 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10547 buffer to the return value of select-message-coding-system.
10548 Call mail-encode-header.
b8d747b9
KH
10549
10550 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10551
db0406bb 105522011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10553
4d90d6d0
DK
10554 * mail/supercite.el (sc-default-cite-frame):
10555 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10556
eb8a5e9b
GM
105572011-05-24 Glenn Morris <rgm@gnu.org>
10558
f8630703
GM
10559 * progmodes/python.el (brm-menu): Declare.
10560
8831bbed
GM
10561 * emulation/viper.el (viper-set-hooks): Declare.
10562
eb8a5e9b
GM
10563 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10564 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10565 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10566 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10567 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10568 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10569
a2a25d24
SM
105702011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10571
10572 Add an :exit-function for completion-at-point.
10573
10574 * minibuffer.el (completion--done): New fun.
10575 (completion--do-completion): Use it. New arg `expect-exact'.
10576 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10577 since completion--do-completion does it for us now.
10578 (minibuffer-force-complete): Use completion--done and
10579 completion--replace. Handle sole-completion case with more care.
10580 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10581 (completion-extra-properties): New var.
10582 (completion-annotate-function): Make obsolete.
10583 (minibuffer-completion-help): Adjust accordingly.
10584 Use completion-list-insert-choice-function.
10585 (completion-at-point, completion-help-at-point):
10586 Bind completion-extra-properties.
10587 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10588 * simple.el (completion-list-insert-choice-function): New var.
10589 (completion-setup-function): Preserve it.
10590 (choose-completion): Pay attention to it, shuffle the code a bit.
10591 (choose-completion-string): New arg `insert-function'.
10592
10593 * textmodes/bibtex.el: Convert to lexical binding.
10594 (bibtex-mode-map): Use completion-at-point.
10595 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10596 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10597 (bibtex-complete): Define as obsolete alias.
10598 (bibtex-complete-internal): Remove.
10599 (bibtex-format-entry): Remove unused sub-group in regexp.
10600 * shell.el (shell--command-completion-data)
10601 (shell-environment-variable-completion):
10602 * pcomplete.el (pcomplete-completions-at-point):
10603 * comint.el (comint--complete-file-name-data): Use :exit-function
10604 instead of completion-table-with-terminator so it also works for
10605 choose-completion.
10606
e44e373d
SM
106072011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10608
4f91a816
SM
10609 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10610
782fc819
SM
10611 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10612 (bug#8710).
10613
e44e373d
SM
10614 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10615
381987c3
KM
106162011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10617
10618 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10619 customization variable and implement: If non-nil, auto-fill will
10620 be inhibited while on topic's header line.
10621
b776bc70
VB
106222011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10623
10624 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10625 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10626 always have a solution in grid size = 5 cases.
10627 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10628 (5x5-solver-output, 5x5-log-buffer): New vars.
10629 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10630 Make these variables buffer local to achieve 5x5 multi-session-ness.
10631 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10632 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10633 (5x5-solve-suggest): New funs.
10634 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10635 randomize a grid so that we ensure that there is always a solution.
10636 (5x5-make-random-grid): Allow other movement than flipping.
10637
7de88b6e
KR
106382011-05-23 Kevin Ryde <user42@zip.com.au>
10639
10640 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10641 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10642 advice and passes PREDICATE.
10643
b1ef1257
SM
106442011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10645
bbca48fe
SM
10646 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10647 byte-compile-lambda if it's actually a lambda.
10648
b1ef1257
SM
10649 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10650 Fix function quoting. Use backquote better.
10651
92a9cc65
YS
106522011-05-22 Yuanle Song <sylecn@gmail.com>
10653
10654 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10655 matching (Bug#8516).
10656
f0fb8059
JA
106572011-01-22 Jari Aalto <jari.aalto@cante.net>
10658
10659 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10660 different face (Bug#8178).
10661
d5b44c93
CY
106622011-05-22 Chong Yidong <cyd@stupidchicken.com>
10663
10664 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10665 defface (Bug#8144).
10666
79106a44
SM
106672011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10668
9c848d8a
SM
10669 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10670 funcall as well (bug#8712). Warn when performing those conversions.
10671 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10672
79106a44
SM
10673 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10674
88dfa756
GM
106752011-05-22 Glenn Morris <rgm@gnu.org>
10676
10677 * files.el (hack-local-variables-prop-line): Small simplifications.
10678 (hack-local-variables, hack-local-variables-prop-line):
10679 If MODE-ONLY, return the mode, rather than just `t'.
10680
b7cf2c79
SM
106812011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10682
10683 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10684
3f1a8558
GM
106852011-05-21 Glenn Morris <rgm@gnu.org>
10686
7e4ccca3
GM
10687 * files.el (hack-local-variables-prop-line, hack-local-variables):
10688 If only interested in the mode, don't bother doing the other stuff.
10689
637d46ca
GM
10690 * image-mode.el (image-after-revert-hook):
10691 Redraw all frames on which the image is visible. (Bug#8567)
10692
973d955b
GM
10693 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10694
3f1a8558
GM
10695 * wid-edit.el (widget-checklist-match-inline):
10696 Fix 2011-04-19 change. (Bug#8649)
10697
96479927
SM
106982011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10699
1dcf791f
SM
10700 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10701 Also allow singlespace after single-letter capitals followed by a dot.
10702
96479927
SM
10703 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10704 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10705
35fd0881
N
107062011-05-20 Nix <nix@esperi.org.uk>
10707
10708 * files.el (basic-save-buffer-2):
10709 Fix handling of break-hardlink-on-save with non-existent files.
10710
82745640
DD
107112011-05-19 Deniz Dogan <deniz@dogan.se>
10712
10713 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10714 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10715
4a720484
GM
107162011-05-19 Glenn Morris <rgm@gnu.org>
10717
d1f21341
GM
10718 * progmodes/f90.el (f90-type-def-re):
10719 Handle "type, bind(c)". (Bug#8691)
10720
4a720484
GM
10721 * emacs-lisp/autoload.el (batch-update-autoloads):
10722 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10723
2fb0a219
MA
107242011-05-18 Michael Albinus <michael.albinus@gmx.de>
10725
10726 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10727 property for the correct connection in case of multihops.
10728
e565dd37
GM
107292011-05-18 Glenn Morris <rgm@gnu.org>
10730
c2571358 10731 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10732 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10733
e565dd37
GM
10734 Rationalize calendar handling of day and month abbrev-arrays.
10735 * calendar/calendar.el (calendar-customized-p): New function.
10736 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10737 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10738 Add :set function.
10739 (calendar-abbrev-length, calendar-day-abbrev-array)
10740 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10741 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10742 Elements may no longer be nil.
10743 (calendar-day-name, calendar-month-name):
10744 Update for changed nature of abbrev arrays.
10745 * calendar/diary-lib.el (diary-name-pattern):
10746 Update for changed nature of abbrev arrays.
10747 (diary-mark-entries-1): Update calendar-make-alist calls.
10748 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10749 * calendar/cal-html.el (cal-html-day-abbrev-array):
10750 Simply inherit from calendar-day-abbrev-array.
10751
1d99a745
SM
107522011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10753
10754 * progmodes/grep.el (grep-mode): Disable default
10755 compilation-directory-matcher setting (bug#8684).
10756
7c1d9aa0
MA
107572011-05-17 Michael Albinus <michael.albinus@gmx.de>
10758
10759 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10760 instead of "head" and "tail". There were problems with SunOS 5.9,
10761 and it performs better.
10762
3952e9d8
GM
107632011-05-17 Glenn Morris <rgm@gnu.org>
10764
2dd12e7f
GM
10765 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10766
e4157b9c
GM
10767 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10768 Replace obsolete function.
10769
8e249bbd
GM
10770 * shell.el (pcomplete-parse-arguments-function): Declare.
10771
3952e9d8
GM
10772 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10773 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10774 (appt-check): Doc fixes.
10775 (appt-disp-window-function, appt-delete-window-function):
10776 Remove needless special case in custom :type.
10777 (appt-display-count): Default to 0, not nil.
10778 (appt-check): Reset appt-display-count to 0, not nil.
10779
c71a0d48 107802011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10781
c71a0d48
GM
10782 * progmodes/python.el (python-font-lock-keywords):
10783 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10784
31d55be9
SM
107852011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10786
10787 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10788
3bfacb2f
KR
107892011-05-16 Kevin Ryde <user42@zip.com.au>
10790
10791 * info-look.el (makefile-automake-mode): New setups, looking in
10792 automake manual, then makefile-mode.
10793 (makefile-mode): Remove automake manual, have it just in
10794 makefile-automake-mode since there's various things different or
10795 not relevant to plain make.
10796 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10797 believe a hypothetical automake-mode would go to makefile-mode,
10798 not the other way around.
10799
c8e83751
CY
108002011-05-15 Chong Yidong <cyd@stupidchicken.com>
10801
5e9e35cd
CY
10802 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10803 hunk-end tags (Bug#8672).
10804
c8e83751
CY
10805 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10806 vc-annotate-show-diff-revision-at-line (Bug#8671).
10807
50b23e5a
GM
108082011-05-14 Glenn Morris <rgm@gnu.org>
10809
7210a739
GM
10810 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10811 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10812 (change-log-font-lock-keywords): Also handle multiple author lines
10813 with leading tabs. (Bug#8644)
7210a739 10814
4691905a
GM
10815 * calendar/appt.el (appt-check): Rename some local variables.
10816 Some simplification/reordering.
10817
50b23e5a
GM
10818 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10819 (feedmail-sendmail-f-doesnt-sell-me-out)
10820 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10821 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10822 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10823 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10824 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10825 (feedmail-binmail-gnulinuxish-template):
10826 Rename from feedmail-binmail-linuxish-template.
10827 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10828 Use insert-buffer-substring.
10829
215cda7c
BC
108302011-05-14 Bill Carpenter <bill@carpenter.org>
10831
10832 * mail/feedmail.el (feedmail-patch-level): Increase.
10833 (feedmail-debug): New custom group.
10834 (feedmail-confirm-outgoing-timeout)
10835 (feedmail-sendmail-f-doesnt-sell-me-out)
10836 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10837 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10838 (feedmail-sender-line, feedmail-from-line)
10839 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10840 (feedmail-spray-this-address)
215cda7c
BC
10841 (feedmail-spray-address-fiddle-plex-list)
10842 (feedmail-queue-use-send-time-for-date)
10843 (feedmail-queue-use-send-time-for-message-id)
10844 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10845 (feedmail-buffer-eating-function):
10846 Doc fixes.
10847 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10848 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10849 (feedmail-message-action-scroll-down): New functions.
10850 (feedmail-queue-directory, feedmail-queue-draft-directory):
10851 Use expand-file-name.
10852 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10853 Remove C-v help entry.
10854 (feedmail-queue-buffer-file-name): New variable.
10855 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10856 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10857 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10858 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10859 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10860 (feedmail-message-action-toggle-spray)
10861 (feedmail-run-the-queue-no-prompts)
10862 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10863 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10864 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10865 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10866 (feedmail-envelope-deducer, feedmail-fiddle-from)
10867 (feedmail-fiddle-sender, feedmail-default-date-generator)
10868 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10869 (feedmail-fiddle-spray-address)
10870 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10871 (feedmail-fiddle-list-of-fiddle-plexes)
10872 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10873 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10874 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10875 Change default. Doc fix.
10876 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10877 (feedmail-binmail-linuxish-template): New constant.
10878 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10879 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10880 (feedmail-send-it): Add debug call.
10881 Use feedmail-queue-buffer-file-name, and
10882 feedmail-send-it-immediately-wrapper.
10883 (feedmail-message-action-send): Add debug call.
10884 Use feedmail-send-it-immediately-wrapper.
10885 (feedmail-queue-express-to-queue): Add debug call.
10886 Run feedmail-queue-express-hook.
10887 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10888 (feedmail-message-action-help-blat):
10889 Rename from feedmail-queue-send-edit-prompt-help-first.
10890 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10891 Check line-endings. Handle errors better.
10892 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10893 Doc fix. Add debug call.
10894 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10895 Use feedmail-queue-send-edit-prompt-inner.
10896 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10897 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10898 from feedmail-queue-send-edit-prompt.
10899 (feedmail-queue-send-edit-prompt-help)
10900 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10901 (feedmail-tidy-up-slug): Add debug call.
10902 Respect feedmail-queue-slug-suspect-regexp.
10903 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10904 (feedmail-dump-message-to-queue): Add debug call.
10905 Expand queue-directory.
10906 (feedmail-dump-message-to-queue): Change message slightly.
10907 Use feedmail-say-chatter.
10908 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10909 (feedmail-send-it-immediately-wrapper): New function.
10910 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10911 Insert empty string rather than newline. Handle full-frame case.
10912 Use catch/throw. Use feedmail-say-chatter.
10913 (feedmail-fiddle-from): Try mail-host-address.
10914 (feedmail-default-message-id-generator): Doc fix.
10915 Bind system-time-locale. Handle missing end.
10916 (feedmail-fiddle-x-mailer): Add debug call.
10917 Handle feedmail-x-mailer-line being nil.
10918 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10919 Add debug call. Use buffer-substring-no-properties.
10920 (feedmail-say-debug, feedmail-say-chatter): New functions.
10921 (feedmail-find-eoh): Give an explicit error.
10922
42c7e61e
UJ
109232011-05-13 Ulf Jasper <ulf.jasper@web.de>
10924
c2571358 10925 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10926 family from helvetica to sans.
c2571358 10927 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10928 etc/images/newsticker.
10929
c2571358 10930 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10931 family from helvetica to sans.
10932
10933 * net/newst-plainview.el (newsticker-new-item-face)
10934 (newsticker-old-item-face, newsticker-immortal-item-face)
10935 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10936 (newsticker-statistics-face): Change default family from
42c7e61e 10937 helvetica to sans.
c2571358 10938 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10939 etc/images/newsticker.
10940
5d3385a0
JB
10941 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
10942 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
10943 auto-marking.
10944
8497a297
DV
109452011-05-13 Didier Verna <didier@xemacs.org>
10946
10947 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10948 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10949 TODO entries.
8497a297
DV
10950 (lisp-lambda-list-keyword-parameter-indentation)
10951 (lisp-lambda-list-keyword-parameter-alignment)
10952 (lisp-lambda-list-keyword-alignment): New customizable user options.
10953 (lisp-indent-defun-method): Improve docstring.
10954 (extended-loop-p): Fix comment.
10955 (lisp-indent-lambda-list-keywords-regexp): New variable.
10956 (lisp-indent-lambda-list): New function.
10957 (lisp-indent-259): Use it.
10958 (lisp-indent-defmethod): Support for more than one
10959 method qualifier and properly indent methods lambda-lists.
10960 (defgeneric): Provide a missing common-lisp-indent-function property.
10961
f278f87f
SM
109622011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10963
10964 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10965 bounds for the empty string (bug#8667).
10966
5233edd7
GM
109672011-05-13 Glenn Morris <rgm@gnu.org>
10968
5237a44f
GM
10969 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10970
8340026c 10971 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10972 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10973
5233edd7 10974 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10975 (appt-time-msg-list): Doc fix.
a5464014 10976 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10977
92d10796
AS
109782011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10979
10980 * progmodes/ld-script.el (ld-script-keywords)
10981 (ld-script-builtins): Update keywords list.
10982
914a0ae1
SM
109832011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10984
c89be45f
SM
10985 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10986
914a0ae1
SM
10987 * shell.el (shell-completion-vars): New function.
10988 (shell-mode):
10989 * simple.el (read-shell-command): Use it.
10990 (blink-matching-open): No need for " [...]" in minibuffer-message.
10991
98dc3df3
GM
109922011-05-12 Glenn Morris <rgm@gnu.org>
10993
10994 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10995 (appt-check): Simplify.
10996
d2fc7e3d 109972011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10998
4d61f28d 10999 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11000 literal "/dev/null".
11001
d2fc7e3d 110022011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11003
11004 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11005 Fix typo.
11006
d2fc7e3d 110072011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11008
3f254caa
SM
11009 * progmodes/which-func.el (which-function):
11010 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11011 which might not be defined (Bug#8260).
11012
d45885f7
GM
110132011-05-12 Glenn Morris <rgm@gnu.org>
11014
11015 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11016 Let byte-compile-initial-macro-environment always take precedence.
11017
488086f4
SM
110182011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11019
11020 * net/rcirc.el: Add support for SSL/TLS connections.
11021 (rcirc-server-alist): New field `encryption'.
11022 (rcirc): Check `encryption' settings.
11023 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11024 Merge make-local-variable into `set'.
11025 (rcirc--connection-open-p): New function.
11026 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11027 the process is not a network process (e.g. running gnutls-cli).
11028 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11029 Make rcirc-(en|de)code-coding-system local here.
11030 (rcirc-mode): Merge make-local-variable into `set'.
11031 (rcirc-parent-buffer): Make permanent buffer-local.
11032 (rcirc-multiline-minor-mode): Don't do it here.
11033 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11034 there's no server buffer.
11035
7d3b9d44
GM
110362011-05-11 Glenn Morris <rgm@gnu.org>
11037
f64049c6
GM
11038 * newcomment.el (comment-kill): Prefix "unused" local.
11039
93c9df73
GM
11040 * term/w32console.el (get-screen-color): Declare.
11041
7d3b9d44
GM
11042 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11043 Handle symbol elements of byte-compile-initial-macro-environment.
11044
9e2dd53f
LL
110452011-05-10 Leo Liu <sdl.web@gmail.com>
11046
488086f4
SM
11047 * bookmark.el (bookmark-bmenu-mode-map):
11048 Bind bookmark-bmenu-search to `/'.
8b340240 11049
9e2dd53f 11050 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11051 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11052 (Footnote-unicode): New function.
11053 (footnote-style-alist): Add unicode style to the list.
11054 (footnote-style): Doc fix.
9e2dd53f 11055
79b70037
GM
110562011-05-10 Jim Meyering <meyering@redhat.com>
11057
11058 Fix doubled-word typos.
11059 * international/quail.el (quail-insert-kbd-layout): and and -> and
11060 * kermit.el: and and -> and
11061 * net/ldap.el (ldap-search-internal): to to -> to
11062 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11063 * progmodes/js.el (js-mode): and and -> and
11064 * textmodes/artist.el (artist-move-to-xy): at at -> at
11065 (artist-draw-region-trim-line-endings): if if -> if
11066 And Safetyc -> Safety.
11067 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11068
b8f82dc1 110692011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11070 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11071
11072 * files.el (hack-one-local-variable-eval-safep):
11073 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11074
4f99f44b
GM
110752011-05-10 Glenn Morris <rgm@gnu.org>
11076
11077 * calendar/diary-lib.el (diary-list-entries-hook)
11078 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11079 (diary-nongregorian-marking-hook, diary-list-entries)
11080 (diary-include-other-diary-files, diary-mark-entries)
11081 (diary-mark-included-diary-files): Doc fixes.
11082
84f29e6b
JB
110832011-05-09 Juanma Barranquero <lekktu@gmail.com>
11084
11085 * misc.el: Require tabulated-list.el during compilation.
11086
9bedd73a
CY
110872011-05-09 Chong Yidong <cyd@stupidchicken.com>
11088
488086f4
SM
11089 * progmodes/compile.el (compilation-start):
11090 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11091 (compilation-filter-hook): Doc fix.
11092
797c735c
DD
110932011-05-09 Deniz Dogan <deniz@dogan.se>
11094
11095 * wdired.el: Remove outdated installation comment. Fix usage
11096 comment.
11097
5f4b1dfe
JB
110982011-05-09 Juanma Barranquero <lekktu@gmail.com>
11099
11100 * misc.el: Implement new command `list-dynamic-libraries'.
11101 (list-dynamic-libraries--loaded-only-p): New variable.
11102 (list-dynamic-libraries--refresh): New function.
11103 (list-dynamic-libraries): New command.
11104
4c44026c
CY
111052011-05-09 Chong Yidong <cyd@stupidchicken.com>
11106
488086f4
SM
11107 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11108 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11109 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11110 higher priority to avoid clobbering by gnu.
11111
027f966d
CY
111122011-05-08 Chong Yidong <cyd@stupidchicken.com>
11113
11114 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11115 if the face has existing theme settings (Bug#8454).
11116
085f5d7d
CY
111172011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11118
488086f4
SM
11119 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11120 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11121
2a86a00c
RS
11122 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11123 special file names `.' and `..' (Bug#8259).
11124
d9c54a06
CY
111252011-05-08 Chong Yidong <cyd@stupidchicken.com>
11126
488086f4
SM
11127 * progmodes/grep.el (grep-mode-font-lock-keywords):
11128 Remove buffer-changing entries.
d9c54a06
CY
11129 (grep-filter): New function.
11130 (grep-mode): Add it to compilation-filter-hook.
11131
11132 * progmodes/compile.el (compilation-filter-hook)
11133 (compilation-filter-start): New defvars.
11134 (compilation-filter): Call compilation-filter-hook prior to
11135 updating the process mark.
11136
c4662635
SM
111372011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11138
11139 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11140
b0512a1d
EZ
111412011-05-07 Eli Zaretskii <eliz@gnu.org>
11142
605c9376
EZ
11143 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11144 mailclient-send-it even if window-system is nil. (Bug#8595)
11145
c4662635
SM
11146 * term/w32console.el (terminal-init-w32console):
11147 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11148 background-mode. (Bug#8597)
11149
d1dc2cc2
SM
111502011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11151
11152 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11153 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11154 New functions.
11155 (defgeneric, eieio--defmethod): Use them.
11156 (eieio-defgeneric): Remove.
11157 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11158
915d1300
GM
111592011-05-07 Glenn Morris <rgm@gnu.org>
11160
a3961c3e
GM
11161 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11162 Use let rather than let*.
11163 (timeclock-find-discrep): Remove unused local.
11164
314347b9
GM
11165 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11166
915d1300
GM
11167 * calendar/appt.el (appt-time-msg-list): Doc fix.
11168
275b59b0
NF
111692011-05-06 Noah Friedman <friedman@splode.com>
11170
11171 * apropos.el (apropos-print-doc): Only use
11172 emacs-lisp-docstring-fill-column when it is bound to an integer,
11173 per that variable's documentation.
11174
6c19f744
SM
111752011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11176
11177 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11178 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11179
60f884b2
GM
111802011-05-06 Glenn Morris <rgm@gnu.org>
11181
5006e634
GM
11182 * calendar/appt.el (appt-message-warning-time): Doc fix.
11183 (appt-warning-time-regexp): New option.
11184 (appt-make-list): Respect appt-message-warning-time.
11185
548d0a63
GM
11186 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11187 New options.
11188 (diary-add-to-list): Strip comments from the displayed string.
11189 (diary-mode): Set comment-start and comment-end.
11190
60f884b2
GM
11191 * vc/diff-mode.el (smerge-refine-subst): Declare.
11192 (diff-refine-hunk): Don't require smerge-mode when compiling.
11193
989681bb
JB
111942011-05-06 Juanma Barranquero <lekktu@gmail.com>
11195
11196 * simple.el (list-processes): Return nil as the docstring says.
11197
a6bc05e1
MA
111982011-05-05 Michael Albinus <michael.albinus@gmx.de>
11199
11200 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11201 to "".
11202 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11203 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11204 determining of binary transfer. (Bug#7383)
11205
23c22e9a
MA
112062011-05-05 Michael Albinus <michael.albinus@gmx.de>
11207
c4662635
SM
11208 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11209 Fix port computation bug. (Bug#8618)
23c22e9a 11210
0bff894f
GM
112112011-05-05 Glenn Morris <rgm@gnu.org>
11212
b8296902
GM
11213 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11214
1f522ce8
GM
11215 * simple.el (shell-dynamic-complete-functions)
11216 (comint-dynamic-complete-functions): Declare.
11217
cf5bee67
GM
11218 * net/network-stream.el (gnutls-negotiate):
11219 * simple.el (tabulated-list-print): Fix declarations.
11220
11221 * progmodes/gud.el (syntax-symbol, syntax-point):
11222 Remove unnecessary and incorrect declarations.
11223
0bff894f
GM
11224 * emacs-lisp/check-declare.el (check-declare-scan):
11225 Handle byte-compile-initial-macro-environment in bytecomp.el
11226
9869b3ae
SM
112272011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11228
11229 Fix earlier half-done eieio-defmethod change (bug#8338).
11230 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11231 Streamline and change calling convention.
11232 (defmethod): Adjust accordingly and simplify.
11233 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11234 new eieio--defmethod.
11235 (slot-boundp): Minor CSE simplification.
11236
9c1d5ac5
MZ
112372011-05-05 Milan Zamazal <pdm@zamazal.org>
11238
11239 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11240 (glasses-make-readable): Use glasses-separate-capital-groups.
11241
455c834e
JB
112422011-05-05 Juanma Barranquero <lekktu@gmail.com>
11243
11244 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11245 (warning-series): Doc fix.
11246 (display-warning): Don't try to create the buffer if we just found it.
11247
9ed7c8cb
CY
112482011-05-04 Chong Yidong <cyd@stupidchicken.com>
11249
11250 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11251 (autoload-find-generated-file): New function.
11252 (generate-file-autoloads): Bind generated-autoload-file to
11253 buffer-file-name.
9869b3ae
SM
11254 (update-file-autoloads, update-directory-autoloads):
11255 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11256 output file (Bug#7989).
11257 (batch-update-autoloads): Doc fix.
11258
0898ca10
JB
112592011-05-04 Juanma Barranquero <lekktu@gmail.com>
11260
11261 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11262
31dfb76c
GM
112632011-05-04 Glenn Morris <rgm@gnu.org>
11264
f330b642
GM
11265 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11266 function, so it follows changes in calendar-date-style.
11267 (diary-fancy-date-matcher): New function.
11268 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11269 (diary-fancy-font-lock-fontify-region-function):
11270 Use diary-fancy-date-pattern as a function.
11271
31dfb76c
GM
11272 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11273 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11274
48e79d6a
TZ
112752011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11276
11277 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11278 instead of positional arguments. Allow :keylist and :crlfiles
11279 arguments.
11280 (open-gnutls-stream): Call it.
11281
11282 * net/network-stream.el (network-stream-open-starttls): Adjust to
11283 call `gnutls-negotiate' with :process and :hostname arguments.
11284
dd5a5ee0
SM
112852011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11286
ef80fc09
SM
11287 * minibuffer.el (completion--message): New function.
11288 (completion--do-completion, minibuffer-complete)
11289 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11290 (completion--do-completion): Don't ignore completion-auto-help when in
11291 icomplete-mode.
11292
dd5a5ee0
SM
11293 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11294 internal encoding (e.g. tibetan zero is not whitespace).
11295 (global-whitespace-mode): Prefer save-current-buffer.
11296 (whitespace-trailing-regexp): Remove useless save-match-data.
11297 (whitespace-empty-at-bob-regexp): Minor simplification.
11298
b7d22a83
CY
112992011-05-03 Chong Yidong <cyd@stupidchicken.com>
11300
11301 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11302
5192af46
AM
113032011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11304
11305 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11306 Use `concat' to create string for insertion.
5192af46 11307
5767d190
SM
113082011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11309
11310 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11311 Avoid open-line which runs post-self-insert-hook.
11312 (bibtex-fill-entry): Remove unused `end' var.
11313
bf242939
AM
113142011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11315
5767d190
SM
11316 * textmodes/ispell.el (ispell-add-per-file-word-list):
11317 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11318
25666126
LL
113192011-05-03 Leo Liu <sdl.web@gmail.com>
11320
11321 * isearch.el (isearch-yank-pop): New command.
5767d190 11322 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11323 (isearch-forward): Mention it.
11324
52d3c2d0
SM
113252011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11326
1bcace58
SM
11327 * simple.el (minibuffer-complete-shell-command): Remove.
11328 (minibuffer-local-shell-command-map): Use completion-at-point.
11329 (read-shell-command): Setup completion vars here instead.
11330 (read-expression-map): Bind TAB to symbol completion.
11331
52d3c2d0
SM
11332 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11333 error directly rather via storing it into `results'.
11334
35813471
LL
113352011-05-02 Leo Liu <sdl.web@gmail.com>
11336
11337 * vc/diff.el: Fix description.
11338
e793a940
LMI
113392011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11340
11341 * server.el (server-eval-at): New function.
11342
8de66e05
LMI
113432011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11344
11345 * net/network-stream.el (open-network-stream): Take a :nowait
11346 parameter and pass it on to `make-network-process'.
11347 (network-stream-open-plain): Ditto.
11348
dcb79f20
AS
113492011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11350
11351 * faces.el (face-spec-set-match-display): Don't match toolkit
11352 options on terminal frames.
11353
14a7fbd8
SM
113542011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11355
7eabc1be
SM
11356 * progmodes/pascal.el: Use lexical binding.
11357 (pascal-mode-map): Remove author preferences.
11358
14a7fbd8
SM
11359 * pcomplete.el (pcomplete-std-complete): Don't abuse
11360 completion-at-point.
11361
50f84510
JB
113622011-04-28 Juanma Barranquero <lekktu@gmail.com>
11363
6e087a44
JB
11364 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11365 removing code that has been dead since 1991 or so.
11366
50f84510
JB
11367 * startup.el (command-line): When warning about "_emacs", use a
11368 delayed warning to allow the user to filter it out.
11369
0ba690bd
DD
113702011-04-28 Deniz Dogan <deniz@dogan.se>
11371
11372 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11373 user has not joined.
11374
08abfaad
SM
113752011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11376
11377 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11378 aren't any completions at point.
11379
638f053a
JB
113802011-04-28 Juanma Barranquero <lekktu@gmail.com>
11381
11382 * subr.el (display-delayed-warnings): New function.
11383 (delayed-warnings-hook): New variable.
11384
8fff8daa
SM
113852011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11386
08abfaad
SM
11387 * minibuffer.el (completion-at-point, completion-help-at-point):
11388 Don't presume that a given completion-at-point-function will always
11389 use the same calling convention.
11390
8fff8daa
SM
11391 * pcomplete.el (pcomplete-completions-at-point):
11392 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11393 pcomplete-seen is non-nil.
11394 (pcomplete-comint-setup): Also recognize the new comint/shell
11395 completion functions.
11396 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11397 pcomplete-seen is non-nil.
11398
841a1577 113992011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11400
841a1577 11401 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11402 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11403 the first character in the entry. This allows for code to add its
211ec907
UJ
11404 own uid to the entry.
11405 (icalendar--convert-float-to-ical): Add export of
11406 `diary-float'-entries save for those with the optional DAY
11407 argument.
11408
2a782793
DC
114092011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11410
11411 * subr.el (shell-quote-argument): Use alternate escaping strategy
11412 when we spot a variable reference in a string.
11413
0438ce91
DC
114142011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11415
11416 * cus-start.el (all): Define customization for debug-on-event.
11417
841a1577 114182011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11419
11420 * subr.el (shell-quote-argument): Escape correctly under Windows.
11421
d090ed6c
SM
114222011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11423
11424 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11425
bfd31217
MA
114262011-04-25 Michael Albinus <michael.albinus@gmx.de>
11427
d090ed6c
SM
11428 * net/tramp.el (tramp-process-actions): Add POS argument.
11429 Delete region between POS and (pos).
bfd31217 11430
d090ed6c
SM
11431 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11432 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11433 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11434
11435 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11436 position in `tramp-process-actions' call.
11437
11438 * net/trampver.el: Update release number.
11439
e92f3bd3
SM
114402011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11441
850256b5
SM
11442 * custom.el (defcustom): Obey lexical-binding.
11443
e92f3bd3
SM
11444 Fix octave-inf completion problems reported by Alexander Klimov.
11445 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11446 Inherit from octave-mode-syntax-table.
11447 (inferior-octave-mode): Set info-lookup-mode.
11448 (inferior-octave-completion-at-point): New function.
11449 (inferior-octave-complete): Use it and completion-in-region.
11450 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11451 comint-filename-completion.
11452 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11453 symbol elements which shouldn't be word elements.
11454 (octave-font-lock-keywords, octave-beginning-of-defun)
11455 (octave-function-header-regexp): Adjust regexps accordingly.
11456 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11457
cd22b309
JB
114582011-04-25 Juanma Barranquero <lekktu@gmail.com>
11459
11460 * net/gnutls.el (gnutls-errorp): Declare before first use.
11461
8b492194
TZ
114622011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11463
11464 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11465 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11466 default trustfile exists before going to use it. Add missing
5a5fa834 11467 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11468 Reported by Claudio Bley <claudio.bley@gmail.com>.
11469 (open-gnutls-stream): Add usage example.
11470
11471 * net/network-stream.el (network-stream-open-starttls): Give host
11472 parameter to `gnutls-negotiate'.
11473 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11474 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11475
841a1577 114762011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11477
cd22b309
JB
11478 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11479 Use correct match group (bug#8438).
05842630 11480
3ba7869c
CY
114812011-04-24 Chong Yidong <cyd@stupidchicken.com>
11482
512e3ae1
CY
11483 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11484 (package-menu--generate): New arg specifying packages to show.
11485 (package-menu-refresh, package-menu-execute, list-packages):
11486 Callers changed.
11487 (package-show-package-list): New function, replacing deleted
11488 package--list-packages (renamed because it is non-internal).
11489
11490 * finder.el (finder-list-matches): Use package-show-package-list
11491 instead of deleted package--list-packages.
11492
e92f3bd3
SM
11493 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11494 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11495 (vc-annotate-mode-map): Bind it to RET.
11496
7031be6d
UR
114972011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11498
11499 * progmodes/etags.el (next-file): Don't use set-buffer to change
11500 buffers (Bug#8478).
11501
4ef177aa
CY
115022011-04-24 Chong Yidong <cyd@stupidchicken.com>
11503
c8d173eb
CY
11504 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11505
4ef177aa
CY
11506 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11507 (apropos-accumulator): Doc fix.
11508 (apropos-function, apropos-macro, apropos-command)
11509 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11510 (apropos-plist): Add face property.
11511 (apropos-symbols-internal): Fix indentation.
11512 (apropos-print): Simplify help, and recognize apropos-multi-type.
11513 (apropos-print-doc): Use button-type-get to extract the button's
11514 face property. Fill docstring (Bug#8352).
11515
4ffd0d6b 115162011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11517
11518 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11519
c6c32125 11520 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11521 (mpuz-mode-map): Use mapc.
c6c32125
JB
11522 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11523 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11524 Fix typos in docstrings.
11525
58d468b4
JB
11526 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11527 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11528
6470c3c6
JB
11529 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11530
4ffd0d6b 115312011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11532
11533 * minibuffer.el (completion--do-completion): Avoid the "Next char
11534 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11535
3ad8bad0
CY
11536 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11537 mouse-2 into unread-command-events, it is interpreted correctly.
11538
71d73c9c 11539 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11540 (image-toggle-display): Doc fix.
71d73c9c 11541
841a1577 115422011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11543
4ffd0d6b
GM
11544 * textmodes/page.el (what-page): Use line-number-at-pos to
11545 calculate line number (Bug#6825).
6e1dbaa9 11546
c2fb1b60
JB
115472011-04-22 Juanma Barranquero <lekktu@gmail.com>
11548
11549 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11550 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11551 Pass argument NO-DEFAULT to `find-tag-interactive'.
11552
e02f48d7
JB
115532011-04-22 Juanma Barranquero <lekktu@gmail.com>
11554
11555 Lexical-binding cleanup.
11556
11557 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11558 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11559 * progmodes/ada-prj.el (ada-prj-initialize-values)
11560 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11561 (ada-prj-show-value):
11562 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11563 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11564 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11565 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11566 * progmodes/bug-reference.el (bug-reference-push-button):
11567 * progmodes/fortran.el (fortran-line-length):
11568 * progmodes/glasses.el (glasses-change):
11569 * progmodes/octave-mod.el (octave-fill-paragraph):
11570 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11571 (python-pdbtrack-grub-for-buffer, python-sentinel):
11572 * progmodes/sql.el (sql-save-connection):
11573 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11574 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11575 Mark unused parameters.
11576
11577 * progmodes/compile.el (compilation--flush-directory-cache)
11578 (compilation--flush-parse, compile-internal): Mark unused parameters.
11579 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11580 (compilation-next-error-function): Remove unused variable `timestamp'.
11581
11582 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11583 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11584
11585 * progmodes/dcl-mode.el (dcl-end-of-command):
11586 Remove unused variable `start'.
11587 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11588 (dcl-option-value-basic, dcl-option-value-offset)
11589 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11590 Mark unused parameters.
11591 (dcl-save-local-variable): Remove unused variable `val'.
11592 (mode): Declare.
11593
11594 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11595 Mark unused parameters.
11596 (delphi-ignore-changes): Move before first use.
11597 (delphi-charset-token-at): Remove unused variable `start'.
11598 (delphi-else-start): Remove unused variable `if-count'.
11599 (delphi-comment-block-start, delphi-comment-block-end):
11600 Remove unused variable `kind'.
11601 (delphi-indent-line): Remove unused variable `new-point'.
11602
11603 * progmodes/ebrowse.el (ebrowse-files-list)
11604 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11605 Mark unused parameters. Don't quote `lambda'.
11606 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11607 Don't quote `lambda'.
11608 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11609 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11610 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11611 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11612 Use `ignore-errors'.
11613 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11614 (ebrowse-view/find-file-and-search-pattern)
11615 (ebrowse-view/find-member-declaration/definition):
11616 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11617 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11618 Rename parameter PREFIX-ARG to PREFIX.
11619 (ebrowse-tags-read-name): Remove unused variables `start' and
11620 `member-info'.
11621 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11622 to `tags-file'.
11623
11624 * progmodes/etags.el (local-find-tag-hook): Declare.
11625 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11626 Mark unused parameters.
11627
11628 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11629 (executable-interpret): Mark unused parameter.
11630
11631 * progmodes/flymake.el (flymake-process-sentinel)
11632 (flymake-after-change-function)
11633 (flymake-create-temp-with-folder-structure)
11634 (flymake-get-include-dirs-dot): Mark unused parameters.
11635 (flymake-safe-delete-directory): Remove unused variable `err'.
11636
11637 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11638 (speedbar-timer-fn, speedbar-line-text)
11639 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11640 (speedbar-center-buffer-smartly): Declare functions.
11641 (gdb-find-watch-expression): Remove unused variable `array'.
11642 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11643 (gdb-starting): Mark unused parameters.
11644 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11645 (gdb-table-string): Remove unused variable `res'.
11646 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11647 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11648 (gdb-display-buffer): Remove unused variable `cur-size'.
11649
11650 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11651 allow lexical-binding compilation.
11652 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11653 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11654 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11655 Mark unused parameters.
11656 (gud-gdb-marker-filter): Remove unused variable `match'.
11657 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11658 lambda expressions and funcall them, instead of using `fset'.
11659
11660 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11661 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11662
11663 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11664 variable `header-beg'; use `let'.
11665
11666 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11667 `restart', `last-sexp' and `at-do'.
11668
11669 * progmodes/js.el (js--debug): Mark unused parameter.
11670 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11671 (js--splice-into-items): Remove unused variable `item'.
11672 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11673
11674 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11675 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11676 (makefile-complete): Remove unused variable `try'.
11677 (makefile-fill-paragraph, makefile-match-function-end):
11678 Mark unused parameters.
11679
11680 * progmodes/octave-inf.el (inferior-octave-complete):
11681 Remove unused variable `proc'.
11682 (inferior-octave-output-digest): Mark unused parameter.
11683
11684 * progmodes/perl-mode.el (perl-calculate-indent):
11685 Remove unused variable `err'.
11686
11687 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11688 (prolog-indent-line): Mark unused parameters.
11689 (prolog-indent-line): Remove unused variable `beg'.
11690
11691 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11692 (reporter-dont-compact-list): Declare.
11693
11694 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11695 Remove unused variable `char'.
11696 (sh-debug): Mark unused parameter.
11697 (sh-get-indent-info): Remove unused variable `start'.
11698 (sh-calculate-indent): Remove unused variable `var'.
11699
11700 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11701 (simula-electric-keyword): Remove unused variable `null'.
11702 (simula-search-backward, simula-search-forward): Remove unused
11703 variables `begin' and `end'.
11704
11705 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11706 Remove unused variable `pos'.
11707 (vera-electric-tab, vera-comment-uncomment-region):
11708 Mark unused parameters.
11709 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11710
7ede3b65
CY
117112011-04-22 Chong Yidong <cyd@stupidchicken.com>
11712
11713 * emacs-lisp/package.el (package--builtins, package-alist)
11714 (package-load-descriptor, package-built-in-p, package-activate)
11715 (define-package, package-installed-p)
11716 (package-compute-transaction, package-buffer-info)
11717 (package--push): Doc fix. Distinguish more clearly between
11718 version strings and version lists.
11719
121656e9
JB
117202011-04-21 Juanma Barranquero <lekktu@gmail.com>
11721
11722 Lexical-binding cleanup.
11723
11724 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11725 (5x5-make-mutate-best):
11726 * play/fortune.el (fortune-in-buffer):
11727 * play/gomoku.el (gomoku-init-display):
11728 * play/solitaire.el (solitaire, solitaire-do-check):
11729 * play/tetris.el (tetris-default-update-speed-function):
11730 Mark unused parameters.
11731
11732 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11733 (bubbles--shift): Remove unused variable `char-org'.
11734 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11735 (bubbles--show-images): Remove unused variable `char'.
11736
11737 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11738 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11739 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11740 (decipher-analyze-buffer): Use ?\s.
11741 (decipher-make-checkpoint): Remove unused variable `mapping'.
11742
11743 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11744
11745 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11746 Remove unused variable `result'; use `let'.
11747
11748 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11749 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11750 (gametree-children-shown-p, gametree-compute-reduced-score):
11751 Use `ignore-errors'.
11752
11753 * play/handwrite.el (ps-lpr-switches): Declare.
11754 (handwrite): Remove unused variables `pmin' and `lastp'.
11755
11756 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11757
11758 * play/landmark.el (landmark-init-display)
11759 (landmark-update-naught-weights): Mark unused parameters.
11760 (landmark-y): Remove unused variable `noise'. Simplify.
11761 (landmark-human-plays): Remove unused variable `score'.
11762
11763 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11764 (mpuz-try-proposal): Remove unused variable `game'.
11765
11766 * play/zone.el (life-patterns): Declare.
11767
80f499c7
JB
117682011-04-20 Juanma Barranquero <lekktu@gmail.com>
11769
11770 * vc/vc.el (ediff-vc-internal): Declare function.
11771
024ff170
SM
117722011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11773
c0a193ea
SM
11774 * shell.el: Use lexical-binding and std completion UI.
11775 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11776 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11777 comint-preoutput-filter-functions rather than on
11778 comint-output-filter-functions.
11779 (shell-command-completion, shell--command-completion-data)
11780 (shell-filename-completion, shell-environment-variable-completion)
11781 (shell-c-a-p-replace-by-expanded-directory): New functions.
11782 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11783 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11784 (shell-dynamic-complete-environment-variable): Use them.
11785 (shell-dynamic-complete-as-environment-variable)
11786 (shell-dynamic-complete-as-command): Remove.
11787 (shell-match-partial-variable): Match past point.
11788 * comint.el: Clean up use of completion-at-point-functions.
11789 (comint-completion-at-point): New function.
11790 (comint-mode): Use it completion-at-point-functions.
11791 (comint-dynamic-complete): Make it obsolete.
11792 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11793 (comint-c-a-p-replace-by-expanded-history): New function.
11794 (comint-dynamic-complete-functions)
11795 (comint-replace-by-expanded-history): Use it.
11796 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11797 termination strings. Try harder to avoid second try-completion.
11798 (completion-in-region-mode-map): Disable bindings that don't work yet.
11799
2dbaa080
SM
11800 * comint.el: Use lexical-binding. Require CL.
11801 (comint-dynamic-complete-functions): Use comint-filename-completion.
11802 (comint-completion-addsuffix): Tweak custom type.
11803 (comint-filename-completion, comint--common-suffix)
11804 (comint--common-quoted-suffix, comint--table-subvert)
11805 (comint--complete-file-name-data): New functions.
11806 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11807 (comint-dynamic-list-filename-completions): Use them.
11808 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11809
2dbaa080
SM
11810 * minibuffer.el (completion-in-region-mode):
11811 Keep completion-in-region-mode--predicate global.
11812 (completion-in-region--postch):
11813 Assume completion-in-region-mode--predicate is not null.
11814
c79a6f38
SM
11815 * progmodes/flymake.el (flymake-start-syntax-check-process):
11816 Obey `dir'. Simplify.
11817
024ff170
SM
11818 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11819 we're in VC after all.
11820
1c6c854e
CS
118212011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11822
11823 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11824 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11825 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11826
bed7f140
SM
118272011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11828
332e62ab
SM
11829 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11830 add sanity check.
11831
bed7f140
SM
11832 * obsolete/erc-hecomplete.el: Make obsolete.
11833 * obsolete/: Standardize obsolescence info in the header.
11834
f195c582
GM
118352011-04-20 Glenn Morris <rgm@gnu.org>
11836
11837 * calendar/solar.el (solar-horizontal-coordinates):
11838 Use the longitude argument rather than `calendar-longitude'.
11839 (solar-date-next-longitude): Remove unused locals.
11840
cb79b8c0
VJL
118412011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11842
11843 * whitespace.el: New version 13.2.1.
11844
118452011-04-20 felix <EmacsWiki> (tiny change)
11846
d8e4b68b 11847 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11848 switching between major modes on a file.
11849
602ea69d
SM
118502011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11851
11852 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11853 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11854 multi-line comments as well.
11855
06b60517
JB
118562011-04-19 Juanma Barranquero <lekktu@gmail.com>
11857
11858 Lexical-binding cleanup.
11859
11860 * arc-mode.el (archive-mode-revert):
11861 * cmuscheme.el (scheme-interactively-start-process):
11862 * custom.el (custom-initialize-delay):
11863 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11864 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11865 * emacs-lock.el (emacs-lock-clear-sentinel):
11866 * ezimage.el (defezimage):
11867 * follow.el (follow-avoid-tail-recenter):
11868 * fringe.el (set-fringe-mode-1):
11869 * generic-x.el (bat-generic-mode-compile):
11870 * help-mode.el (help-info-variable, help-do-xref)
11871 (help-mode-revert-buffer):
11872 * help.el (view-emacs-todo):
11873 * iswitchb.el (iswitchb-completion-help):
11874 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11875 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11876 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11877 * locate.el (locate-update):
11878 * longlines.el (longlines-encode-region)
11879 (longlines-after-change-function):
11880 * outline.el (outline-isearch-open-invisible):
11881 * ps-def.el (declare-function, charset-dimension, char-width)
11882 (encode-char):
11883 * ps-mule.el (ps-mule-plot-string):
11884 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11885 (recentf-edit-list-select, recentf-edit-list-validate)
11886 (recentf-open-files-action):
11887 * rect.el (delete-whitespace-rectangle-line)
11888 (rectangle-number-line-callback):
11889 * register.el (window-configuration-to-register)
11890 (frame-configuration-to-register):
11891 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11892 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11893 (xselect-convert-to-targets, xselect-convert-to-delete)
11894 (xselect-convert-to-filename, xselect-convert-to-charpos)
11895 (xselect-convert-to-lineno, xselect-convert-to-colno)
11896 (xselect-convert-to-os, xselect-convert-to-host)
11897 (xselect-convert-to-user, xselect-convert-to-class)
11898 (xselect-convert-to-name, xselect-convert-to-integer)
11899 (xselect-convert-to-atom, xselect-convert-to-identity):
11900 * subr.el (declare, ignore, process-kill-without-query)
11901 (text-clone-maintain):
11902 * terminal.el (te-get-char, te-tic-sentinel):
11903 * tool-bar.el (tool-bar-make-keymap):
11904 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11905 * type-break.el (type-break-mode, type-break-noninteractive-query):
11906 * view.el (View-back-to-mark):
11907 * wid-browse.el (widget-browse-action, widget-browse-widget)
11908 (widget-browse-widgets, widget-browse-sexp):
11909 * widget.el (define-widget-keywords):
11910 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11911 Mark unused parameters.
11912
11913 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11914 (align-areas): Remove unused variable `look'.
11915 (align-region): Remove unused variables `real-end' and `pos-list'.
11916
11917 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11918
11919 * bindings.el (mode-line-modified, mode-line-remote):
11920 Mark unused parameters.
11921 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11922
11923 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11924 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11925
11926 * comint.el (comint-history-isearch-pop-state)
11927 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11928 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11929 (comint-substitute-in-file-name): Doc fix.
11930
11931 * completion.el (cmpl-statistics-block): Mark unused parameter.
11932 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11933 (save-completions-to-file, load-completions-from-file):
11934 Remove unused local variable `e'.
11935
11936 * composite.el (compose-chars): Remove unused variable `len'.
11937 (lgstring-insert-glyph): Remove unused variable `g'.
11938 (compose-glyph-string): Remove unused variables `ascent',
11939 `descent', `lbearing' and `rbearing'.
11940 (compose-glyph-string-relative): Remove unused variables
11941 `lbearing', `rbearing' and `wadjust'.
11942 (compose-gstring-for-graphic): Remove unused variables `header',
11943 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11944 (compose-gstring-for-terminal): Remove unused variables `header'
11945 and `nchars'. Use `let', not `let*'.
11946
11947 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11948 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11949 (Custom-buffer-done, custom-buffer-create-internal)
11950 (custom-browse-visibility-action, custom-browse-group-tag-action)
11951 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11952 (widget-magic-mouse-down-action, custom-toggle-parent)
11953 (custom-add-parent-links, custom-toggle-hide-variable)
11954 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11955 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11956 (custom-face-menu-create, custom-variable-menu-create, get)
11957 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11958 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11959 (customize-apropos): Remove unused variable `tests'.
11960 (custom-group-value-create): Remove unused variable `hidden-p'.
11961 (sort-fold-case): Declare.
11962
11963 * cus-theme.el (custom-reset-standard-faces-list)
11964 (custom-reset-standard-variables-list): Declare.
11965 (customize-create-theme, custom-theme-revert, custom-theme-write)
11966 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11967 Mark unused parameters.
11968
11969 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11970
11971 * delim-col.el (delimit-columns-max): Move defvar before first use.
11972
11973 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11974 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11975
11976 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11977 (auto-insert): Declare.
11978 (desktop-restore-file-buffer): Rename desktop-* parameters;
11979 mark unused ones.
11980 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11981 (desktop-buffer): Rename desktop-* parameters.
11982
11983 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11984 (dframe-reposition-frame-xemacs, dframe-help-echo)
11985 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11986 Mark unused parameters.
11987
11988 * dired-aux.el (backup-extract-version-start, overwrite-query)
11989 (overwrite-backup-query, rename-regexp-query)
11990 (rename-non-directory-query): Declare.
11991 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11992 (dired-add-entry): Remove unused variable `orig-file-name'.
11993 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11994 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11995 `dired-copy-preserve-time' directly.
11996 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11997 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11998
11999 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12000 (dired-virtual-revert, dired-make-relative-symlink):
12001 Mark unused parameters.
12002 (manual-program): Declare.
12003 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12004 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12005 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12006
12007 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12008
12009 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12010
12011 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12012 Declare.
12013
12014 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12015
12016 * electric.el (Electric-command-loop): Rename parameter
12017 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12018
12019 * expand.el (expand-in-literal): Remove unused variable `here'.
12020
12021 * facemenu.el (facemenu-add-new-color):
12022 Remove unused variable `docstring'.
12023
12024 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12025 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12026 (face-attr-construct): Mark unused parameter. Doc fix.
12027 (read-color): Remove unused variable `hex-string'.
12028
12029 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12030 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12031 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12032 (display-buffer-other-frame): Remove unused variable `old-window'.
12033 (kill-buffer-hook): Declare.
12034 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12035 Mark unused parameters.
12036 (after-find-file): Pass 1 to `auto-save-mode', not t.
12037
12038 * files-x.el (auto-insert): Declare.
12039 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12040
12041 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12042 variable `buf'. Mark unused parameter.
06b60517
JB
12043 (find-lisp-insert-directory): Mark unused parameter.
12044
12045 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12046 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12047 (format-common-tail): Remove, unused.
12048 (format-deannotate-region): Remove unused variable `loc'.
12049 (format-annotate-region): Remove unused variable `p'.
12050 (format-annotate-single-property-change): Remove unused variables
12051 `default' and `tail'.
12052
12053 * forms.el (read-file-filter): Declare.
12054 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12055
12056 * frame.el (frame-creation-function-alist): Mark unused parameter.
12057 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12058
12059 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12060 Remove unused parameters.
12061 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12062 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12063
12064 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12065 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12066 (hfy-prepare-tag-map): Mark unused parameters.
12067 (htmlfontify-buffer): Use `called-interactively-p'.
12068
12069 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12070 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12071 (ibuffer-do-occur): Mark unused parameters.
12072 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12073 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12074
12075 * ibuffer.el: Don't quote `lambda'.
12076 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12077 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12078 Mark unused parameters.
12079
12080 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12081 (ido-completing-read): Mark unused parameters.
12082 (ido-copy-current-word): Mark unused parameters;
12083 remove unused variable `name'.
12084 (ido-sort-merged-list): Remove unused parameter `dirs'.
12085
12086 * ielm.el (ielm-input-sender): Mark unused parameter.
12087 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12088 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12089 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12090 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12091 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12092
12093 * image-dired.el (image-dired-display-thumbs): Remove unused
12094 variables `curr-file' and `count'.
12095 (image-dired-remove-tag): Remove unused variable `start'.
12096 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12097 variable `curr-file'
12098 (image-dired-rotate-original): Remove unused variable `temp-file'.
12099 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12100 Remove unused variable `file'.
12101 (image-dired-gallery-generate): Remove unused variable `curr'.
12102 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12103
12104 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12105
12106 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12107
12108 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12109
12110 * isearch.el (minibuffer-history-symbol): Declare.
12111 (isearch-edit-string): Remove unused variable `err'.
12112 (isearch-message-prefix, isearch-message-suffix):
12113 Mark unused parameters.
12114
12115 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12116
12117 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12118
12119 * makesum.el (double-column): Remove unused variable `cnt'.
12120
12121 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12122 (ido-ignore-item-temp-list): Declare.
12123
12124 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12125 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12126 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12127 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12128 `mouse-col-delta'.
12129
12130 * mouse-sel.el (mouse-extend-internal):
12131 Remove unused variable `orig-window-frame'.
12132
12133 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12134 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12135 Move declarations before first use.
12136 (pcomplete-opt): Mark unused parameters; doc fix.
12137
12138 * proced.el (proced-revert): Mark unused parameter.
12139 (proced-send-signal): Remove unused variable `err'.
12140
12141 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12142 Rename parameter PREFIX-ARG to ARG.
12143 (ps-basic-plot-string, ps-basic-plot-whitespace):
12144 Mark unused parameters.
12145
12146 * replace.el (replace-count): Define.
12147 (occur-revert-function): Mark unused parameters.
12148 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12149 (isearch-case-fold-search, isearch-string): Declare.
12150 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12151 bind `case-fold-search'. Remove unused variables `beg' and `end',
12152 and simplify.
12153 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12154 COUNT and bind `replace-count'.
12155 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12156 to COUNT.
12157
12158 * savehist.el (print-readably, print-string-length): Declare.
12159
12160 * shadowfile.el (shadow-expand-cluster-in-file-name):
12161 Remove unused variable `cluster'.
12162 (shadow-copy-file): Remove unused variable `i'.
12163 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12164 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12165 (shadow-define-literal-group, shadow-define-regexp-group)
12166 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12167
12168 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12169 (shell): Use `called-interactively-p'.
12170 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12171
12172 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12173 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12174 (delete-backward-char): Remove unused variable `ocol'.
12175 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12176 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12177 (event-apply-hyper-modifier, event-apply-shift-modifier)
12178 (event-apply-control-modifier, event-apply-meta-modifier):
12179 Mark unused parameters.
12180 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12181 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12182
12183 * speedbar.el (speedbar-ignored-directory-expressions)
12184 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12185 (speedbar-find-file, speedbar-dir-follow)
12186 (speedbar-directory-buttons-follow, speedbar-tag-find)
12187 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12188 (speedbar-buffers-line-directory, speedbar-buffer-click):
12189 Mark unused parameters.
12190 (speedbar-tag-file): Remove unused variable `mode'.
12191 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12192
12193 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12194
12195 * talk.el (talk): Remove unused variable `display'.
12196
12197 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12198 (tar-write-region-annotate): Mark unused parameter.
12199
12200 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12201 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12202 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12203 warning by another.
12204
12205 * time-stamp.el (time-stamp-string-preprocess):
12206 Remove unused variable `require-padding'.
12207
12208 * tree-widget.el (widget-glyph-enable): Declare.
12209 (tree-widget-action): Mark unused parameter.
12210
12211 * w32-fns.el (x-get-selection): Mark unused parameter.
12212 (autoload-make-program, generated-autoload-file): Declare.
12213
12214 * wdired.el (wdired-revert): Mark unused parameters.
12215 (wdired-xcase-word): Remove unused variable `err'.
12216
12217 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12218 (whitespace-help-scroll): Remove unused variable `data-help'.
12219
12220 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12221 (widget-image-insert, widget-after-change, default)
12222 (widget-default-format-handler, widget-default-notify)
12223 (widget-default-prompt-value, widget-info-link-action)
12224 (widget-url-link-action, widget-function-link-action)
12225 (widget-variable-link-action, widget-file-link-action)
12226 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12227 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12228 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12229 (widget-insert-button-action, widget-delete-button-action, visibility)
12230 (widget-documentation-link-action, widget-documentation-string-action)
12231 (widget-const-prompt-value, widget-regexp-match, symbol)
12232 (widget-coding-system-prompt-value)
12233 (widget-key-sequence-value-to-external, sexp)
12234 (widget-sexp-value-to-internal, character, vector, cons)
12235 (widget-choice-prompt-value, widget-boolean-prompt-value)
12236 (widget-color--choose-action): Mark unused parameters.
12237 (widget-item-match-inline, widget-choice-match-inline)
12238 (widget-checklist-match, widget-checklist-match-inline)
12239 (widget-group-match): Rename parameter VALUES to VALS.
12240 (widget-field-value-set): Remove unused variable `size'.
12241 (widget-color-action): Remove unused variables `value' and `start'.
12242
12243 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12244 variable `dir'. Doc fix.
06b60517
JB
12245 (windmove-find-other-window): Don't pass it.
12246
12247 * window.el (count-windows): Mark unused parameter.
12248 (bw-adjust-window): Remove unused variable `err'.
12249
12250 * woman.el (woman-file-name): Remove unused variable `default'.
12251 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12252 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12253 (global-font-lock-mode): Declare.
12254 (woman-decode-region): Mark unused parameter.
12255 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12256
12257 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12258 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12259 (x-dnd-handle-moz-url): Remove unused variable `title'.
12260 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12261
12262 * xml.el (xml-parse-tag, xml-parse-attlist):
12263 Remove unused variable `pos'.
12264
bc4f7f3d
GM
122652011-04-19 Glenn Morris <rgm@gnu.org>
12266
12267 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12268 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12269 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12270 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12271 * calendar/cal-html.el (cal-html-insert-minical):
12272 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12273 (calendar-mark-date-pattern):
12274 Prefix "unused" locals.
12275
12276 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12277 optional argument `style'.
12278
12279 * calendar/appt.el (appt-make-list):
12280 * calendar/cal-china.el (calendar-chinese-date-string):
12281 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12282 (diary-hebrew-yahrzeit):
12283 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12284 * calendar/calendar.el (calendar-generate-window):
12285 * calendar/time-date.el (time-to-days):
12286 Remove unused local variables.
12287
16a43933
CY
122882011-04-18 Chong Yidong <cyd@stupidchicken.com>
12289
12290 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12291 glyphless-char-display table.
12292 (tabulated-list-glyphless-char-display): New var.
12293
7eed1860
SS
122942011-04-18 Sam Steingold <sds@gnu.org>
12295
12296 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12297 to acknowledgments.
12298
4d2d1ccd
GM
122992011-04-17 Glenn Morris <rgm@gnu.org>
12300
12301 * calendar/diary-lib.el (diary-sexp-entry):
12302 * calendar/holidays.el (holiday-sexp):
12303 Set debug-on-error rather than the removed stack-trace-on-error.
12304
239da61d
GM
123052011-04-16 Glenn Morris <rgm@gnu.org>
12306
12307 * progmodes/f90.el: Use lexical-binding.
12308 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12309
8b05752a
SM
123102011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12311
daca8ba5
SM
12312 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12313 (mail-mode): Setup mailalias completion here instead.
12314 * mail/mailalias.el: Use lexical-binding.
12315 (pattern, mailalias-done): Declare dynamic.
12316 (mail-completion-at-point-function): New function, from mail-complete.
12317 (mail-complete): Use it.
12318 (mail-completion-expand): New function.
12319 (mail-get-names): Use it.
12320 (mail-directory, mail-directory-process, mail-directory-stream):
12321 Don't use `pattern' for lexically bound arg.
12322
6f542485
SM
12323 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12324
037e7c3f
SM
12325 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12326 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12327 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12328
8b05752a
SM
12329 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12330 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12331 (byte-interactive-p): Define them again, for use when inlining
12332 old code.
12333
49093f60
JB
123342011-04-15 Juanma Barranquero <lekktu@gmail.com>
12335
12336 * loadup.el: Use `string-to-number', not `string-to-int'.
12337
b5b8e7de
SM
123382011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12339
12340 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12341 gud-gdb-complete-command.
12342 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12343 (gud-gdb-completion-at-point): New function.
12344 (gud-gdb-completions): Remove.
12345
f42efeb5
MA
123462011-04-14 Michael Albinus <michael.albinus@gmx.de>
12347
49093f60
JB
12348 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12349 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12350 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12351 whether `executable-find' is bound.
f42efeb5
MA
12352
12353 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12354
e240cc21
SM
123552011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12356
12357 * minibuffer.el (completion-in-region-mode-predicate)
12358 (completion-in-region-mode--predicate): New vars.
12359 (completion-in-region, completion-in-region--postch)
12360 (completion-in-region-mode): Use them.
12361 (completion--capf-wrapper): Also return the hook function.
12362 (completion-at-point, completion-help-at-point):
12363 Adjust and provide a predicate.
c2bd2ab0
SM
12364
12365 Preserve arg names for advice of subr and lexical functions (bug#8457).
12366 * help-fns.el (help-function-arglist): Consolidate the subr and
12367 new-byte-code cases. Add argument `preserve-names' to extract names
12368 from the docstring when needed.
12369 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12370 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12371 (ad-arglist): Use help-function-arglist's new arg.
12372 (ad-definition-type): Use cond.
12373
c183f693
JB
123742011-04-13 Juanma Barranquero <lekktu@gmail.com>
12375
06641a47
JB
12376 * autorevert.el (auto-revert-handler):
12377 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12378 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12379 Don't quote lambda.
12380
c183f693
JB
12381 * image-mode.el (image-transform-set-scale):
12382 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12383
1e3b6001
G
123842011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12385
12386 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12387 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12388 Upgrades via gnutls-cli are too slow to be done opportunistically.
12389
2d6af8dd
JB
123902011-04-12 Juanma Barranquero <lekktu@gmail.com>
12391
12392 * dframe.el (dframe-current-frame): Remove spurious quote.
12393
c0749a51
GM
123942011-04-12 Glenn Morris <rgm@gnu.org>
12395
088d0d61
GM
12396 * calendar/cal-tex.el (cal-tex-end-document):
12397 Try to automatically use latin1 input if needed.
12398
c0749a51
GM
12399 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12400 Don't try to cons a mark onto an empty element.
12401
5c90fde0
LL
124022011-04-11 Leo Liu <sdl.web@gmail.com>
12403
12404 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12405 buffers.
12406 (ido-kill-buffer-at-head): Support killing virtual buffers.
12407
369e974d
CY
124082011-04-10 Chong Yidong <cyd@stupidchicken.com>
12409
12410 * minibuffer.el (completion-show-inline-help): New var.
12411 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12412 (minibuffer-force-complete, minibuffer-complete-word):
12413 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12414
12415 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12416 to avoid interference from inline help (Bug#5849).
12417
37f1c930
LL
124182011-04-10 Leo Liu <sdl.web@gmail.com>
12419
099c39a4
JB
12420 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12421 Fix typo.
37f1c930 12422
a32d4040
CY
124232011-04-09 Chong Yidong <cyd@stupidchicken.com>
12424
12425 * image-mode.el (image-toggle-display-image): Signal an error if
12426 not in Image mode.
12427 (image-transform-mode, image-transform-resize)
12428 (image-transform-set-rotation): Doc fix.
daca8ba5 12429 (image-transform-set-resize): Delete.
a32d4040
CY
12430 (image-transform-set-scale, image-transform-fit-to-height)
12431 (image-transform-fit-to-width): Handle image-toggle-display-image
12432 and image-transform-resize directly.
12433
099c39a4 124342011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12435
12436 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12437 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12438 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12439 (doc-view-mode-map): Add bindings for the new functions.
12440
099c39a4 124412011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12442
4d61f28d 12443 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12444 Fix typo in docstring.
12445
3726838a
EZ
124462011-04-08 Eli Zaretskii <eliz@gnu.org>
12447
04f33f1e
EZ
12448 * files.el (file-size-human-readable): Produce one digit after
12449 decimal, like "ls -lh" does.
12450
12451 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12452 the file size representation.
12453
3726838a
EZ
12454 * simple.el (list-processes): If async subprocesses are not
12455 available, error out with a clear error message.
12456
cbb59342
CY
124572011-04-08 Chong Yidong <cyd@stupidchicken.com>
12458
12459 * help.el (help-form-show): New function, to be called from C.
12460 Put help-form output in a buffer named differently than *Help*.
12461
e3971c44
EZ
124622011-04-08 Eli Zaretskii <eliz@gnu.org>
12463
12464 * files.el (file-size-human-readable): New function.
12465
12466 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12467 computing the representation inline. Don't require `cl'.
12468
12544bbe
GM
124692011-04-08 Glenn Morris <rgm@gnu.org>
12470
a1de6c6a
GM
12471 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12472
3c4671f4
GM
12473 * net/browse-url.el (browse-url-firefox):
12474 Test system-type, not system-configuration.
12475
b605679c
GM
12476 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12477 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12478 Use log-edit-empty-buffer-p. (Bug#7598)
12479
56442f0c
GM
12480 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12481 (rlogin-mode-map): Initialize in the defvar.
12482 (rlogin): Use ignore-errors.
12483
12544bbe
GM
12484 * replace.el (occur-mode-map): Some fixes for menu items.
12485
eb237b0f
AH
124862011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12487
12488 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12489
7d668f2c
CY
124902011-04-06 Chong Yidong <cyd@stupidchicken.com>
12491
e67a13ab
CY
12492 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12493 issuing unused warnings.
12494
12495 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12496 macro directly.
12497
7d668f2c
CY
12498 * simple.el: Lisp reimplement of list-processes. Based on an
12499 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12500 (process-menu-mode): New major mode.
12501 (list-processes--refresh, list-processes):
12502 (process-menu-visit-buffer): New functions.
12503
12504 * files.el (save-buffers-kill-emacs): Don't assume any return
12505 value of list-processes, which is undocumented anyway.
12506
a83ec3c9
CY
125072011-04-06 Chong Yidong <cyd@stupidchicken.com>
12508
12509 * emacs-lisp/tabulated-list.el: New file.
12510
e91a96fe
CY
12511 * emacs-lisp/package.el: Use Tabulated List mode.
12512 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12513 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12514 table format using Tabulated List mode variables.
12515 (package--push): New macro, replacing package-list-maybe-add.
12516 (package-menu--generate): Use package--push. Renamed from
12517 package--generate-package-list.
12518 (package-menu-refresh, list-packages): Use it.
daca8ba5 12519 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12520 Return insertion data instead of inserting it directly.
099c39a4
JB
12521 (package-menu-describe-package, package-menu-execute):
12522 Use tabulated-list-get-id.
e91a96fe
CY
12523 (package-menu-mark-delete, package-menu-mark-install)
12524 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12525 (package-menu-mark-obsolete-for-deletion):
12526 Use tabulated-list-put-tag.
e91a96fe
CY
12527 (package--list-packages, package-menu-revert)
12528 (package-menu-get-package, package-menu-get-version)
12529 (package-menu-sort-by-column): Functions deleted.
12530 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12531 (package-menu--status-predicate, package-menu--version-predicate)
12532 (package-menu--name-predicate)
12533 (package-menu--description-predicate): Handle arguments in the
12534 Tabulated List format.
12535 (package-list-packages-no-fetch): Call list-packages.
12536
3e214b50
JB
125372011-04-06 Juanma Barranquero <lekktu@gmail.com>
12538
12539 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12540 (after-find-file): Don't bind it.
3e214b50
JB
12541 (revert-buffer-in-progress-p): New variable.
12542 (revert-buffer): Bind it.
12543 Pass nil for `after-find-file-from-revert-buffer'.
12544
12545 * saveplace.el (save-place-find-file-hook): Use new variable
12546 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12547
3f0f1700
GM
125482011-04-06 Glenn Morris <rgm@gnu.org>
12549
c0274801
GM
12550 * Makefile.in (AUTOGEN_VCS): New variable.
12551 (autoloads): Use $AUTOGEN_VCS.
12552
3f0f1700
GM
12553 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12554 * calendar/calendar.el (calendar-mode-map):
12555 Check for toolkit scroll bars. (Bug#8305)
12556
41ea9e48
CY
125572011-04-05 Chong Yidong <cyd@stupidchicken.com>
12558
12559 * minibuffer.el (completion-in-region--postch)
12560 (completion-in-region-mode): Remove unnecessary messages.
12561
6194c800
JB
125622011-04-05 Juanma Barranquero <lekktu@gmail.com>
12563
33256f14
JB
12564 * font-lock.el (font-lock-refresh-defaults):
12565 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12566 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12567
6194c800
JB
12568 * info.el (Info-directory-list, Info-read-node-name-2)
12569 (Info-split-parameter-string): Doc fixes.
12570 (Info-virtual-nodes): Reflow docstring.
12571 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12572 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12573 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12574 Fix typos in docstrings.
12575 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12576 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12577 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12578 (Info-restore-desktop-buffer): Mark unused parameters.
12579 (Info-directory-find-file, Info-directory-find-node)
12580 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12581 (Info-virtual-index-find-node, Info-apropos-find-file)
12582 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12583 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12584 (Info-virtual-index): Remove unused local variable `nodename'.
12585
b87a8200 125862011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12587
b87a8200
DD
12588 * net/rcirc.el: Update my e-mail address.
12589 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12590
3b2ff876
CY
125912011-04-05 Chong Yidong <cyd@stupidchicken.com>
12592
12593 * startup.el (command-line): Save the cursor's theme-face
12594 directly, instead of using face-override-spec.
12595
12596 * custom.el (load-theme): Minor optimization in assigning faces.
12597
8d17e7ca
JB
125982011-04-04 Juanma Barranquero <lekktu@gmail.com>
12599
12600 * help-fns.el (describe-variable): Complete all variables having
12601 documentation, including keywords.
12602 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12603
2fbc1934
JB
126042011-04-04 Juanma Barranquero <lekktu@gmail.com>
12605
12606 Convert to lexical-binding.
12607
12608 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12609 (bs--get-marked-string, bs--get-modified-string)
12610 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12611 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12612 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12613
12614 * ehelp.el (electric-help-execute-extended)
12615 (electric-help-ctrl-x-prefix):
12616 * hexl.el (hexl-revert-buffer-function):
12617 * linum.el (linum-after-change, linum-after-scroll):
12618 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12619
12620 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12621
74f50695
DU
126222011-04-04 Daiki Ueno <ueno@unixuser.org>
12623
12624 * epa-dired.el:
12625 * epa-mail.el:
12626 * epa-hook.el:
12627 * epa-file.el:
12628 * epa.el:
12629 * epg.el: Use lexical binding.
12630
c11325f7
CY
126312011-04-03 Chong Yidong <cyd@stupidchicken.com>
12632
0d9e9a12
CY
12633 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12634
c11325f7 12635 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12636 dictionary case for flyspell-mark-duplications-exceptions.
12637 Use regexp matching for languages.
c11325f7
CY
12638 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12639 default dictionary (Bug#7926).
12640
da91b5f2
CY
126412011-04-02 Chong Yidong <cyd@stupidchicken.com>
12642
099c39a4
JB
12643 * emacs-lisp/package.el (package--with-work-buffer):
12644 Recognize https URLs.
da91b5f2 12645
099c39a4
JB
12646 * net/network-stream.el: Move from gnus/proto-stream.el.
12647 Change prefix to network-stream throughout.
da91b5f2
CY
12648 (open-protocol-stream): Merge into open-network-stream, leaving
12649 open-protocol-stream as an alias. Handle nil BUFFER args.
12650
12651 * subr.el (open-network-stream): Move to net/network-stream.el.
12652
afa8e9f6
GM
126532011-04-02 Glenn Morris <rgm@gnu.org>
12654
1d2e369d
GM
12655 * find-dired.el (find-exec-terminator): New option.
12656 (find-ls-option): Test for -ls support.
12657 (find-ls-subdir-switches): Test for -b in find-ls-option.
12658 (find-dired, find-grep-dired): Doc fixes.
12659 (find-dired): Use find-exec-terminator.
12660
8abb7da8 12661 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12662 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12663 (find-name-arg): Remove purecopy.
8abb7da8 12664
f3ca7378
GM
12665 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12666 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12667 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12668 accordingly. Don't add the null-device if not needed.
12669
afa8e9f6
GM
12670 * files.el (save-some-buffers): Doc fix.
12671
35eae264
EZ
126722011-04-02 Eli Zaretskii <eliz@gnu.org>
12673
12674 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12675
26b51db5
JB
126762011-04-01 Juanma Barranquero <lekktu@gmail.com>
12677
12678 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12679 Use `dolist' rather than `mapcar'.
12680
7200d79c
SM
126812011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12682
03408648 12683 Add lexical binding.
7200d79c 12684
03408648
SM
12685 * subr.el (apply-partially): Use new closures rather than CL.
12686 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12687 (dolist, dotimes): Use slightly different expansion for lexical code.
12688 (functionp): Move to C.
12689 (letrec): New macro.
12690 (with-wrapper-hook): Use it and apply-partially instead of CL.
12691 (eval-after-load): Preserve lexical-binding.
12692 (save-window-excursion, with-output-to-temp-buffer): Turn them
12693 into macros.
7200d79c 12694
03408648
SM
12695 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12696
12697 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12698 than the arglist.
12699 (help-add-fundoc-usage): Don't add `Not documented'.
12700 (help-function-arglist): Handle closures, subroutines, and new
12701 byte-code-functions.
12702 (help-make-usage): Remove leading underscores.
12703 (describe-function-1): Handle closures.
12704 (describe-variable): Use special-variable-p for completion.
12705
12706 * files.el (lexical-binding): Declare safe.
f488fb65 12707
03408648
SM
12708 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12709 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12710 (pcase): Add `let' pattern.
12711 Change memoization so it actually works.
12712 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12713 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12714 <let>: New case.
f488fb65 12715
03408648
SM
12716 * emacs-lisp/macroexp.el: Use lexical binding.
12717 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12718 Don't convert ' to #' without checking that it's indeed quoting
12719 a lambda.
12720
12721 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12722 Use eval-sexp-add-defvars.
03408648
SM
12723 (eval-sexp-add-defvars): New fun.
12724
12725 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12726
12727 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12728 Don't autoload.
12729 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12730 than the internal `byte-compile-lambda'.
12731 (defmethod): Don't hide code under quotes.
12732 (eieio-defmethod): New `code' argument.
12733
12734 * emacs-lisp/eieio-comp.el: Remove.
12735
12736 * emacs-lisp/edebug.el (edebug-eval-defun)
12737 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12738 (edebug-toggle): Avoid `eval'.
12739
12740 * emacs-lisp/disass.el (disassemble-internal): Handle new
12741 `closure' objects.
12742 (disassemble-1): Handle new byte codes.
12743
12744 * emacs-lisp/cl.el (pushnew): Silence warning.
12745
12746 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12747 (cl-byte-compile-throw): Remove.
12748 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12749
12750 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12751 closures.
12752
12753 * emacs-lisp/cconv.el: New file.
12754
12755 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12756 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12757 (byte-compile-initial-macro-environment):
12758 Handle declare-function here.
12759 (byte-compile--lexical-environment): New var.
12760 (byte-stack-ref, byte-stack-set, byte-discardN)
12761 (byte-discardN-preserve-tos): New lap codes.
12762 (byte-interactive-p): Don't use any more.
12763 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12764 New macros.
12765 (byte-compile-lapcode): Use them and handle new lap codes.
12766 (byte-compile-obsolete): Remove.
12767 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12768 (byte-compile-arglist-warn): Check late def of inlinable funs.
12769 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12770 since they should have been expanded by now.
12771 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12772 (byte-compile-from-buffer): Remove unused second arg.
12773 (byte-compile-preprocess): New function.
12774 (byte-compile-toplevel-file-form): New function to distinguish
12775 file-form calls from outside from file-form calls from hunk-handlers.
12776 (byte-compile-file-form): Simplify.
12777 (byte-compile-file-form-defsubst): Remove.
12778 (byte-compile-file-form-defmumble): Simplify now that
12779 byte-compile-lambda always returns a byte-code-function.
12780 (byte-compile): Preprocess.
12781 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12782 Remove, not used any more.
12783 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12784 (byte-compile-make-args-desc): New funs.
12785 (byte-compile-lambda): Handle lexical functions. Always return
12786 a byte-code-function.
12787 (byte-compile-reserved-constants): New var, to make up room for
12788 closed-over variables.
12789 (byte-compile-constants-vector): Obey it.
12790 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12791 (byte-compile-macroexpand-declare-function): New function.
12792 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12793 byte-code-functions.
12794 (byte-compile-form): Check obsolescence here.
12795 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12796 (byte-compile-variable-ref): Remove.
12797 (byte-compile-dynamic-variable-op): New fun.
12798 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12799 (byte-compile-variable-set): New funs.
12800 (byte-compile-discard): Add 2 args.
12801 (byte-compile-stack-ref, byte-compile-stack-set)
12802 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12803 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12804 macroexpand-all instead.
12805 (byte-compile-quote-form): Remove.
12806 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12807 (byte-compile-bind, byte-compile-unbind): New funs.
12808 (byte-compile-let): Handle let* and lexical binding.
12809 (byte-compile-let*): Remove.
12810 (byte-compile-catch, byte-compile-unwind-protect)
12811 (byte-compile-track-mouse, byte-compile-condition-case):
12812 Handle a new :fun-body form, used for lexical scoping.
12813 (byte-compile-save-window-excursion)
12814 (byte-compile-with-output-to-temp-buffer): Remove.
12815 (byte-compile-defun): Simplify.
12816 (byte-compile-stack-adjustment): New fun.
12817 (byte-compile-out): Use it.
12818 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12819
12820 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12821 handler any more.
12822
12823 * emacs-lisp/byte-opt.el: Use lexical binding.
12824 (byte-inline-lapcode): Remove (to bytecomp).
12825 (byte-compile-inline-expand): Pay attention to inlining to/from
12826 lexically bound code.
12827 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12828 any more.
12829 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12830 any more and don't call compiler-macros.
12831 (byte-compile-splice-in-already-compiled-code): Remove.
12832 (byte-code): Don't inline any more.
12833 (disassemble-offset): Receive `bytes' as argument rather than via
12834 dynamic scoping.
12835 (byte-compile-tag-number): Declare before first use.
12836 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12837 `return' even if make-spliceable.
12838 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12839 obsolete interactive-p.
12840 (byte-optimize-lapcode): Optimize new lap-codes.
12841 Don't trip up on new form of `byte-constant' lap code.
12842
12843 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12844
12845 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12846
12847 * custom.el (custom-initialize-default, custom-declare-variable):
12848 Use `defvar'.
12849
12850 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12851 New variables.
12852 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12853 (COMPILE_FIRST): Add macroexp and cconv.
12854 * makefile.w32-in: Mirror changes in Makefile.in.
12855
12856 * vc/cvs-status.el:
12857 * vc/diff-mode.el:
12858 * vc/log-edit.el:
12859 * vc/log-view.el:
12860 * vc/smerge-mode.el:
12861 * textmodes/bibtex-style.el:
12862 * textmodes/css.el:
12863 * startup.el:
12864 * uniquify.el:
da91b5f2
CY
12865 * minibuffer.el:
12866 * newcomment.el:
12867 * reveal.el:
12868 * server.el:
12869 * mpc.el:
12870 * emacs-lisp/smie.el:
12871 * doc-view.el:
12872 * dired.el:
03408648
SM
12873 * abbrev.el: Use lexical binding.
12874
0f0c1f27
EZ
128752011-04-01 Eli Zaretskii <eliz@gnu.org>
12876
12877 * info.el (info-display-manual): New function.
12878
c82b2579
SM
128792011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12880
12881 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12882
221ddf68
TH
128832011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12884
12885 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12886 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12887
cba6e77e
GM
128882011-03-31 Glenn Morris <rgm@gnu.org>
12889
e040639f
GM
12890 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12891
cba6e77e
GM
12892 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12893
6d0f1c9e
CS
128942011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12895
12896 * progmodes/python.el (python-default-interpreter)
12897 (python-python-command-args, python-jython-command-args)
12898 (python-which-shell, python-which-args, python-which-bufname)
12899 (python-file-queue, python-comint-output-filter-function)
12900 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12901 variables and functions.
12902
3e2d70fd
SM
129032011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12904
12905 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12906 (completion-in-region-mode): New minor mode.
12907 (completion-in-region): Use it.
12908 (completion-in-region--data, completion-in-region-mode-map): New vars.
12909 (completion-in-region--postch): New function.
12910 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12911 New vars.
12912 (completion--capf-wrapper): New function.
12913 (completion-at-point): Use it to track well-behavedness of
12914 hook functions.
12915 (completion-help-at-point): New command.
12916
f3e4086c
JM
129172011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12918
12919 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12920 syntax class to search for whitespace on a single line
12921 (Message-ID: <4D938140.4030905@redhat.com>).
12922
eb7ffc14
LL
129232011-03-30 Leo Liu <sdl.web@gmail.com>
12924
12925 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12926 New commands.
12927 (edit-abbrevs-map): Bind them here.
12928 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12929
d806ab68
KM
129302011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12931
12932 * allout.el (allout-hide-by-annotation, allout-flag-region):
12933 Reduce possibility of overlay leakage by making them volatile.
12934
12935 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12936 hash is not shared between buffers. Mode initialization is
12937 responsible for giving it a useful starting value.
12938 (allout-item-span): Reduce possibility of overlay leakage by
12939 making them volatile.
12940 (allout-widgets-count-buttons-in-region): Add diagnostic function
12941 for tracking down button overlay leaks.
12942
ea622834
LL
129432011-03-29 Leo Liu <sdl.web@gmail.com>
12944
12945 * ido.el (ido-read-internal): Use the default history var
12946 minibuffer-history if no HISTORY is specified.
12947
b62f8267
G
129482011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12949
03408648
SM
12950 * net/imap.el (imap-shell-open, imap-process-connection-type):
12951 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12952 Kerberos, SSL, other subprocesses.
12953
947b6566
LL
129542011-03-28 Leo Liu <sdl.web@gmail.com>
12955
12956 * abbrev.el (abbrev-table-empty-p): New function.
12957 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12958 nonempty ones. (Bug#5937)
12959
5ffb62aa
JD
129602011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12961
12962 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12963
7a097943
LL
129642011-03-27 Leo Liu <sdl.web@gmail.com>
12965
12966 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12967 for foreground and background colors.
12968 (ansi-color-make-color-map): Adapt.
12969
c5b40130
LL
129702011-03-25 Leo Liu <sdl.web@gmail.com>
12971
1f48f7d2
LL
12972 * midnight.el (midnight-time-float): Remove. Note it calculates
12973 the microsecond component incorrectly and seconds-to-time does the
12974 same job.
625897ec 12975 Remove redundant (require 'timer).
1f48f7d2 12976
c5b40130
LL
12977 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12978 (ido-completions): Remove unused arguments. (Bug#8329)
12979
d86d2721
SM
129802011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12981
12982 * minibuffer.el (completion--flush-all-sorted-completions):
12983 Remove itself from hook.
12984 (completion-at-point): Let the functions perform the completion
12985 immediately and return nil or t.
12986 * comint.el (comint-dynamic-complete-functions): Now identical to
12987 completion-at-point-functions.
12988 (comint-dynamic-list-input-ring): Remove unused var `index'.
12989 (comint--match-partial-filename, comint--unquote&expand-filename):
12990 New funs, split from comint-match-partial-filename.
12991 (comint-dynamic-complete): Use completion-at-point.
12992 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12993
e8974c48
DA
129942011-03-24 Drew Adams <drew.adams@oracle.com>
12995
12996 * thingatpt.el: Support `defun'.
12997
def71b5e
LL
129982011-03-23 Leo Liu <sdl.web@gmail.com>
12999
cb5af48e
LL
13000 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13001
def71b5e
LL
13002 * help-mode.el (help-mode-finish): Tweak regexp.
13003
927c53e7
GM
130042011-03-23 Glenn Morris <rgm@gnu.org>
13005
18d05bed
GM
13006 * eshell/esh-opt.el (eshell-eval-using-options):
13007 Do not bind unused local variable `eshell-option-stub'.
13008
927c53e7
GM
13009 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13010
9d0da923
JB
130112011-03-22 Juanma Barranquero <lekktu@gmail.com>
13012
13013 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13014 keymap variable in `with-no-warnings' to avoid a warning when the
13015 keymap has been already `defconst'ed.
13016
4b978a67
LL
130172011-03-22 Leo Liu <sdl.web@gmail.com>
13018
13019 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13020 encode all chars in abbrevs; otherwise use emacs-mule or
13021 utf-8-emacs. (Bug#8308)
13022
5fd62452
JB
130232011-03-22 Juanma Barranquero <lekktu@gmail.com>
13024
0b1596c6
JB
13025 * simple.el (backward-delete-char-untabify):
13026 Avoid warning about using `delete-backward-char'.
13027
5fd62452
JB
13028 * image.el (image-type-file-name-regexps): Make it variable.
13029 `imagemagick-register-types' modifies it, and the user may want
13030 to add new extensions for known image types.
13031 (imagemagick-register-types): Throw error if not using ImageMagick.
13032
0b4e93f1
LL
130332011-03-22 Leo Liu <sdl.web@gmail.com>
13034
13035 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13036 located before rcirc-prompt-end-marker.
13037 (rcirc-complete): Error if point is not after rcirc prompt.
13038 Handle the case when table is nil.
9882e214 13039 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13040
fccee4ab
CY
130412011-03-22 Chong Yidong <cyd@stupidchicken.com>
13042
13043 * custom.el (custom--inhibit-theme-enable): Make it affect only
13044 custom-theme-set-variables and custom-theme-set-faces.
13045 (provide-theme): Ignore custom--inhibit-theme-enable.
13046 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13047 (custom-enabling-themes): Delete variable.
d86d2721
SM
13048 (enable-theme): Accept only loaded themes as arguments.
13049 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13050 (custom-enabled-themes): Forbid themes from setting this.
13051 Eliminate use of custom-enabling-themes.
13052 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13053
af896da6
LL
130542011-03-21 Leo Liu <sdl.web@gmail.com>
13055
13056 * ido.el (ido-read-internal): Add ido-selected to history instead
13057 of user input.
13058
78f64af0
SM
130592011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13060
13061 * subr.el (deferred-action-list, deferred-action-function):
13062 Mark obsolete.
13063
b16ac1ec
LL
130642011-03-21 Leo Liu <sdl.web@gmail.com>
13065
810f7698
LL
13066 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13067 change on 2011-02-13 (bug#8309).
13068
b16ac1ec
LL
13069 * minibuffer.el (read-file-name-function): Change default value.
13070 (read-file-name--defaults): Rename from read-file-name-defaults.
13071 (read-file-name-default): Rename from read-file-name.
13072 (read-file-name): Call read-file-name-function.
13073
4e05e67e
GM
130742011-03-21 Glenn Morris <rgm@gnu.org>
13075
13076 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13077 Doc fixes.
13078
4359915b
CY
130792011-03-21 Chong Yidong <cyd@stupidchicken.com>
13080
13081 * cus-theme.el: Add missing provide statement.
13082 (customize-create-theme): Extract theme value correctly.
13083 (custom-theme-visit-theme): Autoload.
13084 (customize-create-theme): Prompt before inserting default faces.
13085
1fe275ee
JB
130862011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13087
13088 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13089 units and musical notes.
13090
cd394be1 130912011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13092
13093 * ido.el (ido-read-internal): Use completing-read-default.
13094 (ido-completing-read): Fix compatibility with completing-read.
13095
7d476bde
CO
130962011-03-20 Christian Ohler <ohler@gnu.org>
13097
13098 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13099 (ert-delete-all-tests): Use `called-interactively-p' rather than
13100 `interactive-p'.
13101 (ert--make-xrefs-region): Respect END.
13102
fe0fb33e
CY
131032011-03-19 Chong Yidong <cyd@stupidchicken.com>
13104
ff854b0b
CY
13105 * dired-aux.el (dired-create-directory): Signal an error if the
13106 directory already exists (Bug#8246).
13107
fe0fb33e
CY
13108 * facemenu.el (list-colors-display): Call list-faces-display
13109 inside with-help-window.
13110 (list-colors-print): Use display property to align the final
13111 column, instead of checking window-width.
13112
576bce32
EZ
131132011-03-19 Eli Zaretskii <eliz@gnu.org>
13114
4d61f28d 13115 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13116 windows-nt systems.
13117 (emerge-protect-metachars): Quote correctly for ms-dos and
13118 windows-nt systems.
13119
89c41d68 131202011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13121
13122 * info.el (info-initialize): Replace all uses of `:' with
13123 path-separator for compatibility with non-Unix systems.
13124 Cache quoting of path-separator. (Bug#8258)
13125
b14e3e21 131262011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13127
13128 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13129 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13130 (mouse-avoidance-mode): Fix typos in docstrings.
13131
4525ce3e
CY
131322011-03-19 Chong Yidong <cyd@stupidchicken.com>
13133
13134 * startup.el (package-subdirectory-regexp): Move from package.el.
13135 Omit \\` and \\', and let callers add them.
13136
13137 * emacs-lisp/package.el (package-strip-version)
13138 (package-load-all-descriptors): Add \\` and \\' to
13139 package-subdirectory-regexp before using it.
13140 (package-untar-buffer): New arg DIR; ensure that file untars only
13141 into this expected directory. Remove superfluous delete-region.
13142 (package-unpack): Caller changed.
13143 (package-tar-file-info): Use package-subdirectory-regexp.
13144
a904a09a 131452011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13146
a904a09a
SM
13147 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13148 diff-mode-shared-map (bug#8284).
13149 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13150
131512011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13152
13153 * calendar/time-date.el (format-seconds): Use assoc instead of
13154 assoc-string, since assoc-string doesn't exist in XEmacs.
13155
171fc304
JB
131562011-03-17 Juanma Barranquero <lekktu@gmail.com>
13157
13158 * custom.el (custom-known-themes): Reflow docstring.
13159 (custom-theme-load-path): Fix typo in docstring.
13160 (load-theme): Fix typo in error message.
13161 (custom-available-themes, custom-variable-theme-value):
13162 Use `let', not `let*'.
13163
d71990a1
JB
131642011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13165
13166 * calc/README: Mention inclusion of musical notes.
13167
13168 * calc/calc-units.el (calc-lu-quant): Rename from
13169 `calc-logunits-quantity'.
13170 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13171 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13172 (calc-db): Rename from `calc-dblevel'.
13173 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13174 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13175 (calc-np): Rename from `calc-nplevel'.
13176 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13177 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13178 (calc-lu-plus): Rename from `calc-logunits-add'.
13179 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13180 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13181 (calc-lu-minus): Rename from `calc-logunits-sub'.
13182 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13183 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13184 (calc-lu-times): Rename from `calc-logunits-mul'.
13185 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13186 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13187 (calc-lu-divide): Rename from `calc-logunits-div'.
13188 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13189 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13190
13191 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13192 functions being autoloaded.
13193
13194 * calc/calc.el (calc-lu-power-reference): Rename from
13195 `calc-logunits-power-reference'.
13196 (calc-lu-field-reference): Rename from
13197 `calc-logunits-field-reference'.
13198
7a71b18d
GM
13199 * calc/calc-help.el (calc-l-prefix-help):
13200 Mention musical note functions.
d71990a1 13201
40c2934b
SM
132022011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13203
13204 * minibuffer.el (completion-all-sorted-completions):
13205 Use :completion-cycle-penalty text property if present.
13206
b0911414
KM
132072011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13208
13209 * allout.el (allout-yank-processing): Adjust for new rebulleting
13210 regime so bullet being yanked is used without prompting the user
13211 for a choice.
13212
8a05b668
JB
132132011-03-16 Juanma Barranquero <lekktu@gmail.com>
13214
13215 * startup.el (command-line): Warn the user that _emacs is deprecated.
13216
5ba5fb81
JB
132172011-03-16 Juanma Barranquero <lekktu@gmail.com>
13218
13219 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13220 (delphi-verbose, delphi-comment-face, delphi-string-face)
13221 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13222 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13223 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13224 (delphi-new-comment-line, delphi-font-lock-defaults)
13225 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13226 Fix typos in docstrings.
13227
2dab465b
KM
132282011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13229
5ba5fb81 13230 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13231 Invert the roles of character and string values for INSTEAD, so a
13232 string is used for the more common case of a defaulting prompt.
13233
0adf5618
SM
132342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13235
13236 * progmodes/ruby-mode.el (ruby-backward-sexp):
13237 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13238 * play/gamegrid.el (gamegrid-make-face):
13239 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13240 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13241 * notifications.el (notifications-notify):
13242 * net/xesam.el (xesam-search-engines):
13243 * net/quickurl.el (quickurl-list-insert):
13244 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13245
d72700e5
CY
132462011-03-15 Chong Yidong <cyd@stupidchicken.com>
13247
13248 * startup.el (command-line): Update package subdirectory regexp.
13249
49c5410a
SM
132502011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13251
c6eee9aa
SM
13252 * allout.el (allout-abbreviate-flattened-numbering)
13253 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13254
49c5410a
SM
13255 * subr.el (read-char-choice): Only show the cursor after the prompt,
13256 not after the answer.
13257
047b2bb9
KR
132582011-03-15 Kevin Ryde <user42@zip.com.au>
13259
13260 * help-fns.el (variable-at-point): Skip leading quotes, if any
13261 (bug#8253).
13262
0a57d256
SM
132632011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13264
13265 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13266 warning message.
13267
77c992bc
MA
132682011-03-14 Michael Albinus <michael.albinus@gmx.de>
13269
13270 * shell.el (shell): When called interactively, offer to change the
13271 shell file name on remote hosts.
13272
eebc475d
TZ
132732011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13274
13275 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13276 integration for LDAP parameters. The host, base, user or binddn,
13277 and secret tokens can be specified in a netrc file, for instance.
13278 This is optional because an `auth-source' parameter must be
13279 specified in the search attributes.
13280
9d05d1ba
JB
132812011-03-13 Juanma Barranquero <lekktu@gmail.com>
13282
13283 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13284
09d9db2c
GM
132852011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13286
13287 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13288 into declaration. Remove redundant and harmful binding.
13289
132902011-03-12 Eli Zaretskii <eliz@gnu.org>
13291
13292 * files.el (file-ownership-preserved-p): Pass `integer' as an
13293 explicit 2nd argument to `file-attributes'. If the file's owner
13294 is the Administrators group on Windows, and the current user is
13295 Administrator, consider that a match.
13296
13297 * server.el (server-ensure-safe-dir): Consider server directory
13298 safe on MS-Windows if its owner is the Administrators group while
13299 the current Emacs user is Administrator. Use `=' to compare
13300 numerical UIDs, since they could be integers or floats.
13301
219bd536
JB
133022011-03-12 Juanma Barranquero <lekktu@gmail.com>
13303
13304 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13305
f3afd36b
MA
133062011-03-12 Michael Albinus <michael.albinus@gmx.de>
13307
13308 Sync with Tramp 2.2.1.
13309
13310 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13311
13312 * net/trampver.el: Update release number.
13313
3aaaa6f1
SM
133142011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13315
94642599
SM
13316 * progmodes/compile.el (compilation--previous-directory): Fix up
13317 various nil/dead-marker mismatches (bug#8014).
13318 (compilation-directory-properties, compilation-error-properties):
13319 Don't call it at a position past the one we're about to change.
13320
3aaaa6f1
SM
13321 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13322 Disable obsolescence warnings in the file that declares it.
13323
14239447
KM
133242011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13325
099c39a4
JB
13326 * allout-widgets.el (allout-widgets-tally):
13327 Initialize allout-widgets-tally as a hash table rather than nil to
13328 prevent mode-line redisplay warnings. Also, clarify the module
13329 description and fix a comment typo.
14239447 13330
135e287c
JB
133312011-03-11 Juanma Barranquero <lekktu@gmail.com>
13332
13333 * help-fns.el (describe-variable): Don't complete keywords.
13334 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13335
ffbf300e
CY
133362011-03-10 Chong Yidong <cyd@stupidchicken.com>
13337
ba08b241
CY
13338 * emacs-lisp/package.el (package-version-join): Impose a standard
13339 string representation for pre/alpha/beta version lists.
13340 (package-unpack-single): Standardize the directory name by passing
13341 it through package-version-join.
13342 (package-strip-rcs-id): Accept any version string that does not
13343 signal an error in version-to-list.
ffbf300e 13344
f346fd6b
MA
133452011-03-10 Michael Albinus <michael.albinus@gmx.de>
13346
13347 * simple.el (delete-trailing-whitespace): Return nil for the
13348 benefit of `write-file-functions'.
13349
ccb55d27
GM
133502011-03-10 Glenn Morris <rgm@gnu.org>
13351
5ceaac0c
GM
13352 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13353
02da65ff
GM
13354 * vc/vc-git.el (vc-git-program): New option.
13355 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13356 (vc-git--call): Use it.
13357
b2f603cc
GM
13358 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13359
5772caab
GM
13360 * cus-edit.el (Custom-newline): If no button at point, look
13361 for a subgroup button at start-of-line. (Bug#2298)
13362
ccb55d27
GM
13363 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13364
ec6ecaed
JD
133652011-03-10 Julien Danjou <julien@danjou.info>
13366
13367 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13368 `cursor-type' is nil.
13369
9d5aa01d
JB
133702011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13371
13372 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13373
b6a5875b
KM
133742011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13375
7a71b18d 13376 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13377 preserves the existing header prefix, rebulleting it if necessary,
13378 rather than replacing it. This is necessary for proper operation
13379 of cooperative addons like allout-widgets.
1154d12e
JB
13380 (allout-make-topic-prefix, allout-rebullet-heading):
13381 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13382 value as alternate bullet to be used, instead of prompting the user
13383 for a bullet character.
b6a5875b 13384
ee545c35
MA
133852011-03-09 Michael Albinus <michael.albinus@gmx.de>
13386
d86d2721
SM
13387 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13388 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13389 `tramp-default-port'.
13390
c47971d7
DD
133912011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13392
13393 * net/rcirc.el (rcirc-handler-001): Remove useless
13394 with-rcirc-process-buffer.
13395 (rcirc-check-auth-status): Swap arguments to string-match.
13396
13522cb4
GM
133972011-03-09 Glenn Morris <rgm@gnu.org>
13398
0be6f4f1
GM
13399 * shell.el (shell-mode):
13400 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13401
13522cb4
GM
13402 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13403 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13404
515de2e3
CY
134052011-03-08 Chong Yidong <cyd@stupidchicken.com>
13406
13407 * emacs-lisp/package.el (package-refresh-contents)
13408 (package-menu-execute): Use condition-case-no-debug.
13409
b511b994
MA
134102011-03-08 Michael Albinus <michael.albinus@gmx.de>
13411
13412 * simple.el (shell-command-to-string): Use `process-file'.
13413
13414 * emacs-lisp/package.el (package-tar-file-info): Handle also
13415 remote files.
13416
d86d2721
SM
13417 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13418 Use `equal' for upload base check.
b511b994 13419
25bbfb31
AM
134202011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13421
13422 * textmodes/texinfo.el (texinfo-environments):
13423 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13424
be996521
GM
134252011-03-08 Glenn Morris <rgm@gnu.org>
13426
e9c8529f
GM
13427 * cus-start.el (cursor-in-non-selected-windows):
13428 Fix :set quoting oddness. (Bug#8192)
13429
be996521
GM
13430 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13431 in some setf expressions. (Bug#2159)
13432
2bb5649e
CY
134332011-03-08 Chong Yidong <cyd@stupidchicken.com>
13434
13435 * custom.el (custom-available-themes): Return themes in
13436 alphabetical order.
13437
33383987 13438See ChangeLog.15 for earlier changes.
e3d51b27
MR
13439
13440;; Local Variables:
13441;; coding: utf-8
e3d51b27
MR
13442;; End:
13443
acaf905b 13444 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13445
13446 This file is part of GNU Emacs.
13447
13448 GNU Emacs is free software: you can redistribute it and/or modify
13449 it under the terms of the GNU General Public License as published by
13450 the Free Software Foundation, either version 3 of the License, or
13451 (at your option) any later version.
13452
13453 GNU Emacs is distributed in the hope that it will be useful,
13454 but WITHOUT ANY WARRANTY; without even the implied warranty of
13455 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13456 GNU General Public License for more details.
13457
13458 You should have received a copy of the GNU General Public License
13459 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.