* iswitchb.el (iswitchb-all-frames): Fix last change.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
78f3273a
CY
12012-05-04 Chong Yidong <cyd@gnu.org>
2
3 * dos-w32.el (file-name-buffer-file-type-alist)
4 (direct-print-region-use-command-dot-com):
5 * ffap.el (ffap-menu-regexp):
6 * find-file.el (ff-special-constructs):
7 * follow.el (follow-debug):
8 * forms.el (forms--debug):
9 * iswitchb.el (iswitchb-all-frames):
10 * ido.el (ido-all-frames):
11 * emacs-lisp/timer.el (timer-max-repeats):
12 * mail/feedmail.el (feedmail-mail-send-hook)
13 (feedmail-mail-send-hook-queued):
14 * mail/footnote.el (footnote-signature-separator):
15 * mail/mailabbrev.el (mail-alias-separator-string)
16 (mail-abbrev-mode-regexp):
17 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
18 * progmodes/idlwave.el (idlwave-libinfo-file)
19 (idlwave-default-completion-case-is-down)
20 (idlwave-library-routines): Convert defvars to defcustoms.
21
22 * mail/rmail.el (rmail-decode-mime-charset):
23 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
24 (idlwave-shell-fix-inserted-breaks)
25 (idlwave-shell-activate-alt-keybindings)
26 (idlwave-shell-use-breakpoint-glyph):
27 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
28
f7ae6719
SM
292012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
30
31 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
32
47086495
WS
332012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
34
35 * progmodes/verilog-mode.el (font-lock-keywords):
36 Fix mis-highligting auto. Reported by Craig Barner.
37 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
38 defines from global name space. Reported by Dan Dever.
39 (verilog-auto-reset, verilog-auto-reset-widths)
40 (verilog-auto-tieoff): Support using unbased numbers for
41 AUTORESET and AUTOTIEOFF.
42 (verilog-submit-bug-report): Update variable list.
43 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
44 parenthesis from not matching. Reported by Michael Rytting.
45 (verilog-auto-template-lint): Fix hash error when linting modules
46 with no used templates.
47 (verilog-warn, verilog-warn-error)
48 (verilog-warn-fatal): When non-interactive report multiple
49 warnings before exiting. Suggested by Brad Dobbie.
50 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
51 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
52 to report unused template errors. Reported by Brad Dobbie.
53 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
54 nets, bug438. Reported by Vns Blore.
55 (verilog-auto-inout-module, verilog-auto-reg)
56 (verilog-read-decls, verilog-read-sub-decls-sig)
57 (verilog-signals-edit-wire-reg, verilog-signals-with):
58 Fix passing of Verilog data types in ANSI input/output ports
59 such as "output logic" into the AUTOs. Special case "wire" and
60 "reg" for backwards compatibility presuming Verilog 2001.
61 (verilog-auto-ascii-enum): Add "auto enum" as alias.
62 (verilog-preprocess): Fix replication of preprocess output.
63 Reported by Brad Dobbie.
64 (verilog-auto-inst-interfaced-ports):
65 Create verilog-auto-inst-interfaced-ports, bug429.
66 Reported by Julian Gorfajn.
67 (verilog-after-save-font-hook)
68 (verilog-before-save-font-hook): New variable.
69 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
70 (verilog-save-font-mods): Wrap disabling fontification, reported
71 by David Rogoff.
72 (verilog-do-indent, verilog-pretty-declarations-auto)
73 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
74 Reported by Pierre-David Pfister.
75 (verilog-set-auto-endcomments): Fix endtask auto comments outside
76 of class declarations, bug292. Reported by Kevin Heilman.
77 (verilog-read-decls): Fix 'parameter type' not appearing in
78 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
79 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
80 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
81 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
82 Reported by David Kravitz.
83
842012-05-03 Michael McNamara <mac@mail.brushroad.com>
85
86 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
87 assignment with tests in ifs and for loops.
88 (verilog-extended-complete-re, verilog-complete-reg): Change so
89 that DPI inport functions don't look like fuction declarations.
90 (verilog-pretty-expr): Don't line up assignment
91 operations to the test and increment in if and for loops
92 (verilog-extended-complete-re, verilog-complete-reg): Change so
93 that DPI inport functions don't look like fuction declarations
94
2e51d4b5
KH
952012-05-03 Kenichi Handa <handa@m17n.org>
96
97 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
98 decoding, and show a warning message without signalling an error
99 (Bug#11282).
100
2bd785a2
SM
1012012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
102
103 * emacs-lisp/bytecomp.el
104 (byte-compile-file-form-custom-declare-variable): Compile all elements,
105 since cconv.el might have introduced :fun-body, internal-make-closure,
106 and friends for bytecomp to handle (bug#11391).
107 * custom.el (defcustom): Avoid ((λ ..) ..).
108
99d27583
SM
1092012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
110
111 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
112
55a71479
JB
1132012-05-02 Juanma Barranquero <lekktu@gmail.com>
114
115 * notifications.el (dbus-debug):
116 * term/linux.el (gpm-mouse-enable):
117 * term/screen.el (xterm-register-default-colors): Declare.
118
7b97c764
CY
1192012-05-02 Chong Yidong <cyd@gnu.org>
120
2bc356d7
CY
121 * cus-start.el (gc-cons-percentage, exec-suffixes)
122 (dos-display-scancodes, dos-hyper-key, dos-super-key)
123 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
124 (make-cursor-line-fully-visible, void-text-area-pointer)
125 (font-list-limit): Add customization data.
126
7b97c764
CY
127 * allout.el (allout-exposure-change-functions)
128 (allout-structure-added-functions)
129 (allout-structure-deleted-functions)
130 (allout-structure-shifted-functions): Rename abnormal hooks from
131 *-hook, and convert to defcustoms.
5d3385a0
JB
132 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
133 Convert to defcustoms.
7b97c764
CY
134 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
135
136 * allout-widgets.el: Hook callers changed.
137
90207a15 1382012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
139
140 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
141 the yanked message in preference to the default value of
142 buffer-file-coding-system.
143
90207a15 1442012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 145
5d3385a0
JB
146 * window.el (display-buffer--action-function-custom-type):
147 Fix entry.
d9558cad 148
90207a15 1492012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
150
151 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
152
d80ac57b
GM
1532012-05-01 Glenn Morris <rgm@gnu.org>
154
976f7668
GM
155 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
156
beb83b5a
GM
157 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
158
d80ac57b
GM
159 * cus-edit.el (custom-variable-documentation): Simplify with format.
160
b593d6a9
AH
1612012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
162 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * simple.el (suggest-key-bindings, execute-extended-command):
165 Move from keyboard.c.
166
782fbf2a
CY
1672012-05-01 Chong Yidong <cyd@gnu.org>
168
169 * follow.el: Eliminate advice.
170 (set-process-filter, process-filter, sit-for): Advice deleted.
171 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
172 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
173 Vars deleted.
782fbf2a
CY
174 (follow-auto): Use a :set function.
175 (follow-mode): Rewritten. Don't advise process filters.
176 (follow-switch-to-current-buffer-all, follow-scroll-up)
177 (follow-scroll-down): Assume follow-mode is bound.
178 (follow-comint-scroll-to-bottom)
179 (follow-align-compilation-windows): New functions.
180 (follow--window-sorter): New function.
181 (follow-all-followers): Use it to explicitly sort windows by their
182 positions; don't make assumptions about next-window order.
183 (follow-windows-start-end, follow-delete-other-windows-and-split)
184 (follow-calc-win-start): Doc fix.
185 (follow-windows-aligned-p, follow-select-if-visible): Don't call
186 vertical-motion unnecessarily.
187 (follow-adjust-window): New function.
188 (follow-post-command-hook): Use it.
189 (follow-call-set-process-filter, follow-call-process-filter)
190 (follow-intercept-process-output, follow-tidy-process-filter-alist)
191 (follow-stop-intercept-process-output, follow-generic-filter):
192 Functions deleted.
193 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
194 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
195 New functions, replacing advice on scroll-bar-* commands.
87233a14 196 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
197
198 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
199 (comint-postoutput-scroll-to-bottom): Use it.
200 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 201
290af740
GM
2022012-05-01 Glenn Morris <rgm@gnu.org>
203
204 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
205 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
206 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
207 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
208 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
209 Remove no-byte-compile setting.
210
6eac8dc9
SM
2112012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
212
213 * minibuffer.el (completion-table-with-quoting): Fix compatibility
214 all-completions code to not return a number in the last cdr.
215
9cc7819c
LL
2162012-04-30 Leo Liu <sdl.web@gmail.com>
217
218 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
219 read-only error.
220
c93b886f
CY
2212012-04-29 Chong Yidong <cyd@gnu.org>
222
223 * follow.el (follow-calc-win-end): Rewrite to handle partial
224 screen lines correctly (Bug#8390).
225 (follow-avoid-tail-recenter): Minor cleanup.
226
8b6c19f4
SM
2272012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 Avoid the obsolete `assoc' package.
230 * speedbar.el (speedbar-refresh): Avoid adelete.
231 (speedbar-file-lists): Simplify and avoid aput.
232 * man.el (Man--sections, Man--refpages): New vars, replacing
233 Man-sections-alist and Man-refpages-alist.
234 (Man-build-section-alist, Man-build-references-alist):
235 Use them; avoid aput.
236 (Man--last-section, Man--last-refpage): New vars.
237 (Man-follow-manual-reference): Use them.
238 Use the `default' arg of completing-read.
239 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
240
c5bb7569
CY
2412012-04-27 Chong Yidong <cyd@gnu.org>
242
d1d2e2e8
CY
243 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
244
15cd8efd
CY
245 * startup.el (x-apply-session-resources): New function.
246
247 * term/ns-win.el (ns-initialize-window-system):
248 * term/w32-win.el (w32-initialize-window-system):
249 * term/x-win.el (x-initialize-window-system): Use it to properly
250 set menu-bar-mode and other vars from X resources, even if the
251 initial frame is not a window-system frame (Bug#2299).
252
c5bb7569
CY
253 * subr.el (read-key): Avoid running filter function when setting
254 up temporary tool bar entries (Bug#9922).
255
a8e7d6d7 2562012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
257
258 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
259 (Bug#11344)
260
a8e7d6d7 2612012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
262
263 * select.el (xselect--encode-string): New function, split from
264 xselect-convert-to-string.
265 (xselect-convert-to-string): Use it.
266 (xselect-convert-to-filename, xselect-convert-to-os)
267 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
268 returned strings are properly encoded (Bug#11315).
269
a8e7d6d7 2702012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
271
272 * simple.el (delete-active-region): Move to killing custom group.
273
a8e7d6d7 2742012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
275
276 * progmodes/which-func.el (which-func-current): Quote %
277 characters for mode-line processing.
278
578c1d4b 2792012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
280
281 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
282 reaching eob (Bug#11286).
283
a8e7d6d7 2842012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
285
286 * progmodes/gdb-mi.el (gdb-control-level): New variable.
287 (gdb): Make it buffer-local and init to zero.
288 (gdb-control-commands-regexp): New variable.
289 (gdb-send): Don't wrap in "-interpreter-exec console" if
290 gdb-control-level is positive. Increment gdb-control-level
291 whenever the command matches gdb-control-commands-regexp, and
292 decrement it each time the command is "end". (Bug#11279)
293
a8e7d6d7 2942012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
295
296 * window.el (adjust-window-trailing-edge, enlarge-window)
297 (shrink-window, window-resize):
298 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
299 windows (Bug#11276).
300
b3608390
CY
3012012-04-27 Chong Yidong <cyd@gnu.org>
302
303 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 304 fix "missing prefix" warning. All callers changed.
b3608390 305
797e6e88
SM
3062012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
307
308 * emacs-lisp/assoc.el: Move to obsolete/.
309
e95a67dc
SM
3102012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
311
657c21e4 312 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
313
314 * term/ns-win.el (ns-define-service):
315 * progmodes/pascal.el (pascal-goto-defun):
316 * progmodes/js.el (js--read-tab):
317 * progmodes/etags.el (tags-lazy-completion-table):
318 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
319 * emacs-lisp/ewoc.el (ewoc--wrap):
320 * emacs-lisp/assoc.el (aput, adelete, amake):
321 * doc-view.el (doc-view-convert-current-doc):
322 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
323
cb3e7ae0
CY
3242012-04-26 Chong Yidong <cyd@gnu.org>
325
dce04f7f
CY
326 * image.el (image-type-from-buffer): Only return supported image
327 type (Bug#9045).
328
cb3e7ae0
CY
329 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
330 value, for symmetry with diff-end-of-hunk.
331 (diff-split-hunk, diff-find-source-location)
332 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
333 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
334 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
335 compute the relevant hunk or file properly (Bug#6005).
336 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
337
0d42eb3e
SM
3382012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * vc/vc-mtn.el:
341 * vc/vc-hg.el:
342 * vc/vc-git.el:
343 * vc/vc-dir.el:
344 * vc/vc-cvs.el:
345 * vc/vc-bzr.el:
346 * vc/vc-arch.el:
347 * vc/vc.el: Replace lexical-let by lexical-binding.
348 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
349 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
350 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
351
f08ae1c9
CY
3522012-04-26 Chong Yidong <cyd@gnu.org>
353
8b71081d
CY
354 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
355 (diff-mode-shared-map): Bind it to / and [remap undo].
356
f08ae1c9
CY
357 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
358 (ediff-window-setup-function): Use it as the default, to set up
359 windows based on whether the current frame is graphical (Bug#2138).
360 (ediff-choose-window-setup-function-automatically): Make obsolete.
361
362 * vc/ediff-init.el: Always define ediff-pixel-width/height.
363
ef24141c
SM
3642012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
365
cc356a5d
SM
366 * ffap.el: Remove old code for obsolete package.
367 (ffap-complete-as-file-p): Remove.
368
b4ff4f1f
SM
369 Use completion-table-with-quoting for comint and pcomplete.
370 * comint.el (comint--unquote&requote-argument)
371 (comint--unquote-argument, comint--requote-argument): New functions.
372 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
373 (comint-quote-filename): Use regexp-opt-charset.
374 (comint--common-suffix, comint--common-quoted-suffix)
375 (comint--table-subvert): Remove.
376 (comint-unquote-function, comint-requote-function): New vars.
377 (comint--complete-file-name-data): Use them with
378 completion-table-with-quoting.
379 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
380 * pcomplete.el (pcomplete-arg-quote-list)
381 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
382 (pcomplete-unquote-argument-function): Default to non-nil.
383 (pcomplete-unquote-argument): Simplify.
384 (pcomplete--common-quoted-suffix): Remove.
385 (pcomplete-requote-argument-function): New var.
386 (pcomplete--common-suffix): New function.
387 (pcomplete-completions-at-point): Use completion-table-with-quoting
388 and completion-table-subvert.
389
79c4eeb4
SM
390 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
391 (minibuffer--double-dollars): Preserve properties.
392 (completion--sifn-requote): New function.
393 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
394
ef24141c
SM
395 * minibuffer.el: Add support for completion of quoted/escaped data.
396 (completion-table-with-quoting, completion-table-subvert): New funs.
397 (completion--twq-try, completion--twq-all): New functions.
398 (completion--nth-completion): New function.
399 (completion-try-completion, completion-all-completions): Use it.
400
784e7d6e
LL
4012012-04-25 Leo Liu <sdl.web@gmail.com>
402
dd2ac746
SM
403 * progmodes/python.el (python-pdbtrack-get-source-buffer):
404 Use compilation-message if available to find real filename.
784e7d6e 405
07875ee7
CY
4062012-04-25 Chong Yidong <cyd@gnu.org>
407
408 * vc/diff-mode.el (diff-setup-whitespace): New function.
409 (diff-mode): Use it.
410
411 * vc/diff.el (diff-sentinel):
412 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
413 Whitespace mode variables based on diff style (Bug#8612).
414
5055880d
LL
4152012-04-25 Leo Liu <sdl.web@gmail.com>
416
daf75653
LL
417 * progmodes/python.el (python-send-region): Add suffix .py to the
418 temp file.
419
5055880d
LL
420 * files.el (auto-mode-alist): Use javascript-mode instead.
421
db9b177b
AH
4222012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
423
ef24141c 424 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
425
426 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 427 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 428 references, see Bug#9.
ef24141c 429 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 430 when receiving a fault reply.
ef24141c 431 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
432
433 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 434 (soap-inspect-simple-type): New function.
db9b177b 435
ef24141c 436 * soap-client.el (soap-simple-type): New struct.
db9b177b 437 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
438 (soap-decode-basic-type, soap-encode-basic-type):
439 support unsignedInt and double basic types.
db9b177b 440 (soap-resolve-references-for-simple-type)
ef24141c
SM
441 (soap-parse-simple-type, soap-encode-simple-type): New function.
442 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
443
444 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
445 (soap-default-soapenc-types): Add integer, byte and anyURI types.
446 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
447 the local name of "soapenc:Array".
448 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
449 decoding integer, byte and anyURI xsd types.
450
1fc6097b
CY
4512012-04-25 Chong Yidong <cyd@gnu.org>
452
453 * cus-edit.el (custom-buffer-create-internal): Update header text.
454
afc6df87
EZ
4552012-04-25 Eli Zaretskii <eliz@gnu.org>
456
457 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
458 settings on 'system-type', not on 'window-system'. On MS-Windows,
459 set interactive-mode on in GDB.
460
dfbd787f
SM
4612012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
464 (ruby-syntax-propertize-regexp): Remove.
465 (ruby-syntax-propertize-function): Split regexp into chunks.
466 Match following code directly.
467
85222d44
DG
4682012-04-24 Dmitry Gutov <dgutov@yandex.ru>
469
51a8ea2a
DG
470 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
471 (ruby-syntax-propertize-regexp): New function.
472 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
473 by a special keyword.
474
85222d44
DG
475 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
476 (ruby-syntax-general-delimiters-goto-beg)
477 (ruby-syntax-propertize-general-delimiters): New functions.
478 (ruby-syntax-propertize-function): Use them to handle GDL.
479 (ruby-font-lock-keywords): Move old handling of GDL...
480 (ruby-font-lock-syntactic-keywords): .. to here.
481 (ruby-calculate-indent): Adjust indentation for GDL.
482
b613912b
MA
4832012-04-24 Michael Albinus <michael.albinus@gmx.de>
484
b5380639
MA
485 * notifications.el (top): Remove unneeded declarations.
486 (notifications-specification-version): Change to "1.2".
e43042fe 487 (notifications-interface, notifications-notify-method)
b613912b
MA
488 (notifications-close-notification-method): Fix docstring.
489 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
490 (notifications-notify): Add :action-items, :resident and
491 :transient hints. Change "image_data" to "image-data" and
492 "image_path" to "image-path".
b613912b
MA
493 (notifications-get-capabilities): New defun.
494
257440aa
LL
4952012-04-24 Leo Liu <sdl.web@gmail.com>
496
497 * progmodes/python.el: Move hideshow setup to the end.
498
b1bac16e
MR
4992012-04-24 Martin Rudalics <rudalics@gmx.at>
500
501 * window.el (handle-select-window): Clear echo area since this is
502 no more done by read_char (Bug#11304).
503
d81bd059
SM
5042012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
507 and `/ M' to filter-derived-mode.
508 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
509 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
510 (ibuffer-mark-by-mode): Use default rather than initial-input.
511 (ibuffer-filter-by-derived-mode): Autoload and require-match.
512
c4cf6d91
IA
5132012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
514
515 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
516 (ibuffer-filter-by-derived-mode): New filter.
517 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
518
7511ded8
CY
5192012-04-23 Andreas Politz <politza@fh-trier.de>
520
521 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
522
775c916b
CY
5232012-04-23 Chong Yidong <cyd@gnu.org>
524
525 * cus-edit.el (customize-apropos, customize-apropos-options):
526 Disable matching of non-option variables (Bug#11176).
527 (customize-option, customize-option-other-window)
528 (customize-changed-options): Doc fix.
529 (customize-apropos-options, customize-apropos-faces)
530 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
531
532 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 533 Fix word list splitting (Bug#11132).
46c71e23
CY
534 (apropos-symbol, apropos-keybinding, apropos-label)
535 (apropos-property, apropos-function-button)
536 (apropos-variable-button, apropos-misc-button): New faces.
537 (apropos-symbol-face, apropos-keybinding-face)
538 (apropos-label-face, apropos-property-face, apropos-match-face):
539 Variables removed (Bug#8396).
540 (apropos-library-button, apropos-format-plist, apropos-print)
541 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 542
2df41f9c
MA
5432012-04-23 Michael Albinus <michael.albinus@gmx.de>
544
545 * net/xesam.el (xesam-mode-map): Use let-bound map in
546 initialization. (Bug#11292)
547
da00640a
AM
5482012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
549
550 Preserve ispell session localwords when switching back to
551 original buffer.
552
553 * ispell.el (ispell-buffer-session-localwords): New buffer-local
554 variable to hold buffer session localwords.
555 (ispell-kill-ispell): add option 'clear to delete session
556 localwords.
557 (ispell-command-loop, ispell-change-dictionary)
558 (ispell-buffer-local-words): Preserve session localwords when
559 needed.
560
561 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
562 Preserve session localwords when needed.
563
f621ccf5
AM
5642012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
565
566 * ispell.el (ispell-insert-word) Remove unneeded function using
567 obsolete `translation-table-for-input'.
ef24141c
SM
568 (ispell-word, ispell-process-line, ispell-complete-word):
569 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 570
c2d1019e
CY
5712012-04-22 Chong Yidong <cyd@gnu.org>
572
573 * cus-edit.el (custom-variable-menu)
574 (custom-variable-reset-saved, custom-face-menu)
575 (custom-face-reset-saved): If there is no saved value, make the
576 "reset-saved" operation bring back the default (Bug#9509).
577 (custom-face-state): Properly detect themed faces.
578
eeddc531
CY
579 * faces.el (face-spec-set): Stop supporting deprecated form of
580 third arg.
581
dcbf5805
MA
5822012-04-22 Michael Albinus <michael.albinus@gmx.de>
583
584 Move functions from C to Lisp. Make non-blocking method calls
585 the default. Implement further D-Bus standard interfaces.
586
ef24141c
SM
587 * net/dbus.el (dbus-message-internal): Declare function.
588 Remove unneeded function declarations.
dcbf5805
MA
589 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
590 (dbus-message-type-method-return, dbus-message-type-error)
591 (dbus-message-type-signal): Declare variables. Remove local
592 definitions.
593 (dbus-interface-dbus, dbus-interface-peer)
594 (dbus-interface-introspectable, dbus-interface-properties)
595 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
596 Adapt docstring.
597 (dbus-interface-objectmanager): New defconst.
598 (dbus-call-method, dbus-call-method-asynchronously)
599 (dbus-send-signal, dbus-method-return-internal)
600 (dbus-method-error-internal, dbus-register-service)
601 (dbus-register-signal, dbus-register-method): New defuns, moved
602 from dbusbind.c
603 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
604 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
605 New defuns.
dcbf5805
MA
606 (dbus-call-method-non-blocking): Make it an obsolete function.
607 (dbus-unregister-object, dbus-unregister-service)
608 (dbus-handle-event, dbus-register-property)
609 (dbus-property-handler): Obey the new structure of
610 `bus-registered-objects'.
611 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
612 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
613 Use `dbus-call-method'.
614
cf20dee0
CY
6152012-04-22 Chong Yidong <cyd@gnu.org>
616
617 * cus-edit.el (custom-commands, custom-reset-menu)
618 (Custom-reset-standard): Tweak labels.
619 (custom-reset-button-menu): Change default to t.
620 (custom-buffer-create-internal): For the custom-reset-button-menu
621 case, put the revert button first.
622 (custom-group-subtitle): New face.
623 (custom-group-value-create): Align docstring to a specific column.
624
625 * wid-edit.el (widget-documentation-link-add): Don't handle
626 indentation in this function.
627 (widget-documentation-string-indent-to): New function.
628 (widget-documentation-string-value-create): Use it.
629
630 * autorevert.el (auto-revert):
631 * epg-config.el (epg):
632 * ibuffer.el (ibuffer):
633 * mpc.el (mpc):
634 * ses.el (ses):
635 * eshell/eshell.el (eshell):
636 * net/ange-ftp.el (ange-ftp):
637 * progmodes/ebnf2ps.el (postscript):
638 * progmodes/flymake.el (flymake):
639 * progmodes/prolog.el (prolog):
640 * progmodes/verilog-mode.el (verilog-mode):
641 * progmodes/which-func.el (which-func):
642 * term/xterm.el (xterm):
643 * textmodes/picture.el (picture):
644 * textmodes/tildify.el (tildify):
645 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
646 customization buffers.
647
583e23bd
AM
6482012-04-22 Alan Mackenzie <acm@muc.de>
649
650 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
651 Adding a ) can hide the resulting (..) from searches. Fix it.
652 Bound the backward search to the position of the existing (.
653
7dd51bf1
JB
6542012-04-21 Juanma Barranquero <lekktu@gmail.com>
655
656 * progmodes/verilog-mode.el (verilog-mode): Check whether
657 which-func-modes is t before adding verilog-mode.
658 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
659
d64a438f
LL
6602012-04-21 Leo Liu <sdl.web@gmail.com>
661
7dd51bf1 662 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 663
081e8d65
MV
6642012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
665
666 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
667 filling of the last column of a table (Bug#5635).
668 (woman-find-next-control-line): New arg, specifying an additional
669 regexp component for the control line.
670 (woman2-roff-buffer): Use it.
671 (woman-break-table): New function.
672 (woman2-TS): Use it.
673
6742012-04-21 Chong Yidong <cyd@gnu.org>
675
676 * woman.el (woman-set-buffer-display-table, woman-decode-region)
677 (woman-horizontal-escapes, woman-negative-vertical-space)
678 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
679 (WoMan-warn-ignored): Use ?\s instead of ?\ .
680
ed571ccb
SM
6812012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
682
683 * minibuffer.el (completion-file-name-table): Complete user names.
684
39773899
LL
6852012-04-20 Leo Liu <sdl.web@gmail.com>
686
687 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
688 and pcase-let*.
689
de6ff46d
CY
6902012-04-20 Chong Yidong <cyd@gnu.org>
691
692 * server.el (server-execute): Respect initial-buffer-choice if it
693 is a string and there are no files to open (Bug#2825).
694 (server-create-window-system-frame, server-create-tty-frame):
695 Don't switch buffers here.
2d0e8e61
CY
696 (server-process-filter): Only try to open a window system frame if
697 compiled with graphical support (Bug#8314).
de6ff46d 698
54071013
DN
6992012-04-20 Dan Nicolaescu <dann@gnu.org>
700
701 * battery.el (battery-echo-area-format): Display remaining time
702 for sysfs backend too (Bug#11269).
703 (battery-linux-sysfs): Fix conditional for the charge.
704
f30d612a
CY
7052012-04-20 Chong Yidong <cyd@gnu.org>
706
c07a4c0b 707 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
708 (gdb-inferior-io--init-proc): New function.
709 (gdb-init-1): Use it.
710 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
711 responsible for allocating a new pty and hooking it to gdb when
712 the old pty gets an EIO due to process exit.
713 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
714 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
715 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
716
2116e93c
EZ
7172012-04-20 Eli Zaretskii <eliz@gnu.org>
718
719 * window.el (window-min-size, window-sizable, window-min-delta)
720 (window-max-delta, window--resizable, window-resizable)
721 (window-total-size, window-full-height-p, window-full-width-p)
722 (window-in-direction, window--resize-mini-window, window-resize)
723 (window--resize-child-windows-normal)
724 (window--resize-child-windows, window--resize-siblings)
725 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 726 (enlarge-window, shrink-window): Doc fixes.
2116e93c 727
c07a4c0b 7282012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 729
ef24141c
SM
730 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
731 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
732 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
733 pty process (Bug#11273).
734 (gdb-update): New arg to suppress talking to the gdb process.
735 (gdb-done-or-error): Use it.
736 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
737 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
738 sentinel not being called.
739
740 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
741
d02766ab
CY
742 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
743
c07a4c0b 7442012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
745
746 * net/network-stream.el (open-network-stream): Doc fix.
747
c07a4c0b 7482012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
749
750 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
751
c07a4c0b 7522012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
753
754 Ensure searching for keywords is case sensitive.
755
756 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
757 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
758 (c-defun-name, c-mark-function, c-cpp-define-name)
759 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 760 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 761
ef24141c
SM
762 * progmodes/cc-mode.el (c-font-lock-fontify-region):
763 Bind case-fold-search to nil.
f0f6bc35 764
c07a4c0b 7652012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
766
767 * mail/sendmail.el (mail-bury): Call return action with the right
768 Rmail buffer (Bug#11242).
769
9a864fa2
CY
770 * server.el (server-process-filter): Handle corner case where both
771 tty and nowait options are present (Bug#11102).
772
539aa513
EZ
7732012-04-20 Eli Zaretskii <eliz@gnu.org>
774
775 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
776 (top level): Put into the executable the ident-style '$Id:' tag on
777 windows-nt as well.
539aa513 778
cfc7d5da
SM
7792012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
780
781 * electric.el (electric-indent-post-self-insert-function): Check that
782 electric-indent-mode is enabled in current buffer.
783
5b01685c
JB
7842012-04-19 Juanma Barranquero <lekktu@gmail.com>
785
786 * imenu.el (imenu-progress-message): Restore; it is "used" in
787 erc/erc-imenu.el and net/snmp-mode.el.
788
4d6769e1
JB
7892012-04-19 Juanma Barranquero <lekktu@gmail.com>
790
791 * avoid.el (mouse-avoidance-mode): Mark unused arg.
792 (mouse-avoidance-nudge-mouse): Remove unused binding.
793
794 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
795
796 * descr-text.el (describe-char):
797 * progmodes/python.el (python-describe-symbol):
798 Don't call `toggle-read-only', set `buffer-read-only'.
799
800 * imenu.el (imenu-default-goto-function): Mark unused args.
801 (imenu-progress-message): Remove obsolete macro; all callers changed.
802
803 * subr.el (keymap-canonicalize): Remove unused binding.
804 (read-passwd): Mark unused arg.
805
806 * tutorial.el (tutorial--display-changes): Remove unused binding.
807 (tutorial--save-tutorial-to): Remove unused variable.
808
809 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
810 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
811 (package-generate-autoloads, package-menu--generate)
812 (package-menu--find-upgrades): Remove unused bindings.
813
814 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
815 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
816 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
817 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
818 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
819 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
820 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
821 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
822 (cua-delete-char-rectangle): Mark unused args.
823 (cua-align-rectangle): Remove unused binding.
824
825 * mail/rmail.el (compilation--message->loc)
826 (epa--find-coding-system-for-mime-charset): Declare.
827
828 * net/dbus.el (dbus-register-service): Declare.
829 (dbus-name-owner-changed-handler): Remove unused binding.
830
831 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
832 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
833 (nxml-scan-backward-within): Mark unused arg.
834 (nxml-dynamic-markup-word): Remove unused binding.
835
836 * mouse.el (mouse-menu-major-mode-map):
837 * emacs-lisp/authors.el (authors-scan-change-log)
838 (authors-add-to-author-list):
839 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
840 * emacs-lisp/smie.el (smie-auto-fill):
841 * mail/sendmail.el (mail-bury):
842 * mail/unrmail.el (unrmail):
843 * net/tls.el (open-tls-stream):
844 * textmodes/picture.el (picture-mouse-set-point):
845 Remove unused bindings.
846
8c8fc5df
MA
8472012-04-19 Michael Albinus <michael.albinus@gmx.de>
848
849 * net/tramp.el (tramp-action-password): Let-bind
850 `enable-recursive-minibuffers' to t.
851
a77b0ac9
SS
8522012-04-18 Sam Steingold <sds@gnu.org>
853
854 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
855 instead of 'string to accommodate values like [f11].
856 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
857 * progmodes/gdb-mi.el: Likewise.
858
12a106a9
LL
8592012-04-18 Leo Liu <sdl.web@gmail.com>
860
861 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
862 current buffer.
863 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
864 LOCAL is nil.
865
bc6494ef
CY
8662012-04-18 Chong Yidong <cyd@gnu.org>
867
868 * simple.el (line-move): Use forward-line if in batch mode
869 (Bug#11053).
870
c09c46b2
CS
8712012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
872
873 * files.el (after-find-file): Do not try to add a final newline if
874 the buffer is read-only (Bug#11156).
875
5f6530ea
RS
8762012-04-17 Richard Stallman <rms@gnu.org>
877
878 * mail/rmail.el (rmail-start-mail):
879 Pass (rmail-mail-return...) for the return-action.
880 Pass (rmail-yank-current-message...) for the yank-action.
881 (rmail-yank-current-message): New function.
882 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
883 (rmail-reply): Likewise.
884 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
885
886 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 887 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
888 buffer, not newbuf.
889
197b6f3c
JB
8902012-04-17 Juanma Barranquero <lekktu@gmail.com>
891
892 * server.el (server-ensure-safe-dir): Simplify.
893
2311d8e5 8942012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 895
2311d8e5
GM
896 * emacs-lisp/smie.el: Provide smarter auto-filling.
897 (smie-auto-fill): New function.
898 (smie-setup): Use it.
98fb480e 899
2311d8e5
GM
900 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
901
9022012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
903
904 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
905 (comment-indent): Use it.
906
2311d8e5 9072012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
908
909 * ses.el: The overall change is to add cell renaming, that is
910 setting fancy names for cell symbols other than name matching
911 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 912 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 913 (ses-create-cell-variable): New defun.
2311d8e5 914 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
915 (ses-relocate-formula): Relocate formulas only for cells the
916 symbols of which are not renamed, i.e. symbols whose names do not
917 match regexp "\\`[A-Z]+[0-9]+\\'".
918 (ses-relocate-all): Relocate values only for cells the symbols of
919 which are not renamed.
920 (ses-load): Create cells variables as the (ses-cell ...) are read,
921 in order to check row col consistency with cell symbol name only
922 for cells that are not renamed.
923 (ses-replace-name-in-formula): New defun.
924 (ses-rename-cell): New defun.
4bdf2ad2 925
fc72b15c
PO
9262012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
927
928 * progmodes/perl-mode.el (perl-indent-parens-as-block):
929 New option (bug#11118).
930 (perl-calculate-indent): Respect it.
931
12e10e61
GM
9322012-04-17 Glenn Morris <rgm@gnu.org>
933
934 * dired-aux.el (dired-mark-read-string): Doc fix.
935
30009afd
DA
9362012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
937
938 * dired-aux.el (dired-mark-read-string): Offer optional completion.
939 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
940
41f03f4d
GM
9412012-04-17 Glenn Morris <rgm@gnu.org>
942
943 * mouse.el (mouse-drag-track):
944 * speedbar.el (speedbar-frame-mode):
945 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
946
f45f90f3
LL
9472012-04-16 Leo Liu <sdl.web@gmail.com>
948
949 * progmodes/python.el: Trivial cleanup.
950
94ee8db5
GM
9512012-04-16 Glenn Morris <rgm@gnu.org>
952
121b8917
GM
953 * vc/vc.el (vc-string-prefix-p):
954 * vc/pcvs-util.el (cvs-string-prefix-p):
955 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
956 * mpc.el (mpc-string-prefix-p):
957 Make all of these into obsolete aliases for string-prefix-p.
958 Update callers.
959 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
960
1197ecfa
GM
961 * textmodes/two-column.el: Move custom options to the start.
962 (frame-width): Remove compat definition.
963 (2C-associate-buffer, 2C-dissociate):
964 Use with-current-buffer rather than save-excursion.
965 (2C-dissociate): Force a mode-line update.
966 (2C-autoscroll): Use ignore-errors.
967
099e7202
GM
968 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
969 Autoload trivia.
970
bf350d6a
GM
971 * emacs-lisp/cl-extra.el (*random-state*):
972 Remove unnecessary declaration.
973
0e829eab
GM
974 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
975
e3ad7552
GM
976 * play/cookie1.el (cookie-snarf):
977 Give an explicit error if input file cannot be read.
978
68892d27
GM
979 * play/yow.el (yow-file): Use expand-file-name rather than concat.
980
20f0c46d
GM
981 * progmodes/perl-mode.el (c-macro-expand):
982 Remove unnecessary autoload (it is in loaddefs.el).
983
5a0978ce
GM
984 * textmodes/picture.el (picture-desired-column)
985 (picture-update-desired-column): Convert comments to doc-strings.
986 (picture-substitute): Remove function.
987 (picture-mode-map): Initialize in the defvar.
988
6b955486
GM
989 * woman.el: Remove eval-after-load for tar-mode.
990 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
991 (woman-tar-extract-file): Autoload it.
992
94ee8db5
GM
993 * frame.el (automatic-hscrolling): Make this alias obsolete.
994
177eca34
AM
9952012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
996
997 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 998 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
999 (ispell-dictionary-base-alist): Revert to original XEmacs
1000 friendly version for default. [:alpha:] will be added in
1001 `ispell-set-spellchecker-params' if needed
177eca34 1002
c505aaeb
CY
10032012-04-16 Chong Yidong <cyd@gnu.org>
1004
1005 * image.el (imagemagick--extension-regexp): New variable.
1006 (imagemagick-register-types): Use it.
1007 (imagemagick-types-inhibit): Add :set function. Allow new value
1008 of t to inhibit all types.
1009
1010 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1011 so we can preload it.
1012
1013 * loadup.el (fboundp): Preload regexp-opt, needed by
1014 imagemagick-register-types.
1015
60efac0f
CY
10162012-04-15 Chong Yidong <cyd@gnu.org>
1017
1018 * frame.el (scrolling): Remove nearly unused customization group.
1019
1020 * scroll-all.el (scroll-all-mode): Move to windows group.
1021
5dd1713e
CY
10222012-04-15 Chong Yidong <cyd@gnu.org>
1023
1024 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1025
e6fd457e
CY
10262012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1029 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1030
e153c136
GM
10312012-04-15 Glenn Morris <rgm@gnu.org>
1032
1033 * simple.el (process-file-side-effects): Doc fix.
1034
e6fd457e 10352012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1036
1037 * international/mule-cmds.el (set-language-environment): Doc fix.
1038
3603c3b1
JB
10392012-04-14 Juanma Barranquero <lekktu@gmail.com>
1040
1041 * server.el (server-auth-key, server-generate-key): Doc fixes.
1042 (server-get-auth-key): Doc fix. Use `string-match-p'.
1043 (server-start): Reflow docstring.
1044
e6de100c
LI
10452012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1046
1047 * server.el (server-generate-key): `called-interactively-p'
1048 requires a parameter.
1049
29734c21
MN
10502012-04-14 Michal Nazarewicz <mina86@mina86.com>
1051
1052 * server.el (server-auth-key): New variable.
75f1671a 1053 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1054 (server-start): Use the new variable and functions to allow
1055 setting a permanent server key (bug#9423).
1056
d65c9521
LL
10572012-04-14 Leo Liu <sdl.web@gmail.com>
1058
1059 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1060
5ae255c7
PE
10612012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1062
1063 Spelling fixes.
1064 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1065 Emacs uses American spelling.
1066
d5e6342e
JB
10672012-04-14 Juanma Barranquero <lekktu@gmail.com>
1068
1069 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1070 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1071 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1072 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1073
ab036cd7
SM
10742012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * progmodes/which-func.el (which-func-modes): Change default.
1077
35dc09a1 10782012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1079
1080 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1081 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1082
35dc09a1 10832012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1084
1085 * custom.el (custom-theme-set-variables): Doc fix.
1086
35dc09a1 10872012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1088
1089 * international/mule.el (set-auto-coding-for-load): Doc fix.
1090
35dc09a1 10912012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1092
35dc09a1
GM
1093 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1094 imenu work again for Objective C Mode. Correct the *-index values,
1095 these having been disturbed by a previous change in 2011-08.
57f845ee 1096
0de3da9f
AM
1097 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1098 Correct two search limits.
1099
35dc09a1 11002012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1101
1102 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1103
35dc09a1 11042012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1105
1106 * international/characters.el: Fix sorting.
1107
35dc09a1 11082012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1109
1110 * international/characters.el: Add more missing Latin case pairs.
1111
35dc09a1 11122012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1113
1114 * files.el (dir-locals-set-class-variables): Doc fix.
1115
35dc09a1 11162012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1117
3f1b5bf8
EZ
1118 * international/characters.el: Add set-case-syntax-pair call for
1119 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1120 counterpart. (Bug#11209)
1121
9f847f41
EZ
1122 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1123
35dc09a1 11242012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1125
1126 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1127
35dc09a1 11282012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1129
35dc09a1
GM
1130 * textmodes/ispell.el (ispell-dictionary-base-alist):
1131 Add data for Hebrew.
e2627d21 1132
35dc09a1 11332012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1134
35dc09a1
GM
1135 * net/rcirc.el (rcirc-cmd-quit):
1136 Revert 2012-03-18 change (Bug#11192).
5c14e333 1137
35dc09a1 11382012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1139
1140 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1141
35dc09a1 11422012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1143
4517fe3a
SM
1144 * minibuffer.el (completion-in-region-mode-map):
1145 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1146
b472a594
VD
11472012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1148
1149 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1150
09b95ce3
MY
11512012-04-13 Masatake YAMATO <yamato@redhat.com>
1152
1153 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1154 to allow `C-M-f' and `C-M-b' to move to the nearest path
1155 separator (bug#9511).
1156
4b63a9ca
LI
11572012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1158
1159 * avoid.el: Require cl when compiling. And also move the
1160 `provide' to the end.
1161
7b55b8bf
TV
11622012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1163
1164 * avoid.el (mouse-avoidance-banish-position): New variable.
1165 (mouse-avoidance-banish-destination): Use it (bug#10165).
1166
adedaa1f
LL
11672012-04-13 Leo Liu <sdl.web@gmail.com>
1168
1169 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1170
70e74021
KB
11712012-04-13 Ken Brown <kbrown@cornell.edu>
1172
1173 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1174 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1175 (browse-url-filename-alist): For the same reason, don't modify
1176 file:// URLs on Cygwin.
1177
e75e89ba
SM
11782012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1181 the region on shift if the binding is already shifted (bug#11221).
1182
82f289a4
GM
11832012-04-12 Glenn Morris <rgm@gnu.org>
1184
1185 * mail/mailpost.el: Move to obsolete/.
1186
d333dc4c
DA
11872012-04-12 Drew Adams <drew.adams@oracle.com>
1188
1189 * imenu.el (imenu--generic-function): Ignore invisible definitions
1190 (bug#10123).
1191
0d15b5ba
VD
11922012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1193
1194 * hexl.el (hexl-bits): New variable.
1195 (hexl-options): Mention the variable in the doc string.
75f1671a 1196 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1197 (hexl-mode): Mention the new variable.
75f1671a
JB
1198 (hexl-mode, hexl-current-address, hexl-current-address):
1199 Use the displen.
0d15b5ba
VD
1200 (hexl-ascii-start-column): New function.
1201 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1202 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1203
64a440db
AM
12042012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1205
1206 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1207 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1208 the encoding, as expected by hunspell.
1209
6decb6c2
SM
12102012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * battery.el (battery--linux-sysfs-regexp): New const.
1213 (battery-status-function): Use it. Remove yeeloong special case.
1214 (battery-yeeloong-sysfs): Remove.
1215 (battery-echo-area-format): Remove yeeloong special case.
1216
088be6fb
SM
12172012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1218
6622e416
SM
1219 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1220 Reported by Noah Friedman.
1221
088be6fb
SM
1222 * subr.el (read-passwd): Use read-string.
1223
b49f886e
LMI
12242012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1225
1226 * vcursor.el (vcursor-move): Increase the priority of the overlay
1227 (bug#9663).
1228
a63067fc
DD
12292012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1230
1231 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1232 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1233
ac3cf14a
WS
12342012-04-11 William Stevenson <yhvh2000@gmail.com>
1235
1236 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1237 define-minor-mode (bug#10760).
1238
c4fc691b 12392012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1240
4d6769e1 1241 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1242 that directories matching `grep-find-ignored-files' won't be
1243 pruned (bug#10351).
1244
af23e2e5
CY
12452012-04-11 Chong Yidong <cyd@gnu.org>
1246
1247 * startup.el (command-line): Remove support for long-obsolete
1248 variable font-lock-face-attributes.
1249
ab7ce8c1
GM
12502012-04-11 Glenn Morris <rgm@gnu.org>
1251
1252 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1253
de8c03dc
SM
12542012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * window.el (window--state-get-1): Obey window-point-insertion-type.
1257
050cc68b
LB
12582012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1259
1260 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1261 to previous function when point is on the first character of a
75f1671a 1262 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1263
a38c310c
GM
12642012-04-11 Glenn Morris <rgm@gnu.org>
1265
effed0c2
GM
1266 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1267 not just file-errors.
1268
a38c310c
GM
1269 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1270 (vc-bzr-sha1): Use internal sha1.
1271
0221e323
SM
12722012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1275
43956923
SG
12762012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1277
1278 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1279 that start in the middle of the line (bug#10496).
1280
6a8c9eaf
DN
12812012-04-10 Dan Nicolaescu <dann@gnu.org>
1282
1283 * battery.el (battery-linux-proc-acpi): Only one battery is
1284 discharged at a time, but that seems to confuse battery.el when
1285 computing `rate-type' for the battery not being discharged
1286 (bug#10332).
1287
1930bf5d
SM
12882012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1289
2a718f6f
SM
1290 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1291
599430d0
SM
1292 * international/quail.el: Use dolist and simplify.
1293 (quail-define-package, quail-update-keyboard-layout)
1294 (quail-define-rules): Use dolist.
1295 (quail-insert-kbd-layout, quail-get-translation): CSE.
1296
a2754b6c
SM
1297 * tmm.el: Use dolist, remove left over hook.
1298 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1299 Use dolist.
1300 (calendar-load-hook): Don't mess with it.
1301
1930bf5d
SM
1302 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1303 Use derived-mode-p. Run the diff asynchronously.
1304
9f67961c
LMI
13052012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1306
1307 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1308
2a8ce227
JB
13092012-04-10 Juanma Barranquero <lekktu@gmail.com>
1310
1311 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1312 (list-dynamic-libraries--loaded): New function.
1313 (list-dynamic-libraries--refresh): Use it.
1314
8f33b5f8
NW
13152012-04-10 Nathan Weizenbaum <nweiz@google.com>
1316
1930bf5d
SM
1317 * progmodes/python.el (python-fill-paragraph):
1318 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1319 disabled (bug#7018).
1320
b12f0439
L
13212012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1322
1930bf5d 1323 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1324 DOS/MS Windows for the Baltic languages. There are still plenty
1325 of texts written in this encoding/codepage (bug#6519).
b12f0439 1326
57c3bd01
GM
13272012-04-10 Glenn Morris <rgm@gnu.org>
1328
1329 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1330 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1331
6c3eab30
FA
13322012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1333
1930bf5d 1334 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1335 next-line "n" and previous-line "p" in order to make recentf more
1336 consistent with ibuffer, dired or org-mode (bug#9387).
1337
24d78a88
LMI
13382012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1339
bc72b5d9
LMI
1340 * image.el (put-image): Return the overlay created instead of the
1341 optional input string (bug#7834). Note that this may break code
1342 that is (for some reason or other) depending on `put-image'
1343 returning the string.
1344
bd2dba5a
LMI
1345 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1346
74beb59f
LMI
1347 * simple.el (zap-to-char): Allow zapping using input methods
1348 (bug#1580).
1349
24d78a88
LMI
1350 * textmodes/fill.el (fill-region): Leave point and mark where they
1351 were before filling (bug#5399).
1352
263f20cd
GM
13532012-04-09 Glenn Morris <rgm@gnu.org>
1354
1355 * version.el (emacs-bzr-get-version):
1356 Handle lightweight checkouts of local branches.
1357
58d1f797
AS
13582012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1359
263f20cd 1360 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1361
b4d3bc10
CY
13622012-04-09 Chong Yidong <cyd@gnu.org>
1363
1364 * custom.el (custom-variable-p): Return nil for non-symbol
1365 arguments instead of signaling an error.
1366 (user-variable-p): Obsolete alias for custom-variable-p.
1367
1368 * apropos.el (apropos-variable):
1369 * files-x.el (read-file-local-variable):
1370 * simple.el (set-variable):
1371 * woman.el (woman-mini-help):
1372 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1373
fd06db5d
GM
13742012-04-09 Glenn Morris <rgm@gnu.org>
1375
e5fcdb5e
GM
1376 * startup.el (normal-top-level): Don't look for leim-list.el
1377 in places where it will not be found. (Bug#910)
1378
fd06db5d
GM
1379 * international/mule-cmds.el (set-default-coding-systems):
1380 * files.el (normal-mode):
1381 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1382 This function was removed with ucs-tables.el in 2008.
1383
b39bb7e1
EZ
13842012-04-08 Eli Zaretskii <eliz@gnu.org>
1385
1386 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1387 ispell-encoding8-command to "-i", without a trailing space.
1388 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1389 separate command-line arguments, to specify the encoding, since
1390 that's how hunspell expects it.
1391
5c5b8e23
GM
13922012-04-08 Glenn Morris <rgm@gnu.org>
1393
1394 * loadup.el: Load bindings before cus-start.
1395 This reduces somewhat the number of "rogue" settings in emacs -Q.
1396
a1ed8b05
GM
13972012-04-07 Glenn Morris <rgm@gnu.org>
1398
1399 * version.el (emacs-bzr-get-version): New function.
dfae128a 1400 (emacs-bzr-version): New variable.
a1ed8b05
GM
1401 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1402 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1403
b142f158
EZ
14042012-04-07 Eli Zaretskii <eliz@gnu.org>
1405
dfae128a
GM
1406 * international/uni-bidi.el, international/uni-category.el:
1407 * international/uni-combining.el, international/uni-decimal.el:
1408 * international/uni-decomposition.el, international/uni-digit.el:
1409 * international/uni-lowercase.el, international/uni-mirrored.el:
1410 * international/uni-name.el, international/uni-numeric.el:
1411 * international/uni-titlecase.el, international/uni-uppercase.el:
1412 Update for Unicode 6.1.
b142f158 1413
9078ead6
EZ
14142012-04-07 Eli Zaretskii <eliz@gnu.org>
1415
1416 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1417
f23d2c7d
LMI
14182012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1419
1420 * window.el (shrink-window): Mention the `window-min-height'
1421 variable in the doc string.
1422
0a0a3573
BG
14232012-04-05 Bastien Guerry <bzg@altern.org>
1424
1425 * color.el (color-lighten-name): Fix typo.
1426
e5248ac9
SM
14272012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * server.el (server--on-display-p): New function.
1430 (server--on-display-p): Use it.
1431
b4243e22
GV
14322012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1433
1434 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1435 (bug#11145).
1436
305d9f44
SM
14372012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1438
1439 * comint.el (comint--common-quoted-suffix): Check string boundary
1440 before comparing (bug#11158).
1441 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1442
3d439cd1
CY
14432012-04-04 Chong Yidong <cyd@gnu.org>
1444
321cc491
CY
1445 * minibuffer.el (completion-extra-properties): Doc fix.
1446
3d439cd1
CY
1447 * subr.el (delayed-warnings-hook): Doc fix.
1448
2d562c0f
DU
14492012-04-04 Daiki Ueno <ueno@unixuser.org>
1450
1451 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1452 selection (Bug#11159).
1453 (epa-insert-keys): Inform that the default public key will be
1454 exported if no key is selected.
1455
4443f204
RS
14562012-04-04 Richard Stallman <rms@gnu.org>
1457
1458 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1459
529c06b6
CY
14602012-04-03 Chong Yidong <cyd@gnu.org>
1461
1462 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1463 mail-insert-file, not its obsolete alias mail-attach-file.
1464
66b907dc
MA
14652012-04-03 Michael Albinus <michael.albinus@gmx.de>
1466
1467 * notifications.el (notifications-notify): Fix docstring.
1468
c0ea195d
GM
14692012-04-02 Glenn Morris <rgm@gnu.org>
1470
1471 * emacs-lisp/authors.el (authors-aliases): Another addition.
1472
5ca64e00
MA
14732012-04-02 Michael Albinus <michael.albinus@gmx.de>
1474
1475 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1476 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1477 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1478
42ee526b
CY
14792012-04-01 Chong Yidong <cyd@gnu.org>
1480
1481 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1482 Handle root directory properly.
1483 (copy-directory): Caller changed.
1484
1485 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1486 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1487
0b021094
GM
14882012-03-31 Glenn Morris <rgm@gnu.org>
1489
40f86458
GM
1490 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1491
7019c177
GM
1492 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1493
a1daddd6
GM
1494 * calendar/calendar.el (calendar-window-list)
1495 (calendar-hide-window): Restore. (Bug#11140)
1496 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1497
0b021094
GM
1498 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1499
40311efc
TV
15002012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1501
1502 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1503 Check if file is a symlink (Bug#10489).
1504
1505 * files.el (copy-directory): Likewise.
1506
5319014e
CY
15072012-03-30 Chong Yidong <cyd@gnu.org>
1508
1509 * image.el (imagemagick-types-inhibit)
1510 (imagemagick-register-types): Doc fix.
1511
935d1290
AM
15122012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1513
ef24141c
SM
1514 * ispell.el (ispell-get-extended-character-mode):
1515 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1516 and treats ~word as ordinary words in pipe mode.
935d1290 1517
61c6e8fd
GM
15182012-03-30 Glenn Morris <rgm@gnu.org>
1519
1520 * tutorial.el (help-with-tutorial): Ensure local variables don't
1521 happen to make the buffer read-only. (Bug#11127)
1522
81fdff00
SM
15232012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1526 (perl-calculate-indent): Return `noindent' in strings.
1527
6e7a6ec0
SS
15282012-03-28 Sam Steingold <sds@gnu.org>
1529
1530 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1531 instead of the broken adhockery which does not prevent calendar
1532 buffers from being displayed at random after exit.
1533 (calendar-window-list, calendar-hide-window): Remove the broken
1534 adhockery.
1535
fee88ca0
GM
15362012-03-28 Glenn Morris <rgm@gnu.org>
1537
1538 * replace.el (query-replace-map): Doc fix.
1539
38de3354
AS
15402012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1541
1542 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1543 contents. (Bug#11109)
1544
b973155e
SM
15452012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1546
1547 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1548 (bug#11077).
1549 (avl-tree--check, avl-tree--check-node): New funs.
1550
dcb6e7b3
MR
15512012-03-27 Martin Rudalics <rudalics@gmx.at>
1552
1553 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1554 (switch-to-prev-buffer, switch-to-next-buffer):
1555 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1556 showing a buffer already is done on the same frame.
1557
b4fa35fa
GM
15582012-03-27 Glenn Morris <rgm@gnu.org>
1559
1560 * startup.el (mail-host-address): Doc fix.
1561
f9210e18
SM
15622012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1563
1564 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1565 than 197 variables.
1566
c0bf7753
AF
15672012-03-26 Ami Fischman <ami@fischman.org>
1568
1569 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1570
33da7b16
GM
15712012-03-26 Glenn Morris <rgm@gnu.org>
1572
02243d9d
GM
1573 * files.el (save-buffers-kill-emacs): Doc fix.
1574
33da7b16
GM
1575 * startup.el (normal-top-level, command-line, command-line-1):
1576 Give them doc strings.
1577
e5a69fd0
EZ
15782012-03-25 Eli Zaretskii <eliz@gnu.org>
1579
1580 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1581 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1582
9a69676a
CY
15832012-03-25 Chong Yidong <cyd@gnu.org>
1584
4125cb8b
CY
1585 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1586 theme if it was previously enabled before (Bug#11031).
1587
dd470960
CY
1588 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1589 spec with custom-face-get-current-spec if its :shown-value is not
1590 determined yet (Bug#9337).
4125cb8b 1591 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1592
9a69676a
CY
1593 * button.el (button-at): Minor addition to docstring.
1594
6e7e90fa
SL
15952012-03-24 Simon Leinen <simon.leinen@gmail.com>
1596
1597 * vc/vc.el (vc-merge): Fix a prompt.
1598
f06e2758
CY
15992012-03-24 Chong Yidong <cyd@gnu.org>
1600
1601 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1602 point (Bug#9623).
1603
6e7e90fa
SL
1604 * button.el (button-at): Minor addition to docstring.
1605
b9d0879b
SM
16062012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * newcomment.el (comment-choose-indent): No space after BOL.
1609
e71cebb3
SS
16102012-03-22 Sam Steingold <sds@gnu.org>
1611
1612 * window.el (switch-to-prev-buffer): Revert last patch because the
1613 bug turned out to be an advertised feature (Elisp manual 28.14).
1614
335aff35
GM
16152012-03-22 Glenn Morris <rgm@gnu.org>
1616
1617 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1618 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1619
c676576a
LMI
16202012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1621
1622 * net/network-stream.el (network-stream-open-starttls): Make error
1623 message under Windows be less misleading.
1624
126f3d39
LW
16252012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1626
1627 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1628 understands (bug#9942).
1629
64fee311
CY
16302012-03-22 Chong Yidong <cyd@gnu.org>
1631
1632 * simple.el (end-of-visible-line): Handle return value of
1633 next-single-property-change properly (Bug#9371).
1634
a640d29a
KH
16352012-03-22 Kenichi Handa <handa@m17n.org>
1636
1637 * international/quail.el (quail-insert-kbd-layout): Fix previous
1638 change. To avoid unwanted bidi reordering, use
1639 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1640
39675016
DG
16412012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1642
1643 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1644 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1645 (ruby-beginning-of-indent): Be more careful with the difference
1646 between word-boundary and symbol boundary.
1647 (ruby-mode-syntax-table): Make : a symbol constituent.
1648
0a6934fc 16492012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1650
3d008e4f
SM
1651 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1652
0a6934fc
SM
16532012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1654
af67c9d7
SM
1655 * progmodes/etags.el (tags-completion-at-point-function):
1656 Improve last fix.
1657
1acad97c
SM
1658 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1659
e298b5da
SS
16602012-03-21 Sam Steingold <sds@gnu.org>
1661
1662 * progmodes/etags.el (tags-completion-at-point-function):
1663 Avoid the error when point is inside the pattern.
1664
91d82a70
JY
16652012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1666
1667 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1668 line (Bug#10855).
1669
69188b79
CY
16702012-03-21 Drew Adams <drew.adams@oracle.com>
1671
1672 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1673
99fc91fe
AK
16742012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1675
1676 * ido.el (ido-set-current-directory, ido-read-internal)
1677 (ido-choose-completion-string, ido-completion-help): Handle nil
1678 value of ido-completion-buffer (Bug#11008).
1679
087bbb4c
SS
16802012-03-21 Sam Steingold <sds@gnu.org>
1681
1682 * window.el (switch-to-prev-buffer): Do not switch to a visible
1683 window previous buffer, just like with the frame previous buffers.
1684
fb5b8aca
CY
16852012-03-21 Chong Yidong <cyd@gnu.org>
1686
1687 * faces.el (make-face, make-empty-face, copy-face):
1688 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1689 Doc fixes.
1690
dc9924b8
SM
16912012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1694 (widget-complete): Remove broken use of it.
1695
f0bcceb9
CY
16962012-03-20 Chong Yidong <cyd@gnu.org>
1697
dc9924b8
SM
1698 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1699 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1700 characters.
1701
ee52ebf3
TH
17022012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1703
1704 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1705 to draw rectangles, not squares. (Regression introduced by revno
1706 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1707
4c5779ab
CY
17082012-03-18 Chong Yidong <cyd@gnu.org>
1709
1710 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1711 it is not yet defined (for temacs).
1712
15360934
LL
17132012-03-18 Leo Liu <sdl.web@gmail.com>
1714
dc9924b8 1715 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1716
d9a8eb66
EZ
17172012-03-17 Eli Zaretskii <eliz@gnu.org>
1718
1719 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1720 (ispell-choices-win-default-height, ispell-silently-savep)
1721 (ispell-dictionary-alist, ispell-encoding8-command)
1722 (ispell-check-version, ispell-aspell-find-dictionary)
1723 (ispell-valid-dictionary-list, ispell-words-keyword)
1724 (ispell-get-word, ispell-internal-change-dictionary)
1725 (ispell-region, ispell-skip-region-list)
1726 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1727 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1728 (ispell-message-text-end, ispell-message)
1729 (ispell-buffer-local-parsing): Doc fix.
1730
f02ff80d
J
17312012-03-13 Jambunathan K <kjambunathan@gmail.com>
1732
1733 * htmlfontify.el: Add support for code block fontification for ODT
1734 export (Bug #9914).
1735 (hfy-optimisations): Define new option
1736 `body-text-only'
1737 (hfy-fontify-buffer): Honor above setting.
1738 (hfy-begin-span, hfy-end-span): New routines factored out form
1739 `hfy-fontify-buffer'.
1740 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1741 that permit insertion of custom tags.
1742 (hfy-fontify-buffer): Use above handlers.
1743 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1744 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1745 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1746 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1747 bind a special variable `hfy-user-sheet-assoc'.
1748 (htmlfontify-string): New defun.
1749 (hfy-compile-face-map): Make sure that the last char in the
1750 buffer is correctly fontified.
1751 (hfy-face-resolve-face): Whitespace only change.
1752
9ac7a13f
EZ
17532012-03-17 Eli Zaretskii <eliz@gnu.org>
1754
1755 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1756 message more clear.
1757
e2b5bdd7
LL
17582012-03-16 Leo Liu <sdl.web@gmail.com>
1759
1760 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1761
2e492df3
AM
17622012-03-16 Alan Mackenzie <acm@muc.de>
1763
1764 Further optimise the handling of large macros.
1765
1766 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1767 limit to a call of `c-literal-limits'.
1768 (c-determine-+ve-limit): New function.
dc9924b8
SM
1769 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1770 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1771 In CASE 5B, restrict a search limit to 500.
1772 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1773
1774 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1775 Restrict macro bounds to +-500 from after-change's BEG END.
1776
50e94f0c
LL
17772012-03-16 Leo Liu <sdl.web@gmail.com>
1778
1779 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1780
6f09f6ed
AH
17812012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1782
1783 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1784 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1785
c7e73d51
GM
17862012-03-16 Glenn Morris <rgm@gnu.org>
1787
da986230
GM
1788 * view.el (view-buffer, view-buffer-other-window)
1789 (view-buffer-other-frame): Doc fixes re special mode-class.
1790
0835f01e
GM
1791 * subr.el (eval-after-load): If named feature is provided not from
1792 a file, run after-load forms. (Bug#10946)
1793
c7e73d51
GM
1794 * calendar/calendar.el (calendar-insert-at-column):
1795 Handle non-unit-width characters a bit better. (Bug#10978)
1796
3f2eafd1
CY
17972012-03-15 Chong Yidong <cyd@gnu.org>
1798
1799 * emacs-lisp/ring.el (ring-extend): New function.
1800 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1801
1802 * comint.el (comint-read-input-ring)
1803 (comint-add-to-input-history): Grow comint-input-ring lazily.
1804
103af3fe
SM
18052012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1806
663b1677
SM
1807 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1808 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1809
103af3fe
SM
1810 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1811 (imenu-add-to-menubar): Don't add a redundant index.
1812 (imenu-update-menubar): Handle a dynamically composed keymap.
1813
899cb7cb
KY
18142012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1815
1816 * mail/sendmail.el (mail-encode-header):
1817 Bind rfc2047-encode-encoded-words to nil.
1818
3809f91d
GM
18192012-03-13 Glenn Morris <rgm@gnu.org>
1820
1821 * calendar/calendar.el (calendar-string-spread):
1822 Handle non-unit-width characters a bit better. (Bug#10978)
1823
9e345a01
LL
18242012-03-13 Leo Liu <sdl.web@gmail.com>
1825
1826 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1827 directory and file as argument (Bug#10822).
1828
4a07df36
KS
18292012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1830
1831 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1832 For dynamically generated code, follow $PC.
1833 (gdb-disassembly-handler-custom): Handle no function name case.
1834
4aaa9356
TL
18352012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1836
1837 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1838 * emulation/ws-mode.el (ws-query-replace):
1839 * sort.el (sort-regexp-fields):
1840 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1841
225979da
SM
18422012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1843
1844 * dabbrev.el: Fix cycle completion order (bug#10963).
1845 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1846 (dabbrev-completion): Don't use an obarray; provide
1847 a cycle-sort-function.
1848
e2f1fdab
LL
18492012-03-12 Leo Liu <sdl.web@gmail.com>
1850
dc9924b8 1851 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1852 (kill-do-not-save-duplicates): Doc fix.
1853
b19490ed
SM
18542012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * dabbrev.el: Fix cycle completion (bug#10963).
1857 Use lexical binding and wrap to 80 columns.
1858 (dabbrev-completion): Delay computing the list of completions.
1859
4b05d722
KH
18602012-03-12 Kenichi Handa <handa@m17n.org>
1861
1862 * international/quail.el (quail-insert-kbd-layout): Surround each
1863 row by LRO and PDF instead of inserting many LRMs. Pad the left
1864 and right of each non-spacing marks. Insert invisible space
1865 between lower and upper characters to prevent composition.
1866
dbbc2e69
SM
18672012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * minibuffer.el (minibuffer-complete): Don't get confused when the
1870 function is run twice via different commands (bug#10958).
1871 (complete-with-action): Fix docstring.
1872
292112ed
CY
18732012-03-12 Chong Yidong <cyd@gnu.org>
1874
5d1ac394
CY
1875 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1876 (nxml-completion-at-point-function): New function.
1877 (nxml-mode): Use it.
1878 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1879
292112ed
CY
1880 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1881 Load generated autoloads file before byte compiling (Bug#10970).
1882 (package--make-autoloads-and-compile): New helper fun.
1883
4098f8f7
CS
18842012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1885
1886 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1887
8f754691
MA
18882012-03-11 Michael Albinus <michael.albinus@gmx.de>
1889
1890 * autorevert.el (auto-revert-handler): Ensure, that
1891 file-readable-p is applied only for local files or in
1892 auto-revert-tail-mode.
1893
e29ab36b
AS
18942012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1895
dbbc2e69
SM
1896 * server.el (server-eval-at): Handle non-tcp connections.
1897 Decode result string.
ad0bf5b6 1898
e29ab36b
AS
1899 * server.el (server-msg-size): New constant.
1900 (server-reply-print): New function.
1901 (server-eval-and-print): Use it.
1902 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1903 Handle -print-nonl.
1904
de5939ba
CS
19052012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1906
1907 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1908 (Bug#10987).
1909
0c93eabf
CY
19102012-03-11 Chong Yidong <cyd@gnu.org>
1911
397a688f
CY
1912 * simple.el (goto-line): Doc fix (Bug#9938).
1913
2cc775f9
CY
1914 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1915
0c93eabf
CY
1916 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1917 when finished (Bug#10963).
1918
c491fa41
MR
19192012-03-11 Martin Rudalics <rudalics@gmx.at>
1920
1921 * window.el (split-window-below): Fix bug in case where
1922 split-window-keep-point is nil (Bug#10971).
1923
300e8fa5
JL
19242012-03-11 Juri Linkov <juri@jurta.org>
1925
1926 * replace.el (replace-highlight): Set isearch-word to nil
1927 unconditionally. (Bug#10887)
1928
dbf6c5a1
EZ
19292012-03-10 Eli Zaretskii <eliz@gnu.org>
1930
1931 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1932 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1933 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1934 (mairix-widget-create-query): Add usage information about mairix
1935 search forms: negating words, searching for substrings, etc.
1936
b9e501de
JP
19372012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1938
1939 * international/fontset.el (font-encoding-alist): Add an entry for
1940 ksx1001 (Bug#5667).
1941
92795c91
RS
19422012-03-10 Richard Stallman <rms@gnu.org>
1943
1694e6c1
RS
1944 * mail/sendmail.el (mail-encode-header):
1945 Set rfc2047-encode-encoded-words.
1946
607e8555
RS
1947 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1948
de3bc99a
RS
1949 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1950 view buffer means not swapped.
1951 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1952 (rmail-write-region-annotate): Error if real text has disappeared.
1953
92795c91
RS
1954 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1955
699bd04e
CY
19562012-03-10 Chong Yidong <cyd@gnu.org>
1957
1958 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1959 * emulation/cua-base.el (cua--init-keymaps):
1960 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1961
570a1714
MR
19622012-03-10 Martin Rudalics <rudalics@gmx.at>
1963
dbbc2e69
SM
1964 * speedbar.el (speedbar-unhighlight-one-tag-line):
1965 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1966
82dcf4e4
CY
19672012-03-10 Chong Yidong <cyd@gnu.org>
1968
7a2c7ca7
CY
1969 * minibuffer.el (completion-in-region, completion-help-at-point):
1970 Give the completion field overlay a high priority (Bug#6830).
1971
82dcf4e4
CY
1972 * dired.el (dired-goto-file): Recognize absolute file name
1973 listings (Bug#7126).
1974 (dired-goto-file-1): New helper function.
1975 (dired-toggle-read-only): Inhibit warnings.
1976
052e28ac
MA
19772012-03-09 Michael Albinus <michael.albinus@gmx.de>
1978
75f1671a 1979 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1980 there are no properties.
1981
95d5e396
LL
19822012-03-09 Leo Liu <sdl.web@gmail.com>
1983
1984 * savehist.el (savehist-printable): Stricter check for string
1985 value (Bug#10937).
1986
3f018d6d
EZ
19872012-03-09 Eli Zaretskii <eliz@gnu.org>
1988
dbbc2e69
SM
1989 * mail/smtpmail.el (smtpmail-send-it):
1990 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1991 valid mbox format.
1992
f7fd3d79
GM
19932012-03-09 Glenn Morris <rgm@gnu.org>
1994
1995 * files.el (dir-locals-find-file):
1996 Don't check result is regular, readable.
1997 (dir-locals-read-from-file): Demote errors.
1998
6ff6e72f
EZ
19992012-03-08 Eli Zaretskii <eliz@gnu.org>
2000
dbbc2e69
SM
2001 * international/quail.el (quail-insert-kbd-layout):
2002 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2003 layout cell, to prevent their reordering by bidi display engine.
2004 For details, see the discussion in
2005 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2006
9cec7834
AM
20072012-03-08 Alan Mackenzie <acm@muc.de>
2008
2009 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2010 the starting position; make it extend the marked region when
2011 invoked repeatedly - all under appropriate circumstances.
2012 Fixes bugs #5525, #10906.
2013
9a40b8d4
GM
20142012-03-08 Glenn Morris <rgm@gnu.org>
2015
2016 * files.el (locate-dominating-file, dir-locals-find-file):
2017 Undo 2012-03-06 change.
2018
7a08ed35
EZ
20192012-03-07 Eli Zaretskii <eliz@gnu.org>
2020
dbbc2e69
SM
2021 * international/quail.el (quail-help):
2022 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2023 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2024 for the reason.
2025
5aca4f71 20262012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2027
2028 Avoid superfluous registering of signals. (Bug#10807)
2029
2030 * notifications.el (notifications-on-action-object)
2031 (notifications-on-close-object): New defvars.
2032 (notifications-on-action-signal, notifications-on-closed-signal):
2033 Unregister the signal if not needed any longer.
2034 (notifications-notify): Register `notifications-action-signal' or
2035 `notifications-closed-signal', if :on-action or :on-close has been
2036 passed as argument.
2037
78e8b10a
CY
20382012-03-07 Chong Yidong <cyd@gnu.org>
2039
2040 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2041 non-X platforms.
2042
69481eb8
GM
20432012-03-06 Glenn Morris <rgm@gnu.org>
2044
2045 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2046 (x-disown-selection-internal, x-get-selection-internal):
2047 Doc fix (add arglist signatures). (Bug#10783)
2048
133b8e11
KS
20492012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2050
2051 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2052 Handle breakpoints with no "type".
2053
99a83064
GM
20542012-03-06 Glenn Morris <rgm@gnu.org>
2055
2056 * files.el (locate-dominating-file): Add optional predicate argument.
2057 (dir-locals-find-file): Make use of above change.
2058
17798e78
TTN
20592012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2060
2061 * info.el (Info-insert-dir): Also try "dir.gz".
2062
eb182446
GM
20632012-03-06 Glenn Morris <rgm@gnu.org>
2064
8f2114ee
GM
2065 * files.el (dir-locals-find-file):
2066 Ignore non-readable or non-regular files. (Bug#10928)
2067
eb182446
GM
2068 * files.el (locate-dominating-file): Doc fix.
2069
24679323
AS
20702012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2071
2072 * calendar/calendar.el (calendar-set-mode-line):
2073 `getenv' returns a string. (Bug#10951)
2074
01d972a9
LL
20752012-03-05 Leo Liu <sdl.web@gmail.com>
2076
109aa8a9
LL
2077 * simple.el (backward-delete-char-untabify): Constrain point to
2078 field (Bug#10939).
2079
01d972a9
LL
2080 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2081
10607bea
CY
20822012-03-05 Chong Yidong <cyd@gnu.org>
2083
2084 * simple.el (count-words): If called from Lisp, return the word
2085 count, for symmetry with `count-lines'. Arglist changed.
2086 (count-words--message): Args changed. Consolidate counting code
2087 from count-words and count-words-region.
2088 (count-words-region): Caller changed.
2089 (count-lines-region): Make it an obsolete alias.
2090
5dd11cfe
TH
20912012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2092
2093 * saveplace.el (save-place-to-alist)
2094 (save-place-ignore-files-regexp): Allow value nil to disable this
2095 feature.
2096
c349f4e6
CY
20972012-03-04 Chong Yidong <cyd@gnu.org>
2098
2099 * faces.el (face-spec-reset-face): For the default face, reset the
2100 attributes to default values (Bug#10748).
2101
e627be4c
LMI
21022012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2103
2104 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2105 previous patch: Check `message-send-mail-function', and not the
2106 default function (bug#10897).
2107
ebeabff4
MA
21082012-03-04 Michael Albinus <michael.albinus@gmx.de>
2109
a41a6cf4
MA
2110 * notifications.el (notifications-on-action-signal)
2111 (notifications-on-closed-signal): Check for unique service name of
2112 incoming event. Fix error in removing entry.
ebeabff4 2113 (top): Register for signals with wildcard service name.
a41a6cf4 2114 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2115
c1ca42b4
CY
21162012-03-04 Chong Yidong <cyd@gnu.org>
2117
dc9924b8 2118 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2119
ea16568d
GM
21202012-03-04 Glenn Morris <rgm@gnu.org>
2121
2122 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2123 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2124 (expand-abbrev, define-abbrev-table): Doc fixes.
2125
fbae4637
LMI
21262012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2127
2128 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2129 `message-default-send-mail-function' and not `send-mail-function'
2130 when doing the prompting for `sendmail-query-once' before sending
2131 in Message buffers (bug#10897).
2132
a1e7225c
LMI
2133 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2134 This is inconsistent with all the other stream functions, which leave
2135 the setting up to the higher levels (if so wanted) (bug#10931).
2136
56d093a9
AM
21372012-03-02 Alan Mackenzie <acm@muc.de>
2138
2139 Depessimize the handling of very large macros.
2140
2141 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2142 (c-macro-cache-syntactic): New variables to implement a one
2143 element macro cache.
2144 (c-invalidate-macro-cache): New function.
2145 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2146 Adapt to use the new cache.
2147 (c-state-safe-place): Use better the cache of safe positions.
2148 (c-state-semi-nonlit-pos-cache)
2149 (c-state-semi-nonlit-pos-cache-limit):
2150 New variables for...
2151 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2152 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2153 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2154 Use c-state-semi-safe-place.
56d093a9 2155
dbbc2e69
SM
2156 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2157 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2158
817e5c3d
MA
21592012-03-02 Michael Albinus <michael.albinus@gmx.de>
2160
dbbc2e69
SM
2161 * jka-compr.el (jka-compr-call-process):
2162 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2163 not remote.
2164
a032a702
MA
21652012-03-01 Michael Albinus <michael.albinus@gmx.de>
2166
2167 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2168 access of FILE2, if FILE1 does not exist.
2169
99a54f21
MA
2170 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2171 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2172
2173 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2174 Add "PAGER=" to `process-environment'.
2175
f6561e1f
MM
21762012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2177
2178 * progmodes/sql.el: Bug fix
2179 (sql-get-login-ext): Save login values in globals.
2180 (sql-get-login): Use new version of `sql-get-login-ext'.
2181 (sql-interactive-mode): Set global `sql-connection' to nil.
2182 (sql-connect): Set global values for connection.
2183 (sql-product-interactive): Save global values as buffer local.
2184
2d44d9cc
LL
21852012-02-29 Leo Liu <sdl.web@gmail.com>
2186
2187 * abbrev.el (define-abbrevs): Reset sys to nil.
2188
96b49301 21892012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2190
bf7f9bc5
JB
2191 * files.el (file-equal-p): Rename from `files-equal-p'.
2192 Return nil when one or both files don't exist.
96b49301 2193 (file-subdir-of-p): Now only top directory must exists,
2194 return nil if it doesn't.
bf7f9bc5
JB
2195 (copy-directory): No need to test with `file-subdir-of-p' after
2196 creating dir.
2197 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2198 to `file-equal-p'.
96b49301 2199
44e97401
GM
22002012-02-28 Glenn Morris <rgm@gnu.org>
2201
2202 * shell.el (shell-mode):
2203 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2204 * play/landmark.el (landmark-font-lock-face-O):
2205 * play/handwrite.el (handwrite):
2206 * play/gomoku.el (gomoku-O):
2207 * net/browse-url.el (browse-url-browser-display):
2208 * international/mule.el (define-charset):
2209 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2210 * filesets.el (filesets-find-file-delay):
2211 * eshell/em-xtra.el (eshell-xtra):
2212 * eshell/em-unix.el (eshell-grep):
2213 * emulation/viper.el (viper-mode):
2214 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2215 * emacs-lisp/easymenu.el (easy-menu-define):
2216 * calendar/timeclock.el (timeclock-use-display-time):
2217 * bs.el (bs-mode):
2218 * bookmark.el (bookmark-save-flag):
2219 Doc fix (standardize possessive apostrophe usage).
2220
c98c6276
CY
22212012-02-27 Chong Yidong <cyd@gnu.org>
2222
bf7f9bc5
JB
2223 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2224 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2225
c98c6276
CY
2226 * font-lock.el (font-lock-specified-p): Rename from
2227 font-lock-spec-present. Callers changed.
2228
9c62cd04 22292012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2230
bf7f9bc5
JB
2231 * emacs-lisp/package.el (package-compute-transaction):
2232 Handle holding a package version to t in package-load-list.
8ac9e529 2233
530739c9
MA
22342012-02-26 Michael Albinus <michael.albinus@gmx.de>
2235
2236 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2237 (tramp-get-inode, tramp-get-device): Use cached values.
2238
487915d7
AM
22392012-02-26 Alan Mackenzie <acm@muc.de>
2240
2241 Check there is a font-lock specification before doing initial
2242 fontification.
2243
2244 * font-core.el (font-lock-mode): Move the conditional from
2245 :after-hook to font-lock-initial-fontify.
2246 (font-lock-default-function): Move the check for a specification
2247 to font-lock-spec-present.
2248
dc9924b8 2249 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2250 (font-lock-spec-present): New function.
2251
4fd96557
JB
22522012-02-26 Jim Blandy <jimb@red-bean.com>
2253
2254 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2255 (gdb-send): Apply it to the operand of the '-interpreter-exec
2256 console' command, so that we can pass arguments with (say) quotes
2257 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2258
9a4888c0
CY
22592012-02-26 Chong Yidong <cyd@gnu.org>
2260
07498861
CY
2261 * help-fns.el (describe-function-1): Clarify description of
2262 remapping (Bug#10844).
2263
9a4888c0
CY
2264 * files.el (files-equal-p): Doc fix.
2265 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2266 and quit the loop once a mismatch is found.
2267
ea8fb88d
JB
22682012-02-25 Juanma Barranquero <lekktu@gmail.com>
2269
2270 * bs.el (bs--show-with-configuration): Don't throw an error
2271 if the window cannot be split; otherwise, subsequent calls to
2272 bs-show fail, restoring a stale window config. (Bug#10882)
2273
525795c1
JD
22742012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2275
2276 * term/ns-win.el (global-map): Bind ns-drag-file to
2277 ns-find-file (Bug#5855, Bug#10050).
2278
f008086f
AS
22792012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2280
2281 * calendar/parse-time.el (parse-time-string): Allow extractor to
2282 return nil.
2283
a3fcfa99
MA
22842012-02-25 Michael Albinus <michael.albinus@gmx.de>
2285
91027d08
JB
2286 * net/tramp.el (tramp-file-name-for-operation):
2287 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2288
2289 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2290 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2291 Add COPY-CONTENTS argument.
a3fcfa99 2292
67b0de11
CY
22932012-02-25 Chong Yidong <cyd@gnu.org>
2294
2295 Add custom groups for VC backends, for consistency with vc-bzr.
2296
2297 * vc/vc-arch.el (vc-arch):
2298 * vc/vc-cvs.el (vc-cvs):
2299 * vc/vc-git.el (vc-git):
2300 * vc/vc-hg.el (vc-hg):
2301 * vc/vc-mtn.el (vc-mtn):
2302 * vc/vc-rcs.el (vc-rcs):
2303 * vc/vc-sccs.el (vc-sccs):
2304 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2305 All relevant defcustoms reassigned.
2306
3c9dfce6
CY
23072012-02-25 Chong Yidong <cyd@gnu.org>
2308
1339bf43
CY
2309 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2310
3c9dfce6
CY
2311 * term/x-win.el (x-initialize-window-system): Reduce default for
2312 x-selection-timeout to 5 seconds (Bug#8869).
2313
25b2e303 23142012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2315
ec70a47d
GM
2316 * files.el (files-equal-p, file-subdir-of-p): New functions.
2317 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2318 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2319 * dired-aux.el (dired-copy-file-recursive): Same.
2320 (dired-create-files): Modify destination when source is equal to
2321 dest when copying files.
53a46cd0 2322 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2323
914260cd
MA
23242012-02-24 Michael Albinus <michael.albinus@gmx.de>
2325
2326 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2327 (Bug#10874)
2328
2cb228f7
AM
23292012-02-23 Alan Mackenzie <acm@muc.de>
2330
2331 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2332 parameter "after-hook:" to allow the expansion to run code after
2333 the execution of the mode hooks.
2334
2335 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2336 from font-lock-mode-internal.
2cb228f7 2337
91027d08 2338 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2339 :after-hook.
2340
8f0fde21
SM
23412012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2342
3e88618b
SM
2343 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2344 (completion--cache-all-sorted-completions): New function.
2345 (completion-all-sorted-completions): Use it.
2346 (completion--do-completion, minibuffer-force-complete):
2347 Use it to re-instate the flush hook.
2348
8f0fde21
SM
2349 * icomplete.el (icomplete-completions): Replace last fix with a better
2350 one (bug#10850).
2351
8e911f6f
DG
23522012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2353
2354 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2355 when it might call us back infinitely (bug#10797).
2356
49fe4321
GM
23572012-02-23 Glenn Morris <rgm@gnu.org>
2358
2359 * minibuffer.el (completion-category-overrides): Doc fix.
2360
b291b572
SM
23612012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2362
2363 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2364 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2365
31a9ef2e
GM
23662012-02-23 Glenn Morris <rgm@gnu.org>
2367
5e6e6794 2368 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2369 (authors-obsolete-files-regexps, authors-ignored-files)
2370 (authors-ambiguous-files, authors-renamed-files-alist):
2371 Add more entries.
2372
0bd1e074
JL
23732012-02-23 Juri Linkov <juri@jurta.org>
2374
2375 * isearch.el (isearch-occur): Sync interactive spec with occur's
2376 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2377
b617673c
JL
2378 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2379
19e9789e
JL
23802012-02-22 Juri Linkov <juri@jurta.org>
2381
2382 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2383 (ucs-insert): Doc fix. Check for hex digits in the string.
2384 Don't display `nil' in the error message. (Bug#10857)
2385
f41ce09d
AM
23862012-02-22 Alan Mackenzie <acm@muc.de>
2387
7a71b18d 2388 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2389
ac2eceee
GM
23902012-02-22 Glenn Morris <rgm@gnu.org>
2391
2392 * ffap.el (ffap-c-path):
2393 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2394
abd1f678
CY
23952012-02-22 Chong Yidong <cyd@gnu.org>
2396
2397 * custom.el (load-theme): Doc fix.
2398
f25aef2e
GM
23992012-02-22 Glenn Morris <rgm@gnu.org>
2400
2401 * dired-x.el (dired-guess-shell-alist-default):
2402 Remove escape sequences from nroff output. (Bug#172)
2403
5f8dc2ca
GM
24042012-02-21 Glenn Morris <rgm@gnu.org>
2405
6ff86ec4
GM
2406 * vc/emerge.el (emerge-defvar-local):
2407 Set `permanent-local' property rather than unused `preserved'.
2408
be3223a3 2409 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2410 (picture-mode-map): Use it. (Bug#10860)
2411 (picture-mode): Doc fix.
2412
3fe58f4f
JB
24132012-02-21 Juanma Barranquero <lekktu@gmail.com>
2414
2415 * newcomment.el (uncomment-region-default): Remove unused binding.
2416
f9a998c3
GM
24172012-02-21 Glenn Morris <rgm@gnu.org>
2418
2419 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2420 (picture-self-insert, picture-tab-chars): Doc fix.
2421 (picture-mode-map): Fix C-a, C-e.
2422
c6029348
GM
24232012-02-20 Glenn Morris <rgm@gnu.org>
2424
2425 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2426
ab1ce9d7
LL
24272012-02-20 Leo Liu <sdl.web@gmail.com>
2428
2429 * icomplete.el (icomplete-completions): Check FROM arg before
2430 passing to substring (Bug#10850).
2431
0fd40f89
CY
24322012-02-19 Chong Yidong <cyd@gnu.org>
2433
2434 * comint.el: Require ansi-color.
2435 (comint-output-filter-functions): Add ansi-color-process-output.
2436
2437 * ansi-color.el: Don't set comint-output-filter-functions; it is
2438 now in the initial value defined in comint.el.
2439 (ansi-color-apply-face-function): New variable.
2440 (ansi-color-apply-on-region): Use it.
2441 (ansi-color-apply-overlay-face): New function.
2442
2443 * shell.el (shell): No need to require ansi-color.
2444 (shell-mode): Use ansi-color-apply-face-function to highlight
2445 color escapes using font-lock-face property (Bug#10835).
2446
20af2394
CY
24472012-02-19 Chong Yidong <cyd@gnu.org>
2448
2449 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2450 mode-line formats (Bug#10839).
2451
e23a3fbe
GM
24522012-02-18 Glenn Morris <rgm@gnu.org>
2453
b474519e
GM
2454 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2455
2456 * mail/undigest.el (unforward-rmail-message): Doc fix.
2457
e23a3fbe
GM
2458 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2459
57939ff4
EZ
24602012-02-18 Eli Zaretskii <eliz@gnu.org>
2461
2462 * international/characters.el (script-list): Sync with the latest
2463 Unicode Character Database.
2464
0c23686e
AS
24652012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2466
2467 * international/titdic-cnv.el: Remove duplicate coding tag.
2468 * language/cham.el: Likewise.
2469 * language/tai-viet.el: Likewise.
2470
6818b449
GM
24712012-02-18 Glenn Morris <rgm@gnu.org>
2472
2473 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2474 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2475 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2476 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2477 * calendar/holidays.el (holiday-bahai-holidays)
2478 (calendar-holidays, list-holidays):
2479 Use utf-8 Bahá'í in doc-strings, menus, etc.
2480
0311a3fc
TH
24812012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2482
2483 * saveplace.el (save-place-ignore-files-regexp): New variable
2484 allowing for excluding files from saving their location of point.
2485 The default value matches the temporary commit message editing
2486 files from Git, SVN, Bazaar, and Mercurial.
2487 (save-place-to-alist): Use it.
2488
eb864a71
LM
24892012-02-17 Lawrence Mitchell <wence@gmx.li>
2490 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * newcomment.el (uncomment-region-default): Don't leave extra space
2493 when an arg is provided (bug#8150).
2494
ee0ce425
TZ
24952012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2496
eb864a71 2497 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2498
95ddf442
GM
24992012-02-17 Glenn Morris <rgm@gnu.org>
2500
2501 * net/socks.el: Require network-stream. (Bug#10599)
2502
48dd1e39 25032012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2504
2505 * international/charprop.el:
2506 * international/uni-name.el:
2507 * international/uni-old-name.el:
2508 * international/uni-comment.el: Regenerate.
2509
d68cd087
GM
25102012-02-16 Glenn Morris <rgm@gnu.org>
2511
2512 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2513 Interactively in calendar buffer, give an error if not on a date.
2514
13932042
GM
25152012-02-15 Glenn Morris <rgm@gnu.org>
2516
2517 * shell.el (shell-delimiter-argument-list):
2518 Revert 2011-02-17 change. (Bug#8027)
2519
c3a70e2b
CY
25202012-02-15 Chong Yidong <cyd@gnu.org>
2521
60236b0d
CY
2522 * minibuffer.el (completion-at-point-functions): Doc fix.
2523
c3a70e2b
CY
2524 * custom.el (defcustom): Doc fix; note use of defvar.
2525
9f26dc24
GM
25262012-02-15 Glenn Morris <rgm@gnu.org>
2527
2528 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2529 Doc fixes.
2530
6546b134
GM
25312012-02-14 Glenn Morris <rgm@gnu.org>
2532
2533 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2534
d29b2b4c
LI
25352012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2536
2537 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2538 way the ports list is computed.
835bdcba
LI
2539 (smtpmail-query-smtp-server): Prompt the user for a port number if
2540 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2541
08dcdbc9
TZ
25422012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2543
2544 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2545
2605051a
GM
25462012-02-13 Glenn Morris <rgm@gnu.org>
2547
2548 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2549
7ee99f32
TZ
25502012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2551
2552 * net/gnutls.el (gnutls-trustfiles): New variable.
2553 (gnutls-negotiate): Use it.
2554
5f0af64f
LI
25552012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2556
2557 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2558 does its stuff if Gnus is running.
2559
c14fcc95
AM
25602012-02-13 Alan Mackenzie <acm@muc.de>
2561
2562 Fix a loop in c-set-fl-decl-start.
2563
7a71b18d 2564 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2565 c-backward-syntactic-ws actually moves backwards.
2566
142b4d90
LL
25672012-02-13 Leo Liu <sdl.web@gmail.com>
2568
2569 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2570 beginning so that all \C-o chars are removed.
2571
fa9958a6
TZ
25722012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2573
dc9924b8 2574 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2575
0bc5886a
AM
25762012-02-12 Alan Mackenzie <acm@muc.de>
2577
2578 Fix infinite loop with long macros.
4d6769e1 2579 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2580
d4bd55e7
CY
25812012-02-12 Chong Yidong <cyd@gnu.org>
2582
2583 * window.el (display-buffer): Doc fix (Bug#10785).
2584
66f3fe22
GM
25852012-02-12 Glenn Morris <rgm@gnu.org>
2586
bd7da63e
GM
2587 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2588 (x-disown-selection-internal, x-get-selection-internal):
2589 Sync docs with the xselect.c versions.
2590
66f3fe22
GM
2591 * allout-widgets.el: Add missing license notice.
2592
3e0d2fa7
GM
25932012-02-11 Glenn Morris <rgm@gnu.org>
2594
cfecdf09
GM
2595 * select.el (x-get-selection-internal, x-own-selection-internal)
2596 (x-disown-selection-internal):
2597 * x-dnd.el (x-get-selection-internal): Update declarations.
2598
6d216d7f
GM
2599 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2600
2bed3f04
GM
2601 * window.el (window-sides-slots):
2602 * tool-bar.el (tool-bar-position):
2603 * term/xterm.el (xterm-extra-capabilities):
2604 * ses.el (ses-self-reference-early-detection):
2605 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2606 (verilog-auto-wire-type)
2607 (verilog-auto-delete-trailing-whitespace)
2608 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2609 (verilog-auto-tieoff-declaration):
2610 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2611 (sql-oracle-statement-starters, sql-oracle-scan-on):
2612 * progmodes/prolog.el (prolog-align-comments-flag)
2613 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2614 (prolog-left-indent-regexp, prolog-paren-indent-p)
2615 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2616 (prolog-types, prolog-mode-specificators)
2617 (prolog-determinism-specificators, prolog-directives)
2618 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2619 (prolog-electric-dot-flag)
2620 (prolog-electric-dot-full-predicate-template)
2621 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2622 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2623 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2624 (prolog-program-switches, prolog-prompt-regexp)
2625 (prolog-debug-on-string, prolog-debug-off-string)
2626 (prolog-trace-on-string, prolog-trace-off-string)
2627 (prolog-zip-on-string, prolog-zip-off-string)
2628 (prolog-use-standard-consult-compile-method-flag)
2629 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2630 (prolog-imenu-max-lines, prolog-info-predicate-index)
2631 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2632 (prolog-char-quote-workaround):
2633 * progmodes/cc-vars.el (c-defun-tactic):
2634 * net/tramp.el (tramp-encoding-command-interactive)
2635 (tramp-local-end-of-line):
2636 * net/soap-client.el (soap-client):
2637 * net/netrc.el (netrc-file):
2638 * net/gnutls.el (gnutls):
2639 * minibuffer.el (completion-category-overrides)
2640 (completion-cycle-threshold)
2641 (completion-pcm-complete-word-inserts-delimiters):
2642 * man.el (Man-name-local-regexp):
2643 * mail/feedmail.el (feedmail-display-full-frame):
2644 * international/characters.el (glyphless-char-display-control):
2645 * eshell/em-ls.el (eshell-ls-date-format):
2646 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2647 (lisp-lambda-list-keyword-parameter-indentation)
2648 (lisp-lambda-list-keyword-parameter-alignment):
2649 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2650 * dired-x.el (dired-omit-verbose):
2651 * cus-theme.el (custom-theme-allow-multiple-selections):
2652 * calc/calc.el (calc-highlight-selections-with-faces)
2653 (calc-lu-field-reference, calc-lu-power-reference)
2654 (calc-note-threshold):
2655 * battery.el (battery-mode-line-limit):
2656 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2657 (archive-7z-update):
2658 * allout.el (allout-prefixed-keybindings)
2659 (allout-unprefixed-keybindings)
2660 (allout-inhibit-auto-fill-on-headline)
2661 (allout-flattened-numbering-abbreviation):
2662 * allout-widgets.el (allout-widgets-auto-activation)
2663 (allout-widgets-icons-dark-subdir)
2664 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2665 (allout-widgets-theme-dark-background)
2666 (allout-widgets-theme-light-background)
2667 (allout-widgets-item-image-properties-emacs)
2668 (allout-widgets-item-image-properties-xemacs)
2669 (allout-widgets-run-unit-tests-on-load)
2670 (allout-widgets-time-decoration-activity)
2671 (allout-widgets-hook-error-post-time)
2672 (allout-widgets-track-decoration):
2673 Add missing :version tags to new defcustoms and defgroups.
2674
5fec1b8e
GM
2675 * progmodes/sql.el (sql-ansi-statement-starters)
2676 (sql-oracle-statement-starters): Add custom type.
2677
3e0d2fa7
GM
2678 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2679 (prolog-system-version): Give it a type.
2680
90b671e2
EZ
26812012-02-11 Eli Zaretskii <eliz@gnu.org>
2682
2683 * term/pc-win.el (x-select-text, x-selection-owner-p)
2684 (x-own-selection-internal, x-disown-selection-internal)
2685 (x-get-selection-internal): Sync doc strings and argument lists
2686 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2687
5eac0c02
LL
26882012-02-11 Leo Liu <sdl.web@gmail.com>
2689
2690 * progmodes/python.el (python-end-of-statement): Fix infinite
2691 loop. (Bug#10788)
2692
f82cb659
GM
26932012-02-10 Glenn Morris <rgm@gnu.org>
2694
2695 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2696 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2697
cc26d239
LI
26982012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2699
2700 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2701 about SMTP before checking the From header.
2702
91027d08 2703 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2704 into own function for reuse by emacsbug.el.
2705
1be3ca5a
LL
27062012-02-10 Leo Liu <sdl.web@gmail.com>
2707
2708 * subr.el (condition-case-unless-debug): Rename from
2709 condition-case-no-debug. All callers changed.
2710 (with-demoted-errors): Fix caller.
2711
2712 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2713 * nxml/rng-valid.el (rng-do-some-validation):
2714 * emacs-lisp/package.el (package-refresh-contents)
2715 (package-menu-execute):
2716 * desktop.el (desktop-create-buffer):
91027d08 2717 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2718
b011fbfe
GM
27192012-02-10 Glenn Morris <rgm@gnu.org>
2720
b2096d72
GM
2721 * textmodes/bibtex.el:
2722 Add missing :version tags for new/changed defcustoms.
2723
b011fbfe
GM
2724 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2725
4c7e65bf
LI
27262012-02-09 Lars Ingebrigtsen <larsi@rusty>
2727
2728 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2729 (smtpmail-via-smtp): Use it, or fall back on the From address.
2730 (smtpmail-send-it): Ditto.
2731
f3934f6f
SM
27322012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2733
2734 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2735 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2736 (byte-compile-tmp-var): New const.
2737 (byte-compile-defvar): Use it to minimize .elc size.
2738 Just use `defvar' rather than simulate it (bug#10761).
2739
a075a2c5
GM
27402012-02-09 Glenn Morris <rgm@gnu.org>
2741
cf3aa21b
GM
2742 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2743
354998cd
GM
2744 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2745 Add :version tags.
2746
dc9924b8
SM
2747 * progmodes/compile.el (compilation-error-screen-columns)
2748 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2749
dab3703d
GM
2750 * vc/log-view.el (log-view-toggle-entry-display):
2751 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2752
3f88cd72
GM
2753 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2754 (report-emacs-bug-can-use-xdg-email):
2755 (report-emacs-bug-insert-to-mailer): Doc fixes.
2756 (report-emacs-bug): Message fix.
2757
d95b247d
GM
2758 * net/browse-url.el (browse-url-can-use-xdg-open)
2759 (browse-url-xdg-open): Doc fixes.
2760
a075a2c5
GM
2761 * electric.el (electric-indent-mode, electric-pair-mode)
2762 (electric-layout-rules, electric-layout-mode): Doc fixes.
2763 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2764
ffb6157e
MR
27652012-02-08 Martin Rudalics <rudalics@gmx.at>
2766
2767 * server.el (server-unselect-display): Don't inadvertently kill
2768 the current buffer. (Bug#10729)
2769
e1ac4066
GM
27702012-02-08 Glenn Morris <rgm@gnu.org>
2771
34e8a2da
GM
2772 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2773 (sql-list-table): Doc fixes.
2774
b4ac6e8c
GM
2775 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2776 Comment out (does nothing).
2777
e1ac4066
GM
2778 * completion.el (dynamic-completion-mode):
2779 * dirtrack.el (dirtrack-debug-mode):
2780 * electric.el (electric-layout-mode):
2781 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2782 * face-remap.el (text-scale-mode, buffer-face-mode):
2783 * iimage.el (iimage-mode):
2784 * image-mode.el (image-transform-mode):
2785 * minibuffer.el (completion-in-region-mode):
2786 * scroll-lock.el (scroll-lock-mode):
2787 * simple.el (next-error-follow-minor-mode):
2788 * tar-mode.el (tar-subfile-mode):
2789 * tooltip.el (tooltip-mode):
2790 * vcursor.el (vcursor-use-vcursor-map):
2791 * wid-browse.el (widget-minor-mode):
2792 * emulation/tpu-edt.el (tpu-edt-mode):
2793 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2794 * international/iso-ascii.el (iso-ascii-mode):
2795 * language/thai-util.el (thai-word-mode):
2796 * mail/supercite.el (sc-minor-mode):
2797 * net/goto-addr.el (goto-address-mode):
2798 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2799 * progmodes/cwarn.el (cwarn-mode):
2800 * progmodes/flymake.el (flymake-mode):
2801 * progmodes/glasses.el (glasses-mode):
2802 * progmodes/hideshow.el (hs-minor-mode):
2803 * progmodes/pascal.el (pascal-outline-mode):
2804 * textmodes/enriched.el (enriched-mode):
2805 * vc/smerge-mode.el (smerge-mode):
2806 Doc fixes (minor mode argument).
2807
5e0d957f
EZ
28082012-02-07 Eli Zaretskii <eliz@gnu.org>
2809
2810 * ls-lisp.el (ls-lisp-sanitize): New function.
2811 (ls-lisp-insert-directory): Use it to fix or remove any elements
2812 in file-alist with missing attributes. (Bug#4673)
2813
98d7371e
AM
28142012-02-07 Alan Mackenzie <acm@muc.de>
2815
2816 Fix spurious recognition of c-in-knr-argdecl.
2817
2818 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2819 putative K&R region.
2820
667ced3a
AM
28212012-02-07 Alan Mackenzie <acm@muc.de>
2822
eb864a71
LM
2823 * progmodes/cc-engine.el (c-forward-objc-directive):
2824 Prevent looping in "#pragma mark @implementation".
667ced3a 2825
5b77774d
MA
28262012-02-07 Michael Albinus <michael.albinus@gmx.de>
2827
2828 * notifications.el (notifications-on-closed-signal): Make `reason'
2829 optional. (Bug#10744)
2830
af008560
GM
28312012-02-07 Glenn Morris <rgm@gnu.org>
2832
60d47423
GM
2833 * emacs-lisp/easy-mmode.el (define-minor-mode):
2834 Doc fixes for the macro and the mode it defines.
2835
dd605cc4
GM
2836 * image.el (imagemagick-types-inhibit): Doc fix.
2837
af008560
GM
2838 * cus-start.el (imagemagick-render-type): Add it.
2839
5cc59a37
LI
28402012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2841
4d6769e1
JB
2842 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2843 Set the default at load time, too, so that `font-lock-fontify-buffer'
2844 can be called without setting up the entire mode first. This fixes
2845 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2846
9a6dd747
CY
28472012-02-06 Chong Yidong <cyd@gnu.org>
2848
2d16b285
CY
2849 * simple.el (list-processes--refresh): Delete exited processes
2850 (Bug#8094).
2851
171e9b6e
CY
2852 * comint.el (comint-next-prompt): next-single-char-property-change
2853 and prev-single-char-property-change never return nil (Bug#8657).
2854
9a6dd747
CY
2855 * custom.el (defcustom): Doc fix (Bug#9711).
2856
aa4589a7
CY
28572012-02-05 Chong Yidong <cyd@gnu.org>
2858
5c2a252f
CY
2859 * cus-edit.el (custom-variable-reset-backup): Quote the value
2860 before storing it in the customized-value property (Bug#6712).
4aab9006 2861 (custom-display): Add a customization type tag.
983b9602 2862 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2863
aa4589a7
CY
2864 * wid-edit.el (widget-field-value-get): New optional arg to
2865 suppress trailing whitespace truncation.
2866 (character): Use it (Bug#2689).
2867
1ff980ae
AS
28682012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2869
2870 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2871 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2872
03988c98
CY
28732012-02-05 Chong Yidong <cyd@gnu.org>
2874
eeb6cc88
CY
2875 * cus-edit.el (custom-variable-value-create): For mismatched
2876 types, show the current value (Bug#7600).
2877
03988c98
CY
2878 * custom.el (defcustom): Doc fix.
2879
f8cdeef0
GM
28802012-02-05 Glenn Morris <rgm@gnu.org>
2881
2882 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2883
0696d255
JB
28842012-02-05 Juanma Barranquero <lekktu@gmail.com>
2885
2886 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2887 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2888 (pp-last-sexp): Use `looking-at-p'.
2889
34c99998
GM
28902012-02-04 Glenn Morris <rgm@gnu.org>
2891
8f05da42
GM
2892 * files.el (revert-buffer):
2893 Doc fix (mention revert-buffer-in-progress-p).
2894
f160676e
GM
2895 * emacs-lisp/ert-x.el (ert-simulate-command):
2896 Check deferred-action-list (which is obsolete) is bound.
2897
c7291ad9
GM
2898 * subr.el (with-wrapper-hook): Doc fixes.
2899
34c99998
GM
2900 * simple.el (filter-buffer-substring-functions)
2901 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2902
6283a7d3
LL
29032012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2904
2905 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2906 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2907
e96e3013
LL
29082012-02-04 Leo Liu <sdl.web@gmail.com>
2909
2910 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2911
8ded50f2
GM
29122012-02-04 Glenn Morris <rgm@gnu.org>
2913
82ff1d13
GM
2914 * image.el (image-extension-data): Add obsolete alias.
2915
987a0a16
GM
2916 * isearch.el (isearch-update): Doc fix.
2917
ea32ef46
GM
2918 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2919
8ded50f2
GM
2920 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2921
eea14f31
GM
29222012-02-03 Glenn Morris <rgm@gnu.org>
2923
2924 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2925 (image-animate-timeout): Doc fix.
2926
2927 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2928
12f381b7
GM
29292012-02-02 Glenn Morris <rgm@gnu.org>
2930
953cebf5
GM
2931 * server.el (server-auth-dir): Doc fix.
2932 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2933
12f381b7
GM
2934 * subr.el (run-mode-hooks): Doc fix.
2935
953a8c3b
JL
29362012-02-02 Juri Linkov <juri@jurta.org>
2937
2938 * image-mode.el (image-toggle-display-image): Remove tautological
2939 `major-mode' from the `derived-mode-p' test.
2940
c5d3843c
KH
29412012-02-02 Kenichi Handa <handa@m17n.org>
2942
9f6e692e 2943 * composite.el (compose-region): Cancel previous change.
c5d3843c 2944
159462d4 29452012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2946
2947 * composite.el (compose-region, compose-string): Signal error for
2948 a null string component (Bug#6988).
2949
9f562668
CY
29502012-02-01 Chong Yidong <cyd@gnu.org>
2951
e2cef717
CY
2952 * view.el (view-buffer-other-window, view-buffer-other-frame):
2953 Handle special modes like view-buffer (Bug#10650).
2954 (view-buffer): Simplify.
2955
9f562668
CY
2956 * frame.el (set-frame-font): Tweak meaning of third argument.
2957
9f6e692e
JB
2958 * dynamic-setting.el (font-setting-change-default-font):
2959 Use set-frame-font (Bug#9982).
9f562668 2960
781acb9f
GM
29612012-02-01 Glenn Morris <rgm@gnu.org>
2962
6035be52
GM
2963 * progmodes/compile.el (compilation-internal-error-properties):
2964 Respect compilation-first-column in the "*compilation*" buffer.
2965
781acb9f
GM
2966 * emacs-lisp/easy-mmode.el (define-minor-mode):
2967 Relax :variable's test for a named function.
2968
abbceb00
AM
29692012-01-31 Alan Mackenzie <acm@muc.de>
2970
2971 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2972 off by one error.
2973
fce3fdeb
CY
29742012-01-31 Chong Yidong <cyd@gnu.org>
2975
2976 * frame.el (set-frame-font): New arg ALL-FRAMES.
2977
2978 * menu-bar.el (menu-set-font): Use set-frame-font.
2979
2980 * faces.el (face-spec-reset-face): Don't apply unspecified
2981 attribute values to the default face.
2982
47893581
JB
29832012-01-31 Juanma Barranquero <lekktu@gmail.com>
2984
2985 * progmodes/cwarn.el (cwarn): Remove dead link.
2986 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2987 Remove * from defcustom docstrings.
2988 (turn-on-cwarn-mode): Make obsolete.
2989 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2990 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2991
e58e988a
GM
29922012-01-31 Glenn Morris <rgm@gnu.org>
2993
60dc2671 2994 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2995 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2996 Allow named functions to be used as the cdr of :variable.
e58e988a 2997
7a3f511d
GM
29982012-01-30 Glenn Morris <rgm@gnu.org>
2999
3000 * emacs-lisp/authors.el (authors-fixed-entries):
3001 Remove reference to deleted file rnewspost.el.
3002
cb882333
JB
30032012-01-29 Juanma Barranquero <lekktu@gmail.com>
3004
3005 * window.el (window-with-parameter): Remove unused variable `windows'.
3006 (window--side-check): Remove unused variable `code'.
3007 (window--resize-siblings): Remove unused variable `first'.
3008 (adjust-window-trailing-edge): Remove unused variable `failed'.
3009 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3010 Use `let', not `let*'.
3011 (balance-windows-2): Remove unused variable `found'.
3012 (window--state-put-2): Remove unused variable `splits'.
3013 (window-state-put): Remove unused variable `selected'.
3014 (same-window-p): Use `string-match-p'.
3015 (display-buffer-assq-regexp): Remove unused variable `value'.
3016 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3017 Mark argument ALIST as ignored.
3018 (pop-to-buffer): Remove unused variable `old-window'.
3019
907201af
EZ
30202012-01-29 Eli Zaretskii <eliz@gnu.org>
3021
3022 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3023 and .lzma compressed files.
3024
ea162670
CY
30252012-01-29 Chong Yidong <cyd@gnu.org>
3026
5b95ee8a
CY
3027 * frame.el (window-system-default-frame-alist): Doc fix.
3028
ea162670
CY
3029 * dynamic-setting.el (font-setting-change-default-font): Don't
3030 change the default face if SET-FONT argument is non-nil (Bug#9982).
3031
d6e6f4b1
SB
30322012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3033
3034 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3035
0f29fa41 30362012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3037
3038 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3039 breakpoints in files outside current directory (Bug#6098).
3040
db174434
CY
30412012-01-29 Chong Yidong <cyd@gnu.org>
3042
6b25e4e2
SE
3043 * progmodes/python.el: Require ansi-color at top-level.
3044
6df6ae42
JB
3045 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3046 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3047 (lisp-mode-abbrev-table): Add doc.
3048 (lisp-mode-variables): Don't set local-abbrev-table.
3049 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3050
e70ee681
RW
30512012-01-28 Roland Winkler <winkler@gnu.org>
3052
3053 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3054
ace88aa2
RW
30552012-01-28 Roland Winkler <winkler@gnu.org>
3056
3057 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3058 (bibtex-set-dialect): Use it. Either set global values of
3059 dialect-dependent variables or bind these variables buffer-locally
3060 (Bug#10254).
3061 (bibtex-mode): Call bibtex-set-dialect via
3062 hack-local-variables-hook.
eb864a71
LM
3063 (bibtex-dialect): Update docstring.
3064 Add safe-local-variable predicate.
ace88aa2
RW
3065 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3066 bibtex-set-dialect.
3067 (bibtex-mode-map): Define menu for each dialect.
3068 (bibtex-entry): Fix docstring.
3069
93376c5b
CY
30702012-01-28 Chong Yidong <cyd@gnu.org>
3071
3072 * eshell/esh-arg.el (eshell-quote-argument): New function.
3073
3074 * eshell/esh-ext.el (eshell-invoke-batch-file):
3075 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3076 first arg to eshell-parse-command (Bug#10523).
3077
4372494f
DA
30782012-01-28 Drew Adams <drew.adams@oracle.com>
3079
3080 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3081 `default-directory' is non-nil.
3082
4d4ec1f8
EZ
30832012-01-28 Eli Zaretskii <eliz@gnu.org>
3084
3085 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3086 line that displays system-configuration-options. (Bug#9924)
3087
7c188927
DA
30882012-01-28 Drew Adams <drew.adams@oracle.com>
3089
3090 * descr-text.el (describe-char): Show information about POS, in
3091 addition to information about the character at POS. Improve and
3092 update the doc string. Change "code point" to "code point in
3093 charset", to avoid confusion with the character's Unicode code
3094 point shown above that. (Bug#10129)
3095
e0da685a
EZ
30962012-01-28 Eli Zaretskii <eliz@gnu.org>
3097
3098 * descr-text.el (describe-char): Show the raw character, not only
3099 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3100 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3101 for the reasons.
3102
70550acf
PH
31032012-01-28 Phil Hagelberg <phil@hagelb.org>
3104
eb864a71
LM
3105 * emacs-lisp/package.el (package-install):
3106 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3107
0ce8e868
CY
31082012-01-28 Chong Yidong <cyd@gnu.org>
3109
cb882333
JB
3110 * emacs-lisp/package.el (package-maybe-load-descriptor):
3111 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3112 (package-maybe-load-descriptor): Use it.
3113 (package-download-transaction): Fully load required packages
3114 inside the loop, so that `require' calls work (Bug#10593).
3115 (package-install): No need to call package-initialize now.
3116
2e7f3bea
CY
31172012-01-28 Chong Yidong <cyd@gnu.org>
3118
6e9bad14
CY
3119 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3120
f823b8ca
CY
3121 * tooltip.el (tooltip-mode): Doc fix.
3122 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3123
2680c309
CY
3124 * frame.el (set-cursor-color): Doc fix (Bug#352).
3125
d7a9e63b
CY
3126 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3127 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3128
2e7f3bea
CY
3129 * cus-edit.el (custom-buffer-create-internal): Fix search button
3130 action (Bug#10542).
2ae01800 3131 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3132
fc4f7a23
EW
31332012-01-27 Eduard Wiebe <usenet@pusto.de>
3134
3135 * dired.el (dired-mark-files-regexp):
3136 Include any subdirectory components. (Bug#10445)
3137
7dd37071
ML
31382012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3139
3140 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3141 Handle [host]:port syntax. (Bug#10533)
3142
a268160b
AH
31432012-01-27 Alex Harsanyi <harsanyi@mac.com>
3144
3145 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3146
e43273ef
GM
31472012-01-26 Glenn Morris <rgm@gnu.org>
3148
3149 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3150 * term.el (term-raw-escape-map): Use Control-X-prefix.
3151 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3152
1edf595d
MR
31532012-01-25 Martin Rudalics <rudalics@gmx.at>
3154
3155 * window.el (window-state-get, window--state-get-1): Don't deal
3156 with fixed-sizeness of windows. Simplify code.
3157
fa8eafef
JC
31582012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3159
6df6ae42
JB
3160 * window.el (window--state-get-1, window--state-put-2):
3161 Don't save and restore the mark.
fa8eafef 3162
0b21c100
CY
31632012-01-25 Chong Yidong <cyd@gnu.org>
3164
3165 * custom.el (custom-variable-p): Doc fix.
3166
5ae1a6c8
GM
31672012-01-25 Glenn Morris <rgm@gnu.org>
3168
40047858
GM
3169 * dired.el (dired-goto-file): Handle some of the more common
3170 characters that `ls -b' escapes. (Bug#10596)
3171
5ddce96c
GM
3172 * progmodes/compile.el (compilation-next-error-function):
3173 Respect compilation-first-column in the "*compilation*" buffer.
3174 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3175
5ae1a6c8
GM
3176 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3177
b559f1a9
GM
31782012-01-24 Glenn Morris <rgm@gnu.org>
3179
3180 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3181
6725d21a
JD
31822012-01-24 Julien Danjou <julien@danjou.info>
3183
3184 * color.el (color-rgb-to-hsl): Fix value computing.
3185 (color-hue-to-rgb): New function.
3186 (color-hsl-to-rgb): New function.
3187 (color-clamp, color-saturate-hsl, color-saturate-name)
3188 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3189 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3190
70df4bbe
GM
31912012-01-24 Glenn Morris <rgm@gnu.org>
3192
3193 * vc/vc-rcs.el (vc-rcs-create-tag):
3194 * vc/vc-sccs.el (vc-sccs-create-tag):
3195 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3196
802a2ae2
ML
31972012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3198
3199 * eshell/esh-util.el (eshell-read-hosts-file):
3200 Skip comment lines. (Bug#10549)
3201
d7128bb1
ML
3202 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3203
d1a5c3b4
JB
32042012-01-23 Juanma Barranquero <lekktu@gmail.com>
3205
2724d9c7
JB
3206 * subr.el (display-delayed-warnings): Doc fix.
3207 (collapse-delayed-warnings): New function to collapse identical
3208 adjacent warnings.
3209 (delayed-warnings-hook): Add it.
d1a5c3b4 3210
a5509865
MA
32112012-01-22 Michael Albinus <michael.albinus@gmx.de>
3212
3213 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3214
3215 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3216 properties, when "login-as" is set.
3217
3218 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3219 (tramp-default-user-alist): Don't add "pscp".
3220 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3221 property "login-as", if set. (Bug#10530)
3222
cc6d5805
MA
32232012-01-21 Michael Albinus <michael.albinus@gmx.de>
3224
3225 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3226 "plink1" and "psftp". (Bug#10530)
3227
32282012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3229
3230 * international/mule-cmds.el (prefer-coding-system): Show a
3231 warning message if the default value of file-name-coding-system
3232 was not changed.
3233
f0960428
JC
32342012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3235
cb882333
JB
3236 * windmove.el (windmove-reference-loc):
3237 Fix windmove-reference-loc miscalculation.
f0960428 3238
dd6f2a63
JB
32392012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3240
3241 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3242 default unit.
3243
7b447e9b
GM
32442012-01-21 Glenn Morris <rgm@gnu.org>
3245
117a9ea1
GM
3246 * international/mule.el (auto-coding-alist): Add .tbz.
3247
7b447e9b
GM
3248 * files.el (local-enable-local-variables): Doc fix.
3249 (inhibit-local-variables-regexps): Rename from
3250 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3251 Doc fix. Add some extensions from auto-coding-alist.
3252 (inhibit-local-variables-suffixes):
3253 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3254 (inhibit-local-variables-p):
3255 New function, extracted from set-auto-mode-1.
3256 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3257 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3258 (hack-local-variables): Doc fix. Make the mode-only case
3259 respect enable-local-variables and friends.
3260 Respect inhibit-local-variables-regexps for file-locals, but
3261 not for directory-locals.
3262 (set-visited-file-name):
3263 Take account of inhibit-local-variables-regexps.
3264 Whether it applies may change as the file name is changed.
3265 * jka-cmpr-hook.el (jka-compr-install):
3266 * jka-compr.el (jka-compr-uninstall):
3267 Update for inhibit-first-line-modes-suffixes name change.
3268
dd6e3cdd
MR
32692012-01-20 Martin Rudalics <rudalics@gmx.at>
3270
3271 * help-macro.el (make-help-screen): Temporarily restore original
3272 binding for minor-mode-map-alist (Bug#10454).
3273
0d0deb38
JD
32742012-01-19 Julien Danjou <julien@danjou.info>
3275
3276 * color.el (color-name-to-rgb): Use the white color to find the max
3277 color component value and return correctly computed values.
3278 (color-name-to-rgb): Add missing float conversion for max value.
3279
34a02f46
MR
32802012-01-19 Martin Rudalics <rudalics@gmx.at>
3281
3282 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3283 special state value for window-persistent-parameters.
3284 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3285 (window--state-put-2): Reset all window parameters to nil before
3286 assigning values of persistent parameters.
3287
606c44c4
AM
32882012-01-18 Alan Mackenzie <acm@muc.de>
3289
3290 Eliminate sluggishness and hangs in fontification of "semicolon
3291 deserts".
3292
cb882333
JB
3293 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3294 Change value 10000 -> 3000.
606c44c4
AM
3295 (c-state-safe-place): Reformulate so it doesn't stack up an
3296 infinite number of wrong entries in c-state-nonlit-pos-cache.
3297 (c-determine-limit-get-base, c-determine-limit): New functions to
3298 determine backward search limits disregarding literals.
3299 (c-find-decl-spots): Amend commenting.
3300 (c-cheap-inside-bracelist-p): New function which detects "={".
3301
3302 * progmodes/cc-fonts.el
3303 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3304 backward search.
3305 (c-font-lock-declarations): Fix an occurrence of point being
3306 undefined. Check additionally for point being in a bracelist or
3307 near a macro invocation without a semicolon so as to avoid a
3308 fruitless time consuming search for a declarator. Give a more
3309 precise search limit for declarators using the new
3310 c-determine-limit.
3311
f3860cea
GM
33122012-01-18 Glenn Morris <rgm@gnu.org>
3313
3314 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3315 (set-auto-mode): Doc fixes.
3316
1db03b16
GM
33172012-01-17 Glenn Morris <rgm@gnu.org>
3318
0e6038be
GM
3319 * isearch.el (search-nonincremental-instead): Fix doc typo.
3320
1db03b16
GM
3321 * dired.el (dired-insert-directory): Handle newlines in directory name.
3322 (dired-build-subdir-alist): Unescape newlines in directory name.
3323
4cb0aa75
MA
33242012-01-17 Michael Albinus <michael.albinus@gmx.de>
3325
3326 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3327 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3328 (tramp-action-terminal): Use it. (Bug#10530)
3329
1d00653d
SM
33302012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3333
6a6ee00d
MR
33342012-01-16 Martin Rudalics <rudalics@gmx.at>
3335
3336 * window.el (window-state-ignored-parameters): Remove variable.
3337 (window--state-get-1): Rename argument MARKERS to IGNORE.
3338 Handle persistent window parameters. Make copy of clone-of
3339 parameter only if requested. (Bug#10348)
3340 (window--state-put-2): Install a window parameter only if it has
3341 a non-nil value or an existing parameter shall be overwritten.
3342
97912def
MA
33432012-01-15 Michael Albinus <michael.albinus@gmx.de>
3344
3345 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3346
688070a5
EZ
33472012-01-14 Eli Zaretskii <eliz@gnu.org>
3348
3349 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3350 don't pass the (nil) value of `upnode' to string-match.
3351
301afadc
CY
33522012-01-14 Chong Yidong <cyd@gnu.org>
3353
3354 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3355 Fix values recognized by the cursorBlink resource.
301afadc 3356
9e5788aa
PE
33572012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3358
3359 * epg.el (epg--make-temp-file): Avoid permission race condition
3360 when running on old Emacs versions (bug#10403).
3361
3cdb7f5a
GM
33622012-01-14 Glenn Morris <rgm@gnu.org>
3363
3364 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3365
8c82b1b4
AM
33662012-01-13 Alan Mackenzie <acm@muc.de>
3367
3368 Fix filling for when filladapt mode is enabled.
3369
3370 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3371 c-mask-paragraph, pass in `fill-paragraph' rather than
3372 `fill-region-as-paragraph'. (This is a reversion of a previous
3373 change.)
eb864a71
LM
3374 * progmodes/cc-mode.el (c-basic-common-init):
3375 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3376
e517eda4
GM
33772012-01-13 Glenn Morris <rgm@gnu.org>
3378
1498536e
GM
3379 * dired.el (dired-switches-escape-p): New function.
3380 (dired-insert-directory): Use dired-switches-escape-p.
3381 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3382
e517eda4
GM
3383 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3384
328f984d
GM
33852012-01-12 Glenn Morris <rgm@gnu.org>
3386
3387 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3388 changes in adaptive-fill-regexp. (Bug#10276)
3389
2cc769a8
AM
33902012-01-11 Alan Mackenzie <acm@muc.de>
3391
3392 Fix Emacs bug #10463 - put `widen's around the critical spots.
3393
1d00653d 3394 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3395 widen around each invocation of c-state-pp-to-literal. Remove an
3396 unused let variable.
3397
e52c37fa
GM
33982012-01-11 Glenn Morris <rgm@gnu.org>
3399
3400 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3401 Doc fix.
e52c37fa 3402
96f8741e
CY
34032012-01-10 Chong Yidong <cyd@gnu.org>
3404
1d00653d
SM
3405 * net/network-stream.el (network-stream-open-starttls):
3406 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3407 response to the capability command.
3408
b09a806e
GM
34092012-01-10 Glenn Morris <rgm@gnu.org>
3410
3411 * mail/unrmail.el (unrmail): Tweak previous change.
3412
7655cb66
CY
34132012-01-09 Chong Yidong <cyd@gnu.org>
3414
3415 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3416
9d5a8f0b
AM
34172012-01-08 Alan Mackenzie <acm@muc.de>
3418
3419 Optimise font locking in long enum definitions.
3420
3421 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3422 arm to a cond form to handle enums.
3423 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3424 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3425
9a0115ab 34262012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3427
3428 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3429 (Bug#10401)
6bb72cbd 3430
f186bb95
LMI
34312012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3432
29232a68
LMI
3433 * faces.el (set-face-attribute): Clarify the meaning of the nil
3434 frame (bug#10294).
3435
4e5d086d
LMI
3436 * subr.el (with-selected-frame): Mention that the selected frame
3437 is restored (bug#9980).
3438
8e66aebe
LMI
3439 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3440 (bug#9759).
3441
cd394be1 3442 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3443 (password-read): Don't autoload unused function.
3444
adf4e762
JB
34452012-01-07 Juanma Barranquero <lekktu@gmail.com>
3446
3447 * progmodes/which-func.el (which-func-mode): Turn into a
3448 non-interactive function and mark as obsolete (bug#10428).
3449
89bd9ccd
CY
34502012-01-06 Chong Yidong <cyd@gnu.org>
3451
3452 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3453 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3454 functions, along with 1 and -1.
3455
4afee9d5
EZ
34562012-01-06 Eli Zaretskii <eliz@gnu.org>
3457
3458 * time.el (display-time-load-average)
3459 (display-time-default-load-average): Doc fixes. See the thread
3460 starting at
3461 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3462 for the details.
3463
536aea70
GM
34642012-01-06 Glenn Morris <rgm@gnu.org>
3465
665ae865
GM
3466 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3467 has no messages. (Bug#10377)
3468
c869783d
GM
3469 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3470 than Info-edit. (Bug#10385)
3471
2bb4227e
GM
3472 * time.el (display-time-load-average, display-time-next-load-average):
3473 Doc fixes.
3474
7d5944b9
GM
3475 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3476 local setting of buffer-read-only to the input buffer. (Bug#10419)
3477
536aea70
GM
3478 * calendar/calendar.el (calendar-mode):
3479 Locally set scroll-margin to 0. (Bug#10379)
3480
7dccca16
UM
34812012-01-06 Ulrich Mueller <ulm@gentoo.org>
3482
3483 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3484
afbb7930
GM
34852012-01-05 Glenn Morris <rgm@gnu.org>
3486
3487 * eshell/em-unix.el (diff-no-select): Autoload it.
3488 (eshell/diff): Use diff-no-select. (Bug#10420)
3489
04482335
CY
34902012-01-05 Chong Yidong <cyd@gnu.org>
3491
7baca3bc
CY
3492 * shell.el (shell-dynamic-complete-functions): Revert last change.
3493 (shell-command-completion-function): New function.
3494 (shell-completion-vars): Use it to implement
3495 shell-completion-execonly (Bug#10417).
3496
04482335
CY
3497 * custom.el (enable-theme): Don't set custom-safe-themes.
3498
1d00653d
SM
3499 * cus-theme.el (custom-theme-merge-theme):
3500 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3501
bb5aa5d6
MM
35022012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3503
3504 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3505 first prompt in `sql-interacive-mode'.
3506 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3507 keywords.
6df6ae42 3508 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3509 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3510 context of original buffer. Invoke `sql-login-hook'.
3511
a7183d7c
EZ
35122012-01-04 Eli Zaretskii <eliz@gnu.org>
3513
3514 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3515 letters in cite-prefix.
3516
a1eacd1e
LMI
35172012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3518
3519 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3520
787cdb34
CY
35212012-01-03 Chong Yidong <cyd@gnu.org>
3522
1d00653d
SM
3523 * shell.el (shell-dynamic-complete-functions):
3524 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3525 comint-filename-completion first (Bug#10417).
3526
30710442
RS
35272012-01-02 Richard Stallman <rms@gnu.org>
3528
3529 * battery.el (battery-status-function):
3530 Detect when to use battery-yeeloong-sysfs.
3531 (battery-echo-area-format): Add string for Yeeloong.
3532 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3533 (battery-yeeloong-sysfs): New function.
3534
f75bfc33
CY
35352012-01-02 Chong Yidong <cyd@gnu.org>
3536
3537 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3538 (dirtrack): Merge code for handling relative filenames in prompt
3539 from shell-dir-cookie-watcher.
3540 (dirtrack-debug-message): New arg to avoid excess format calls.
3541
3542 * shell.el (shell-dir-cookie-re): Variable deleted.
3543 (shell-dir-cookie-watcher): Function deleted.
3544 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3545 with dirtrack-mode.
3546
651e947e
EZ
35472012-01-01 Eli Zaretskii <eliz@gnu.org>
3548
1d00653d
SM
3549 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3550 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3551 libgnutls-26.dll.
3552
94d4c7dc
AS
35532011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3554
3555 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3556
8d43f3cd
EZ
35572011-12-31 Eli Zaretskii <eliz@gnu.org>
3558
3559 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3560 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3561
98c8795a
MA
35622011-12-29 Michael Albinus <michael.albinus@gmx.de>
3563
3564 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3565 also for alternative shells.
3566 (tramp-open-connection-setup-interactive-shell): Check, whether
3567 the shell is a busybox.
3568 (tramp-send-command): Don't suppress multiple prompts for
3569 busyboxes, it hurts.
3570
51281b32
CY
35712011-12-28 Chong Yidong <cyd@gnu.org>
3572
3573 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3574 (gdb-get-source-file): Move mode line update to
3575 gdb-get-source-file (Bug#10087).
3576
2170cb53
CY
35772011-12-25 Chong Yidong <cyd@gnu.org>
3578
3579 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3580 gud-gdb-marker-filter without taking it as an argument.
3581 (gud-gdb-run-command-fetch-lines): Caller changed.
3582 (gud-gdb-completion-function): New variable.
3583 (gud-gdb-completion-at-point): Use it.
3584 (gud-gdb-completions-1): Split from gud-gdb-completions.
3585
3586 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3587 function as separate arguments.
3588 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3589 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3590 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3591 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3592 (gdb-stopped, def-gdb-auto-update-trigger)
3593 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3594 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3595 Callers changed.
2170cb53
CY
3596 (gud-gdbmi-completions): New function.
3597 (gdb): Use it for generating the completion table.
3598
be8b11bb
AM
35992011-12-24 Alan Mackenzie <acm@muc.de>
3600
3601 Introduce a mechanism to widen the region used in context font
1d00653d 3602 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3603
1d00653d
SM
3604 * progmodes/cc-langs.el (c-before-font-lock-functions):
3605 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3606 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3607 functions to be run just before context (etc.) font locking.
3608
3609 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3610 New, functionality extracted from
be8b11bb 3611 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3612 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3613 (c-after-change): Set c-in-after-change-fontification.
3614 (c-set-fl-decl-start): Rejig its interface, so it can be called
3615 from both after-change and context fontifying.
b81d40f0
JB
3616 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3617 New functions.
3618 (c-standard-font-lock-fontify-region-function): New variable.
3619 (c-font-lock-fontify-region): New function.
be8b11bb 3620
341cf6ac
JL
36212011-12-24 Juri Linkov <juri@jurta.org>
3622
3623 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3624 (Bug#10348)
3625
bffcee0a
MA
36262011-12-23 Michael Albinus <michael.albinus@gmx.de>
3627
3628 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3629 existence of source file. (Bug#10325)
3630
cb5e207c
AM
36312011-12-23 Alan Mackenzie <acm@muc.de>
3632
3633 Fix unstable fontification inside templates.
3634
b81d40f0
JB
3635 * progmodes/cc-langs.el (c-before-font-lock-functions):
3636 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3637 additionally has c-set-fl-decl-start. The other languages (apart
3638 from AWK) have that as a single entry.
3639
b81d40f0
JB
3640 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3641 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3642 c-set-fl-decl-start.
3643
b81d40f0
JB
3644 * progmodes/cc-mode.el (c-common-init, c-after-change):
3645 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3646 (c-set-fl-decl-start): New function, extracted from
3647 c-font-lock-enclosing-decls and enhanced.
3648
60ff536c
JB
36492011-12-23 Juanma Barranquero <lekktu@gmail.com>
3650
3651 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3652
1c4757d6
JL
36532011-12-22 Juri Linkov <juri@jurta.org>
3654
3655 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3656
d031f2c7
CY
36572011-12-22 Chong Yidong <cyd@gnu.org>
3658
3659 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3660
bace743a
DA
36612011-12-21 Drew Adams <drew.adams@oracle.com>
3662
3663 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3664
728a1f2b
JC
36652011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3666
3667 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3668
0d373f73
TZ
36692011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3670
fec0aaa4
TZ
3671 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3672 highlighting and support. Fix up comments for capitalization.
3673 (cfengine-mode-debug): New var.
3674 (cfengine3-mode): Change the modeline indicator to "CFE3".
3675 (cfengine3-font-lock-keywords): Improve defun highlighting.
3676 (cfengine2-actions): Rename from `cfengine-actions'.
3677 (cfengine2-font-lock-keywords): Rename from
3678 `cfengine-font-lock-keywords'.
3679 (cfengine2-imenu-expression): Rename from
3680 `cfengine-imenu-expression'.
3681 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3682 (cfengine2-beginning-of-defun): Rename from
3683 `cfengine-beginning-of-defun'.
3684 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3685 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3686 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3687 modeline indicator to "CFE2".
3688 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3689 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3690
bc86f573
CY
36912011-12-21 Chong Yidong <cyd@gnu.org>
3692
3693 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3694 filename argument.
3695
d45ba96b
MR
36962011-12-20 Martin Rudalics <rudalics@gmx.at>
3697
3698 * window.el (window-normalize-buffer-to-display): Remove.
3699 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3700
a6198c90
CY
37012011-12-19 Chong Yidong <cyd@gnu.org>
3702
3703 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3704 Don't signal an error in a predicate function; return non-nil.
3705 (vc-dir-mark-file): Move the error here.
3706 (vc-dir-mark-unmark): If acting on the region, keep going if one
3707 of the entries cannot be marked/unmarked.
3708 (vc-dir-mark-all-files): If current entry is a directory, mark
3709 only child files, as documented.
3710
34c5fb55
VB
37112011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3712
3713 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3714 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3715 addition.
3716
c803b2b7
JD
37172011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3718
3719 * term/ns-win.el (ns-get-selection-internal)
3720 (ns-store-selection-internal): Declare.
1154d12e
JB
3721 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3722 Declare as obsolete.
3723 (ns-get-pasteboard, ns-paste-secondary):
3724 Use ns-get-selection-internal.
3725 (ns-set-pasteboard, ns-copy-including-secondary):
3726 Use ns-store-selection-internal.
c803b2b7 3727
9cff91f8 37282011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3729
3730 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3731 (vc-deduce-fileset): Doc fix.
99a289d9 3732
f16c898a
AS
37332011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3734
3735 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3736
763237c4
SS
37372011-12-13 Sam Steingold <sds@gnu.org>
3738
3739 * man.el (Man-getpage-in-background): When running under a
3740 window-system, ignore $MANWIDTH and $COLUMNS.
3741
5fc1c122
KH
37422011-12-15 Kenichi Handa <handa@m17n.org>
3743
3744 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3745 (setup-ethiopic-environment-internal): Comment out key-binding for
3746 ethio-toggle-punctuation.
3747
13d49cbb
AM
37482011-12-13 Alan Mackenzie <acm@muc.de>
3749
898169a2
AM
3750 Add the switch statement to AWK Mode.
3751
7a71b18d 3752 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3753 "default" to the keywords regexp.
3754
7a71b18d 3755 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3756 expression as the rest.
1d00653d
SM
3757 (c-nonlabel-token-key): Allow string literals for AWK.
3758 Refactor for the other modes.
898169a2 3759
13d49cbb 3760 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3761 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3762 routines. Limit backward searching in c-font-lock-enclosing.decl.
3763
3764 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3765 pp-state and literal type in addition to the limits.
1d00653d 3766 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3767 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3768 (c-slow-in-literal, c-fast-in-literal): Remove.
3769 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3770
3771 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3772 being in a literal. Add a limit for backward searching.
3773
3774 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3775 c-slow-in-literal.
3776
15e0efc7
SM
37772011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3778
3779 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3780
454592a6
MR
37812011-12-13 Martin Rudalics <rudalics@gmx.at>
3782
3783 * window.el (delete-other-windows): Use correct frame in call to
3784 window-with-parameter.
3785
87393f26
DP
37862011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3787
3788 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3789 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3790 (makefile-gmake-statements, makefile-makepp-statements):
3791 Use it and add new makepp keywords.
3792 (makefile-makepp-font-lock-keywords): Add new patterns.
3793 (makefile-match-function-end): Match new [...] and [[...]].
3794
11636b22
JB
37952011-12-11 Juanma Barranquero <lekktu@gmail.com>
3796
3797 * ses.el (ses-call-printer-return, ses-cell-property-get)
3798 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3799 (ses-create-cell-variable, ses-reset-header-string)
3800 (ses-cell-set-formula, ses-repair-cell-reference-all)
3801 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3802 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3803 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3804 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3805 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3806 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3807 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3808 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3809 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3810 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3811 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3812 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3813
cf018193
VB
38142011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3815
3816 * ses.el: The overall change is to add cell renaming, that is
3817 setting fancy names for cell symbols other than name matching
3818 "\\`[A-Z]+[0-9]+\\'" regexp .
3819 (ses-create-cell-variable): New defun.
3820 (ses-relocate-formula): Relocate formulas only for cells the
3821 symbols of which are not renamed, i.e. symbols whose names do not
3822 match regexp "\\`[A-Z]+[0-9]+\\'".
3823 (ses-relocate-all): Relocate values only for cells the symbols of
3824 which are not renamed.
3825 (ses-load): Create cells variables as the (ses-cell ...) are read,
3826 in order to check row col consistency with cell symbol name only
3827 for cells that are not renamed.
3828 (ses-replace-name-in-formula): New defun.
3829 (ses-rename-cell): New defun.
3830
ee957461
CY
38312011-12-11 Chong Yidong <cyd@gnu.org>
3832
3833 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3834 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3835
9a9e9ef0
MR
38362011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3837
3838 * window.el (other-window): Fix docstring.
3839
92a8eba5
EZ
38402011-12-10 Eli Zaretskii <eliz@gnu.org>
3841
3842 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3843 `from' or `to' address before taking its substring.
3844 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3845 encoded name is chopped in the middle of the encoded string, and
3846 thus displayed encoded.
3847
e152e577
JB
38482011-12-10 Juanma Barranquero <lekktu@gmail.com>
3849
3850 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3851
e5d84bfe
EZ
38522011-12-10 Eli Zaretskii <eliz@gnu.org>
3853
3854 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3855 to use texinfo-update-node and commands that call it if the
3856 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3857 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3858 (texinfo-all-menus-update, texinfo-master-menu)
3859 (texinfo-update-node, texinfo-every-node-update)
3860 (texinfo-multiple-files-update): Doc fix. Warn against updating
3861 all the @node lines.
3862 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3863 argument is numeric. Explain better in the doc string what the
3864 function really does.
3865 (texinfo-insert-master-menu-list): Improve the error message
3866 displayed if there's no menu in the Top node.
3867 (Bug#2975) See also this thread:
e5d84bfe
EZ
3868 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3869
1d84e9bb
MG
38702011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3871
3872 * speedbar.el (speedbar-supported-extension-expressions):
3873 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3874
382c953b
JB
38752011-12-09 Juanma Barranquero <lekktu@gmail.com>
3876
3877 * printing.el (pr-mode-alist):
3878 * simple.el (filter-buffer-substring-functions)
3879 (completion-list-insert-choice-function):
3880 * window.el (window-with-parameter, window-atom-root)
3881 (window-sides-slots, window-size-fixed, window-min-delta)
3882 (window-max-delta, window--resize-mini-window)
3883 (window--resize-child-windows-normal, window-tree)
3884 (delete-other-windows, quit-window, split-window)
3885 (display-buffer-record-window, special-display-buffer-names)
3886 (special-display-regexps, special-display-popup-frame)
3887 (same-window-p, split-window-sensibly)
3888 (display-buffer-overriding-action, display-buffer-alist)
3889 (display-buffer-base-action, display-buffer, switch-to-buffer)
3890 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3891 (fit-window-to-buffer, recenter-positions)
3892 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3893 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3894 and remove unneeded backslashes in docstrings.
3895
39c9faef
SM
38962011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3897
98449af8
SM
3898 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3899
39c9faef
SM
3900 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3901 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3902 end in ".mk".
3903 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3904 when reading the makefile (bug#10116).
3905
86ed9fdc
SM
39062011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3909 (bug#10116).
3910
5580f89d
GM
39112011-12-06 Glenn Morris <rgm@gnu.org>
3912
3913 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3914
28d3917c
CY
39152011-12-06 Chong Yidong <cyd@gnu.org>
3916
3917 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3918
a98edce9
JB
39192011-12-06 Juanma Barranquero <lekktu@gmail.com>
3920
3921 * textmodes/table.el (table-shorten-cell): Fix typo.
3922
e65adfac
CG
39232011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3924
3925 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3926
71cc0b74
EZ
39272011-12-05 Eli Zaretskii <eliz@gnu.org>
3928
3929 * descr-text.el (describe-char): Fix display of strong
3930 right-to-left characters and directional embeddings and overrides.
3931
3932 * simple.el (what-cursor-position): Fix display of codepoints of
3933 strong right-to-left characters.
3934
315bc30d
CY
39352011-12-05 Chong Yidong <cyd@gnu.org>
3936
3937 * faces.el (read-color): Doc fix.
3938
58a70b94
GM
39392011-12-05 Glenn Morris <rgm@gnu.org>
3940
3941 * align.el (align--set-marker): Add doc-string.
3942 Don't try to move something that is not a marker. (Bug#10216)
3943
5158face
GM
39442011-12-04 Glenn Morris <rgm@gnu.org>
3945
3946 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3947 overly zealous deletion of trailing whitespace.
3948
520fca41
JB
39492011-12-04 Juanma Barranquero <lekktu@gmail.com>
3950
3951 * server.el (server-delete-client): On Windows, do not try to delete
3952 the only terminal.
3953 (server-process-filter): On Windows, treat requests for a tty frame as
3954 if they were for a GUI frame if the running server is in GUI mode.
3955
5e605a2e
GM
39562011-12-03 Glenn Morris <rgm@gnu.org>
3957
3958 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3959
5c3fe83f
SM
39602011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3961
6f5e57e7
SM
3962 * electric.el: Streamline electric-indent's hook.
3963 (electric-indent-chars): Revert to simple list.
3964 (electric-indent-functions): New var.
3965 (electric-indent-post-self-insert-function): Use it.
3966
5c3fe83f
SM
3967 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3968 there's no inferior buffer (bug#10196).
3969 (prolog-consult-compile): Don't use toggle-read-only.
3970
6bdac736
MA
39712011-12-02 Michael Albinus <michael.albinus@gmx.de>
3972
3973 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3974 interrupt. (Bug#10187)
3975
6131ba7f
SM
39762011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3977
99c79fee
SM
3978 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3979 (bug#9160).
3980
6131ba7f
SM
3981 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3982 (bug#10191).
3983
cb0a02ea
JL
39842011-12-02 Juri Linkov <juri@jurta.org>
3985
3986 * info.el (Info-search): Display "end of manual" when Isearch
3987 reaches the end of single-file Info manual. (Bug#9918)
3988
66e0570c
EZ
39892011-12-02 Eli Zaretskii <eliz@gnu.org>
3990
3991 * isearch.el (isearch-message-prefix): Run the input method part
3992 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3993
02b16839
JL
39942011-12-02 Juri Linkov <juri@jurta.org>
3995
3996 * isearch.el (isearch-occur): Use `word-search-regexp' for
3997 `isearch-word'.
3998 (isearch-search-and-update): Add condition for `isearch-word' and
3999 call `word-search-regexp'. (Bug#10145)
4000
0b950688
GM
40012011-12-01 Glenn Morris <rgm@gnu.org>
4002
4003 * eshell/em-hist.el (eshell-hist-initialize):
4004 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4005 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4006
9505c3c7
SM
40072011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4008
4009 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4010
1bbe96b2 40112011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4012
a1beca85
SM
4013 * progmodes/verilog-mode.el (verilog-pretty-expr):
4014 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4015 verilog, such as += *= and the like.
4016 (verilog-assignment-operator-re): Regular expression to find the
4017 assigment operator in a verilog assignment.
4018 (verilog-assignment-operation-re): Regular expression to find an
4019 assignment statement for pretty-expr.
4020 (verilog-in-attribute-p): Query returns true if point is in an
4021 attribute context; used to skip these for expression line up from
4022 pretty-expr.
4023 (verilog-in-parameter-p): Query returns true if point is in an
4024 parameter definition context; used to skip these for expression
4025 line up from pretty-expr.
4026 (verilog-in-parenthesis-p): Query returns true if point is in a
4027 parenthetical expression, specifically ( ) but not [ ] or { };
4028 used by pretty-expr.
4029 (verilog-just-one-space): If there is no space, don't add one.
4030 (verilog-get-lineup-indent-2): Specifically skip just attribute
4031 contexts for expression lineup, rather than skipping all
4032 parenthetical expressions.
4033 (verilog-calculate-indent): Fix comment, and fix indent.
4034 (verilog-do-indent): Indent declarations in lists (suggested by
4035 Joachim Lechner).
4036 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4037 skeleton items.
4038 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4039 by Alain Mellan).
4040
1bbe96b2 40412011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4042
4043 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4044 parameters with embedded comments. Reported by Ray Stevens.
4045 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4046 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4047 Reported by Tim Holt.
4048 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4049 instantiated by upper module causing wrong expansion until AUTOed a
4050 second time. Reported by K C Buckenmaier.
4051 (verilog-diff-auto): Fix showing .* as a difference when
4052 `verilog-auto-star-save' off. Reported by Dan Dever.
4053 (verilog-auto-reset, verilog-read-always-signals)
4054 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4055 temporary signals in reset list if
4056 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4057 style to each signal's assignment type, bug381.
4058 Reported by Thomas Esposito.
6288f0ca
WS
4059 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4060 (verilog-uvm-statement-re): Support UVM indentation and
4061 highlighting, with old OVM keywords only.
a1beca85 4062 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4063 Support AUTOTIEOFF creating non-wire data types.
4064 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4065 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4066 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4067 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4068 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4069 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4070 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4071 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4072 non-numeric vector width. Reported by Alex Reed.
4073 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4074 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4075 (verilog-auto-delete-trailing-whitespace):
4076 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4077 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4078 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4079 Fix verilog-scan-cache corruption when running user AUTO expansion
4080 hooks that call indentation routines.
4081 (verilog-simplify-range-expression): Fix typo ignoring lower case
4082 identifiers.
4083 (verilog-delete-auto): Fix delete-autos to also remove user created
4084 automatics, as long as they start with AUTO.
4085 (verilog-batch-diff-auto, verilog-diff-auto)
4086 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4087 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4088 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4089 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4090 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4091 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4092 is disabled and its cache will get corrupt, causing AUTOS not to
4093 expand. Instead use only -quick functions.
4094 (verilog-scan-region): Fix scanning over escaped quotes.
4095 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4096 (verilog-re-search-backward-quick)
4097 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4098 related functions now ignore strings, to fix misparsing of strings
4099 with magic comments embedded in them.
a1beca85
SM
4100 (verilog-read-auto-template):
4101 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4102 Reported by Brad Dobbie.
4103 (verilog-read-auto-template):
4104 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4105 Reported by Brad Dobbie.
6288f0ca
WS
4106 (verilog-auto-inst, verilog-auto-inst-param)
4107 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4108 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4109 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4110 debugging templates without merge conflicts, bug357.
4111 Reported by Brad Dobbie.
4112 (verilog-read-auto-template):
4113 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4114 Reported by Brad Dobbie.
4115 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4116 abbrevs so user won't be asked to save.
4117 (verilog-read-auto-lisp-present): Fix to start at beginning of
4118 buffer in case called outside of verilog-auto.
4119 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4120 to "X-2". Reported by Matthew Myers.
4121 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4122 all inputs from module templates. Reported by Leith Johnson.
4123 (verilog-module-inside-filename-p): Fix locating programs as with
4124 modules.
4125 (verilog-auto-inst-port): Fix vl-width expressions when using
4126 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4127 (verilog-decls-get-regs, verilog-decls-get-signals,
4128 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4129 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4130 verilog-read-decls): Combine reg and wire structures into one var
4131 structure to represent SystemVerilog concepts.
4132 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4133 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4134 (verilog-auto-wire-type, verilog-insert-definition):
4135 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4136 SystemVerilog "logic" keyword instead of "wire"/"reg".
4137 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4138 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4139 ifdef or generate if so there's not a driver conflict).
4140 Reported by Matthew Myers.
4141 (verilog-auto-declare-nettype, verilog-insert-definition):
4142 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4143 `default_nettype none. Reported by Julian Gorfajn.
4144 (verilog-read-always-signals-recurse, verilog-read-decls)
4145 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4146 malformed end statement, bug325. Reported by Joshua Wise and
4147 Andrew Drake.
4148 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4149 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4150 when expanding .* in interfaces, bug320.
4151 Reported by Pierre-David Pfister.
6288f0ca 4152 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4153 name and open parenthesis, bug317.
4154 Reported by Pierre-David Pfister.
6288f0ca
WS
4155 (verilog-simplify-range-expression): Fix simplification of
4156 multiplications inside AUTOWIRE connections, bug303.
4157 (verilog-auto-inst-port): Support parameter expansion in
4158 multidimensional arrays.
4159 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4160 after "assert property". Reported by Julian Gorfajn.
4161 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4162 with multiplication, bug303.
4163 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4164 Reported by Jan Frode Lonnum.
4165
1bbe96b2
GM
41662011-11-30 Juanma Barranquero <lekktu@gmail.com>
4167
4168 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4169 (hfy-shell-file-name, hfy-shell):
4170 * international/fontset.el (x-decompose-font-name): Fix typos.
4171
41722011-11-29 Ken Brown <kbrown@cornell.edu>
4173
4174 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4175 (gdb-version): Remove defvar.
4176 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4177 (gdb-gud-context-command, gdb-non-stop-handler)
4178 (gdb-current-context-command, gdb-stopped): Use it.
4179 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4180 (gdb-non-stop-handler): Don't enable pretty-printing here.
4181 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4182 non-stop mode. Use the following.
4183 (gdb-check-target-async): New defun.
4184 (gud-watch, gdb-stopped): Fix whitespace.
4185 (gdb-get-source-file): Don't try to display the source file if
4186 `gdb-main-file' is nil.
4187
41882011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 * align.el: Try to generate fewer markers (bug#10047).
4191 (align--set-marker): New macro.
4192 (align-region): Use it.
4193
c935221f
SM
41942011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4195
4196 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4197
e70b5064
CY
41982011-11-29 Chong Yidong <cyd@gnu.org>
4199
4200 * indent.el (indent-for-tab-command, indent-according-to-mode):
4201 Doc fix.
4202 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4203
f3af92b7
MA
42042011-11-29 Michael Albinus <michael.albinus@gmx.de>
4205
4206 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4207 aware of remote file names. (Bug#10124)
4208
ed472be9
CY
42092011-11-29 Chong Yidong <cyd@gnu.org>
4210
4211 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4212
24510c22
SM
42132011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 * files.el (find-file): Don't use force-same-window (bug#10144).
4216 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4217 use pop-to-buffer if the selected window can't be used.
4218 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4219
c60c3703
EZ
42202011-11-28 Eli Zaretskii <eliz@gnu.org>
4221
4222 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4223 special-mode-map.
4224
e95def75
CY
42252011-11-28 Chong Yidong <cyd@gnu.org>
4226
4227 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4228
c3f1c606
NR
42292011-11-27 Nick Roberts <nickrob@snap.net.nz>
4230
4231 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4232 gdb-get-source-file-list on gdb-create-source-file-list.
4233
00db469c
EZ
42342011-11-26 Eli Zaretskii <eliz@gnu.org>
4235
4236 * whitespace.el (whitespace-newline): Use a different foreground
4237 color for 16-color light-background displays.
4238
4ad3bc2a
CY
42392011-11-24 Chong Yidong <cyd@gnu.org>
4240
4241 * window.el (display-buffer--special-action): Doc fix.
4242
e9fce1ac
JB
42432011-11-25 Juanma Barranquero <lekktu@gmail.com>
4244
4245 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4246 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4247 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4248 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4249 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4250 (avl-tree-stack-first):
4251 * emacs-lisp/cconv.el (cconv--analyse-use):
4252 * net/gnutls.el (gnutls-negotiate): Fix typos.
4253
cb825e5d
GM
42542011-11-24 Glenn Morris <rgm@gnu.org>
4255
3adbe224
GM
4256 * lpr.el (lpr-windows-system, lpr-lp-system):
4257 * mail/binhex.el (binhex-begin-line):
4258 * progmodes/grep.el (grep-history, grep-find-history):
4259 * textmodes/flyspell.el:
4260 * vc/pcvs-defs.el (cvs-global-menu):
4261 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4262 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4263 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4264
321decc8
GM
4265 * net/tls.el: Fix case of "GnuTLS".
4266
420b63ad
GM
4267 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4268
cb825e5d
GM
4269 * version.el (emacs-build-system): Give it a doc-string.
4270
a0649f08
JL
42712011-11-24 Juri Linkov <juri@jurta.org>
4272
4273 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4274
c0bc0fd4
GM
42752011-11-24 Glenn Morris <rgm@gnu.org>
4276
4277 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4278 if called on a non-mime message just toggle the headers. (Bug#8006)
4279
20db1522
JB
42802011-11-24 Juanma Barranquero <lekktu@gmail.com>
4281
4282 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4283 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4284 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4285 (allout-rebullet-heading, allout-open-sibtopic)
4286 (allout-toggle-current-subtree-encryption)
4287 (allout-toggle-subtree-encryption, allout-encrypt-string)
4288 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4289 (allout-distinctive-bullets-string, allout-auto-activation):
4290 * window.el (window-normalize-buffer-to-display):
4291 * progmodes/verilog-mode.el (verilog-batch-indent):
4292 * textmodes/bibtex.el (bibtex-field-braces-opt)
4293 (bibtex-field-strings-opt):
4294 * vc/cvs-status.el (cvs-tree-merge):
4295 Fix typos.
4296
7262a87c
MA
42972011-11-23 Michael Albinus <michael.albinus@gmx.de>
4298
4299 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4300 `non-essential' to t, in order to avoid remote connections.
4301
283430a1
EZ
43022011-11-23 Eli Zaretskii <eliz@gnu.org>
4303
a1beca85
SM
4304 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4305 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4306 case-insensitively.
4307
d2992a38
ML
43082011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4309
4310 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4311
50419064
GM
43122011-11-23 Glenn Morris <rgm@gnu.org>
4313
da94eca1
GM
4314 * paths.el (rmail-file-name): Reformat the doc-string so that it
4315 is picked up.
4316
9aac4de2
GM
4317 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4318 (rmail-auto-file): Ignore case in the "special" field names,
4319 as mail-fetch-field does for all others.
4320
8038d2d2
GM
4321 * mail/rmail.el (rmail-forward):
4322 * mail/rmailkwd.el (rmail-set-label):
4323 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4324 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4325
f3fe222a
GM
4326 * mail/rmail.el (rmail-current-message): Doc fix.
4327
50419064
GM
4328 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4329
28109f49
SM
43302011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4331
4332 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4333
394c65f1
GM
43342011-11-22 Glenn Morris <rgm@gnu.org>
4335
4336 * mail/rmailmm.el (test-rmail-mime-handler)
4337 (test-rmail-mime-bulk-handler)
4338 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4339
f2a0aa3a
JL
43402011-11-21 Juri Linkov <juri@jurta.org>
4341
1154d12e
JB
4342 * calc/calc.el (calc-read-key-sequence):
4343 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4344
9c34a344
LMI
43452011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4346
4347 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4348 Tell the caller that the next line needs recomputation, even
4349 though it doesn't start a sexp (bug#10094).
4350
f04a3be9
SM
43512011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4352
4353 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4354
7978747f
SM
43552011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4356
f04a3be9
SM
4357 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4358 Use force-same-window.
7978747f 4359
fe7a3057
JB
43602011-11-20 Juanma Barranquero <lekktu@gmail.com>
4361
4362 * descr-text.el (describe-char-unicode-data):
4363 * json.el (json-string-escape):
4364 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4365 (Footnote-unicode, Footnote-style-p):
4366 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4367
24901d61
CY
43682011-11-20 Chong Yidong <cyd@gnu.org>
4369
4370 * window.el (replace-buffer-in-windows): Restore interactive spec.
4371
bac7ff22
SM
43722011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4373
24f3d7b9
SM
4374 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4375
bac7ff22
SM
4376 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4377 (byte-compile-global-not-obsolete-vars): New var.
4378 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4379 Use it.
4380 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4381
cd1181db
JB
43822011-11-20 Juanma Barranquero <lekktu@gmail.com>
4383
4384 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4385 * progmodes/pascal.el (electric-pascal-equal):
4386 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4387 * xml.el (xml-substitute-special): Fix typos.
4388
7fb18e9e
GM
43892011-11-20 Glenn Morris <rgm@gnu.org>
4390
4391 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4392 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4393 Doc fixes.
4394 (rmail-decode-mime-charset): Mark as obsolete.
4395
4396 * mail/rmailsum.el (rmail-message-regexp-p-1):
4397 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4398 Before using mime functions, check they are set. (Bug#10077)
4399
d5a6b3ba
JL
44002011-11-19 Juri Linkov <juri@jurta.org>
4401
4402 * info.el (Info-finder-find-node): Use `package--builtins' instead
4403 of `package-alist'. Use node names formed by the pattern "Keyword "
4404 and the keyword name.
4405
e981b61f
AS
44062011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4407
1d00653d 4408 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4409
3ffbc301
JL
44102011-11-19 Juri Linkov <juri@jurta.org>
4411
4412 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4413 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4414 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4415 `old-history', `old-history-forward'. Add let-binding
4416 `window-selected'. Remove calls to `kill-buffer',
4417 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4418 before calling `Info-find-node', so `Info-find-node-2' will reread
4419 the Info file. Restore window positions only when `window-selected'
4420 is non-nil.
4421
30c62133
JL
44222011-11-19 Juri Linkov <juri@jurta.org>
4423
4424 * isearch.el (isearch-lazy-highlight-new-loop):
4425 Remove condition `(not isearch-error)'. (Bug#9918)
4426
4427 * misearch.el (multi-isearch-search-fun): Add condition
4428 `(not bound)' to ignore lazy-highlighting search.
4429 Add the search-failed message "end of multi" when the end of
4430 multi-sequence is reached. Uncapitalize the search-failed
4431 message "Repeat for next buffer".
4432
4433 * info.el (Info-search): Add the search-failed message
4434 "end of the manual" when the end of the manual is reached
4435 in Isearch mode.
4436
645ca9cf
JL
44372011-11-19 Juri Linkov <juri@jurta.org>
4438
4439 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4440 Use non-destructive `remove' instead of `delete' because
4441 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4442 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4443
df754f66
JL
44442011-11-19 Juri Linkov <juri@jurta.org>
4445
4446 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4447 to nil instead of binding `search-ring' and `regexp-search-ring'.
4448 (Bug#9185)
4449
0e23d96a
EZ
44502011-11-19 Eli Zaretskii <eliz@gnu.org>
4451
4452 * simple.el (line-move): Force movement by logical lines for any
4453 hscrolled window, not only when auto-hscroll-mode is on.
4454 (line-move-visual): Update doc string to that effect. (Bug#10076)
4455
8a6ccb66
AS
44562011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4457
4458 * language/european.el (macintosh): Define as alias for mac-roman.
4459
49ae5b39
EZ
44602011-11-19 Eli Zaretskii <eliz@gnu.org>
4461
4462 * mail/rmailmm.el (rmail-mime-display-header)
4463 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4464 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4465 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4466 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4467 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4468 of a raw aref.
4469 (rmail-mime-entity-segment): To get past the tagline, move forward
4470 2 more lines, to account for the 2 empty lines that precede and
4471 follow the line with the buttons.
4472 (rmail-mime-update-tagline): Move one more line, to get past the
4473 empty line that follows the buttons in the tagline. (Bug#9520)
4474
c56cad4a
MR
44752011-11-19 Martin Rudalics <rudalics@gmx.at>
4476
4477 * window.el (window-max-delta-1, window-min-delta-1)
4478 (window-min-size-1, window-state-get-1, window-state-put-1)
4479 (window-state-put-2): Use "window--" prefix.
4480
cbe71af3
SM
44812011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4482
2ad52c60
SM
4483 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4484 (smie-warning-count): New var.
4485 (smie-set-prec2tab): Use it.
4486 (smie-bnf->prec2): Improve warnings. Add docstring.
4487 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4488 (smie-bnf--set-class): New function.
4489 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4490 corner case.
4491
6944dbc1
SM
4492 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4493 (compilation-error-properties, compilation-move-to-column):
4494 Handle compilation-first-column while in the target buffer.
4495
c400c4d7
SM
4496 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4497 Don't hardcode point-min==1.
4498
6dbe3e96
SM
4499 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4500 (eshell-rewrite-for-command): Remove workaround.
4501 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4502 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4503 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4504
cbe71af3
SM
4505 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4506
a8e1496d
GM
45072011-11-17 Glenn Morris <rgm@gnu.org>
4508
4509 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4510 Ignore buffer-local generated-autoload-file if it is the same
4511 as the global value. (Bug#10049)
4512
df85d315
JB
45132011-11-17 Juanma Barranquero <lekktu@gmail.com>
4514
4515 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4516 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4517 (reftex-toc-previous-heading, reftex-toc-max-level)
4518 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4519 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4520 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4521 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4522 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4523 (reftex-toc-rename-label, reftex-toc-visit-location)
4524 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4525 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4526 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4527 leaving "*toc*" only for references to the buffer.
4528
a0c2d0ae
MR
45292011-11-17 Martin Rudalics <rudalics@gmx.at>
4530
4531 * window.el (window-resize, delete-window, split-window):
4532 Replace window-splits by window-combination-resize.
1d00653d 4533 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4534
35c0bac8
GM
45352011-11-17 Glenn Morris <rgm@gnu.org>
4536
4537 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4538 Make bash entry derive from sh entry, not shell entry.
4539
d0c8fc8a
MA
45402011-11-16 Michael Albinus <michael.albinus@gmx.de>
4541
d0c8fc8a
MA
4542 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4543 properties of linked files. (Bug#9879)
4544
7262a87c
MA
4545 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4546 local file name.
4547
7877f373
JB
45482011-11-16 Juanma Barranquero <lekktu@gmail.com>
4549
4550 * menu-bar.el (menu-bar-file-menu):
4551 * printing.el (pr-ps-utility):
4552 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4553 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4554 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4555 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4556 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4557 (icalendar--convert-cyclic-to-ical)
4558 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4559 (icalendar--convert-ical-to-diary)
4560 (icalendar--convert-recurring-to-diary)
4561 (icalendar--convert-non-recurring-all-day-to-diary)
4562 (icalendar-import-format-sample):
4563 * progmodes/idlw-shell.el (idlwave-shell-mode):
4564 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4565 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4566 (vhdl-ps-print-init): Fix typos.
4567
10649b82
KM
45682011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4569
9d0cfcd6
GM
4570 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4571 FSF and collapse date sequence, obscure author/maintainer email address
4572 better, remove extra version line, track relocation of author's webpage.
10649b82 4573
9d0cfcd6
GM
4574 * progmodes/python.el (python-pdbtrack-input-prompt)
4575 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4576 regular python pdb prompts. Adjustments shamelessly taken exactly as
4577 suggested in EmacsWiki page (tiny change):
4578 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4579
58179cce
JB
45802011-11-16 Juanma Barranquero <lekktu@gmail.com>
4581
4582 * expand.el (expand-pos, expand-index, expand-point):
4583 Remove redundant info from docstring.
4584 (expand-add-abbrevs): Doc fix.
4585 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4586 (expand-sample-perl-mode-expand-list): Fix typos.
4587
4588 * net/dbus.el (dbus-event-member-name):
4589 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4590 * term/pc-win.el (msdos-create-frame-with-faces):
4591 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4592
b6f67890
MR
45932011-11-16 Martin Rudalics <rudalics@gmx.at>
4594
4595 * window.el (split-window, window-state-get-1)
4596 (window-state-put-1, window-state-put-2): Rename occurrences of
4597 window-nest to window-combination-limit.
1d00653d 4598 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4599
ce7ddba0
CY
46002011-11-16 Chong Yidong <cyd@gnu.org>
4601
4602 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4603 regexp (Bug#10033).
4604
3ae704f4
SM
46052011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4606
4607 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4608 `completing-read' will remove *Completions* and will preserve
4609 current-buffer for us.
4610 (tmm-add-prompt): Users of *Completions* will always (re)set its
4611 major mode.
4612 (tmm-old-comp-map): Remove.
4613
6ad1cdde
GM
46142011-11-16 Glenn Morris <rgm@gnu.org>
4615
4616 * mail/rmailedit.el: Require rmailmm when compiling.
4617 (rmail-old-mime-state): New declaration.
4618 (rmail-edit-current-message): If editing a mime message,
4619 edit the "raw" message from the mbox buffer.
4620 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4621
d20faa20
GM
46222011-11-15 Glenn Morris <rgm@gnu.org>
4623
4624 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4625 which wasn't being used. Add optional arg to force given state.
4626 (rmail-mime): Add optional arg to force given state.
4627
c7015153
JB
46282011-11-15 Juanma Barranquero <lekktu@gmail.com>
4629
4630 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4631 * frame.el (display-mm-dimensions-alist):
4632 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4633 (outline-move-subtree-down):
4634 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4635 (newsticker--treeview-do-get-node):
4636 * net/quickurl.el (quickurl-list-buffer-name):
4637 * progmodes/dcl-mode.el (dcl-mode):
4638 * progmodes/gdb-mi.el (gdb-mapcar*):
4639 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4640
45261b50
GM
46412011-11-15 Glenn Morris <rgm@gnu.org>
4642
4643 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4644 in a boolean sense, so just make it a boolean, and fix the doc.
4645 (rmail-show-mime-function, rmail-mime-feature)
4646 (rmail-require-mime-maybe): Doc fixes.
4647 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4648
4649 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4650
0d26e0b6
JB
46512011-11-15 Juanma Barranquero <lekktu@gmail.com>
4652
4653 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4654 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4655 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4656 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4657
447f30f6
GM
46582011-11-15 Glenn Morris <rgm@gnu.org>
4659
672b871d
GM
4660 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4661 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4662 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4663 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4664 (rmail-mime, rmail-show-mime): Doc fixes.
4665
f6aa5bb1
GM
4666 * term/ns-win.el (mode-line-frame-identification):
4667 Leave it alone. (Bug#10051)
4668
947cd66b
GM
4669 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4670
447f30f6
GM
4671 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4672 Handle empty buffers. (Bug#9978)
4673
0b381c7e
JB
46742011-11-14 Juanma Barranquero <lekktu@gmail.com>
4675
4676 * international/mule.el (define-charset):
4677 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4678 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4679 * progmodes/verilog-mode.el (verilog-backward-token):
4680 * textmodes/ispell.el (lookup-words):
4681 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4682
71e027ac
GM
46832011-11-14 Glenn Morris <rgm@gnu.org>
4684
56632ce4
GM
4685 * progmodes/executable.el
4686 (executable-make-buffer-file-executable-if-script-p):
4687 Handle file-modes returning nil.
4688
40500957
GM
4689 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4690 message - not necessary, and causes problems. (Bug#9831)
4691
071c2340
GM
4692 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4693
d3cfca60
GM
4694 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4695
71e027ac
GM
4696 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4697 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4698 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4699
89d61221
MR
47002011-11-12 Martin Rudalics <rudalics@gmx.at>
4701
4702 * window.el (window-resize, delete-window): Use window-splits
4703 variable instead of function.
4704 (window-state-get-1, window-state-put-2, window-state-put):
4705 Don't deal with windows' splits status.
4706
98282f6f
GM
47072011-11-12 Glenn Morris <rgm@gnu.org>
4708
4709 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4710 (apropos-documentation): Doc fixes.
4711
40a8bdf6
JB
47122011-11-11 Juanma Barranquero <lekktu@gmail.com>
4713
4714 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4715 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4716
65bd19ff
SM
47172011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * electric.el (electric-indent-post-self-insert-function): Make it
4720 possible for a char to only indent in some circumstances.
4721 (electric-indent-mode): Simplify.
4722
54f9154c
MR
47232011-11-11 Martin Rudalics <rudalics@gmx.at>
4724
4725 * window.el (windows-with-parameter): Remove unused function.
4726 (windows-at-side): Rename to window-at-side-list.
4727 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4728 (window-side-check, window-size-ignore, window-size-fixed-1)
4729 (window-in-direction-2): Prefix with "window--".
4730 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4731
68cbc58b
GM
47322011-11-11 Glenn Morris <rgm@gnu.org>
4733
4734 * subr.el (eval-after-load): If FILE is already loaded,
4735 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4736
b2621720
GM
47372011-11-10 Glenn Morris <rgm@gnu.org>
4738
9a4de110
GM
4739 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4740 Call svn via vc-svn-command rather than vc-do-command.
4741 (vc-svn-command): Add --non-interactive. (Bug#9993)
4742 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4743
b2621720
GM
4744 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4745 Add toggle-read-only. (Bug#7292)
4746 * files.el (toggle-read-only): Mention that it should only
4747 be used interactively. (Bug#10006)
4748
1dce7193
SM
47492011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4750
d9ac1a1e
SM
4751 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4752 Adjust regexp for OCaml warnings.
4753
0c325082
SM
4754 * electric.el (electric-pair-post-self-insert-function): Let user
4755 turn it off buffer-locally (bug#9932).
4756
90132c14
SM
4757 * progmodes/python.el (python-beginning-of-statement):
4758 Rewrite (bug#2703).
4759
1dce7193
SM
4760 * progmodes/compile.el: Better handle TABs (bug#9749).
4761 (compilation-internal-error-properties)
4762 (compilation-next-error-function): Obey the target buffer's
4763 compilation-error-screen-columns.
4764
c4e7c63a
JB
47652011-11-09 Juanma Barranquero <lekktu@gmail.com>
4766
4767 * progmodes/meta-mode.el: Remove obsolete comments.
4768 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4769 Fix typos in docstrings.
4770
2cffd681
MR
47712011-11-09 Martin Rudalics <rudalics@gmx.at>
4772
4773 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4774 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4775 (window--resizable): New function. Make all callers of
4776 window-resizable call window--resizable instead.
4777 (window-resizable): Rewrite in terms of window--resizable.
4778
0edcba87
GM
47792011-11-08 Glenn Morris <rgm@gnu.org>
4780
4781 * progmodes/delphi.el (delphi-mode-syntax-table):
4782 Let define-derived-mode define a proper syntax table. (Bug#9994)
4783
4b0d61e3
SM
47842011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 * window.el: Stay away from defsubst.
4787 (window-list-no-nils): Remove.
4788 (window-state-get-1, window-state-get): Use backquote instead.
4789
cd394be1 47902011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4791
4b0d61e3 4792 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4793 Fix incorrect use of default argument in `completing-read'.
4794
e1c2c6f2
MR
47952011-11-08 Martin Rudalics <rudalics@gmx.at>
4796
4797 * window.el (display-buffer-function, special-display-function):
4798 Mention display-buffer-record-window but do not mention
4799 help-setup parameter in doc-strings.
b3f4a882 4800 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4801
105216ed
CY
48022011-11-08 Chong Yidong <cyd@gnu.org>
4803
4804 * window.el (window-total-height, window-total-width): Doc fix.
4805 (window-body-size): Move from C.
4806 (window-body-height, window-body-width): Move to C.
4807
0a9f9ab5
SM
48082011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4809
4810 * window.el: Make special-display like display-buffer-alist (bug#9532).
4811 (display-buffer--special-action): New function, morphed
4812 from display-buffer--special.
4813 (display-buffer): Use it to handle special-display-buffers at higher
4814 priority (just after display-buffer-alist).
4815 (display-buffer-fallback-action, display-buffer--other-frame-action)
4816 (pop-to-buffer-same-window): Remove display-buffer--special.
4817
a769dd15
GM
48182011-11-07 Glenn Morris <rgm@gnu.org>
4819
4820 * calendar/cal-menu.el (cal-menu-set-date-title):
4821 Do nothing if not in a calendar. (Bug#9976)
4822
05a61ee3
SM
48232011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4824
4825 * files.el (find-file): Always use selected-window.
4826
be7f5545
MR
48272011-11-07 Martin Rudalics <rudalics@gmx.at>
4828
4829 * window.el (window-combinations): Make WINDOW argument
4830 mandatory. Rewrite doc-string.
4831 (walk-window-subtree, window-atom-check, window-min-delta)
4832 (window-max-delta, window--resize-this-window)
4833 (window--resize-root-window-vertically, window-tree)
4834 (balance-windows, window-state-put): Rewrite doc-strings as to
4835 not mention the term "subwindow".
4836 (window--resize-subwindows-skip-p): Rename to
4837 window--resize-child-windows-skip-p.
4838 (window--resize-subwindows-normal): Rename to
4839 window--resize-child-windows-normal.
4840 (window--resize-subwindows): Rename to
4841 window--resize-child-windows.
4842 (window-or-subwindow-p): Rename to window--in-subtree-p.
4843
3c6702ef
ML
48442011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4845
4846 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4847 Ensure that mbox format messages end in two newlines (Bug#9974).
4848
49745b39
CY
48492011-11-06 Chong Yidong <cyd@gnu.org>
4850
4851 * window.el (window-combination-p): Function deleted; its
4852 side-effect is not used in any existing code.
4853 (window-combinations, window-combined-p): Call window-*-child
4854 directly.
4855
24300f5f
CY
48562011-11-05 Chong Yidong <cyd@gnu.org>
4857
4858 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4859 (window-size-ignore, window-state-get): Callers changed.
4860 (window-normalize-window): Rename from window-normalize-any-window.
4861 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4862 (window-normalize-live-window): Delete.
447f16b8
CY
4863 (window-combination-p, window-combined-p, window-combinations)
4864 (walk-window-subtree, window-atom-root, window-min-size)
4865 (window-sizable, window-sizable-p, window-size-fixed-p)
4866 (window-min-delta, window-max-delta, window-resizable)
4867 (window-resizable-p, window-full-height-p, window-full-width-p)
4868 (window-current-scroll-bars, window-point-1, set-window-point-1)
4869 (window-at-side-p, window-in-direction, window-resize)
4870 (adjust-window-trailing-edge, maximize-window, minimize-window)
4871 (window-deletable-p, delete-window, delete-other-windows)
4872 (record-window-buffer, unrecord-window-buffer)
4873 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4874 (quit-window, split-window, window-state-put)
4875 (set-window-text-height, fit-window-to-buffer)
4876 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4877
89bd5ee1
EZ
48782011-11-04 Eli Zaretskii <eliz@gnu.org>
4879
53479029
EZ
4880 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4881 rfc2047-decode-string.
4882 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4883 warnings.
4884
89bd5ee1
EZ
4885 * window.el (window-body-height, window-body-width): Mention in
4886 the doc string that the return values are in frame's canonical
4887 units. (Bug#9949)
4888
bd17fdee
AM
48892011-11-03 Alan Mackenzie <acm@muc.de>
4890
4891 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4892 change in cc-engine.el.
4893
acc825c5
SM
48942011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4897
1885e5b8
MR
48982011-11-02 Martin Rudalics <rudalics@gmx.at>
4899
4900 * window.el (quit-window): Call unrecord-window-buffer after
4901 showing another buffer in the window. (Bug#9937)
acc825c5 4902 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4903
ebe06da9
JB
49042011-11-02 Juanma Barranquero <lekktu@gmail.com>
4905
4906 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4907 Accept status with more than 9 shelves. (Bug#9935)
4908 Reported by Colin D Bennett <colin@gibibit.com>.
4909
4ee88440
MR
49102011-11-01 Martin Rudalics <rudalics@gmx.at>
4911
4912 * help.el (with-help-window): Don't reference
4913 temp-buffer-show-specifiers in doc-string.
4914
08e1d82c
AS
49152011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4916
4917 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4918 menu-item.
4919
84bd6e9e
VJL
49202011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4921
4922 * whitespace.el: New version 13.2.2.
4923 (whitespace-newline-mode): Disable properly. Reported by Sarah
4924 <EmacsWiki>.
4925
dba0634a
UJ
49262011-10-30 Ulf Jasper <ulf.jasper@web.de>
4927
4928 * net/newst-treeview.el: Remove "Time-stamp".
4929 (newsticker--group-manage-orphan-feeds): Do not call
4930 newsticker--treeview-tree-update.
db22a3c2
JB
4931 (newsticker-treeview-update, newsticker-treeview):
4932 Call newsticker--treeview-tree-update if necessary.
dba0634a 4933
3d8daefe
MR
49342011-10-30 Martin Rudalics <rudalics@gmx.at>
4935
4936 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4937 (window-iso-combinations): Remove "iso-" infix.
4938 Suggested by Chong Yidong.
3d8daefe
MR
4939 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4940 (window-max-delta-1, window-resize, window--resize-siblings)
4941 (window--resize-this-window, adjust-window-trailing-edge)
4942 (split-window, balance-windows-1)
4943 (shrink-window-if-larger-than-buffer):
4944 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4945 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4946
1bc4c3ae
SM
49472011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4948
4949 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4950 in place (bug#9907).
4951 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4952 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4953 (eshell-structure-basic-command, eshell-rewrite-while-command)
4954 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4955 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4956 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4957 (eshell-do-pipelines-synchronously, eshell-eval-command):
4958 Use backquotes and prefer setq to set.
4959 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4960 (eshell-macrop): Use functionp.
c1e2f5fa 4961 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4962
30b65d9c
CY
49632011-10-30 Chong Yidong <cyd@gnu.org>
4964
4965 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4966 instead of set-mark (Bug#9810).
4967
2d197ffb
CY
49682011-10-30 Chong Yidong <cyd@gnu.org>
4969
4970 * window.el (split-window-below, split-window-right): Rename from
4971 split-window-above-each-other and split-window-side-by-side
4972 respectively. All callers changed.
4973 (split-window-sensibly, split-window-sensibly): Use them.
4974 (split-window-keep-point): Doc fix.
4975
4976 * isearch.el: Add isearch-scroll property to split-window-below
4977 and split-window-right.
4978
4979 * follow.el (follow-mode):
4980 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4981 * progmodes/ada-xref.el (ada-gdb-application):
4982 * emulation/vip.el (vip-buffer-in-two-windows):
4983 * image-dired.el (image-dired-dired-with-window-configuration):
4984 * dired-x.el (dired-do-find-marked-files):
4985 * dired.el (dired-pop-to-buffer):
4986 * bs.el (bs--show-with-configuration):
4987 * vc/emerge.el (emerge-setup-windows):
4988 * textmodes/two-column.el (2C-two-columns):
4989 * textmodes/reftex-toc.el (reftex-toc):
4990 * progmodes/gdb-mi.el (gdb-setup-windows):
4991 * progmodes/fortran.el (fortran-window-create):
4992 * net/newst-treeview.el (newsticker--treeview-window-init):
4993 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4994 * emulation/tpu-edt.el (tpu-gold-map):
4995 * emulation/crisp.el (crisp-mode-map):
4996 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4997
38bb2ca8
CY
49982011-10-29 Chong Yidong <cyd@gnu.org>
4999
aa4de341
CY
5000 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5001
e1eb5385
CY
5002 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5003
5d2ece3c
CY
5004 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5005 forged Ispell output (Bug#7904).
5006
38bb2ca8
CY
5007 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5008
d0af9f77
SM
50092011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5010
5011 * doc-view.el: Avoid ugly errors about not finding nil.
5012 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5013 (doc-view-dvipdf-program, doc-view-unoconv-program)
5014 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5015 Avoid nil or absolute file name as default value.
5016 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5017
52bedd34
AM
50182011-10-28 Alan Mackenzie <acm@muc.de>
5019
db22a3c2 5020 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5021
7e43cfa5
AM
50222011-10-28 Alan Mackenzie <acm@muc.de>
5023
5024 Amend the handling of c-beginning/end-of-defun in nested declaration
5025 scopes.
5026
52bedd34
AM
5027 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5028 cc-langs.el. Change it to a defcustom.
7e43cfa5 5029
52bedd34
AM
5030 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5031 cc-vars.el.
7e43cfa5 5032
d0af9f77
SM
5033 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5034 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5035
52bedd34 5036 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5037 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5038 (c-widen-to-enclosing-decl-scope): New function.
5039 (c-while-widening-to-decl-block): New macro.
5040 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5041 outward for defun boundaries, and correspondingly change symbol
5042 `respect-enclosure' to `go-outward'.
5043 (c-declaration-limits): Change algorithm to report only the "innermost"
5044 defun's boundaries.
5045
1a2ce9ee
DD
50462011-10-28 Deniz Dogan <deniz@dogan.se>
5047
5048 * net/rcirc.el (rcirc-mode): Use hard newlines.
5049
bc97a826
AM
50502011-10-28 Alan Mackenzie <acm@muc.de>
5051
5052 Amend to indent and fontify macros "which include their own semicolon"
5053 correctly, using the "virtual semicolon" mechanism.
5054
52bedd34 5055 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5056
d0af9f77 5057 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5058 Recode to scan one line at a time rather than having \n and \r
58179cce 5059 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5060 (c-forward-label): Amend for virtual semicolons.
58179cce 5061 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5062
52bedd34
AM
5063 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5064 of the new C macros.
bc97a826 5065
52bedd34 5066 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5067 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5068 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5069 (c-opt-cpp-macro-define): Make into a full language variable.
5070 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5071 AWK Mode (including \n, \r) removed, no longer needed.
5072
d0af9f77
SM
5073 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5074 Invoke c-make-macro-with-semi-re.
bc97a826 5075
52bedd34
AM
5076 * progmodes/cc-vars.el (c-macro-with-semi-re):
5077 (c-macro-names-with-semicolon): New variables.
58179cce 5078 (c-make-macro-with-semi-re): New function.
bc97a826 5079
7a6c0941
SM
50802011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5081
5082 * vc/log-edit.el: Fill empty field rather than adding new one.
5083 (log-edit-add-field): New function.
5084 (log-edit-insert-changelog): Use it.
5085
b0c4cdcf
ML
50862011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5087
5088 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5089
ee1f1da9
SM
50902011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5093 (gdb--check-interpreter): New function.
5094 (gdb): Use it.
5095
51bc5f8b
GM
50962011-10-27 Glenn Morris <rgm@gnu.org>
5097
416a2c45
GM
5098 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5099 (least-positive-float, least-negative-float)
5100 (least-positive-normalized-float, least-negative-normalized-float)
5101 (float-epsilon, float-negative-epsilon):
5102 Remove unnecessary declarations.
5103
5104 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5105 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5106 (least-positive-float, least-negative-float)
5107 (least-positive-normalized-float, least-negative-normalized-float)
5108 (float-epsilon, float-negative-epsilon): Add doc-strings,
5109 based on those in cl.texi.
5110
51bc5f8b
GM
5111 * files.el (set-visited-file-name): If the major-mode changed,
5112 reload the local variables. (Bug#9796)
5113
15de15c6
CY
51142011-10-27 Chong Yidong <cyd@gnu.org>
5115
5116 * subr.el (change-major-mode-after-body-hook): New hook.
5117 (run-mode-hooks): Run it.
5118
ee1f1da9
SM
5119 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5120 Use change-major-mode-before-body-hook.
15de15c6
CY
5121
5122 * simple.el (fundamental-mode):
5123 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5124 change introducing fundamental-mode-hook.
5125
5430d399
JB
51262011-10-26 Juanma Barranquero <lekktu@gmail.com>
5127
acc825c5 5128 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5129
ad74a69e
MA
51302011-10-26 Michael Albinus <michael.albinus@gmx.de>
5131
5132 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5133 tramp.el explicitly. (Bug#7583)
ad74a69e 5134
71d4c2a5
SM
51352011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 * progmodes/octave-mod.el:
5138 * progmodes/octave-inf.el: Update maintainer.
5139
b1f6fa26
CY
51402011-10-26 Chong Yidong <cyd@gnu.org>
5141
5142 * subr.el (with-wrapper-hook): Rewrite doc.
5143
3f04efd6
MA
51442011-10-25 Michael Albinus <michael.albinus@gmx.de>
5145
5146 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5147 filenames "/method:foo:". (Bug#9793)
3f04efd6 5148
410488d3
SM
51492011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5152 (bug#9865).
5153
c1ebb47e
GM
51542011-10-24 Glenn Morris <rgm@gnu.org>
5155
5156 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5157
7f5c46c7
MA
51582011-10-24 Michael Albinus <michael.albinus@gmx.de>
5159
5160 * notifications.el: Add the requirement of a running D-Bus session
5161 bus to the Commentary.
5162
db2440b6
JL
51632011-10-24 Juri Linkov <juri@jurta.org>
5164
5165 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5166 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5167 (Bug#9364)
5168
feecf435
JL
51692011-10-24 Juri Linkov <juri@jurta.org>
5170
5171 * info.el (Info-following-node-name-re): Add newline to the list
5172 of allowed characters for leading space. (Bug#9824)
5173
a3839de2
SM
51742011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5175
acc825c5
SM
5176 * progmodes/octave-inf.el (inferior-octave-mode-map):
5177 Fix C-c C-h binding.
a3839de2
SM
5178 * progmodes/octave-mod.el (octave-help): Remove.
5179
09388e76
MA
51802011-10-23 Michael Albinus <michael.albinus@gmx.de>
5181
5182 Sync with Tramp 2.2.3.
5183
5184 * net/tramp-cache.el (top): Pacify byte-compiler using
5185 `init-file-user' and `site-run-file'.
5186
5187 * net/trampver.el: Update release number.
5188
86c60681
CY
51892011-10-23 Chong Yidong <cyd@gnu.org>
5190
5191 * files.el (toggle-read-only): Remove obsolete comment about
5192 version control.
5193
5194 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5195 for toggle-read-only. Note that this hasn't called vc-next-action
5196 since 2008-05-02, though it wasn't documented at the time.
5197
a3839de2
SM
5198 * vc/ediff-init.el (ediff-toggle-read-only-function):
5199 Use toggle-read-only.
86c60681 5200
cd5495ff
AM
52012011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5202
5203 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5204 of c-parse-state.
5205
00b77525 5206 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5207 correct faulty logical expression.
cd5495ff
AM
5208 (c-parse-state-state, c-record-parse-state-state):
5209 (c-replay-parse-state-state): New defvar/defuns.
5210 (c-debug-parse-state): Use new functions.
5211
42ee24ed
MR
52122011-10-22 Martin Rudalics <rudalics@gmx.at>
5213
5214 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5215 last fix. Use window-in-direction correctly.
42ee24ed 5216
a7dee7e7
CY
52172011-10-21 Chong Yidong <cyd@gnu.org>
5218
5219 * progmodes/idlwave.el (idlwave-mode):
5220 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5221 require-final-newline; that's done in prog-mode.
5222 Suggested by Stefan Monnier.
a7dee7e7 5223
e07b9a6d
MR
52242011-10-21 Martin Rudalics <rudalics@gmx.at>
5225
5226 * mouse.el (mouse-drag-window-above)
5227 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5228 (mouse-drag-mode-line-1, mouse-drag-header-line)
5229 (mouse-drag-vertical-line-rightward-window): Remove.
5230 (mouse-drag-line): New function.
5231 (mouse-drag-mode-line, mouse-drag-header-line)
5232 (mouse-drag-vertical-line): Call mouse-drag-line.
5233 * window.el (window-at-side-p, windows-at-side): New functions.
5234
7e1361d9
UM
52352011-10-21 Ulrich Mueller <ulm@gentoo.org>
5236
5237 * tar-mode.el (tar-grind-file-mode):
5238 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5239
30fcaf3a
CY
52402011-10-21 Chong Yidong <cyd@gnu.org>
5241
5242 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5243 * progmodes/vera-mode.el (vera-mode):
5244 Use mode-require-final-newline.
30fcaf3a 5245
516eddb0
GM
52462011-10-20 Glenn Morris <rgm@gnu.org>
5247
db22a3c2 5248 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5249
10d5f513
CS
52502011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5251
5252 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5253
ac6c8639
CY
52542011-10-20 Chong Yidong <cyd@gnu.org>
5255
5256 * emulation/cua-base.el (cua-mode):
5257 * mail/footnote.el (footnote-mode):
5258 * mail/mailabbrev.el (mail-abbrevs-mode):
5259 * net/xesam.el (xesam-minor-mode):
5260 * progmodes/bug-reference.el (bug-reference-mode):
5261 * progmodes/cap-words.el (capitalized-words-mode):
5262 * progmodes/compile.el (compilation-minor-mode)
5263 (compilation-shell-minor-mode):
5264 * progmodes/gud.el (gud-tooltip-mode):
5265 * progmodes/hideif.el (hide-ifdef-mode):
5266 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5267 * progmodes/subword.el (subword-mode):
5268 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5269 * progmodes/which-func.el (which-function-mode):
5270 * term/tvi970.el (tvi970-set-keypad-mode):
5271 * term/vt100.el (vt100-wide-mode):
5272 * textmodes/flyspell.el (flyspell-mode):
5273 * textmodes/ispell.el (ispell-minor-mode):
5274 * textmodes/nroff-mode.el (nroff-electric-mode):
5275 * textmodes/paragraphs.el (use-hard-newlines):
5276 * textmodes/refill.el (refill-mode):
5277 * textmodes/reftex.el (reftex-mode):
5278 * textmodes/rst.el (rst-minor-mode):
5279 * textmodes/sgml-mode.el (html-autoview-mode)
5280 (sgml-electric-tag-pair-mode):
5281 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5282 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5283 * emulation/crisp.el (crisp-mode):
5284 * emacs-lisp/eldoc.el (eldoc-mode):
5285 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5286 minor mode behavior.
5287
aa42ab43
JL
52882011-10-19 Juri Linkov <juri@jurta.org>
5289
5290 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5291 the list of hard-coded chars with escape-glyph face.
5292
89400f1d
SM
52932011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5294
5295 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5296
305c07f6
MA
52972011-10-19 Michael Albinus <michael.albinus@gmx.de>
5298
5299 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5300 running process.
5301
13754b54
GM
53022011-10-19 Glenn Morris <rgm@gnu.org>
5303
5304 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5305 Ignore ignored files. (Bug#9726)
5306
06e21633
CY
53072011-10-19 Chong Yidong <cyd@gnu.org>
5308
5309 Doc fix for minor modes, stating that an omitted argument enables
5310 the mode unconditionally when called from Lisp.
5311
5312 * abbrev.el (abbrev-mode):
5313 * allout.el (allout-mode):
5314 * autoinsert.el (auto-insert-mode):
5315 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5316 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5317 (global-auto-revert-mode):
5318 * battery.el (display-battery-mode):
5319 * composite.el (global-auto-composition-mode)
5320 (auto-composition-mode):
5321 * delsel.el (delete-selection-mode):
5322 * desktop.el (desktop-save-mode):
5323 * dired-x.el (dired-omit-mode):
5324 * dirtrack.el (dirtrack-mode):
5325 * doc-view.el (doc-view-minor-mode):
5326 * double.el (double-mode):
5327 * electric.el (electric-indent-mode, electric-pair-mode):
5328 * emacs-lock.el (emacs-lock-mode):
5329 * epa-hook.el (auto-encryption-mode):
5330 * follow.el (follow-mode):
5331 * font-core.el (font-lock-mode):
5332 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5333 * help.el (temp-buffer-resize-mode):
5334 * hilit-chg.el (highlight-changes-mode)
5335 (highlight-changes-visible-mode):
5336 * hi-lock.el (hi-lock-mode):
5337 * hl-line.el (hl-line-mode, global-hl-line-mode):
5338 * icomplete.el (icomplete-mode):
5339 * ido.el (ido-everywhere):
5340 * image-file.el (auto-image-file-mode):
5341 * image-mode.el (image-minor-mode):
5342 * iswitchb.el (iswitchb-mode):
5343 * jka-cmpr-hook.el (auto-compression-mode):
5344 * linum.el (linum-mode):
5345 * longlines.el (longlines-mode):
5346 * master.el (master-mode):
5347 * mb-depth.el (minibuffer-depth-indicate-mode):
5348 * menu-bar.el (menu-bar-mode):
5349 * minibuf-eldef.el (minibuffer-electric-default-mode):
5350 * mouse-sel.el (mouse-sel-mode):
5351 * msb.el (msb-mode):
5352 * mwheel.el (mouse-wheel-mode):
5353 * outline.el (outline-minor-mode):
5354 * paren.el (show-paren-mode):
5355 * recentf.el (recentf-mode):
5356 * reveal.el (reveal-mode, global-reveal-mode):
5357 * rfn-eshadow.el (file-name-shadow-mode):
5358 * ruler-mode.el (ruler-mode):
5359 * savehist.el (savehist-mode):
5360 * scroll-all.el (scroll-all-mode):
5361 * scroll-bar.el (scroll-bar-mode):
5362 * server.el (server-mode):
5363 * shell.el (shell-dirtrack-mode):
5364 * simple.el (auto-fill-mode, transient-mark-mode)
5365 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5366 (line-number-mode, column-number-mode, size-indication-mode)
5367 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5368 * strokes.el (strokes-mode):
5369 * time.el (display-time-mode):
5370 * t-mouse.el (gpm-mouse-mode):
5371 * tool-bar.el (tool-bar-mode):
5372 * tooltip.el (tooltip-mode):
5373 * type-break.el (type-break-mode-line-message-mode)
5374 (type-break-query-mode):
5375 * view.el (view-mode):
5376 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5377 (global-whitespace-mode, global-whitespace-newline-mode):
5378 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5379
a3839de2
SM
5380 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5381 Fix autogenerated docstring.
06e21633 5382
5214e501
JL
53832011-10-19 Juri Linkov <juri@jurta.org>
5384
5385 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5386 by checking environment variables "DESKTOP_SESSION" and
5387 "XDG_CURRENT_DESKTOP". (Bug#9779)
5388
195f8db9
JL
53892011-10-19 Juri Linkov <juri@jurta.org>
5390
5391 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5392 (browse-url-chromium-program, browse-url-chromium-arguments):
5393 New defcustoms.
5394 (browse-url-default-browser): Check for `browse-url-chromium' and
5395 call `browse-url-chromium-program'.
5396 (browse-url-chromium): New command. (Bug#9779)
5397
343a34ff
JB
53982011-10-18 Juanma Barranquero <lekktu@gmail.com>
5399
5400 * facemenu.el (list-colors-duplicates): On Windows, detect more
5401 duplicates by assuming that only colors matching "^System" are
5402 special "system colors". (Bug#9722)
5403
6978a151
SM
54042011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5405
5406 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5407 to distinguish the author from the committer.
5408
6a80b297
MA
54092011-10-18 Michael Albinus <michael.albinus@gmx.de>
5410
5411 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5412
b31a5677
JK
54132011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5414
5415 * international/mule.el (sgml-html-meta-auto-coding-function):
5416 Add support for detecting encoding in HTML5 specified only as
5417 <meta charset="UTF-8">. Implementation just makes http-equiv and
5418 content-type parts from HTML4 encoding string optional. (Bug#9716)
5419
80c6d77f
GM
54202011-10-18 Glenn Morris <rgm@gnu.org>
5421
5422 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5423
08b0fee8
CY
54242011-10-18 Chong Yidong <cyd@gnu.org>
5425
5426 * faces.el (cursor): Doc fix.
5427
67e729a5
CY
54282011-10-17 Chong Yidong <cyd@gnu.org>
5429
5430 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5431
343a34ff 54322011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5433
5434 * dirtrack.el (dirtrack): Support shell buffers with path
5435 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5436
0bc06380
TZ
54372011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5438
5439 * json.el: Bump version to 1.3 and note change in History.
5440 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5441
8b79f3e0
SM
54422011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5443
5a7c536b
SM
5444 * comint.el (comint-insert-input, comint-send-input)
5445 (comint-get-old-input-default, comint-backward-matching-input)
5446 (comint-next-prompt): Use nil instead of `input' for field property of
5447 past user input (bug#114).
5448
96a8a0df
SM
5449 * minibuffer.el (completion--replace): Inherit surrounding properties
5450 (bug#114).
5451 (minibuffer-complete-and-exit): Use it.
5452
8b79f3e0
SM
5453 * comint.el (comint--table-subvert): Quote the all-completions output
5454 (bug#9160).
5455
b8f7ff0d
MR
54562011-10-17 Martin Rudalics <rudalics@gmx.at>
5457
8b79f3e0 5458 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5459
b8f7ff0d 5460 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5461 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5462 entries and separate them from frame entries.
5463
c235b555
GM
54642011-10-15 Glenn Morris <rgm@gnu.org>
5465
5466 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5467 Doc fixes.
5468
6bbfa6e1
CY
54692011-10-15 Chong Yidong <cyd@stupidchicken.com>
5470
8b79f3e0
SM
5471 * net/network-stream.el (network-stream-open-starttls):
5472 Improve detection of failure due to lack of TLS support.
ec5c990d 5473
6bbfa6e1
CY
5474 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5475 putting the input text in front and in bold.
5476
98488977
SM
54772011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5478
3d1337be
SM
5479 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5480
ee0b45e4
SM
5481 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5482 empty buffer.
5483
98488977
SM
5484 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5485 unread-command-events rather than pushing yet-another event.
5486
186f4720
EZ
54872011-10-14 Eli Zaretskii <eliz@gnu.org>
5488
5489 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5490 the explanation of the possible choices. Make the options passed
5491 to completing-read shorter.
5492
8b7a997c
AM
54932011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5494
5495 * textmodes/flyspell.el (flyspell-large-region): Make sure
5496 extended character mode is used if defined (Bug#1339).
5497
12587bbb
EZ
54982011-10-13 Eli Zaretskii <eliz@gnu.org>
5499
5500 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5501 character info for LRE, LRO, RLE, and RLO characters by appending
5502 an invisible PDF.
12587bbb 5503
bad41229
SM
55042011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5505
5506 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5507 even in case of error; add debug spec; simplify data flow.
5508 (with-timeout-handler): Remove.
5509
28dbc92f
MA
55102011-10-12 Michael Albinus <michael.albinus@gmx.de>
5511
5512 Fix Bug#6019, Bug#9315.
5513
5514 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5515 complete `buffer-file-name', the local file name part could look
5516 remotely (for example on VMS).
5517
5518 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5519 `tramp-run-real-handler'.
5520 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5521 already quoted by '"'.
5522
5523 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5524 Let `file-name-handler-alist' be nil, the local file name part
5525 could look remotely (for example on VMS).
5526
e1b0b23a
SM
55272011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5528
5529 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5530 from here...
5531 (flyspell-post-command-hook): ...to here.
5532
a120bde9
SM
55332011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5534
5535 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5536 if not needed.
5537 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5538 using completion. Protect against "slow" callers.
5539 Remove the "message hack".
5540
7ce7717b
JL
55412011-10-11 Juri Linkov <juri@jurta.org>
5542
5543 * isearch.el (isearch-lazy-highlight-word): New variable.
5544 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5545 Use it. (Bug#9727)
5546
c02ee9d6
GM
55472011-10-11 Glenn Morris <rgm@gnu.org>
5548
5549 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5550 like f90-previous-statement does.
5551
93e616fd 55522011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5553
1f190e73 5554 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5555 only in interactive use, to avoid error.
5556
af7b6078
SM
55572011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5558
5559 * minibuffer.el (completion-file-name-table): Fix last change,
5560 i.e. ignore normal errors but not the other ones.
5561
0563dae9
MR
55622011-10-10 Martin Rudalics <rudalics@gmx.at>
5563
5564 * window.el (special-display-buffer-names)
5565 (special-display-regexps): Remove some remnants of earlier
5566 changes from doc-strings.
366ca7f3
MR
5567 (quit-windows-on): New function.
5568
5569 * vc/vc.el (vc-revert, vc-rollback):
5570 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5571 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5572 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5573
49677495
MR
55742011-10-09 Martin Rudalics <rudalics@gmx.at>
5575
5576 * window.el (frame-auto-hide-function): Add version tag.
5577 (Bug#9699)
5578
56f2d1e1
MA
55792011-10-09 Michael Albinus <michael.albinus@gmx.de>
5580
5581 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5582 condition.
5583
112a6592
LL
55842011-10-09 Leo Liu <sdl.web@gmail.com>
5585
5586 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5587 (Bug#9701)
5588
0812589b
GM
55892011-10-08 Glenn Morris <rgm@gnu.org>
5590
5591 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5592 before the first code statement zero indent. (Bug#9690)
5593
b2b0776e
CY
55942011-10-08 Chong Yidong <cyd@stupidchicken.com>
5595
5596 * simple.el (count-words-region): Always count in the region.
5597 Report the number of lines and characters too.
5598 (count-words): New command, which counts in the buffer if the
5599 region is inactive, as count-words-region used to.
5600 (count-words--message): New function. Handle plurals.
5601 (count-lines-region): Make it an alias for count-words-region.
5602
5603 * bindings.el (esc-map): Replace count-lines-region with
5604 count-words-region.
5605
c557cd6b
MR
56062011-10-08 Martin Rudalics <rudalics@gmx.at>
5607
5608 * window.el (window--delete): Delete dedicated frame
5609 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5610 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5611
61a57ef4 56122011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5613
3a7d293b 5614 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5615
c3833279
CY
56162011-10-07 Chong Yidong <cyd@stupidchicken.com>
5617
5618 * bindings.el ([M-left],[M-right]): Bind to left-word and
5619 right-word respectively.
5620
21ce8245
GM
56212011-10-07 Glenn Morris <rgm@gnu.org>
5622
5623 * cus-start.el (debug-on-quit): Fix custom type.
5624
6d823bb2
LMI
56252011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5626
0181e193
LMI
5627 * subr.el (define-key-after): Clarify that the function is not
5628 useful for non-menu keymaps.
5629
6d823bb2
LMI
5630 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5631
8e3459ce 56322011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5633
21ce8245 5634 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5635 in current minibuffer (Fix bug with recursive minibuffers).
5636
a1c2d21e
CY
56372011-10-06 Chong Yidong <cyd@stupidchicken.com>
5638
5639 * progmodes/gdb-mi.el (gdb): Doc fix.
5640
5a4cf282
MR
56412011-10-05 Martin Rudalics <rudalics@gmx.at>
5642
5643 * window.el (frame-auto-hide-function): New option replacing
5644 frame-auto-delete. Suggested by Stefan Monnier.
5645 (window--delete): Call frame-auto-hide-function instead of
5646 investigating frame-auto-delete.
c96111ea
MR
5647 (window-point-1, set-window-point-1): New functions.
5648 (window-in-direction, record-window-buffer, window-state-get-1)
5649 (display-buffer-record-window): Use window-point-1 instead of
5650 window-point.
5651 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5652
9854542e
SM
56532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5654
5655 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5656
8943cfb0
GM
56572011-10-05 Glenn Morris <rgm@gnu.org>
5658
5659 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5660 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5661
647ab967
LL
56622011-10-05 Leo Liu <sdl.web@gmail.com>
5663
5664 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5665 works with buffer object.
5666
3ddfbced
SM
56672011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5668
5669 * mpc.el (mpc-tool-bar-map): Add labels.
5670
bdfa5dd2
GM
56712011-10-04 Glenn Morris <rgm@gnu.org>
5672
5673 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5674
0e2070b5
MR
56752011-10-04 Martin Rudalics <rudalics@gmx.at>
5676
5677 * window.el (window--delete): New function.
5678 (frame-auto-delete): Resuscitate option.
5679 (bury-buffer, replace-buffer-in-windows)
5680 (quit-window): Rewrite using window--delete.
5681 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5682 Pass display-buffer-mark-dedicated to window--display-buffer-2
5683 (Bug#9639).
5684
3dc61a09
SM
56852011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5686
915a9b64
SM
5687 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5688 returns a list (bug#9554). Add remote file name completion.
5689 * comint.el (comint--table-subvert): Curry and get quote&unquote
5690 functions as arguments.
5691 (comint--complete-file-name-data): Adjust call accordingly.
5692 * pcomplete.el (pcomplete--table-subvert): Remove.
5693 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5694
3dc61a09
SM
5695 * minibuffer.el (completion-table-case-fold): Use currying.
5696 (completion--styles-type, completion--cycling-threshold-type):
5697 New constants.
5698 (completion-styles, completion-category-overrides)
5699 (completion-cycle-threshold): Use them.
5700 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5701 completion-table-case-fold.
5702
8ea0a993
SB
57032011-10-03 Stephen Berman <stephen.berman@gmx.net>
5704
5705 * minibuffer.el (completion-category-overrides): Fix type of styles
5706 and add more user friendly tags (bug#9660).
5707
8c24b7f6
SM
57082011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5711 (mule-input-method-string): New widget.
5712 (default-input-method, language-info-custom-alist): Use it.
5713
428fe61a
SM
57142011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5715
32c1fffd
SM
5716 * pcomplete.el: Require comint.
5717 (pcomplete--common-suffix): Remove.
5718 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5719 (pcomplete--table-subvert): Sync with comint--table-subvert.
5720 (pcomplete--entries): Use comint-completion-file-name-table.
5721 * comint.el (comint-unquote-filename): Simplify.
5722 (comint-completion-file-name-table): New function (bug#9616).
5723 (comint--complete-file-name-data): Use it.
5724
428fe61a
SM
5725 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5726 (pcmpl-gnu-tar-buffer): Remove.
5727 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5728 around. Make sure pcomplete-suffix-list is only changed temporarily.
5729 Don't look inside the tar's file if it's too large.
428fe61a 5730
04c52e2f
CY
57312011-10-01 Chong Yidong <cyd@stupidchicken.com>
5732
ce3cefcc
CY
5733 * cus-edit.el (custom-mode-map):
5734 * epa.el (epa-key-list-mode-map):
5735 * man.el (Man-mode-map):
5736 * startup.el (splash-screen-keymap):
5737 * simple.el (special-mode-map): Use scroll-up-command and
5738 scroll-down-command.
5739
5740 * progmodes/idlw-help.el (idlwave-help-mode-map):
5741 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5742 * net/newst-plainview.el (newsticker-mode-map):
5743 * emulation/ws-mode.el (wordstar-mode-map):
5744 * emulation/vi.el (vi-com-map):
5745 * calc/calc-graph.el (calc-graph-show-dumb):
5746 * term/sun.el (terminal-init-sun):
5747 * term/ns-win.el (global-map):
5748 * progmodes/grep.el (grep-mode-map):
5749 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5750 * mail/rmail.el (rmail-mode-map):
5751 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5752
04c52e2f
CY
5753 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5754 custom-safe-themes as special.
5755
79adf8c8
JD
57562011-10-01 Julien Danjou <julien@danjou.info>
5757
5758 * notifications.el (notifications-notify): Fix docstring.
5759
63bd50d3
PS
57602011-10-01 Per Starbäck <per@starback.se>
5761
5762 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5763
199e4c7e
MR
57642011-09-30 Martin Rudalics <rudalics@gmx.at>
5765
5766 * startup.el (command-line-1): Fix last fix by inserting
5767 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5768 (Bug#9605) and (Bug#9636)
199e4c7e 5769
fe5f08dd
EZ
57702011-09-29 Eli Zaretskii <eliz@gnu.org>
5771
5772 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5773 window is hscrolled, move by logical lines. (Bug#9607)
5774 (line-move-visual): Update the doc string to the above effect.
5775
b5516bbd
MR
57762011-09-29 Martin Rudalics <rudalics@gmx.at>
5777
ccee00c0
MR
5778 * window.el (display-buffer-record-window): When WINDOW is the
5779 selected window use `point' instead of `window-point'. (Bug#9626)
5780
b5516bbd
MR
5781 * startup.el (command-line-1): Use insert-before-markers when
5782 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5783
b5516bbd
MR
5784 * help.el (help-window): Remove variable.
5785
52aa0014
GM
57862011-09-29 Glenn Morris <rgm@gnu.org>
5787
5788 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5789
df9a7357
JB
57902011-09-29 Juanma Barranquero <lekktu@gmail.com>
5791
5792 * descr-text.el (describe-char-categories): Accept category
5793 descriptions more than one line long.
5794
a8406c20
SM
57952011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5796
88d9610c
SM
5797 * simple.el (delete-trailing-whitespace): Fix last change.
5798
a5daf810
SM
5799 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5800 Don't confuse "y => 3" as the beginning of a `y' operation.
5801
a8406c20
SM
5802 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5803 object has more than 4 slots (bug#9613).
5804
a239d4e9
JB
58052011-09-28 Juanma Barranquero <lekktu@gmail.com>
5806
5807 * subr.el (with-output-to-temp-buffer):
5808 * net/quickurl.el (quickurl, quickurl-browse-url):
5809 Fix typos in docstrings.
5810
693fbdb6
EZ
58112011-09-27 Eli Zaretskii <eliz@gnu.org>
5812
5813 * minibuffer.el (completion-styles)
5814 (completion-category-overrides): Cross reference each other in doc
5815 strings.
5816
8b457e28
GM
58172011-09-27 Glenn Morris <rgm@gnu.org>
5818
5819 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5820 to split-string. (Bug#9606)
5821
85a16208
LMI
58222011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5823
5824 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5825 (bug#9615).
5826
502f9ebd
CY
58272011-09-27 Chong Yidong <cyd@stupidchicken.com>
5828
5829 * emacs-lisp/package.el (list-packages): Fix echo area message.
5830
7690bdea
LL
58312011-09-27 Leo Liu <sdl.web@gmail.com>
5832
5833 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5834
e2ee6f30
MA
58352011-09-25 Michael Albinus <michael.albinus@gmx.de>
5836
5837 * net/dbus.el (dbus-unregister-object): Don't release services for
5838 registered signals. (Bug#9581)
5839
f3f98342
TZ
58402011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5841
5842 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5843 function that picks between cfengine 2 and 3 support
5844 automatically. Update docs accordingly.
5845
dd7aa8dd
KH
58462011-09-22 Kenichi Handa <handa@m17n.org>
5847
5848 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5849 ZERO.
5850 (indian-itrans-v5-table-for-tamil): New variable.
5851 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5852
3f2b07f8
KM
58532011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5854
5855 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5856 that's true if the current command involved collapsing of text.
5857 It's reset to false at the beginning of the next command.
5858 (allout-post-command-business): Move the cursor to the beginning
5859 of entry if the cursor is hidden and collapsing activity just
5860 happened.
5861
371d6a61
CY
58622011-09-24 Chong Yidong <cyd@stupidchicken.com>
5863
5864 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5865 tracking (Bug#9541).
5866
2ac2721a
UJ
58672011-09-24 Ulf Jasper <ulf.jasper@web.de>
5868
5869 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5870 (newsticker-show-news): Automatically load html rendering package
5871 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5872 because w3m-fill-column is let-bound" and the error "Symbol's value
5873 as variable is void: w3m-fill-column".
2ac2721a 5874
fac7ae53
MA
58752011-09-24 Michael Albinus <michael.albinus@gmx.de>
5876
5877 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5878 Release services only if they are defined. (Bug#9581)
5879
e08b633b
RS
58802011-09-23 Richard Stallman <rms@gnu.org>
5881
e488d29c
RS
5882 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5883 distinguish start of paragraph from start of its text.
5884
19c38752
RS
5885 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5886
e08b633b
RS
5887 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5888 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5889 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5890
0a39f27e
AS
58912011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5892
5893 * international/mule-diag.el (mule-diag): Insert a newline after
5894 each fontset description.
5895
db4e950d
SM
58962011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5897
5898 * simple.el (delete-trailing-whitespace):
5899 Document last change; simplify.
5900
eca3f3ea
PW
59012011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5902
d68e189a
PW
5903 * simple.el (delete-trailing-whitespace): Also delete
5904 extra newlines at the end of the buffer.
5905
eca3f3ea
PW
5906 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5907 (picture-newline): Use forward-line so as to ignore fields.
5908
01c157cc
SM
59092011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5910
5911 * subr.el (with-wrapper-hook): Fix edebug spec.
5912
022de23e
LMI
59132011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5914
5915 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5916 (bug#4538).
5917
91683089
MA
59182011-09-23 Michael Albinus <michael.albinus@gmx.de>
5919
eca3f3ea
PW
5920 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5921 Fix nasty bug using wrong cached values.
91683089 5922
5bdd6fa4
AM
59232011-09-23 Alan Mackenzie <acm@muc.de>
5924
5925 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5926
97adfb97
CY
59272011-09-23 Chong Yidong <cyd@stupidchicken.com>
5928
5929 * window.el (pop-to-buffer): Ensure right window is selected if we
5930 chose another frame.
5931
d4ef2b50
EZ
59322011-09-22 Eli Zaretskii <eliz@gnu.org>
5933
5934 * simple.el (what-cursor-position): Use get-char-property-change
5935 and next-single-char-property-change, to be able to show display
5936 properties that come from overlays as well as text properties.
5937
72258fe5
CY
59382011-09-22 Chong Yidong <cyd@stupidchicken.com>
5939
5940 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5941
5942 * cmuscheme.el (run-scheme, switch-to-scheme):
5943 * cus-edit.el (customize-group, custom-buffer-create)
5944 (customize-browse):
5945 * info.el (info):
5946 * shell.el (shell):
5947 * mail/sendmail.el (mail):
5948 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5949
8f098516
RS
59502011-09-22 Richard Stallman <rms@gnu.org>
5951
5952 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5953 move back only to line beg, don't move back over blank lines.
5954
e74f1bb6
MA
59552011-09-22 Michael Albinus <michael.albinus@gmx.de>
5956
5957 * files.el (copy-directory): Set directory attributes only in case
5958 they could be retrieved from the source directory. (Bug#9565)
5959
bfeef8b6
DK
59602011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5961
5962 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5963 (hs-find-block-beginning, hs-hide-level-recursive):
5964 Ignore strings as well as comments. (Bug#9502)
5965
7e423bb8
AS
59662011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5967
5968 * progmodes/sql.el (sql-comint-postgres):
5969 Convert port number to a string. (Bug#9566)
5970
b4d72fcf
MR
59712011-09-22 Martin Rudalics <rudalics@gmx.at>
5972
5973 * window.el (quit-window): Undedicate window when switching to
5974 previous buffer. Reported by Thierry Volpiatto
5975 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5976 (special-display-popup-frame): When popping up a new frame reset
5977 its previous buffers to nil. Simplify code.
b4d72fcf 5978
a7b88dc6
MA
59792011-09-21 Michael Albinus <michael.albinus@gmx.de>
5980
5981 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5982 and process filter, as done also in `shell-command'.
5983
cf4eacfd
MR
59842011-09-21 Martin Rudalics <rudalics@gmx.at>
5985
eca3f3ea 5986 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5987 Call set-window-start with NOFORCE argument t.
5988 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5989 (quit-window): Reword doc-string. Handle new format of
5990 quit-restore parameter. Don't delete window if it has a
5991 previous buffer we can show instead of the present one.
5992 (display-buffer-record-window): Rewrite using a new format for
5993 the quit-restore window parameter
5994 (special-display-popup-frame, display-buffer-same-window)
5995 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5996 (display-buffer-pop-up-window, display-buffer-use-some-window):
5997 Adapt symbol passed to display-buffer-record-window.
5998 * help.el (help-window-setup): Handle new format of quit-restore
5999 parameter.
6000
8d28cb95
SM
60012011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6002
94ab793f
SM
6003 * faces.el (face-list): Fix docstring (bug#9564).
6004
8d28cb95
SM
6005 * window.el (display-buffer--action-function-custom-type):
6006 Don't include internal functions in the Custom interface.
6007
3820edeb
JL
60082011-09-20 Juri Linkov <juri@jurta.org>
6009
6010 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6011 (Info-forward-node, Info-backward-node, Info-next-preorder)
6012 (Info-last-preorder): Use it. (Bug#9528)
6013
5147931d
JL
60142011-09-20 Juri Linkov <juri@jurta.org>
6015
6016 * info.el (Info-last-preorder): Visit last menu item only when
6017 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6018
cf499a1a
JD
60192011-09-20 Julien Danjou <julien@danjou.info>
6020
6021 * password-cache.el (password-cache-remove): Remove entries even if the
6022 value is nil, so that password with a nil value (negative caching) is
6023 possible to invalidate.
6024
f84e2fe2
LM
60252011-09-20 Lawrence Mitchell <wence@gmx.li>
6026
6027 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6028 all whitespace around breakpoint. (Bug#9553)
6029 (f90-find-breakpoint): Only break at whitespace inside a comment.
6030
78054a46
SM
60312011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6032
6033 * minibuffer.el (completion-file-name-table): Keep track of errors.
6034 (completion-table-with-predicate): Handle the case where pred1 is nil.
6035 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6036
345083b2
SM
60372011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6038
e24e27be
SM
6039 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6040 (debugger-return-value): Signal an error if the debugging context does
6041 not await any return value.
6042
345083b2
SM
6043 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6044 * image-mode.el (image-toggle-display-text)
6045 (image-toggle-display-image): Stay away from evil `intangible'.
6046
08d355e3
LL
60472011-09-19 Leo Liu <sdl.web@gmail.com>
6048
6049 * replace.el (occur-revert-arguments): Make it permanent-local.
6050 (occur-mode): Don't call font-lock-defontify.
6051
f01da43f
CY
60522011-09-19 Chong Yidong <cyd@stupidchicken.com>
6053
6054 * net/ldap.el (ldap-search-internal): Don't push empty search
6055 result (Bug#9508).
6056
b6072fa6
SM
60572011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6058
6059 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6060
443d6696
MA
60612011-09-19 Michael Albinus <michael.albinus@gmx.de>
6062
6063 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6064 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6065
7cc6e154
JL
60662011-09-18 Juri Linkov <juri@jurta.org>
6067
6068 * buff-menu.el (Buffer-menu-mode-map):
6069 * dired.el (dired-mode-map):
6070 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6071 (lisp-interaction-mode-map):
6072 * emacs-lisp/package.el (package-menu-mode-map):
6073 * epa.el (epa-key-list-mode-map):
6074 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6075 (menu-bar-options-menu):
6076 * outline.el (outline-mode-menu-bar-map):
6077 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6078 * vc/vc-dir.el (vc-dir-menu-map):
6079 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6080 Capitalize non-function content words in menu item strings.
6081
6082 * dired.el (dired-mode-map): Add menu item for
6083 `image-dired-dired-toggle-marked-thumbs'.
6084
80302a81
JL
60852011-09-18 Juri Linkov <juri@jurta.org>
6086
6087 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6088 to `isearch-case-fold-search' and restore its original value
6089 after the `isearch-mode' call.
6090
46c5cf66
JL
60912011-09-18 Juri Linkov <juri@jurta.org>
6092
6093 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6094 because `zgrep' returns 1 for successful matches (bug#9226).
6095
d18b513b
JL
60962011-09-18 Juri Linkov <juri@jurta.org>
6097
6098 * info.el (Info-extract-menu-node-name): Check the second match
6099 for empty string (second test-case of bug#9528).
6100 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6101 intermediate nodes to the history (first test-case of bug#9528).
6102
72753f87
JL
61032011-09-18 Juri Linkov <juri@jurta.org>
6104
6105 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6106 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6107
c9384295
JL
61082011-09-18 Juri Linkov <juri@jurta.org>
6109
1154d12e
JB
6110 * info.el (Info-file-supports-index-cookies):
6111 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6112 outputs one more line for long file names (bug#4142).
c9384295 6113
d473dce8
CY
61142011-09-18 Chong Yidong <cyd@stupidchicken.com>
6115
6116 * newcomment.el (comment-normalize-vars): If prompting for
6117 comment-start, set comment-start-skip too (Bug#8424).
6118
2176854d
JB
61192011-09-18 Johan Bockgård <bojohan@gnu.org>
6120
6121 * icomplete.el: Fix previous fix of Bug#5849.
6122 (icomplete-mode): Don't set completion-show-inline-help.
6123 (icomplete-minibuffer-setup): Set completion-show-inline-help
6124 locally during icompletion.
6125
3aace4e4
CY
61262011-09-18 Chong Yidong <cyd@stupidchicken.com>
6127
c940224f
CY
6128 * woman.el (woman2-process-escapes): Don't delete unrecognized
6129 escapes (Bug#7843).
6130
3aace4e4
CY
6131 * files.el (inhibit-first-line-modes-regexps): Add image files.
6132 (hack-local-variables-prop-line): Return nil for malformed
6133 prop-lines (Bug#9044).
6134
710dec63
MA
61352011-09-18 Michael Albinus <michael.albinus@gmx.de>
6136
6137 * net/tramp.el (top): Don't require 'shell.
6138 (tramp-methods): Fix docstring.
6139 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6140 Return complete remote file name. Handle "smb" case.
6141 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6142 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6143
6144 * net/tramp-compat.el (top): Require 'shell.
6145
6146 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6147 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6148 `tramp-current-host'.
6149 (tramp-get-remote-tmpdir): Remove.
6150
6151 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6152 `tramp-tmpdir' entries.
6153 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6154 (tramp-smb-handle-file-attributes): Ignore errors.
6155 (tramp-smb-wait-for-output): Check also for process end.
6156
5d5ac8ec
LMI
61572011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6158
6159 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6160 when sending QUIT (bug#9312).
6161
8c0f49f0
CY
61622011-09-17 Chong Yidong <cyd@stupidchicken.com>
6163
6164 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6165 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6166 occur-mode-display-occurrence.
6167 (occur-edit-mode): Add usage message.
6168 (occur-cease-edit): New command.
6169 (occur-after-change-function): Use text properties to find the
6170 position of the prefix text.
6171 (occur-engine): Set stickiness of prefix text properties.
6172
8f1383f7
GM
61732011-09-17 Glenn Morris <rgm@gnu.org>
6174
6175 * progmodes/etags.el (complete-tag):
6176 Fix call to completion-in-region. (Bug#9526)
6177
744ba0e3
JL
61782011-09-17 Juri Linkov <juri@jurta.org>
6179
6180 * textmodes/ispell.el (ispell-word): Add to the error message
6181 the word, ispell program name and current dictionary (bug#9121).
6182 (ispell-tex-arg-end): Capitalize "error" in the error message.
6183
d9bbf400
AS
61842011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6185
6186 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6187 check. (Bug#4251)
6188
8da11505
JL
61892011-09-17 Juri Linkov <juri@jurta.org>
6190
6191 * window.el (window-safe-min-height, window-safe-min-width):
6192 Fix typos (followup to bug#9522).
6193
a91adc7e
SJ
61942011-09-17 Sven Joachim <svenjoac@gmx.de>
6195
6196 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6197
064f328a
EZ
61982011-09-16 Eli Zaretskii <eliz@gnu.org>
6199
6200 * simple.el (line-move): If goal-column is set, move by logical
6201 lines, not by display lines. (Bug#971)
6202 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6203 to reflect the above change.
6204
e69df516
SM
62052011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * image.el (imagemagick-register-types): Use regexp-opt.
6208
cbb0f9ab
CY
62092011-09-15 Chong Yidong <cyd@stupidchicken.com>
6210
6211 * window.el (display-buffer-base-action): Rename from
6212 display-buffer-default-action. Make default value empty.
6213 (display-buffer-overriding-action): Convert to defvar.
6214 (display-buffer-fallback-action): New var.
6215
25322144
CY
62162011-09-15 Chong Yidong <cyd@stupidchicken.com>
6217
6218 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6219 declaration.
6220 (package--add-to-archive-contents): If there is a duplicate entry
6221 with an older version, remove it.
6222 (package-menu-mark-delete, package-menu-mark-install)
6223 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6224 (package-menu-mark-obsolete-for-deletion):
6225 Use package-menu-get-status instead of a regexp search.
25322144
CY
6226 (package-menu-get-status): Use tabulated-list-entry.
6227 (package-menu-mark-upgrades): New command.
d770725a 6228 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6229 (package-menu-execute): Do installation before deletion.
6230 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6231 instead of checking major-mode.
6232 (package-menu--find-upgrades): New function.
6233
7520339c
LMI
62342011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6235
6236 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6237 passwords in the log buffer.
65a046c4
LMI
6238 (smtpmail-process-filter): Update the process marker so that the
6239 "broken by peer" status message is inserted in the right place.
7520339c 6240
d3c30954
SM
62412011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6242
3fe48822
SM
6243 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6244 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6245 bibtex-completion-at-point-function.
6246 (bibtex-completion-at-point-function): Use them.
6247
1b8b3954
SM
6248 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6249
d3c30954
SM
6250 * mpc.el (mpc-constraints-tag-lookup): New function.
6251 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6252 also to browser "album|playlist".
6253
72779976
JL
62542011-09-14 Juri Linkov <juri@jurta.org>
6255
6256 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6257 (isearch-edit-string): Use length of `isearch-string' when
6258 `isearch-fail-pos' returns nil.
6259 (isearch-message): Remove duplicate code and call
6260 `isearch-fail-pos' with arg `t'.
6261
a0bf2bcd
CY
62622011-09-14 Chong Yidong <cyd@stupidchicken.com>
6263
17bb0a2d
CY
6264 * replace.el (occur-mode-goto-occurrence): Don't force using other
6265 window (Bug#9499).
6266
a0bf2bcd
CY
6267 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6268
f678e0b6
MR
62692011-09-14 Martin Rudalics <rudalics@gmx.at>
6270
6271 * window.el (display-buffer-window): Remove.
6272 (display-buffer-record-window): Use help-setup window parameter
6273 instead of variable display-buffer-window.
6274 (display-buffer-function, special-display-buffer-names)
6275 (special-display-function): Mention help-setup parameter instead
6276 of display-buffer-window in doc-string.
d3c30954
SM
6277 * help.el (help-window-setup): New argument help-window.
6278 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6279 Reword some messages.
6280 (with-help-window): Pass window used for displaying the buffer
6281 to help-window-setup. Don't set display-buffer-window.
6282
8e39b2e8
GM
62832011-09-13 Glenn Morris <rgm@gnu.org>
6284
6285 * emacs-lisp/debug.el (debugger-make-xrefs):
6286 Preserve point. (Bug#9462)
6287
85e9c04b
CY
62882011-09-13 Chong Yidong <cyd@stupidchicken.com>
6289
6290 * window.el (window-deletable-p): Use next-frame.
6291
1b36ed6a
MR
62922011-09-13 Martin Rudalics <rudalics@gmx.at>
6293
6294 * window.el (window-auto-delete): Remove.
6295 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6296 dedication and previous buffers.
1b36ed6a
MR
6297 (switch-to-prev-buffer): Don't delete window.
6298 (delete-windows-on): Delete a window's frame if and only if the
6299 window is dedicated.
6300 (replace-buffer-in-windows): Delete buffer's window or frame if
6301 and only if window is dedicated.
6302 (quit-window): Handle quit-restore as before last change.
4d61f28d 6303 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6304
ef8ef9fb
CY
63052011-09-13 Chong Yidong <cyd@stupidchicken.com>
6306
6307 * window.el (window-deletable-p): Never delete the last frame on a
6308 given terminal.
6309
b2cba41e
GM
63102011-09-13 Glenn Morris <rgm@gnu.org>
6311
6312 * help.el (describe-key-briefly): Copy previous standard-output change.
6313
51553db6 63142011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6315
6316 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6317
b7556719
GM
63182011-09-13 Glenn Morris <rgm@gnu.org>
6319
6320 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6321 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6322
64b51947
CY
63232011-09-12 Chong Yidong <cyd@stupidchicken.com>
6324
6325 * dired-aux.el (dired-mark-read-string): Don't return default
6326 value on empty input (Bug#9361).
6327 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6328 Omit initial minibuffer contents.
6329 (dired-do-chmod): Signal an error on empty input.
6330 (dired-mark-read-string): Don't return default on empty input.
6331
6332 * files.el (file-modes-symbolic-to-number): Doc fix.
6333
393a301e
SM
63342011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6335
6336 * international/mule-cmds.el (ucs-completions): Remove.
6337 (read-char-by-name): Use complete-with-action instead; add metadata.
6338
fa5660f9
CY
63392011-09-11 Chong Yidong <cyd@stupidchicken.com>
6340
6341 * window.el (display-buffer--action-function-custom-type)
6342 (display-buffer--action-custom-type): New vars.
6343 (display-buffer-alist, display-buffer-default-action)
6344 (display-buffer-overriding-action): Add defcustom types.
6345
4a592f66
CY
6346 * frame.el (delete-other-frames): Doc fix (Bug#276).
6347
73d56dbd
LMI
63482011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6349
6350 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6351
37ac18a3
CY
63522011-09-11 Chong Yidong <cyd@stupidchicken.com>
6353
6354 Change modes that used same-window-* vars to use switch-to-buffer.
6355
6356 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6357 Use switch-to-buffer.
6358
6359 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6360 (customize-browse, custom-buffer-create-other-window):
6361 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6362
6363 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6364 (Info-prev, Info-up, Info-speedbar-goto-node)
6365 (info-display-manual): Use switch-to-buffer.
6366 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6367
6368 * mail/sendmail.el (mail): Use switch-to-buffer.
6369 (mail-recover): Use switch-to-buffer-other-window.
6370
6371 * cmuscheme.el (run-scheme, switch-to-scheme):
6372 * ielm.el (ielm):
6373 * shell.el (shell):
6374 * net/rlogin.el (rlogin):
6375 * net/telnet.el (telnet, rsh):
6376 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6377
10195bd6
AS
63782011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6379
6380 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6381
b322f63a
LMI
63822011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6383
39d7fed6
LMI
6384 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6385 so don't mention it (bug#9301).
ba5a81f1 6386 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6387
ee0e9f11
LMI
6388 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6389 match `x', `w32' and `ns', like the manual says (bug#9029).
6390
0b1c89c1 6391 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6392 (process-kill-buffer-query-function): Mention the buffer name in
6393 the query.
0b1c89c1 6394
77549ea8
LMI
6395 * image-mode.el (image-next-line): The line parameter is mandatory
6396 (bug#9258).
6397
803ef892
LMI
6398 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6399 which can be useful (bug#9301).
6400
12980837
LMI
6401 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6402
91054f8f
LMI
6403 * subr.el (match-string): Mention that the current buffer should
6404 be the same as the search was done in (bug#9282).
6405
b322f63a
LMI
6406 * facemenu.el: Disable the remove-* commands if the mark isn't
6407 active (bug#9162).
6408
3199b96f
CY
64092011-09-10 Chong Yidong <cyd@stupidchicken.com>
6410
6411 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6412 of display-buffer.
6413 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6414
6415 * replace.el (occur-mode-goto-occurrence)
6416 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6417 and display-buffer.
6418
6419 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6420 display-buffer.
6421
6422 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6423 special-display and same-window variables.
6424 (mail-other-window): Use switch-to-buffer-other-window.
6425 (mail-other-frame): USe switch-to-buffer-other-frame.
6426
393a301e
SM
6427 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6428 Use display-buffer-other-frame.
3199b96f
CY
6429 (gdb-display-gdb-buffer): Use pop-to-buffer.
6430
6431 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6432
6433 * progmodes/python.el: Don't set same-window-buffer-names.
6434
6435 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6436
6437 * window.el (display-buffer-alist): Add *Python*.
6438
8319e0bf
CY
64392011-09-10 Chong Yidong <cyd@stupidchicken.com>
6440
6441 * window.el (display-buffer-alist): Add entry for buffers
6442 previously handled same-window-*.
6443 (display-buffer-alist, display-buffer-default-action)
6444 (display-buffer-overriding-action): Mark as risky.
6445 (display-buffer-alist): Document action function changes.
6446 (display-buffer--same-window-action)
6447 (display-buffer--other-frame-action): New variables.
6448 (switch-to-buffer, display-buffer-other-frame): Use them.
6449 (display-buffer): Rename reuse-frame entry to reusable-frames.
6450 (display-buffer-reuse-selected-window): Function deleted.
6451 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6452 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6453 (display-buffer-special): New function.
6454 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6455 display-buffer-reuse-or-pop-window. Split off special-display
6456 part into display-buffer-special.
6457 (display-buffer-use-some-window): Don't perform any special
6458 pop-up-frames handling.
6459 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6460 (display-buffer--maybe-same-window): Rename from
0d3ff375 6461 display-buffer-maybe-same-window.
8319e0bf 6462
919a69aa
CY
6463 * info.el: Don't set same-window-regexps.
6464 (info-setup): New function.
6465 (info-other-window, info): Call it.
6466
6467 * cus-edit.el: Don't set same-window-regexps.
6468 (customize-group): New argument.
6469 (customize-group-other-window): Use it.
6470 (customize-face, customize-face-other-window): Likewise.
6471 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6472
8319e0bf
CY
6473 * net/rlogin.el:
6474 * net/telnet.el:
6475 * progmodes/gud.el: Don't set same-window-regexps.
6476
6477 * cmuscheme.el:
6478 * ielm.el:
6479 * shell.el:
6480 * mail/sendmail.el:
6481 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6482
25173000
JL
64832011-09-10 Juri Linkov <juri@jurta.org>
6484
6485 * isearch.el (isearch-edit-string): Remove obsolete mention of
6486 `C-w' (`isearch-yank-word-or-char') from docstring.
6487 (isearch-query-replace): Fix typo in docstring (bug#9466).
6488
056e44ef
JL
64892011-09-10 Juri Linkov <juri@jurta.org>
6490
6491 * paren.el (show-paren-function): Don't show escaped parens.
6492 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6493
c3760c17
EZ
64942011-09-10 Eli Zaretskii <eliz@gnu.org>
6495
6496 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6497 (mm-default-file-encoding): Remove autoload forms, they are
6498 replaced with autoload cookies in mml.el and mm-encode.el.
6499 (mail-add-attachment): New command.
6500 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6501 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6502 the doc string.
6503 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6504
fece895e
RT
65052011-09-10 Reuben Thomas <rrt@sc3d.org>
6506
e69df516
SM
6507 * simple.el (count-words-region): Use buffer if there's no region
6508 (bug#9429).
fece895e 6509
5e68ce4a
JL
65102011-09-09 Juri Linkov <juri@jurta.org>
6511
6512 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6513 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6514 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6515
0a6b9622
AM
65162011-09-09 Alan Mackenzie <acm@muc.de>
6517
6518 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6519 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6520
14a29deb
EZ
65212011-09-09 Eli Zaretskii <eliz@gnu.org>
6522
6523 Fix for Savannah bug#9392.
6524 * simple.el (mail-encode-mml): New defvar.
6525
6526 * mail/rmail.el (mail-encode-mml): Add a defvar.
6527 (rmail-enable-mime-composing): Default to t.
6528 (rmail-forward): Use MIME method of forwarding only if both
6529 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6530 Set mail-encode-mml non-nil if the MIME method was used.
6531
6532 * mail/sendmail.el (mml-to-mime): Add autoload form.
6533 (mail-encode-mml): Add a defvar.
6534 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6535 to nil.
6536 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6537 message through mml-to-mime, and reset mail-encode-mml to nil.
6538
28c45130
GM
65392011-09-09 Glenn Morris <rgm@gnu.org>
6540
6541 * woman.el (woman-if-body): When processing an .el block,
6542 do not delete the next .el block as well. (Bug#9447)
69f4b618 6543 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6544
9b1c252e
MR
65452011-09-08 Martin Rudalics <rudalics@gmx.at>
6546
6547 * window.el (window-deletable-p): Make sure window is live before
6548 invoking window-prev-buffers.
6549
567457e3
LL
65502011-09-08 Leo Liu <sdl.web@gmail.com>
6551
6552 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6553
97f05794
JL
65542011-09-08 Juri Linkov <juri@jurta.org>
6555
6556 * progmodes/compile.el (compilation-environment): Make it
6557 a defcustom (bug#8340).
6558
8b0874b5
MR
65592011-09-08 Martin Rudalics <rudalics@gmx.at>
6560
6561 * window.el (frame-auto-delete): Rename to window-auto-delete.
6562 Make it control auto-deletion of windows and/or frames.
6563 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6564 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6565 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6566 Rewrite handling of case when window/frame can be deleted.
6567 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6568 argument t. (Bug#9456)
8b0874b5 6569
4feb6e73
CY
65702011-09-07 Chong Yidong <cyd@stupidchicken.com>
6571
6572 * help-mode.el (help-mode): Restore autoload.
6573
91ab9c13
JL
65742011-09-07 Juri Linkov <juri@jurta.org>
6575
6576 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6577 `compilation-environment'. Set buffer-local
6578 `compilation-environment' to `thisenv' later after (funcall mode).
6579 (Bug#8340)
6580
6581 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6582 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6583 instead of replacing its value. (Bug#8340)
6584
0527e251
JL
65852011-09-07 Juri Linkov <juri@jurta.org>
6586
6587 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6588 based on text properties put by `grep-filter' instead of matching
6589 escape sequences.
6590 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6591 to the value of `grep-error-screen-columns' (bug#9438).
6592
249f792c
JL
65932011-09-07 Juri Linkov <juri@jurta.org>
6594
6595 * simple.el (next-error-highlight, next-error-highlight-no-select):
6596 Doc fix (bug#9432).
6597
ff7271b9
OT
65982011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6599
6600 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6601 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6602
183fc730
LL
66032011-09-07 Leo Liu <sdl.web@gmail.com>
6604
6605 * net/rcirc.el (rcirc-mode): Conditionally initialize
6606 rcirc-input-ring.
6607
77694924
SM
66082011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6609
6610 * emacs-lisp/find-func.el (find-function-C-source): Only set
6611 find-function-C-source-directory after checking that we found a source
6612 file there (bug#9440).
6613
d809b8eb
AM
66142011-09-06 Alan Mackenzie <acm@muc.de>
6615
6616 * isearch.el (isearch-other-meta-char): Wherever a key list is
6617 unread, "unread" the prefix arg, too. This fixes bug #8901.
6618
453de99f
OG
66192011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6620
6621 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6622
90439906
JL
66232011-09-05 Juri Linkov <juri@jurta.org>
6624
6625 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6626
f62bd846
JL
66272011-09-05 Juri Linkov <juri@jurta.org>
6628
6629 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6630 keeping point where processing of grep matches begins, and
6631 continue to delete remaining escape sequences from the same point.
6632 (grep-filter): Make leading zero optional in "0?1;31m" because
6633 git-grep emits "\033[1;31m" escape sequences unlike expected
6634 "\033[01;31m" as GNU Grep does (bug#9408).
6635 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6636
045820ec
JL
66372011-09-05 Juri Linkov <juri@jurta.org>
6638
6639 * subr.el (y-or-n-p): Capitalize "yes".
6640
f5e29b9b
MA
66412011-09-04 Michael Albinus <michael.albinus@gmx.de>
6642
6643 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6644 `tramp-cache-unload-hook' where appropriate.
6645 (tramp-methods): Rename `tramp-remote-sh' to
6646 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6647 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6648
6649 * net/tramp-sh.el (top): Don't require 'shell.
6650 (tramp-methods): Add `tramp-remote-shell' and
6651 `tramp-remote-shell-args' entries.
6652 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6653 (tramp-sh-handle-shell-command): Remove.
6654 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6655 Use `tramp-remote-shell'.
6656
2784c434
CY
66572011-09-03 Chong Yidong <cyd@stupidchicken.com>
6658
393a301e 6659 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6660 (sendmail-query-once): Save directly to send-mail-function.
6661 Update message-send-mail-function too.
6662
6663 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6664
464cdf56
CS
66652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6666
6667 * progmodes/python.el (python-mode-map): Use correct function to
6668 start python interpreter from menu-bar (as reported by Geert
6669 Kloosterman).
6670 (inferior-python-mode-map): Fix typo.
393a301e 6671 (python-shell-map): Remove.
464cdf56 6672
d37e5c87
DD
66732011-09-03 Deniz Dogan <deniz@dogan.se>
6674
6675 * net/rcirc.el (rcirc-print): Simplify code for
6676 rcirc-scroll-show-maximum-output. There is no need to walk
6677 through all windows to find the right one.
6678
f3ada0ee
CS
66792011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6680
6681 * help.el (help-return-method): Doc fix.
6682
1f3c99ca
MR
66832011-09-03 Martin Rudalics <rudalics@gmx.at>
6684
6685 * window.el (window-deletable-p): Don't return a non-nil value
6686 when there's a buffer that was shown in the window before.
6687 (Bug#9419)
393a301e
SM
6688 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6689 Set window's previous buffers to nil.
1f3c99ca 6690
a3cf097f
EZ
66912011-09-03 Eli Zaretskii <eliz@gnu.org>
6692
6693 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6694 newline before and after the tag line, so it doesn't interfere
6695 with determining the paragraph direction of bidirectional text.
6696
3d03de90
LL
66972011-09-03 Leo Liu <sdl.web@gmail.com>
6698
6699 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6700
c3313451
CY
67012011-09-02 Chong Yidong <cyd@stupidchicken.com>
6702
393a301e 6703 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6704 (pop-to-buffer): Change interactive spec. Pass second argument
6705 directly to display-buffer.
6706 (display-buffer): Fix interactive spec. Use functionp to
6707 distinguish between a function and a list of functions.
6708
6709 * abbrev.el (edit-abbrevs):
6710 * arc-mode.el (archive-extract):
6711 * autoinsert.el (auto-insert):
6712 * bookmark.el (bookmark-bmenu-list):
6713 * files.el (find-file):
6714 * view.el (view-buffer):
6715 * progmodes/compile.el (compilation-goto-locus):
6716 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6717
89894cd8
CY
67182011-09-02 Chong Yidong <cyd@stupidchicken.com>
6719
6720 * window.el (display-buffer-alist): Doc fix.
6721 (display-buffer): Add docstring. Don't treat
6722 display-buffer-default specially.
6723 (display-buffer-reuse-selected-window)
6724 (display-buffer-same-window, display-buffer-maybe-same-window)
6725 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6726 (display-buffer-pop-up-window)
6727 (display-buffer-reuse-or-pop-window)
6728 (display-buffer-use-some-window): New functions.
6729 (display-buffer-default-action): Use them.
393a301e 6730 (display-buffer-default): Delete.
89894cd8
CY
6731 (pop-to-buffer-1): Fix choice of actions.
6732
ae0bc9fb
SM
67332011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6734
6735 * minibuffer.el (completion--insert-strings): Don't get confused by
6736 completion entries that end with an LF char.
6737
e9d90883
EZ
67382011-09-01 Eli Zaretskii <eliz@gnu.org>
6739
6740 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6741
437014c8
CY
67422011-09-01 Chong Yidong <cyd@stupidchicken.com>
6743
6744 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6745 (display-buffer-same-window, display-buffer-other-window):
6746 New functions.
437014c8
CY
6747 (pop-to-buffer-1): New function. Use the above.
6748 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6749 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6750
6751 * view.el (view-buffer-other-window, view-buffer-other-frame):
6752 Just use pop-to-buffer.
6753
a5e063d5
TV
67542011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6755
6756 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6757
793d32bb
WH
67582011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6759
6760 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6761
d65e4c15
RS
67622011-08-31 Richard Stallman <rms@gnu.org>
6763
6764 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6765 of the separation of rmail-view-buffer from rmail-buffer.
6766 If you say no to "replace original", the decrypt is in the
6767 view buffer. If you say yes, the decrypt goes into the
6768 rmail buffer also.
6769
f818cd2a
MR
67702011-08-31 Martin Rudalics <rudalics@gmx.at>
6771
6772 * window.el (display-buffer-window): Rewrite doc-string.
6773 (display-buffer-record-window): New function.
6774 (display-buffer-macro-specifiers)
6775 (display-buffer-even-window-sizes, display-buffer-set-height)
6776 (display-buffer-set-width, display-buffer-in-window)
6777 (display-buffer-reuse-window, display-buffer-split-specifiers)
6778 (display-buffer-side-specifiers, display-buffer-split-window-1)
6779 (display-buffer-split-window, display-buffer-split-atom-window)
6780 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6781 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6782 (display-buffer-other-window-means-other-frame)
6783 (display-buffer-normalize-special)
6784 (display-buffer-normalize-default)
6785 (display-buffer-normalize-argument)
6786 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6787 (display-buffer-normalize-specifiers, display-buffer-frame)
6788 (display-buffer-same-window, display-buffer-same-frame)
6789 (display-buffer-other-window)
6790 (display-buffer-same-frame-other-window)
6791 (display-buffer-other-frame, pop-to-buffer-same-window)
6792 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6793 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6794 (switch-to-buffer-same-frame)
6795 (switch-to-buffer-other-window-same-frame)
6796 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6797 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6798 (display-buffer-alist-set): Remove.
6799 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6800 (special-display-regexps, special-display-function):
6801 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6802 parameter.
6803 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6804 (special-display-frame-alist, special-display-popup-frame)
6805 (same-window-buffer-names, same-window-regexps, same-window-p)
6806 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6807 (split-window-preferred-function, split-height-threshold)
6808 (split-width-threshold, window-splittable-p)
6809 (split-window-sensibly, window--try-to-split-window)
6810 (window--frame-usable-p, even-window-heights)
6811 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6812 (window--display-buffer-2, display-buffer-other-frame):
6813 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6814 (display-buffer-default, display-buffer-assq-regexp): New functions.
6815 (display-buffer-alist): Rewrite doc-string.
6816 (display-buffer-default-action)
6817 (display-buffer-overriding-action): New variables.
6818 (display-buffer, switch-to-buffer): Rewrite.
6819 (pop-to-buffer): Restore Emacs 23 behavior but use
6820 window-normalize-buffer-to-display.
6821 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6822 Restore Emacs 23 behavior but use
6823 window-normalize-buffer-to-switch-to.
6824 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6825 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6826 Rewrite using Emacs 23 options.
f818cd2a 6827
5bc3b51d
MA
68282011-08-31 Michael Albinus <michael.albinus@gmx.de>
6829
6830 * net/tramp.el (tramp-root-regexp): Remove.
6831 (tramp-completion-file-name-regexp-unified)
6832 (tramp-completion-file-name-regexp-separate)
6833 (tramp-completion-file-name-regexp-url): Don't use leading volume
6834 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6835 (tramp-drop-volume-letter): Simplify definition.
6836 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6837
b1a4f8e1
SM
68382011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6839
6840 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6841 (bug#9356).
6842
5664fa7b
RT
68432011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6844
b1a4f8e1 6845 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6846
9a45d6c3
JL
68472011-08-29 Juri Linkov <juri@jurta.org>
6848
6849 * isearch.el (isearch-done): Don't display message "Mark saved"
6850 when arg `edit' is non-nil to prevent its flicker in the echo area.
6851
fb87e0fb
CY
68522011-08-28 Chong Yidong <cyd@stupidchicken.com>
6853
6854 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6855 obsolete packages for deletion.
6856
09ac1c2a
CS
68572011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6858
6859 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6860 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6861 view-mode from help-mode.
6862 (help-xref-override-view-map): Remove.
6863 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6864 view-mode is not used anymore.
6865
7a1ff57f
CY
68662011-08-28 Chong Yidong <cyd@stupidchicken.com>
6867
6868 * server.el (server-port): Doc fix.
6869
b9696605
CY
6870 * cus-theme.el (custom-theme-choose-mode): Inherit from
6871 special-mode (Bug#9124).
6872 (custom-theme-choose-mode-map): Add special-mode to parent.
6873
ef8cdf8c
AM
68742011-08-28 Alan Mackenzie <acm@muc.de>
6875
6876 * progmodes/cc-fonts.el
6877 (c-make-font-lock-BO-decl-search-function): New function.
6878 (c-basic-matchers-after - "Fontify the clauses after various
6879 keywords"): Extract the three keyword lists for the 3 erroneous
6880 constructs from the list of four, and use the new function above
6881 in place of an old one.
6882
27de4e20
DD
68832011-08-28 Deniz Dogan <deniz@dogan.se>
6884
6885 * net/rcirc.el (rcirc-insert-prev-input)
6886 (rcirc-insert-next-input): Remove unused argument.
6887
356a3681
SM
68882011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6891
3fc9b218
AM
68922011-08-27 Alan Mackenzie <acm@muc.de>
6893
6894 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6895 handle function pointer parameters properly.
6896
538a061c
MR
68972011-08-27 Martin Rudalics <rudalics@gmx.at>
6898
6899 * window.el (display-buffer-reuse-window): Fix case where
6900 selected window was reused with non-nil OTHER-WINDOW argument.
6901 (Bug#9381)
6902
35b1c40c
DD
69032011-08-27 Deniz Dogan <deniz@dogan.se>
6904
6905 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6906 oftc's NickServ messages.
6907
2f6a3e79
GM
69082011-08-27 Glenn Morris <rgm@gnu.org>
6909
6910 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6911
7254299e
CY
69122011-08-26 Chong Yidong <cyd@stupidchicken.com>
6913
6914 * emacs-lisp/package.el (package-install): Call package-initialize
6915 if called interactively.
6916
f8ccf167
LL
69172011-08-26 Leo Liu <sdl.web@gmail.com>
6918
6919 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6920
3e8cd5ce
JL
69212011-08-25 Juri Linkov <juri@jurta.org>
6922
6923 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6924 `search-whitespace-regexp' (bug#9364).
6925
93eb7113
JL
69262011-08-25 Juri Linkov <juri@jurta.org>
6927
6928 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6929 `regexp-search-ring' to their global values to protect from
6930 updating by `read-from-minibuffer' (bug#9185).
6931
f65d1611
JL
69322011-08-25 Juri Linkov <juri@jurta.org>
6933
6934 * textmodes/ispell.el (ispell-command-loop): Add newline
6935 at the end of the "Use option `i'..." line.
6936
f1cf7a31
JL
69372011-08-25 Juri Linkov <juri@jurta.org>
6938
6939 * battery.el (display-battery-mode): If `battery-status-function'
6940 or `battery-mode-line-format' is nil, display the message and set
6941 `display-battery-mode' to nil (bug#9363).
6942
0c95fcf7
EZ
69432011-08-25 Eli Zaretskii <eliz@gnu.org>
6944
6945 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6946 bidi-string-mark-left-to-right; they are unnecessary now.
6947
a2ebe600
DD
69482011-08-25 Deniz Dogan <deniz@dogan.se>
6949
6950 * net/quickurl.el: Documentation typo fixes.
6951
e4ed06f1
CY
69522011-08-25 Chong Yidong <cyd@stupidchicken.com>
6953
6954 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6955
e5f1c99e
GM
69562011-08-25 Glenn Morris <rgm@gnu.org>
6957
b2948976
GM
6958 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6959
e5f1c99e
GM
6960 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6961 (smtpmail-via-smtp): Handle nil response from smtp.
6962
f22f4808
JL
69632011-08-24 Juri Linkov <juri@jurta.org>
6964
6965 * proced.el (proced-marked): Inherit from `error' instead of
6966 `font-lock-warning-face'.
6967
6968 * ibuffer.el (ibuffer-marked-face): Change default face from
6969 `font-lock-warning-face' to `warning'.
6970 (ibuffer-deletion-face): Change default face from
6971 `font-lock-type-face' to `error'.
6972
6973 * battery.el (battery-update): Use the face `error' instead of
6974 `font-lock-warning-face' (bug#6117).
6975
6a93965e
JL
69762011-08-24 Juri Linkov <juri@jurta.org>
6977
6978 * faces.el (success): Change face color from "Green3" to
6979 "ForestGreen" on light background (bug#9353).
6980
1ed43b09
CY
69812011-08-24 Chong Yidong <cyd@stupidchicken.com>
6982
5664fa7b
RT
6983 * window.el (quit-window): Rename from quit-restore-window.
6984 Use same arglist as old quit-window.
1ed43b09
CY
6985 (frame-auto-delete): Doc fix.
6986
6987 * view.el (view-mode-exit): Use quit-window.
6988
11dcdbb2
JL
69892011-08-24 Juri Linkov <juri@jurta.org>
6990
6991 * isearch.el (isearch-ring-adjust1): Start visiting previous
6992 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6993 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6994 for empty search string (when the last search string is reused
6995 automatically) to adjust the isearch ring to the last element and
6996 prepare the correct index for further M-p commands (bug#9185).
6997
de62b4df
KH
69982011-08-24 Kenichi Handa <handa@m17n.org>
6999
7000 * international/ucs-normalize.el: If decomposition property of
7001 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7002 nil.
7003 (nfd, nfkd): Likewise.
7004
963b492b
SM
70052011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7006
7007 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7008 from process filters aren't reliably transmitted to the surrounding
7009 accept-process-output.
7010 (mpc-proc-check): New function.
7011 (mpc-proc-sync): Use it (bug#8293)
7012
93b6b5e1
SM
70132011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7016 Add compatibility functions (bug#9313).
7017
bca633fb
EZ
70182011-08-23 Eli Zaretskii <eliz@gnu.org>
7019
b177498a
EZ
7020 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7021
6df6ae42 7022 * international/uni-bidi.el: Regenerate.
bca633fb 7023
0902a04e
KH
70242011-08-23 Kenichi Handa <handa@m17n.org>
7025
7026 * international/charprop.el:
7027 * international/uni-bidi.el:
7028 * international/uni-category.el:
7029 * international/uni-combining.el:
7030 * international/uni-comment.el:
7031 * international/uni-decimal.el:
7032 * international/uni-decomposition.el:
7033 * international/uni-digit.el:
7034 * international/uni-lowercase.el:
7035 * international/uni-mirrored.el:
7036 * international/uni-name.el:
7037 * international/uni-numeric.el:
7038 * international/uni-old-name.el:
7039 * international/uni-titlecase.el:
7040 * international/uni-uppercase.el: Regenerate.
7041
3bbf23bc
MR
70422011-08-23 Martin Rudalics <rudalics@gmx.at>
7043
7044 * help.el (help-window-setup): Fix message displayed when other
7045 window is reused. (Bug#9341)
7046
b3fd59bd
SM
70472011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7048
1802e444
SM
7049 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7050 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7051
b3fd59bd
SM
7052 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7053 Mark obsolete.
7054 * shell.el (shell-parse-pcomplete-arguments): New function.
7055 (shell-completion-vars): Use it instead (bug#9160).
7056
4eb61348
SM
70572011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7058
867cab74
SM
7059 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7060 strings and comments (bug#9333).
7061
4eb61348
SM
7062 * emacs-lisp/debug.el (debug-arglist): New function.
7063 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7064 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7065
262a1439
JL
70662011-08-22 Juri Linkov <juri@jurta.org>
7067
56ee679c
JL
7068 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7069 Revert regexp that highlights output switches to its old
7070 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7071
262a1439
JL
7072 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7073 to check for empty output (bug#9226).
7074
f13f86fb
CY
70752011-08-22 Chong Yidong <cyd@stupidchicken.com>
7076
7077 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7078 symbol-constituent as the default, as that stops font-lock from
7079 working properly (Bug#8843).
7080
c65c9622
LMI
70812011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7082
7083 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7084 `coding-system-for-*' around the process open call to avoid
7085 auth-source side effects.
e7f2c178 7086 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7087 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7088 probe hangs.
c65c9622 7089
23a8a5ab
CY
70902011-08-21 Chong Yidong <cyd@stupidchicken.com>
7091
ff98b2dd
CY
7092 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7093
23a8a5ab
CY
7094 * emacs-lisp/find-func.el (find-function-noselect): New arg
7095 lisp-only.
7096
7097 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7098 signal an error for built-in functions (Bug#6664).
7099
f5e3c598
LMI
71002011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7101
7102 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7103 (smtpmail-try-auth-methods): Use it.
7104
a3f2468a
CY
71052011-08-21 Chong Yidong <cyd@stupidchicken.com>
7106
2c34e8da
CY
7107 * font-lock.el (font-lock-fontify-region)
7108 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7109 (font-lock-default-unfontify-buffer)
7110 (font-lock-default-fontify-region)
7111 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7112
b3fd59bd
SM
7113 * progmodes/compile.el (compilation-error-properties):
7114 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7115 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7116 `ant' regexp.
ee31aabc 7117
a3f2468a
CY
7118 * net/browse-url.el (browse-url-firefox): Don't call
7119 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7120
8e999f70
GM
71212011-08-20 Glenn Morris <rgm@gnu.org>
7122
c21a496a
GM
7123 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7124
59ee0542
GM
7125 * tutorial.el (tutorial--default-keys): Update some default bindings.
7126
8e999f70
GM
7127 * files.el (hack-local-variables): Fully ignore case for "mode:".
7128
e3715033
AM
71292011-08-20 Alan Mackenzie <acm@muc.de>
7130
7131 Resolve invalid use of a regexp in regexp-opt.
7132
4d61f28d
JB
7133 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7134 detection for a java annotation.
e3715033 7135
4d61f28d 7136 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7137 detection for a java annotation.
7138
4d61f28d
JB
7139 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7140 handling for java.
e3715033
AM
7141 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7142
04ed2e9c
CY
71432011-08-20 Chong Yidong <cyd@stupidchicken.com>
7144
7145 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7146 (Bug#9274).
7147
826cee64
AM
71482011-08-20 Alan Mackenzie <acm@muc.de>
7149
58179cce 7150 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7151 such a construct. Mainly for when jit-lock etc. starts a chunk
7152 here.
7153
58179cce 7154 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7155 variable.
58179cce 7156 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7157 c-make-font-lock-search-function.
7158 (c-make-font-lock-search-function): Use the above function.
7159 (c-make-font-lock-context-search-function): New function.
7160 (c-cpp-matchers): Enhance the preprocessor expression case with
7161 the above function
7162 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7163 which takes an expression.
7164
7165 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7166
13009bd8
MR
71672011-08-20 Martin Rudalics <rudalics@gmx.at>
7168
7169 * window.el (display-buffer-reuse-window)
7170 (display-buffer-pop-up-window): Don't reuse or split a side
7171 window.
7172
9234ff7f
GM
71732011-08-19 Glenn Morris <rgm@gnu.org>
7174
7175 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7176 Downcase "Mode:". (Bug#9331)
9234ff7f 7177
f635daa1
CY
71782011-08-18 Chong Yidong <cyd@stupidchicken.com>
7179
7180 * international/characters.el: Add L and R categories.
7181
7182 * subr.el (bidi-string-mark-left-to-right): Rename from
7183 string-mark-left-to-right. Use category search.
7184
7185 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7186
bc987f8b
JL
71872011-08-18 Juri Linkov <juri@jurta.org>
7188
7189 * faces.el (error, warning, success): New faces with definitions
7190 copied from old default values of `font-lock-warning-face',
7191 `compilation-warning', `compilation-info' (bug#6117).
7192
7193 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7194
7195 * progmodes/compile.el (compilation-error): Inherit from `error'.
7196 (compilation-warning): Inherit from `warning'.
7197 (compilation-info): Inherit from `success'.
7198
7199 * dired.el (dired-marked): Inherit from `warning'.
7200 (dired-flagged): Inherit from `error'.
7201
57173b96
LMI
72022011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7203
3e79eb87
LMI
7204 * mail/smtpmail.el (auth-source): Require to avoid problems with
7205 binding variables (bug#9298). Also clean up some unused
7206 autoloads.
7207
b3fd59bd
SM
7208 * net/network-stream.el (network-stream-open-starttls):
7209 Support using starttls.el without using gnutls-cli.
57173b96 7210
02b404de
JL
72112011-08-17 Juri Linkov <juri@jurta.org>
7212
7213 * progmodes/grep.el (rgrep): Handle the case when
7214 `grep-find-command' is a cons cell (bug#9278).
7215
8c9177f2
MR
72162011-08-17 Martin Rudalics <rudalics@gmx.at>
7217
7218 * window.el (display-buffer-pop-up-frame): Run frame creation
7219 function with BUFFER current (as special-display-popup-frame
7220 does). Reported by Drew Adams.
7221
3644a0ab
DU
72222011-08-17 Daiki Ueno <ueno@unixuser.org>
7223
7224 * epa-mail.el: Simplify GnuPG group expansion using
7225 epg-expand-group.
7226 (epa-mail-group-alist, epa-mail-group-modtime)
7227 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7228 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7229 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7230 Remove.
7231
5e617bc2 72322011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7233
7234 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7235
9c4aeabf
AM
72362011-08-16 Alan Mackenzie <acm@muc.de>
7237
7238 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7239 Correct, to avoid the inside of macros.
7240
3a99bf64
RS
72412011-08-16 Richard Stallman <rms@gnu.org>
7242
04963aa8
RS
7243 * epa-mail.el: Handle GnuPG group definitions.
7244 (epa-mail-group-alist, epa-mail-group-modtime)
7245 (epa-mail-gnupg-conf-file): New variables.
7246 (epa-mail-parse-groups, epa-mail-sync-groups)
7247 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7248 (epa-mail-expand-recipients): New functions.
7249 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7250
177549d0
RS
7251 * mail/rmail.el (rmail-epa-decrypt): New command.
7252
fe38beef
RS
7253 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7254 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7255 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7256 (epa-decrypt-armor-in-region): Make error message clearer.
7257
934eacb9
SM
72582011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7261 and "a2b" to "ab" for `prefix'.
7262
d024fb4e
CY
72632011-08-14 Chong Yidong <cyd@stupidchicken.com>
7264
7265 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7266 filter groups.
de148fee
CY
7267 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7268 Fourquet (Bug#8804).
d024fb4e 7269
62f1ca49
JB
72702011-08-12 Juanma Barranquero <lekktu@gmail.com>
7271
7272 * startup.el (argi): Declare as global variable (bug#9275).
7273
9ccaaa4b
CY
72742011-08-12 Chong Yidong <cyd@stupidchicken.com>
7275
7276 * subr.el (string-mark-left-to-right): Search the entire string
7277 for RTL script, not just the terminating character. Doc fix.
7278
a3dae87a
SM
72792011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7280
6cd18349
SM
7281 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7282 New function.
7283 (js--regexp-literal, js-syntax-propertize-function): Remove.
7284 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7285 (js-mode-map): Don't rebind electric keys.
7286 (js-insert-and-indent): Remove.
7287 (js-mode): Setup electric-layout and electric-indent instead.
7288
a3dae87a
SM
7289 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7290
9d5cb631
DU
72912011-08-12 Daiki Ueno <ueno@unixuser.org>
7292
7293 * epa.el (epa-progress-callback-function): Fix the logic of
7294 displaying progress.
7295 * epa-file.el (epa-file-insert-file-contents): Make progress
7296 display more user-friendly.
7297 (epa-file-write-region): Ditto.
7298
3e26a4a2
CY
72992011-08-10 Chong Yidong <cyd@stupidchicken.com>
7300
7301 * subr.el (string-mark-left-to-right): New function.
7302
7303 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7304 Use string-mark-left-to-right.
7305 (list-buffers-noselect): Caller changed.
7306
a3dae87a
SM
7307 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7308 Use string-mark-left-to-right.
3e26a4a2
CY
7309 (tabulated-list-print): Recenter after moving point.
7310
ac8cf6e6
JL
73112011-08-10 Juri Linkov <juri@jurta.org>
7312
7313 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7314 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7315 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7316
8d96c9a4
CY
73172011-08-09 Chong Yidong <cyd@stupidchicken.com>
7318
7319 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7320 (Bug#7554).
7321
7be1c708 73222011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7323
7324 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7325 character. (Bug#6594)
7326
37e11a63
CY
73272011-08-08 Chong Yidong <cyd@stupidchicken.com>
7328
839dde57
CY
7329 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7330 (image-dired--with-db-file): New macro.
7331 (image-dired-write-tags, image-dired-remove-tag)
7332 (image-dired-create-gallery-lists, image-dired-write-comments)
7333 (image-dired-get-comment, image-dired-mark-tagged-files)
7334 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7335 (image-dired-gallery-generate): Use insert-file-contents.
7336
37e11a63
CY
7337 * time.el (display-time-world-list, display-time-world-display):
7338 * time-stamp.el (time-stamp-string):
7339 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7340 set-time-zone-rule (Bug#7337).
7341
0b4946c4
DU
73422011-08-08 Daiki Ueno <ueno@unixuser.org>
7343
7344 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7345 (epg-error-to-string, epg-errors-to-string): New function.
7346 (epg-wait-for-completion): Reverse errors list.
7347 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7348 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7349 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7350 (epg-sign-keys, epg-generate-key-from-file)
7351 (epg-generate-key-from-string): Format errors by using
7352 epg-errors-to-string (bug#9255).
7353 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7354
75bfc667
JL
73552011-08-07 Juri Linkov <juri@jurta.org>
7356
7357 * faces.el (list-faces-display): Remove extra angle bracket
7358 from `help-mode-map'.
7359
7360 * info.el (Info-history-toc-nodes): Doc fix.
7361
7362 * longlines.el (longlines-mode): Doc fix.
7363
673e08bb
SM
73642011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7365
4640dd88
SM
7366 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7367 of statements and in a few more cases (bug#9183).
7368
673e08bb
SM
7369 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7370 New functions.
7371 (cl-transform-lambda): Use them (bug#9239).
7372
89b3f019
MR
73732011-08-05 Martin Rudalics <rudalics@gmx.at>
7374
7375 * window.el (display-buffer-same-window)
7376 (display-buffer-same-frame, display-buffer-other-window)
7377 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7378 (pop-to-buffer-other-window)
7379 (pop-to-buffer-same-frame-other-window)
7380 (pop-to-buffer-other-frame): Make them defuns.
7381 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7382
640c8776
SM
73832011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * subr.el (make-composed-keymap): Move from C. Change calling
7386 convention, and improve docstring to bring attention to a subtle point.
7387 * minibuffer.el (completing-read-default): Adjust accordingly.
7388
63648a95
MA
73892011-08-03 Michael Albinus <michael.albinus@gmx.de>
7390
7391 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7392 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7393
7394 * net/trampver.el: Update release number.
7395
b796c9b7
SM
73962011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7397
7398 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7399 "in" (bug#9190).
7400
2239d7d5
LMI
74012011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7402
e07dd7c3
LMI
7403 * mail/sendmail.el (sendmail-query-once): Restore the current
7404 buffer after querying (bug#9074).
7405
0e6a2bd7
LMI
7406 * dired.el (dired-flagged): Use different faces for marked and
7407 flagged files (bug#6117).
7408
ce887515
LMI
7409 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7410 (bug#4433).
7411
92f2affc
LMI
7412 * ido.el (ido-mode): Switch off the message if called
7413 non-interactively.
7414
57d5aff0
LMI
7415 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7416 before 587, since it appears that that's more likely to work for
7417 more people.
7418
98cd6c18 7419 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7420 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7421 exist.
7422
b96dec83
LMI
7423 * info.el: Remove the `Info-beginning-of-buffer' function
7424 (bug#8325).
7425
b796c9b7
SM
7426 * net/network-stream.el (network-stream-open-starttls):
7427 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7428
d90e2ea0
MR
74292011-08-01 Martin Rudalics <rudalics@gmx.at>
7430
7431 * window.el (display-buffer-in-window): Don't set dedicated status
7432 of window here (Bug#9215).
7433 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7434 (display-buffer-pop-up-side-window)
b796c9b7 7435 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7436
cca09170
SM
74372011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7438
7439 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7440 before binding generated-autoload-file.
7441
027b979c
DD
74422011-08-01 Deniz Dogan <deniz@dogan.se>
7443
7444 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7445
3c7ee4f3
MA
74462011-07-30 Michael Albinus <michael.albinus@gmx.de>
7447
7448 Sync with Tramp 2.2.2.
7449
7450 * net/trampver.el: Update release number.
7451
2cc8e51a
JL
74522011-07-30 Juri Linkov <juri@jurta.org>
7453
7454 * dired-aux.el (dired-touch-initial): Remove function.
7455 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7456 current time, and `default' to the last modification time of the
7457 current marked file (bug#6887).
7458
a514d856
JM
74592011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7460
7461 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7462 numeric argument to read-number (bug#9163).
a514d856 7463
8a7eddd7
MA
74642011-07-27 Michael Albinus <michael.albinus@gmx.de>
7465
7466 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7467 connection process, it could be nil.
7468
1ddd96f5
LL
74692011-07-27 Leo Liu <sdl.web@gmail.com>
7470
7471 Simplify url handling in rcirc-mode.
7472
7473 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7474 (rcirc-browse-url-at-mouse): Remove.
7475 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7476
b248a85d
AM
74772011-07-26 Alan Mackenzie <acm@muc.de>
7478
7479 Fontify bitfield declarations properly.
7480
7481 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7482 (c-symbol-chars): Now exported as a lang variable.
7483 (c-not-primitive-type-keywords): New lang variable.
7484
7485 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7486 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7487 parsed as a bitfield declaration.
b248a85d 7488
b796c9b7
SM
7489 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7490 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7491 (c-punctuation-in): New function.
7492 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7493 declarations properly.
7494
68575ab0
UJ
74952011-07-26 Ulf Jasper <ulf.jasper@web.de>
7496
7497 * calendar/icalendar.el (icalendar--all-events): Take care of
7498 multiple vcalendars in a single file.
b796c9b7 7499 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7500
0f0a88b9
DD
75012011-07-25 Deniz Dogan <deniz@dogan.se>
7502
7503 * image.el (insert-image): Clarifying docstring.
7504
0b3f36df
MA
75052011-07-24 Michael Albinus <michael.albinus@gmx.de>
7506
7507 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7508 `tramp-send-command-and-check' if there is no error.
7509 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7510
a9901f61
AM
75112011-07-22 Alan Mackenzie <acm@muc.de>
7512
7513 Prevent cc-langs.elc being loaded at run time.
7514
7515 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7516 cc-langs.
7517
4d61f28d 7518 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7519 "(require 'cc-langs)". Quote a form so it will evaluate at
7520 (cc-mode's) compilation time.
7521
11d074b2
MA
75222011-07-22 Michael Albinus <michael.albinus@gmx.de>
7523
7524 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7525 loading. (Bug#9114)
7526
938b94c8
MR
75272011-07-21 Martin Rudalics <rudalics@gmx.at>
7528
7529 * window.el (display-buffer-pop-up-window)
7530 (display-buffer-pop-up-side-window)
7531 (display-buffer-in-side-window): Call display-buffer-set-height
7532 and display-buffer-set-width after setting the new window's
b796c9b7 7533 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7534
bfa4f190
SS
75352011-07-20 Sam Steingold <sds@gnu.org>
7536
7537 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7538 (etags-tags-included-tables): Call `convert-standard-filename' on
7539 the file names contained in TAGS so that windows Emacs can handle
7540 TAGS files created by cygwin ctags.
7541
8ca42262
LMI
75422011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7543
7544 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7545 which apparently didn't work.
7546
5db2afd2 75472011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7548
5db2afd2
RW
7549 * proced.el (proced-send-signal): For *Marked Processes* buffer
7550 put point at beginning of buffer.
7551
92e15d10
SB
75522011-07-19 Stephen Berman <stephen.berman@gmx.net>
7553
7554 * proced.el (proced-format): Make header lines align with the text
7555 (bug#1779).
7556
1bfd59e5
LMI
75572011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7558
7559 * view.el (view-buffer): Allow running in `special' modes if we're
7560 visiting a file (bug#8615).
7561
f5aae37c
MR
75622011-07-19 Martin Rudalics <rudalics@gmx.at>
7563
7564 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7565 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7566 New functions.
f5aae37c
MR
7567 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7568 more accurately.
7569
bf2c1571
AM
75702011-07-18 Alan Mackenzie <acm@muc.de>
7571
7572 Fontify declarators properly when, e.g., a jit-lock chunk begins
7573 inside a declaration.
7574
7575 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7576
b796c9b7
SM
7577 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7578 New function.
bf2c1571
AM
7579 (c-complex-decl-matchers): Insert reference to
7580 c-font-lock-enclosing-decls.
7581
7582 * progmodes/cc-engine.el (c-backward-single-comment):
7583 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7584 to nil around calls to (forward-comment -1).
7585
4e190b80
LMI
75862011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7587
12dc863d
LMI
7588 * image.el (put-image): Doc typo fix.
7589
a762e966
LMI
7590 * progmodes/etags.el (tags-search): Doc typo fix.
7591
4e190b80
LMI
7592 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7593 password if we get errors 550 to 554.
7594
f019fb21
LMI
75952011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7596
b796c9b7 7597 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7598
81746738
LMI
7599 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7600 indentation character (bug#6380).
7601
3ee3a1b5
LMI
7602 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7603
c82f64de
LMI
7604 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7605 to clarify what the problem is (bug#4291).
7606
f019fb21
LMI
7607 * simple.el (current-kill): Clarify what
7608 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7609 (auto-fill-mode): Document `auto-fill-function' in relation to
7610 `auto-fill-mode' (bug#2470).
f019fb21 7611
0794775d
LM
76122011-07-16 Lawrence Mitchell <wence@gmx.li>
7613
7614 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7615 method if slot is read-only (bug#9035).
7616
be39b8cc
MR
76172011-07-16 Martin Rudalics <rudalics@gmx.at>
7618
b796c9b7 7619 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7620 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7621 selected before, see discussion of (Bug#8615), (Bug#6954).
7622 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7623
6ccf7859
GM
76242011-07-15 Glenn Morris <rgm@gnu.org>
7625
7626 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7627 Respect help-form.
6ccf7859 7628
87e86684
LM
76292011-07-09 Lawrence Mitchell <wence@gmx.li>
7630
7631 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7632 (gnutls-negotiate): Use it.
7633
d6066239
LMI
76342011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7635
b796c9b7
SM
7636 * net/gnutls.el (gnutls-negotiate):
7637 Upcase `gnutls-algorithm-priority'.
d6066239 7638
bd23ebc0
GM
76392011-07-15 Glenn Morris <rgm@gnu.org>
7640
c65bca65
GM
7641 * jka-compr.el (jka-compr-verbose): Move from here...
7642 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7643 Add missing :version tag.
7644 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7645
478615cc
LMI
76462011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7647
7b41decb
LMI
7648 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7649 (gnutls-negotiate): Use it.
7650
dbc44fcd
LMI
7651 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7652
06789f97
LMI
7653 * info.el (Info-beginning-of-buffer): New command.
7654 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7655 announcing `b' as the key (bug#8325).
ab896c37 7656 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7657
c39da690
LMI
7658 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7659
3aa5f34b
LMI
7660 * international/mule-cmds.el
7661 (describe-specified-language-support): Make the error message
7662 clearer (bug#8905).
7663
4bf0979f
LMI
7664 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7665
478615cc
LMI
7666 * isearch.el (isearch-barrier): Add a doc string, since it's
7667 mentioned in a function doc string (bug#8678).
7668
75c68aa1
MR
76692011-07-15 Martin Rudalics <rudalics@gmx.at>
7670
7671 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7672 buffer argument (Bug#9083) and self-identifying label argument.
7673
a7c33da2
GM
76742011-07-15 Glenn Morris <rgm@gnu.org>
7675
7676 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7677
2f5c6024
LMI
76782011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7679
7680 * man.el (Man-fontify-manpage): Fix message when formatting the
7681 man page (bug#7929).
7682
0bb23927 76832011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7684
7685 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7686 argument LRM; if non-nil, append an invisible LRM character to the
7687 buffer name.
7688 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7689 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7690 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7691 paragraph direction.
cce4b0a7 7692
621ef9ab
LMI
76932011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7694
d1583c48
LMI
7695 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7696 the man page name (bug#7929).
7697
6a57fb5f
LMI
7698 * image.el (put-image): Mention the `put-image' overlay property
7699 (bug#7834).
7700
d7956b14
LMI
7701 * scroll-bar.el (set-scroll-bar-mode): Mention that
7702 `scroll-bar-mode' lists the values (bug#7772).
7703
5b2d4a66
LMI
7704 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7705 command (bug#7729).
7706
7509a874
LMI
7707 * rect.el (apply-on-rectangle): Return the point after the last
7708 operation.
7709 (string-rectangle): Go to the point after the last operation
7710 (bug#7522).
7711
4fe74b19
LMI
7712 * printing.el (pr-toggle-region): Clarify the documentation
7713 slightly (bug#7493).
7714
b796c9b7
SM
7715 * time.el (display-time-update):
7716 Allow `display-time-mail-function' to return nil (bug#7158).
7717 Fix suggested by Detlev Zundel.
ab283561 7718
fc233c9d
LMI
7719 * vc/diff.el (diff): Clarify the order the file names are read
7720 (bug#7111).
7721
43f5740b
LMI
7722 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7723 the doc string (bug#7015).
7724
f2182a76
LMI
7725 * font-lock.el (font-lock-maximum-decoration): Mention what
7726 numeric levels mean (bug#6935).
7727
621ef9ab
LMI
7728 * startup.el (initial-buffer-choice): Don't mention the `none'
7729 selection, which is against policy.
7730
adc47434
MR
77312011-07-14 Martin Rudalics <rudalics@gmx.at>
7732
b796c9b7
SM
7733 * window.el (display-buffer-normalize-special):
7734 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7735
7e5bfb8f
EZ
77362011-07-14 Eli Zaretskii <eliz@gnu.org>
7737
7738 * subr.el (version<, version<=, version=): Mention "-CVS" and
7739 "-12345" alpha version numbers.
7740
27fa387a
CY
77412011-07-14 Chong Yidong <cyd@stupidchicken.com>
7742
7743 * bindings.el: Add advertised binding for set-mark-command
7744 (Bug#5772).
7745
8bdfa064
CY
77462011-07-14 Chong Yidong <cyd@stupidchicken.com>
7747
7748 * bindings.el (mode-line-other-buffer):
7749 * bookmark.el (bookmark-bmenu-2-window):
7750 * bs.el (bs-cycle-next, bs-cycle-previous):
7751 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7752 switch-to-buffer.
7753
7754 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7755 Delete.
8bdfa064 7756
5eba16a3
JB
77572011-07-14 Juanma Barranquero <lekktu@gmail.com>
7758
7759 * follow.el (follow-debug-message, follow-redisplay):
7760 * jka-cmpr-hook.el (with-auto-compression-mode):
7761 Fix typos in docstrings.
7762
15853710
LMI
77632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7764
a28e4607
LMI
7765 * subr.el (with-silent-modifications): Clarify somewhat what the
7766 macro inhibits (bug#6525).
7767
15853710
LMI
7768 * simple.el (eval-expression): Note what it does if called
7769 interactively (bug#6495).
7770
bee0fcef
CY
77712011-07-13 Chong Yidong <cyd@stupidchicken.com>
7772
b796c9b7
SM
7773 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7774 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7775
7776 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7777 Remove switch-to-buffer.
7778
58274504
LMI
77792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7780
bd2fcc8d
LMI
7781 * files.el (make-directory): Clarify that an error will be raised
7782 if there's an error (bug#6397).
7783
0f04b32c
LMI
7784 * startup.el (initial-buffer-choice): Add `none' as a choice
7785 (bug#6234).
7786
465c5fc8
LMI
7787 * subr.el (add-hook): Clarify section about buffer-local hooks
7788 (bug#6218).
7789
58274504
LMI
7790 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7791
bead9a43
JB
77922011-07-13 Juanma Barranquero <lekktu@gmail.com>
7793
7794 * tabify.el (untabify): Preserve the current column so that point
7795 doesn't move (bug#6032).
7796
3af98a7b
LMI
77972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7798
b796c9b7
SM
7799 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7800 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7801
6240145a
GM
78022011-07-13 Glenn Morris <rgm@gnu.org>
7803
7804 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7805 (dired-insert-directory): Give a message the first time
7806 if ls is found not to support --dired.
7807
1d8c2ccc
LMI
78082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7809
7810 * simple.el (toggle-truncate-lines): Clarify what is toggled
7811 (bug#5580). Text by Drew Adams.
7812
5fc4038e
CY
78132011-07-13 Chong Yidong <cyd@stupidchicken.com>
7814
7815 * simple.el (blink-matching-open): Make the error message from the
7816 last change less verbose.
7817
bf6012e5
DN
78182011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7819
7820 * font-lock.el (font-lock-comment-face): Use the high contrast
7821 "yellow" color for font-lock-comment-face on low color terminals
7822 using a dark background color (bug#4221).
7823
343c3b5a
LMI
78242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7825
7e9505c5
LMI
7826 * dired.el (dired-insert-set-properties): Make the doc string
7827 reflect what it does now (bug#5325).
7828
c26fdcf5
LMI
7829 * simple.el (blink-matching-open): Say that we were unable to find
7830 the match within the limit, if we're limited (bug#5122).
7831
bb388cc5
LMI
7832 * international/mule-cmds.el (prefer-coding-system): Add an
7833 example (bug#4869).
7834
343c3b5a
LMI
7835 * progmodes/etags.el (tags-search): Document `file-list-form'
7836 (bug#4731).
7837
2a517d45
LM
78382011-07-13 Lawrence Mitchell <wence@gmx.li>
7839
7840 * net/browse-url.el (browse-url-default-browser)
7841 (browse-url-browser-function): Make the default browser choice a
7842 bit more logical (bug#4300). Also clean up the doc string.
7843
b6c78ef2
JB
78442011-07-13 Juanma Barranquero <lekktu@gmail.com>
7845
7846 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7847 binary endings (bug#4440).
7848
1c4dd947
LMI
78492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7850
a2014063
LMI
7851 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7852 which can be pretty annoying (bug#8971).
7853
9c9c2d88
LMI
7854 * jka-compr.el (jka-compr-verbose): New variable, and use
7855 throughout (bug#8971).
7856
1c4dd947
LMI
7857 * info.el (Info-find-file): Fall back on the installation
7858 directory if we can't find the info node anywhere else.
7859
a1c9f41b
SO
78602011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7861
7862 * vc/vc.el (vc-revert-file):
7863 Don't set file time-stamp in the past. (Bug#5181)
7864
536f3d36
LMI
78652011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7866
7152b011
LMI
7867 * files.el (after-find-file): Give a better error message when
7868 trying to find a symlink that points to a file that doesn't exist
7869 (bug#4398).
7870
536f3d36
LMI
7871 * progmodes/cc-vars.el: Remove (probably) misleading comment
7872 (bug#4396).
7873
460c0fba
JB
78742011-07-12 Johan Bockgård <bojohan@gnu.org>
7875
7876 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7877
7a6bda45
CY
78782011-07-12 Chong Yidong <cyd@stupidchicken.com>
7879
7880 * mouse-sel.el: Hack restoring functionality, while keeping
7881 compatibility with 2010-07-03 changes to mouse selection.
7882 (mouse-sel-primary-overlay): New var.
7883 (mouse-sel-selection-alist): Use it.
7884 (mouse-sel-mode): Doc fix; remove points that are default features
7885 of mouse.el.
7886
c79598ef
JB
78872011-07-12 Johan Bockgård <bojohan@gnu.org>
7888
7889 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7890 Fix previous fix (bug#2490).
7891
ff8be6ef
RW
78922011-07-12 Roland Winkler <winkler@gnu.org>
7893
b796c9b7
SM
7894 * textmodes/bibtex.el (bibtex-initialize):
7895 Use pop-to-buffer-same-window.
ff8be6ef
RW
7896 (bibtex-search-entries): Fix interactive call.
7897
296ba3ee
LMI
78982011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7899
f5242a02 7900 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7901 Fontise bytecomp Error lines more correctly (bug#2490).
7902 Fix suggested by Johan Bockgård.
f5242a02 7903
296ba3ee
LMI
7904 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7905
7906 * dired-x.el (dired-guess-default): Use `delete-dups'.
7907
f69fd0d2
CY
79082011-07-12 Chong Yidong <cyd@stupidchicken.com>
7909
7910 * dired.el (dired-mark-prompt):
7911 * dired-aux.el (dired-read-shell-command): Doc fix.
7912
eab5dc07
LMI
79132011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7914
b796c9b7
SM
7915 * mail/sendmail.el (sendmail-query-once):
7916 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7917 emacs -Q.
7918
7919 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7920
eab5dc07
LMI
7921 * cus-edit.el (custom-file): Take an optional no-error variable.
7922 (customize-save-variable): Set the variable, and give a warning if
7923 running under "emacs -q".
7924
a1e65d42
JB
79252011-07-11 Juanma Barranquero <lekktu@gmail.com>
7926
7927 * loadhist.el (unload-feature-special-hooks):
7928 Add `auto-coding-functions', `fill-nobreak-predicate' and
7929 `find-directory-functions' (bug#5327).
7930
1d52da10
LMI
79312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7932
be958f1d
LMI
7933 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7934
5bedb26c
LMI
7935 * cus-edit.el (custom-guess-name-alist): -alist variables should
7936 use the `alist' type (bug#3120). Suggested by Drew Adams.
7937
1d52da10
LMI
7938 * printing.el: Add documentation to all the `pr-toggle-' commands.
7939
cd394be1 79402011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7941
7942 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7943 backends where it makes sense (bug#2623).
7944
dcc88d8a
LMI
79452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7946
c3de9feb
LMI
7947 * dired-x.el (dired-guess-default): Remove duplicate shell command
7948 entries (bug#2028).
8a93078b 7949 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7950 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7951
dcc88d8a
LMI
7952 * subr.el (remove-duplicates): New conveniency function.
7953
505e3645
LMI
79542011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7955
7956 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7957 (bug#1526).
7958
79592011-07-10 Martin Rudalics <rudalics@gmx.at>
7960
7961 * window.el (display-buffer-normalize-default): Don't invert
7962 meaning of even-window-heights. Reported by Eli Zaretskii
7963 <eliz@gnu.org>.
7964
455e4fa1
BR
79652011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7966
7967 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7968
8e0bc3e9
CY
79692011-07-10 Chong Yidong <cyd@stupidchicken.com>
7970
7971 * window.el (display-buffer): Fix arguments to
7972 display-buffer-reuse-window in last change.
7973
fa7c3228
CY
7974 * faces.el (link): Use a less saturated blue on light backgrounds.
7975
7976 * startup.el (fancy-startup-text, fancy-about-text)
7977 (fancy-startup-tail): Use font-lock faces, for background safety.
7978
c0a7f300
BN
79792011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7980
b796c9b7
SM
7981 * emulation/viper-cmd.el (viper-change-state-to-vi):
7982 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7983
4dc2a129
MR
79842011-07-09 Martin Rudalics <rudalics@gmx.at>
7985
7986 * window.el (display-buffer-default-specifiers): Remove.
7987 (display-buffer-macro-specifiers): Remove default specifiers.
7988 (display-buffer-alist): Default to nil.
b796c9b7 7989 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7990 (display-buffer-pop-up-window): Allow splitting internal
7991 windows. Check whether a live window was created.
7992 (display-buffer-other-window-means-other-frame)
7993 (display-buffer-normalize-arguments): Rename to
7994 display-buffer-normalize-argument and rewrite. Set the
7995 other-window specifier.
7996 (display-buffer-normalize-special): New function.
7997 (display-buffer-normalize-options): Rename to
7998 display-buffer-normalize-default and rewrite.
7999 (display-buffer-normalize-options-inhibit): Remove.
8000 (display-buffer-normalize-specifiers): Rewrite.
8001 (display-buffer): Process other-window specifier and call
8002 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8003 more faithfully.
b796c9b7 8004 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8005 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8006 (display-buffer-in-window, display-buffer-alist-set):
8007 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8008 <tassilo@member.fsf.org>.
8009
2d43b8c9
LL
80102011-07-09 Leo Liu <sdl.web@gmail.com>
8011
8012 * register.el (insert-register): Restore accidental change on
8013 2011-06-26. (Bug#9028)
8014
7f9b7c53
GM
80152011-07-09 Glenn Morris <rgm@gnu.org>
8016
8017 * subr.el (remq): Handle the empty list. (Bug#9024)
8018
f042cfd8
AS
80192011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8020
8021 * mail/sendmail.el (send-mail-function): No longer delay custom
8022 initialization.
8023 * custom.el (custom-initialize-delay): Doc fix.
8024
856b2f11
SM
80252011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8026
8027 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8028
afae1d68
MA
80292011-07-08 Michael Albinus <michael.albinus@gmx.de>
8030
8031 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8032 human-friendly prompt.
8033
0757af94
SM
80342011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8035
8036 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8037 provided by a particular plugin.
8038
d760b731
LMI
80392011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8040
8041 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8042 save customizations (with "emacs -Q"), just set the variable
8043 instead of erroring out.
8044
8045 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8046
cd79ce90
JL
80472011-07-08 Juri Linkov <juri@jurta.org>
8048
8049 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8050 (archive-zip-update-case): Use 7z if found by `executable-find'.
8051 The order of searching the available programs is the same as in
8052 `archive-zip-extract' (bug#8968).
8053
14cc04aa
CY
80542011-07-07 Chong Yidong <cyd@stupidchicken.com>
8055
8056 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8057 (menu-bar-options-menu): Tweak descriptions.
8058
0a1848ec
LMI
80592011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8060
8061 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8062 menu items into verb phrases (bug#1421). Also refill to fit under
8063 80 columns.
8064
f5bd0689
CY
80652011-07-07 Chong Yidong <cyd@stupidchicken.com>
8066
538e85c6
CY
8067 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8068 (Info-read-node-name): Doc fix (Bug#1084).
8069
f5bd0689
CY
8070 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8071 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8072 (end-of-sexp, beginning-of-sexp)
8073 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8074 (forward-symbol, forward-same-syntax, word-at-point)
8075 (sentence-at-point): Doc fix (Bug#1144).
8076
56ec5115
LMI
80772011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8078
f3f8e37f
LMI
8079 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8080 should cover it (bug#1281).
8081
0757af94 8082 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8083
e9fce1ac 8084 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8085 negotiation fails, then possibly try again with a non-encrypted
8086 connection (bug#9017).
8087
56ec5115
LMI
8088 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8089 be used.
8090
c2f9aec8
RS
80912011-07-07 Richard Stallman <rms@gnu.org>
8092
8093 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8094 property, and handle its changed format.
8095 Look for the correct line number.
8096 Use file's line contents (but not past first =) to find
8097 correct line in message.
8098
ef7b981d 80992011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8100
8101 * international/characters.el (build-unicode-category-table):
8102 Delete it.
0757af94 8103 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8104
0757af94 8105 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8106 to src/chartab.c.
8107 (get-char-code-property): Call unicode-property-table-internal to
8108 load a file. Call get-unicode-property-internal where necessary.
8109 (put-char-code-property): Call unicode-property-table-internal to
8110 load a file. Call put-unicode-property-internal where necessary.
8111 put-unicode-property-internal where necessary.
0757af94
SM
8112 (char-code-property-description):
8113 Call unicode-property-table-internal to load a file.
c805dec0
KH
8114
8115 * international/charprop.el:
8116 * international/uni-bidi.el:
8117 * international/uni-category.el:
8118 * international/uni-combining.el:
8119 * international/uni-comment.el:
8120 * international/uni-decimal.el:
8121 * international/uni-decomposition.el:
8122 * international/uni-digit.el:
8123 * international/uni-lowercase.el:
8124 * international/uni-mirrored.el:
8125 * international/uni-name.el:
8126 * international/uni-numeric.el:
8127 * international/uni-old-name.el:
8128 * international/uni-titlecase.el:
8129 * international/uni-uppercase.el: Regenerate.
8130
8131 * loadup.el: Load international/charprop.el before
8132 international/characters.
8133
e14b388a
CY
81342011-07-07 Chong Yidong <cyd@stupidchicken.com>
8135
8136 * window.el (next-buffer, previous-buffer): Signal an error if
8137 called from a minibuffer window.
8138
8139 * bindings.el: Revert 2011-07-04 change.
8140
354cf0ba
RS
81412011-07-06 Richard Stallman <rms@gnu.org>
8142
8143 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8144 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8145 Treat markers like ints.
8146 (rmail-mime-entity): Doc fix.
8147
a48868a7
LMI
81482011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8149
4906cd3d
LMI
8150 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8151 defcustom again for backwards compatibility.
8152
e0457abe
LMI
8153 * simple.el (shell-command-on-region): Fill.
8154
d67f7e1f
LMI
8155 * dired-aux.el (dired-kill-line): Add a doc string.
8156
fe204702
LMI
8157 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8158 to "\\sw\\|\\s_" (bug#358).
8159
a48868a7
LMI
8160 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8161 (dired-unmark-backward): Ditto.
8162 (dired-flag-backup-files): Ditto.
8163
8164 * dired-x.el (dired-mark-sexp): Ditto.
8165
aa8a705c
RS
81662011-07-06 Richard Stallman <rms@gnu.org>
8167
8168 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8169 (rmail-mime-entity): New arg TRUNCATED.
8170 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8171 New functions.
8172 (rmail-mime-save): Warn if entity is truncated.
8173 (rmail-mime-toggle-hidden): Likewise, for showing.
8174 (rmail-mime-process-multipart): Record when an entity is truncated.
8175
a9a936b9
RS
8176 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8177 if ENTITY is a string.
8178
1f2b92cb
LMI
81792011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8180
f4f73198 8181 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8182 of faces when `M-C-x'-ing their definitions (bug#8378).
8183 Also clean up the code slightly.
f4f73198 8184
12b16734 8185 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8186 because that makes the colors go away.
12b16734 8187
f0691d22
LMI
8188 * mail/sendmail.el (send-mail-function): Change the default to
8189 `sendmail-query-once'.
9e87df06 8190 (sendmail-query-once): Add an autoload cookie.
f0691d22 8191
1f2b92cb
LMI
8192 * net/network-stream.el (network-stream-open-starttls): Try using
8193 a plain connection even if the server offered STARTTLS, and we
8194 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8195 capability. This should make smtpmail.el work in slightly more
8196 configurations.
8197
1cdd2a1b
MA
81982011-07-06 Michael Albinus <michael.albinus@gmx.de>
8199
8200 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8201 New defun.
8202 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8203
fbcc67e2
MM
82042011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8205
8206 * progmodes/sql.el: Version 3.0
0757af94 8207 (sql-product-alist): Add product :completion-object,
fbcc67e2 8208 :completion-column, and :statement attributes.
0757af94 8209 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8210 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8211 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8212 ansi keywords.
8213 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8214 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8215 (sql-oracle-show-reserved-words): New function for development.
8216 (sql-product-font-lock): Simplify for source code buffers.
8217 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8218 New functions.
8219 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8220 (sql-mode-map): Add statement movement functions.
8221 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8222 New variable.
fbcc67e2
MM
8223 (sql-statement-regexp, sql-beginning-of-statement)
8224 (sql-end-of-statement, sql-signum): New functions.
0757af94 8225 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8226 (sql-show-sqli-buffer): Bug fix.
8227 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8228 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8229 with sql-interactive-mode.
8230 (sql-save-connection): Save buffer local settings.
0757af94 8231 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8232 (sql-product-interactive): Bug fix.
8233 (sql-preoutput-hold): New variable.
8234 (sql-interactive-remove-continuation-prompt): Bug fixes.
8235 (sql-debug-redirect): New variable.
8236 (sql-str-literal): New function.
8237 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8238 Redesign.
fbcc67e2
MM
8239 (sql-oracle-save-settings, sql-oracle-restore-settings)
8240 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8241 (sql-completion-object, sql-completion-column)
8242 (sql-completion-sqlbuf): New variables.
8243 (sql-build-completions-1, sql-build-completions)
8244 (sql-try-completion): New functions.
8245 (sql-read-table-name): Use them.
8246 (sql-contains-names): New buffer local variable.
8247 (sql-list-all, sql-list-table): Use it.
8248 (sql-oracle-completion-types): New variable.
8249 (sql-oracle-completion-object, sql-sqlite-completion-object)
8250 (sql-postgres-completion-object): New functions.
8251
d4eaeab1
GM
82522011-07-06 Glenn Morris <rgm@gnu.org>
8253
8254 * window.el (pop-to-buffer): Doc fix.
8255
322b7dab 82562011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8257
8258 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8259
322b7dab 82602011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8261
322b7dab 8262 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8263
322b7dab 8264 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8265
605dd5bf
CY
82662011-07-05 Chong Yidong <cyd@stupidchicken.com>
8267
8268 * button.el (button): Inherit from link face. Suggested by Dan
8269 Nicolaescu.
8270
7dbfa719
SM
82712011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8272
3db614b0
SM
8273 * progmodes/gdb-mi.el: Fit in 80 columns.
8274 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8275 switch-to-buffer.
8276
7dbfa719
SM
8277 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8278 if imenu is simply not configured (bug#8941).
8279
919d884a
KM
82802011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8281
8282 * allout.el (allout-post-undo-hook): New allout outline-change
8283 event hook to signal undo activity.
8284 (allout-post-command-business): Run allout-post-undo-hook if an
8285 undo just occurred.
7dbfa719
SM
8286 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8287 * allout-widgets.el (allout-widgets-after-undo-function):
8288 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8289 in the vicinity of an undo.
8290 (allout-widgets-mode): Include allout-widgets-after-undo-function
8291 on the new allout-post-undo-hook.
8292
450a0f09
SM
82932011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8294
8295 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8296 Let define-derived-mode define it.
8297 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8298 cycles of abbrev-table inheritance (bug#8998).
8299
2de69e00
RW
83002011-07-05 Roland Winkler <winkler@gnu.org>
8301
8302 * textmodes/bibtex.el: Add support for biblatex.
8303 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8304 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8305 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8306 (bibtex-entry-alist, bibtex-field-alist): New variables.
8307 (bibtex-entry-field-alist): Obsolete alias for
8308 bibtex-BibTeX-entry-alist.
8309 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8310 (bibtex-set-dialect): New command.
8311 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8312 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8313 Bind via bibtex-set-dialect.
2de69e00
RW
8314 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8315 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8316 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8317 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8318 Define via bibtex-set-dialect.
450a0f09
SM
8319 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8320 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8321 (bibtex-vec-push, bibtex-vec-incr): New functions.
8322 (bibtex-format-entry, bibtex-field-list)
8323 (bibtex-print-help-message, bibtex-validate)
8324 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8325
2dcdbdd9
SM
83262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8327
8328 * progmodes/compile.el (compilation-goto-locus):
8329 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8330 * bs.el (bs-cycle-next, bs-cycle-previous):
8331 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8332 * bindings.el (mode-line-other-buffer):
8333 * autoinsert.el (auto-insert):
8334 * arc-mode.el (archive-extract):
8335 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8336
b27640fe
JB
83372011-07-05 Juanma Barranquero <lekktu@gmail.com>
8338
8339 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8340 Fix check of `emacs-lock-unlockable-modes'.
8341 Coerce true values of `emacs-lock--try-unlocking' to t.
8342
53bbe3ad
JB
83432011-07-05 Juanma Barranquero <lekktu@gmail.com>
8344
8345 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8346 * emacs-lock.el: New file.
8347
1d3cdbc7
JD
83482011-07-05 Julien Danjou <julien@danjou.info>
8349
8350 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8351 than `boundp' to check if face is set.
8352
9173deec
JB
83532011-07-05 Juanma Barranquero <lekktu@gmail.com>
8354
8355 * register.el (registerv-make):
8356 * window.el (window-min-height): Fix typos in docstrings.
8357
869795d6
JD
83582011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8359
9173deec 8360 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8361 Update doc string.
8362
b768cdcd
JB
83632011-07-04 Juanma Barranquero <lekktu@gmail.com>
8364
8365 * server.el (server-execute): Catch quit and call
8366 `server-return-error' to pass the error back to emacsclient and
8367 close the connection (bug#8942).
8368
13aa217b
KM
83692011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8370
8371 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8372 insecure exception for current topic. Also note that auto-saves
8373 are handled differently.
8374
5d3385a0 8375 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8376 State variables for tracking auto-save inhibition situation.
8377
8378 (allout-write-contents-hook-handler): Rename from
8379 'allout-write-file-hook-handler', and describe how it depends on
8380 write-contents-functions sensitivity to non-nil value to prevent
8381 file write.
8382
8383 (allout-auto-save-hook-handler): Remove. auto-save does not check
8384 this in individual buffers, only in the starting buffer, so this
8385 is not the right way for us to inhibit auto-save in a buffer
8386 according to its condition.
8387
8388 (allout-mode): Use new allout-write-contents-hook-handler, and
8389 only with write-contents-functions. Remove auto-save provisions -
8390 they're implemented elsewhere.
8391
8392 (allout-before-change-handler): If undo is in progress, note that
8393 for attention of allout-post-command-business.
8394
8395 (allout-post-command-business): If the command we're following was
8396 an undo, check for change in the status of encrypted items and
8397 adjust auto-save inhibitions accordingly.
8398
8399 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8400 according to whether there are or aren't any plain-text topics
8401 pending encryption.
8402
2dcdbdd9 8403 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8404 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8405 if there are plain-text topics pending encryption.
13aa217b
KM
8406
8407 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8408 buffer-saved-size and some allout state to not inhibit auto-saves
8409 if there are no longer any plain-text topics pending encryption.
8410
0757af94
SM
8411 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8412 No longer provide for exemption of the current topic.
13aa217b 8413
ac89b32c
JL
84142011-07-04 Juri Linkov <juri@jurta.org>
8415
8416 Add 7z operations to delete and save changed members (bug#8968).
8417 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8418 New defcustoms.
8419 (archive-7z-write-file-member): New function.
8420 (archive-7z-summarize): Fix the number of dashes in the
8421 listing output.
8422
8fa39615
SM
84232011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8424
8425 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8426 (bug#8958).
8427
2f11b3f1
CY
84282011-07-04 Chong Yidong <cyd@stupidchicken.com>
8429
d66fef2b
CY
8430 * bindings.el: Ignore next-buffer and previous-buffer in
8431 minibuffer-local-map.
8432
2f11b3f1
CY
8433 * font-lock.el (font-lock-builtin-face): Change light background
8434 color to dark slate blue (Bug#6693).
8435
f932a347
WD
84362011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8437
8438 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8439
c8af70e1
SM
84402011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8443 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8444 Add switch-to-buffer.
8445
f158badc
LMI
84462011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8447
8448 * isearch.el (isearch-search-fun-function): Clarify further the
8449 meaning of the function returned.
8450
6d95bd46
MA
84512011-07-04 Michael Albinus <michael.albinus@gmx.de>
8452
8453 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8454
8455 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8456 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8457 Use it.
8458 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8459 `tramp-default-remote-path' does not exist.
8460 (tramp-send-command-and-read): New optional argument NOERROR.
8461 (tramp-open-connection-setup-interactive-shell)
8462 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8463 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8464 (tramp-process-sentinel): Flush also process' connection property.
8465 (tramp-sh-handle-start-file-process): Do not set process
8466 sentinel. It is done now ...
8467 (tramp-maybe-open-connection): ... here. (Bug#8929)
8468
909e6b67
MK
84692011-07-04 MON KEY <monkey@sandpframing.com>
8470
8471 * play/animate.el (animate-string): Doc fixes and allow changing
8472 the buffer name (bug#5417).
8473
84742011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8475
c8af70e1 8476 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8477
f34755dc
PE
84782011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8479
396cec72
PE
8480 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8481 This is simpler and helps future-proof the code.
8482 (timer-until): Use time-subtract and float-time.
08235028 8483 (timer--time-less-p): Use time-less-p.
f34755dc 8484
56e6cc31
JB
84852011-07-04 Juanma Barranquero <lekktu@gmail.com>
8486
3abb79e5
JB
8487 * type-break.el (timep): Use the value of `float-time' to avoid a
8488 byte-compiler warning.
8489
56e6cc31
JB
8490 * server.el (server-eval-and-print): Return any result, even nil.
8491
7b9430b4
PE
84922011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8493
8494 * type-break.el: Accept time formats that the builtins accept.
8495 (timep, type-break-time-difference): Accept any format that
8496 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8497 This is simpler and helps future-proof the code.
8498 (type-break-time-difference): Round rather than ignoring
8499 subseconds components.
8500
3034e9e7
LMI
85012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8502
8503 * info.el (Info-apropos-matches): Make non-interactive, since it
8504 doesn't seem to do anything useful as a command (bug#8829).
8505
1485f4c0
CY
85062011-07-03 Chong Yidong <cyd@stupidchicken.com>
8507
8508 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8509 Move from faces.el.
1485f4c0
CY
8510 (frame-default-terminal-background): New function.
8511
8512 * custom.el (custom-push-theme): Don't record faces in `changed'
8513 theme; this doesn't work correctly for per-frame face settings.
8514 (disable-theme): Use face-set-after-frame-default to reset faces.
8515 (custom--frame-color-default): New function.
8516
9fa3dd45
LMI
85172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8518
c8af70e1 8519 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8520 (bug#8769).
8521
6cbbc20c
KR
85222011-03-29 Kevin Ryde <user42@zip.com.au>
8523
8524 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8525 `perl-Test2' extend to match possible "fail #N" rep count
8526 (bug#8377).
8527
c7f98048
LMI
85282011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8529
65676592
LMI
8530 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8531 `smtpmail-via-smtp' now returns the error instead of nil.
8532
c7f98048
LMI
8533 * isearch.el (isearch-search-fun-function): Clarify the doc string
8534 (bug#8101).
8535
56e6cc31 85362011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8537
8538 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8539 unnecessary spaces (bug#8987).
8540
2b216704
LMI
85412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8542
8543 * net/network-stream.el (open-network-stream): Use the
8544 :end-of-capability command thoughout.
8545
85462011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8547
8548 * net/network-stream.el (open-network-stream): Add the
8549 :end-of-capability command parameter, used by pop3.el.
8550
36adf6ce
LMI
85512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8552
1ca0da0e
LMI
8553 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8554
fc00f69c
LMI
8555 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8556 for list)" (bug#6475).
8557
28fd8759 8558 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8559 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8560 an error (bug#6297).
8561
0dd8b6da
LMI
8562 * man.el (Man-reference-regexp): Allow matching possible
8563 word-wrapped references (bug#6289).
8564
ce1438d6
LMI
8565 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8566 for consistency with the other vc buffers (bug#6197).
8567 (vc-checkin): Ditto.
8568
8569 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8570
36adf6ce
LMI
8571 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8572
e83cc1f7
LMI
85732011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8574
8a20ca4c
LMI
8575 * custom.el (defcustom): Clarify that :set is only used in the
8576 Customize user interface (bug#6089).
8577
83319045
LMI
8578 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8579 associated with a file, refuse to run instead of erroring out
8580 (bug#6084).
8581
a8392169
LMI
8582 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8583 the doc string, since it appears that using `fill-column' always
8584 controls the width (bug#7845).
8585
e83cc1f7
LMI
8586 * simple.el (shell-command-on-region): Say where the error output
8587 went if `shell-command-default-error-buffer' is set (bug#6857).
8588
e47ca23b
KM
85892011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8590
8591 * allout.el (allout-yank-processing): Adjust cursor position for
8592 backwards-deleted space.
8593
8594 (allout-rebullet-heading): Register changes with
8595 allout-exposure-changed-hook, so the modified topic is properly
8596 decorated.
8597
5cf56143
LMI
85982011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8599
08549772
LMI
8600 * minibuffer.el (completion-in-region): Document PREDICATE
8601 (bug#7136).
8602
48e96771
LMI
8603 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8604 of keyword/argument pairs (bug#6904).
8605
c8af70e1
SM
8606 * replace.el (multi-occur):
8607 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8608
e17d05e2
LMI
86092011-07-02 Drew Adams <drew.adams@oracle.com>
8610
8611 * dired.el (dired-mark-if): Make the message about whether it's
8612 marking or unmarking clearer (bug#8523).
8613
063b0e45
LMI
86142011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8615
8616 * disp-table.el (display-table-print-array): New function.
8617 (describe-display-table): Use it to print the vectors more pretty
8618 (Bug#8859).
8619
28545e04
MR
86202011-07-02 Martin Rudalics <rudalics@gmx.at>
8621
8622 * window.el (window-state-get-1): Don't assign clone numbers.
8623 Add clone-of item to list of window parameters.
8624 (window-state-put-2): Don't process clone numbers.
8625 (display-buffer-alist): Fix doc-string.
8626
3349e122
SM
86272011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * subr.el (remq): Don't allocate if it's not needed.
8630 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8631 (keymap--merge-bindings): New functions.
8632 (keymap-canonicalize): Use them to refine the canonicalization.
8633 * minibuffer.el (minibuffer-local-completion-map)
8634 (minibuffer-local-must-match-map): Move initialization from C.
8635 (minibuffer-local-filename-completion-map): Move initialization from C;
8636 don't inherit from anything here.
8637 (minibuffer-local-filename-must-match-map): Make obsolete.
8638 (completing-read-default): Use make-composed-keymap to combine
8639 minibuffer-local-filename-completion-map with either
8640 minibuffer-local-must-match-map or
8641 minibuffer-local-filename-completion-map.
8642
d224ac83
GM
86432011-07-01 Glenn Morris <rgm@gnu.org>
8644
3de63bf8
GM
8645 * type-break.el (type-break-time-sum): Use dolist.
8646
d224ac83
GM
8647 * textmodes/flyspell.el (flyspell-word-search-backward):
8648 Replace CL function.
8649
1a1e3f32
SM
86502011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8651
fe3f64d5
SM
8652 * mouse.el (mouse--strip-first-event): New function.
8653 (function-key-map): Use it to map fringe clicks to normal clicks
8654 by default.
8655
eb604e34
SM
8656 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8657 (vc-bzr-revision-completion-table): Add support for annotate and date.
8658
1a1e3f32
SM
8659 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8660 inherit from parent.
8661
5bd35902
LMI
86622011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8663
ace6c69c 8664 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8665 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8666
191e2bed
LMI
8667 * dired.el (dired-mode): Fix up the doc string as suggested by
8668 Drew Adams (bug#8817).
8669
5bd35902
LMI
8670 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8671 cookie, since the manual says that it should be possible to add
8672 this function to `find-file-hook' (bug#8709).
8673
eee8207a
TZ
86742011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8675
8676 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8677 here. Noted Ted Zlatanov as the maintainer.
8678 (cfengine-common-settings, cfengine-common-syntax): New functions
8679 to set up common things between `cfengine-mode' and
8680 `cfengine3-mode'.
8681 (cfengine3-mode): New mode.
8682 (cfengine3-defuns cfengine3-defuns-regex
8683 (cfengine3-class-selector-regex cfengine3-category-regex)
8684 (cfengine3-vartypes cfengine3-font-lock-keywords)
8685 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8686 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8687
36b148cf
MA
86882011-07-01 Michael Albinus <michael.albinus@gmx.de>
8689
8690 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8691
8692 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8693
0bf4ba9a
MR
86942011-07-01 Martin Rudalics <rudalics@gmx.at>
8695
8696 * window.el (same-window-buffer-names, same-window-regexps)
8697 (same-window-p, special-display-frame-alist)
8698 (special-display-popup-frame, special-display-function)
8699 (special-display-buffer-names, special-display-regexps)
8700 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8701 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8702 (split-window-preferred-function, split-height-threshold)
8703 (split-width-threshold, even-window-heights)
8704 (display-buffer-mark-dedicated, window-splittable-p)
8705 (split-window-sensibly, window-safely-shrinkable-p):
8706 Un-obsolete.
8707 (display-buffer): Don't spread args with function specifier
8708 because special-display-popup-frame won't like it.
8709
35837f51
PE
87102011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8711
d0672f86
PE
8712 Time-stamp simplifications and fixes.
8713 These improve accuracy slightly, and future-proof the code
8714 against some potential changes to current-time format.
8715
b9444d97
PE
8716 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8717 by using time-since and float-time.
8718
0ef923dc
PE
8719 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8720 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8721 + NNN microseconds".
8722
2f81380d
PE
8723 * type-break.el (type-break-time-sum): Rewrite using time-add.
8724
845b5c3e
PE
8725 * play/hanoi.el (hanoi-current-time-float): Remove.
8726 All uses replaced by float-time.
8727
ee6f1be0
PE
8728 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8729 This yields a more-accurate answer.
8730 (rng-time-to-float): Remove; no longer needed.
8731
fe955043
PE
8732 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8733
5777162a
PE
8734 * calendar/timeclock.el (timeclock-seconds-to-time):
8735 Defalias to seconds-to-time, since they're the same thing.
8736
3103f8b6 8737 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8738 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8739 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8740
0e61a35f
SM
87412011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8742
8743 * window.el (bury-buffer): Don't iconify the only frame.
8744 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8745 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8746
ddd63a1e
CY
87472011-07-01 Chong Yidong <cyd@stupidchicken.com>
8748
0e61a35f
SM
8749 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8750 Add mouse-yank-primary.
ddd63a1e 8751
055f4923
TZ
87522011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8753
8754 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8755
6a2fb145
SM
87562011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8757
8758 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8759 (find-library-name): Use it to find relative load names when provided
8760 absolute file name (bug#8803).
8761
fd4983f2
LMI
87622011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8763
887d14ad
LMI
8764 * textmodes/flyspell.el (flyspell-word): Consider words that
8765 differ only in case as potential doublons (bug#5687).
8766
c53dc7fc
LMI
8767 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8768 Remove two rather uninteresting debugging-like messages to make
8769 debbugs.el more silent.
8770
fd4983f2
LMI
8771 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8772 a password-like phrase.
8773
7a71b18d 87742011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8775
8776 * progmodes/cc-guess.el: New file.
8777
6a2fb145 8778 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8779
8780 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8781 derived from `c-basic-common-init'.
8782
8783 * progmodes/cc-mode.el (top-level): Require cc-guess.
8784 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8785
1fa280a3
LM
87862011-06-30 Lawrence Mitchell <wence@gmx.li>
8787
8788 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8789
e6597158
AM
87902011-06-30 Alan Mackenzie <acm@muc.de>
8791
1fa280a3
LM
8792 * progmodes/cc-engine.el (c-guess-continued-construct):
8793 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8794 lock is disabled. Name this case as "CASE G".
8795
68ba37fb
KM
87962011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8797
8798 * allout.el (allout-yank-processing): Fix injection of extra space
8799 between bullet and non-whitespace character in first topic when
8800 pasting, ensuring that the actual spacing in the pasted topic
8801 following the bullet char is preserved. This extra space was
8802 causing pasted encrypted topics to get a decrypted status even
8803 when the content was actually still encrypted. Now the decryption
8804 status from before the paste is preserved.
8805
8806 (allout-flag-region): Set all allout overlays so they evaporate
8807 when reduced to zero length (evanescent), to prevent overlay
8808 leakage.
8809
887a0b34
GM
88102011-06-30 Glenn Morris <rgm@gnu.org>
8811
94b9acce
GM
8812 * w32-fns.el (w32-charset-info-alist): Declare.
8813
1d9b46d4
GM
8814 * find-dired.el (find-grep-options): Simplify.
8815
cc232200
GM
8816 * term/ns-win.el (ns-set-resource): Declare.
8817
28e77c46
GM
8818 * ses.el (row, col): Declare dynamic variables honestly.
8819
887a0b34
GM
8820 * textmodes/reftex-parse.el (index-tags): Declare.
8821
658d8eb8
CY
88222011-06-30 Chong Yidong <cyd@stupidchicken.com>
8823
8824 * cus-edit.el (customize-push-and-save): New function.
8825
8826 * files.el (hack-local-variables-confirm): Use it.
8827
1fa280a3
LM
8828 * custom.el (load-theme): New arg NO-CONFIRM.
8829 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8830 (custom-enabled-themes): Doc fix.
8831
8832 * cus-theme.el (customize-create-theme)
8833 (custom-theme-merge-theme): Callers to load-theme changed.
8834
bb617717
LMI
88352011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8836
d61bdd5d
LMI
8837 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8838 short URLs have at least one dot in them (bug #7614).
8839
bb617717
LMI
8840 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8841 nil, because using a pty is apparently too slow (bug #895).
8842
2f31f37a
LMI
88432011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8844
8845 * mail/sendmail.el (sendmail-query-once): New function.
8846 (sendmail-query-once-function): New variable.
8847
3076b24e
GM
88482011-06-29 Glenn Morris <rgm@gnu.org>
8849
faf2a174
GM
8850 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8851
3076b24e
GM
8852 * ses.el (top-level): Require cl when compiling.
8853 (ses-set-localvars): Fix error statement.
8854 Call it at compile time to silence a storm of warnings.
8855
5386012d
MR
88562011-06-29 Martin Rudalics <rudalics@gmx.at>
8857
8858 * window.el (normalize-live-buffer): Rename to
8859 window-normalize-buffer.
8860 (normalize-live-frame): Rename to window-normalize-frame.
8861 (normalize-any-window): Rename to window-normalize-any-window.
8862 (normalize-live-window): Rename to window-normalize-live-window.
8863 (make-window-atom): Rename to window-make-atom.
8864 (window-resize-reset): Rename to window--resize-reset.
8865 (window-resize-reset-1): Rename to window--resize-reset-1.
8866 (resize-mini-window): Rename to window--resize-mini-window.
8867 (resize-subwindows-skip-p): Rename to
8868 window--resize-subwindows-skip-p.
8869 (resize-subwindows-normal): Rename to
8870 window--resize-subwindows-normal.
8871 (resize-subwindows): Rename to window--resize-subwindows.
8872 (resize-other-windows): Rename to window--resize-siblings.
8873 (resize-this-window): Rename to window--resize-this-window.
8874 (resize-root-window): Rename to window--resize-root-window.
8875 (resize-root-window-vertically): Rename to
8876 window--resize-root-window-vertically.
8877 (normalize-buffer-to-display): Rename to
8878 window-normalize-buffer-to-display.
8879 (normalize-buffer-to-switch-to): Rename to
8880 window-normalize-buffer-to-switch-to.
8881 Correspondingly update all callers of the functions listed
8882 above.
8883 (display-buffer-alist, display-buffer-normalize-arguments)
8884 (display-buffer-normalize-options, display-buffer)
8885 (display-buffer-alist-set): Use "function" instead of
8886 "fun-with-args".
8887
1176868d
CY
88882011-06-28 Chong Yidong <cyd@stupidchicken.com>
8889
8890 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8891 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8892 debbugs.gnu.org. Mention acknowledgment email.
8893
20a7a65f
LMI
88942011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8895
8896 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8897 buffer multibyteness, since it shouldn't matter.
8898
5f45cca5
MR
88992011-06-28 Martin Rudalics <rudalics@gmx.at>
8900
8901 * window.el (display-buffer-in-side-window): Handle dedicated
8902 windows as in display-buffer-reuse-window.
8903 (display-buffer-normalize-alist): Use value of override
8904 specifier.
8905 (display-buffer-normalize-specifiers): Use value of
8906 other-window-means-other-frame specifier.
8907 (display-buffer-alist): Rewrite some texts in widgets.
8908 (display-buffer): Spread arguments when calling function
8909 specified by fun-with-args.
8910
ad85fe1f
DD
89112011-06-28 Deniz Dogan <deniz@dogan.se>
8912
1fa280a3
LM
8913 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8914 Unnest `let'.
da68c4c8 8915
ad85fe1f
DD
8916 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8917 selectors (Bug#5732).
ec49bd31 8918 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8919
a08cc025
JA
89202011-06-27 Jari Aalto <jari.aalto@cante.net>
8921
8922 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8923 (eshell-ls-date-format): New defcustom.
8924 (eshell-ls-file): Use it.
8925
e2b551c5
SM
89262011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8927
8928 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8929
8982b231
KY
89302011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8931
8932 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8933 (ange-ftp-make-tmp-name): New arg.
8934 (ange-ftp-file-local-copy): Use it.
8935
36c9fa27
J
89362011-06-27 Jambunathan K <kjambunathan@gmail.com>
8937
8938 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8939 no-conversion (Bug#8870).
8940
d68443dc
MR
89412011-06-27 Martin Rudalics <rudalics@gmx.at>
8942
8943 * window.el (window-right, window-left, window-child)
8944 (window-child-count, window-last-child)
8945 (window-iso-combination-p, walk-window-tree-1)
8946 (window-atom-check-1, window-tree-1, delete-window)
8947 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8948 new naming conventions - window-vchild, window-hchild,
8949 window-next and window-prev are now called window-top-child,
8950 window-left-child, window-next-sibling and window-prev-sibling
8951 respectively.
d615d6d2
MR
8952 (resize-window-reset): Rename to window-resize-reset.
8953 (resize-window-reset-1): Rename to window-resize-reset-1.
8954 (resize-window): Rename to window-resize.
8955 (window-min-height, window-min-width)
8956 (resize-mini-window, resize-this-window, resize-root-window)
8957 (resize-root-window-vertically, adjust-window-trailing-edge)
8958 (enlarge-window, shrink-window, maximize-window)
8959 (minimize-window, delete-window, quit-restore-window)
8960 (split-window, balance-windows, balance-windows-area-adjust)
8961 (balance-windows-area, window-state-put-2)
8962 (display-buffer-even-window-sizes, display-buffer-set-height)
8963 (display-buffer-set-width, set-window-text-height)
8964 (fit-window-to-buffer): Rename all "resize-window" prefixed
8965 calls to use the "window-resize" prefix convention.
8966 (display-buffer-alist): Fix symbol for label specifier.
8967 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8968 corresponding specifier.
8969 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8970
b6458526
VB
89712011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8972
8973 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8974 convention.
8975 (ses-call-printer): Does not pass an empty string to formatter when the
8976 cell is empty to keep from barking printer Calc math-format-value.
8977
d31fd9ac
RS
89782011-06-27 Richard Stallman <rms@gnu.org>
8979
43d5bf84
RS
8980 * battery.el (battery-mode-line-limit): New variable.
8981 (battery-update): Handle it.
8982
d31fd9ac
RS
8983 * mail/rmailmm.el (rmail-mime-process-multipart):
8984 Handle truncated messages.
8985
819a6054
GM
89862011-06-27 Glenn Morris <rgm@gnu.org>
8987
8988 * progmodes/flymake.el (flymake-err-line-patterns):
8989 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8990
cedc73f2
VB
89912011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8992
819a6054 8993 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8994 (ses--clean-!, ses--clean-_): New functions.
8995 (ses-range): Add configurability of readout order, and conversion
8996 to Calc vector.
8997
5e5d49b6
VB
8998 * ses.el (ses-repair-cell-reference-all): New function.
8999 (ses-cell-symbol): Set macro as safe, so that it can be used in
9000 formulas.
9001
56e6cc31 9002 * ses.el: Update cycle detection algorithm.
90ca8b49 9003 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9004 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9005 (ses-set-localvars): New function.
9006 (ses-make-cell): Add property-list as a cell element.
9007 (ses-cell-property-get-fun, ses-cell-property-get)
9008 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9009 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9010 New functions.
90ca8b49
VB
9011 (ses-cell-property-set, ses-cell-property-pop)
9012 (ses-cell-property-get-handle): New macro.
9013 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9014 New aliases, used for code readability.
9015 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9016 cycle detection.
9017 (ses-self-reference-early-detection): New defcustom.
fac916bf 9018 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9019 (ses-mode): Use ses-set-localvars.
9020 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9021 before lauching the update processing.
9022 (ses-initialize-Dijkstra-attempt): New function.
9023 (ses-recalculate-cell): Update for cycle detection based on
9024 Dijkstra algorithm.
9025
2bb63e81
VB
9026 * ses.el: Fix commenting and indenting convention.
9027
c9d29fb8
SM
90282011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9029
9030 * bs.el (bs-cycle-next): Complete last change.
9031
d8e4b68b
JB
90322011-06-27 Drew Adams <drew.adams@oracle.com>
9033
9034 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9035
40098786
LMI
90362011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9037
c9d29fb8
SM
9038 * net/network-stream.el (network-stream-open-starttls):
9039 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9040 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9041
40098786
LMI
9042 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9043 to binary to possibly avoid line encoding issues on Windows (among
9044 other things).
9045
468d09d4
LMI
90462011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9047
9048 * net/network-stream.el (open-network-stream): Return an :error
9049 saying what the problem was, if possible.
9050
9051 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9052 server.
9053
9054 * net/network-stream.el (network-stream-open-starttls): If we
9055 wanted to use STARTTLS, and the server offered it, but we weren't
9056 able to because we had no STARTTLS support, then close the connection.
9057 (open-network-stream): Return an :error element, if present.
9058
16f07dd7
CY
90592011-06-26 Chong Yidong <cyd@stupidchicken.com>
9060
88821ca0
CY
9061 * hl-line.el (hl-line-sticky-flag): Doc fix.
9062 (global-hl-line-sticky-flag): New option (Bug#8323).
9063 (global-hl-line-highlight): Obey it.
9064
16f07dd7
CY
9065 * vc/vc.el (vc-revert-show-diff): Default to t.
9066
6b5ccddf
KM
90672011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9068
c9d29fb8
SM
9069 * allout-widgets.el (allout-widgets-post-command-business):
9070 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9071 undecorated when an isearch is continued past, and isearch
9072 automatically collapses them. This leads to "widget leaks", where
9073 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9074 hidden widgets can slow down cursor travel, substantially.
9075 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9076 so we're doing without this nicety.
9077
9078 (allout-widgets-tally-string): Don't try to do a hash-table-count
9079 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9080 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9081 *Messages* when allout-widgets-maintain-tally is t.
9082
355f2e07
MR
90832011-06-26 Martin Rudalics <rudalics@gmx.at>
9084
9085 * window.el (display-buffer-normalize-argument): Rename to
9086 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9087 LABEL argument. Respect special-display-function when popping up
9088 a new frame. Fix code searching for a window showing the buffer
9089 on another frame.
c9d29fb8
SM
9090 (display-buffer-normalize-specifiers):
9091 Call display-buffer-normalize-arguments.
355f2e07
MR
9092 (display-buffer-in-window): Don't undedicate the window if its
9093 buffer remains the same.
9094 Reported by Drew Adams <drew.adams@oracle.com>.
9095 (display-buffer-alist): Add choice for same-window macro
9096 specfier.
9097 (display-buffer): Mention special meaning of LABEL argument in
9098 doc-string. Fix quoting. Don't pop up a new frame even as
9099 fallback.
9100
7ca8fc42
JB
91012011-06-26 Juanma Barranquero <lekktu@gmail.com>
9102
9103 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9104 avoid deleting the current window in some cases (bug#8911).
9105
bc312254
AS
91062011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9107
9108 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9109 (Bug#8934)
9110
2db18f3f
LMI
91112011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9112
c9d29fb8
SM
9113 * net/network-stream.el (network-stream-open-starttls):
9114 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9115 (network-stream-open-tls): Ditto.
9116
6302e0d3
LL
91172011-06-26 Leo Liu <sdl.web@gmail.com>
9118
9119 * register.el (registerv): New struct.
9120 (registerv-make): New function.
c9d29fb8
SM
9121 (jump-to-register, describe-register-1, insert-register):
9122 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9123 struct. (Bug#8415)
9124
5fdd4046
CY
91252011-06-26 Chong Yidong <cyd@stupidchicken.com>
9126
2afef60a
CY
9127 * vc/vc.el (vc-revert-show-diff): New defcustom.
9128 (vc-diff-internal): New arg specifying diff buffer.
9129 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9130 reuse an existing *vc-diff* buffer (Bug#8927).
9131
5fdd4046
CY
9132 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9133
e93db24a
GM
91342011-06-26 Glenn Morris <rgm@gnu.org>
9135
9136 * progmodes/f90.el (f90-critical-indent): New option.
9137 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9138 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9139 (f90-mode): Doc fix.
9140 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9141 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9142 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9143 (f90-match-end): Handle block, critical.
9144
eefff499
GM
91452011-06-25 Glenn Morris <rgm@gnu.org>
9146
f6ba4cc9
GM
9147 * calendar/diary-lib.el (diary-included-files): Doc fix.
9148 (diary-include-files): New function, extracted from
9149 diary-include-other-diary-files and diary-mark-included-diary-files.
9150 (diary-include-other-diary-files, diary-mark-included-diary-files):
9151 Just call diary-include-files.
9152 (diary-mark-entries): Reset diary-included-files on first call.
9153
16712304
GM
9154 * calendar/diary-lib.el (diary-mark-entries)
9155 (diary-mark-included-diary-files):
9156 Visit included diary-files in temp buffers.
9157
5d8e0d43
GM
9158 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9159 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9160 (f90-start-block-re, f90-imenu-generic-expression)
9161 (f90-looking-at-program-block-start, f90-no-block-limit):
9162 Add support for submodules.
9163
ccf7a5d5
GM
9164 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9165 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9166
11fdef7d 91672011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9168
9169 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9170 buffer-file-type before setting its value, to avoid disastrous
eefff499 9171 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9172
74f53697
JB
91732011-06-25 Juanma Barranquero <lekktu@gmail.com>
9174
9175 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9176
9177 * ses.el (ses-unload-function):
9178 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9179
9180 * proced.el (proced-unload-function):
9181 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9182
18a4ce5e
AR
91832011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9184
9185 * server.el (server-create-window-system-frame): Add parameters arg.
9186 (server-process-filter): Doc fix. Handle frame-parameters.
9187
519d22cc
JB
91882011-06-25 Juanma Barranquero <lekktu@gmail.com>
9189
9190 Fix bug#8730, bug#8781.
9191
9192 * loadhist.el (unload--set-major-mode): New function.
9193 (unload-feature): Use it.
9194
9195 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9196 (python-unload-function): New function.
9197
c206f5b0
SM
91982011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9199
9200 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9201
f9ad64f3
GS
92022011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9203
9204 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9205 the candidates list.
9206
7d0da90e
JB
92072011-06-24 Juanma Barranquero <lekktu@gmail.com>
9208
9209 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9210
14b4e83d
RS
92112011-06-23 Richard Stallman <rms@gnu.org>
9212
9213 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9214 (rmail-variables): Set next-error-move-function.
9215 (rmail-what-message): Take argument POS.
9216 (rmail-next-error-move): New function.
9217
273d2baf
SM
92182011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9219
9220 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9221 messages for adjacent non-terminals.
9222
56c2cc9a
RS
92232011-06-23 Richard Stallman <rms@gnu.org>
9224
9225 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9226 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9227 (rmail-start-mail): Don't specify use of rmail-mail-return;
9228 that's done by mail-bury now.
9229 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9230
d59eb518
MA
92312011-06-23 Michael Albinus <michael.albinus@gmx.de>
9232
9233 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9234 SIZE is a number.
9235
02cfc6d6
MR
92362011-06-23 Martin Rudalics <rudalics@gmx.at>
9237
9238 * window.el (get-lru-window, get-mru-window)
9239 (get-largest-window): Never return a minibuffer window.
9240 (display-buffer-pop-up-window): Fix a bug that could lead to
9241 reusing the minibuffer window.
9242 (display-buffer): Pass original specifier argument to
9243 display-buffer-function instead of the normalized one.
9244 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9245
4e323265
LL
92462011-06-22 Leo Liu <sdl.web@gmail.com>
9247
9248 * minibuffer.el (completing-read-function)
9249 (completing-read-default): Move from minibuf.c
9250
7a70468f
RS
92512011-06-22 Richard Stallman <rms@gnu.org>
9252
50718fc2
RS
9253 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9254 to Rmail even if not started by a special Rmail command.
9255
7a70468f
RS
9256 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9257 Copy the buffer currently showing just one message.
9258
297dde5a
RW
92592011-06-22 Roland Winkler <winkler@gnu.org>
9260
9261 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9262 (bibtex-clean-entry): First delete the old key so that a
9263 customized algorithm for generating the new key does not get
9264 confused by the old key.
9265 (bibtex-url): Obey regexp of first step.
9266 (bibtex-search-entries): Do not use add-to-list with local
9267 list-var.
9268
97bb1093
LMI
92692011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9270
9271 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9272 stored a user name, then query for the password first, instead of
9273 waiting for SMTP to give an error message and the trying again.
9274
1c0f1a19
JD
92752011-06-22 Lawrence Mitchell <wence@gmx.li>
9276
9277 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9278 BUFFER in call-process.
9279
396f7c9d
LMI
92802011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9281
9282 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9283 QUIT twice.
ddb7ffee
LMI
9284 (smtpmail-try-auth-methods): Require user name and password from
9285 auth-source.
396f7c9d 9286
8998d1b3
MR
92872011-06-22 Martin Rudalics <rudalics@gmx.at>
9288
9289 * window.el (display-buffer-default-specifiers)
9290 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9291 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9292 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9293
9294 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9295 (special-display-frame-alist, special-display-popup-frame):
9296 Remove duplicate declarations. These are now in window.el.
9297
4ea31e07
LMI
92982011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9299
c9d29fb8
SM
9300 * mail/smtpmail.el (smtpmail-via-smtp):
9301 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9302 server supports it. SMTP servers that support STARTTLS commonly
9303 require it.
9304
9305 * net/network-stream.el (network-stream-open-starttls): Support
9306 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9307 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9308
95f41d9a
LMI
9309 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9310 upgrades with `open-network-stream', and rely solely on
9311 auth-source for all credentials. Big changes throughout the file,
9312 but in particular:
c9d29fb8
SM
9313 (smtpmail-auth-credentials): Remove.
9314 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9315 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9316 MAIL FROM, too.
95f41d9a 9317
c9d29fb8
SM
9318 * net/network-stream.el (network-stream-open-starttls):
9319 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9320 STARTTLS.
9321 (auth-source): Require.
9322 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9323 (network-stream-certificate): Change cert-cert to cert and
9324 cert-key to key.
4ea31e07 9325
065ec2c7
MA
93262011-06-21 Michael Albinus <michael.albinus@gmx.de>
9327
9328 * net/tramp-cache.el (top): Don't load the persistency file when
9329 "emacs -Q" has been called.
9330
cd93b359
DR
93312011-06-21 Tim Harper <timcharper@gmail.com>
9332
d8e4b68b
JB
9333 * term/ns-win.el (ns-initialize-window-system):
9334 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9335 resource to NO as it is not yet supported by the NS port.
9336
ae9c0411
JB
93372011-06-21 Juanma Barranquero <lekktu@gmail.com>
9338
9339 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9340 (list-dynamic-libraries): ...not here.
9341
7f3f739f
LL
93422011-06-21 Leo Liu <sdl.web@gmail.com>
9343
9344 * subr.el (sha1): Implement sha1 using secure-hash.
9345
327c8fb1
MR
93462011-06-21 Martin Rudalics <rudalics@gmx.at>
9347
9348 * window.el (display-buffer-alist): In default value do not
9349 enforce searching a window on any but the selected frame.
9350 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9351 (display-buffer-select-window): Remove function.
9352 (display-buffer-in-window): When a window on another frame gets
9353 reused, do not select it any more but just raise its frame if
9354 necessary (Bug#8851) and (Bug#8856).
9355 (display-buffer-normalize-options): Handle pop-up-frames related
9356 options more faithfully.
9357 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9358 window if it is on another frame.
c9d29fb8
SM
9359 (display-buffer-alist, display-buffer-default-specifiers):
9360 Don't make new frame unsplittable by default.
9e9de014
MR
9361 (display-buffer-normalize-argument): Fix doc-string typo and use
9362 'same-frame-other-window instead of 'other-window when associating
9363 with display-buffer-macro-specifiers.
327c8fb1 9364
7cf3f556
VB
93652011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9366
9367 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9368 New functions.
9369 (5x5-mode-map, 5x5-mode-menu): Bind them.
9370 (5x5-draw-grid): Tweak the solver's rendering.
9371
60a406cf
SM
93722011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9375 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9376
d8e4b68b 93772011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9378
9379 * menu-bar.el: Use function variable instead of switch-to-buffer.
9380 (menu-bar-select-buffer-function): New variable.
60a406cf 9381 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9382
478d6f95
SM
93832011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9386 variable's status.
9387
ca530739
JD
93882011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9389
9390 * x-dnd.el (x-dnd-version-from-flags)
9391 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9392 and long as number (Bug#8899).
9393 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9394
bcd70d97
SM
93952011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9396
60a406cf 9397 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9398 (completion-try-completion, completion-all-completions): Compute the
9399 metadata argument if it's missing; make it optional (bug#8795).
9400
60a406cf 9401 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9402 (widget-complete): Use new :completion-function property.
9403 (widget-completions-at-point): New function.
9404 (default): Use :completion-function instead of :complete.
60a406cf
SM
9405 (widget-default-completions): Rename from widget-default-complete;
9406 Rewrite.
bcd70d97
SM
9407 (widget-string-complete, widget-file-complete, widget-color-complete):
9408 Remove functions.
9409 (file, symbol, function, variable, coding-system, color):
9410 * international/mule-cmds.el (default-input-method, charset)
9411 (language-info-custom-alist):
9412 * cus-edit.el (face): Use new property :completions.
9413
9414 * progmodes/pascal.el (pascal-completions-at-point): New function.
9415 (pascal-mode): Use it.
9416 (pascal-mode-map): Use completion-at-point.
9417 (pascal-toggle-completions): Make obsolete.
9418 (pascal-complete-word, pascal-show-completions):
9419 * progmodes/octave-mod.el (octave-complete-symbol):
9420 Redefine as obsolete alias.
9421 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9422 Signal absence of completion info for old Octave,
9423 (inferior-octave-complete): Redefine as obsolete alias.
9424 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9425 (meta-completions-at-point): Rename from meta-complete-symbol and
9426 adapt it for use on completion-at-point-functions.
9427 (meta-common-mode): Use it.
9428 (meta-looking-at-backward, meta-match-buffer): Remove.
9429 (meta-complete-symbol): Redefine as obsolete alias.
9430 (meta-common-mode-map): Use completion-at-point.
9431 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9432 (makefile-mode-map): Use completion-at-point.
9433 (makefile-completions-at-point): Rename from makefile-complete and
9434 adapt it for use on completion-at-point-functions.
9435 (makefile-mode): Use it.
9436 (makefile-complete): Redefine as obsolete alias.
9437
aebf69c8
DD
94382011-06-20 Deniz Dogan <deniz@dogan.se>
9439
9440 * net/rcirc.el: Delete trailing whitespaces once and for all.
9441
bfbbb27d
DC
94422011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9443
9444 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9445
d264a46b
CY
94462011-06-19 Chong Yidong <cyd@stupidchicken.com>
9447
4ca009e5
CY
9448 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9449
d264a46b
CY
9450 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9451
fbf5b3ce
MR
94522011-06-19 Martin Rudalics <rudalics@gmx.at>
9453
9454 * window.el (display-buffer-other-window-means-other-frame):
9455 Call display-buffer-normalize-alist.
9456 (display-buffer-normalize-specifiers-1): Rename to
9457 display-buffer-normalize-argument. New argument other-frame.
9458 Rewrite.
9459 (display-buffer-normalize-specifiers-2): Rename to
9460 display-buffer-normalize-options.
9461 (display-buffer-normalize-alist-1): New function.
9462 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9463 display-buffer-normalize-alist.
9464 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9465 (display-buffer-normalize-options-inhibit): New variable.
9466 (display-buffer-normalize-specifiers): Rewrite calling
9467 display-buffer-normalize-alist,
9468 display-buffer-normalize-argument, and
9469 display-buffer-normalize-options. Don't call the latter if
9470 display-buffer-normalize-options-inhibit is non-nil.
9471 (frame-auto-delete): New option.
9472 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9473 (window-list-no-nils, window-state-ignored-parameters)
9474 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9475 (window-state-put-1, window-state-put-2, window-state-put):
9476 New functions.
9a028c23
MR
9477 (display-buffer-normalize-options): Move special-display-p group
9478 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9479
6d10d800
CY
94802011-06-18 Chong Yidong <cyd@stupidchicken.com>
9481
6420d28b
CY
9482 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9483 groups (Bug#8776).
9484 (rx-submatch-n): New function.
9485 (rx): Document it.
9486
ddb8b596
CY
9487 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9488 (Bug#8768).
9489
9490 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9491
77080289
CY
9492 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9493
61dfb316
CY
9494 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9495 anytime existing face settings are present (Bug#8889).
9496
6d10d800
CY
9497 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9498 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9499 Remove unused argument.
9500
be3fb2b8
MR
95012011-06-18 Martin Rudalics <rudalics@gmx.at>
9502
bcd70d97
SM
9503 * window.el (display-buffer-default-specifiers):
9504 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9505 pop-up-window-min-width, and another reuse-window specifier
9506 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9507 (display-buffer-normalize-specifiers-2):
9508 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9509 pop-up-windows is unset. Add a reuse-window specifier for the
9510 case popping up a new window fails.
9511 (special-display-popup-frame): Remove double quoting.
28dec25a 9512 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9513
1c6d8c76
SM
95142011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9515
9516 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9517 according to comint-completion-addsuffix.
9518
9519 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9520 (pcomplete-suffix-list): Mark as obsolete.
9521 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9522 pcomplete-seen in the closure.
9523 (pcomplete-comint-setup): Setup completion-at-point as well.
9524 (pcomplete--entries): New function.
9525 (pcomplete--env-regexp): New var.
9526 (pcomplete-entries): Rewrite to work with partial-completion and
9527 without relying on pcomplete-suffix-list.
9528 (pcomplete-pare-list): Remove, unused.
9529
25aef8b8
MR
95302011-06-17 Martin Rudalics <rudalics@gmx.at>
9531
9532 * window.el (display-buffer-alist): Set pop-up-window-min-height
9533 and pop-up-window-min-width in default value. Reported by
9534 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9535 other-window-means-other-frame.
9536 (display-buffer-macro-specifiers): Comment out entry for
9537 other-window specifier.
9538 (display-buffer-other-window-means-other-frame): New function.
9539 (display-buffer-normalize-specifiers-1): New arguments
9540 buffer-name and label. Treat other-window case specially.
9541 (display-buffer-normalize-specifiers-2): Treat other-window case
9542 specially.
9543 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9544 (display-buffer-normalize-specifiers):
9545 Call display-buffer-normalize-specifiers-3.
25aef8b8 9546
dbad4f69
MR
95472011-06-17 Martin Rudalics <rudalics@gmx.at>
9548
9549 * window.el (same-window-p): Fix two typos introduced when
9550 adding with-no-warnings.
d1067961
MR
9551 (display-buffer-normalize-specifiers-1): Don't check
9552 pop-up-frames for 'unset initialization.
9553 (display-buffer-normalize-specifiers-2): Major rewrite using
9554 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9555 (pop-up-frames, display-buffer-reuse-frames)
9556 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9557 Suggested by David Engster <deng@randomsample.de>.
9558 (even-window-heights): Initialize to 'unset.
9559 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9560 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9561 other window case.
dbad4f69 9562
9b9c9e3a
MR
95632011-06-16 Martin Rudalics <rudalics@gmx.at>
9564
bcd70d97
SM
9565 * window.el (display-buffer-normalize-specifiers-1):
9566 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9567 second argument of display-buffer (Bug#8865).
981d5c09
MR
9568 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9569 (switch-to-buffer-other-window-same-frame)
9570 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9571 Adams (Bug#8875).
9c2755e9
MR
9572 (display-buffer): Don't check noninteractive when calling
9573 display-buffer-pop-up-frame.
9574 (display-buffer-pop-up-frame): Never pop up a frame in
9575 noninteractive mode (Bug#8857).
67222e1d
MR
9576 (enlarge-window, shrink-window): Don't report an error when the
9577 window can't be resized as requested (Bug#8862).
9b9c9e3a 9578
2b75be67
SM
95792011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9580
9ffdd3ba
SM
9581 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9582
cb581a67
SM
9583 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9584
2b75be67
SM
9585 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9586
8c0e3589
AM
95872011-06-15 Alan Mackenzie <acm@muc.de>
9588
cb581a67
SM
9589 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9590 for declarators, disable knr checking to speed up for normal files.
9591 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9592
b96e6cde
LMI
95932011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9594
4bba86e6
LMI
9595 * net/network-stream.el (open-network-stream): Add the keyword
9596 :always-query-capabilities for the case where you want to force a
9597 `plain' network connection, but the protocol still requires the
9598 capabilitiy command (i.e., SMTP and EHLO).
9599
2b75be67 9600 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9601 consistency with other `-live-p' functions.
9602
efdcdbf8
SM
96032011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9604
9605 * window.el (same-window-buffer-names, same-window-regexps)
9606 (special-display-frame-alist, special-display-popup-frame)
9607 (special-display-function, special-display-buffer-names)
9608 (special-display-regexps, pop-up-frame-alist)
9609 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9610 (pop-up-windows, split-window-preferred-function)
9611 (split-height-threshold, split-width-threshold, even-window-heights)
9612 (display-buffer-mark-dedicated): Don't encourage the use of
9613 display-buffer-alist from Elisp code.
9614
c5cde042
DN
96152011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9616
9617 * progmodes/python.el (python-mode): Derive from prog-mode.
9618 * progmodes/ps-mode.el (ps-mode):
9619 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9620 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9621 * progmodes/ld-script.el (ld-script-mode): Likewise.
9622
baa1c9ab
MR
96232011-06-15 Martin Rudalics <rudalics@gmx.at>
9624
9625 * window.el (display-buffer-alist): Trim default value to avoid
9626 popping up a new frame (Bug#8857) or reusing an arbitrary window
9627 on another frame.
9628 (display-buffer): Do not fall back on popping up a new frame in
9629 batch mode (Bug#8857).
9630
c5dd5a51
CY
96312011-06-14 Chong Yidong <cyd@stupidchicken.com>
9632
9633 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9634 (custom-theme-summary): New function.
9635 (customize-themes): Use it.
9636
d647b7c4
GM
96372011-06-13 Glenn Morris <rgm@gnu.org>
9638
9639 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9640
9481c002
MR
96412011-06-13 Martin Rudalics <rudalics@gmx.at>
9642
357f93d2
MR
9643 * help.el (help-window): Remove variable.
9644 (help-window-point-marker, temp-buffer-max-height)
9645 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9646 (help-print-return-message): Don't set help-window.
9647 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9648 (help-window-setup-finish): Remove.
9649 (help-window-display-message, help-window-setup)
9650 (with-help-window): Major rewrite based on new
9651 display-buffer-window variable.
9652
9653 * help-mode.el (help-mode-finish): Remove help-window related
9654 code.
9655
9656 * view.el (view-exits-all-viewing-windows): Remove reference to
9657 view-return-to-alist in doc-string.
9658 (view-return-to-alist): Make obsolete.
9659 (view-buffer): Call pop-to-buffer-same-window and remove
9660 undo-window code.
9661 (view-buffer-other-window): Call pop-to-buffer-other-window and
9662 simplify code. Ignore second argument.
9663 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9664 simplify code. Ignore second argument.
9665 (view-return-to-alist-update): Make obsolete.
9666 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9667 Rewrite using quit-restore window parameters.
2b75be67
SM
9668 (view-mode-exit): Rename second argument to EXIT-ONLY.
9669 Rewrite using quit-restore-window.
357f93d2
MR
9670 (View-exit, View-exit-and-edit, View-leave, View-quit)
9671 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9672 appropriate arguments.
9673 (view-end-message): Use quit-restore window parameter.
9674
9481c002
MR
9675 * window.el (display-buffer-function): Rewrite doc-string.
9676 (display-buffer-window, display-buffer-alist): New variables.
9677 (display-buffer-split-specifiers)
9678 (display-buffer-side-specifiers)
9679 (display-buffer-macro-specifiers): New constants.
9680 (display-buffer-even-window-sizes, display-buffer-set-height)
9681 (display-buffer-set-width, display-buffer-select-window)
9682 (display-buffer-in-window, display-buffer-reuse-window)
9683 (display-buffer-split-window-1, display-buffer-split-window)
9684 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9685 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9686 (display-buffer-in-side-window, normalize-buffer-to-display)
9687 (display-buffer-normalize-specifiers-1)
9688 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9689 (display-buffer-normalize-specifiers, display-buffer-frame):
9690 New functions.
9481c002
MR
9691 (display-buffer): Major rewrite.
9692 (display-buffer-other-window, display-buffer-other-frame)
9693 (pop-to-buffer, switch-to-buffer-other-window)
9694 (switch-to-buffer-other-frame): Rewrite.
9695 (display-buffer-same-window, display-buffer-same-frame)
9696 (display-buffer-same-frame-other-window)
9697 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9698 (pop-to-buffer-other-window)
9699 (pop-to-buffer-same-frame-other-window)
9700 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9701 (switch-to-buffer-other-window-same-frame): New functions.
9702 (same-window-p, special-display-p): Rewrite disabling warnings.
9703 Make obsolete.
9704 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9705 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9706 Make obsolete
9707 (same-window-buffer-names, same-window-regexps)
9708 (special-display-frame-alist, special-display-popup-frame)
9709 (special-display-function, special-display-buffer-names)
9710 (special-display-regexps, pop-up-frame-alist)
9711 (pop-up-frame-function, split-window-preferred-function)
9712 (split-height-threshold, split-width-threshold)
9713 (even-window-heights): Make obsolete.
9714
9db51aca
GM
97152011-06-12 Glenn Morris <rgm@gnu.org>
9716
9717 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9718 Misc simplifications.
9db51aca 9719
39cffb44
MR
97202011-06-12 Martin Rudalics <rudalics@gmx.at>
9721
9722 * window.el (window-safely-shrinkable-p): Restore function which
9723 was inadvertently removed in change from 2011-06-11. Declare as
9724 obsolete.
9725
2b75be67
SM
9726 * calendar/calendar.el (calendar-generate-window):
9727 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9728 window-safely-shrinkable-p.
9729
a8955be7
GM
97302011-06-12 Glenn Morris <rgm@gnu.org>
9731
9732 * progmodes/fortran.el (fortran-mode-syntax-table):
9733 * progmodes/f90.el (f90-mode-syntax-table):
9734 Set % to punctuation. (Bug#8820)
9735 (f90-find-tag-default): Remove, no longer needed.
9736
f0d4059d
DC
97372011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9738
9739 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9740
1100a63c
CY
97412011-06-11 Chong Yidong <cyd@stupidchicken.com>
9742
9743 * image.el (image-animated-p): Return animation delay in seconds.
9744 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9745 (image-animate-timeout): Remove DELAY argument. Don't assume
9746 every subimage has the same delay; get it from image-animated-p.
9747 (image-animate): Caller changed.
9748
def722bf
MA
97492011-06-11 Michael Albinus <michael.albinus@gmx.de>
9750
9751 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9752 to ignored backtrace functions.
9753
0a2bb1a9
GM
97542011-06-11 Glenn Morris <rgm@gnu.org>
9755
9756 * calendar/appt.el (appt-disp-window-function): Doc fix.
9757 (appt-check): Handle overlapping appointments. (Bug#8337)
9758
6198ccd0
MR
97592011-06-11 Martin Rudalics <rudalics@gmx.at>
9760
9761 * window.el (window-tree-1, window-tree): New functions, moving
9762 the latter to window.el.
9763 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9764 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9765 (bw-refresh-edges): Remove.
9766 (balance-windows-1, balance-windows-2): New functions.
9767 (balance-windows): Rewrite in terms of window tree functions,
9768 balance-windows-1 and balance-windows-2.
9769 (bw-adjust-window): Remove.
9770 (balance-windows-area-adjust): New function with functionality of
9771 bw-adjust-window but using resize-window.
2b75be67
SM
9772 (set-window-text-height): Rewrite doc-string.
9773 Use normalize-live-window and resize-window.
9774 (enlarge-window-horizontally, shrink-window-horizontally):
9775 Rename argument to DELTA.
6198ccd0
MR
9776 (window-buffer-height): New function.
9777 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9778 Rewrite using new window resize routines.
2b75be67
SM
9779 (kill-buffer-and-window, mouse-autoselect-window-select):
9780 Use ignore-errors instead of condition-case.
6198ccd0
MR
9781 (quit-window): Call delete-frame instead of delete-windows-on
9782 for the only buffer on frame.
9783
9397e56f
MR
97842011-06-10 Martin Rudalics <rudalics@gmx.at>
9785
9786 * loadup.el (top-level): Load window before files for the sake
9787 of replace-buffer-in-windows.
9788
9789 * files.el (read-buffer-to-switch)
9790 (switch-to-buffer-other-window)
2b75be67
SM
9791 (switch-to-buffer-other-frame, display-buffer-other-frame):
9792 Move to window.el.
9397e56f
MR
9793
9794 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9795 (previous-buffer): Move to window.el.
9796
9797 * bindings.el (unbury-buffer): Move to window.el.
9798
9799 * window.el (delete-other-windows-vertically): Move after
9800 definition of delete-other-windows.
9801 (other-window, delete-windows-on, replace-buffer-in-windows):
9802 Move here from window.c.
9803 (record-window-buffer, unrecord-window-buffer)
9804 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9805 (switch-to-next-buffer): New functions.
9806 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9807 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9808 (previous-buffer): Move here from simple.el.
9809 Call switch-to-prev-buffer.
9397e56f
MR
9810 (bury-buffer): Move here from buffer.c. Switch to previous
9811 buffer when window cannot be deleted.
9812 (unbury-buffer): Move here from bindings.el.
9813 (ctl-x-map): Move binding for other-window from window.c to
9814 here.
9815 (read-buffer-to-switch, switch-to-buffer-other-window)
9816 (switch-to-buffer-other-frame): Move here from files.el.
9817 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9818 (switch-to-buffer): Move here from buffer.c.
9819 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9820
562dd5e9
MR
98212011-06-10 Martin Rudalics <rudalics@gmx.at>
9822
9823 * window.el (window-min-height, window-min-width): Move here
9824 from window.c. Add defcustoms and rewrite doc-strings.
9825 (resize-mini-window, resize-window): New functions.
9826 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9827 Move here from window.c.
9828 (maximize-window, minimize-window): New functions.
9829 (delete-window, delete-other-windows, split-window): Move here
9830 from window.c.
9831 (window-split-min-size): New function.
9832 (split-window-keep-point): Mention split-window-above-each-other
9833 instead of split-window-vertically.
2b75be67 9834 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9835 Rename split-window-vertically to split-window-above-each-other
9836 and provide defalias for old definition.
9837 (split-window-side-by-side, split-window-horizontally):
9838 Rename split-window-horizontally to split-window-side-by-side
9839 and provide defalias for the old definition.
562dd5e9
MR
9840 (ctl-x-map): Move bindings for delete-window,
9841 delete-other-windows and enlarge-window here from window.c.
9842 Replace bindings for split-window-vertically and
9843 split-window-horizontally by bindings for
9844 split-window-above-each-other and split-window-side-by-side.
9845
9846 * cus-start.el (all): Remove entries for window-min-height and
9847 window-min-width. Add entries for window-splits and
9848 window-nest.
9849
f0da764a
GM
98502011-06-09 Glenn Morris <rgm@gnu.org>
9851
80675c21
GM
9852 * calendar/appt.el (appt-mode-line): New function.
9853 (appt-check, appt-disp-window): Use it.
9854
f0da764a
GM
9855 * files.el (hack-one-local-variable-eval-safep):
9856 Allow minor-modes with explicit +/-1 arguments.
9857
59f623b7
TZ
98582011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9859
9860 * term/xterm.el (xterm): Add defgroup.
9861 (xterm-extra-capabilities): Add defcustom to supply known xterm
9862 capabilities, skip querying them, or query them (default).
9863 (terminal-init-xterm): Use it.
9864 (terminal-init-xterm-modify-other-keys): New function to set up
9865 modifyOtherKeys support to simplify `terminal-init-xterm'.
9866
9aab8e0d
MR
98672011-06-09 Martin Rudalics <rudalics@gmx.at>
9868
9869 * window.el (resize-window-reset, resize-window-reset-1)
9870 (resize-subwindows-skip-p, resize-subwindows-normal)
9871 (resize-subwindows, resize-other-windows, resize-this-window)
9872 (resize-root-window, resize-root-window-vertically)
9873 (window-deletable-p, window-or-subwindow-p)
9874 (frame-root-window-p): New functions.
9875
e8b08aee
GM
98762011-06-09 Glenn Morris <rgm@gnu.org>
9877
9878 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9879 (ange-ftp-get-files): Use it.
9880
254c37a5
AK
98812011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9882
9883 * mail/sendmail.el (mail-recover-1, mail-recover):
9884 * files.el (recover-file, recover-session):
9885 Handle dired-listing-switches not being just a single short option.
9886
35d7dbd3
GM
98872011-06-09 Glenn Morris <rgm@gnu.org>
9888
9889 * calendar/appt.el (appt-display-message, appt-disp-window):
9890 Handle lists of appointments.
9891
387522b2
MR
98922011-06-08 Martin Rudalics <rudalics@gmx.at>
9893
2b75be67
SM
9894 * window.el (one-window-p): Move down in code.
9895 Rewrite doc-string.
9896 (window-current-scroll-bars): Rewrite doc-string.
9897 Normalize live window argument.
387522b2
MR
9898 (walk-windows, get-window-with-predicate, count-windows):
9899 Rewrite doc-string. Use window-list-1.
9900 (window-in-direction-2, window-in-direction, get-mru-window):
9901 New functions.
9902
d8e4b68b 99032011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9904
9905 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9906 Doc fix (Bug#8713).
9907
99082011-06-08 Chong Yidong <cyd@stupidchicken.com>
9909
9910 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9911
99122011-06-08 Juanma Barranquero <lekktu@gmail.com>
9913
9914 * loadhist.el (unload-feature-special-hooks):
9915 Add `comint-output-filter-functions'.
9916
0de12c52
IK
99172011-06-08 Ivan Kanis <gnu@kanis.fr>
9918
9919 * calendar/appt.el (appt-check): Move some initializations into the let.
9920
f3d1777e
MR
99212011-06-08 Martin Rudalics <rudalics@gmx.at>
9922
9923 * window.el (window-height): Defalias to window-total-height.
9924 (window-width): Defalias to window-body-width.
9925
18af70d0
CY
99262011-06-07 Chong Yidong <cyd@stupidchicken.com>
9927
9928 * image-mode.el (image-toggle-animation): New command.
9929 (image-mode-map): Bind it to RET.
9930 (image-mode): Update message.
9931 (image-toggle-display-image): Avoid a spurious cache flush.
9932 (image-transform-rotation): Doc fix.
9933 (image-transform-properties): Return quickly in the normal case.
9934 (image-animate-loop): Rename from image-animate-max-time.
9935
2b75be67 9936 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9937 (create-animated-image): Remove unnecessary function.
9938 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9939 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9940 (image-animate-timer): Use car-safe.
9941 (image-animate-timeout): Rename argument.
9942
190b47e6
MR
99432011-06-07 Martin Rudalics <rudalics@gmx.at>
9944
9945 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9946 window.c. Rename first argument to ALL-FRAMES.
9947 Rephrase doc-strings.
9948 (get-buffer-window-list): Rewrite using window-list-1.
9949 Rephrase doc-string.
a1511caf
MR
9950 (window-safe-min-height, window-safe-min-width): New constants.
9951 (window-size-ignore, window-min-size, window-min-size-1)
9952 (window-sizable, window-sizable-p, window-size-fixed-1)
9953 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9954 (window-max-delta-1, window-max-delta, window-resizable)
9955 (window-resizable-p, window-total-height, window-total-width)
9956 (window-body-width): New functions.
9957 (window-full-height-p, window-full-width-p): Rewrite using
9958 window-total-size.
9959 (window-body-height): Rewrite using window-body-size.
190b47e6 9960
85cc1f11
MR
99612011-06-06 Martin Rudalics <rudalics@gmx.at>
9962
9963 * window.el (window-right, window-left, window-child)
9964 (window-child-count, window-last-child, window-any-p)
9965 (normalize-live-buffer, normalize-live-frame)
9966 (normalize-any-window, normalize-live-window)
9967 (window-iso-combination-p, window-iso-combined-p)
9968 (window-iso-combinations)
9969 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9970 (windows-with-parameter, window-with-parameter)
9971 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9972 (window-atom-check, window-side-check, window-check):
9973 New functions.
85cc1f11
MR
9974 (ignore-window-parameters, window-sides, window-sides-vertical)
9975 (window-sides-slots): New variables.
9976 (window-size-fixed): Move down in code. Minor doc-string fix.
9977
e7156492
AS
99782011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9979
9980 * comint.el (comint-dynamic-complete-as-filename)
9981 (comint-dynamic-complete-filename): Correctly call
9982 completion-in-region.
9983
7e821d0d
DD
99842011-06-05 Deniz Dogan <deniz@dogan.se>
9985
9986 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9987 in last change.
9988
ac09b8a1
DD
99892011-06-05 Deniz Dogan <deniz@dogan.se>
9990
9991 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9992 (rcirc): Use it to prompt for encryption.
9993
34699b85
RW
99942011-06-05 Roland Winkler <winkler@gnu.org>
9995
9996 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9997 (bibtex-search-entries): New command bound to C-c C-a.
9998 (bibtex-display-entries): New function.
9999
004dedd3
RW
100002011-06-05 Roland Winkler <winkler@gnu.org>
10001
10002 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10003 (bibtex-insert-kill): After yanking insert newline if necessary.
10004 (bibtex-initialize): Call bibtex-string-files-init only once.
10005 (bibtex-mode): Do not call easy-menu-add.
10006 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10007 (bibtex-yank): Set arg properly if nil.
10008
022fe7ce
RW
100092011-06-05 Roland Winkler <winkler@gnu.org>
10010
2b75be67
SM
10011 * textmodes/bibtex.el (bibtex-search-entry-globally):
10012 New variable.
022fe7ce
RW
10013 (bibtex-search-entry): Use it.
10014
b7c3692a
RW
100152011-06-05 Roland Winkler <winkler@gnu.org>
10016
10017 * textmodes/bibtex.el (bibtex-entry-format): New option
10018 sort-fields.
10019 (bibtex-format-entry, bibtex-reformat): Honor this option.
10020 (bibtex-parse-entry): Return fields in proper order.
10021
8eda563d
JB
100222011-06-05 Juanma Barranquero <lekktu@gmail.com>
10023
10024 * doc-view.el (doc-view-remove-if): Move computation of result out
10025 of `dolist' to silence misleading lexical-binding warning.
10026
7dbe3dbc
CY
100272011-06-04 Chong Yidong <cyd@stupidchicken.com>
10028
10029 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10030 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10031
0c33dd17
MA
100322011-06-04 Michael Albinus <michael.albinus@gmx.de>
10033
10034 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10035 "SunOS 5.10".
10036
f8f91c2b
MA
100372011-06-04 Michael Albinus <michael.albinus@gmx.de>
10038
10039 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10040 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10041 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10042 (tramp-parse-putty):
10043 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10044 (tramp-completion-function-alist-ssh)
10045 (tramp-completion-function-alist-telnet)
10046 (tramp-completion-function-alist-su)
10047 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10048 cookie.
10049
10050 * net/tramp-ftp.el:
10051 * net/tramp-sh.el:
10052 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10053 load "tramp.el" `tramp-set-completion-function'.
10054
e17d9003
SM
100552011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10056
10057 * shell.el: Require and use pcomplete.
10058 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10059 (shell-completion-vars): Set pcomplete-default-completion-function.
10060
6c4cab03
DD
100612011-06-04 Deniz Dogan <deniz@dogan.se>
10062
10063 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10064 `memq' (Bug#8799).
10065
ea9fafe0
SM
100662011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10069
b3e945d3
JB
100702011-06-02 Juanma Barranquero <lekktu@gmail.com>
10071
10072 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10073 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10074 * vc/log-view.el (log-view-beginning-of-defun):
10075 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10076 (smerge-refine-forward, smerge-refine-chopup-region):
10077 Silence warning for unused `dotimes' counter variables.
10078
7d520089
SM
100792011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10080
10081 * net/tramp.el (tramp-with-progress-reporter): Rename from
10082 with-progress-reporter. Use `declare'.
10083 * net/tramp-smb.el:
10084 * net/tramp-sh.el:
10085 * net/tramp-gvfs.el: Update all uses.
10086
a1c2400f
JB
100872011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10088
10089 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10090 buffer isn't killed before making it current.
10091
2403c841
SM
100922011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10093
10094 Silence various byte-compiler warnings.
10095 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10096 `access-type' and new obsolescence format.
10097 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10098 new format.
10099 (byte-compile-check-variable): New `access-type' argument.
10100 Only warn if the access-type is obsolete.
10101 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10102 (byte-compile-variable-set): Adjust callers.
10103 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10104 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10105 setting it as obsolete.
10106 * simple.el (minibuffer-completing-symbol):
10107 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10108 access as obsolete.
10109 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10110 obsolete yet.
10111 * international/quail.el (quail-mouse-choose-completion): Remove unused
10112 code referring to obsolete var.
10113 (quail-choose-completion-string): Remove.
10114 * server.el (server-clients-with, server-kill-buffer-query-function)
10115 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10116 * proced.el (proced-send-signal):
10117 * emacs-lisp/lisp.el (lisp-complete-symbol):
10118 Replace completion-annotate-function with completion-extra-properties.
10119
2462470b
SM
101202011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10121
fb5b2591
SM
10122 * simple.el (goto-line): Use read-number.
10123 (overriding-map-is-bound): Remove.
10124 (saved-overriding-map): Change default.
10125 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10126 Take the map as argument.
10127 (universal-argument, negative-argument, digit-argument): Use it.
10128 (restore-overriding-map): Adjust.
10129 (do-auto-fill): Use fill-forward-paragraph.
10130 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10131
fd6fa53f
SM
10132 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10133 (minibuffer-inactive-mode): New major mode.
10134 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10135 the *Messages* buffer" hack.
10136 (mouse-popup-menubar): Don't burp if the event is a normal key.
10137
2462470b
SM
10138 Miscellaneous tweaks.
10139 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10140 lexical scoping as in subr.el's dolist and dotimes.
10141 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10142 Silence compiler warning.
10143 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10144 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10145 * international/ccl.el (ccl-compile): Trivial simplification.
10146 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10147 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10148 `printflag' argument.
10149 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10150 Purecopy the whole obsolescence data.
10151
108bf785
LL
101522011-06-01 Leo Liu <sdl.web@gmail.com>
10153
10154 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10155 improve doc-string as suggested by Marco Pessotto
10156 <melmothx@gmail.com>.
10157 (rcirc-print): Fix last change.
10158
30a23501
SM
101592011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10160
10161 * minibuffer.el (complete-with-action): Return nil for the metadata and
10162 boundaries of non-functional tables.
10163 (completion-table-dynamic): Return nil for the metadata.
10164 (completion-table-with-terminator): Add default case, using
10165 complete-with-action.
10166 (completion--metadata): New function.
10167 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10168 to try and avoid pathological performance problems.
10169 (completion--embedded-envvar-table): Return `category' metadata.
10170
bcd54f83
LMI
101712011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10172
10173 * subr.el (process-alive-p): New tiny convenience function.
10174
e227544d
SM
101752011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10176
10177 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10178 content but also its previous major mode.
10179
e8296fdc
HE
101802011-05-31 Helmut Eller <eller.helmut@gmail.com>
10181
4d61f28d 10182 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10183 *Backtrace* buffer when we exit with C-M-c.
10184
620c53a6
SM
101852011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10186
10187 * minibuffer.el: Add metadata method to completion tables.
10188 (completion-category-overrides): New defcustom.
10189 (completion-metadata, completion--field-metadata)
10190 (completion-metadata-get, completion--styles)
10191 (completion--cycle-threshold): New functions.
10192 (completion-try-completion, completion-all-completions):
10193 Add `metadata' argument to choose completion-styles.
10194 (completion--do-completion): Use metadata to choose cycling.
10195 (completion-all-sorted-completions): Use metadata for sorting.
10196 Remove :completion-cycle-penalty which is not needed any more.
10197 (completion--try-word-completion): Add `metadata' argument.
10198 (minibuffer-completion-help): Check metadata for annotation function
10199 and sorting.
10200 (completion-file-name-table): Return `category' metadata.
10201 (minibuffer-completing-file-name): Make obsolete.
10202 * simple.el (minibuffer-completing-symbol): Make obsolete.
10203 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10204 completion-try-completion.
10205
1257e755
SM
102062011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10207
10208 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10209
3767e706
LL
102102011-05-30 Leo Liu <sdl.web@gmail.com>
10211
10212 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10213 (rcirc-print): Decode all incoming messages (bug#8744).
10214 (rcirc-decode-coding-system): Allow value nil for automatic coding
10215 system detection.
3767e706 10216
d1a5d56a
GM
102172011-06-01 Glenn Morris <rgm@gnu.org>
10218
10219 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10220
e8cbec34
CY
102212011-05-29 Chong Yidong <cyd@stupidchicken.com>
10222
10223 * image.el (image-animate-max-time): Allow nil and t values.
10224 Default to nil.
10225 (create-animated-image): Doc fix.
10226 (image-animate-start): Remove second arg; just use
10227 image-animate-max-time.
10228 (image-animate-timeout): Doc fix. Args changed.
10229
10230 * image-mode.el (image-toggle-display-image): Ensure that the
10231 image spec passed to the animate timer is the same object as in
58179cce 10232 the buffer's display property (Bug#6981).
e8cbec34
CY
10233 (image-transform-properties): Doc fix.
10234
10235 * image.el (image-animate-max-time): Default to nil.
10236
159daf87
MR
102372011-05-29 Martin Rudalics <rudalics@gmx.at>
10238
10239 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10240 entire buffer list (Bug#8184).
10241
d66c4c7c
CY
102422011-05-29 Chong Yidong <cyd@stupidchicken.com>
10243
10244 * image.el (imagemagick-types-inhibit)
10245 (imagemagick-register-types): Doc fix.
10246
80aec780
DD
102472011-05-29 Deniz Dogan <deniz@dogan.se>
10248
10249 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10250 default.
10251
1dd3c2d9
CY
102522011-05-29 Chong Yidong <cyd@stupidchicken.com>
10253
10254 * select.el: Don't perform clipboard-manager saving in hooks;
10255 leave the hooks empty.
10256
60e56523
LL
102572011-05-28 Leo Liu <sdl.web@gmail.com>
10258
10259 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10260 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10261 (occur-edit-mode): New major mode (Bug#8463).
10262 (occur-after-change-function): New function.
10263 (occur-engine): Give Occur tags a read-only property.
10264
2b1e1a22
KR
102652011-05-28 Kevin Ryde <user42@zip.com.au>
10266
10267 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10268
5d344e88
CY
102692011-05-28 Chong Yidong <cyd@stupidchicken.com>
10270
8e6ca83d
CY
10271 * bindings.el (help-echo): Make the initial non-indicator dash
10272 empty on graphical terminals (Bug#7295).
10273
5d344e88
CY
10274 * files.el (auto-mode-alist): Move config rule after the
10275 in-stripping one (Bug#8547).
10276
bfbbace7
CY
10277 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10278
fbeba6e2
CY
10279 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10280 setting (Bug#8740).
10281
60ed8c72
AA
102822011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10283
4ac619f0
AA
10284 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10285 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10286 (Bug#8539).
60ed8c72 10287
23db196e
CY
102882011-05-28 Chong Yidong <cyd@stupidchicken.com>
10289
10290 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10291
5012f24c
DK
102922011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10293
10294 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10295 (hs-hide-block-at-point, hs-find-block-beginning)
10296 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10297 (Bug#8279).
10298
6a639b16
GM
102992011-05-28 Glenn Morris <rgm@gnu.org>
10300
10301 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10302
d43eaf2c
CY
103032011-05-28 Chong Yidong <cyd@stupidchicken.com>
10304
5199bde1
CY
10305 * help-fns.el (describe-function-1): If the function is a derived
10306 major mode, print the parent mode.
10307
d43eaf2c
CY
10308 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10309 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10310
423428a8
SM
103112011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10312
0ff8e1ba 10313 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10314 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10315 * progmodes/etags.el (tags-completion-at-point-function):
10316 * info-look.el (info-lookup-completions-at-point): Mark as
10317 non-exclusive.
10318 (info-complete): Adjust accordingly.
10319
423428a8
SM
10320 * info-look.el: Convert to lexical-binding and completion-at-point.
10321 (info-lookup-completions-at-point): New function.
10322 (info-complete): Use it and completion-in-region.
10323
b74aa22b
DA
103242011-05-28 Drew Adams <drew.adams@oracle.com>
10325
10326 * isearch.el: Let M-e start with point at the first mismatched char.
10327 (isearch-fail-pos): New function.
10328 (isearch-edit-string): Use it.
10329
66e2e71d
DK
103302011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10331
10332 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10333
b1890b0f 103342011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10335
10336 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10337 traversal functions for avl-trees.
10338 (avl-tree--stack): New struct.
10339 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10340 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10341 (avl-tree--do-enter): Add optional `updatefun' arg.
10342 Change return value.
eb95d01d 10343 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10344 (avl-tree--do-delete): Add `test' and `nilflag' args.
10345 Change return value.
eb95d01d
TC
10346 (avl-tree-member): Add optional `nilflag'
10347 (avl-tree-member-p): New function.
10348 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10349 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10350 (avl-tree-stack-empty-p): New functions.
10351
3769ddcf
TC
10352 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10353 avl-tree--del-balance1 and make it work both ways.
10354 (avl-tree--del-balance2): Remove.
10355 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10356 make it work both ways.
10357 (avl-tree--enter-balance2): Remove.
10358 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10359 New macros.
10360 (avl-tree--mapc, avl-tree-map): Add direction argument.
10361
eb95d01d 103622011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10363
10364 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10365
a9f737ee
CY
103662011-05-27 Chong Yidong <cyd@stupidchicken.com>
10367
10368 * select.el: Support clipboard managers with built-in function
10369 x-clipboard-manager-save, via delete-frame-functions and
10370 kill-emacs-hook.
10371 (xselect-convert-to-targets): Add MULTIPLE target to list.
10372 (xselect-convert-to-save-targets): New function.
10373
c92a1e54
KH
103742011-05-27 Kenichi Handa <handa@m17n.org>
10375
10376 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10377 let-binding rfc2047-encode-encoded-words to nil.
10378
e145f188
GM
103792011-05-27 Glenn Morris <rgm@gnu.org>
10380
5ec8a862
GM
10381 * mail/emacsbug.el: Don't require url-util.
10382
4b29d9fb
GM
10383 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10384
e145f188
GM
10385 * files.el (set-auto-mode):
10386 Also respect mode: entries at the end of the file. (Bug#8586)
10387
7d15102b
GM
103882011-05-26 Glenn Morris <rgm@gnu.org>
10389
98f593b8
GM
10390 * files.el (hack-local-variables-prop-line, hack-local-variables):
10391 Downcase mode names, as seems to be traditional.
27b48e63 10392 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10393
7d15102b
GM
10394 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10395 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10396
51d5b4ec
JD
103972011-05-25 Julien Danjou <julien@danjou.info>
10398
10399 * textmodes/rst.el (rst-define-level-faces): Do not define face
10400 symbol if it is already defined.
10401
91513f63
VB
104022011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10403
10404 * play/5x5.el (5x5-new-game, 5x5-randomize):
10405 Reset 5x5-solver-output to nil when a new grid is cast.
10406 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10407 these debugging traces, as defmacro breaks the compiled code.
10408
4d90d6d0
DK
104092011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10410
10411 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10412
e1b90ef6
LL
104132011-05-24 Leo Liu <sdl.web@gmail.com>
10414
10415 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10416 (vc-bzr-sha1): Adapt.
10417
d8e4b68b 10418 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10419
10420 * bindings.el: Provide sha1 feature.
10421
db0406bb 104222011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10423
10424 * mail/sendmail.el: Require `rfc2047'.
10425 (mail-insert-from-field): Do not perform RFC2047 encoding.
10426 (mail-encode-header): New function.
10427 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10428 buffer to the return value of select-message-coding-system.
10429 Call mail-encode-header.
b8d747b9
KH
10430
10431 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10432
db0406bb 104332011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10434
4d90d6d0
DK
10435 * mail/supercite.el (sc-default-cite-frame):
10436 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10437
eb8a5e9b
GM
104382011-05-24 Glenn Morris <rgm@gnu.org>
10439
f8630703
GM
10440 * progmodes/python.el (brm-menu): Declare.
10441
8831bbed
GM
10442 * emulation/viper.el (viper-set-hooks): Declare.
10443
eb8a5e9b
GM
10444 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10445 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10446 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10447 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10448 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10449 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10450
a2a25d24
SM
104512011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10452
10453 Add an :exit-function for completion-at-point.
10454
10455 * minibuffer.el (completion--done): New fun.
10456 (completion--do-completion): Use it. New arg `expect-exact'.
10457 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10458 since completion--do-completion does it for us now.
10459 (minibuffer-force-complete): Use completion--done and
10460 completion--replace. Handle sole-completion case with more care.
10461 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10462 (completion-extra-properties): New var.
10463 (completion-annotate-function): Make obsolete.
10464 (minibuffer-completion-help): Adjust accordingly.
10465 Use completion-list-insert-choice-function.
10466 (completion-at-point, completion-help-at-point):
10467 Bind completion-extra-properties.
10468 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10469 * simple.el (completion-list-insert-choice-function): New var.
10470 (completion-setup-function): Preserve it.
10471 (choose-completion): Pay attention to it, shuffle the code a bit.
10472 (choose-completion-string): New arg `insert-function'.
10473
10474 * textmodes/bibtex.el: Convert to lexical binding.
10475 (bibtex-mode-map): Use completion-at-point.
10476 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10477 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10478 (bibtex-complete): Define as obsolete alias.
10479 (bibtex-complete-internal): Remove.
10480 (bibtex-format-entry): Remove unused sub-group in regexp.
10481 * shell.el (shell--command-completion-data)
10482 (shell-environment-variable-completion):
10483 * pcomplete.el (pcomplete-completions-at-point):
10484 * comint.el (comint--complete-file-name-data): Use :exit-function
10485 instead of completion-table-with-terminator so it also works for
10486 choose-completion.
10487
e44e373d
SM
104882011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10489
4f91a816
SM
10490 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10491
782fc819
SM
10492 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10493 (bug#8710).
10494
e44e373d
SM
10495 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10496
381987c3
KM
104972011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10498
10499 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10500 customization variable and implement: If non-nil, auto-fill will
10501 be inhibited while on topic's header line.
10502
b776bc70
VB
105032011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10504
10505 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10506 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10507 always have a solution in grid size = 5 cases.
10508 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10509 (5x5-solver-output, 5x5-log-buffer): New vars.
10510 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10511 Make these variables buffer local to achieve 5x5 multi-session-ness.
10512 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10513 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10514 (5x5-solve-suggest): New funs.
10515 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10516 randomize a grid so that we ensure that there is always a solution.
10517 (5x5-make-random-grid): Allow other movement than flipping.
10518
7de88b6e
KR
105192011-05-23 Kevin Ryde <user42@zip.com.au>
10520
10521 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10522 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10523 advice and passes PREDICATE.
10524
b1ef1257
SM
105252011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10526
bbca48fe
SM
10527 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10528 byte-compile-lambda if it's actually a lambda.
10529
b1ef1257
SM
10530 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10531 Fix function quoting. Use backquote better.
10532
92a9cc65
YS
105332011-05-22 Yuanle Song <sylecn@gmail.com>
10534
10535 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10536 matching (Bug#8516).
10537
f0fb8059
JA
105382011-01-22 Jari Aalto <jari.aalto@cante.net>
10539
10540 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10541 different face (Bug#8178).
10542
d5b44c93
CY
105432011-05-22 Chong Yidong <cyd@stupidchicken.com>
10544
10545 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10546 defface (Bug#8144).
10547
79106a44
SM
105482011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10549
9c848d8a
SM
10550 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10551 funcall as well (bug#8712). Warn when performing those conversions.
10552 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10553
79106a44
SM
10554 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10555
88dfa756
GM
105562011-05-22 Glenn Morris <rgm@gnu.org>
10557
10558 * files.el (hack-local-variables-prop-line): Small simplifications.
10559 (hack-local-variables, hack-local-variables-prop-line):
10560 If MODE-ONLY, return the mode, rather than just `t'.
10561
b7cf2c79
SM
105622011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10563
10564 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10565
3f1a8558
GM
105662011-05-21 Glenn Morris <rgm@gnu.org>
10567
7e4ccca3
GM
10568 * files.el (hack-local-variables-prop-line, hack-local-variables):
10569 If only interested in the mode, don't bother doing the other stuff.
10570
637d46ca
GM
10571 * image-mode.el (image-after-revert-hook):
10572 Redraw all frames on which the image is visible. (Bug#8567)
10573
973d955b
GM
10574 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10575
3f1a8558
GM
10576 * wid-edit.el (widget-checklist-match-inline):
10577 Fix 2011-04-19 change. (Bug#8649)
10578
96479927
SM
105792011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10580
1dcf791f
SM
10581 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10582 Also allow singlespace after single-letter capitals followed by a dot.
10583
96479927
SM
10584 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10585 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10586
35fd0881
N
105872011-05-20 Nix <nix@esperi.org.uk>
10588
10589 * files.el (basic-save-buffer-2):
10590 Fix handling of break-hardlink-on-save with non-existent files.
10591
82745640
DD
105922011-05-19 Deniz Dogan <deniz@dogan.se>
10593
10594 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10595 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10596
4a720484
GM
105972011-05-19 Glenn Morris <rgm@gnu.org>
10598
d1f21341
GM
10599 * progmodes/f90.el (f90-type-def-re):
10600 Handle "type, bind(c)". (Bug#8691)
10601
4a720484
GM
10602 * emacs-lisp/autoload.el (batch-update-autoloads):
10603 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10604
2fb0a219
MA
106052011-05-18 Michael Albinus <michael.albinus@gmx.de>
10606
10607 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10608 property for the correct connection in case of multihops.
10609
e565dd37
GM
106102011-05-18 Glenn Morris <rgm@gnu.org>
10611
c2571358 10612 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10613 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10614
e565dd37
GM
10615 Rationalize calendar handling of day and month abbrev-arrays.
10616 * calendar/calendar.el (calendar-customized-p): New function.
10617 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10618 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10619 Add :set function.
10620 (calendar-abbrev-length, calendar-day-abbrev-array)
10621 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10622 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10623 Elements may no longer be nil.
10624 (calendar-day-name, calendar-month-name):
10625 Update for changed nature of abbrev arrays.
10626 * calendar/diary-lib.el (diary-name-pattern):
10627 Update for changed nature of abbrev arrays.
10628 (diary-mark-entries-1): Update calendar-make-alist calls.
10629 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10630 * calendar/cal-html.el (cal-html-day-abbrev-array):
10631 Simply inherit from calendar-day-abbrev-array.
10632
1d99a745
SM
106332011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10634
10635 * progmodes/grep.el (grep-mode): Disable default
10636 compilation-directory-matcher setting (bug#8684).
10637
7c1d9aa0
MA
106382011-05-17 Michael Albinus <michael.albinus@gmx.de>
10639
10640 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10641 instead of "head" and "tail". There were problems with SunOS 5.9,
10642 and it performs better.
10643
3952e9d8
GM
106442011-05-17 Glenn Morris <rgm@gnu.org>
10645
2dd12e7f
GM
10646 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10647
e4157b9c
GM
10648 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10649 Replace obsolete function.
10650
8e249bbd
GM
10651 * shell.el (pcomplete-parse-arguments-function): Declare.
10652
3952e9d8
GM
10653 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10654 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10655 (appt-check): Doc fixes.
10656 (appt-disp-window-function, appt-delete-window-function):
10657 Remove needless special case in custom :type.
10658 (appt-display-count): Default to 0, not nil.
10659 (appt-check): Reset appt-display-count to 0, not nil.
10660
c71a0d48 106612011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10662
c71a0d48
GM
10663 * progmodes/python.el (python-font-lock-keywords):
10664 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10665
31d55be9
SM
106662011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10667
10668 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10669
3bfacb2f
KR
106702011-05-16 Kevin Ryde <user42@zip.com.au>
10671
10672 * info-look.el (makefile-automake-mode): New setups, looking in
10673 automake manual, then makefile-mode.
10674 (makefile-mode): Remove automake manual, have it just in
10675 makefile-automake-mode since there's various things different or
10676 not relevant to plain make.
10677 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10678 believe a hypothetical automake-mode would go to makefile-mode,
10679 not the other way around.
10680
c8e83751
CY
106812011-05-15 Chong Yidong <cyd@stupidchicken.com>
10682
5e9e35cd
CY
10683 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10684 hunk-end tags (Bug#8672).
10685
c8e83751
CY
10686 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10687 vc-annotate-show-diff-revision-at-line (Bug#8671).
10688
50b23e5a
GM
106892011-05-14 Glenn Morris <rgm@gnu.org>
10690
7210a739
GM
10691 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10692 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10693 (change-log-font-lock-keywords): Also handle multiple author lines
10694 with leading tabs. (Bug#8644)
7210a739 10695
4691905a
GM
10696 * calendar/appt.el (appt-check): Rename some local variables.
10697 Some simplification/reordering.
10698
50b23e5a
GM
10699 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10700 (feedmail-sendmail-f-doesnt-sell-me-out)
10701 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10702 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10703 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10704 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10705 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10706 (feedmail-binmail-gnulinuxish-template):
10707 Rename from feedmail-binmail-linuxish-template.
10708 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10709 Use insert-buffer-substring.
10710
215cda7c
BC
107112011-05-14 Bill Carpenter <bill@carpenter.org>
10712
10713 * mail/feedmail.el (feedmail-patch-level): Increase.
10714 (feedmail-debug): New custom group.
10715 (feedmail-confirm-outgoing-timeout)
10716 (feedmail-sendmail-f-doesnt-sell-me-out)
10717 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10718 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10719 (feedmail-sender-line, feedmail-from-line)
10720 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10721 (feedmail-spray-this-address)
215cda7c
BC
10722 (feedmail-spray-address-fiddle-plex-list)
10723 (feedmail-queue-use-send-time-for-date)
10724 (feedmail-queue-use-send-time-for-message-id)
10725 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10726 (feedmail-buffer-eating-function):
10727 Doc fixes.
10728 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10729 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10730 (feedmail-message-action-scroll-down): New functions.
10731 (feedmail-queue-directory, feedmail-queue-draft-directory):
10732 Use expand-file-name.
10733 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10734 Remove C-v help entry.
10735 (feedmail-queue-buffer-file-name): New variable.
10736 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10737 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10738 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10739 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10740 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10741 (feedmail-message-action-toggle-spray)
10742 (feedmail-run-the-queue-no-prompts)
10743 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10744 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10745 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10746 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10747 (feedmail-envelope-deducer, feedmail-fiddle-from)
10748 (feedmail-fiddle-sender, feedmail-default-date-generator)
10749 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10750 (feedmail-fiddle-spray-address)
10751 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10752 (feedmail-fiddle-list-of-fiddle-plexes)
10753 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10754 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10755 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10756 Change default. Doc fix.
10757 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10758 (feedmail-binmail-linuxish-template): New constant.
10759 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10760 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10761 (feedmail-send-it): Add debug call.
10762 Use feedmail-queue-buffer-file-name, and
10763 feedmail-send-it-immediately-wrapper.
10764 (feedmail-message-action-send): Add debug call.
10765 Use feedmail-send-it-immediately-wrapper.
10766 (feedmail-queue-express-to-queue): Add debug call.
10767 Run feedmail-queue-express-hook.
10768 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10769 (feedmail-message-action-help-blat):
10770 Rename from feedmail-queue-send-edit-prompt-help-first.
10771 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10772 Check line-endings. Handle errors better.
10773 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10774 Doc fix. Add debug call.
10775 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10776 Use feedmail-queue-send-edit-prompt-inner.
10777 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10778 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10779 from feedmail-queue-send-edit-prompt.
10780 (feedmail-queue-send-edit-prompt-help)
10781 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10782 (feedmail-tidy-up-slug): Add debug call.
10783 Respect feedmail-queue-slug-suspect-regexp.
10784 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10785 (feedmail-dump-message-to-queue): Add debug call.
10786 Expand queue-directory.
10787 (feedmail-dump-message-to-queue): Change message slightly.
10788 Use feedmail-say-chatter.
10789 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10790 (feedmail-send-it-immediately-wrapper): New function.
10791 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10792 Insert empty string rather than newline. Handle full-frame case.
10793 Use catch/throw. Use feedmail-say-chatter.
10794 (feedmail-fiddle-from): Try mail-host-address.
10795 (feedmail-default-message-id-generator): Doc fix.
10796 Bind system-time-locale. Handle missing end.
10797 (feedmail-fiddle-x-mailer): Add debug call.
10798 Handle feedmail-x-mailer-line being nil.
10799 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10800 Add debug call. Use buffer-substring-no-properties.
10801 (feedmail-say-debug, feedmail-say-chatter): New functions.
10802 (feedmail-find-eoh): Give an explicit error.
10803
42c7e61e
UJ
108042011-05-13 Ulf Jasper <ulf.jasper@web.de>
10805
c2571358 10806 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10807 family from helvetica to sans.
c2571358 10808 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10809 etc/images/newsticker.
10810
c2571358 10811 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10812 family from helvetica to sans.
10813
10814 * net/newst-plainview.el (newsticker-new-item-face)
10815 (newsticker-old-item-face, newsticker-immortal-item-face)
10816 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10817 (newsticker-statistics-face): Change default family from
42c7e61e 10818 helvetica to sans.
c2571358 10819 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10820 etc/images/newsticker.
10821
5d3385a0
JB
10822 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
10823 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
10824 auto-marking.
10825
8497a297
DV
108262011-05-13 Didier Verna <didier@xemacs.org>
10827
10828 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10829 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10830 TODO entries.
8497a297
DV
10831 (lisp-lambda-list-keyword-parameter-indentation)
10832 (lisp-lambda-list-keyword-parameter-alignment)
10833 (lisp-lambda-list-keyword-alignment): New customizable user options.
10834 (lisp-indent-defun-method): Improve docstring.
10835 (extended-loop-p): Fix comment.
10836 (lisp-indent-lambda-list-keywords-regexp): New variable.
10837 (lisp-indent-lambda-list): New function.
10838 (lisp-indent-259): Use it.
10839 (lisp-indent-defmethod): Support for more than one
10840 method qualifier and properly indent methods lambda-lists.
10841 (defgeneric): Provide a missing common-lisp-indent-function property.
10842
f278f87f
SM
108432011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10844
10845 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10846 bounds for the empty string (bug#8667).
10847
5233edd7
GM
108482011-05-13 Glenn Morris <rgm@gnu.org>
10849
5237a44f
GM
10850 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10851
8340026c 10852 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10853 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10854
5233edd7 10855 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10856 (appt-time-msg-list): Doc fix.
a5464014 10857 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10858
92d10796
AS
108592011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10860
10861 * progmodes/ld-script.el (ld-script-keywords)
10862 (ld-script-builtins): Update keywords list.
10863
914a0ae1
SM
108642011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10865
c89be45f
SM
10866 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10867
914a0ae1
SM
10868 * shell.el (shell-completion-vars): New function.
10869 (shell-mode):
10870 * simple.el (read-shell-command): Use it.
10871 (blink-matching-open): No need for " [...]" in minibuffer-message.
10872
98dc3df3
GM
108732011-05-12 Glenn Morris <rgm@gnu.org>
10874
10875 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10876 (appt-check): Simplify.
10877
d2fc7e3d 108782011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10879
4d61f28d 10880 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10881 literal "/dev/null".
10882
d2fc7e3d 108832011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10884
10885 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10886 Fix typo.
10887
d2fc7e3d 108882011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10889
3f254caa
SM
10890 * progmodes/which-func.el (which-function):
10891 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10892 which might not be defined (Bug#8260).
10893
d45885f7
GM
108942011-05-12 Glenn Morris <rgm@gnu.org>
10895
10896 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10897 Let byte-compile-initial-macro-environment always take precedence.
10898
488086f4
SM
108992011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10900
10901 * net/rcirc.el: Add support for SSL/TLS connections.
10902 (rcirc-server-alist): New field `encryption'.
10903 (rcirc): Check `encryption' settings.
10904 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10905 Merge make-local-variable into `set'.
10906 (rcirc--connection-open-p): New function.
10907 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10908 the process is not a network process (e.g. running gnutls-cli).
10909 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10910 Make rcirc-(en|de)code-coding-system local here.
10911 (rcirc-mode): Merge make-local-variable into `set'.
10912 (rcirc-parent-buffer): Make permanent buffer-local.
10913 (rcirc-multiline-minor-mode): Don't do it here.
10914 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10915 there's no server buffer.
10916
7d3b9d44
GM
109172011-05-11 Glenn Morris <rgm@gnu.org>
10918
f64049c6
GM
10919 * newcomment.el (comment-kill): Prefix "unused" local.
10920
93c9df73
GM
10921 * term/w32console.el (get-screen-color): Declare.
10922
7d3b9d44
GM
10923 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10924 Handle symbol elements of byte-compile-initial-macro-environment.
10925
9e2dd53f
LL
109262011-05-10 Leo Liu <sdl.web@gmail.com>
10927
488086f4
SM
10928 * bookmark.el (bookmark-bmenu-mode-map):
10929 Bind bookmark-bmenu-search to `/'.
8b340240 10930
9e2dd53f 10931 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10932 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10933 (Footnote-unicode): New function.
10934 (footnote-style-alist): Add unicode style to the list.
10935 (footnote-style): Doc fix.
9e2dd53f 10936
79b70037
GM
109372011-05-10 Jim Meyering <meyering@redhat.com>
10938
10939 Fix doubled-word typos.
10940 * international/quail.el (quail-insert-kbd-layout): and and -> and
10941 * kermit.el: and and -> and
10942 * net/ldap.el (ldap-search-internal): to to -> to
10943 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10944 * progmodes/js.el (js-mode): and and -> and
10945 * textmodes/artist.el (artist-move-to-xy): at at -> at
10946 (artist-draw-region-trim-line-endings): if if -> if
10947 And Safetyc -> Safety.
10948 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10949
b8f82dc1 109502011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10951 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10952
10953 * files.el (hack-one-local-variable-eval-safep):
10954 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10955
4f99f44b
GM
109562011-05-10 Glenn Morris <rgm@gnu.org>
10957
10958 * calendar/diary-lib.el (diary-list-entries-hook)
10959 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10960 (diary-nongregorian-marking-hook, diary-list-entries)
10961 (diary-include-other-diary-files, diary-mark-entries)
10962 (diary-mark-included-diary-files): Doc fixes.
10963
84f29e6b
JB
109642011-05-09 Juanma Barranquero <lekktu@gmail.com>
10965
10966 * misc.el: Require tabulated-list.el during compilation.
10967
9bedd73a
CY
109682011-05-09 Chong Yidong <cyd@stupidchicken.com>
10969
488086f4
SM
10970 * progmodes/compile.el (compilation-start):
10971 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10972 (compilation-filter-hook): Doc fix.
10973
797c735c
DD
109742011-05-09 Deniz Dogan <deniz@dogan.se>
10975
10976 * wdired.el: Remove outdated installation comment. Fix usage
10977 comment.
10978
5f4b1dfe
JB
109792011-05-09 Juanma Barranquero <lekktu@gmail.com>
10980
10981 * misc.el: Implement new command `list-dynamic-libraries'.
10982 (list-dynamic-libraries--loaded-only-p): New variable.
10983 (list-dynamic-libraries--refresh): New function.
10984 (list-dynamic-libraries): New command.
10985
4c44026c
CY
109862011-05-09 Chong Yidong <cyd@stupidchicken.com>
10987
488086f4
SM
10988 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10989 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10990 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10991 higher priority to avoid clobbering by gnu.
10992
027f966d
CY
109932011-05-08 Chong Yidong <cyd@stupidchicken.com>
10994
10995 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10996 if the face has existing theme settings (Bug#8454).
10997
085f5d7d
CY
109982011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10999
488086f4
SM
11000 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11001 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11002
2a86a00c
RS
11003 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11004 special file names `.' and `..' (Bug#8259).
11005
d9c54a06
CY
110062011-05-08 Chong Yidong <cyd@stupidchicken.com>
11007
488086f4
SM
11008 * progmodes/grep.el (grep-mode-font-lock-keywords):
11009 Remove buffer-changing entries.
d9c54a06
CY
11010 (grep-filter): New function.
11011 (grep-mode): Add it to compilation-filter-hook.
11012
11013 * progmodes/compile.el (compilation-filter-hook)
11014 (compilation-filter-start): New defvars.
11015 (compilation-filter): Call compilation-filter-hook prior to
11016 updating the process mark.
11017
c4662635
SM
110182011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11019
11020 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11021
b0512a1d
EZ
110222011-05-07 Eli Zaretskii <eliz@gnu.org>
11023
605c9376
EZ
11024 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11025 mailclient-send-it even if window-system is nil. (Bug#8595)
11026
c4662635
SM
11027 * term/w32console.el (terminal-init-w32console):
11028 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11029 background-mode. (Bug#8597)
11030
d1dc2cc2
SM
110312011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11032
11033 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11034 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11035 New functions.
11036 (defgeneric, eieio--defmethod): Use them.
11037 (eieio-defgeneric): Remove.
11038 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11039
915d1300
GM
110402011-05-07 Glenn Morris <rgm@gnu.org>
11041
a3961c3e
GM
11042 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11043 Use let rather than let*.
11044 (timeclock-find-discrep): Remove unused local.
11045
314347b9
GM
11046 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11047
915d1300
GM
11048 * calendar/appt.el (appt-time-msg-list): Doc fix.
11049
275b59b0
NF
110502011-05-06 Noah Friedman <friedman@splode.com>
11051
11052 * apropos.el (apropos-print-doc): Only use
11053 emacs-lisp-docstring-fill-column when it is bound to an integer,
11054 per that variable's documentation.
11055
6c19f744
SM
110562011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11057
11058 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11059 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11060
60f884b2
GM
110612011-05-06 Glenn Morris <rgm@gnu.org>
11062
5006e634
GM
11063 * calendar/appt.el (appt-message-warning-time): Doc fix.
11064 (appt-warning-time-regexp): New option.
11065 (appt-make-list): Respect appt-message-warning-time.
11066
548d0a63
GM
11067 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11068 New options.
11069 (diary-add-to-list): Strip comments from the displayed string.
11070 (diary-mode): Set comment-start and comment-end.
11071
60f884b2
GM
11072 * vc/diff-mode.el (smerge-refine-subst): Declare.
11073 (diff-refine-hunk): Don't require smerge-mode when compiling.
11074
989681bb
JB
110752011-05-06 Juanma Barranquero <lekktu@gmail.com>
11076
11077 * simple.el (list-processes): Return nil as the docstring says.
11078
a6bc05e1
MA
110792011-05-05 Michael Albinus <michael.albinus@gmx.de>
11080
11081 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11082 to "".
11083 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11084 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11085 determining of binary transfer. (Bug#7383)
11086
23c22e9a
MA
110872011-05-05 Michael Albinus <michael.albinus@gmx.de>
11088
c4662635
SM
11089 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11090 Fix port computation bug. (Bug#8618)
23c22e9a 11091
0bff894f
GM
110922011-05-05 Glenn Morris <rgm@gnu.org>
11093
b8296902
GM
11094 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11095
1f522ce8
GM
11096 * simple.el (shell-dynamic-complete-functions)
11097 (comint-dynamic-complete-functions): Declare.
11098
cf5bee67
GM
11099 * net/network-stream.el (gnutls-negotiate):
11100 * simple.el (tabulated-list-print): Fix declarations.
11101
11102 * progmodes/gud.el (syntax-symbol, syntax-point):
11103 Remove unnecessary and incorrect declarations.
11104
0bff894f
GM
11105 * emacs-lisp/check-declare.el (check-declare-scan):
11106 Handle byte-compile-initial-macro-environment in bytecomp.el
11107
9869b3ae
SM
111082011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11109
11110 Fix earlier half-done eieio-defmethod change (bug#8338).
11111 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11112 Streamline and change calling convention.
11113 (defmethod): Adjust accordingly and simplify.
11114 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11115 new eieio--defmethod.
11116 (slot-boundp): Minor CSE simplification.
11117
9c1d5ac5
MZ
111182011-05-05 Milan Zamazal <pdm@zamazal.org>
11119
11120 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11121 (glasses-make-readable): Use glasses-separate-capital-groups.
11122
455c834e
JB
111232011-05-05 Juanma Barranquero <lekktu@gmail.com>
11124
11125 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11126 (warning-series): Doc fix.
11127 (display-warning): Don't try to create the buffer if we just found it.
11128
9ed7c8cb
CY
111292011-05-04 Chong Yidong <cyd@stupidchicken.com>
11130
11131 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11132 (autoload-find-generated-file): New function.
11133 (generate-file-autoloads): Bind generated-autoload-file to
11134 buffer-file-name.
9869b3ae
SM
11135 (update-file-autoloads, update-directory-autoloads):
11136 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11137 output file (Bug#7989).
11138 (batch-update-autoloads): Doc fix.
11139
0898ca10
JB
111402011-05-04 Juanma Barranquero <lekktu@gmail.com>
11141
11142 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11143
31dfb76c
GM
111442011-05-04 Glenn Morris <rgm@gnu.org>
11145
f330b642
GM
11146 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11147 function, so it follows changes in calendar-date-style.
11148 (diary-fancy-date-matcher): New function.
11149 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11150 (diary-fancy-font-lock-fontify-region-function):
11151 Use diary-fancy-date-pattern as a function.
11152
31dfb76c
GM
11153 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11154 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11155
48e79d6a
TZ
111562011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11157
11158 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11159 instead of positional arguments. Allow :keylist and :crlfiles
11160 arguments.
11161 (open-gnutls-stream): Call it.
11162
11163 * net/network-stream.el (network-stream-open-starttls): Adjust to
11164 call `gnutls-negotiate' with :process and :hostname arguments.
11165
dd5a5ee0
SM
111662011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11167
ef80fc09
SM
11168 * minibuffer.el (completion--message): New function.
11169 (completion--do-completion, minibuffer-complete)
11170 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11171 (completion--do-completion): Don't ignore completion-auto-help when in
11172 icomplete-mode.
11173
dd5a5ee0
SM
11174 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11175 internal encoding (e.g. tibetan zero is not whitespace).
11176 (global-whitespace-mode): Prefer save-current-buffer.
11177 (whitespace-trailing-regexp): Remove useless save-match-data.
11178 (whitespace-empty-at-bob-regexp): Minor simplification.
11179
b7d22a83
CY
111802011-05-03 Chong Yidong <cyd@stupidchicken.com>
11181
11182 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11183
5192af46
AM
111842011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11185
11186 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11187 Use `concat' to create string for insertion.
5192af46 11188
5767d190
SM
111892011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11190
11191 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11192 Avoid open-line which runs post-self-insert-hook.
11193 (bibtex-fill-entry): Remove unused `end' var.
11194
bf242939
AM
111952011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11196
5767d190
SM
11197 * textmodes/ispell.el (ispell-add-per-file-word-list):
11198 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11199
25666126
LL
112002011-05-03 Leo Liu <sdl.web@gmail.com>
11201
11202 * isearch.el (isearch-yank-pop): New command.
5767d190 11203 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11204 (isearch-forward): Mention it.
11205
52d3c2d0
SM
112062011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11207
1bcace58
SM
11208 * simple.el (minibuffer-complete-shell-command): Remove.
11209 (minibuffer-local-shell-command-map): Use completion-at-point.
11210 (read-shell-command): Setup completion vars here instead.
11211 (read-expression-map): Bind TAB to symbol completion.
11212
52d3c2d0
SM
11213 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11214 error directly rather via storing it into `results'.
11215
35813471
LL
112162011-05-02 Leo Liu <sdl.web@gmail.com>
11217
11218 * vc/diff.el: Fix description.
11219
e793a940
LMI
112202011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11221
11222 * server.el (server-eval-at): New function.
11223
8de66e05
LMI
112242011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11225
11226 * net/network-stream.el (open-network-stream): Take a :nowait
11227 parameter and pass it on to `make-network-process'.
11228 (network-stream-open-plain): Ditto.
11229
dcb79f20
AS
112302011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11231
11232 * faces.el (face-spec-set-match-display): Don't match toolkit
11233 options on terminal frames.
11234
14a7fbd8
SM
112352011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11236
7eabc1be
SM
11237 * progmodes/pascal.el: Use lexical binding.
11238 (pascal-mode-map): Remove author preferences.
11239
14a7fbd8
SM
11240 * pcomplete.el (pcomplete-std-complete): Don't abuse
11241 completion-at-point.
11242
50f84510
JB
112432011-04-28 Juanma Barranquero <lekktu@gmail.com>
11244
6e087a44
JB
11245 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11246 removing code that has been dead since 1991 or so.
11247
50f84510
JB
11248 * startup.el (command-line): When warning about "_emacs", use a
11249 delayed warning to allow the user to filter it out.
11250
0ba690bd
DD
112512011-04-28 Deniz Dogan <deniz@dogan.se>
11252
11253 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11254 user has not joined.
11255
08abfaad
SM
112562011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11259 aren't any completions at point.
11260
638f053a
JB
112612011-04-28 Juanma Barranquero <lekktu@gmail.com>
11262
11263 * subr.el (display-delayed-warnings): New function.
11264 (delayed-warnings-hook): New variable.
11265
8fff8daa
SM
112662011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11267
08abfaad
SM
11268 * minibuffer.el (completion-at-point, completion-help-at-point):
11269 Don't presume that a given completion-at-point-function will always
11270 use the same calling convention.
11271
8fff8daa
SM
11272 * pcomplete.el (pcomplete-completions-at-point):
11273 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11274 pcomplete-seen is non-nil.
11275 (pcomplete-comint-setup): Also recognize the new comint/shell
11276 completion functions.
11277 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11278 pcomplete-seen is non-nil.
11279
841a1577 112802011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11281
841a1577 11282 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11283 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11284 the first character in the entry. This allows for code to add its
211ec907
UJ
11285 own uid to the entry.
11286 (icalendar--convert-float-to-ical): Add export of
11287 `diary-float'-entries save for those with the optional DAY
11288 argument.
11289
2a782793
DC
112902011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11291
11292 * subr.el (shell-quote-argument): Use alternate escaping strategy
11293 when we spot a variable reference in a string.
11294
0438ce91
DC
112952011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11296
11297 * cus-start.el (all): Define customization for debug-on-event.
11298
841a1577 112992011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11300
11301 * subr.el (shell-quote-argument): Escape correctly under Windows.
11302
d090ed6c
SM
113032011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11304
11305 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11306
bfd31217
MA
113072011-04-25 Michael Albinus <michael.albinus@gmx.de>
11308
d090ed6c
SM
11309 * net/tramp.el (tramp-process-actions): Add POS argument.
11310 Delete region between POS and (pos).
bfd31217 11311
d090ed6c
SM
11312 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11313 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11314 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11315
11316 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11317 position in `tramp-process-actions' call.
11318
11319 * net/trampver.el: Update release number.
11320
e92f3bd3
SM
113212011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11322
850256b5
SM
11323 * custom.el (defcustom): Obey lexical-binding.
11324
e92f3bd3
SM
11325 Fix octave-inf completion problems reported by Alexander Klimov.
11326 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11327 Inherit from octave-mode-syntax-table.
11328 (inferior-octave-mode): Set info-lookup-mode.
11329 (inferior-octave-completion-at-point): New function.
11330 (inferior-octave-complete): Use it and completion-in-region.
11331 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11332 comint-filename-completion.
11333 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11334 symbol elements which shouldn't be word elements.
11335 (octave-font-lock-keywords, octave-beginning-of-defun)
11336 (octave-function-header-regexp): Adjust regexps accordingly.
11337 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11338
cd22b309
JB
113392011-04-25 Juanma Barranquero <lekktu@gmail.com>
11340
11341 * net/gnutls.el (gnutls-errorp): Declare before first use.
11342
8b492194
TZ
113432011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11344
11345 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11346 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11347 default trustfile exists before going to use it. Add missing
5a5fa834 11348 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11349 Reported by Claudio Bley <claudio.bley@gmail.com>.
11350 (open-gnutls-stream): Add usage example.
11351
11352 * net/network-stream.el (network-stream-open-starttls): Give host
11353 parameter to `gnutls-negotiate'.
11354 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11355 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11356
841a1577 113572011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11358
cd22b309
JB
11359 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11360 Use correct match group (bug#8438).
05842630 11361
3ba7869c
CY
113622011-04-24 Chong Yidong <cyd@stupidchicken.com>
11363
512e3ae1
CY
11364 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11365 (package-menu--generate): New arg specifying packages to show.
11366 (package-menu-refresh, package-menu-execute, list-packages):
11367 Callers changed.
11368 (package-show-package-list): New function, replacing deleted
11369 package--list-packages (renamed because it is non-internal).
11370
11371 * finder.el (finder-list-matches): Use package-show-package-list
11372 instead of deleted package--list-packages.
11373
e92f3bd3
SM
11374 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11375 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11376 (vc-annotate-mode-map): Bind it to RET.
11377
7031be6d
UR
113782011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11379
11380 * progmodes/etags.el (next-file): Don't use set-buffer to change
11381 buffers (Bug#8478).
11382
4ef177aa
CY
113832011-04-24 Chong Yidong <cyd@stupidchicken.com>
11384
c8d173eb
CY
11385 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11386
4ef177aa
CY
11387 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11388 (apropos-accumulator): Doc fix.
11389 (apropos-function, apropos-macro, apropos-command)
11390 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11391 (apropos-plist): Add face property.
11392 (apropos-symbols-internal): Fix indentation.
11393 (apropos-print): Simplify help, and recognize apropos-multi-type.
11394 (apropos-print-doc): Use button-type-get to extract the button's
11395 face property. Fill docstring (Bug#8352).
11396
4ffd0d6b 113972011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11398
11399 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11400
c6c32125 11401 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11402 (mpuz-mode-map): Use mapc.
c6c32125
JB
11403 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11404 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11405 Fix typos in docstrings.
11406
58d468b4
JB
11407 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11408 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11409
6470c3c6
JB
11410 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11411
4ffd0d6b 114122011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11413
11414 * minibuffer.el (completion--do-completion): Avoid the "Next char
11415 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11416
3ad8bad0
CY
11417 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11418 mouse-2 into unread-command-events, it is interpreted correctly.
11419
71d73c9c 11420 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11421 (image-toggle-display): Doc fix.
71d73c9c 11422
841a1577 114232011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11424
4ffd0d6b
GM
11425 * textmodes/page.el (what-page): Use line-number-at-pos to
11426 calculate line number (Bug#6825).
6e1dbaa9 11427
c2fb1b60
JB
114282011-04-22 Juanma Barranquero <lekktu@gmail.com>
11429
11430 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11431 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11432 Pass argument NO-DEFAULT to `find-tag-interactive'.
11433
e02f48d7
JB
114342011-04-22 Juanma Barranquero <lekktu@gmail.com>
11435
11436 Lexical-binding cleanup.
11437
11438 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11439 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11440 * progmodes/ada-prj.el (ada-prj-initialize-values)
11441 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11442 (ada-prj-show-value):
11443 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11444 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11445 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11446 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11447 * progmodes/bug-reference.el (bug-reference-push-button):
11448 * progmodes/fortran.el (fortran-line-length):
11449 * progmodes/glasses.el (glasses-change):
11450 * progmodes/octave-mod.el (octave-fill-paragraph):
11451 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11452 (python-pdbtrack-grub-for-buffer, python-sentinel):
11453 * progmodes/sql.el (sql-save-connection):
11454 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11455 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11456 Mark unused parameters.
11457
11458 * progmodes/compile.el (compilation--flush-directory-cache)
11459 (compilation--flush-parse, compile-internal): Mark unused parameters.
11460 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11461 (compilation-next-error-function): Remove unused variable `timestamp'.
11462
11463 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11464 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11465
11466 * progmodes/dcl-mode.el (dcl-end-of-command):
11467 Remove unused variable `start'.
11468 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11469 (dcl-option-value-basic, dcl-option-value-offset)
11470 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11471 Mark unused parameters.
11472 (dcl-save-local-variable): Remove unused variable `val'.
11473 (mode): Declare.
11474
11475 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11476 Mark unused parameters.
11477 (delphi-ignore-changes): Move before first use.
11478 (delphi-charset-token-at): Remove unused variable `start'.
11479 (delphi-else-start): Remove unused variable `if-count'.
11480 (delphi-comment-block-start, delphi-comment-block-end):
11481 Remove unused variable `kind'.
11482 (delphi-indent-line): Remove unused variable `new-point'.
11483
11484 * progmodes/ebrowse.el (ebrowse-files-list)
11485 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11486 Mark unused parameters. Don't quote `lambda'.
11487 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11488 Don't quote `lambda'.
11489 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11490 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11491 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11492 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11493 Use `ignore-errors'.
11494 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11495 (ebrowse-view/find-file-and-search-pattern)
11496 (ebrowse-view/find-member-declaration/definition):
11497 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11498 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11499 Rename parameter PREFIX-ARG to PREFIX.
11500 (ebrowse-tags-read-name): Remove unused variables `start' and
11501 `member-info'.
11502 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11503 to `tags-file'.
11504
11505 * progmodes/etags.el (local-find-tag-hook): Declare.
11506 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11507 Mark unused parameters.
11508
11509 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11510 (executable-interpret): Mark unused parameter.
11511
11512 * progmodes/flymake.el (flymake-process-sentinel)
11513 (flymake-after-change-function)
11514 (flymake-create-temp-with-folder-structure)
11515 (flymake-get-include-dirs-dot): Mark unused parameters.
11516 (flymake-safe-delete-directory): Remove unused variable `err'.
11517
11518 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11519 (speedbar-timer-fn, speedbar-line-text)
11520 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11521 (speedbar-center-buffer-smartly): Declare functions.
11522 (gdb-find-watch-expression): Remove unused variable `array'.
11523 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11524 (gdb-starting): Mark unused parameters.
11525 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11526 (gdb-table-string): Remove unused variable `res'.
11527 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11528 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11529 (gdb-display-buffer): Remove unused variable `cur-size'.
11530
11531 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11532 allow lexical-binding compilation.
11533 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11534 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11535 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11536 Mark unused parameters.
11537 (gud-gdb-marker-filter): Remove unused variable `match'.
11538 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11539 lambda expressions and funcall them, instead of using `fset'.
11540
11541 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11542 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11543
11544 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11545 variable `header-beg'; use `let'.
11546
11547 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11548 `restart', `last-sexp' and `at-do'.
11549
11550 * progmodes/js.el (js--debug): Mark unused parameter.
11551 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11552 (js--splice-into-items): Remove unused variable `item'.
11553 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11554
11555 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11556 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11557 (makefile-complete): Remove unused variable `try'.
11558 (makefile-fill-paragraph, makefile-match-function-end):
11559 Mark unused parameters.
11560
11561 * progmodes/octave-inf.el (inferior-octave-complete):
11562 Remove unused variable `proc'.
11563 (inferior-octave-output-digest): Mark unused parameter.
11564
11565 * progmodes/perl-mode.el (perl-calculate-indent):
11566 Remove unused variable `err'.
11567
11568 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11569 (prolog-indent-line): Mark unused parameters.
11570 (prolog-indent-line): Remove unused variable `beg'.
11571
11572 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11573 (reporter-dont-compact-list): Declare.
11574
11575 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11576 Remove unused variable `char'.
11577 (sh-debug): Mark unused parameter.
11578 (sh-get-indent-info): Remove unused variable `start'.
11579 (sh-calculate-indent): Remove unused variable `var'.
11580
11581 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11582 (simula-electric-keyword): Remove unused variable `null'.
11583 (simula-search-backward, simula-search-forward): Remove unused
11584 variables `begin' and `end'.
11585
11586 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11587 Remove unused variable `pos'.
11588 (vera-electric-tab, vera-comment-uncomment-region):
11589 Mark unused parameters.
11590 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11591
7ede3b65
CY
115922011-04-22 Chong Yidong <cyd@stupidchicken.com>
11593
11594 * emacs-lisp/package.el (package--builtins, package-alist)
11595 (package-load-descriptor, package-built-in-p, package-activate)
11596 (define-package, package-installed-p)
11597 (package-compute-transaction, package-buffer-info)
11598 (package--push): Doc fix. Distinguish more clearly between
11599 version strings and version lists.
11600
121656e9
JB
116012011-04-21 Juanma Barranquero <lekktu@gmail.com>
11602
11603 Lexical-binding cleanup.
11604
11605 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11606 (5x5-make-mutate-best):
11607 * play/fortune.el (fortune-in-buffer):
11608 * play/gomoku.el (gomoku-init-display):
11609 * play/solitaire.el (solitaire, solitaire-do-check):
11610 * play/tetris.el (tetris-default-update-speed-function):
11611 Mark unused parameters.
11612
11613 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11614 (bubbles--shift): Remove unused variable `char-org'.
11615 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11616 (bubbles--show-images): Remove unused variable `char'.
11617
11618 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11619 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11620 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11621 (decipher-analyze-buffer): Use ?\s.
11622 (decipher-make-checkpoint): Remove unused variable `mapping'.
11623
11624 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11625
11626 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11627 Remove unused variable `result'; use `let'.
11628
11629 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11630 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11631 (gametree-children-shown-p, gametree-compute-reduced-score):
11632 Use `ignore-errors'.
11633
11634 * play/handwrite.el (ps-lpr-switches): Declare.
11635 (handwrite): Remove unused variables `pmin' and `lastp'.
11636
11637 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11638
11639 * play/landmark.el (landmark-init-display)
11640 (landmark-update-naught-weights): Mark unused parameters.
11641 (landmark-y): Remove unused variable `noise'. Simplify.
11642 (landmark-human-plays): Remove unused variable `score'.
11643
11644 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11645 (mpuz-try-proposal): Remove unused variable `game'.
11646
11647 * play/zone.el (life-patterns): Declare.
11648
80f499c7
JB
116492011-04-20 Juanma Barranquero <lekktu@gmail.com>
11650
11651 * vc/vc.el (ediff-vc-internal): Declare function.
11652
024ff170
SM
116532011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11654
c0a193ea
SM
11655 * shell.el: Use lexical-binding and std completion UI.
11656 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11657 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11658 comint-preoutput-filter-functions rather than on
11659 comint-output-filter-functions.
11660 (shell-command-completion, shell--command-completion-data)
11661 (shell-filename-completion, shell-environment-variable-completion)
11662 (shell-c-a-p-replace-by-expanded-directory): New functions.
11663 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11664 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11665 (shell-dynamic-complete-environment-variable): Use them.
11666 (shell-dynamic-complete-as-environment-variable)
11667 (shell-dynamic-complete-as-command): Remove.
11668 (shell-match-partial-variable): Match past point.
11669 * comint.el: Clean up use of completion-at-point-functions.
11670 (comint-completion-at-point): New function.
11671 (comint-mode): Use it completion-at-point-functions.
11672 (comint-dynamic-complete): Make it obsolete.
11673 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11674 (comint-c-a-p-replace-by-expanded-history): New function.
11675 (comint-dynamic-complete-functions)
11676 (comint-replace-by-expanded-history): Use it.
11677 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11678 termination strings. Try harder to avoid second try-completion.
11679 (completion-in-region-mode-map): Disable bindings that don't work yet.
11680
2dbaa080
SM
11681 * comint.el: Use lexical-binding. Require CL.
11682 (comint-dynamic-complete-functions): Use comint-filename-completion.
11683 (comint-completion-addsuffix): Tweak custom type.
11684 (comint-filename-completion, comint--common-suffix)
11685 (comint--common-quoted-suffix, comint--table-subvert)
11686 (comint--complete-file-name-data): New functions.
11687 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11688 (comint-dynamic-list-filename-completions): Use them.
11689 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11690
2dbaa080
SM
11691 * minibuffer.el (completion-in-region-mode):
11692 Keep completion-in-region-mode--predicate global.
11693 (completion-in-region--postch):
11694 Assume completion-in-region-mode--predicate is not null.
11695
c79a6f38
SM
11696 * progmodes/flymake.el (flymake-start-syntax-check-process):
11697 Obey `dir'. Simplify.
11698
024ff170
SM
11699 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11700 we're in VC after all.
11701
1c6c854e
CS
117022011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11703
11704 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11705 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11706 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11707
bed7f140
SM
117082011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11709
332e62ab
SM
11710 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11711 add sanity check.
11712
bed7f140
SM
11713 * obsolete/erc-hecomplete.el: Make obsolete.
11714 * obsolete/: Standardize obsolescence info in the header.
11715
f195c582
GM
117162011-04-20 Glenn Morris <rgm@gnu.org>
11717
11718 * calendar/solar.el (solar-horizontal-coordinates):
11719 Use the longitude argument rather than `calendar-longitude'.
11720 (solar-date-next-longitude): Remove unused locals.
11721
cb79b8c0
VJL
117222011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11723
11724 * whitespace.el: New version 13.2.1.
11725
117262011-04-20 felix <EmacsWiki> (tiny change)
11727
d8e4b68b 11728 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11729 switching between major modes on a file.
11730
602ea69d
SM
117312011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11732
11733 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11734 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11735 multi-line comments as well.
11736
06b60517
JB
117372011-04-19 Juanma Barranquero <lekktu@gmail.com>
11738
11739 Lexical-binding cleanup.
11740
11741 * arc-mode.el (archive-mode-revert):
11742 * cmuscheme.el (scheme-interactively-start-process):
11743 * custom.el (custom-initialize-delay):
11744 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11745 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11746 * emacs-lock.el (emacs-lock-clear-sentinel):
11747 * ezimage.el (defezimage):
11748 * follow.el (follow-avoid-tail-recenter):
11749 * fringe.el (set-fringe-mode-1):
11750 * generic-x.el (bat-generic-mode-compile):
11751 * help-mode.el (help-info-variable, help-do-xref)
11752 (help-mode-revert-buffer):
11753 * help.el (view-emacs-todo):
11754 * iswitchb.el (iswitchb-completion-help):
11755 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11756 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11757 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11758 * locate.el (locate-update):
11759 * longlines.el (longlines-encode-region)
11760 (longlines-after-change-function):
11761 * outline.el (outline-isearch-open-invisible):
11762 * ps-def.el (declare-function, charset-dimension, char-width)
11763 (encode-char):
11764 * ps-mule.el (ps-mule-plot-string):
11765 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11766 (recentf-edit-list-select, recentf-edit-list-validate)
11767 (recentf-open-files-action):
11768 * rect.el (delete-whitespace-rectangle-line)
11769 (rectangle-number-line-callback):
11770 * register.el (window-configuration-to-register)
11771 (frame-configuration-to-register):
11772 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11773 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11774 (xselect-convert-to-targets, xselect-convert-to-delete)
11775 (xselect-convert-to-filename, xselect-convert-to-charpos)
11776 (xselect-convert-to-lineno, xselect-convert-to-colno)
11777 (xselect-convert-to-os, xselect-convert-to-host)
11778 (xselect-convert-to-user, xselect-convert-to-class)
11779 (xselect-convert-to-name, xselect-convert-to-integer)
11780 (xselect-convert-to-atom, xselect-convert-to-identity):
11781 * subr.el (declare, ignore, process-kill-without-query)
11782 (text-clone-maintain):
11783 * terminal.el (te-get-char, te-tic-sentinel):
11784 * tool-bar.el (tool-bar-make-keymap):
11785 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11786 * type-break.el (type-break-mode, type-break-noninteractive-query):
11787 * view.el (View-back-to-mark):
11788 * wid-browse.el (widget-browse-action, widget-browse-widget)
11789 (widget-browse-widgets, widget-browse-sexp):
11790 * widget.el (define-widget-keywords):
11791 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11792 Mark unused parameters.
11793
11794 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11795 (align-areas): Remove unused variable `look'.
11796 (align-region): Remove unused variables `real-end' and `pos-list'.
11797
11798 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11799
11800 * bindings.el (mode-line-modified, mode-line-remote):
11801 Mark unused parameters.
11802 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11803
11804 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11805 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11806
11807 * comint.el (comint-history-isearch-pop-state)
11808 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11809 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11810 (comint-substitute-in-file-name): Doc fix.
11811
11812 * completion.el (cmpl-statistics-block): Mark unused parameter.
11813 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11814 (save-completions-to-file, load-completions-from-file):
11815 Remove unused local variable `e'.
11816
11817 * composite.el (compose-chars): Remove unused variable `len'.
11818 (lgstring-insert-glyph): Remove unused variable `g'.
11819 (compose-glyph-string): Remove unused variables `ascent',
11820 `descent', `lbearing' and `rbearing'.
11821 (compose-glyph-string-relative): Remove unused variables
11822 `lbearing', `rbearing' and `wadjust'.
11823 (compose-gstring-for-graphic): Remove unused variables `header',
11824 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11825 (compose-gstring-for-terminal): Remove unused variables `header'
11826 and `nchars'. Use `let', not `let*'.
11827
11828 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11829 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11830 (Custom-buffer-done, custom-buffer-create-internal)
11831 (custom-browse-visibility-action, custom-browse-group-tag-action)
11832 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11833 (widget-magic-mouse-down-action, custom-toggle-parent)
11834 (custom-add-parent-links, custom-toggle-hide-variable)
11835 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11836 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11837 (custom-face-menu-create, custom-variable-menu-create, get)
11838 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11839 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11840 (customize-apropos): Remove unused variable `tests'.
11841 (custom-group-value-create): Remove unused variable `hidden-p'.
11842 (sort-fold-case): Declare.
11843
11844 * cus-theme.el (custom-reset-standard-faces-list)
11845 (custom-reset-standard-variables-list): Declare.
11846 (customize-create-theme, custom-theme-revert, custom-theme-write)
11847 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11848 Mark unused parameters.
11849
11850 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11851
11852 * delim-col.el (delimit-columns-max): Move defvar before first use.
11853
11854 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11855 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11856
11857 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11858 (auto-insert): Declare.
11859 (desktop-restore-file-buffer): Rename desktop-* parameters;
11860 mark unused ones.
11861 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11862 (desktop-buffer): Rename desktop-* parameters.
11863
11864 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11865 (dframe-reposition-frame-xemacs, dframe-help-echo)
11866 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11867 Mark unused parameters.
11868
11869 * dired-aux.el (backup-extract-version-start, overwrite-query)
11870 (overwrite-backup-query, rename-regexp-query)
11871 (rename-non-directory-query): Declare.
11872 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11873 (dired-add-entry): Remove unused variable `orig-file-name'.
11874 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11875 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11876 `dired-copy-preserve-time' directly.
11877 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11878 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11879
11880 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11881 (dired-virtual-revert, dired-make-relative-symlink):
11882 Mark unused parameters.
11883 (manual-program): Declare.
11884 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11885 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11886 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11887
11888 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11889
11890 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11891
11892 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11893 Declare.
11894
11895 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11896
11897 * electric.el (Electric-command-loop): Rename parameter
11898 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11899
11900 * expand.el (expand-in-literal): Remove unused variable `here'.
11901
11902 * facemenu.el (facemenu-add-new-color):
11903 Remove unused variable `docstring'.
11904
11905 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11906 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11907 (face-attr-construct): Mark unused parameter. Doc fix.
11908 (read-color): Remove unused variable `hex-string'.
11909
11910 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11911 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11912 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11913 (display-buffer-other-frame): Remove unused variable `old-window'.
11914 (kill-buffer-hook): Declare.
11915 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11916 Mark unused parameters.
11917 (after-find-file): Pass 1 to `auto-save-mode', not t.
11918
11919 * files-x.el (auto-insert): Declare.
11920 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11921
11922 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11923 variable `buf'. Mark unused parameter.
06b60517
JB
11924 (find-lisp-insert-directory): Mark unused parameter.
11925
11926 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11927 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11928 (format-common-tail): Remove, unused.
11929 (format-deannotate-region): Remove unused variable `loc'.
11930 (format-annotate-region): Remove unused variable `p'.
11931 (format-annotate-single-property-change): Remove unused variables
11932 `default' and `tail'.
11933
11934 * forms.el (read-file-filter): Declare.
11935 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11936
11937 * frame.el (frame-creation-function-alist): Mark unused parameter.
11938 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11939
11940 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11941 Remove unused parameters.
11942 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11943 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11944
11945 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11946 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11947 (hfy-prepare-tag-map): Mark unused parameters.
11948 (htmlfontify-buffer): Use `called-interactively-p'.
11949
11950 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11951 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11952 (ibuffer-do-occur): Mark unused parameters.
11953 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11954 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11955
11956 * ibuffer.el: Don't quote `lambda'.
11957 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11958 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11959 Mark unused parameters.
11960
11961 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11962 (ido-completing-read): Mark unused parameters.
11963 (ido-copy-current-word): Mark unused parameters;
11964 remove unused variable `name'.
11965 (ido-sort-merged-list): Remove unused parameter `dirs'.
11966
11967 * ielm.el (ielm-input-sender): Mark unused parameter.
11968 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11969 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11970 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11971 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11972 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11973
11974 * image-dired.el (image-dired-display-thumbs): Remove unused
11975 variables `curr-file' and `count'.
11976 (image-dired-remove-tag): Remove unused variable `start'.
11977 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11978 variable `curr-file'
11979 (image-dired-rotate-original): Remove unused variable `temp-file'.
11980 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11981 Remove unused variable `file'.
11982 (image-dired-gallery-generate): Remove unused variable `curr'.
11983 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11984
11985 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11986
11987 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11988
11989 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11990
11991 * isearch.el (minibuffer-history-symbol): Declare.
11992 (isearch-edit-string): Remove unused variable `err'.
11993 (isearch-message-prefix, isearch-message-suffix):
11994 Mark unused parameters.
11995
11996 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11997
11998 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11999
12000 * makesum.el (double-column): Remove unused variable `cnt'.
12001
12002 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12003 (ido-ignore-item-temp-list): Declare.
12004
12005 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12006 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12007 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12008 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12009 `mouse-col-delta'.
12010
12011 * mouse-sel.el (mouse-extend-internal):
12012 Remove unused variable `orig-window-frame'.
12013
12014 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12015 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12016 Move declarations before first use.
12017 (pcomplete-opt): Mark unused parameters; doc fix.
12018
12019 * proced.el (proced-revert): Mark unused parameter.
12020 (proced-send-signal): Remove unused variable `err'.
12021
12022 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12023 Rename parameter PREFIX-ARG to ARG.
12024 (ps-basic-plot-string, ps-basic-plot-whitespace):
12025 Mark unused parameters.
12026
12027 * replace.el (replace-count): Define.
12028 (occur-revert-function): Mark unused parameters.
12029 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12030 (isearch-case-fold-search, isearch-string): Declare.
12031 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12032 bind `case-fold-search'. Remove unused variables `beg' and `end',
12033 and simplify.
12034 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12035 COUNT and bind `replace-count'.
12036 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12037 to COUNT.
12038
12039 * savehist.el (print-readably, print-string-length): Declare.
12040
12041 * shadowfile.el (shadow-expand-cluster-in-file-name):
12042 Remove unused variable `cluster'.
12043 (shadow-copy-file): Remove unused variable `i'.
12044 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12045 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12046 (shadow-define-literal-group, shadow-define-regexp-group)
12047 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12048
12049 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12050 (shell): Use `called-interactively-p'.
12051 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12052
12053 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12054 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12055 (delete-backward-char): Remove unused variable `ocol'.
12056 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12057 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12058 (event-apply-hyper-modifier, event-apply-shift-modifier)
12059 (event-apply-control-modifier, event-apply-meta-modifier):
12060 Mark unused parameters.
12061 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12062 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12063
12064 * speedbar.el (speedbar-ignored-directory-expressions)
12065 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12066 (speedbar-find-file, speedbar-dir-follow)
12067 (speedbar-directory-buttons-follow, speedbar-tag-find)
12068 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12069 (speedbar-buffers-line-directory, speedbar-buffer-click):
12070 Mark unused parameters.
12071 (speedbar-tag-file): Remove unused variable `mode'.
12072 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12073
12074 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12075
12076 * talk.el (talk): Remove unused variable `display'.
12077
12078 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12079 (tar-write-region-annotate): Mark unused parameter.
12080
12081 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12082 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12083 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12084 warning by another.
12085
12086 * time-stamp.el (time-stamp-string-preprocess):
12087 Remove unused variable `require-padding'.
12088
12089 * tree-widget.el (widget-glyph-enable): Declare.
12090 (tree-widget-action): Mark unused parameter.
12091
12092 * w32-fns.el (x-get-selection): Mark unused parameter.
12093 (autoload-make-program, generated-autoload-file): Declare.
12094
12095 * wdired.el (wdired-revert): Mark unused parameters.
12096 (wdired-xcase-word): Remove unused variable `err'.
12097
12098 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12099 (whitespace-help-scroll): Remove unused variable `data-help'.
12100
12101 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12102 (widget-image-insert, widget-after-change, default)
12103 (widget-default-format-handler, widget-default-notify)
12104 (widget-default-prompt-value, widget-info-link-action)
12105 (widget-url-link-action, widget-function-link-action)
12106 (widget-variable-link-action, widget-file-link-action)
12107 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12108 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12109 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12110 (widget-insert-button-action, widget-delete-button-action, visibility)
12111 (widget-documentation-link-action, widget-documentation-string-action)
12112 (widget-const-prompt-value, widget-regexp-match, symbol)
12113 (widget-coding-system-prompt-value)
12114 (widget-key-sequence-value-to-external, sexp)
12115 (widget-sexp-value-to-internal, character, vector, cons)
12116 (widget-choice-prompt-value, widget-boolean-prompt-value)
12117 (widget-color--choose-action): Mark unused parameters.
12118 (widget-item-match-inline, widget-choice-match-inline)
12119 (widget-checklist-match, widget-checklist-match-inline)
12120 (widget-group-match): Rename parameter VALUES to VALS.
12121 (widget-field-value-set): Remove unused variable `size'.
12122 (widget-color-action): Remove unused variables `value' and `start'.
12123
12124 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12125 variable `dir'. Doc fix.
06b60517
JB
12126 (windmove-find-other-window): Don't pass it.
12127
12128 * window.el (count-windows): Mark unused parameter.
12129 (bw-adjust-window): Remove unused variable `err'.
12130
12131 * woman.el (woman-file-name): Remove unused variable `default'.
12132 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12133 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12134 (global-font-lock-mode): Declare.
12135 (woman-decode-region): Mark unused parameter.
12136 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12137
12138 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12139 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12140 (x-dnd-handle-moz-url): Remove unused variable `title'.
12141 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12142
12143 * xml.el (xml-parse-tag, xml-parse-attlist):
12144 Remove unused variable `pos'.
12145
bc4f7f3d
GM
121462011-04-19 Glenn Morris <rgm@gnu.org>
12147
12148 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12149 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12150 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12151 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12152 * calendar/cal-html.el (cal-html-insert-minical):
12153 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12154 (calendar-mark-date-pattern):
12155 Prefix "unused" locals.
12156
12157 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12158 optional argument `style'.
12159
12160 * calendar/appt.el (appt-make-list):
12161 * calendar/cal-china.el (calendar-chinese-date-string):
12162 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12163 (diary-hebrew-yahrzeit):
12164 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12165 * calendar/calendar.el (calendar-generate-window):
12166 * calendar/time-date.el (time-to-days):
12167 Remove unused local variables.
12168
16a43933
CY
121692011-04-18 Chong Yidong <cyd@stupidchicken.com>
12170
12171 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12172 glyphless-char-display table.
12173 (tabulated-list-glyphless-char-display): New var.
12174
7eed1860
SS
121752011-04-18 Sam Steingold <sds@gnu.org>
12176
12177 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12178 to acknowledgments.
12179
4d2d1ccd
GM
121802011-04-17 Glenn Morris <rgm@gnu.org>
12181
12182 * calendar/diary-lib.el (diary-sexp-entry):
12183 * calendar/holidays.el (holiday-sexp):
12184 Set debug-on-error rather than the removed stack-trace-on-error.
12185
239da61d
GM
121862011-04-16 Glenn Morris <rgm@gnu.org>
12187
12188 * progmodes/f90.el: Use lexical-binding.
12189 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12190
8b05752a
SM
121912011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12192
daca8ba5
SM
12193 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12194 (mail-mode): Setup mailalias completion here instead.
12195 * mail/mailalias.el: Use lexical-binding.
12196 (pattern, mailalias-done): Declare dynamic.
12197 (mail-completion-at-point-function): New function, from mail-complete.
12198 (mail-complete): Use it.
12199 (mail-completion-expand): New function.
12200 (mail-get-names): Use it.
12201 (mail-directory, mail-directory-process, mail-directory-stream):
12202 Don't use `pattern' for lexically bound arg.
12203
6f542485
SM
12204 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12205
037e7c3f
SM
12206 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12207 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12208 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12209
8b05752a
SM
12210 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12211 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12212 (byte-interactive-p): Define them again, for use when inlining
12213 old code.
12214
49093f60
JB
122152011-04-15 Juanma Barranquero <lekktu@gmail.com>
12216
12217 * loadup.el: Use `string-to-number', not `string-to-int'.
12218
b5b8e7de
SM
122192011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12220
12221 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12222 gud-gdb-complete-command.
12223 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12224 (gud-gdb-completion-at-point): New function.
12225 (gud-gdb-completions): Remove.
12226
f42efeb5
MA
122272011-04-14 Michael Albinus <michael.albinus@gmx.de>
12228
49093f60
JB
12229 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12230 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12231 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12232 whether `executable-find' is bound.
f42efeb5
MA
12233
12234 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12235
e240cc21
SM
122362011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12237
12238 * minibuffer.el (completion-in-region-mode-predicate)
12239 (completion-in-region-mode--predicate): New vars.
12240 (completion-in-region, completion-in-region--postch)
12241 (completion-in-region-mode): Use them.
12242 (completion--capf-wrapper): Also return the hook function.
12243 (completion-at-point, completion-help-at-point):
12244 Adjust and provide a predicate.
c2bd2ab0
SM
12245
12246 Preserve arg names for advice of subr and lexical functions (bug#8457).
12247 * help-fns.el (help-function-arglist): Consolidate the subr and
12248 new-byte-code cases. Add argument `preserve-names' to extract names
12249 from the docstring when needed.
12250 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12251 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12252 (ad-arglist): Use help-function-arglist's new arg.
12253 (ad-definition-type): Use cond.
12254
c183f693
JB
122552011-04-13 Juanma Barranquero <lekktu@gmail.com>
12256
06641a47
JB
12257 * autorevert.el (auto-revert-handler):
12258 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12259 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12260 Don't quote lambda.
12261
c183f693
JB
12262 * image-mode.el (image-transform-set-scale):
12263 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12264
1e3b6001
G
122652011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12266
12267 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12268 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12269 Upgrades via gnutls-cli are too slow to be done opportunistically.
12270
2d6af8dd
JB
122712011-04-12 Juanma Barranquero <lekktu@gmail.com>
12272
12273 * dframe.el (dframe-current-frame): Remove spurious quote.
12274
c0749a51
GM
122752011-04-12 Glenn Morris <rgm@gnu.org>
12276
088d0d61
GM
12277 * calendar/cal-tex.el (cal-tex-end-document):
12278 Try to automatically use latin1 input if needed.
12279
c0749a51
GM
12280 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12281 Don't try to cons a mark onto an empty element.
12282
5c90fde0
LL
122832011-04-11 Leo Liu <sdl.web@gmail.com>
12284
12285 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12286 buffers.
12287 (ido-kill-buffer-at-head): Support killing virtual buffers.
12288
369e974d
CY
122892011-04-10 Chong Yidong <cyd@stupidchicken.com>
12290
12291 * minibuffer.el (completion-show-inline-help): New var.
12292 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12293 (minibuffer-force-complete, minibuffer-complete-word):
12294 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12295
12296 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12297 to avoid interference from inline help (Bug#5849).
12298
37f1c930
LL
122992011-04-10 Leo Liu <sdl.web@gmail.com>
12300
099c39a4
JB
12301 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12302 Fix typo.
37f1c930 12303
a32d4040
CY
123042011-04-09 Chong Yidong <cyd@stupidchicken.com>
12305
12306 * image-mode.el (image-toggle-display-image): Signal an error if
12307 not in Image mode.
12308 (image-transform-mode, image-transform-resize)
12309 (image-transform-set-rotation): Doc fix.
daca8ba5 12310 (image-transform-set-resize): Delete.
a32d4040
CY
12311 (image-transform-set-scale, image-transform-fit-to-height)
12312 (image-transform-fit-to-width): Handle image-toggle-display-image
12313 and image-transform-resize directly.
12314
099c39a4 123152011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12316
12317 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12318 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12319 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12320 (doc-view-mode-map): Add bindings for the new functions.
12321
099c39a4 123222011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12323
4d61f28d 12324 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12325 Fix typo in docstring.
12326
3726838a
EZ
123272011-04-08 Eli Zaretskii <eliz@gnu.org>
12328
04f33f1e
EZ
12329 * files.el (file-size-human-readable): Produce one digit after
12330 decimal, like "ls -lh" does.
12331
12332 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12333 the file size representation.
12334
3726838a
EZ
12335 * simple.el (list-processes): If async subprocesses are not
12336 available, error out with a clear error message.
12337
cbb59342
CY
123382011-04-08 Chong Yidong <cyd@stupidchicken.com>
12339
12340 * help.el (help-form-show): New function, to be called from C.
12341 Put help-form output in a buffer named differently than *Help*.
12342
e3971c44
EZ
123432011-04-08 Eli Zaretskii <eliz@gnu.org>
12344
12345 * files.el (file-size-human-readable): New function.
12346
12347 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12348 computing the representation inline. Don't require `cl'.
12349
12544bbe
GM
123502011-04-08 Glenn Morris <rgm@gnu.org>
12351
a1de6c6a
GM
12352 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12353
3c4671f4
GM
12354 * net/browse-url.el (browse-url-firefox):
12355 Test system-type, not system-configuration.
12356
b605679c
GM
12357 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12358 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12359 Use log-edit-empty-buffer-p. (Bug#7598)
12360
56442f0c
GM
12361 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12362 (rlogin-mode-map): Initialize in the defvar.
12363 (rlogin): Use ignore-errors.
12364
12544bbe
GM
12365 * replace.el (occur-mode-map): Some fixes for menu items.
12366
eb237b0f
AH
123672011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12368
12369 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12370
7d668f2c
CY
123712011-04-06 Chong Yidong <cyd@stupidchicken.com>
12372
e67a13ab
CY
12373 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12374 issuing unused warnings.
12375
12376 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12377 macro directly.
12378
7d668f2c
CY
12379 * simple.el: Lisp reimplement of list-processes. Based on an
12380 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12381 (process-menu-mode): New major mode.
12382 (list-processes--refresh, list-processes):
12383 (process-menu-visit-buffer): New functions.
12384
12385 * files.el (save-buffers-kill-emacs): Don't assume any return
12386 value of list-processes, which is undocumented anyway.
12387
a83ec3c9
CY
123882011-04-06 Chong Yidong <cyd@stupidchicken.com>
12389
12390 * emacs-lisp/tabulated-list.el: New file.
12391
e91a96fe
CY
12392 * emacs-lisp/package.el: Use Tabulated List mode.
12393 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12394 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12395 table format using Tabulated List mode variables.
12396 (package--push): New macro, replacing package-list-maybe-add.
12397 (package-menu--generate): Use package--push. Renamed from
12398 package--generate-package-list.
12399 (package-menu-refresh, list-packages): Use it.
daca8ba5 12400 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12401 Return insertion data instead of inserting it directly.
099c39a4
JB
12402 (package-menu-describe-package, package-menu-execute):
12403 Use tabulated-list-get-id.
e91a96fe
CY
12404 (package-menu-mark-delete, package-menu-mark-install)
12405 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12406 (package-menu-mark-obsolete-for-deletion):
12407 Use tabulated-list-put-tag.
e91a96fe
CY
12408 (package--list-packages, package-menu-revert)
12409 (package-menu-get-package, package-menu-get-version)
12410 (package-menu-sort-by-column): Functions deleted.
12411 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12412 (package-menu--status-predicate, package-menu--version-predicate)
12413 (package-menu--name-predicate)
12414 (package-menu--description-predicate): Handle arguments in the
12415 Tabulated List format.
12416 (package-list-packages-no-fetch): Call list-packages.
12417
3e214b50
JB
124182011-04-06 Juanma Barranquero <lekktu@gmail.com>
12419
12420 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12421 (after-find-file): Don't bind it.
3e214b50
JB
12422 (revert-buffer-in-progress-p): New variable.
12423 (revert-buffer): Bind it.
12424 Pass nil for `after-find-file-from-revert-buffer'.
12425
12426 * saveplace.el (save-place-find-file-hook): Use new variable
12427 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12428
3f0f1700
GM
124292011-04-06 Glenn Morris <rgm@gnu.org>
12430
c0274801
GM
12431 * Makefile.in (AUTOGEN_VCS): New variable.
12432 (autoloads): Use $AUTOGEN_VCS.
12433
3f0f1700
GM
12434 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12435 * calendar/calendar.el (calendar-mode-map):
12436 Check for toolkit scroll bars. (Bug#8305)
12437
41ea9e48
CY
124382011-04-05 Chong Yidong <cyd@stupidchicken.com>
12439
12440 * minibuffer.el (completion-in-region--postch)
12441 (completion-in-region-mode): Remove unnecessary messages.
12442
6194c800
JB
124432011-04-05 Juanma Barranquero <lekktu@gmail.com>
12444
33256f14
JB
12445 * font-lock.el (font-lock-refresh-defaults):
12446 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12447 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12448
6194c800
JB
12449 * info.el (Info-directory-list, Info-read-node-name-2)
12450 (Info-split-parameter-string): Doc fixes.
12451 (Info-virtual-nodes): Reflow docstring.
12452 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12453 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12454 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12455 Fix typos in docstrings.
12456 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12457 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12458 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12459 (Info-restore-desktop-buffer): Mark unused parameters.
12460 (Info-directory-find-file, Info-directory-find-node)
12461 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12462 (Info-virtual-index-find-node, Info-apropos-find-file)
12463 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12464 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12465 (Info-virtual-index): Remove unused local variable `nodename'.
12466
b87a8200 124672011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12468
b87a8200
DD
12469 * net/rcirc.el: Update my e-mail address.
12470 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12471
3b2ff876
CY
124722011-04-05 Chong Yidong <cyd@stupidchicken.com>
12473
12474 * startup.el (command-line): Save the cursor's theme-face
12475 directly, instead of using face-override-spec.
12476
12477 * custom.el (load-theme): Minor optimization in assigning faces.
12478
8d17e7ca
JB
124792011-04-04 Juanma Barranquero <lekktu@gmail.com>
12480
12481 * help-fns.el (describe-variable): Complete all variables having
12482 documentation, including keywords.
12483 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12484
2fbc1934
JB
124852011-04-04 Juanma Barranquero <lekktu@gmail.com>
12486
12487 Convert to lexical-binding.
12488
12489 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12490 (bs--get-marked-string, bs--get-modified-string)
12491 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12492 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12493 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12494
12495 * ehelp.el (electric-help-execute-extended)
12496 (electric-help-ctrl-x-prefix):
12497 * hexl.el (hexl-revert-buffer-function):
12498 * linum.el (linum-after-change, linum-after-scroll):
12499 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12500
12501 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12502
74f50695
DU
125032011-04-04 Daiki Ueno <ueno@unixuser.org>
12504
12505 * epa-dired.el:
12506 * epa-mail.el:
12507 * epa-hook.el:
12508 * epa-file.el:
12509 * epa.el:
12510 * epg.el: Use lexical binding.
12511
c11325f7
CY
125122011-04-03 Chong Yidong <cyd@stupidchicken.com>
12513
0d9e9a12
CY
12514 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12515
c11325f7 12516 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12517 dictionary case for flyspell-mark-duplications-exceptions.
12518 Use regexp matching for languages.
c11325f7
CY
12519 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12520 default dictionary (Bug#7926).
12521
da91b5f2
CY
125222011-04-02 Chong Yidong <cyd@stupidchicken.com>
12523
099c39a4
JB
12524 * emacs-lisp/package.el (package--with-work-buffer):
12525 Recognize https URLs.
da91b5f2 12526
099c39a4
JB
12527 * net/network-stream.el: Move from gnus/proto-stream.el.
12528 Change prefix to network-stream throughout.
da91b5f2
CY
12529 (open-protocol-stream): Merge into open-network-stream, leaving
12530 open-protocol-stream as an alias. Handle nil BUFFER args.
12531
12532 * subr.el (open-network-stream): Move to net/network-stream.el.
12533
afa8e9f6
GM
125342011-04-02 Glenn Morris <rgm@gnu.org>
12535
1d2e369d
GM
12536 * find-dired.el (find-exec-terminator): New option.
12537 (find-ls-option): Test for -ls support.
12538 (find-ls-subdir-switches): Test for -b in find-ls-option.
12539 (find-dired, find-grep-dired): Doc fixes.
12540 (find-dired): Use find-exec-terminator.
12541
8abb7da8 12542 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12543 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12544 (find-name-arg): Remove purecopy.
8abb7da8 12545
f3ca7378
GM
12546 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12547 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12548 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12549 accordingly. Don't add the null-device if not needed.
12550
afa8e9f6
GM
12551 * files.el (save-some-buffers): Doc fix.
12552
35eae264
EZ
125532011-04-02 Eli Zaretskii <eliz@gnu.org>
12554
12555 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12556
26b51db5
JB
125572011-04-01 Juanma Barranquero <lekktu@gmail.com>
12558
12559 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12560 Use `dolist' rather than `mapcar'.
12561
7200d79c
SM
125622011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12563
03408648 12564 Add lexical binding.
7200d79c 12565
03408648
SM
12566 * subr.el (apply-partially): Use new closures rather than CL.
12567 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12568 (dolist, dotimes): Use slightly different expansion for lexical code.
12569 (functionp): Move to C.
12570 (letrec): New macro.
12571 (with-wrapper-hook): Use it and apply-partially instead of CL.
12572 (eval-after-load): Preserve lexical-binding.
12573 (save-window-excursion, with-output-to-temp-buffer): Turn them
12574 into macros.
7200d79c 12575
03408648
SM
12576 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12577
12578 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12579 than the arglist.
12580 (help-add-fundoc-usage): Don't add `Not documented'.
12581 (help-function-arglist): Handle closures, subroutines, and new
12582 byte-code-functions.
12583 (help-make-usage): Remove leading underscores.
12584 (describe-function-1): Handle closures.
12585 (describe-variable): Use special-variable-p for completion.
12586
12587 * files.el (lexical-binding): Declare safe.
f488fb65 12588
03408648
SM
12589 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12590 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12591 (pcase): Add `let' pattern.
12592 Change memoization so it actually works.
12593 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12594 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12595 <let>: New case.
f488fb65 12596
03408648
SM
12597 * emacs-lisp/macroexp.el: Use lexical binding.
12598 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12599 Don't convert ' to #' without checking that it's indeed quoting
12600 a lambda.
12601
12602 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12603 Use eval-sexp-add-defvars.
03408648
SM
12604 (eval-sexp-add-defvars): New fun.
12605
12606 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12607
12608 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12609 Don't autoload.
12610 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12611 than the internal `byte-compile-lambda'.
12612 (defmethod): Don't hide code under quotes.
12613 (eieio-defmethod): New `code' argument.
12614
12615 * emacs-lisp/eieio-comp.el: Remove.
12616
12617 * emacs-lisp/edebug.el (edebug-eval-defun)
12618 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12619 (edebug-toggle): Avoid `eval'.
12620
12621 * emacs-lisp/disass.el (disassemble-internal): Handle new
12622 `closure' objects.
12623 (disassemble-1): Handle new byte codes.
12624
12625 * emacs-lisp/cl.el (pushnew): Silence warning.
12626
12627 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12628 (cl-byte-compile-throw): Remove.
12629 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12630
12631 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12632 closures.
12633
12634 * emacs-lisp/cconv.el: New file.
12635
12636 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12637 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12638 (byte-compile-initial-macro-environment):
12639 Handle declare-function here.
12640 (byte-compile--lexical-environment): New var.
12641 (byte-stack-ref, byte-stack-set, byte-discardN)
12642 (byte-discardN-preserve-tos): New lap codes.
12643 (byte-interactive-p): Don't use any more.
12644 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12645 New macros.
12646 (byte-compile-lapcode): Use them and handle new lap codes.
12647 (byte-compile-obsolete): Remove.
12648 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12649 (byte-compile-arglist-warn): Check late def of inlinable funs.
12650 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12651 since they should have been expanded by now.
12652 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12653 (byte-compile-from-buffer): Remove unused second arg.
12654 (byte-compile-preprocess): New function.
12655 (byte-compile-toplevel-file-form): New function to distinguish
12656 file-form calls from outside from file-form calls from hunk-handlers.
12657 (byte-compile-file-form): Simplify.
12658 (byte-compile-file-form-defsubst): Remove.
12659 (byte-compile-file-form-defmumble): Simplify now that
12660 byte-compile-lambda always returns a byte-code-function.
12661 (byte-compile): Preprocess.
12662 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12663 Remove, not used any more.
12664 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12665 (byte-compile-make-args-desc): New funs.
12666 (byte-compile-lambda): Handle lexical functions. Always return
12667 a byte-code-function.
12668 (byte-compile-reserved-constants): New var, to make up room for
12669 closed-over variables.
12670 (byte-compile-constants-vector): Obey it.
12671 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12672 (byte-compile-macroexpand-declare-function): New function.
12673 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12674 byte-code-functions.
12675 (byte-compile-form): Check obsolescence here.
12676 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12677 (byte-compile-variable-ref): Remove.
12678 (byte-compile-dynamic-variable-op): New fun.
12679 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12680 (byte-compile-variable-set): New funs.
12681 (byte-compile-discard): Add 2 args.
12682 (byte-compile-stack-ref, byte-compile-stack-set)
12683 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12684 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12685 macroexpand-all instead.
12686 (byte-compile-quote-form): Remove.
12687 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12688 (byte-compile-bind, byte-compile-unbind): New funs.
12689 (byte-compile-let): Handle let* and lexical binding.
12690 (byte-compile-let*): Remove.
12691 (byte-compile-catch, byte-compile-unwind-protect)
12692 (byte-compile-track-mouse, byte-compile-condition-case):
12693 Handle a new :fun-body form, used for lexical scoping.
12694 (byte-compile-save-window-excursion)
12695 (byte-compile-with-output-to-temp-buffer): Remove.
12696 (byte-compile-defun): Simplify.
12697 (byte-compile-stack-adjustment): New fun.
12698 (byte-compile-out): Use it.
12699 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12700
12701 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12702 handler any more.
12703
12704 * emacs-lisp/byte-opt.el: Use lexical binding.
12705 (byte-inline-lapcode): Remove (to bytecomp).
12706 (byte-compile-inline-expand): Pay attention to inlining to/from
12707 lexically bound code.
12708 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12709 any more.
12710 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12711 any more and don't call compiler-macros.
12712 (byte-compile-splice-in-already-compiled-code): Remove.
12713 (byte-code): Don't inline any more.
12714 (disassemble-offset): Receive `bytes' as argument rather than via
12715 dynamic scoping.
12716 (byte-compile-tag-number): Declare before first use.
12717 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12718 `return' even if make-spliceable.
12719 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12720 obsolete interactive-p.
12721 (byte-optimize-lapcode): Optimize new lap-codes.
12722 Don't trip up on new form of `byte-constant' lap code.
12723
12724 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12725
12726 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12727
12728 * custom.el (custom-initialize-default, custom-declare-variable):
12729 Use `defvar'.
12730
12731 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12732 New variables.
12733 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12734 (COMPILE_FIRST): Add macroexp and cconv.
12735 * makefile.w32-in: Mirror changes in Makefile.in.
12736
12737 * vc/cvs-status.el:
12738 * vc/diff-mode.el:
12739 * vc/log-edit.el:
12740 * vc/log-view.el:
12741 * vc/smerge-mode.el:
12742 * textmodes/bibtex-style.el:
12743 * textmodes/css.el:
12744 * startup.el:
12745 * uniquify.el:
da91b5f2
CY
12746 * minibuffer.el:
12747 * newcomment.el:
12748 * reveal.el:
12749 * server.el:
12750 * mpc.el:
12751 * emacs-lisp/smie.el:
12752 * doc-view.el:
12753 * dired.el:
03408648
SM
12754 * abbrev.el: Use lexical binding.
12755
0f0c1f27
EZ
127562011-04-01 Eli Zaretskii <eliz@gnu.org>
12757
12758 * info.el (info-display-manual): New function.
12759
c82b2579
SM
127602011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12761
12762 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12763
221ddf68
TH
127642011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12765
12766 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12767 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12768
cba6e77e
GM
127692011-03-31 Glenn Morris <rgm@gnu.org>
12770
e040639f
GM
12771 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12772
cba6e77e
GM
12773 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12774
6d0f1c9e
CS
127752011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12776
12777 * progmodes/python.el (python-default-interpreter)
12778 (python-python-command-args, python-jython-command-args)
12779 (python-which-shell, python-which-args, python-which-bufname)
12780 (python-file-queue, python-comint-output-filter-function)
12781 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12782 variables and functions.
12783
3e2d70fd
SM
127842011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12787 (completion-in-region-mode): New minor mode.
12788 (completion-in-region): Use it.
12789 (completion-in-region--data, completion-in-region-mode-map): New vars.
12790 (completion-in-region--postch): New function.
12791 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12792 New vars.
12793 (completion--capf-wrapper): New function.
12794 (completion-at-point): Use it to track well-behavedness of
12795 hook functions.
12796 (completion-help-at-point): New command.
12797
f3e4086c
JM
127982011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12799
12800 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12801 syntax class to search for whitespace on a single line
12802 (Message-ID: <4D938140.4030905@redhat.com>).
12803
eb7ffc14
LL
128042011-03-30 Leo Liu <sdl.web@gmail.com>
12805
12806 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12807 New commands.
12808 (edit-abbrevs-map): Bind them here.
12809 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12810
d806ab68
KM
128112011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12812
12813 * allout.el (allout-hide-by-annotation, allout-flag-region):
12814 Reduce possibility of overlay leakage by making them volatile.
12815
12816 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12817 hash is not shared between buffers. Mode initialization is
12818 responsible for giving it a useful starting value.
12819 (allout-item-span): Reduce possibility of overlay leakage by
12820 making them volatile.
12821 (allout-widgets-count-buttons-in-region): Add diagnostic function
12822 for tracking down button overlay leaks.
12823
ea622834
LL
128242011-03-29 Leo Liu <sdl.web@gmail.com>
12825
12826 * ido.el (ido-read-internal): Use the default history var
12827 minibuffer-history if no HISTORY is specified.
12828
b62f8267
G
128292011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12830
03408648
SM
12831 * net/imap.el (imap-shell-open, imap-process-connection-type):
12832 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12833 Kerberos, SSL, other subprocesses.
12834
947b6566
LL
128352011-03-28 Leo Liu <sdl.web@gmail.com>
12836
12837 * abbrev.el (abbrev-table-empty-p): New function.
12838 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12839 nonempty ones. (Bug#5937)
12840
5ffb62aa
JD
128412011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12842
12843 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12844
7a097943
LL
128452011-03-27 Leo Liu <sdl.web@gmail.com>
12846
12847 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12848 for foreground and background colors.
12849 (ansi-color-make-color-map): Adapt.
12850
c5b40130
LL
128512011-03-25 Leo Liu <sdl.web@gmail.com>
12852
1f48f7d2
LL
12853 * midnight.el (midnight-time-float): Remove. Note it calculates
12854 the microsecond component incorrectly and seconds-to-time does the
12855 same job.
625897ec 12856 Remove redundant (require 'timer).
1f48f7d2 12857
c5b40130
LL
12858 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12859 (ido-completions): Remove unused arguments. (Bug#8329)
12860
d86d2721
SM
128612011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12862
12863 * minibuffer.el (completion--flush-all-sorted-completions):
12864 Remove itself from hook.
12865 (completion-at-point): Let the functions perform the completion
12866 immediately and return nil or t.
12867 * comint.el (comint-dynamic-complete-functions): Now identical to
12868 completion-at-point-functions.
12869 (comint-dynamic-list-input-ring): Remove unused var `index'.
12870 (comint--match-partial-filename, comint--unquote&expand-filename):
12871 New funs, split from comint-match-partial-filename.
12872 (comint-dynamic-complete): Use completion-at-point.
12873 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12874
e8974c48
DA
128752011-03-24 Drew Adams <drew.adams@oracle.com>
12876
12877 * thingatpt.el: Support `defun'.
12878
def71b5e
LL
128792011-03-23 Leo Liu <sdl.web@gmail.com>
12880
cb5af48e
LL
12881 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12882
def71b5e
LL
12883 * help-mode.el (help-mode-finish): Tweak regexp.
12884
927c53e7
GM
128852011-03-23 Glenn Morris <rgm@gnu.org>
12886
18d05bed
GM
12887 * eshell/esh-opt.el (eshell-eval-using-options):
12888 Do not bind unused local variable `eshell-option-stub'.
12889
927c53e7
GM
12890 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12891
9d0da923
JB
128922011-03-22 Juanma Barranquero <lekktu@gmail.com>
12893
12894 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12895 keymap variable in `with-no-warnings' to avoid a warning when the
12896 keymap has been already `defconst'ed.
12897
4b978a67
LL
128982011-03-22 Leo Liu <sdl.web@gmail.com>
12899
12900 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12901 encode all chars in abbrevs; otherwise use emacs-mule or
12902 utf-8-emacs. (Bug#8308)
12903
5fd62452
JB
129042011-03-22 Juanma Barranquero <lekktu@gmail.com>
12905
0b1596c6
JB
12906 * simple.el (backward-delete-char-untabify):
12907 Avoid warning about using `delete-backward-char'.
12908
5fd62452
JB
12909 * image.el (image-type-file-name-regexps): Make it variable.
12910 `imagemagick-register-types' modifies it, and the user may want
12911 to add new extensions for known image types.
12912 (imagemagick-register-types): Throw error if not using ImageMagick.
12913
0b4e93f1
LL
129142011-03-22 Leo Liu <sdl.web@gmail.com>
12915
12916 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12917 located before rcirc-prompt-end-marker.
12918 (rcirc-complete): Error if point is not after rcirc prompt.
12919 Handle the case when table is nil.
9882e214 12920 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12921
fccee4ab
CY
129222011-03-22 Chong Yidong <cyd@stupidchicken.com>
12923
12924 * custom.el (custom--inhibit-theme-enable): Make it affect only
12925 custom-theme-set-variables and custom-theme-set-faces.
12926 (provide-theme): Ignore custom--inhibit-theme-enable.
12927 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12928 (custom-enabling-themes): Delete variable.
d86d2721
SM
12929 (enable-theme): Accept only loaded themes as arguments.
12930 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12931 (custom-enabled-themes): Forbid themes from setting this.
12932 Eliminate use of custom-enabling-themes.
12933 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12934
af896da6
LL
129352011-03-21 Leo Liu <sdl.web@gmail.com>
12936
12937 * ido.el (ido-read-internal): Add ido-selected to history instead
12938 of user input.
12939
78f64af0
SM
129402011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12941
12942 * subr.el (deferred-action-list, deferred-action-function):
12943 Mark obsolete.
12944
b16ac1ec
LL
129452011-03-21 Leo Liu <sdl.web@gmail.com>
12946
810f7698
LL
12947 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12948 change on 2011-02-13 (bug#8309).
12949
b16ac1ec
LL
12950 * minibuffer.el (read-file-name-function): Change default value.
12951 (read-file-name--defaults): Rename from read-file-name-defaults.
12952 (read-file-name-default): Rename from read-file-name.
12953 (read-file-name): Call read-file-name-function.
12954
4e05e67e
GM
129552011-03-21 Glenn Morris <rgm@gnu.org>
12956
12957 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12958 Doc fixes.
12959
4359915b
CY
129602011-03-21 Chong Yidong <cyd@stupidchicken.com>
12961
12962 * cus-theme.el: Add missing provide statement.
12963 (customize-create-theme): Extract theme value correctly.
12964 (custom-theme-visit-theme): Autoload.
12965 (customize-create-theme): Prompt before inserting default faces.
12966
1fe275ee
JB
129672011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12968
12969 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12970 units and musical notes.
12971
cd394be1 129722011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12973
12974 * ido.el (ido-read-internal): Use completing-read-default.
12975 (ido-completing-read): Fix compatibility with completing-read.
12976
7d476bde
CO
129772011-03-20 Christian Ohler <ohler@gnu.org>
12978
12979 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12980 (ert-delete-all-tests): Use `called-interactively-p' rather than
12981 `interactive-p'.
12982 (ert--make-xrefs-region): Respect END.
12983
fe0fb33e
CY
129842011-03-19 Chong Yidong <cyd@stupidchicken.com>
12985
ff854b0b
CY
12986 * dired-aux.el (dired-create-directory): Signal an error if the
12987 directory already exists (Bug#8246).
12988
fe0fb33e
CY
12989 * facemenu.el (list-colors-display): Call list-faces-display
12990 inside with-help-window.
12991 (list-colors-print): Use display property to align the final
12992 column, instead of checking window-width.
12993
576bce32
EZ
129942011-03-19 Eli Zaretskii <eliz@gnu.org>
12995
4d61f28d 12996 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12997 windows-nt systems.
12998 (emerge-protect-metachars): Quote correctly for ms-dos and
12999 windows-nt systems.
13000
89c41d68 130012011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13002
13003 * info.el (info-initialize): Replace all uses of `:' with
13004 path-separator for compatibility with non-Unix systems.
13005 Cache quoting of path-separator. (Bug#8258)
13006
b14e3e21 130072011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13008
13009 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13010 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13011 (mouse-avoidance-mode): Fix typos in docstrings.
13012
4525ce3e
CY
130132011-03-19 Chong Yidong <cyd@stupidchicken.com>
13014
13015 * startup.el (package-subdirectory-regexp): Move from package.el.
13016 Omit \\` and \\', and let callers add them.
13017
13018 * emacs-lisp/package.el (package-strip-version)
13019 (package-load-all-descriptors): Add \\` and \\' to
13020 package-subdirectory-regexp before using it.
13021 (package-untar-buffer): New arg DIR; ensure that file untars only
13022 into this expected directory. Remove superfluous delete-region.
13023 (package-unpack): Caller changed.
13024 (package-tar-file-info): Use package-subdirectory-regexp.
13025
a904a09a 130262011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13027
a904a09a
SM
13028 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13029 diff-mode-shared-map (bug#8284).
13030 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13031
130322011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13033
13034 * calendar/time-date.el (format-seconds): Use assoc instead of
13035 assoc-string, since assoc-string doesn't exist in XEmacs.
13036
171fc304
JB
130372011-03-17 Juanma Barranquero <lekktu@gmail.com>
13038
13039 * custom.el (custom-known-themes): Reflow docstring.
13040 (custom-theme-load-path): Fix typo in docstring.
13041 (load-theme): Fix typo in error message.
13042 (custom-available-themes, custom-variable-theme-value):
13043 Use `let', not `let*'.
13044
d71990a1
JB
130452011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13046
13047 * calc/README: Mention inclusion of musical notes.
13048
13049 * calc/calc-units.el (calc-lu-quant): Rename from
13050 `calc-logunits-quantity'.
13051 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13052 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13053 (calc-db): Rename from `calc-dblevel'.
13054 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13055 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13056 (calc-np): Rename from `calc-nplevel'.
13057 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13058 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13059 (calc-lu-plus): Rename from `calc-logunits-add'.
13060 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13061 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13062 (calc-lu-minus): Rename from `calc-logunits-sub'.
13063 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13064 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13065 (calc-lu-times): Rename from `calc-logunits-mul'.
13066 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13067 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13068 (calc-lu-divide): Rename from `calc-logunits-div'.
13069 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13070 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13071
13072 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13073 functions being autoloaded.
13074
13075 * calc/calc.el (calc-lu-power-reference): Rename from
13076 `calc-logunits-power-reference'.
13077 (calc-lu-field-reference): Rename from
13078 `calc-logunits-field-reference'.
13079
7a71b18d
GM
13080 * calc/calc-help.el (calc-l-prefix-help):
13081 Mention musical note functions.
d71990a1 13082
40c2934b
SM
130832011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13084
13085 * minibuffer.el (completion-all-sorted-completions):
13086 Use :completion-cycle-penalty text property if present.
13087
b0911414
KM
130882011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13089
13090 * allout.el (allout-yank-processing): Adjust for new rebulleting
13091 regime so bullet being yanked is used without prompting the user
13092 for a choice.
13093
8a05b668
JB
130942011-03-16 Juanma Barranquero <lekktu@gmail.com>
13095
13096 * startup.el (command-line): Warn the user that _emacs is deprecated.
13097
5ba5fb81
JB
130982011-03-16 Juanma Barranquero <lekktu@gmail.com>
13099
13100 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13101 (delphi-verbose, delphi-comment-face, delphi-string-face)
13102 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13103 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13104 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13105 (delphi-new-comment-line, delphi-font-lock-defaults)
13106 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13107 Fix typos in docstrings.
13108
2dab465b
KM
131092011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13110
5ba5fb81 13111 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13112 Invert the roles of character and string values for INSTEAD, so a
13113 string is used for the more common case of a defaulting prompt.
13114
0adf5618
SM
131152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13116
13117 * progmodes/ruby-mode.el (ruby-backward-sexp):
13118 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13119 * play/gamegrid.el (gamegrid-make-face):
13120 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13121 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13122 * notifications.el (notifications-notify):
13123 * net/xesam.el (xesam-search-engines):
13124 * net/quickurl.el (quickurl-list-insert):
13125 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13126
d72700e5
CY
131272011-03-15 Chong Yidong <cyd@stupidchicken.com>
13128
13129 * startup.el (command-line): Update package subdirectory regexp.
13130
49c5410a
SM
131312011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13132
c6eee9aa
SM
13133 * allout.el (allout-abbreviate-flattened-numbering)
13134 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13135
49c5410a
SM
13136 * subr.el (read-char-choice): Only show the cursor after the prompt,
13137 not after the answer.
13138
047b2bb9
KR
131392011-03-15 Kevin Ryde <user42@zip.com.au>
13140
13141 * help-fns.el (variable-at-point): Skip leading quotes, if any
13142 (bug#8253).
13143
0a57d256
SM
131442011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13145
13146 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13147 warning message.
13148
77c992bc
MA
131492011-03-14 Michael Albinus <michael.albinus@gmx.de>
13150
13151 * shell.el (shell): When called interactively, offer to change the
13152 shell file name on remote hosts.
13153
eebc475d
TZ
131542011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13155
13156 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13157 integration for LDAP parameters. The host, base, user or binddn,
13158 and secret tokens can be specified in a netrc file, for instance.
13159 This is optional because an `auth-source' parameter must be
13160 specified in the search attributes.
13161
9d05d1ba
JB
131622011-03-13 Juanma Barranquero <lekktu@gmail.com>
13163
13164 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13165
09d9db2c
GM
131662011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13167
13168 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13169 into declaration. Remove redundant and harmful binding.
13170
131712011-03-12 Eli Zaretskii <eliz@gnu.org>
13172
13173 * files.el (file-ownership-preserved-p): Pass `integer' as an
13174 explicit 2nd argument to `file-attributes'. If the file's owner
13175 is the Administrators group on Windows, and the current user is
13176 Administrator, consider that a match.
13177
13178 * server.el (server-ensure-safe-dir): Consider server directory
13179 safe on MS-Windows if its owner is the Administrators group while
13180 the current Emacs user is Administrator. Use `=' to compare
13181 numerical UIDs, since they could be integers or floats.
13182
219bd536
JB
131832011-03-12 Juanma Barranquero <lekktu@gmail.com>
13184
13185 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13186
f3afd36b
MA
131872011-03-12 Michael Albinus <michael.albinus@gmx.de>
13188
13189 Sync with Tramp 2.2.1.
13190
13191 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13192
13193 * net/trampver.el: Update release number.
13194
3aaaa6f1
SM
131952011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13196
94642599
SM
13197 * progmodes/compile.el (compilation--previous-directory): Fix up
13198 various nil/dead-marker mismatches (bug#8014).
13199 (compilation-directory-properties, compilation-error-properties):
13200 Don't call it at a position past the one we're about to change.
13201
3aaaa6f1
SM
13202 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13203 Disable obsolescence warnings in the file that declares it.
13204
14239447
KM
132052011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13206
099c39a4
JB
13207 * allout-widgets.el (allout-widgets-tally):
13208 Initialize allout-widgets-tally as a hash table rather than nil to
13209 prevent mode-line redisplay warnings. Also, clarify the module
13210 description and fix a comment typo.
14239447 13211
135e287c
JB
132122011-03-11 Juanma Barranquero <lekktu@gmail.com>
13213
13214 * help-fns.el (describe-variable): Don't complete keywords.
13215 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13216
ffbf300e
CY
132172011-03-10 Chong Yidong <cyd@stupidchicken.com>
13218
ba08b241
CY
13219 * emacs-lisp/package.el (package-version-join): Impose a standard
13220 string representation for pre/alpha/beta version lists.
13221 (package-unpack-single): Standardize the directory name by passing
13222 it through package-version-join.
13223 (package-strip-rcs-id): Accept any version string that does not
13224 signal an error in version-to-list.
ffbf300e 13225
f346fd6b
MA
132262011-03-10 Michael Albinus <michael.albinus@gmx.de>
13227
13228 * simple.el (delete-trailing-whitespace): Return nil for the
13229 benefit of `write-file-functions'.
13230
ccb55d27
GM
132312011-03-10 Glenn Morris <rgm@gnu.org>
13232
5ceaac0c
GM
13233 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13234
02da65ff
GM
13235 * vc/vc-git.el (vc-git-program): New option.
13236 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13237 (vc-git--call): Use it.
13238
b2f603cc
GM
13239 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13240
5772caab
GM
13241 * cus-edit.el (Custom-newline): If no button at point, look
13242 for a subgroup button at start-of-line. (Bug#2298)
13243
ccb55d27
GM
13244 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13245
ec6ecaed
JD
132462011-03-10 Julien Danjou <julien@danjou.info>
13247
13248 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13249 `cursor-type' is nil.
13250
9d5aa01d
JB
132512011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13252
13253 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13254
b6a5875b
KM
132552011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13256
7a71b18d 13257 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13258 preserves the existing header prefix, rebulleting it if necessary,
13259 rather than replacing it. This is necessary for proper operation
13260 of cooperative addons like allout-widgets.
1154d12e
JB
13261 (allout-make-topic-prefix, allout-rebullet-heading):
13262 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13263 value as alternate bullet to be used, instead of prompting the user
13264 for a bullet character.
b6a5875b 13265
ee545c35
MA
132662011-03-09 Michael Albinus <michael.albinus@gmx.de>
13267
d86d2721
SM
13268 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13269 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13270 `tramp-default-port'.
13271
c47971d7
DD
132722011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13273
13274 * net/rcirc.el (rcirc-handler-001): Remove useless
13275 with-rcirc-process-buffer.
13276 (rcirc-check-auth-status): Swap arguments to string-match.
13277
13522cb4
GM
132782011-03-09 Glenn Morris <rgm@gnu.org>
13279
0be6f4f1
GM
13280 * shell.el (shell-mode):
13281 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13282
13522cb4
GM
13283 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13284 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13285
515de2e3
CY
132862011-03-08 Chong Yidong <cyd@stupidchicken.com>
13287
13288 * emacs-lisp/package.el (package-refresh-contents)
13289 (package-menu-execute): Use condition-case-no-debug.
13290
b511b994
MA
132912011-03-08 Michael Albinus <michael.albinus@gmx.de>
13292
13293 * simple.el (shell-command-to-string): Use `process-file'.
13294
13295 * emacs-lisp/package.el (package-tar-file-info): Handle also
13296 remote files.
13297
d86d2721
SM
13298 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13299 Use `equal' for upload base check.
b511b994 13300
25bbfb31
AM
133012011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13302
13303 * textmodes/texinfo.el (texinfo-environments):
13304 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13305
be996521
GM
133062011-03-08 Glenn Morris <rgm@gnu.org>
13307
e9c8529f
GM
13308 * cus-start.el (cursor-in-non-selected-windows):
13309 Fix :set quoting oddness. (Bug#8192)
13310
be996521
GM
13311 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13312 in some setf expressions. (Bug#2159)
13313
2bb5649e
CY
133142011-03-08 Chong Yidong <cyd@stupidchicken.com>
13315
13316 * custom.el (custom-available-themes): Return themes in
13317 alphabetical order.
13318
33383987 13319See ChangeLog.15 for earlier changes.
e3d51b27
MR
13320
13321;; Local Variables:
13322;; coding: utf-8
e3d51b27
MR
13323;; End:
13324
acaf905b 13325 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13326
13327 This file is part of GNU Emacs.
13328
13329 GNU Emacs is free software: you can redistribute it and/or modify
13330 it under the terms of the GNU General Public License as published by
13331 the Free Software Foundation, either version 3 of the License, or
13332 (at your option) any later version.
13333
13334 GNU Emacs is distributed in the hope that it will be useful,
13335 but WITHOUT ANY WARRANTY; without even the implied warranty of
13336 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13337 GNU General Public License for more details.
13338
13339 You should have received a copy of the GNU General Public License
13340 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.