Fix match highlighting in compilation buffers.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
52b61776
TN
12012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2
3 * progmodes/compile.el (compilation-internal-error-properties):
4 Calculate start position correctly when end-col is set but
5 end-line is not (Bug#11382).
6
ebfe2597
WJ
72012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8
9 * man.el (Man-unindent): Use text-property-default-nonsticky to
10 prevent untabify from inheriting face properties (Bug#11408).
11
a43f98b3
GM
122012-05-05 Glenn Morris <rgm@gnu.org>
13
48176e8b
GM
14 * calendar/cal-html.el: Optionally include holidays in the output.
15 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
16 (cal-html-holidays): New option.
17 (cal-html-css-default): Add holiday entry.
18 (holiday-in-range): Autoload it.
19 (cal-html-htmlify-entry): Add optional class argument.
20 (cal-html-htmlify-list): Add optional holidays argument.
21 (cal-html-insert-agenda-days): Include holidays in the output.
22 (cal-html-one-month): Maybe include holidays.
23
a43f98b3
GM
24 * calendar/holidays.el (holiday-in-range):
25 Move here from cal-tex-list-holidays.
26 * calendar/cal-tex.el (cal-tex-list-holidays):
27 Make it an obsolete alias for holiday-in-range. Update all callers.
28
fef9d149 292012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
30
31 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
32 Nextstep.
33
248da2f4
RW
342012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
35
36 * files.el (file-auto-mode-skip): New var.
37 (set-auto-mode-1): Use it.
38
f95e9344
SM
392012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
40
df96ab1e
SM
41 * repeat.el: Use lexical-binding.
42 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
43 (repeat-undo-count): Remove.
44 (repeat):
45 * progmodes/octave-mod.el (octave-abbrev-start):
46 * progmodes/f90.el (f90-abbrev-start):
47 * face-remap.el (text-scale-adjust):
48 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
49
5342bb06
SM
50 * emacs-lisp/pcase.el (pcase--let*): New function.
51 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
52 a bit more.
53 (pcase--split-pred): Be more clever about ruling out overlap between
54 a predicate and some constant pattern.
55 (pcase--q1): Use `null' instead of (eq foo nil).
56
f95e9344
SM
57 * subr.el (setq-local, defvar-local): New macros.
58 (kbd): Redefine as an alias.
59 (with-selected-window): Leave unrelated frames alone.
60 (set-temporary-overlay-map): New function.
61
71873e2b
SM
622012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
63
64 * subr.el (user-error): New function.
65 * window.el (switch-to-buffer):
66 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
67 (smerge-match-conflict):
68 * simple.el (previous-matching-history-element)
69 (next-matching-history-element, goto-history-element, undo-more)
70 (undo-start):
71 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
72 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
73 (next-file, tags-loop-scan, list-tags, complete-tag):
74 * progmodes/compile.el (compilation-loop):
75 * mouse.el (mouse-minibuffer-check):
76 * man.el (Man-bgproc-sentinel, Man-goto-page):
77 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
78 (Info-history-forward, Info-follow-reference, Info-menu)
79 (Info-extract-menu-item, Info-extract-menu-counting)
80 (Info-forward-node, Info-backward-node, Info-next-menu-item)
81 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
82 (Info-next-reference, Info-prev-reference, Info-index)
83 (Info-index-next, Info-follow-nearest-node)
84 (Info-copy-current-node-name):
85 * imenu.el (imenu--make-index-alist)
86 (imenu-default-create-index-function, imenu-add-to-menubar):
87 * files.el (basic-save-buffer, recover-file):
88 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
89 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
90 (checkdoc-message-text, checkdoc-defun):
91 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
92 * cus-edit.el (customize-changed-options, customize-rogue)
93 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
94 (custom-variable-mark-to-reset-standard)
95 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
96 (custom-file):
97 * completion.el (check-completion-length):
98 * comint.el (comint-search-arg)
99 (comint-previous-matching-input-string-position)
100 (comint-previous-matching-input)
101 (comint-replace-by-expanded-history-before-point, comint-send-input)
102 (comint-copy-old-input, comint-backward-matching-input)
103 (comint-goto-process-mark, comint-set-process-mark):
104 * calendar/calendar.el (calendar-cursor-to-date): Use it.
105 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
106
8a61ee22
SM
1072012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
108
66408d1e
SM
109 * dabbrev.el (dabbrev--ignore-case-p): New function.
110 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
111 Use it.
112
8a61ee22
SM
113 * files.el (automount-dir-prefix): Mark as obsolete.
114
3c74813a
GM
1152012-05-04 Glenn Morris <rgm@gnu.org>
116
117 * patcomp.el, play/bruce.el: Move to obsolete/.
118
0bfcf5c5
PE
1192012-05-04 Paul Eggert <eggert@cs.ucla.edu>
120
121 Fix minor Y10k bugs.
122 * arc-mode.el (archive-unixdate):
123 * autoinsert.el (auto-insert-alist):
124 * calc/calc-forms.el (math-this-year):
125 * emacs-lisp/copyright.el (copyright-current-year)
126 (copyright-update-year, copyright):
127 * tar-mode.el (tar-clip-time-string):
128 * time.el (display-time-update):
129 Don't assume years have 4 digits.
130
78f3273a
CY
1312012-05-04 Chong Yidong <cyd@gnu.org>
132
133 * dos-w32.el (file-name-buffer-file-type-alist)
134 (direct-print-region-use-command-dot-com):
135 * ffap.el (ffap-menu-regexp):
136 * find-file.el (ff-special-constructs):
137 * follow.el (follow-debug):
138 * forms.el (forms--debug):
139 * iswitchb.el (iswitchb-all-frames):
140 * ido.el (ido-all-frames):
141 * emacs-lisp/timer.el (timer-max-repeats):
142 * mail/feedmail.el (feedmail-mail-send-hook)
143 (feedmail-mail-send-hook-queued):
144 * mail/footnote.el (footnote-signature-separator):
145 * mail/mailabbrev.el (mail-alias-separator-string)
146 (mail-abbrev-mode-regexp):
147 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
148 * progmodes/idlwave.el (idlwave-libinfo-file)
149 (idlwave-default-completion-case-is-down)
150 (idlwave-library-routines): Convert defvars to defcustoms.
151
152 * mail/rmail.el (rmail-decode-mime-charset):
153 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
154 (idlwave-shell-fix-inserted-breaks)
155 (idlwave-shell-activate-alt-keybindings)
156 (idlwave-shell-use-breakpoint-glyph):
157 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
158
f7ae6719
SM
1592012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
160
161 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
162
47086495
WS
1632012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
164
165 * progmodes/verilog-mode.el (font-lock-keywords):
166 Fix mis-highligting auto. Reported by Craig Barner.
167 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
168 defines from global name space. Reported by Dan Dever.
169 (verilog-auto-reset, verilog-auto-reset-widths)
170 (verilog-auto-tieoff): Support using unbased numbers for
171 AUTORESET and AUTOTIEOFF.
172 (verilog-submit-bug-report): Update variable list.
173 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
174 parenthesis from not matching. Reported by Michael Rytting.
175 (verilog-auto-template-lint): Fix hash error when linting modules
176 with no used templates.
177 (verilog-warn, verilog-warn-error)
178 (verilog-warn-fatal): When non-interactive report multiple
179 warnings before exiting. Suggested by Brad Dobbie.
180 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
181 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
182 to report unused template errors. Reported by Brad Dobbie.
183 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
184 nets, bug438. Reported by Vns Blore.
185 (verilog-auto-inout-module, verilog-auto-reg)
186 (verilog-read-decls, verilog-read-sub-decls-sig)
187 (verilog-signals-edit-wire-reg, verilog-signals-with):
188 Fix passing of Verilog data types in ANSI input/output ports
189 such as "output logic" into the AUTOs. Special case "wire" and
190 "reg" for backwards compatibility presuming Verilog 2001.
191 (verilog-auto-ascii-enum): Add "auto enum" as alias.
192 (verilog-preprocess): Fix replication of preprocess output.
193 Reported by Brad Dobbie.
194 (verilog-auto-inst-interfaced-ports):
195 Create verilog-auto-inst-interfaced-ports, bug429.
196 Reported by Julian Gorfajn.
197 (verilog-after-save-font-hook)
198 (verilog-before-save-font-hook): New variable.
199 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
200 (verilog-save-font-mods): Wrap disabling fontification, reported
201 by David Rogoff.
202 (verilog-do-indent, verilog-pretty-declarations-auto)
203 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
204 Reported by Pierre-David Pfister.
205 (verilog-set-auto-endcomments): Fix endtask auto comments outside
206 of class declarations, bug292. Reported by Kevin Heilman.
207 (verilog-read-decls): Fix 'parameter type' not appearing in
208 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
209 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
210 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
211 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
212 Reported by David Kravitz.
213
2142012-05-03 Michael McNamara <mac@mail.brushroad.com>
215
216 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
217 assignment with tests in ifs and for loops.
218 (verilog-extended-complete-re, verilog-complete-reg): Change so
219 that DPI inport functions don't look like fuction declarations.
220 (verilog-pretty-expr): Don't line up assignment
221 operations to the test and increment in if and for loops
222 (verilog-extended-complete-re, verilog-complete-reg): Change so
223 that DPI inport functions don't look like fuction declarations
224
2e51d4b5
KH
2252012-05-03 Kenichi Handa <handa@m17n.org>
226
227 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
228 decoding, and show a warning message without signalling an error
229 (Bug#11282).
230
2bd785a2
SM
2312012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
232
233 * emacs-lisp/bytecomp.el
234 (byte-compile-file-form-custom-declare-variable): Compile all elements,
235 since cconv.el might have introduced :fun-body, internal-make-closure,
236 and friends for bytecomp to handle (bug#11391).
237 * custom.el (defcustom): Avoid ((λ ..) ..).
238
99d27583
SM
2392012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
242
55a71479
JB
2432012-05-02 Juanma Barranquero <lekktu@gmail.com>
244
245 * notifications.el (dbus-debug):
246 * term/linux.el (gpm-mouse-enable):
247 * term/screen.el (xterm-register-default-colors): Declare.
248
7b97c764
CY
2492012-05-02 Chong Yidong <cyd@gnu.org>
250
2bc356d7
CY
251 * cus-start.el (gc-cons-percentage, exec-suffixes)
252 (dos-display-scancodes, dos-hyper-key, dos-super-key)
253 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
254 (make-cursor-line-fully-visible, void-text-area-pointer)
255 (font-list-limit): Add customization data.
256
7b97c764
CY
257 * allout.el (allout-exposure-change-functions)
258 (allout-structure-added-functions)
259 (allout-structure-deleted-functions)
260 (allout-structure-shifted-functions): Rename abnormal hooks from
261 *-hook, and convert to defcustoms.
5d3385a0
JB
262 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
263 Convert to defcustoms.
7b97c764
CY
264 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
265
266 * allout-widgets.el: Hook callers changed.
267
90207a15 2682012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
269
270 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
271 the yanked message in preference to the default value of
272 buffer-file-coding-system.
273
90207a15 2742012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 275
5d3385a0
JB
276 * window.el (display-buffer--action-function-custom-type):
277 Fix entry.
d9558cad 278
90207a15 2792012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
280
281 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
282
d80ac57b
GM
2832012-05-01 Glenn Morris <rgm@gnu.org>
284
976f7668
GM
285 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
286
beb83b5a
GM
287 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
288
d80ac57b
GM
289 * cus-edit.el (custom-variable-documentation): Simplify with format.
290
b593d6a9
AH
2912012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
292 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * simple.el (suggest-key-bindings, execute-extended-command):
295 Move from keyboard.c.
296
782fbf2a
CY
2972012-05-01 Chong Yidong <cyd@gnu.org>
298
299 * follow.el: Eliminate advice.
300 (set-process-filter, process-filter, sit-for): Advice deleted.
301 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
302 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
303 Vars deleted.
782fbf2a
CY
304 (follow-auto): Use a :set function.
305 (follow-mode): Rewritten. Don't advise process filters.
306 (follow-switch-to-current-buffer-all, follow-scroll-up)
307 (follow-scroll-down): Assume follow-mode is bound.
308 (follow-comint-scroll-to-bottom)
309 (follow-align-compilation-windows): New functions.
310 (follow--window-sorter): New function.
311 (follow-all-followers): Use it to explicitly sort windows by their
312 positions; don't make assumptions about next-window order.
313 (follow-windows-start-end, follow-delete-other-windows-and-split)
314 (follow-calc-win-start): Doc fix.
315 (follow-windows-aligned-p, follow-select-if-visible): Don't call
316 vertical-motion unnecessarily.
317 (follow-adjust-window): New function.
318 (follow-post-command-hook): Use it.
319 (follow-call-set-process-filter, follow-call-process-filter)
320 (follow-intercept-process-output, follow-tidy-process-filter-alist)
321 (follow-stop-intercept-process-output, follow-generic-filter):
322 Functions deleted.
323 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
324 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
325 New functions, replacing advice on scroll-bar-* commands.
87233a14 326 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
327
328 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
329 (comint-postoutput-scroll-to-bottom): Use it.
330 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 331
290af740
GM
3322012-05-01 Glenn Morris <rgm@gnu.org>
333
334 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
335 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
336 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
337 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
338 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
339 Remove no-byte-compile setting.
340
6eac8dc9
SM
3412012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
342
343 * minibuffer.el (completion-table-with-quoting): Fix compatibility
344 all-completions code to not return a number in the last cdr.
345
9cc7819c
LL
3462012-04-30 Leo Liu <sdl.web@gmail.com>
347
348 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
349 read-only error.
350
c93b886f
CY
3512012-04-29 Chong Yidong <cyd@gnu.org>
352
353 * follow.el (follow-calc-win-end): Rewrite to handle partial
354 screen lines correctly (Bug#8390).
355 (follow-avoid-tail-recenter): Minor cleanup.
356
8b6c19f4
SM
3572012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
358
359 Avoid the obsolete `assoc' package.
360 * speedbar.el (speedbar-refresh): Avoid adelete.
361 (speedbar-file-lists): Simplify and avoid aput.
362 * man.el (Man--sections, Man--refpages): New vars, replacing
363 Man-sections-alist and Man-refpages-alist.
364 (Man-build-section-alist, Man-build-references-alist):
365 Use them; avoid aput.
366 (Man--last-section, Man--last-refpage): New vars.
367 (Man-follow-manual-reference): Use them.
368 Use the `default' arg of completing-read.
369 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
370
c5bb7569
CY
3712012-04-27 Chong Yidong <cyd@gnu.org>
372
d1d2e2e8
CY
373 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
374
15cd8efd
CY
375 * startup.el (x-apply-session-resources): New function.
376
377 * term/ns-win.el (ns-initialize-window-system):
378 * term/w32-win.el (w32-initialize-window-system):
379 * term/x-win.el (x-initialize-window-system): Use it to properly
380 set menu-bar-mode and other vars from X resources, even if the
381 initial frame is not a window-system frame (Bug#2299).
382
c5bb7569
CY
383 * subr.el (read-key): Avoid running filter function when setting
384 up temporary tool bar entries (Bug#9922).
385
a8e7d6d7 3862012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
387
388 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
389 (Bug#11344)
390
a8e7d6d7 3912012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
392
393 * select.el (xselect--encode-string): New function, split from
394 xselect-convert-to-string.
395 (xselect-convert-to-string): Use it.
396 (xselect-convert-to-filename, xselect-convert-to-os)
397 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
398 returned strings are properly encoded (Bug#11315).
399
a8e7d6d7 4002012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
401
402 * simple.el (delete-active-region): Move to killing custom group.
403
a8e7d6d7 4042012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
405
406 * progmodes/which-func.el (which-func-current): Quote %
407 characters for mode-line processing.
408
578c1d4b 4092012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
410
411 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
412 reaching eob (Bug#11286).
413
a8e7d6d7 4142012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
415
416 * progmodes/gdb-mi.el (gdb-control-level): New variable.
417 (gdb): Make it buffer-local and init to zero.
418 (gdb-control-commands-regexp): New variable.
419 (gdb-send): Don't wrap in "-interpreter-exec console" if
420 gdb-control-level is positive. Increment gdb-control-level
421 whenever the command matches gdb-control-commands-regexp, and
422 decrement it each time the command is "end". (Bug#11279)
423
a8e7d6d7 4242012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
425
426 * window.el (adjust-window-trailing-edge, enlarge-window)
427 (shrink-window, window-resize):
428 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
429 windows (Bug#11276).
430
b3608390
CY
4312012-04-27 Chong Yidong <cyd@gnu.org>
432
433 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 434 fix "missing prefix" warning. All callers changed.
b3608390 435
797e6e88
SM
4362012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
437
438 * emacs-lisp/assoc.el: Move to obsolete/.
439
e95a67dc
SM
4402012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
441
657c21e4 442 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
443
444 * term/ns-win.el (ns-define-service):
445 * progmodes/pascal.el (pascal-goto-defun):
446 * progmodes/js.el (js--read-tab):
447 * progmodes/etags.el (tags-lazy-completion-table):
448 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
449 * emacs-lisp/ewoc.el (ewoc--wrap):
450 * emacs-lisp/assoc.el (aput, adelete, amake):
451 * doc-view.el (doc-view-convert-current-doc):
452 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
453
cb3e7ae0
CY
4542012-04-26 Chong Yidong <cyd@gnu.org>
455
dce04f7f
CY
456 * image.el (image-type-from-buffer): Only return supported image
457 type (Bug#9045).
458
cb3e7ae0
CY
459 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
460 value, for symmetry with diff-end-of-hunk.
461 (diff-split-hunk, diff-find-source-location)
462 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
463 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
464 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
465 compute the relevant hunk or file properly (Bug#6005).
466 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
467
0d42eb3e
SM
4682012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * vc/vc-mtn.el:
471 * vc/vc-hg.el:
472 * vc/vc-git.el:
473 * vc/vc-dir.el:
474 * vc/vc-cvs.el:
475 * vc/vc-bzr.el:
476 * vc/vc-arch.el:
477 * vc/vc.el: Replace lexical-let by lexical-binding.
478 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
479 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
480 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
481
f08ae1c9
CY
4822012-04-26 Chong Yidong <cyd@gnu.org>
483
8b71081d
CY
484 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
485 (diff-mode-shared-map): Bind it to / and [remap undo].
486
f08ae1c9
CY
487 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
488 (ediff-window-setup-function): Use it as the default, to set up
489 windows based on whether the current frame is graphical (Bug#2138).
490 (ediff-choose-window-setup-function-automatically): Make obsolete.
491
492 * vc/ediff-init.el: Always define ediff-pixel-width/height.
493
ef24141c
SM
4942012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
495
cc356a5d
SM
496 * ffap.el: Remove old code for obsolete package.
497 (ffap-complete-as-file-p): Remove.
498
b4ff4f1f
SM
499 Use completion-table-with-quoting for comint and pcomplete.
500 * comint.el (comint--unquote&requote-argument)
501 (comint--unquote-argument, comint--requote-argument): New functions.
502 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
503 (comint-quote-filename): Use regexp-opt-charset.
504 (comint--common-suffix, comint--common-quoted-suffix)
505 (comint--table-subvert): Remove.
506 (comint-unquote-function, comint-requote-function): New vars.
507 (comint--complete-file-name-data): Use them with
508 completion-table-with-quoting.
509 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
510 * pcomplete.el (pcomplete-arg-quote-list)
511 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
512 (pcomplete-unquote-argument-function): Default to non-nil.
513 (pcomplete-unquote-argument): Simplify.
514 (pcomplete--common-quoted-suffix): Remove.
515 (pcomplete-requote-argument-function): New var.
516 (pcomplete--common-suffix): New function.
517 (pcomplete-completions-at-point): Use completion-table-with-quoting
518 and completion-table-subvert.
519
79c4eeb4
SM
520 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
521 (minibuffer--double-dollars): Preserve properties.
522 (completion--sifn-requote): New function.
523 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
524
ef24141c
SM
525 * minibuffer.el: Add support for completion of quoted/escaped data.
526 (completion-table-with-quoting, completion-table-subvert): New funs.
527 (completion--twq-try, completion--twq-all): New functions.
528 (completion--nth-completion): New function.
529 (completion-try-completion, completion-all-completions): Use it.
530
784e7d6e
LL
5312012-04-25 Leo Liu <sdl.web@gmail.com>
532
dd2ac746
SM
533 * progmodes/python.el (python-pdbtrack-get-source-buffer):
534 Use compilation-message if available to find real filename.
784e7d6e 535
07875ee7
CY
5362012-04-25 Chong Yidong <cyd@gnu.org>
537
538 * vc/diff-mode.el (diff-setup-whitespace): New function.
539 (diff-mode): Use it.
540
541 * vc/diff.el (diff-sentinel):
542 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
543 Whitespace mode variables based on diff style (Bug#8612).
544
5055880d
LL
5452012-04-25 Leo Liu <sdl.web@gmail.com>
546
daf75653
LL
547 * progmodes/python.el (python-send-region): Add suffix .py to the
548 temp file.
549
5055880d
LL
550 * files.el (auto-mode-alist): Use javascript-mode instead.
551
db9b177b
AH
5522012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
553
ef24141c 554 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
555
556 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 557 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 558 references, see Bug#9.
ef24141c 559 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 560 when receiving a fault reply.
ef24141c 561 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
562
563 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 564 (soap-inspect-simple-type): New function.
db9b177b 565
ef24141c 566 * soap-client.el (soap-simple-type): New struct.
db9b177b 567 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
568 (soap-decode-basic-type, soap-encode-basic-type):
569 support unsignedInt and double basic types.
db9b177b 570 (soap-resolve-references-for-simple-type)
ef24141c
SM
571 (soap-parse-simple-type, soap-encode-simple-type): New function.
572 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
573
574 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
575 (soap-default-soapenc-types): Add integer, byte and anyURI types.
576 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
577 the local name of "soapenc:Array".
578 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
579 decoding integer, byte and anyURI xsd types.
580
1fc6097b
CY
5812012-04-25 Chong Yidong <cyd@gnu.org>
582
583 * cus-edit.el (custom-buffer-create-internal): Update header text.
584
afc6df87
EZ
5852012-04-25 Eli Zaretskii <eliz@gnu.org>
586
587 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
588 settings on 'system-type', not on 'window-system'. On MS-Windows,
589 set interactive-mode on in GDB.
590
dfbd787f
SM
5912012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
594 (ruby-syntax-propertize-regexp): Remove.
595 (ruby-syntax-propertize-function): Split regexp into chunks.
596 Match following code directly.
597
85222d44
DG
5982012-04-24 Dmitry Gutov <dgutov@yandex.ru>
599
51a8ea2a
DG
600 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
601 (ruby-syntax-propertize-regexp): New function.
602 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
603 by a special keyword.
604
85222d44
DG
605 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
606 (ruby-syntax-general-delimiters-goto-beg)
607 (ruby-syntax-propertize-general-delimiters): New functions.
608 (ruby-syntax-propertize-function): Use them to handle GDL.
609 (ruby-font-lock-keywords): Move old handling of GDL...
610 (ruby-font-lock-syntactic-keywords): .. to here.
611 (ruby-calculate-indent): Adjust indentation for GDL.
612
b613912b
MA
6132012-04-24 Michael Albinus <michael.albinus@gmx.de>
614
b5380639
MA
615 * notifications.el (top): Remove unneeded declarations.
616 (notifications-specification-version): Change to "1.2".
e43042fe 617 (notifications-interface, notifications-notify-method)
b613912b
MA
618 (notifications-close-notification-method): Fix docstring.
619 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
620 (notifications-notify): Add :action-items, :resident and
621 :transient hints. Change "image_data" to "image-data" and
622 "image_path" to "image-path".
b613912b
MA
623 (notifications-get-capabilities): New defun.
624
257440aa
LL
6252012-04-24 Leo Liu <sdl.web@gmail.com>
626
627 * progmodes/python.el: Move hideshow setup to the end.
628
b1bac16e
MR
6292012-04-24 Martin Rudalics <rudalics@gmx.at>
630
631 * window.el (handle-select-window): Clear echo area since this is
632 no more done by read_char (Bug#11304).
633
d81bd059
SM
6342012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
635
636 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
637 and `/ M' to filter-derived-mode.
638 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
639 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
640 (ibuffer-mark-by-mode): Use default rather than initial-input.
641 (ibuffer-filter-by-derived-mode): Autoload and require-match.
642
c4cf6d91
IA
6432012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
644
645 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
646 (ibuffer-filter-by-derived-mode): New filter.
647 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
648
7511ded8
CY
6492012-04-23 Andreas Politz <politza@fh-trier.de>
650
651 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
652
775c916b
CY
6532012-04-23 Chong Yidong <cyd@gnu.org>
654
655 * cus-edit.el (customize-apropos, customize-apropos-options):
656 Disable matching of non-option variables (Bug#11176).
657 (customize-option, customize-option-other-window)
658 (customize-changed-options): Doc fix.
659 (customize-apropos-options, customize-apropos-faces)
660 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
661
662 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 663 Fix word list splitting (Bug#11132).
46c71e23
CY
664 (apropos-symbol, apropos-keybinding, apropos-label)
665 (apropos-property, apropos-function-button)
666 (apropos-variable-button, apropos-misc-button): New faces.
667 (apropos-symbol-face, apropos-keybinding-face)
668 (apropos-label-face, apropos-property-face, apropos-match-face):
669 Variables removed (Bug#8396).
670 (apropos-library-button, apropos-format-plist, apropos-print)
671 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 672
2df41f9c
MA
6732012-04-23 Michael Albinus <michael.albinus@gmx.de>
674
675 * net/xesam.el (xesam-mode-map): Use let-bound map in
676 initialization. (Bug#11292)
677
da00640a
AM
6782012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
679
680 Preserve ispell session localwords when switching back to
681 original buffer.
682
683 * ispell.el (ispell-buffer-session-localwords): New buffer-local
684 variable to hold buffer session localwords.
685 (ispell-kill-ispell): add option 'clear to delete session
686 localwords.
687 (ispell-command-loop, ispell-change-dictionary)
688 (ispell-buffer-local-words): Preserve session localwords when
689 needed.
690
691 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
692 Preserve session localwords when needed.
693
f621ccf5
AM
6942012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
695
696 * ispell.el (ispell-insert-word) Remove unneeded function using
697 obsolete `translation-table-for-input'.
ef24141c
SM
698 (ispell-word, ispell-process-line, ispell-complete-word):
699 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 700
c2d1019e
CY
7012012-04-22 Chong Yidong <cyd@gnu.org>
702
703 * cus-edit.el (custom-variable-menu)
704 (custom-variable-reset-saved, custom-face-menu)
705 (custom-face-reset-saved): If there is no saved value, make the
706 "reset-saved" operation bring back the default (Bug#9509).
707 (custom-face-state): Properly detect themed faces.
708
eeddc531
CY
709 * faces.el (face-spec-set): Stop supporting deprecated form of
710 third arg.
711
dcbf5805
MA
7122012-04-22 Michael Albinus <michael.albinus@gmx.de>
713
714 Move functions from C to Lisp. Make non-blocking method calls
715 the default. Implement further D-Bus standard interfaces.
716
ef24141c
SM
717 * net/dbus.el (dbus-message-internal): Declare function.
718 Remove unneeded function declarations.
dcbf5805
MA
719 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
720 (dbus-message-type-method-return, dbus-message-type-error)
721 (dbus-message-type-signal): Declare variables. Remove local
722 definitions.
723 (dbus-interface-dbus, dbus-interface-peer)
724 (dbus-interface-introspectable, dbus-interface-properties)
725 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
726 Adapt docstring.
727 (dbus-interface-objectmanager): New defconst.
728 (dbus-call-method, dbus-call-method-asynchronously)
729 (dbus-send-signal, dbus-method-return-internal)
730 (dbus-method-error-internal, dbus-register-service)
731 (dbus-register-signal, dbus-register-method): New defuns, moved
732 from dbusbind.c
733 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
734 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
735 New defuns.
dcbf5805
MA
736 (dbus-call-method-non-blocking): Make it an obsolete function.
737 (dbus-unregister-object, dbus-unregister-service)
738 (dbus-handle-event, dbus-register-property)
739 (dbus-property-handler): Obey the new structure of
740 `bus-registered-objects'.
741 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
742 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
743 Use `dbus-call-method'.
744
cf20dee0
CY
7452012-04-22 Chong Yidong <cyd@gnu.org>
746
747 * cus-edit.el (custom-commands, custom-reset-menu)
748 (Custom-reset-standard): Tweak labels.
749 (custom-reset-button-menu): Change default to t.
750 (custom-buffer-create-internal): For the custom-reset-button-menu
751 case, put the revert button first.
752 (custom-group-subtitle): New face.
753 (custom-group-value-create): Align docstring to a specific column.
754
755 * wid-edit.el (widget-documentation-link-add): Don't handle
756 indentation in this function.
757 (widget-documentation-string-indent-to): New function.
758 (widget-documentation-string-value-create): Use it.
759
760 * autorevert.el (auto-revert):
761 * epg-config.el (epg):
762 * ibuffer.el (ibuffer):
763 * mpc.el (mpc):
764 * ses.el (ses):
765 * eshell/eshell.el (eshell):
766 * net/ange-ftp.el (ange-ftp):
767 * progmodes/ebnf2ps.el (postscript):
768 * progmodes/flymake.el (flymake):
769 * progmodes/prolog.el (prolog):
770 * progmodes/verilog-mode.el (verilog-mode):
771 * progmodes/which-func.el (which-func):
772 * term/xterm.el (xterm):
773 * textmodes/picture.el (picture):
774 * textmodes/tildify.el (tildify):
775 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
776 customization buffers.
777
583e23bd
AM
7782012-04-22 Alan Mackenzie <acm@muc.de>
779
780 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
781 Adding a ) can hide the resulting (..) from searches. Fix it.
782 Bound the backward search to the position of the existing (.
783
7dd51bf1
JB
7842012-04-21 Juanma Barranquero <lekktu@gmail.com>
785
786 * progmodes/verilog-mode.el (verilog-mode): Check whether
787 which-func-modes is t before adding verilog-mode.
788 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
789
d64a438f
LL
7902012-04-21 Leo Liu <sdl.web@gmail.com>
791
7dd51bf1 792 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 793
081e8d65
MV
7942012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
795
796 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
797 filling of the last column of a table (Bug#5635).
798 (woman-find-next-control-line): New arg, specifying an additional
799 regexp component for the control line.
800 (woman2-roff-buffer): Use it.
801 (woman-break-table): New function.
802 (woman2-TS): Use it.
803
8042012-04-21 Chong Yidong <cyd@gnu.org>
805
806 * woman.el (woman-set-buffer-display-table, woman-decode-region)
807 (woman-horizontal-escapes, woman-negative-vertical-space)
808 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
809 (WoMan-warn-ignored): Use ?\s instead of ?\ .
810
ed571ccb
SM
8112012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * minibuffer.el (completion-file-name-table): Complete user names.
814
39773899
LL
8152012-04-20 Leo Liu <sdl.web@gmail.com>
816
817 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
818 and pcase-let*.
819
de6ff46d
CY
8202012-04-20 Chong Yidong <cyd@gnu.org>
821
822 * server.el (server-execute): Respect initial-buffer-choice if it
823 is a string and there are no files to open (Bug#2825).
824 (server-create-window-system-frame, server-create-tty-frame):
825 Don't switch buffers here.
2d0e8e61
CY
826 (server-process-filter): Only try to open a window system frame if
827 compiled with graphical support (Bug#8314).
de6ff46d 828
54071013
DN
8292012-04-20 Dan Nicolaescu <dann@gnu.org>
830
831 * battery.el (battery-echo-area-format): Display remaining time
832 for sysfs backend too (Bug#11269).
833 (battery-linux-sysfs): Fix conditional for the charge.
834
f30d612a
CY
8352012-04-20 Chong Yidong <cyd@gnu.org>
836
c07a4c0b 837 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
838 (gdb-inferior-io--init-proc): New function.
839 (gdb-init-1): Use it.
840 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
841 responsible for allocating a new pty and hooking it to gdb when
842 the old pty gets an EIO due to process exit.
843 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
844 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
845 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
846
2116e93c
EZ
8472012-04-20 Eli Zaretskii <eliz@gnu.org>
848
849 * window.el (window-min-size, window-sizable, window-min-delta)
850 (window-max-delta, window--resizable, window-resizable)
851 (window-total-size, window-full-height-p, window-full-width-p)
852 (window-in-direction, window--resize-mini-window, window-resize)
853 (window--resize-child-windows-normal)
854 (window--resize-child-windows, window--resize-siblings)
855 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 856 (enlarge-window, shrink-window): Doc fixes.
2116e93c 857
c07a4c0b 8582012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 859
ef24141c
SM
860 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
861 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
862 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
863 pty process (Bug#11273).
864 (gdb-update): New arg to suppress talking to the gdb process.
865 (gdb-done-or-error): Use it.
866 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
867 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
868 sentinel not being called.
869
870 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
871
d02766ab
CY
872 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
873
c07a4c0b 8742012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
875
876 * net/network-stream.el (open-network-stream): Doc fix.
877
c07a4c0b 8782012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
879
880 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
881
c07a4c0b 8822012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
883
884 Ensure searching for keywords is case sensitive.
885
886 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
887 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
888 (c-defun-name, c-mark-function, c-cpp-define-name)
889 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 890 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 891
ef24141c
SM
892 * progmodes/cc-mode.el (c-font-lock-fontify-region):
893 Bind case-fold-search to nil.
f0f6bc35 894
c07a4c0b 8952012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
896
897 * mail/sendmail.el (mail-bury): Call return action with the right
898 Rmail buffer (Bug#11242).
899
9a864fa2
CY
900 * server.el (server-process-filter): Handle corner case where both
901 tty and nowait options are present (Bug#11102).
902
539aa513
EZ
9032012-04-20 Eli Zaretskii <eliz@gnu.org>
904
905 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
906 (top level): Put into the executable the ident-style '$Id:' tag on
907 windows-nt as well.
539aa513 908
cfc7d5da
SM
9092012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
910
911 * electric.el (electric-indent-post-self-insert-function): Check that
912 electric-indent-mode is enabled in current buffer.
913
5b01685c
JB
9142012-04-19 Juanma Barranquero <lekktu@gmail.com>
915
916 * imenu.el (imenu-progress-message): Restore; it is "used" in
917 erc/erc-imenu.el and net/snmp-mode.el.
918
4d6769e1
JB
9192012-04-19 Juanma Barranquero <lekktu@gmail.com>
920
921 * avoid.el (mouse-avoidance-mode): Mark unused arg.
922 (mouse-avoidance-nudge-mouse): Remove unused binding.
923
924 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
925
926 * descr-text.el (describe-char):
927 * progmodes/python.el (python-describe-symbol):
928 Don't call `toggle-read-only', set `buffer-read-only'.
929
930 * imenu.el (imenu-default-goto-function): Mark unused args.
931 (imenu-progress-message): Remove obsolete macro; all callers changed.
932
933 * subr.el (keymap-canonicalize): Remove unused binding.
934 (read-passwd): Mark unused arg.
935
936 * tutorial.el (tutorial--display-changes): Remove unused binding.
937 (tutorial--save-tutorial-to): Remove unused variable.
938
939 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
940 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
941 (package-generate-autoloads, package-menu--generate)
942 (package-menu--find-upgrades): Remove unused bindings.
943
944 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
945 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
946 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
947 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
948 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
949 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
950 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
951 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
952 (cua-delete-char-rectangle): Mark unused args.
953 (cua-align-rectangle): Remove unused binding.
954
955 * mail/rmail.el (compilation--message->loc)
956 (epa--find-coding-system-for-mime-charset): Declare.
957
958 * net/dbus.el (dbus-register-service): Declare.
959 (dbus-name-owner-changed-handler): Remove unused binding.
960
961 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
962 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
963 (nxml-scan-backward-within): Mark unused arg.
964 (nxml-dynamic-markup-word): Remove unused binding.
965
966 * mouse.el (mouse-menu-major-mode-map):
967 * emacs-lisp/authors.el (authors-scan-change-log)
968 (authors-add-to-author-list):
969 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
970 * emacs-lisp/smie.el (smie-auto-fill):
971 * mail/sendmail.el (mail-bury):
972 * mail/unrmail.el (unrmail):
973 * net/tls.el (open-tls-stream):
974 * textmodes/picture.el (picture-mouse-set-point):
975 Remove unused bindings.
976
8c8fc5df
MA
9772012-04-19 Michael Albinus <michael.albinus@gmx.de>
978
979 * net/tramp.el (tramp-action-password): Let-bind
980 `enable-recursive-minibuffers' to t.
981
a77b0ac9
SS
9822012-04-18 Sam Steingold <sds@gnu.org>
983
984 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
985 instead of 'string to accommodate values like [f11].
986 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
987 * progmodes/gdb-mi.el: Likewise.
988
12a106a9
LL
9892012-04-18 Leo Liu <sdl.web@gmail.com>
990
991 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
992 current buffer.
993 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
994 LOCAL is nil.
995
bc6494ef
CY
9962012-04-18 Chong Yidong <cyd@gnu.org>
997
998 * simple.el (line-move): Use forward-line if in batch mode
999 (Bug#11053).
1000
c09c46b2
CS
10012012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1002
1003 * files.el (after-find-file): Do not try to add a final newline if
1004 the buffer is read-only (Bug#11156).
1005
5f6530ea
RS
10062012-04-17 Richard Stallman <rms@gnu.org>
1007
1008 * mail/rmail.el (rmail-start-mail):
1009 Pass (rmail-mail-return...) for the return-action.
1010 Pass (rmail-yank-current-message...) for the yank-action.
1011 (rmail-yank-current-message): New function.
1012 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1013 (rmail-reply): Likewise.
1014 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1015
1016 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1017 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1018 buffer, not newbuf.
1019
197b6f3c
JB
10202012-04-17 Juanma Barranquero <lekktu@gmail.com>
1021
1022 * server.el (server-ensure-safe-dir): Simplify.
1023
2311d8e5 10242012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1025
2311d8e5
GM
1026 * emacs-lisp/smie.el: Provide smarter auto-filling.
1027 (smie-auto-fill): New function.
1028 (smie-setup): Use it.
98fb480e 1029
2311d8e5
GM
1030 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1031
10322012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1033
1034 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1035 (comment-indent): Use it.
1036
2311d8e5 10372012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1038
1039 * ses.el: The overall change is to add cell renaming, that is
1040 setting fancy names for cell symbols other than name matching
1041 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1042 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1043 (ses-create-cell-variable): New defun.
2311d8e5 1044 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1045 (ses-relocate-formula): Relocate formulas only for cells the
1046 symbols of which are not renamed, i.e. symbols whose names do not
1047 match regexp "\\`[A-Z]+[0-9]+\\'".
1048 (ses-relocate-all): Relocate values only for cells the symbols of
1049 which are not renamed.
1050 (ses-load): Create cells variables as the (ses-cell ...) are read,
1051 in order to check row col consistency with cell symbol name only
1052 for cells that are not renamed.
1053 (ses-replace-name-in-formula): New defun.
1054 (ses-rename-cell): New defun.
4bdf2ad2 1055
fc72b15c
PO
10562012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1057
1058 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1059 New option (bug#11118).
1060 (perl-calculate-indent): Respect it.
1061
12e10e61
GM
10622012-04-17 Glenn Morris <rgm@gnu.org>
1063
1064 * dired-aux.el (dired-mark-read-string): Doc fix.
1065
30009afd
DA
10662012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1067
1068 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1069 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1070
41f03f4d
GM
10712012-04-17 Glenn Morris <rgm@gnu.org>
1072
1073 * mouse.el (mouse-drag-track):
1074 * speedbar.el (speedbar-frame-mode):
1075 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1076
f45f90f3
LL
10772012-04-16 Leo Liu <sdl.web@gmail.com>
1078
1079 * progmodes/python.el: Trivial cleanup.
1080
94ee8db5
GM
10812012-04-16 Glenn Morris <rgm@gnu.org>
1082
121b8917
GM
1083 * vc/vc.el (vc-string-prefix-p):
1084 * vc/pcvs-util.el (cvs-string-prefix-p):
1085 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1086 * mpc.el (mpc-string-prefix-p):
1087 Make all of these into obsolete aliases for string-prefix-p.
1088 Update callers.
1089 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1090
1197ecfa
GM
1091 * textmodes/two-column.el: Move custom options to the start.
1092 (frame-width): Remove compat definition.
1093 (2C-associate-buffer, 2C-dissociate):
1094 Use with-current-buffer rather than save-excursion.
1095 (2C-dissociate): Force a mode-line update.
1096 (2C-autoscroll): Use ignore-errors.
1097
099e7202
GM
1098 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1099 Autoload trivia.
1100
bf350d6a
GM
1101 * emacs-lisp/cl-extra.el (*random-state*):
1102 Remove unnecessary declaration.
1103
0e829eab
GM
1104 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1105
e3ad7552
GM
1106 * play/cookie1.el (cookie-snarf):
1107 Give an explicit error if input file cannot be read.
1108
68892d27
GM
1109 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1110
20f0c46d
GM
1111 * progmodes/perl-mode.el (c-macro-expand):
1112 Remove unnecessary autoload (it is in loaddefs.el).
1113
5a0978ce
GM
1114 * textmodes/picture.el (picture-desired-column)
1115 (picture-update-desired-column): Convert comments to doc-strings.
1116 (picture-substitute): Remove function.
1117 (picture-mode-map): Initialize in the defvar.
1118
6b955486
GM
1119 * woman.el: Remove eval-after-load for tar-mode.
1120 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1121 (woman-tar-extract-file): Autoload it.
1122
94ee8db5
GM
1123 * frame.el (automatic-hscrolling): Make this alias obsolete.
1124
177eca34
AM
11252012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1126
1127 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1128 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1129 (ispell-dictionary-base-alist): Revert to original XEmacs
1130 friendly version for default. [:alpha:] will be added in
1131 `ispell-set-spellchecker-params' if needed
177eca34 1132
c505aaeb
CY
11332012-04-16 Chong Yidong <cyd@gnu.org>
1134
1135 * image.el (imagemagick--extension-regexp): New variable.
1136 (imagemagick-register-types): Use it.
1137 (imagemagick-types-inhibit): Add :set function. Allow new value
1138 of t to inhibit all types.
1139
1140 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1141 so we can preload it.
1142
1143 * loadup.el (fboundp): Preload regexp-opt, needed by
1144 imagemagick-register-types.
1145
60efac0f
CY
11462012-04-15 Chong Yidong <cyd@gnu.org>
1147
1148 * frame.el (scrolling): Remove nearly unused customization group.
1149
1150 * scroll-all.el (scroll-all-mode): Move to windows group.
1151
5dd1713e
CY
11522012-04-15 Chong Yidong <cyd@gnu.org>
1153
1154 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1155
e6fd457e
CY
11562012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1159 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1160
e153c136
GM
11612012-04-15 Glenn Morris <rgm@gnu.org>
1162
1163 * simple.el (process-file-side-effects): Doc fix.
1164
e6fd457e 11652012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1166
1167 * international/mule-cmds.el (set-language-environment): Doc fix.
1168
3603c3b1
JB
11692012-04-14 Juanma Barranquero <lekktu@gmail.com>
1170
1171 * server.el (server-auth-key, server-generate-key): Doc fixes.
1172 (server-get-auth-key): Doc fix. Use `string-match-p'.
1173 (server-start): Reflow docstring.
1174
e6de100c
LI
11752012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1176
1177 * server.el (server-generate-key): `called-interactively-p'
1178 requires a parameter.
1179
29734c21
MN
11802012-04-14 Michal Nazarewicz <mina86@mina86.com>
1181
1182 * server.el (server-auth-key): New variable.
75f1671a 1183 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1184 (server-start): Use the new variable and functions to allow
1185 setting a permanent server key (bug#9423).
1186
d65c9521
LL
11872012-04-14 Leo Liu <sdl.web@gmail.com>
1188
1189 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1190
5ae255c7
PE
11912012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1192
1193 Spelling fixes.
1194 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1195 Emacs uses American spelling.
1196
d5e6342e
JB
11972012-04-14 Juanma Barranquero <lekktu@gmail.com>
1198
1199 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1200 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1201 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1202 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1203
ab036cd7
SM
12042012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1205
1206 * progmodes/which-func.el (which-func-modes): Change default.
1207
35dc09a1 12082012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1209
1210 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1211 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1212
35dc09a1 12132012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1214
1215 * custom.el (custom-theme-set-variables): Doc fix.
1216
35dc09a1 12172012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1218
1219 * international/mule.el (set-auto-coding-for-load): Doc fix.
1220
35dc09a1 12212012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1222
35dc09a1
GM
1223 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1224 imenu work again for Objective C Mode. Correct the *-index values,
1225 these having been disturbed by a previous change in 2011-08.
57f845ee 1226
0de3da9f
AM
1227 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1228 Correct two search limits.
1229
35dc09a1 12302012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1231
1232 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1233
35dc09a1 12342012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1235
1236 * international/characters.el: Fix sorting.
1237
35dc09a1 12382012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1239
1240 * international/characters.el: Add more missing Latin case pairs.
1241
35dc09a1 12422012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1243
1244 * files.el (dir-locals-set-class-variables): Doc fix.
1245
35dc09a1 12462012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1247
3f1b5bf8
EZ
1248 * international/characters.el: Add set-case-syntax-pair call for
1249 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1250 counterpart. (Bug#11209)
1251
9f847f41
EZ
1252 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1253
35dc09a1 12542012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1255
1256 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1257
35dc09a1 12582012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1259
35dc09a1
GM
1260 * textmodes/ispell.el (ispell-dictionary-base-alist):
1261 Add data for Hebrew.
e2627d21 1262
35dc09a1 12632012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1264
35dc09a1
GM
1265 * net/rcirc.el (rcirc-cmd-quit):
1266 Revert 2012-03-18 change (Bug#11192).
5c14e333 1267
35dc09a1 12682012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1269
1270 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1271
35dc09a1 12722012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1273
4517fe3a
SM
1274 * minibuffer.el (completion-in-region-mode-map):
1275 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1276
b472a594
VD
12772012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1278
1279 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1280
09b95ce3
MY
12812012-04-13 Masatake YAMATO <yamato@redhat.com>
1282
1283 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1284 to allow `C-M-f' and `C-M-b' to move to the nearest path
1285 separator (bug#9511).
1286
4b63a9ca
LI
12872012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1288
1289 * avoid.el: Require cl when compiling. And also move the
1290 `provide' to the end.
1291
7b55b8bf
TV
12922012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1293
1294 * avoid.el (mouse-avoidance-banish-position): New variable.
1295 (mouse-avoidance-banish-destination): Use it (bug#10165).
1296
adedaa1f
LL
12972012-04-13 Leo Liu <sdl.web@gmail.com>
1298
1299 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1300
70e74021
KB
13012012-04-13 Ken Brown <kbrown@cornell.edu>
1302
1303 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1304 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1305 (browse-url-filename-alist): For the same reason, don't modify
1306 file:// URLs on Cygwin.
1307
e75e89ba
SM
13082012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1311 the region on shift if the binding is already shifted (bug#11221).
1312
82f289a4
GM
13132012-04-12 Glenn Morris <rgm@gnu.org>
1314
1315 * mail/mailpost.el: Move to obsolete/.
1316
d333dc4c
DA
13172012-04-12 Drew Adams <drew.adams@oracle.com>
1318
1319 * imenu.el (imenu--generic-function): Ignore invisible definitions
1320 (bug#10123).
1321
0d15b5ba
VD
13222012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1323
1324 * hexl.el (hexl-bits): New variable.
1325 (hexl-options): Mention the variable in the doc string.
75f1671a 1326 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1327 (hexl-mode): Mention the new variable.
75f1671a
JB
1328 (hexl-mode, hexl-current-address, hexl-current-address):
1329 Use the displen.
0d15b5ba
VD
1330 (hexl-ascii-start-column): New function.
1331 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1332 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1333
64a440db
AM
13342012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1335
1336 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1337 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1338 the encoding, as expected by hunspell.
1339
6decb6c2
SM
13402012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1341
1342 * battery.el (battery--linux-sysfs-regexp): New const.
1343 (battery-status-function): Use it. Remove yeeloong special case.
1344 (battery-yeeloong-sysfs): Remove.
1345 (battery-echo-area-format): Remove yeeloong special case.
1346
088be6fb
SM
13472012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1348
6622e416
SM
1349 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1350 Reported by Noah Friedman.
1351
088be6fb
SM
1352 * subr.el (read-passwd): Use read-string.
1353
b49f886e
LMI
13542012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1355
1356 * vcursor.el (vcursor-move): Increase the priority of the overlay
1357 (bug#9663).
1358
a63067fc
DD
13592012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1360
1361 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1362 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1363
ac3cf14a
WS
13642012-04-11 William Stevenson <yhvh2000@gmail.com>
1365
1366 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1367 define-minor-mode (bug#10760).
1368
c4fc691b 13692012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1370
4d6769e1 1371 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1372 that directories matching `grep-find-ignored-files' won't be
1373 pruned (bug#10351).
1374
af23e2e5
CY
13752012-04-11 Chong Yidong <cyd@gnu.org>
1376
1377 * startup.el (command-line): Remove support for long-obsolete
1378 variable font-lock-face-attributes.
1379
ab7ce8c1
GM
13802012-04-11 Glenn Morris <rgm@gnu.org>
1381
1382 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1383
de8c03dc
SM
13842012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1385
1386 * window.el (window--state-get-1): Obey window-point-insertion-type.
1387
050cc68b
LB
13882012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1389
1390 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1391 to previous function when point is on the first character of a
75f1671a 1392 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1393
a38c310c
GM
13942012-04-11 Glenn Morris <rgm@gnu.org>
1395
effed0c2
GM
1396 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1397 not just file-errors.
1398
a38c310c
GM
1399 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1400 (vc-bzr-sha1): Use internal sha1.
1401
0221e323
SM
14022012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1403
1404 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1405
43956923
SG
14062012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1407
1408 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1409 that start in the middle of the line (bug#10496).
1410
6a8c9eaf
DN
14112012-04-10 Dan Nicolaescu <dann@gnu.org>
1412
1413 * battery.el (battery-linux-proc-acpi): Only one battery is
1414 discharged at a time, but that seems to confuse battery.el when
1415 computing `rate-type' for the battery not being discharged
1416 (bug#10332).
1417
1930bf5d
SM
14182012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1419
2a718f6f
SM
1420 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1421
599430d0
SM
1422 * international/quail.el: Use dolist and simplify.
1423 (quail-define-package, quail-update-keyboard-layout)
1424 (quail-define-rules): Use dolist.
1425 (quail-insert-kbd-layout, quail-get-translation): CSE.
1426
a2754b6c
SM
1427 * tmm.el: Use dolist, remove left over hook.
1428 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1429 Use dolist.
1430 (calendar-load-hook): Don't mess with it.
1431
1930bf5d
SM
1432 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1433 Use derived-mode-p. Run the diff asynchronously.
1434
9f67961c
LMI
14352012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1436
1437 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1438
2a8ce227
JB
14392012-04-10 Juanma Barranquero <lekktu@gmail.com>
1440
1441 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1442 (list-dynamic-libraries--loaded): New function.
1443 (list-dynamic-libraries--refresh): Use it.
1444
8f33b5f8
NW
14452012-04-10 Nathan Weizenbaum <nweiz@google.com>
1446
1930bf5d
SM
1447 * progmodes/python.el (python-fill-paragraph):
1448 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1449 disabled (bug#7018).
1450
b12f0439
L
14512012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1452
1930bf5d 1453 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1454 DOS/MS Windows for the Baltic languages. There are still plenty
1455 of texts written in this encoding/codepage (bug#6519).
b12f0439 1456
57c3bd01
GM
14572012-04-10 Glenn Morris <rgm@gnu.org>
1458
1459 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1460 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1461
6c3eab30
FA
14622012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1463
1930bf5d 1464 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1465 next-line "n" and previous-line "p" in order to make recentf more
1466 consistent with ibuffer, dired or org-mode (bug#9387).
1467
24d78a88
LMI
14682012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1469
bc72b5d9
LMI
1470 * image.el (put-image): Return the overlay created instead of the
1471 optional input string (bug#7834). Note that this may break code
1472 that is (for some reason or other) depending on `put-image'
1473 returning the string.
1474
bd2dba5a
LMI
1475 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1476
74beb59f
LMI
1477 * simple.el (zap-to-char): Allow zapping using input methods
1478 (bug#1580).
1479
24d78a88
LMI
1480 * textmodes/fill.el (fill-region): Leave point and mark where they
1481 were before filling (bug#5399).
1482
263f20cd
GM
14832012-04-09 Glenn Morris <rgm@gnu.org>
1484
1485 * version.el (emacs-bzr-get-version):
1486 Handle lightweight checkouts of local branches.
1487
58d1f797
AS
14882012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1489
263f20cd 1490 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1491
b4d3bc10
CY
14922012-04-09 Chong Yidong <cyd@gnu.org>
1493
1494 * custom.el (custom-variable-p): Return nil for non-symbol
1495 arguments instead of signaling an error.
1496 (user-variable-p): Obsolete alias for custom-variable-p.
1497
1498 * apropos.el (apropos-variable):
1499 * files-x.el (read-file-local-variable):
1500 * simple.el (set-variable):
1501 * woman.el (woman-mini-help):
1502 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1503
fd06db5d
GM
15042012-04-09 Glenn Morris <rgm@gnu.org>
1505
e5fcdb5e
GM
1506 * startup.el (normal-top-level): Don't look for leim-list.el
1507 in places where it will not be found. (Bug#910)
1508
fd06db5d
GM
1509 * international/mule-cmds.el (set-default-coding-systems):
1510 * files.el (normal-mode):
1511 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1512 This function was removed with ucs-tables.el in 2008.
1513
b39bb7e1
EZ
15142012-04-08 Eli Zaretskii <eliz@gnu.org>
1515
1516 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1517 ispell-encoding8-command to "-i", without a trailing space.
1518 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1519 separate command-line arguments, to specify the encoding, since
1520 that's how hunspell expects it.
1521
5c5b8e23
GM
15222012-04-08 Glenn Morris <rgm@gnu.org>
1523
1524 * loadup.el: Load bindings before cus-start.
1525 This reduces somewhat the number of "rogue" settings in emacs -Q.
1526
a1ed8b05
GM
15272012-04-07 Glenn Morris <rgm@gnu.org>
1528
1529 * version.el (emacs-bzr-get-version): New function.
dfae128a 1530 (emacs-bzr-version): New variable.
a1ed8b05
GM
1531 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1532 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1533
b142f158
EZ
15342012-04-07 Eli Zaretskii <eliz@gnu.org>
1535
dfae128a
GM
1536 * international/uni-bidi.el, international/uni-category.el:
1537 * international/uni-combining.el, international/uni-decimal.el:
1538 * international/uni-decomposition.el, international/uni-digit.el:
1539 * international/uni-lowercase.el, international/uni-mirrored.el:
1540 * international/uni-name.el, international/uni-numeric.el:
1541 * international/uni-titlecase.el, international/uni-uppercase.el:
1542 Update for Unicode 6.1.
b142f158 1543
9078ead6
EZ
15442012-04-07 Eli Zaretskii <eliz@gnu.org>
1545
1546 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1547
f23d2c7d
LMI
15482012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1549
1550 * window.el (shrink-window): Mention the `window-min-height'
1551 variable in the doc string.
1552
0a0a3573
BG
15532012-04-05 Bastien Guerry <bzg@altern.org>
1554
1555 * color.el (color-lighten-name): Fix typo.
1556
e5248ac9
SM
15572012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1558
1559 * server.el (server--on-display-p): New function.
1560 (server--on-display-p): Use it.
1561
b4243e22
GV
15622012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1563
1564 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1565 (bug#11145).
1566
305d9f44
SM
15672012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * comint.el (comint--common-quoted-suffix): Check string boundary
1570 before comparing (bug#11158).
1571 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1572
3d439cd1
CY
15732012-04-04 Chong Yidong <cyd@gnu.org>
1574
321cc491
CY
1575 * minibuffer.el (completion-extra-properties): Doc fix.
1576
3d439cd1
CY
1577 * subr.el (delayed-warnings-hook): Doc fix.
1578
2d562c0f
DU
15792012-04-04 Daiki Ueno <ueno@unixuser.org>
1580
1581 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1582 selection (Bug#11159).
1583 (epa-insert-keys): Inform that the default public key will be
1584 exported if no key is selected.
1585
4443f204
RS
15862012-04-04 Richard Stallman <rms@gnu.org>
1587
1588 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1589
529c06b6
CY
15902012-04-03 Chong Yidong <cyd@gnu.org>
1591
1592 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1593 mail-insert-file, not its obsolete alias mail-attach-file.
1594
66b907dc
MA
15952012-04-03 Michael Albinus <michael.albinus@gmx.de>
1596
1597 * notifications.el (notifications-notify): Fix docstring.
1598
c0ea195d
GM
15992012-04-02 Glenn Morris <rgm@gnu.org>
1600
1601 * emacs-lisp/authors.el (authors-aliases): Another addition.
1602
5ca64e00
MA
16032012-04-02 Michael Albinus <michael.albinus@gmx.de>
1604
1605 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1606 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1607 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1608
42ee526b
CY
16092012-04-01 Chong Yidong <cyd@gnu.org>
1610
1611 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1612 Handle root directory properly.
1613 (copy-directory): Caller changed.
1614
1615 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1616 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1617
0b021094
GM
16182012-03-31 Glenn Morris <rgm@gnu.org>
1619
40f86458
GM
1620 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1621
7019c177
GM
1622 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1623
a1daddd6
GM
1624 * calendar/calendar.el (calendar-window-list)
1625 (calendar-hide-window): Restore. (Bug#11140)
1626 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1627
0b021094
GM
1628 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1629
40311efc
TV
16302012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1631
1632 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1633 Check if file is a symlink (Bug#10489).
1634
1635 * files.el (copy-directory): Likewise.
1636
5319014e
CY
16372012-03-30 Chong Yidong <cyd@gnu.org>
1638
1639 * image.el (imagemagick-types-inhibit)
1640 (imagemagick-register-types): Doc fix.
1641
935d1290
AM
16422012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1643
ef24141c
SM
1644 * ispell.el (ispell-get-extended-character-mode):
1645 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1646 and treats ~word as ordinary words in pipe mode.
935d1290 1647
61c6e8fd
GM
16482012-03-30 Glenn Morris <rgm@gnu.org>
1649
1650 * tutorial.el (help-with-tutorial): Ensure local variables don't
1651 happen to make the buffer read-only. (Bug#11127)
1652
81fdff00
SM
16532012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1654
1655 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1656 (perl-calculate-indent): Return `noindent' in strings.
1657
6e7a6ec0
SS
16582012-03-28 Sam Steingold <sds@gnu.org>
1659
1660 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1661 instead of the broken adhockery which does not prevent calendar
1662 buffers from being displayed at random after exit.
1663 (calendar-window-list, calendar-hide-window): Remove the broken
1664 adhockery.
1665
fee88ca0
GM
16662012-03-28 Glenn Morris <rgm@gnu.org>
1667
1668 * replace.el (query-replace-map): Doc fix.
1669
38de3354
AS
16702012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1671
1672 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1673 contents. (Bug#11109)
1674
b973155e
SM
16752012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1678 (bug#11077).
1679 (avl-tree--check, avl-tree--check-node): New funs.
1680
dcb6e7b3
MR
16812012-03-27 Martin Rudalics <rudalics@gmx.at>
1682
1683 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1684 (switch-to-prev-buffer, switch-to-next-buffer):
1685 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1686 showing a buffer already is done on the same frame.
1687
b4fa35fa
GM
16882012-03-27 Glenn Morris <rgm@gnu.org>
1689
1690 * startup.el (mail-host-address): Doc fix.
1691
f9210e18
SM
16922012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1693
1694 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1695 than 197 variables.
1696
c0bf7753
AF
16972012-03-26 Ami Fischman <ami@fischman.org>
1698
1699 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1700
33da7b16
GM
17012012-03-26 Glenn Morris <rgm@gnu.org>
1702
02243d9d
GM
1703 * files.el (save-buffers-kill-emacs): Doc fix.
1704
33da7b16
GM
1705 * startup.el (normal-top-level, command-line, command-line-1):
1706 Give them doc strings.
1707
e5a69fd0
EZ
17082012-03-25 Eli Zaretskii <eliz@gnu.org>
1709
1710 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1711 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1712
9a69676a
CY
17132012-03-25 Chong Yidong <cyd@gnu.org>
1714
4125cb8b
CY
1715 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1716 theme if it was previously enabled before (Bug#11031).
1717
dd470960
CY
1718 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1719 spec with custom-face-get-current-spec if its :shown-value is not
1720 determined yet (Bug#9337).
4125cb8b 1721 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1722
9a69676a
CY
1723 * button.el (button-at): Minor addition to docstring.
1724
6e7e90fa
SL
17252012-03-24 Simon Leinen <simon.leinen@gmail.com>
1726
1727 * vc/vc.el (vc-merge): Fix a prompt.
1728
f06e2758
CY
17292012-03-24 Chong Yidong <cyd@gnu.org>
1730
1731 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1732 point (Bug#9623).
1733
6e7e90fa
SL
1734 * button.el (button-at): Minor addition to docstring.
1735
b9d0879b
SM
17362012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1737
1738 * newcomment.el (comment-choose-indent): No space after BOL.
1739
e71cebb3
SS
17402012-03-22 Sam Steingold <sds@gnu.org>
1741
1742 * window.el (switch-to-prev-buffer): Revert last patch because the
1743 bug turned out to be an advertised feature (Elisp manual 28.14).
1744
335aff35
GM
17452012-03-22 Glenn Morris <rgm@gnu.org>
1746
1747 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1748 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1749
c676576a
LMI
17502012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1751
1752 * net/network-stream.el (network-stream-open-starttls): Make error
1753 message under Windows be less misleading.
1754
126f3d39
LW
17552012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1756
1757 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1758 understands (bug#9942).
1759
64fee311
CY
17602012-03-22 Chong Yidong <cyd@gnu.org>
1761
1762 * simple.el (end-of-visible-line): Handle return value of
1763 next-single-property-change properly (Bug#9371).
1764
a640d29a
KH
17652012-03-22 Kenichi Handa <handa@m17n.org>
1766
1767 * international/quail.el (quail-insert-kbd-layout): Fix previous
1768 change. To avoid unwanted bidi reordering, use
1769 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1770
39675016
DG
17712012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1772
1773 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1774 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1775 (ruby-beginning-of-indent): Be more careful with the difference
1776 between word-boundary and symbol boundary.
1777 (ruby-mode-syntax-table): Make : a symbol constituent.
1778
0a6934fc 17792012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1780
3d008e4f
SM
1781 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1782
0a6934fc
SM
17832012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1784
af67c9d7
SM
1785 * progmodes/etags.el (tags-completion-at-point-function):
1786 Improve last fix.
1787
1acad97c
SM
1788 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1789
e298b5da
SS
17902012-03-21 Sam Steingold <sds@gnu.org>
1791
1792 * progmodes/etags.el (tags-completion-at-point-function):
1793 Avoid the error when point is inside the pattern.
1794
91d82a70
JY
17952012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1796
1797 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1798 line (Bug#10855).
1799
69188b79
CY
18002012-03-21 Drew Adams <drew.adams@oracle.com>
1801
1802 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1803
99fc91fe
AK
18042012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1805
1806 * ido.el (ido-set-current-directory, ido-read-internal)
1807 (ido-choose-completion-string, ido-completion-help): Handle nil
1808 value of ido-completion-buffer (Bug#11008).
1809
087bbb4c
SS
18102012-03-21 Sam Steingold <sds@gnu.org>
1811
1812 * window.el (switch-to-prev-buffer): Do not switch to a visible
1813 window previous buffer, just like with the frame previous buffers.
1814
fb5b8aca
CY
18152012-03-21 Chong Yidong <cyd@gnu.org>
1816
1817 * faces.el (make-face, make-empty-face, copy-face):
1818 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1819 Doc fixes.
1820
dc9924b8
SM
18212012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1822
1823 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1824 (widget-complete): Remove broken use of it.
1825
f0bcceb9
CY
18262012-03-20 Chong Yidong <cyd@gnu.org>
1827
dc9924b8
SM
1828 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1829 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1830 characters.
1831
ee52ebf3
TH
18322012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1833
1834 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1835 to draw rectangles, not squares. (Regression introduced by revno
1836 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1837
4c5779ab
CY
18382012-03-18 Chong Yidong <cyd@gnu.org>
1839
1840 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1841 it is not yet defined (for temacs).
1842
15360934
LL
18432012-03-18 Leo Liu <sdl.web@gmail.com>
1844
dc9924b8 1845 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1846
d9a8eb66
EZ
18472012-03-17 Eli Zaretskii <eliz@gnu.org>
1848
1849 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1850 (ispell-choices-win-default-height, ispell-silently-savep)
1851 (ispell-dictionary-alist, ispell-encoding8-command)
1852 (ispell-check-version, ispell-aspell-find-dictionary)
1853 (ispell-valid-dictionary-list, ispell-words-keyword)
1854 (ispell-get-word, ispell-internal-change-dictionary)
1855 (ispell-region, ispell-skip-region-list)
1856 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1857 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1858 (ispell-message-text-end, ispell-message)
1859 (ispell-buffer-local-parsing): Doc fix.
1860
f02ff80d
J
18612012-03-13 Jambunathan K <kjambunathan@gmail.com>
1862
1863 * htmlfontify.el: Add support for code block fontification for ODT
1864 export (Bug #9914).
1865 (hfy-optimisations): Define new option
1866 `body-text-only'
1867 (hfy-fontify-buffer): Honor above setting.
1868 (hfy-begin-span, hfy-end-span): New routines factored out form
1869 `hfy-fontify-buffer'.
1870 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1871 that permit insertion of custom tags.
1872 (hfy-fontify-buffer): Use above handlers.
1873 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1874 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1875 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1876 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1877 bind a special variable `hfy-user-sheet-assoc'.
1878 (htmlfontify-string): New defun.
1879 (hfy-compile-face-map): Make sure that the last char in the
1880 buffer is correctly fontified.
1881 (hfy-face-resolve-face): Whitespace only change.
1882
9ac7a13f
EZ
18832012-03-17 Eli Zaretskii <eliz@gnu.org>
1884
1885 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1886 message more clear.
1887
e2b5bdd7
LL
18882012-03-16 Leo Liu <sdl.web@gmail.com>
1889
1890 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1891
2e492df3
AM
18922012-03-16 Alan Mackenzie <acm@muc.de>
1893
1894 Further optimise the handling of large macros.
1895
1896 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1897 limit to a call of `c-literal-limits'.
1898 (c-determine-+ve-limit): New function.
dc9924b8
SM
1899 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1900 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1901 In CASE 5B, restrict a search limit to 500.
1902 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1903
1904 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1905 Restrict macro bounds to +-500 from after-change's BEG END.
1906
50e94f0c
LL
19072012-03-16 Leo Liu <sdl.web@gmail.com>
1908
1909 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1910
6f09f6ed
AH
19112012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1912
1913 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1914 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1915
c7e73d51
GM
19162012-03-16 Glenn Morris <rgm@gnu.org>
1917
da986230
GM
1918 * view.el (view-buffer, view-buffer-other-window)
1919 (view-buffer-other-frame): Doc fixes re special mode-class.
1920
0835f01e
GM
1921 * subr.el (eval-after-load): If named feature is provided not from
1922 a file, run after-load forms. (Bug#10946)
1923
c7e73d51
GM
1924 * calendar/calendar.el (calendar-insert-at-column):
1925 Handle non-unit-width characters a bit better. (Bug#10978)
1926
3f2eafd1
CY
19272012-03-15 Chong Yidong <cyd@gnu.org>
1928
1929 * emacs-lisp/ring.el (ring-extend): New function.
1930 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1931
1932 * comint.el (comint-read-input-ring)
1933 (comint-add-to-input-history): Grow comint-input-ring lazily.
1934
103af3fe
SM
19352012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1936
663b1677
SM
1937 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1938 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1939
103af3fe
SM
1940 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1941 (imenu-add-to-menubar): Don't add a redundant index.
1942 (imenu-update-menubar): Handle a dynamically composed keymap.
1943
899cb7cb
KY
19442012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1945
1946 * mail/sendmail.el (mail-encode-header):
1947 Bind rfc2047-encode-encoded-words to nil.
1948
3809f91d
GM
19492012-03-13 Glenn Morris <rgm@gnu.org>
1950
1951 * calendar/calendar.el (calendar-string-spread):
1952 Handle non-unit-width characters a bit better. (Bug#10978)
1953
9e345a01
LL
19542012-03-13 Leo Liu <sdl.web@gmail.com>
1955
1956 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1957 directory and file as argument (Bug#10822).
1958
4a07df36
KS
19592012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1960
1961 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1962 For dynamically generated code, follow $PC.
1963 (gdb-disassembly-handler-custom): Handle no function name case.
1964
4aaa9356
TL
19652012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1966
1967 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1968 * emulation/ws-mode.el (ws-query-replace):
1969 * sort.el (sort-regexp-fields):
1970 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1971
225979da
SM
19722012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * dabbrev.el: Fix cycle completion order (bug#10963).
1975 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1976 (dabbrev-completion): Don't use an obarray; provide
1977 a cycle-sort-function.
1978
e2f1fdab
LL
19792012-03-12 Leo Liu <sdl.web@gmail.com>
1980
dc9924b8 1981 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1982 (kill-do-not-save-duplicates): Doc fix.
1983
b19490ed
SM
19842012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1985
1986 * dabbrev.el: Fix cycle completion (bug#10963).
1987 Use lexical binding and wrap to 80 columns.
1988 (dabbrev-completion): Delay computing the list of completions.
1989
4b05d722
KH
19902012-03-12 Kenichi Handa <handa@m17n.org>
1991
1992 * international/quail.el (quail-insert-kbd-layout): Surround each
1993 row by LRO and PDF instead of inserting many LRMs. Pad the left
1994 and right of each non-spacing marks. Insert invisible space
1995 between lower and upper characters to prevent composition.
1996
dbbc2e69
SM
19972012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1998
1999 * minibuffer.el (minibuffer-complete): Don't get confused when the
2000 function is run twice via different commands (bug#10958).
2001 (complete-with-action): Fix docstring.
2002
292112ed
CY
20032012-03-12 Chong Yidong <cyd@gnu.org>
2004
5d1ac394
CY
2005 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2006 (nxml-completion-at-point-function): New function.
2007 (nxml-mode): Use it.
2008 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2009
292112ed
CY
2010 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2011 Load generated autoloads file before byte compiling (Bug#10970).
2012 (package--make-autoloads-and-compile): New helper fun.
2013
4098f8f7
CS
20142012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2015
2016 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2017
8f754691
MA
20182012-03-11 Michael Albinus <michael.albinus@gmx.de>
2019
2020 * autorevert.el (auto-revert-handler): Ensure, that
2021 file-readable-p is applied only for local files or in
2022 auto-revert-tail-mode.
2023
e29ab36b
AS
20242012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2025
dbbc2e69
SM
2026 * server.el (server-eval-at): Handle non-tcp connections.
2027 Decode result string.
ad0bf5b6 2028
e29ab36b
AS
2029 * server.el (server-msg-size): New constant.
2030 (server-reply-print): New function.
2031 (server-eval-and-print): Use it.
2032 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2033 Handle -print-nonl.
2034
de5939ba
CS
20352012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2036
2037 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2038 (Bug#10987).
2039
0c93eabf
CY
20402012-03-11 Chong Yidong <cyd@gnu.org>
2041
397a688f
CY
2042 * simple.el (goto-line): Doc fix (Bug#9938).
2043
2cc775f9
CY
2044 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2045
0c93eabf
CY
2046 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2047 when finished (Bug#10963).
2048
c491fa41
MR
20492012-03-11 Martin Rudalics <rudalics@gmx.at>
2050
2051 * window.el (split-window-below): Fix bug in case where
2052 split-window-keep-point is nil (Bug#10971).
2053
300e8fa5
JL
20542012-03-11 Juri Linkov <juri@jurta.org>
2055
2056 * replace.el (replace-highlight): Set isearch-word to nil
2057 unconditionally. (Bug#10887)
2058
dbf6c5a1
EZ
20592012-03-10 Eli Zaretskii <eliz@gnu.org>
2060
2061 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2062 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2063 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2064 (mairix-widget-create-query): Add usage information about mairix
2065 search forms: negating words, searching for substrings, etc.
2066
b9e501de
JP
20672012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2068
2069 * international/fontset.el (font-encoding-alist): Add an entry for
2070 ksx1001 (Bug#5667).
2071
92795c91
RS
20722012-03-10 Richard Stallman <rms@gnu.org>
2073
1694e6c1
RS
2074 * mail/sendmail.el (mail-encode-header):
2075 Set rfc2047-encode-encoded-words.
2076
607e8555
RS
2077 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2078
de3bc99a
RS
2079 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2080 view buffer means not swapped.
2081 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2082 (rmail-write-region-annotate): Error if real text has disappeared.
2083
92795c91
RS
2084 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2085
699bd04e
CY
20862012-03-10 Chong Yidong <cyd@gnu.org>
2087
2088 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2089 * emulation/cua-base.el (cua--init-keymaps):
2090 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2091
570a1714
MR
20922012-03-10 Martin Rudalics <rudalics@gmx.at>
2093
dbbc2e69
SM
2094 * speedbar.el (speedbar-unhighlight-one-tag-line):
2095 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2096
82dcf4e4
CY
20972012-03-10 Chong Yidong <cyd@gnu.org>
2098
7a2c7ca7
CY
2099 * minibuffer.el (completion-in-region, completion-help-at-point):
2100 Give the completion field overlay a high priority (Bug#6830).
2101
82dcf4e4
CY
2102 * dired.el (dired-goto-file): Recognize absolute file name
2103 listings (Bug#7126).
2104 (dired-goto-file-1): New helper function.
2105 (dired-toggle-read-only): Inhibit warnings.
2106
052e28ac
MA
21072012-03-09 Michael Albinus <michael.albinus@gmx.de>
2108
75f1671a 2109 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2110 there are no properties.
2111
95d5e396
LL
21122012-03-09 Leo Liu <sdl.web@gmail.com>
2113
2114 * savehist.el (savehist-printable): Stricter check for string
2115 value (Bug#10937).
2116
3f018d6d
EZ
21172012-03-09 Eli Zaretskii <eliz@gnu.org>
2118
dbbc2e69
SM
2119 * mail/smtpmail.el (smtpmail-send-it):
2120 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2121 valid mbox format.
2122
f7fd3d79
GM
21232012-03-09 Glenn Morris <rgm@gnu.org>
2124
2125 * files.el (dir-locals-find-file):
2126 Don't check result is regular, readable.
2127 (dir-locals-read-from-file): Demote errors.
2128
6ff6e72f
EZ
21292012-03-08 Eli Zaretskii <eliz@gnu.org>
2130
dbbc2e69
SM
2131 * international/quail.el (quail-insert-kbd-layout):
2132 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2133 layout cell, to prevent their reordering by bidi display engine.
2134 For details, see the discussion in
2135 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2136
9cec7834
AM
21372012-03-08 Alan Mackenzie <acm@muc.de>
2138
2139 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2140 the starting position; make it extend the marked region when
2141 invoked repeatedly - all under appropriate circumstances.
2142 Fixes bugs #5525, #10906.
2143
9a40b8d4
GM
21442012-03-08 Glenn Morris <rgm@gnu.org>
2145
2146 * files.el (locate-dominating-file, dir-locals-find-file):
2147 Undo 2012-03-06 change.
2148
7a08ed35
EZ
21492012-03-07 Eli Zaretskii <eliz@gnu.org>
2150
dbbc2e69
SM
2151 * international/quail.el (quail-help):
2152 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2153 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2154 for the reason.
2155
5aca4f71 21562012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2157
2158 Avoid superfluous registering of signals. (Bug#10807)
2159
2160 * notifications.el (notifications-on-action-object)
2161 (notifications-on-close-object): New defvars.
2162 (notifications-on-action-signal, notifications-on-closed-signal):
2163 Unregister the signal if not needed any longer.
2164 (notifications-notify): Register `notifications-action-signal' or
2165 `notifications-closed-signal', if :on-action or :on-close has been
2166 passed as argument.
2167
78e8b10a
CY
21682012-03-07 Chong Yidong <cyd@gnu.org>
2169
2170 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2171 non-X platforms.
2172
69481eb8
GM
21732012-03-06 Glenn Morris <rgm@gnu.org>
2174
2175 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2176 (x-disown-selection-internal, x-get-selection-internal):
2177 Doc fix (add arglist signatures). (Bug#10783)
2178
133b8e11
KS
21792012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2180
2181 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2182 Handle breakpoints with no "type".
2183
99a83064
GM
21842012-03-06 Glenn Morris <rgm@gnu.org>
2185
2186 * files.el (locate-dominating-file): Add optional predicate argument.
2187 (dir-locals-find-file): Make use of above change.
2188
17798e78
TTN
21892012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2190
2191 * info.el (Info-insert-dir): Also try "dir.gz".
2192
eb182446
GM
21932012-03-06 Glenn Morris <rgm@gnu.org>
2194
8f2114ee
GM
2195 * files.el (dir-locals-find-file):
2196 Ignore non-readable or non-regular files. (Bug#10928)
2197
eb182446
GM
2198 * files.el (locate-dominating-file): Doc fix.
2199
24679323
AS
22002012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2201
2202 * calendar/calendar.el (calendar-set-mode-line):
2203 `getenv' returns a string. (Bug#10951)
2204
01d972a9
LL
22052012-03-05 Leo Liu <sdl.web@gmail.com>
2206
109aa8a9
LL
2207 * simple.el (backward-delete-char-untabify): Constrain point to
2208 field (Bug#10939).
2209
01d972a9
LL
2210 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2211
10607bea
CY
22122012-03-05 Chong Yidong <cyd@gnu.org>
2213
2214 * simple.el (count-words): If called from Lisp, return the word
2215 count, for symmetry with `count-lines'. Arglist changed.
2216 (count-words--message): Args changed. Consolidate counting code
2217 from count-words and count-words-region.
2218 (count-words-region): Caller changed.
2219 (count-lines-region): Make it an obsolete alias.
2220
5dd11cfe
TH
22212012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2222
2223 * saveplace.el (save-place-to-alist)
2224 (save-place-ignore-files-regexp): Allow value nil to disable this
2225 feature.
2226
c349f4e6
CY
22272012-03-04 Chong Yidong <cyd@gnu.org>
2228
2229 * faces.el (face-spec-reset-face): For the default face, reset the
2230 attributes to default values (Bug#10748).
2231
e627be4c
LMI
22322012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2233
2234 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2235 previous patch: Check `message-send-mail-function', and not the
2236 default function (bug#10897).
2237
ebeabff4
MA
22382012-03-04 Michael Albinus <michael.albinus@gmx.de>
2239
a41a6cf4
MA
2240 * notifications.el (notifications-on-action-signal)
2241 (notifications-on-closed-signal): Check for unique service name of
2242 incoming event. Fix error in removing entry.
ebeabff4 2243 (top): Register for signals with wildcard service name.
a41a6cf4 2244 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2245
c1ca42b4
CY
22462012-03-04 Chong Yidong <cyd@gnu.org>
2247
dc9924b8 2248 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2249
ea16568d
GM
22502012-03-04 Glenn Morris <rgm@gnu.org>
2251
2252 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2253 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2254 (expand-abbrev, define-abbrev-table): Doc fixes.
2255
fbae4637
LMI
22562012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2257
2258 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2259 `message-default-send-mail-function' and not `send-mail-function'
2260 when doing the prompting for `sendmail-query-once' before sending
2261 in Message buffers (bug#10897).
2262
a1e7225c
LMI
2263 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2264 This is inconsistent with all the other stream functions, which leave
2265 the setting up to the higher levels (if so wanted) (bug#10931).
2266
56d093a9
AM
22672012-03-02 Alan Mackenzie <acm@muc.de>
2268
2269 Depessimize the handling of very large macros.
2270
2271 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2272 (c-macro-cache-syntactic): New variables to implement a one
2273 element macro cache.
2274 (c-invalidate-macro-cache): New function.
2275 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2276 Adapt to use the new cache.
2277 (c-state-safe-place): Use better the cache of safe positions.
2278 (c-state-semi-nonlit-pos-cache)
2279 (c-state-semi-nonlit-pos-cache-limit):
2280 New variables for...
2281 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2282 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2283 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2284 Use c-state-semi-safe-place.
56d093a9 2285
dbbc2e69
SM
2286 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2287 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2288
817e5c3d
MA
22892012-03-02 Michael Albinus <michael.albinus@gmx.de>
2290
dbbc2e69
SM
2291 * jka-compr.el (jka-compr-call-process):
2292 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2293 not remote.
2294
a032a702
MA
22952012-03-01 Michael Albinus <michael.albinus@gmx.de>
2296
2297 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2298 access of FILE2, if FILE1 does not exist.
2299
99a54f21
MA
2300 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2301 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2302
2303 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2304 Add "PAGER=" to `process-environment'.
2305
f6561e1f
MM
23062012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2307
2308 * progmodes/sql.el: Bug fix
2309 (sql-get-login-ext): Save login values in globals.
2310 (sql-get-login): Use new version of `sql-get-login-ext'.
2311 (sql-interactive-mode): Set global `sql-connection' to nil.
2312 (sql-connect): Set global values for connection.
2313 (sql-product-interactive): Save global values as buffer local.
2314
2d44d9cc
LL
23152012-02-29 Leo Liu <sdl.web@gmail.com>
2316
2317 * abbrev.el (define-abbrevs): Reset sys to nil.
2318
96b49301 23192012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2320
bf7f9bc5
JB
2321 * files.el (file-equal-p): Rename from `files-equal-p'.
2322 Return nil when one or both files don't exist.
96b49301 2323 (file-subdir-of-p): Now only top directory must exists,
2324 return nil if it doesn't.
bf7f9bc5
JB
2325 (copy-directory): No need to test with `file-subdir-of-p' after
2326 creating dir.
2327 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2328 to `file-equal-p'.
96b49301 2329
44e97401
GM
23302012-02-28 Glenn Morris <rgm@gnu.org>
2331
2332 * shell.el (shell-mode):
2333 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2334 * play/landmark.el (landmark-font-lock-face-O):
2335 * play/handwrite.el (handwrite):
2336 * play/gomoku.el (gomoku-O):
2337 * net/browse-url.el (browse-url-browser-display):
2338 * international/mule.el (define-charset):
2339 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2340 * filesets.el (filesets-find-file-delay):
2341 * eshell/em-xtra.el (eshell-xtra):
2342 * eshell/em-unix.el (eshell-grep):
2343 * emulation/viper.el (viper-mode):
2344 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2345 * emacs-lisp/easymenu.el (easy-menu-define):
2346 * calendar/timeclock.el (timeclock-use-display-time):
2347 * bs.el (bs-mode):
2348 * bookmark.el (bookmark-save-flag):
2349 Doc fix (standardize possessive apostrophe usage).
2350
c98c6276
CY
23512012-02-27 Chong Yidong <cyd@gnu.org>
2352
bf7f9bc5
JB
2353 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2354 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2355
c98c6276
CY
2356 * font-lock.el (font-lock-specified-p): Rename from
2357 font-lock-spec-present. Callers changed.
2358
9c62cd04 23592012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2360
bf7f9bc5
JB
2361 * emacs-lisp/package.el (package-compute-transaction):
2362 Handle holding a package version to t in package-load-list.
8ac9e529 2363
530739c9
MA
23642012-02-26 Michael Albinus <michael.albinus@gmx.de>
2365
2366 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2367 (tramp-get-inode, tramp-get-device): Use cached values.
2368
487915d7
AM
23692012-02-26 Alan Mackenzie <acm@muc.de>
2370
2371 Check there is a font-lock specification before doing initial
2372 fontification.
2373
2374 * font-core.el (font-lock-mode): Move the conditional from
2375 :after-hook to font-lock-initial-fontify.
2376 (font-lock-default-function): Move the check for a specification
2377 to font-lock-spec-present.
2378
dc9924b8 2379 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2380 (font-lock-spec-present): New function.
2381
4fd96557
JB
23822012-02-26 Jim Blandy <jimb@red-bean.com>
2383
2384 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2385 (gdb-send): Apply it to the operand of the '-interpreter-exec
2386 console' command, so that we can pass arguments with (say) quotes
2387 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2388
9a4888c0
CY
23892012-02-26 Chong Yidong <cyd@gnu.org>
2390
07498861
CY
2391 * help-fns.el (describe-function-1): Clarify description of
2392 remapping (Bug#10844).
2393
9a4888c0
CY
2394 * files.el (files-equal-p): Doc fix.
2395 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2396 and quit the loop once a mismatch is found.
2397
ea8fb88d
JB
23982012-02-25 Juanma Barranquero <lekktu@gmail.com>
2399
2400 * bs.el (bs--show-with-configuration): Don't throw an error
2401 if the window cannot be split; otherwise, subsequent calls to
2402 bs-show fail, restoring a stale window config. (Bug#10882)
2403
525795c1
JD
24042012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2405
2406 * term/ns-win.el (global-map): Bind ns-drag-file to
2407 ns-find-file (Bug#5855, Bug#10050).
2408
f008086f
AS
24092012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2410
2411 * calendar/parse-time.el (parse-time-string): Allow extractor to
2412 return nil.
2413
a3fcfa99
MA
24142012-02-25 Michael Albinus <michael.albinus@gmx.de>
2415
91027d08
JB
2416 * net/tramp.el (tramp-file-name-for-operation):
2417 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2418
2419 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2420 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2421 Add COPY-CONTENTS argument.
a3fcfa99 2422
67b0de11
CY
24232012-02-25 Chong Yidong <cyd@gnu.org>
2424
2425 Add custom groups for VC backends, for consistency with vc-bzr.
2426
2427 * vc/vc-arch.el (vc-arch):
2428 * vc/vc-cvs.el (vc-cvs):
2429 * vc/vc-git.el (vc-git):
2430 * vc/vc-hg.el (vc-hg):
2431 * vc/vc-mtn.el (vc-mtn):
2432 * vc/vc-rcs.el (vc-rcs):
2433 * vc/vc-sccs.el (vc-sccs):
2434 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2435 All relevant defcustoms reassigned.
2436
3c9dfce6
CY
24372012-02-25 Chong Yidong <cyd@gnu.org>
2438
1339bf43
CY
2439 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2440
3c9dfce6
CY
2441 * term/x-win.el (x-initialize-window-system): Reduce default for
2442 x-selection-timeout to 5 seconds (Bug#8869).
2443
25b2e303 24442012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2445
ec70a47d
GM
2446 * files.el (files-equal-p, file-subdir-of-p): New functions.
2447 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2448 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2449 * dired-aux.el (dired-copy-file-recursive): Same.
2450 (dired-create-files): Modify destination when source is equal to
2451 dest when copying files.
53a46cd0 2452 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2453
914260cd
MA
24542012-02-24 Michael Albinus <michael.albinus@gmx.de>
2455
2456 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2457 (Bug#10874)
2458
2cb228f7
AM
24592012-02-23 Alan Mackenzie <acm@muc.de>
2460
2461 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2462 parameter "after-hook:" to allow the expansion to run code after
2463 the execution of the mode hooks.
2464
2465 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2466 from font-lock-mode-internal.
2cb228f7 2467
91027d08 2468 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2469 :after-hook.
2470
8f0fde21
SM
24712012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2472
3e88618b
SM
2473 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2474 (completion--cache-all-sorted-completions): New function.
2475 (completion-all-sorted-completions): Use it.
2476 (completion--do-completion, minibuffer-force-complete):
2477 Use it to re-instate the flush hook.
2478
8f0fde21
SM
2479 * icomplete.el (icomplete-completions): Replace last fix with a better
2480 one (bug#10850).
2481
8e911f6f
DG
24822012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2483
2484 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2485 when it might call us back infinitely (bug#10797).
2486
49fe4321
GM
24872012-02-23 Glenn Morris <rgm@gnu.org>
2488
2489 * minibuffer.el (completion-category-overrides): Doc fix.
2490
b291b572
SM
24912012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2494 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2495
31a9ef2e
GM
24962012-02-23 Glenn Morris <rgm@gnu.org>
2497
5e6e6794 2498 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2499 (authors-obsolete-files-regexps, authors-ignored-files)
2500 (authors-ambiguous-files, authors-renamed-files-alist):
2501 Add more entries.
2502
0bd1e074
JL
25032012-02-23 Juri Linkov <juri@jurta.org>
2504
2505 * isearch.el (isearch-occur): Sync interactive spec with occur's
2506 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2507
b617673c
JL
2508 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2509
19e9789e
JL
25102012-02-22 Juri Linkov <juri@jurta.org>
2511
2512 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2513 (ucs-insert): Doc fix. Check for hex digits in the string.
2514 Don't display `nil' in the error message. (Bug#10857)
2515
f41ce09d
AM
25162012-02-22 Alan Mackenzie <acm@muc.de>
2517
7a71b18d 2518 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2519
ac2eceee
GM
25202012-02-22 Glenn Morris <rgm@gnu.org>
2521
2522 * ffap.el (ffap-c-path):
2523 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2524
abd1f678
CY
25252012-02-22 Chong Yidong <cyd@gnu.org>
2526
2527 * custom.el (load-theme): Doc fix.
2528
f25aef2e
GM
25292012-02-22 Glenn Morris <rgm@gnu.org>
2530
2531 * dired-x.el (dired-guess-shell-alist-default):
2532 Remove escape sequences from nroff output. (Bug#172)
2533
5f8dc2ca
GM
25342012-02-21 Glenn Morris <rgm@gnu.org>
2535
6ff86ec4
GM
2536 * vc/emerge.el (emerge-defvar-local):
2537 Set `permanent-local' property rather than unused `preserved'.
2538
be3223a3 2539 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2540 (picture-mode-map): Use it. (Bug#10860)
2541 (picture-mode): Doc fix.
2542
3fe58f4f
JB
25432012-02-21 Juanma Barranquero <lekktu@gmail.com>
2544
2545 * newcomment.el (uncomment-region-default): Remove unused binding.
2546
f9a998c3
GM
25472012-02-21 Glenn Morris <rgm@gnu.org>
2548
2549 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2550 (picture-self-insert, picture-tab-chars): Doc fix.
2551 (picture-mode-map): Fix C-a, C-e.
2552
c6029348
GM
25532012-02-20 Glenn Morris <rgm@gnu.org>
2554
2555 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2556
ab1ce9d7
LL
25572012-02-20 Leo Liu <sdl.web@gmail.com>
2558
2559 * icomplete.el (icomplete-completions): Check FROM arg before
2560 passing to substring (Bug#10850).
2561
0fd40f89
CY
25622012-02-19 Chong Yidong <cyd@gnu.org>
2563
2564 * comint.el: Require ansi-color.
2565 (comint-output-filter-functions): Add ansi-color-process-output.
2566
2567 * ansi-color.el: Don't set comint-output-filter-functions; it is
2568 now in the initial value defined in comint.el.
2569 (ansi-color-apply-face-function): New variable.
2570 (ansi-color-apply-on-region): Use it.
2571 (ansi-color-apply-overlay-face): New function.
2572
2573 * shell.el (shell): No need to require ansi-color.
2574 (shell-mode): Use ansi-color-apply-face-function to highlight
2575 color escapes using font-lock-face property (Bug#10835).
2576
20af2394
CY
25772012-02-19 Chong Yidong <cyd@gnu.org>
2578
2579 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2580 mode-line formats (Bug#10839).
2581
e23a3fbe
GM
25822012-02-18 Glenn Morris <rgm@gnu.org>
2583
b474519e
GM
2584 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2585
2586 * mail/undigest.el (unforward-rmail-message): Doc fix.
2587
e23a3fbe
GM
2588 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2589
57939ff4
EZ
25902012-02-18 Eli Zaretskii <eliz@gnu.org>
2591
2592 * international/characters.el (script-list): Sync with the latest
2593 Unicode Character Database.
2594
0c23686e
AS
25952012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2596
2597 * international/titdic-cnv.el: Remove duplicate coding tag.
2598 * language/cham.el: Likewise.
2599 * language/tai-viet.el: Likewise.
2600
6818b449
GM
26012012-02-18 Glenn Morris <rgm@gnu.org>
2602
2603 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2604 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2605 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2606 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2607 * calendar/holidays.el (holiday-bahai-holidays)
2608 (calendar-holidays, list-holidays):
2609 Use utf-8 Bahá'í in doc-strings, menus, etc.
2610
0311a3fc
TH
26112012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2612
2613 * saveplace.el (save-place-ignore-files-regexp): New variable
2614 allowing for excluding files from saving their location of point.
2615 The default value matches the temporary commit message editing
2616 files from Git, SVN, Bazaar, and Mercurial.
2617 (save-place-to-alist): Use it.
2618
eb864a71
LM
26192012-02-17 Lawrence Mitchell <wence@gmx.li>
2620 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2622 * newcomment.el (uncomment-region-default): Don't leave extra space
2623 when an arg is provided (bug#8150).
2624
ee0ce425
TZ
26252012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2626
eb864a71 2627 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2628
95ddf442
GM
26292012-02-17 Glenn Morris <rgm@gnu.org>
2630
2631 * net/socks.el: Require network-stream. (Bug#10599)
2632
48dd1e39 26332012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2634
2635 * international/charprop.el:
2636 * international/uni-name.el:
2637 * international/uni-old-name.el:
2638 * international/uni-comment.el: Regenerate.
2639
d68cd087
GM
26402012-02-16 Glenn Morris <rgm@gnu.org>
2641
2642 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2643 Interactively in calendar buffer, give an error if not on a date.
2644
13932042
GM
26452012-02-15 Glenn Morris <rgm@gnu.org>
2646
2647 * shell.el (shell-delimiter-argument-list):
2648 Revert 2011-02-17 change. (Bug#8027)
2649
c3a70e2b
CY
26502012-02-15 Chong Yidong <cyd@gnu.org>
2651
60236b0d
CY
2652 * minibuffer.el (completion-at-point-functions): Doc fix.
2653
c3a70e2b
CY
2654 * custom.el (defcustom): Doc fix; note use of defvar.
2655
9f26dc24
GM
26562012-02-15 Glenn Morris <rgm@gnu.org>
2657
2658 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2659 Doc fixes.
2660
6546b134
GM
26612012-02-14 Glenn Morris <rgm@gnu.org>
2662
2663 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2664
d29b2b4c
LI
26652012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2666
2667 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2668 way the ports list is computed.
835bdcba
LI
2669 (smtpmail-query-smtp-server): Prompt the user for a port number if
2670 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2671
08dcdbc9
TZ
26722012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2673
2674 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2675
2605051a
GM
26762012-02-13 Glenn Morris <rgm@gnu.org>
2677
2678 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2679
7ee99f32
TZ
26802012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2681
2682 * net/gnutls.el (gnutls-trustfiles): New variable.
2683 (gnutls-negotiate): Use it.
2684
5f0af64f
LI
26852012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2686
2687 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2688 does its stuff if Gnus is running.
2689
c14fcc95
AM
26902012-02-13 Alan Mackenzie <acm@muc.de>
2691
2692 Fix a loop in c-set-fl-decl-start.
2693
7a71b18d 2694 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2695 c-backward-syntactic-ws actually moves backwards.
2696
142b4d90
LL
26972012-02-13 Leo Liu <sdl.web@gmail.com>
2698
2699 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2700 beginning so that all \C-o chars are removed.
2701
fa9958a6
TZ
27022012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2703
dc9924b8 2704 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2705
0bc5886a
AM
27062012-02-12 Alan Mackenzie <acm@muc.de>
2707
2708 Fix infinite loop with long macros.
4d6769e1 2709 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2710
d4bd55e7
CY
27112012-02-12 Chong Yidong <cyd@gnu.org>
2712
2713 * window.el (display-buffer): Doc fix (Bug#10785).
2714
66f3fe22
GM
27152012-02-12 Glenn Morris <rgm@gnu.org>
2716
bd7da63e
GM
2717 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2718 (x-disown-selection-internal, x-get-selection-internal):
2719 Sync docs with the xselect.c versions.
2720
66f3fe22
GM
2721 * allout-widgets.el: Add missing license notice.
2722
3e0d2fa7
GM
27232012-02-11 Glenn Morris <rgm@gnu.org>
2724
cfecdf09
GM
2725 * select.el (x-get-selection-internal, x-own-selection-internal)
2726 (x-disown-selection-internal):
2727 * x-dnd.el (x-get-selection-internal): Update declarations.
2728
6d216d7f
GM
2729 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2730
2bed3f04
GM
2731 * window.el (window-sides-slots):
2732 * tool-bar.el (tool-bar-position):
2733 * term/xterm.el (xterm-extra-capabilities):
2734 * ses.el (ses-self-reference-early-detection):
2735 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2736 (verilog-auto-wire-type)
2737 (verilog-auto-delete-trailing-whitespace)
2738 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2739 (verilog-auto-tieoff-declaration):
2740 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2741 (sql-oracle-statement-starters, sql-oracle-scan-on):
2742 * progmodes/prolog.el (prolog-align-comments-flag)
2743 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2744 (prolog-left-indent-regexp, prolog-paren-indent-p)
2745 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2746 (prolog-types, prolog-mode-specificators)
2747 (prolog-determinism-specificators, prolog-directives)
2748 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2749 (prolog-electric-dot-flag)
2750 (prolog-electric-dot-full-predicate-template)
2751 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2752 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2753 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2754 (prolog-program-switches, prolog-prompt-regexp)
2755 (prolog-debug-on-string, prolog-debug-off-string)
2756 (prolog-trace-on-string, prolog-trace-off-string)
2757 (prolog-zip-on-string, prolog-zip-off-string)
2758 (prolog-use-standard-consult-compile-method-flag)
2759 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2760 (prolog-imenu-max-lines, prolog-info-predicate-index)
2761 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2762 (prolog-char-quote-workaround):
2763 * progmodes/cc-vars.el (c-defun-tactic):
2764 * net/tramp.el (tramp-encoding-command-interactive)
2765 (tramp-local-end-of-line):
2766 * net/soap-client.el (soap-client):
2767 * net/netrc.el (netrc-file):
2768 * net/gnutls.el (gnutls):
2769 * minibuffer.el (completion-category-overrides)
2770 (completion-cycle-threshold)
2771 (completion-pcm-complete-word-inserts-delimiters):
2772 * man.el (Man-name-local-regexp):
2773 * mail/feedmail.el (feedmail-display-full-frame):
2774 * international/characters.el (glyphless-char-display-control):
2775 * eshell/em-ls.el (eshell-ls-date-format):
2776 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2777 (lisp-lambda-list-keyword-parameter-indentation)
2778 (lisp-lambda-list-keyword-parameter-alignment):
2779 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2780 * dired-x.el (dired-omit-verbose):
2781 * cus-theme.el (custom-theme-allow-multiple-selections):
2782 * calc/calc.el (calc-highlight-selections-with-faces)
2783 (calc-lu-field-reference, calc-lu-power-reference)
2784 (calc-note-threshold):
2785 * battery.el (battery-mode-line-limit):
2786 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2787 (archive-7z-update):
2788 * allout.el (allout-prefixed-keybindings)
2789 (allout-unprefixed-keybindings)
2790 (allout-inhibit-auto-fill-on-headline)
2791 (allout-flattened-numbering-abbreviation):
2792 * allout-widgets.el (allout-widgets-auto-activation)
2793 (allout-widgets-icons-dark-subdir)
2794 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2795 (allout-widgets-theme-dark-background)
2796 (allout-widgets-theme-light-background)
2797 (allout-widgets-item-image-properties-emacs)
2798 (allout-widgets-item-image-properties-xemacs)
2799 (allout-widgets-run-unit-tests-on-load)
2800 (allout-widgets-time-decoration-activity)
2801 (allout-widgets-hook-error-post-time)
2802 (allout-widgets-track-decoration):
2803 Add missing :version tags to new defcustoms and defgroups.
2804
5fec1b8e
GM
2805 * progmodes/sql.el (sql-ansi-statement-starters)
2806 (sql-oracle-statement-starters): Add custom type.
2807
3e0d2fa7
GM
2808 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2809 (prolog-system-version): Give it a type.
2810
90b671e2
EZ
28112012-02-11 Eli Zaretskii <eliz@gnu.org>
2812
2813 * term/pc-win.el (x-select-text, x-selection-owner-p)
2814 (x-own-selection-internal, x-disown-selection-internal)
2815 (x-get-selection-internal): Sync doc strings and argument lists
2816 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2817
5eac0c02
LL
28182012-02-11 Leo Liu <sdl.web@gmail.com>
2819
2820 * progmodes/python.el (python-end-of-statement): Fix infinite
2821 loop. (Bug#10788)
2822
f82cb659
GM
28232012-02-10 Glenn Morris <rgm@gnu.org>
2824
2825 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2826 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2827
cc26d239
LI
28282012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2829
2830 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2831 about SMTP before checking the From header.
2832
91027d08 2833 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2834 into own function for reuse by emacsbug.el.
2835
1be3ca5a
LL
28362012-02-10 Leo Liu <sdl.web@gmail.com>
2837
2838 * subr.el (condition-case-unless-debug): Rename from
2839 condition-case-no-debug. All callers changed.
2840 (with-demoted-errors): Fix caller.
2841
2842 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2843 * nxml/rng-valid.el (rng-do-some-validation):
2844 * emacs-lisp/package.el (package-refresh-contents)
2845 (package-menu-execute):
2846 * desktop.el (desktop-create-buffer):
91027d08 2847 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2848
b011fbfe
GM
28492012-02-10 Glenn Morris <rgm@gnu.org>
2850
b2096d72
GM
2851 * textmodes/bibtex.el:
2852 Add missing :version tags for new/changed defcustoms.
2853
b011fbfe
GM
2854 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2855
4c7e65bf
LI
28562012-02-09 Lars Ingebrigtsen <larsi@rusty>
2857
2858 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2859 (smtpmail-via-smtp): Use it, or fall back on the From address.
2860 (smtpmail-send-it): Ditto.
2861
f3934f6f
SM
28622012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2865 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2866 (byte-compile-tmp-var): New const.
2867 (byte-compile-defvar): Use it to minimize .elc size.
2868 Just use `defvar' rather than simulate it (bug#10761).
2869
a075a2c5
GM
28702012-02-09 Glenn Morris <rgm@gnu.org>
2871
cf3aa21b
GM
2872 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2873
354998cd
GM
2874 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2875 Add :version tags.
2876
dc9924b8
SM
2877 * progmodes/compile.el (compilation-error-screen-columns)
2878 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2879
dab3703d
GM
2880 * vc/log-view.el (log-view-toggle-entry-display):
2881 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2882
3f88cd72
GM
2883 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2884 (report-emacs-bug-can-use-xdg-email):
2885 (report-emacs-bug-insert-to-mailer): Doc fixes.
2886 (report-emacs-bug): Message fix.
2887
d95b247d
GM
2888 * net/browse-url.el (browse-url-can-use-xdg-open)
2889 (browse-url-xdg-open): Doc fixes.
2890
a075a2c5
GM
2891 * electric.el (electric-indent-mode, electric-pair-mode)
2892 (electric-layout-rules, electric-layout-mode): Doc fixes.
2893 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2894
ffb6157e
MR
28952012-02-08 Martin Rudalics <rudalics@gmx.at>
2896
2897 * server.el (server-unselect-display): Don't inadvertently kill
2898 the current buffer. (Bug#10729)
2899
e1ac4066
GM
29002012-02-08 Glenn Morris <rgm@gnu.org>
2901
34e8a2da
GM
2902 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2903 (sql-list-table): Doc fixes.
2904
b4ac6e8c
GM
2905 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2906 Comment out (does nothing).
2907
e1ac4066
GM
2908 * completion.el (dynamic-completion-mode):
2909 * dirtrack.el (dirtrack-debug-mode):
2910 * electric.el (electric-layout-mode):
2911 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2912 * face-remap.el (text-scale-mode, buffer-face-mode):
2913 * iimage.el (iimage-mode):
2914 * image-mode.el (image-transform-mode):
2915 * minibuffer.el (completion-in-region-mode):
2916 * scroll-lock.el (scroll-lock-mode):
2917 * simple.el (next-error-follow-minor-mode):
2918 * tar-mode.el (tar-subfile-mode):
2919 * tooltip.el (tooltip-mode):
2920 * vcursor.el (vcursor-use-vcursor-map):
2921 * wid-browse.el (widget-minor-mode):
2922 * emulation/tpu-edt.el (tpu-edt-mode):
2923 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2924 * international/iso-ascii.el (iso-ascii-mode):
2925 * language/thai-util.el (thai-word-mode):
2926 * mail/supercite.el (sc-minor-mode):
2927 * net/goto-addr.el (goto-address-mode):
2928 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2929 * progmodes/cwarn.el (cwarn-mode):
2930 * progmodes/flymake.el (flymake-mode):
2931 * progmodes/glasses.el (glasses-mode):
2932 * progmodes/hideshow.el (hs-minor-mode):
2933 * progmodes/pascal.el (pascal-outline-mode):
2934 * textmodes/enriched.el (enriched-mode):
2935 * vc/smerge-mode.el (smerge-mode):
2936 Doc fixes (minor mode argument).
2937
5e0d957f
EZ
29382012-02-07 Eli Zaretskii <eliz@gnu.org>
2939
2940 * ls-lisp.el (ls-lisp-sanitize): New function.
2941 (ls-lisp-insert-directory): Use it to fix or remove any elements
2942 in file-alist with missing attributes. (Bug#4673)
2943
98d7371e
AM
29442012-02-07 Alan Mackenzie <acm@muc.de>
2945
2946 Fix spurious recognition of c-in-knr-argdecl.
2947
2948 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2949 putative K&R region.
2950
667ced3a
AM
29512012-02-07 Alan Mackenzie <acm@muc.de>
2952
eb864a71
LM
2953 * progmodes/cc-engine.el (c-forward-objc-directive):
2954 Prevent looping in "#pragma mark @implementation".
667ced3a 2955
5b77774d
MA
29562012-02-07 Michael Albinus <michael.albinus@gmx.de>
2957
2958 * notifications.el (notifications-on-closed-signal): Make `reason'
2959 optional. (Bug#10744)
2960
af008560
GM
29612012-02-07 Glenn Morris <rgm@gnu.org>
2962
60d47423
GM
2963 * emacs-lisp/easy-mmode.el (define-minor-mode):
2964 Doc fixes for the macro and the mode it defines.
2965
dd605cc4
GM
2966 * image.el (imagemagick-types-inhibit): Doc fix.
2967
af008560
GM
2968 * cus-start.el (imagemagick-render-type): Add it.
2969
5cc59a37
LI
29702012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2971
4d6769e1
JB
2972 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2973 Set the default at load time, too, so that `font-lock-fontify-buffer'
2974 can be called without setting up the entire mode first. This fixes
2975 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2976
9a6dd747
CY
29772012-02-06 Chong Yidong <cyd@gnu.org>
2978
2d16b285
CY
2979 * simple.el (list-processes--refresh): Delete exited processes
2980 (Bug#8094).
2981
171e9b6e
CY
2982 * comint.el (comint-next-prompt): next-single-char-property-change
2983 and prev-single-char-property-change never return nil (Bug#8657).
2984
9a6dd747
CY
2985 * custom.el (defcustom): Doc fix (Bug#9711).
2986
aa4589a7
CY
29872012-02-05 Chong Yidong <cyd@gnu.org>
2988
5c2a252f
CY
2989 * cus-edit.el (custom-variable-reset-backup): Quote the value
2990 before storing it in the customized-value property (Bug#6712).
4aab9006 2991 (custom-display): Add a customization type tag.
983b9602 2992 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2993
aa4589a7
CY
2994 * wid-edit.el (widget-field-value-get): New optional arg to
2995 suppress trailing whitespace truncation.
2996 (character): Use it (Bug#2689).
2997
1ff980ae
AS
29982012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2999
3000 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3001 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3002
03988c98
CY
30032012-02-05 Chong Yidong <cyd@gnu.org>
3004
eeb6cc88
CY
3005 * cus-edit.el (custom-variable-value-create): For mismatched
3006 types, show the current value (Bug#7600).
3007
03988c98
CY
3008 * custom.el (defcustom): Doc fix.
3009
f8cdeef0
GM
30102012-02-05 Glenn Morris <rgm@gnu.org>
3011
3012 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3013
0696d255
JB
30142012-02-05 Juanma Barranquero <lekktu@gmail.com>
3015
3016 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3017 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3018 (pp-last-sexp): Use `looking-at-p'.
3019
34c99998
GM
30202012-02-04 Glenn Morris <rgm@gnu.org>
3021
8f05da42
GM
3022 * files.el (revert-buffer):
3023 Doc fix (mention revert-buffer-in-progress-p).
3024
f160676e
GM
3025 * emacs-lisp/ert-x.el (ert-simulate-command):
3026 Check deferred-action-list (which is obsolete) is bound.
3027
c7291ad9
GM
3028 * subr.el (with-wrapper-hook): Doc fixes.
3029
34c99998
GM
3030 * simple.el (filter-buffer-substring-functions)
3031 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3032
6283a7d3
LL
30332012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3034
3035 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3036 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3037
e96e3013
LL
30382012-02-04 Leo Liu <sdl.web@gmail.com>
3039
3040 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3041
8ded50f2
GM
30422012-02-04 Glenn Morris <rgm@gnu.org>
3043
82ff1d13
GM
3044 * image.el (image-extension-data): Add obsolete alias.
3045
987a0a16
GM
3046 * isearch.el (isearch-update): Doc fix.
3047
ea32ef46
GM
3048 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3049
8ded50f2
GM
3050 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3051
eea14f31
GM
30522012-02-03 Glenn Morris <rgm@gnu.org>
3053
3054 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3055 (image-animate-timeout): Doc fix.
3056
3057 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3058
12f381b7
GM
30592012-02-02 Glenn Morris <rgm@gnu.org>
3060
953cebf5
GM
3061 * server.el (server-auth-dir): Doc fix.
3062 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3063
12f381b7
GM
3064 * subr.el (run-mode-hooks): Doc fix.
3065
953a8c3b
JL
30662012-02-02 Juri Linkov <juri@jurta.org>
3067
3068 * image-mode.el (image-toggle-display-image): Remove tautological
3069 `major-mode' from the `derived-mode-p' test.
3070
c5d3843c
KH
30712012-02-02 Kenichi Handa <handa@m17n.org>
3072
9f6e692e 3073 * composite.el (compose-region): Cancel previous change.
c5d3843c 3074
159462d4 30752012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3076
3077 * composite.el (compose-region, compose-string): Signal error for
3078 a null string component (Bug#6988).
3079
9f562668
CY
30802012-02-01 Chong Yidong <cyd@gnu.org>
3081
e2cef717
CY
3082 * view.el (view-buffer-other-window, view-buffer-other-frame):
3083 Handle special modes like view-buffer (Bug#10650).
3084 (view-buffer): Simplify.
3085
9f562668
CY
3086 * frame.el (set-frame-font): Tweak meaning of third argument.
3087
9f6e692e
JB
3088 * dynamic-setting.el (font-setting-change-default-font):
3089 Use set-frame-font (Bug#9982).
9f562668 3090
781acb9f
GM
30912012-02-01 Glenn Morris <rgm@gnu.org>
3092
6035be52
GM
3093 * progmodes/compile.el (compilation-internal-error-properties):
3094 Respect compilation-first-column in the "*compilation*" buffer.
3095
781acb9f
GM
3096 * emacs-lisp/easy-mmode.el (define-minor-mode):
3097 Relax :variable's test for a named function.
3098
abbceb00
AM
30992012-01-31 Alan Mackenzie <acm@muc.de>
3100
3101 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3102 off by one error.
3103
fce3fdeb
CY
31042012-01-31 Chong Yidong <cyd@gnu.org>
3105
3106 * frame.el (set-frame-font): New arg ALL-FRAMES.
3107
3108 * menu-bar.el (menu-set-font): Use set-frame-font.
3109
3110 * faces.el (face-spec-reset-face): Don't apply unspecified
3111 attribute values to the default face.
3112
47893581
JB
31132012-01-31 Juanma Barranquero <lekktu@gmail.com>
3114
3115 * progmodes/cwarn.el (cwarn): Remove dead link.
3116 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3117 Remove * from defcustom docstrings.
3118 (turn-on-cwarn-mode): Make obsolete.
3119 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3120 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3121
e58e988a
GM
31222012-01-31 Glenn Morris <rgm@gnu.org>
3123
60dc2671 3124 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3125 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3126 Allow named functions to be used as the cdr of :variable.
e58e988a 3127
7a3f511d
GM
31282012-01-30 Glenn Morris <rgm@gnu.org>
3129
3130 * emacs-lisp/authors.el (authors-fixed-entries):
3131 Remove reference to deleted file rnewspost.el.
3132
cb882333
JB
31332012-01-29 Juanma Barranquero <lekktu@gmail.com>
3134
3135 * window.el (window-with-parameter): Remove unused variable `windows'.
3136 (window--side-check): Remove unused variable `code'.
3137 (window--resize-siblings): Remove unused variable `first'.
3138 (adjust-window-trailing-edge): Remove unused variable `failed'.
3139 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3140 Use `let', not `let*'.
3141 (balance-windows-2): Remove unused variable `found'.
3142 (window--state-put-2): Remove unused variable `splits'.
3143 (window-state-put): Remove unused variable `selected'.
3144 (same-window-p): Use `string-match-p'.
3145 (display-buffer-assq-regexp): Remove unused variable `value'.
3146 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3147 Mark argument ALIST as ignored.
3148 (pop-to-buffer): Remove unused variable `old-window'.
3149
907201af
EZ
31502012-01-29 Eli Zaretskii <eliz@gnu.org>
3151
3152 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3153 and .lzma compressed files.
3154
ea162670
CY
31552012-01-29 Chong Yidong <cyd@gnu.org>
3156
5b95ee8a
CY
3157 * frame.el (window-system-default-frame-alist): Doc fix.
3158
ea162670
CY
3159 * dynamic-setting.el (font-setting-change-default-font): Don't
3160 change the default face if SET-FONT argument is non-nil (Bug#9982).
3161
d6e6f4b1
SB
31622012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3163
3164 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3165
0f29fa41 31662012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3167
3168 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3169 breakpoints in files outside current directory (Bug#6098).
3170
db174434
CY
31712012-01-29 Chong Yidong <cyd@gnu.org>
3172
6b25e4e2
SE
3173 * progmodes/python.el: Require ansi-color at top-level.
3174
6df6ae42
JB
3175 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3176 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3177 (lisp-mode-abbrev-table): Add doc.
3178 (lisp-mode-variables): Don't set local-abbrev-table.
3179 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3180
e70ee681
RW
31812012-01-28 Roland Winkler <winkler@gnu.org>
3182
3183 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3184
ace88aa2
RW
31852012-01-28 Roland Winkler <winkler@gnu.org>
3186
3187 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3188 (bibtex-set-dialect): Use it. Either set global values of
3189 dialect-dependent variables or bind these variables buffer-locally
3190 (Bug#10254).
3191 (bibtex-mode): Call bibtex-set-dialect via
3192 hack-local-variables-hook.
eb864a71
LM
3193 (bibtex-dialect): Update docstring.
3194 Add safe-local-variable predicate.
ace88aa2
RW
3195 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3196 bibtex-set-dialect.
3197 (bibtex-mode-map): Define menu for each dialect.
3198 (bibtex-entry): Fix docstring.
3199
93376c5b
CY
32002012-01-28 Chong Yidong <cyd@gnu.org>
3201
3202 * eshell/esh-arg.el (eshell-quote-argument): New function.
3203
3204 * eshell/esh-ext.el (eshell-invoke-batch-file):
3205 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3206 first arg to eshell-parse-command (Bug#10523).
3207
4372494f
DA
32082012-01-28 Drew Adams <drew.adams@oracle.com>
3209
3210 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3211 `default-directory' is non-nil.
3212
4d4ec1f8
EZ
32132012-01-28 Eli Zaretskii <eliz@gnu.org>
3214
3215 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3216 line that displays system-configuration-options. (Bug#9924)
3217
7c188927
DA
32182012-01-28 Drew Adams <drew.adams@oracle.com>
3219
3220 * descr-text.el (describe-char): Show information about POS, in
3221 addition to information about the character at POS. Improve and
3222 update the doc string. Change "code point" to "code point in
3223 charset", to avoid confusion with the character's Unicode code
3224 point shown above that. (Bug#10129)
3225
e0da685a
EZ
32262012-01-28 Eli Zaretskii <eliz@gnu.org>
3227
3228 * descr-text.el (describe-char): Show the raw character, not only
3229 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3230 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3231 for the reasons.
3232
70550acf
PH
32332012-01-28 Phil Hagelberg <phil@hagelb.org>
3234
eb864a71
LM
3235 * emacs-lisp/package.el (package-install):
3236 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3237
0ce8e868
CY
32382012-01-28 Chong Yidong <cyd@gnu.org>
3239
cb882333
JB
3240 * emacs-lisp/package.el (package-maybe-load-descriptor):
3241 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3242 (package-maybe-load-descriptor): Use it.
3243 (package-download-transaction): Fully load required packages
3244 inside the loop, so that `require' calls work (Bug#10593).
3245 (package-install): No need to call package-initialize now.
3246
2e7f3bea
CY
32472012-01-28 Chong Yidong <cyd@gnu.org>
3248
6e9bad14
CY
3249 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3250
f823b8ca
CY
3251 * tooltip.el (tooltip-mode): Doc fix.
3252 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3253
2680c309
CY
3254 * frame.el (set-cursor-color): Doc fix (Bug#352).
3255
d7a9e63b
CY
3256 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3257 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3258
2e7f3bea
CY
3259 * cus-edit.el (custom-buffer-create-internal): Fix search button
3260 action (Bug#10542).
2ae01800 3261 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3262
fc4f7a23
EW
32632012-01-27 Eduard Wiebe <usenet@pusto.de>
3264
3265 * dired.el (dired-mark-files-regexp):
3266 Include any subdirectory components. (Bug#10445)
3267
7dd37071
ML
32682012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3269
3270 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3271 Handle [host]:port syntax. (Bug#10533)
3272
a268160b
AH
32732012-01-27 Alex Harsanyi <harsanyi@mac.com>
3274
3275 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3276
e43273ef
GM
32772012-01-26 Glenn Morris <rgm@gnu.org>
3278
3279 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3280 * term.el (term-raw-escape-map): Use Control-X-prefix.
3281 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3282
1edf595d
MR
32832012-01-25 Martin Rudalics <rudalics@gmx.at>
3284
3285 * window.el (window-state-get, window--state-get-1): Don't deal
3286 with fixed-sizeness of windows. Simplify code.
3287
fa8eafef
JC
32882012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3289
6df6ae42
JB
3290 * window.el (window--state-get-1, window--state-put-2):
3291 Don't save and restore the mark.
fa8eafef 3292
0b21c100
CY
32932012-01-25 Chong Yidong <cyd@gnu.org>
3294
3295 * custom.el (custom-variable-p): Doc fix.
3296
5ae1a6c8
GM
32972012-01-25 Glenn Morris <rgm@gnu.org>
3298
40047858
GM
3299 * dired.el (dired-goto-file): Handle some of the more common
3300 characters that `ls -b' escapes. (Bug#10596)
3301
5ddce96c
GM
3302 * progmodes/compile.el (compilation-next-error-function):
3303 Respect compilation-first-column in the "*compilation*" buffer.
3304 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3305
5ae1a6c8
GM
3306 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3307
b559f1a9
GM
33082012-01-24 Glenn Morris <rgm@gnu.org>
3309
3310 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3311
6725d21a
JD
33122012-01-24 Julien Danjou <julien@danjou.info>
3313
3314 * color.el (color-rgb-to-hsl): Fix value computing.
3315 (color-hue-to-rgb): New function.
3316 (color-hsl-to-rgb): New function.
3317 (color-clamp, color-saturate-hsl, color-saturate-name)
3318 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3319 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3320
70df4bbe
GM
33212012-01-24 Glenn Morris <rgm@gnu.org>
3322
3323 * vc/vc-rcs.el (vc-rcs-create-tag):
3324 * vc/vc-sccs.el (vc-sccs-create-tag):
3325 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3326
802a2ae2
ML
33272012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3328
3329 * eshell/esh-util.el (eshell-read-hosts-file):
3330 Skip comment lines. (Bug#10549)
3331
d7128bb1
ML
3332 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3333
d1a5c3b4
JB
33342012-01-23 Juanma Barranquero <lekktu@gmail.com>
3335
2724d9c7
JB
3336 * subr.el (display-delayed-warnings): Doc fix.
3337 (collapse-delayed-warnings): New function to collapse identical
3338 adjacent warnings.
3339 (delayed-warnings-hook): Add it.
d1a5c3b4 3340
a5509865
MA
33412012-01-22 Michael Albinus <michael.albinus@gmx.de>
3342
3343 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3344
3345 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3346 properties, when "login-as" is set.
3347
3348 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3349 (tramp-default-user-alist): Don't add "pscp".
3350 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3351 property "login-as", if set. (Bug#10530)
3352
cc6d5805
MA
33532012-01-21 Michael Albinus <michael.albinus@gmx.de>
3354
3355 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3356 "plink1" and "psftp". (Bug#10530)
3357
33582012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3359
3360 * international/mule-cmds.el (prefer-coding-system): Show a
3361 warning message if the default value of file-name-coding-system
3362 was not changed.
3363
f0960428
JC
33642012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3365
cb882333
JB
3366 * windmove.el (windmove-reference-loc):
3367 Fix windmove-reference-loc miscalculation.
f0960428 3368
dd6f2a63
JB
33692012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3370
3371 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3372 default unit.
3373
7b447e9b
GM
33742012-01-21 Glenn Morris <rgm@gnu.org>
3375
117a9ea1
GM
3376 * international/mule.el (auto-coding-alist): Add .tbz.
3377
7b447e9b
GM
3378 * files.el (local-enable-local-variables): Doc fix.
3379 (inhibit-local-variables-regexps): Rename from
3380 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3381 Doc fix. Add some extensions from auto-coding-alist.
3382 (inhibit-local-variables-suffixes):
3383 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3384 (inhibit-local-variables-p):
3385 New function, extracted from set-auto-mode-1.
3386 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3387 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3388 (hack-local-variables): Doc fix. Make the mode-only case
3389 respect enable-local-variables and friends.
3390 Respect inhibit-local-variables-regexps for file-locals, but
3391 not for directory-locals.
3392 (set-visited-file-name):
3393 Take account of inhibit-local-variables-regexps.
3394 Whether it applies may change as the file name is changed.
3395 * jka-cmpr-hook.el (jka-compr-install):
3396 * jka-compr.el (jka-compr-uninstall):
3397 Update for inhibit-first-line-modes-suffixes name change.
3398
dd6e3cdd
MR
33992012-01-20 Martin Rudalics <rudalics@gmx.at>
3400
3401 * help-macro.el (make-help-screen): Temporarily restore original
3402 binding for minor-mode-map-alist (Bug#10454).
3403
0d0deb38
JD
34042012-01-19 Julien Danjou <julien@danjou.info>
3405
3406 * color.el (color-name-to-rgb): Use the white color to find the max
3407 color component value and return correctly computed values.
3408 (color-name-to-rgb): Add missing float conversion for max value.
3409
34a02f46
MR
34102012-01-19 Martin Rudalics <rudalics@gmx.at>
3411
3412 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3413 special state value for window-persistent-parameters.
3414 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3415 (window--state-put-2): Reset all window parameters to nil before
3416 assigning values of persistent parameters.
3417
606c44c4
AM
34182012-01-18 Alan Mackenzie <acm@muc.de>
3419
3420 Eliminate sluggishness and hangs in fontification of "semicolon
3421 deserts".
3422
cb882333
JB
3423 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3424 Change value 10000 -> 3000.
606c44c4
AM
3425 (c-state-safe-place): Reformulate so it doesn't stack up an
3426 infinite number of wrong entries in c-state-nonlit-pos-cache.
3427 (c-determine-limit-get-base, c-determine-limit): New functions to
3428 determine backward search limits disregarding literals.
3429 (c-find-decl-spots): Amend commenting.
3430 (c-cheap-inside-bracelist-p): New function which detects "={".
3431
3432 * progmodes/cc-fonts.el
3433 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3434 backward search.
3435 (c-font-lock-declarations): Fix an occurrence of point being
3436 undefined. Check additionally for point being in a bracelist or
3437 near a macro invocation without a semicolon so as to avoid a
3438 fruitless time consuming search for a declarator. Give a more
3439 precise search limit for declarators using the new
3440 c-determine-limit.
3441
f3860cea
GM
34422012-01-18 Glenn Morris <rgm@gnu.org>
3443
3444 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3445 (set-auto-mode): Doc fixes.
3446
1db03b16
GM
34472012-01-17 Glenn Morris <rgm@gnu.org>
3448
0e6038be
GM
3449 * isearch.el (search-nonincremental-instead): Fix doc typo.
3450
1db03b16
GM
3451 * dired.el (dired-insert-directory): Handle newlines in directory name.
3452 (dired-build-subdir-alist): Unescape newlines in directory name.
3453
4cb0aa75
MA
34542012-01-17 Michael Albinus <michael.albinus@gmx.de>
3455
3456 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3457 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3458 (tramp-action-terminal): Use it. (Bug#10530)
3459
1d00653d
SM
34602012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3463
6a6ee00d
MR
34642012-01-16 Martin Rudalics <rudalics@gmx.at>
3465
3466 * window.el (window-state-ignored-parameters): Remove variable.
3467 (window--state-get-1): Rename argument MARKERS to IGNORE.
3468 Handle persistent window parameters. Make copy of clone-of
3469 parameter only if requested. (Bug#10348)
3470 (window--state-put-2): Install a window parameter only if it has
3471 a non-nil value or an existing parameter shall be overwritten.
3472
97912def
MA
34732012-01-15 Michael Albinus <michael.albinus@gmx.de>
3474
3475 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3476
688070a5
EZ
34772012-01-14 Eli Zaretskii <eliz@gnu.org>
3478
3479 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3480 don't pass the (nil) value of `upnode' to string-match.
3481
301afadc
CY
34822012-01-14 Chong Yidong <cyd@gnu.org>
3483
3484 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3485 Fix values recognized by the cursorBlink resource.
301afadc 3486
9e5788aa
PE
34872012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3488
3489 * epg.el (epg--make-temp-file): Avoid permission race condition
3490 when running on old Emacs versions (bug#10403).
3491
3cdb7f5a
GM
34922012-01-14 Glenn Morris <rgm@gnu.org>
3493
3494 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3495
8c82b1b4
AM
34962012-01-13 Alan Mackenzie <acm@muc.de>
3497
3498 Fix filling for when filladapt mode is enabled.
3499
3500 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3501 c-mask-paragraph, pass in `fill-paragraph' rather than
3502 `fill-region-as-paragraph'. (This is a reversion of a previous
3503 change.)
eb864a71
LM
3504 * progmodes/cc-mode.el (c-basic-common-init):
3505 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3506
e517eda4
GM
35072012-01-13 Glenn Morris <rgm@gnu.org>
3508
1498536e
GM
3509 * dired.el (dired-switches-escape-p): New function.
3510 (dired-insert-directory): Use dired-switches-escape-p.
3511 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3512
e517eda4
GM
3513 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3514
328f984d
GM
35152012-01-12 Glenn Morris <rgm@gnu.org>
3516
3517 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3518 changes in adaptive-fill-regexp. (Bug#10276)
3519
2cc769a8
AM
35202012-01-11 Alan Mackenzie <acm@muc.de>
3521
3522 Fix Emacs bug #10463 - put `widen's around the critical spots.
3523
1d00653d 3524 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3525 widen around each invocation of c-state-pp-to-literal. Remove an
3526 unused let variable.
3527
e52c37fa
GM
35282012-01-11 Glenn Morris <rgm@gnu.org>
3529
3530 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3531 Doc fix.
e52c37fa 3532
96f8741e
CY
35332012-01-10 Chong Yidong <cyd@gnu.org>
3534
1d00653d
SM
3535 * net/network-stream.el (network-stream-open-starttls):
3536 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3537 response to the capability command.
3538
b09a806e
GM
35392012-01-10 Glenn Morris <rgm@gnu.org>
3540
3541 * mail/unrmail.el (unrmail): Tweak previous change.
3542
7655cb66
CY
35432012-01-09 Chong Yidong <cyd@gnu.org>
3544
3545 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3546
9d5a8f0b
AM
35472012-01-08 Alan Mackenzie <acm@muc.de>
3548
3549 Optimise font locking in long enum definitions.
3550
3551 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3552 arm to a cond form to handle enums.
3553 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3554 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3555
9a0115ab 35562012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3557
3558 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3559 (Bug#10401)
6bb72cbd 3560
f186bb95
LMI
35612012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3562
29232a68
LMI
3563 * faces.el (set-face-attribute): Clarify the meaning of the nil
3564 frame (bug#10294).
3565
4e5d086d
LMI
3566 * subr.el (with-selected-frame): Mention that the selected frame
3567 is restored (bug#9980).
3568
8e66aebe
LMI
3569 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3570 (bug#9759).
3571
cd394be1 3572 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3573 (password-read): Don't autoload unused function.
3574
adf4e762
JB
35752012-01-07 Juanma Barranquero <lekktu@gmail.com>
3576
3577 * progmodes/which-func.el (which-func-mode): Turn into a
3578 non-interactive function and mark as obsolete (bug#10428).
3579
89bd9ccd
CY
35802012-01-06 Chong Yidong <cyd@gnu.org>
3581
3582 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3583 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3584 functions, along with 1 and -1.
3585
4afee9d5
EZ
35862012-01-06 Eli Zaretskii <eliz@gnu.org>
3587
3588 * time.el (display-time-load-average)
3589 (display-time-default-load-average): Doc fixes. See the thread
3590 starting at
3591 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3592 for the details.
3593
536aea70
GM
35942012-01-06 Glenn Morris <rgm@gnu.org>
3595
665ae865
GM
3596 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3597 has no messages. (Bug#10377)
3598
c869783d
GM
3599 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3600 than Info-edit. (Bug#10385)
3601
2bb4227e
GM
3602 * time.el (display-time-load-average, display-time-next-load-average):
3603 Doc fixes.
3604
7d5944b9
GM
3605 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3606 local setting of buffer-read-only to the input buffer. (Bug#10419)
3607
536aea70
GM
3608 * calendar/calendar.el (calendar-mode):
3609 Locally set scroll-margin to 0. (Bug#10379)
3610
7dccca16
UM
36112012-01-06 Ulrich Mueller <ulm@gentoo.org>
3612
3613 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3614
afbb7930
GM
36152012-01-05 Glenn Morris <rgm@gnu.org>
3616
3617 * eshell/em-unix.el (diff-no-select): Autoload it.
3618 (eshell/diff): Use diff-no-select. (Bug#10420)
3619
04482335
CY
36202012-01-05 Chong Yidong <cyd@gnu.org>
3621
7baca3bc
CY
3622 * shell.el (shell-dynamic-complete-functions): Revert last change.
3623 (shell-command-completion-function): New function.
3624 (shell-completion-vars): Use it to implement
3625 shell-completion-execonly (Bug#10417).
3626
04482335
CY
3627 * custom.el (enable-theme): Don't set custom-safe-themes.
3628
1d00653d
SM
3629 * cus-theme.el (custom-theme-merge-theme):
3630 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3631
bb5aa5d6
MM
36322012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3633
3634 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3635 first prompt in `sql-interacive-mode'.
3636 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3637 keywords.
6df6ae42 3638 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3639 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3640 context of original buffer. Invoke `sql-login-hook'.
3641
a7183d7c
EZ
36422012-01-04 Eli Zaretskii <eliz@gnu.org>
3643
3644 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3645 letters in cite-prefix.
3646
a1eacd1e
LMI
36472012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3648
3649 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3650
787cdb34
CY
36512012-01-03 Chong Yidong <cyd@gnu.org>
3652
1d00653d
SM
3653 * shell.el (shell-dynamic-complete-functions):
3654 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3655 comint-filename-completion first (Bug#10417).
3656
30710442
RS
36572012-01-02 Richard Stallman <rms@gnu.org>
3658
3659 * battery.el (battery-status-function):
3660 Detect when to use battery-yeeloong-sysfs.
3661 (battery-echo-area-format): Add string for Yeeloong.
3662 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3663 (battery-yeeloong-sysfs): New function.
3664
f75bfc33
CY
36652012-01-02 Chong Yidong <cyd@gnu.org>
3666
3667 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3668 (dirtrack): Merge code for handling relative filenames in prompt
3669 from shell-dir-cookie-watcher.
3670 (dirtrack-debug-message): New arg to avoid excess format calls.
3671
3672 * shell.el (shell-dir-cookie-re): Variable deleted.
3673 (shell-dir-cookie-watcher): Function deleted.
3674 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3675 with dirtrack-mode.
3676
651e947e
EZ
36772012-01-01 Eli Zaretskii <eliz@gnu.org>
3678
1d00653d
SM
3679 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3680 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3681 libgnutls-26.dll.
3682
94d4c7dc
AS
36832011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3684
3685 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3686
8d43f3cd
EZ
36872011-12-31 Eli Zaretskii <eliz@gnu.org>
3688
3689 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3690 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3691
98c8795a
MA
36922011-12-29 Michael Albinus <michael.albinus@gmx.de>
3693
3694 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3695 also for alternative shells.
3696 (tramp-open-connection-setup-interactive-shell): Check, whether
3697 the shell is a busybox.
3698 (tramp-send-command): Don't suppress multiple prompts for
3699 busyboxes, it hurts.
3700
51281b32
CY
37012011-12-28 Chong Yidong <cyd@gnu.org>
3702
3703 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3704 (gdb-get-source-file): Move mode line update to
3705 gdb-get-source-file (Bug#10087).
3706
2170cb53
CY
37072011-12-25 Chong Yidong <cyd@gnu.org>
3708
3709 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3710 gud-gdb-marker-filter without taking it as an argument.
3711 (gud-gdb-run-command-fetch-lines): Caller changed.
3712 (gud-gdb-completion-function): New variable.
3713 (gud-gdb-completion-at-point): Use it.
3714 (gud-gdb-completions-1): Split from gud-gdb-completions.
3715
3716 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3717 function as separate arguments.
3718 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3719 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3720 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3721 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3722 (gdb-stopped, def-gdb-auto-update-trigger)
3723 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3724 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3725 Callers changed.
2170cb53
CY
3726 (gud-gdbmi-completions): New function.
3727 (gdb): Use it for generating the completion table.
3728
be8b11bb
AM
37292011-12-24 Alan Mackenzie <acm@muc.de>
3730
3731 Introduce a mechanism to widen the region used in context font
1d00653d 3732 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3733
1d00653d
SM
3734 * progmodes/cc-langs.el (c-before-font-lock-functions):
3735 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3736 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3737 functions to be run just before context (etc.) font locking.
3738
3739 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3740 New, functionality extracted from
be8b11bb 3741 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3742 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3743 (c-after-change): Set c-in-after-change-fontification.
3744 (c-set-fl-decl-start): Rejig its interface, so it can be called
3745 from both after-change and context fontifying.
b81d40f0
JB
3746 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3747 New functions.
3748 (c-standard-font-lock-fontify-region-function): New variable.
3749 (c-font-lock-fontify-region): New function.
be8b11bb 3750
341cf6ac
JL
37512011-12-24 Juri Linkov <juri@jurta.org>
3752
3753 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3754 (Bug#10348)
3755
bffcee0a
MA
37562011-12-23 Michael Albinus <michael.albinus@gmx.de>
3757
3758 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3759 existence of source file. (Bug#10325)
3760
cb5e207c
AM
37612011-12-23 Alan Mackenzie <acm@muc.de>
3762
3763 Fix unstable fontification inside templates.
3764
b81d40f0
JB
3765 * progmodes/cc-langs.el (c-before-font-lock-functions):
3766 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3767 additionally has c-set-fl-decl-start. The other languages (apart
3768 from AWK) have that as a single entry.
3769
b81d40f0
JB
3770 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3771 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3772 c-set-fl-decl-start.
3773
b81d40f0
JB
3774 * progmodes/cc-mode.el (c-common-init, c-after-change):
3775 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3776 (c-set-fl-decl-start): New function, extracted from
3777 c-font-lock-enclosing-decls and enhanced.
3778
60ff536c
JB
37792011-12-23 Juanma Barranquero <lekktu@gmail.com>
3780
3781 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3782
1c4757d6
JL
37832011-12-22 Juri Linkov <juri@jurta.org>
3784
3785 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3786
d031f2c7
CY
37872011-12-22 Chong Yidong <cyd@gnu.org>
3788
3789 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3790
bace743a
DA
37912011-12-21 Drew Adams <drew.adams@oracle.com>
3792
3793 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3794
728a1f2b
JC
37952011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3796
3797 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3798
0d373f73
TZ
37992011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3800
fec0aaa4
TZ
3801 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3802 highlighting and support. Fix up comments for capitalization.
3803 (cfengine-mode-debug): New var.
3804 (cfengine3-mode): Change the modeline indicator to "CFE3".
3805 (cfengine3-font-lock-keywords): Improve defun highlighting.
3806 (cfengine2-actions): Rename from `cfengine-actions'.
3807 (cfengine2-font-lock-keywords): Rename from
3808 `cfengine-font-lock-keywords'.
3809 (cfengine2-imenu-expression): Rename from
3810 `cfengine-imenu-expression'.
3811 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3812 (cfengine2-beginning-of-defun): Rename from
3813 `cfengine-beginning-of-defun'.
3814 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3815 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3816 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3817 modeline indicator to "CFE2".
3818 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3819 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3820
bc86f573
CY
38212011-12-21 Chong Yidong <cyd@gnu.org>
3822
3823 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3824 filename argument.
3825
d45ba96b
MR
38262011-12-20 Martin Rudalics <rudalics@gmx.at>
3827
3828 * window.el (window-normalize-buffer-to-display): Remove.
3829 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3830
a6198c90
CY
38312011-12-19 Chong Yidong <cyd@gnu.org>
3832
3833 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3834 Don't signal an error in a predicate function; return non-nil.
3835 (vc-dir-mark-file): Move the error here.
3836 (vc-dir-mark-unmark): If acting on the region, keep going if one
3837 of the entries cannot be marked/unmarked.
3838 (vc-dir-mark-all-files): If current entry is a directory, mark
3839 only child files, as documented.
3840
34c5fb55
VB
38412011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3842
3843 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3844 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3845 addition.
3846
c803b2b7
JD
38472011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3848
3849 * term/ns-win.el (ns-get-selection-internal)
3850 (ns-store-selection-internal): Declare.
1154d12e
JB
3851 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3852 Declare as obsolete.
3853 (ns-get-pasteboard, ns-paste-secondary):
3854 Use ns-get-selection-internal.
3855 (ns-set-pasteboard, ns-copy-including-secondary):
3856 Use ns-store-selection-internal.
c803b2b7 3857
9cff91f8 38582011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3859
3860 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3861 (vc-deduce-fileset): Doc fix.
99a289d9 3862
f16c898a
AS
38632011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3864
3865 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3866
763237c4
SS
38672011-12-13 Sam Steingold <sds@gnu.org>
3868
3869 * man.el (Man-getpage-in-background): When running under a
3870 window-system, ignore $MANWIDTH and $COLUMNS.
3871
5fc1c122
KH
38722011-12-15 Kenichi Handa <handa@m17n.org>
3873
3874 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3875 (setup-ethiopic-environment-internal): Comment out key-binding for
3876 ethio-toggle-punctuation.
3877
13d49cbb
AM
38782011-12-13 Alan Mackenzie <acm@muc.de>
3879
898169a2
AM
3880 Add the switch statement to AWK Mode.
3881
7a71b18d 3882 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3883 "default" to the keywords regexp.
3884
7a71b18d 3885 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3886 expression as the rest.
1d00653d
SM
3887 (c-nonlabel-token-key): Allow string literals for AWK.
3888 Refactor for the other modes.
898169a2 3889
13d49cbb 3890 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3891 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3892 routines. Limit backward searching in c-font-lock-enclosing.decl.
3893
3894 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3895 pp-state and literal type in addition to the limits.
1d00653d 3896 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3897 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3898 (c-slow-in-literal, c-fast-in-literal): Remove.
3899 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3900
3901 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3902 being in a literal. Add a limit for backward searching.
3903
3904 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3905 c-slow-in-literal.
3906
15e0efc7
SM
39072011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3908
3909 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3910
454592a6
MR
39112011-12-13 Martin Rudalics <rudalics@gmx.at>
3912
3913 * window.el (delete-other-windows): Use correct frame in call to
3914 window-with-parameter.
3915
87393f26
DP
39162011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3917
3918 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3919 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3920 (makefile-gmake-statements, makefile-makepp-statements):
3921 Use it and add new makepp keywords.
3922 (makefile-makepp-font-lock-keywords): Add new patterns.
3923 (makefile-match-function-end): Match new [...] and [[...]].
3924
11636b22
JB
39252011-12-11 Juanma Barranquero <lekktu@gmail.com>
3926
3927 * ses.el (ses-call-printer-return, ses-cell-property-get)
3928 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3929 (ses-create-cell-variable, ses-reset-header-string)
3930 (ses-cell-set-formula, ses-repair-cell-reference-all)
3931 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3932 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3933 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3934 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3935 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3936 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3937 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3938 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3939 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3940 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3941 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3942 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3943
cf018193
VB
39442011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3945
3946 * ses.el: The overall change is to add cell renaming, that is
3947 setting fancy names for cell symbols other than name matching
3948 "\\`[A-Z]+[0-9]+\\'" regexp .
3949 (ses-create-cell-variable): New defun.
3950 (ses-relocate-formula): Relocate formulas only for cells the
3951 symbols of which are not renamed, i.e. symbols whose names do not
3952 match regexp "\\`[A-Z]+[0-9]+\\'".
3953 (ses-relocate-all): Relocate values only for cells the symbols of
3954 which are not renamed.
3955 (ses-load): Create cells variables as the (ses-cell ...) are read,
3956 in order to check row col consistency with cell symbol name only
3957 for cells that are not renamed.
3958 (ses-replace-name-in-formula): New defun.
3959 (ses-rename-cell): New defun.
3960
ee957461
CY
39612011-12-11 Chong Yidong <cyd@gnu.org>
3962
3963 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3964 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3965
9a9e9ef0
MR
39662011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3967
3968 * window.el (other-window): Fix docstring.
3969
92a8eba5
EZ
39702011-12-10 Eli Zaretskii <eliz@gnu.org>
3971
3972 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3973 `from' or `to' address before taking its substring.
3974 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3975 encoded name is chopped in the middle of the encoded string, and
3976 thus displayed encoded.
3977
e152e577
JB
39782011-12-10 Juanma Barranquero <lekktu@gmail.com>
3979
3980 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3981
e5d84bfe
EZ
39822011-12-10 Eli Zaretskii <eliz@gnu.org>
3983
3984 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3985 to use texinfo-update-node and commands that call it if the
3986 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3987 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3988 (texinfo-all-menus-update, texinfo-master-menu)
3989 (texinfo-update-node, texinfo-every-node-update)
3990 (texinfo-multiple-files-update): Doc fix. Warn against updating
3991 all the @node lines.
3992 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3993 argument is numeric. Explain better in the doc string what the
3994 function really does.
3995 (texinfo-insert-master-menu-list): Improve the error message
3996 displayed if there's no menu in the Top node.
3997 (Bug#2975) See also this thread:
e5d84bfe
EZ
3998 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3999
1d84e9bb
MG
40002011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4001
4002 * speedbar.el (speedbar-supported-extension-expressions):
4003 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4004
382c953b
JB
40052011-12-09 Juanma Barranquero <lekktu@gmail.com>
4006
4007 * printing.el (pr-mode-alist):
4008 * simple.el (filter-buffer-substring-functions)
4009 (completion-list-insert-choice-function):
4010 * window.el (window-with-parameter, window-atom-root)
4011 (window-sides-slots, window-size-fixed, window-min-delta)
4012 (window-max-delta, window--resize-mini-window)
4013 (window--resize-child-windows-normal, window-tree)
4014 (delete-other-windows, quit-window, split-window)
4015 (display-buffer-record-window, special-display-buffer-names)
4016 (special-display-regexps, special-display-popup-frame)
4017 (same-window-p, split-window-sensibly)
4018 (display-buffer-overriding-action, display-buffer-alist)
4019 (display-buffer-base-action, display-buffer, switch-to-buffer)
4020 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4021 (fit-window-to-buffer, recenter-positions)
4022 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4023 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4024 and remove unneeded backslashes in docstrings.
4025
39c9faef
SM
40262011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4027
98449af8
SM
4028 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4029
39c9faef
SM
4030 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4031 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4032 end in ".mk".
4033 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4034 when reading the makefile (bug#10116).
4035
86ed9fdc
SM
40362011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4039 (bug#10116).
4040
5580f89d
GM
40412011-12-06 Glenn Morris <rgm@gnu.org>
4042
4043 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4044
28d3917c
CY
40452011-12-06 Chong Yidong <cyd@gnu.org>
4046
4047 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4048
a98edce9
JB
40492011-12-06 Juanma Barranquero <lekktu@gmail.com>
4050
4051 * textmodes/table.el (table-shorten-cell): Fix typo.
4052
e65adfac
CG
40532011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4054
4055 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4056
71cc0b74
EZ
40572011-12-05 Eli Zaretskii <eliz@gnu.org>
4058
4059 * descr-text.el (describe-char): Fix display of strong
4060 right-to-left characters and directional embeddings and overrides.
4061
4062 * simple.el (what-cursor-position): Fix display of codepoints of
4063 strong right-to-left characters.
4064
315bc30d
CY
40652011-12-05 Chong Yidong <cyd@gnu.org>
4066
4067 * faces.el (read-color): Doc fix.
4068
58a70b94
GM
40692011-12-05 Glenn Morris <rgm@gnu.org>
4070
4071 * align.el (align--set-marker): Add doc-string.
4072 Don't try to move something that is not a marker. (Bug#10216)
4073
5158face
GM
40742011-12-04 Glenn Morris <rgm@gnu.org>
4075
4076 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4077 overly zealous deletion of trailing whitespace.
4078
520fca41
JB
40792011-12-04 Juanma Barranquero <lekktu@gmail.com>
4080
4081 * server.el (server-delete-client): On Windows, do not try to delete
4082 the only terminal.
4083 (server-process-filter): On Windows, treat requests for a tty frame as
4084 if they were for a GUI frame if the running server is in GUI mode.
4085
5e605a2e
GM
40862011-12-03 Glenn Morris <rgm@gnu.org>
4087
4088 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4089
5c3fe83f
SM
40902011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4091
6f5e57e7
SM
4092 * electric.el: Streamline electric-indent's hook.
4093 (electric-indent-chars): Revert to simple list.
4094 (electric-indent-functions): New var.
4095 (electric-indent-post-self-insert-function): Use it.
4096
5c3fe83f
SM
4097 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4098 there's no inferior buffer (bug#10196).
4099 (prolog-consult-compile): Don't use toggle-read-only.
4100
6bdac736
MA
41012011-12-02 Michael Albinus <michael.albinus@gmx.de>
4102
4103 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4104 interrupt. (Bug#10187)
4105
6131ba7f
SM
41062011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4107
99c79fee
SM
4108 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4109 (bug#9160).
4110
6131ba7f
SM
4111 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4112 (bug#10191).
4113
cb0a02ea
JL
41142011-12-02 Juri Linkov <juri@jurta.org>
4115
4116 * info.el (Info-search): Display "end of manual" when Isearch
4117 reaches the end of single-file Info manual. (Bug#9918)
4118
66e0570c
EZ
41192011-12-02 Eli Zaretskii <eliz@gnu.org>
4120
4121 * isearch.el (isearch-message-prefix): Run the input method part
4122 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4123
02b16839
JL
41242011-12-02 Juri Linkov <juri@jurta.org>
4125
4126 * isearch.el (isearch-occur): Use `word-search-regexp' for
4127 `isearch-word'.
4128 (isearch-search-and-update): Add condition for `isearch-word' and
4129 call `word-search-regexp'. (Bug#10145)
4130
0b950688
GM
41312011-12-01 Glenn Morris <rgm@gnu.org>
4132
4133 * eshell/em-hist.el (eshell-hist-initialize):
4134 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4135 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4136
9505c3c7
SM
41372011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4140
1bbe96b2 41412011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4142
a1beca85
SM
4143 * progmodes/verilog-mode.el (verilog-pretty-expr):
4144 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4145 verilog, such as += *= and the like.
4146 (verilog-assignment-operator-re): Regular expression to find the
4147 assigment operator in a verilog assignment.
4148 (verilog-assignment-operation-re): Regular expression to find an
4149 assignment statement for pretty-expr.
4150 (verilog-in-attribute-p): Query returns true if point is in an
4151 attribute context; used to skip these for expression line up from
4152 pretty-expr.
4153 (verilog-in-parameter-p): Query returns true if point is in an
4154 parameter definition context; used to skip these for expression
4155 line up from pretty-expr.
4156 (verilog-in-parenthesis-p): Query returns true if point is in a
4157 parenthetical expression, specifically ( ) but not [ ] or { };
4158 used by pretty-expr.
4159 (verilog-just-one-space): If there is no space, don't add one.
4160 (verilog-get-lineup-indent-2): Specifically skip just attribute
4161 contexts for expression lineup, rather than skipping all
4162 parenthetical expressions.
4163 (verilog-calculate-indent): Fix comment, and fix indent.
4164 (verilog-do-indent): Indent declarations in lists (suggested by
4165 Joachim Lechner).
4166 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4167 skeleton items.
4168 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4169 by Alain Mellan).
4170
1bbe96b2 41712011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4172
4173 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4174 parameters with embedded comments. Reported by Ray Stevens.
4175 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4176 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4177 Reported by Tim Holt.
4178 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4179 instantiated by upper module causing wrong expansion until AUTOed a
4180 second time. Reported by K C Buckenmaier.
4181 (verilog-diff-auto): Fix showing .* as a difference when
4182 `verilog-auto-star-save' off. Reported by Dan Dever.
4183 (verilog-auto-reset, verilog-read-always-signals)
4184 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4185 temporary signals in reset list if
4186 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4187 style to each signal's assignment type, bug381.
4188 Reported by Thomas Esposito.
6288f0ca
WS
4189 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4190 (verilog-uvm-statement-re): Support UVM indentation and
4191 highlighting, with old OVM keywords only.
a1beca85 4192 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4193 Support AUTOTIEOFF creating non-wire data types.
4194 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4195 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4196 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4197 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4198 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4199 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4200 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4201 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4202 non-numeric vector width. Reported by Alex Reed.
4203 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4204 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4205 (verilog-auto-delete-trailing-whitespace):
4206 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4207 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4208 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4209 Fix verilog-scan-cache corruption when running user AUTO expansion
4210 hooks that call indentation routines.
4211 (verilog-simplify-range-expression): Fix typo ignoring lower case
4212 identifiers.
4213 (verilog-delete-auto): Fix delete-autos to also remove user created
4214 automatics, as long as they start with AUTO.
4215 (verilog-batch-diff-auto, verilog-diff-auto)
4216 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4217 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4218 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4219 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4220 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4221 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4222 is disabled and its cache will get corrupt, causing AUTOS not to
4223 expand. Instead use only -quick functions.
4224 (verilog-scan-region): Fix scanning over escaped quotes.
4225 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4226 (verilog-re-search-backward-quick)
4227 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4228 related functions now ignore strings, to fix misparsing of strings
4229 with magic comments embedded in them.
a1beca85
SM
4230 (verilog-read-auto-template):
4231 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4232 Reported by Brad Dobbie.
4233 (verilog-read-auto-template):
4234 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4235 Reported by Brad Dobbie.
6288f0ca
WS
4236 (verilog-auto-inst, verilog-auto-inst-param)
4237 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4238 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4239 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4240 debugging templates without merge conflicts, bug357.
4241 Reported by Brad Dobbie.
4242 (verilog-read-auto-template):
4243 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4244 Reported by Brad Dobbie.
4245 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4246 abbrevs so user won't be asked to save.
4247 (verilog-read-auto-lisp-present): Fix to start at beginning of
4248 buffer in case called outside of verilog-auto.
4249 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4250 to "X-2". Reported by Matthew Myers.
4251 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4252 all inputs from module templates. Reported by Leith Johnson.
4253 (verilog-module-inside-filename-p): Fix locating programs as with
4254 modules.
4255 (verilog-auto-inst-port): Fix vl-width expressions when using
4256 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4257 (verilog-decls-get-regs, verilog-decls-get-signals,
4258 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4259 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4260 verilog-read-decls): Combine reg and wire structures into one var
4261 structure to represent SystemVerilog concepts.
4262 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4263 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4264 (verilog-auto-wire-type, verilog-insert-definition):
4265 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4266 SystemVerilog "logic" keyword instead of "wire"/"reg".
4267 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4268 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4269 ifdef or generate if so there's not a driver conflict).
4270 Reported by Matthew Myers.
4271 (verilog-auto-declare-nettype, verilog-insert-definition):
4272 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4273 `default_nettype none. Reported by Julian Gorfajn.
4274 (verilog-read-always-signals-recurse, verilog-read-decls)
4275 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4276 malformed end statement, bug325. Reported by Joshua Wise and
4277 Andrew Drake.
4278 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4279 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4280 when expanding .* in interfaces, bug320.
4281 Reported by Pierre-David Pfister.
6288f0ca 4282 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4283 name and open parenthesis, bug317.
4284 Reported by Pierre-David Pfister.
6288f0ca
WS
4285 (verilog-simplify-range-expression): Fix simplification of
4286 multiplications inside AUTOWIRE connections, bug303.
4287 (verilog-auto-inst-port): Support parameter expansion in
4288 multidimensional arrays.
4289 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4290 after "assert property". Reported by Julian Gorfajn.
4291 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4292 with multiplication, bug303.
4293 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4294 Reported by Jan Frode Lonnum.
4295
1bbe96b2
GM
42962011-11-30 Juanma Barranquero <lekktu@gmail.com>
4297
4298 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4299 (hfy-shell-file-name, hfy-shell):
4300 * international/fontset.el (x-decompose-font-name): Fix typos.
4301
43022011-11-29 Ken Brown <kbrown@cornell.edu>
4303
4304 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4305 (gdb-version): Remove defvar.
4306 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4307 (gdb-gud-context-command, gdb-non-stop-handler)
4308 (gdb-current-context-command, gdb-stopped): Use it.
4309 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4310 (gdb-non-stop-handler): Don't enable pretty-printing here.
4311 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4312 non-stop mode. Use the following.
4313 (gdb-check-target-async): New defun.
4314 (gud-watch, gdb-stopped): Fix whitespace.
4315 (gdb-get-source-file): Don't try to display the source file if
4316 `gdb-main-file' is nil.
4317
43182011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4319
4320 * align.el: Try to generate fewer markers (bug#10047).
4321 (align--set-marker): New macro.
4322 (align-region): Use it.
4323
c935221f
SM
43242011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4325
4326 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4327
e70b5064
CY
43282011-11-29 Chong Yidong <cyd@gnu.org>
4329
4330 * indent.el (indent-for-tab-command, indent-according-to-mode):
4331 Doc fix.
4332 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4333
f3af92b7
MA
43342011-11-29 Michael Albinus <michael.albinus@gmx.de>
4335
4336 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4337 aware of remote file names. (Bug#10124)
4338
ed472be9
CY
43392011-11-29 Chong Yidong <cyd@gnu.org>
4340
4341 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4342
24510c22
SM
43432011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4344
4345 * files.el (find-file): Don't use force-same-window (bug#10144).
4346 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4347 use pop-to-buffer if the selected window can't be used.
4348 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4349
c60c3703
EZ
43502011-11-28 Eli Zaretskii <eliz@gnu.org>
4351
4352 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4353 special-mode-map.
4354
e95def75
CY
43552011-11-28 Chong Yidong <cyd@gnu.org>
4356
4357 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4358
c3f1c606
NR
43592011-11-27 Nick Roberts <nickrob@snap.net.nz>
4360
4361 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4362 gdb-get-source-file-list on gdb-create-source-file-list.
4363
00db469c
EZ
43642011-11-26 Eli Zaretskii <eliz@gnu.org>
4365
4366 * whitespace.el (whitespace-newline): Use a different foreground
4367 color for 16-color light-background displays.
4368
4ad3bc2a
CY
43692011-11-24 Chong Yidong <cyd@gnu.org>
4370
4371 * window.el (display-buffer--special-action): Doc fix.
4372
e9fce1ac
JB
43732011-11-25 Juanma Barranquero <lekktu@gmail.com>
4374
4375 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4376 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4377 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4378 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4379 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4380 (avl-tree-stack-first):
4381 * emacs-lisp/cconv.el (cconv--analyse-use):
4382 * net/gnutls.el (gnutls-negotiate): Fix typos.
4383
cb825e5d
GM
43842011-11-24 Glenn Morris <rgm@gnu.org>
4385
3adbe224
GM
4386 * lpr.el (lpr-windows-system, lpr-lp-system):
4387 * mail/binhex.el (binhex-begin-line):
4388 * progmodes/grep.el (grep-history, grep-find-history):
4389 * textmodes/flyspell.el:
4390 * vc/pcvs-defs.el (cvs-global-menu):
4391 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4392 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4393 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4394
321decc8
GM
4395 * net/tls.el: Fix case of "GnuTLS".
4396
420b63ad
GM
4397 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4398
cb825e5d
GM
4399 * version.el (emacs-build-system): Give it a doc-string.
4400
a0649f08
JL
44012011-11-24 Juri Linkov <juri@jurta.org>
4402
4403 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4404
c0bc0fd4
GM
44052011-11-24 Glenn Morris <rgm@gnu.org>
4406
4407 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4408 if called on a non-mime message just toggle the headers. (Bug#8006)
4409
20db1522
JB
44102011-11-24 Juanma Barranquero <lekktu@gmail.com>
4411
4412 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4413 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4414 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4415 (allout-rebullet-heading, allout-open-sibtopic)
4416 (allout-toggle-current-subtree-encryption)
4417 (allout-toggle-subtree-encryption, allout-encrypt-string)
4418 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4419 (allout-distinctive-bullets-string, allout-auto-activation):
4420 * window.el (window-normalize-buffer-to-display):
4421 * progmodes/verilog-mode.el (verilog-batch-indent):
4422 * textmodes/bibtex.el (bibtex-field-braces-opt)
4423 (bibtex-field-strings-opt):
4424 * vc/cvs-status.el (cvs-tree-merge):
4425 Fix typos.
4426
7262a87c
MA
44272011-11-23 Michael Albinus <michael.albinus@gmx.de>
4428
4429 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4430 `non-essential' to t, in order to avoid remote connections.
4431
283430a1
EZ
44322011-11-23 Eli Zaretskii <eliz@gnu.org>
4433
a1beca85
SM
4434 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4435 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4436 case-insensitively.
4437
d2992a38
ML
44382011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4439
4440 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4441
50419064
GM
44422011-11-23 Glenn Morris <rgm@gnu.org>
4443
da94eca1
GM
4444 * paths.el (rmail-file-name): Reformat the doc-string so that it
4445 is picked up.
4446
9aac4de2
GM
4447 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4448 (rmail-auto-file): Ignore case in the "special" field names,
4449 as mail-fetch-field does for all others.
4450
8038d2d2
GM
4451 * mail/rmail.el (rmail-forward):
4452 * mail/rmailkwd.el (rmail-set-label):
4453 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4454 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4455
f3fe222a
GM
4456 * mail/rmail.el (rmail-current-message): Doc fix.
4457
50419064
GM
4458 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4459
28109f49
SM
44602011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4461
4462 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4463
394c65f1
GM
44642011-11-22 Glenn Morris <rgm@gnu.org>
4465
4466 * mail/rmailmm.el (test-rmail-mime-handler)
4467 (test-rmail-mime-bulk-handler)
4468 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4469
f2a0aa3a
JL
44702011-11-21 Juri Linkov <juri@jurta.org>
4471
1154d12e
JB
4472 * calc/calc.el (calc-read-key-sequence):
4473 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4474
9c34a344
LMI
44752011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4476
4477 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4478 Tell the caller that the next line needs recomputation, even
4479 though it doesn't start a sexp (bug#10094).
4480
f04a3be9
SM
44812011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4482
4483 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4484
7978747f
SM
44852011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4486
f04a3be9
SM
4487 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4488 Use force-same-window.
7978747f 4489
fe7a3057
JB
44902011-11-20 Juanma Barranquero <lekktu@gmail.com>
4491
4492 * descr-text.el (describe-char-unicode-data):
4493 * json.el (json-string-escape):
4494 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4495 (Footnote-unicode, Footnote-style-p):
4496 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4497
24901d61
CY
44982011-11-20 Chong Yidong <cyd@gnu.org>
4499
4500 * window.el (replace-buffer-in-windows): Restore interactive spec.
4501
bac7ff22
SM
45022011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4503
24f3d7b9
SM
4504 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4505
bac7ff22
SM
4506 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4507 (byte-compile-global-not-obsolete-vars): New var.
4508 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4509 Use it.
4510 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4511
cd1181db
JB
45122011-11-20 Juanma Barranquero <lekktu@gmail.com>
4513
4514 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4515 * progmodes/pascal.el (electric-pascal-equal):
4516 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4517 * xml.el (xml-substitute-special): Fix typos.
4518
7fb18e9e
GM
45192011-11-20 Glenn Morris <rgm@gnu.org>
4520
4521 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4522 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4523 Doc fixes.
4524 (rmail-decode-mime-charset): Mark as obsolete.
4525
4526 * mail/rmailsum.el (rmail-message-regexp-p-1):
4527 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4528 Before using mime functions, check they are set. (Bug#10077)
4529
d5a6b3ba
JL
45302011-11-19 Juri Linkov <juri@jurta.org>
4531
4532 * info.el (Info-finder-find-node): Use `package--builtins' instead
4533 of `package-alist'. Use node names formed by the pattern "Keyword "
4534 and the keyword name.
4535
e981b61f
AS
45362011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4537
1d00653d 4538 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4539
3ffbc301
JL
45402011-11-19 Juri Linkov <juri@jurta.org>
4541
4542 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4543 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4544 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4545 `old-history', `old-history-forward'. Add let-binding
4546 `window-selected'. Remove calls to `kill-buffer',
4547 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4548 before calling `Info-find-node', so `Info-find-node-2' will reread
4549 the Info file. Restore window positions only when `window-selected'
4550 is non-nil.
4551
30c62133
JL
45522011-11-19 Juri Linkov <juri@jurta.org>
4553
4554 * isearch.el (isearch-lazy-highlight-new-loop):
4555 Remove condition `(not isearch-error)'. (Bug#9918)
4556
4557 * misearch.el (multi-isearch-search-fun): Add condition
4558 `(not bound)' to ignore lazy-highlighting search.
4559 Add the search-failed message "end of multi" when the end of
4560 multi-sequence is reached. Uncapitalize the search-failed
4561 message "Repeat for next buffer".
4562
4563 * info.el (Info-search): Add the search-failed message
4564 "end of the manual" when the end of the manual is reached
4565 in Isearch mode.
4566
645ca9cf
JL
45672011-11-19 Juri Linkov <juri@jurta.org>
4568
4569 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4570 Use non-destructive `remove' instead of `delete' because
4571 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4572 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4573
df754f66
JL
45742011-11-19 Juri Linkov <juri@jurta.org>
4575
4576 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4577 to nil instead of binding `search-ring' and `regexp-search-ring'.
4578 (Bug#9185)
4579
0e23d96a
EZ
45802011-11-19 Eli Zaretskii <eliz@gnu.org>
4581
4582 * simple.el (line-move): Force movement by logical lines for any
4583 hscrolled window, not only when auto-hscroll-mode is on.
4584 (line-move-visual): Update doc string to that effect. (Bug#10076)
4585
8a6ccb66
AS
45862011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4587
4588 * language/european.el (macintosh): Define as alias for mac-roman.
4589
49ae5b39
EZ
45902011-11-19 Eli Zaretskii <eliz@gnu.org>
4591
4592 * mail/rmailmm.el (rmail-mime-display-header)
4593 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4594 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4595 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4596 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4597 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4598 of a raw aref.
4599 (rmail-mime-entity-segment): To get past the tagline, move forward
4600 2 more lines, to account for the 2 empty lines that precede and
4601 follow the line with the buttons.
4602 (rmail-mime-update-tagline): Move one more line, to get past the
4603 empty line that follows the buttons in the tagline. (Bug#9520)
4604
c56cad4a
MR
46052011-11-19 Martin Rudalics <rudalics@gmx.at>
4606
4607 * window.el (window-max-delta-1, window-min-delta-1)
4608 (window-min-size-1, window-state-get-1, window-state-put-1)
4609 (window-state-put-2): Use "window--" prefix.
4610
cbe71af3
SM
46112011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4612
2ad52c60
SM
4613 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4614 (smie-warning-count): New var.
4615 (smie-set-prec2tab): Use it.
4616 (smie-bnf->prec2): Improve warnings. Add docstring.
4617 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4618 (smie-bnf--set-class): New function.
4619 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4620 corner case.
4621
6944dbc1
SM
4622 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4623 (compilation-error-properties, compilation-move-to-column):
4624 Handle compilation-first-column while in the target buffer.
4625
c400c4d7
SM
4626 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4627 Don't hardcode point-min==1.
4628
6dbe3e96
SM
4629 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4630 (eshell-rewrite-for-command): Remove workaround.
4631 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4632 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4633 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4634
cbe71af3
SM
4635 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4636
a8e1496d
GM
46372011-11-17 Glenn Morris <rgm@gnu.org>
4638
4639 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4640 Ignore buffer-local generated-autoload-file if it is the same
4641 as the global value. (Bug#10049)
4642
df85d315
JB
46432011-11-17 Juanma Barranquero <lekktu@gmail.com>
4644
4645 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4646 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4647 (reftex-toc-previous-heading, reftex-toc-max-level)
4648 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4649 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4650 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4651 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4652 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4653 (reftex-toc-rename-label, reftex-toc-visit-location)
4654 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4655 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4656 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4657 leaving "*toc*" only for references to the buffer.
4658
a0c2d0ae
MR
46592011-11-17 Martin Rudalics <rudalics@gmx.at>
4660
4661 * window.el (window-resize, delete-window, split-window):
4662 Replace window-splits by window-combination-resize.
1d00653d 4663 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4664
35c0bac8
GM
46652011-11-17 Glenn Morris <rgm@gnu.org>
4666
4667 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4668 Make bash entry derive from sh entry, not shell entry.
4669
d0c8fc8a
MA
46702011-11-16 Michael Albinus <michael.albinus@gmx.de>
4671
d0c8fc8a
MA
4672 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4673 properties of linked files. (Bug#9879)
4674
7262a87c
MA
4675 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4676 local file name.
4677
7877f373
JB
46782011-11-16 Juanma Barranquero <lekktu@gmail.com>
4679
4680 * menu-bar.el (menu-bar-file-menu):
4681 * printing.el (pr-ps-utility):
4682 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4683 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4684 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4685 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4686 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4687 (icalendar--convert-cyclic-to-ical)
4688 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4689 (icalendar--convert-ical-to-diary)
4690 (icalendar--convert-recurring-to-diary)
4691 (icalendar--convert-non-recurring-all-day-to-diary)
4692 (icalendar-import-format-sample):
4693 * progmodes/idlw-shell.el (idlwave-shell-mode):
4694 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4695 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4696 (vhdl-ps-print-init): Fix typos.
4697
10649b82
KM
46982011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4699
9d0cfcd6
GM
4700 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4701 FSF and collapse date sequence, obscure author/maintainer email address
4702 better, remove extra version line, track relocation of author's webpage.
10649b82 4703
9d0cfcd6
GM
4704 * progmodes/python.el (python-pdbtrack-input-prompt)
4705 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4706 regular python pdb prompts. Adjustments shamelessly taken exactly as
4707 suggested in EmacsWiki page (tiny change):
4708 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4709
58179cce
JB
47102011-11-16 Juanma Barranquero <lekktu@gmail.com>
4711
4712 * expand.el (expand-pos, expand-index, expand-point):
4713 Remove redundant info from docstring.
4714 (expand-add-abbrevs): Doc fix.
4715 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4716 (expand-sample-perl-mode-expand-list): Fix typos.
4717
4718 * net/dbus.el (dbus-event-member-name):
4719 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4720 * term/pc-win.el (msdos-create-frame-with-faces):
4721 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4722
b6f67890
MR
47232011-11-16 Martin Rudalics <rudalics@gmx.at>
4724
4725 * window.el (split-window, window-state-get-1)
4726 (window-state-put-1, window-state-put-2): Rename occurrences of
4727 window-nest to window-combination-limit.
1d00653d 4728 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4729
ce7ddba0
CY
47302011-11-16 Chong Yidong <cyd@gnu.org>
4731
4732 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4733 regexp (Bug#10033).
4734
3ae704f4
SM
47352011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4738 `completing-read' will remove *Completions* and will preserve
4739 current-buffer for us.
4740 (tmm-add-prompt): Users of *Completions* will always (re)set its
4741 major mode.
4742 (tmm-old-comp-map): Remove.
4743
6ad1cdde
GM
47442011-11-16 Glenn Morris <rgm@gnu.org>
4745
4746 * mail/rmailedit.el: Require rmailmm when compiling.
4747 (rmail-old-mime-state): New declaration.
4748 (rmail-edit-current-message): If editing a mime message,
4749 edit the "raw" message from the mbox buffer.
4750 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4751
d20faa20
GM
47522011-11-15 Glenn Morris <rgm@gnu.org>
4753
4754 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4755 which wasn't being used. Add optional arg to force given state.
4756 (rmail-mime): Add optional arg to force given state.
4757
c7015153
JB
47582011-11-15 Juanma Barranquero <lekktu@gmail.com>
4759
4760 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4761 * frame.el (display-mm-dimensions-alist):
4762 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4763 (outline-move-subtree-down):
4764 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4765 (newsticker--treeview-do-get-node):
4766 * net/quickurl.el (quickurl-list-buffer-name):
4767 * progmodes/dcl-mode.el (dcl-mode):
4768 * progmodes/gdb-mi.el (gdb-mapcar*):
4769 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4770
45261b50
GM
47712011-11-15 Glenn Morris <rgm@gnu.org>
4772
4773 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4774 in a boolean sense, so just make it a boolean, and fix the doc.
4775 (rmail-show-mime-function, rmail-mime-feature)
4776 (rmail-require-mime-maybe): Doc fixes.
4777 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4778
4779 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4780
0d26e0b6
JB
47812011-11-15 Juanma Barranquero <lekktu@gmail.com>
4782
4783 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4784 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4785 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4786 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4787
447f30f6
GM
47882011-11-15 Glenn Morris <rgm@gnu.org>
4789
672b871d
GM
4790 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4791 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4792 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4793 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4794 (rmail-mime, rmail-show-mime): Doc fixes.
4795
f6aa5bb1
GM
4796 * term/ns-win.el (mode-line-frame-identification):
4797 Leave it alone. (Bug#10051)
4798
947cd66b
GM
4799 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4800
447f30f6
GM
4801 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4802 Handle empty buffers. (Bug#9978)
4803
0b381c7e
JB
48042011-11-14 Juanma Barranquero <lekktu@gmail.com>
4805
4806 * international/mule.el (define-charset):
4807 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4808 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4809 * progmodes/verilog-mode.el (verilog-backward-token):
4810 * textmodes/ispell.el (lookup-words):
4811 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4812
71e027ac
GM
48132011-11-14 Glenn Morris <rgm@gnu.org>
4814
56632ce4
GM
4815 * progmodes/executable.el
4816 (executable-make-buffer-file-executable-if-script-p):
4817 Handle file-modes returning nil.
4818
40500957
GM
4819 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4820 message - not necessary, and causes problems. (Bug#9831)
4821
071c2340
GM
4822 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4823
d3cfca60
GM
4824 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4825
71e027ac
GM
4826 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4827 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4828 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4829
89d61221
MR
48302011-11-12 Martin Rudalics <rudalics@gmx.at>
4831
4832 * window.el (window-resize, delete-window): Use window-splits
4833 variable instead of function.
4834 (window-state-get-1, window-state-put-2, window-state-put):
4835 Don't deal with windows' splits status.
4836
98282f6f
GM
48372011-11-12 Glenn Morris <rgm@gnu.org>
4838
4839 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4840 (apropos-documentation): Doc fixes.
4841
40a8bdf6
JB
48422011-11-11 Juanma Barranquero <lekktu@gmail.com>
4843
4844 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4845 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4846
65bd19ff
SM
48472011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4848
4849 * electric.el (electric-indent-post-self-insert-function): Make it
4850 possible for a char to only indent in some circumstances.
4851 (electric-indent-mode): Simplify.
4852
54f9154c
MR
48532011-11-11 Martin Rudalics <rudalics@gmx.at>
4854
4855 * window.el (windows-with-parameter): Remove unused function.
4856 (windows-at-side): Rename to window-at-side-list.
4857 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4858 (window-side-check, window-size-ignore, window-size-fixed-1)
4859 (window-in-direction-2): Prefix with "window--".
4860 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4861
68cbc58b
GM
48622011-11-11 Glenn Morris <rgm@gnu.org>
4863
4864 * subr.el (eval-after-load): If FILE is already loaded,
4865 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4866
b2621720
GM
48672011-11-10 Glenn Morris <rgm@gnu.org>
4868
9a4de110
GM
4869 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4870 Call svn via vc-svn-command rather than vc-do-command.
4871 (vc-svn-command): Add --non-interactive. (Bug#9993)
4872 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4873
b2621720
GM
4874 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4875 Add toggle-read-only. (Bug#7292)
4876 * files.el (toggle-read-only): Mention that it should only
4877 be used interactively. (Bug#10006)
4878
1dce7193
SM
48792011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4880
d9ac1a1e
SM
4881 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4882 Adjust regexp for OCaml warnings.
4883
0c325082
SM
4884 * electric.el (electric-pair-post-self-insert-function): Let user
4885 turn it off buffer-locally (bug#9932).
4886
90132c14
SM
4887 * progmodes/python.el (python-beginning-of-statement):
4888 Rewrite (bug#2703).
4889
1dce7193
SM
4890 * progmodes/compile.el: Better handle TABs (bug#9749).
4891 (compilation-internal-error-properties)
4892 (compilation-next-error-function): Obey the target buffer's
4893 compilation-error-screen-columns.
4894
c4e7c63a
JB
48952011-11-09 Juanma Barranquero <lekktu@gmail.com>
4896
4897 * progmodes/meta-mode.el: Remove obsolete comments.
4898 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4899 Fix typos in docstrings.
4900
2cffd681
MR
49012011-11-09 Martin Rudalics <rudalics@gmx.at>
4902
4903 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4904 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4905 (window--resizable): New function. Make all callers of
4906 window-resizable call window--resizable instead.
4907 (window-resizable): Rewrite in terms of window--resizable.
4908
0edcba87
GM
49092011-11-08 Glenn Morris <rgm@gnu.org>
4910
4911 * progmodes/delphi.el (delphi-mode-syntax-table):
4912 Let define-derived-mode define a proper syntax table. (Bug#9994)
4913
4b0d61e3
SM
49142011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4915
4916 * window.el: Stay away from defsubst.
4917 (window-list-no-nils): Remove.
4918 (window-state-get-1, window-state-get): Use backquote instead.
4919
cd394be1 49202011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4921
4b0d61e3 4922 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4923 Fix incorrect use of default argument in `completing-read'.
4924
e1c2c6f2
MR
49252011-11-08 Martin Rudalics <rudalics@gmx.at>
4926
4927 * window.el (display-buffer-function, special-display-function):
4928 Mention display-buffer-record-window but do not mention
4929 help-setup parameter in doc-strings.
b3f4a882 4930 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4931
105216ed
CY
49322011-11-08 Chong Yidong <cyd@gnu.org>
4933
4934 * window.el (window-total-height, window-total-width): Doc fix.
4935 (window-body-size): Move from C.
4936 (window-body-height, window-body-width): Move to C.
4937
0a9f9ab5
SM
49382011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * window.el: Make special-display like display-buffer-alist (bug#9532).
4941 (display-buffer--special-action): New function, morphed
4942 from display-buffer--special.
4943 (display-buffer): Use it to handle special-display-buffers at higher
4944 priority (just after display-buffer-alist).
4945 (display-buffer-fallback-action, display-buffer--other-frame-action)
4946 (pop-to-buffer-same-window): Remove display-buffer--special.
4947
a769dd15
GM
49482011-11-07 Glenn Morris <rgm@gnu.org>
4949
4950 * calendar/cal-menu.el (cal-menu-set-date-title):
4951 Do nothing if not in a calendar. (Bug#9976)
4952
05a61ee3
SM
49532011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * files.el (find-file): Always use selected-window.
4956
be7f5545
MR
49572011-11-07 Martin Rudalics <rudalics@gmx.at>
4958
4959 * window.el (window-combinations): Make WINDOW argument
4960 mandatory. Rewrite doc-string.
4961 (walk-window-subtree, window-atom-check, window-min-delta)
4962 (window-max-delta, window--resize-this-window)
4963 (window--resize-root-window-vertically, window-tree)
4964 (balance-windows, window-state-put): Rewrite doc-strings as to
4965 not mention the term "subwindow".
4966 (window--resize-subwindows-skip-p): Rename to
4967 window--resize-child-windows-skip-p.
4968 (window--resize-subwindows-normal): Rename to
4969 window--resize-child-windows-normal.
4970 (window--resize-subwindows): Rename to
4971 window--resize-child-windows.
4972 (window-or-subwindow-p): Rename to window--in-subtree-p.
4973
3c6702ef
ML
49742011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4975
4976 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4977 Ensure that mbox format messages end in two newlines (Bug#9974).
4978
49745b39
CY
49792011-11-06 Chong Yidong <cyd@gnu.org>
4980
4981 * window.el (window-combination-p): Function deleted; its
4982 side-effect is not used in any existing code.
4983 (window-combinations, window-combined-p): Call window-*-child
4984 directly.
4985
24300f5f
CY
49862011-11-05 Chong Yidong <cyd@gnu.org>
4987
4988 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4989 (window-size-ignore, window-state-get): Callers changed.
4990 (window-normalize-window): Rename from window-normalize-any-window.
4991 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4992 (window-normalize-live-window): Delete.
447f16b8
CY
4993 (window-combination-p, window-combined-p, window-combinations)
4994 (walk-window-subtree, window-atom-root, window-min-size)
4995 (window-sizable, window-sizable-p, window-size-fixed-p)
4996 (window-min-delta, window-max-delta, window-resizable)
4997 (window-resizable-p, window-full-height-p, window-full-width-p)
4998 (window-current-scroll-bars, window-point-1, set-window-point-1)
4999 (window-at-side-p, window-in-direction, window-resize)
5000 (adjust-window-trailing-edge, maximize-window, minimize-window)
5001 (window-deletable-p, delete-window, delete-other-windows)
5002 (record-window-buffer, unrecord-window-buffer)
5003 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5004 (quit-window, split-window, window-state-put)
5005 (set-window-text-height, fit-window-to-buffer)
5006 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5007
89bd5ee1
EZ
50082011-11-04 Eli Zaretskii <eliz@gnu.org>
5009
53479029
EZ
5010 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5011 rfc2047-decode-string.
5012 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5013 warnings.
5014
89bd5ee1
EZ
5015 * window.el (window-body-height, window-body-width): Mention in
5016 the doc string that the return values are in frame's canonical
5017 units. (Bug#9949)
5018
bd17fdee
AM
50192011-11-03 Alan Mackenzie <acm@muc.de>
5020
5021 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5022 change in cc-engine.el.
5023
acc825c5
SM
50242011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5027
1885e5b8
MR
50282011-11-02 Martin Rudalics <rudalics@gmx.at>
5029
5030 * window.el (quit-window): Call unrecord-window-buffer after
5031 showing another buffer in the window. (Bug#9937)
acc825c5 5032 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5033
ebe06da9
JB
50342011-11-02 Juanma Barranquero <lekktu@gmail.com>
5035
5036 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5037 Accept status with more than 9 shelves. (Bug#9935)
5038 Reported by Colin D Bennett <colin@gibibit.com>.
5039
4ee88440
MR
50402011-11-01 Martin Rudalics <rudalics@gmx.at>
5041
5042 * help.el (with-help-window): Don't reference
5043 temp-buffer-show-specifiers in doc-string.
5044
08e1d82c
AS
50452011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5046
5047 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5048 menu-item.
5049
84bd6e9e
VJL
50502011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5051
5052 * whitespace.el: New version 13.2.2.
5053 (whitespace-newline-mode): Disable properly. Reported by Sarah
5054 <EmacsWiki>.
5055
dba0634a
UJ
50562011-10-30 Ulf Jasper <ulf.jasper@web.de>
5057
5058 * net/newst-treeview.el: Remove "Time-stamp".
5059 (newsticker--group-manage-orphan-feeds): Do not call
5060 newsticker--treeview-tree-update.
db22a3c2
JB
5061 (newsticker-treeview-update, newsticker-treeview):
5062 Call newsticker--treeview-tree-update if necessary.
dba0634a 5063
3d8daefe
MR
50642011-10-30 Martin Rudalics <rudalics@gmx.at>
5065
5066 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5067 (window-iso-combinations): Remove "iso-" infix.
5068 Suggested by Chong Yidong.
3d8daefe
MR
5069 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5070 (window-max-delta-1, window-resize, window--resize-siblings)
5071 (window--resize-this-window, adjust-window-trailing-edge)
5072 (split-window, balance-windows-1)
5073 (shrink-window-if-larger-than-buffer):
5074 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5075 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5076
1bc4c3ae
SM
50772011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5078
5079 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5080 in place (bug#9907).
5081 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5082 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5083 (eshell-structure-basic-command, eshell-rewrite-while-command)
5084 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5085 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5086 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5087 (eshell-do-pipelines-synchronously, eshell-eval-command):
5088 Use backquotes and prefer setq to set.
5089 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5090 (eshell-macrop): Use functionp.
c1e2f5fa 5091 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5092
30b65d9c
CY
50932011-10-30 Chong Yidong <cyd@gnu.org>
5094
5095 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5096 instead of set-mark (Bug#9810).
5097
2d197ffb
CY
50982011-10-30 Chong Yidong <cyd@gnu.org>
5099
5100 * window.el (split-window-below, split-window-right): Rename from
5101 split-window-above-each-other and split-window-side-by-side
5102 respectively. All callers changed.
5103 (split-window-sensibly, split-window-sensibly): Use them.
5104 (split-window-keep-point): Doc fix.
5105
5106 * isearch.el: Add isearch-scroll property to split-window-below
5107 and split-window-right.
5108
5109 * follow.el (follow-mode):
5110 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5111 * progmodes/ada-xref.el (ada-gdb-application):
5112 * emulation/vip.el (vip-buffer-in-two-windows):
5113 * image-dired.el (image-dired-dired-with-window-configuration):
5114 * dired-x.el (dired-do-find-marked-files):
5115 * dired.el (dired-pop-to-buffer):
5116 * bs.el (bs--show-with-configuration):
5117 * vc/emerge.el (emerge-setup-windows):
5118 * textmodes/two-column.el (2C-two-columns):
5119 * textmodes/reftex-toc.el (reftex-toc):
5120 * progmodes/gdb-mi.el (gdb-setup-windows):
5121 * progmodes/fortran.el (fortran-window-create):
5122 * net/newst-treeview.el (newsticker--treeview-window-init):
5123 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5124 * emulation/tpu-edt.el (tpu-gold-map):
5125 * emulation/crisp.el (crisp-mode-map):
5126 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5127
38bb2ca8
CY
51282011-10-29 Chong Yidong <cyd@gnu.org>
5129
aa4de341
CY
5130 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5131
e1eb5385
CY
5132 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5133
5d2ece3c
CY
5134 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5135 forged Ispell output (Bug#7904).
5136
38bb2ca8
CY
5137 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5138
d0af9f77
SM
51392011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * doc-view.el: Avoid ugly errors about not finding nil.
5142 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5143 (doc-view-dvipdf-program, doc-view-unoconv-program)
5144 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5145 Avoid nil or absolute file name as default value.
5146 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5147
52bedd34
AM
51482011-10-28 Alan Mackenzie <acm@muc.de>
5149
db22a3c2 5150 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5151
7e43cfa5
AM
51522011-10-28 Alan Mackenzie <acm@muc.de>
5153
5154 Amend the handling of c-beginning/end-of-defun in nested declaration
5155 scopes.
5156
52bedd34
AM
5157 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5158 cc-langs.el. Change it to a defcustom.
7e43cfa5 5159
52bedd34
AM
5160 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5161 cc-vars.el.
7e43cfa5 5162
d0af9f77
SM
5163 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5164 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5165
52bedd34 5166 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5167 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5168 (c-widen-to-enclosing-decl-scope): New function.
5169 (c-while-widening-to-decl-block): New macro.
5170 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5171 outward for defun boundaries, and correspondingly change symbol
5172 `respect-enclosure' to `go-outward'.
5173 (c-declaration-limits): Change algorithm to report only the "innermost"
5174 defun's boundaries.
5175
1a2ce9ee
DD
51762011-10-28 Deniz Dogan <deniz@dogan.se>
5177
5178 * net/rcirc.el (rcirc-mode): Use hard newlines.
5179
bc97a826
AM
51802011-10-28 Alan Mackenzie <acm@muc.de>
5181
5182 Amend to indent and fontify macros "which include their own semicolon"
5183 correctly, using the "virtual semicolon" mechanism.
5184
52bedd34 5185 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5186
d0af9f77 5187 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5188 Recode to scan one line at a time rather than having \n and \r
58179cce 5189 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5190 (c-forward-label): Amend for virtual semicolons.
58179cce 5191 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5192
52bedd34
AM
5193 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5194 of the new C macros.
bc97a826 5195
52bedd34 5196 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5197 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5198 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5199 (c-opt-cpp-macro-define): Make into a full language variable.
5200 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5201 AWK Mode (including \n, \r) removed, no longer needed.
5202
d0af9f77
SM
5203 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5204 Invoke c-make-macro-with-semi-re.
bc97a826 5205
52bedd34
AM
5206 * progmodes/cc-vars.el (c-macro-with-semi-re):
5207 (c-macro-names-with-semicolon): New variables.
58179cce 5208 (c-make-macro-with-semi-re): New function.
bc97a826 5209
7a6c0941
SM
52102011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * vc/log-edit.el: Fill empty field rather than adding new one.
5213 (log-edit-add-field): New function.
5214 (log-edit-insert-changelog): Use it.
5215
b0c4cdcf
ML
52162011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5217
5218 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5219
ee1f1da9
SM
52202011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5221
5222 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5223 (gdb--check-interpreter): New function.
5224 (gdb): Use it.
5225
51bc5f8b
GM
52262011-10-27 Glenn Morris <rgm@gnu.org>
5227
416a2c45
GM
5228 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5229 (least-positive-float, least-negative-float)
5230 (least-positive-normalized-float, least-negative-normalized-float)
5231 (float-epsilon, float-negative-epsilon):
5232 Remove unnecessary declarations.
5233
5234 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5235 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5236 (least-positive-float, least-negative-float)
5237 (least-positive-normalized-float, least-negative-normalized-float)
5238 (float-epsilon, float-negative-epsilon): Add doc-strings,
5239 based on those in cl.texi.
5240
51bc5f8b
GM
5241 * files.el (set-visited-file-name): If the major-mode changed,
5242 reload the local variables. (Bug#9796)
5243
15de15c6
CY
52442011-10-27 Chong Yidong <cyd@gnu.org>
5245
5246 * subr.el (change-major-mode-after-body-hook): New hook.
5247 (run-mode-hooks): Run it.
5248
ee1f1da9
SM
5249 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5250 Use change-major-mode-before-body-hook.
15de15c6
CY
5251
5252 * simple.el (fundamental-mode):
5253 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5254 change introducing fundamental-mode-hook.
5255
5430d399
JB
52562011-10-26 Juanma Barranquero <lekktu@gmail.com>
5257
acc825c5 5258 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5259
ad74a69e
MA
52602011-10-26 Michael Albinus <michael.albinus@gmx.de>
5261
5262 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5263 tramp.el explicitly. (Bug#7583)
ad74a69e 5264
71d4c2a5
SM
52652011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5266
5267 * progmodes/octave-mod.el:
5268 * progmodes/octave-inf.el: Update maintainer.
5269
b1f6fa26
CY
52702011-10-26 Chong Yidong <cyd@gnu.org>
5271
5272 * subr.el (with-wrapper-hook): Rewrite doc.
5273
3f04efd6
MA
52742011-10-25 Michael Albinus <michael.albinus@gmx.de>
5275
5276 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5277 filenames "/method:foo:". (Bug#9793)
3f04efd6 5278
410488d3
SM
52792011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5280
5281 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5282 (bug#9865).
5283
c1ebb47e
GM
52842011-10-24 Glenn Morris <rgm@gnu.org>
5285
5286 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5287
7f5c46c7
MA
52882011-10-24 Michael Albinus <michael.albinus@gmx.de>
5289
5290 * notifications.el: Add the requirement of a running D-Bus session
5291 bus to the Commentary.
5292
db2440b6
JL
52932011-10-24 Juri Linkov <juri@jurta.org>
5294
5295 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5296 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5297 (Bug#9364)
5298
feecf435
JL
52992011-10-24 Juri Linkov <juri@jurta.org>
5300
5301 * info.el (Info-following-node-name-re): Add newline to the list
5302 of allowed characters for leading space. (Bug#9824)
5303
a3839de2
SM
53042011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5305
acc825c5
SM
5306 * progmodes/octave-inf.el (inferior-octave-mode-map):
5307 Fix C-c C-h binding.
a3839de2
SM
5308 * progmodes/octave-mod.el (octave-help): Remove.
5309
09388e76
MA
53102011-10-23 Michael Albinus <michael.albinus@gmx.de>
5311
5312 Sync with Tramp 2.2.3.
5313
5314 * net/tramp-cache.el (top): Pacify byte-compiler using
5315 `init-file-user' and `site-run-file'.
5316
5317 * net/trampver.el: Update release number.
5318
86c60681
CY
53192011-10-23 Chong Yidong <cyd@gnu.org>
5320
5321 * files.el (toggle-read-only): Remove obsolete comment about
5322 version control.
5323
5324 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5325 for toggle-read-only. Note that this hasn't called vc-next-action
5326 since 2008-05-02, though it wasn't documented at the time.
5327
a3839de2
SM
5328 * vc/ediff-init.el (ediff-toggle-read-only-function):
5329 Use toggle-read-only.
86c60681 5330
cd5495ff
AM
53312011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5332
5333 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5334 of c-parse-state.
5335
00b77525 5336 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5337 correct faulty logical expression.
cd5495ff
AM
5338 (c-parse-state-state, c-record-parse-state-state):
5339 (c-replay-parse-state-state): New defvar/defuns.
5340 (c-debug-parse-state): Use new functions.
5341
42ee24ed
MR
53422011-10-22 Martin Rudalics <rudalics@gmx.at>
5343
5344 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5345 last fix. Use window-in-direction correctly.
42ee24ed 5346
a7dee7e7
CY
53472011-10-21 Chong Yidong <cyd@gnu.org>
5348
5349 * progmodes/idlwave.el (idlwave-mode):
5350 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5351 require-final-newline; that's done in prog-mode.
5352 Suggested by Stefan Monnier.
a7dee7e7 5353
e07b9a6d
MR
53542011-10-21 Martin Rudalics <rudalics@gmx.at>
5355
5356 * mouse.el (mouse-drag-window-above)
5357 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5358 (mouse-drag-mode-line-1, mouse-drag-header-line)
5359 (mouse-drag-vertical-line-rightward-window): Remove.
5360 (mouse-drag-line): New function.
5361 (mouse-drag-mode-line, mouse-drag-header-line)
5362 (mouse-drag-vertical-line): Call mouse-drag-line.
5363 * window.el (window-at-side-p, windows-at-side): New functions.
5364
7e1361d9
UM
53652011-10-21 Ulrich Mueller <ulm@gentoo.org>
5366
5367 * tar-mode.el (tar-grind-file-mode):
5368 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5369
30fcaf3a
CY
53702011-10-21 Chong Yidong <cyd@gnu.org>
5371
5372 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5373 * progmodes/vera-mode.el (vera-mode):
5374 Use mode-require-final-newline.
30fcaf3a 5375
516eddb0
GM
53762011-10-20 Glenn Morris <rgm@gnu.org>
5377
db22a3c2 5378 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5379
10d5f513
CS
53802011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5381
5382 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5383
ac6c8639
CY
53842011-10-20 Chong Yidong <cyd@gnu.org>
5385
5386 * emulation/cua-base.el (cua-mode):
5387 * mail/footnote.el (footnote-mode):
5388 * mail/mailabbrev.el (mail-abbrevs-mode):
5389 * net/xesam.el (xesam-minor-mode):
5390 * progmodes/bug-reference.el (bug-reference-mode):
5391 * progmodes/cap-words.el (capitalized-words-mode):
5392 * progmodes/compile.el (compilation-minor-mode)
5393 (compilation-shell-minor-mode):
5394 * progmodes/gud.el (gud-tooltip-mode):
5395 * progmodes/hideif.el (hide-ifdef-mode):
5396 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5397 * progmodes/subword.el (subword-mode):
5398 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5399 * progmodes/which-func.el (which-function-mode):
5400 * term/tvi970.el (tvi970-set-keypad-mode):
5401 * term/vt100.el (vt100-wide-mode):
5402 * textmodes/flyspell.el (flyspell-mode):
5403 * textmodes/ispell.el (ispell-minor-mode):
5404 * textmodes/nroff-mode.el (nroff-electric-mode):
5405 * textmodes/paragraphs.el (use-hard-newlines):
5406 * textmodes/refill.el (refill-mode):
5407 * textmodes/reftex.el (reftex-mode):
5408 * textmodes/rst.el (rst-minor-mode):
5409 * textmodes/sgml-mode.el (html-autoview-mode)
5410 (sgml-electric-tag-pair-mode):
5411 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5412 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5413 * emulation/crisp.el (crisp-mode):
5414 * emacs-lisp/eldoc.el (eldoc-mode):
5415 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5416 minor mode behavior.
5417
aa42ab43
JL
54182011-10-19 Juri Linkov <juri@jurta.org>
5419
5420 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5421 the list of hard-coded chars with escape-glyph face.
5422
89400f1d
SM
54232011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5426
305c07f6
MA
54272011-10-19 Michael Albinus <michael.albinus@gmx.de>
5428
5429 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5430 running process.
5431
13754b54
GM
54322011-10-19 Glenn Morris <rgm@gnu.org>
5433
5434 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5435 Ignore ignored files. (Bug#9726)
5436
06e21633
CY
54372011-10-19 Chong Yidong <cyd@gnu.org>
5438
5439 Doc fix for minor modes, stating that an omitted argument enables
5440 the mode unconditionally when called from Lisp.
5441
5442 * abbrev.el (abbrev-mode):
5443 * allout.el (allout-mode):
5444 * autoinsert.el (auto-insert-mode):
5445 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5446 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5447 (global-auto-revert-mode):
5448 * battery.el (display-battery-mode):
5449 * composite.el (global-auto-composition-mode)
5450 (auto-composition-mode):
5451 * delsel.el (delete-selection-mode):
5452 * desktop.el (desktop-save-mode):
5453 * dired-x.el (dired-omit-mode):
5454 * dirtrack.el (dirtrack-mode):
5455 * doc-view.el (doc-view-minor-mode):
5456 * double.el (double-mode):
5457 * electric.el (electric-indent-mode, electric-pair-mode):
5458 * emacs-lock.el (emacs-lock-mode):
5459 * epa-hook.el (auto-encryption-mode):
5460 * follow.el (follow-mode):
5461 * font-core.el (font-lock-mode):
5462 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5463 * help.el (temp-buffer-resize-mode):
5464 * hilit-chg.el (highlight-changes-mode)
5465 (highlight-changes-visible-mode):
5466 * hi-lock.el (hi-lock-mode):
5467 * hl-line.el (hl-line-mode, global-hl-line-mode):
5468 * icomplete.el (icomplete-mode):
5469 * ido.el (ido-everywhere):
5470 * image-file.el (auto-image-file-mode):
5471 * image-mode.el (image-minor-mode):
5472 * iswitchb.el (iswitchb-mode):
5473 * jka-cmpr-hook.el (auto-compression-mode):
5474 * linum.el (linum-mode):
5475 * longlines.el (longlines-mode):
5476 * master.el (master-mode):
5477 * mb-depth.el (minibuffer-depth-indicate-mode):
5478 * menu-bar.el (menu-bar-mode):
5479 * minibuf-eldef.el (minibuffer-electric-default-mode):
5480 * mouse-sel.el (mouse-sel-mode):
5481 * msb.el (msb-mode):
5482 * mwheel.el (mouse-wheel-mode):
5483 * outline.el (outline-minor-mode):
5484 * paren.el (show-paren-mode):
5485 * recentf.el (recentf-mode):
5486 * reveal.el (reveal-mode, global-reveal-mode):
5487 * rfn-eshadow.el (file-name-shadow-mode):
5488 * ruler-mode.el (ruler-mode):
5489 * savehist.el (savehist-mode):
5490 * scroll-all.el (scroll-all-mode):
5491 * scroll-bar.el (scroll-bar-mode):
5492 * server.el (server-mode):
5493 * shell.el (shell-dirtrack-mode):
5494 * simple.el (auto-fill-mode, transient-mark-mode)
5495 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5496 (line-number-mode, column-number-mode, size-indication-mode)
5497 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5498 * strokes.el (strokes-mode):
5499 * time.el (display-time-mode):
5500 * t-mouse.el (gpm-mouse-mode):
5501 * tool-bar.el (tool-bar-mode):
5502 * tooltip.el (tooltip-mode):
5503 * type-break.el (type-break-mode-line-message-mode)
5504 (type-break-query-mode):
5505 * view.el (view-mode):
5506 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5507 (global-whitespace-mode, global-whitespace-newline-mode):
5508 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5509
a3839de2
SM
5510 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5511 Fix autogenerated docstring.
06e21633 5512
5214e501
JL
55132011-10-19 Juri Linkov <juri@jurta.org>
5514
5515 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5516 by checking environment variables "DESKTOP_SESSION" and
5517 "XDG_CURRENT_DESKTOP". (Bug#9779)
5518
195f8db9
JL
55192011-10-19 Juri Linkov <juri@jurta.org>
5520
5521 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5522 (browse-url-chromium-program, browse-url-chromium-arguments):
5523 New defcustoms.
5524 (browse-url-default-browser): Check for `browse-url-chromium' and
5525 call `browse-url-chromium-program'.
5526 (browse-url-chromium): New command. (Bug#9779)
5527
343a34ff
JB
55282011-10-18 Juanma Barranquero <lekktu@gmail.com>
5529
5530 * facemenu.el (list-colors-duplicates): On Windows, detect more
5531 duplicates by assuming that only colors matching "^System" are
5532 special "system colors". (Bug#9722)
5533
6978a151
SM
55342011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5535
5536 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5537 to distinguish the author from the committer.
5538
6a80b297
MA
55392011-10-18 Michael Albinus <michael.albinus@gmx.de>
5540
5541 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5542
b31a5677
JK
55432011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5544
5545 * international/mule.el (sgml-html-meta-auto-coding-function):
5546 Add support for detecting encoding in HTML5 specified only as
5547 <meta charset="UTF-8">. Implementation just makes http-equiv and
5548 content-type parts from HTML4 encoding string optional. (Bug#9716)
5549
80c6d77f
GM
55502011-10-18 Glenn Morris <rgm@gnu.org>
5551
5552 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5553
08b0fee8
CY
55542011-10-18 Chong Yidong <cyd@gnu.org>
5555
5556 * faces.el (cursor): Doc fix.
5557
67e729a5
CY
55582011-10-17 Chong Yidong <cyd@gnu.org>
5559
5560 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5561
343a34ff 55622011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5563
5564 * dirtrack.el (dirtrack): Support shell buffers with path
5565 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5566
0bc06380
TZ
55672011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5568
5569 * json.el: Bump version to 1.3 and note change in History.
5570 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5571
8b79f3e0
SM
55722011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5573
5a7c536b
SM
5574 * comint.el (comint-insert-input, comint-send-input)
5575 (comint-get-old-input-default, comint-backward-matching-input)
5576 (comint-next-prompt): Use nil instead of `input' for field property of
5577 past user input (bug#114).
5578
96a8a0df
SM
5579 * minibuffer.el (completion--replace): Inherit surrounding properties
5580 (bug#114).
5581 (minibuffer-complete-and-exit): Use it.
5582
8b79f3e0
SM
5583 * comint.el (comint--table-subvert): Quote the all-completions output
5584 (bug#9160).
5585
b8f7ff0d
MR
55862011-10-17 Martin Rudalics <rudalics@gmx.at>
5587
8b79f3e0 5588 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5589
b8f7ff0d 5590 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5591 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5592 entries and separate them from frame entries.
5593
c235b555
GM
55942011-10-15 Glenn Morris <rgm@gnu.org>
5595
5596 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5597 Doc fixes.
5598
6bbfa6e1
CY
55992011-10-15 Chong Yidong <cyd@stupidchicken.com>
5600
8b79f3e0
SM
5601 * net/network-stream.el (network-stream-open-starttls):
5602 Improve detection of failure due to lack of TLS support.
ec5c990d 5603
6bbfa6e1
CY
5604 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5605 putting the input text in front and in bold.
5606
98488977
SM
56072011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5608
3d1337be
SM
5609 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5610
ee0b45e4
SM
5611 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5612 empty buffer.
5613
98488977
SM
5614 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5615 unread-command-events rather than pushing yet-another event.
5616
186f4720
EZ
56172011-10-14 Eli Zaretskii <eliz@gnu.org>
5618
5619 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5620 the explanation of the possible choices. Make the options passed
5621 to completing-read shorter.
5622
8b7a997c
AM
56232011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5624
5625 * textmodes/flyspell.el (flyspell-large-region): Make sure
5626 extended character mode is used if defined (Bug#1339).
5627
12587bbb
EZ
56282011-10-13 Eli Zaretskii <eliz@gnu.org>
5629
5630 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5631 character info for LRE, LRO, RLE, and RLO characters by appending
5632 an invisible PDF.
12587bbb 5633
bad41229
SM
56342011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5637 even in case of error; add debug spec; simplify data flow.
5638 (with-timeout-handler): Remove.
5639
28dbc92f
MA
56402011-10-12 Michael Albinus <michael.albinus@gmx.de>
5641
5642 Fix Bug#6019, Bug#9315.
5643
5644 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5645 complete `buffer-file-name', the local file name part could look
5646 remotely (for example on VMS).
5647
5648 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5649 `tramp-run-real-handler'.
5650 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5651 already quoted by '"'.
5652
5653 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5654 Let `file-name-handler-alist' be nil, the local file name part
5655 could look remotely (for example on VMS).
5656
e1b0b23a
SM
56572011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5660 from here...
5661 (flyspell-post-command-hook): ...to here.
5662
a120bde9
SM
56632011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5666 if not needed.
5667 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5668 using completion. Protect against "slow" callers.
5669 Remove the "message hack".
5670
7ce7717b
JL
56712011-10-11 Juri Linkov <juri@jurta.org>
5672
5673 * isearch.el (isearch-lazy-highlight-word): New variable.
5674 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5675 Use it. (Bug#9727)
5676
c02ee9d6
GM
56772011-10-11 Glenn Morris <rgm@gnu.org>
5678
5679 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5680 like f90-previous-statement does.
5681
93e616fd 56822011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5683
1f190e73 5684 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5685 only in interactive use, to avoid error.
5686
af7b6078
SM
56872011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5688
5689 * minibuffer.el (completion-file-name-table): Fix last change,
5690 i.e. ignore normal errors but not the other ones.
5691
0563dae9
MR
56922011-10-10 Martin Rudalics <rudalics@gmx.at>
5693
5694 * window.el (special-display-buffer-names)
5695 (special-display-regexps): Remove some remnants of earlier
5696 changes from doc-strings.
366ca7f3
MR
5697 (quit-windows-on): New function.
5698
5699 * vc/vc.el (vc-revert, vc-rollback):
5700 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5701 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5702 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5703
49677495
MR
57042011-10-09 Martin Rudalics <rudalics@gmx.at>
5705
5706 * window.el (frame-auto-hide-function): Add version tag.
5707 (Bug#9699)
5708
56f2d1e1
MA
57092011-10-09 Michael Albinus <michael.albinus@gmx.de>
5710
5711 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5712 condition.
5713
112a6592
LL
57142011-10-09 Leo Liu <sdl.web@gmail.com>
5715
5716 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5717 (Bug#9701)
5718
0812589b
GM
57192011-10-08 Glenn Morris <rgm@gnu.org>
5720
5721 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5722 before the first code statement zero indent. (Bug#9690)
5723
b2b0776e
CY
57242011-10-08 Chong Yidong <cyd@stupidchicken.com>
5725
5726 * simple.el (count-words-region): Always count in the region.
5727 Report the number of lines and characters too.
5728 (count-words): New command, which counts in the buffer if the
5729 region is inactive, as count-words-region used to.
5730 (count-words--message): New function. Handle plurals.
5731 (count-lines-region): Make it an alias for count-words-region.
5732
5733 * bindings.el (esc-map): Replace count-lines-region with
5734 count-words-region.
5735
c557cd6b
MR
57362011-10-08 Martin Rudalics <rudalics@gmx.at>
5737
5738 * window.el (window--delete): Delete dedicated frame
5739 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5740 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5741
61a57ef4 57422011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5743
3a7d293b 5744 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5745
c3833279
CY
57462011-10-07 Chong Yidong <cyd@stupidchicken.com>
5747
5748 * bindings.el ([M-left],[M-right]): Bind to left-word and
5749 right-word respectively.
5750
21ce8245
GM
57512011-10-07 Glenn Morris <rgm@gnu.org>
5752
5753 * cus-start.el (debug-on-quit): Fix custom type.
5754
6d823bb2
LMI
57552011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5756
0181e193
LMI
5757 * subr.el (define-key-after): Clarify that the function is not
5758 useful for non-menu keymaps.
5759
6d823bb2
LMI
5760 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5761
8e3459ce 57622011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5763
21ce8245 5764 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5765 in current minibuffer (Fix bug with recursive minibuffers).
5766
a1c2d21e
CY
57672011-10-06 Chong Yidong <cyd@stupidchicken.com>
5768
5769 * progmodes/gdb-mi.el (gdb): Doc fix.
5770
5a4cf282
MR
57712011-10-05 Martin Rudalics <rudalics@gmx.at>
5772
5773 * window.el (frame-auto-hide-function): New option replacing
5774 frame-auto-delete. Suggested by Stefan Monnier.
5775 (window--delete): Call frame-auto-hide-function instead of
5776 investigating frame-auto-delete.
c96111ea
MR
5777 (window-point-1, set-window-point-1): New functions.
5778 (window-in-direction, record-window-buffer, window-state-get-1)
5779 (display-buffer-record-window): Use window-point-1 instead of
5780 window-point.
5781 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5782
9854542e
SM
57832011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5786
8943cfb0
GM
57872011-10-05 Glenn Morris <rgm@gnu.org>
5788
5789 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5790 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5791
647ab967
LL
57922011-10-05 Leo Liu <sdl.web@gmail.com>
5793
5794 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5795 works with buffer object.
5796
3ddfbced
SM
57972011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5798
5799 * mpc.el (mpc-tool-bar-map): Add labels.
5800
bdfa5dd2
GM
58012011-10-04 Glenn Morris <rgm@gnu.org>
5802
5803 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5804
0e2070b5
MR
58052011-10-04 Martin Rudalics <rudalics@gmx.at>
5806
5807 * window.el (window--delete): New function.
5808 (frame-auto-delete): Resuscitate option.
5809 (bury-buffer, replace-buffer-in-windows)
5810 (quit-window): Rewrite using window--delete.
5811 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5812 Pass display-buffer-mark-dedicated to window--display-buffer-2
5813 (Bug#9639).
5814
3dc61a09
SM
58152011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5816
915a9b64
SM
5817 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5818 returns a list (bug#9554). Add remote file name completion.
5819 * comint.el (comint--table-subvert): Curry and get quote&unquote
5820 functions as arguments.
5821 (comint--complete-file-name-data): Adjust call accordingly.
5822 * pcomplete.el (pcomplete--table-subvert): Remove.
5823 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5824
3dc61a09
SM
5825 * minibuffer.el (completion-table-case-fold): Use currying.
5826 (completion--styles-type, completion--cycling-threshold-type):
5827 New constants.
5828 (completion-styles, completion-category-overrides)
5829 (completion-cycle-threshold): Use them.
5830 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5831 completion-table-case-fold.
5832
8ea0a993
SB
58332011-10-03 Stephen Berman <stephen.berman@gmx.net>
5834
5835 * minibuffer.el (completion-category-overrides): Fix type of styles
5836 and add more user friendly tags (bug#9660).
5837
8c24b7f6
SM
58382011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5839
5840 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5841 (mule-input-method-string): New widget.
5842 (default-input-method, language-info-custom-alist): Use it.
5843
428fe61a
SM
58442011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5845
32c1fffd
SM
5846 * pcomplete.el: Require comint.
5847 (pcomplete--common-suffix): Remove.
5848 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5849 (pcomplete--table-subvert): Sync with comint--table-subvert.
5850 (pcomplete--entries): Use comint-completion-file-name-table.
5851 * comint.el (comint-unquote-filename): Simplify.
5852 (comint-completion-file-name-table): New function (bug#9616).
5853 (comint--complete-file-name-data): Use it.
5854
428fe61a
SM
5855 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5856 (pcmpl-gnu-tar-buffer): Remove.
5857 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5858 around. Make sure pcomplete-suffix-list is only changed temporarily.
5859 Don't look inside the tar's file if it's too large.
428fe61a 5860
04c52e2f
CY
58612011-10-01 Chong Yidong <cyd@stupidchicken.com>
5862
ce3cefcc
CY
5863 * cus-edit.el (custom-mode-map):
5864 * epa.el (epa-key-list-mode-map):
5865 * man.el (Man-mode-map):
5866 * startup.el (splash-screen-keymap):
5867 * simple.el (special-mode-map): Use scroll-up-command and
5868 scroll-down-command.
5869
5870 * progmodes/idlw-help.el (idlwave-help-mode-map):
5871 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5872 * net/newst-plainview.el (newsticker-mode-map):
5873 * emulation/ws-mode.el (wordstar-mode-map):
5874 * emulation/vi.el (vi-com-map):
5875 * calc/calc-graph.el (calc-graph-show-dumb):
5876 * term/sun.el (terminal-init-sun):
5877 * term/ns-win.el (global-map):
5878 * progmodes/grep.el (grep-mode-map):
5879 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5880 * mail/rmail.el (rmail-mode-map):
5881 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5882
04c52e2f
CY
5883 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5884 custom-safe-themes as special.
5885
79adf8c8
JD
58862011-10-01 Julien Danjou <julien@danjou.info>
5887
5888 * notifications.el (notifications-notify): Fix docstring.
5889
63bd50d3
PS
58902011-10-01 Per Starbäck <per@starback.se>
5891
5892 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5893
199e4c7e
MR
58942011-09-30 Martin Rudalics <rudalics@gmx.at>
5895
5896 * startup.el (command-line-1): Fix last fix by inserting
5897 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5898 (Bug#9605) and (Bug#9636)
199e4c7e 5899
fe5f08dd
EZ
59002011-09-29 Eli Zaretskii <eliz@gnu.org>
5901
5902 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5903 window is hscrolled, move by logical lines. (Bug#9607)
5904 (line-move-visual): Update the doc string to the above effect.
5905
b5516bbd
MR
59062011-09-29 Martin Rudalics <rudalics@gmx.at>
5907
ccee00c0
MR
5908 * window.el (display-buffer-record-window): When WINDOW is the
5909 selected window use `point' instead of `window-point'. (Bug#9626)
5910
b5516bbd
MR
5911 * startup.el (command-line-1): Use insert-before-markers when
5912 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5913
b5516bbd
MR
5914 * help.el (help-window): Remove variable.
5915
52aa0014
GM
59162011-09-29 Glenn Morris <rgm@gnu.org>
5917
5918 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5919
df9a7357
JB
59202011-09-29 Juanma Barranquero <lekktu@gmail.com>
5921
5922 * descr-text.el (describe-char-categories): Accept category
5923 descriptions more than one line long.
5924
a8406c20
SM
59252011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5926
88d9610c
SM
5927 * simple.el (delete-trailing-whitespace): Fix last change.
5928
a5daf810
SM
5929 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5930 Don't confuse "y => 3" as the beginning of a `y' operation.
5931
a8406c20
SM
5932 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5933 object has more than 4 slots (bug#9613).
5934
a239d4e9
JB
59352011-09-28 Juanma Barranquero <lekktu@gmail.com>
5936
5937 * subr.el (with-output-to-temp-buffer):
5938 * net/quickurl.el (quickurl, quickurl-browse-url):
5939 Fix typos in docstrings.
5940
693fbdb6
EZ
59412011-09-27 Eli Zaretskii <eliz@gnu.org>
5942
5943 * minibuffer.el (completion-styles)
5944 (completion-category-overrides): Cross reference each other in doc
5945 strings.
5946
8b457e28
GM
59472011-09-27 Glenn Morris <rgm@gnu.org>
5948
5949 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5950 to split-string. (Bug#9606)
5951
85a16208
LMI
59522011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5953
5954 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5955 (bug#9615).
5956
502f9ebd
CY
59572011-09-27 Chong Yidong <cyd@stupidchicken.com>
5958
5959 * emacs-lisp/package.el (list-packages): Fix echo area message.
5960
7690bdea
LL
59612011-09-27 Leo Liu <sdl.web@gmail.com>
5962
5963 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5964
e2ee6f30
MA
59652011-09-25 Michael Albinus <michael.albinus@gmx.de>
5966
5967 * net/dbus.el (dbus-unregister-object): Don't release services for
5968 registered signals. (Bug#9581)
5969
f3f98342
TZ
59702011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5971
5972 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5973 function that picks between cfengine 2 and 3 support
5974 automatically. Update docs accordingly.
5975
dd7aa8dd
KH
59762011-09-22 Kenichi Handa <handa@m17n.org>
5977
5978 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5979 ZERO.
5980 (indian-itrans-v5-table-for-tamil): New variable.
5981 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5982
3f2b07f8
KM
59832011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5984
5985 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5986 that's true if the current command involved collapsing of text.
5987 It's reset to false at the beginning of the next command.
5988 (allout-post-command-business): Move the cursor to the beginning
5989 of entry if the cursor is hidden and collapsing activity just
5990 happened.
5991
371d6a61
CY
59922011-09-24 Chong Yidong <cyd@stupidchicken.com>
5993
5994 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5995 tracking (Bug#9541).
5996
2ac2721a
UJ
59972011-09-24 Ulf Jasper <ulf.jasper@web.de>
5998
5999 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6000 (newsticker-show-news): Automatically load html rendering package
6001 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6002 because w3m-fill-column is let-bound" and the error "Symbol's value
6003 as variable is void: w3m-fill-column".
2ac2721a 6004
fac7ae53
MA
60052011-09-24 Michael Albinus <michael.albinus@gmx.de>
6006
6007 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6008 Release services only if they are defined. (Bug#9581)
6009
e08b633b
RS
60102011-09-23 Richard Stallman <rms@gnu.org>
6011
e488d29c
RS
6012 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6013 distinguish start of paragraph from start of its text.
6014
19c38752
RS
6015 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6016
e08b633b
RS
6017 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6018 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6019 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6020
0a39f27e
AS
60212011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6022
6023 * international/mule-diag.el (mule-diag): Insert a newline after
6024 each fontset description.
6025
db4e950d
SM
60262011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6027
6028 * simple.el (delete-trailing-whitespace):
6029 Document last change; simplify.
6030
eca3f3ea
PW
60312011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6032
d68e189a
PW
6033 * simple.el (delete-trailing-whitespace): Also delete
6034 extra newlines at the end of the buffer.
6035
eca3f3ea
PW
6036 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6037 (picture-newline): Use forward-line so as to ignore fields.
6038
01c157cc
SM
60392011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6040
6041 * subr.el (with-wrapper-hook): Fix edebug spec.
6042
022de23e
LMI
60432011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6044
6045 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6046 (bug#4538).
6047
91683089
MA
60482011-09-23 Michael Albinus <michael.albinus@gmx.de>
6049
eca3f3ea
PW
6050 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6051 Fix nasty bug using wrong cached values.
91683089 6052
5bdd6fa4
AM
60532011-09-23 Alan Mackenzie <acm@muc.de>
6054
6055 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6056
97adfb97
CY
60572011-09-23 Chong Yidong <cyd@stupidchicken.com>
6058
6059 * window.el (pop-to-buffer): Ensure right window is selected if we
6060 chose another frame.
6061
d4ef2b50
EZ
60622011-09-22 Eli Zaretskii <eliz@gnu.org>
6063
6064 * simple.el (what-cursor-position): Use get-char-property-change
6065 and next-single-char-property-change, to be able to show display
6066 properties that come from overlays as well as text properties.
6067
72258fe5
CY
60682011-09-22 Chong Yidong <cyd@stupidchicken.com>
6069
6070 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6071
6072 * cmuscheme.el (run-scheme, switch-to-scheme):
6073 * cus-edit.el (customize-group, custom-buffer-create)
6074 (customize-browse):
6075 * info.el (info):
6076 * shell.el (shell):
6077 * mail/sendmail.el (mail):
6078 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6079
8f098516
RS
60802011-09-22 Richard Stallman <rms@gnu.org>
6081
6082 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6083 move back only to line beg, don't move back over blank lines.
6084
e74f1bb6
MA
60852011-09-22 Michael Albinus <michael.albinus@gmx.de>
6086
6087 * files.el (copy-directory): Set directory attributes only in case
6088 they could be retrieved from the source directory. (Bug#9565)
6089
bfeef8b6
DK
60902011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6091
6092 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6093 (hs-find-block-beginning, hs-hide-level-recursive):
6094 Ignore strings as well as comments. (Bug#9502)
6095
7e423bb8
AS
60962011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6097
6098 * progmodes/sql.el (sql-comint-postgres):
6099 Convert port number to a string. (Bug#9566)
6100
b4d72fcf
MR
61012011-09-22 Martin Rudalics <rudalics@gmx.at>
6102
6103 * window.el (quit-window): Undedicate window when switching to
6104 previous buffer. Reported by Thierry Volpiatto
6105 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6106 (special-display-popup-frame): When popping up a new frame reset
6107 its previous buffers to nil. Simplify code.
b4d72fcf 6108
a7b88dc6
MA
61092011-09-21 Michael Albinus <michael.albinus@gmx.de>
6110
6111 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6112 and process filter, as done also in `shell-command'.
6113
cf4eacfd
MR
61142011-09-21 Martin Rudalics <rudalics@gmx.at>
6115
eca3f3ea 6116 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6117 Call set-window-start with NOFORCE argument t.
6118 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6119 (quit-window): Reword doc-string. Handle new format of
6120 quit-restore parameter. Don't delete window if it has a
6121 previous buffer we can show instead of the present one.
6122 (display-buffer-record-window): Rewrite using a new format for
6123 the quit-restore window parameter
6124 (special-display-popup-frame, display-buffer-same-window)
6125 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6126 (display-buffer-pop-up-window, display-buffer-use-some-window):
6127 Adapt symbol passed to display-buffer-record-window.
6128 * help.el (help-window-setup): Handle new format of quit-restore
6129 parameter.
6130
8d28cb95
SM
61312011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6132
94ab793f
SM
6133 * faces.el (face-list): Fix docstring (bug#9564).
6134
8d28cb95
SM
6135 * window.el (display-buffer--action-function-custom-type):
6136 Don't include internal functions in the Custom interface.
6137
3820edeb
JL
61382011-09-20 Juri Linkov <juri@jurta.org>
6139
6140 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6141 (Info-forward-node, Info-backward-node, Info-next-preorder)
6142 (Info-last-preorder): Use it. (Bug#9528)
6143
5147931d
JL
61442011-09-20 Juri Linkov <juri@jurta.org>
6145
6146 * info.el (Info-last-preorder): Visit last menu item only when
6147 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6148
cf499a1a
JD
61492011-09-20 Julien Danjou <julien@danjou.info>
6150
6151 * password-cache.el (password-cache-remove): Remove entries even if the
6152 value is nil, so that password with a nil value (negative caching) is
6153 possible to invalidate.
6154
f84e2fe2
LM
61552011-09-20 Lawrence Mitchell <wence@gmx.li>
6156
6157 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6158 all whitespace around breakpoint. (Bug#9553)
6159 (f90-find-breakpoint): Only break at whitespace inside a comment.
6160
78054a46
SM
61612011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6162
6163 * minibuffer.el (completion-file-name-table): Keep track of errors.
6164 (completion-table-with-predicate): Handle the case where pred1 is nil.
6165 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6166
345083b2
SM
61672011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6168
e24e27be
SM
6169 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6170 (debugger-return-value): Signal an error if the debugging context does
6171 not await any return value.
6172
345083b2
SM
6173 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6174 * image-mode.el (image-toggle-display-text)
6175 (image-toggle-display-image): Stay away from evil `intangible'.
6176
08d355e3
LL
61772011-09-19 Leo Liu <sdl.web@gmail.com>
6178
6179 * replace.el (occur-revert-arguments): Make it permanent-local.
6180 (occur-mode): Don't call font-lock-defontify.
6181
f01da43f
CY
61822011-09-19 Chong Yidong <cyd@stupidchicken.com>
6183
6184 * net/ldap.el (ldap-search-internal): Don't push empty search
6185 result (Bug#9508).
6186
b6072fa6
SM
61872011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6188
6189 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6190
443d6696
MA
61912011-09-19 Michael Albinus <michael.albinus@gmx.de>
6192
6193 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6194 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6195
7cc6e154
JL
61962011-09-18 Juri Linkov <juri@jurta.org>
6197
6198 * buff-menu.el (Buffer-menu-mode-map):
6199 * dired.el (dired-mode-map):
6200 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6201 (lisp-interaction-mode-map):
6202 * emacs-lisp/package.el (package-menu-mode-map):
6203 * epa.el (epa-key-list-mode-map):
6204 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6205 (menu-bar-options-menu):
6206 * outline.el (outline-mode-menu-bar-map):
6207 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6208 * vc/vc-dir.el (vc-dir-menu-map):
6209 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6210 Capitalize non-function content words in menu item strings.
6211
6212 * dired.el (dired-mode-map): Add menu item for
6213 `image-dired-dired-toggle-marked-thumbs'.
6214
80302a81
JL
62152011-09-18 Juri Linkov <juri@jurta.org>
6216
6217 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6218 to `isearch-case-fold-search' and restore its original value
6219 after the `isearch-mode' call.
6220
46c5cf66
JL
62212011-09-18 Juri Linkov <juri@jurta.org>
6222
6223 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6224 because `zgrep' returns 1 for successful matches (bug#9226).
6225
d18b513b
JL
62262011-09-18 Juri Linkov <juri@jurta.org>
6227
6228 * info.el (Info-extract-menu-node-name): Check the second match
6229 for empty string (second test-case of bug#9528).
6230 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6231 intermediate nodes to the history (first test-case of bug#9528).
6232
72753f87
JL
62332011-09-18 Juri Linkov <juri@jurta.org>
6234
6235 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6236 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6237
c9384295
JL
62382011-09-18 Juri Linkov <juri@jurta.org>
6239
1154d12e
JB
6240 * info.el (Info-file-supports-index-cookies):
6241 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6242 outputs one more line for long file names (bug#4142).
c9384295 6243
d473dce8
CY
62442011-09-18 Chong Yidong <cyd@stupidchicken.com>
6245
6246 * newcomment.el (comment-normalize-vars): If prompting for
6247 comment-start, set comment-start-skip too (Bug#8424).
6248
2176854d
JB
62492011-09-18 Johan Bockgård <bojohan@gnu.org>
6250
6251 * icomplete.el: Fix previous fix of Bug#5849.
6252 (icomplete-mode): Don't set completion-show-inline-help.
6253 (icomplete-minibuffer-setup): Set completion-show-inline-help
6254 locally during icompletion.
6255
3aace4e4
CY
62562011-09-18 Chong Yidong <cyd@stupidchicken.com>
6257
c940224f
CY
6258 * woman.el (woman2-process-escapes): Don't delete unrecognized
6259 escapes (Bug#7843).
6260
3aace4e4
CY
6261 * files.el (inhibit-first-line-modes-regexps): Add image files.
6262 (hack-local-variables-prop-line): Return nil for malformed
6263 prop-lines (Bug#9044).
6264
710dec63
MA
62652011-09-18 Michael Albinus <michael.albinus@gmx.de>
6266
6267 * net/tramp.el (top): Don't require 'shell.
6268 (tramp-methods): Fix docstring.
6269 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6270 Return complete remote file name. Handle "smb" case.
6271 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6272 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6273
6274 * net/tramp-compat.el (top): Require 'shell.
6275
6276 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6277 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6278 `tramp-current-host'.
6279 (tramp-get-remote-tmpdir): Remove.
6280
6281 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6282 `tramp-tmpdir' entries.
6283 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6284 (tramp-smb-handle-file-attributes): Ignore errors.
6285 (tramp-smb-wait-for-output): Check also for process end.
6286
5d5ac8ec
LMI
62872011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6288
6289 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6290 when sending QUIT (bug#9312).
6291
8c0f49f0
CY
62922011-09-17 Chong Yidong <cyd@stupidchicken.com>
6293
6294 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6295 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6296 occur-mode-display-occurrence.
6297 (occur-edit-mode): Add usage message.
6298 (occur-cease-edit): New command.
6299 (occur-after-change-function): Use text properties to find the
6300 position of the prefix text.
6301 (occur-engine): Set stickiness of prefix text properties.
6302
8f1383f7
GM
63032011-09-17 Glenn Morris <rgm@gnu.org>
6304
6305 * progmodes/etags.el (complete-tag):
6306 Fix call to completion-in-region. (Bug#9526)
6307
744ba0e3
JL
63082011-09-17 Juri Linkov <juri@jurta.org>
6309
6310 * textmodes/ispell.el (ispell-word): Add to the error message
6311 the word, ispell program name and current dictionary (bug#9121).
6312 (ispell-tex-arg-end): Capitalize "error" in the error message.
6313
d9bbf400
AS
63142011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6315
6316 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6317 check. (Bug#4251)
6318
8da11505
JL
63192011-09-17 Juri Linkov <juri@jurta.org>
6320
6321 * window.el (window-safe-min-height, window-safe-min-width):
6322 Fix typos (followup to bug#9522).
6323
a91adc7e
SJ
63242011-09-17 Sven Joachim <svenjoac@gmx.de>
6325
6326 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6327
064f328a
EZ
63282011-09-16 Eli Zaretskii <eliz@gnu.org>
6329
6330 * simple.el (line-move): If goal-column is set, move by logical
6331 lines, not by display lines. (Bug#971)
6332 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6333 to reflect the above change.
6334
e69df516
SM
63352011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6336
6337 * image.el (imagemagick-register-types): Use regexp-opt.
6338
cbb0f9ab
CY
63392011-09-15 Chong Yidong <cyd@stupidchicken.com>
6340
6341 * window.el (display-buffer-base-action): Rename from
6342 display-buffer-default-action. Make default value empty.
6343 (display-buffer-overriding-action): Convert to defvar.
6344 (display-buffer-fallback-action): New var.
6345
25322144
CY
63462011-09-15 Chong Yidong <cyd@stupidchicken.com>
6347
6348 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6349 declaration.
6350 (package--add-to-archive-contents): If there is a duplicate entry
6351 with an older version, remove it.
6352 (package-menu-mark-delete, package-menu-mark-install)
6353 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6354 (package-menu-mark-obsolete-for-deletion):
6355 Use package-menu-get-status instead of a regexp search.
25322144
CY
6356 (package-menu-get-status): Use tabulated-list-entry.
6357 (package-menu-mark-upgrades): New command.
d770725a 6358 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6359 (package-menu-execute): Do installation before deletion.
6360 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6361 instead of checking major-mode.
6362 (package-menu--find-upgrades): New function.
6363
7520339c
LMI
63642011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6365
6366 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6367 passwords in the log buffer.
65a046c4
LMI
6368 (smtpmail-process-filter): Update the process marker so that the
6369 "broken by peer" status message is inserted in the right place.
7520339c 6370
d3c30954
SM
63712011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6372
3fe48822
SM
6373 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6374 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6375 bibtex-completion-at-point-function.
6376 (bibtex-completion-at-point-function): Use them.
6377
1b8b3954
SM
6378 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6379
d3c30954
SM
6380 * mpc.el (mpc-constraints-tag-lookup): New function.
6381 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6382 also to browser "album|playlist".
6383
72779976
JL
63842011-09-14 Juri Linkov <juri@jurta.org>
6385
6386 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6387 (isearch-edit-string): Use length of `isearch-string' when
6388 `isearch-fail-pos' returns nil.
6389 (isearch-message): Remove duplicate code and call
6390 `isearch-fail-pos' with arg `t'.
6391
a0bf2bcd
CY
63922011-09-14 Chong Yidong <cyd@stupidchicken.com>
6393
17bb0a2d
CY
6394 * replace.el (occur-mode-goto-occurrence): Don't force using other
6395 window (Bug#9499).
6396
a0bf2bcd
CY
6397 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6398
f678e0b6
MR
63992011-09-14 Martin Rudalics <rudalics@gmx.at>
6400
6401 * window.el (display-buffer-window): Remove.
6402 (display-buffer-record-window): Use help-setup window parameter
6403 instead of variable display-buffer-window.
6404 (display-buffer-function, special-display-buffer-names)
6405 (special-display-function): Mention help-setup parameter instead
6406 of display-buffer-window in doc-string.
d3c30954
SM
6407 * help.el (help-window-setup): New argument help-window.
6408 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6409 Reword some messages.
6410 (with-help-window): Pass window used for displaying the buffer
6411 to help-window-setup. Don't set display-buffer-window.
6412
8e39b2e8
GM
64132011-09-13 Glenn Morris <rgm@gnu.org>
6414
6415 * emacs-lisp/debug.el (debugger-make-xrefs):
6416 Preserve point. (Bug#9462)
6417
85e9c04b
CY
64182011-09-13 Chong Yidong <cyd@stupidchicken.com>
6419
6420 * window.el (window-deletable-p): Use next-frame.
6421
1b36ed6a
MR
64222011-09-13 Martin Rudalics <rudalics@gmx.at>
6423
6424 * window.el (window-auto-delete): Remove.
6425 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6426 dedication and previous buffers.
1b36ed6a
MR
6427 (switch-to-prev-buffer): Don't delete window.
6428 (delete-windows-on): Delete a window's frame if and only if the
6429 window is dedicated.
6430 (replace-buffer-in-windows): Delete buffer's window or frame if
6431 and only if window is dedicated.
6432 (quit-window): Handle quit-restore as before last change.
4d61f28d 6433 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6434
ef8ef9fb
CY
64352011-09-13 Chong Yidong <cyd@stupidchicken.com>
6436
6437 * window.el (window-deletable-p): Never delete the last frame on a
6438 given terminal.
6439
b2cba41e
GM
64402011-09-13 Glenn Morris <rgm@gnu.org>
6441
6442 * help.el (describe-key-briefly): Copy previous standard-output change.
6443
51553db6 64442011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6445
6446 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6447
b7556719
GM
64482011-09-13 Glenn Morris <rgm@gnu.org>
6449
6450 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6451 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6452
64b51947
CY
64532011-09-12 Chong Yidong <cyd@stupidchicken.com>
6454
6455 * dired-aux.el (dired-mark-read-string): Don't return default
6456 value on empty input (Bug#9361).
6457 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6458 Omit initial minibuffer contents.
6459 (dired-do-chmod): Signal an error on empty input.
6460 (dired-mark-read-string): Don't return default on empty input.
6461
6462 * files.el (file-modes-symbolic-to-number): Doc fix.
6463
393a301e
SM
64642011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6465
6466 * international/mule-cmds.el (ucs-completions): Remove.
6467 (read-char-by-name): Use complete-with-action instead; add metadata.
6468
fa5660f9
CY
64692011-09-11 Chong Yidong <cyd@stupidchicken.com>
6470
6471 * window.el (display-buffer--action-function-custom-type)
6472 (display-buffer--action-custom-type): New vars.
6473 (display-buffer-alist, display-buffer-default-action)
6474 (display-buffer-overriding-action): Add defcustom types.
6475
4a592f66
CY
6476 * frame.el (delete-other-frames): Doc fix (Bug#276).
6477
73d56dbd
LMI
64782011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6479
6480 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6481
37ac18a3
CY
64822011-09-11 Chong Yidong <cyd@stupidchicken.com>
6483
6484 Change modes that used same-window-* vars to use switch-to-buffer.
6485
6486 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6487 Use switch-to-buffer.
6488
6489 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6490 (customize-browse, custom-buffer-create-other-window):
6491 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6492
6493 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6494 (Info-prev, Info-up, Info-speedbar-goto-node)
6495 (info-display-manual): Use switch-to-buffer.
6496 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6497
6498 * mail/sendmail.el (mail): Use switch-to-buffer.
6499 (mail-recover): Use switch-to-buffer-other-window.
6500
6501 * cmuscheme.el (run-scheme, switch-to-scheme):
6502 * ielm.el (ielm):
6503 * shell.el (shell):
6504 * net/rlogin.el (rlogin):
6505 * net/telnet.el (telnet, rsh):
6506 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6507
10195bd6
AS
65082011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6509
6510 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6511
b322f63a
LMI
65122011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6513
39d7fed6
LMI
6514 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6515 so don't mention it (bug#9301).
ba5a81f1 6516 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6517
ee0e9f11
LMI
6518 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6519 match `x', `w32' and `ns', like the manual says (bug#9029).
6520
0b1c89c1 6521 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6522 (process-kill-buffer-query-function): Mention the buffer name in
6523 the query.
0b1c89c1 6524
77549ea8
LMI
6525 * image-mode.el (image-next-line): The line parameter is mandatory
6526 (bug#9258).
6527
803ef892
LMI
6528 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6529 which can be useful (bug#9301).
6530
12980837
LMI
6531 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6532
91054f8f
LMI
6533 * subr.el (match-string): Mention that the current buffer should
6534 be the same as the search was done in (bug#9282).
6535
b322f63a
LMI
6536 * facemenu.el: Disable the remove-* commands if the mark isn't
6537 active (bug#9162).
6538
3199b96f
CY
65392011-09-10 Chong Yidong <cyd@stupidchicken.com>
6540
6541 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6542 of display-buffer.
6543 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6544
6545 * replace.el (occur-mode-goto-occurrence)
6546 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6547 and display-buffer.
6548
6549 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6550 display-buffer.
6551
6552 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6553 special-display and same-window variables.
6554 (mail-other-window): Use switch-to-buffer-other-window.
6555 (mail-other-frame): USe switch-to-buffer-other-frame.
6556
393a301e
SM
6557 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6558 Use display-buffer-other-frame.
3199b96f
CY
6559 (gdb-display-gdb-buffer): Use pop-to-buffer.
6560
6561 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6562
6563 * progmodes/python.el: Don't set same-window-buffer-names.
6564
6565 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6566
6567 * window.el (display-buffer-alist): Add *Python*.
6568
8319e0bf
CY
65692011-09-10 Chong Yidong <cyd@stupidchicken.com>
6570
6571 * window.el (display-buffer-alist): Add entry for buffers
6572 previously handled same-window-*.
6573 (display-buffer-alist, display-buffer-default-action)
6574 (display-buffer-overriding-action): Mark as risky.
6575 (display-buffer-alist): Document action function changes.
6576 (display-buffer--same-window-action)
6577 (display-buffer--other-frame-action): New variables.
6578 (switch-to-buffer, display-buffer-other-frame): Use them.
6579 (display-buffer): Rename reuse-frame entry to reusable-frames.
6580 (display-buffer-reuse-selected-window): Function deleted.
6581 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6582 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6583 (display-buffer-special): New function.
6584 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6585 display-buffer-reuse-or-pop-window. Split off special-display
6586 part into display-buffer-special.
6587 (display-buffer-use-some-window): Don't perform any special
6588 pop-up-frames handling.
6589 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6590 (display-buffer--maybe-same-window): Rename from
0d3ff375 6591 display-buffer-maybe-same-window.
8319e0bf 6592
919a69aa
CY
6593 * info.el: Don't set same-window-regexps.
6594 (info-setup): New function.
6595 (info-other-window, info): Call it.
6596
6597 * cus-edit.el: Don't set same-window-regexps.
6598 (customize-group): New argument.
6599 (customize-group-other-window): Use it.
6600 (customize-face, customize-face-other-window): Likewise.
6601 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6602
8319e0bf
CY
6603 * net/rlogin.el:
6604 * net/telnet.el:
6605 * progmodes/gud.el: Don't set same-window-regexps.
6606
6607 * cmuscheme.el:
6608 * ielm.el:
6609 * shell.el:
6610 * mail/sendmail.el:
6611 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6612
25173000
JL
66132011-09-10 Juri Linkov <juri@jurta.org>
6614
6615 * isearch.el (isearch-edit-string): Remove obsolete mention of
6616 `C-w' (`isearch-yank-word-or-char') from docstring.
6617 (isearch-query-replace): Fix typo in docstring (bug#9466).
6618
056e44ef
JL
66192011-09-10 Juri Linkov <juri@jurta.org>
6620
6621 * paren.el (show-paren-function): Don't show escaped parens.
6622 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6623
c3760c17
EZ
66242011-09-10 Eli Zaretskii <eliz@gnu.org>
6625
6626 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6627 (mm-default-file-encoding): Remove autoload forms, they are
6628 replaced with autoload cookies in mml.el and mm-encode.el.
6629 (mail-add-attachment): New command.
6630 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6631 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6632 the doc string.
6633 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6634
fece895e
RT
66352011-09-10 Reuben Thomas <rrt@sc3d.org>
6636
e69df516
SM
6637 * simple.el (count-words-region): Use buffer if there's no region
6638 (bug#9429).
fece895e 6639
5e68ce4a
JL
66402011-09-09 Juri Linkov <juri@jurta.org>
6641
6642 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6643 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6644 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6645
0a6b9622
AM
66462011-09-09 Alan Mackenzie <acm@muc.de>
6647
6648 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6649 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6650
14a29deb
EZ
66512011-09-09 Eli Zaretskii <eliz@gnu.org>
6652
6653 Fix for Savannah bug#9392.
6654 * simple.el (mail-encode-mml): New defvar.
6655
6656 * mail/rmail.el (mail-encode-mml): Add a defvar.
6657 (rmail-enable-mime-composing): Default to t.
6658 (rmail-forward): Use MIME method of forwarding only if both
6659 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6660 Set mail-encode-mml non-nil if the MIME method was used.
6661
6662 * mail/sendmail.el (mml-to-mime): Add autoload form.
6663 (mail-encode-mml): Add a defvar.
6664 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6665 to nil.
6666 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6667 message through mml-to-mime, and reset mail-encode-mml to nil.
6668
28c45130
GM
66692011-09-09 Glenn Morris <rgm@gnu.org>
6670
6671 * woman.el (woman-if-body): When processing an .el block,
6672 do not delete the next .el block as well. (Bug#9447)
69f4b618 6673 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6674
9b1c252e
MR
66752011-09-08 Martin Rudalics <rudalics@gmx.at>
6676
6677 * window.el (window-deletable-p): Make sure window is live before
6678 invoking window-prev-buffers.
6679
567457e3
LL
66802011-09-08 Leo Liu <sdl.web@gmail.com>
6681
6682 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6683
97f05794
JL
66842011-09-08 Juri Linkov <juri@jurta.org>
6685
6686 * progmodes/compile.el (compilation-environment): Make it
6687 a defcustom (bug#8340).
6688
8b0874b5
MR
66892011-09-08 Martin Rudalics <rudalics@gmx.at>
6690
6691 * window.el (frame-auto-delete): Rename to window-auto-delete.
6692 Make it control auto-deletion of windows and/or frames.
6693 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6694 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6695 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6696 Rewrite handling of case when window/frame can be deleted.
6697 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6698 argument t. (Bug#9456)
8b0874b5 6699
4feb6e73
CY
67002011-09-07 Chong Yidong <cyd@stupidchicken.com>
6701
6702 * help-mode.el (help-mode): Restore autoload.
6703
91ab9c13
JL
67042011-09-07 Juri Linkov <juri@jurta.org>
6705
6706 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6707 `compilation-environment'. Set buffer-local
6708 `compilation-environment' to `thisenv' later after (funcall mode).
6709 (Bug#8340)
6710
6711 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6712 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6713 instead of replacing its value. (Bug#8340)
6714
0527e251
JL
67152011-09-07 Juri Linkov <juri@jurta.org>
6716
6717 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6718 based on text properties put by `grep-filter' instead of matching
6719 escape sequences.
6720 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6721 to the value of `grep-error-screen-columns' (bug#9438).
6722
249f792c
JL
67232011-09-07 Juri Linkov <juri@jurta.org>
6724
6725 * simple.el (next-error-highlight, next-error-highlight-no-select):
6726 Doc fix (bug#9432).
6727
ff7271b9
OT
67282011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6729
6730 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6731 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6732
183fc730
LL
67332011-09-07 Leo Liu <sdl.web@gmail.com>
6734
6735 * net/rcirc.el (rcirc-mode): Conditionally initialize
6736 rcirc-input-ring.
6737
77694924
SM
67382011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6739
6740 * emacs-lisp/find-func.el (find-function-C-source): Only set
6741 find-function-C-source-directory after checking that we found a source
6742 file there (bug#9440).
6743
d809b8eb
AM
67442011-09-06 Alan Mackenzie <acm@muc.de>
6745
6746 * isearch.el (isearch-other-meta-char): Wherever a key list is
6747 unread, "unread" the prefix arg, too. This fixes bug #8901.
6748
453de99f
OG
67492011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6750
6751 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6752
90439906
JL
67532011-09-05 Juri Linkov <juri@jurta.org>
6754
6755 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6756
f62bd846
JL
67572011-09-05 Juri Linkov <juri@jurta.org>
6758
6759 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6760 keeping point where processing of grep matches begins, and
6761 continue to delete remaining escape sequences from the same point.
6762 (grep-filter): Make leading zero optional in "0?1;31m" because
6763 git-grep emits "\033[1;31m" escape sequences unlike expected
6764 "\033[01;31m" as GNU Grep does (bug#9408).
6765 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6766
045820ec
JL
67672011-09-05 Juri Linkov <juri@jurta.org>
6768
6769 * subr.el (y-or-n-p): Capitalize "yes".
6770
f5e29b9b
MA
67712011-09-04 Michael Albinus <michael.albinus@gmx.de>
6772
6773 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6774 `tramp-cache-unload-hook' where appropriate.
6775 (tramp-methods): Rename `tramp-remote-sh' to
6776 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6777 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6778
6779 * net/tramp-sh.el (top): Don't require 'shell.
6780 (tramp-methods): Add `tramp-remote-shell' and
6781 `tramp-remote-shell-args' entries.
6782 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6783 (tramp-sh-handle-shell-command): Remove.
6784 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6785 Use `tramp-remote-shell'.
6786
2784c434
CY
67872011-09-03 Chong Yidong <cyd@stupidchicken.com>
6788
393a301e 6789 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6790 (sendmail-query-once): Save directly to send-mail-function.
6791 Update message-send-mail-function too.
6792
6793 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6794
464cdf56
CS
67952011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6796
6797 * progmodes/python.el (python-mode-map): Use correct function to
6798 start python interpreter from menu-bar (as reported by Geert
6799 Kloosterman).
6800 (inferior-python-mode-map): Fix typo.
393a301e 6801 (python-shell-map): Remove.
464cdf56 6802
d37e5c87
DD
68032011-09-03 Deniz Dogan <deniz@dogan.se>
6804
6805 * net/rcirc.el (rcirc-print): Simplify code for
6806 rcirc-scroll-show-maximum-output. There is no need to walk
6807 through all windows to find the right one.
6808
f3ada0ee
CS
68092011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6810
6811 * help.el (help-return-method): Doc fix.
6812
1f3c99ca
MR
68132011-09-03 Martin Rudalics <rudalics@gmx.at>
6814
6815 * window.el (window-deletable-p): Don't return a non-nil value
6816 when there's a buffer that was shown in the window before.
6817 (Bug#9419)
393a301e
SM
6818 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6819 Set window's previous buffers to nil.
1f3c99ca 6820
a3cf097f
EZ
68212011-09-03 Eli Zaretskii <eliz@gnu.org>
6822
6823 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6824 newline before and after the tag line, so it doesn't interfere
6825 with determining the paragraph direction of bidirectional text.
6826
3d03de90
LL
68272011-09-03 Leo Liu <sdl.web@gmail.com>
6828
6829 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6830
c3313451
CY
68312011-09-02 Chong Yidong <cyd@stupidchicken.com>
6832
393a301e 6833 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6834 (pop-to-buffer): Change interactive spec. Pass second argument
6835 directly to display-buffer.
6836 (display-buffer): Fix interactive spec. Use functionp to
6837 distinguish between a function and a list of functions.
6838
6839 * abbrev.el (edit-abbrevs):
6840 * arc-mode.el (archive-extract):
6841 * autoinsert.el (auto-insert):
6842 * bookmark.el (bookmark-bmenu-list):
6843 * files.el (find-file):
6844 * view.el (view-buffer):
6845 * progmodes/compile.el (compilation-goto-locus):
6846 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6847
89894cd8
CY
68482011-09-02 Chong Yidong <cyd@stupidchicken.com>
6849
6850 * window.el (display-buffer-alist): Doc fix.
6851 (display-buffer): Add docstring. Don't treat
6852 display-buffer-default specially.
6853 (display-buffer-reuse-selected-window)
6854 (display-buffer-same-window, display-buffer-maybe-same-window)
6855 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6856 (display-buffer-pop-up-window)
6857 (display-buffer-reuse-or-pop-window)
6858 (display-buffer-use-some-window): New functions.
6859 (display-buffer-default-action): Use them.
393a301e 6860 (display-buffer-default): Delete.
89894cd8
CY
6861 (pop-to-buffer-1): Fix choice of actions.
6862
ae0bc9fb
SM
68632011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6864
6865 * minibuffer.el (completion--insert-strings): Don't get confused by
6866 completion entries that end with an LF char.
6867
e9d90883
EZ
68682011-09-01 Eli Zaretskii <eliz@gnu.org>
6869
6870 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6871
437014c8
CY
68722011-09-01 Chong Yidong <cyd@stupidchicken.com>
6873
6874 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6875 (display-buffer-same-window, display-buffer-other-window):
6876 New functions.
437014c8
CY
6877 (pop-to-buffer-1): New function. Use the above.
6878 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6879 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6880
6881 * view.el (view-buffer-other-window, view-buffer-other-frame):
6882 Just use pop-to-buffer.
6883
a5e063d5
TV
68842011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6885
6886 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6887
793d32bb
WH
68882011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6889
6890 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6891
d65e4c15
RS
68922011-08-31 Richard Stallman <rms@gnu.org>
6893
6894 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6895 of the separation of rmail-view-buffer from rmail-buffer.
6896 If you say no to "replace original", the decrypt is in the
6897 view buffer. If you say yes, the decrypt goes into the
6898 rmail buffer also.
6899
f818cd2a
MR
69002011-08-31 Martin Rudalics <rudalics@gmx.at>
6901
6902 * window.el (display-buffer-window): Rewrite doc-string.
6903 (display-buffer-record-window): New function.
6904 (display-buffer-macro-specifiers)
6905 (display-buffer-even-window-sizes, display-buffer-set-height)
6906 (display-buffer-set-width, display-buffer-in-window)
6907 (display-buffer-reuse-window, display-buffer-split-specifiers)
6908 (display-buffer-side-specifiers, display-buffer-split-window-1)
6909 (display-buffer-split-window, display-buffer-split-atom-window)
6910 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6911 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6912 (display-buffer-other-window-means-other-frame)
6913 (display-buffer-normalize-special)
6914 (display-buffer-normalize-default)
6915 (display-buffer-normalize-argument)
6916 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6917 (display-buffer-normalize-specifiers, display-buffer-frame)
6918 (display-buffer-same-window, display-buffer-same-frame)
6919 (display-buffer-other-window)
6920 (display-buffer-same-frame-other-window)
6921 (display-buffer-other-frame, pop-to-buffer-same-window)
6922 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6923 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6924 (switch-to-buffer-same-frame)
6925 (switch-to-buffer-other-window-same-frame)
6926 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6927 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6928 (display-buffer-alist-set): Remove.
6929 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6930 (special-display-regexps, special-display-function):
6931 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6932 parameter.
6933 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6934 (special-display-frame-alist, special-display-popup-frame)
6935 (same-window-buffer-names, same-window-regexps, same-window-p)
6936 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6937 (split-window-preferred-function, split-height-threshold)
6938 (split-width-threshold, window-splittable-p)
6939 (split-window-sensibly, window--try-to-split-window)
6940 (window--frame-usable-p, even-window-heights)
6941 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6942 (window--display-buffer-2, display-buffer-other-frame):
6943 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6944 (display-buffer-default, display-buffer-assq-regexp): New functions.
6945 (display-buffer-alist): Rewrite doc-string.
6946 (display-buffer-default-action)
6947 (display-buffer-overriding-action): New variables.
6948 (display-buffer, switch-to-buffer): Rewrite.
6949 (pop-to-buffer): Restore Emacs 23 behavior but use
6950 window-normalize-buffer-to-display.
6951 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6952 Restore Emacs 23 behavior but use
6953 window-normalize-buffer-to-switch-to.
6954 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6955 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6956 Rewrite using Emacs 23 options.
f818cd2a 6957
5bc3b51d
MA
69582011-08-31 Michael Albinus <michael.albinus@gmx.de>
6959
6960 * net/tramp.el (tramp-root-regexp): Remove.
6961 (tramp-completion-file-name-regexp-unified)
6962 (tramp-completion-file-name-regexp-separate)
6963 (tramp-completion-file-name-regexp-url): Don't use leading volume
6964 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6965 (tramp-drop-volume-letter): Simplify definition.
6966 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6967
b1a4f8e1
SM
69682011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6969
6970 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6971 (bug#9356).
6972
5664fa7b
RT
69732011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6974
b1a4f8e1 6975 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6976
9a45d6c3
JL
69772011-08-29 Juri Linkov <juri@jurta.org>
6978
6979 * isearch.el (isearch-done): Don't display message "Mark saved"
6980 when arg `edit' is non-nil to prevent its flicker in the echo area.
6981
fb87e0fb
CY
69822011-08-28 Chong Yidong <cyd@stupidchicken.com>
6983
6984 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6985 obsolete packages for deletion.
6986
09ac1c2a
CS
69872011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6988
6989 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6990 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6991 view-mode from help-mode.
6992 (help-xref-override-view-map): Remove.
6993 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6994 view-mode is not used anymore.
6995
7a1ff57f
CY
69962011-08-28 Chong Yidong <cyd@stupidchicken.com>
6997
6998 * server.el (server-port): Doc fix.
6999
b9696605
CY
7000 * cus-theme.el (custom-theme-choose-mode): Inherit from
7001 special-mode (Bug#9124).
7002 (custom-theme-choose-mode-map): Add special-mode to parent.
7003
ef8cdf8c
AM
70042011-08-28 Alan Mackenzie <acm@muc.de>
7005
7006 * progmodes/cc-fonts.el
7007 (c-make-font-lock-BO-decl-search-function): New function.
7008 (c-basic-matchers-after - "Fontify the clauses after various
7009 keywords"): Extract the three keyword lists for the 3 erroneous
7010 constructs from the list of four, and use the new function above
7011 in place of an old one.
7012
27de4e20
DD
70132011-08-28 Deniz Dogan <deniz@dogan.se>
7014
7015 * net/rcirc.el (rcirc-insert-prev-input)
7016 (rcirc-insert-next-input): Remove unused argument.
7017
356a3681
SM
70182011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7019
7020 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7021
3fc9b218
AM
70222011-08-27 Alan Mackenzie <acm@muc.de>
7023
7024 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7025 handle function pointer parameters properly.
7026
538a061c
MR
70272011-08-27 Martin Rudalics <rudalics@gmx.at>
7028
7029 * window.el (display-buffer-reuse-window): Fix case where
7030 selected window was reused with non-nil OTHER-WINDOW argument.
7031 (Bug#9381)
7032
35b1c40c
DD
70332011-08-27 Deniz Dogan <deniz@dogan.se>
7034
7035 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7036 oftc's NickServ messages.
7037
2f6a3e79
GM
70382011-08-27 Glenn Morris <rgm@gnu.org>
7039
7040 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7041
7254299e
CY
70422011-08-26 Chong Yidong <cyd@stupidchicken.com>
7043
7044 * emacs-lisp/package.el (package-install): Call package-initialize
7045 if called interactively.
7046
f8ccf167
LL
70472011-08-26 Leo Liu <sdl.web@gmail.com>
7048
7049 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7050
3e8cd5ce
JL
70512011-08-25 Juri Linkov <juri@jurta.org>
7052
7053 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7054 `search-whitespace-regexp' (bug#9364).
7055
93eb7113
JL
70562011-08-25 Juri Linkov <juri@jurta.org>
7057
7058 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7059 `regexp-search-ring' to their global values to protect from
7060 updating by `read-from-minibuffer' (bug#9185).
7061
f65d1611
JL
70622011-08-25 Juri Linkov <juri@jurta.org>
7063
7064 * textmodes/ispell.el (ispell-command-loop): Add newline
7065 at the end of the "Use option `i'..." line.
7066
f1cf7a31
JL
70672011-08-25 Juri Linkov <juri@jurta.org>
7068
7069 * battery.el (display-battery-mode): If `battery-status-function'
7070 or `battery-mode-line-format' is nil, display the message and set
7071 `display-battery-mode' to nil (bug#9363).
7072
0c95fcf7
EZ
70732011-08-25 Eli Zaretskii <eliz@gnu.org>
7074
7075 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7076 bidi-string-mark-left-to-right; they are unnecessary now.
7077
a2ebe600
DD
70782011-08-25 Deniz Dogan <deniz@dogan.se>
7079
7080 * net/quickurl.el: Documentation typo fixes.
7081
e4ed06f1
CY
70822011-08-25 Chong Yidong <cyd@stupidchicken.com>
7083
7084 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7085
e5f1c99e
GM
70862011-08-25 Glenn Morris <rgm@gnu.org>
7087
b2948976
GM
7088 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7089
e5f1c99e
GM
7090 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7091 (smtpmail-via-smtp): Handle nil response from smtp.
7092
f22f4808
JL
70932011-08-24 Juri Linkov <juri@jurta.org>
7094
7095 * proced.el (proced-marked): Inherit from `error' instead of
7096 `font-lock-warning-face'.
7097
7098 * ibuffer.el (ibuffer-marked-face): Change default face from
7099 `font-lock-warning-face' to `warning'.
7100 (ibuffer-deletion-face): Change default face from
7101 `font-lock-type-face' to `error'.
7102
7103 * battery.el (battery-update): Use the face `error' instead of
7104 `font-lock-warning-face' (bug#6117).
7105
6a93965e
JL
71062011-08-24 Juri Linkov <juri@jurta.org>
7107
7108 * faces.el (success): Change face color from "Green3" to
7109 "ForestGreen" on light background (bug#9353).
7110
1ed43b09
CY
71112011-08-24 Chong Yidong <cyd@stupidchicken.com>
7112
5664fa7b
RT
7113 * window.el (quit-window): Rename from quit-restore-window.
7114 Use same arglist as old quit-window.
1ed43b09
CY
7115 (frame-auto-delete): Doc fix.
7116
7117 * view.el (view-mode-exit): Use quit-window.
7118
11dcdbb2
JL
71192011-08-24 Juri Linkov <juri@jurta.org>
7120
7121 * isearch.el (isearch-ring-adjust1): Start visiting previous
7122 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7123 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7124 for empty search string (when the last search string is reused
7125 automatically) to adjust the isearch ring to the last element and
7126 prepare the correct index for further M-p commands (bug#9185).
7127
de62b4df
KH
71282011-08-24 Kenichi Handa <handa@m17n.org>
7129
7130 * international/ucs-normalize.el: If decomposition property of
7131 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7132 nil.
7133 (nfd, nfkd): Likewise.
7134
963b492b
SM
71352011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7136
7137 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7138 from process filters aren't reliably transmitted to the surrounding
7139 accept-process-output.
7140 (mpc-proc-check): New function.
7141 (mpc-proc-sync): Use it (bug#8293)
7142
93b6b5e1
SM
71432011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7144
7145 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7146 Add compatibility functions (bug#9313).
7147
bca633fb
EZ
71482011-08-23 Eli Zaretskii <eliz@gnu.org>
7149
b177498a
EZ
7150 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7151
6df6ae42 7152 * international/uni-bidi.el: Regenerate.
bca633fb 7153
0902a04e
KH
71542011-08-23 Kenichi Handa <handa@m17n.org>
7155
7156 * international/charprop.el:
7157 * international/uni-bidi.el:
7158 * international/uni-category.el:
7159 * international/uni-combining.el:
7160 * international/uni-comment.el:
7161 * international/uni-decimal.el:
7162 * international/uni-decomposition.el:
7163 * international/uni-digit.el:
7164 * international/uni-lowercase.el:
7165 * international/uni-mirrored.el:
7166 * international/uni-name.el:
7167 * international/uni-numeric.el:
7168 * international/uni-old-name.el:
7169 * international/uni-titlecase.el:
7170 * international/uni-uppercase.el: Regenerate.
7171
3bbf23bc
MR
71722011-08-23 Martin Rudalics <rudalics@gmx.at>
7173
7174 * help.el (help-window-setup): Fix message displayed when other
7175 window is reused. (Bug#9341)
7176
b3fd59bd
SM
71772011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7178
1802e444
SM
7179 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7180 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7181
b3fd59bd
SM
7182 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7183 Mark obsolete.
7184 * shell.el (shell-parse-pcomplete-arguments): New function.
7185 (shell-completion-vars): Use it instead (bug#9160).
7186
4eb61348
SM
71872011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7188
867cab74
SM
7189 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7190 strings and comments (bug#9333).
7191
4eb61348
SM
7192 * emacs-lisp/debug.el (debug-arglist): New function.
7193 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7194 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7195
262a1439
JL
71962011-08-22 Juri Linkov <juri@jurta.org>
7197
56ee679c
JL
7198 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7199 Revert regexp that highlights output switches to its old
7200 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7201
262a1439
JL
7202 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7203 to check for empty output (bug#9226).
7204
f13f86fb
CY
72052011-08-22 Chong Yidong <cyd@stupidchicken.com>
7206
7207 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7208 symbol-constituent as the default, as that stops font-lock from
7209 working properly (Bug#8843).
7210
c65c9622
LMI
72112011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7212
7213 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7214 `coding-system-for-*' around the process open call to avoid
7215 auth-source side effects.
e7f2c178 7216 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7217 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7218 probe hangs.
c65c9622 7219
23a8a5ab
CY
72202011-08-21 Chong Yidong <cyd@stupidchicken.com>
7221
ff98b2dd
CY
7222 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7223
23a8a5ab
CY
7224 * emacs-lisp/find-func.el (find-function-noselect): New arg
7225 lisp-only.
7226
7227 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7228 signal an error for built-in functions (Bug#6664).
7229
f5e3c598
LMI
72302011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7231
7232 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7233 (smtpmail-try-auth-methods): Use it.
7234
a3f2468a
CY
72352011-08-21 Chong Yidong <cyd@stupidchicken.com>
7236
2c34e8da
CY
7237 * font-lock.el (font-lock-fontify-region)
7238 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7239 (font-lock-default-unfontify-buffer)
7240 (font-lock-default-fontify-region)
7241 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7242
b3fd59bd
SM
7243 * progmodes/compile.el (compilation-error-properties):
7244 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7245 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7246 `ant' regexp.
ee31aabc 7247
a3f2468a
CY
7248 * net/browse-url.el (browse-url-firefox): Don't call
7249 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7250
8e999f70
GM
72512011-08-20 Glenn Morris <rgm@gnu.org>
7252
c21a496a
GM
7253 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7254
59ee0542
GM
7255 * tutorial.el (tutorial--default-keys): Update some default bindings.
7256
8e999f70
GM
7257 * files.el (hack-local-variables): Fully ignore case for "mode:".
7258
e3715033
AM
72592011-08-20 Alan Mackenzie <acm@muc.de>
7260
7261 Resolve invalid use of a regexp in regexp-opt.
7262
4d61f28d
JB
7263 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7264 detection for a java annotation.
e3715033 7265
4d61f28d 7266 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7267 detection for a java annotation.
7268
4d61f28d
JB
7269 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7270 handling for java.
e3715033
AM
7271 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7272
04ed2e9c
CY
72732011-08-20 Chong Yidong <cyd@stupidchicken.com>
7274
7275 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7276 (Bug#9274).
7277
826cee64
AM
72782011-08-20 Alan Mackenzie <acm@muc.de>
7279
58179cce 7280 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7281 such a construct. Mainly for when jit-lock etc. starts a chunk
7282 here.
7283
58179cce 7284 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7285 variable.
58179cce 7286 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7287 c-make-font-lock-search-function.
7288 (c-make-font-lock-search-function): Use the above function.
7289 (c-make-font-lock-context-search-function): New function.
7290 (c-cpp-matchers): Enhance the preprocessor expression case with
7291 the above function
7292 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7293 which takes an expression.
7294
7295 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7296
13009bd8
MR
72972011-08-20 Martin Rudalics <rudalics@gmx.at>
7298
7299 * window.el (display-buffer-reuse-window)
7300 (display-buffer-pop-up-window): Don't reuse or split a side
7301 window.
7302
9234ff7f
GM
73032011-08-19 Glenn Morris <rgm@gnu.org>
7304
7305 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7306 Downcase "Mode:". (Bug#9331)
9234ff7f 7307
f635daa1
CY
73082011-08-18 Chong Yidong <cyd@stupidchicken.com>
7309
7310 * international/characters.el: Add L and R categories.
7311
7312 * subr.el (bidi-string-mark-left-to-right): Rename from
7313 string-mark-left-to-right. Use category search.
7314
7315 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7316
bc987f8b
JL
73172011-08-18 Juri Linkov <juri@jurta.org>
7318
7319 * faces.el (error, warning, success): New faces with definitions
7320 copied from old default values of `font-lock-warning-face',
7321 `compilation-warning', `compilation-info' (bug#6117).
7322
7323 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7324
7325 * progmodes/compile.el (compilation-error): Inherit from `error'.
7326 (compilation-warning): Inherit from `warning'.
7327 (compilation-info): Inherit from `success'.
7328
7329 * dired.el (dired-marked): Inherit from `warning'.
7330 (dired-flagged): Inherit from `error'.
7331
57173b96
LMI
73322011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7333
3e79eb87
LMI
7334 * mail/smtpmail.el (auth-source): Require to avoid problems with
7335 binding variables (bug#9298). Also clean up some unused
7336 autoloads.
7337
b3fd59bd
SM
7338 * net/network-stream.el (network-stream-open-starttls):
7339 Support using starttls.el without using gnutls-cli.
57173b96 7340
02b404de
JL
73412011-08-17 Juri Linkov <juri@jurta.org>
7342
7343 * progmodes/grep.el (rgrep): Handle the case when
7344 `grep-find-command' is a cons cell (bug#9278).
7345
8c9177f2
MR
73462011-08-17 Martin Rudalics <rudalics@gmx.at>
7347
7348 * window.el (display-buffer-pop-up-frame): Run frame creation
7349 function with BUFFER current (as special-display-popup-frame
7350 does). Reported by Drew Adams.
7351
3644a0ab
DU
73522011-08-17 Daiki Ueno <ueno@unixuser.org>
7353
7354 * epa-mail.el: Simplify GnuPG group expansion using
7355 epg-expand-group.
7356 (epa-mail-group-alist, epa-mail-group-modtime)
7357 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7358 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7359 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7360 Remove.
7361
5e617bc2 73622011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7363
7364 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7365
9c4aeabf
AM
73662011-08-16 Alan Mackenzie <acm@muc.de>
7367
7368 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7369 Correct, to avoid the inside of macros.
7370
3a99bf64
RS
73712011-08-16 Richard Stallman <rms@gnu.org>
7372
04963aa8
RS
7373 * epa-mail.el: Handle GnuPG group definitions.
7374 (epa-mail-group-alist, epa-mail-group-modtime)
7375 (epa-mail-gnupg-conf-file): New variables.
7376 (epa-mail-parse-groups, epa-mail-sync-groups)
7377 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7378 (epa-mail-expand-recipients): New functions.
7379 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7380
177549d0
RS
7381 * mail/rmail.el (rmail-epa-decrypt): New command.
7382
fe38beef
RS
7383 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7384 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7385 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7386 (epa-decrypt-armor-in-region): Make error message clearer.
7387
934eacb9
SM
73882011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7391 and "a2b" to "ab" for `prefix'.
7392
d024fb4e
CY
73932011-08-14 Chong Yidong <cyd@stupidchicken.com>
7394
7395 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7396 filter groups.
de148fee
CY
7397 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7398 Fourquet (Bug#8804).
d024fb4e 7399
62f1ca49
JB
74002011-08-12 Juanma Barranquero <lekktu@gmail.com>
7401
7402 * startup.el (argi): Declare as global variable (bug#9275).
7403
9ccaaa4b
CY
74042011-08-12 Chong Yidong <cyd@stupidchicken.com>
7405
7406 * subr.el (string-mark-left-to-right): Search the entire string
7407 for RTL script, not just the terminating character. Doc fix.
7408
a3dae87a
SM
74092011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7410
6cd18349
SM
7411 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7412 New function.
7413 (js--regexp-literal, js-syntax-propertize-function): Remove.
7414 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7415 (js-mode-map): Don't rebind electric keys.
7416 (js-insert-and-indent): Remove.
7417 (js-mode): Setup electric-layout and electric-indent instead.
7418
a3dae87a
SM
7419 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7420
9d5cb631
DU
74212011-08-12 Daiki Ueno <ueno@unixuser.org>
7422
7423 * epa.el (epa-progress-callback-function): Fix the logic of
7424 displaying progress.
7425 * epa-file.el (epa-file-insert-file-contents): Make progress
7426 display more user-friendly.
7427 (epa-file-write-region): Ditto.
7428
3e26a4a2
CY
74292011-08-10 Chong Yidong <cyd@stupidchicken.com>
7430
7431 * subr.el (string-mark-left-to-right): New function.
7432
7433 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7434 Use string-mark-left-to-right.
7435 (list-buffers-noselect): Caller changed.
7436
a3dae87a
SM
7437 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7438 Use string-mark-left-to-right.
3e26a4a2
CY
7439 (tabulated-list-print): Recenter after moving point.
7440
ac8cf6e6
JL
74412011-08-10 Juri Linkov <juri@jurta.org>
7442
7443 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7444 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7445 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7446
8d96c9a4
CY
74472011-08-09 Chong Yidong <cyd@stupidchicken.com>
7448
7449 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7450 (Bug#7554).
7451
7be1c708 74522011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7453
7454 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7455 character. (Bug#6594)
7456
37e11a63
CY
74572011-08-08 Chong Yidong <cyd@stupidchicken.com>
7458
839dde57
CY
7459 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7460 (image-dired--with-db-file): New macro.
7461 (image-dired-write-tags, image-dired-remove-tag)
7462 (image-dired-create-gallery-lists, image-dired-write-comments)
7463 (image-dired-get-comment, image-dired-mark-tagged-files)
7464 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7465 (image-dired-gallery-generate): Use insert-file-contents.
7466
37e11a63
CY
7467 * time.el (display-time-world-list, display-time-world-display):
7468 * time-stamp.el (time-stamp-string):
7469 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7470 set-time-zone-rule (Bug#7337).
7471
0b4946c4
DU
74722011-08-08 Daiki Ueno <ueno@unixuser.org>
7473
7474 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7475 (epg-error-to-string, epg-errors-to-string): New function.
7476 (epg-wait-for-completion): Reverse errors list.
7477 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7478 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7479 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7480 (epg-sign-keys, epg-generate-key-from-file)
7481 (epg-generate-key-from-string): Format errors by using
7482 epg-errors-to-string (bug#9255).
7483 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7484
75bfc667
JL
74852011-08-07 Juri Linkov <juri@jurta.org>
7486
7487 * faces.el (list-faces-display): Remove extra angle bracket
7488 from `help-mode-map'.
7489
7490 * info.el (Info-history-toc-nodes): Doc fix.
7491
7492 * longlines.el (longlines-mode): Doc fix.
7493
673e08bb
SM
74942011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7495
4640dd88
SM
7496 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7497 of statements and in a few more cases (bug#9183).
7498
673e08bb
SM
7499 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7500 New functions.
7501 (cl-transform-lambda): Use them (bug#9239).
7502
89b3f019
MR
75032011-08-05 Martin Rudalics <rudalics@gmx.at>
7504
7505 * window.el (display-buffer-same-window)
7506 (display-buffer-same-frame, display-buffer-other-window)
7507 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7508 (pop-to-buffer-other-window)
7509 (pop-to-buffer-same-frame-other-window)
7510 (pop-to-buffer-other-frame): Make them defuns.
7511 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7512
640c8776
SM
75132011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * subr.el (make-composed-keymap): Move from C. Change calling
7516 convention, and improve docstring to bring attention to a subtle point.
7517 * minibuffer.el (completing-read-default): Adjust accordingly.
7518
63648a95
MA
75192011-08-03 Michael Albinus <michael.albinus@gmx.de>
7520
7521 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7522 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7523
7524 * net/trampver.el: Update release number.
7525
b796c9b7
SM
75262011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7529 "in" (bug#9190).
7530
2239d7d5
LMI
75312011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7532
e07dd7c3
LMI
7533 * mail/sendmail.el (sendmail-query-once): Restore the current
7534 buffer after querying (bug#9074).
7535
0e6a2bd7
LMI
7536 * dired.el (dired-flagged): Use different faces for marked and
7537 flagged files (bug#6117).
7538
ce887515
LMI
7539 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7540 (bug#4433).
7541
92f2affc
LMI
7542 * ido.el (ido-mode): Switch off the message if called
7543 non-interactively.
7544
57d5aff0
LMI
7545 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7546 before 587, since it appears that that's more likely to work for
7547 more people.
7548
98cd6c18 7549 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7550 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7551 exist.
7552
b96dec83
LMI
7553 * info.el: Remove the `Info-beginning-of-buffer' function
7554 (bug#8325).
7555
b796c9b7
SM
7556 * net/network-stream.el (network-stream-open-starttls):
7557 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7558
d90e2ea0
MR
75592011-08-01 Martin Rudalics <rudalics@gmx.at>
7560
7561 * window.el (display-buffer-in-window): Don't set dedicated status
7562 of window here (Bug#9215).
7563 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7564 (display-buffer-pop-up-side-window)
b796c9b7 7565 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7566
cca09170
SM
75672011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7570 before binding generated-autoload-file.
7571
027b979c
DD
75722011-08-01 Deniz Dogan <deniz@dogan.se>
7573
7574 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7575
3c7ee4f3
MA
75762011-07-30 Michael Albinus <michael.albinus@gmx.de>
7577
7578 Sync with Tramp 2.2.2.
7579
7580 * net/trampver.el: Update release number.
7581
2cc8e51a
JL
75822011-07-30 Juri Linkov <juri@jurta.org>
7583
7584 * dired-aux.el (dired-touch-initial): Remove function.
7585 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7586 current time, and `default' to the last modification time of the
7587 current marked file (bug#6887).
7588
a514d856
JM
75892011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7590
7591 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7592 numeric argument to read-number (bug#9163).
a514d856 7593
8a7eddd7
MA
75942011-07-27 Michael Albinus <michael.albinus@gmx.de>
7595
7596 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7597 connection process, it could be nil.
7598
1ddd96f5
LL
75992011-07-27 Leo Liu <sdl.web@gmail.com>
7600
7601 Simplify url handling in rcirc-mode.
7602
7603 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7604 (rcirc-browse-url-at-mouse): Remove.
7605 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7606
b248a85d
AM
76072011-07-26 Alan Mackenzie <acm@muc.de>
7608
7609 Fontify bitfield declarations properly.
7610
7611 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7612 (c-symbol-chars): Now exported as a lang variable.
7613 (c-not-primitive-type-keywords): New lang variable.
7614
7615 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7616 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7617 parsed as a bitfield declaration.
b248a85d 7618
b796c9b7
SM
7619 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7620 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7621 (c-punctuation-in): New function.
7622 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7623 declarations properly.
7624
68575ab0
UJ
76252011-07-26 Ulf Jasper <ulf.jasper@web.de>
7626
7627 * calendar/icalendar.el (icalendar--all-events): Take care of
7628 multiple vcalendars in a single file.
b796c9b7 7629 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7630
0f0a88b9
DD
76312011-07-25 Deniz Dogan <deniz@dogan.se>
7632
7633 * image.el (insert-image): Clarifying docstring.
7634
0b3f36df
MA
76352011-07-24 Michael Albinus <michael.albinus@gmx.de>
7636
7637 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7638 `tramp-send-command-and-check' if there is no error.
7639 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7640
a9901f61
AM
76412011-07-22 Alan Mackenzie <acm@muc.de>
7642
7643 Prevent cc-langs.elc being loaded at run time.
7644
7645 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7646 cc-langs.
7647
4d61f28d 7648 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7649 "(require 'cc-langs)". Quote a form so it will evaluate at
7650 (cc-mode's) compilation time.
7651
11d074b2
MA
76522011-07-22 Michael Albinus <michael.albinus@gmx.de>
7653
7654 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7655 loading. (Bug#9114)
7656
938b94c8
MR
76572011-07-21 Martin Rudalics <rudalics@gmx.at>
7658
7659 * window.el (display-buffer-pop-up-window)
7660 (display-buffer-pop-up-side-window)
7661 (display-buffer-in-side-window): Call display-buffer-set-height
7662 and display-buffer-set-width after setting the new window's
b796c9b7 7663 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7664
bfa4f190
SS
76652011-07-20 Sam Steingold <sds@gnu.org>
7666
7667 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7668 (etags-tags-included-tables): Call `convert-standard-filename' on
7669 the file names contained in TAGS so that windows Emacs can handle
7670 TAGS files created by cygwin ctags.
7671
8ca42262
LMI
76722011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7673
7674 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7675 which apparently didn't work.
7676
5db2afd2 76772011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7678
5db2afd2
RW
7679 * proced.el (proced-send-signal): For *Marked Processes* buffer
7680 put point at beginning of buffer.
7681
92e15d10
SB
76822011-07-19 Stephen Berman <stephen.berman@gmx.net>
7683
7684 * proced.el (proced-format): Make header lines align with the text
7685 (bug#1779).
7686
1bfd59e5
LMI
76872011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7688
7689 * view.el (view-buffer): Allow running in `special' modes if we're
7690 visiting a file (bug#8615).
7691
f5aae37c
MR
76922011-07-19 Martin Rudalics <rudalics@gmx.at>
7693
7694 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7695 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7696 New functions.
f5aae37c
MR
7697 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7698 more accurately.
7699
bf2c1571
AM
77002011-07-18 Alan Mackenzie <acm@muc.de>
7701
7702 Fontify declarators properly when, e.g., a jit-lock chunk begins
7703 inside a declaration.
7704
7705 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7706
b796c9b7
SM
7707 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7708 New function.
bf2c1571
AM
7709 (c-complex-decl-matchers): Insert reference to
7710 c-font-lock-enclosing-decls.
7711
7712 * progmodes/cc-engine.el (c-backward-single-comment):
7713 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7714 to nil around calls to (forward-comment -1).
7715
4e190b80
LMI
77162011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7717
12dc863d
LMI
7718 * image.el (put-image): Doc typo fix.
7719
a762e966
LMI
7720 * progmodes/etags.el (tags-search): Doc typo fix.
7721
4e190b80
LMI
7722 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7723 password if we get errors 550 to 554.
7724
f019fb21
LMI
77252011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7726
b796c9b7 7727 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7728
81746738
LMI
7729 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7730 indentation character (bug#6380).
7731
3ee3a1b5
LMI
7732 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7733
c82f64de
LMI
7734 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7735 to clarify what the problem is (bug#4291).
7736
f019fb21
LMI
7737 * simple.el (current-kill): Clarify what
7738 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7739 (auto-fill-mode): Document `auto-fill-function' in relation to
7740 `auto-fill-mode' (bug#2470).
f019fb21 7741
0794775d
LM
77422011-07-16 Lawrence Mitchell <wence@gmx.li>
7743
7744 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7745 method if slot is read-only (bug#9035).
7746
be39b8cc
MR
77472011-07-16 Martin Rudalics <rudalics@gmx.at>
7748
b796c9b7 7749 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7750 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7751 selected before, see discussion of (Bug#8615), (Bug#6954).
7752 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7753
6ccf7859
GM
77542011-07-15 Glenn Morris <rgm@gnu.org>
7755
7756 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7757 Respect help-form.
6ccf7859 7758
87e86684
LM
77592011-07-09 Lawrence Mitchell <wence@gmx.li>
7760
7761 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7762 (gnutls-negotiate): Use it.
7763
d6066239
LMI
77642011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7765
b796c9b7
SM
7766 * net/gnutls.el (gnutls-negotiate):
7767 Upcase `gnutls-algorithm-priority'.
d6066239 7768
bd23ebc0
GM
77692011-07-15 Glenn Morris <rgm@gnu.org>
7770
c65bca65
GM
7771 * jka-compr.el (jka-compr-verbose): Move from here...
7772 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7773 Add missing :version tag.
7774 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7775
478615cc
LMI
77762011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7777
7b41decb
LMI
7778 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7779 (gnutls-negotiate): Use it.
7780
dbc44fcd
LMI
7781 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7782
06789f97
LMI
7783 * info.el (Info-beginning-of-buffer): New command.
7784 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7785 announcing `b' as the key (bug#8325).
ab896c37 7786 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7787
c39da690
LMI
7788 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7789
3aa5f34b
LMI
7790 * international/mule-cmds.el
7791 (describe-specified-language-support): Make the error message
7792 clearer (bug#8905).
7793
4bf0979f
LMI
7794 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7795
478615cc
LMI
7796 * isearch.el (isearch-barrier): Add a doc string, since it's
7797 mentioned in a function doc string (bug#8678).
7798
75c68aa1
MR
77992011-07-15 Martin Rudalics <rudalics@gmx.at>
7800
7801 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7802 buffer argument (Bug#9083) and self-identifying label argument.
7803
a7c33da2
GM
78042011-07-15 Glenn Morris <rgm@gnu.org>
7805
7806 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7807
2f5c6024
LMI
78082011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7809
7810 * man.el (Man-fontify-manpage): Fix message when formatting the
7811 man page (bug#7929).
7812
0bb23927 78132011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7814
7815 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7816 argument LRM; if non-nil, append an invisible LRM character to the
7817 buffer name.
7818 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7819 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7820 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7821 paragraph direction.
cce4b0a7 7822
621ef9ab
LMI
78232011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7824
d1583c48
LMI
7825 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7826 the man page name (bug#7929).
7827
6a57fb5f
LMI
7828 * image.el (put-image): Mention the `put-image' overlay property
7829 (bug#7834).
7830
d7956b14
LMI
7831 * scroll-bar.el (set-scroll-bar-mode): Mention that
7832 `scroll-bar-mode' lists the values (bug#7772).
7833
5b2d4a66
LMI
7834 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7835 command (bug#7729).
7836
7509a874
LMI
7837 * rect.el (apply-on-rectangle): Return the point after the last
7838 operation.
7839 (string-rectangle): Go to the point after the last operation
7840 (bug#7522).
7841
4fe74b19
LMI
7842 * printing.el (pr-toggle-region): Clarify the documentation
7843 slightly (bug#7493).
7844
b796c9b7
SM
7845 * time.el (display-time-update):
7846 Allow `display-time-mail-function' to return nil (bug#7158).
7847 Fix suggested by Detlev Zundel.
ab283561 7848
fc233c9d
LMI
7849 * vc/diff.el (diff): Clarify the order the file names are read
7850 (bug#7111).
7851
43f5740b
LMI
7852 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7853 the doc string (bug#7015).
7854
f2182a76
LMI
7855 * font-lock.el (font-lock-maximum-decoration): Mention what
7856 numeric levels mean (bug#6935).
7857
621ef9ab
LMI
7858 * startup.el (initial-buffer-choice): Don't mention the `none'
7859 selection, which is against policy.
7860
adc47434
MR
78612011-07-14 Martin Rudalics <rudalics@gmx.at>
7862
b796c9b7
SM
7863 * window.el (display-buffer-normalize-special):
7864 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7865
7e5bfb8f
EZ
78662011-07-14 Eli Zaretskii <eliz@gnu.org>
7867
7868 * subr.el (version<, version<=, version=): Mention "-CVS" and
7869 "-12345" alpha version numbers.
7870
27fa387a
CY
78712011-07-14 Chong Yidong <cyd@stupidchicken.com>
7872
7873 * bindings.el: Add advertised binding for set-mark-command
7874 (Bug#5772).
7875
8bdfa064
CY
78762011-07-14 Chong Yidong <cyd@stupidchicken.com>
7877
7878 * bindings.el (mode-line-other-buffer):
7879 * bookmark.el (bookmark-bmenu-2-window):
7880 * bs.el (bs-cycle-next, bs-cycle-previous):
7881 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7882 switch-to-buffer.
7883
7884 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7885 Delete.
8bdfa064 7886
5eba16a3
JB
78872011-07-14 Juanma Barranquero <lekktu@gmail.com>
7888
7889 * follow.el (follow-debug-message, follow-redisplay):
7890 * jka-cmpr-hook.el (with-auto-compression-mode):
7891 Fix typos in docstrings.
7892
15853710
LMI
78932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7894
a28e4607
LMI
7895 * subr.el (with-silent-modifications): Clarify somewhat what the
7896 macro inhibits (bug#6525).
7897
15853710
LMI
7898 * simple.el (eval-expression): Note what it does if called
7899 interactively (bug#6495).
7900
bee0fcef
CY
79012011-07-13 Chong Yidong <cyd@stupidchicken.com>
7902
b796c9b7
SM
7903 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7904 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7905
7906 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7907 Remove switch-to-buffer.
7908
58274504
LMI
79092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7910
bd2fcc8d
LMI
7911 * files.el (make-directory): Clarify that an error will be raised
7912 if there's an error (bug#6397).
7913
0f04b32c
LMI
7914 * startup.el (initial-buffer-choice): Add `none' as a choice
7915 (bug#6234).
7916
465c5fc8
LMI
7917 * subr.el (add-hook): Clarify section about buffer-local hooks
7918 (bug#6218).
7919
58274504
LMI
7920 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7921
bead9a43
JB
79222011-07-13 Juanma Barranquero <lekktu@gmail.com>
7923
7924 * tabify.el (untabify): Preserve the current column so that point
7925 doesn't move (bug#6032).
7926
3af98a7b
LMI
79272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7928
b796c9b7
SM
7929 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7930 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7931
6240145a
GM
79322011-07-13 Glenn Morris <rgm@gnu.org>
7933
7934 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7935 (dired-insert-directory): Give a message the first time
7936 if ls is found not to support --dired.
7937
1d8c2ccc
LMI
79382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7939
7940 * simple.el (toggle-truncate-lines): Clarify what is toggled
7941 (bug#5580). Text by Drew Adams.
7942
5fc4038e
CY
79432011-07-13 Chong Yidong <cyd@stupidchicken.com>
7944
7945 * simple.el (blink-matching-open): Make the error message from the
7946 last change less verbose.
7947
bf6012e5
DN
79482011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7949
7950 * font-lock.el (font-lock-comment-face): Use the high contrast
7951 "yellow" color for font-lock-comment-face on low color terminals
7952 using a dark background color (bug#4221).
7953
343c3b5a
LMI
79542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7955
7e9505c5
LMI
7956 * dired.el (dired-insert-set-properties): Make the doc string
7957 reflect what it does now (bug#5325).
7958
c26fdcf5
LMI
7959 * simple.el (blink-matching-open): Say that we were unable to find
7960 the match within the limit, if we're limited (bug#5122).
7961
bb388cc5
LMI
7962 * international/mule-cmds.el (prefer-coding-system): Add an
7963 example (bug#4869).
7964
343c3b5a
LMI
7965 * progmodes/etags.el (tags-search): Document `file-list-form'
7966 (bug#4731).
7967
2a517d45
LM
79682011-07-13 Lawrence Mitchell <wence@gmx.li>
7969
7970 * net/browse-url.el (browse-url-default-browser)
7971 (browse-url-browser-function): Make the default browser choice a
7972 bit more logical (bug#4300). Also clean up the doc string.
7973
b6c78ef2
JB
79742011-07-13 Juanma Barranquero <lekktu@gmail.com>
7975
7976 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7977 binary endings (bug#4440).
7978
1c4dd947
LMI
79792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7980
a2014063
LMI
7981 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7982 which can be pretty annoying (bug#8971).
7983
9c9c2d88
LMI
7984 * jka-compr.el (jka-compr-verbose): New variable, and use
7985 throughout (bug#8971).
7986
1c4dd947
LMI
7987 * info.el (Info-find-file): Fall back on the installation
7988 directory if we can't find the info node anywhere else.
7989
a1c9f41b
SO
79902011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7991
7992 * vc/vc.el (vc-revert-file):
7993 Don't set file time-stamp in the past. (Bug#5181)
7994
536f3d36
LMI
79952011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7996
7152b011
LMI
7997 * files.el (after-find-file): Give a better error message when
7998 trying to find a symlink that points to a file that doesn't exist
7999 (bug#4398).
8000
536f3d36
LMI
8001 * progmodes/cc-vars.el: Remove (probably) misleading comment
8002 (bug#4396).
8003
460c0fba
JB
80042011-07-12 Johan Bockgård <bojohan@gnu.org>
8005
8006 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8007
7a6bda45
CY
80082011-07-12 Chong Yidong <cyd@stupidchicken.com>
8009
8010 * mouse-sel.el: Hack restoring functionality, while keeping
8011 compatibility with 2010-07-03 changes to mouse selection.
8012 (mouse-sel-primary-overlay): New var.
8013 (mouse-sel-selection-alist): Use it.
8014 (mouse-sel-mode): Doc fix; remove points that are default features
8015 of mouse.el.
8016
c79598ef
JB
80172011-07-12 Johan Bockgård <bojohan@gnu.org>
8018
8019 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8020 Fix previous fix (bug#2490).
8021
ff8be6ef
RW
80222011-07-12 Roland Winkler <winkler@gnu.org>
8023
b796c9b7
SM
8024 * textmodes/bibtex.el (bibtex-initialize):
8025 Use pop-to-buffer-same-window.
ff8be6ef
RW
8026 (bibtex-search-entries): Fix interactive call.
8027
296ba3ee
LMI
80282011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8029
f5242a02 8030 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8031 Fontise bytecomp Error lines more correctly (bug#2490).
8032 Fix suggested by Johan Bockgård.
f5242a02 8033
296ba3ee
LMI
8034 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8035
8036 * dired-x.el (dired-guess-default): Use `delete-dups'.
8037
f69fd0d2
CY
80382011-07-12 Chong Yidong <cyd@stupidchicken.com>
8039
8040 * dired.el (dired-mark-prompt):
8041 * dired-aux.el (dired-read-shell-command): Doc fix.
8042
eab5dc07
LMI
80432011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8044
b796c9b7
SM
8045 * mail/sendmail.el (sendmail-query-once):
8046 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8047 emacs -Q.
8048
8049 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8050
eab5dc07
LMI
8051 * cus-edit.el (custom-file): Take an optional no-error variable.
8052 (customize-save-variable): Set the variable, and give a warning if
8053 running under "emacs -q".
8054
a1e65d42
JB
80552011-07-11 Juanma Barranquero <lekktu@gmail.com>
8056
8057 * loadhist.el (unload-feature-special-hooks):
8058 Add `auto-coding-functions', `fill-nobreak-predicate' and
8059 `find-directory-functions' (bug#5327).
8060
1d52da10
LMI
80612011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8062
be958f1d
LMI
8063 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8064
5bedb26c
LMI
8065 * cus-edit.el (custom-guess-name-alist): -alist variables should
8066 use the `alist' type (bug#3120). Suggested by Drew Adams.
8067
1d52da10
LMI
8068 * printing.el: Add documentation to all the `pr-toggle-' commands.
8069
cd394be1 80702011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8071
8072 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8073 backends where it makes sense (bug#2623).
8074
dcc88d8a
LMI
80752011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8076
c3de9feb
LMI
8077 * dired-x.el (dired-guess-default): Remove duplicate shell command
8078 entries (bug#2028).
8a93078b 8079 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8080 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8081
dcc88d8a
LMI
8082 * subr.el (remove-duplicates): New conveniency function.
8083
505e3645
LMI
80842011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8085
8086 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8087 (bug#1526).
8088
80892011-07-10 Martin Rudalics <rudalics@gmx.at>
8090
8091 * window.el (display-buffer-normalize-default): Don't invert
8092 meaning of even-window-heights. Reported by Eli Zaretskii
8093 <eliz@gnu.org>.
8094
455e4fa1
BR
80952011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8096
8097 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8098
8e0bc3e9
CY
80992011-07-10 Chong Yidong <cyd@stupidchicken.com>
8100
8101 * window.el (display-buffer): Fix arguments to
8102 display-buffer-reuse-window in last change.
8103
fa7c3228
CY
8104 * faces.el (link): Use a less saturated blue on light backgrounds.
8105
8106 * startup.el (fancy-startup-text, fancy-about-text)
8107 (fancy-startup-tail): Use font-lock faces, for background safety.
8108
c0a7f300
BN
81092011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8110
b796c9b7
SM
8111 * emulation/viper-cmd.el (viper-change-state-to-vi):
8112 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8113
4dc2a129
MR
81142011-07-09 Martin Rudalics <rudalics@gmx.at>
8115
8116 * window.el (display-buffer-default-specifiers): Remove.
8117 (display-buffer-macro-specifiers): Remove default specifiers.
8118 (display-buffer-alist): Default to nil.
b796c9b7 8119 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8120 (display-buffer-pop-up-window): Allow splitting internal
8121 windows. Check whether a live window was created.
8122 (display-buffer-other-window-means-other-frame)
8123 (display-buffer-normalize-arguments): Rename to
8124 display-buffer-normalize-argument and rewrite. Set the
8125 other-window specifier.
8126 (display-buffer-normalize-special): New function.
8127 (display-buffer-normalize-options): Rename to
8128 display-buffer-normalize-default and rewrite.
8129 (display-buffer-normalize-options-inhibit): Remove.
8130 (display-buffer-normalize-specifiers): Rewrite.
8131 (display-buffer): Process other-window specifier and call
8132 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8133 more faithfully.
b796c9b7 8134 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8135 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8136 (display-buffer-in-window, display-buffer-alist-set):
8137 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8138 <tassilo@member.fsf.org>.
8139
2d43b8c9
LL
81402011-07-09 Leo Liu <sdl.web@gmail.com>
8141
8142 * register.el (insert-register): Restore accidental change on
8143 2011-06-26. (Bug#9028)
8144
7f9b7c53
GM
81452011-07-09 Glenn Morris <rgm@gnu.org>
8146
8147 * subr.el (remq): Handle the empty list. (Bug#9024)
8148
f042cfd8
AS
81492011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8150
8151 * mail/sendmail.el (send-mail-function): No longer delay custom
8152 initialization.
8153 * custom.el (custom-initialize-delay): Doc fix.
8154
856b2f11
SM
81552011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8156
8157 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8158
afae1d68
MA
81592011-07-08 Michael Albinus <michael.albinus@gmx.de>
8160
8161 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8162 human-friendly prompt.
8163
0757af94
SM
81642011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8167 provided by a particular plugin.
8168
d760b731
LMI
81692011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8170
8171 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8172 save customizations (with "emacs -Q"), just set the variable
8173 instead of erroring out.
8174
8175 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8176
cd79ce90
JL
81772011-07-08 Juri Linkov <juri@jurta.org>
8178
8179 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8180 (archive-zip-update-case): Use 7z if found by `executable-find'.
8181 The order of searching the available programs is the same as in
8182 `archive-zip-extract' (bug#8968).
8183
14cc04aa
CY
81842011-07-07 Chong Yidong <cyd@stupidchicken.com>
8185
8186 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8187 (menu-bar-options-menu): Tweak descriptions.
8188
0a1848ec
LMI
81892011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8190
8191 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8192 menu items into verb phrases (bug#1421). Also refill to fit under
8193 80 columns.
8194
f5bd0689
CY
81952011-07-07 Chong Yidong <cyd@stupidchicken.com>
8196
538e85c6
CY
8197 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8198 (Info-read-node-name): Doc fix (Bug#1084).
8199
f5bd0689
CY
8200 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8201 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8202 (end-of-sexp, beginning-of-sexp)
8203 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8204 (forward-symbol, forward-same-syntax, word-at-point)
8205 (sentence-at-point): Doc fix (Bug#1144).
8206
56ec5115
LMI
82072011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8208
f3f8e37f
LMI
8209 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8210 should cover it (bug#1281).
8211
0757af94 8212 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8213
e9fce1ac 8214 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8215 negotiation fails, then possibly try again with a non-encrypted
8216 connection (bug#9017).
8217
56ec5115
LMI
8218 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8219 be used.
8220
c2f9aec8
RS
82212011-07-07 Richard Stallman <rms@gnu.org>
8222
8223 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8224 property, and handle its changed format.
8225 Look for the correct line number.
8226 Use file's line contents (but not past first =) to find
8227 correct line in message.
8228
ef7b981d 82292011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8230
8231 * international/characters.el (build-unicode-category-table):
8232 Delete it.
0757af94 8233 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8234
0757af94 8235 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8236 to src/chartab.c.
8237 (get-char-code-property): Call unicode-property-table-internal to
8238 load a file. Call get-unicode-property-internal where necessary.
8239 (put-char-code-property): Call unicode-property-table-internal to
8240 load a file. Call put-unicode-property-internal where necessary.
8241 put-unicode-property-internal where necessary.
0757af94
SM
8242 (char-code-property-description):
8243 Call unicode-property-table-internal to load a file.
c805dec0
KH
8244
8245 * international/charprop.el:
8246 * international/uni-bidi.el:
8247 * international/uni-category.el:
8248 * international/uni-combining.el:
8249 * international/uni-comment.el:
8250 * international/uni-decimal.el:
8251 * international/uni-decomposition.el:
8252 * international/uni-digit.el:
8253 * international/uni-lowercase.el:
8254 * international/uni-mirrored.el:
8255 * international/uni-name.el:
8256 * international/uni-numeric.el:
8257 * international/uni-old-name.el:
8258 * international/uni-titlecase.el:
8259 * international/uni-uppercase.el: Regenerate.
8260
8261 * loadup.el: Load international/charprop.el before
8262 international/characters.
8263
e14b388a
CY
82642011-07-07 Chong Yidong <cyd@stupidchicken.com>
8265
8266 * window.el (next-buffer, previous-buffer): Signal an error if
8267 called from a minibuffer window.
8268
8269 * bindings.el: Revert 2011-07-04 change.
8270
354cf0ba
RS
82712011-07-06 Richard Stallman <rms@gnu.org>
8272
8273 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8274 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8275 Treat markers like ints.
8276 (rmail-mime-entity): Doc fix.
8277
a48868a7
LMI
82782011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8279
4906cd3d
LMI
8280 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8281 defcustom again for backwards compatibility.
8282
e0457abe
LMI
8283 * simple.el (shell-command-on-region): Fill.
8284
d67f7e1f
LMI
8285 * dired-aux.el (dired-kill-line): Add a doc string.
8286
fe204702
LMI
8287 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8288 to "\\sw\\|\\s_" (bug#358).
8289
a48868a7
LMI
8290 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8291 (dired-unmark-backward): Ditto.
8292 (dired-flag-backup-files): Ditto.
8293
8294 * dired-x.el (dired-mark-sexp): Ditto.
8295
aa8a705c
RS
82962011-07-06 Richard Stallman <rms@gnu.org>
8297
8298 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8299 (rmail-mime-entity): New arg TRUNCATED.
8300 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8301 New functions.
8302 (rmail-mime-save): Warn if entity is truncated.
8303 (rmail-mime-toggle-hidden): Likewise, for showing.
8304 (rmail-mime-process-multipart): Record when an entity is truncated.
8305
a9a936b9
RS
8306 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8307 if ENTITY is a string.
8308
1f2b92cb
LMI
83092011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8310
f4f73198 8311 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8312 of faces when `M-C-x'-ing their definitions (bug#8378).
8313 Also clean up the code slightly.
f4f73198 8314
12b16734 8315 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8316 because that makes the colors go away.
12b16734 8317
f0691d22
LMI
8318 * mail/sendmail.el (send-mail-function): Change the default to
8319 `sendmail-query-once'.
9e87df06 8320 (sendmail-query-once): Add an autoload cookie.
f0691d22 8321
1f2b92cb
LMI
8322 * net/network-stream.el (network-stream-open-starttls): Try using
8323 a plain connection even if the server offered STARTTLS, and we
8324 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8325 capability. This should make smtpmail.el work in slightly more
8326 configurations.
8327
1cdd2a1b
MA
83282011-07-06 Michael Albinus <michael.albinus@gmx.de>
8329
8330 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8331 New defun.
8332 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8333
fbcc67e2
MM
83342011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8335
8336 * progmodes/sql.el: Version 3.0
0757af94 8337 (sql-product-alist): Add product :completion-object,
fbcc67e2 8338 :completion-column, and :statement attributes.
0757af94 8339 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8340 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8341 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8342 ansi keywords.
8343 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8344 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8345 (sql-oracle-show-reserved-words): New function for development.
8346 (sql-product-font-lock): Simplify for source code buffers.
8347 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8348 New functions.
8349 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8350 (sql-mode-map): Add statement movement functions.
8351 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8352 New variable.
fbcc67e2
MM
8353 (sql-statement-regexp, sql-beginning-of-statement)
8354 (sql-end-of-statement, sql-signum): New functions.
0757af94 8355 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8356 (sql-show-sqli-buffer): Bug fix.
8357 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8358 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8359 with sql-interactive-mode.
8360 (sql-save-connection): Save buffer local settings.
0757af94 8361 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8362 (sql-product-interactive): Bug fix.
8363 (sql-preoutput-hold): New variable.
8364 (sql-interactive-remove-continuation-prompt): Bug fixes.
8365 (sql-debug-redirect): New variable.
8366 (sql-str-literal): New function.
8367 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8368 Redesign.
fbcc67e2
MM
8369 (sql-oracle-save-settings, sql-oracle-restore-settings)
8370 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8371 (sql-completion-object, sql-completion-column)
8372 (sql-completion-sqlbuf): New variables.
8373 (sql-build-completions-1, sql-build-completions)
8374 (sql-try-completion): New functions.
8375 (sql-read-table-name): Use them.
8376 (sql-contains-names): New buffer local variable.
8377 (sql-list-all, sql-list-table): Use it.
8378 (sql-oracle-completion-types): New variable.
8379 (sql-oracle-completion-object, sql-sqlite-completion-object)
8380 (sql-postgres-completion-object): New functions.
8381
d4eaeab1
GM
83822011-07-06 Glenn Morris <rgm@gnu.org>
8383
8384 * window.el (pop-to-buffer): Doc fix.
8385
322b7dab 83862011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8387
8388 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8389
322b7dab 83902011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8391
322b7dab 8392 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8393
322b7dab 8394 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8395
605dd5bf
CY
83962011-07-05 Chong Yidong <cyd@stupidchicken.com>
8397
8398 * button.el (button): Inherit from link face. Suggested by Dan
8399 Nicolaescu.
8400
7dbfa719
SM
84012011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8402
3db614b0
SM
8403 * progmodes/gdb-mi.el: Fit in 80 columns.
8404 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8405 switch-to-buffer.
8406
7dbfa719
SM
8407 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8408 if imenu is simply not configured (bug#8941).
8409
919d884a
KM
84102011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8411
8412 * allout.el (allout-post-undo-hook): New allout outline-change
8413 event hook to signal undo activity.
8414 (allout-post-command-business): Run allout-post-undo-hook if an
8415 undo just occurred.
7dbfa719
SM
8416 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8417 * allout-widgets.el (allout-widgets-after-undo-function):
8418 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8419 in the vicinity of an undo.
8420 (allout-widgets-mode): Include allout-widgets-after-undo-function
8421 on the new allout-post-undo-hook.
8422
450a0f09
SM
84232011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8424
8425 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8426 Let define-derived-mode define it.
8427 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8428 cycles of abbrev-table inheritance (bug#8998).
8429
2de69e00
RW
84302011-07-05 Roland Winkler <winkler@gnu.org>
8431
8432 * textmodes/bibtex.el: Add support for biblatex.
8433 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8434 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8435 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8436 (bibtex-entry-alist, bibtex-field-alist): New variables.
8437 (bibtex-entry-field-alist): Obsolete alias for
8438 bibtex-BibTeX-entry-alist.
8439 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8440 (bibtex-set-dialect): New command.
8441 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8442 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8443 Bind via bibtex-set-dialect.
2de69e00
RW
8444 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8445 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8446 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8447 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8448 Define via bibtex-set-dialect.
450a0f09
SM
8449 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8450 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8451 (bibtex-vec-push, bibtex-vec-incr): New functions.
8452 (bibtex-format-entry, bibtex-field-list)
8453 (bibtex-print-help-message, bibtex-validate)
8454 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8455
2dcdbdd9
SM
84562011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8457
8458 * progmodes/compile.el (compilation-goto-locus):
8459 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8460 * bs.el (bs-cycle-next, bs-cycle-previous):
8461 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8462 * bindings.el (mode-line-other-buffer):
8463 * autoinsert.el (auto-insert):
8464 * arc-mode.el (archive-extract):
8465 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8466
b27640fe
JB
84672011-07-05 Juanma Barranquero <lekktu@gmail.com>
8468
8469 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8470 Fix check of `emacs-lock-unlockable-modes'.
8471 Coerce true values of `emacs-lock--try-unlocking' to t.
8472
53bbe3ad
JB
84732011-07-05 Juanma Barranquero <lekktu@gmail.com>
8474
8475 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8476 * emacs-lock.el: New file.
8477
1d3cdbc7
JD
84782011-07-05 Julien Danjou <julien@danjou.info>
8479
8480 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8481 than `boundp' to check if face is set.
8482
9173deec
JB
84832011-07-05 Juanma Barranquero <lekktu@gmail.com>
8484
8485 * register.el (registerv-make):
8486 * window.el (window-min-height): Fix typos in docstrings.
8487
869795d6
JD
84882011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8489
9173deec 8490 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8491 Update doc string.
8492
b768cdcd
JB
84932011-07-04 Juanma Barranquero <lekktu@gmail.com>
8494
8495 * server.el (server-execute): Catch quit and call
8496 `server-return-error' to pass the error back to emacsclient and
8497 close the connection (bug#8942).
8498
13aa217b
KM
84992011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8500
8501 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8502 insecure exception for current topic. Also note that auto-saves
8503 are handled differently.
8504
5d3385a0 8505 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8506 State variables for tracking auto-save inhibition situation.
8507
8508 (allout-write-contents-hook-handler): Rename from
8509 'allout-write-file-hook-handler', and describe how it depends on
8510 write-contents-functions sensitivity to non-nil value to prevent
8511 file write.
8512
8513 (allout-auto-save-hook-handler): Remove. auto-save does not check
8514 this in individual buffers, only in the starting buffer, so this
8515 is not the right way for us to inhibit auto-save in a buffer
8516 according to its condition.
8517
8518 (allout-mode): Use new allout-write-contents-hook-handler, and
8519 only with write-contents-functions. Remove auto-save provisions -
8520 they're implemented elsewhere.
8521
8522 (allout-before-change-handler): If undo is in progress, note that
8523 for attention of allout-post-command-business.
8524
8525 (allout-post-command-business): If the command we're following was
8526 an undo, check for change in the status of encrypted items and
8527 adjust auto-save inhibitions accordingly.
8528
8529 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8530 according to whether there are or aren't any plain-text topics
8531 pending encryption.
8532
2dcdbdd9 8533 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8534 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8535 if there are plain-text topics pending encryption.
13aa217b
KM
8536
8537 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8538 buffer-saved-size and some allout state to not inhibit auto-saves
8539 if there are no longer any plain-text topics pending encryption.
8540
0757af94
SM
8541 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8542 No longer provide for exemption of the current topic.
13aa217b 8543
ac89b32c
JL
85442011-07-04 Juri Linkov <juri@jurta.org>
8545
8546 Add 7z operations to delete and save changed members (bug#8968).
8547 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8548 New defcustoms.
8549 (archive-7z-write-file-member): New function.
8550 (archive-7z-summarize): Fix the number of dashes in the
8551 listing output.
8552
8fa39615
SM
85532011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8554
8555 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8556 (bug#8958).
8557
2f11b3f1
CY
85582011-07-04 Chong Yidong <cyd@stupidchicken.com>
8559
d66fef2b
CY
8560 * bindings.el: Ignore next-buffer and previous-buffer in
8561 minibuffer-local-map.
8562
2f11b3f1
CY
8563 * font-lock.el (font-lock-builtin-face): Change light background
8564 color to dark slate blue (Bug#6693).
8565
f932a347
WD
85662011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8567
8568 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8569
c8af70e1
SM
85702011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8571
8572 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8573 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8574 Add switch-to-buffer.
8575
f158badc
LMI
85762011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8577
8578 * isearch.el (isearch-search-fun-function): Clarify further the
8579 meaning of the function returned.
8580
6d95bd46
MA
85812011-07-04 Michael Albinus <michael.albinus@gmx.de>
8582
8583 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8584
8585 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8586 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8587 Use it.
8588 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8589 `tramp-default-remote-path' does not exist.
8590 (tramp-send-command-and-read): New optional argument NOERROR.
8591 (tramp-open-connection-setup-interactive-shell)
8592 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8593 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8594 (tramp-process-sentinel): Flush also process' connection property.
8595 (tramp-sh-handle-start-file-process): Do not set process
8596 sentinel. It is done now ...
8597 (tramp-maybe-open-connection): ... here. (Bug#8929)
8598
909e6b67
MK
85992011-07-04 MON KEY <monkey@sandpframing.com>
8600
8601 * play/animate.el (animate-string): Doc fixes and allow changing
8602 the buffer name (bug#5417).
8603
86042011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8605
c8af70e1 8606 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8607
f34755dc
PE
86082011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8609
396cec72
PE
8610 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8611 This is simpler and helps future-proof the code.
8612 (timer-until): Use time-subtract and float-time.
08235028 8613 (timer--time-less-p): Use time-less-p.
f34755dc 8614
56e6cc31
JB
86152011-07-04 Juanma Barranquero <lekktu@gmail.com>
8616
3abb79e5
JB
8617 * type-break.el (timep): Use the value of `float-time' to avoid a
8618 byte-compiler warning.
8619
56e6cc31
JB
8620 * server.el (server-eval-and-print): Return any result, even nil.
8621
7b9430b4
PE
86222011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8623
8624 * type-break.el: Accept time formats that the builtins accept.
8625 (timep, type-break-time-difference): Accept any format that
8626 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8627 This is simpler and helps future-proof the code.
8628 (type-break-time-difference): Round rather than ignoring
8629 subseconds components.
8630
3034e9e7
LMI
86312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8632
8633 * info.el (Info-apropos-matches): Make non-interactive, since it
8634 doesn't seem to do anything useful as a command (bug#8829).
8635
1485f4c0
CY
86362011-07-03 Chong Yidong <cyd@stupidchicken.com>
8637
8638 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8639 Move from faces.el.
1485f4c0
CY
8640 (frame-default-terminal-background): New function.
8641
8642 * custom.el (custom-push-theme): Don't record faces in `changed'
8643 theme; this doesn't work correctly for per-frame face settings.
8644 (disable-theme): Use face-set-after-frame-default to reset faces.
8645 (custom--frame-color-default): New function.
8646
9fa3dd45
LMI
86472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8648
c8af70e1 8649 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8650 (bug#8769).
8651
6cbbc20c
KR
86522011-03-29 Kevin Ryde <user42@zip.com.au>
8653
8654 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8655 `perl-Test2' extend to match possible "fail #N" rep count
8656 (bug#8377).
8657
c7f98048
LMI
86582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8659
65676592
LMI
8660 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8661 `smtpmail-via-smtp' now returns the error instead of nil.
8662
c7f98048
LMI
8663 * isearch.el (isearch-search-fun-function): Clarify the doc string
8664 (bug#8101).
8665
56e6cc31 86662011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8667
8668 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8669 unnecessary spaces (bug#8987).
8670
2b216704
LMI
86712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8672
8673 * net/network-stream.el (open-network-stream): Use the
8674 :end-of-capability command thoughout.
8675
86762011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8677
8678 * net/network-stream.el (open-network-stream): Add the
8679 :end-of-capability command parameter, used by pop3.el.
8680
36adf6ce
LMI
86812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8682
1ca0da0e
LMI
8683 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8684
fc00f69c
LMI
8685 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8686 for list)" (bug#6475).
8687
28fd8759 8688 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8689 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8690 an error (bug#6297).
8691
0dd8b6da
LMI
8692 * man.el (Man-reference-regexp): Allow matching possible
8693 word-wrapped references (bug#6289).
8694
ce1438d6
LMI
8695 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8696 for consistency with the other vc buffers (bug#6197).
8697 (vc-checkin): Ditto.
8698
8699 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8700
36adf6ce
LMI
8701 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8702
e83cc1f7
LMI
87032011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8704
8a20ca4c
LMI
8705 * custom.el (defcustom): Clarify that :set is only used in the
8706 Customize user interface (bug#6089).
8707
83319045
LMI
8708 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8709 associated with a file, refuse to run instead of erroring out
8710 (bug#6084).
8711
a8392169
LMI
8712 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8713 the doc string, since it appears that using `fill-column' always
8714 controls the width (bug#7845).
8715
e83cc1f7
LMI
8716 * simple.el (shell-command-on-region): Say where the error output
8717 went if `shell-command-default-error-buffer' is set (bug#6857).
8718
e47ca23b
KM
87192011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8720
8721 * allout.el (allout-yank-processing): Adjust cursor position for
8722 backwards-deleted space.
8723
8724 (allout-rebullet-heading): Register changes with
8725 allout-exposure-changed-hook, so the modified topic is properly
8726 decorated.
8727
5cf56143
LMI
87282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8729
08549772
LMI
8730 * minibuffer.el (completion-in-region): Document PREDICATE
8731 (bug#7136).
8732
48e96771
LMI
8733 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8734 of keyword/argument pairs (bug#6904).
8735
c8af70e1
SM
8736 * replace.el (multi-occur):
8737 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8738
e17d05e2
LMI
87392011-07-02 Drew Adams <drew.adams@oracle.com>
8740
8741 * dired.el (dired-mark-if): Make the message about whether it's
8742 marking or unmarking clearer (bug#8523).
8743
063b0e45
LMI
87442011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8745
8746 * disp-table.el (display-table-print-array): New function.
8747 (describe-display-table): Use it to print the vectors more pretty
8748 (Bug#8859).
8749
28545e04
MR
87502011-07-02 Martin Rudalics <rudalics@gmx.at>
8751
8752 * window.el (window-state-get-1): Don't assign clone numbers.
8753 Add clone-of item to list of window parameters.
8754 (window-state-put-2): Don't process clone numbers.
8755 (display-buffer-alist): Fix doc-string.
8756
3349e122
SM
87572011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8758
8759 * subr.el (remq): Don't allocate if it's not needed.
8760 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8761 (keymap--merge-bindings): New functions.
8762 (keymap-canonicalize): Use them to refine the canonicalization.
8763 * minibuffer.el (minibuffer-local-completion-map)
8764 (minibuffer-local-must-match-map): Move initialization from C.
8765 (minibuffer-local-filename-completion-map): Move initialization from C;
8766 don't inherit from anything here.
8767 (minibuffer-local-filename-must-match-map): Make obsolete.
8768 (completing-read-default): Use make-composed-keymap to combine
8769 minibuffer-local-filename-completion-map with either
8770 minibuffer-local-must-match-map or
8771 minibuffer-local-filename-completion-map.
8772
d224ac83
GM
87732011-07-01 Glenn Morris <rgm@gnu.org>
8774
3de63bf8
GM
8775 * type-break.el (type-break-time-sum): Use dolist.
8776
d224ac83
GM
8777 * textmodes/flyspell.el (flyspell-word-search-backward):
8778 Replace CL function.
8779
1a1e3f32
SM
87802011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8781
fe3f64d5
SM
8782 * mouse.el (mouse--strip-first-event): New function.
8783 (function-key-map): Use it to map fringe clicks to normal clicks
8784 by default.
8785
eb604e34
SM
8786 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8787 (vc-bzr-revision-completion-table): Add support for annotate and date.
8788
1a1e3f32
SM
8789 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8790 inherit from parent.
8791
5bd35902
LMI
87922011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8793
ace6c69c 8794 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8795 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8796
191e2bed
LMI
8797 * dired.el (dired-mode): Fix up the doc string as suggested by
8798 Drew Adams (bug#8817).
8799
5bd35902
LMI
8800 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8801 cookie, since the manual says that it should be possible to add
8802 this function to `find-file-hook' (bug#8709).
8803
eee8207a
TZ
88042011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8805
8806 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8807 here. Noted Ted Zlatanov as the maintainer.
8808 (cfengine-common-settings, cfengine-common-syntax): New functions
8809 to set up common things between `cfengine-mode' and
8810 `cfengine3-mode'.
8811 (cfengine3-mode): New mode.
8812 (cfengine3-defuns cfengine3-defuns-regex
8813 (cfengine3-class-selector-regex cfengine3-category-regex)
8814 (cfengine3-vartypes cfengine3-font-lock-keywords)
8815 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8816 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8817
36b148cf
MA
88182011-07-01 Michael Albinus <michael.albinus@gmx.de>
8819
8820 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8821
8822 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8823
0bf4ba9a
MR
88242011-07-01 Martin Rudalics <rudalics@gmx.at>
8825
8826 * window.el (same-window-buffer-names, same-window-regexps)
8827 (same-window-p, special-display-frame-alist)
8828 (special-display-popup-frame, special-display-function)
8829 (special-display-buffer-names, special-display-regexps)
8830 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8831 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8832 (split-window-preferred-function, split-height-threshold)
8833 (split-width-threshold, even-window-heights)
8834 (display-buffer-mark-dedicated, window-splittable-p)
8835 (split-window-sensibly, window-safely-shrinkable-p):
8836 Un-obsolete.
8837 (display-buffer): Don't spread args with function specifier
8838 because special-display-popup-frame won't like it.
8839
35837f51
PE
88402011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8841
d0672f86
PE
8842 Time-stamp simplifications and fixes.
8843 These improve accuracy slightly, and future-proof the code
8844 against some potential changes to current-time format.
8845
b9444d97
PE
8846 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8847 by using time-since and float-time.
8848
0ef923dc
PE
8849 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8850 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8851 + NNN microseconds".
8852
2f81380d
PE
8853 * type-break.el (type-break-time-sum): Rewrite using time-add.
8854
845b5c3e
PE
8855 * play/hanoi.el (hanoi-current-time-float): Remove.
8856 All uses replaced by float-time.
8857
ee6f1be0
PE
8858 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8859 This yields a more-accurate answer.
8860 (rng-time-to-float): Remove; no longer needed.
8861
fe955043
PE
8862 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8863
5777162a
PE
8864 * calendar/timeclock.el (timeclock-seconds-to-time):
8865 Defalias to seconds-to-time, since they're the same thing.
8866
3103f8b6 8867 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8868 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8869 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8870
0e61a35f
SM
88712011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8872
8873 * window.el (bury-buffer): Don't iconify the only frame.
8874 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8875 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8876
ddd63a1e
CY
88772011-07-01 Chong Yidong <cyd@stupidchicken.com>
8878
0e61a35f
SM
8879 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8880 Add mouse-yank-primary.
ddd63a1e 8881
055f4923
TZ
88822011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8883
8884 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8885
6a2fb145
SM
88862011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8887
8888 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8889 (find-library-name): Use it to find relative load names when provided
8890 absolute file name (bug#8803).
8891
fd4983f2
LMI
88922011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8893
887d14ad
LMI
8894 * textmodes/flyspell.el (flyspell-word): Consider words that
8895 differ only in case as potential doublons (bug#5687).
8896
c53dc7fc
LMI
8897 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8898 Remove two rather uninteresting debugging-like messages to make
8899 debbugs.el more silent.
8900
fd4983f2
LMI
8901 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8902 a password-like phrase.
8903
7a71b18d 89042011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8905
8906 * progmodes/cc-guess.el: New file.
8907
6a2fb145 8908 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8909
8910 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8911 derived from `c-basic-common-init'.
8912
8913 * progmodes/cc-mode.el (top-level): Require cc-guess.
8914 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8915
1fa280a3
LM
89162011-06-30 Lawrence Mitchell <wence@gmx.li>
8917
8918 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8919
e6597158
AM
89202011-06-30 Alan Mackenzie <acm@muc.de>
8921
1fa280a3
LM
8922 * progmodes/cc-engine.el (c-guess-continued-construct):
8923 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8924 lock is disabled. Name this case as "CASE G".
8925
68ba37fb
KM
89262011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8927
8928 * allout.el (allout-yank-processing): Fix injection of extra space
8929 between bullet and non-whitespace character in first topic when
8930 pasting, ensuring that the actual spacing in the pasted topic
8931 following the bullet char is preserved. This extra space was
8932 causing pasted encrypted topics to get a decrypted status even
8933 when the content was actually still encrypted. Now the decryption
8934 status from before the paste is preserved.
8935
8936 (allout-flag-region): Set all allout overlays so they evaporate
8937 when reduced to zero length (evanescent), to prevent overlay
8938 leakage.
8939
887a0b34
GM
89402011-06-30 Glenn Morris <rgm@gnu.org>
8941
94b9acce
GM
8942 * w32-fns.el (w32-charset-info-alist): Declare.
8943
1d9b46d4
GM
8944 * find-dired.el (find-grep-options): Simplify.
8945
cc232200
GM
8946 * term/ns-win.el (ns-set-resource): Declare.
8947
28e77c46
GM
8948 * ses.el (row, col): Declare dynamic variables honestly.
8949
887a0b34
GM
8950 * textmodes/reftex-parse.el (index-tags): Declare.
8951
658d8eb8
CY
89522011-06-30 Chong Yidong <cyd@stupidchicken.com>
8953
8954 * cus-edit.el (customize-push-and-save): New function.
8955
8956 * files.el (hack-local-variables-confirm): Use it.
8957
1fa280a3
LM
8958 * custom.el (load-theme): New arg NO-CONFIRM.
8959 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8960 (custom-enabled-themes): Doc fix.
8961
8962 * cus-theme.el (customize-create-theme)
8963 (custom-theme-merge-theme): Callers to load-theme changed.
8964
bb617717
LMI
89652011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8966
d61bdd5d
LMI
8967 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8968 short URLs have at least one dot in them (bug #7614).
8969
bb617717
LMI
8970 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8971 nil, because using a pty is apparently too slow (bug #895).
8972
2f31f37a
LMI
89732011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8974
8975 * mail/sendmail.el (sendmail-query-once): New function.
8976 (sendmail-query-once-function): New variable.
8977
3076b24e
GM
89782011-06-29 Glenn Morris <rgm@gnu.org>
8979
faf2a174
GM
8980 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8981
3076b24e
GM
8982 * ses.el (top-level): Require cl when compiling.
8983 (ses-set-localvars): Fix error statement.
8984 Call it at compile time to silence a storm of warnings.
8985
5386012d
MR
89862011-06-29 Martin Rudalics <rudalics@gmx.at>
8987
8988 * window.el (normalize-live-buffer): Rename to
8989 window-normalize-buffer.
8990 (normalize-live-frame): Rename to window-normalize-frame.
8991 (normalize-any-window): Rename to window-normalize-any-window.
8992 (normalize-live-window): Rename to window-normalize-live-window.
8993 (make-window-atom): Rename to window-make-atom.
8994 (window-resize-reset): Rename to window--resize-reset.
8995 (window-resize-reset-1): Rename to window--resize-reset-1.
8996 (resize-mini-window): Rename to window--resize-mini-window.
8997 (resize-subwindows-skip-p): Rename to
8998 window--resize-subwindows-skip-p.
8999 (resize-subwindows-normal): Rename to
9000 window--resize-subwindows-normal.
9001 (resize-subwindows): Rename to window--resize-subwindows.
9002 (resize-other-windows): Rename to window--resize-siblings.
9003 (resize-this-window): Rename to window--resize-this-window.
9004 (resize-root-window): Rename to window--resize-root-window.
9005 (resize-root-window-vertically): Rename to
9006 window--resize-root-window-vertically.
9007 (normalize-buffer-to-display): Rename to
9008 window-normalize-buffer-to-display.
9009 (normalize-buffer-to-switch-to): Rename to
9010 window-normalize-buffer-to-switch-to.
9011 Correspondingly update all callers of the functions listed
9012 above.
9013 (display-buffer-alist, display-buffer-normalize-arguments)
9014 (display-buffer-normalize-options, display-buffer)
9015 (display-buffer-alist-set): Use "function" instead of
9016 "fun-with-args".
9017
1176868d
CY
90182011-06-28 Chong Yidong <cyd@stupidchicken.com>
9019
9020 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9021 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9022 debbugs.gnu.org. Mention acknowledgment email.
9023
20a7a65f
LMI
90242011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9025
9026 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9027 buffer multibyteness, since it shouldn't matter.
9028
5f45cca5
MR
90292011-06-28 Martin Rudalics <rudalics@gmx.at>
9030
9031 * window.el (display-buffer-in-side-window): Handle dedicated
9032 windows as in display-buffer-reuse-window.
9033 (display-buffer-normalize-alist): Use value of override
9034 specifier.
9035 (display-buffer-normalize-specifiers): Use value of
9036 other-window-means-other-frame specifier.
9037 (display-buffer-alist): Rewrite some texts in widgets.
9038 (display-buffer): Spread arguments when calling function
9039 specified by fun-with-args.
9040
ad85fe1f
DD
90412011-06-28 Deniz Dogan <deniz@dogan.se>
9042
1fa280a3
LM
9043 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9044 Unnest `let'.
da68c4c8 9045
ad85fe1f
DD
9046 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9047 selectors (Bug#5732).
ec49bd31 9048 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9049
a08cc025
JA
90502011-06-27 Jari Aalto <jari.aalto@cante.net>
9051
9052 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9053 (eshell-ls-date-format): New defcustom.
9054 (eshell-ls-file): Use it.
9055
e2b551c5
SM
90562011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9057
9058 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9059
8982b231
KY
90602011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9061
9062 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9063 (ange-ftp-make-tmp-name): New arg.
9064 (ange-ftp-file-local-copy): Use it.
9065
36c9fa27
J
90662011-06-27 Jambunathan K <kjambunathan@gmail.com>
9067
9068 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9069 no-conversion (Bug#8870).
9070
d68443dc
MR
90712011-06-27 Martin Rudalics <rudalics@gmx.at>
9072
9073 * window.el (window-right, window-left, window-child)
9074 (window-child-count, window-last-child)
9075 (window-iso-combination-p, walk-window-tree-1)
9076 (window-atom-check-1, window-tree-1, delete-window)
9077 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9078 new naming conventions - window-vchild, window-hchild,
9079 window-next and window-prev are now called window-top-child,
9080 window-left-child, window-next-sibling and window-prev-sibling
9081 respectively.
d615d6d2
MR
9082 (resize-window-reset): Rename to window-resize-reset.
9083 (resize-window-reset-1): Rename to window-resize-reset-1.
9084 (resize-window): Rename to window-resize.
9085 (window-min-height, window-min-width)
9086 (resize-mini-window, resize-this-window, resize-root-window)
9087 (resize-root-window-vertically, adjust-window-trailing-edge)
9088 (enlarge-window, shrink-window, maximize-window)
9089 (minimize-window, delete-window, quit-restore-window)
9090 (split-window, balance-windows, balance-windows-area-adjust)
9091 (balance-windows-area, window-state-put-2)
9092 (display-buffer-even-window-sizes, display-buffer-set-height)
9093 (display-buffer-set-width, set-window-text-height)
9094 (fit-window-to-buffer): Rename all "resize-window" prefixed
9095 calls to use the "window-resize" prefix convention.
9096 (display-buffer-alist): Fix symbol for label specifier.
9097 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9098 corresponding specifier.
9099 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9100
b6458526
VB
91012011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9102
9103 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9104 convention.
9105 (ses-call-printer): Does not pass an empty string to formatter when the
9106 cell is empty to keep from barking printer Calc math-format-value.
9107
d31fd9ac
RS
91082011-06-27 Richard Stallman <rms@gnu.org>
9109
43d5bf84
RS
9110 * battery.el (battery-mode-line-limit): New variable.
9111 (battery-update): Handle it.
9112
d31fd9ac
RS
9113 * mail/rmailmm.el (rmail-mime-process-multipart):
9114 Handle truncated messages.
9115
819a6054
GM
91162011-06-27 Glenn Morris <rgm@gnu.org>
9117
9118 * progmodes/flymake.el (flymake-err-line-patterns):
9119 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9120
cedc73f2
VB
91212011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9122
819a6054 9123 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9124 (ses--clean-!, ses--clean-_): New functions.
9125 (ses-range): Add configurability of readout order, and conversion
9126 to Calc vector.
9127
5e5d49b6
VB
9128 * ses.el (ses-repair-cell-reference-all): New function.
9129 (ses-cell-symbol): Set macro as safe, so that it can be used in
9130 formulas.
9131
56e6cc31 9132 * ses.el: Update cycle detection algorithm.
90ca8b49 9133 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9134 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9135 (ses-set-localvars): New function.
9136 (ses-make-cell): Add property-list as a cell element.
9137 (ses-cell-property-get-fun, ses-cell-property-get)
9138 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9139 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9140 New functions.
90ca8b49
VB
9141 (ses-cell-property-set, ses-cell-property-pop)
9142 (ses-cell-property-get-handle): New macro.
9143 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9144 New aliases, used for code readability.
9145 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9146 cycle detection.
9147 (ses-self-reference-early-detection): New defcustom.
fac916bf 9148 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9149 (ses-mode): Use ses-set-localvars.
9150 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9151 before lauching the update processing.
9152 (ses-initialize-Dijkstra-attempt): New function.
9153 (ses-recalculate-cell): Update for cycle detection based on
9154 Dijkstra algorithm.
9155
2bb63e81
VB
9156 * ses.el: Fix commenting and indenting convention.
9157
c9d29fb8
SM
91582011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9159
9160 * bs.el (bs-cycle-next): Complete last change.
9161
d8e4b68b
JB
91622011-06-27 Drew Adams <drew.adams@oracle.com>
9163
9164 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9165
40098786
LMI
91662011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9167
c9d29fb8
SM
9168 * net/network-stream.el (network-stream-open-starttls):
9169 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9170 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9171
40098786
LMI
9172 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9173 to binary to possibly avoid line encoding issues on Windows (among
9174 other things).
9175
468d09d4
LMI
91762011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9177
9178 * net/network-stream.el (open-network-stream): Return an :error
9179 saying what the problem was, if possible.
9180
9181 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9182 server.
9183
9184 * net/network-stream.el (network-stream-open-starttls): If we
9185 wanted to use STARTTLS, and the server offered it, but we weren't
9186 able to because we had no STARTTLS support, then close the connection.
9187 (open-network-stream): Return an :error element, if present.
9188
16f07dd7
CY
91892011-06-26 Chong Yidong <cyd@stupidchicken.com>
9190
88821ca0
CY
9191 * hl-line.el (hl-line-sticky-flag): Doc fix.
9192 (global-hl-line-sticky-flag): New option (Bug#8323).
9193 (global-hl-line-highlight): Obey it.
9194
16f07dd7
CY
9195 * vc/vc.el (vc-revert-show-diff): Default to t.
9196
6b5ccddf
KM
91972011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9198
c9d29fb8
SM
9199 * allout-widgets.el (allout-widgets-post-command-business):
9200 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9201 undecorated when an isearch is continued past, and isearch
9202 automatically collapses them. This leads to "widget leaks", where
9203 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9204 hidden widgets can slow down cursor travel, substantially.
9205 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9206 so we're doing without this nicety.
9207
9208 (allout-widgets-tally-string): Don't try to do a hash-table-count
9209 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9210 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9211 *Messages* when allout-widgets-maintain-tally is t.
9212
355f2e07
MR
92132011-06-26 Martin Rudalics <rudalics@gmx.at>
9214
9215 * window.el (display-buffer-normalize-argument): Rename to
9216 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9217 LABEL argument. Respect special-display-function when popping up
9218 a new frame. Fix code searching for a window showing the buffer
9219 on another frame.
c9d29fb8
SM
9220 (display-buffer-normalize-specifiers):
9221 Call display-buffer-normalize-arguments.
355f2e07
MR
9222 (display-buffer-in-window): Don't undedicate the window if its
9223 buffer remains the same.
9224 Reported by Drew Adams <drew.adams@oracle.com>.
9225 (display-buffer-alist): Add choice for same-window macro
9226 specfier.
9227 (display-buffer): Mention special meaning of LABEL argument in
9228 doc-string. Fix quoting. Don't pop up a new frame even as
9229 fallback.
9230
7ca8fc42
JB
92312011-06-26 Juanma Barranquero <lekktu@gmail.com>
9232
9233 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9234 avoid deleting the current window in some cases (bug#8911).
9235
bc312254
AS
92362011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9237
9238 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9239 (Bug#8934)
9240
2db18f3f
LMI
92412011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9242
c9d29fb8
SM
9243 * net/network-stream.el (network-stream-open-starttls):
9244 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9245 (network-stream-open-tls): Ditto.
9246
6302e0d3
LL
92472011-06-26 Leo Liu <sdl.web@gmail.com>
9248
9249 * register.el (registerv): New struct.
9250 (registerv-make): New function.
c9d29fb8
SM
9251 (jump-to-register, describe-register-1, insert-register):
9252 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9253 struct. (Bug#8415)
9254
5fdd4046
CY
92552011-06-26 Chong Yidong <cyd@stupidchicken.com>
9256
2afef60a
CY
9257 * vc/vc.el (vc-revert-show-diff): New defcustom.
9258 (vc-diff-internal): New arg specifying diff buffer.
9259 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9260 reuse an existing *vc-diff* buffer (Bug#8927).
9261
5fdd4046
CY
9262 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9263
e93db24a
GM
92642011-06-26 Glenn Morris <rgm@gnu.org>
9265
9266 * progmodes/f90.el (f90-critical-indent): New option.
9267 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9268 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9269 (f90-mode): Doc fix.
9270 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9271 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9272 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9273 (f90-match-end): Handle block, critical.
9274
eefff499
GM
92752011-06-25 Glenn Morris <rgm@gnu.org>
9276
f6ba4cc9
GM
9277 * calendar/diary-lib.el (diary-included-files): Doc fix.
9278 (diary-include-files): New function, extracted from
9279 diary-include-other-diary-files and diary-mark-included-diary-files.
9280 (diary-include-other-diary-files, diary-mark-included-diary-files):
9281 Just call diary-include-files.
9282 (diary-mark-entries): Reset diary-included-files on first call.
9283
16712304
GM
9284 * calendar/diary-lib.el (diary-mark-entries)
9285 (diary-mark-included-diary-files):
9286 Visit included diary-files in temp buffers.
9287
5d8e0d43
GM
9288 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9289 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9290 (f90-start-block-re, f90-imenu-generic-expression)
9291 (f90-looking-at-program-block-start, f90-no-block-limit):
9292 Add support for submodules.
9293
ccf7a5d5
GM
9294 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9295 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9296
11fdef7d 92972011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9298
9299 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9300 buffer-file-type before setting its value, to avoid disastrous
eefff499 9301 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9302
74f53697
JB
93032011-06-25 Juanma Barranquero <lekktu@gmail.com>
9304
9305 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9306
9307 * ses.el (ses-unload-function):
9308 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9309
9310 * proced.el (proced-unload-function):
9311 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9312
18a4ce5e
AR
93132011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9314
9315 * server.el (server-create-window-system-frame): Add parameters arg.
9316 (server-process-filter): Doc fix. Handle frame-parameters.
9317
519d22cc
JB
93182011-06-25 Juanma Barranquero <lekktu@gmail.com>
9319
9320 Fix bug#8730, bug#8781.
9321
9322 * loadhist.el (unload--set-major-mode): New function.
9323 (unload-feature): Use it.
9324
9325 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9326 (python-unload-function): New function.
9327
c206f5b0
SM
93282011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9329
9330 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9331
f9ad64f3
GS
93322011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9333
9334 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9335 the candidates list.
9336
7d0da90e
JB
93372011-06-24 Juanma Barranquero <lekktu@gmail.com>
9338
9339 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9340
14b4e83d
RS
93412011-06-23 Richard Stallman <rms@gnu.org>
9342
9343 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9344 (rmail-variables): Set next-error-move-function.
9345 (rmail-what-message): Take argument POS.
9346 (rmail-next-error-move): New function.
9347
273d2baf
SM
93482011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9349
9350 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9351 messages for adjacent non-terminals.
9352
56c2cc9a
RS
93532011-06-23 Richard Stallman <rms@gnu.org>
9354
9355 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9356 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9357 (rmail-start-mail): Don't specify use of rmail-mail-return;
9358 that's done by mail-bury now.
9359 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9360
d59eb518
MA
93612011-06-23 Michael Albinus <michael.albinus@gmx.de>
9362
9363 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9364 SIZE is a number.
9365
02cfc6d6
MR
93662011-06-23 Martin Rudalics <rudalics@gmx.at>
9367
9368 * window.el (get-lru-window, get-mru-window)
9369 (get-largest-window): Never return a minibuffer window.
9370 (display-buffer-pop-up-window): Fix a bug that could lead to
9371 reusing the minibuffer window.
9372 (display-buffer): Pass original specifier argument to
9373 display-buffer-function instead of the normalized one.
9374 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9375
4e323265
LL
93762011-06-22 Leo Liu <sdl.web@gmail.com>
9377
9378 * minibuffer.el (completing-read-function)
9379 (completing-read-default): Move from minibuf.c
9380
7a70468f
RS
93812011-06-22 Richard Stallman <rms@gnu.org>
9382
50718fc2
RS
9383 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9384 to Rmail even if not started by a special Rmail command.
9385
7a70468f
RS
9386 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9387 Copy the buffer currently showing just one message.
9388
297dde5a
RW
93892011-06-22 Roland Winkler <winkler@gnu.org>
9390
9391 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9392 (bibtex-clean-entry): First delete the old key so that a
9393 customized algorithm for generating the new key does not get
9394 confused by the old key.
9395 (bibtex-url): Obey regexp of first step.
9396 (bibtex-search-entries): Do not use add-to-list with local
9397 list-var.
9398
97bb1093
LMI
93992011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9400
9401 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9402 stored a user name, then query for the password first, instead of
9403 waiting for SMTP to give an error message and the trying again.
9404
1c0f1a19
JD
94052011-06-22 Lawrence Mitchell <wence@gmx.li>
9406
9407 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9408 BUFFER in call-process.
9409
396f7c9d
LMI
94102011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9411
9412 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9413 QUIT twice.
ddb7ffee
LMI
9414 (smtpmail-try-auth-methods): Require user name and password from
9415 auth-source.
396f7c9d 9416
8998d1b3
MR
94172011-06-22 Martin Rudalics <rudalics@gmx.at>
9418
9419 * window.el (display-buffer-default-specifiers)
9420 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9421 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9422 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9423
9424 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9425 (special-display-frame-alist, special-display-popup-frame):
9426 Remove duplicate declarations. These are now in window.el.
9427
4ea31e07
LMI
94282011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9429
c9d29fb8
SM
9430 * mail/smtpmail.el (smtpmail-via-smtp):
9431 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9432 server supports it. SMTP servers that support STARTTLS commonly
9433 require it.
9434
9435 * net/network-stream.el (network-stream-open-starttls): Support
9436 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9437 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9438
95f41d9a
LMI
9439 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9440 upgrades with `open-network-stream', and rely solely on
9441 auth-source for all credentials. Big changes throughout the file,
9442 but in particular:
c9d29fb8
SM
9443 (smtpmail-auth-credentials): Remove.
9444 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9445 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9446 MAIL FROM, too.
95f41d9a 9447
c9d29fb8
SM
9448 * net/network-stream.el (network-stream-open-starttls):
9449 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9450 STARTTLS.
9451 (auth-source): Require.
9452 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9453 (network-stream-certificate): Change cert-cert to cert and
9454 cert-key to key.
4ea31e07 9455
065ec2c7
MA
94562011-06-21 Michael Albinus <michael.albinus@gmx.de>
9457
9458 * net/tramp-cache.el (top): Don't load the persistency file when
9459 "emacs -Q" has been called.
9460
cd93b359
DR
94612011-06-21 Tim Harper <timcharper@gmail.com>
9462
d8e4b68b
JB
9463 * term/ns-win.el (ns-initialize-window-system):
9464 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9465 resource to NO as it is not yet supported by the NS port.
9466
ae9c0411
JB
94672011-06-21 Juanma Barranquero <lekktu@gmail.com>
9468
9469 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9470 (list-dynamic-libraries): ...not here.
9471
7f3f739f
LL
94722011-06-21 Leo Liu <sdl.web@gmail.com>
9473
9474 * subr.el (sha1): Implement sha1 using secure-hash.
9475
327c8fb1
MR
94762011-06-21 Martin Rudalics <rudalics@gmx.at>
9477
9478 * window.el (display-buffer-alist): In default value do not
9479 enforce searching a window on any but the selected frame.
9480 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9481 (display-buffer-select-window): Remove function.
9482 (display-buffer-in-window): When a window on another frame gets
9483 reused, do not select it any more but just raise its frame if
9484 necessary (Bug#8851) and (Bug#8856).
9485 (display-buffer-normalize-options): Handle pop-up-frames related
9486 options more faithfully.
9487 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9488 window if it is on another frame.
c9d29fb8
SM
9489 (display-buffer-alist, display-buffer-default-specifiers):
9490 Don't make new frame unsplittable by default.
9e9de014
MR
9491 (display-buffer-normalize-argument): Fix doc-string typo and use
9492 'same-frame-other-window instead of 'other-window when associating
9493 with display-buffer-macro-specifiers.
327c8fb1 9494
7cf3f556
VB
94952011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9496
9497 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9498 New functions.
9499 (5x5-mode-map, 5x5-mode-menu): Bind them.
9500 (5x5-draw-grid): Tweak the solver's rendering.
9501
60a406cf
SM
95022011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9503
9504 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9505 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9506
d8e4b68b 95072011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9508
9509 * menu-bar.el: Use function variable instead of switch-to-buffer.
9510 (menu-bar-select-buffer-function): New variable.
60a406cf 9511 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9512
478d6f95
SM
95132011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9514
9515 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9516 variable's status.
9517
ca530739
JD
95182011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9519
9520 * x-dnd.el (x-dnd-version-from-flags)
9521 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9522 and long as number (Bug#8899).
9523 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9524
bcd70d97
SM
95252011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9526
60a406cf 9527 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9528 (completion-try-completion, completion-all-completions): Compute the
9529 metadata argument if it's missing; make it optional (bug#8795).
9530
60a406cf 9531 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9532 (widget-complete): Use new :completion-function property.
9533 (widget-completions-at-point): New function.
9534 (default): Use :completion-function instead of :complete.
60a406cf
SM
9535 (widget-default-completions): Rename from widget-default-complete;
9536 Rewrite.
bcd70d97
SM
9537 (widget-string-complete, widget-file-complete, widget-color-complete):
9538 Remove functions.
9539 (file, symbol, function, variable, coding-system, color):
9540 * international/mule-cmds.el (default-input-method, charset)
9541 (language-info-custom-alist):
9542 * cus-edit.el (face): Use new property :completions.
9543
9544 * progmodes/pascal.el (pascal-completions-at-point): New function.
9545 (pascal-mode): Use it.
9546 (pascal-mode-map): Use completion-at-point.
9547 (pascal-toggle-completions): Make obsolete.
9548 (pascal-complete-word, pascal-show-completions):
9549 * progmodes/octave-mod.el (octave-complete-symbol):
9550 Redefine as obsolete alias.
9551 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9552 Signal absence of completion info for old Octave,
9553 (inferior-octave-complete): Redefine as obsolete alias.
9554 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9555 (meta-completions-at-point): Rename from meta-complete-symbol and
9556 adapt it for use on completion-at-point-functions.
9557 (meta-common-mode): Use it.
9558 (meta-looking-at-backward, meta-match-buffer): Remove.
9559 (meta-complete-symbol): Redefine as obsolete alias.
9560 (meta-common-mode-map): Use completion-at-point.
9561 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9562 (makefile-mode-map): Use completion-at-point.
9563 (makefile-completions-at-point): Rename from makefile-complete and
9564 adapt it for use on completion-at-point-functions.
9565 (makefile-mode): Use it.
9566 (makefile-complete): Redefine as obsolete alias.
9567
aebf69c8
DD
95682011-06-20 Deniz Dogan <deniz@dogan.se>
9569
9570 * net/rcirc.el: Delete trailing whitespaces once and for all.
9571
bfbbb27d
DC
95722011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9573
9574 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9575
d264a46b
CY
95762011-06-19 Chong Yidong <cyd@stupidchicken.com>
9577
4ca009e5
CY
9578 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9579
d264a46b
CY
9580 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9581
fbf5b3ce
MR
95822011-06-19 Martin Rudalics <rudalics@gmx.at>
9583
9584 * window.el (display-buffer-other-window-means-other-frame):
9585 Call display-buffer-normalize-alist.
9586 (display-buffer-normalize-specifiers-1): Rename to
9587 display-buffer-normalize-argument. New argument other-frame.
9588 Rewrite.
9589 (display-buffer-normalize-specifiers-2): Rename to
9590 display-buffer-normalize-options.
9591 (display-buffer-normalize-alist-1): New function.
9592 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9593 display-buffer-normalize-alist.
9594 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9595 (display-buffer-normalize-options-inhibit): New variable.
9596 (display-buffer-normalize-specifiers): Rewrite calling
9597 display-buffer-normalize-alist,
9598 display-buffer-normalize-argument, and
9599 display-buffer-normalize-options. Don't call the latter if
9600 display-buffer-normalize-options-inhibit is non-nil.
9601 (frame-auto-delete): New option.
9602 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9603 (window-list-no-nils, window-state-ignored-parameters)
9604 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9605 (window-state-put-1, window-state-put-2, window-state-put):
9606 New functions.
9a028c23
MR
9607 (display-buffer-normalize-options): Move special-display-p group
9608 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9609
6d10d800
CY
96102011-06-18 Chong Yidong <cyd@stupidchicken.com>
9611
6420d28b
CY
9612 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9613 groups (Bug#8776).
9614 (rx-submatch-n): New function.
9615 (rx): Document it.
9616
ddb8b596
CY
9617 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9618 (Bug#8768).
9619
9620 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9621
77080289
CY
9622 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9623
61dfb316
CY
9624 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9625 anytime existing face settings are present (Bug#8889).
9626
6d10d800
CY
9627 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9628 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9629 Remove unused argument.
9630
be3fb2b8
MR
96312011-06-18 Martin Rudalics <rudalics@gmx.at>
9632
bcd70d97
SM
9633 * window.el (display-buffer-default-specifiers):
9634 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9635 pop-up-window-min-width, and another reuse-window specifier
9636 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9637 (display-buffer-normalize-specifiers-2):
9638 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9639 pop-up-windows is unset. Add a reuse-window specifier for the
9640 case popping up a new window fails.
9641 (special-display-popup-frame): Remove double quoting.
28dec25a 9642 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9643
1c6d8c76
SM
96442011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9647 according to comint-completion-addsuffix.
9648
9649 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9650 (pcomplete-suffix-list): Mark as obsolete.
9651 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9652 pcomplete-seen in the closure.
9653 (pcomplete-comint-setup): Setup completion-at-point as well.
9654 (pcomplete--entries): New function.
9655 (pcomplete--env-regexp): New var.
9656 (pcomplete-entries): Rewrite to work with partial-completion and
9657 without relying on pcomplete-suffix-list.
9658 (pcomplete-pare-list): Remove, unused.
9659
25aef8b8
MR
96602011-06-17 Martin Rudalics <rudalics@gmx.at>
9661
9662 * window.el (display-buffer-alist): Set pop-up-window-min-height
9663 and pop-up-window-min-width in default value. Reported by
9664 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9665 other-window-means-other-frame.
9666 (display-buffer-macro-specifiers): Comment out entry for
9667 other-window specifier.
9668 (display-buffer-other-window-means-other-frame): New function.
9669 (display-buffer-normalize-specifiers-1): New arguments
9670 buffer-name and label. Treat other-window case specially.
9671 (display-buffer-normalize-specifiers-2): Treat other-window case
9672 specially.
9673 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9674 (display-buffer-normalize-specifiers):
9675 Call display-buffer-normalize-specifiers-3.
25aef8b8 9676
dbad4f69
MR
96772011-06-17 Martin Rudalics <rudalics@gmx.at>
9678
9679 * window.el (same-window-p): Fix two typos introduced when
9680 adding with-no-warnings.
d1067961
MR
9681 (display-buffer-normalize-specifiers-1): Don't check
9682 pop-up-frames for 'unset initialization.
9683 (display-buffer-normalize-specifiers-2): Major rewrite using
9684 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9685 (pop-up-frames, display-buffer-reuse-frames)
9686 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9687 Suggested by David Engster <deng@randomsample.de>.
9688 (even-window-heights): Initialize to 'unset.
9689 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9690 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9691 other window case.
dbad4f69 9692
9b9c9e3a
MR
96932011-06-16 Martin Rudalics <rudalics@gmx.at>
9694
bcd70d97
SM
9695 * window.el (display-buffer-normalize-specifiers-1):
9696 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9697 second argument of display-buffer (Bug#8865).
981d5c09
MR
9698 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9699 (switch-to-buffer-other-window-same-frame)
9700 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9701 Adams (Bug#8875).
9c2755e9
MR
9702 (display-buffer): Don't check noninteractive when calling
9703 display-buffer-pop-up-frame.
9704 (display-buffer-pop-up-frame): Never pop up a frame in
9705 noninteractive mode (Bug#8857).
67222e1d
MR
9706 (enlarge-window, shrink-window): Don't report an error when the
9707 window can't be resized as requested (Bug#8862).
9b9c9e3a 9708
2b75be67
SM
97092011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9710
9ffdd3ba
SM
9711 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9712
cb581a67
SM
9713 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9714
2b75be67
SM
9715 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9716
8c0e3589
AM
97172011-06-15 Alan Mackenzie <acm@muc.de>
9718
cb581a67
SM
9719 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9720 for declarators, disable knr checking to speed up for normal files.
9721 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9722
b96e6cde
LMI
97232011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9724
4bba86e6
LMI
9725 * net/network-stream.el (open-network-stream): Add the keyword
9726 :always-query-capabilities for the case where you want to force a
9727 `plain' network connection, but the protocol still requires the
9728 capabilitiy command (i.e., SMTP and EHLO).
9729
2b75be67 9730 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9731 consistency with other `-live-p' functions.
9732
efdcdbf8
SM
97332011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * window.el (same-window-buffer-names, same-window-regexps)
9736 (special-display-frame-alist, special-display-popup-frame)
9737 (special-display-function, special-display-buffer-names)
9738 (special-display-regexps, pop-up-frame-alist)
9739 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9740 (pop-up-windows, split-window-preferred-function)
9741 (split-height-threshold, split-width-threshold, even-window-heights)
9742 (display-buffer-mark-dedicated): Don't encourage the use of
9743 display-buffer-alist from Elisp code.
9744
c5cde042
DN
97452011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9746
9747 * progmodes/python.el (python-mode): Derive from prog-mode.
9748 * progmodes/ps-mode.el (ps-mode):
9749 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9750 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9751 * progmodes/ld-script.el (ld-script-mode): Likewise.
9752
baa1c9ab
MR
97532011-06-15 Martin Rudalics <rudalics@gmx.at>
9754
9755 * window.el (display-buffer-alist): Trim default value to avoid
9756 popping up a new frame (Bug#8857) or reusing an arbitrary window
9757 on another frame.
9758 (display-buffer): Do not fall back on popping up a new frame in
9759 batch mode (Bug#8857).
9760
c5dd5a51
CY
97612011-06-14 Chong Yidong <cyd@stupidchicken.com>
9762
9763 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9764 (custom-theme-summary): New function.
9765 (customize-themes): Use it.
9766
d647b7c4
GM
97672011-06-13 Glenn Morris <rgm@gnu.org>
9768
9769 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9770
9481c002
MR
97712011-06-13 Martin Rudalics <rudalics@gmx.at>
9772
357f93d2
MR
9773 * help.el (help-window): Remove variable.
9774 (help-window-point-marker, temp-buffer-max-height)
9775 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9776 (help-print-return-message): Don't set help-window.
9777 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9778 (help-window-setup-finish): Remove.
9779 (help-window-display-message, help-window-setup)
9780 (with-help-window): Major rewrite based on new
9781 display-buffer-window variable.
9782
9783 * help-mode.el (help-mode-finish): Remove help-window related
9784 code.
9785
9786 * view.el (view-exits-all-viewing-windows): Remove reference to
9787 view-return-to-alist in doc-string.
9788 (view-return-to-alist): Make obsolete.
9789 (view-buffer): Call pop-to-buffer-same-window and remove
9790 undo-window code.
9791 (view-buffer-other-window): Call pop-to-buffer-other-window and
9792 simplify code. Ignore second argument.
9793 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9794 simplify code. Ignore second argument.
9795 (view-return-to-alist-update): Make obsolete.
9796 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9797 Rewrite using quit-restore window parameters.
2b75be67
SM
9798 (view-mode-exit): Rename second argument to EXIT-ONLY.
9799 Rewrite using quit-restore-window.
357f93d2
MR
9800 (View-exit, View-exit-and-edit, View-leave, View-quit)
9801 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9802 appropriate arguments.
9803 (view-end-message): Use quit-restore window parameter.
9804
9481c002
MR
9805 * window.el (display-buffer-function): Rewrite doc-string.
9806 (display-buffer-window, display-buffer-alist): New variables.
9807 (display-buffer-split-specifiers)
9808 (display-buffer-side-specifiers)
9809 (display-buffer-macro-specifiers): New constants.
9810 (display-buffer-even-window-sizes, display-buffer-set-height)
9811 (display-buffer-set-width, display-buffer-select-window)
9812 (display-buffer-in-window, display-buffer-reuse-window)
9813 (display-buffer-split-window-1, display-buffer-split-window)
9814 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9815 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9816 (display-buffer-in-side-window, normalize-buffer-to-display)
9817 (display-buffer-normalize-specifiers-1)
9818 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9819 (display-buffer-normalize-specifiers, display-buffer-frame):
9820 New functions.
9481c002
MR
9821 (display-buffer): Major rewrite.
9822 (display-buffer-other-window, display-buffer-other-frame)
9823 (pop-to-buffer, switch-to-buffer-other-window)
9824 (switch-to-buffer-other-frame): Rewrite.
9825 (display-buffer-same-window, display-buffer-same-frame)
9826 (display-buffer-same-frame-other-window)
9827 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9828 (pop-to-buffer-other-window)
9829 (pop-to-buffer-same-frame-other-window)
9830 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9831 (switch-to-buffer-other-window-same-frame): New functions.
9832 (same-window-p, special-display-p): Rewrite disabling warnings.
9833 Make obsolete.
9834 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9835 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9836 Make obsolete
9837 (same-window-buffer-names, same-window-regexps)
9838 (special-display-frame-alist, special-display-popup-frame)
9839 (special-display-function, special-display-buffer-names)
9840 (special-display-regexps, pop-up-frame-alist)
9841 (pop-up-frame-function, split-window-preferred-function)
9842 (split-height-threshold, split-width-threshold)
9843 (even-window-heights): Make obsolete.
9844
9db51aca
GM
98452011-06-12 Glenn Morris <rgm@gnu.org>
9846
9847 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9848 Misc simplifications.
9db51aca 9849
39cffb44
MR
98502011-06-12 Martin Rudalics <rudalics@gmx.at>
9851
9852 * window.el (window-safely-shrinkable-p): Restore function which
9853 was inadvertently removed in change from 2011-06-11. Declare as
9854 obsolete.
9855
2b75be67
SM
9856 * calendar/calendar.el (calendar-generate-window):
9857 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9858 window-safely-shrinkable-p.
9859
a8955be7
GM
98602011-06-12 Glenn Morris <rgm@gnu.org>
9861
9862 * progmodes/fortran.el (fortran-mode-syntax-table):
9863 * progmodes/f90.el (f90-mode-syntax-table):
9864 Set % to punctuation. (Bug#8820)
9865 (f90-find-tag-default): Remove, no longer needed.
9866
f0d4059d
DC
98672011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9868
9869 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9870
1100a63c
CY
98712011-06-11 Chong Yidong <cyd@stupidchicken.com>
9872
9873 * image.el (image-animated-p): Return animation delay in seconds.
9874 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9875 (image-animate-timeout): Remove DELAY argument. Don't assume
9876 every subimage has the same delay; get it from image-animated-p.
9877 (image-animate): Caller changed.
9878
def722bf
MA
98792011-06-11 Michael Albinus <michael.albinus@gmx.de>
9880
9881 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9882 to ignored backtrace functions.
9883
0a2bb1a9
GM
98842011-06-11 Glenn Morris <rgm@gnu.org>
9885
9886 * calendar/appt.el (appt-disp-window-function): Doc fix.
9887 (appt-check): Handle overlapping appointments. (Bug#8337)
9888
6198ccd0
MR
98892011-06-11 Martin Rudalics <rudalics@gmx.at>
9890
9891 * window.el (window-tree-1, window-tree): New functions, moving
9892 the latter to window.el.
9893 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9894 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9895 (bw-refresh-edges): Remove.
9896 (balance-windows-1, balance-windows-2): New functions.
9897 (balance-windows): Rewrite in terms of window tree functions,
9898 balance-windows-1 and balance-windows-2.
9899 (bw-adjust-window): Remove.
9900 (balance-windows-area-adjust): New function with functionality of
9901 bw-adjust-window but using resize-window.
2b75be67
SM
9902 (set-window-text-height): Rewrite doc-string.
9903 Use normalize-live-window and resize-window.
9904 (enlarge-window-horizontally, shrink-window-horizontally):
9905 Rename argument to DELTA.
6198ccd0
MR
9906 (window-buffer-height): New function.
9907 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9908 Rewrite using new window resize routines.
2b75be67
SM
9909 (kill-buffer-and-window, mouse-autoselect-window-select):
9910 Use ignore-errors instead of condition-case.
6198ccd0
MR
9911 (quit-window): Call delete-frame instead of delete-windows-on
9912 for the only buffer on frame.
9913
9397e56f
MR
99142011-06-10 Martin Rudalics <rudalics@gmx.at>
9915
9916 * loadup.el (top-level): Load window before files for the sake
9917 of replace-buffer-in-windows.
9918
9919 * files.el (read-buffer-to-switch)
9920 (switch-to-buffer-other-window)
2b75be67
SM
9921 (switch-to-buffer-other-frame, display-buffer-other-frame):
9922 Move to window.el.
9397e56f
MR
9923
9924 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9925 (previous-buffer): Move to window.el.
9926
9927 * bindings.el (unbury-buffer): Move to window.el.
9928
9929 * window.el (delete-other-windows-vertically): Move after
9930 definition of delete-other-windows.
9931 (other-window, delete-windows-on, replace-buffer-in-windows):
9932 Move here from window.c.
9933 (record-window-buffer, unrecord-window-buffer)
9934 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9935 (switch-to-next-buffer): New functions.
9936 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9937 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9938 (previous-buffer): Move here from simple.el.
9939 Call switch-to-prev-buffer.
9397e56f
MR
9940 (bury-buffer): Move here from buffer.c. Switch to previous
9941 buffer when window cannot be deleted.
9942 (unbury-buffer): Move here from bindings.el.
9943 (ctl-x-map): Move binding for other-window from window.c to
9944 here.
9945 (read-buffer-to-switch, switch-to-buffer-other-window)
9946 (switch-to-buffer-other-frame): Move here from files.el.
9947 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9948 (switch-to-buffer): Move here from buffer.c.
9949 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9950
562dd5e9
MR
99512011-06-10 Martin Rudalics <rudalics@gmx.at>
9952
9953 * window.el (window-min-height, window-min-width): Move here
9954 from window.c. Add defcustoms and rewrite doc-strings.
9955 (resize-mini-window, resize-window): New functions.
9956 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9957 Move here from window.c.
9958 (maximize-window, minimize-window): New functions.
9959 (delete-window, delete-other-windows, split-window): Move here
9960 from window.c.
9961 (window-split-min-size): New function.
9962 (split-window-keep-point): Mention split-window-above-each-other
9963 instead of split-window-vertically.
2b75be67 9964 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9965 Rename split-window-vertically to split-window-above-each-other
9966 and provide defalias for old definition.
9967 (split-window-side-by-side, split-window-horizontally):
9968 Rename split-window-horizontally to split-window-side-by-side
9969 and provide defalias for the old definition.
562dd5e9
MR
9970 (ctl-x-map): Move bindings for delete-window,
9971 delete-other-windows and enlarge-window here from window.c.
9972 Replace bindings for split-window-vertically and
9973 split-window-horizontally by bindings for
9974 split-window-above-each-other and split-window-side-by-side.
9975
9976 * cus-start.el (all): Remove entries for window-min-height and
9977 window-min-width. Add entries for window-splits and
9978 window-nest.
9979
f0da764a
GM
99802011-06-09 Glenn Morris <rgm@gnu.org>
9981
80675c21
GM
9982 * calendar/appt.el (appt-mode-line): New function.
9983 (appt-check, appt-disp-window): Use it.
9984
f0da764a
GM
9985 * files.el (hack-one-local-variable-eval-safep):
9986 Allow minor-modes with explicit +/-1 arguments.
9987
59f623b7
TZ
99882011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9989
9990 * term/xterm.el (xterm): Add defgroup.
9991 (xterm-extra-capabilities): Add defcustom to supply known xterm
9992 capabilities, skip querying them, or query them (default).
9993 (terminal-init-xterm): Use it.
9994 (terminal-init-xterm-modify-other-keys): New function to set up
9995 modifyOtherKeys support to simplify `terminal-init-xterm'.
9996
9aab8e0d
MR
99972011-06-09 Martin Rudalics <rudalics@gmx.at>
9998
9999 * window.el (resize-window-reset, resize-window-reset-1)
10000 (resize-subwindows-skip-p, resize-subwindows-normal)
10001 (resize-subwindows, resize-other-windows, resize-this-window)
10002 (resize-root-window, resize-root-window-vertically)
10003 (window-deletable-p, window-or-subwindow-p)
10004 (frame-root-window-p): New functions.
10005
e8b08aee
GM
100062011-06-09 Glenn Morris <rgm@gnu.org>
10007
10008 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10009 (ange-ftp-get-files): Use it.
10010
254c37a5
AK
100112011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10012
10013 * mail/sendmail.el (mail-recover-1, mail-recover):
10014 * files.el (recover-file, recover-session):
10015 Handle dired-listing-switches not being just a single short option.
10016
35d7dbd3
GM
100172011-06-09 Glenn Morris <rgm@gnu.org>
10018
10019 * calendar/appt.el (appt-display-message, appt-disp-window):
10020 Handle lists of appointments.
10021
387522b2
MR
100222011-06-08 Martin Rudalics <rudalics@gmx.at>
10023
2b75be67
SM
10024 * window.el (one-window-p): Move down in code.
10025 Rewrite doc-string.
10026 (window-current-scroll-bars): Rewrite doc-string.
10027 Normalize live window argument.
387522b2
MR
10028 (walk-windows, get-window-with-predicate, count-windows):
10029 Rewrite doc-string. Use window-list-1.
10030 (window-in-direction-2, window-in-direction, get-mru-window):
10031 New functions.
10032
d8e4b68b 100332011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10034
10035 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10036 Doc fix (Bug#8713).
10037
100382011-06-08 Chong Yidong <cyd@stupidchicken.com>
10039
10040 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10041
100422011-06-08 Juanma Barranquero <lekktu@gmail.com>
10043
10044 * loadhist.el (unload-feature-special-hooks):
10045 Add `comint-output-filter-functions'.
10046
0de12c52
IK
100472011-06-08 Ivan Kanis <gnu@kanis.fr>
10048
10049 * calendar/appt.el (appt-check): Move some initializations into the let.
10050
f3d1777e
MR
100512011-06-08 Martin Rudalics <rudalics@gmx.at>
10052
10053 * window.el (window-height): Defalias to window-total-height.
10054 (window-width): Defalias to window-body-width.
10055
18af70d0
CY
100562011-06-07 Chong Yidong <cyd@stupidchicken.com>
10057
10058 * image-mode.el (image-toggle-animation): New command.
10059 (image-mode-map): Bind it to RET.
10060 (image-mode): Update message.
10061 (image-toggle-display-image): Avoid a spurious cache flush.
10062 (image-transform-rotation): Doc fix.
10063 (image-transform-properties): Return quickly in the normal case.
10064 (image-animate-loop): Rename from image-animate-max-time.
10065
2b75be67 10066 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10067 (create-animated-image): Remove unnecessary function.
10068 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10069 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10070 (image-animate-timer): Use car-safe.
10071 (image-animate-timeout): Rename argument.
10072
190b47e6
MR
100732011-06-07 Martin Rudalics <rudalics@gmx.at>
10074
10075 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10076 window.c. Rename first argument to ALL-FRAMES.
10077 Rephrase doc-strings.
10078 (get-buffer-window-list): Rewrite using window-list-1.
10079 Rephrase doc-string.
a1511caf
MR
10080 (window-safe-min-height, window-safe-min-width): New constants.
10081 (window-size-ignore, window-min-size, window-min-size-1)
10082 (window-sizable, window-sizable-p, window-size-fixed-1)
10083 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10084 (window-max-delta-1, window-max-delta, window-resizable)
10085 (window-resizable-p, window-total-height, window-total-width)
10086 (window-body-width): New functions.
10087 (window-full-height-p, window-full-width-p): Rewrite using
10088 window-total-size.
10089 (window-body-height): Rewrite using window-body-size.
190b47e6 10090
85cc1f11
MR
100912011-06-06 Martin Rudalics <rudalics@gmx.at>
10092
10093 * window.el (window-right, window-left, window-child)
10094 (window-child-count, window-last-child, window-any-p)
10095 (normalize-live-buffer, normalize-live-frame)
10096 (normalize-any-window, normalize-live-window)
10097 (window-iso-combination-p, window-iso-combined-p)
10098 (window-iso-combinations)
10099 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10100 (windows-with-parameter, window-with-parameter)
10101 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10102 (window-atom-check, window-side-check, window-check):
10103 New functions.
85cc1f11
MR
10104 (ignore-window-parameters, window-sides, window-sides-vertical)
10105 (window-sides-slots): New variables.
10106 (window-size-fixed): Move down in code. Minor doc-string fix.
10107
e7156492
AS
101082011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10109
10110 * comint.el (comint-dynamic-complete-as-filename)
10111 (comint-dynamic-complete-filename): Correctly call
10112 completion-in-region.
10113
7e821d0d
DD
101142011-06-05 Deniz Dogan <deniz@dogan.se>
10115
10116 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10117 in last change.
10118
ac09b8a1
DD
101192011-06-05 Deniz Dogan <deniz@dogan.se>
10120
10121 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10122 (rcirc): Use it to prompt for encryption.
10123
34699b85
RW
101242011-06-05 Roland Winkler <winkler@gnu.org>
10125
10126 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10127 (bibtex-search-entries): New command bound to C-c C-a.
10128 (bibtex-display-entries): New function.
10129
004dedd3
RW
101302011-06-05 Roland Winkler <winkler@gnu.org>
10131
10132 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10133 (bibtex-insert-kill): After yanking insert newline if necessary.
10134 (bibtex-initialize): Call bibtex-string-files-init only once.
10135 (bibtex-mode): Do not call easy-menu-add.
10136 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10137 (bibtex-yank): Set arg properly if nil.
10138
022fe7ce
RW
101392011-06-05 Roland Winkler <winkler@gnu.org>
10140
2b75be67
SM
10141 * textmodes/bibtex.el (bibtex-search-entry-globally):
10142 New variable.
022fe7ce
RW
10143 (bibtex-search-entry): Use it.
10144
b7c3692a
RW
101452011-06-05 Roland Winkler <winkler@gnu.org>
10146
10147 * textmodes/bibtex.el (bibtex-entry-format): New option
10148 sort-fields.
10149 (bibtex-format-entry, bibtex-reformat): Honor this option.
10150 (bibtex-parse-entry): Return fields in proper order.
10151
8eda563d
JB
101522011-06-05 Juanma Barranquero <lekktu@gmail.com>
10153
10154 * doc-view.el (doc-view-remove-if): Move computation of result out
10155 of `dolist' to silence misleading lexical-binding warning.
10156
7dbe3dbc
CY
101572011-06-04 Chong Yidong <cyd@stupidchicken.com>
10158
10159 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10160 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10161
0c33dd17
MA
101622011-06-04 Michael Albinus <michael.albinus@gmx.de>
10163
10164 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10165 "SunOS 5.10".
10166
f8f91c2b
MA
101672011-06-04 Michael Albinus <michael.albinus@gmx.de>
10168
10169 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10170 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10171 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10172 (tramp-parse-putty):
10173 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10174 (tramp-completion-function-alist-ssh)
10175 (tramp-completion-function-alist-telnet)
10176 (tramp-completion-function-alist-su)
10177 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10178 cookie.
10179
10180 * net/tramp-ftp.el:
10181 * net/tramp-sh.el:
10182 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10183 load "tramp.el" `tramp-set-completion-function'.
10184
e17d9003
SM
101852011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10186
10187 * shell.el: Require and use pcomplete.
10188 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10189 (shell-completion-vars): Set pcomplete-default-completion-function.
10190
6c4cab03
DD
101912011-06-04 Deniz Dogan <deniz@dogan.se>
10192
10193 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10194 `memq' (Bug#8799).
10195
ea9fafe0
SM
101962011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10197
10198 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10199
b3e945d3
JB
102002011-06-02 Juanma Barranquero <lekktu@gmail.com>
10201
10202 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10203 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10204 * vc/log-view.el (log-view-beginning-of-defun):
10205 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10206 (smerge-refine-forward, smerge-refine-chopup-region):
10207 Silence warning for unused `dotimes' counter variables.
10208
7d520089
SM
102092011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 * net/tramp.el (tramp-with-progress-reporter): Rename from
10212 with-progress-reporter. Use `declare'.
10213 * net/tramp-smb.el:
10214 * net/tramp-sh.el:
10215 * net/tramp-gvfs.el: Update all uses.
10216
a1c2400f
JB
102172011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10218
10219 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10220 buffer isn't killed before making it current.
10221
2403c841
SM
102222011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10223
10224 Silence various byte-compiler warnings.
10225 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10226 `access-type' and new obsolescence format.
10227 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10228 new format.
10229 (byte-compile-check-variable): New `access-type' argument.
10230 Only warn if the access-type is obsolete.
10231 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10232 (byte-compile-variable-set): Adjust callers.
10233 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10234 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10235 setting it as obsolete.
10236 * simple.el (minibuffer-completing-symbol):
10237 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10238 access as obsolete.
10239 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10240 obsolete yet.
10241 * international/quail.el (quail-mouse-choose-completion): Remove unused
10242 code referring to obsolete var.
10243 (quail-choose-completion-string): Remove.
10244 * server.el (server-clients-with, server-kill-buffer-query-function)
10245 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10246 * proced.el (proced-send-signal):
10247 * emacs-lisp/lisp.el (lisp-complete-symbol):
10248 Replace completion-annotate-function with completion-extra-properties.
10249
2462470b
SM
102502011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10251
fb5b2591
SM
10252 * simple.el (goto-line): Use read-number.
10253 (overriding-map-is-bound): Remove.
10254 (saved-overriding-map): Change default.
10255 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10256 Take the map as argument.
10257 (universal-argument, negative-argument, digit-argument): Use it.
10258 (restore-overriding-map): Adjust.
10259 (do-auto-fill): Use fill-forward-paragraph.
10260 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10261
fd6fa53f
SM
10262 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10263 (minibuffer-inactive-mode): New major mode.
10264 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10265 the *Messages* buffer" hack.
10266 (mouse-popup-menubar): Don't burp if the event is a normal key.
10267
2462470b
SM
10268 Miscellaneous tweaks.
10269 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10270 lexical scoping as in subr.el's dolist and dotimes.
10271 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10272 Silence compiler warning.
10273 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10274 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10275 * international/ccl.el (ccl-compile): Trivial simplification.
10276 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10277 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10278 `printflag' argument.
10279 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10280 Purecopy the whole obsolescence data.
10281
108bf785
LL
102822011-06-01 Leo Liu <sdl.web@gmail.com>
10283
10284 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10285 improve doc-string as suggested by Marco Pessotto
10286 <melmothx@gmail.com>.
10287 (rcirc-print): Fix last change.
10288
30a23501
SM
102892011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10290
10291 * minibuffer.el (complete-with-action): Return nil for the metadata and
10292 boundaries of non-functional tables.
10293 (completion-table-dynamic): Return nil for the metadata.
10294 (completion-table-with-terminator): Add default case, using
10295 complete-with-action.
10296 (completion--metadata): New function.
10297 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10298 to try and avoid pathological performance problems.
10299 (completion--embedded-envvar-table): Return `category' metadata.
10300
bcd54f83
LMI
103012011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10302
10303 * subr.el (process-alive-p): New tiny convenience function.
10304
e227544d
SM
103052011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10306
10307 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10308 content but also its previous major mode.
10309
e8296fdc
HE
103102011-05-31 Helmut Eller <eller.helmut@gmail.com>
10311
4d61f28d 10312 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10313 *Backtrace* buffer when we exit with C-M-c.
10314
620c53a6
SM
103152011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10316
10317 * minibuffer.el: Add metadata method to completion tables.
10318 (completion-category-overrides): New defcustom.
10319 (completion-metadata, completion--field-metadata)
10320 (completion-metadata-get, completion--styles)
10321 (completion--cycle-threshold): New functions.
10322 (completion-try-completion, completion-all-completions):
10323 Add `metadata' argument to choose completion-styles.
10324 (completion--do-completion): Use metadata to choose cycling.
10325 (completion-all-sorted-completions): Use metadata for sorting.
10326 Remove :completion-cycle-penalty which is not needed any more.
10327 (completion--try-word-completion): Add `metadata' argument.
10328 (minibuffer-completion-help): Check metadata for annotation function
10329 and sorting.
10330 (completion-file-name-table): Return `category' metadata.
10331 (minibuffer-completing-file-name): Make obsolete.
10332 * simple.el (minibuffer-completing-symbol): Make obsolete.
10333 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10334 completion-try-completion.
10335
1257e755
SM
103362011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10339
3767e706
LL
103402011-05-30 Leo Liu <sdl.web@gmail.com>
10341
10342 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10343 (rcirc-print): Decode all incoming messages (bug#8744).
10344 (rcirc-decode-coding-system): Allow value nil for automatic coding
10345 system detection.
3767e706 10346
d1a5d56a
GM
103472011-06-01 Glenn Morris <rgm@gnu.org>
10348
10349 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10350
e8cbec34
CY
103512011-05-29 Chong Yidong <cyd@stupidchicken.com>
10352
10353 * image.el (image-animate-max-time): Allow nil and t values.
10354 Default to nil.
10355 (create-animated-image): Doc fix.
10356 (image-animate-start): Remove second arg; just use
10357 image-animate-max-time.
10358 (image-animate-timeout): Doc fix. Args changed.
10359
10360 * image-mode.el (image-toggle-display-image): Ensure that the
10361 image spec passed to the animate timer is the same object as in
58179cce 10362 the buffer's display property (Bug#6981).
e8cbec34
CY
10363 (image-transform-properties): Doc fix.
10364
10365 * image.el (image-animate-max-time): Default to nil.
10366
159daf87
MR
103672011-05-29 Martin Rudalics <rudalics@gmx.at>
10368
10369 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10370 entire buffer list (Bug#8184).
10371
d66c4c7c
CY
103722011-05-29 Chong Yidong <cyd@stupidchicken.com>
10373
10374 * image.el (imagemagick-types-inhibit)
10375 (imagemagick-register-types): Doc fix.
10376
80aec780
DD
103772011-05-29 Deniz Dogan <deniz@dogan.se>
10378
10379 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10380 default.
10381
1dd3c2d9
CY
103822011-05-29 Chong Yidong <cyd@stupidchicken.com>
10383
10384 * select.el: Don't perform clipboard-manager saving in hooks;
10385 leave the hooks empty.
10386
60e56523
LL
103872011-05-28 Leo Liu <sdl.web@gmail.com>
10388
10389 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10390 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10391 (occur-edit-mode): New major mode (Bug#8463).
10392 (occur-after-change-function): New function.
10393 (occur-engine): Give Occur tags a read-only property.
10394
2b1e1a22
KR
103952011-05-28 Kevin Ryde <user42@zip.com.au>
10396
10397 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10398
5d344e88
CY
103992011-05-28 Chong Yidong <cyd@stupidchicken.com>
10400
8e6ca83d
CY
10401 * bindings.el (help-echo): Make the initial non-indicator dash
10402 empty on graphical terminals (Bug#7295).
10403
5d344e88
CY
10404 * files.el (auto-mode-alist): Move config rule after the
10405 in-stripping one (Bug#8547).
10406
bfbbace7
CY
10407 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10408
fbeba6e2
CY
10409 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10410 setting (Bug#8740).
10411
60ed8c72
AA
104122011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10413
4ac619f0
AA
10414 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10415 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10416 (Bug#8539).
60ed8c72 10417
23db196e
CY
104182011-05-28 Chong Yidong <cyd@stupidchicken.com>
10419
10420 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10421
5012f24c
DK
104222011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10423
10424 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10425 (hs-hide-block-at-point, hs-find-block-beginning)
10426 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10427 (Bug#8279).
10428
6a639b16
GM
104292011-05-28 Glenn Morris <rgm@gnu.org>
10430
10431 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10432
d43eaf2c
CY
104332011-05-28 Chong Yidong <cyd@stupidchicken.com>
10434
5199bde1
CY
10435 * help-fns.el (describe-function-1): If the function is a derived
10436 major mode, print the parent mode.
10437
d43eaf2c
CY
10438 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10439 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10440
423428a8
SM
104412011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10442
0ff8e1ba 10443 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10444 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10445 * progmodes/etags.el (tags-completion-at-point-function):
10446 * info-look.el (info-lookup-completions-at-point): Mark as
10447 non-exclusive.
10448 (info-complete): Adjust accordingly.
10449
423428a8
SM
10450 * info-look.el: Convert to lexical-binding and completion-at-point.
10451 (info-lookup-completions-at-point): New function.
10452 (info-complete): Use it and completion-in-region.
10453
b74aa22b
DA
104542011-05-28 Drew Adams <drew.adams@oracle.com>
10455
10456 * isearch.el: Let M-e start with point at the first mismatched char.
10457 (isearch-fail-pos): New function.
10458 (isearch-edit-string): Use it.
10459
66e2e71d
DK
104602011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10461
10462 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10463
b1890b0f 104642011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10465
10466 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10467 traversal functions for avl-trees.
10468 (avl-tree--stack): New struct.
10469 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10470 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10471 (avl-tree--do-enter): Add optional `updatefun' arg.
10472 Change return value.
eb95d01d 10473 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10474 (avl-tree--do-delete): Add `test' and `nilflag' args.
10475 Change return value.
eb95d01d
TC
10476 (avl-tree-member): Add optional `nilflag'
10477 (avl-tree-member-p): New function.
10478 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10479 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10480 (avl-tree-stack-empty-p): New functions.
10481
3769ddcf
TC
10482 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10483 avl-tree--del-balance1 and make it work both ways.
10484 (avl-tree--del-balance2): Remove.
10485 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10486 make it work both ways.
10487 (avl-tree--enter-balance2): Remove.
10488 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10489 New macros.
10490 (avl-tree--mapc, avl-tree-map): Add direction argument.
10491
eb95d01d 104922011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10493
10494 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10495
a9f737ee
CY
104962011-05-27 Chong Yidong <cyd@stupidchicken.com>
10497
10498 * select.el: Support clipboard managers with built-in function
10499 x-clipboard-manager-save, via delete-frame-functions and
10500 kill-emacs-hook.
10501 (xselect-convert-to-targets): Add MULTIPLE target to list.
10502 (xselect-convert-to-save-targets): New function.
10503
c92a1e54
KH
105042011-05-27 Kenichi Handa <handa@m17n.org>
10505
10506 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10507 let-binding rfc2047-encode-encoded-words to nil.
10508
e145f188
GM
105092011-05-27 Glenn Morris <rgm@gnu.org>
10510
5ec8a862
GM
10511 * mail/emacsbug.el: Don't require url-util.
10512
4b29d9fb
GM
10513 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10514
e145f188
GM
10515 * files.el (set-auto-mode):
10516 Also respect mode: entries at the end of the file. (Bug#8586)
10517
7d15102b
GM
105182011-05-26 Glenn Morris <rgm@gnu.org>
10519
98f593b8
GM
10520 * files.el (hack-local-variables-prop-line, hack-local-variables):
10521 Downcase mode names, as seems to be traditional.
27b48e63 10522 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10523
7d15102b
GM
10524 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10525 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10526
51d5b4ec
JD
105272011-05-25 Julien Danjou <julien@danjou.info>
10528
10529 * textmodes/rst.el (rst-define-level-faces): Do not define face
10530 symbol if it is already defined.
10531
91513f63
VB
105322011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10533
10534 * play/5x5.el (5x5-new-game, 5x5-randomize):
10535 Reset 5x5-solver-output to nil when a new grid is cast.
10536 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10537 these debugging traces, as defmacro breaks the compiled code.
10538
4d90d6d0
DK
105392011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10540
10541 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10542
e1b90ef6
LL
105432011-05-24 Leo Liu <sdl.web@gmail.com>
10544
10545 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10546 (vc-bzr-sha1): Adapt.
10547
d8e4b68b 10548 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10549
10550 * bindings.el: Provide sha1 feature.
10551
db0406bb 105522011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10553
10554 * mail/sendmail.el: Require `rfc2047'.
10555 (mail-insert-from-field): Do not perform RFC2047 encoding.
10556 (mail-encode-header): New function.
10557 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10558 buffer to the return value of select-message-coding-system.
10559 Call mail-encode-header.
b8d747b9
KH
10560
10561 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10562
db0406bb 105632011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10564
4d90d6d0
DK
10565 * mail/supercite.el (sc-default-cite-frame):
10566 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10567
eb8a5e9b
GM
105682011-05-24 Glenn Morris <rgm@gnu.org>
10569
f8630703
GM
10570 * progmodes/python.el (brm-menu): Declare.
10571
8831bbed
GM
10572 * emulation/viper.el (viper-set-hooks): Declare.
10573
eb8a5e9b
GM
10574 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10575 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10576 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10577 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10578 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10579 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10580
a2a25d24
SM
105812011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10582
10583 Add an :exit-function for completion-at-point.
10584
10585 * minibuffer.el (completion--done): New fun.
10586 (completion--do-completion): Use it. New arg `expect-exact'.
10587 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10588 since completion--do-completion does it for us now.
10589 (minibuffer-force-complete): Use completion--done and
10590 completion--replace. Handle sole-completion case with more care.
10591 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10592 (completion-extra-properties): New var.
10593 (completion-annotate-function): Make obsolete.
10594 (minibuffer-completion-help): Adjust accordingly.
10595 Use completion-list-insert-choice-function.
10596 (completion-at-point, completion-help-at-point):
10597 Bind completion-extra-properties.
10598 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10599 * simple.el (completion-list-insert-choice-function): New var.
10600 (completion-setup-function): Preserve it.
10601 (choose-completion): Pay attention to it, shuffle the code a bit.
10602 (choose-completion-string): New arg `insert-function'.
10603
10604 * textmodes/bibtex.el: Convert to lexical binding.
10605 (bibtex-mode-map): Use completion-at-point.
10606 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10607 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10608 (bibtex-complete): Define as obsolete alias.
10609 (bibtex-complete-internal): Remove.
10610 (bibtex-format-entry): Remove unused sub-group in regexp.
10611 * shell.el (shell--command-completion-data)
10612 (shell-environment-variable-completion):
10613 * pcomplete.el (pcomplete-completions-at-point):
10614 * comint.el (comint--complete-file-name-data): Use :exit-function
10615 instead of completion-table-with-terminator so it also works for
10616 choose-completion.
10617
e44e373d
SM
106182011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10619
4f91a816
SM
10620 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10621
782fc819
SM
10622 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10623 (bug#8710).
10624
e44e373d
SM
10625 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10626
381987c3
KM
106272011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10628
10629 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10630 customization variable and implement: If non-nil, auto-fill will
10631 be inhibited while on topic's header line.
10632
b776bc70
VB
106332011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10634
10635 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10636 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10637 always have a solution in grid size = 5 cases.
10638 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10639 (5x5-solver-output, 5x5-log-buffer): New vars.
10640 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10641 Make these variables buffer local to achieve 5x5 multi-session-ness.
10642 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10643 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10644 (5x5-solve-suggest): New funs.
10645 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10646 randomize a grid so that we ensure that there is always a solution.
10647 (5x5-make-random-grid): Allow other movement than flipping.
10648
7de88b6e
KR
106492011-05-23 Kevin Ryde <user42@zip.com.au>
10650
10651 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10652 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10653 advice and passes PREDICATE.
10654
b1ef1257
SM
106552011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10656
bbca48fe
SM
10657 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10658 byte-compile-lambda if it's actually a lambda.
10659
b1ef1257
SM
10660 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10661 Fix function quoting. Use backquote better.
10662
92a9cc65
YS
106632011-05-22 Yuanle Song <sylecn@gmail.com>
10664
10665 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10666 matching (Bug#8516).
10667
f0fb8059
JA
106682011-01-22 Jari Aalto <jari.aalto@cante.net>
10669
10670 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10671 different face (Bug#8178).
10672
d5b44c93
CY
106732011-05-22 Chong Yidong <cyd@stupidchicken.com>
10674
10675 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10676 defface (Bug#8144).
10677
79106a44
SM
106782011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10679
9c848d8a
SM
10680 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10681 funcall as well (bug#8712). Warn when performing those conversions.
10682 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10683
79106a44
SM
10684 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10685
88dfa756
GM
106862011-05-22 Glenn Morris <rgm@gnu.org>
10687
10688 * files.el (hack-local-variables-prop-line): Small simplifications.
10689 (hack-local-variables, hack-local-variables-prop-line):
10690 If MODE-ONLY, return the mode, rather than just `t'.
10691
b7cf2c79
SM
106922011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10695
3f1a8558
GM
106962011-05-21 Glenn Morris <rgm@gnu.org>
10697
7e4ccca3
GM
10698 * files.el (hack-local-variables-prop-line, hack-local-variables):
10699 If only interested in the mode, don't bother doing the other stuff.
10700
637d46ca
GM
10701 * image-mode.el (image-after-revert-hook):
10702 Redraw all frames on which the image is visible. (Bug#8567)
10703
973d955b
GM
10704 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10705
3f1a8558
GM
10706 * wid-edit.el (widget-checklist-match-inline):
10707 Fix 2011-04-19 change. (Bug#8649)
10708
96479927
SM
107092011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10710
1dcf791f
SM
10711 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10712 Also allow singlespace after single-letter capitals followed by a dot.
10713
96479927
SM
10714 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10715 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10716
35fd0881
N
107172011-05-20 Nix <nix@esperi.org.uk>
10718
10719 * files.el (basic-save-buffer-2):
10720 Fix handling of break-hardlink-on-save with non-existent files.
10721
82745640
DD
107222011-05-19 Deniz Dogan <deniz@dogan.se>
10723
10724 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10725 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10726
4a720484
GM
107272011-05-19 Glenn Morris <rgm@gnu.org>
10728
d1f21341
GM
10729 * progmodes/f90.el (f90-type-def-re):
10730 Handle "type, bind(c)". (Bug#8691)
10731
4a720484
GM
10732 * emacs-lisp/autoload.el (batch-update-autoloads):
10733 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10734
2fb0a219
MA
107352011-05-18 Michael Albinus <michael.albinus@gmx.de>
10736
10737 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10738 property for the correct connection in case of multihops.
10739
e565dd37
GM
107402011-05-18 Glenn Morris <rgm@gnu.org>
10741
c2571358 10742 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10743 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10744
e565dd37
GM
10745 Rationalize calendar handling of day and month abbrev-arrays.
10746 * calendar/calendar.el (calendar-customized-p): New function.
10747 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10748 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10749 Add :set function.
10750 (calendar-abbrev-length, calendar-day-abbrev-array)
10751 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10752 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10753 Elements may no longer be nil.
10754 (calendar-day-name, calendar-month-name):
10755 Update for changed nature of abbrev arrays.
10756 * calendar/diary-lib.el (diary-name-pattern):
10757 Update for changed nature of abbrev arrays.
10758 (diary-mark-entries-1): Update calendar-make-alist calls.
10759 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10760 * calendar/cal-html.el (cal-html-day-abbrev-array):
10761 Simply inherit from calendar-day-abbrev-array.
10762
1d99a745
SM
107632011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10764
10765 * progmodes/grep.el (grep-mode): Disable default
10766 compilation-directory-matcher setting (bug#8684).
10767
7c1d9aa0
MA
107682011-05-17 Michael Albinus <michael.albinus@gmx.de>
10769
10770 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10771 instead of "head" and "tail". There were problems with SunOS 5.9,
10772 and it performs better.
10773
3952e9d8
GM
107742011-05-17 Glenn Morris <rgm@gnu.org>
10775
2dd12e7f
GM
10776 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10777
e4157b9c
GM
10778 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10779 Replace obsolete function.
10780
8e249bbd
GM
10781 * shell.el (pcomplete-parse-arguments-function): Declare.
10782
3952e9d8
GM
10783 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10784 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10785 (appt-check): Doc fixes.
10786 (appt-disp-window-function, appt-delete-window-function):
10787 Remove needless special case in custom :type.
10788 (appt-display-count): Default to 0, not nil.
10789 (appt-check): Reset appt-display-count to 0, not nil.
10790
c71a0d48 107912011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10792
c71a0d48
GM
10793 * progmodes/python.el (python-font-lock-keywords):
10794 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10795
31d55be9
SM
107962011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10797
10798 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10799
3bfacb2f
KR
108002011-05-16 Kevin Ryde <user42@zip.com.au>
10801
10802 * info-look.el (makefile-automake-mode): New setups, looking in
10803 automake manual, then makefile-mode.
10804 (makefile-mode): Remove automake manual, have it just in
10805 makefile-automake-mode since there's various things different or
10806 not relevant to plain make.
10807 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10808 believe a hypothetical automake-mode would go to makefile-mode,
10809 not the other way around.
10810
c8e83751
CY
108112011-05-15 Chong Yidong <cyd@stupidchicken.com>
10812
5e9e35cd
CY
10813 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10814 hunk-end tags (Bug#8672).
10815
c8e83751
CY
10816 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10817 vc-annotate-show-diff-revision-at-line (Bug#8671).
10818
50b23e5a
GM
108192011-05-14 Glenn Morris <rgm@gnu.org>
10820
7210a739
GM
10821 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10822 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10823 (change-log-font-lock-keywords): Also handle multiple author lines
10824 with leading tabs. (Bug#8644)
7210a739 10825
4691905a
GM
10826 * calendar/appt.el (appt-check): Rename some local variables.
10827 Some simplification/reordering.
10828
50b23e5a
GM
10829 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10830 (feedmail-sendmail-f-doesnt-sell-me-out)
10831 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10832 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10833 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10834 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10835 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10836 (feedmail-binmail-gnulinuxish-template):
10837 Rename from feedmail-binmail-linuxish-template.
10838 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10839 Use insert-buffer-substring.
10840
215cda7c
BC
108412011-05-14 Bill Carpenter <bill@carpenter.org>
10842
10843 * mail/feedmail.el (feedmail-patch-level): Increase.
10844 (feedmail-debug): New custom group.
10845 (feedmail-confirm-outgoing-timeout)
10846 (feedmail-sendmail-f-doesnt-sell-me-out)
10847 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10848 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10849 (feedmail-sender-line, feedmail-from-line)
10850 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10851 (feedmail-spray-this-address)
215cda7c
BC
10852 (feedmail-spray-address-fiddle-plex-list)
10853 (feedmail-queue-use-send-time-for-date)
10854 (feedmail-queue-use-send-time-for-message-id)
10855 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10856 (feedmail-buffer-eating-function):
10857 Doc fixes.
10858 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10859 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10860 (feedmail-message-action-scroll-down): New functions.
10861 (feedmail-queue-directory, feedmail-queue-draft-directory):
10862 Use expand-file-name.
10863 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10864 Remove C-v help entry.
10865 (feedmail-queue-buffer-file-name): New variable.
10866 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10867 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10868 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10869 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10870 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10871 (feedmail-message-action-toggle-spray)
10872 (feedmail-run-the-queue-no-prompts)
10873 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10874 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10875 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10876 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10877 (feedmail-envelope-deducer, feedmail-fiddle-from)
10878 (feedmail-fiddle-sender, feedmail-default-date-generator)
10879 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10880 (feedmail-fiddle-spray-address)
10881 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10882 (feedmail-fiddle-list-of-fiddle-plexes)
10883 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10884 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10885 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10886 Change default. Doc fix.
10887 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10888 (feedmail-binmail-linuxish-template): New constant.
10889 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10890 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10891 (feedmail-send-it): Add debug call.
10892 Use feedmail-queue-buffer-file-name, and
10893 feedmail-send-it-immediately-wrapper.
10894 (feedmail-message-action-send): Add debug call.
10895 Use feedmail-send-it-immediately-wrapper.
10896 (feedmail-queue-express-to-queue): Add debug call.
10897 Run feedmail-queue-express-hook.
10898 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10899 (feedmail-message-action-help-blat):
10900 Rename from feedmail-queue-send-edit-prompt-help-first.
10901 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10902 Check line-endings. Handle errors better.
10903 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10904 Doc fix. Add debug call.
10905 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10906 Use feedmail-queue-send-edit-prompt-inner.
10907 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10908 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10909 from feedmail-queue-send-edit-prompt.
10910 (feedmail-queue-send-edit-prompt-help)
10911 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10912 (feedmail-tidy-up-slug): Add debug call.
10913 Respect feedmail-queue-slug-suspect-regexp.
10914 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10915 (feedmail-dump-message-to-queue): Add debug call.
10916 Expand queue-directory.
10917 (feedmail-dump-message-to-queue): Change message slightly.
10918 Use feedmail-say-chatter.
10919 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10920 (feedmail-send-it-immediately-wrapper): New function.
10921 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10922 Insert empty string rather than newline. Handle full-frame case.
10923 Use catch/throw. Use feedmail-say-chatter.
10924 (feedmail-fiddle-from): Try mail-host-address.
10925 (feedmail-default-message-id-generator): Doc fix.
10926 Bind system-time-locale. Handle missing end.
10927 (feedmail-fiddle-x-mailer): Add debug call.
10928 Handle feedmail-x-mailer-line being nil.
10929 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10930 Add debug call. Use buffer-substring-no-properties.
10931 (feedmail-say-debug, feedmail-say-chatter): New functions.
10932 (feedmail-find-eoh): Give an explicit error.
10933
42c7e61e
UJ
109342011-05-13 Ulf Jasper <ulf.jasper@web.de>
10935
c2571358 10936 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10937 family from helvetica to sans.
c2571358 10938 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10939 etc/images/newsticker.
10940
c2571358 10941 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10942 family from helvetica to sans.
10943
10944 * net/newst-plainview.el (newsticker-new-item-face)
10945 (newsticker-old-item-face, newsticker-immortal-item-face)
10946 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10947 (newsticker-statistics-face): Change default family from
42c7e61e 10948 helvetica to sans.
c2571358 10949 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10950 etc/images/newsticker.
10951
5d3385a0
JB
10952 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
10953 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
10954 auto-marking.
10955
8497a297
DV
109562011-05-13 Didier Verna <didier@xemacs.org>
10957
10958 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10959 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10960 TODO entries.
8497a297
DV
10961 (lisp-lambda-list-keyword-parameter-indentation)
10962 (lisp-lambda-list-keyword-parameter-alignment)
10963 (lisp-lambda-list-keyword-alignment): New customizable user options.
10964 (lisp-indent-defun-method): Improve docstring.
10965 (extended-loop-p): Fix comment.
10966 (lisp-indent-lambda-list-keywords-regexp): New variable.
10967 (lisp-indent-lambda-list): New function.
10968 (lisp-indent-259): Use it.
10969 (lisp-indent-defmethod): Support for more than one
10970 method qualifier and properly indent methods lambda-lists.
10971 (defgeneric): Provide a missing common-lisp-indent-function property.
10972
f278f87f
SM
109732011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10974
10975 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10976 bounds for the empty string (bug#8667).
10977
5233edd7
GM
109782011-05-13 Glenn Morris <rgm@gnu.org>
10979
5237a44f
GM
10980 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10981
8340026c 10982 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10983 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10984
5233edd7 10985 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10986 (appt-time-msg-list): Doc fix.
a5464014 10987 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10988
92d10796
AS
109892011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10990
10991 * progmodes/ld-script.el (ld-script-keywords)
10992 (ld-script-builtins): Update keywords list.
10993
914a0ae1
SM
109942011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10995
c89be45f
SM
10996 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10997
914a0ae1
SM
10998 * shell.el (shell-completion-vars): New function.
10999 (shell-mode):
11000 * simple.el (read-shell-command): Use it.
11001 (blink-matching-open): No need for " [...]" in minibuffer-message.
11002
98dc3df3
GM
110032011-05-12 Glenn Morris <rgm@gnu.org>
11004
11005 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11006 (appt-check): Simplify.
11007
d2fc7e3d 110082011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11009
4d61f28d 11010 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11011 literal "/dev/null".
11012
d2fc7e3d 110132011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11014
11015 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11016 Fix typo.
11017
d2fc7e3d 110182011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11019
3f254caa
SM
11020 * progmodes/which-func.el (which-function):
11021 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11022 which might not be defined (Bug#8260).
11023
d45885f7
GM
110242011-05-12 Glenn Morris <rgm@gnu.org>
11025
11026 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11027 Let byte-compile-initial-macro-environment always take precedence.
11028
488086f4
SM
110292011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11030
11031 * net/rcirc.el: Add support for SSL/TLS connections.
11032 (rcirc-server-alist): New field `encryption'.
11033 (rcirc): Check `encryption' settings.
11034 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11035 Merge make-local-variable into `set'.
11036 (rcirc--connection-open-p): New function.
11037 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11038 the process is not a network process (e.g. running gnutls-cli).
11039 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11040 Make rcirc-(en|de)code-coding-system local here.
11041 (rcirc-mode): Merge make-local-variable into `set'.
11042 (rcirc-parent-buffer): Make permanent buffer-local.
11043 (rcirc-multiline-minor-mode): Don't do it here.
11044 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11045 there's no server buffer.
11046
7d3b9d44
GM
110472011-05-11 Glenn Morris <rgm@gnu.org>
11048
f64049c6
GM
11049 * newcomment.el (comment-kill): Prefix "unused" local.
11050
93c9df73
GM
11051 * term/w32console.el (get-screen-color): Declare.
11052
7d3b9d44
GM
11053 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11054 Handle symbol elements of byte-compile-initial-macro-environment.
11055
9e2dd53f
LL
110562011-05-10 Leo Liu <sdl.web@gmail.com>
11057
488086f4
SM
11058 * bookmark.el (bookmark-bmenu-mode-map):
11059 Bind bookmark-bmenu-search to `/'.
8b340240 11060
9e2dd53f 11061 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11062 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11063 (Footnote-unicode): New function.
11064 (footnote-style-alist): Add unicode style to the list.
11065 (footnote-style): Doc fix.
9e2dd53f 11066
79b70037
GM
110672011-05-10 Jim Meyering <meyering@redhat.com>
11068
11069 Fix doubled-word typos.
11070 * international/quail.el (quail-insert-kbd-layout): and and -> and
11071 * kermit.el: and and -> and
11072 * net/ldap.el (ldap-search-internal): to to -> to
11073 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11074 * progmodes/js.el (js-mode): and and -> and
11075 * textmodes/artist.el (artist-move-to-xy): at at -> at
11076 (artist-draw-region-trim-line-endings): if if -> if
11077 And Safetyc -> Safety.
11078 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11079
b8f82dc1 110802011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11081 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11082
11083 * files.el (hack-one-local-variable-eval-safep):
11084 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11085
4f99f44b
GM
110862011-05-10 Glenn Morris <rgm@gnu.org>
11087
11088 * calendar/diary-lib.el (diary-list-entries-hook)
11089 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11090 (diary-nongregorian-marking-hook, diary-list-entries)
11091 (diary-include-other-diary-files, diary-mark-entries)
11092 (diary-mark-included-diary-files): Doc fixes.
11093
84f29e6b
JB
110942011-05-09 Juanma Barranquero <lekktu@gmail.com>
11095
11096 * misc.el: Require tabulated-list.el during compilation.
11097
9bedd73a
CY
110982011-05-09 Chong Yidong <cyd@stupidchicken.com>
11099
488086f4
SM
11100 * progmodes/compile.el (compilation-start):
11101 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11102 (compilation-filter-hook): Doc fix.
11103
797c735c
DD
111042011-05-09 Deniz Dogan <deniz@dogan.se>
11105
11106 * wdired.el: Remove outdated installation comment. Fix usage
11107 comment.
11108
5f4b1dfe
JB
111092011-05-09 Juanma Barranquero <lekktu@gmail.com>
11110
11111 * misc.el: Implement new command `list-dynamic-libraries'.
11112 (list-dynamic-libraries--loaded-only-p): New variable.
11113 (list-dynamic-libraries--refresh): New function.
11114 (list-dynamic-libraries): New command.
11115
4c44026c
CY
111162011-05-09 Chong Yidong <cyd@stupidchicken.com>
11117
488086f4
SM
11118 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11119 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11120 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11121 higher priority to avoid clobbering by gnu.
11122
027f966d
CY
111232011-05-08 Chong Yidong <cyd@stupidchicken.com>
11124
11125 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11126 if the face has existing theme settings (Bug#8454).
11127
085f5d7d
CY
111282011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11129
488086f4
SM
11130 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11131 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11132
2a86a00c
RS
11133 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11134 special file names `.' and `..' (Bug#8259).
11135
d9c54a06
CY
111362011-05-08 Chong Yidong <cyd@stupidchicken.com>
11137
488086f4
SM
11138 * progmodes/grep.el (grep-mode-font-lock-keywords):
11139 Remove buffer-changing entries.
d9c54a06
CY
11140 (grep-filter): New function.
11141 (grep-mode): Add it to compilation-filter-hook.
11142
11143 * progmodes/compile.el (compilation-filter-hook)
11144 (compilation-filter-start): New defvars.
11145 (compilation-filter): Call compilation-filter-hook prior to
11146 updating the process mark.
11147
c4662635
SM
111482011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11149
11150 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11151
b0512a1d
EZ
111522011-05-07 Eli Zaretskii <eliz@gnu.org>
11153
605c9376
EZ
11154 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11155 mailclient-send-it even if window-system is nil. (Bug#8595)
11156
c4662635
SM
11157 * term/w32console.el (terminal-init-w32console):
11158 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11159 background-mode. (Bug#8597)
11160
d1dc2cc2
SM
111612011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11162
11163 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11164 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11165 New functions.
11166 (defgeneric, eieio--defmethod): Use them.
11167 (eieio-defgeneric): Remove.
11168 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11169
915d1300
GM
111702011-05-07 Glenn Morris <rgm@gnu.org>
11171
a3961c3e
GM
11172 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11173 Use let rather than let*.
11174 (timeclock-find-discrep): Remove unused local.
11175
314347b9
GM
11176 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11177
915d1300
GM
11178 * calendar/appt.el (appt-time-msg-list): Doc fix.
11179
275b59b0
NF
111802011-05-06 Noah Friedman <friedman@splode.com>
11181
11182 * apropos.el (apropos-print-doc): Only use
11183 emacs-lisp-docstring-fill-column when it is bound to an integer,
11184 per that variable's documentation.
11185
6c19f744
SM
111862011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11187
11188 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11189 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11190
60f884b2
GM
111912011-05-06 Glenn Morris <rgm@gnu.org>
11192
5006e634
GM
11193 * calendar/appt.el (appt-message-warning-time): Doc fix.
11194 (appt-warning-time-regexp): New option.
11195 (appt-make-list): Respect appt-message-warning-time.
11196
548d0a63
GM
11197 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11198 New options.
11199 (diary-add-to-list): Strip comments from the displayed string.
11200 (diary-mode): Set comment-start and comment-end.
11201
60f884b2
GM
11202 * vc/diff-mode.el (smerge-refine-subst): Declare.
11203 (diff-refine-hunk): Don't require smerge-mode when compiling.
11204
989681bb
JB
112052011-05-06 Juanma Barranquero <lekktu@gmail.com>
11206
11207 * simple.el (list-processes): Return nil as the docstring says.
11208
a6bc05e1
MA
112092011-05-05 Michael Albinus <michael.albinus@gmx.de>
11210
11211 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11212 to "".
11213 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11214 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11215 determining of binary transfer. (Bug#7383)
11216
23c22e9a
MA
112172011-05-05 Michael Albinus <michael.albinus@gmx.de>
11218
c4662635
SM
11219 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11220 Fix port computation bug. (Bug#8618)
23c22e9a 11221
0bff894f
GM
112222011-05-05 Glenn Morris <rgm@gnu.org>
11223
b8296902
GM
11224 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11225
1f522ce8
GM
11226 * simple.el (shell-dynamic-complete-functions)
11227 (comint-dynamic-complete-functions): Declare.
11228
cf5bee67
GM
11229 * net/network-stream.el (gnutls-negotiate):
11230 * simple.el (tabulated-list-print): Fix declarations.
11231
11232 * progmodes/gud.el (syntax-symbol, syntax-point):
11233 Remove unnecessary and incorrect declarations.
11234
0bff894f
GM
11235 * emacs-lisp/check-declare.el (check-declare-scan):
11236 Handle byte-compile-initial-macro-environment in bytecomp.el
11237
9869b3ae
SM
112382011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11239
11240 Fix earlier half-done eieio-defmethod change (bug#8338).
11241 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11242 Streamline and change calling convention.
11243 (defmethod): Adjust accordingly and simplify.
11244 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11245 new eieio--defmethod.
11246 (slot-boundp): Minor CSE simplification.
11247
9c1d5ac5
MZ
112482011-05-05 Milan Zamazal <pdm@zamazal.org>
11249
11250 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11251 (glasses-make-readable): Use glasses-separate-capital-groups.
11252
455c834e
JB
112532011-05-05 Juanma Barranquero <lekktu@gmail.com>
11254
11255 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11256 (warning-series): Doc fix.
11257 (display-warning): Don't try to create the buffer if we just found it.
11258
9ed7c8cb
CY
112592011-05-04 Chong Yidong <cyd@stupidchicken.com>
11260
11261 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11262 (autoload-find-generated-file): New function.
11263 (generate-file-autoloads): Bind generated-autoload-file to
11264 buffer-file-name.
9869b3ae
SM
11265 (update-file-autoloads, update-directory-autoloads):
11266 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11267 output file (Bug#7989).
11268 (batch-update-autoloads): Doc fix.
11269
0898ca10
JB
112702011-05-04 Juanma Barranquero <lekktu@gmail.com>
11271
11272 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11273
31dfb76c
GM
112742011-05-04 Glenn Morris <rgm@gnu.org>
11275
f330b642
GM
11276 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11277 function, so it follows changes in calendar-date-style.
11278 (diary-fancy-date-matcher): New function.
11279 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11280 (diary-fancy-font-lock-fontify-region-function):
11281 Use diary-fancy-date-pattern as a function.
11282
31dfb76c
GM
11283 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11284 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11285
48e79d6a
TZ
112862011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11287
11288 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11289 instead of positional arguments. Allow :keylist and :crlfiles
11290 arguments.
11291 (open-gnutls-stream): Call it.
11292
11293 * net/network-stream.el (network-stream-open-starttls): Adjust to
11294 call `gnutls-negotiate' with :process and :hostname arguments.
11295
dd5a5ee0
SM
112962011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11297
ef80fc09
SM
11298 * minibuffer.el (completion--message): New function.
11299 (completion--do-completion, minibuffer-complete)
11300 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11301 (completion--do-completion): Don't ignore completion-auto-help when in
11302 icomplete-mode.
11303
dd5a5ee0
SM
11304 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11305 internal encoding (e.g. tibetan zero is not whitespace).
11306 (global-whitespace-mode): Prefer save-current-buffer.
11307 (whitespace-trailing-regexp): Remove useless save-match-data.
11308 (whitespace-empty-at-bob-regexp): Minor simplification.
11309
b7d22a83
CY
113102011-05-03 Chong Yidong <cyd@stupidchicken.com>
11311
11312 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11313
5192af46
AM
113142011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11315
11316 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11317 Use `concat' to create string for insertion.
5192af46 11318
5767d190
SM
113192011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11320
11321 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11322 Avoid open-line which runs post-self-insert-hook.
11323 (bibtex-fill-entry): Remove unused `end' var.
11324
bf242939
AM
113252011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11326
5767d190
SM
11327 * textmodes/ispell.el (ispell-add-per-file-word-list):
11328 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11329
25666126
LL
113302011-05-03 Leo Liu <sdl.web@gmail.com>
11331
11332 * isearch.el (isearch-yank-pop): New command.
5767d190 11333 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11334 (isearch-forward): Mention it.
11335
52d3c2d0
SM
113362011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11337
1bcace58
SM
11338 * simple.el (minibuffer-complete-shell-command): Remove.
11339 (minibuffer-local-shell-command-map): Use completion-at-point.
11340 (read-shell-command): Setup completion vars here instead.
11341 (read-expression-map): Bind TAB to symbol completion.
11342
52d3c2d0
SM
11343 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11344 error directly rather via storing it into `results'.
11345
35813471
LL
113462011-05-02 Leo Liu <sdl.web@gmail.com>
11347
11348 * vc/diff.el: Fix description.
11349
e793a940
LMI
113502011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11351
11352 * server.el (server-eval-at): New function.
11353
8de66e05
LMI
113542011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11355
11356 * net/network-stream.el (open-network-stream): Take a :nowait
11357 parameter and pass it on to `make-network-process'.
11358 (network-stream-open-plain): Ditto.
11359
dcb79f20
AS
113602011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11361
11362 * faces.el (face-spec-set-match-display): Don't match toolkit
11363 options on terminal frames.
11364
14a7fbd8
SM
113652011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11366
7eabc1be
SM
11367 * progmodes/pascal.el: Use lexical binding.
11368 (pascal-mode-map): Remove author preferences.
11369
14a7fbd8
SM
11370 * pcomplete.el (pcomplete-std-complete): Don't abuse
11371 completion-at-point.
11372
50f84510
JB
113732011-04-28 Juanma Barranquero <lekktu@gmail.com>
11374
6e087a44
JB
11375 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11376 removing code that has been dead since 1991 or so.
11377
50f84510
JB
11378 * startup.el (command-line): When warning about "_emacs", use a
11379 delayed warning to allow the user to filter it out.
11380
0ba690bd
DD
113812011-04-28 Deniz Dogan <deniz@dogan.se>
11382
11383 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11384 user has not joined.
11385
08abfaad
SM
113862011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11387
11388 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11389 aren't any completions at point.
11390
638f053a
JB
113912011-04-28 Juanma Barranquero <lekktu@gmail.com>
11392
11393 * subr.el (display-delayed-warnings): New function.
11394 (delayed-warnings-hook): New variable.
11395
8fff8daa
SM
113962011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11397
08abfaad
SM
11398 * minibuffer.el (completion-at-point, completion-help-at-point):
11399 Don't presume that a given completion-at-point-function will always
11400 use the same calling convention.
11401
8fff8daa
SM
11402 * pcomplete.el (pcomplete-completions-at-point):
11403 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11404 pcomplete-seen is non-nil.
11405 (pcomplete-comint-setup): Also recognize the new comint/shell
11406 completion functions.
11407 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11408 pcomplete-seen is non-nil.
11409
841a1577 114102011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11411
841a1577 11412 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11413 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11414 the first character in the entry. This allows for code to add its
211ec907
UJ
11415 own uid to the entry.
11416 (icalendar--convert-float-to-ical): Add export of
11417 `diary-float'-entries save for those with the optional DAY
11418 argument.
11419
2a782793
DC
114202011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11421
11422 * subr.el (shell-quote-argument): Use alternate escaping strategy
11423 when we spot a variable reference in a string.
11424
0438ce91
DC
114252011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11426
11427 * cus-start.el (all): Define customization for debug-on-event.
11428
841a1577 114292011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11430
11431 * subr.el (shell-quote-argument): Escape correctly under Windows.
11432
d090ed6c
SM
114332011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11436
bfd31217
MA
114372011-04-25 Michael Albinus <michael.albinus@gmx.de>
11438
d090ed6c
SM
11439 * net/tramp.el (tramp-process-actions): Add POS argument.
11440 Delete region between POS and (pos).
bfd31217 11441
d090ed6c
SM
11442 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11443 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11444 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11445
11446 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11447 position in `tramp-process-actions' call.
11448
11449 * net/trampver.el: Update release number.
11450
e92f3bd3
SM
114512011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11452
850256b5
SM
11453 * custom.el (defcustom): Obey lexical-binding.
11454
e92f3bd3
SM
11455 Fix octave-inf completion problems reported by Alexander Klimov.
11456 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11457 Inherit from octave-mode-syntax-table.
11458 (inferior-octave-mode): Set info-lookup-mode.
11459 (inferior-octave-completion-at-point): New function.
11460 (inferior-octave-complete): Use it and completion-in-region.
11461 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11462 comint-filename-completion.
11463 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11464 symbol elements which shouldn't be word elements.
11465 (octave-font-lock-keywords, octave-beginning-of-defun)
11466 (octave-function-header-regexp): Adjust regexps accordingly.
11467 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11468
cd22b309
JB
114692011-04-25 Juanma Barranquero <lekktu@gmail.com>
11470
11471 * net/gnutls.el (gnutls-errorp): Declare before first use.
11472
8b492194
TZ
114732011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11474
11475 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11476 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11477 default trustfile exists before going to use it. Add missing
5a5fa834 11478 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11479 Reported by Claudio Bley <claudio.bley@gmail.com>.
11480 (open-gnutls-stream): Add usage example.
11481
11482 * net/network-stream.el (network-stream-open-starttls): Give host
11483 parameter to `gnutls-negotiate'.
11484 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11485 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11486
841a1577 114872011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11488
cd22b309
JB
11489 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11490 Use correct match group (bug#8438).
05842630 11491
3ba7869c
CY
114922011-04-24 Chong Yidong <cyd@stupidchicken.com>
11493
512e3ae1
CY
11494 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11495 (package-menu--generate): New arg specifying packages to show.
11496 (package-menu-refresh, package-menu-execute, list-packages):
11497 Callers changed.
11498 (package-show-package-list): New function, replacing deleted
11499 package--list-packages (renamed because it is non-internal).
11500
11501 * finder.el (finder-list-matches): Use package-show-package-list
11502 instead of deleted package--list-packages.
11503
e92f3bd3
SM
11504 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11505 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11506 (vc-annotate-mode-map): Bind it to RET.
11507
7031be6d
UR
115082011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11509
11510 * progmodes/etags.el (next-file): Don't use set-buffer to change
11511 buffers (Bug#8478).
11512
4ef177aa
CY
115132011-04-24 Chong Yidong <cyd@stupidchicken.com>
11514
c8d173eb
CY
11515 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11516
4ef177aa
CY
11517 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11518 (apropos-accumulator): Doc fix.
11519 (apropos-function, apropos-macro, apropos-command)
11520 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11521 (apropos-plist): Add face property.
11522 (apropos-symbols-internal): Fix indentation.
11523 (apropos-print): Simplify help, and recognize apropos-multi-type.
11524 (apropos-print-doc): Use button-type-get to extract the button's
11525 face property. Fill docstring (Bug#8352).
11526
4ffd0d6b 115272011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11528
11529 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11530
c6c32125 11531 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11532 (mpuz-mode-map): Use mapc.
c6c32125
JB
11533 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11534 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11535 Fix typos in docstrings.
11536
58d468b4
JB
11537 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11538 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11539
6470c3c6
JB
11540 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11541
4ffd0d6b 115422011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11543
11544 * minibuffer.el (completion--do-completion): Avoid the "Next char
11545 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11546
3ad8bad0
CY
11547 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11548 mouse-2 into unread-command-events, it is interpreted correctly.
11549
71d73c9c 11550 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11551 (image-toggle-display): Doc fix.
71d73c9c 11552
841a1577 115532011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11554
4ffd0d6b
GM
11555 * textmodes/page.el (what-page): Use line-number-at-pos to
11556 calculate line number (Bug#6825).
6e1dbaa9 11557
c2fb1b60
JB
115582011-04-22 Juanma Barranquero <lekktu@gmail.com>
11559
11560 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11561 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11562 Pass argument NO-DEFAULT to `find-tag-interactive'.
11563
e02f48d7
JB
115642011-04-22 Juanma Barranquero <lekktu@gmail.com>
11565
11566 Lexical-binding cleanup.
11567
11568 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11569 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11570 * progmodes/ada-prj.el (ada-prj-initialize-values)
11571 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11572 (ada-prj-show-value):
11573 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11574 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11575 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11576 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11577 * progmodes/bug-reference.el (bug-reference-push-button):
11578 * progmodes/fortran.el (fortran-line-length):
11579 * progmodes/glasses.el (glasses-change):
11580 * progmodes/octave-mod.el (octave-fill-paragraph):
11581 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11582 (python-pdbtrack-grub-for-buffer, python-sentinel):
11583 * progmodes/sql.el (sql-save-connection):
11584 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11585 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11586 Mark unused parameters.
11587
11588 * progmodes/compile.el (compilation--flush-directory-cache)
11589 (compilation--flush-parse, compile-internal): Mark unused parameters.
11590 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11591 (compilation-next-error-function): Remove unused variable `timestamp'.
11592
11593 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11594 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11595
11596 * progmodes/dcl-mode.el (dcl-end-of-command):
11597 Remove unused variable `start'.
11598 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11599 (dcl-option-value-basic, dcl-option-value-offset)
11600 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11601 Mark unused parameters.
11602 (dcl-save-local-variable): Remove unused variable `val'.
11603 (mode): Declare.
11604
11605 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11606 Mark unused parameters.
11607 (delphi-ignore-changes): Move before first use.
11608 (delphi-charset-token-at): Remove unused variable `start'.
11609 (delphi-else-start): Remove unused variable `if-count'.
11610 (delphi-comment-block-start, delphi-comment-block-end):
11611 Remove unused variable `kind'.
11612 (delphi-indent-line): Remove unused variable `new-point'.
11613
11614 * progmodes/ebrowse.el (ebrowse-files-list)
11615 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11616 Mark unused parameters. Don't quote `lambda'.
11617 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11618 Don't quote `lambda'.
11619 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11620 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11621 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11622 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11623 Use `ignore-errors'.
11624 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11625 (ebrowse-view/find-file-and-search-pattern)
11626 (ebrowse-view/find-member-declaration/definition):
11627 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11628 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11629 Rename parameter PREFIX-ARG to PREFIX.
11630 (ebrowse-tags-read-name): Remove unused variables `start' and
11631 `member-info'.
11632 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11633 to `tags-file'.
11634
11635 * progmodes/etags.el (local-find-tag-hook): Declare.
11636 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11637 Mark unused parameters.
11638
11639 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11640 (executable-interpret): Mark unused parameter.
11641
11642 * progmodes/flymake.el (flymake-process-sentinel)
11643 (flymake-after-change-function)
11644 (flymake-create-temp-with-folder-structure)
11645 (flymake-get-include-dirs-dot): Mark unused parameters.
11646 (flymake-safe-delete-directory): Remove unused variable `err'.
11647
11648 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11649 (speedbar-timer-fn, speedbar-line-text)
11650 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11651 (speedbar-center-buffer-smartly): Declare functions.
11652 (gdb-find-watch-expression): Remove unused variable `array'.
11653 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11654 (gdb-starting): Mark unused parameters.
11655 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11656 (gdb-table-string): Remove unused variable `res'.
11657 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11658 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11659 (gdb-display-buffer): Remove unused variable `cur-size'.
11660
11661 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11662 allow lexical-binding compilation.
11663 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11664 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11665 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11666 Mark unused parameters.
11667 (gud-gdb-marker-filter): Remove unused variable `match'.
11668 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11669 lambda expressions and funcall them, instead of using `fset'.
11670
11671 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11672 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11673
11674 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11675 variable `header-beg'; use `let'.
11676
11677 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11678 `restart', `last-sexp' and `at-do'.
11679
11680 * progmodes/js.el (js--debug): Mark unused parameter.
11681 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11682 (js--splice-into-items): Remove unused variable `item'.
11683 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11684
11685 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11686 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11687 (makefile-complete): Remove unused variable `try'.
11688 (makefile-fill-paragraph, makefile-match-function-end):
11689 Mark unused parameters.
11690
11691 * progmodes/octave-inf.el (inferior-octave-complete):
11692 Remove unused variable `proc'.
11693 (inferior-octave-output-digest): Mark unused parameter.
11694
11695 * progmodes/perl-mode.el (perl-calculate-indent):
11696 Remove unused variable `err'.
11697
11698 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11699 (prolog-indent-line): Mark unused parameters.
11700 (prolog-indent-line): Remove unused variable `beg'.
11701
11702 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11703 (reporter-dont-compact-list): Declare.
11704
11705 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11706 Remove unused variable `char'.
11707 (sh-debug): Mark unused parameter.
11708 (sh-get-indent-info): Remove unused variable `start'.
11709 (sh-calculate-indent): Remove unused variable `var'.
11710
11711 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11712 (simula-electric-keyword): Remove unused variable `null'.
11713 (simula-search-backward, simula-search-forward): Remove unused
11714 variables `begin' and `end'.
11715
11716 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11717 Remove unused variable `pos'.
11718 (vera-electric-tab, vera-comment-uncomment-region):
11719 Mark unused parameters.
11720 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11721
7ede3b65
CY
117222011-04-22 Chong Yidong <cyd@stupidchicken.com>
11723
11724 * emacs-lisp/package.el (package--builtins, package-alist)
11725 (package-load-descriptor, package-built-in-p, package-activate)
11726 (define-package, package-installed-p)
11727 (package-compute-transaction, package-buffer-info)
11728 (package--push): Doc fix. Distinguish more clearly between
11729 version strings and version lists.
11730
121656e9
JB
117312011-04-21 Juanma Barranquero <lekktu@gmail.com>
11732
11733 Lexical-binding cleanup.
11734
11735 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11736 (5x5-make-mutate-best):
11737 * play/fortune.el (fortune-in-buffer):
11738 * play/gomoku.el (gomoku-init-display):
11739 * play/solitaire.el (solitaire, solitaire-do-check):
11740 * play/tetris.el (tetris-default-update-speed-function):
11741 Mark unused parameters.
11742
11743 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11744 (bubbles--shift): Remove unused variable `char-org'.
11745 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11746 (bubbles--show-images): Remove unused variable `char'.
11747
11748 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11749 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11750 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11751 (decipher-analyze-buffer): Use ?\s.
11752 (decipher-make-checkpoint): Remove unused variable `mapping'.
11753
11754 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11755
11756 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11757 Remove unused variable `result'; use `let'.
11758
11759 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11760 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11761 (gametree-children-shown-p, gametree-compute-reduced-score):
11762 Use `ignore-errors'.
11763
11764 * play/handwrite.el (ps-lpr-switches): Declare.
11765 (handwrite): Remove unused variables `pmin' and `lastp'.
11766
11767 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11768
11769 * play/landmark.el (landmark-init-display)
11770 (landmark-update-naught-weights): Mark unused parameters.
11771 (landmark-y): Remove unused variable `noise'. Simplify.
11772 (landmark-human-plays): Remove unused variable `score'.
11773
11774 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11775 (mpuz-try-proposal): Remove unused variable `game'.
11776
11777 * play/zone.el (life-patterns): Declare.
11778
80f499c7
JB
117792011-04-20 Juanma Barranquero <lekktu@gmail.com>
11780
11781 * vc/vc.el (ediff-vc-internal): Declare function.
11782
024ff170
SM
117832011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11784
c0a193ea
SM
11785 * shell.el: Use lexical-binding and std completion UI.
11786 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11787 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11788 comint-preoutput-filter-functions rather than on
11789 comint-output-filter-functions.
11790 (shell-command-completion, shell--command-completion-data)
11791 (shell-filename-completion, shell-environment-variable-completion)
11792 (shell-c-a-p-replace-by-expanded-directory): New functions.
11793 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11794 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11795 (shell-dynamic-complete-environment-variable): Use them.
11796 (shell-dynamic-complete-as-environment-variable)
11797 (shell-dynamic-complete-as-command): Remove.
11798 (shell-match-partial-variable): Match past point.
11799 * comint.el: Clean up use of completion-at-point-functions.
11800 (comint-completion-at-point): New function.
11801 (comint-mode): Use it completion-at-point-functions.
11802 (comint-dynamic-complete): Make it obsolete.
11803 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11804 (comint-c-a-p-replace-by-expanded-history): New function.
11805 (comint-dynamic-complete-functions)
11806 (comint-replace-by-expanded-history): Use it.
11807 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11808 termination strings. Try harder to avoid second try-completion.
11809 (completion-in-region-mode-map): Disable bindings that don't work yet.
11810
2dbaa080
SM
11811 * comint.el: Use lexical-binding. Require CL.
11812 (comint-dynamic-complete-functions): Use comint-filename-completion.
11813 (comint-completion-addsuffix): Tweak custom type.
11814 (comint-filename-completion, comint--common-suffix)
11815 (comint--common-quoted-suffix, comint--table-subvert)
11816 (comint--complete-file-name-data): New functions.
11817 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11818 (comint-dynamic-list-filename-completions): Use them.
11819 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11820
2dbaa080
SM
11821 * minibuffer.el (completion-in-region-mode):
11822 Keep completion-in-region-mode--predicate global.
11823 (completion-in-region--postch):
11824 Assume completion-in-region-mode--predicate is not null.
11825
c79a6f38
SM
11826 * progmodes/flymake.el (flymake-start-syntax-check-process):
11827 Obey `dir'. Simplify.
11828
024ff170
SM
11829 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11830 we're in VC after all.
11831
1c6c854e
CS
118322011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11833
11834 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11835 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11836 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11837
bed7f140
SM
118382011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11839
332e62ab
SM
11840 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11841 add sanity check.
11842
bed7f140
SM
11843 * obsolete/erc-hecomplete.el: Make obsolete.
11844 * obsolete/: Standardize obsolescence info in the header.
11845
f195c582
GM
118462011-04-20 Glenn Morris <rgm@gnu.org>
11847
11848 * calendar/solar.el (solar-horizontal-coordinates):
11849 Use the longitude argument rather than `calendar-longitude'.
11850 (solar-date-next-longitude): Remove unused locals.
11851
cb79b8c0
VJL
118522011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11853
11854 * whitespace.el: New version 13.2.1.
11855
118562011-04-20 felix <EmacsWiki> (tiny change)
11857
d8e4b68b 11858 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11859 switching between major modes on a file.
11860
602ea69d
SM
118612011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11862
11863 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11864 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11865 multi-line comments as well.
11866
06b60517
JB
118672011-04-19 Juanma Barranquero <lekktu@gmail.com>
11868
11869 Lexical-binding cleanup.
11870
11871 * arc-mode.el (archive-mode-revert):
11872 * cmuscheme.el (scheme-interactively-start-process):
11873 * custom.el (custom-initialize-delay):
11874 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11875 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11876 * emacs-lock.el (emacs-lock-clear-sentinel):
11877 * ezimage.el (defezimage):
11878 * follow.el (follow-avoid-tail-recenter):
11879 * fringe.el (set-fringe-mode-1):
11880 * generic-x.el (bat-generic-mode-compile):
11881 * help-mode.el (help-info-variable, help-do-xref)
11882 (help-mode-revert-buffer):
11883 * help.el (view-emacs-todo):
11884 * iswitchb.el (iswitchb-completion-help):
11885 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11886 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11887 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11888 * locate.el (locate-update):
11889 * longlines.el (longlines-encode-region)
11890 (longlines-after-change-function):
11891 * outline.el (outline-isearch-open-invisible):
11892 * ps-def.el (declare-function, charset-dimension, char-width)
11893 (encode-char):
11894 * ps-mule.el (ps-mule-plot-string):
11895 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11896 (recentf-edit-list-select, recentf-edit-list-validate)
11897 (recentf-open-files-action):
11898 * rect.el (delete-whitespace-rectangle-line)
11899 (rectangle-number-line-callback):
11900 * register.el (window-configuration-to-register)
11901 (frame-configuration-to-register):
11902 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11903 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11904 (xselect-convert-to-targets, xselect-convert-to-delete)
11905 (xselect-convert-to-filename, xselect-convert-to-charpos)
11906 (xselect-convert-to-lineno, xselect-convert-to-colno)
11907 (xselect-convert-to-os, xselect-convert-to-host)
11908 (xselect-convert-to-user, xselect-convert-to-class)
11909 (xselect-convert-to-name, xselect-convert-to-integer)
11910 (xselect-convert-to-atom, xselect-convert-to-identity):
11911 * subr.el (declare, ignore, process-kill-without-query)
11912 (text-clone-maintain):
11913 * terminal.el (te-get-char, te-tic-sentinel):
11914 * tool-bar.el (tool-bar-make-keymap):
11915 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11916 * type-break.el (type-break-mode, type-break-noninteractive-query):
11917 * view.el (View-back-to-mark):
11918 * wid-browse.el (widget-browse-action, widget-browse-widget)
11919 (widget-browse-widgets, widget-browse-sexp):
11920 * widget.el (define-widget-keywords):
11921 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11922 Mark unused parameters.
11923
11924 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11925 (align-areas): Remove unused variable `look'.
11926 (align-region): Remove unused variables `real-end' and `pos-list'.
11927
11928 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11929
11930 * bindings.el (mode-line-modified, mode-line-remote):
11931 Mark unused parameters.
11932 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11933
11934 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11935 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11936
11937 * comint.el (comint-history-isearch-pop-state)
11938 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11939 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11940 (comint-substitute-in-file-name): Doc fix.
11941
11942 * completion.el (cmpl-statistics-block): Mark unused parameter.
11943 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11944 (save-completions-to-file, load-completions-from-file):
11945 Remove unused local variable `e'.
11946
11947 * composite.el (compose-chars): Remove unused variable `len'.
11948 (lgstring-insert-glyph): Remove unused variable `g'.
11949 (compose-glyph-string): Remove unused variables `ascent',
11950 `descent', `lbearing' and `rbearing'.
11951 (compose-glyph-string-relative): Remove unused variables
11952 `lbearing', `rbearing' and `wadjust'.
11953 (compose-gstring-for-graphic): Remove unused variables `header',
11954 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11955 (compose-gstring-for-terminal): Remove unused variables `header'
11956 and `nchars'. Use `let', not `let*'.
11957
11958 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11959 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11960 (Custom-buffer-done, custom-buffer-create-internal)
11961 (custom-browse-visibility-action, custom-browse-group-tag-action)
11962 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11963 (widget-magic-mouse-down-action, custom-toggle-parent)
11964 (custom-add-parent-links, custom-toggle-hide-variable)
11965 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11966 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11967 (custom-face-menu-create, custom-variable-menu-create, get)
11968 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11969 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11970 (customize-apropos): Remove unused variable `tests'.
11971 (custom-group-value-create): Remove unused variable `hidden-p'.
11972 (sort-fold-case): Declare.
11973
11974 * cus-theme.el (custom-reset-standard-faces-list)
11975 (custom-reset-standard-variables-list): Declare.
11976 (customize-create-theme, custom-theme-revert, custom-theme-write)
11977 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11978 Mark unused parameters.
11979
11980 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11981
11982 * delim-col.el (delimit-columns-max): Move defvar before first use.
11983
11984 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11985 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11986
11987 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11988 (auto-insert): Declare.
11989 (desktop-restore-file-buffer): Rename desktop-* parameters;
11990 mark unused ones.
11991 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11992 (desktop-buffer): Rename desktop-* parameters.
11993
11994 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11995 (dframe-reposition-frame-xemacs, dframe-help-echo)
11996 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11997 Mark unused parameters.
11998
11999 * dired-aux.el (backup-extract-version-start, overwrite-query)
12000 (overwrite-backup-query, rename-regexp-query)
12001 (rename-non-directory-query): Declare.
12002 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12003 (dired-add-entry): Remove unused variable `orig-file-name'.
12004 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12005 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12006 `dired-copy-preserve-time' directly.
12007 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12008 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12009
12010 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12011 (dired-virtual-revert, dired-make-relative-symlink):
12012 Mark unused parameters.
12013 (manual-program): Declare.
12014 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12015 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12016 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12017
12018 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12019
12020 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12021
12022 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12023 Declare.
12024
12025 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12026
12027 * electric.el (Electric-command-loop): Rename parameter
12028 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12029
12030 * expand.el (expand-in-literal): Remove unused variable `here'.
12031
12032 * facemenu.el (facemenu-add-new-color):
12033 Remove unused variable `docstring'.
12034
12035 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12036 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12037 (face-attr-construct): Mark unused parameter. Doc fix.
12038 (read-color): Remove unused variable `hex-string'.
12039
12040 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12041 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12042 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12043 (display-buffer-other-frame): Remove unused variable `old-window'.
12044 (kill-buffer-hook): Declare.
12045 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12046 Mark unused parameters.
12047 (after-find-file): Pass 1 to `auto-save-mode', not t.
12048
12049 * files-x.el (auto-insert): Declare.
12050 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12051
12052 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12053 variable `buf'. Mark unused parameter.
06b60517
JB
12054 (find-lisp-insert-directory): Mark unused parameter.
12055
12056 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12057 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12058 (format-common-tail): Remove, unused.
12059 (format-deannotate-region): Remove unused variable `loc'.
12060 (format-annotate-region): Remove unused variable `p'.
12061 (format-annotate-single-property-change): Remove unused variables
12062 `default' and `tail'.
12063
12064 * forms.el (read-file-filter): Declare.
12065 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12066
12067 * frame.el (frame-creation-function-alist): Mark unused parameter.
12068 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12069
12070 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12071 Remove unused parameters.
12072 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12073 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12074
12075 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12076 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12077 (hfy-prepare-tag-map): Mark unused parameters.
12078 (htmlfontify-buffer): Use `called-interactively-p'.
12079
12080 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12081 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12082 (ibuffer-do-occur): Mark unused parameters.
12083 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12084 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12085
12086 * ibuffer.el: Don't quote `lambda'.
12087 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12088 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12089 Mark unused parameters.
12090
12091 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12092 (ido-completing-read): Mark unused parameters.
12093 (ido-copy-current-word): Mark unused parameters;
12094 remove unused variable `name'.
12095 (ido-sort-merged-list): Remove unused parameter `dirs'.
12096
12097 * ielm.el (ielm-input-sender): Mark unused parameter.
12098 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12099 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12100 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12101 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12102 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12103
12104 * image-dired.el (image-dired-display-thumbs): Remove unused
12105 variables `curr-file' and `count'.
12106 (image-dired-remove-tag): Remove unused variable `start'.
12107 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12108 variable `curr-file'
12109 (image-dired-rotate-original): Remove unused variable `temp-file'.
12110 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12111 Remove unused variable `file'.
12112 (image-dired-gallery-generate): Remove unused variable `curr'.
12113 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12114
12115 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12116
12117 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12118
12119 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12120
12121 * isearch.el (minibuffer-history-symbol): Declare.
12122 (isearch-edit-string): Remove unused variable `err'.
12123 (isearch-message-prefix, isearch-message-suffix):
12124 Mark unused parameters.
12125
12126 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12127
12128 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12129
12130 * makesum.el (double-column): Remove unused variable `cnt'.
12131
12132 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12133 (ido-ignore-item-temp-list): Declare.
12134
12135 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12136 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12137 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12138 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12139 `mouse-col-delta'.
12140
12141 * mouse-sel.el (mouse-extend-internal):
12142 Remove unused variable `orig-window-frame'.
12143
12144 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12145 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12146 Move declarations before first use.
12147 (pcomplete-opt): Mark unused parameters; doc fix.
12148
12149 * proced.el (proced-revert): Mark unused parameter.
12150 (proced-send-signal): Remove unused variable `err'.
12151
12152 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12153 Rename parameter PREFIX-ARG to ARG.
12154 (ps-basic-plot-string, ps-basic-plot-whitespace):
12155 Mark unused parameters.
12156
12157 * replace.el (replace-count): Define.
12158 (occur-revert-function): Mark unused parameters.
12159 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12160 (isearch-case-fold-search, isearch-string): Declare.
12161 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12162 bind `case-fold-search'. Remove unused variables `beg' and `end',
12163 and simplify.
12164 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12165 COUNT and bind `replace-count'.
12166 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12167 to COUNT.
12168
12169 * savehist.el (print-readably, print-string-length): Declare.
12170
12171 * shadowfile.el (shadow-expand-cluster-in-file-name):
12172 Remove unused variable `cluster'.
12173 (shadow-copy-file): Remove unused variable `i'.
12174 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12175 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12176 (shadow-define-literal-group, shadow-define-regexp-group)
12177 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12178
12179 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12180 (shell): Use `called-interactively-p'.
12181 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12182
12183 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12184 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12185 (delete-backward-char): Remove unused variable `ocol'.
12186 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12187 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12188 (event-apply-hyper-modifier, event-apply-shift-modifier)
12189 (event-apply-control-modifier, event-apply-meta-modifier):
12190 Mark unused parameters.
12191 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12192 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12193
12194 * speedbar.el (speedbar-ignored-directory-expressions)
12195 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12196 (speedbar-find-file, speedbar-dir-follow)
12197 (speedbar-directory-buttons-follow, speedbar-tag-find)
12198 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12199 (speedbar-buffers-line-directory, speedbar-buffer-click):
12200 Mark unused parameters.
12201 (speedbar-tag-file): Remove unused variable `mode'.
12202 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12203
12204 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12205
12206 * talk.el (talk): Remove unused variable `display'.
12207
12208 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12209 (tar-write-region-annotate): Mark unused parameter.
12210
12211 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12212 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12213 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12214 warning by another.
12215
12216 * time-stamp.el (time-stamp-string-preprocess):
12217 Remove unused variable `require-padding'.
12218
12219 * tree-widget.el (widget-glyph-enable): Declare.
12220 (tree-widget-action): Mark unused parameter.
12221
12222 * w32-fns.el (x-get-selection): Mark unused parameter.
12223 (autoload-make-program, generated-autoload-file): Declare.
12224
12225 * wdired.el (wdired-revert): Mark unused parameters.
12226 (wdired-xcase-word): Remove unused variable `err'.
12227
12228 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12229 (whitespace-help-scroll): Remove unused variable `data-help'.
12230
12231 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12232 (widget-image-insert, widget-after-change, default)
12233 (widget-default-format-handler, widget-default-notify)
12234 (widget-default-prompt-value, widget-info-link-action)
12235 (widget-url-link-action, widget-function-link-action)
12236 (widget-variable-link-action, widget-file-link-action)
12237 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12238 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12239 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12240 (widget-insert-button-action, widget-delete-button-action, visibility)
12241 (widget-documentation-link-action, widget-documentation-string-action)
12242 (widget-const-prompt-value, widget-regexp-match, symbol)
12243 (widget-coding-system-prompt-value)
12244 (widget-key-sequence-value-to-external, sexp)
12245 (widget-sexp-value-to-internal, character, vector, cons)
12246 (widget-choice-prompt-value, widget-boolean-prompt-value)
12247 (widget-color--choose-action): Mark unused parameters.
12248 (widget-item-match-inline, widget-choice-match-inline)
12249 (widget-checklist-match, widget-checklist-match-inline)
12250 (widget-group-match): Rename parameter VALUES to VALS.
12251 (widget-field-value-set): Remove unused variable `size'.
12252 (widget-color-action): Remove unused variables `value' and `start'.
12253
12254 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12255 variable `dir'. Doc fix.
06b60517
JB
12256 (windmove-find-other-window): Don't pass it.
12257
12258 * window.el (count-windows): Mark unused parameter.
12259 (bw-adjust-window): Remove unused variable `err'.
12260
12261 * woman.el (woman-file-name): Remove unused variable `default'.
12262 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12263 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12264 (global-font-lock-mode): Declare.
12265 (woman-decode-region): Mark unused parameter.
12266 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12267
12268 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12269 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12270 (x-dnd-handle-moz-url): Remove unused variable `title'.
12271 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12272
12273 * xml.el (xml-parse-tag, xml-parse-attlist):
12274 Remove unused variable `pos'.
12275
bc4f7f3d
GM
122762011-04-19 Glenn Morris <rgm@gnu.org>
12277
12278 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12279 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12280 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12281 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12282 * calendar/cal-html.el (cal-html-insert-minical):
12283 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12284 (calendar-mark-date-pattern):
12285 Prefix "unused" locals.
12286
12287 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12288 optional argument `style'.
12289
12290 * calendar/appt.el (appt-make-list):
12291 * calendar/cal-china.el (calendar-chinese-date-string):
12292 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12293 (diary-hebrew-yahrzeit):
12294 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12295 * calendar/calendar.el (calendar-generate-window):
12296 * calendar/time-date.el (time-to-days):
12297 Remove unused local variables.
12298
16a43933
CY
122992011-04-18 Chong Yidong <cyd@stupidchicken.com>
12300
12301 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12302 glyphless-char-display table.
12303 (tabulated-list-glyphless-char-display): New var.
12304
7eed1860
SS
123052011-04-18 Sam Steingold <sds@gnu.org>
12306
12307 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12308 to acknowledgments.
12309
4d2d1ccd
GM
123102011-04-17 Glenn Morris <rgm@gnu.org>
12311
12312 * calendar/diary-lib.el (diary-sexp-entry):
12313 * calendar/holidays.el (holiday-sexp):
12314 Set debug-on-error rather than the removed stack-trace-on-error.
12315
239da61d
GM
123162011-04-16 Glenn Morris <rgm@gnu.org>
12317
12318 * progmodes/f90.el: Use lexical-binding.
12319 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12320
8b05752a
SM
123212011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12322
daca8ba5
SM
12323 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12324 (mail-mode): Setup mailalias completion here instead.
12325 * mail/mailalias.el: Use lexical-binding.
12326 (pattern, mailalias-done): Declare dynamic.
12327 (mail-completion-at-point-function): New function, from mail-complete.
12328 (mail-complete): Use it.
12329 (mail-completion-expand): New function.
12330 (mail-get-names): Use it.
12331 (mail-directory, mail-directory-process, mail-directory-stream):
12332 Don't use `pattern' for lexically bound arg.
12333
6f542485
SM
12334 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12335
037e7c3f
SM
12336 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12337 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12338 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12339
8b05752a
SM
12340 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12341 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12342 (byte-interactive-p): Define them again, for use when inlining
12343 old code.
12344
49093f60
JB
123452011-04-15 Juanma Barranquero <lekktu@gmail.com>
12346
12347 * loadup.el: Use `string-to-number', not `string-to-int'.
12348
b5b8e7de
SM
123492011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12350
12351 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12352 gud-gdb-complete-command.
12353 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12354 (gud-gdb-completion-at-point): New function.
12355 (gud-gdb-completions): Remove.
12356
f42efeb5
MA
123572011-04-14 Michael Albinus <michael.albinus@gmx.de>
12358
49093f60
JB
12359 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12360 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12361 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12362 whether `executable-find' is bound.
f42efeb5
MA
12363
12364 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12365
e240cc21
SM
123662011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12367
12368 * minibuffer.el (completion-in-region-mode-predicate)
12369 (completion-in-region-mode--predicate): New vars.
12370 (completion-in-region, completion-in-region--postch)
12371 (completion-in-region-mode): Use them.
12372 (completion--capf-wrapper): Also return the hook function.
12373 (completion-at-point, completion-help-at-point):
12374 Adjust and provide a predicate.
c2bd2ab0
SM
12375
12376 Preserve arg names for advice of subr and lexical functions (bug#8457).
12377 * help-fns.el (help-function-arglist): Consolidate the subr and
12378 new-byte-code cases. Add argument `preserve-names' to extract names
12379 from the docstring when needed.
12380 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12381 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12382 (ad-arglist): Use help-function-arglist's new arg.
12383 (ad-definition-type): Use cond.
12384
c183f693
JB
123852011-04-13 Juanma Barranquero <lekktu@gmail.com>
12386
06641a47
JB
12387 * autorevert.el (auto-revert-handler):
12388 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12389 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12390 Don't quote lambda.
12391
c183f693
JB
12392 * image-mode.el (image-transform-set-scale):
12393 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12394
1e3b6001
G
123952011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12396
12397 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12398 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12399 Upgrades via gnutls-cli are too slow to be done opportunistically.
12400
2d6af8dd
JB
124012011-04-12 Juanma Barranquero <lekktu@gmail.com>
12402
12403 * dframe.el (dframe-current-frame): Remove spurious quote.
12404
c0749a51
GM
124052011-04-12 Glenn Morris <rgm@gnu.org>
12406
088d0d61
GM
12407 * calendar/cal-tex.el (cal-tex-end-document):
12408 Try to automatically use latin1 input if needed.
12409
c0749a51
GM
12410 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12411 Don't try to cons a mark onto an empty element.
12412
5c90fde0
LL
124132011-04-11 Leo Liu <sdl.web@gmail.com>
12414
12415 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12416 buffers.
12417 (ido-kill-buffer-at-head): Support killing virtual buffers.
12418
369e974d
CY
124192011-04-10 Chong Yidong <cyd@stupidchicken.com>
12420
12421 * minibuffer.el (completion-show-inline-help): New var.
12422 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12423 (minibuffer-force-complete, minibuffer-complete-word):
12424 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12425
12426 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12427 to avoid interference from inline help (Bug#5849).
12428
37f1c930
LL
124292011-04-10 Leo Liu <sdl.web@gmail.com>
12430
099c39a4
JB
12431 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12432 Fix typo.
37f1c930 12433
a32d4040
CY
124342011-04-09 Chong Yidong <cyd@stupidchicken.com>
12435
12436 * image-mode.el (image-toggle-display-image): Signal an error if
12437 not in Image mode.
12438 (image-transform-mode, image-transform-resize)
12439 (image-transform-set-rotation): Doc fix.
daca8ba5 12440 (image-transform-set-resize): Delete.
a32d4040
CY
12441 (image-transform-set-scale, image-transform-fit-to-height)
12442 (image-transform-fit-to-width): Handle image-toggle-display-image
12443 and image-transform-resize directly.
12444
099c39a4 124452011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12446
12447 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12448 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12449 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12450 (doc-view-mode-map): Add bindings for the new functions.
12451
099c39a4 124522011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12453
4d61f28d 12454 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12455 Fix typo in docstring.
12456
3726838a
EZ
124572011-04-08 Eli Zaretskii <eliz@gnu.org>
12458
04f33f1e
EZ
12459 * files.el (file-size-human-readable): Produce one digit after
12460 decimal, like "ls -lh" does.
12461
12462 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12463 the file size representation.
12464
3726838a
EZ
12465 * simple.el (list-processes): If async subprocesses are not
12466 available, error out with a clear error message.
12467
cbb59342
CY
124682011-04-08 Chong Yidong <cyd@stupidchicken.com>
12469
12470 * help.el (help-form-show): New function, to be called from C.
12471 Put help-form output in a buffer named differently than *Help*.
12472
e3971c44
EZ
124732011-04-08 Eli Zaretskii <eliz@gnu.org>
12474
12475 * files.el (file-size-human-readable): New function.
12476
12477 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12478 computing the representation inline. Don't require `cl'.
12479
12544bbe
GM
124802011-04-08 Glenn Morris <rgm@gnu.org>
12481
a1de6c6a
GM
12482 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12483
3c4671f4
GM
12484 * net/browse-url.el (browse-url-firefox):
12485 Test system-type, not system-configuration.
12486
b605679c
GM
12487 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12488 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12489 Use log-edit-empty-buffer-p. (Bug#7598)
12490
56442f0c
GM
12491 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12492 (rlogin-mode-map): Initialize in the defvar.
12493 (rlogin): Use ignore-errors.
12494
12544bbe
GM
12495 * replace.el (occur-mode-map): Some fixes for menu items.
12496
eb237b0f
AH
124972011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12498
12499 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12500
7d668f2c
CY
125012011-04-06 Chong Yidong <cyd@stupidchicken.com>
12502
e67a13ab
CY
12503 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12504 issuing unused warnings.
12505
12506 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12507 macro directly.
12508
7d668f2c
CY
12509 * simple.el: Lisp reimplement of list-processes. Based on an
12510 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12511 (process-menu-mode): New major mode.
12512 (list-processes--refresh, list-processes):
12513 (process-menu-visit-buffer): New functions.
12514
12515 * files.el (save-buffers-kill-emacs): Don't assume any return
12516 value of list-processes, which is undocumented anyway.
12517
a83ec3c9
CY
125182011-04-06 Chong Yidong <cyd@stupidchicken.com>
12519
12520 * emacs-lisp/tabulated-list.el: New file.
12521
e91a96fe
CY
12522 * emacs-lisp/package.el: Use Tabulated List mode.
12523 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12524 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12525 table format using Tabulated List mode variables.
12526 (package--push): New macro, replacing package-list-maybe-add.
12527 (package-menu--generate): Use package--push. Renamed from
12528 package--generate-package-list.
12529 (package-menu-refresh, list-packages): Use it.
daca8ba5 12530 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12531 Return insertion data instead of inserting it directly.
099c39a4
JB
12532 (package-menu-describe-package, package-menu-execute):
12533 Use tabulated-list-get-id.
e91a96fe
CY
12534 (package-menu-mark-delete, package-menu-mark-install)
12535 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12536 (package-menu-mark-obsolete-for-deletion):
12537 Use tabulated-list-put-tag.
e91a96fe
CY
12538 (package--list-packages, package-menu-revert)
12539 (package-menu-get-package, package-menu-get-version)
12540 (package-menu-sort-by-column): Functions deleted.
12541 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12542 (package-menu--status-predicate, package-menu--version-predicate)
12543 (package-menu--name-predicate)
12544 (package-menu--description-predicate): Handle arguments in the
12545 Tabulated List format.
12546 (package-list-packages-no-fetch): Call list-packages.
12547
3e214b50
JB
125482011-04-06 Juanma Barranquero <lekktu@gmail.com>
12549
12550 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12551 (after-find-file): Don't bind it.
3e214b50
JB
12552 (revert-buffer-in-progress-p): New variable.
12553 (revert-buffer): Bind it.
12554 Pass nil for `after-find-file-from-revert-buffer'.
12555
12556 * saveplace.el (save-place-find-file-hook): Use new variable
12557 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12558
3f0f1700
GM
125592011-04-06 Glenn Morris <rgm@gnu.org>
12560
c0274801
GM
12561 * Makefile.in (AUTOGEN_VCS): New variable.
12562 (autoloads): Use $AUTOGEN_VCS.
12563
3f0f1700
GM
12564 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12565 * calendar/calendar.el (calendar-mode-map):
12566 Check for toolkit scroll bars. (Bug#8305)
12567
41ea9e48
CY
125682011-04-05 Chong Yidong <cyd@stupidchicken.com>
12569
12570 * minibuffer.el (completion-in-region--postch)
12571 (completion-in-region-mode): Remove unnecessary messages.
12572
6194c800
JB
125732011-04-05 Juanma Barranquero <lekktu@gmail.com>
12574
33256f14
JB
12575 * font-lock.el (font-lock-refresh-defaults):
12576 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12577 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12578
6194c800
JB
12579 * info.el (Info-directory-list, Info-read-node-name-2)
12580 (Info-split-parameter-string): Doc fixes.
12581 (Info-virtual-nodes): Reflow docstring.
12582 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12583 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12584 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12585 Fix typos in docstrings.
12586 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12587 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12588 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12589 (Info-restore-desktop-buffer): Mark unused parameters.
12590 (Info-directory-find-file, Info-directory-find-node)
12591 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12592 (Info-virtual-index-find-node, Info-apropos-find-file)
12593 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12594 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12595 (Info-virtual-index): Remove unused local variable `nodename'.
12596
b87a8200 125972011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12598
b87a8200
DD
12599 * net/rcirc.el: Update my e-mail address.
12600 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12601
3b2ff876
CY
126022011-04-05 Chong Yidong <cyd@stupidchicken.com>
12603
12604 * startup.el (command-line): Save the cursor's theme-face
12605 directly, instead of using face-override-spec.
12606
12607 * custom.el (load-theme): Minor optimization in assigning faces.
12608
8d17e7ca
JB
126092011-04-04 Juanma Barranquero <lekktu@gmail.com>
12610
12611 * help-fns.el (describe-variable): Complete all variables having
12612 documentation, including keywords.
12613 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12614
2fbc1934
JB
126152011-04-04 Juanma Barranquero <lekktu@gmail.com>
12616
12617 Convert to lexical-binding.
12618
12619 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12620 (bs--get-marked-string, bs--get-modified-string)
12621 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12622 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12623 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12624
12625 * ehelp.el (electric-help-execute-extended)
12626 (electric-help-ctrl-x-prefix):
12627 * hexl.el (hexl-revert-buffer-function):
12628 * linum.el (linum-after-change, linum-after-scroll):
12629 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12630
12631 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12632
74f50695
DU
126332011-04-04 Daiki Ueno <ueno@unixuser.org>
12634
12635 * epa-dired.el:
12636 * epa-mail.el:
12637 * epa-hook.el:
12638 * epa-file.el:
12639 * epa.el:
12640 * epg.el: Use lexical binding.
12641
c11325f7
CY
126422011-04-03 Chong Yidong <cyd@stupidchicken.com>
12643
0d9e9a12
CY
12644 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12645
c11325f7 12646 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12647 dictionary case for flyspell-mark-duplications-exceptions.
12648 Use regexp matching for languages.
c11325f7
CY
12649 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12650 default dictionary (Bug#7926).
12651
da91b5f2
CY
126522011-04-02 Chong Yidong <cyd@stupidchicken.com>
12653
099c39a4
JB
12654 * emacs-lisp/package.el (package--with-work-buffer):
12655 Recognize https URLs.
da91b5f2 12656
099c39a4
JB
12657 * net/network-stream.el: Move from gnus/proto-stream.el.
12658 Change prefix to network-stream throughout.
da91b5f2
CY
12659 (open-protocol-stream): Merge into open-network-stream, leaving
12660 open-protocol-stream as an alias. Handle nil BUFFER args.
12661
12662 * subr.el (open-network-stream): Move to net/network-stream.el.
12663
afa8e9f6
GM
126642011-04-02 Glenn Morris <rgm@gnu.org>
12665
1d2e369d
GM
12666 * find-dired.el (find-exec-terminator): New option.
12667 (find-ls-option): Test for -ls support.
12668 (find-ls-subdir-switches): Test for -b in find-ls-option.
12669 (find-dired, find-grep-dired): Doc fixes.
12670 (find-dired): Use find-exec-terminator.
12671
8abb7da8 12672 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12673 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12674 (find-name-arg): Remove purecopy.
8abb7da8 12675
f3ca7378
GM
12676 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12677 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12678 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12679 accordingly. Don't add the null-device if not needed.
12680
afa8e9f6
GM
12681 * files.el (save-some-buffers): Doc fix.
12682
35eae264
EZ
126832011-04-02 Eli Zaretskii <eliz@gnu.org>
12684
12685 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12686
26b51db5
JB
126872011-04-01 Juanma Barranquero <lekktu@gmail.com>
12688
12689 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12690 Use `dolist' rather than `mapcar'.
12691
7200d79c
SM
126922011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12693
03408648 12694 Add lexical binding.
7200d79c 12695
03408648
SM
12696 * subr.el (apply-partially): Use new closures rather than CL.
12697 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12698 (dolist, dotimes): Use slightly different expansion for lexical code.
12699 (functionp): Move to C.
12700 (letrec): New macro.
12701 (with-wrapper-hook): Use it and apply-partially instead of CL.
12702 (eval-after-load): Preserve lexical-binding.
12703 (save-window-excursion, with-output-to-temp-buffer): Turn them
12704 into macros.
7200d79c 12705
03408648
SM
12706 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12707
12708 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12709 than the arglist.
12710 (help-add-fundoc-usage): Don't add `Not documented'.
12711 (help-function-arglist): Handle closures, subroutines, and new
12712 byte-code-functions.
12713 (help-make-usage): Remove leading underscores.
12714 (describe-function-1): Handle closures.
12715 (describe-variable): Use special-variable-p for completion.
12716
12717 * files.el (lexical-binding): Declare safe.
f488fb65 12718
03408648
SM
12719 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12720 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12721 (pcase): Add `let' pattern.
12722 Change memoization so it actually works.
12723 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12724 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12725 <let>: New case.
f488fb65 12726
03408648
SM
12727 * emacs-lisp/macroexp.el: Use lexical binding.
12728 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12729 Don't convert ' to #' without checking that it's indeed quoting
12730 a lambda.
12731
12732 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12733 Use eval-sexp-add-defvars.
03408648
SM
12734 (eval-sexp-add-defvars): New fun.
12735
12736 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12737
12738 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12739 Don't autoload.
12740 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12741 than the internal `byte-compile-lambda'.
12742 (defmethod): Don't hide code under quotes.
12743 (eieio-defmethod): New `code' argument.
12744
12745 * emacs-lisp/eieio-comp.el: Remove.
12746
12747 * emacs-lisp/edebug.el (edebug-eval-defun)
12748 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12749 (edebug-toggle): Avoid `eval'.
12750
12751 * emacs-lisp/disass.el (disassemble-internal): Handle new
12752 `closure' objects.
12753 (disassemble-1): Handle new byte codes.
12754
12755 * emacs-lisp/cl.el (pushnew): Silence warning.
12756
12757 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12758 (cl-byte-compile-throw): Remove.
12759 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12760
12761 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12762 closures.
12763
12764 * emacs-lisp/cconv.el: New file.
12765
12766 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12767 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12768 (byte-compile-initial-macro-environment):
12769 Handle declare-function here.
12770 (byte-compile--lexical-environment): New var.
12771 (byte-stack-ref, byte-stack-set, byte-discardN)
12772 (byte-discardN-preserve-tos): New lap codes.
12773 (byte-interactive-p): Don't use any more.
12774 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12775 New macros.
12776 (byte-compile-lapcode): Use them and handle new lap codes.
12777 (byte-compile-obsolete): Remove.
12778 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12779 (byte-compile-arglist-warn): Check late def of inlinable funs.
12780 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12781 since they should have been expanded by now.
12782 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12783 (byte-compile-from-buffer): Remove unused second arg.
12784 (byte-compile-preprocess): New function.
12785 (byte-compile-toplevel-file-form): New function to distinguish
12786 file-form calls from outside from file-form calls from hunk-handlers.
12787 (byte-compile-file-form): Simplify.
12788 (byte-compile-file-form-defsubst): Remove.
12789 (byte-compile-file-form-defmumble): Simplify now that
12790 byte-compile-lambda always returns a byte-code-function.
12791 (byte-compile): Preprocess.
12792 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12793 Remove, not used any more.
12794 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12795 (byte-compile-make-args-desc): New funs.
12796 (byte-compile-lambda): Handle lexical functions. Always return
12797 a byte-code-function.
12798 (byte-compile-reserved-constants): New var, to make up room for
12799 closed-over variables.
12800 (byte-compile-constants-vector): Obey it.
12801 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12802 (byte-compile-macroexpand-declare-function): New function.
12803 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12804 byte-code-functions.
12805 (byte-compile-form): Check obsolescence here.
12806 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12807 (byte-compile-variable-ref): Remove.
12808 (byte-compile-dynamic-variable-op): New fun.
12809 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12810 (byte-compile-variable-set): New funs.
12811 (byte-compile-discard): Add 2 args.
12812 (byte-compile-stack-ref, byte-compile-stack-set)
12813 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12814 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12815 macroexpand-all instead.
12816 (byte-compile-quote-form): Remove.
12817 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12818 (byte-compile-bind, byte-compile-unbind): New funs.
12819 (byte-compile-let): Handle let* and lexical binding.
12820 (byte-compile-let*): Remove.
12821 (byte-compile-catch, byte-compile-unwind-protect)
12822 (byte-compile-track-mouse, byte-compile-condition-case):
12823 Handle a new :fun-body form, used for lexical scoping.
12824 (byte-compile-save-window-excursion)
12825 (byte-compile-with-output-to-temp-buffer): Remove.
12826 (byte-compile-defun): Simplify.
12827 (byte-compile-stack-adjustment): New fun.
12828 (byte-compile-out): Use it.
12829 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12830
12831 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12832 handler any more.
12833
12834 * emacs-lisp/byte-opt.el: Use lexical binding.
12835 (byte-inline-lapcode): Remove (to bytecomp).
12836 (byte-compile-inline-expand): Pay attention to inlining to/from
12837 lexically bound code.
12838 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12839 any more.
12840 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12841 any more and don't call compiler-macros.
12842 (byte-compile-splice-in-already-compiled-code): Remove.
12843 (byte-code): Don't inline any more.
12844 (disassemble-offset): Receive `bytes' as argument rather than via
12845 dynamic scoping.
12846 (byte-compile-tag-number): Declare before first use.
12847 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12848 `return' even if make-spliceable.
12849 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12850 obsolete interactive-p.
12851 (byte-optimize-lapcode): Optimize new lap-codes.
12852 Don't trip up on new form of `byte-constant' lap code.
12853
12854 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12855
12856 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12857
12858 * custom.el (custom-initialize-default, custom-declare-variable):
12859 Use `defvar'.
12860
12861 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12862 New variables.
12863 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12864 (COMPILE_FIRST): Add macroexp and cconv.
12865 * makefile.w32-in: Mirror changes in Makefile.in.
12866
12867 * vc/cvs-status.el:
12868 * vc/diff-mode.el:
12869 * vc/log-edit.el:
12870 * vc/log-view.el:
12871 * vc/smerge-mode.el:
12872 * textmodes/bibtex-style.el:
12873 * textmodes/css.el:
12874 * startup.el:
12875 * uniquify.el:
da91b5f2
CY
12876 * minibuffer.el:
12877 * newcomment.el:
12878 * reveal.el:
12879 * server.el:
12880 * mpc.el:
12881 * emacs-lisp/smie.el:
12882 * doc-view.el:
12883 * dired.el:
03408648
SM
12884 * abbrev.el: Use lexical binding.
12885
0f0c1f27
EZ
128862011-04-01 Eli Zaretskii <eliz@gnu.org>
12887
12888 * info.el (info-display-manual): New function.
12889
c82b2579
SM
128902011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12891
12892 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12893
221ddf68
TH
128942011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12895
12896 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12897 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12898
cba6e77e
GM
128992011-03-31 Glenn Morris <rgm@gnu.org>
12900
e040639f
GM
12901 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12902
cba6e77e
GM
12903 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12904
6d0f1c9e
CS
129052011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12906
12907 * progmodes/python.el (python-default-interpreter)
12908 (python-python-command-args, python-jython-command-args)
12909 (python-which-shell, python-which-args, python-which-bufname)
12910 (python-file-queue, python-comint-output-filter-function)
12911 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12912 variables and functions.
12913
3e2d70fd
SM
129142011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12915
12916 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12917 (completion-in-region-mode): New minor mode.
12918 (completion-in-region): Use it.
12919 (completion-in-region--data, completion-in-region-mode-map): New vars.
12920 (completion-in-region--postch): New function.
12921 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12922 New vars.
12923 (completion--capf-wrapper): New function.
12924 (completion-at-point): Use it to track well-behavedness of
12925 hook functions.
12926 (completion-help-at-point): New command.
12927
f3e4086c
JM
129282011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12929
12930 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12931 syntax class to search for whitespace on a single line
12932 (Message-ID: <4D938140.4030905@redhat.com>).
12933
eb7ffc14
LL
129342011-03-30 Leo Liu <sdl.web@gmail.com>
12935
12936 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12937 New commands.
12938 (edit-abbrevs-map): Bind them here.
12939 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12940
d806ab68
KM
129412011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12942
12943 * allout.el (allout-hide-by-annotation, allout-flag-region):
12944 Reduce possibility of overlay leakage by making them volatile.
12945
12946 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12947 hash is not shared between buffers. Mode initialization is
12948 responsible for giving it a useful starting value.
12949 (allout-item-span): Reduce possibility of overlay leakage by
12950 making them volatile.
12951 (allout-widgets-count-buttons-in-region): Add diagnostic function
12952 for tracking down button overlay leaks.
12953
ea622834
LL
129542011-03-29 Leo Liu <sdl.web@gmail.com>
12955
12956 * ido.el (ido-read-internal): Use the default history var
12957 minibuffer-history if no HISTORY is specified.
12958
b62f8267
G
129592011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12960
03408648
SM
12961 * net/imap.el (imap-shell-open, imap-process-connection-type):
12962 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12963 Kerberos, SSL, other subprocesses.
12964
947b6566
LL
129652011-03-28 Leo Liu <sdl.web@gmail.com>
12966
12967 * abbrev.el (abbrev-table-empty-p): New function.
12968 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12969 nonempty ones. (Bug#5937)
12970
5ffb62aa
JD
129712011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12972
12973 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12974
7a097943
LL
129752011-03-27 Leo Liu <sdl.web@gmail.com>
12976
12977 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12978 for foreground and background colors.
12979 (ansi-color-make-color-map): Adapt.
12980
c5b40130
LL
129812011-03-25 Leo Liu <sdl.web@gmail.com>
12982
1f48f7d2
LL
12983 * midnight.el (midnight-time-float): Remove. Note it calculates
12984 the microsecond component incorrectly and seconds-to-time does the
12985 same job.
625897ec 12986 Remove redundant (require 'timer).
1f48f7d2 12987
c5b40130
LL
12988 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12989 (ido-completions): Remove unused arguments. (Bug#8329)
12990
d86d2721
SM
129912011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12992
12993 * minibuffer.el (completion--flush-all-sorted-completions):
12994 Remove itself from hook.
12995 (completion-at-point): Let the functions perform the completion
12996 immediately and return nil or t.
12997 * comint.el (comint-dynamic-complete-functions): Now identical to
12998 completion-at-point-functions.
12999 (comint-dynamic-list-input-ring): Remove unused var `index'.
13000 (comint--match-partial-filename, comint--unquote&expand-filename):
13001 New funs, split from comint-match-partial-filename.
13002 (comint-dynamic-complete): Use completion-at-point.
13003 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13004
e8974c48
DA
130052011-03-24 Drew Adams <drew.adams@oracle.com>
13006
13007 * thingatpt.el: Support `defun'.
13008
def71b5e
LL
130092011-03-23 Leo Liu <sdl.web@gmail.com>
13010
cb5af48e
LL
13011 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13012
def71b5e
LL
13013 * help-mode.el (help-mode-finish): Tweak regexp.
13014
927c53e7
GM
130152011-03-23 Glenn Morris <rgm@gnu.org>
13016
18d05bed
GM
13017 * eshell/esh-opt.el (eshell-eval-using-options):
13018 Do not bind unused local variable `eshell-option-stub'.
13019
927c53e7
GM
13020 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13021
9d0da923
JB
130222011-03-22 Juanma Barranquero <lekktu@gmail.com>
13023
13024 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13025 keymap variable in `with-no-warnings' to avoid a warning when the
13026 keymap has been already `defconst'ed.
13027
4b978a67
LL
130282011-03-22 Leo Liu <sdl.web@gmail.com>
13029
13030 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13031 encode all chars in abbrevs; otherwise use emacs-mule or
13032 utf-8-emacs. (Bug#8308)
13033
5fd62452
JB
130342011-03-22 Juanma Barranquero <lekktu@gmail.com>
13035
0b1596c6
JB
13036 * simple.el (backward-delete-char-untabify):
13037 Avoid warning about using `delete-backward-char'.
13038
5fd62452
JB
13039 * image.el (image-type-file-name-regexps): Make it variable.
13040 `imagemagick-register-types' modifies it, and the user may want
13041 to add new extensions for known image types.
13042 (imagemagick-register-types): Throw error if not using ImageMagick.
13043
0b4e93f1
LL
130442011-03-22 Leo Liu <sdl.web@gmail.com>
13045
13046 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13047 located before rcirc-prompt-end-marker.
13048 (rcirc-complete): Error if point is not after rcirc prompt.
13049 Handle the case when table is nil.
9882e214 13050 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13051
fccee4ab
CY
130522011-03-22 Chong Yidong <cyd@stupidchicken.com>
13053
13054 * custom.el (custom--inhibit-theme-enable): Make it affect only
13055 custom-theme-set-variables and custom-theme-set-faces.
13056 (provide-theme): Ignore custom--inhibit-theme-enable.
13057 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13058 (custom-enabling-themes): Delete variable.
d86d2721
SM
13059 (enable-theme): Accept only loaded themes as arguments.
13060 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13061 (custom-enabled-themes): Forbid themes from setting this.
13062 Eliminate use of custom-enabling-themes.
13063 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13064
af896da6
LL
130652011-03-21 Leo Liu <sdl.web@gmail.com>
13066
13067 * ido.el (ido-read-internal): Add ido-selected to history instead
13068 of user input.
13069
78f64af0
SM
130702011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13071
13072 * subr.el (deferred-action-list, deferred-action-function):
13073 Mark obsolete.
13074
b16ac1ec
LL
130752011-03-21 Leo Liu <sdl.web@gmail.com>
13076
810f7698
LL
13077 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13078 change on 2011-02-13 (bug#8309).
13079
b16ac1ec
LL
13080 * minibuffer.el (read-file-name-function): Change default value.
13081 (read-file-name--defaults): Rename from read-file-name-defaults.
13082 (read-file-name-default): Rename from read-file-name.
13083 (read-file-name): Call read-file-name-function.
13084
4e05e67e
GM
130852011-03-21 Glenn Morris <rgm@gnu.org>
13086
13087 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13088 Doc fixes.
13089
4359915b
CY
130902011-03-21 Chong Yidong <cyd@stupidchicken.com>
13091
13092 * cus-theme.el: Add missing provide statement.
13093 (customize-create-theme): Extract theme value correctly.
13094 (custom-theme-visit-theme): Autoload.
13095 (customize-create-theme): Prompt before inserting default faces.
13096
1fe275ee
JB
130972011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13098
13099 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13100 units and musical notes.
13101
cd394be1 131022011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13103
13104 * ido.el (ido-read-internal): Use completing-read-default.
13105 (ido-completing-read): Fix compatibility with completing-read.
13106
7d476bde
CO
131072011-03-20 Christian Ohler <ohler@gnu.org>
13108
13109 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13110 (ert-delete-all-tests): Use `called-interactively-p' rather than
13111 `interactive-p'.
13112 (ert--make-xrefs-region): Respect END.
13113
fe0fb33e
CY
131142011-03-19 Chong Yidong <cyd@stupidchicken.com>
13115
ff854b0b
CY
13116 * dired-aux.el (dired-create-directory): Signal an error if the
13117 directory already exists (Bug#8246).
13118
fe0fb33e
CY
13119 * facemenu.el (list-colors-display): Call list-faces-display
13120 inside with-help-window.
13121 (list-colors-print): Use display property to align the final
13122 column, instead of checking window-width.
13123
576bce32
EZ
131242011-03-19 Eli Zaretskii <eliz@gnu.org>
13125
4d61f28d 13126 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13127 windows-nt systems.
13128 (emerge-protect-metachars): Quote correctly for ms-dos and
13129 windows-nt systems.
13130
89c41d68 131312011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13132
13133 * info.el (info-initialize): Replace all uses of `:' with
13134 path-separator for compatibility with non-Unix systems.
13135 Cache quoting of path-separator. (Bug#8258)
13136
b14e3e21 131372011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13138
13139 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13140 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13141 (mouse-avoidance-mode): Fix typos in docstrings.
13142
4525ce3e
CY
131432011-03-19 Chong Yidong <cyd@stupidchicken.com>
13144
13145 * startup.el (package-subdirectory-regexp): Move from package.el.
13146 Omit \\` and \\', and let callers add them.
13147
13148 * emacs-lisp/package.el (package-strip-version)
13149 (package-load-all-descriptors): Add \\` and \\' to
13150 package-subdirectory-regexp before using it.
13151 (package-untar-buffer): New arg DIR; ensure that file untars only
13152 into this expected directory. Remove superfluous delete-region.
13153 (package-unpack): Caller changed.
13154 (package-tar-file-info): Use package-subdirectory-regexp.
13155
a904a09a 131562011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13157
a904a09a
SM
13158 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13159 diff-mode-shared-map (bug#8284).
13160 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13161
131622011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13163
13164 * calendar/time-date.el (format-seconds): Use assoc instead of
13165 assoc-string, since assoc-string doesn't exist in XEmacs.
13166
171fc304
JB
131672011-03-17 Juanma Barranquero <lekktu@gmail.com>
13168
13169 * custom.el (custom-known-themes): Reflow docstring.
13170 (custom-theme-load-path): Fix typo in docstring.
13171 (load-theme): Fix typo in error message.
13172 (custom-available-themes, custom-variable-theme-value):
13173 Use `let', not `let*'.
13174
d71990a1
JB
131752011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13176
13177 * calc/README: Mention inclusion of musical notes.
13178
13179 * calc/calc-units.el (calc-lu-quant): Rename from
13180 `calc-logunits-quantity'.
13181 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13182 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13183 (calc-db): Rename from `calc-dblevel'.
13184 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13185 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13186 (calc-np): Rename from `calc-nplevel'.
13187 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13188 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13189 (calc-lu-plus): Rename from `calc-logunits-add'.
13190 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13191 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13192 (calc-lu-minus): Rename from `calc-logunits-sub'.
13193 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13194 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13195 (calc-lu-times): Rename from `calc-logunits-mul'.
13196 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13197 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13198 (calc-lu-divide): Rename from `calc-logunits-div'.
13199 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13200 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13201
13202 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13203 functions being autoloaded.
13204
13205 * calc/calc.el (calc-lu-power-reference): Rename from
13206 `calc-logunits-power-reference'.
13207 (calc-lu-field-reference): Rename from
13208 `calc-logunits-field-reference'.
13209
7a71b18d
GM
13210 * calc/calc-help.el (calc-l-prefix-help):
13211 Mention musical note functions.
d71990a1 13212
40c2934b
SM
132132011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13214
13215 * minibuffer.el (completion-all-sorted-completions):
13216 Use :completion-cycle-penalty text property if present.
13217
b0911414
KM
132182011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13219
13220 * allout.el (allout-yank-processing): Adjust for new rebulleting
13221 regime so bullet being yanked is used without prompting the user
13222 for a choice.
13223
8a05b668
JB
132242011-03-16 Juanma Barranquero <lekktu@gmail.com>
13225
13226 * startup.el (command-line): Warn the user that _emacs is deprecated.
13227
5ba5fb81
JB
132282011-03-16 Juanma Barranquero <lekktu@gmail.com>
13229
13230 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13231 (delphi-verbose, delphi-comment-face, delphi-string-face)
13232 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13233 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13234 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13235 (delphi-new-comment-line, delphi-font-lock-defaults)
13236 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13237 Fix typos in docstrings.
13238
2dab465b
KM
132392011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13240
5ba5fb81 13241 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13242 Invert the roles of character and string values for INSTEAD, so a
13243 string is used for the more common case of a defaulting prompt.
13244
0adf5618
SM
132452011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13246
13247 * progmodes/ruby-mode.el (ruby-backward-sexp):
13248 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13249 * play/gamegrid.el (gamegrid-make-face):
13250 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13251 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13252 * notifications.el (notifications-notify):
13253 * net/xesam.el (xesam-search-engines):
13254 * net/quickurl.el (quickurl-list-insert):
13255 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13256
d72700e5
CY
132572011-03-15 Chong Yidong <cyd@stupidchicken.com>
13258
13259 * startup.el (command-line): Update package subdirectory regexp.
13260
49c5410a
SM
132612011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13262
c6eee9aa
SM
13263 * allout.el (allout-abbreviate-flattened-numbering)
13264 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13265
49c5410a
SM
13266 * subr.el (read-char-choice): Only show the cursor after the prompt,
13267 not after the answer.
13268
047b2bb9
KR
132692011-03-15 Kevin Ryde <user42@zip.com.au>
13270
13271 * help-fns.el (variable-at-point): Skip leading quotes, if any
13272 (bug#8253).
13273
0a57d256
SM
132742011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13275
13276 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13277 warning message.
13278
77c992bc
MA
132792011-03-14 Michael Albinus <michael.albinus@gmx.de>
13280
13281 * shell.el (shell): When called interactively, offer to change the
13282 shell file name on remote hosts.
13283
eebc475d
TZ
132842011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13285
13286 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13287 integration for LDAP parameters. The host, base, user or binddn,
13288 and secret tokens can be specified in a netrc file, for instance.
13289 This is optional because an `auth-source' parameter must be
13290 specified in the search attributes.
13291
9d05d1ba
JB
132922011-03-13 Juanma Barranquero <lekktu@gmail.com>
13293
13294 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13295
09d9db2c
GM
132962011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13297
13298 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13299 into declaration. Remove redundant and harmful binding.
13300
133012011-03-12 Eli Zaretskii <eliz@gnu.org>
13302
13303 * files.el (file-ownership-preserved-p): Pass `integer' as an
13304 explicit 2nd argument to `file-attributes'. If the file's owner
13305 is the Administrators group on Windows, and the current user is
13306 Administrator, consider that a match.
13307
13308 * server.el (server-ensure-safe-dir): Consider server directory
13309 safe on MS-Windows if its owner is the Administrators group while
13310 the current Emacs user is Administrator. Use `=' to compare
13311 numerical UIDs, since they could be integers or floats.
13312
219bd536
JB
133132011-03-12 Juanma Barranquero <lekktu@gmail.com>
13314
13315 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13316
f3afd36b
MA
133172011-03-12 Michael Albinus <michael.albinus@gmx.de>
13318
13319 Sync with Tramp 2.2.1.
13320
13321 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13322
13323 * net/trampver.el: Update release number.
13324
3aaaa6f1
SM
133252011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13326
94642599
SM
13327 * progmodes/compile.el (compilation--previous-directory): Fix up
13328 various nil/dead-marker mismatches (bug#8014).
13329 (compilation-directory-properties, compilation-error-properties):
13330 Don't call it at a position past the one we're about to change.
13331
3aaaa6f1
SM
13332 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13333 Disable obsolescence warnings in the file that declares it.
13334
14239447
KM
133352011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13336
099c39a4
JB
13337 * allout-widgets.el (allout-widgets-tally):
13338 Initialize allout-widgets-tally as a hash table rather than nil to
13339 prevent mode-line redisplay warnings. Also, clarify the module
13340 description and fix a comment typo.
14239447 13341
135e287c
JB
133422011-03-11 Juanma Barranquero <lekktu@gmail.com>
13343
13344 * help-fns.el (describe-variable): Don't complete keywords.
13345 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13346
ffbf300e
CY
133472011-03-10 Chong Yidong <cyd@stupidchicken.com>
13348
ba08b241
CY
13349 * emacs-lisp/package.el (package-version-join): Impose a standard
13350 string representation for pre/alpha/beta version lists.
13351 (package-unpack-single): Standardize the directory name by passing
13352 it through package-version-join.
13353 (package-strip-rcs-id): Accept any version string that does not
13354 signal an error in version-to-list.
ffbf300e 13355
f346fd6b
MA
133562011-03-10 Michael Albinus <michael.albinus@gmx.de>
13357
13358 * simple.el (delete-trailing-whitespace): Return nil for the
13359 benefit of `write-file-functions'.
13360
ccb55d27
GM
133612011-03-10 Glenn Morris <rgm@gnu.org>
13362
5ceaac0c
GM
13363 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13364
02da65ff
GM
13365 * vc/vc-git.el (vc-git-program): New option.
13366 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13367 (vc-git--call): Use it.
13368
b2f603cc
GM
13369 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13370
5772caab
GM
13371 * cus-edit.el (Custom-newline): If no button at point, look
13372 for a subgroup button at start-of-line. (Bug#2298)
13373
ccb55d27
GM
13374 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13375
ec6ecaed
JD
133762011-03-10 Julien Danjou <julien@danjou.info>
13377
13378 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13379 `cursor-type' is nil.
13380
9d5aa01d
JB
133812011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13382
13383 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13384
b6a5875b
KM
133852011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13386
7a71b18d 13387 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13388 preserves the existing header prefix, rebulleting it if necessary,
13389 rather than replacing it. This is necessary for proper operation
13390 of cooperative addons like allout-widgets.
1154d12e
JB
13391 (allout-make-topic-prefix, allout-rebullet-heading):
13392 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13393 value as alternate bullet to be used, instead of prompting the user
13394 for a bullet character.
b6a5875b 13395
ee545c35
MA
133962011-03-09 Michael Albinus <michael.albinus@gmx.de>
13397
d86d2721
SM
13398 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13399 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13400 `tramp-default-port'.
13401
c47971d7
DD
134022011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13403
13404 * net/rcirc.el (rcirc-handler-001): Remove useless
13405 with-rcirc-process-buffer.
13406 (rcirc-check-auth-status): Swap arguments to string-match.
13407
13522cb4
GM
134082011-03-09 Glenn Morris <rgm@gnu.org>
13409
0be6f4f1
GM
13410 * shell.el (shell-mode):
13411 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13412
13522cb4
GM
13413 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13414 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13415
515de2e3
CY
134162011-03-08 Chong Yidong <cyd@stupidchicken.com>
13417
13418 * emacs-lisp/package.el (package-refresh-contents)
13419 (package-menu-execute): Use condition-case-no-debug.
13420
b511b994
MA
134212011-03-08 Michael Albinus <michael.albinus@gmx.de>
13422
13423 * simple.el (shell-command-to-string): Use `process-file'.
13424
13425 * emacs-lisp/package.el (package-tar-file-info): Handle also
13426 remote files.
13427
d86d2721
SM
13428 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13429 Use `equal' for upload base check.
b511b994 13430
25bbfb31
AM
134312011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13432
13433 * textmodes/texinfo.el (texinfo-environments):
13434 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13435
be996521
GM
134362011-03-08 Glenn Morris <rgm@gnu.org>
13437
e9c8529f
GM
13438 * cus-start.el (cursor-in-non-selected-windows):
13439 Fix :set quoting oddness. (Bug#8192)
13440
be996521
GM
13441 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13442 in some setf expressions. (Bug#2159)
13443
2bb5649e
CY
134442011-03-08 Chong Yidong <cyd@stupidchicken.com>
13445
13446 * custom.el (custom-available-themes): Return themes in
13447 alphabetical order.
13448
33383987 13449See ChangeLog.15 for earlier changes.
e3d51b27
MR
13450
13451;; Local Variables:
13452;; coding: utf-8
e3d51b27
MR
13453;; End:
13454
acaf905b 13455 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13456
13457 This file is part of GNU Emacs.
13458
13459 GNU Emacs is free software: you can redistribute it and/or modify
13460 it under the terms of the GNU General Public License as published by
13461 the Free Software Foundation, either version 3 of the License, or
13462 (at your option) any later version.
13463
13464 GNU Emacs is distributed in the hope that it will be useful,
13465 but WITHOUT ANY WARRANTY; without even the implied warranty of
13466 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13467 GNU General Public License for more details.
13468
13469 You should have received a copy of the GNU General Public License
13470 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.