* lisp/info.el (Info-search): Display "end of manual" when Isearch
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
cb0a02ea
JL
12011-12-02 Juri Linkov <juri@jurta.org>
2
3 * info.el (Info-search): Display "end of manual" when Isearch
4 reaches the end of single-file Info manual. (Bug#9918)
5
66e0570c
EZ
62011-12-02 Eli Zaretskii <eliz@gnu.org>
7
8 * isearch.el (isearch-message-prefix): Run the input method part
9 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10
02b16839
JL
112011-12-02 Juri Linkov <juri@jurta.org>
12
13 * isearch.el (isearch-occur): Use `word-search-regexp' for
14 `isearch-word'.
15 (isearch-search-and-update): Add condition for `isearch-word' and
16 call `word-search-regexp'. (Bug#10145)
17
0b950688
GM
182011-12-01 Glenn Morris <rgm@gnu.org>
19
20 * eshell/em-hist.el (eshell-hist-initialize):
21 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 22 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 23
9505c3c7
SM
242011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
27
1bbe96b2 282011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 29
a1beca85
SM
30 * progmodes/verilog-mode.el (verilog-pretty-expr):
31 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
32 verilog, such as += *= and the like.
33 (verilog-assignment-operator-re): Regular expression to find the
34 assigment operator in a verilog assignment.
35 (verilog-assignment-operation-re): Regular expression to find an
36 assignment statement for pretty-expr.
37 (verilog-in-attribute-p): Query returns true if point is in an
38 attribute context; used to skip these for expression line up from
39 pretty-expr.
40 (verilog-in-parameter-p): Query returns true if point is in an
41 parameter definition context; used to skip these for expression
42 line up from pretty-expr.
43 (verilog-in-parenthesis-p): Query returns true if point is in a
44 parenthetical expression, specifically ( ) but not [ ] or { };
45 used by pretty-expr.
46 (verilog-just-one-space): If there is no space, don't add one.
47 (verilog-get-lineup-indent-2): Specifically skip just attribute
48 contexts for expression lineup, rather than skipping all
49 parenthetical expressions.
50 (verilog-calculate-indent): Fix comment, and fix indent.
51 (verilog-do-indent): Indent declarations in lists (suggested by
52 Joachim Lechner).
53 (verilog-mode-abbrev-table): Populate abbrev mode with the various
54 skeleton items.
55 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
56 by Alain Mellan).
57
1bbe96b2 582011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
59
60 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
61 parameters with embedded comments. Reported by Ray Stevens.
62 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
63 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
64 Reported by Tim Holt.
65 (verilog-auto): Fix AUTOing a upper module then AUTOing module
66 instantiated by upper module causing wrong expansion until AUTOed a
67 second time. Reported by K C Buckenmaier.
68 (verilog-diff-auto): Fix showing .* as a difference when
69 `verilog-auto-star-save' off. Reported by Dan Dever.
70 (verilog-auto-reset, verilog-read-always-signals)
71 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
72 temporary signals in reset list if
73 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
74 style to each signal's assignment type, bug381.
75 Reported by Thomas Esposito.
6288f0ca
WS
76 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
77 (verilog-uvm-statement-re): Support UVM indentation and
78 highlighting, with old OVM keywords only.
a1beca85
SM
79 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
80 Support AUTOTIEOFF creating non-wire data types. Suggested by Jonathan
6288f0ca
WS
81 Greenlaw.
82 (verilog-auto-insert-lisp, verilog-delete-to-paren)
83 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
84 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
85 (verilog-read-sub-decls, verilog-read-sub-decls-line):
86 Fix mismatching parenthesis inside commented out code when deleting
6288f0ca
WS
87 AUTOINST, bug383. Reported by Jonathan Greenlaw.
88 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
89 non-numeric vector width. Reported by Alex Reed.
90 (verilog-auto-ascii-enum): Add "onehot" option to work around not
91 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
92 (verilog-auto-delete-trailing-whitespace):
93 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
94 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
95 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
96 Fix verilog-scan-cache corruption when running user AUTO expansion
97 hooks that call indentation routines.
98 (verilog-simplify-range-expression): Fix typo ignoring lower case
99 identifiers.
100 (verilog-delete-auto): Fix delete-autos to also remove user created
101 automatics, as long as they start with AUTO.
102 (verilog-batch-diff-auto, verilog-diff-auto)
103 (verilog-diff-function): Add `verilog-diff-auto' and bind to
104 "C-c?" to report differences in AUTO expansion, ignoring spaces.
105 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
106 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
107 (verilog-re-search-forward-quick, verilog-syntax-ppss):
108 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
109 is disabled and its cache will get corrupt, causing AUTOS not to
110 expand. Instead use only -quick functions.
111 (verilog-scan-region): Fix scanning over escaped quotes.
112 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
113 (verilog-re-search-backward-quick)
114 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
115 related functions now ignore strings, to fix misparsing of strings
116 with magic comments embedded in them.
a1beca85
SM
117 (verilog-read-auto-template):
118 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
119 Reported by Brad Dobbie.
120 (verilog-read-auto-template):
121 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 122 Reported by Brad Dobbie.
6288f0ca
WS
123 (verilog-auto-inst, verilog-auto-inst-param)
124 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
125 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
126 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
127 debugging templates without merge conflicts, bug357.
128 Reported by Brad Dobbie.
129 (verilog-read-auto-template):
130 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
131 Reported by Brad Dobbie.
132 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
133 abbrevs so user won't be asked to save.
134 (verilog-read-auto-lisp-present): Fix to start at beginning of
135 buffer in case called outside of verilog-auto.
136 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
137 to "X-2". Reported by Matthew Myers.
138 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
139 all inputs from module templates. Reported by Leith Johnson.
140 (verilog-module-inside-filename-p): Fix locating programs as with
141 modules.
142 (verilog-auto-inst-port): Fix vl-width expressions when using
143 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
144 (verilog-decls-get-regs, verilog-decls-get-signals,
145 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
146 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
147 verilog-read-decls): Combine reg and wire structures into one var
148 structure to represent SystemVerilog concepts.
149 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
150 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
151 (verilog-auto-wire-type, verilog-insert-definition):
152 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
153 SystemVerilog "logic" keyword instead of "wire"/"reg".
154 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
155 to declares outputs that also have assignments (presumably in an
a1beca85
SM
156 ifdef or generate if so there's not a driver conflict).
157 Reported by Matthew Myers.
158 (verilog-auto-declare-nettype, verilog-insert-definition):
159 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
160 `default_nettype none. Reported by Julian Gorfajn.
161 (verilog-read-always-signals-recurse, verilog-read-decls)
162 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
163 malformed end statement, bug325. Reported by Joshua Wise and
164 Andrew Drake.
165 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
166 (verilog-inst-comment-re): Fix not deleting Interfaced comment
167 when expanding .* in interfaces, bug320. Reported by Pierre-David
168 Pfister.
169 (verilog-read-module-name): Fix import statements between module
170 name and open parenthesis, bug317. Reported by Pierre-David
171 Pfister.
172 (verilog-simplify-range-expression): Fix simplification of
173 multiplications inside AUTOWIRE connections, bug303.
174 (verilog-auto-inst-port): Support parameter expansion in
175 multidimensional arrays.
176 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
177 after "assert property". Reported by Julian Gorfajn.
178 (verilog-simplify-range-expression): Fix "couldn't merge" errors
179 with multiplication, bug303.
180 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
181 Reported by Jan Frode Lonnum.
182
1bbe96b2
GM
1832011-11-30 Juanma Barranquero <lekktu@gmail.com>
184
185 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
186 (hfy-shell-file-name, hfy-shell):
187 * international/fontset.el (x-decompose-font-name): Fix typos.
188
1892011-11-29 Ken Brown <kbrown@cornell.edu>
190
191 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
192 (gdb-version): Remove defvar.
193 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
194 (gdb-gud-context-command, gdb-non-stop-handler)
195 (gdb-current-context-command, gdb-stopped): Use it.
196 (gdb-init-1): Enable pretty printing here.
197 (gdb-non-stop-handler): Don't enable pretty-printing here. Check
198 to see if the target supports non-stop mode; if not, turn off
199 non-stop mode. Use the following.
200 (gdb-check-target-async): New defun.
201 (gud-watch, gdb-stopped): Fix whitespace.
202 (gdb-get-source-file): Don't try to display the source file if
203 `gdb-main-file' is nil.
204
2052011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
206
207 * align.el: Try to generate fewer markers (bug#10047).
208 (align--set-marker): New macro.
209 (align-region): Use it.
210
c935221f
SM
2112011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
212
213 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
214
e70b5064
CY
2152011-11-29 Chong Yidong <cyd@gnu.org>
216
217 * indent.el (indent-for-tab-command, indent-according-to-mode):
218 Doc fix.
219 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
220
f3af92b7
MA
2212011-11-29 Michael Albinus <michael.albinus@gmx.de>
222
223 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
224 aware of remote file names. (Bug#10124)
225
ed472be9
CY
2262011-11-29 Chong Yidong <cyd@gnu.org>
227
228 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
229
24510c22
SM
2302011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
231
232 * files.el (find-file): Don't use force-same-window (bug#10144).
233 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
234 use pop-to-buffer if the selected window can't be used.
235 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
236
c60c3703
EZ
2372011-11-28 Eli Zaretskii <eliz@gnu.org>
238
239 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
240 special-mode-map.
241
e95def75
CY
2422011-11-28 Chong Yidong <cyd@gnu.org>
243
244 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
245
c3f1c606
NR
2462011-11-27 Nick Roberts <nickrob@snap.net.nz>
247
248 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
249 gdb-get-source-file-list on gdb-create-source-file-list.
250
00db469c
EZ
2512011-11-26 Eli Zaretskii <eliz@gnu.org>
252
253 * whitespace.el (whitespace-newline): Use a different foreground
254 color for 16-color light-background displays.
255
4ad3bc2a
CY
2562011-11-24 Chong Yidong <cyd@gnu.org>
257
258 * window.el (display-buffer--special-action): Doc fix.
259
e9fce1ac
JB
2602011-11-25 Juanma Barranquero <lekktu@gmail.com>
261
262 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
263 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
264 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
265 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
266 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
267 (avl-tree-stack-first):
268 * emacs-lisp/cconv.el (cconv--analyse-use):
269 * net/gnutls.el (gnutls-negotiate): Fix typos.
270
cb825e5d
GM
2712011-11-24 Glenn Morris <rgm@gnu.org>
272
3adbe224
GM
273 * lpr.el (lpr-windows-system, lpr-lp-system):
274 * mail/binhex.el (binhex-begin-line):
275 * progmodes/grep.el (grep-history, grep-find-history):
276 * textmodes/flyspell.el:
277 * vc/pcvs-defs.el (cvs-global-menu):
278 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
279 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
280 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
281
321decc8
GM
282 * net/tls.el: Fix case of "GnuTLS".
283
420b63ad
GM
284 * paths.el (rmail-file-name): Format doc-string for make-docfile.
285
cb825e5d
GM
286 * version.el (emacs-build-system): Give it a doc-string.
287
a0649f08
JL
2882011-11-24 Juri Linkov <juri@jurta.org>
289
290 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
291
c0bc0fd4
GM
2922011-11-24 Glenn Morris <rgm@gnu.org>
293
294 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
295 if called on a non-mime message just toggle the headers. (Bug#8006)
296
20db1522
JB
2972011-11-24 Juanma Barranquero <lekktu@gmail.com>
298
299 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
300 (allout-lead-with-comment-string, allout-structure-deleted-hook)
301 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
302 (allout-rebullet-heading, allout-open-sibtopic)
303 (allout-toggle-current-subtree-encryption)
304 (allout-toggle-subtree-encryption, allout-encrypt-string)
305 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
306 (allout-distinctive-bullets-string, allout-auto-activation):
307 * window.el (window-normalize-buffer-to-display):
308 * progmodes/verilog-mode.el (verilog-batch-indent):
309 * textmodes/bibtex.el (bibtex-field-braces-opt)
310 (bibtex-field-strings-opt):
311 * vc/cvs-status.el (cvs-tree-merge):
312 Fix typos.
313
7262a87c
MA
3142011-11-23 Michael Albinus <michael.albinus@gmx.de>
315
316 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
317 `non-essential' to t, in order to avoid remote connections.
318
283430a1
EZ
3192011-11-23 Eli Zaretskii <eliz@gnu.org>
320
a1beca85
SM
321 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
322 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
323 case-insensitively.
324
d2992a38
ML
3252011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
326
327 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
328
50419064
GM
3292011-11-23 Glenn Morris <rgm@gnu.org>
330
da94eca1
GM
331 * paths.el (rmail-file-name): Reformat the doc-string so that it
332 is picked up.
333
9aac4de2
GM
334 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
335 (rmail-auto-file): Ignore case in the "special" field names,
336 as mail-fetch-field does for all others.
337
8038d2d2
GM
338 * mail/rmail.el (rmail-forward):
339 * mail/rmailkwd.el (rmail-set-label):
340 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
341 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
342
f3fe222a
GM
343 * mail/rmail.el (rmail-current-message): Doc fix.
344
50419064
GM
345 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
346
28109f49
SM
3472011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 * server.el (server-eval-and-print): Allow C-g (bug#6585).
350
394c65f1
GM
3512011-11-22 Glenn Morris <rgm@gnu.org>
352
353 * mail/rmailmm.el (test-rmail-mime-handler)
354 (test-rmail-mime-bulk-handler)
355 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
356
f2a0aa3a
JL
3572011-11-21 Juri Linkov <juri@jurta.org>
358
359 * calc/calc.el (calc-read-key-sequence): Let-bind `input-method-function'
360 to nil. (Bug#10018)
361
9c34a344
LMI
3622011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
363
364 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
365 Tell the caller that the next line needs recomputation, even
366 though it doesn't start a sexp (bug#10094).
367
f04a3be9
SM
3682011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
371
7978747f
SM
3722011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
373
f04a3be9
SM
374 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
375 Use force-same-window.
7978747f 376
fe7a3057
JB
3772011-11-20 Juanma Barranquero <lekktu@gmail.com>
378
379 * descr-text.el (describe-char-unicode-data):
380 * json.el (json-string-escape):
381 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
382 (Footnote-unicode, Footnote-style-p):
383 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
384
24901d61
CY
3852011-11-20 Chong Yidong <cyd@gnu.org>
386
387 * window.el (replace-buffer-in-windows): Restore interactive spec.
388
bac7ff22
SM
3892011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
390
24f3d7b9
SM
391 * electric.el (electric-indent-mode): Fix last change (too optimistic).
392
bac7ff22
SM
393 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
394 (byte-compile-global-not-obsolete-vars): New var.
395 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
396 Use it.
397 (byte-compile-warn-obsolete): Align text with the one in *Help*.
398
cd1181db
JB
3992011-11-20 Juanma Barranquero <lekktu@gmail.com>
400
401 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
402 * progmodes/pascal.el (electric-pascal-equal):
403 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
404 * xml.el (xml-substitute-special): Fix typos.
405
7fb18e9e
GM
4062011-11-20 Glenn Morris <rgm@gnu.org>
407
408 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
409 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
410 Doc fixes.
411 (rmail-decode-mime-charset): Mark as obsolete.
412
413 * mail/rmailsum.el (rmail-message-regexp-p-1):
414 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
415 Before using mime functions, check they are set. (Bug#10077)
416
d5a6b3ba
JL
4172011-11-19 Juri Linkov <juri@jurta.org>
418
419 * info.el (Info-finder-find-node): Use `package--builtins' instead
420 of `package-alist'. Use node names formed by the pattern "Keyword "
421 and the keyword name.
422
e981b61f
AS
4232011-11-19 Andreas Schwab <schwab@linux-m68k.org>
424
425 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
426 bash.
427
3ffbc301
JL
4282011-11-19 Juri Linkov <juri@jurta.org>
429
430 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
431 that calls `revert-buffer' on all Info buffers. (Bug#9915)
432 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
433 `old-history', `old-history-forward'. Add let-binding
434 `window-selected'. Remove calls to `kill-buffer',
435 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
436 before calling `Info-find-node', so `Info-find-node-2' will reread
437 the Info file. Restore window positions only when `window-selected'
438 is non-nil.
439
30c62133
JL
4402011-11-19 Juri Linkov <juri@jurta.org>
441
442 * isearch.el (isearch-lazy-highlight-new-loop):
443 Remove condition `(not isearch-error)'. (Bug#9918)
444
445 * misearch.el (multi-isearch-search-fun): Add condition
446 `(not bound)' to ignore lazy-highlighting search.
447 Add the search-failed message "end of multi" when the end of
448 multi-sequence is reached. Uncapitalize the search-failed
449 message "Repeat for next buffer".
450
451 * info.el (Info-search): Add the search-failed message
452 "end of the manual" when the end of the manual is reached
453 in Isearch mode.
454
645ca9cf
JL
4552011-11-19 Juri Linkov <juri@jurta.org>
456
457 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
458 Use non-destructive `remove' instead of `delete' because
459 `Info-history-list' stored to `Info-isearch-initial-history-list' in
460 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
461
df754f66
JL
4622011-11-19 Juri Linkov <juri@jurta.org>
463
464 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
465 to nil instead of binding `search-ring' and `regexp-search-ring'.
466 (Bug#9185)
467
0e23d96a
EZ
4682011-11-19 Eli Zaretskii <eliz@gnu.org>
469
470 * simple.el (line-move): Force movement by logical lines for any
471 hscrolled window, not only when auto-hscroll-mode is on.
472 (line-move-visual): Update doc string to that effect. (Bug#10076)
473
8a6ccb66
AS
4742011-11-19 Andreas Schwab <schwab@linux-m68k.org>
475
476 * language/european.el (macintosh): Define as alias for mac-roman.
477
49ae5b39
EZ
4782011-11-19 Eli Zaretskii <eliz@gnu.org>
479
480 * mail/rmailmm.el (rmail-mime-display-header)
481 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
482 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
483 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
484 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
485 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
486 of a raw aref.
487 (rmail-mime-entity-segment): To get past the tagline, move forward
488 2 more lines, to account for the 2 empty lines that precede and
489 follow the line with the buttons.
490 (rmail-mime-update-tagline): Move one more line, to get past the
491 empty line that follows the buttons in the tagline. (Bug#9520)
492
c56cad4a
MR
4932011-11-19 Martin Rudalics <rudalics@gmx.at>
494
495 * window.el (window-max-delta-1, window-min-delta-1)
496 (window-min-size-1, window-state-get-1, window-state-put-1)
497 (window-state-put-2): Use "window--" prefix.
498
cbe71af3
SM
4992011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
500
2ad52c60
SM
501 * emacs-lisp/smie.el: Improve warnings and conflict detection.
502 (smie-warning-count): New var.
503 (smie-set-prec2tab): Use it.
504 (smie-bnf->prec2): Improve warnings. Add docstring.
505 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
506 (smie-bnf--set-class): New function.
507 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
508 corner case.
509
6944dbc1
SM
510 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
511 (compilation-error-properties, compilation-move-to-column):
512 Handle compilation-first-column while in the target buffer.
513
c400c4d7
SM
514 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
515 Don't hardcode point-min==1.
516
6dbe3e96
SM
517 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
518 (eshell-rewrite-for-command): Remove workaround.
519 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
520 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
521 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
522
cbe71af3
SM
523 * files-x.el (modify-file-local-variable): Obey commenting conventions.
524
a8e1496d
GM
5252011-11-17 Glenn Morris <rgm@gnu.org>
526
527 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
528 Ignore buffer-local generated-autoload-file if it is the same
529 as the global value. (Bug#10049)
530
df85d315
JB
5312011-11-17 Juanma Barranquero <lekktu@gmail.com>
532
533 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
534 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
535 (reftex-toc-previous-heading, reftex-toc-max-level)
536 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
537 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
538 (reftex-toc-do-promote, reftex-toc-promote-prepare)
539 (reftex-toc-promote-action, reftex-toc-extract-section-number)
540 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
541 (reftex-toc-rename-label, reftex-toc-visit-location)
542 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
543 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
544 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
545 leaving "*toc*" only for references to the buffer.
546
a0c2d0ae
MR
5472011-11-17 Martin Rudalics <rudalics@gmx.at>
548
549 * window.el (window-resize, delete-window, split-window):
550 Replace window-splits by window-combination-resize.
551 * cus-start.el (window-splits): Replace by
552 window-combination-resize.
553
35c0bac8
GM
5542011-11-17 Glenn Morris <rgm@gnu.org>
555
556 * progmodes/sh-script.el (sh-font-lock-keywords-var):
557 Make bash entry derive from sh entry, not shell entry.
558
d0c8fc8a
MA
5592011-11-16 Michael Albinus <michael.albinus@gmx.de>
560
d0c8fc8a
MA
561 * net/tramp-cache.el (tramp-flush-file-property): Flush also
562 properties of linked files. (Bug#9879)
563
7262a87c
MA
564 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
565 local file name.
566
7877f373
JB
5672011-11-16 Juanma Barranquero <lekktu@gmail.com>
568
569 * menu-bar.el (menu-bar-file-menu):
570 * printing.el (pr-ps-utility):
571 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
572 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
573 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
574 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
575 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
576 (icalendar--convert-cyclic-to-ical)
577 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
578 (icalendar--convert-ical-to-diary)
579 (icalendar--convert-recurring-to-diary)
580 (icalendar--convert-non-recurring-all-day-to-diary)
581 (icalendar-import-format-sample):
582 * progmodes/idlw-shell.el (idlwave-shell-mode):
583 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
584 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
585 (vhdl-ps-print-init): Fix typos.
586
10649b82
KM
5872011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
588
9d0cfcd6
GM
589 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
590 FSF and collapse date sequence, obscure author/maintainer email address
591 better, remove extra version line, track relocation of author's webpage.
10649b82 592
9d0cfcd6
GM
593 * progmodes/python.el (python-pdbtrack-input-prompt)
594 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
595 regular python pdb prompts. Adjustments shamelessly taken exactly as
596 suggested in EmacsWiki page (tiny change):
597 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 598
58179cce
JB
5992011-11-16 Juanma Barranquero <lekktu@gmail.com>
600
601 * expand.el (expand-pos, expand-index, expand-point):
602 Remove redundant info from docstring.
603 (expand-add-abbrevs): Doc fix.
604 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
605 (expand-sample-perl-mode-expand-list): Fix typos.
606
607 * net/dbus.el (dbus-event-member-name):
608 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
609 * term/pc-win.el (msdos-create-frame-with-faces):
610 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
611
b6f67890
MR
6122011-11-16 Martin Rudalics <rudalics@gmx.at>
613
614 * window.el (split-window, window-state-get-1)
615 (window-state-put-1, window-state-put-2): Rename occurrences of
616 window-nest to window-combination-limit.
617 * cus-start.el (window-nest): Rename to
618 window-combination-limit.
619
ce7ddba0
CY
6202011-11-16 Chong Yidong <cyd@gnu.org>
621
622 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
623 regexp (Bug#10033).
624
3ae704f4
SM
6252011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
626
627 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
628 `completing-read' will remove *Completions* and will preserve
629 current-buffer for us.
630 (tmm-add-prompt): Users of *Completions* will always (re)set its
631 major mode.
632 (tmm-old-comp-map): Remove.
633
6ad1cdde
GM
6342011-11-16 Glenn Morris <rgm@gnu.org>
635
636 * mail/rmailedit.el: Require rmailmm when compiling.
637 (rmail-old-mime-state): New declaration.
638 (rmail-edit-current-message): If editing a mime message,
639 edit the "raw" message from the mbox buffer.
640 (rmail-cease-edit): Handle mime messages. (Bug#9840)
641
d20faa20
GM
6422011-11-15 Glenn Morris <rgm@gnu.org>
643
644 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
645 which wasn't being used. Add optional arg to force given state.
646 (rmail-mime): Add optional arg to force given state.
647
c7015153
JB
6482011-11-15 Juanma Barranquero <lekktu@gmail.com>
649
650 * allout.el (allout-encryption-plaintext-sanitization-regexps):
651 * frame.el (display-mm-dimensions-alist):
652 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
653 (outline-move-subtree-down):
654 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
655 (newsticker--treeview-do-get-node):
656 * net/quickurl.el (quickurl-list-buffer-name):
657 * progmodes/dcl-mode.el (dcl-mode):
658 * progmodes/gdb-mi.el (gdb-mapcar*):
659 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
660
45261b50
GM
6612011-11-15 Glenn Morris <rgm@gnu.org>
662
663 * mail/rmail.el (rmail-file-coding-system): It's only ever used
664 in a boolean sense, so just make it a boolean, and fix the doc.
665 (rmail-show-mime-function, rmail-mime-feature)
666 (rmail-require-mime-maybe): Doc fixes.
667 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
668
669 * mail/rmailmm.el (rmail-show-mime): Doc fix.
670
0d26e0b6
JB
6712011-11-15 Juanma Barranquero <lekktu@gmail.com>
672
673 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
674 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
675 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
676 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
677
447f30f6
GM
6782011-11-15 Glenn Morris <rgm@gnu.org>
679
672b871d
GM
680 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
681 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
682 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
683 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
684 (rmail-mime, rmail-show-mime): Doc fixes.
685
f6aa5bb1
GM
686 * term/ns-win.el (mode-line-frame-identification):
687 Leave it alone. (Bug#10051)
688
947cd66b
GM
689 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
690
447f30f6
GM
691 * mail/rmailout.el (rmail-output-to-rmail-buffer):
692 Handle empty buffers. (Bug#9978)
693
0b381c7e
JB
6942011-11-14 Juanma Barranquero <lekktu@gmail.com>
695
696 * international/mule.el (define-charset):
697 * mail/rmailmm.el (rmail-mime-find-header-encoding):
698 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
699 * progmodes/verilog-mode.el (verilog-backward-token):
700 * textmodes/ispell.el (lookup-words):
701 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
702
71e027ac
GM
7032011-11-14 Glenn Morris <rgm@gnu.org>
704
56632ce4
GM
705 * progmodes/executable.el
706 (executable-make-buffer-file-executable-if-script-p):
707 Handle file-modes returning nil.
708
40500957
GM
709 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
710 message - not necessary, and causes problems. (Bug#9831)
711
071c2340
GM
712 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
713
d3cfca60
GM
714 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
715
71e027ac
GM
716 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
717 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
718 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
719
89d61221
MR
7202011-11-12 Martin Rudalics <rudalics@gmx.at>
721
722 * window.el (window-resize, delete-window): Use window-splits
723 variable instead of function.
724 (window-state-get-1, window-state-put-2, window-state-put):
725 Don't deal with windows' splits status.
726
98282f6f
GM
7272011-11-12 Glenn Morris <rgm@gnu.org>
728
729 * apropos.el (apropos-do-all, apropos-library, apropos-value)
730 (apropos-documentation): Doc fixes.
731
40a8bdf6
JB
7322011-11-11 Juanma Barranquero <lekktu@gmail.com>
733
734 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
735 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
736
65bd19ff
SM
7372011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
738
739 * electric.el (electric-indent-post-self-insert-function): Make it
740 possible for a char to only indent in some circumstances.
741 (electric-indent-mode): Simplify.
742
54f9154c
MR
7432011-11-11 Martin Rudalics <rudalics@gmx.at>
744
745 * window.el (windows-with-parameter): Remove unused function.
746 (windows-at-side): Rename to window-at-side-list.
747 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
748 (window-side-check, window-size-ignore, window-size-fixed-1)
749 (window-in-direction-2): Prefix with "window--".
750 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 751
68cbc58b
GM
7522011-11-11 Glenn Morris <rgm@gnu.org>
753
754 * subr.el (eval-after-load): If FILE is already loaded,
755 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
756
b2621720
GM
7572011-11-10 Glenn Morris <rgm@gnu.org>
758
9a4de110
GM
759 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
760 Call svn via vc-svn-command rather than vc-do-command.
761 (vc-svn-command): Add --non-interactive. (Bug#9993)
762 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
763
b2621720
GM
764 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
765 Add toggle-read-only. (Bug#7292)
766 * files.el (toggle-read-only): Mention that it should only
767 be used interactively. (Bug#10006)
768
1dce7193
SM
7692011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
770
d9ac1a1e
SM
771 * progmodes/compile.el (compilation-error-regexp-alist-alist):
772 Adjust regexp for OCaml warnings.
773
0c325082
SM
774 * electric.el (electric-pair-post-self-insert-function): Let user
775 turn it off buffer-locally (bug#9932).
776
90132c14
SM
777 * progmodes/python.el (python-beginning-of-statement):
778 Rewrite (bug#2703).
779
1dce7193
SM
780 * progmodes/compile.el: Better handle TABs (bug#9749).
781 (compilation-internal-error-properties)
782 (compilation-next-error-function): Obey the target buffer's
783 compilation-error-screen-columns.
784
c4e7c63a
JB
7852011-11-09 Juanma Barranquero <lekktu@gmail.com>
786
787 * progmodes/meta-mode.el: Remove obsolete comments.
788 (meta-right-comment-regexp, meta-ignore-comment-regexp):
789 Fix typos in docstrings.
790
2cffd681
MR
7912011-11-09 Martin Rudalics <rudalics@gmx.at>
792
793 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 794 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
795 (window--resizable): New function. Make all callers of
796 window-resizable call window--resizable instead.
797 (window-resizable): Rewrite in terms of window--resizable.
798
0edcba87
GM
7992011-11-08 Glenn Morris <rgm@gnu.org>
800
801 * progmodes/delphi.el (delphi-mode-syntax-table):
802 Let define-derived-mode define a proper syntax table. (Bug#9994)
803
4b0d61e3
SM
8042011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
805
806 * window.el: Stay away from defsubst.
807 (window-list-no-nils): Remove.
808 (window-state-get-1, window-state-get): Use backquote instead.
809
fcbcac2e 8102011-11-08 thierry <thierry.volpiatto@gmail.com>
811
4b0d61e3 812 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 813 Fix incorrect use of default argument in `completing-read'.
814
e1c2c6f2
MR
8152011-11-08 Martin Rudalics <rudalics@gmx.at>
816
817 * window.el (display-buffer-function, special-display-function):
818 Mention display-buffer-record-window but do not mention
819 help-setup parameter in doc-strings.
b3f4a882 820 (window-min-delta): Fix doc-string typo.
e1c2c6f2 821
105216ed
CY
8222011-11-08 Chong Yidong <cyd@gnu.org>
823
824 * window.el (window-total-height, window-total-width): Doc fix.
825 (window-body-size): Move from C.
826 (window-body-height, window-body-width): Move to C.
827
0a9f9ab5
SM
8282011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
829
830 * window.el: Make special-display like display-buffer-alist (bug#9532).
831 (display-buffer--special-action): New function, morphed
832 from display-buffer--special.
833 (display-buffer): Use it to handle special-display-buffers at higher
834 priority (just after display-buffer-alist).
835 (display-buffer-fallback-action, display-buffer--other-frame-action)
836 (pop-to-buffer-same-window): Remove display-buffer--special.
837
a769dd15
GM
8382011-11-07 Glenn Morris <rgm@gnu.org>
839
840 * calendar/cal-menu.el (cal-menu-set-date-title):
841 Do nothing if not in a calendar. (Bug#9976)
842
05a61ee3
SM
8432011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
844
845 * files.el (find-file): Always use selected-window.
846
be7f5545
MR
8472011-11-07 Martin Rudalics <rudalics@gmx.at>
848
849 * window.el (window-combinations): Make WINDOW argument
850 mandatory. Rewrite doc-string.
851 (walk-window-subtree, window-atom-check, window-min-delta)
852 (window-max-delta, window--resize-this-window)
853 (window--resize-root-window-vertically, window-tree)
854 (balance-windows, window-state-put): Rewrite doc-strings as to
855 not mention the term "subwindow".
856 (window--resize-subwindows-skip-p): Rename to
857 window--resize-child-windows-skip-p.
858 (window--resize-subwindows-normal): Rename to
859 window--resize-child-windows-normal.
860 (window--resize-subwindows): Rename to
861 window--resize-child-windows.
862 (window-or-subwindow-p): Rename to window--in-subtree-p.
863
3c6702ef
ML
8642011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
865
866 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
867 Ensure that mbox format messages end in two newlines (Bug#9974).
868
49745b39
CY
8692011-11-06 Chong Yidong <cyd@gnu.org>
870
871 * window.el (window-combination-p): Function deleted; its
872 side-effect is not used in any existing code.
873 (window-combinations, window-combined-p): Call window-*-child
874 directly.
875
24300f5f
CY
8762011-11-05 Chong Yidong <cyd@gnu.org>
877
878 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
879 (window-size-ignore, window-state-get): Callers changed.
880 (window-normalize-window): Rename from window-normalize-any-window.
881 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 882 (window-normalize-live-window): Delete.
447f16b8
CY
883 (window-combination-p, window-combined-p, window-combinations)
884 (walk-window-subtree, window-atom-root, window-min-size)
885 (window-sizable, window-sizable-p, window-size-fixed-p)
886 (window-min-delta, window-max-delta, window-resizable)
887 (window-resizable-p, window-full-height-p, window-full-width-p)
888 (window-current-scroll-bars, window-point-1, set-window-point-1)
889 (window-at-side-p, window-in-direction, window-resize)
890 (adjust-window-trailing-edge, maximize-window, minimize-window)
891 (window-deletable-p, delete-window, delete-other-windows)
892 (record-window-buffer, unrecord-window-buffer)
893 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
894 (quit-window, split-window, window-state-put)
895 (set-window-text-height, fit-window-to-buffer)
896 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 897
89bd5ee1
EZ
8982011-11-04 Eli Zaretskii <eliz@gnu.org>
899
53479029
EZ
900 * mail/rmail.el (rmail-simplified-subject): Decode subject with
901 rfc2047-decode-string.
902 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
903 warnings.
904
89bd5ee1
EZ
905 * window.el (window-body-height, window-body-width): Mention in
906 the doc string that the return values are in frame's canonical
907 units. (Bug#9949)
908
bd17fdee
AM
9092011-11-03 Alan Mackenzie <acm@muc.de>
910
911 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
912 change in cc-engine.el.
913
acc825c5
SM
9142011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * window.el (switch-to-buffer): Use `force-same-window' interactively.
917
1885e5b8
MR
9182011-11-02 Martin Rudalics <rudalics@gmx.at>
919
920 * window.el (quit-window): Call unrecord-window-buffer after
921 showing another buffer in the window. (Bug#9937)
acc825c5 922 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 923
ebe06da9
JB
9242011-11-02 Juanma Barranquero <lekktu@gmail.com>
925
926 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
927 Accept status with more than 9 shelves. (Bug#9935)
928 Reported by Colin D Bennett <colin@gibibit.com>.
929
4ee88440
MR
9302011-11-01 Martin Rudalics <rudalics@gmx.at>
931
932 * help.el (with-help-window): Don't reference
933 temp-buffer-show-specifiers in doc-string.
934
08e1d82c
AS
9352011-10-31 Andreas Schwab <schwab@linux-m68k.org>
936
937 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
938 menu-item.
939
84bd6e9e
VJL
9402011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
941
942 * whitespace.el: New version 13.2.2.
943 (whitespace-newline-mode): Disable properly. Reported by Sarah
944 <EmacsWiki>.
945
dba0634a
UJ
9462011-10-30 Ulf Jasper <ulf.jasper@web.de>
947
948 * net/newst-treeview.el: Remove "Time-stamp".
949 (newsticker--group-manage-orphan-feeds): Do not call
950 newsticker--treeview-tree-update.
db22a3c2
JB
951 (newsticker-treeview-update, newsticker-treeview):
952 Call newsticker--treeview-tree-update if necessary.
dba0634a 953
3d8daefe
MR
9542011-10-30 Martin Rudalics <rudalics@gmx.at>
955
956 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
957 (window-iso-combinations): Remove "iso-" infix.
958 Suggested by Chong Yidong.
3d8daefe
MR
959 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
960 (window-max-delta-1, window-resize, window--resize-siblings)
961 (window--resize-this-window, adjust-window-trailing-edge)
962 (split-window, balance-windows-1)
963 (shrink-window-if-larger-than-buffer):
964 * calendar/calendar.el (calendar-generate-window):
db22a3c2 965 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 966
1bc4c3ae
SM
9672011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
970 in place (bug#9907).
971 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
972 (eshell-rewrite-if-command, eshell-rewrite-for-command)
973 (eshell-structure-basic-command, eshell-rewrite-while-command)
974 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
975 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
976 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
977 (eshell-do-pipelines-synchronously, eshell-eval-command):
978 Use backquotes and prefer setq to set.
979 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
980 (eshell-macrop): Use functionp.
c1e2f5fa 981 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 982
30b65d9c
CY
9832011-10-30 Chong Yidong <cyd@gnu.org>
984
985 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
986 instead of set-mark (Bug#9810).
987
2d197ffb
CY
9882011-10-30 Chong Yidong <cyd@gnu.org>
989
990 * window.el (split-window-below, split-window-right): Rename from
991 split-window-above-each-other and split-window-side-by-side
992 respectively. All callers changed.
993 (split-window-sensibly, split-window-sensibly): Use them.
994 (split-window-keep-point): Doc fix.
995
996 * isearch.el: Add isearch-scroll property to split-window-below
997 and split-window-right.
998
999 * follow.el (follow-mode):
1000 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1001 * progmodes/ada-xref.el (ada-gdb-application):
1002 * emulation/vip.el (vip-buffer-in-two-windows):
1003 * image-dired.el (image-dired-dired-with-window-configuration):
1004 * dired-x.el (dired-do-find-marked-files):
1005 * dired.el (dired-pop-to-buffer):
1006 * bs.el (bs--show-with-configuration):
1007 * vc/emerge.el (emerge-setup-windows):
1008 * textmodes/two-column.el (2C-two-columns):
1009 * textmodes/reftex-toc.el (reftex-toc):
1010 * progmodes/gdb-mi.el (gdb-setup-windows):
1011 * progmodes/fortran.el (fortran-window-create):
1012 * net/newst-treeview.el (newsticker--treeview-window-init):
1013 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1014 * emulation/tpu-edt.el (tpu-gold-map):
1015 * emulation/crisp.el (crisp-mode-map):
1016 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1017
38bb2ca8
CY
10182011-10-29 Chong Yidong <cyd@gnu.org>
1019
aa4de341
CY
1020 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1021
e1eb5385
CY
1022 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1023
5d2ece3c
CY
1024 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1025 forged Ispell output (Bug#7904).
1026
38bb2ca8
CY
1027 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1028
d0af9f77
SM
10292011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1030
1031 * doc-view.el: Avoid ugly errors about not finding nil.
1032 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1033 (doc-view-dvipdf-program, doc-view-unoconv-program)
1034 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1035 Avoid nil or absolute file name as default value.
1036 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1037
52bedd34
AM
10382011-10-28 Alan Mackenzie <acm@muc.de>
1039
db22a3c2 1040 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 1041
7e43cfa5
AM
10422011-10-28 Alan Mackenzie <acm@muc.de>
1043
1044 Amend the handling of c-beginning/end-of-defun in nested declaration
1045 scopes.
1046
52bedd34
AM
1047 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1048 cc-langs.el. Change it to a defcustom.
7e43cfa5 1049
52bedd34
AM
1050 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1051 cc-vars.el.
7e43cfa5 1052
d0af9f77
SM
1053 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1054 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 1055
52bedd34 1056 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 1057 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
1058 (c-widen-to-enclosing-decl-scope): New function.
1059 (c-while-widening-to-decl-block): New macro.
1060 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1061 outward for defun boundaries, and correspondingly change symbol
1062 `respect-enclosure' to `go-outward'.
1063 (c-declaration-limits): Change algorithm to report only the "innermost"
1064 defun's boundaries.
1065
1a2ce9ee
DD
10662011-10-28 Deniz Dogan <deniz@dogan.se>
1067
1068 * net/rcirc.el (rcirc-mode): Use hard newlines.
1069
bc97a826
AM
10702011-10-28 Alan Mackenzie <acm@muc.de>
1071
1072 Amend to indent and fontify macros "which include their own semicolon"
1073 correctly, using the "virtual semicolon" mechanism.
1074
52bedd34 1075 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 1076
d0af9f77 1077 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 1078 Recode to scan one line at a time rather than having \n and \r
58179cce 1079 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 1080 (c-forward-label): Amend for virtual semicolons.
58179cce 1081 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 1082
52bedd34
AM
1083 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1084 of the new C macros.
bc97a826 1085
52bedd34 1086 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
1087 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1088 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
1089 (c-opt-cpp-macro-define): Make into a full language variable.
1090 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1091 AWK Mode (including \n, \r) removed, no longer needed.
1092
d0af9f77
SM
1093 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1094 Invoke c-make-macro-with-semi-re.
bc97a826 1095
52bedd34
AM
1096 * progmodes/cc-vars.el (c-macro-with-semi-re):
1097 (c-macro-names-with-semicolon): New variables.
58179cce 1098 (c-make-macro-with-semi-re): New function.
bc97a826 1099
7a6c0941
SM
11002011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * vc/log-edit.el: Fill empty field rather than adding new one.
1103 (log-edit-add-field): New function.
1104 (log-edit-insert-changelog): Use it.
1105
b0c4cdcf
ML
11062011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1107
1108 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1109
ee1f1da9
SM
11102011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1113 (gdb--check-interpreter): New function.
1114 (gdb): Use it.
1115
51bc5f8b
GM
11162011-10-27 Glenn Morris <rgm@gnu.org>
1117
416a2c45
GM
1118 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1119 (least-positive-float, least-negative-float)
1120 (least-positive-normalized-float, least-negative-normalized-float)
1121 (float-epsilon, float-negative-epsilon):
1122 Remove unnecessary declarations.
1123
1124 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1125 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1126 (least-positive-float, least-negative-float)
1127 (least-positive-normalized-float, least-negative-normalized-float)
1128 (float-epsilon, float-negative-epsilon): Add doc-strings,
1129 based on those in cl.texi.
1130
51bc5f8b
GM
1131 * files.el (set-visited-file-name): If the major-mode changed,
1132 reload the local variables. (Bug#9796)
1133
15de15c6
CY
11342011-10-27 Chong Yidong <cyd@gnu.org>
1135
1136 * subr.el (change-major-mode-after-body-hook): New hook.
1137 (run-mode-hooks): Run it.
1138
ee1f1da9
SM
1139 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1140 Use change-major-mode-before-body-hook.
15de15c6
CY
1141
1142 * simple.el (fundamental-mode):
1143 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1144 change introducing fundamental-mode-hook.
1145
5430d399
JB
11462011-10-26 Juanma Barranquero <lekktu@gmail.com>
1147
acc825c5 1148 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 1149
ad74a69e
MA
11502011-10-26 Michael Albinus <michael.albinus@gmx.de>
1151
1152 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 1153 tramp.el explicitly. (Bug#7583)
ad74a69e 1154
71d4c2a5
SM
11552011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1156
1157 * progmodes/octave-mod.el:
1158 * progmodes/octave-inf.el: Update maintainer.
1159
b1f6fa26
CY
11602011-10-26 Chong Yidong <cyd@gnu.org>
1161
1162 * subr.el (with-wrapper-hook): Rewrite doc.
1163
3f04efd6
MA
11642011-10-25 Michael Albinus <michael.albinus@gmx.de>
1165
1166 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 1167 filenames "/method:foo:". (Bug#9793)
3f04efd6 1168
410488d3
SM
11692011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1170
1171 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1172 (bug#9865).
1173
c1ebb47e
GM
11742011-10-24 Glenn Morris <rgm@gnu.org>
1175
1176 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
1177
7f5c46c7
MA
11782011-10-24 Michael Albinus <michael.albinus@gmx.de>
1179
1180 * notifications.el: Add the requirement of a running D-Bus session
1181 bus to the Commentary.
1182
db2440b6
JL
11832011-10-24 Juri Linkov <juri@jurta.org>
1184
1185 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1186 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1187 (Bug#9364)
1188
feecf435
JL
11892011-10-24 Juri Linkov <juri@jurta.org>
1190
1191 * info.el (Info-following-node-name-re): Add newline to the list
1192 of allowed characters for leading space. (Bug#9824)
1193
a3839de2
SM
11942011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1195
acc825c5
SM
1196 * progmodes/octave-inf.el (inferior-octave-mode-map):
1197 Fix C-c C-h binding.
a3839de2
SM
1198 * progmodes/octave-mod.el (octave-help): Remove.
1199
09388e76
MA
12002011-10-23 Michael Albinus <michael.albinus@gmx.de>
1201
1202 Sync with Tramp 2.2.3.
1203
1204 * net/tramp-cache.el (top): Pacify byte-compiler using
1205 `init-file-user' and `site-run-file'.
1206
1207 * net/trampver.el: Update release number.
1208
86c60681
CY
12092011-10-23 Chong Yidong <cyd@gnu.org>
1210
1211 * files.el (toggle-read-only): Remove obsolete comment about
1212 version control.
1213
1214 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
1215 for toggle-read-only. Note that this hasn't called vc-next-action
1216 since 2008-05-02, though it wasn't documented at the time.
1217
a3839de2
SM
1218 * vc/ediff-init.el (ediff-toggle-read-only-function):
1219 Use toggle-read-only.
86c60681 1220
cd5495ff
AM
12212011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
1222
1223 Fix bug #9560, sporadic wrong indentation; improve instrumentation
1224 of c-parse-state.
1225
00b77525 1226 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 1227 correct faulty logical expression.
cd5495ff
AM
1228 (c-parse-state-state, c-record-parse-state-state):
1229 (c-replay-parse-state-state): New defvar/defuns.
1230 (c-debug-parse-state): Use new functions.
1231
42ee24ed
MR
12322011-10-22 Martin Rudalics <rudalics@gmx.at>
1233
1234 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 1235 last fix. Use window-in-direction correctly.
42ee24ed 1236
a7dee7e7
CY
12372011-10-21 Chong Yidong <cyd@gnu.org>
1238
1239 * progmodes/idlwave.el (idlwave-mode):
1240 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
1241 require-final-newline; that's done in prog-mode.
1242 Suggested by Stefan Monnier.
a7dee7e7 1243
e07b9a6d
MR
12442011-10-21 Martin Rudalics <rudalics@gmx.at>
1245
1246 * mouse.el (mouse-drag-window-above)
1247 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1248 (mouse-drag-mode-line-1, mouse-drag-header-line)
1249 (mouse-drag-vertical-line-rightward-window): Remove.
1250 (mouse-drag-line): New function.
1251 (mouse-drag-mode-line, mouse-drag-header-line)
1252 (mouse-drag-vertical-line): Call mouse-drag-line.
1253 * window.el (window-at-side-p, windows-at-side): New functions.
1254
7e1361d9
UM
12552011-10-21 Ulrich Mueller <ulm@gentoo.org>
1256
1257 * tar-mode.el (tar-grind-file-mode):
1258 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
1259
30fcaf3a
CY
12602011-10-21 Chong Yidong <cyd@gnu.org>
1261
1262 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
1263 * progmodes/vera-mode.el (vera-mode):
1264 Use mode-require-final-newline.
30fcaf3a 1265
516eddb0
GM
12662011-10-20 Glenn Morris <rgm@gnu.org>
1267
db22a3c2 1268 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 1269
10d5f513
CS
12702011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
1271
1272 * emulation/cua-base.el (cua-set-mark): Fix case of string.
1273
ac6c8639
CY
12742011-10-20 Chong Yidong <cyd@gnu.org>
1275
1276 * emulation/cua-base.el (cua-mode):
1277 * mail/footnote.el (footnote-mode):
1278 * mail/mailabbrev.el (mail-abbrevs-mode):
1279 * net/xesam.el (xesam-minor-mode):
1280 * progmodes/bug-reference.el (bug-reference-mode):
1281 * progmodes/cap-words.el (capitalized-words-mode):
1282 * progmodes/compile.el (compilation-minor-mode)
1283 (compilation-shell-minor-mode):
1284 * progmodes/gud.el (gud-tooltip-mode):
1285 * progmodes/hideif.el (hide-ifdef-mode):
1286 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1287 * progmodes/subword.el (subword-mode):
1288 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1289 * progmodes/which-func.el (which-function-mode):
1290 * term/tvi970.el (tvi970-set-keypad-mode):
1291 * term/vt100.el (vt100-wide-mode):
1292 * textmodes/flyspell.el (flyspell-mode):
1293 * textmodes/ispell.el (ispell-minor-mode):
1294 * textmodes/nroff-mode.el (nroff-electric-mode):
1295 * textmodes/paragraphs.el (use-hard-newlines):
1296 * textmodes/refill.el (refill-mode):
1297 * textmodes/reftex.el (reftex-mode):
1298 * textmodes/rst.el (rst-minor-mode):
1299 * textmodes/sgml-mode.el (html-autoview-mode)
1300 (sgml-electric-tag-pair-mode):
1301 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1302 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1303 * emulation/crisp.el (crisp-mode):
1304 * emacs-lisp/eldoc.el (eldoc-mode):
1305 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1306 minor mode behavior.
1307
aa42ab43
JL
13082011-10-19 Juri Linkov <juri@jurta.org>
1309
1310 * descr-text.el (describe-char): Add #x2010 and #x2011 to
1311 the list of hard-coded chars with escape-glyph face.
1312
89400f1d
SM
13132011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1316
305c07f6
MA
13172011-10-19 Michael Albinus <michael.albinus@gmx.de>
1318
1319 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1320 running process.
1321
13754b54
GM
13222011-10-19 Glenn Morris <rgm@gnu.org>
1323
1324 * vc/vc-bzr.el (vc-bzr-after-dir-status):
1325 Ignore ignored files. (Bug#9726)
1326
06e21633
CY
13272011-10-19 Chong Yidong <cyd@gnu.org>
1328
1329 Doc fix for minor modes, stating that an omitted argument enables
1330 the mode unconditionally when called from Lisp.
1331
1332 * abbrev.el (abbrev-mode):
1333 * allout.el (allout-mode):
1334 * autoinsert.el (auto-insert-mode):
1335 * autoarg.el (autoarg-mode, autoarg-kp-mode):
1336 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1337 (global-auto-revert-mode):
1338 * battery.el (display-battery-mode):
1339 * composite.el (global-auto-composition-mode)
1340 (auto-composition-mode):
1341 * delsel.el (delete-selection-mode):
1342 * desktop.el (desktop-save-mode):
1343 * dired-x.el (dired-omit-mode):
1344 * dirtrack.el (dirtrack-mode):
1345 * doc-view.el (doc-view-minor-mode):
1346 * double.el (double-mode):
1347 * electric.el (electric-indent-mode, electric-pair-mode):
1348 * emacs-lock.el (emacs-lock-mode):
1349 * epa-hook.el (auto-encryption-mode):
1350 * follow.el (follow-mode):
1351 * font-core.el (font-lock-mode):
1352 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1353 * help.el (temp-buffer-resize-mode):
1354 * hilit-chg.el (highlight-changes-mode)
1355 (highlight-changes-visible-mode):
1356 * hi-lock.el (hi-lock-mode):
1357 * hl-line.el (hl-line-mode, global-hl-line-mode):
1358 * icomplete.el (icomplete-mode):
1359 * ido.el (ido-everywhere):
1360 * image-file.el (auto-image-file-mode):
1361 * image-mode.el (image-minor-mode):
1362 * iswitchb.el (iswitchb-mode):
1363 * jka-cmpr-hook.el (auto-compression-mode):
1364 * linum.el (linum-mode):
1365 * longlines.el (longlines-mode):
1366 * master.el (master-mode):
1367 * mb-depth.el (minibuffer-depth-indicate-mode):
1368 * menu-bar.el (menu-bar-mode):
1369 * minibuf-eldef.el (minibuffer-electric-default-mode):
1370 * mouse-sel.el (mouse-sel-mode):
1371 * msb.el (msb-mode):
1372 * mwheel.el (mouse-wheel-mode):
1373 * outline.el (outline-minor-mode):
1374 * paren.el (show-paren-mode):
1375 * recentf.el (recentf-mode):
1376 * reveal.el (reveal-mode, global-reveal-mode):
1377 * rfn-eshadow.el (file-name-shadow-mode):
1378 * ruler-mode.el (ruler-mode):
1379 * savehist.el (savehist-mode):
1380 * scroll-all.el (scroll-all-mode):
1381 * scroll-bar.el (scroll-bar-mode):
1382 * server.el (server-mode):
1383 * shell.el (shell-dirtrack-mode):
1384 * simple.el (auto-fill-mode, transient-mark-mode)
1385 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1386 (line-number-mode, column-number-mode, size-indication-mode)
1387 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1388 * strokes.el (strokes-mode):
1389 * time.el (display-time-mode):
1390 * t-mouse.el (gpm-mouse-mode):
1391 * tool-bar.el (tool-bar-mode):
1392 * tooltip.el (tooltip-mode):
1393 * type-break.el (type-break-mode-line-message-mode)
1394 (type-break-query-mode):
1395 * view.el (view-mode):
1396 * whitespace.el (whitespace-mode, whitespace-newline-mode)
1397 (global-whitespace-mode, global-whitespace-newline-mode):
1398 * xt-mouse.el (xterm-mouse-mode): Doc fix.
1399
a3839de2
SM
1400 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1401 Fix autogenerated docstring.
06e21633 1402
5214e501
JL
14032011-10-19 Juri Linkov <juri@jurta.org>
1404
1405 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1406 by checking environment variables "DESKTOP_SESSION" and
1407 "XDG_CURRENT_DESKTOP". (Bug#9779)
1408
195f8db9
JL
14092011-10-19 Juri Linkov <juri@jurta.org>
1410
1411 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1412 (browse-url-chromium-program, browse-url-chromium-arguments):
1413 New defcustoms.
1414 (browse-url-default-browser): Check for `browse-url-chromium' and
1415 call `browse-url-chromium-program'.
1416 (browse-url-chromium): New command. (Bug#9779)
1417
343a34ff
JB
14182011-10-18 Juanma Barranquero <lekktu@gmail.com>
1419
1420 * facemenu.el (list-colors-duplicates): On Windows, detect more
1421 duplicates by assuming that only colors matching "^System" are
1422 special "system colors". (Bug#9722)
1423
6978a151
SM
14242011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1425
1426 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1427 to distinguish the author from the committer.
1428
6a80b297
MA
14292011-10-18 Michael Albinus <michael.albinus@gmx.de>
1430
1431 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1432
b31a5677
JK
14332011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1434
1435 * international/mule.el (sgml-html-meta-auto-coding-function):
1436 Add support for detecting encoding in HTML5 specified only as
1437 <meta charset="UTF-8">. Implementation just makes http-equiv and
1438 content-type parts from HTML4 encoding string optional. (Bug#9716)
1439
80c6d77f
GM
14402011-10-18 Glenn Morris <rgm@gnu.org>
1441
1442 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1443
08b0fee8
CY
14442011-10-18 Chong Yidong <cyd@gnu.org>
1445
1446 * faces.el (cursor): Doc fix.
1447
67e729a5
CY
14482011-10-17 Chong Yidong <cyd@gnu.org>
1449
1450 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1451
343a34ff 14522011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
1453
1454 * dirtrack.el (dirtrack): Support shell buffers with path
1455 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1456
0bc06380
TZ
14572011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1458
1459 * json.el: Bump version to 1.3 and note change in History.
1460 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1461
8b79f3e0
SM
14622011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1463
5a7c536b
SM
1464 * comint.el (comint-insert-input, comint-send-input)
1465 (comint-get-old-input-default, comint-backward-matching-input)
1466 (comint-next-prompt): Use nil instead of `input' for field property of
1467 past user input (bug#114).
1468
96a8a0df
SM
1469 * minibuffer.el (completion--replace): Inherit surrounding properties
1470 (bug#114).
1471 (minibuffer-complete-and-exit): Use it.
1472
8b79f3e0
SM
1473 * comint.el (comint--table-subvert): Quote the all-completions output
1474 (bug#9160).
1475
b8f7ff0d
MR
14762011-10-17 Martin Rudalics <rudalics@gmx.at>
1477
8b79f3e0 1478 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 1479
b8f7ff0d 1480 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 1481 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
1482 entries and separate them from frame entries.
1483
c235b555
GM
14842011-10-15 Glenn Morris <rgm@gnu.org>
1485
1486 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1487 Doc fixes.
1488
6bbfa6e1
CY
14892011-10-15 Chong Yidong <cyd@stupidchicken.com>
1490
8b79f3e0
SM
1491 * net/network-stream.el (network-stream-open-starttls):
1492 Improve detection of failure due to lack of TLS support.
ec5c990d 1493
6bbfa6e1
CY
1494 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1495 putting the input text in front and in bold.
1496
98488977
SM
14972011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1498
3d1337be
SM
1499 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1500
ee0b45e4
SM
1501 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1502 empty buffer.
1503
98488977
SM
1504 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1505 unread-command-events rather than pushing yet-another event.
1506
186f4720
EZ
15072011-10-14 Eli Zaretskii <eliz@gnu.org>
1508
1509 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1510 the explanation of the possible choices. Make the options passed
1511 to completing-read shorter.
1512
8b7a997c
AM
15132011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1514
1515 * textmodes/flyspell.el (flyspell-large-region): Make sure
1516 extended character mode is used if defined (Bug#1339).
1517
12587bbb
EZ
15182011-10-13 Eli Zaretskii <eliz@gnu.org>
1519
1520 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
1521 character info for LRE, LRO, RLE, and RLO characters by appending
1522 an invisible PDF.
12587bbb 1523
bad41229
SM
15242011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1527 even in case of error; add debug spec; simplify data flow.
1528 (with-timeout-handler): Remove.
1529
28dbc92f
MA
15302011-10-12 Michael Albinus <michael.albinus@gmx.de>
1531
1532 Fix Bug#6019, Bug#9315.
1533
1534 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1535 complete `buffer-file-name', the local file name part could look
1536 remotely (for example on VMS).
1537
1538 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1539 `tramp-run-real-handler'.
1540 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1541 already quoted by '"'.
1542
1543 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1544 Let `file-name-handler-alist' be nil, the local file name part
1545 could look remotely (for example on VMS).
1546
e1b0b23a
SM
15472011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1548
1549 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1550 from here...
1551 (flyspell-post-command-hook): ...to here.
1552
a120bde9
SM
15532011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1554
1555 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1556 if not needed.
1557 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1558 using completion. Protect against "slow" callers.
1559 Remove the "message hack".
1560
7ce7717b
JL
15612011-10-11 Juri Linkov <juri@jurta.org>
1562
1563 * isearch.el (isearch-lazy-highlight-word): New variable.
1564 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1565 Use it. (Bug#9727)
1566
c02ee9d6
GM
15672011-10-11 Glenn Morris <rgm@gnu.org>
1568
1569 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1570 like f90-previous-statement does.
1571
93e616fd 15722011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1573
1f190e73 1574 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
1575 only in interactive use, to avoid error.
1576
af7b6078
SM
15772011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1578
1579 * minibuffer.el (completion-file-name-table): Fix last change,
1580 i.e. ignore normal errors but not the other ones.
1581
0563dae9
MR
15822011-10-10 Martin Rudalics <rudalics@gmx.at>
1583
1584 * window.el (special-display-buffer-names)
1585 (special-display-regexps): Remove some remnants of earlier
1586 changes from doc-strings.
366ca7f3
MR
1587 (quit-windows-on): New function.
1588
1589 * vc/vc.el (vc-revert, vc-rollback):
1590 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1591 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 1592 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 1593
49677495
MR
15942011-10-09 Martin Rudalics <rudalics@gmx.at>
1595
1596 * window.el (frame-auto-hide-function): Add version tag.
1597 (Bug#9699)
1598
56f2d1e1
MA
15992011-10-09 Michael Albinus <michael.albinus@gmx.de>
1600
1601 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1602 condition.
1603
112a6592
LL
16042011-10-09 Leo Liu <sdl.web@gmail.com>
1605
1606 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1607 (Bug#9701)
1608
0812589b
GM
16092011-10-08 Glenn Morris <rgm@gnu.org>
1610
1611 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1612 before the first code statement zero indent. (Bug#9690)
1613
b2b0776e
CY
16142011-10-08 Chong Yidong <cyd@stupidchicken.com>
1615
1616 * simple.el (count-words-region): Always count in the region.
1617 Report the number of lines and characters too.
1618 (count-words): New command, which counts in the buffer if the
1619 region is inactive, as count-words-region used to.
1620 (count-words--message): New function. Handle plurals.
1621 (count-lines-region): Make it an alias for count-words-region.
1622
1623 * bindings.el (esc-map): Replace count-lines-region with
1624 count-words-region.
1625
c557cd6b
MR
16262011-10-08 Martin Rudalics <rudalics@gmx.at>
1627
1628 * window.el (window--delete): Delete dedicated frame
1629 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 1630 (switch-to-buffer): Fix doc-string typo.
c557cd6b 1631
61a57ef4 16322011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1633
1634 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1635
c3833279
CY
16362011-10-07 Chong Yidong <cyd@stupidchicken.com>
1637
1638 * bindings.el ([M-left],[M-right]): Bind to left-word and
1639 right-word respectively.
1640
21ce8245
GM
16412011-10-07 Glenn Morris <rgm@gnu.org>
1642
1643 * cus-start.el (debug-on-quit): Fix custom type.
1644
6d823bb2
LMI
16452011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1646
0181e193
LMI
1647 * subr.el (define-key-after): Clarify that the function is not
1648 useful for non-menu keymaps.
1649
6d823bb2
LMI
1650 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1651
8e3459ce 16522011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1653
21ce8245 1654 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 1655 in current minibuffer (Fix bug with recursive minibuffers).
1656
a1c2d21e
CY
16572011-10-06 Chong Yidong <cyd@stupidchicken.com>
1658
1659 * progmodes/gdb-mi.el (gdb): Doc fix.
1660
5a4cf282
MR
16612011-10-05 Martin Rudalics <rudalics@gmx.at>
1662
1663 * window.el (frame-auto-hide-function): New option replacing
1664 frame-auto-delete. Suggested by Stefan Monnier.
1665 (window--delete): Call frame-auto-hide-function instead of
1666 investigating frame-auto-delete.
c96111ea
MR
1667 (window-point-1, set-window-point-1): New functions.
1668 (window-in-direction, record-window-buffer, window-state-get-1)
1669 (display-buffer-record-window): Use window-point-1 instead of
1670 window-point.
1671 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 1672
9854542e
SM
16732011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1676
8943cfb0
GM
16772011-10-05 Glenn Morris <rgm@gnu.org>
1678
1679 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1680 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1681
647ab967
LL
16822011-10-05 Leo Liu <sdl.web@gmail.com>
1683
1684 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1685 works with buffer object.
1686
3ddfbced
SM
16872011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1688
1689 * mpc.el (mpc-tool-bar-map): Add labels.
1690
bdfa5dd2
GM
16912011-10-04 Glenn Morris <rgm@gnu.org>
1692
1693 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1694
0e2070b5
MR
16952011-10-04 Martin Rudalics <rudalics@gmx.at>
1696
1697 * window.el (window--delete): New function.
1698 (frame-auto-delete): Resuscitate option.
1699 (bury-buffer, replace-buffer-in-windows)
1700 (quit-window): Rewrite using window--delete.
1701 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1702 Pass display-buffer-mark-dedicated to window--display-buffer-2
1703 (Bug#9639).
1704
3dc61a09
SM
17052011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1706
915a9b64
SM
1707 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1708 returns a list (bug#9554). Add remote file name completion.
1709 * comint.el (comint--table-subvert): Curry and get quote&unquote
1710 functions as arguments.
1711 (comint--complete-file-name-data): Adjust call accordingly.
1712 * pcomplete.el (pcomplete--table-subvert): Remove.
1713 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1714
3dc61a09
SM
1715 * minibuffer.el (completion-table-case-fold): Use currying.
1716 (completion--styles-type, completion--cycling-threshold-type):
1717 New constants.
1718 (completion-styles, completion-category-overrides)
1719 (completion-cycle-threshold): Use them.
1720 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1721 completion-table-case-fold.
1722
8ea0a993
SB
17232011-10-03 Stephen Berman <stephen.berman@gmx.net>
1724
1725 * minibuffer.el (completion-category-overrides): Fix type of styles
1726 and add more user friendly tags (bug#9660).
1727
8c24b7f6
SM
17282011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1729
1730 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1731 (mule-input-method-string): New widget.
1732 (default-input-method, language-info-custom-alist): Use it.
1733
428fe61a
SM
17342011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1735
32c1fffd
SM
1736 * pcomplete.el: Require comint.
1737 (pcomplete--common-suffix): Remove.
1738 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1739 (pcomplete--table-subvert): Sync with comint--table-subvert.
1740 (pcomplete--entries): Use comint-completion-file-name-table.
1741 * comint.el (comint-unquote-filename): Simplify.
1742 (comint-completion-file-name-table): New function (bug#9616).
1743 (comint--complete-file-name-data): Use it.
1744
428fe61a
SM
1745 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1746 (pcmpl-gnu-tar-buffer): Remove.
1747 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
1748 around. Make sure pcomplete-suffix-list is only changed temporarily.
1749 Don't look inside the tar's file if it's too large.
428fe61a 1750
04c52e2f
CY
17512011-10-01 Chong Yidong <cyd@stupidchicken.com>
1752
ce3cefcc
CY
1753 * cus-edit.el (custom-mode-map):
1754 * epa.el (epa-key-list-mode-map):
1755 * man.el (Man-mode-map):
1756 * startup.el (splash-screen-keymap):
1757 * simple.el (special-mode-map): Use scroll-up-command and
1758 scroll-down-command.
1759
1760 * progmodes/idlw-help.el (idlwave-help-mode-map):
1761 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1762 * net/newst-plainview.el (newsticker-mode-map):
1763 * emulation/ws-mode.el (wordstar-mode-map):
1764 * emulation/vi.el (vi-com-map):
1765 * calc/calc-graph.el (calc-graph-show-dumb):
1766 * term/sun.el (terminal-init-sun):
1767 * term/ns-win.el (global-map):
1768 * progmodes/grep.el (grep-mode-map):
1769 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1770 * mail/rmail.el (rmail-mode-map):
1771 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1772
04c52e2f
CY
1773 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1774 custom-safe-themes as special.
1775
79adf8c8
JD
17762011-10-01 Julien Danjou <julien@danjou.info>
1777
1778 * notifications.el (notifications-notify): Fix docstring.
1779
63bd50d3
PS
17802011-10-01 Per Starbäck <per@starback.se>
1781
1782 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1783
199e4c7e
MR
17842011-09-30 Martin Rudalics <rudalics@gmx.at>
1785
1786 * startup.el (command-line-1): Fix last fix by inserting
1787 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 1788 (Bug#9605) and (Bug#9636)
199e4c7e 1789
fe5f08dd
EZ
17902011-09-29 Eli Zaretskii <eliz@gnu.org>
1791
1792 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1793 window is hscrolled, move by logical lines. (Bug#9607)
1794 (line-move-visual): Update the doc string to the above effect.
1795
b5516bbd
MR
17962011-09-29 Martin Rudalics <rudalics@gmx.at>
1797
ccee00c0
MR
1798 * window.el (display-buffer-record-window): When WINDOW is the
1799 selected window use `point' instead of `window-point'. (Bug#9626)
1800
b5516bbd
MR
1801 * startup.el (command-line-1): Use insert-before-markers when
1802 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1803
b5516bbd
MR
1804 * help.el (help-window): Remove variable.
1805
52aa0014
GM
18062011-09-29 Glenn Morris <rgm@gnu.org>
1807
1808 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1809
df9a7357
JB
18102011-09-29 Juanma Barranquero <lekktu@gmail.com>
1811
1812 * descr-text.el (describe-char-categories): Accept category
1813 descriptions more than one line long.
1814
a8406c20
SM
18152011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1816
88d9610c
SM
1817 * simple.el (delete-trailing-whitespace): Fix last change.
1818
a5daf810
SM
1819 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1820 Don't confuse "y => 3" as the beginning of a `y' operation.
1821
a8406c20
SM
1822 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1823 object has more than 4 slots (bug#9613).
1824
a239d4e9
JB
18252011-09-28 Juanma Barranquero <lekktu@gmail.com>
1826
1827 * subr.el (with-output-to-temp-buffer):
1828 * net/quickurl.el (quickurl, quickurl-browse-url):
1829 Fix typos in docstrings.
1830
693fbdb6
EZ
18312011-09-27 Eli Zaretskii <eliz@gnu.org>
1832
1833 * minibuffer.el (completion-styles)
1834 (completion-category-overrides): Cross reference each other in doc
1835 strings.
1836
8b457e28
GM
18372011-09-27 Glenn Morris <rgm@gnu.org>
1838
1839 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1840 to split-string. (Bug#9606)
1841
85a16208
LMI
18422011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1843
1844 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1845 (bug#9615).
1846
502f9ebd
CY
18472011-09-27 Chong Yidong <cyd@stupidchicken.com>
1848
1849 * emacs-lisp/package.el (list-packages): Fix echo area message.
1850
7690bdea
LL
18512011-09-27 Leo Liu <sdl.web@gmail.com>
1852
1853 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1854
e2ee6f30
MA
18552011-09-25 Michael Albinus <michael.albinus@gmx.de>
1856
1857 * net/dbus.el (dbus-unregister-object): Don't release services for
1858 registered signals. (Bug#9581)
1859
f3f98342
TZ
18602011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1861
1862 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1863 function that picks between cfengine 2 and 3 support
1864 automatically. Update docs accordingly.
1865
dd7aa8dd
KH
18662011-09-22 Kenichi Handa <handa@m17n.org>
1867
1868 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1869 ZERO.
1870 (indian-itrans-v5-table-for-tamil): New variable.
1871 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1872
3f2b07f8
KM
18732011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1874
1875 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1876 that's true if the current command involved collapsing of text.
1877 It's reset to false at the beginning of the next command.
1878 (allout-post-command-business): Move the cursor to the beginning
1879 of entry if the cursor is hidden and collapsing activity just
1880 happened.
1881
371d6a61
CY
18822011-09-24 Chong Yidong <cyd@stupidchicken.com>
1883
1884 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1885 tracking (Bug#9541).
1886
2ac2721a
UJ
18872011-09-24 Ulf Jasper <ulf.jasper@web.de>
1888
1889 * net/newst-reader.el (newsticker-html-renderer)
1890 (newsticker-show-news): Automatically
343a34ff
JB
1891 load html rendering package if newsticker-html-renderer is set.
1892 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1893 let-bound" and the error "Symbol's value as variable is void:
1894 w3m-fill-column".
1895
fac7ae53
MA
18962011-09-24 Michael Albinus <michael.albinus@gmx.de>
1897
1898 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1899 Release services only if they are defined. (Bug#9581)
1900
e08b633b
RS
19012011-09-23 Richard Stallman <rms@gnu.org>
1902
e488d29c
RS
1903 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1904 distinguish start of paragraph from start of its text.
1905
19c38752
RS
1906 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1907
e08b633b
RS
1908 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1909 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1910 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1911
0a39f27e
AS
19122011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1913
1914 * international/mule-diag.el (mule-diag): Insert a newline after
1915 each fontset description.
1916
db4e950d
SM
19172011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1918
1919 * simple.el (delete-trailing-whitespace):
1920 Document last change; simplify.
1921
eca3f3ea
PW
19222011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1923
d68e189a
PW
1924 * simple.el (delete-trailing-whitespace): Also delete
1925 extra newlines at the end of the buffer.
1926
eca3f3ea
PW
1927 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1928 (picture-newline): Use forward-line so as to ignore fields.
1929
01c157cc
SM
19302011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1931
1932 * subr.el (with-wrapper-hook): Fix edebug spec.
1933
022de23e
LMI
19342011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1935
1936 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1937 (bug#4538).
1938
91683089
MA
19392011-09-23 Michael Albinus <michael.albinus@gmx.de>
1940
eca3f3ea
PW
1941 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1942 Fix nasty bug using wrong cached values.
91683089 1943
5bdd6fa4
AM
19442011-09-23 Alan Mackenzie <acm@muc.de>
1945
1946 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1947
97adfb97
CY
19482011-09-23 Chong Yidong <cyd@stupidchicken.com>
1949
1950 * window.el (pop-to-buffer): Ensure right window is selected if we
1951 chose another frame.
1952
d4ef2b50
EZ
19532011-09-22 Eli Zaretskii <eliz@gnu.org>
1954
1955 * simple.el (what-cursor-position): Use get-char-property-change
1956 and next-single-char-property-change, to be able to show display
1957 properties that come from overlays as well as text properties.
1958
72258fe5
CY
19592011-09-22 Chong Yidong <cyd@stupidchicken.com>
1960
1961 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1962
1963 * cmuscheme.el (run-scheme, switch-to-scheme):
1964 * cus-edit.el (customize-group, custom-buffer-create)
1965 (customize-browse):
1966 * info.el (info):
1967 * shell.el (shell):
1968 * mail/sendmail.el (mail):
1969 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1970
8f098516
RS
19712011-09-22 Richard Stallman <rms@gnu.org>
1972
1973 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1974 move back only to line beg, don't move back over blank lines.
1975
e74f1bb6
MA
19762011-09-22 Michael Albinus <michael.albinus@gmx.de>
1977
1978 * files.el (copy-directory): Set directory attributes only in case
1979 they could be retrieved from the source directory. (Bug#9565)
1980
bfeef8b6
DK
19812011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1982
1983 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1984 (hs-find-block-beginning, hs-hide-level-recursive):
1985 Ignore strings as well as comments. (Bug#9502)
1986
7e423bb8
AS
19872011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1988
1989 * progmodes/sql.el (sql-comint-postgres):
1990 Convert port number to a string. (Bug#9566)
1991
b4d72fcf
MR
19922011-09-22 Martin Rudalics <rudalics@gmx.at>
1993
1994 * window.el (quit-window): Undedicate window when switching to
1995 previous buffer. Reported by Thierry Volpiatto
1996 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1997 (special-display-popup-frame): When popping up a new frame reset
1998 its previous buffers to nil. Simplify code.
b4d72fcf 1999
a7b88dc6
MA
20002011-09-21 Michael Albinus <michael.albinus@gmx.de>
2001
2002 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2003 and process filter, as done also in `shell-command'.
2004
cf4eacfd
MR
20052011-09-21 Martin Rudalics <rudalics@gmx.at>
2006
eca3f3ea
PW
2007 * window.el (set-window-buffer-start-and-point):
2008 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
2009 Volpiatto <thierry.volpiatto@gmail.com>.
2010 (quit-window): Reword doc-string. Handle new format of
2011 quit-restore parameter. Don't delete window if it has a
2012 previous buffer we can show instead of the present one.
2013 (display-buffer-record-window): Rewrite using a new format for
2014 the quit-restore window parameter
2015 (special-display-popup-frame, display-buffer-same-window)
2016 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2017 (display-buffer-pop-up-window, display-buffer-use-some-window):
2018 Adapt symbol passed to display-buffer-record-window.
2019 * help.el (help-window-setup): Handle new format of quit-restore
2020 parameter.
2021
8d28cb95
SM
20222011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2023
94ab793f
SM
2024 * faces.el (face-list): Fix docstring (bug#9564).
2025
8d28cb95
SM
2026 * window.el (display-buffer--action-function-custom-type):
2027 Don't include internal functions in the Custom interface.
2028
3820edeb
JL
20292011-09-20 Juri Linkov <juri@jurta.org>
2030
2031 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2032 (Info-forward-node, Info-backward-node, Info-next-preorder)
2033 (Info-last-preorder): Use it. (Bug#9528)
2034
5147931d
JL
20352011-09-20 Juri Linkov <juri@jurta.org>
2036
2037 * info.el (Info-last-preorder): Visit last menu item only when
2038 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2039
cf499a1a
JD
20402011-09-20 Julien Danjou <julien@danjou.info>
2041
2042 * password-cache.el (password-cache-remove): Remove entries even if the
2043 value is nil, so that password with a nil value (negative caching) is
2044 possible to invalidate.
2045
f84e2fe2
LM
20462011-09-20 Lawrence Mitchell <wence@gmx.li>
2047
2048 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2049 all whitespace around breakpoint. (Bug#9553)
2050 (f90-find-breakpoint): Only break at whitespace inside a comment.
2051
78054a46
SM
20522011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2053
2054 * minibuffer.el (completion-file-name-table): Keep track of errors.
2055 (completion-table-with-predicate): Handle the case where pred1 is nil.
2056 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2057
345083b2
SM
20582011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2059
e24e27be
SM
2060 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2061 (debugger-return-value): Signal an error if the debugging context does
2062 not await any return value.
2063
345083b2
SM
2064 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2065 * image-mode.el (image-toggle-display-text)
2066 (image-toggle-display-image): Stay away from evil `intangible'.
2067
08d355e3
LL
20682011-09-19 Leo Liu <sdl.web@gmail.com>
2069
2070 * replace.el (occur-revert-arguments): Make it permanent-local.
2071 (occur-mode): Don't call font-lock-defontify.
2072
f01da43f
CY
20732011-09-19 Chong Yidong <cyd@stupidchicken.com>
2074
2075 * net/ldap.el (ldap-search-internal): Don't push empty search
2076 result (Bug#9508).
2077
b6072fa6
SM
20782011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2079
2080 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2081
443d6696
MA
20822011-09-19 Michael Albinus <michael.albinus@gmx.de>
2083
2084 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2085 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2086
7cc6e154
JL
20872011-09-18 Juri Linkov <juri@jurta.org>
2088
2089 * buff-menu.el (Buffer-menu-mode-map):
2090 * dired.el (dired-mode-map):
2091 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2092 (lisp-interaction-mode-map):
2093 * emacs-lisp/package.el (package-menu-mode-map):
2094 * epa.el (epa-key-list-mode-map):
2095 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2096 (menu-bar-options-menu):
2097 * outline.el (outline-mode-menu-bar-map):
2098 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2099 * vc/vc-dir.el (vc-dir-menu-map):
2100 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2101 Capitalize non-function content words in menu item strings.
2102
2103 * dired.el (dired-mode-map): Add menu item for
2104 `image-dired-dired-toggle-marked-thumbs'.
2105
80302a81
JL
21062011-09-18 Juri Linkov <juri@jurta.org>
2107
2108 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2109 to `isearch-case-fold-search' and restore its original value
2110 after the `isearch-mode' call.
2111
46c5cf66
JL
21122011-09-18 Juri Linkov <juri@jurta.org>
2113
2114 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2115 because `zgrep' returns 1 for successful matches (bug#9226).
2116
d18b513b
JL
21172011-09-18 Juri Linkov <juri@jurta.org>
2118
2119 * info.el (Info-extract-menu-node-name): Check the second match
2120 for empty string (second test-case of bug#9528).
2121 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2122 intermediate nodes to the history (first test-case of bug#9528).
2123
72753f87
JL
21242011-09-18 Juri Linkov <juri@jurta.org>
2125
2126 * info.el (Info-mode-syntax-table): New variable.
2127 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
2128
c9384295
JL
21292011-09-18 Juri Linkov <juri@jurta.org>
2130
2131 * info.el (Info-file-supports-index-cookies): Increment
2132 line-beginning-position's arg from 3 to 4 because makeinfo outputs
2133 one more line for long file names (bug#4142).
2134
d473dce8
CY
21352011-09-18 Chong Yidong <cyd@stupidchicken.com>
2136
2137 * newcomment.el (comment-normalize-vars): If prompting for
2138 comment-start, set comment-start-skip too (Bug#8424).
2139
2176854d
JB
21402011-09-18 Johan Bockgård <bojohan@gnu.org>
2141
2142 * icomplete.el: Fix previous fix of Bug#5849.
2143 (icomplete-mode): Don't set completion-show-inline-help.
2144 (icomplete-minibuffer-setup): Set completion-show-inline-help
2145 locally during icompletion.
2146
3aace4e4
CY
21472011-09-18 Chong Yidong <cyd@stupidchicken.com>
2148
c940224f
CY
2149 * woman.el (woman2-process-escapes): Don't delete unrecognized
2150 escapes (Bug#7843).
2151
3aace4e4
CY
2152 * files.el (inhibit-first-line-modes-regexps): Add image files.
2153 (hack-local-variables-prop-line): Return nil for malformed
2154 prop-lines (Bug#9044).
2155
710dec63
MA
21562011-09-18 Michael Albinus <michael.albinus@gmx.de>
2157
2158 * net/tramp.el (top): Don't require 'shell.
2159 (tramp-methods): Fix docstring.
2160 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
2161 Return complete remote file name. Handle "smb" case.
2162 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
2163 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2164
2165 * net/tramp-compat.el (top): Require 'shell.
2166
2167 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2168 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2169 `tramp-current-host'.
2170 (tramp-get-remote-tmpdir): Remove.
2171
2172 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2173 `tramp-tmpdir' entries.
2174 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2175 (tramp-smb-handle-file-attributes): Ignore errors.
2176 (tramp-smb-wait-for-output): Check also for process end.
2177
5d5ac8ec
LMI
21782011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2179
2180 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2181 when sending QUIT (bug#9312).
2182
8c0f49f0
CY
21832011-09-17 Chong Yidong <cyd@stupidchicken.com>
2184
2185 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2186 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2187 occur-mode-display-occurrence.
2188 (occur-edit-mode): Add usage message.
2189 (occur-cease-edit): New command.
2190 (occur-after-change-function): Use text properties to find the
2191 position of the prefix text.
2192 (occur-engine): Set stickiness of prefix text properties.
2193
8f1383f7
GM
21942011-09-17 Glenn Morris <rgm@gnu.org>
2195
2196 * progmodes/etags.el (complete-tag):
2197 Fix call to completion-in-region. (Bug#9526)
2198
744ba0e3
JL
21992011-09-17 Juri Linkov <juri@jurta.org>
2200
2201 * textmodes/ispell.el (ispell-word): Add to the error message
2202 the word, ispell program name and current dictionary (bug#9121).
2203 (ispell-tex-arg-end): Capitalize "error" in the error message.
2204
d9bbf400
AS
22052011-09-17 Andreas Schwab <schwab@linux-m68k.org>
2206
2207 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
2208 check. (Bug#4251)
2209
8da11505
JL
22102011-09-17 Juri Linkov <juri@jurta.org>
2211
2212 * window.el (window-safe-min-height, window-safe-min-width):
2213 Fix typos (followup to bug#9522).
2214
a91adc7e
SJ
22152011-09-17 Sven Joachim <svenjoac@gmx.de>
2216
2217 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
2218
064f328a
EZ
22192011-09-16 Eli Zaretskii <eliz@gnu.org>
2220
2221 * simple.el (line-move): If goal-column is set, move by logical
2222 lines, not by display lines. (Bug#971)
2223 (next-line, previous-line, goal-column, line-move-visual): Doc fix
2224 to reflect the above change.
2225
e69df516
SM
22262011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2227
2228 * image.el (imagemagick-register-types): Use regexp-opt.
2229
cbb0f9ab
CY
22302011-09-15 Chong Yidong <cyd@stupidchicken.com>
2231
2232 * window.el (display-buffer-base-action): Rename from
2233 display-buffer-default-action. Make default value empty.
2234 (display-buffer-overriding-action): Convert to defvar.
2235 (display-buffer-fallback-action): New var.
2236
25322144
CY
22372011-09-15 Chong Yidong <cyd@stupidchicken.com>
2238
2239 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
2240 declaration.
2241 (package--add-to-archive-contents): If there is a duplicate entry
2242 with an older version, remove it.
2243 (package-menu-mark-delete, package-menu-mark-install)
2244 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
2245 (package-menu-mark-obsolete-for-deletion):
2246 Use package-menu-get-status instead of a regexp search.
25322144
CY
2247 (package-menu-get-status): Use tabulated-list-entry.
2248 (package-menu-mark-upgrades): New command.
d770725a 2249 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
2250 (package-menu-execute): Do installation before deletion.
2251 (package-menu-refresh, package-menu-execute): Use derived-mode-p
2252 instead of checking major-mode.
2253 (package-menu--find-upgrades): New function.
2254
7520339c
LMI
22552011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2256
2257 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2258 passwords in the log buffer.
65a046c4
LMI
2259 (smtpmail-process-filter): Update the process marker so that the
2260 "broken by peer" status message is inserted in the right place.
7520339c 2261
d3c30954
SM
22622011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2263
3fe48822
SM
2264 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2265 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2266 bibtex-completion-at-point-function.
2267 (bibtex-completion-at-point-function): Use them.
2268
1b8b3954
SM
2269 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2270
d3c30954
SM
2271 * mpc.el (mpc-constraints-tag-lookup): New function.
2272 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2273 also to browser "album|playlist".
2274
72779976
JL
22752011-09-14 Juri Linkov <juri@jurta.org>
2276
2277 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
2278 (isearch-edit-string): Use length of `isearch-string' when
2279 `isearch-fail-pos' returns nil.
2280 (isearch-message): Remove duplicate code and call
2281 `isearch-fail-pos' with arg `t'.
2282
a0bf2bcd
CY
22832011-09-14 Chong Yidong <cyd@stupidchicken.com>
2284
17bb0a2d
CY
2285 * replace.el (occur-mode-goto-occurrence): Don't force using other
2286 window (Bug#9499).
2287
a0bf2bcd
CY
2288 * dired-aux.el (dired-do-chmod): Don't provide initial input.
2289
f678e0b6
MR
22902011-09-14 Martin Rudalics <rudalics@gmx.at>
2291
2292 * window.el (display-buffer-window): Remove.
2293 (display-buffer-record-window): Use help-setup window parameter
2294 instead of variable display-buffer-window.
2295 (display-buffer-function, special-display-buffer-names)
2296 (special-display-function): Mention help-setup parameter instead
2297 of display-buffer-window in doc-string.
d3c30954
SM
2298 * help.el (help-window-setup): New argument help-window.
2299 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
2300 Reword some messages.
2301 (with-help-window): Pass window used for displaying the buffer
2302 to help-window-setup. Don't set display-buffer-window.
2303
8e39b2e8
GM
23042011-09-13 Glenn Morris <rgm@gnu.org>
2305
2306 * emacs-lisp/debug.el (debugger-make-xrefs):
2307 Preserve point. (Bug#9462)
2308
85e9c04b
CY
23092011-09-13 Chong Yidong <cyd@stupidchicken.com>
2310
2311 * window.el (window-deletable-p): Use next-frame.
2312
1b36ed6a
MR
23132011-09-13 Martin Rudalics <rudalics@gmx.at>
2314
2315 * window.el (window-auto-delete): Remove.
2316 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 2317 dedication and previous buffers.
1b36ed6a
MR
2318 (switch-to-prev-buffer): Don't delete window.
2319 (delete-windows-on): Delete a window's frame if and only if the
2320 window is dedicated.
2321 (replace-buffer-in-windows): Delete buffer's window or frame if
2322 and only if window is dedicated.
2323 (quit-window): Handle quit-restore as before last change.
4d61f28d 2324 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 2325
ef8ef9fb
CY
23262011-09-13 Chong Yidong <cyd@stupidchicken.com>
2327
2328 * window.el (window-deletable-p): Never delete the last frame on a
2329 given terminal.
2330
b2cba41e
GM
23312011-09-13 Glenn Morris <rgm@gnu.org>
2332
2333 * help.el (describe-key-briefly): Copy previous standard-output change.
2334
51553db6 23352011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
2336
2337 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
2338
b7556719
GM
23392011-09-13 Glenn Morris <rgm@gnu.org>
2340
2341 * emacs-lisp/lisp-mode.el (lisp-indent-function):
2342 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2343
64b51947
CY
23442011-09-12 Chong Yidong <cyd@stupidchicken.com>
2345
2346 * dired-aux.el (dired-mark-read-string): Don't return default
2347 value on empty input (Bug#9361).
2348 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2349 Omit initial minibuffer contents.
2350 (dired-do-chmod): Signal an error on empty input.
2351 (dired-mark-read-string): Don't return default on empty input.
2352
2353 * files.el (file-modes-symbolic-to-number): Doc fix.
2354
393a301e
SM
23552011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2356
2357 * international/mule-cmds.el (ucs-completions): Remove.
2358 (read-char-by-name): Use complete-with-action instead; add metadata.
2359
fa5660f9
CY
23602011-09-11 Chong Yidong <cyd@stupidchicken.com>
2361
2362 * window.el (display-buffer--action-function-custom-type)
2363 (display-buffer--action-custom-type): New vars.
2364 (display-buffer-alist, display-buffer-default-action)
2365 (display-buffer-overriding-action): Add defcustom types.
2366
4a592f66
CY
2367 * frame.el (delete-other-frames): Doc fix (Bug#276).
2368
73d56dbd
LMI
23692011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2370
2371 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2372
37ac18a3
CY
23732011-09-11 Chong Yidong <cyd@stupidchicken.com>
2374
2375 Change modes that used same-window-* vars to use switch-to-buffer.
2376
2377 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2378 Use switch-to-buffer.
2379
2380 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
2381 (customize-browse, custom-buffer-create-other-window):
2382 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
2383
2384 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2385 (Info-prev, Info-up, Info-speedbar-goto-node)
2386 (info-display-manual): Use switch-to-buffer.
2387 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2388
2389 * mail/sendmail.el (mail): Use switch-to-buffer.
2390 (mail-recover): Use switch-to-buffer-other-window.
2391
2392 * cmuscheme.el (run-scheme, switch-to-scheme):
2393 * ielm.el (ielm):
2394 * shell.el (shell):
2395 * net/rlogin.el (rlogin):
2396 * net/telnet.el (telnet, rsh):
2397 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2398
10195bd6
AS
23992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2400
2401 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2402
b322f63a
LMI
24032011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2404
39d7fed6
LMI
2405 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2406 so don't mention it (bug#9301).
ba5a81f1 2407 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 2408
ee0e9f11
LMI
2409 * faces.el (face-spec-set-match-display): Make `(type graphic)'
2410 match `x', `w32' and `ns', like the manual says (bug#9029).
2411
0b1c89c1 2412 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
2413 (process-kill-buffer-query-function): Mention the buffer name in
2414 the query.
0b1c89c1 2415
77549ea8
LMI
2416 * image-mode.el (image-next-line): The line parameter is mandatory
2417 (bug#9258).
2418
803ef892
LMI
2419 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2420 which can be useful (bug#9301).
2421
12980837
LMI
2422 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2423
91054f8f
LMI
2424 * subr.el (match-string): Mention that the current buffer should
2425 be the same as the search was done in (bug#9282).
2426
b322f63a
LMI
2427 * facemenu.el: Disable the remove-* commands if the mark isn't
2428 active (bug#9162).
2429
3199b96f
CY
24302011-09-10 Chong Yidong <cyd@stupidchicken.com>
2431
2432 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2433 of display-buffer.
2434 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2435
2436 * replace.el (occur-mode-goto-occurrence)
2437 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2438 and display-buffer.
2439
2440 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2441 display-buffer.
2442
2443 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2444 special-display and same-window variables.
2445 (mail-other-window): Use switch-to-buffer-other-window.
2446 (mail-other-frame): USe switch-to-buffer-other-frame.
2447
393a301e
SM
2448 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2449 Use display-buffer-other-frame.
3199b96f
CY
2450 (gdb-display-gdb-buffer): Use pop-to-buffer.
2451
2452 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2453
2454 * progmodes/python.el: Don't set same-window-buffer-names.
2455
2456 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2457
2458 * window.el (display-buffer-alist): Add *Python*.
2459
8319e0bf
CY
24602011-09-10 Chong Yidong <cyd@stupidchicken.com>
2461
2462 * window.el (display-buffer-alist): Add entry for buffers
2463 previously handled same-window-*.
2464 (display-buffer-alist, display-buffer-default-action)
2465 (display-buffer-overriding-action): Mark as risky.
2466 (display-buffer-alist): Document action function changes.
2467 (display-buffer--same-window-action)
2468 (display-buffer--other-frame-action): New variables.
2469 (switch-to-buffer, display-buffer-other-frame): Use them.
2470 (display-buffer): Rename reuse-frame entry to reusable-frames.
2471 (display-buffer-reuse-selected-window): Function deleted.
2472 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2473 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2474 (display-buffer-special): New function.
2475 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2476 display-buffer-reuse-or-pop-window. Split off special-display
2477 part into display-buffer-special.
2478 (display-buffer-use-some-window): Don't perform any special
2479 pop-up-frames handling.
2480 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 2481 (display-buffer--maybe-same-window): Rename from
0d3ff375 2482 display-buffer-maybe-same-window.
8319e0bf 2483
919a69aa
CY
2484 * info.el: Don't set same-window-regexps.
2485 (info-setup): New function.
2486 (info-other-window, info): Call it.
2487
2488 * cus-edit.el: Don't set same-window-regexps.
2489 (customize-group): New argument.
2490 (customize-group-other-window): Use it.
2491 (customize-face, customize-face-other-window): Likewise.
2492 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2493
8319e0bf
CY
2494 * net/rlogin.el:
2495 * net/telnet.el:
2496 * progmodes/gud.el: Don't set same-window-regexps.
2497
2498 * cmuscheme.el:
2499 * ielm.el:
2500 * shell.el:
2501 * mail/sendmail.el:
2502 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2503
25173000
JL
25042011-09-10 Juri Linkov <juri@jurta.org>
2505
2506 * isearch.el (isearch-edit-string): Remove obsolete mention of
2507 `C-w' (`isearch-yank-word-or-char') from docstring.
2508 (isearch-query-replace): Fix typo in docstring (bug#9466).
2509
056e44ef
JL
25102011-09-10 Juri Linkov <juri@jurta.org>
2511
2512 * paren.el (show-paren-function): Don't show escaped parens.
2513 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2514
c3760c17
EZ
25152011-09-10 Eli Zaretskii <eliz@gnu.org>
2516
2517 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2518 (mm-default-file-encoding): Remove autoload forms, they are
2519 replaced with autoload cookies in mml.el and mm-encode.el.
2520 (mail-add-attachment): New command.
2521 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2522 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2523 the doc string.
2524 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2525
fece895e
RT
25262011-09-10 Reuben Thomas <rrt@sc3d.org>
2527
e69df516
SM
2528 * simple.el (count-words-region): Use buffer if there's no region
2529 (bug#9429).
fece895e 2530
5e68ce4a
JL
25312011-09-09 Juri Linkov <juri@jurta.org>
2532
2533 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2534 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2535 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2536
0a6b9622
AM
25372011-09-09 Alan Mackenzie <acm@muc.de>
2538
2539 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2540 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2541
14a29deb
EZ
25422011-09-09 Eli Zaretskii <eliz@gnu.org>
2543
2544 Fix for Savannah bug#9392.
2545 * simple.el (mail-encode-mml): New defvar.
2546
2547 * mail/rmail.el (mail-encode-mml): Add a defvar.
2548 (rmail-enable-mime-composing): Default to t.
2549 (rmail-forward): Use MIME method of forwarding only if both
2550 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2551 Set mail-encode-mml non-nil if the MIME method was used.
2552
2553 * mail/sendmail.el (mml-to-mime): Add autoload form.
2554 (mail-encode-mml): Add a defvar.
2555 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2556 to nil.
2557 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2558 message through mml-to-mime, and reset mail-encode-mml to nil.
2559
28c45130
GM
25602011-09-09 Glenn Morris <rgm@gnu.org>
2561
2562 * woman.el (woman-if-body): When processing an .el block,
2563 do not delete the next .el block as well. (Bug#9447)
69f4b618 2564 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 2565
9b1c252e
MR
25662011-09-08 Martin Rudalics <rudalics@gmx.at>
2567
2568 * window.el (window-deletable-p): Make sure window is live before
2569 invoking window-prev-buffers.
2570
567457e3
LL
25712011-09-08 Leo Liu <sdl.web@gmail.com>
2572
2573 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2574
97f05794
JL
25752011-09-08 Juri Linkov <juri@jurta.org>
2576
2577 * progmodes/compile.el (compilation-environment): Make it
2578 a defcustom (bug#8340).
2579
8b0874b5
MR
25802011-09-08 Martin Rudalics <rudalics@gmx.at>
2581
2582 * window.el (frame-auto-delete): Rename to window-auto-delete.
2583 Make it control auto-deletion of windows and/or frames.
2584 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 2585 for deleting window/frame. (Bug#9419)
8b0874b5
MR
2586 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2587 Rewrite handling of case when window/frame can be deleted.
2588 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 2589 argument t. (Bug#9456)
8b0874b5 2590
4feb6e73
CY
25912011-09-07 Chong Yidong <cyd@stupidchicken.com>
2592
2593 * help-mode.el (help-mode): Restore autoload.
2594
91ab9c13
JL
25952011-09-07 Juri Linkov <juri@jurta.org>
2596
2597 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2598 `compilation-environment'. Set buffer-local
2599 `compilation-environment' to `thisenv' later after (funcall mode).
2600 (Bug#8340)
2601
2602 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2603 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2604 instead of replacing its value. (Bug#8340)
2605
0527e251
JL
26062011-09-07 Juri Linkov <juri@jurta.org>
2607
2608 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2609 based on text properties put by `grep-filter' instead of matching
2610 escape sequences.
2611 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2612 to the value of `grep-error-screen-columns' (bug#9438).
2613
249f792c
JL
26142011-09-07 Juri Linkov <juri@jurta.org>
2615
2616 * simple.el (next-error-highlight, next-error-highlight-no-select):
2617 Doc fix (bug#9432).
2618
ff7271b9
OT
26192011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2620
2621 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2622 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2623
183fc730
LL
26242011-09-07 Leo Liu <sdl.web@gmail.com>
2625
2626 * net/rcirc.el (rcirc-mode): Conditionally initialize
2627 rcirc-input-ring.
2628
77694924
SM
26292011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2630
2631 * emacs-lisp/find-func.el (find-function-C-source): Only set
2632 find-function-C-source-directory after checking that we found a source
2633 file there (bug#9440).
2634
d809b8eb
AM
26352011-09-06 Alan Mackenzie <acm@muc.de>
2636
2637 * isearch.el (isearch-other-meta-char): Wherever a key list is
2638 unread, "unread" the prefix arg, too. This fixes bug #8901.
2639
453de99f
OG
26402011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2641
2642 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2643
90439906
JL
26442011-09-05 Juri Linkov <juri@jurta.org>
2645
2646 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2647
f62bd846
JL
26482011-09-05 Juri Linkov <juri@jurta.org>
2649
2650 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2651 keeping point where processing of grep matches begins, and
2652 continue to delete remaining escape sequences from the same point.
2653 (grep-filter): Make leading zero optional in "0?1;31m" because
2654 git-grep emits "\033[1;31m" escape sequences unlike expected
2655 "\033[01;31m" as GNU Grep does (bug#9408).
2656 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2657
045820ec
JL
26582011-09-05 Juri Linkov <juri@jurta.org>
2659
2660 * subr.el (y-or-n-p): Capitalize "yes".
2661
f5e29b9b
MA
26622011-09-04 Michael Albinus <michael.albinus@gmx.de>
2663
2664 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2665 `tramp-cache-unload-hook' where appropriate.
2666 (tramp-methods): Rename `tramp-remote-sh' to
2667 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2668 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2669
2670 * net/tramp-sh.el (top): Don't require 'shell.
2671 (tramp-methods): Add `tramp-remote-shell' and
2672 `tramp-remote-shell-args' entries.
2673 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2674 (tramp-sh-handle-shell-command): Remove.
2675 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2676 Use `tramp-remote-shell'.
2677
2784c434
CY
26782011-09-03 Chong Yidong <cyd@stupidchicken.com>
2679
393a301e 2680 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
2681 (sendmail-query-once): Save directly to send-mail-function.
2682 Update message-send-mail-function too.
2683
2684 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2685
464cdf56
CS
26862011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2687
2688 * progmodes/python.el (python-mode-map): Use correct function to
2689 start python interpreter from menu-bar (as reported by Geert
2690 Kloosterman).
2691 (inferior-python-mode-map): Fix typo.
393a301e 2692 (python-shell-map): Remove.
464cdf56 2693
d37e5c87
DD
26942011-09-03 Deniz Dogan <deniz@dogan.se>
2695
2696 * net/rcirc.el (rcirc-print): Simplify code for
2697 rcirc-scroll-show-maximum-output. There is no need to walk
2698 through all windows to find the right one.
2699
f3ada0ee
CS
27002011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2701
2702 * help.el (help-return-method): Doc fix.
2703
1f3c99ca
MR
27042011-09-03 Martin Rudalics <rudalics@gmx.at>
2705
2706 * window.el (window-deletable-p): Don't return a non-nil value
2707 when there's a buffer that was shown in the window before.
2708 (Bug#9419)
393a301e
SM
2709 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2710 Set window's previous buffers to nil.
1f3c99ca 2711
a3cf097f
EZ
27122011-09-03 Eli Zaretskii <eliz@gnu.org>
2713
2714 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2715 newline before and after the tag line, so it doesn't interfere
2716 with determining the paragraph direction of bidirectional text.
2717
3d03de90
LL
27182011-09-03 Leo Liu <sdl.web@gmail.com>
2719
2720 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2721
c3313451
CY
27222011-09-02 Chong Yidong <cyd@stupidchicken.com>
2723
393a301e 2724 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
2725 (pop-to-buffer): Change interactive spec. Pass second argument
2726 directly to display-buffer.
2727 (display-buffer): Fix interactive spec. Use functionp to
2728 distinguish between a function and a list of functions.
2729
2730 * abbrev.el (edit-abbrevs):
2731 * arc-mode.el (archive-extract):
2732 * autoinsert.el (auto-insert):
2733 * bookmark.el (bookmark-bmenu-list):
2734 * files.el (find-file):
2735 * view.el (view-buffer):
2736 * progmodes/compile.el (compilation-goto-locus):
2737 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2738
89894cd8
CY
27392011-09-02 Chong Yidong <cyd@stupidchicken.com>
2740
2741 * window.el (display-buffer-alist): Doc fix.
2742 (display-buffer): Add docstring. Don't treat
2743 display-buffer-default specially.
2744 (display-buffer-reuse-selected-window)
2745 (display-buffer-same-window, display-buffer-maybe-same-window)
2746 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2747 (display-buffer-pop-up-window)
2748 (display-buffer-reuse-or-pop-window)
2749 (display-buffer-use-some-window): New functions.
2750 (display-buffer-default-action): Use them.
393a301e 2751 (display-buffer-default): Delete.
89894cd8
CY
2752 (pop-to-buffer-1): Fix choice of actions.
2753
ae0bc9fb
SM
27542011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2755
2756 * minibuffer.el (completion--insert-strings): Don't get confused by
2757 completion entries that end with an LF char.
2758
e9d90883
EZ
27592011-09-01 Eli Zaretskii <eliz@gnu.org>
2760
2761 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2762
437014c8
CY
27632011-09-01 Chong Yidong <cyd@stupidchicken.com>
2764
2765 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
2766 (display-buffer-same-window, display-buffer-other-window):
2767 New functions.
437014c8
CY
2768 (pop-to-buffer-1): New function. Use the above.
2769 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 2770 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
2771
2772 * view.el (view-buffer-other-window, view-buffer-other-frame):
2773 Just use pop-to-buffer.
2774
a5e063d5
TV
27752011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2776
2777 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2778
793d32bb
WH
27792011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2780
2781 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2782
d65e4c15
RS
27832011-08-31 Richard Stallman <rms@gnu.org>
2784
2785 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2786 of the separation of rmail-view-buffer from rmail-buffer.
2787 If you say no to "replace original", the decrypt is in the
2788 view buffer. If you say yes, the decrypt goes into the
2789 rmail buffer also.
2790
f818cd2a
MR
27912011-08-31 Martin Rudalics <rudalics@gmx.at>
2792
2793 * window.el (display-buffer-window): Rewrite doc-string.
2794 (display-buffer-record-window): New function.
2795 (display-buffer-macro-specifiers)
2796 (display-buffer-even-window-sizes, display-buffer-set-height)
2797 (display-buffer-set-width, display-buffer-in-window)
2798 (display-buffer-reuse-window, display-buffer-split-specifiers)
2799 (display-buffer-side-specifiers, display-buffer-split-window-1)
2800 (display-buffer-split-window, display-buffer-split-atom-window)
2801 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2802 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2803 (display-buffer-other-window-means-other-frame)
2804 (display-buffer-normalize-special)
2805 (display-buffer-normalize-default)
2806 (display-buffer-normalize-argument)
2807 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2808 (display-buffer-normalize-specifiers, display-buffer-frame)
2809 (display-buffer-same-window, display-buffer-same-frame)
2810 (display-buffer-other-window)
2811 (display-buffer-same-frame-other-window)
2812 (display-buffer-other-frame, pop-to-buffer-same-window)
2813 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2814 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2815 (switch-to-buffer-same-frame)
2816 (switch-to-buffer-other-window-same-frame)
2817 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2818 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2819 (display-buffer-alist-set): Remove.
2820 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2821 (special-display-regexps, special-display-function):
2822 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2823 parameter.
2824 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2825 (special-display-frame-alist, special-display-popup-frame)
2826 (same-window-buffer-names, same-window-regexps, same-window-p)
2827 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2828 (split-window-preferred-function, split-height-threshold)
2829 (split-width-threshold, window-splittable-p)
2830 (split-window-sensibly, window--try-to-split-window)
2831 (window--frame-usable-p, even-window-heights)
2832 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2833 (window--display-buffer-2, display-buffer-other-frame):
2834 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2835 (display-buffer-default, display-buffer-assq-regexp): New functions.
2836 (display-buffer-alist): Rewrite doc-string.
2837 (display-buffer-default-action)
2838 (display-buffer-overriding-action): New variables.
2839 (display-buffer, switch-to-buffer): Rewrite.
2840 (pop-to-buffer): Restore Emacs 23 behavior but use
2841 window-normalize-buffer-to-display.
2842 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2843 Restore Emacs 23 behavior but use
2844 window-normalize-buffer-to-switch-to.
2845 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2846 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2847 Rewrite using Emacs 23 options.
f818cd2a 2848
5bc3b51d
MA
28492011-08-31 Michael Albinus <michael.albinus@gmx.de>
2850
2851 * net/tramp.el (tramp-root-regexp): Remove.
2852 (tramp-completion-file-name-regexp-unified)
2853 (tramp-completion-file-name-regexp-separate)
2854 (tramp-completion-file-name-regexp-url): Don't use leading volume
2855 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2856 (tramp-drop-volume-letter): Simplify definition.
2857 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2858
b1a4f8e1
SM
28592011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2862 (bug#9356).
2863
5664fa7b
RT
28642011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2865
b1a4f8e1 2866 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2867
9a45d6c3
JL
28682011-08-29 Juri Linkov <juri@jurta.org>
2869
2870 * isearch.el (isearch-done): Don't display message "Mark saved"
2871 when arg `edit' is non-nil to prevent its flicker in the echo area.
2872
fb87e0fb
CY
28732011-08-28 Chong Yidong <cyd@stupidchicken.com>
2874
2875 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2876 obsolete packages for deletion.
2877
09ac1c2a
CS
28782011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2879
2880 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2881 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2882 view-mode from help-mode.
2883 (help-xref-override-view-map): Remove.
2884 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2885 view-mode is not used anymore.
2886
7a1ff57f
CY
28872011-08-28 Chong Yidong <cyd@stupidchicken.com>
2888
2889 * server.el (server-port): Doc fix.
2890
b9696605
CY
2891 * cus-theme.el (custom-theme-choose-mode): Inherit from
2892 special-mode (Bug#9124).
2893 (custom-theme-choose-mode-map): Add special-mode to parent.
2894
ef8cdf8c
AM
28952011-08-28 Alan Mackenzie <acm@muc.de>
2896
2897 * progmodes/cc-fonts.el
2898 (c-make-font-lock-BO-decl-search-function): New function.
2899 (c-basic-matchers-after - "Fontify the clauses after various
2900 keywords"): Extract the three keyword lists for the 3 erroneous
2901 constructs from the list of four, and use the new function above
2902 in place of an old one.
2903
27de4e20
DD
29042011-08-28 Deniz Dogan <deniz@dogan.se>
2905
2906 * net/rcirc.el (rcirc-insert-prev-input)
2907 (rcirc-insert-next-input): Remove unused argument.
2908
356a3681
SM
29092011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2910
2911 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2912
3fc9b218
AM
29132011-08-27 Alan Mackenzie <acm@muc.de>
2914
2915 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2916 handle function pointer parameters properly.
2917
538a061c
MR
29182011-08-27 Martin Rudalics <rudalics@gmx.at>
2919
2920 * window.el (display-buffer-reuse-window): Fix case where
2921 selected window was reused with non-nil OTHER-WINDOW argument.
2922 (Bug#9381)
2923
35b1c40c
DD
29242011-08-27 Deniz Dogan <deniz@dogan.se>
2925
2926 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2927 oftc's NickServ messages.
2928
2f6a3e79
GM
29292011-08-27 Glenn Morris <rgm@gnu.org>
2930
2931 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2932
7254299e
CY
29332011-08-26 Chong Yidong <cyd@stupidchicken.com>
2934
2935 * emacs-lisp/package.el (package-install): Call package-initialize
2936 if called interactively.
2937
f8ccf167
LL
29382011-08-26 Leo Liu <sdl.web@gmail.com>
2939
2940 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2941
3e8cd5ce
JL
29422011-08-25 Juri Linkov <juri@jurta.org>
2943
2944 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2945 `search-whitespace-regexp' (bug#9364).
2946
93eb7113
JL
29472011-08-25 Juri Linkov <juri@jurta.org>
2948
2949 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2950 `regexp-search-ring' to their global values to protect from
2951 updating by `read-from-minibuffer' (bug#9185).
2952
f65d1611
JL
29532011-08-25 Juri Linkov <juri@jurta.org>
2954
2955 * textmodes/ispell.el (ispell-command-loop): Add newline
2956 at the end of the "Use option `i'..." line.
2957
f1cf7a31
JL
29582011-08-25 Juri Linkov <juri@jurta.org>
2959
2960 * battery.el (display-battery-mode): If `battery-status-function'
2961 or `battery-mode-line-format' is nil, display the message and set
2962 `display-battery-mode' to nil (bug#9363).
2963
0c95fcf7
EZ
29642011-08-25 Eli Zaretskii <eliz@gnu.org>
2965
2966 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2967 bidi-string-mark-left-to-right; they are unnecessary now.
2968
a2ebe600
DD
29692011-08-25 Deniz Dogan <deniz@dogan.se>
2970
2971 * net/quickurl.el: Documentation typo fixes.
2972
e4ed06f1
CY
29732011-08-25 Chong Yidong <cyd@stupidchicken.com>
2974
2975 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2976
e5f1c99e
GM
29772011-08-25 Glenn Morris <rgm@gnu.org>
2978
b2948976
GM
2979 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2980
e5f1c99e
GM
2981 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2982 (smtpmail-via-smtp): Handle nil response from smtp.
2983
f22f4808
JL
29842011-08-24 Juri Linkov <juri@jurta.org>
2985
2986 * proced.el (proced-marked): Inherit from `error' instead of
2987 `font-lock-warning-face'.
2988
2989 * ibuffer.el (ibuffer-marked-face): Change default face from
2990 `font-lock-warning-face' to `warning'.
2991 (ibuffer-deletion-face): Change default face from
2992 `font-lock-type-face' to `error'.
2993
2994 * battery.el (battery-update): Use the face `error' instead of
2995 `font-lock-warning-face' (bug#6117).
2996
6a93965e
JL
29972011-08-24 Juri Linkov <juri@jurta.org>
2998
2999 * faces.el (success): Change face color from "Green3" to
3000 "ForestGreen" on light background (bug#9353).
3001
1ed43b09
CY
30022011-08-24 Chong Yidong <cyd@stupidchicken.com>
3003
5664fa7b
RT
3004 * window.el (quit-window): Rename from quit-restore-window.
3005 Use same arglist as old quit-window.
1ed43b09
CY
3006 (frame-auto-delete): Doc fix.
3007
3008 * view.el (view-mode-exit): Use quit-window.
3009
11dcdbb2
JL
30102011-08-24 Juri Linkov <juri@jurta.org>
3011
3012 * isearch.el (isearch-ring-adjust1): Start visiting previous
3013 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3014 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3015 for empty search string (when the last search string is reused
3016 automatically) to adjust the isearch ring to the last element and
3017 prepare the correct index for further M-p commands (bug#9185).
3018
de62b4df
KH
30192011-08-24 Kenichi Handa <handa@m17n.org>
3020
3021 * international/ucs-normalize.el: If decomposition property of
3022 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3023 nil.
3024 (nfd, nfkd): Likewise.
3025
963b492b
SM
30262011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3029 from process filters aren't reliably transmitted to the surrounding
3030 accept-process-output.
3031 (mpc-proc-check): New function.
3032 (mpc-proc-sync): Use it (bug#8293)
3033
93b6b5e1
SM
30342011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3035
3036 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3037 Add compatibility functions (bug#9313).
3038
bca633fb
EZ
30392011-08-23 Eli Zaretskii <eliz@gnu.org>
3040
b177498a
EZ
3041 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3042
bca633fb
EZ
3043 * international/uni-bidi.el: Regenerated.
3044
0902a04e
KH
30452011-08-23 Kenichi Handa <handa@m17n.org>
3046
3047 * international/charprop.el:
3048 * international/uni-bidi.el:
3049 * international/uni-category.el:
3050 * international/uni-combining.el:
3051 * international/uni-comment.el:
3052 * international/uni-decimal.el:
3053 * international/uni-decomposition.el:
3054 * international/uni-digit.el:
3055 * international/uni-lowercase.el:
3056 * international/uni-mirrored.el:
3057 * international/uni-name.el:
3058 * international/uni-numeric.el:
3059 * international/uni-old-name.el:
3060 * international/uni-titlecase.el:
3061 * international/uni-uppercase.el: Regenerate.
3062
3bbf23bc
MR
30632011-08-23 Martin Rudalics <rudalics@gmx.at>
3064
3065 * help.el (help-window-setup): Fix message displayed when other
3066 window is reused. (Bug#9341)
3067
b3fd59bd
SM
30682011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3069
1802e444
SM
3070 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3071 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3072
b3fd59bd
SM
3073 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3074 Mark obsolete.
3075 * shell.el (shell-parse-pcomplete-arguments): New function.
3076 (shell-completion-vars): Use it instead (bug#9160).
3077
4eb61348
SM
30782011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3079
867cab74
SM
3080 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3081 strings and comments (bug#9333).
3082
4eb61348
SM
3083 * emacs-lisp/debug.el (debug-arglist): New function.
3084 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3085 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3086
262a1439
JL
30872011-08-22 Juri Linkov <juri@jurta.org>
3088
56ee679c
JL
3089 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3090 Revert regexp that highlights output switches to its old
3091 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3092
262a1439
JL
3093 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3094 to check for empty output (bug#9226).
3095
f13f86fb
CY
30962011-08-22 Chong Yidong <cyd@stupidchicken.com>
3097
3098 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3099 symbol-constituent as the default, as that stops font-lock from
3100 working properly (Bug#8843).
3101
c65c9622
LMI
31022011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3103
3104 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3105 `coding-system-for-*' around the process open call to avoid
3106 auth-source side effects.
e7f2c178 3107 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
3108 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3109 probe hangs.
c65c9622 3110
23a8a5ab
CY
31112011-08-21 Chong Yidong <cyd@stupidchicken.com>
3112
ff98b2dd
CY
3113 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3114
23a8a5ab
CY
3115 * emacs-lisp/find-func.el (find-function-noselect): New arg
3116 lisp-only.
3117
3118 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3119 signal an error for built-in functions (Bug#6664).
3120
f5e3c598
LMI
31212011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3122
3123 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3124 (smtpmail-try-auth-methods): Use it.
3125
a3f2468a
CY
31262011-08-21 Chong Yidong <cyd@stupidchicken.com>
3127
2c34e8da
CY
3128 * font-lock.el (font-lock-fontify-region)
3129 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3130 (font-lock-default-unfontify-buffer)
3131 (font-lock-default-fontify-region)
3132 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3133
b3fd59bd
SM
3134 * progmodes/compile.el (compilation-error-properties):
3135 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
3136 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3137 `ant' regexp.
ee31aabc 3138
a3f2468a
CY
3139 * net/browse-url.el (browse-url-firefox): Don't call
3140 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3141
8e999f70
GM
31422011-08-20 Glenn Morris <rgm@gnu.org>
3143
c21a496a
GM
3144 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3145
59ee0542
GM
3146 * tutorial.el (tutorial--default-keys): Update some default bindings.
3147
8e999f70
GM
3148 * files.el (hack-local-variables): Fully ignore case for "mode:".
3149
e3715033
AM
31502011-08-20 Alan Mackenzie <acm@muc.de>
3151
3152 Resolve invalid use of a regexp in regexp-opt.
3153
4d61f28d
JB
3154 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3155 detection for a java annotation.
e3715033 3156
4d61f28d 3157 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
3158 detection for a java annotation.
3159
4d61f28d
JB
3160 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3161 handling for java.
e3715033
AM
3162 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3163
04ed2e9c
CY
31642011-08-20 Chong Yidong <cyd@stupidchicken.com>
3165
3166 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3167 (Bug#9274).
3168
826cee64
AM
31692011-08-20 Alan Mackenzie <acm@muc.de>
3170
58179cce 3171 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
3172 such a construct. Mainly for when jit-lock etc. starts a chunk
3173 here.
3174
58179cce 3175 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 3176 variable.
58179cce 3177 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
3178 c-make-font-lock-search-function.
3179 (c-make-font-lock-search-function): Use the above function.
3180 (c-make-font-lock-context-search-function): New function.
3181 (c-cpp-matchers): Enhance the preprocessor expression case with
3182 the above function
3183 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3184 which takes an expression.
3185
3186 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3187
13009bd8
MR
31882011-08-20 Martin Rudalics <rudalics@gmx.at>
3189
3190 * window.el (display-buffer-reuse-window)
3191 (display-buffer-pop-up-window): Don't reuse or split a side
3192 window.
3193
9234ff7f
GM
31942011-08-19 Glenn Morris <rgm@gnu.org>
3195
3196 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 3197 Downcase "Mode:". (Bug#9331)
9234ff7f 3198
f635daa1
CY
31992011-08-18 Chong Yidong <cyd@stupidchicken.com>
3200
3201 * international/characters.el: Add L and R categories.
3202
3203 * subr.el (bidi-string-mark-left-to-right): Rename from
3204 string-mark-left-to-right. Use category search.
3205
3206 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
3207
bc987f8b
JL
32082011-08-18 Juri Linkov <juri@jurta.org>
3209
3210 * faces.el (error, warning, success): New faces with definitions
3211 copied from old default values of `font-lock-warning-face',
3212 `compilation-warning', `compilation-info' (bug#6117).
3213
3214 * font-lock.el (font-lock-warning-face): Inherit from `error'.
3215
3216 * progmodes/compile.el (compilation-error): Inherit from `error'.
3217 (compilation-warning): Inherit from `warning'.
3218 (compilation-info): Inherit from `success'.
3219
3220 * dired.el (dired-marked): Inherit from `warning'.
3221 (dired-flagged): Inherit from `error'.
3222
57173b96
LMI
32232011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3224
3e79eb87
LMI
3225 * mail/smtpmail.el (auth-source): Require to avoid problems with
3226 binding variables (bug#9298). Also clean up some unused
3227 autoloads.
3228
b3fd59bd
SM
3229 * net/network-stream.el (network-stream-open-starttls):
3230 Support using starttls.el without using gnutls-cli.
57173b96 3231
02b404de
JL
32322011-08-17 Juri Linkov <juri@jurta.org>
3233
3234 * progmodes/grep.el (rgrep): Handle the case when
3235 `grep-find-command' is a cons cell (bug#9278).
3236
8c9177f2
MR
32372011-08-17 Martin Rudalics <rudalics@gmx.at>
3238
3239 * window.el (display-buffer-pop-up-frame): Run frame creation
3240 function with BUFFER current (as special-display-popup-frame
3241 does). Reported by Drew Adams.
3242
3644a0ab
DU
32432011-08-17 Daiki Ueno <ueno@unixuser.org>
3244
3245 * epa-mail.el: Simplify GnuPG group expansion using
3246 epg-expand-group.
3247 (epa-mail-group-alist, epa-mail-group-modtime)
3248 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3249 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3250 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3251 Remove.
3252
5e617bc2 32532011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
3254
3255 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3256
9c4aeabf
AM
32572011-08-16 Alan Mackenzie <acm@muc.de>
3258
3259 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3260 Correct, to avoid the inside of macros.
3261
3a99bf64
RS
32622011-08-16 Richard Stallman <rms@gnu.org>
3263
04963aa8
RS
3264 * epa-mail.el: Handle GnuPG group definitions.
3265 (epa-mail-group-alist, epa-mail-group-modtime)
3266 (epa-mail-gnupg-conf-file): New variables.
3267 (epa-mail-parse-groups, epa-mail-sync-groups)
3268 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3269 (epa-mail-expand-recipients): New functions.
3270 (epa-mail-encrypt): Call epa-mail-expand-recipients.
3271
177549d0
RS
3272 * mail/rmail.el (rmail-epa-decrypt): New command.
3273
fe38beef
RS
3274 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3275 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
3276 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3277 (epa-decrypt-armor-in-region): Make error message clearer.
3278
934eacb9
SM
32792011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3282 and "a2b" to "ab" for `prefix'.
3283
d024fb4e
CY
32842011-08-14 Chong Yidong <cyd@stupidchicken.com>
3285
3286 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3287 filter groups.
de148fee
CY
3288 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
3289 Fourquet (Bug#8804).
d024fb4e 3290
62f1ca49
JB
32912011-08-12 Juanma Barranquero <lekktu@gmail.com>
3292
3293 * startup.el (argi): Declare as global variable (bug#9275).
3294
9ccaaa4b
CY
32952011-08-12 Chong Yidong <cyd@stupidchicken.com>
3296
3297 * subr.el (string-mark-left-to-right): Search the entire string
3298 for RTL script, not just the terminating character. Doc fix.
3299
a3dae87a
SM
33002011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3301
6cd18349
SM
3302 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3303 New function.
3304 (js--regexp-literal, js-syntax-propertize-function): Remove.
3305 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3306 (js-mode-map): Don't rebind electric keys.
3307 (js-insert-and-indent): Remove.
3308 (js-mode): Setup electric-layout and electric-indent instead.
3309
a3dae87a
SM
3310 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3311
9d5cb631
DU
33122011-08-12 Daiki Ueno <ueno@unixuser.org>
3313
3314 * epa.el (epa-progress-callback-function): Fix the logic of
3315 displaying progress.
3316 * epa-file.el (epa-file-insert-file-contents): Make progress
3317 display more user-friendly.
3318 (epa-file-write-region): Ditto.
3319
3e26a4a2
CY
33202011-08-10 Chong Yidong <cyd@stupidchicken.com>
3321
3322 * subr.el (string-mark-left-to-right): New function.
3323
3324 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3325 Use string-mark-left-to-right.
3326 (list-buffers-noselect): Caller changed.
3327
a3dae87a
SM
3328 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3329 Use string-mark-left-to-right.
3e26a4a2
CY
3330 (tabulated-list-print): Recenter after moving point.
3331
ac8cf6e6
JL
33322011-08-10 Juri Linkov <juri@jurta.org>
3333
3334 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3335 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3336 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3337
8d96c9a4
CY
33382011-08-09 Chong Yidong <cyd@stupidchicken.com>
3339
3340 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3341 (Bug#7554).
3342
7be1c708 33432011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
3344
3345 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3346 character. (Bug#6594)
3347
37e11a63
CY
33482011-08-08 Chong Yidong <cyd@stupidchicken.com>
3349
839dde57
CY
3350 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3351 (image-dired--with-db-file): New macro.
3352 (image-dired-write-tags, image-dired-remove-tag)
3353 (image-dired-create-gallery-lists, image-dired-write-comments)
3354 (image-dired-get-comment, image-dired-mark-tagged-files)
3355 (image-dired-list-tags, image-dired-gallery-generate): Use it.
3356 (image-dired-gallery-generate): Use insert-file-contents.
3357
37e11a63
CY
3358 * time.el (display-time-world-list, display-time-world-display):
3359 * time-stamp.el (time-stamp-string):
3360 * vc/add-log.el (add-change-log-entry): Use setenv instead of
3361 set-time-zone-rule (Bug#7337).
3362
0b4946c4
DU
33632011-08-08 Daiki Ueno <ueno@unixuser.org>
3364
3365 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3366 (epg-error-to-string, epg-errors-to-string): New function.
3367 (epg-wait-for-completion): Reverse errors list.
3368 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3369 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3370 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3371 (epg-sign-keys, epg-generate-key-from-file)
3372 (epg-generate-key-from-string): Format errors by using
3373 epg-errors-to-string (bug#9255).
3374 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3375
75bfc667
JL
33762011-08-07 Juri Linkov <juri@jurta.org>
3377
3378 * faces.el (list-faces-display): Remove extra angle bracket
3379 from `help-mode-map'.
3380
3381 * info.el (Info-history-toc-nodes): Doc fix.
3382
3383 * longlines.el (longlines-mode): Doc fix.
3384
673e08bb
SM
33852011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3386
4640dd88
SM
3387 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3388 of statements and in a few more cases (bug#9183).
3389
673e08bb
SM
3390 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3391 New functions.
3392 (cl-transform-lambda): Use them (bug#9239).
3393
89b3f019
MR
33942011-08-05 Martin Rudalics <rudalics@gmx.at>
3395
3396 * window.el (display-buffer-same-window)
3397 (display-buffer-same-frame, display-buffer-other-window)
3398 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3399 (pop-to-buffer-other-window)
3400 (pop-to-buffer-same-frame-other-window)
3401 (pop-to-buffer-other-frame): Make them defuns.
3402 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3403
640c8776
SM
34042011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3405
3406 * subr.el (make-composed-keymap): Move from C. Change calling
3407 convention, and improve docstring to bring attention to a subtle point.
3408 * minibuffer.el (completing-read-default): Adjust accordingly.
3409
63648a95
MA
34102011-08-03 Michael Albinus <michael.albinus@gmx.de>
3411
3412 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3413 (tramp-open-shell): Use `tramp-shell-quote-argument'.
3414
3415 * net/trampver.el: Update release number.
3416
b796c9b7
SM
34172011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3418
3419 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3420 "in" (bug#9190).
3421
2239d7d5
LMI
34222011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3423
e07dd7c3
LMI
3424 * mail/sendmail.el (sendmail-query-once): Restore the current
3425 buffer after querying (bug#9074).
3426
0e6a2bd7
LMI
3427 * dired.el (dired-flagged): Use different faces for marked and
3428 flagged files (bug#6117).
3429
ce887515
LMI
3430 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3431 (bug#4433).
3432
92f2affc
LMI
3433 * ido.el (ido-mode): Switch off the message if called
3434 non-interactively.
3435
57d5aff0
LMI
3436 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3437 before 587, since it appears that that's more likely to work for
3438 more people.
3439
98cd6c18 3440 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 3441 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
3442 exist.
3443
b96dec83
LMI
3444 * info.el: Remove the `Info-beginning-of-buffer' function
3445 (bug#8325).
3446
b796c9b7
SM
3447 * net/network-stream.el (network-stream-open-starttls):
3448 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 3449
d90e2ea0
MR
34502011-08-01 Martin Rudalics <rudalics@gmx.at>
3451
3452 * window.el (display-buffer-in-window): Don't set dedicated status
3453 of window here (Bug#9215).
3454 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3455 (display-buffer-pop-up-side-window)
b796c9b7 3456 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 3457
cca09170
SM
34582011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3461 before binding generated-autoload-file.
3462
027b979c
DD
34632011-08-01 Deniz Dogan <deniz@dogan.se>
3464
3465 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3466
3c7ee4f3
MA
34672011-07-30 Michael Albinus <michael.albinus@gmx.de>
3468
3469 Sync with Tramp 2.2.2.
3470
3471 * net/trampver.el: Update release number.
3472
2cc8e51a
JL
34732011-07-30 Juri Linkov <juri@jurta.org>
3474
3475 * dired-aux.el (dired-touch-initial): Remove function.
3476 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3477 current time, and `default' to the last modification time of the
3478 current marked file (bug#6887).
3479
a514d856
JM
34802011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3481
3482 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 3483 numeric argument to read-number (bug#9163).
a514d856 3484
8a7eddd7
MA
34852011-07-27 Michael Albinus <michael.albinus@gmx.de>
3486
3487 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3488 connection process, it could be nil.
3489
1ddd96f5
LL
34902011-07-27 Leo Liu <sdl.web@gmail.com>
3491
3492 Simplify url handling in rcirc-mode.
3493
3494 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3495 (rcirc-browse-url-at-mouse): Remove.
3496 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3497
b248a85d
AM
34982011-07-26 Alan Mackenzie <acm@muc.de>
3499
3500 Fontify bitfield declarations properly.
3501
3502 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3503 (c-symbol-chars): Now exported as a lang variable.
3504 (c-not-primitive-type-keywords): New lang variable.
3505
3506 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3507 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 3508 parsed as a bitfield declaration.
b248a85d 3509
b796c9b7
SM
3510 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3511 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
3512 (c-punctuation-in): New function.
3513 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3514 declarations properly.
3515
68575ab0
UJ
35162011-07-26 Ulf Jasper <ulf.jasper@web.de>
3517
3518 * calendar/icalendar.el (icalendar--all-events): Take care of
3519 multiple vcalendars in a single file.
b796c9b7 3520 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 3521
0f0a88b9
DD
35222011-07-25 Deniz Dogan <deniz@dogan.se>
3523
3524 * image.el (insert-image): Clarifying docstring.
3525
0b3f36df
MA
35262011-07-24 Michael Albinus <michael.albinus@gmx.de>
3527
3528 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3529 `tramp-send-command-and-check' if there is no error.
3530 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3531
a9901f61
AM
35322011-07-22 Alan Mackenzie <acm@muc.de>
3533
3534 Prevent cc-langs.elc being loaded at run time.
3535
3536 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3537 cc-langs.
3538
4d61f28d 3539 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
3540 "(require 'cc-langs)". Quote a form so it will evaluate at
3541 (cc-mode's) compilation time.
3542
11d074b2
MA
35432011-07-22 Michael Albinus <michael.albinus@gmx.de>
3544
3545 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3546 loading. (Bug#9114)
3547
938b94c8
MR
35482011-07-21 Martin Rudalics <rudalics@gmx.at>
3549
3550 * window.el (display-buffer-pop-up-window)
3551 (display-buffer-pop-up-side-window)
3552 (display-buffer-in-side-window): Call display-buffer-set-height
3553 and display-buffer-set-width after setting the new window's
b796c9b7 3554 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 3555
bfa4f190
SS
35562011-07-20 Sam Steingold <sds@gnu.org>
3557
3558 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3559 (etags-tags-included-tables): Call `convert-standard-filename' on
3560 the file names contained in TAGS so that windows Emacs can handle
3561 TAGS files created by cygwin ctags.
3562
8ca42262
LMI
35632011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3564
3565 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3566 which apparently didn't work.
3567
5db2afd2 35682011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 3569
5db2afd2
RW
3570 * proced.el (proced-send-signal): For *Marked Processes* buffer
3571 put point at beginning of buffer.
3572
92e15d10
SB
35732011-07-19 Stephen Berman <stephen.berman@gmx.net>
3574
3575 * proced.el (proced-format): Make header lines align with the text
3576 (bug#1779).
3577
1bfd59e5
LMI
35782011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3579
3580 * view.el (view-buffer): Allow running in `special' modes if we're
3581 visiting a file (bug#8615).
3582
f5aae37c
MR
35832011-07-19 Martin Rudalics <rudalics@gmx.at>
3584
3585 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
3586 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3587 New functions.
f5aae37c
MR
3588 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3589 more accurately.
3590
bf2c1571
AM
35912011-07-18 Alan Mackenzie <acm@muc.de>
3592
3593 Fontify declarators properly when, e.g., a jit-lock chunk begins
3594 inside a declaration.
3595
3596 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3597
b796c9b7
SM
3598 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3599 New function.
bf2c1571
AM
3600 (c-complex-decl-matchers): Insert reference to
3601 c-font-lock-enclosing-decls.
3602
3603 * progmodes/cc-engine.el (c-backward-single-comment):
3604 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3605 to nil around calls to (forward-comment -1).
3606
4e190b80
LMI
36072011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3608
12dc863d
LMI
3609 * image.el (put-image): Doc typo fix.
3610
a762e966
LMI
3611 * progmodes/etags.el (tags-search): Doc typo fix.
3612
4e190b80
LMI
3613 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3614 password if we get errors 550 to 554.
3615
f019fb21
LMI
36162011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3617
b796c9b7 3618 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 3619
81746738
LMI
3620 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3621 indentation character (bug#6380).
3622
3ee3a1b5
LMI
3623 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3624
c82f64de
LMI
3625 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3626 to clarify what the problem is (bug#4291).
3627
f019fb21
LMI
3628 * simple.el (current-kill): Clarify what
3629 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
3630 (auto-fill-mode): Document `auto-fill-function' in relation to
3631 `auto-fill-mode' (bug#2470).
f019fb21 3632
0794775d
LM
36332011-07-16 Lawrence Mitchell <wence@gmx.li>
3634
3635 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3636 method if slot is read-only (bug#9035).
3637
be39b8cc
MR
36382011-07-16 Martin Rudalics <rudalics@gmx.at>
3639
b796c9b7 3640 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 3641 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
3642 selected before, see discussion of (Bug#8615), (Bug#6954).
3643 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 3644
6ccf7859
GM
36452011-07-15 Glenn Morris <rgm@gnu.org>
3646
3647 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 3648 Respect help-form.
6ccf7859 3649
87e86684
LM
36502011-07-09 Lawrence Mitchell <wence@gmx.li>
3651
3652 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3653 (gnutls-negotiate): Use it.
3654
d6066239
LMI
36552011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3656
b796c9b7
SM
3657 * net/gnutls.el (gnutls-negotiate):
3658 Upcase `gnutls-algorithm-priority'.
d6066239 3659
bd23ebc0
GM
36602011-07-15 Glenn Morris <rgm@gnu.org>
3661
c65bca65
GM
3662 * jka-compr.el (jka-compr-verbose): Move from here...
3663 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3664 Add missing :version tag.
3665 * info.el: No need to require jka-compr when compiling.
bd23ebc0 3666
478615cc
LMI
36672011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3668
7b41decb
LMI
3669 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3670 (gnutls-negotiate): Use it.
3671
dbc44fcd
LMI
3672 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3673
06789f97
LMI
3674 * info.el (Info-beginning-of-buffer): New command.
3675 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3676 announcing `b' as the key (bug#8325).
ab896c37 3677 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 3678
c39da690
LMI
3679 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3680
3aa5f34b
LMI
3681 * international/mule-cmds.el
3682 (describe-specified-language-support): Make the error message
3683 clearer (bug#8905).
3684
4bf0979f
LMI
3685 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3686
478615cc
LMI
3687 * isearch.el (isearch-barrier): Add a doc string, since it's
3688 mentioned in a function doc string (bug#8678).
3689
75c68aa1
MR
36902011-07-15 Martin Rudalics <rudalics@gmx.at>
3691
3692 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3693 buffer argument (Bug#9083) and self-identifying label argument.
3694
a7c33da2
GM
36952011-07-15 Glenn Morris <rgm@gnu.org>
3696
3697 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3698
2f5c6024
LMI
36992011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3700
3701 * man.el (Man-fontify-manpage): Fix message when formatting the
3702 man page (bug#7929).
3703
0bb23927 37042011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
3705
3706 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3707 argument LRM; if non-nil, append an invisible LRM character to the
3708 buffer name.
3709 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3710 last argument non-nil, when formatting buffer names.
0bb23927
EZ
3711 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3712 paragraph direction.
cce4b0a7 3713
621ef9ab
LMI
37142011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3715
d1583c48
LMI
3716 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3717 the man page name (bug#7929).
3718
6a57fb5f
LMI
3719 * image.el (put-image): Mention the `put-image' overlay property
3720 (bug#7834).
3721
d7956b14
LMI
3722 * scroll-bar.el (set-scroll-bar-mode): Mention that
3723 `scroll-bar-mode' lists the values (bug#7772).
3724
5b2d4a66
LMI
3725 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3726 command (bug#7729).
3727
7509a874
LMI
3728 * rect.el (apply-on-rectangle): Return the point after the last
3729 operation.
3730 (string-rectangle): Go to the point after the last operation
3731 (bug#7522).
3732
4fe74b19
LMI
3733 * printing.el (pr-toggle-region): Clarify the documentation
3734 slightly (bug#7493).
3735
b796c9b7
SM
3736 * time.el (display-time-update):
3737 Allow `display-time-mail-function' to return nil (bug#7158).
3738 Fix suggested by Detlev Zundel.
ab283561 3739
fc233c9d
LMI
3740 * vc/diff.el (diff): Clarify the order the file names are read
3741 (bug#7111).
3742
43f5740b
LMI
3743 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3744 the doc string (bug#7015).
3745
f2182a76
LMI
3746 * font-lock.el (font-lock-maximum-decoration): Mention what
3747 numeric levels mean (bug#6935).
3748
621ef9ab
LMI
3749 * startup.el (initial-buffer-choice): Don't mention the `none'
3750 selection, which is against policy.
3751
adc47434
MR
37522011-07-14 Martin Rudalics <rudalics@gmx.at>
3753
b796c9b7
SM
3754 * window.el (display-buffer-normalize-special):
3755 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 3756
7e5bfb8f
EZ
37572011-07-14 Eli Zaretskii <eliz@gnu.org>
3758
3759 * subr.el (version<, version<=, version=): Mention "-CVS" and
3760 "-12345" alpha version numbers.
3761
27fa387a
CY
37622011-07-14 Chong Yidong <cyd@stupidchicken.com>
3763
3764 * bindings.el: Add advertised binding for set-mark-command
3765 (Bug#5772).
3766
8bdfa064
CY
37672011-07-14 Chong Yidong <cyd@stupidchicken.com>
3768
3769 * bindings.el (mode-line-other-buffer):
3770 * bookmark.el (bookmark-bmenu-2-window):
3771 * bs.el (bs-cycle-next, bs-cycle-previous):
3772 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3773 switch-to-buffer.
3774
3775 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 3776 Delete.
8bdfa064 3777
5eba16a3
JB
37782011-07-14 Juanma Barranquero <lekktu@gmail.com>
3779
3780 * follow.el (follow-debug-message, follow-redisplay):
3781 * jka-cmpr-hook.el (with-auto-compression-mode):
3782 Fix typos in docstrings.
3783
15853710
LMI
37842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3785
a28e4607
LMI
3786 * subr.el (with-silent-modifications): Clarify somewhat what the
3787 macro inhibits (bug#6525).
3788
15853710
LMI
3789 * simple.el (eval-expression): Note what it does if called
3790 interactively (bug#6495).
3791
bee0fcef
CY
37922011-07-13 Chong Yidong <cyd@stupidchicken.com>
3793
b796c9b7
SM
3794 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3795 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
3796
3797 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3798 Remove switch-to-buffer.
3799
58274504
LMI
38002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3801
bd2fcc8d
LMI
3802 * files.el (make-directory): Clarify that an error will be raised
3803 if there's an error (bug#6397).
3804
0f04b32c
LMI
3805 * startup.el (initial-buffer-choice): Add `none' as a choice
3806 (bug#6234).
3807
465c5fc8
LMI
3808 * subr.el (add-hook): Clarify section about buffer-local hooks
3809 (bug#6218).
3810
58274504
LMI
3811 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3812
bead9a43
JB
38132011-07-13 Juanma Barranquero <lekktu@gmail.com>
3814
3815 * tabify.el (untabify): Preserve the current column so that point
3816 doesn't move (bug#6032).
3817
3af98a7b
LMI
38182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3819
b796c9b7
SM
3820 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3821 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3822
6240145a
GM
38232011-07-13 Glenn Morris <rgm@gnu.org>
3824
3825 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3826 (dired-insert-directory): Give a message the first time
3827 if ls is found not to support --dired.
3828
1d8c2ccc
LMI
38292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3830
3831 * simple.el (toggle-truncate-lines): Clarify what is toggled
3832 (bug#5580). Text by Drew Adams.
3833
5fc4038e
CY
38342011-07-13 Chong Yidong <cyd@stupidchicken.com>
3835
3836 * simple.el (blink-matching-open): Make the error message from the
3837 last change less verbose.
3838
bf6012e5
DN
38392011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3840
3841 * font-lock.el (font-lock-comment-face): Use the high contrast
3842 "yellow" color for font-lock-comment-face on low color terminals
3843 using a dark background color (bug#4221).
3844
343c3b5a
LMI
38452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3846
7e9505c5
LMI
3847 * dired.el (dired-insert-set-properties): Make the doc string
3848 reflect what it does now (bug#5325).
3849
c26fdcf5
LMI
3850 * simple.el (blink-matching-open): Say that we were unable to find
3851 the match within the limit, if we're limited (bug#5122).
3852
bb388cc5
LMI
3853 * international/mule-cmds.el (prefer-coding-system): Add an
3854 example (bug#4869).
3855
343c3b5a
LMI
3856 * progmodes/etags.el (tags-search): Document `file-list-form'
3857 (bug#4731).
3858
2a517d45
LM
38592011-07-13 Lawrence Mitchell <wence@gmx.li>
3860
3861 * net/browse-url.el (browse-url-default-browser)
3862 (browse-url-browser-function): Make the default browser choice a
3863 bit more logical (bug#4300). Also clean up the doc string.
3864
b6c78ef2
JB
38652011-07-13 Juanma Barranquero <lekktu@gmail.com>
3866
3867 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3868 binary endings (bug#4440).
3869
1c4dd947
LMI
38702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3871
a2014063
LMI
3872 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3873 which can be pretty annoying (bug#8971).
3874
9c9c2d88
LMI
3875 * jka-compr.el (jka-compr-verbose): New variable, and use
3876 throughout (bug#8971).
3877
1c4dd947
LMI
3878 * info.el (Info-find-file): Fall back on the installation
3879 directory if we can't find the info node anywhere else.
3880
a1c9f41b
SO
38812011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3882
3883 * vc/vc.el (vc-revert-file):
3884 Don't set file time-stamp in the past. (Bug#5181)
3885
536f3d36
LMI
38862011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3887
7152b011
LMI
3888 * files.el (after-find-file): Give a better error message when
3889 trying to find a symlink that points to a file that doesn't exist
3890 (bug#4398).
3891
536f3d36
LMI
3892 * progmodes/cc-vars.el: Remove (probably) misleading comment
3893 (bug#4396).
3894
460c0fba
JB
38952011-07-12 Johan Bockgård <bojohan@gnu.org>
3896
3897 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3898
7a6bda45
CY
38992011-07-12 Chong Yidong <cyd@stupidchicken.com>
3900
3901 * mouse-sel.el: Hack restoring functionality, while keeping
3902 compatibility with 2010-07-03 changes to mouse selection.
3903 (mouse-sel-primary-overlay): New var.
3904 (mouse-sel-selection-alist): Use it.
3905 (mouse-sel-mode): Doc fix; remove points that are default features
3906 of mouse.el.
3907
c79598ef
JB
39082011-07-12 Johan Bockgård <bojohan@gnu.org>
3909
3910 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3911 Fix previous fix (bug#2490).
3912
ff8be6ef
RW
39132011-07-12 Roland Winkler <winkler@gnu.org>
3914
b796c9b7
SM
3915 * textmodes/bibtex.el (bibtex-initialize):
3916 Use pop-to-buffer-same-window.
ff8be6ef
RW
3917 (bibtex-search-entries): Fix interactive call.
3918
296ba3ee
LMI
39192011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3920
f5242a02 3921 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3922 Fontise bytecomp Error lines more correctly (bug#2490).
3923 Fix suggested by Johan Bockgård.
f5242a02 3924
296ba3ee
LMI
3925 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3926
3927 * dired-x.el (dired-guess-default): Use `delete-dups'.
3928
f69fd0d2
CY
39292011-07-12 Chong Yidong <cyd@stupidchicken.com>
3930
3931 * dired.el (dired-mark-prompt):
3932 * dired-aux.el (dired-read-shell-command): Doc fix.
3933
eab5dc07
LMI
39342011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3935
b796c9b7
SM
3936 * mail/sendmail.el (sendmail-query-once):
3937 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3938 emacs -Q.
3939
3940 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3941
eab5dc07
LMI
3942 * cus-edit.el (custom-file): Take an optional no-error variable.
3943 (customize-save-variable): Set the variable, and give a warning if
3944 running under "emacs -q".
3945
a1e65d42
JB
39462011-07-11 Juanma Barranquero <lekktu@gmail.com>
3947
3948 * loadhist.el (unload-feature-special-hooks):
3949 Add `auto-coding-functions', `fill-nobreak-predicate' and
3950 `find-directory-functions' (bug#5327).
3951
1d52da10
LMI
39522011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3953
be958f1d
LMI
3954 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3955
5bedb26c
LMI
3956 * cus-edit.el (custom-guess-name-alist): -alist variables should
3957 use the `alist' type (bug#3120). Suggested by Drew Adams.
3958
1d52da10
LMI
3959 * printing.el: Add documentation to all the `pr-toggle-' commands.
3960
481a51b6
LL
39612011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3962
3963 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3964 backends where it makes sense (bug#2623).
3965
dcc88d8a
LMI
39662011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3967
c3de9feb
LMI
3968 * dired-x.el (dired-guess-default): Remove duplicate shell command
3969 entries (bug#2028).
8a93078b 3970 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3971 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3972
dcc88d8a
LMI
3973 * subr.el (remove-duplicates): New conveniency function.
3974
505e3645
LMI
39752011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3976
3977 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3978 (bug#1526).
3979
39802011-07-10 Martin Rudalics <rudalics@gmx.at>
3981
3982 * window.el (display-buffer-normalize-default): Don't invert
3983 meaning of even-window-heights. Reported by Eli Zaretskii
3984 <eliz@gnu.org>.
3985
455e4fa1
BR
39862011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3987
3988 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3989
8e0bc3e9
CY
39902011-07-10 Chong Yidong <cyd@stupidchicken.com>
3991
3992 * window.el (display-buffer): Fix arguments to
3993 display-buffer-reuse-window in last change.
3994
fa7c3228
CY
3995 * faces.el (link): Use a less saturated blue on light backgrounds.
3996
3997 * startup.el (fancy-startup-text, fancy-about-text)
3998 (fancy-startup-tail): Use font-lock faces, for background safety.
3999
c0a7f300
BN
40002011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4001
b796c9b7
SM
4002 * emulation/viper-cmd.el (viper-change-state-to-vi):
4003 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4004
4dc2a129
MR
40052011-07-09 Martin Rudalics <rudalics@gmx.at>
4006
4007 * window.el (display-buffer-default-specifiers): Remove.
4008 (display-buffer-macro-specifiers): Remove default specifiers.
4009 (display-buffer-alist): Default to nil.
b796c9b7 4010 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4011 (display-buffer-pop-up-window): Allow splitting internal
4012 windows. Check whether a live window was created.
4013 (display-buffer-other-window-means-other-frame)
4014 (display-buffer-normalize-arguments): Rename to
4015 display-buffer-normalize-argument and rewrite. Set the
4016 other-window specifier.
4017 (display-buffer-normalize-special): New function.
4018 (display-buffer-normalize-options): Rename to
4019 display-buffer-normalize-default and rewrite.
4020 (display-buffer-normalize-options-inhibit): Remove.
4021 (display-buffer-normalize-specifiers): Rewrite.
4022 (display-buffer): Process other-window specifier and call
4023 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4024 more faithfully.
b796c9b7 4025 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 4026 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
4027 (display-buffer-in-window, display-buffer-alist-set):
4028 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
4029 <tassilo@member.fsf.org>.
4030
2d43b8c9
LL
40312011-07-09 Leo Liu <sdl.web@gmail.com>
4032
4033 * register.el (insert-register): Restore accidental change on
4034 2011-06-26. (Bug#9028)
4035
7f9b7c53
GM
40362011-07-09 Glenn Morris <rgm@gnu.org>
4037
4038 * subr.el (remq): Handle the empty list. (Bug#9024)
4039
f042cfd8
AS
40402011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4041
4042 * mail/sendmail.el (send-mail-function): No longer delay custom
4043 initialization.
4044 * custom.el (custom-initialize-delay): Doc fix.
4045
856b2f11
SM
40462011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4047
4048 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4049
afae1d68
MA
40502011-07-08 Michael Albinus <michael.albinus@gmx.de>
4051
4052 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4053 human-friendly prompt.
4054
0757af94
SM
40552011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4056
4057 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4058 provided by a particular plugin.
4059
d760b731
LMI
40602011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4061
4062 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4063 save customizations (with "emacs -Q"), just set the variable
4064 instead of erroring out.
4065
4066 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4067
cd79ce90
JL
40682011-07-08 Juri Linkov <juri@jurta.org>
4069
4070 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4071 (archive-zip-update-case): Use 7z if found by `executable-find'.
4072 The order of searching the available programs is the same as in
4073 `archive-zip-extract' (bug#8968).
4074
14cc04aa
CY
40752011-07-07 Chong Yidong <cyd@stupidchicken.com>
4076
4077 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4078 (menu-bar-options-menu): Tweak descriptions.
4079
0a1848ec
LMI
40802011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4081
4082 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4083 menu items into verb phrases (bug#1421). Also refill to fit under
4084 80 columns.
4085
f5bd0689
CY
40862011-07-07 Chong Yidong <cyd@stupidchicken.com>
4087
538e85c6
CY
4088 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4089 (Info-read-node-name): Doc fix (Bug#1084).
4090
f5bd0689
CY
4091 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4092 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4093 (end-of-sexp, beginning-of-sexp)
4094 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4095 (forward-symbol, forward-same-syntax, word-at-point)
4096 (sentence-at-point): Doc fix (Bug#1144).
4097
56ec5115
LMI
40982011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4099
f3f8e37f
LMI
4100 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4101 should cover it (bug#1281).
4102
0757af94 4103 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 4104
e9fce1ac 4105 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
4106 negotiation fails, then possibly try again with a non-encrypted
4107 connection (bug#9017).
4108
56ec5115
LMI
4109 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4110 be used.
4111
c2f9aec8
RS
41122011-07-07 Richard Stallman <rms@gnu.org>
4113
4114 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4115 property, and handle its changed format.
4116 Look for the correct line number.
4117 Use file's line contents (but not past first =) to find
4118 correct line in message.
4119
ef7b981d 41202011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
4121
4122 * international/characters.el (build-unicode-category-table):
4123 Delete it.
0757af94 4124 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 4125
0757af94 4126 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
4127 to src/chartab.c.
4128 (get-char-code-property): Call unicode-property-table-internal to
4129 load a file. Call get-unicode-property-internal where necessary.
4130 (put-char-code-property): Call unicode-property-table-internal to
4131 load a file. Call put-unicode-property-internal where necessary.
4132 put-unicode-property-internal where necessary.
0757af94
SM
4133 (char-code-property-description):
4134 Call unicode-property-table-internal to load a file.
c805dec0
KH
4135
4136 * international/charprop.el:
4137 * international/uni-bidi.el:
4138 * international/uni-category.el:
4139 * international/uni-combining.el:
4140 * international/uni-comment.el:
4141 * international/uni-decimal.el:
4142 * international/uni-decomposition.el:
4143 * international/uni-digit.el:
4144 * international/uni-lowercase.el:
4145 * international/uni-mirrored.el:
4146 * international/uni-name.el:
4147 * international/uni-numeric.el:
4148 * international/uni-old-name.el:
4149 * international/uni-titlecase.el:
4150 * international/uni-uppercase.el: Regenerate.
4151
4152 * loadup.el: Load international/charprop.el before
4153 international/characters.
4154
e14b388a
CY
41552011-07-07 Chong Yidong <cyd@stupidchicken.com>
4156
4157 * window.el (next-buffer, previous-buffer): Signal an error if
4158 called from a minibuffer window.
4159
4160 * bindings.el: Revert 2011-07-04 change.
4161
354cf0ba
RS
41622011-07-06 Richard Stallman <rms@gnu.org>
4163
4164 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4165 (rmail-mime-insert-bulk, rmail-mime-insert-text):
4166 Treat markers like ints.
4167 (rmail-mime-entity): Doc fix.
4168
a48868a7
LMI
41692011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4170
4906cd3d
LMI
4171 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4172 defcustom again for backwards compatibility.
4173
e0457abe
LMI
4174 * simple.el (shell-command-on-region): Fill.
4175
d67f7e1f
LMI
4176 * dired-aux.el (dired-kill-line): Add a doc string.
4177
fe204702
LMI
4178 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4179 to "\\sw\\|\\s_" (bug#358).
4180
a48868a7
LMI
4181 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4182 (dired-unmark-backward): Ditto.
4183 (dired-flag-backup-files): Ditto.
4184
4185 * dired-x.el (dired-mark-sexp): Ditto.
4186
aa8a705c
RS
41872011-07-06 Richard Stallman <rms@gnu.org>
4188
4189 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4190 (rmail-mime-entity): New arg TRUNCATED.
4191 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4192 New functions.
4193 (rmail-mime-save): Warn if entity is truncated.
4194 (rmail-mime-toggle-hidden): Likewise, for showing.
4195 (rmail-mime-process-multipart): Record when an entity is truncated.
4196
a9a936b9
RS
4197 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
4198 if ENTITY is a string.
4199
1f2b92cb
LMI
42002011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4201
f4f73198 4202 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
4203 of faces when `M-C-x'-ing their definitions (bug#8378).
4204 Also clean up the code slightly.
f4f73198 4205
12b16734 4206 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 4207 because that makes the colors go away.
12b16734 4208
f0691d22
LMI
4209 * mail/sendmail.el (send-mail-function): Change the default to
4210 `sendmail-query-once'.
9e87df06 4211 (sendmail-query-once): Add an autoload cookie.
f0691d22 4212
1f2b92cb
LMI
4213 * net/network-stream.el (network-stream-open-starttls): Try using
4214 a plain connection even if the server offered STARTTLS, and we
4215 kinda wanted to use it, if Emacs doesn't have any STARTTLS
4216 capability. This should make smtpmail.el work in slightly more
4217 configurations.
4218
1cdd2a1b
MA
42192011-07-06 Michael Albinus <michael.albinus@gmx.de>
4220
4221 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4222 New defun.
4223 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
4224
fbcc67e2
MM
42252011-07-06 Michael R. Mauger <mmaug@yahoo.com>
4226
4227 * progmodes/sql.el: Version 3.0
0757af94 4228 (sql-product-alist): Add product :completion-object,
fbcc67e2 4229 :completion-column, and :statement attributes.
0757af94 4230 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 4231 (sql-mode-syntax-table): Mark all punctuation.
0757af94 4232 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
4233 ansi keywords.
4234 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 4235 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
4236 (sql-oracle-show-reserved-words): New function for development.
4237 (sql-product-font-lock): Simplify for source code buffers.
4238 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
4239 New functions.
4240 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
4241 (sql-mode-map): Add statement movement functions.
4242 (sql-ansi-statement-starters, sql-oracle-statement-starters):
4243 New variable.
fbcc67e2
MM
4244 (sql-statement-regexp, sql-beginning-of-statement)
4245 (sql-end-of-statement, sql-signum): New functions.
0757af94 4246 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
4247 (sql-show-sqli-buffer): Bug fix.
4248 (sql-interactive-mode): Store connection data as buffer local.
0757af94 4249 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
4250 with sql-interactive-mode.
4251 (sql-save-connection): Save buffer local settings.
0757af94 4252 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
4253 (sql-product-interactive): Bug fix.
4254 (sql-preoutput-hold): New variable.
4255 (sql-interactive-remove-continuation-prompt): Bug fixes.
4256 (sql-debug-redirect): New variable.
4257 (sql-str-literal): New function.
4258 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 4259 Redesign.
fbcc67e2
MM
4260 (sql-oracle-save-settings, sql-oracle-restore-settings)
4261 (sql-oracle-list-all, sql-oracle-list-table): New functions.
4262 (sql-completion-object, sql-completion-column)
4263 (sql-completion-sqlbuf): New variables.
4264 (sql-build-completions-1, sql-build-completions)
4265 (sql-try-completion): New functions.
4266 (sql-read-table-name): Use them.
4267 (sql-contains-names): New buffer local variable.
4268 (sql-list-all, sql-list-table): Use it.
4269 (sql-oracle-completion-types): New variable.
4270 (sql-oracle-completion-object, sql-sqlite-completion-object)
4271 (sql-postgres-completion-object): New functions.
4272
d4eaeab1
GM
42732011-07-06 Glenn Morris <rgm@gnu.org>
4274
4275 * window.el (pop-to-buffer): Doc fix.
4276
322b7dab 42772011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
4278
4279 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4280
322b7dab 42812011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 4282
322b7dab 4283 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 4284
322b7dab 4285 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 4286
605dd5bf
CY
42872011-07-05 Chong Yidong <cyd@stupidchicken.com>
4288
4289 * button.el (button): Inherit from link face. Suggested by Dan
4290 Nicolaescu.
4291
7dbfa719
SM
42922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4293
3db614b0
SM
4294 * progmodes/gdb-mi.el: Fit in 80 columns.
4295 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4296 switch-to-buffer.
4297
7dbfa719
SM
4298 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4299 if imenu is simply not configured (bug#8941).
4300
919d884a
KM
43012011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
4302
4303 * allout.el (allout-post-undo-hook): New allout outline-change
4304 event hook to signal undo activity.
4305 (allout-post-command-business): Run allout-post-undo-hook if an
4306 undo just occurred.
7dbfa719
SM
4307 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4308 * allout-widgets.el (allout-widgets-after-undo-function):
4309 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
4310 in the vicinity of an undo.
4311 (allout-widgets-mode): Include allout-widgets-after-undo-function
4312 on the new allout-post-undo-hook.
4313
450a0f09
SM
43142011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4317 Let define-derived-mode define it.
4318 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4319 cycles of abbrev-table inheritance (bug#8998).
4320
2de69e00
RW
43212011-07-05 Roland Winkler <winkler@gnu.org>
4322
4323 * textmodes/bibtex.el: Add support for biblatex.
4324 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4325 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4326 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4327 (bibtex-entry-alist, bibtex-field-alist): New variables.
4328 (bibtex-entry-field-alist): Obsolete alias for
4329 bibtex-BibTeX-entry-alist.
4330 (bibtex-entry-alist, bibtex-field-alist): New widgets.
4331 (bibtex-set-dialect): New command.
4332 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
4333 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4334 Bind via bibtex-set-dialect.
2de69e00
RW
4335 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4336 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4337 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4338 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4339 Define via bibtex-set-dialect.
450a0f09
SM
4340 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4341 Obey bibtex-no-opt-remove-re.
2de69e00
RW
4342 (bibtex-vec-push, bibtex-vec-incr): New functions.
4343 (bibtex-format-entry, bibtex-field-list)
4344 (bibtex-print-help-message, bibtex-validate)
4345 (bibtex-search-entries): Use new format of bibtex-entry-alist.
4346
2dcdbdd9
SM
43472011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4348
4349 * progmodes/compile.el (compilation-goto-locus):
4350 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4351 * bs.el (bs-cycle-next, bs-cycle-previous):
4352 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4353 * bindings.el (mode-line-other-buffer):
4354 * autoinsert.el (auto-insert):
4355 * arc-mode.el (archive-extract):
4356 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4357
b27640fe
JB
43582011-07-05 Juanma Barranquero <lekktu@gmail.com>
4359
4360 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4361 Fix check of `emacs-lock-unlockable-modes'.
4362 Coerce true values of `emacs-lock--try-unlocking' to t.
4363
53bbe3ad
JB
43642011-07-05 Juanma Barranquero <lekktu@gmail.com>
4365
4366 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4367 * emacs-lock.el: New file.
4368
1d3cdbc7
JD
43692011-07-05 Julien Danjou <julien@danjou.info>
4370
4371 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4372 than `boundp' to check if face is set.
4373
9173deec
JB
43742011-07-05 Juanma Barranquero <lekktu@gmail.com>
4375
4376 * register.el (registerv-make):
4377 * window.el (window-min-height): Fix typos in docstrings.
4378
869795d6
JD
43792011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4380
9173deec 4381 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
4382 Update doc string.
4383
b768cdcd
JB
43842011-07-04 Juanma Barranquero <lekktu@gmail.com>
4385
4386 * server.el (server-execute): Catch quit and call
4387 `server-return-error' to pass the error back to emacsclient and
4388 close the connection (bug#8942).
4389
13aa217b
KM
43902011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
4391
4392 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4393 insecure exception for current topic. Also note that auto-saves
4394 are handled differently.
4395
4396 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4397 State variables for tracking auto-save inhibition situation.
4398
4399 (allout-write-contents-hook-handler): Rename from
4400 'allout-write-file-hook-handler', and describe how it depends on
4401 write-contents-functions sensitivity to non-nil value to prevent
4402 file write.
4403
4404 (allout-auto-save-hook-handler): Remove. auto-save does not check
4405 this in individual buffers, only in the starting buffer, so this
4406 is not the right way for us to inhibit auto-save in a buffer
4407 according to its condition.
4408
4409 (allout-mode): Use new allout-write-contents-hook-handler, and
4410 only with write-contents-functions. Remove auto-save provisions -
4411 they're implemented elsewhere.
4412
4413 (allout-before-change-handler): If undo is in progress, note that
4414 for attention of allout-post-command-business.
4415
4416 (allout-post-command-business): If the command we're following was
4417 an undo, check for change in the status of encrypted items and
4418 adjust auto-save inhibitions accordingly.
4419
4420 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4421 according to whether there are or aren't any plain-text topics
4422 pending encryption.
4423
2dcdbdd9
SM
4424 (allout-inhibit-auto-save-info-for-decryption):
4425 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
4426 there are plain-text topics pending encryption.
4427
4428 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4429 buffer-saved-size and some allout state to not inhibit auto-saves
4430 if there are no longer any plain-text topics pending encryption.
4431
0757af94
SM
4432 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4433 No longer provide for exemption of the current topic.
13aa217b 4434
ac89b32c
JL
44352011-07-04 Juri Linkov <juri@jurta.org>
4436
4437 Add 7z operations to delete and save changed members (bug#8968).
4438 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4439 New defcustoms.
4440 (archive-7z-write-file-member): New function.
4441 (archive-7z-summarize): Fix the number of dashes in the
4442 listing output.
4443
8fa39615
SM
44442011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4447 (bug#8958).
4448
2f11b3f1
CY
44492011-07-04 Chong Yidong <cyd@stupidchicken.com>
4450
d66fef2b
CY
4451 * bindings.el: Ignore next-buffer and previous-buffer in
4452 minibuffer-local-map.
4453
2f11b3f1
CY
4454 * font-lock.el (font-lock-builtin-face): Change light background
4455 color to dark slate blue (Bug#6693).
4456
f932a347
WD
44572011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4458
4459 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4460
c8af70e1
SM
44612011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4462
4463 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4464 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4465 Add switch-to-buffer.
4466
f158badc
LMI
44672011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4468
4469 * isearch.el (isearch-search-fun-function): Clarify further the
4470 meaning of the function returned.
4471
6d95bd46
MA
44722011-07-04 Michael Albinus <michael.albinus@gmx.de>
4473
4474 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4475
4476 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4477 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4478 Use it.
4479 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4480 `tramp-default-remote-path' does not exist.
4481 (tramp-send-command-and-read): New optional argument NOERROR.
4482 (tramp-open-connection-setup-interactive-shell)
4483 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4484 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4485 (tramp-process-sentinel): Flush also process' connection property.
4486 (tramp-sh-handle-start-file-process): Do not set process
4487 sentinel. It is done now ...
4488 (tramp-maybe-open-connection): ... here. (Bug#8929)
4489
909e6b67
MK
44902011-07-04 MON KEY <monkey@sandpframing.com>
4491
4492 * play/animate.el (animate-string): Doc fixes and allow changing
4493 the buffer name (bug#5417).
4494
44952011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4496
c8af70e1 4497 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 4498
f34755dc
PE
44992011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4500
396cec72
PE
4501 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4502 This is simpler and helps future-proof the code.
4503 (timer-until): Use time-subtract and float-time.
08235028 4504 (timer--time-less-p): Use time-less-p.
f34755dc 4505
56e6cc31
JB
45062011-07-04 Juanma Barranquero <lekktu@gmail.com>
4507
3abb79e5
JB
4508 * type-break.el (timep): Use the value of `float-time' to avoid a
4509 byte-compiler warning.
4510
56e6cc31
JB
4511 * server.el (server-eval-and-print): Return any result, even nil.
4512
7b9430b4
PE
45132011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4514
4515 * type-break.el: Accept time formats that the builtins accept.
4516 (timep, type-break-time-difference): Accept any format that
4517 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4518 This is simpler and helps future-proof the code.
4519 (type-break-time-difference): Round rather than ignoring
4520 subseconds components.
4521
3034e9e7
LMI
45222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4523
4524 * info.el (Info-apropos-matches): Make non-interactive, since it
4525 doesn't seem to do anything useful as a command (bug#8829).
4526
1485f4c0
CY
45272011-07-03 Chong Yidong <cyd@stupidchicken.com>
4528
4529 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 4530 Move from faces.el.
1485f4c0
CY
4531 (frame-default-terminal-background): New function.
4532
4533 * custom.el (custom-push-theme): Don't record faces in `changed'
4534 theme; this doesn't work correctly for per-frame face settings.
4535 (disable-theme): Use face-set-after-frame-default to reset faces.
4536 (custom--frame-color-default): New function.
4537
9fa3dd45
LMI
45382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4539
c8af70e1 4540 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
4541 (bug#8769).
4542
6cbbc20c
KR
45432011-03-29 Kevin Ryde <user42@zip.com.au>
4544
4545 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4546 `perl-Test2' extend to match possible "fail #N" rep count
4547 (bug#8377).
4548
c7f98048
LMI
45492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4550
65676592
LMI
4551 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4552 `smtpmail-via-smtp' now returns the error instead of nil.
4553
c7f98048
LMI
4554 * isearch.el (isearch-search-fun-function): Clarify the doc string
4555 (bug#8101).
4556
56e6cc31 45572011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
4558
4559 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4560 unnecessary spaces (bug#8987).
4561
2b216704
LMI
45622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4563
4564 * net/network-stream.el (open-network-stream): Use the
4565 :end-of-capability command thoughout.
4566
45672011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4568
4569 * net/network-stream.el (open-network-stream): Add the
4570 :end-of-capability command parameter, used by pop3.el.
4571
36adf6ce
LMI
45722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4573
1ca0da0e
LMI
4574 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4575
fc00f69c
LMI
4576 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4577 for list)" (bug#6475).
4578
28fd8759 4579 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 4580 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
4581 an error (bug#6297).
4582
0dd8b6da
LMI
4583 * man.el (Man-reference-regexp): Allow matching possible
4584 word-wrapped references (bug#6289).
4585
ce1438d6
LMI
4586 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4587 for consistency with the other vc buffers (bug#6197).
4588 (vc-checkin): Ditto.
4589
4590 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4591
36adf6ce
LMI
4592 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4593
e83cc1f7
LMI
45942011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4595
8a20ca4c
LMI
4596 * custom.el (defcustom): Clarify that :set is only used in the
4597 Customize user interface (bug#6089).
4598
83319045
LMI
4599 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4600 associated with a file, refuse to run instead of erroring out
4601 (bug#6084).
4602
a8392169
LMI
4603 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4604 the doc string, since it appears that using `fill-column' always
4605 controls the width (bug#7845).
4606
e83cc1f7
LMI
4607 * simple.el (shell-command-on-region): Say where the error output
4608 went if `shell-command-default-error-buffer' is set (bug#6857).
4609
e47ca23b
KM
46102011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4611
4612 * allout.el (allout-yank-processing): Adjust cursor position for
4613 backwards-deleted space.
4614
4615 (allout-rebullet-heading): Register changes with
4616 allout-exposure-changed-hook, so the modified topic is properly
4617 decorated.
4618
5cf56143
LMI
46192011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4620
08549772
LMI
4621 * minibuffer.el (completion-in-region): Document PREDICATE
4622 (bug#7136).
4623
48e96771
LMI
4624 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4625 of keyword/argument pairs (bug#6904).
4626
c8af70e1
SM
4627 * replace.el (multi-occur):
4628 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 4629
e17d05e2
LMI
46302011-07-02 Drew Adams <drew.adams@oracle.com>
4631
4632 * dired.el (dired-mark-if): Make the message about whether it's
4633 marking or unmarking clearer (bug#8523).
4634
063b0e45
LMI
46352011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4636
4637 * disp-table.el (display-table-print-array): New function.
4638 (describe-display-table): Use it to print the vectors more pretty
4639 (Bug#8859).
4640
28545e04
MR
46412011-07-02 Martin Rudalics <rudalics@gmx.at>
4642
4643 * window.el (window-state-get-1): Don't assign clone numbers.
4644 Add clone-of item to list of window parameters.
4645 (window-state-put-2): Don't process clone numbers.
4646 (display-buffer-alist): Fix doc-string.
4647
3349e122
SM
46482011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 * subr.el (remq): Don't allocate if it's not needed.
4651 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4652 (keymap--merge-bindings): New functions.
4653 (keymap-canonicalize): Use them to refine the canonicalization.
4654 * minibuffer.el (minibuffer-local-completion-map)
4655 (minibuffer-local-must-match-map): Move initialization from C.
4656 (minibuffer-local-filename-completion-map): Move initialization from C;
4657 don't inherit from anything here.
4658 (minibuffer-local-filename-must-match-map): Make obsolete.
4659 (completing-read-default): Use make-composed-keymap to combine
4660 minibuffer-local-filename-completion-map with either
4661 minibuffer-local-must-match-map or
4662 minibuffer-local-filename-completion-map.
4663
d224ac83
GM
46642011-07-01 Glenn Morris <rgm@gnu.org>
4665
3de63bf8
GM
4666 * type-break.el (type-break-time-sum): Use dolist.
4667
d224ac83
GM
4668 * textmodes/flyspell.el (flyspell-word-search-backward):
4669 Replace CL function.
4670
1a1e3f32
SM
46712011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4672
fe3f64d5
SM
4673 * mouse.el (mouse--strip-first-event): New function.
4674 (function-key-map): Use it to map fringe clicks to normal clicks
4675 by default.
4676
eb604e34
SM
4677 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4678 (vc-bzr-revision-completion-table): Add support for annotate and date.
4679
1a1e3f32
SM
4680 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4681 inherit from parent.
4682
5bd35902
LMI
46832011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4684
ace6c69c 4685 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 4686 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 4687
191e2bed
LMI
4688 * dired.el (dired-mode): Fix up the doc string as suggested by
4689 Drew Adams (bug#8817).
4690
5bd35902
LMI
4691 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4692 cookie, since the manual says that it should be possible to add
4693 this function to `find-file-hook' (bug#8709).
4694
eee8207a
TZ
46952011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4696
4697 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4698 here. Noted Ted Zlatanov as the maintainer.
4699 (cfengine-common-settings, cfengine-common-syntax): New functions
4700 to set up common things between `cfengine-mode' and
4701 `cfengine3-mode'.
4702 (cfengine3-mode): New mode.
4703 (cfengine3-defuns cfengine3-defuns-regex
4704 (cfengine3-class-selector-regex cfengine3-category-regex)
4705 (cfengine3-vartypes cfengine3-font-lock-keywords)
4706 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 4707 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 4708
36b148cf
MA
47092011-07-01 Michael Albinus <michael.albinus@gmx.de>
4710
4711 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4712
4713 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4714
0bf4ba9a
MR
47152011-07-01 Martin Rudalics <rudalics@gmx.at>
4716
4717 * window.el (same-window-buffer-names, same-window-regexps)
4718 (same-window-p, special-display-frame-alist)
4719 (special-display-popup-frame, special-display-function)
4720 (special-display-buffer-names, special-display-regexps)
4721 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4722 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4723 (split-window-preferred-function, split-height-threshold)
4724 (split-width-threshold, even-window-heights)
4725 (display-buffer-mark-dedicated, window-splittable-p)
4726 (split-window-sensibly, window-safely-shrinkable-p):
4727 Un-obsolete.
4728 (display-buffer): Don't spread args with function specifier
4729 because special-display-popup-frame won't like it.
4730
35837f51
PE
47312011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4732
d0672f86
PE
4733 Time-stamp simplifications and fixes.
4734 These improve accuracy slightly, and future-proof the code
4735 against some potential changes to current-time format.
4736
b9444d97
PE
4737 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4738 by using time-since and float-time.
4739
0ef923dc
PE
4740 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4741 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4742 + NNN microseconds".
4743
2f81380d
PE
4744 * type-break.el (type-break-time-sum): Rewrite using time-add.
4745
845b5c3e
PE
4746 * play/hanoi.el (hanoi-current-time-float): Remove.
4747 All uses replaced by float-time.
4748
ee6f1be0
PE
4749 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4750 This yields a more-accurate answer.
4751 (rng-time-to-float): Remove; no longer needed.
4752
fe955043
PE
4753 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4754
5777162a
PE
4755 * calendar/timeclock.el (timeclock-seconds-to-time):
4756 Defalias to seconds-to-time, since they're the same thing.
4757
3103f8b6 4758 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 4759 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
4760 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4761
0e61a35f
SM
47622011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * window.el (bury-buffer): Don't iconify the only frame.
4765 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4766 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4767
ddd63a1e
CY
47682011-07-01 Chong Yidong <cyd@stupidchicken.com>
4769
0e61a35f
SM
4770 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4771 Add mouse-yank-primary.
ddd63a1e 4772
055f4923
TZ
47732011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4774
4775 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4776
6a2fb145
SM
47772011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4778
4779 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4780 (find-library-name): Use it to find relative load names when provided
4781 absolute file name (bug#8803).
4782
fd4983f2
LMI
47832011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4784
887d14ad
LMI
4785 * textmodes/flyspell.el (flyspell-word): Consider words that
4786 differ only in case as potential doublons (bug#5687).
4787
c53dc7fc
LMI
4788 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4789 Remove two rather uninteresting debugging-like messages to make
4790 debbugs.el more silent.
4791
fd4983f2
LMI
4792 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4793 a password-like phrase.
4794
b14c0c55
AM
47952011-06-30 Mastake YAMATO <yamato@redhat.com>
4796
4797 * progmodes/cc-guess.el: New file.
4798
6a2fb145 4799 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
4800
4801 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4802 derived from `c-basic-common-init'.
4803
4804 * progmodes/cc-mode.el (top-level): Require cc-guess.
4805 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4806
1fa280a3
LM
48072011-06-30 Lawrence Mitchell <wence@gmx.li>
4808
4809 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4810
e6597158
AM
48112011-06-30 Alan Mackenzie <acm@muc.de>
4812
1fa280a3
LM
4813 * progmodes/cc-engine.el (c-guess-continued-construct):
4814 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4815 lock is disabled. Name this case as "CASE G".
4816
68ba37fb
KM
48172011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4818
4819 * allout.el (allout-yank-processing): Fix injection of extra space
4820 between bullet and non-whitespace character in first topic when
4821 pasting, ensuring that the actual spacing in the pasted topic
4822 following the bullet char is preserved. This extra space was
4823 causing pasted encrypted topics to get a decrypted status even
4824 when the content was actually still encrypted. Now the decryption
4825 status from before the paste is preserved.
4826
4827 (allout-flag-region): Set all allout overlays so they evaporate
4828 when reduced to zero length (evanescent), to prevent overlay
4829 leakage.
4830
887a0b34
GM
48312011-06-30 Glenn Morris <rgm@gnu.org>
4832
94b9acce
GM
4833 * w32-fns.el (w32-charset-info-alist): Declare.
4834
1d9b46d4
GM
4835 * find-dired.el (find-grep-options): Simplify.
4836
cc232200
GM
4837 * term/ns-win.el (ns-set-resource): Declare.
4838
28e77c46
GM
4839 * ses.el (row, col): Declare dynamic variables honestly.
4840
887a0b34
GM
4841 * textmodes/reftex-parse.el (index-tags): Declare.
4842
658d8eb8
CY
48432011-06-30 Chong Yidong <cyd@stupidchicken.com>
4844
4845 * cus-edit.el (customize-push-and-save): New function.
4846
4847 * files.el (hack-local-variables-confirm): Use it.
4848
1fa280a3
LM
4849 * custom.el (load-theme): New arg NO-CONFIRM.
4850 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4851 (custom-enabled-themes): Doc fix.
4852
4853 * cus-theme.el (customize-create-theme)
4854 (custom-theme-merge-theme): Callers to load-theme changed.
4855
bb617717
LMI
48562011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4857
d61bdd5d
LMI
4858 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4859 short URLs have at least one dot in them (bug #7614).
4860
bb617717
LMI
4861 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4862 nil, because using a pty is apparently too slow (bug #895).
4863
2f31f37a
LMI
48642011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4865
4866 * mail/sendmail.el (sendmail-query-once): New function.
4867 (sendmail-query-once-function): New variable.
4868
3076b24e
GM
48692011-06-29 Glenn Morris <rgm@gnu.org>
4870
faf2a174
GM
4871 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4872
3076b24e
GM
4873 * ses.el (top-level): Require cl when compiling.
4874 (ses-set-localvars): Fix error statement.
4875 Call it at compile time to silence a storm of warnings.
4876
5386012d
MR
48772011-06-29 Martin Rudalics <rudalics@gmx.at>
4878
4879 * window.el (normalize-live-buffer): Rename to
4880 window-normalize-buffer.
4881 (normalize-live-frame): Rename to window-normalize-frame.
4882 (normalize-any-window): Rename to window-normalize-any-window.
4883 (normalize-live-window): Rename to window-normalize-live-window.
4884 (make-window-atom): Rename to window-make-atom.
4885 (window-resize-reset): Rename to window--resize-reset.
4886 (window-resize-reset-1): Rename to window--resize-reset-1.
4887 (resize-mini-window): Rename to window--resize-mini-window.
4888 (resize-subwindows-skip-p): Rename to
4889 window--resize-subwindows-skip-p.
4890 (resize-subwindows-normal): Rename to
4891 window--resize-subwindows-normal.
4892 (resize-subwindows): Rename to window--resize-subwindows.
4893 (resize-other-windows): Rename to window--resize-siblings.
4894 (resize-this-window): Rename to window--resize-this-window.
4895 (resize-root-window): Rename to window--resize-root-window.
4896 (resize-root-window-vertically): Rename to
4897 window--resize-root-window-vertically.
4898 (normalize-buffer-to-display): Rename to
4899 window-normalize-buffer-to-display.
4900 (normalize-buffer-to-switch-to): Rename to
4901 window-normalize-buffer-to-switch-to.
4902 Correspondingly update all callers of the functions listed
4903 above.
4904 (display-buffer-alist, display-buffer-normalize-arguments)
4905 (display-buffer-normalize-options, display-buffer)
4906 (display-buffer-alist-set): Use "function" instead of
4907 "fun-with-args".
4908
1176868d
CY
49092011-06-28 Chong Yidong <cyd@stupidchicken.com>
4910
4911 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4912 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4913 debbugs.gnu.org. Mention acknowledgment email.
4914
20a7a65f
LMI
49152011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4916
4917 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4918 buffer multibyteness, since it shouldn't matter.
4919
5f45cca5
MR
49202011-06-28 Martin Rudalics <rudalics@gmx.at>
4921
4922 * window.el (display-buffer-in-side-window): Handle dedicated
4923 windows as in display-buffer-reuse-window.
4924 (display-buffer-normalize-alist): Use value of override
4925 specifier.
4926 (display-buffer-normalize-specifiers): Use value of
4927 other-window-means-other-frame specifier.
4928 (display-buffer-alist): Rewrite some texts in widgets.
4929 (display-buffer): Spread arguments when calling function
4930 specified by fun-with-args.
4931
ad85fe1f
DD
49322011-06-28 Deniz Dogan <deniz@dogan.se>
4933
1fa280a3
LM
4934 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4935 Unnest `let'.
da68c4c8 4936
ad85fe1f
DD
4937 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4938 selectors (Bug#5732).
ec49bd31 4939 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4940
a08cc025
JA
49412011-06-27 Jari Aalto <jari.aalto@cante.net>
4942
4943 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4944 (eshell-ls-date-format): New defcustom.
4945 (eshell-ls-file): Use it.
4946
e2b551c5
SM
49472011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4948
4949 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4950
8982b231
KY
49512011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4952
4953 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4954 (ange-ftp-make-tmp-name): New arg.
4955 (ange-ftp-file-local-copy): Use it.
4956
36c9fa27
J
49572011-06-27 Jambunathan K <kjambunathan@gmail.com>
4958
4959 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4960 no-conversion (Bug#8870).
4961
d68443dc
MR
49622011-06-27 Martin Rudalics <rudalics@gmx.at>
4963
4964 * window.el (window-right, window-left, window-child)
4965 (window-child-count, window-last-child)
4966 (window-iso-combination-p, walk-window-tree-1)
4967 (window-atom-check-1, window-tree-1, delete-window)
4968 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4969 new naming conventions - window-vchild, window-hchild,
4970 window-next and window-prev are now called window-top-child,
4971 window-left-child, window-next-sibling and window-prev-sibling
4972 respectively.
d615d6d2
MR
4973 (resize-window-reset): Rename to window-resize-reset.
4974 (resize-window-reset-1): Rename to window-resize-reset-1.
4975 (resize-window): Rename to window-resize.
4976 (window-min-height, window-min-width)
4977 (resize-mini-window, resize-this-window, resize-root-window)
4978 (resize-root-window-vertically, adjust-window-trailing-edge)
4979 (enlarge-window, shrink-window, maximize-window)
4980 (minimize-window, delete-window, quit-restore-window)
4981 (split-window, balance-windows, balance-windows-area-adjust)
4982 (balance-windows-area, window-state-put-2)
4983 (display-buffer-even-window-sizes, display-buffer-set-height)
4984 (display-buffer-set-width, set-window-text-height)
4985 (fit-window-to-buffer): Rename all "resize-window" prefixed
4986 calls to use the "window-resize" prefix convention.
4987 (display-buffer-alist): Fix symbol for label specifier.
4988 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4989 corresponding specifier.
4990 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4991
b6458526
VB
49922011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4993
4994 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4995 convention.
4996 (ses-call-printer): Does not pass an empty string to formatter when the
4997 cell is empty to keep from barking printer Calc math-format-value.
4998
d31fd9ac
RS
49992011-06-27 Richard Stallman <rms@gnu.org>
5000
43d5bf84
RS
5001 * battery.el (battery-mode-line-limit): New variable.
5002 (battery-update): Handle it.
5003
d31fd9ac
RS
5004 * mail/rmailmm.el (rmail-mime-process-multipart):
5005 Handle truncated messages.
5006
819a6054
GM
50072011-06-27 Glenn Morris <rgm@gnu.org>
5008
5009 * progmodes/flymake.el (flymake-err-line-patterns):
5010 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5011
cedc73f2
VB
50122011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5013
819a6054 5014 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
5015 (ses--clean-!, ses--clean-_): New functions.
5016 (ses-range): Add configurability of readout order, and conversion
5017 to Calc vector.
5018
5e5d49b6
VB
5019 * ses.el (ses-repair-cell-reference-all): New function.
5020 (ses-cell-symbol): Set macro as safe, so that it can be used in
5021 formulas.
5022
56e6cc31 5023 * ses.el: Update cycle detection algorithm.
90ca8b49 5024 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 5025 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
5026 (ses-set-localvars): New function.
5027 (ses-make-cell): Add property-list as a cell element.
5028 (ses-cell-property-get-fun, ses-cell-property-get)
5029 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
5030 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5031 New functions.
90ca8b49
VB
5032 (ses-cell-property-set, ses-cell-property-pop)
5033 (ses-cell-property-get-handle): New macro.
5034 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5035 New aliases, used for code readability.
5036 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5037 cycle detection.
5038 (ses-self-reference-early-detection): New defcustom.
5039 (ses-formula-references): Robustify against self-refering cells.
5040 (ses-mode): Use ses-set-localvars.
5041 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5042 before lauching the update processing.
5043 (ses-initialize-Dijkstra-attempt): New function.
5044 (ses-recalculate-cell): Update for cycle detection based on
5045 Dijkstra algorithm.
5046
2bb63e81
VB
5047 * ses.el: Fix commenting and indenting convention.
5048
c9d29fb8
SM
50492011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5050
5051 * bs.el (bs-cycle-next): Complete last change.
5052
d8e4b68b
JB
50532011-06-27 Drew Adams <drew.adams@oracle.com>
5054
5055 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5056
40098786
LMI
50572011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5058
c9d29fb8
SM
5059 * net/network-stream.el (network-stream-open-starttls):
5060 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
5061 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5062
40098786
LMI
5063 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5064 to binary to possibly avoid line encoding issues on Windows (among
5065 other things).
5066
468d09d4
LMI
50672011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5068
5069 * net/network-stream.el (open-network-stream): Return an :error
5070 saying what the problem was, if possible.
5071
5072 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5073 server.
5074
5075 * net/network-stream.el (network-stream-open-starttls): If we
5076 wanted to use STARTTLS, and the server offered it, but we weren't
5077 able to because we had no STARTTLS support, then close the connection.
5078 (open-network-stream): Return an :error element, if present.
5079
16f07dd7
CY
50802011-06-26 Chong Yidong <cyd@stupidchicken.com>
5081
88821ca0
CY
5082 * hl-line.el (hl-line-sticky-flag): Doc fix.
5083 (global-hl-line-sticky-flag): New option (Bug#8323).
5084 (global-hl-line-highlight): Obey it.
5085
16f07dd7
CY
5086 * vc/vc.el (vc-revert-show-diff): Default to t.
5087
6b5ccddf
KM
50882011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5089
c9d29fb8
SM
5090 * allout-widgets.el (allout-widgets-post-command-business):
5091 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
5092 undecorated when an isearch is continued past, and isearch
5093 automatically collapses them. This leads to "widget leaks", where
5094 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
5095 hidden widgets can slow down cursor travel, substantially.
5096 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
5097 so we're doing without this nicety.
5098
5099 (allout-widgets-tally-string): Don't try to do a hash-table-count
5100 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5101 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5102 *Messages* when allout-widgets-maintain-tally is t.
5103
355f2e07
MR
51042011-06-26 Martin Rudalics <rudalics@gmx.at>
5105
5106 * window.el (display-buffer-normalize-argument): Rename to
5107 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
5108 LABEL argument. Respect special-display-function when popping up
5109 a new frame. Fix code searching for a window showing the buffer
5110 on another frame.
c9d29fb8
SM
5111 (display-buffer-normalize-specifiers):
5112 Call display-buffer-normalize-arguments.
355f2e07
MR
5113 (display-buffer-in-window): Don't undedicate the window if its
5114 buffer remains the same.
5115 Reported by Drew Adams <drew.adams@oracle.com>.
5116 (display-buffer-alist): Add choice for same-window macro
5117 specfier.
5118 (display-buffer): Mention special meaning of LABEL argument in
5119 doc-string. Fix quoting. Don't pop up a new frame even as
5120 fallback.
5121
7ca8fc42
JB
51222011-06-26 Juanma Barranquero <lekktu@gmail.com>
5123
5124 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5125 avoid deleting the current window in some cases (bug#8911).
5126
bc312254
AS
51272011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5128
5129 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5130 (Bug#8934)
5131
2db18f3f
LMI
51322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5133
c9d29fb8
SM
5134 * net/network-stream.el (network-stream-open-starttls):
5135 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
5136 (network-stream-open-tls): Ditto.
5137
6302e0d3
LL
51382011-06-26 Leo Liu <sdl.web@gmail.com>
5139
5140 * register.el (registerv): New struct.
5141 (registerv-make): New function.
c9d29fb8
SM
5142 (jump-to-register, describe-register-1, insert-register):
5143 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
5144 struct. (Bug#8415)
5145
5fdd4046
CY
51462011-06-26 Chong Yidong <cyd@stupidchicken.com>
5147
2afef60a
CY
5148 * vc/vc.el (vc-revert-show-diff): New defcustom.
5149 (vc-diff-internal): New arg specifying diff buffer.
5150 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5151 reuse an existing *vc-diff* buffer (Bug#8927).
5152
5fdd4046
CY
5153 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5154
e93db24a
GM
51552011-06-26 Glenn Morris <rgm@gnu.org>
5156
5157 * progmodes/f90.el (f90-critical-indent): New option.
5158 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5159 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5160 (f90-mode): Doc fix.
5161 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5162 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5163 (f90-beginning-of-block, f90-next-block, f90-indent-region)
5164 (f90-match-end): Handle block, critical.
5165
eefff499
GM
51662011-06-25 Glenn Morris <rgm@gnu.org>
5167
f6ba4cc9
GM
5168 * calendar/diary-lib.el (diary-included-files): Doc fix.
5169 (diary-include-files): New function, extracted from
5170 diary-include-other-diary-files and diary-mark-included-diary-files.
5171 (diary-include-other-diary-files, diary-mark-included-diary-files):
5172 Just call diary-include-files.
5173 (diary-mark-entries): Reset diary-included-files on first call.
5174
16712304
GM
5175 * calendar/diary-lib.el (diary-mark-entries)
5176 (diary-mark-included-diary-files):
5177 Visit included diary-files in temp buffers.
5178
5d8e0d43
GM
5179 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5180 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5181 (f90-start-block-re, f90-imenu-generic-expression)
5182 (f90-looking-at-program-block-start, f90-no-block-limit):
5183 Add support for submodules.
5184
ccf7a5d5
GM
5185 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5186 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 5187
11fdef7d 51882011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
5189
5190 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5191 buffer-file-type before setting its value, to avoid disastrous
eefff499 5192 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 5193
74f53697
JB
51942011-06-25 Juanma Barranquero <lekktu@gmail.com>
5195
5196 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5197
5198 * ses.el (ses-unload-function):
5199 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
5200
5201 * proced.el (proced-unload-function):
5202 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
5203
18a4ce5e
AR
52042011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
5205
5206 * server.el (server-create-window-system-frame): Add parameters arg.
5207 (server-process-filter): Doc fix. Handle frame-parameters.
5208
519d22cc
JB
52092011-06-25 Juanma Barranquero <lekktu@gmail.com>
5210
5211 Fix bug#8730, bug#8781.
5212
5213 * loadhist.el (unload--set-major-mode): New function.
5214 (unload-feature): Use it.
5215
5216 * progmodes/python.el (python-after-info-look): Add autoload cookie.
5217 (python-unload-function): New function.
5218
c206f5b0
SM
52192011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5220
5221 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
5222
f9ad64f3
GS
52232011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
5224
5225 * net/browse-url.el (browse-url-firefox-program): Add icecat to
5226 the candidates list.
5227
7d0da90e
JB
52282011-06-24 Juanma Barranquero <lekktu@gmail.com>
5229
5230 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
5231
14b4e83d
RS
52322011-06-23 Richard Stallman <rms@gnu.org>
5233
5234 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
5235 (rmail-variables): Set next-error-move-function.
5236 (rmail-what-message): Take argument POS.
5237 (rmail-next-error-move): New function.
5238
273d2baf
SM
52392011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5240
5241 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
5242 messages for adjacent non-terminals.
5243
56c2cc9a
RS
52442011-06-23 Richard Stallman <rms@gnu.org>
5245
5246 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 5247 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
5248 (rmail-start-mail): Don't specify use of rmail-mail-return;
5249 that's done by mail-bury now.
5250 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 5251
d59eb518
MA
52522011-06-23 Michael Albinus <michael.albinus@gmx.de>
5253
5254 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5255 SIZE is a number.
5256
02cfc6d6
MR
52572011-06-23 Martin Rudalics <rudalics@gmx.at>
5258
5259 * window.el (get-lru-window, get-mru-window)
5260 (get-largest-window): Never return a minibuffer window.
5261 (display-buffer-pop-up-window): Fix a bug that could lead to
5262 reusing the minibuffer window.
5263 (display-buffer): Pass original specifier argument to
5264 display-buffer-function instead of the normalized one.
5265 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5266
4e323265
LL
52672011-06-22 Leo Liu <sdl.web@gmail.com>
5268
5269 * minibuffer.el (completing-read-function)
5270 (completing-read-default): Move from minibuf.c
5271
7a70468f
RS
52722011-06-22 Richard Stallman <rms@gnu.org>
5273
50718fc2
RS
5274 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5275 to Rmail even if not started by a special Rmail command.
5276
7a70468f
RS
5277 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5278 Copy the buffer currently showing just one message.
5279
297dde5a
RW
52802011-06-22 Roland Winkler <winkler@gnu.org>
5281
5282 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5283 (bibtex-clean-entry): First delete the old key so that a
5284 customized algorithm for generating the new key does not get
5285 confused by the old key.
5286 (bibtex-url): Obey regexp of first step.
5287 (bibtex-search-entries): Do not use add-to-list with local
5288 list-var.
5289
97bb1093
LMI
52902011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5291
5292 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5293 stored a user name, then query for the password first, instead of
5294 waiting for SMTP to give an error message and the trying again.
5295
1c0f1a19
JD
52962011-06-22 Lawrence Mitchell <wence@gmx.li>
5297
5298 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5299 BUFFER in call-process.
5300
396f7c9d
LMI
53012011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5302
5303 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5304 QUIT twice.
ddb7ffee
LMI
5305 (smtpmail-try-auth-methods): Require user name and password from
5306 auth-source.
396f7c9d 5307
8998d1b3
MR
53082011-06-22 Martin Rudalics <rudalics@gmx.at>
5309
5310 * window.el (display-buffer-default-specifiers)
5311 (display-buffer-alist): Remove entries for pop-up-frame-alist.
5312 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 5313 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
5314
5315 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5316 (special-display-frame-alist, special-display-popup-frame):
5317 Remove duplicate declarations. These are now in window.el.
5318
4ea31e07
LMI
53192011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5320
c9d29fb8
SM
5321 * mail/smtpmail.el (smtpmail-via-smtp):
5322 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
5323 server supports it. SMTP servers that support STARTTLS commonly
5324 require it.
5325
5326 * net/network-stream.el (network-stream-open-starttls): Support
5327 upgrading to STARTTLS always, even if we don't have built-in support.
5328 (open-network-stream): Add the :always-query-capabilies keyword.
5329
95f41d9a
LMI
5330 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5331 upgrades with `open-network-stream', and rely solely on
5332 auth-source for all credentials. Big changes throughout the file,
5333 but in particular:
c9d29fb8
SM
5334 (smtpmail-auth-credentials): Remove.
5335 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
5336 (smtpmail-via-smtp): Check for servers saying they want AUTH after
5337 MAIL FROM, too.
95f41d9a 5338
c9d29fb8
SM
5339 * net/network-stream.el (network-stream-open-starttls):
5340 Provide support for client certificates both for external and built-in
4ea31e07
LMI
5341 STARTTLS.
5342 (auth-source): Require.
5343 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
5344 (network-stream-certificate): Change cert-cert to cert and
5345 cert-key to key.
4ea31e07 5346
065ec2c7
MA
53472011-06-21 Michael Albinus <michael.albinus@gmx.de>
5348
5349 * net/tramp-cache.el (top): Don't load the persistency file when
5350 "emacs -Q" has been called.
5351
cd93b359
DR
53522011-06-21 Tim Harper <timcharper@gmail.com>
5353
d8e4b68b
JB
5354 * term/ns-win.el (ns-initialize-window-system):
5355 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
5356 resource to NO as it is not yet supported by the NS port.
5357
ae9c0411
JB
53582011-06-21 Juanma Barranquero <lekktu@gmail.com>
5359
5360 * misc.el (list-dynamic-libraries--refresh): Compute header here...
5361 (list-dynamic-libraries): ...not here.
5362
7f3f739f
LL
53632011-06-21 Leo Liu <sdl.web@gmail.com>
5364
5365 * subr.el (sha1): Implement sha1 using secure-hash.
5366
327c8fb1
MR
53672011-06-21 Martin Rudalics <rudalics@gmx.at>
5368
5369 * window.el (display-buffer-alist): In default value do not
5370 enforce searching a window on any but the selected frame.
5371 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5372 (display-buffer-select-window): Remove function.
5373 (display-buffer-in-window): When a window on another frame gets
5374 reused, do not select it any more but just raise its frame if
5375 necessary (Bug#8851) and (Bug#8856).
5376 (display-buffer-normalize-options): Handle pop-up-frames related
5377 options more faithfully.
5378 (pop-to-buffer): Don't rely on `display-buffer' selecting the
5379 window if it is on another frame.
c9d29fb8
SM
5380 (display-buffer-alist, display-buffer-default-specifiers):
5381 Don't make new frame unsplittable by default.
9e9de014
MR
5382 (display-buffer-normalize-argument): Fix doc-string typo and use
5383 'same-frame-other-window instead of 'other-window when associating
5384 with display-buffer-macro-specifiers.
327c8fb1 5385
7cf3f556
VB
53862011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
5387
5388 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5389 New functions.
5390 (5x5-mode-map, 5x5-mode-menu): Bind them.
5391 (5x5-draw-grid): Tweak the solver's rendering.
5392
60a406cf
SM
53932011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5394
5395 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5396 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
5397
d8e4b68b 53982011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
5399
5400 * menu-bar.el: Use function variable instead of switch-to-buffer.
5401 (menu-bar-select-buffer-function): New variable.
60a406cf 5402 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 5403
478d6f95
SM
54042011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5405
5406 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5407 variable's status.
5408
ca530739
JD
54092011-06-20 Jan Djärv <jan.h.d@swipnet.se>
5410
5411 * x-dnd.el (x-dnd-version-from-flags)
5412 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5413 and long as number (Bug#8899).
5414 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5415
bcd70d97
SM
54162011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5417
60a406cf 5418 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
5419 (completion-try-completion, completion-all-completions): Compute the
5420 metadata argument if it's missing; make it optional (bug#8795).
5421
60a406cf 5422 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
5423 (widget-complete): Use new :completion-function property.
5424 (widget-completions-at-point): New function.
5425 (default): Use :completion-function instead of :complete.
60a406cf
SM
5426 (widget-default-completions): Rename from widget-default-complete;
5427 Rewrite.
bcd70d97
SM
5428 (widget-string-complete, widget-file-complete, widget-color-complete):
5429 Remove functions.
5430 (file, symbol, function, variable, coding-system, color):
5431 * international/mule-cmds.el (default-input-method, charset)
5432 (language-info-custom-alist):
5433 * cus-edit.el (face): Use new property :completions.
5434
5435 * progmodes/pascal.el (pascal-completions-at-point): New function.
5436 (pascal-mode): Use it.
5437 (pascal-mode-map): Use completion-at-point.
5438 (pascal-toggle-completions): Make obsolete.
5439 (pascal-complete-word, pascal-show-completions):
5440 * progmodes/octave-mod.el (octave-complete-symbol):
5441 Redefine as obsolete alias.
5442 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5443 Signal absence of completion info for old Octave,
5444 (inferior-octave-complete): Redefine as obsolete alias.
5445 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5446 (meta-completions-at-point): Rename from meta-complete-symbol and
5447 adapt it for use on completion-at-point-functions.
5448 (meta-common-mode): Use it.
5449 (meta-looking-at-backward, meta-match-buffer): Remove.
5450 (meta-complete-symbol): Redefine as obsolete alias.
5451 (meta-common-mode-map): Use completion-at-point.
5452 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5453 (makefile-mode-map): Use completion-at-point.
5454 (makefile-completions-at-point): Rename from makefile-complete and
5455 adapt it for use on completion-at-point-functions.
5456 (makefile-mode): Use it.
5457 (makefile-complete): Redefine as obsolete alias.
5458
aebf69c8
DD
54592011-06-20 Deniz Dogan <deniz@dogan.se>
5460
5461 * net/rcirc.el: Delete trailing whitespaces once and for all.
5462
bfbbb27d
DC
54632011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5464
5465 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5466
d264a46b
CY
54672011-06-19 Chong Yidong <cyd@stupidchicken.com>
5468
4ca009e5
CY
5469 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5470
d264a46b
CY
5471 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5472
fbf5b3ce
MR
54732011-06-19 Martin Rudalics <rudalics@gmx.at>
5474
5475 * window.el (display-buffer-other-window-means-other-frame):
5476 Call display-buffer-normalize-alist.
5477 (display-buffer-normalize-specifiers-1): Rename to
5478 display-buffer-normalize-argument. New argument other-frame.
5479 Rewrite.
5480 (display-buffer-normalize-specifiers-2): Rename to
5481 display-buffer-normalize-options.
5482 (display-buffer-normalize-alist-1): New function.
5483 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
5484 display-buffer-normalize-alist.
5485 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
5486 (display-buffer-normalize-options-inhibit): New variable.
5487 (display-buffer-normalize-specifiers): Rewrite calling
5488 display-buffer-normalize-alist,
5489 display-buffer-normalize-argument, and
5490 display-buffer-normalize-options. Don't call the latter if
5491 display-buffer-normalize-options-inhibit is non-nil.
5492 (frame-auto-delete): New option.
5493 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
5494 (window-list-no-nils, window-state-ignored-parameters)
5495 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
5496 (window-state-put-1, window-state-put-2, window-state-put):
5497 New functions.
9a028c23
MR
5498 (display-buffer-normalize-options): Move special-display-p group
5499 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 5500
6d10d800
CY
55012011-06-18 Chong Yidong <cyd@stupidchicken.com>
5502
6420d28b
CY
5503 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5504 groups (Bug#8776).
5505 (rx-submatch-n): New function.
5506 (rx): Document it.
5507
ddb8b596
CY
5508 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5509 (Bug#8768).
5510
5511 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5512
77080289
CY
5513 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5514
61dfb316
CY
5515 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5516 anytime existing face settings are present (Bug#8889).
5517
6d10d800
CY
5518 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5519 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5520 Remove unused argument.
5521
be3fb2b8
MR
55222011-06-18 Martin Rudalics <rudalics@gmx.at>
5523
bcd70d97
SM
5524 * window.el (display-buffer-default-specifiers):
5525 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
5526 pop-up-window-min-width, and another reuse-window specifier
5527 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
5528 (display-buffer-normalize-specifiers-2):
5529 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
5530 pop-up-windows is unset. Add a reuse-window specifier for the
5531 case popping up a new window fails.
5532 (special-display-popup-frame): Remove double quoting.
28dec25a 5533 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 5534
1c6d8c76
SM
55352011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5538 according to comint-completion-addsuffix.
5539
5540 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5541 (pcomplete-suffix-list): Mark as obsolete.
5542 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5543 pcomplete-seen in the closure.
5544 (pcomplete-comint-setup): Setup completion-at-point as well.
5545 (pcomplete--entries): New function.
5546 (pcomplete--env-regexp): New var.
5547 (pcomplete-entries): Rewrite to work with partial-completion and
5548 without relying on pcomplete-suffix-list.
5549 (pcomplete-pare-list): Remove, unused.
5550
25aef8b8
MR
55512011-06-17 Martin Rudalics <rudalics@gmx.at>
5552
5553 * window.el (display-buffer-alist): Set pop-up-window-min-height
5554 and pop-up-window-min-width in default value. Reported by
5555 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5556 other-window-means-other-frame.
5557 (display-buffer-macro-specifiers): Comment out entry for
5558 other-window specifier.
5559 (display-buffer-other-window-means-other-frame): New function.
5560 (display-buffer-normalize-specifiers-1): New arguments
5561 buffer-name and label. Treat other-window case specially.
5562 (display-buffer-normalize-specifiers-2): Treat other-window case
5563 specially.
5564 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
5565 (display-buffer-normalize-specifiers):
5566 Call display-buffer-normalize-specifiers-3.
25aef8b8 5567
dbad4f69
MR
55682011-06-17 Martin Rudalics <rudalics@gmx.at>
5569
5570 * window.el (same-window-p): Fix two typos introduced when
5571 adding with-no-warnings.
d1067961
MR
5572 (display-buffer-normalize-specifiers-1): Don't check
5573 pop-up-frames for 'unset initialization.
5574 (display-buffer-normalize-specifiers-2): Major rewrite using
5575 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5576 (pop-up-frames, display-buffer-reuse-frames)
5577 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5578 Suggested by David Engster <deng@randomsample.de>.
5579 (even-window-heights): Initialize to 'unset.
5580 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
5581 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5582 other window case.
dbad4f69 5583
9b9c9e3a
MR
55842011-06-16 Martin Rudalics <rudalics@gmx.at>
5585
bcd70d97
SM
5586 * window.el (display-buffer-normalize-specifiers-1):
5587 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 5588 second argument of display-buffer (Bug#8865).
981d5c09
MR
5589 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5590 (switch-to-buffer-other-window-same-frame)
5591 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5592 Adams (Bug#8875).
9c2755e9
MR
5593 (display-buffer): Don't check noninteractive when calling
5594 display-buffer-pop-up-frame.
5595 (display-buffer-pop-up-frame): Never pop up a frame in
5596 noninteractive mode (Bug#8857).
67222e1d
MR
5597 (enlarge-window, shrink-window): Don't report an error when the
5598 window can't be resized as requested (Bug#8862).
9b9c9e3a 5599
2b75be67
SM
56002011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5601
9ffdd3ba
SM
5602 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5603
cb581a67
SM
5604 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5605
2b75be67
SM
5606 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5607
8c0e3589
AM
56082011-06-15 Alan Mackenzie <acm@muc.de>
5609
cb581a67
SM
5610 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5611 for declarators, disable knr checking to speed up for normal files.
5612 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 5613
b96e6cde
LMI
56142011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5615
4bba86e6
LMI
5616 * net/network-stream.el (open-network-stream): Add the keyword
5617 :always-query-capabilities for the case where you want to force a
5618 `plain' network connection, but the protocol still requires the
5619 capabilitiy command (i.e., SMTP and EHLO).
5620
2b75be67 5621 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
5622 consistency with other `-live-p' functions.
5623
efdcdbf8
SM
56242011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * window.el (same-window-buffer-names, same-window-regexps)
5627 (special-display-frame-alist, special-display-popup-frame)
5628 (special-display-function, special-display-buffer-names)
5629 (special-display-regexps, pop-up-frame-alist)
5630 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5631 (pop-up-windows, split-window-preferred-function)
5632 (split-height-threshold, split-width-threshold, even-window-heights)
5633 (display-buffer-mark-dedicated): Don't encourage the use of
5634 display-buffer-alist from Elisp code.
5635
c5cde042
DN
56362011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5637
5638 * progmodes/python.el (python-mode): Derive from prog-mode.
5639 * progmodes/ps-mode.el (ps-mode):
5640 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 5641 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
5642 * progmodes/ld-script.el (ld-script-mode): Likewise.
5643
baa1c9ab
MR
56442011-06-15 Martin Rudalics <rudalics@gmx.at>
5645
5646 * window.el (display-buffer-alist): Trim default value to avoid
5647 popping up a new frame (Bug#8857) or reusing an arbitrary window
5648 on another frame.
5649 (display-buffer): Do not fall back on popping up a new frame in
5650 batch mode (Bug#8857).
5651
c5dd5a51
CY
56522011-06-14 Chong Yidong <cyd@stupidchicken.com>
5653
5654 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5655 (custom-theme-summary): New function.
5656 (customize-themes): Use it.
5657
d647b7c4
GM
56582011-06-13 Glenn Morris <rgm@gnu.org>
5659
5660 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5661
9481c002
MR
56622011-06-13 Martin Rudalics <rudalics@gmx.at>
5663
357f93d2
MR
5664 * help.el (help-window): Remove variable.
5665 (help-window-point-marker, temp-buffer-max-height)
5666 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5667 (help-print-return-message): Don't set help-window.
5668 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5669 (help-window-setup-finish): Remove.
5670 (help-window-display-message, help-window-setup)
5671 (with-help-window): Major rewrite based on new
5672 display-buffer-window variable.
5673
5674 * help-mode.el (help-mode-finish): Remove help-window related
5675 code.
5676
5677 * view.el (view-exits-all-viewing-windows): Remove reference to
5678 view-return-to-alist in doc-string.
5679 (view-return-to-alist): Make obsolete.
5680 (view-buffer): Call pop-to-buffer-same-window and remove
5681 undo-window code.
5682 (view-buffer-other-window): Call pop-to-buffer-other-window and
5683 simplify code. Ignore second argument.
5684 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5685 simplify code. Ignore second argument.
5686 (view-return-to-alist-update): Make obsolete.
5687 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5688 Rewrite using quit-restore window parameters.
2b75be67
SM
5689 (view-mode-exit): Rename second argument to EXIT-ONLY.
5690 Rewrite using quit-restore-window.
357f93d2
MR
5691 (View-exit, View-exit-and-edit, View-leave, View-quit)
5692 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5693 appropriate arguments.
5694 (view-end-message): Use quit-restore window parameter.
5695
9481c002
MR
5696 * window.el (display-buffer-function): Rewrite doc-string.
5697 (display-buffer-window, display-buffer-alist): New variables.
5698 (display-buffer-split-specifiers)
5699 (display-buffer-side-specifiers)
5700 (display-buffer-macro-specifiers): New constants.
5701 (display-buffer-even-window-sizes, display-buffer-set-height)
5702 (display-buffer-set-width, display-buffer-select-window)
5703 (display-buffer-in-window, display-buffer-reuse-window)
5704 (display-buffer-split-window-1, display-buffer-split-window)
5705 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5706 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5707 (display-buffer-in-side-window, normalize-buffer-to-display)
5708 (display-buffer-normalize-specifiers-1)
5709 (display-buffer-normalize-specifiers-2)
2b75be67
SM
5710 (display-buffer-normalize-specifiers, display-buffer-frame):
5711 New functions.
9481c002
MR
5712 (display-buffer): Major rewrite.
5713 (display-buffer-other-window, display-buffer-other-frame)
5714 (pop-to-buffer, switch-to-buffer-other-window)
5715 (switch-to-buffer-other-frame): Rewrite.
5716 (display-buffer-same-window, display-buffer-same-frame)
5717 (display-buffer-same-frame-other-window)
5718 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5719 (pop-to-buffer-other-window)
5720 (pop-to-buffer-same-frame-other-window)
5721 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5722 (switch-to-buffer-other-window-same-frame): New functions.
5723 (same-window-p, special-display-p): Rewrite disabling warnings.
5724 Make obsolete.
5725 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5726 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5727 Make obsolete
5728 (same-window-buffer-names, same-window-regexps)
5729 (special-display-frame-alist, special-display-popup-frame)
5730 (special-display-function, special-display-buffer-names)
5731 (special-display-regexps, pop-up-frame-alist)
5732 (pop-up-frame-function, split-window-preferred-function)
5733 (split-height-threshold, split-width-threshold)
5734 (even-window-heights): Make obsolete.
5735
9db51aca
GM
57362011-06-12 Glenn Morris <rgm@gnu.org>
5737
5738 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 5739 Misc simplifications.
9db51aca 5740
39cffb44
MR
57412011-06-12 Martin Rudalics <rudalics@gmx.at>
5742
5743 * window.el (window-safely-shrinkable-p): Restore function which
5744 was inadvertently removed in change from 2011-06-11. Declare as
5745 obsolete.
5746
2b75be67
SM
5747 * calendar/calendar.el (calendar-generate-window):
5748 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
5749 window-safely-shrinkable-p.
5750
a8955be7
GM
57512011-06-12 Glenn Morris <rgm@gnu.org>
5752
5753 * progmodes/fortran.el (fortran-mode-syntax-table):
5754 * progmodes/f90.el (f90-mode-syntax-table):
5755 Set % to punctuation. (Bug#8820)
5756 (f90-find-tag-default): Remove, no longer needed.
5757
f0d4059d
DC
57582011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5759
5760 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5761
1100a63c
CY
57622011-06-11 Chong Yidong <cyd@stupidchicken.com>
5763
5764 * image.el (image-animated-p): Return animation delay in seconds.
5765 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5766 (image-animate-timeout): Remove DELAY argument. Don't assume
5767 every subimage has the same delay; get it from image-animated-p.
5768 (image-animate): Caller changed.
5769
def722bf
MA
57702011-06-11 Michael Albinus <michael.albinus@gmx.de>
5771
5772 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5773 to ignored backtrace functions.
5774
0a2bb1a9
GM
57752011-06-11 Glenn Morris <rgm@gnu.org>
5776
5777 * calendar/appt.el (appt-disp-window-function): Doc fix.
5778 (appt-check): Handle overlapping appointments. (Bug#8337)
5779
6198ccd0
MR
57802011-06-11 Martin Rudalics <rudalics@gmx.at>
5781
5782 * window.el (window-tree-1, window-tree): New functions, moving
5783 the latter to window.el.
5784 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5785 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5786 (bw-refresh-edges): Remove.
5787 (balance-windows-1, balance-windows-2): New functions.
5788 (balance-windows): Rewrite in terms of window tree functions,
5789 balance-windows-1 and balance-windows-2.
5790 (bw-adjust-window): Remove.
5791 (balance-windows-area-adjust): New function with functionality of
5792 bw-adjust-window but using resize-window.
2b75be67
SM
5793 (set-window-text-height): Rewrite doc-string.
5794 Use normalize-live-window and resize-window.
5795 (enlarge-window-horizontally, shrink-window-horizontally):
5796 Rename argument to DELTA.
6198ccd0
MR
5797 (window-buffer-height): New function.
5798 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5799 Rewrite using new window resize routines.
2b75be67
SM
5800 (kill-buffer-and-window, mouse-autoselect-window-select):
5801 Use ignore-errors instead of condition-case.
6198ccd0
MR
5802 (quit-window): Call delete-frame instead of delete-windows-on
5803 for the only buffer on frame.
5804
9397e56f
MR
58052011-06-10 Martin Rudalics <rudalics@gmx.at>
5806
5807 * loadup.el (top-level): Load window before files for the sake
5808 of replace-buffer-in-windows.
5809
5810 * files.el (read-buffer-to-switch)
5811 (switch-to-buffer-other-window)
2b75be67
SM
5812 (switch-to-buffer-other-frame, display-buffer-other-frame):
5813 Move to window.el.
9397e56f
MR
5814
5815 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5816 (previous-buffer): Move to window.el.
5817
5818 * bindings.el (unbury-buffer): Move to window.el.
5819
5820 * window.el (delete-other-windows-vertically): Move after
5821 definition of delete-other-windows.
5822 (other-window, delete-windows-on, replace-buffer-in-windows):
5823 Move here from window.c.
5824 (record-window-buffer, unrecord-window-buffer)
5825 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5826 (switch-to-next-buffer): New functions.
5827 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5828 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5829 (previous-buffer): Move here from simple.el.
5830 Call switch-to-prev-buffer.
9397e56f
MR
5831 (bury-buffer): Move here from buffer.c. Switch to previous
5832 buffer when window cannot be deleted.
5833 (unbury-buffer): Move here from bindings.el.
5834 (ctl-x-map): Move binding for other-window from window.c to
5835 here.
5836 (read-buffer-to-switch, switch-to-buffer-other-window)
5837 (switch-to-buffer-other-frame): Move here from files.el.
5838 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5839 (switch-to-buffer): Move here from buffer.c.
5840 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5841
562dd5e9
MR
58422011-06-10 Martin Rudalics <rudalics@gmx.at>
5843
5844 * window.el (window-min-height, window-min-width): Move here
5845 from window.c. Add defcustoms and rewrite doc-strings.
5846 (resize-mini-window, resize-window): New functions.
5847 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5848 Move here from window.c.
5849 (maximize-window, minimize-window): New functions.
5850 (delete-window, delete-other-windows, split-window): Move here
5851 from window.c.
5852 (window-split-min-size): New function.
5853 (split-window-keep-point): Mention split-window-above-each-other
5854 instead of split-window-vertically.
2b75be67
SM
5855 (split-window-above-each-other, split-window-vertically):
5856 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5857 provide defalias for old definition.
5858 (split-window-side-by-side, split-window-horizontally): Rename
5859 split-window-horizontally to split-window-side-by-side and provide
5860 defalias for the old definition.
5861 (ctl-x-map): Move bindings for delete-window,
5862 delete-other-windows and enlarge-window here from window.c.
5863 Replace bindings for split-window-vertically and
5864 split-window-horizontally by bindings for
5865 split-window-above-each-other and split-window-side-by-side.
5866
5867 * cus-start.el (all): Remove entries for window-min-height and
5868 window-min-width. Add entries for window-splits and
5869 window-nest.
5870
f0da764a
GM
58712011-06-09 Glenn Morris <rgm@gnu.org>
5872
80675c21
GM
5873 * calendar/appt.el (appt-mode-line): New function.
5874 (appt-check, appt-disp-window): Use it.
5875
f0da764a
GM
5876 * files.el (hack-one-local-variable-eval-safep):
5877 Allow minor-modes with explicit +/-1 arguments.
5878
59f623b7
TZ
58792011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5880
5881 * term/xterm.el (xterm): Add defgroup.
5882 (xterm-extra-capabilities): Add defcustom to supply known xterm
5883 capabilities, skip querying them, or query them (default).
5884 (terminal-init-xterm): Use it.
5885 (terminal-init-xterm-modify-other-keys): New function to set up
5886 modifyOtherKeys support to simplify `terminal-init-xterm'.
5887
9aab8e0d
MR
58882011-06-09 Martin Rudalics <rudalics@gmx.at>
5889
5890 * window.el (resize-window-reset, resize-window-reset-1)
5891 (resize-subwindows-skip-p, resize-subwindows-normal)
5892 (resize-subwindows, resize-other-windows, resize-this-window)
5893 (resize-root-window, resize-root-window-vertically)
5894 (window-deletable-p, window-or-subwindow-p)
5895 (frame-root-window-p): New functions.
5896
e8b08aee
GM
58972011-06-09 Glenn Morris <rgm@gnu.org>
5898
5899 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5900 (ange-ftp-get-files): Use it.
5901
254c37a5
AK
59022011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5903
5904 * mail/sendmail.el (mail-recover-1, mail-recover):
5905 * files.el (recover-file, recover-session):
5906 Handle dired-listing-switches not being just a single short option.
5907
35d7dbd3
GM
59082011-06-09 Glenn Morris <rgm@gnu.org>
5909
5910 * calendar/appt.el (appt-display-message, appt-disp-window):
5911 Handle lists of appointments.
5912
387522b2
MR
59132011-06-08 Martin Rudalics <rudalics@gmx.at>
5914
2b75be67
SM
5915 * window.el (one-window-p): Move down in code.
5916 Rewrite doc-string.
5917 (window-current-scroll-bars): Rewrite doc-string.
5918 Normalize live window argument.
387522b2
MR
5919 (walk-windows, get-window-with-predicate, count-windows):
5920 Rewrite doc-string. Use window-list-1.
5921 (window-in-direction-2, window-in-direction, get-mru-window):
5922 New functions.
5923
d8e4b68b 59242011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5925
5926 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5927 Doc fix (Bug#8713).
5928
59292011-06-08 Chong Yidong <cyd@stupidchicken.com>
5930
5931 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5932
59332011-06-08 Juanma Barranquero <lekktu@gmail.com>
5934
5935 * loadhist.el (unload-feature-special-hooks):
5936 Add `comint-output-filter-functions'.
5937
0de12c52
IK
59382011-06-08 Ivan Kanis <gnu@kanis.fr>
5939
5940 * calendar/appt.el (appt-check): Move some initializations into the let.
5941
f3d1777e
MR
59422011-06-08 Martin Rudalics <rudalics@gmx.at>
5943
5944 * window.el (window-height): Defalias to window-total-height.
5945 (window-width): Defalias to window-body-width.
5946
18af70d0
CY
59472011-06-07 Chong Yidong <cyd@stupidchicken.com>
5948
5949 * image-mode.el (image-toggle-animation): New command.
5950 (image-mode-map): Bind it to RET.
5951 (image-mode): Update message.
5952 (image-toggle-display-image): Avoid a spurious cache flush.
5953 (image-transform-rotation): Doc fix.
5954 (image-transform-properties): Return quickly in the normal case.
5955 (image-animate-loop): Rename from image-animate-max-time.
5956
2b75be67 5957 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5958 (create-animated-image): Remove unnecessary function.
5959 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5960 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5961 (image-animate-timer): Use car-safe.
5962 (image-animate-timeout): Rename argument.
5963
190b47e6
MR
59642011-06-07 Martin Rudalics <rudalics@gmx.at>
5965
5966 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5967 window.c. Rename first argument to ALL-FRAMES.
5968 Rephrase doc-strings.
5969 (get-buffer-window-list): Rewrite using window-list-1.
5970 Rephrase doc-string.
a1511caf
MR
5971 (window-safe-min-height, window-safe-min-width): New constants.
5972 (window-size-ignore, window-min-size, window-min-size-1)
5973 (window-sizable, window-sizable-p, window-size-fixed-1)
5974 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5975 (window-max-delta-1, window-max-delta, window-resizable)
5976 (window-resizable-p, window-total-height, window-total-width)
5977 (window-body-width): New functions.
5978 (window-full-height-p, window-full-width-p): Rewrite using
5979 window-total-size.
5980 (window-body-height): Rewrite using window-body-size.
190b47e6 5981
85cc1f11
MR
59822011-06-06 Martin Rudalics <rudalics@gmx.at>
5983
5984 * window.el (window-right, window-left, window-child)
5985 (window-child-count, window-last-child, window-any-p)
5986 (normalize-live-buffer, normalize-live-frame)
5987 (normalize-any-window, normalize-live-window)
5988 (window-iso-combination-p, window-iso-combined-p)
5989 (window-iso-combinations)
5990 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5991 (windows-with-parameter, window-with-parameter)
5992 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5993 (window-atom-check, window-side-check, window-check):
5994 New functions.
85cc1f11
MR
5995 (ignore-window-parameters, window-sides, window-sides-vertical)
5996 (window-sides-slots): New variables.
5997 (window-size-fixed): Move down in code. Minor doc-string fix.
5998
e7156492
AS
59992011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6000
6001 * comint.el (comint-dynamic-complete-as-filename)
6002 (comint-dynamic-complete-filename): Correctly call
6003 completion-in-region.
6004
7e821d0d
DD
60052011-06-05 Deniz Dogan <deniz@dogan.se>
6006
6007 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6008 in last change.
6009
ac09b8a1
DD
60102011-06-05 Deniz Dogan <deniz@dogan.se>
6011
6012 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6013 (rcirc): Use it to prompt for encryption.
6014
34699b85
RW
60152011-06-05 Roland Winkler <winkler@gnu.org>
6016
6017 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6018 (bibtex-search-entries): New command bound to C-c C-a.
6019 (bibtex-display-entries): New function.
6020
004dedd3
RW
60212011-06-05 Roland Winkler <winkler@gnu.org>
6022
6023 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6024 (bibtex-insert-kill): After yanking insert newline if necessary.
6025 (bibtex-initialize): Call bibtex-string-files-init only once.
6026 (bibtex-mode): Do not call easy-menu-add.
6027 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6028 (bibtex-yank): Set arg properly if nil.
6029
022fe7ce
RW
60302011-06-05 Roland Winkler <winkler@gnu.org>
6031
2b75be67
SM
6032 * textmodes/bibtex.el (bibtex-search-entry-globally):
6033 New variable.
022fe7ce
RW
6034 (bibtex-search-entry): Use it.
6035
b7c3692a
RW
60362011-06-05 Roland Winkler <winkler@gnu.org>
6037
6038 * textmodes/bibtex.el (bibtex-entry-format): New option
6039 sort-fields.
6040 (bibtex-format-entry, bibtex-reformat): Honor this option.
6041 (bibtex-parse-entry): Return fields in proper order.
6042
8eda563d
JB
60432011-06-05 Juanma Barranquero <lekktu@gmail.com>
6044
6045 * doc-view.el (doc-view-remove-if): Move computation of result out
6046 of `dolist' to silence misleading lexical-binding warning.
6047
7dbe3dbc
CY
60482011-06-04 Chong Yidong <cyd@stupidchicken.com>
6049
6050 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6051 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6052
0c33dd17
MA
60532011-06-04 Michael Albinus <michael.albinus@gmx.de>
6054
6055 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6056 "SunOS 5.10".
6057
f8f91c2b
MA
60582011-06-04 Michael Albinus <michael.albinus@gmx.de>
6059
6060 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6061 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6062 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6063 (tramp-parse-putty):
6064 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6065 (tramp-completion-function-alist-ssh)
6066 (tramp-completion-function-alist-telnet)
6067 (tramp-completion-function-alist-su)
6068 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6069 cookie.
6070
6071 * net/tramp-ftp.el:
6072 * net/tramp-sh.el:
6073 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6074 load "tramp.el" `tramp-set-completion-function'.
6075
e17d9003
SM
60762011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 * shell.el: Require and use pcomplete.
6079 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6080 (shell-completion-vars): Set pcomplete-default-completion-function.
6081
6c4cab03
DD
60822011-06-04 Deniz Dogan <deniz@dogan.se>
6083
6084 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6085 `memq' (Bug#8799).
6086
ea9fafe0
SM
60872011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6090
b3e945d3
JB
60912011-06-02 Juanma Barranquero <lekktu@gmail.com>
6092
6093 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6094 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6095 * vc/log-view.el (log-view-beginning-of-defun):
6096 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6097 (smerge-refine-forward, smerge-refine-chopup-region):
6098 Silence warning for unused `dotimes' counter variables.
6099
7d520089
SM
61002011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * net/tramp.el (tramp-with-progress-reporter): Rename from
6103 with-progress-reporter. Use `declare'.
6104 * net/tramp-smb.el:
6105 * net/tramp-sh.el:
6106 * net/tramp-gvfs.el: Update all uses.
6107
a1c2400f
JB
61082011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6109
6110 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6111 buffer isn't killed before making it current.
6112
2403c841
SM
61132011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6114
6115 Silence various byte-compiler warnings.
6116 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6117 `access-type' and new obsolescence format.
6118 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6119 new format.
6120 (byte-compile-check-variable): New `access-type' argument.
6121 Only warn if the access-type is obsolete.
6122 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6123 (byte-compile-variable-set): Adjust callers.
6124 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6125 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6126 setting it as obsolete.
6127 * simple.el (minibuffer-completing-symbol):
6128 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6129 access as obsolete.
6130 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6131 obsolete yet.
6132 * international/quail.el (quail-mouse-choose-completion): Remove unused
6133 code referring to obsolete var.
6134 (quail-choose-completion-string): Remove.
6135 * server.el (server-clients-with, server-kill-buffer-query-function)
6136 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6137 * proced.el (proced-send-signal):
6138 * emacs-lisp/lisp.el (lisp-complete-symbol):
6139 Replace completion-annotate-function with completion-extra-properties.
6140
2462470b
SM
61412011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6142
fb5b2591
SM
6143 * simple.el (goto-line): Use read-number.
6144 (overriding-map-is-bound): Remove.
6145 (saved-overriding-map): Change default.
6146 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6147 Take the map as argument.
6148 (universal-argument, negative-argument, digit-argument): Use it.
6149 (restore-overriding-map): Adjust.
6150 (do-auto-fill): Use fill-forward-paragraph.
6151 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6152
fd6fa53f
SM
6153 * minibuffer.el (minibuffer-inactive-mode-map): New var.
6154 (minibuffer-inactive-mode): New major mode.
6155 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6156 the *Messages* buffer" hack.
6157 (mouse-popup-menubar): Don't burp if the event is a normal key.
6158
2462470b
SM
6159 Miscellaneous tweaks.
6160 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6161 lexical scoping as in subr.el's dolist and dotimes.
6162 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6163 Silence compiler warning.
6164 * thingatpt.el (forward-whitespace): Trivial coding style fix.
6165 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6166 * international/ccl.el (ccl-compile): Trivial simplification.
6167 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6168 * emacs-lisp/testcover.el (testcover-end): Remove spurious
6169 `printflag' argument.
6170 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6171 Purecopy the whole obsolescence data.
6172
108bf785
LL
61732011-06-01 Leo Liu <sdl.web@gmail.com>
6174
6175 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6176 improve doc-string as suggested by Marco Pessotto
6177 <melmothx@gmail.com>.
6178 (rcirc-print): Fix last change.
6179
30a23501
SM
61802011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * minibuffer.el (complete-with-action): Return nil for the metadata and
6183 boundaries of non-functional tables.
6184 (completion-table-dynamic): Return nil for the metadata.
6185 (completion-table-with-terminator): Add default case, using
6186 complete-with-action.
6187 (completion--metadata): New function.
6188 (completion-all-sorted-completions, minibuffer-completion-help): Use it
6189 to try and avoid pathological performance problems.
6190 (completion--embedded-envvar-table): Return `category' metadata.
6191
bcd54f83
LMI
61922011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
6193
6194 * subr.el (process-alive-p): New tiny convenience function.
6195
e227544d
SM
61962011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
6199 content but also its previous major mode.
6200
e8296fdc
HE
62012011-05-31 Helmut Eller <eller.helmut@gmail.com>
6202
4d61f28d 6203 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
6204 *Backtrace* buffer when we exit with C-M-c.
6205
620c53a6
SM
62062011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * minibuffer.el: Add metadata method to completion tables.
6209 (completion-category-overrides): New defcustom.
6210 (completion-metadata, completion--field-metadata)
6211 (completion-metadata-get, completion--styles)
6212 (completion--cycle-threshold): New functions.
6213 (completion-try-completion, completion-all-completions):
6214 Add `metadata' argument to choose completion-styles.
6215 (completion--do-completion): Use metadata to choose cycling.
6216 (completion-all-sorted-completions): Use metadata for sorting.
6217 Remove :completion-cycle-penalty which is not needed any more.
6218 (completion--try-word-completion): Add `metadata' argument.
6219 (minibuffer-completion-help): Check metadata for annotation function
6220 and sorting.
6221 (completion-file-name-table): Return `category' metadata.
6222 (minibuffer-completing-file-name): Make obsolete.
6223 * simple.el (minibuffer-completing-symbol): Make obsolete.
6224 * icomplete.el (icomplete-completions): Pass new `metadata' param to
6225 completion-try-completion.
6226
1257e755
SM
62272011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
6230
3767e706
LL
62312011-05-30 Leo Liu <sdl.web@gmail.com>
6232
6233 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
6234 (rcirc-print): Decode all incoming messages (bug#8744).
6235 (rcirc-decode-coding-system): Allow value nil for automatic coding
6236 system detection.
3767e706 6237
d1a5d56a
GM
62382011-06-01 Glenn Morris <rgm@gnu.org>
6239
6240 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
6241
e8cbec34
CY
62422011-05-29 Chong Yidong <cyd@stupidchicken.com>
6243
6244 * image.el (image-animate-max-time): Allow nil and t values.
6245 Default to nil.
6246 (create-animated-image): Doc fix.
6247 (image-animate-start): Remove second arg; just use
6248 image-animate-max-time.
6249 (image-animate-timeout): Doc fix. Args changed.
6250
6251 * image-mode.el (image-toggle-display-image): Ensure that the
6252 image spec passed to the animate timer is the same object as in
58179cce 6253 the buffer's display property (Bug#6981).
e8cbec34
CY
6254 (image-transform-properties): Doc fix.
6255
6256 * image.el (image-animate-max-time): Default to nil.
6257
159daf87
MR
62582011-05-29 Martin Rudalics <rudalics@gmx.at>
6259
6260 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6261 entire buffer list (Bug#8184).
6262
d66c4c7c
CY
62632011-05-29 Chong Yidong <cyd@stupidchicken.com>
6264
6265 * image.el (imagemagick-types-inhibit)
6266 (imagemagick-register-types): Doc fix.
6267
80aec780
DD
62682011-05-29 Deniz Dogan <deniz@dogan.se>
6269
6270 * net/rcirc.el (rcirc): Use the user's stored encryption method by
6271 default.
6272
1dd3c2d9
CY
62732011-05-29 Chong Yidong <cyd@stupidchicken.com>
6274
6275 * select.el: Don't perform clipboard-manager saving in hooks;
6276 leave the hooks empty.
6277
60e56523
LL
62782011-05-28 Leo Liu <sdl.web@gmail.com>
6279
6280 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6281 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
6282 (occur-edit-mode): New major mode (Bug#8463).
6283 (occur-after-change-function): New function.
6284 (occur-engine): Give Occur tags a read-only property.
6285
2b1e1a22
KR
62862011-05-28 Kevin Ryde <user42@zip.com.au>
6287
6288 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6289
5d344e88
CY
62902011-05-28 Chong Yidong <cyd@stupidchicken.com>
6291
8e6ca83d
CY
6292 * bindings.el (help-echo): Make the initial non-indicator dash
6293 empty on graphical terminals (Bug#7295).
6294
5d344e88
CY
6295 * files.el (auto-mode-alist): Move config rule after the
6296 in-stripping one (Bug#8547).
6297
bfbbace7
CY
6298 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6299
fbeba6e2
CY
6300 * startup.el (normal-splash-screen): Remove gratuitous mode-line
6301 setting (Bug#8740).
6302
60ed8c72
AA
63032011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
6304
4ac619f0
AA
6305 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6306 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6307 (Bug#8539).
60ed8c72 6308
23db196e
CY
63092011-05-28 Chong Yidong <cyd@stupidchicken.com>
6310
6311 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6312
5012f24c
DK
63132011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
6314
6315 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6316 (hs-hide-block-at-point, hs-find-block-beginning)
6317 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6318 (Bug#8279).
6319
6a639b16
GM
63202011-05-28 Glenn Morris <rgm@gnu.org>
6321
6322 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
6323
d43eaf2c
CY
63242011-05-28 Chong Yidong <cyd@stupidchicken.com>
6325
5199bde1
CY
6326 * help-fns.el (describe-function-1): If the function is a derived
6327 major mode, print the parent mode.
6328
d43eaf2c
CY
6329 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6330 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6331
423428a8
SM
63322011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6333
0ff8e1ba 6334 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 6335 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
6336 * progmodes/etags.el (tags-completion-at-point-function):
6337 * info-look.el (info-lookup-completions-at-point): Mark as
6338 non-exclusive.
6339 (info-complete): Adjust accordingly.
6340
423428a8
SM
6341 * info-look.el: Convert to lexical-binding and completion-at-point.
6342 (info-lookup-completions-at-point): New function.
6343 (info-complete): Use it and completion-in-region.
6344
b74aa22b
DA
63452011-05-28 Drew Adams <drew.adams@oracle.com>
6346
6347 * isearch.el: Let M-e start with point at the first mismatched char.
6348 (isearch-fail-pos): New function.
6349 (isearch-edit-string): Use it.
6350
66e2e71d
DK
63512011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6352
6353 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6354
eb95d01d
TC
63552009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6356
6357 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
6358 traversal functions for avl-trees.
6359 (avl-tree--stack): New struct.
6360 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6361 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
6362 (avl-tree--do-enter): Add optional `updatefun' arg.
6363 Change return value.
eb95d01d 6364 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
6365 (avl-tree--do-delete): Add `test' and `nilflag' args.
6366 Change return value.
eb95d01d
TC
6367 (avl-tree-member): Add optional `nilflag'
6368 (avl-tree-member-p): New function.
6369 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6370 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6371 (avl-tree-stack-empty-p): New functions.
6372
3769ddcf
TC
63732009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6374
6375 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6376 avl-tree--del-balance1 and make it work both ways.
6377 (avl-tree--del-balance2): Remove.
6378 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6379 make it work both ways.
6380 (avl-tree--enter-balance2): Remove.
6381 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6382 New macros.
6383 (avl-tree--mapc, avl-tree-map): Add direction argument.
6384
eb95d01d 63852011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
6386
6387 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6388
a9f737ee
CY
63892011-05-27 Chong Yidong <cyd@stupidchicken.com>
6390
6391 * select.el: Support clipboard managers with built-in function
6392 x-clipboard-manager-save, via delete-frame-functions and
6393 kill-emacs-hook.
6394 (xselect-convert-to-targets): Add MULTIPLE target to list.
6395 (xselect-convert-to-save-targets): New function.
6396
c92a1e54
KH
63972011-05-27 Kenichi Handa <handa@m17n.org>
6398
6399 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6400 let-binding rfc2047-encode-encoded-words to nil.
6401
e145f188
GM
64022011-05-27 Glenn Morris <rgm@gnu.org>
6403
5ec8a862
GM
6404 * mail/emacsbug.el: Don't require url-util.
6405
4b29d9fb
GM
6406 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
6407
e145f188
GM
6408 * files.el (set-auto-mode):
6409 Also respect mode: entries at the end of the file. (Bug#8586)
6410
7d15102b
GM
64112011-05-26 Glenn Morris <rgm@gnu.org>
6412
98f593b8
GM
6413 * files.el (hack-local-variables-prop-line, hack-local-variables):
6414 Downcase mode names, as seems to be traditional.
27b48e63 6415 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 6416
7d15102b
GM
6417 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6418 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
6419
51d5b4ec
JD
64202011-05-25 Julien Danjou <julien@danjou.info>
6421
6422 * textmodes/rst.el (rst-define-level-faces): Do not define face
6423 symbol if it is already defined.
6424
91513f63
VB
64252011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6426
6427 * play/5x5.el (5x5-new-game, 5x5-randomize):
6428 Reset 5x5-solver-output to nil when a new grid is cast.
6429 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6430 these debugging traces, as defmacro breaks the compiled code.
6431
4d90d6d0
DK
64322011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6433
6434 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6435
e1b90ef6
LL
64362011-05-24 Leo Liu <sdl.web@gmail.com>
6437
6438 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6439 (vc-bzr-sha1): Adapt.
6440
d8e4b68b 6441 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
6442
6443 * bindings.el: Provide sha1 feature.
6444
db0406bb 64452011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
6446
6447 * mail/sendmail.el: Require `rfc2047'.
6448 (mail-insert-from-field): Do not perform RFC2047 encoding.
6449 (mail-encode-header): New function.
6450 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
6451 buffer to the return value of select-message-coding-system.
6452 Call mail-encode-header.
b8d747b9
KH
6453
6454 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6455
db0406bb 64562011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 6457
4d90d6d0
DK
6458 * mail/supercite.el (sc-default-cite-frame):
6459 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 6460
eb8a5e9b
GM
64612011-05-24 Glenn Morris <rgm@gnu.org>
6462
f8630703
GM
6463 * progmodes/python.el (brm-menu): Declare.
6464
8831bbed
GM
6465 * emulation/viper.el (viper-set-hooks): Declare.
6466
eb8a5e9b
GM
6467 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6468 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6469 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6470 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6471 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6472 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6473
a2a25d24
SM
64742011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 Add an :exit-function for completion-at-point.
6477
6478 * minibuffer.el (completion--done): New fun.
6479 (completion--do-completion): Use it. New arg `expect-exact'.
6480 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6481 since completion--do-completion does it for us now.
6482 (minibuffer-force-complete): Use completion--done and
6483 completion--replace. Handle sole-completion case with more care.
6484 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6485 (completion-extra-properties): New var.
6486 (completion-annotate-function): Make obsolete.
6487 (minibuffer-completion-help): Adjust accordingly.
6488 Use completion-list-insert-choice-function.
6489 (completion-at-point, completion-help-at-point):
6490 Bind completion-extra-properties.
6491 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6492 * simple.el (completion-list-insert-choice-function): New var.
6493 (completion-setup-function): Preserve it.
6494 (choose-completion): Pay attention to it, shuffle the code a bit.
6495 (choose-completion-string): New arg `insert-function'.
6496
6497 * textmodes/bibtex.el: Convert to lexical binding.
6498 (bibtex-mode-map): Use completion-at-point.
6499 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6500 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6501 (bibtex-complete): Define as obsolete alias.
6502 (bibtex-complete-internal): Remove.
6503 (bibtex-format-entry): Remove unused sub-group in regexp.
6504 * shell.el (shell--command-completion-data)
6505 (shell-environment-variable-completion):
6506 * pcomplete.el (pcomplete-completions-at-point):
6507 * comint.el (comint--complete-file-name-data): Use :exit-function
6508 instead of completion-table-with-terminator so it also works for
6509 choose-completion.
6510
e44e373d
SM
65112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6512
4f91a816
SM
6513 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6514
782fc819
SM
6515 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6516 (bug#8710).
6517
e44e373d
SM
6518 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6519
381987c3
KM
65202011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6521
6522 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6523 customization variable and implement: If non-nil, auto-fill will
6524 be inhibited while on topic's header line.
6525
b776bc70
VB
65262011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6527
6528 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 6529 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
6530 always have a solution in grid size = 5 cases.
6531 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6532 (5x5-solver-output, 5x5-log-buffer): New vars.
6533 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6534 Make these variables buffer local to achieve 5x5 multi-session-ness.
6535 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6536 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6537 (5x5-solve-suggest): New funs.
6538 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6539 randomize a grid so that we ensure that there is always a solution.
6540 (5x5-make-random-grid): Allow other movement than flipping.
6541
7de88b6e
KR
65422011-05-23 Kevin Ryde <user42@zip.com.au>
6543
6544 * emacs-lisp/advice.el (ad-read-advised-function):
6545 Use `function-called-at-point' as the default default, if it has
6546 advice and passes PREDICATE.
6547
b1ef1257
SM
65482011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6549
bbca48fe
SM
6550 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6551 byte-compile-lambda if it's actually a lambda.
6552
b1ef1257
SM
6553 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6554 Fix function quoting. Use backquote better.
6555
92a9cc65
YS
65562011-05-22 Yuanle Song <sylecn@gmail.com>
6557
6558 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6559 matching (Bug#8516).
6560
f0fb8059
JA
65612011-01-22 Jari Aalto <jari.aalto@cante.net>
6562
6563 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6564 different face (Bug#8178).
6565
d5b44c93
CY
65662011-05-22 Chong Yidong <cyd@stupidchicken.com>
6567
6568 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6569 defface (Bug#8144).
6570
79106a44
SM
65712011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6572
9c848d8a
SM
6573 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6574 funcall as well (bug#8712). Warn when performing those conversions.
6575 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6576
79106a44
SM
6577 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6578
88dfa756
GM
65792011-05-22 Glenn Morris <rgm@gnu.org>
6580
6581 * files.el (hack-local-variables-prop-line): Small simplifications.
6582 (hack-local-variables, hack-local-variables-prop-line):
6583 If MODE-ONLY, return the mode, rather than just `t'.
6584
b7cf2c79
SM
65852011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6586
6587 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6588
3f1a8558
GM
65892011-05-21 Glenn Morris <rgm@gnu.org>
6590
7e4ccca3
GM
6591 * files.el (hack-local-variables-prop-line, hack-local-variables):
6592 If only interested in the mode, don't bother doing the other stuff.
6593
637d46ca
GM
6594 * image-mode.el (image-after-revert-hook):
6595 Redraw all frames on which the image is visible. (Bug#8567)
6596
973d955b
GM
6597 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6598
3f1a8558
GM
6599 * wid-edit.el (widget-checklist-match-inline):
6600 Fix 2011-04-19 change. (Bug#8649)
6601
96479927
SM
66022011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6603
1dcf791f
SM
6604 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6605 Also allow singlespace after single-letter capitals followed by a dot.
6606
96479927
SM
6607 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6608 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6609
35fd0881
N
66102011-05-20 Nix <nix@esperi.org.uk>
6611
6612 * files.el (basic-save-buffer-2):
6613 Fix handling of break-hardlink-on-save with non-existent files.
6614
82745640
DD
66152011-05-19 Deniz Dogan <deniz@dogan.se>
6616
6617 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 6618 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 6619
4a720484
GM
66202011-05-19 Glenn Morris <rgm@gnu.org>
6621
d1f21341
GM
6622 * progmodes/f90.el (f90-type-def-re):
6623 Handle "type, bind(c)". (Bug#8691)
6624
4a720484
GM
6625 * emacs-lisp/autoload.el (batch-update-autoloads):
6626 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6627
2fb0a219
MA
66282011-05-18 Michael Albinus <michael.albinus@gmx.de>
6629
6630 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6631 property for the correct connection in case of multihops.
6632
e565dd37
GM
66332011-05-18 Glenn Morris <rgm@gnu.org>
6634
c2571358 6635 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
6636 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6637
e565dd37
GM
6638 Rationalize calendar handling of day and month abbrev-arrays.
6639 * calendar/calendar.el (calendar-customized-p): New function.
6640 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6641 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6642 Add :set function.
6643 (calendar-abbrev-length, calendar-day-abbrev-array)
6644 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6645 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6646 Elements may no longer be nil.
6647 (calendar-day-name, calendar-month-name):
6648 Update for changed nature of abbrev arrays.
6649 * calendar/diary-lib.el (diary-name-pattern):
6650 Update for changed nature of abbrev arrays.
6651 (diary-mark-entries-1): Update calendar-make-alist calls.
6652 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6653 * calendar/cal-html.el (cal-html-day-abbrev-array):
6654 Simply inherit from calendar-day-abbrev-array.
6655
1d99a745
SM
66562011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6657
6658 * progmodes/grep.el (grep-mode): Disable default
6659 compilation-directory-matcher setting (bug#8684).
6660
7c1d9aa0
MA
66612011-05-17 Michael Albinus <michael.albinus@gmx.de>
6662
6663 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6664 instead of "head" and "tail". There were problems with SunOS 5.9,
6665 and it performs better.
6666
3952e9d8
GM
66672011-05-17 Glenn Morris <rgm@gnu.org>
6668
2dd12e7f
GM
6669 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6670
e4157b9c
GM
6671 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6672 Replace obsolete function.
6673
8e249bbd
GM
6674 * shell.el (pcomplete-parse-arguments-function): Declare.
6675
3952e9d8
GM
6676 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6677 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6678 (appt-check): Doc fixes.
6679 (appt-disp-window-function, appt-delete-window-function):
6680 Remove needless special case in custom :type.
6681 (appt-display-count): Default to 0, not nil.
6682 (appt-check): Reset appt-display-count to 0, not nil.
6683
c71a0d48 66842011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 6685
c71a0d48
GM
6686 * progmodes/python.el (python-font-lock-keywords):
6687 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 6688
31d55be9
SM
66892011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6690
6691 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6692
3bfacb2f
KR
66932011-05-16 Kevin Ryde <user42@zip.com.au>
6694
6695 * info-look.el (makefile-automake-mode): New setups, looking in
6696 automake manual, then makefile-mode.
6697 (makefile-mode): Remove automake manual, have it just in
6698 makefile-automake-mode since there's various things different or
6699 not relevant to plain make.
6700 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6701 believe a hypothetical automake-mode would go to makefile-mode,
6702 not the other way around.
6703
c8e83751
CY
67042011-05-15 Chong Yidong <cyd@stupidchicken.com>
6705
5e9e35cd
CY
6706 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6707 hunk-end tags (Bug#8672).
6708
c8e83751
CY
6709 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6710 vc-annotate-show-diff-revision-at-line (Bug#8671).
6711
50b23e5a
GM
67122011-05-14 Glenn Morris <rgm@gnu.org>
6713
7210a739
GM
6714 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6715 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
6716 (change-log-font-lock-keywords): Also handle multiple author lines
6717 with leading tabs. (Bug#8644)
7210a739 6718
4691905a
GM
6719 * calendar/appt.el (appt-check): Rename some local variables.
6720 Some simplification/reordering.
6721
50b23e5a
GM
6722 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6723 (feedmail-sendmail-f-doesnt-sell-me-out)
6724 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6725 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6726 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
6727 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6728 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
6729 (feedmail-binmail-gnulinuxish-template):
6730 Rename from feedmail-binmail-linuxish-template.
6731 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6732 Use insert-buffer-substring.
6733
215cda7c
BC
67342011-05-14 Bill Carpenter <bill@carpenter.org>
6735
6736 * mail/feedmail.el (feedmail-patch-level): Increase.
6737 (feedmail-debug): New custom group.
6738 (feedmail-confirm-outgoing-timeout)
6739 (feedmail-sendmail-f-doesnt-sell-me-out)
6740 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6741 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6742 (feedmail-sender-line, feedmail-from-line)
6743 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 6744 (feedmail-spray-this-address)
215cda7c
BC
6745 (feedmail-spray-address-fiddle-plex-list)
6746 (feedmail-queue-use-send-time-for-date)
6747 (feedmail-queue-use-send-time-for-message-id)
6748 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6749 (feedmail-buffer-eating-function):
6750 Doc fixes.
6751 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6752 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6753 (feedmail-message-action-scroll-down): New functions.
6754 (feedmail-queue-directory, feedmail-queue-draft-directory):
6755 Use expand-file-name.
6756 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6757 Remove C-v help entry.
6758 (feedmail-queue-buffer-file-name): New variable.
6759 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6760 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6761 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6762 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6763 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6764 (feedmail-message-action-toggle-spray)
6765 (feedmail-run-the-queue-no-prompts)
6766 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6767 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6768 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6769 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6770 (feedmail-envelope-deducer, feedmail-fiddle-from)
6771 (feedmail-fiddle-sender, feedmail-default-date-generator)
6772 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6773 (feedmail-fiddle-spray-address)
6774 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6775 (feedmail-fiddle-list-of-fiddle-plexes)
6776 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6777 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6778 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6779 Change default. Doc fix.
6780 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6781 (feedmail-binmail-linuxish-template): New constant.
6782 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6783 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6784 (feedmail-send-it): Add debug call.
6785 Use feedmail-queue-buffer-file-name, and
6786 feedmail-send-it-immediately-wrapper.
6787 (feedmail-message-action-send): Add debug call.
6788 Use feedmail-send-it-immediately-wrapper.
6789 (feedmail-queue-express-to-queue): Add debug call.
6790 Run feedmail-queue-express-hook.
6791 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6792 (feedmail-message-action-help-blat):
6793 Rename from feedmail-queue-send-edit-prompt-help-first.
6794 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6795 Check line-endings. Handle errors better.
6796 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6797 Doc fix. Add debug call.
6798 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6799 Use feedmail-queue-send-edit-prompt-inner.
6800 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6801 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6802 from feedmail-queue-send-edit-prompt.
6803 (feedmail-queue-send-edit-prompt-help)
6804 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6805 (feedmail-tidy-up-slug): Add debug call.
6806 Respect feedmail-queue-slug-suspect-regexp.
6807 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6808 (feedmail-dump-message-to-queue): Add debug call.
6809 Expand queue-directory.
6810 (feedmail-dump-message-to-queue): Change message slightly.
6811 Use feedmail-say-chatter.
6812 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6813 (feedmail-send-it-immediately-wrapper): New function.
6814 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6815 Insert empty string rather than newline. Handle full-frame case.
6816 Use catch/throw. Use feedmail-say-chatter.
6817 (feedmail-fiddle-from): Try mail-host-address.
6818 (feedmail-default-message-id-generator): Doc fix.
6819 Bind system-time-locale. Handle missing end.
6820 (feedmail-fiddle-x-mailer): Add debug call.
6821 Handle feedmail-x-mailer-line being nil.
6822 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6823 Add debug call. Use buffer-substring-no-properties.
6824 (feedmail-say-debug, feedmail-say-chatter): New functions.
6825 (feedmail-find-eoh): Give an explicit error.
6826
42c7e61e
UJ
68272011-05-13 Ulf Jasper <ulf.jasper@web.de>
6828
c2571358 6829 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6830 family from helvetica to sans.
c2571358 6831 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6832 etc/images/newsticker.
6833
c2571358 6834 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6835 family from helvetica to sans.
6836
6837 * net/newst-plainview.el (newsticker-new-item-face)
6838 (newsticker-old-item-face, newsticker-immortal-item-face)
6839 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6840 (newsticker-statistics-face): Change default family from
42c7e61e 6841 helvetica to sans.
c2571358 6842 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6843 etc/images/newsticker.
6844
6845 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6846 (newsticker--process-auto-mark-filter-match): : Tell user about
6847 auto-marking.
6848
8497a297
DV
68492011-05-13 Didier Verna <didier@xemacs.org>
6850
6851 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6852 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6853 TODO entries.
8497a297
DV
6854 (lisp-lambda-list-keyword-parameter-indentation)
6855 (lisp-lambda-list-keyword-parameter-alignment)
6856 (lisp-lambda-list-keyword-alignment): New customizable user options.
6857 (lisp-indent-defun-method): Improve docstring.
6858 (extended-loop-p): Fix comment.
6859 (lisp-indent-lambda-list-keywords-regexp): New variable.
6860 (lisp-indent-lambda-list): New function.
6861 (lisp-indent-259): Use it.
6862 (lisp-indent-defmethod): Support for more than one
6863 method qualifier and properly indent methods lambda-lists.
6864 (defgeneric): Provide a missing common-lisp-indent-function property.
6865
f278f87f
SM
68662011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6867
6868 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6869 bounds for the empty string (bug#8667).
6870
5233edd7
GM
68712011-05-13 Glenn Morris <rgm@gnu.org>
6872
5237a44f
GM
6873 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6874
8340026c 6875 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6876 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6877
5233edd7 6878 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6879 (appt-time-msg-list): Doc fix.
a5464014 6880 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6881
92d10796
AS
68822011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6883
6884 * progmodes/ld-script.el (ld-script-keywords)
6885 (ld-script-builtins): Update keywords list.
6886
914a0ae1
SM
68872011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6888
c89be45f
SM
6889 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6890
914a0ae1
SM
6891 * shell.el (shell-completion-vars): New function.
6892 (shell-mode):
6893 * simple.el (read-shell-command): Use it.
6894 (blink-matching-open): No need for " [...]" in minibuffer-message.
6895
98dc3df3
GM
68962011-05-12 Glenn Morris <rgm@gnu.org>
6897
6898 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6899 (appt-check): Simplify.
6900
d2fc7e3d 69012011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6902
4d61f28d 6903 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6904 literal "/dev/null".
6905
d2fc7e3d 69062011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6907
6908 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6909 Fix typo.
6910
d2fc7e3d 69112011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6912
3f254caa
SM
6913 * progmodes/which-func.el (which-function):
6914 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6915 which might not be defined (Bug#8260).
6916
d45885f7
GM
69172011-05-12 Glenn Morris <rgm@gnu.org>
6918
6919 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6920 Let byte-compile-initial-macro-environment always take precedence.
6921
488086f4
SM
69222011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6923
6924 * net/rcirc.el: Add support for SSL/TLS connections.
6925 (rcirc-server-alist): New field `encryption'.
6926 (rcirc): Check `encryption' settings.
6927 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6928 Merge make-local-variable into `set'.
6929 (rcirc--connection-open-p): New function.
6930 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6931 the process is not a network process (e.g. running gnutls-cli).
6932 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6933 Make rcirc-(en|de)code-coding-system local here.
6934 (rcirc-mode): Merge make-local-variable into `set'.
6935 (rcirc-parent-buffer): Make permanent buffer-local.
6936 (rcirc-multiline-minor-mode): Don't do it here.
6937 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6938 there's no server buffer.
6939
7d3b9d44
GM
69402011-05-11 Glenn Morris <rgm@gnu.org>
6941
f64049c6
GM
6942 * newcomment.el (comment-kill): Prefix "unused" local.
6943
93c9df73
GM
6944 * term/w32console.el (get-screen-color): Declare.
6945
7d3b9d44
GM
6946 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6947 Handle symbol elements of byte-compile-initial-macro-environment.
6948
9e2dd53f
LL
69492011-05-10 Leo Liu <sdl.web@gmail.com>
6950
488086f4
SM
6951 * bookmark.el (bookmark-bmenu-mode-map):
6952 Bind bookmark-bmenu-search to `/'.
8b340240 6953
9e2dd53f 6954 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6955 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6956 (Footnote-unicode): New function.
6957 (footnote-style-alist): Add unicode style to the list.
6958 (footnote-style): Doc fix.
9e2dd53f 6959
79b70037
GM
69602011-05-10 Jim Meyering <meyering@redhat.com>
6961
6962 Fix doubled-word typos.
6963 * international/quail.el (quail-insert-kbd-layout): and and -> and
6964 * kermit.el: and and -> and
6965 * net/ldap.el (ldap-search-internal): to to -> to
6966 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6967 * progmodes/js.el (js-mode): and and -> and
6968 * textmodes/artist.el (artist-move-to-xy): at at -> at
6969 (artist-draw-region-trim-line-endings): if if -> if
6970 And Safetyc -> Safety.
6971 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6972
b8f82dc1 69732011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6974 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6975
6976 * files.el (hack-one-local-variable-eval-safep):
6977 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6978
4f99f44b
GM
69792011-05-10 Glenn Morris <rgm@gnu.org>
6980
6981 * calendar/diary-lib.el (diary-list-entries-hook)
6982 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6983 (diary-nongregorian-marking-hook, diary-list-entries)
6984 (diary-include-other-diary-files, diary-mark-entries)
6985 (diary-mark-included-diary-files): Doc fixes.
6986
84f29e6b
JB
69872011-05-09 Juanma Barranquero <lekktu@gmail.com>
6988
6989 * misc.el: Require tabulated-list.el during compilation.
6990
9bedd73a
CY
69912011-05-09 Chong Yidong <cyd@stupidchicken.com>
6992
488086f4
SM
6993 * progmodes/compile.el (compilation-start):
6994 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6995 (compilation-filter-hook): Doc fix.
6996
797c735c
DD
69972011-05-09 Deniz Dogan <deniz@dogan.se>
6998
6999 * wdired.el: Remove outdated installation comment. Fix usage
7000 comment.
7001
5f4b1dfe
JB
70022011-05-09 Juanma Barranquero <lekktu@gmail.com>
7003
7004 * misc.el: Implement new command `list-dynamic-libraries'.
7005 (list-dynamic-libraries--loaded-only-p): New variable.
7006 (list-dynamic-libraries--refresh): New function.
7007 (list-dynamic-libraries): New command.
7008
4c44026c
CY
70092011-05-09 Chong Yidong <cyd@stupidchicken.com>
7010
488086f4
SM
7011 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7012 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7013 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7014 higher priority to avoid clobbering by gnu.
7015
027f966d
CY
70162011-05-08 Chong Yidong <cyd@stupidchicken.com>
7017
7018 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7019 if the face has existing theme settings (Bug#8454).
7020
085f5d7d
CY
70212011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7022
488086f4
SM
7023 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7024 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 7025
2a86a00c
RS
7026 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7027 special file names `.' and `..' (Bug#8259).
7028
d9c54a06
CY
70292011-05-08 Chong Yidong <cyd@stupidchicken.com>
7030
488086f4
SM
7031 * progmodes/grep.el (grep-mode-font-lock-keywords):
7032 Remove buffer-changing entries.
d9c54a06
CY
7033 (grep-filter): New function.
7034 (grep-mode): Add it to compilation-filter-hook.
7035
7036 * progmodes/compile.el (compilation-filter-hook)
7037 (compilation-filter-start): New defvars.
7038 (compilation-filter): Call compilation-filter-hook prior to
7039 updating the process mark.
7040
c4662635
SM
70412011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7042
7043 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7044
b0512a1d
EZ
70452011-05-07 Eli Zaretskii <eliz@gnu.org>
7046
605c9376
EZ
7047 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7048 mailclient-send-it even if window-system is nil. (Bug#8595)
7049
c4662635
SM
7050 * term/w32console.el (terminal-init-w32console):
7051 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
7052 background-mode. (Bug#8597)
7053
d1dc2cc2
SM
70542011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7057 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7058 New functions.
7059 (defgeneric, eieio--defmethod): Use them.
7060 (eieio-defgeneric): Remove.
7061 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7062
915d1300
GM
70632011-05-07 Glenn Morris <rgm@gnu.org>
7064
a3961c3e
GM
7065 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7066 Use let rather than let*.
7067 (timeclock-find-discrep): Remove unused local.
7068
314347b9
GM
7069 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7070
915d1300
GM
7071 * calendar/appt.el (appt-time-msg-list): Doc fix.
7072
275b59b0
NF
70732011-05-06 Noah Friedman <friedman@splode.com>
7074
7075 * apropos.el (apropos-print-doc): Only use
7076 emacs-lisp-docstring-fill-column when it is bound to an integer,
7077 per that variable's documentation.
7078
6c19f744
SM
70792011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7080
7081 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 7082 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 7083
60f884b2
GM
70842011-05-06 Glenn Morris <rgm@gnu.org>
7085
5006e634
GM
7086 * calendar/appt.el (appt-message-warning-time): Doc fix.
7087 (appt-warning-time-regexp): New option.
7088 (appt-make-list): Respect appt-message-warning-time.
7089
548d0a63
GM
7090 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7091 New options.
7092 (diary-add-to-list): Strip comments from the displayed string.
7093 (diary-mode): Set comment-start and comment-end.
7094
60f884b2
GM
7095 * vc/diff-mode.el (smerge-refine-subst): Declare.
7096 (diff-refine-hunk): Don't require smerge-mode when compiling.
7097
989681bb
JB
70982011-05-06 Juanma Barranquero <lekktu@gmail.com>
7099
7100 * simple.el (list-processes): Return nil as the docstring says.
7101
a6bc05e1
MA
71022011-05-05 Michael Albinus <michael.albinus@gmx.de>
7103
7104 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7105 to "".
7106 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7107 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7108 determining of binary transfer. (Bug#7383)
7109
23c22e9a
MA
71102011-05-05 Michael Albinus <michael.albinus@gmx.de>
7111
c4662635
SM
7112 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7113 Fix port computation bug. (Bug#8618)
23c22e9a 7114
0bff894f
GM
71152011-05-05 Glenn Morris <rgm@gnu.org>
7116
b8296902
GM
7117 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7118
1f522ce8
GM
7119 * simple.el (shell-dynamic-complete-functions)
7120 (comint-dynamic-complete-functions): Declare.
7121
cf5bee67
GM
7122 * net/network-stream.el (gnutls-negotiate):
7123 * simple.el (tabulated-list-print): Fix declarations.
7124
7125 * progmodes/gud.el (syntax-symbol, syntax-point):
7126 Remove unnecessary and incorrect declarations.
7127
0bff894f
GM
7128 * emacs-lisp/check-declare.el (check-declare-scan):
7129 Handle byte-compile-initial-macro-environment in bytecomp.el
7130
9869b3ae
SM
71312011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7132
7133 Fix earlier half-done eieio-defmethod change (bug#8338).
7134 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7135 Streamline and change calling convention.
7136 (defmethod): Adjust accordingly and simplify.
7137 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7138 new eieio--defmethod.
7139 (slot-boundp): Minor CSE simplification.
7140
9c1d5ac5
MZ
71412011-05-05 Milan Zamazal <pdm@zamazal.org>
7142
7143 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7144 (glasses-make-readable): Use glasses-separate-capital-groups.
7145
455c834e
JB
71462011-05-05 Juanma Barranquero <lekktu@gmail.com>
7147
7148 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7149 (warning-series): Doc fix.
7150 (display-warning): Don't try to create the buffer if we just found it.
7151
9ed7c8cb
CY
71522011-05-04 Chong Yidong <cyd@stupidchicken.com>
7153
7154 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7155 (autoload-find-generated-file): New function.
7156 (generate-file-autoloads): Bind generated-autoload-file to
7157 buffer-file-name.
9869b3ae
SM
7158 (update-file-autoloads, update-directory-autoloads):
7159 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
7160 output file (Bug#7989).
7161 (batch-update-autoloads): Doc fix.
7162
0898ca10
JB
71632011-05-04 Juanma Barranquero <lekktu@gmail.com>
7164
7165 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7166
31dfb76c
GM
71672011-05-04 Glenn Morris <rgm@gnu.org>
7168
f330b642
GM
7169 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7170 function, so it follows changes in calendar-date-style.
7171 (diary-fancy-date-matcher): New function.
7172 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7173 (diary-fancy-font-lock-fontify-region-function):
7174 Use diary-fancy-date-pattern as a function.
7175
31dfb76c
GM
7176 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7177 non-numbers for `year' etc pseudo-variables. (Bug#8583)
7178
48e79d6a
TZ
71792011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
7180
7181 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7182 instead of positional arguments. Allow :keylist and :crlfiles
7183 arguments.
7184 (open-gnutls-stream): Call it.
7185
7186 * net/network-stream.el (network-stream-open-starttls): Adjust to
7187 call `gnutls-negotiate' with :process and :hostname arguments.
7188
dd5a5ee0
SM
71892011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7190
ef80fc09
SM
7191 * minibuffer.el (completion--message): New function.
7192 (completion--do-completion, minibuffer-complete)
7193 (minibuffer-force-complete, minibuffer-complete-word): Use it.
7194 (completion--do-completion): Don't ignore completion-auto-help when in
7195 icomplete-mode.
7196
dd5a5ee0
SM
7197 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
7198 internal encoding (e.g. tibetan zero is not whitespace).
7199 (global-whitespace-mode): Prefer save-current-buffer.
7200 (whitespace-trailing-regexp): Remove useless save-match-data.
7201 (whitespace-empty-at-bob-regexp): Minor simplification.
7202
b7d22a83
CY
72032011-05-03 Chong Yidong <cyd@stupidchicken.com>
7204
7205 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
7206
5192af46
AM
72072011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7208
7209 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 7210 Use `concat' to create string for insertion.
5192af46 7211
5767d190
SM
72122011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
7215 Avoid open-line which runs post-self-insert-hook.
7216 (bibtex-fill-entry): Remove unused `end' var.
7217
bf242939
AM
72182011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
7219
5767d190
SM
7220 * textmodes/ispell.el (ispell-add-per-file-word-list):
7221 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 7222
25666126
LL
72232011-05-03 Leo Liu <sdl.web@gmail.com>
7224
7225 * isearch.el (isearch-yank-pop): New command.
5767d190 7226 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
7227 (isearch-forward): Mention it.
7228
52d3c2d0
SM
72292011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7230
1bcace58
SM
7231 * simple.el (minibuffer-complete-shell-command): Remove.
7232 (minibuffer-local-shell-command-map): Use completion-at-point.
7233 (read-shell-command): Setup completion vars here instead.
7234 (read-expression-map): Bind TAB to symbol completion.
7235
52d3c2d0
SM
7236 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
7237 error directly rather via storing it into `results'.
7238
35813471
LL
72392011-05-02 Leo Liu <sdl.web@gmail.com>
7240
7241 * vc/diff.el: Fix description.
7242
e793a940
LMI
72432011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7244
7245 * server.el (server-eval-at): New function.
7246
8de66e05
LMI
72472011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7248
7249 * net/network-stream.el (open-network-stream): Take a :nowait
7250 parameter and pass it on to `make-network-process'.
7251 (network-stream-open-plain): Ditto.
7252
dcb79f20
AS
72532011-04-30 Andreas Schwab <schwab@linux-m68k.org>
7254
7255 * faces.el (face-spec-set-match-display): Don't match toolkit
7256 options on terminal frames.
7257
14a7fbd8
SM
72582011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7eabc1be
SM
7260 * progmodes/pascal.el: Use lexical binding.
7261 (pascal-mode-map): Remove author preferences.
7262
14a7fbd8
SM
7263 * pcomplete.el (pcomplete-std-complete): Don't abuse
7264 completion-at-point.
7265
50f84510
JB
72662011-04-28 Juanma Barranquero <lekktu@gmail.com>
7267
6e087a44
JB
7268 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7269 removing code that has been dead since 1991 or so.
7270
50f84510
JB
7271 * startup.el (command-line): When warning about "_emacs", use a
7272 delayed warning to allow the user to filter it out.
7273
0ba690bd
DD
72742011-04-28 Deniz Dogan <deniz@dogan.se>
7275
7276 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7277 user has not joined.
7278
08abfaad
SM
72792011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7280
7281 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7282 aren't any completions at point.
7283
638f053a
JB
72842011-04-28 Juanma Barranquero <lekktu@gmail.com>
7285
7286 * subr.el (display-delayed-warnings): New function.
7287 (delayed-warnings-hook): New variable.
7288
8fff8daa
SM
72892011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7290
08abfaad
SM
7291 * minibuffer.el (completion-at-point, completion-help-at-point):
7292 Don't presume that a given completion-at-point-function will always
7293 use the same calling convention.
7294
8fff8daa
SM
7295 * pcomplete.el (pcomplete-completions-at-point):
7296 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
7297 pcomplete-seen is non-nil.
7298 (pcomplete-comint-setup): Also recognize the new comint/shell
7299 completion functions.
7300 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7301 pcomplete-seen is non-nil.
7302
841a1577 73032011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 7304
841a1577 7305 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 7306 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 7307 the first character in the entry. This allows for code to add its
211ec907
UJ
7308 own uid to the entry.
7309 (icalendar--convert-float-to-ical): Add export of
7310 `diary-float'-entries save for those with the optional DAY
7311 argument.
7312
2a782793
DC
73132011-04-27 Daniel Colascione <dan.colascione@gmail.com>
7314
7315 * subr.el (shell-quote-argument): Use alternate escaping strategy
7316 when we spot a variable reference in a string.
7317
0438ce91
DC
73182011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7319
7320 * cus-start.el (all): Define customization for debug-on-event.
7321
841a1577 73222011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
7323
7324 * subr.el (shell-quote-argument): Escape correctly under Windows.
7325
d090ed6c
SM
73262011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7327
7328 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7329
bfd31217
MA
73302011-04-25 Michael Albinus <michael.albinus@gmx.de>
7331
d090ed6c
SM
7332 * net/tramp.el (tramp-process-actions): Add POS argument.
7333 Delete region between POS and (pos).
bfd31217 7334
d090ed6c
SM
7335 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7336 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
7337 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7338
7339 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7340 position in `tramp-process-actions' call.
7341
7342 * net/trampver.el: Update release number.
7343
e92f3bd3
SM
73442011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7345
850256b5
SM
7346 * custom.el (defcustom): Obey lexical-binding.
7347
e92f3bd3
SM
7348 Fix octave-inf completion problems reported by Alexander Klimov.
7349 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7350 Inherit from octave-mode-syntax-table.
7351 (inferior-octave-mode): Set info-lookup-mode.
7352 (inferior-octave-completion-at-point): New function.
7353 (inferior-octave-complete): Use it and completion-in-region.
7354 (inferior-octave-dynamic-complete-functions): Use it as well, and use
7355 comint-filename-completion.
7356 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7357 symbol elements which shouldn't be word elements.
7358 (octave-font-lock-keywords, octave-beginning-of-defun)
7359 (octave-function-header-regexp): Adjust regexps accordingly.
7360 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7361
cd22b309
JB
73622011-04-25 Juanma Barranquero <lekktu@gmail.com>
7363
7364 * net/gnutls.el (gnutls-errorp): Declare before first use.
7365
8b492194
TZ
73662011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7367
7368 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7369 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
7370 default trustfile exists before going to use it. Add missing
7371 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
7372 Reported by Claudio Bley <claudio.bley@gmail.com>.
7373 (open-gnutls-stream): Add usage example.
7374
7375 * net/network-stream.el (network-stream-open-starttls): Give host
7376 parameter to `gnutls-negotiate'.
7377 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 7378 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 7379
841a1577 73802011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 7381
cd22b309
JB
7382 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7383 Use correct match group (bug#8438).
05842630 7384
3ba7869c
CY
73852011-04-24 Chong Yidong <cyd@stupidchicken.com>
7386
512e3ae1
CY
7387 * emacs-lisp/package.el (package-built-in-p): Fix typo.
7388 (package-menu--generate): New arg specifying packages to show.
7389 (package-menu-refresh, package-menu-execute, list-packages):
7390 Callers changed.
7391 (package-show-package-list): New function, replacing deleted
7392 package--list-packages (renamed because it is non-internal).
7393
7394 * finder.el (finder-list-matches): Use package-show-package-list
7395 instead of deleted package--list-packages.
7396
e92f3bd3
SM
7397 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7398 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
7399 (vc-annotate-mode-map): Bind it to RET.
7400
7031be6d
UR
74012011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7402
7403 * progmodes/etags.el (next-file): Don't use set-buffer to change
7404 buffers (Bug#8478).
7405
4ef177aa
CY
74062011-04-24 Chong Yidong <cyd@stupidchicken.com>
7407
c8d173eb
CY
7408 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7409
4ef177aa
CY
7410 * apropos.el (apropos-label-face): Avoid variable-pitch face.
7411 (apropos-accumulator): Doc fix.
7412 (apropos-function, apropos-macro, apropos-command)
7413 (apropos-variable, apropos-face, apropos-group, apropos-widget)
7414 (apropos-plist): Add face property.
7415 (apropos-symbols-internal): Fix indentation.
7416 (apropos-print): Simplify help, and recognize apropos-multi-type.
7417 (apropos-print-doc): Use button-type-get to extract the button's
7418 face property. Fill docstring (Bug#8352).
7419
4ffd0d6b 74202011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
7421
7422 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7423
c6c32125 7424 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 7425 (mpuz-mode-map): Use mapc.
c6c32125
JB
7426 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7427 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7428 Fix typos in docstrings.
7429
58d468b4
JB
7430 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7431 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7432
6470c3c6
JB
7433 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7434
4ffd0d6b 74352011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
7436
7437 * minibuffer.el (completion--do-completion): Avoid the "Next char
7438 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7439
3ad8bad0
CY
7440 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7441 mouse-2 into unread-command-events, it is interpreted correctly.
7442
71d73c9c 7443 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 7444 (image-toggle-display): Doc fix.
71d73c9c 7445
841a1577 74462011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 7447
4ffd0d6b
GM
7448 * textmodes/page.el (what-page): Use line-number-at-pos to
7449 calculate line number (Bug#6825).
6e1dbaa9 7450
c2fb1b60
JB
74512011-04-22 Juanma Barranquero <lekktu@gmail.com>
7452
7453 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7454 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7455 Pass argument NO-DEFAULT to `find-tag-interactive'.
7456
e02f48d7
JB
74572011-04-22 Juanma Barranquero <lekktu@gmail.com>
7458
7459 Lexical-binding cleanup.
7460
7461 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7462 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7463 * progmodes/ada-prj.el (ada-prj-initialize-values)
7464 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7465 (ada-prj-show-value):
7466 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7467 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7468 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7469 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7470 * progmodes/bug-reference.el (bug-reference-push-button):
7471 * progmodes/fortran.el (fortran-line-length):
7472 * progmodes/glasses.el (glasses-change):
7473 * progmodes/octave-mod.el (octave-fill-paragraph):
7474 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7475 (python-pdbtrack-grub-for-buffer, python-sentinel):
7476 * progmodes/sql.el (sql-save-connection):
7477 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7478 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7479 Mark unused parameters.
7480
7481 * progmodes/compile.el (compilation--flush-directory-cache)
7482 (compilation--flush-parse, compile-internal): Mark unused parameters.
7483 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7484 (compilation-next-error-function): Remove unused variable `timestamp'.
7485
7486 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7487 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7488
7489 * progmodes/dcl-mode.el (dcl-end-of-command):
7490 Remove unused variable `start'.
7491 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7492 (dcl-option-value-basic, dcl-option-value-offset)
7493 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7494 Mark unused parameters.
7495 (dcl-save-local-variable): Remove unused variable `val'.
7496 (mode): Declare.
7497
7498 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7499 Mark unused parameters.
7500 (delphi-ignore-changes): Move before first use.
7501 (delphi-charset-token-at): Remove unused variable `start'.
7502 (delphi-else-start): Remove unused variable `if-count'.
7503 (delphi-comment-block-start, delphi-comment-block-end):
7504 Remove unused variable `kind'.
7505 (delphi-indent-line): Remove unused variable `new-point'.
7506
7507 * progmodes/ebrowse.el (ebrowse-files-list)
7508 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7509 Mark unused parameters. Don't quote `lambda'.
7510 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7511 Don't quote `lambda'.
7512 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7513 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7514 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7515 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7516 Use `ignore-errors'.
7517 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7518 (ebrowse-view/find-file-and-search-pattern)
7519 (ebrowse-view/find-member-declaration/definition):
7520 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7521 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7522 Rename parameter PREFIX-ARG to PREFIX.
7523 (ebrowse-tags-read-name): Remove unused variables `start' and
7524 `member-info'.
7525 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7526 to `tags-file'.
7527
7528 * progmodes/etags.el (local-find-tag-hook): Declare.
7529 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7530 Mark unused parameters.
7531
7532 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7533 (executable-interpret): Mark unused parameter.
7534
7535 * progmodes/flymake.el (flymake-process-sentinel)
7536 (flymake-after-change-function)
7537 (flymake-create-temp-with-folder-structure)
7538 (flymake-get-include-dirs-dot): Mark unused parameters.
7539 (flymake-safe-delete-directory): Remove unused variable `err'.
7540
7541 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7542 (speedbar-timer-fn, speedbar-line-text)
7543 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7544 (speedbar-center-buffer-smartly): Declare functions.
7545 (gdb-find-watch-expression): Remove unused variable `array'.
7546 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7547 (gdb-starting): Mark unused parameters.
7548 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7549 (gdb-table-string): Remove unused variable `res'.
7550 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7551 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7552 (gdb-display-buffer): Remove unused variable `cur-size'.
7553
7554 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7555 allow lexical-binding compilation.
7556 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7557 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7558 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7559 Mark unused parameters.
7560 (gud-gdb-marker-filter): Remove unused variable `match'.
7561 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7562 lambda expressions and funcall them, instead of using `fset'.
7563
7564 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7565 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7566
7567 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7568 variable `header-beg'; use `let'.
7569
7570 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7571 `restart', `last-sexp' and `at-do'.
7572
7573 * progmodes/js.el (js--debug): Mark unused parameter.
7574 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7575 (js--splice-into-items): Remove unused variable `item'.
7576 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7577
7578 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7579 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7580 (makefile-complete): Remove unused variable `try'.
7581 (makefile-fill-paragraph, makefile-match-function-end):
7582 Mark unused parameters.
7583
7584 * progmodes/octave-inf.el (inferior-octave-complete):
7585 Remove unused variable `proc'.
7586 (inferior-octave-output-digest): Mark unused parameter.
7587
7588 * progmodes/perl-mode.el (perl-calculate-indent):
7589 Remove unused variable `err'.
7590
7591 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7592 (prolog-indent-line): Mark unused parameters.
7593 (prolog-indent-line): Remove unused variable `beg'.
7594
7595 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7596 (reporter-dont-compact-list): Declare.
7597
7598 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7599 Remove unused variable `char'.
7600 (sh-debug): Mark unused parameter.
7601 (sh-get-indent-info): Remove unused variable `start'.
7602 (sh-calculate-indent): Remove unused variable `var'.
7603
7604 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7605 (simula-electric-keyword): Remove unused variable `null'.
7606 (simula-search-backward, simula-search-forward): Remove unused
7607 variables `begin' and `end'.
7608
7609 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7610 Remove unused variable `pos'.
7611 (vera-electric-tab, vera-comment-uncomment-region):
7612 Mark unused parameters.
7613 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7614
7ede3b65
CY
76152011-04-22 Chong Yidong <cyd@stupidchicken.com>
7616
7617 * emacs-lisp/package.el (package--builtins, package-alist)
7618 (package-load-descriptor, package-built-in-p, package-activate)
7619 (define-package, package-installed-p)
7620 (package-compute-transaction, package-buffer-info)
7621 (package--push): Doc fix. Distinguish more clearly between
7622 version strings and version lists.
7623
121656e9
JB
76242011-04-21 Juanma Barranquero <lekktu@gmail.com>
7625
7626 Lexical-binding cleanup.
7627
7628 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7629 (5x5-make-mutate-best):
7630 * play/fortune.el (fortune-in-buffer):
7631 * play/gomoku.el (gomoku-init-display):
7632 * play/solitaire.el (solitaire, solitaire-do-check):
7633 * play/tetris.el (tetris-default-update-speed-function):
7634 Mark unused parameters.
7635
7636 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7637 (bubbles--shift): Remove unused variable `char-org'.
7638 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7639 (bubbles--show-images): Remove unused variable `char'.
7640
7641 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7642 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7643 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7644 (decipher-analyze-buffer): Use ?\s.
7645 (decipher-make-checkpoint): Remove unused variable `mapping'.
7646
7647 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7648
7649 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7650 Remove unused variable `result'; use `let'.
7651
7652 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7653 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7654 (gametree-children-shown-p, gametree-compute-reduced-score):
7655 Use `ignore-errors'.
7656
7657 * play/handwrite.el (ps-lpr-switches): Declare.
7658 (handwrite): Remove unused variables `pmin' and `lastp'.
7659
7660 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7661
7662 * play/landmark.el (landmark-init-display)
7663 (landmark-update-naught-weights): Mark unused parameters.
7664 (landmark-y): Remove unused variable `noise'. Simplify.
7665 (landmark-human-plays): Remove unused variable `score'.
7666
7667 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7668 (mpuz-try-proposal): Remove unused variable `game'.
7669
7670 * play/zone.el (life-patterns): Declare.
7671
80f499c7
JB
76722011-04-20 Juanma Barranquero <lekktu@gmail.com>
7673
7674 * vc/vc.el (ediff-vc-internal): Declare function.
7675
024ff170
SM
76762011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7677
c0a193ea
SM
7678 * shell.el: Use lexical-binding and std completion UI.
7679 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7680 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7681 comint-preoutput-filter-functions rather than on
7682 comint-output-filter-functions.
7683 (shell-command-completion, shell--command-completion-data)
7684 (shell-filename-completion, shell-environment-variable-completion)
7685 (shell-c-a-p-replace-by-expanded-directory): New functions.
7686 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7687 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7688 (shell-dynamic-complete-environment-variable): Use them.
7689 (shell-dynamic-complete-as-environment-variable)
7690 (shell-dynamic-complete-as-command): Remove.
7691 (shell-match-partial-variable): Match past point.
7692 * comint.el: Clean up use of completion-at-point-functions.
7693 (comint-completion-at-point): New function.
7694 (comint-mode): Use it completion-at-point-functions.
7695 (comint-dynamic-complete): Make it obsolete.
7696 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7697 (comint-c-a-p-replace-by-expanded-history): New function.
7698 (comint-dynamic-complete-functions)
7699 (comint-replace-by-expanded-history): Use it.
7700 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7701 termination strings. Try harder to avoid second try-completion.
7702 (completion-in-region-mode-map): Disable bindings that don't work yet.
7703
2dbaa080
SM
7704 * comint.el: Use lexical-binding. Require CL.
7705 (comint-dynamic-complete-functions): Use comint-filename-completion.
7706 (comint-completion-addsuffix): Tweak custom type.
7707 (comint-filename-completion, comint--common-suffix)
7708 (comint--common-quoted-suffix, comint--table-subvert)
7709 (comint--complete-file-name-data): New functions.
7710 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7711 (comint-dynamic-list-filename-completions): Use them.
7712 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 7713
2dbaa080
SM
7714 * minibuffer.el (completion-in-region-mode):
7715 Keep completion-in-region-mode--predicate global.
7716 (completion-in-region--postch):
7717 Assume completion-in-region-mode--predicate is not null.
7718
c79a6f38
SM
7719 * progmodes/flymake.el (flymake-start-syntax-check-process):
7720 Obey `dir'. Simplify.
7721
024ff170
SM
7722 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7723 we're in VC after all.
7724
1c6c854e
CS
77252011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7726
7727 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 7728 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
7729 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7730
bed7f140
SM
77312011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7732
332e62ab
SM
7733 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7734 add sanity check.
7735
bed7f140
SM
7736 * obsolete/erc-hecomplete.el: Make obsolete.
7737 * obsolete/: Standardize obsolescence info in the header.
7738
f195c582
GM
77392011-04-20 Glenn Morris <rgm@gnu.org>
7740
7741 * calendar/solar.el (solar-horizontal-coordinates):
7742 Use the longitude argument rather than `calendar-longitude'.
7743 (solar-date-next-longitude): Remove unused locals.
7744
cb79b8c0
VJL
77452011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7746
7747 * whitespace.el: New version 13.2.1.
7748
77492011-04-20 felix <EmacsWiki> (tiny change)
7750
d8e4b68b 7751 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
7752 switching between major modes on a file.
7753
602ea69d
SM
77542011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7755
7756 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7757 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7758 multi-line comments as well.
7759
06b60517
JB
77602011-04-19 Juanma Barranquero <lekktu@gmail.com>
7761
7762 Lexical-binding cleanup.
7763
7764 * arc-mode.el (archive-mode-revert):
7765 * cmuscheme.el (scheme-interactively-start-process):
7766 * custom.el (custom-initialize-delay):
7767 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7768 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7769 * emacs-lock.el (emacs-lock-clear-sentinel):
7770 * ezimage.el (defezimage):
7771 * follow.el (follow-avoid-tail-recenter):
7772 * fringe.el (set-fringe-mode-1):
7773 * generic-x.el (bat-generic-mode-compile):
7774 * help-mode.el (help-info-variable, help-do-xref)
7775 (help-mode-revert-buffer):
7776 * help.el (view-emacs-todo):
7777 * iswitchb.el (iswitchb-completion-help):
7778 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7779 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7780 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7781 * locate.el (locate-update):
7782 * longlines.el (longlines-encode-region)
7783 (longlines-after-change-function):
7784 * outline.el (outline-isearch-open-invisible):
7785 * ps-def.el (declare-function, charset-dimension, char-width)
7786 (encode-char):
7787 * ps-mule.el (ps-mule-plot-string):
7788 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7789 (recentf-edit-list-select, recentf-edit-list-validate)
7790 (recentf-open-files-action):
7791 * rect.el (delete-whitespace-rectangle-line)
7792 (rectangle-number-line-callback):
7793 * register.el (window-configuration-to-register)
7794 (frame-configuration-to-register):
7795 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7796 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7797 (xselect-convert-to-targets, xselect-convert-to-delete)
7798 (xselect-convert-to-filename, xselect-convert-to-charpos)
7799 (xselect-convert-to-lineno, xselect-convert-to-colno)
7800 (xselect-convert-to-os, xselect-convert-to-host)
7801 (xselect-convert-to-user, xselect-convert-to-class)
7802 (xselect-convert-to-name, xselect-convert-to-integer)
7803 (xselect-convert-to-atom, xselect-convert-to-identity):
7804 * subr.el (declare, ignore, process-kill-without-query)
7805 (text-clone-maintain):
7806 * terminal.el (te-get-char, te-tic-sentinel):
7807 * tool-bar.el (tool-bar-make-keymap):
7808 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7809 * type-break.el (type-break-mode, type-break-noninteractive-query):
7810 * view.el (View-back-to-mark):
7811 * wid-browse.el (widget-browse-action, widget-browse-widget)
7812 (widget-browse-widgets, widget-browse-sexp):
7813 * widget.el (define-widget-keywords):
7814 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7815 Mark unused parameters.
7816
7817 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7818 (align-areas): Remove unused variable `look'.
7819 (align-region): Remove unused variables `real-end' and `pos-list'.
7820
7821 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7822
7823 * bindings.el (mode-line-modified, mode-line-remote):
7824 Mark unused parameters.
7825 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7826
7827 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7828 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7829
7830 * comint.el (comint-history-isearch-pop-state)
7831 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7832 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7833 (comint-substitute-in-file-name): Doc fix.
7834
7835 * completion.el (cmpl-statistics-block): Mark unused parameter.
7836 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7837 (save-completions-to-file, load-completions-from-file):
7838 Remove unused local variable `e'.
7839
7840 * composite.el (compose-chars): Remove unused variable `len'.
7841 (lgstring-insert-glyph): Remove unused variable `g'.
7842 (compose-glyph-string): Remove unused variables `ascent',
7843 `descent', `lbearing' and `rbearing'.
7844 (compose-glyph-string-relative): Remove unused variables
7845 `lbearing', `rbearing' and `wadjust'.
7846 (compose-gstring-for-graphic): Remove unused variables `header',
7847 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7848 (compose-gstring-for-terminal): Remove unused variables `header'
7849 and `nchars'. Use `let', not `let*'.
7850
7851 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7852 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7853 (Custom-buffer-done, custom-buffer-create-internal)
7854 (custom-browse-visibility-action, custom-browse-group-tag-action)
7855 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7856 (widget-magic-mouse-down-action, custom-toggle-parent)
7857 (custom-add-parent-links, custom-toggle-hide-variable)
7858 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7859 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7860 (custom-face-menu-create, custom-variable-menu-create, get)
7861 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7862 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7863 (customize-apropos): Remove unused variable `tests'.
7864 (custom-group-value-create): Remove unused variable `hidden-p'.
7865 (sort-fold-case): Declare.
7866
7867 * cus-theme.el (custom-reset-standard-faces-list)
7868 (custom-reset-standard-variables-list): Declare.
7869 (customize-create-theme, custom-theme-revert, custom-theme-write)
7870 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7871 Mark unused parameters.
7872
7873 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7874
7875 * delim-col.el (delimit-columns-max): Move defvar before first use.
7876
7877 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7878 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7879
7880 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7881 (auto-insert): Declare.
7882 (desktop-restore-file-buffer): Rename desktop-* parameters;
7883 mark unused ones.
7884 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7885 (desktop-buffer): Rename desktop-* parameters.
7886
7887 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7888 (dframe-reposition-frame-xemacs, dframe-help-echo)
7889 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7890 Mark unused parameters.
7891
7892 * dired-aux.el (backup-extract-version-start, overwrite-query)
7893 (overwrite-backup-query, rename-regexp-query)
7894 (rename-non-directory-query): Declare.
7895 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7896 (dired-add-entry): Remove unused variable `orig-file-name'.
7897 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7898 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7899 `dired-copy-preserve-time' directly.
7900 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7901 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7902
7903 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7904 (dired-virtual-revert, dired-make-relative-symlink):
7905 Mark unused parameters.
7906 (manual-program): Declare.
7907 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7908 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7909 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7910
7911 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7912
7913 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7914
7915 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7916 Declare.
7917
7918 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7919
7920 * electric.el (Electric-command-loop): Rename parameter
7921 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7922
7923 * expand.el (expand-in-literal): Remove unused variable `here'.
7924
7925 * facemenu.el (facemenu-add-new-color):
7926 Remove unused variable `docstring'.
7927
7928 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7929 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7930 (face-attr-construct): Mark unused parameter. Doc fix.
7931 (read-color): Remove unused variable `hex-string'.
7932
7933 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7934 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7935 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7936 (display-buffer-other-frame): Remove unused variable `old-window'.
7937 (kill-buffer-hook): Declare.
7938 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7939 Mark unused parameters.
7940 (after-find-file): Pass 1 to `auto-save-mode', not t.
7941
7942 * files-x.el (auto-insert): Declare.
7943 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7944
7945 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7946 variable `buf'. Mark unused parameter.
06b60517
JB
7947 (find-lisp-insert-directory): Mark unused parameter.
7948
7949 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7950 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7951 (format-common-tail): Remove, unused.
7952 (format-deannotate-region): Remove unused variable `loc'.
7953 (format-annotate-region): Remove unused variable `p'.
7954 (format-annotate-single-property-change): Remove unused variables
7955 `default' and `tail'.
7956
7957 * forms.el (read-file-filter): Declare.
7958 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7959
7960 * frame.el (frame-creation-function-alist): Mark unused parameter.
7961 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7962
7963 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7964 Remove unused parameters.
7965 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7966 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7967
7968 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7969 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7970 (hfy-prepare-tag-map): Mark unused parameters.
7971 (htmlfontify-buffer): Use `called-interactively-p'.
7972
7973 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7974 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7975 (ibuffer-do-occur): Mark unused parameters.
7976 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7977 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7978
7979 * ibuffer.el: Don't quote `lambda'.
7980 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7981 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7982 Mark unused parameters.
7983
7984 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7985 (ido-completing-read): Mark unused parameters.
7986 (ido-copy-current-word): Mark unused parameters;
7987 remove unused variable `name'.
7988 (ido-sort-merged-list): Remove unused parameter `dirs'.
7989
7990 * ielm.el (ielm-input-sender): Mark unused parameter.
7991 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7992 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7993 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7994 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7995 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7996
7997 * image-dired.el (image-dired-display-thumbs): Remove unused
7998 variables `curr-file' and `count'.
7999 (image-dired-remove-tag): Remove unused variable `start'.
8000 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8001 variable `curr-file'
8002 (image-dired-rotate-original): Remove unused variable `temp-file'.
8003 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8004 Remove unused variable `file'.
8005 (image-dired-gallery-generate): Remove unused variable `curr'.
8006 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8007
8008 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8009
8010 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8011
8012 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8013
8014 * isearch.el (minibuffer-history-symbol): Declare.
8015 (isearch-edit-string): Remove unused variable `err'.
8016 (isearch-message-prefix, isearch-message-suffix):
8017 Mark unused parameters.
8018
8019 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8020
8021 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8022
8023 * makesum.el (double-column): Remove unused variable `cnt'.
8024
8025 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8026 (ido-ignore-item-temp-list): Declare.
8027
8028 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8029 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8030 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8031 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8032 `mouse-col-delta'.
8033
8034 * mouse-sel.el (mouse-extend-internal):
8035 Remove unused variable `orig-window-frame'.
8036
8037 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8038 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8039 Move declarations before first use.
8040 (pcomplete-opt): Mark unused parameters; doc fix.
8041
8042 * proced.el (proced-revert): Mark unused parameter.
8043 (proced-send-signal): Remove unused variable `err'.
8044
8045 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8046 Rename parameter PREFIX-ARG to ARG.
8047 (ps-basic-plot-string, ps-basic-plot-whitespace):
8048 Mark unused parameters.
8049
8050 * replace.el (replace-count): Define.
8051 (occur-revert-function): Mark unused parameters.
8052 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8053 (isearch-case-fold-search, isearch-string): Declare.
8054 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8055 bind `case-fold-search'. Remove unused variables `beg' and `end',
8056 and simplify.
8057 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8058 COUNT and bind `replace-count'.
8059 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8060 to COUNT.
8061
8062 * savehist.el (print-readably, print-string-length): Declare.
8063
8064 * shadowfile.el (shadow-expand-cluster-in-file-name):
8065 Remove unused variable `cluster'.
8066 (shadow-copy-file): Remove unused variable `i'.
8067 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8068 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8069 (shadow-define-literal-group, shadow-define-regexp-group)
8070 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8071
8072 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8073 (shell): Use `called-interactively-p'.
8074 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8075
8076 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8077 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8078 (delete-backward-char): Remove unused variable `ocol'.
8079 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8080 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8081 (event-apply-hyper-modifier, event-apply-shift-modifier)
8082 (event-apply-control-modifier, event-apply-meta-modifier):
8083 Mark unused parameters.
8084 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8085 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8086
8087 * speedbar.el (speedbar-ignored-directory-expressions)
8088 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8089 (speedbar-find-file, speedbar-dir-follow)
8090 (speedbar-directory-buttons-follow, speedbar-tag-find)
8091 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8092 (speedbar-buffers-line-directory, speedbar-buffer-click):
8093 Mark unused parameters.
8094 (speedbar-tag-file): Remove unused variable `mode'.
8095 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8096
8097 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8098
8099 * talk.el (talk): Remove unused variable `display'.
8100
8101 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8102 (tar-write-region-annotate): Mark unused parameter.
8103
8104 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8105 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8106 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8107 warning by another.
8108
8109 * time-stamp.el (time-stamp-string-preprocess):
8110 Remove unused variable `require-padding'.
8111
8112 * tree-widget.el (widget-glyph-enable): Declare.
8113 (tree-widget-action): Mark unused parameter.
8114
8115 * w32-fns.el (x-get-selection): Mark unused parameter.
8116 (autoload-make-program, generated-autoload-file): Declare.
8117
8118 * wdired.el (wdired-revert): Mark unused parameters.
8119 (wdired-xcase-word): Remove unused variable `err'.
8120
8121 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8122 (whitespace-help-scroll): Remove unused variable `data-help'.
8123
8124 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8125 (widget-image-insert, widget-after-change, default)
8126 (widget-default-format-handler, widget-default-notify)
8127 (widget-default-prompt-value, widget-info-link-action)
8128 (widget-url-link-action, widget-function-link-action)
8129 (widget-variable-link-action, widget-file-link-action)
8130 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8131 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8132 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8133 (widget-insert-button-action, widget-delete-button-action, visibility)
8134 (widget-documentation-link-action, widget-documentation-string-action)
8135 (widget-const-prompt-value, widget-regexp-match, symbol)
8136 (widget-coding-system-prompt-value)
8137 (widget-key-sequence-value-to-external, sexp)
8138 (widget-sexp-value-to-internal, character, vector, cons)
8139 (widget-choice-prompt-value, widget-boolean-prompt-value)
8140 (widget-color--choose-action): Mark unused parameters.
8141 (widget-item-match-inline, widget-choice-match-inline)
8142 (widget-checklist-match, widget-checklist-match-inline)
8143 (widget-group-match): Rename parameter VALUES to VALS.
8144 (widget-field-value-set): Remove unused variable `size'.
8145 (widget-color-action): Remove unused variables `value' and `start'.
8146
8147 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 8148 variable `dir'. Doc fix.
06b60517
JB
8149 (windmove-find-other-window): Don't pass it.
8150
8151 * window.el (count-windows): Mark unused parameter.
8152 (bw-adjust-window): Remove unused variable `err'.
8153
8154 * woman.el (woman-file-name): Remove unused variable `default'.
8155 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8156 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8157 (global-font-lock-mode): Declare.
8158 (woman-decode-region): Mark unused parameter.
8159 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8160
8161 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8162 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8163 (x-dnd-handle-moz-url): Remove unused variable `title'.
8164 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8165
8166 * xml.el (xml-parse-tag, xml-parse-attlist):
8167 Remove unused variable `pos'.
8168
bc4f7f3d
GM
81692011-04-19 Glenn Morris <rgm@gnu.org>
8170
8171 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8172 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8173 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8174 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8175 * calendar/cal-html.el (cal-html-insert-minical):
8176 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8177 (calendar-mark-date-pattern):
8178 Prefix "unused" locals.
8179
8180 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8181 optional argument `style'.
8182
8183 * calendar/appt.el (appt-make-list):
8184 * calendar/cal-china.el (calendar-chinese-date-string):
8185 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8186 (diary-hebrew-yahrzeit):
8187 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8188 * calendar/calendar.el (calendar-generate-window):
8189 * calendar/time-date.el (time-to-days):
8190 Remove unused local variables.
8191
16a43933
CY
81922011-04-18 Chong Yidong <cyd@stupidchicken.com>
8193
8194 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8195 glyphless-char-display table.
8196 (tabulated-list-glyphless-char-display): New var.
8197
7eed1860
SS
81982011-04-18 Sam Steingold <sds@gnu.org>
8199
8200 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
8201 to acknowledgments.
8202
4d2d1ccd
GM
82032011-04-17 Glenn Morris <rgm@gnu.org>
8204
8205 * calendar/diary-lib.el (diary-sexp-entry):
8206 * calendar/holidays.el (holiday-sexp):
8207 Set debug-on-error rather than the removed stack-trace-on-error.
8208
239da61d
GM
82092011-04-16 Glenn Morris <rgm@gnu.org>
8210
8211 * progmodes/f90.el: Use lexical-binding.
8212 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
8213
8b05752a
SM
82142011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8215
daca8ba5
SM
8216 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
8217 (mail-mode): Setup mailalias completion here instead.
8218 * mail/mailalias.el: Use lexical-binding.
8219 (pattern, mailalias-done): Declare dynamic.
8220 (mail-completion-at-point-function): New function, from mail-complete.
8221 (mail-complete): Use it.
8222 (mail-completion-expand): New function.
8223 (mail-get-names): Use it.
8224 (mail-directory, mail-directory-process, mail-directory-stream):
8225 Don't use `pattern' for lexically bound arg.
8226
6f542485
SM
8227 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
8228
037e7c3f
SM
8229 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
8230 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
8231 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
8232
8b05752a
SM
8233 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
8234 (byte-save-window-excursion, byte-temp-output-buffer-setup)
8235 (byte-interactive-p): Define them again, for use when inlining
8236 old code.
8237
49093f60
JB
82382011-04-15 Juanma Barranquero <lekktu@gmail.com>
8239
8240 * loadup.el: Use `string-to-number', not `string-to-int'.
8241
b5b8e7de
SM
82422011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8243
8244 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8245 gud-gdb-complete-command.
8246 (gud-gdb-completions): New function, from gud-gdb-complete-command.
8247 (gud-gdb-completion-at-point): New function.
8248 (gud-gdb-completions): Remove.
8249
f42efeb5
MA
82502011-04-14 Michael Albinus <michael.albinus@gmx.de>
8251
49093f60
JB
8252 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8253 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
8254 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8255 whether `executable-find' is bound.
f42efeb5
MA
8256
8257 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8258
e240cc21
SM
82592011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8260
8261 * minibuffer.el (completion-in-region-mode-predicate)
8262 (completion-in-region-mode--predicate): New vars.
8263 (completion-in-region, completion-in-region--postch)
8264 (completion-in-region-mode): Use them.
8265 (completion--capf-wrapper): Also return the hook function.
8266 (completion-at-point, completion-help-at-point):
8267 Adjust and provide a predicate.
c2bd2ab0
SM
8268
8269 Preserve arg names for advice of subr and lexical functions (bug#8457).
8270 * help-fns.el (help-function-arglist): Consolidate the subr and
8271 new-byte-code cases. Add argument `preserve-names' to extract names
8272 from the docstring when needed.
8273 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8274 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8275 (ad-arglist): Use help-function-arglist's new arg.
8276 (ad-definition-type): Use cond.
8277
c183f693
JB
82782011-04-13 Juanma Barranquero <lekktu@gmail.com>
8279
06641a47
JB
8280 * autorevert.el (auto-revert-handler):
8281 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8282 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8283 Don't quote lambda.
8284
c183f693
JB
8285 * image-mode.el (image-transform-set-scale):
8286 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8287
1e3b6001
G
82882011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8289
8290 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 8291 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
8292 Upgrades via gnutls-cli are too slow to be done opportunistically.
8293
2d6af8dd
JB
82942011-04-12 Juanma Barranquero <lekktu@gmail.com>
8295
8296 * dframe.el (dframe-current-frame): Remove spurious quote.
8297
c0749a51
GM
82982011-04-12 Glenn Morris <rgm@gnu.org>
8299
088d0d61
GM
8300 * calendar/cal-tex.el (cal-tex-end-document):
8301 Try to automatically use latin1 input if needed.
8302
c0749a51
GM
8303 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8304 Don't try to cons a mark onto an empty element.
8305
5c90fde0
LL
83062011-04-11 Leo Liu <sdl.web@gmail.com>
8307
8308 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8309 buffers.
8310 (ido-kill-buffer-at-head): Support killing virtual buffers.
8311
369e974d
CY
83122011-04-10 Chong Yidong <cyd@stupidchicken.com>
8313
8314 * minibuffer.el (completion-show-inline-help): New var.
8315 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
8316 (minibuffer-force-complete, minibuffer-complete-word):
8317 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
8318
8319 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8320 to avoid interference from inline help (Bug#5849).
8321
37f1c930
LL
83222011-04-10 Leo Liu <sdl.web@gmail.com>
8323
099c39a4
JB
8324 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8325 Fix typo.
37f1c930 8326
a32d4040
CY
83272011-04-09 Chong Yidong <cyd@stupidchicken.com>
8328
8329 * image-mode.el (image-toggle-display-image): Signal an error if
8330 not in Image mode.
8331 (image-transform-mode, image-transform-resize)
8332 (image-transform-set-rotation): Doc fix.
daca8ba5 8333 (image-transform-set-resize): Delete.
a32d4040
CY
8334 (image-transform-set-scale, image-transform-fit-to-height)
8335 (image-transform-fit-to-width): Handle image-toggle-display-image
8336 and image-transform-resize directly.
8337
099c39a4 83382011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
8339
8340 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
8341 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8342 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
8343 (doc-view-mode-map): Add bindings for the new functions.
8344
099c39a4 83452011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 8346
4d61f28d 8347 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
8348 Fix typo in docstring.
8349
3726838a
EZ
83502011-04-08 Eli Zaretskii <eliz@gnu.org>
8351
04f33f1e
EZ
8352 * files.el (file-size-human-readable): Produce one digit after
8353 decimal, like "ls -lh" does.
8354
8355 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8356 the file size representation.
8357
3726838a
EZ
8358 * simple.el (list-processes): If async subprocesses are not
8359 available, error out with a clear error message.
8360
cbb59342
CY
83612011-04-08 Chong Yidong <cyd@stupidchicken.com>
8362
8363 * help.el (help-form-show): New function, to be called from C.
8364 Put help-form output in a buffer named differently than *Help*.
8365
e3971c44
EZ
83662011-04-08 Eli Zaretskii <eliz@gnu.org>
8367
8368 * files.el (file-size-human-readable): New function.
8369
8370 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8371 computing the representation inline. Don't require `cl'.
8372
12544bbe
GM
83732011-04-08 Glenn Morris <rgm@gnu.org>
8374
a1de6c6a
GM
8375 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8376
3c4671f4
GM
8377 * net/browse-url.el (browse-url-firefox):
8378 Test system-type, not system-configuration.
8379
b605679c
GM
8380 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8381 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8382 Use log-edit-empty-buffer-p. (Bug#7598)
8383
56442f0c
GM
8384 * net/rlogin.el (rlogin-process-connection-type): Simplify.
8385 (rlogin-mode-map): Initialize in the defvar.
8386 (rlogin): Use ignore-errors.
8387
12544bbe
GM
8388 * replace.el (occur-mode-map): Some fixes for menu items.
8389
eb237b0f
AH
83902011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8391
8392 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
8393
7d668f2c
CY
83942011-04-06 Chong Yidong <cyd@stupidchicken.com>
8395
e67a13ab
CY
8396 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8397 issuing unused warnings.
8398
8399 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8400 macro directly.
8401
7d668f2c
CY
8402 * simple.el: Lisp reimplement of list-processes. Based on an
8403 earlier reimplementation by Leo Liu, but using tabulated-list.el.
8404 (process-menu-mode): New major mode.
8405 (list-processes--refresh, list-processes):
8406 (process-menu-visit-buffer): New functions.
8407
8408 * files.el (save-buffers-kill-emacs): Don't assume any return
8409 value of list-processes, which is undocumented anyway.
8410
a83ec3c9
CY
84112011-04-06 Chong Yidong <cyd@stupidchicken.com>
8412
8413 * emacs-lisp/tabulated-list.el: New file.
8414
e91a96fe
CY
8415 * emacs-lisp/package.el: Use Tabulated List mode.
8416 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8417 (package-menu-mode): Derive from tabulated-list-mode. Set up the
8418 table format using Tabulated List mode variables.
8419 (package--push): New macro, replacing package-list-maybe-add.
8420 (package-menu--generate): Use package--push. Renamed from
8421 package--generate-package-list.
8422 (package-menu-refresh, list-packages): Use it.
daca8ba5 8423 (package-menu--print-info): Rename from package-print-package.
e91a96fe 8424 Return insertion data instead of inserting it directly.
099c39a4
JB
8425 (package-menu-describe-package, package-menu-execute):
8426 Use tabulated-list-get-id.
e91a96fe
CY
8427 (package-menu-mark-delete, package-menu-mark-install)
8428 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
8429 (package-menu-mark-obsolete-for-deletion):
8430 Use tabulated-list-put-tag.
e91a96fe
CY
8431 (package--list-packages, package-menu-revert)
8432 (package-menu-get-package, package-menu-get-version)
8433 (package-menu-sort-by-column): Functions deleted.
8434 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8435 (package-menu--status-predicate, package-menu--version-predicate)
8436 (package-menu--name-predicate)
8437 (package-menu--description-predicate): Handle arguments in the
8438 Tabulated List format.
8439 (package-list-packages-no-fetch): Call list-packages.
8440
3e214b50
JB
84412011-04-06 Juanma Barranquero <lekktu@gmail.com>
8442
8443 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 8444 (after-find-file): Don't bind it.
3e214b50
JB
8445 (revert-buffer-in-progress-p): New variable.
8446 (revert-buffer): Bind it.
8447 Pass nil for `after-find-file-from-revert-buffer'.
8448
8449 * saveplace.el (save-place-find-file-hook): Use new variable
8450 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8451
3f0f1700
GM
84522011-04-06 Glenn Morris <rgm@gnu.org>
8453
c0274801
GM
8454 * Makefile.in (AUTOGEN_VCS): New variable.
8455 (autoloads): Use $AUTOGEN_VCS.
8456
3f0f1700
GM
8457 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8458 * calendar/calendar.el (calendar-mode-map):
8459 Check for toolkit scroll bars. (Bug#8305)
8460
41ea9e48
CY
84612011-04-05 Chong Yidong <cyd@stupidchicken.com>
8462
8463 * minibuffer.el (completion-in-region--postch)
8464 (completion-in-region-mode): Remove unnecessary messages.
8465
6194c800
JB
84662011-04-05 Juanma Barranquero <lekktu@gmail.com>
8467
33256f14
JB
8468 * font-lock.el (font-lock-refresh-defaults):
8469 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8470 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8471
6194c800
JB
8472 * info.el (Info-directory-list, Info-read-node-name-2)
8473 (Info-split-parameter-string): Doc fixes.
8474 (Info-virtual-nodes): Reflow docstring.
8475 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8476 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8477 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8478 Fix typos in docstrings.
8479 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8480 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8481 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8482 (Info-restore-desktop-buffer): Mark unused parameters.
8483 (Info-directory-find-file, Info-directory-find-node)
8484 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8485 (Info-virtual-index-find-node, Info-apropos-find-file)
8486 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 8487 Mark unused parameters; fix typos in docstrings.
6194c800
JB
8488 (Info-virtual-index): Remove unused local variable `nodename'.
8489
b87a8200 84902011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 8491
b87a8200
DD
8492 * net/rcirc.el: Update my e-mail address.
8493 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 8494
3b2ff876
CY
84952011-04-05 Chong Yidong <cyd@stupidchicken.com>
8496
8497 * startup.el (command-line): Save the cursor's theme-face
8498 directly, instead of using face-override-spec.
8499
8500 * custom.el (load-theme): Minor optimization in assigning faces.
8501
8d17e7ca
JB
85022011-04-04 Juanma Barranquero <lekktu@gmail.com>
8503
8504 * help-fns.el (describe-variable): Complete all variables having
8505 documentation, including keywords.
8506 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8507
2fbc1934
JB
85082011-04-04 Juanma Barranquero <lekktu@gmail.com>
8509
8510 Convert to lexical-binding.
8511
8512 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8513 (bs--get-marked-string, bs--get-modified-string)
8514 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8515 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8516 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8517
8518 * ehelp.el (electric-help-execute-extended)
8519 (electric-help-ctrl-x-prefix):
8520 * hexl.el (hexl-revert-buffer-function):
8521 * linum.el (linum-after-change, linum-after-scroll):
8522 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8523
8524 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8525
74f50695
DU
85262011-04-04 Daiki Ueno <ueno@unixuser.org>
8527
8528 * epa-dired.el:
8529 * epa-mail.el:
8530 * epa-hook.el:
8531 * epa-file.el:
8532 * epa.el:
8533 * epg.el: Use lexical binding.
8534
c11325f7
CY
85352011-04-03 Chong Yidong <cyd@stupidchicken.com>
8536
0d9e9a12
CY
8537 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8538
c11325f7 8539 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
8540 dictionary case for flyspell-mark-duplications-exceptions.
8541 Use regexp matching for languages.
c11325f7
CY
8542 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8543 default dictionary (Bug#7926).
8544
da91b5f2
CY
85452011-04-02 Chong Yidong <cyd@stupidchicken.com>
8546
099c39a4
JB
8547 * emacs-lisp/package.el (package--with-work-buffer):
8548 Recognize https URLs.
da91b5f2 8549
099c39a4
JB
8550 * net/network-stream.el: Move from gnus/proto-stream.el.
8551 Change prefix to network-stream throughout.
da91b5f2
CY
8552 (open-protocol-stream): Merge into open-network-stream, leaving
8553 open-protocol-stream as an alias. Handle nil BUFFER args.
8554
8555 * subr.el (open-network-stream): Move to net/network-stream.el.
8556
afa8e9f6
GM
85572011-04-02 Glenn Morris <rgm@gnu.org>
8558
1d2e369d
GM
8559 * find-dired.el (find-exec-terminator): New option.
8560 (find-ls-option): Test for -ls support.
8561 (find-ls-subdir-switches): Test for -b in find-ls-option.
8562 (find-dired, find-grep-dired): Doc fixes.
8563 (find-dired): Use find-exec-terminator.
8564
8abb7da8 8565 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
8566 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8567 (find-name-arg): Remove purecopy.
8abb7da8 8568
f3ca7378
GM
8569 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8570 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8571 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8572 accordingly. Don't add the null-device if not needed.
8573
afa8e9f6
GM
8574 * files.el (save-some-buffers): Doc fix.
8575
35eae264
EZ
85762011-04-02 Eli Zaretskii <eliz@gnu.org>
8577
8578 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8579
26b51db5
JB
85802011-04-01 Juanma Barranquero <lekktu@gmail.com>
8581
8582 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8583 Use `dolist' rather than `mapcar'.
8584
7200d79c
SM
85852011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8586
03408648 8587 Add lexical binding.
7200d79c 8588
03408648
SM
8589 * subr.el (apply-partially): Use new closures rather than CL.
8590 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8591 (dolist, dotimes): Use slightly different expansion for lexical code.
8592 (functionp): Move to C.
8593 (letrec): New macro.
8594 (with-wrapper-hook): Use it and apply-partially instead of CL.
8595 (eval-after-load): Preserve lexical-binding.
8596 (save-window-excursion, with-output-to-temp-buffer): Turn them
8597 into macros.
7200d79c 8598
03408648
SM
8599 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8600
8601 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8602 than the arglist.
8603 (help-add-fundoc-usage): Don't add `Not documented'.
8604 (help-function-arglist): Handle closures, subroutines, and new
8605 byte-code-functions.
8606 (help-make-usage): Remove leading underscores.
8607 (describe-function-1): Handle closures.
8608 (describe-variable): Use special-variable-p for completion.
8609
8610 * files.el (lexical-binding): Declare safe.
f488fb65 8611
03408648
SM
8612 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8613 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8614 (pcase): Add `let' pattern.
8615 Change memoization so it actually works.
8616 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8617 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8618 <let>: New case.
f488fb65 8619
03408648
SM
8620 * emacs-lisp/macroexp.el: Use lexical binding.
8621 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8622 Don't convert ' to #' without checking that it's indeed quoting
8623 a lambda.
8624
8625 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 8626 Use eval-sexp-add-defvars.
03408648
SM
8627 (eval-sexp-add-defvars): New fun.
8628
8629 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8630
8631 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8632 Don't autoload.
8633 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8634 than the internal `byte-compile-lambda'.
8635 (defmethod): Don't hide code under quotes.
8636 (eieio-defmethod): New `code' argument.
8637
8638 * emacs-lisp/eieio-comp.el: Remove.
8639
8640 * emacs-lisp/edebug.el (edebug-eval-defun)
8641 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8642 (edebug-toggle): Avoid `eval'.
8643
8644 * emacs-lisp/disass.el (disassemble-internal): Handle new
8645 `closure' objects.
8646 (disassemble-1): Handle new byte codes.
8647
8648 * emacs-lisp/cl.el (pushnew): Silence warning.
8649
8650 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8651 (cl-byte-compile-throw): Remove.
8652 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8653
8654 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8655 closures.
8656
8657 * emacs-lisp/cconv.el: New file.
8658
8659 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8660 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8661 (byte-compile-initial-macro-environment):
8662 Handle declare-function here.
8663 (byte-compile--lexical-environment): New var.
8664 (byte-stack-ref, byte-stack-set, byte-discardN)
8665 (byte-discardN-preserve-tos): New lap codes.
8666 (byte-interactive-p): Don't use any more.
8667 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8668 New macros.
8669 (byte-compile-lapcode): Use them and handle new lap codes.
8670 (byte-compile-obsolete): Remove.
8671 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8672 (byte-compile-arglist-warn): Check late def of inlinable funs.
8673 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8674 since they should have been expanded by now.
8675 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8676 (byte-compile-from-buffer): Remove unused second arg.
8677 (byte-compile-preprocess): New function.
8678 (byte-compile-toplevel-file-form): New function to distinguish
8679 file-form calls from outside from file-form calls from hunk-handlers.
8680 (byte-compile-file-form): Simplify.
8681 (byte-compile-file-form-defsubst): Remove.
8682 (byte-compile-file-form-defmumble): Simplify now that
8683 byte-compile-lambda always returns a byte-code-function.
8684 (byte-compile): Preprocess.
8685 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8686 Remove, not used any more.
8687 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8688 (byte-compile-make-args-desc): New funs.
8689 (byte-compile-lambda): Handle lexical functions. Always return
8690 a byte-code-function.
8691 (byte-compile-reserved-constants): New var, to make up room for
8692 closed-over variables.
8693 (byte-compile-constants-vector): Obey it.
8694 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8695 (byte-compile-macroexpand-declare-function): New function.
8696 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8697 byte-code-functions.
8698 (byte-compile-form): Check obsolescence here.
8699 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8700 (byte-compile-variable-ref): Remove.
8701 (byte-compile-dynamic-variable-op): New fun.
8702 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8703 (byte-compile-variable-set): New funs.
8704 (byte-compile-discard): Add 2 args.
8705 (byte-compile-stack-ref, byte-compile-stack-set)
8706 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8707 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8708 macroexpand-all instead.
8709 (byte-compile-quote-form): Remove.
8710 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8711 (byte-compile-bind, byte-compile-unbind): New funs.
8712 (byte-compile-let): Handle let* and lexical binding.
8713 (byte-compile-let*): Remove.
8714 (byte-compile-catch, byte-compile-unwind-protect)
8715 (byte-compile-track-mouse, byte-compile-condition-case):
8716 Handle a new :fun-body form, used for lexical scoping.
8717 (byte-compile-save-window-excursion)
8718 (byte-compile-with-output-to-temp-buffer): Remove.
8719 (byte-compile-defun): Simplify.
8720 (byte-compile-stack-adjustment): New fun.
8721 (byte-compile-out): Use it.
8722 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8723
8724 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8725 handler any more.
8726
8727 * emacs-lisp/byte-opt.el: Use lexical binding.
8728 (byte-inline-lapcode): Remove (to bytecomp).
8729 (byte-compile-inline-expand): Pay attention to inlining to/from
8730 lexically bound code.
8731 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8732 any more.
8733 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8734 any more and don't call compiler-macros.
8735 (byte-compile-splice-in-already-compiled-code): Remove.
8736 (byte-code): Don't inline any more.
8737 (disassemble-offset): Receive `bytes' as argument rather than via
8738 dynamic scoping.
8739 (byte-compile-tag-number): Declare before first use.
8740 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8741 `return' even if make-spliceable.
8742 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8743 obsolete interactive-p.
8744 (byte-optimize-lapcode): Optimize new lap-codes.
8745 Don't trip up on new form of `byte-constant' lap code.
8746
8747 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8748
8749 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8750
8751 * custom.el (custom-initialize-default, custom-declare-variable):
8752 Use `defvar'.
8753
8754 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8755 New variables.
8756 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8757 (COMPILE_FIRST): Add macroexp and cconv.
8758 * makefile.w32-in: Mirror changes in Makefile.in.
8759
8760 * vc/cvs-status.el:
8761 * vc/diff-mode.el:
8762 * vc/log-edit.el:
8763 * vc/log-view.el:
8764 * vc/smerge-mode.el:
8765 * textmodes/bibtex-style.el:
8766 * textmodes/css.el:
8767 * startup.el:
8768 * uniquify.el:
da91b5f2
CY
8769 * minibuffer.el:
8770 * newcomment.el:
8771 * reveal.el:
8772 * server.el:
8773 * mpc.el:
8774 * emacs-lisp/smie.el:
8775 * doc-view.el:
8776 * dired.el:
03408648
SM
8777 * abbrev.el: Use lexical binding.
8778
0f0c1f27
EZ
87792011-04-01 Eli Zaretskii <eliz@gnu.org>
8780
8781 * info.el (info-display-manual): New function.
8782
c82b2579
SM
87832011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8786
221ddf68
TH
87872011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8788
8789 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 8790 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 8791
cba6e77e
GM
87922011-03-31 Glenn Morris <rgm@gnu.org>
8793
e040639f
GM
8794 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8795
cba6e77e
GM
8796 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8797
6d0f1c9e
CS
87982011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8799
8800 * progmodes/python.el (python-default-interpreter)
8801 (python-python-command-args, python-jython-command-args)
8802 (python-which-shell, python-which-args, python-which-bufname)
8803 (python-file-queue, python-comint-output-filter-function)
8804 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8805 variables and functions.
8806
3e2d70fd
SM
88072011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8808
8809 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8810 (completion-in-region-mode): New minor mode.
8811 (completion-in-region): Use it.
8812 (completion-in-region--data, completion-in-region-mode-map): New vars.
8813 (completion-in-region--postch): New function.
8814 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8815 New vars.
8816 (completion--capf-wrapper): New function.
8817 (completion-at-point): Use it to track well-behavedness of
8818 hook functions.
8819 (completion-help-at-point): New command.
8820
f3e4086c
JM
88212011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8822
8823 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8824 syntax class to search for whitespace on a single line
8825 (Message-ID: <4D938140.4030905@redhat.com>).
8826
eb7ffc14
LL
88272011-03-30 Leo Liu <sdl.web@gmail.com>
8828
8829 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8830 New commands.
8831 (edit-abbrevs-map): Bind them here.
8832 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8833
d806ab68
KM
88342011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8835
8836 * allout.el (allout-hide-by-annotation, allout-flag-region):
8837 Reduce possibility of overlay leakage by making them volatile.
8838
8839 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8840 hash is not shared between buffers. Mode initialization is
8841 responsible for giving it a useful starting value.
8842 (allout-item-span): Reduce possibility of overlay leakage by
8843 making them volatile.
8844 (allout-widgets-count-buttons-in-region): Add diagnostic function
8845 for tracking down button overlay leaks.
8846
ea622834
LL
88472011-03-29 Leo Liu <sdl.web@gmail.com>
8848
8849 * ido.el (ido-read-internal): Use the default history var
8850 minibuffer-history if no HISTORY is specified.
8851
b62f8267
G
88522011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8853
03408648
SM
8854 * net/imap.el (imap-shell-open, imap-process-connection-type):
8855 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8856 Kerberos, SSL, other subprocesses.
8857
947b6566
LL
88582011-03-28 Leo Liu <sdl.web@gmail.com>
8859
8860 * abbrev.el (abbrev-table-empty-p): New function.
8861 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8862 nonempty ones. (Bug#5937)
8863
5ffb62aa
JD
88642011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8865
8866 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8867
7a097943
LL
88682011-03-27 Leo Liu <sdl.web@gmail.com>
8869
8870 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8871 for foreground and background colors.
8872 (ansi-color-make-color-map): Adapt.
8873
c5b40130
LL
88742011-03-25 Leo Liu <sdl.web@gmail.com>
8875
1f48f7d2
LL
8876 * midnight.el (midnight-time-float): Remove. Note it calculates
8877 the microsecond component incorrectly and seconds-to-time does the
8878 same job.
625897ec 8879 Remove redundant (require 'timer).
1f48f7d2 8880
c5b40130
LL
8881 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8882 (ido-completions): Remove unused arguments. (Bug#8329)
8883
d86d2721
SM
88842011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8885
8886 * minibuffer.el (completion--flush-all-sorted-completions):
8887 Remove itself from hook.
8888 (completion-at-point): Let the functions perform the completion
8889 immediately and return nil or t.
8890 * comint.el (comint-dynamic-complete-functions): Now identical to
8891 completion-at-point-functions.
8892 (comint-dynamic-list-input-ring): Remove unused var `index'.
8893 (comint--match-partial-filename, comint--unquote&expand-filename):
8894 New funs, split from comint-match-partial-filename.
8895 (comint-dynamic-complete): Use completion-at-point.
8896 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8897
e8974c48
DA
88982011-03-24 Drew Adams <drew.adams@oracle.com>
8899
8900 * thingatpt.el: Support `defun'.
8901
def71b5e
LL
89022011-03-23 Leo Liu <sdl.web@gmail.com>
8903
cb5af48e
LL
8904 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8905
def71b5e
LL
8906 * help-mode.el (help-mode-finish): Tweak regexp.
8907
927c53e7
GM
89082011-03-23 Glenn Morris <rgm@gnu.org>
8909
18d05bed
GM
8910 * eshell/esh-opt.el (eshell-eval-using-options):
8911 Do not bind unused local variable `eshell-option-stub'.
8912
927c53e7
GM
8913 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8914
9d0da923
JB
89152011-03-22 Juanma Barranquero <lekktu@gmail.com>
8916
8917 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8918 keymap variable in `with-no-warnings' to avoid a warning when the
8919 keymap has been already `defconst'ed.
8920
4b978a67
LL
89212011-03-22 Leo Liu <sdl.web@gmail.com>
8922
8923 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8924 encode all chars in abbrevs; otherwise use emacs-mule or
8925 utf-8-emacs. (Bug#8308)
8926
5fd62452
JB
89272011-03-22 Juanma Barranquero <lekktu@gmail.com>
8928
0b1596c6
JB
8929 * simple.el (backward-delete-char-untabify):
8930 Avoid warning about using `delete-backward-char'.
8931
5fd62452
JB
8932 * image.el (image-type-file-name-regexps): Make it variable.
8933 `imagemagick-register-types' modifies it, and the user may want
8934 to add new extensions for known image types.
8935 (imagemagick-register-types): Throw error if not using ImageMagick.
8936
0b4e93f1
LL
89372011-03-22 Leo Liu <sdl.web@gmail.com>
8938
8939 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8940 located before rcirc-prompt-end-marker.
8941 (rcirc-complete): Error if point is not after rcirc prompt.
8942 Handle the case when table is nil.
9882e214 8943 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8944
fccee4ab
CY
89452011-03-22 Chong Yidong <cyd@stupidchicken.com>
8946
8947 * custom.el (custom--inhibit-theme-enable): Make it affect only
8948 custom-theme-set-variables and custom-theme-set-faces.
8949 (provide-theme): Ignore custom--inhibit-theme-enable.
8950 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8951 (custom-enabling-themes): Delete variable.
d86d2721
SM
8952 (enable-theme): Accept only loaded themes as arguments.
8953 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8954 (custom-enabled-themes): Forbid themes from setting this.
8955 Eliminate use of custom-enabling-themes.
8956 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8957
af896da6
LL
89582011-03-21 Leo Liu <sdl.web@gmail.com>
8959
8960 * ido.el (ido-read-internal): Add ido-selected to history instead
8961 of user input.
8962
78f64af0
SM
89632011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * subr.el (deferred-action-list, deferred-action-function):
8966 Mark obsolete.
8967
b16ac1ec
LL
89682011-03-21 Leo Liu <sdl.web@gmail.com>
8969
810f7698
LL
8970 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8971 change on 2011-02-13 (bug#8309).
8972
b16ac1ec
LL
8973 * minibuffer.el (read-file-name-function): Change default value.
8974 (read-file-name--defaults): Rename from read-file-name-defaults.
8975 (read-file-name-default): Rename from read-file-name.
8976 (read-file-name): Call read-file-name-function.
8977
4e05e67e
GM
89782011-03-21 Glenn Morris <rgm@gnu.org>
8979
8980 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8981 Doc fixes.
8982
4359915b
CY
89832011-03-21 Chong Yidong <cyd@stupidchicken.com>
8984
8985 * cus-theme.el: Add missing provide statement.
8986 (customize-create-theme): Extract theme value correctly.
8987 (custom-theme-visit-theme): Autoload.
8988 (customize-create-theme): Prompt before inserting default faces.
8989
1fe275ee
JB
89902011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8991
8992 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8993 units and musical notes.
8994
3ec03f7e
LL
89952011-03-20 Leo <sdl.web@gmail.com>
8996
8997 * ido.el (ido-read-internal): Use completing-read-default.
8998 (ido-completing-read): Fix compatibility with completing-read.
8999
7d476bde
CO
90002011-03-20 Christian Ohler <ohler@gnu.org>
9001
9002 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9003 (ert-delete-all-tests): Use `called-interactively-p' rather than
9004 `interactive-p'.
9005 (ert--make-xrefs-region): Respect END.
9006
fe0fb33e
CY
90072011-03-19 Chong Yidong <cyd@stupidchicken.com>
9008
ff854b0b
CY
9009 * dired-aux.el (dired-create-directory): Signal an error if the
9010 directory already exists (Bug#8246).
9011
fe0fb33e
CY
9012 * facemenu.el (list-colors-display): Call list-faces-display
9013 inside with-help-window.
9014 (list-colors-print): Use display property to align the final
9015 column, instead of checking window-width.
9016
576bce32
EZ
90172011-03-19 Eli Zaretskii <eliz@gnu.org>
9018
4d61f28d 9019 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
9020 windows-nt systems.
9021 (emerge-protect-metachars): Quote correctly for ms-dos and
9022 windows-nt systems.
9023
89c41d68 90242011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
9025
9026 * info.el (info-initialize): Replace all uses of `:' with
9027 path-separator for compatibility with non-Unix systems.
9028 Cache quoting of path-separator. (Bug#8258)
9029
b14e3e21 90302011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
9031
9032 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9033 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9034 (mouse-avoidance-mode): Fix typos in docstrings.
9035
4525ce3e
CY
90362011-03-19 Chong Yidong <cyd@stupidchicken.com>
9037
9038 * startup.el (package-subdirectory-regexp): Move from package.el.
9039 Omit \\` and \\', and let callers add them.
9040
9041 * emacs-lisp/package.el (package-strip-version)
9042 (package-load-all-descriptors): Add \\` and \\' to
9043 package-subdirectory-regexp before using it.
9044 (package-untar-buffer): New arg DIR; ensure that file untars only
9045 into this expected directory. Remove superfluous delete-region.
9046 (package-unpack): Caller changed.
9047 (package-tar-file-info): Use package-subdirectory-regexp.
9048
a904a09a 90492011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 9050
a904a09a
SM
9051 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9052 diff-mode-shared-map (bug#8284).
9053 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
9054
90552011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9056
9057 * calendar/time-date.el (format-seconds): Use assoc instead of
9058 assoc-string, since assoc-string doesn't exist in XEmacs.
9059
171fc304
JB
90602011-03-17 Juanma Barranquero <lekktu@gmail.com>
9061
9062 * custom.el (custom-known-themes): Reflow docstring.
9063 (custom-theme-load-path): Fix typo in docstring.
9064 (load-theme): Fix typo in error message.
9065 (custom-available-themes, custom-variable-theme-value):
9066 Use `let', not `let*'.
9067
d71990a1
JB
90682011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9069
9070 * calc/README: Mention inclusion of musical notes.
9071
9072 * calc/calc-units.el (calc-lu-quant): Rename from
9073 `calc-logunits-quantity'.
9074 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9075 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9076 (calc-db): Rename from `calc-dblevel'.
9077 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9078 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9079 (calc-np): Rename from `calc-nplevel'.
9080 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9081 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9082 (calc-lu-plus): Rename from `calc-logunits-add'.
9083 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9084 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9085 (calc-lu-minus): Rename from `calc-logunits-sub'.
9086 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9087 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9088 (calc-lu-times): Rename from `calc-logunits-mul'.
9089 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9090 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9091 (calc-lu-divide): Rename from `calc-logunits-div'.
9092 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9093 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9094
9095 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9096 functions being autoloaded.
9097
9098 * calc/calc.el (calc-lu-power-reference): Rename from
9099 `calc-logunits-power-reference'.
9100 (calc-lu-field-reference): Rename from
9101 `calc-logunits-field-reference'.
9102
9103 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9104
40c2934b
SM
91052011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9106
9107 * minibuffer.el (completion-all-sorted-completions):
9108 Use :completion-cycle-penalty text property if present.
9109
b0911414
KM
91102011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9111
9112 * allout.el (allout-yank-processing): Adjust for new rebulleting
9113 regime so bullet being yanked is used without prompting the user
9114 for a choice.
9115
8a05b668
JB
91162011-03-16 Juanma Barranquero <lekktu@gmail.com>
9117
9118 * startup.el (command-line): Warn the user that _emacs is deprecated.
9119
5ba5fb81
JB
91202011-03-16 Juanma Barranquero <lekktu@gmail.com>
9121
9122 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9123 (delphi-verbose, delphi-comment-face, delphi-string-face)
9124 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9125 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9126 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9127 (delphi-new-comment-line, delphi-font-lock-defaults)
9128 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9129 Fix typos in docstrings.
9130
2dab465b
KM
91312011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9132
5ba5fb81 9133 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
9134 Invert the roles of character and string values for INSTEAD, so a
9135 string is used for the more common case of a defaulting prompt.
9136
0adf5618
SM
91372011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9138
9139 * progmodes/ruby-mode.el (ruby-backward-sexp):
9140 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9141 * play/gamegrid.el (gamegrid-make-face):
9142 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9143 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9144 * notifications.el (notifications-notify):
9145 * net/xesam.el (xesam-search-engines):
9146 * net/quickurl.el (quickurl-list-insert):
9147 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9148
d72700e5
CY
91492011-03-15 Chong Yidong <cyd@stupidchicken.com>
9150
9151 * startup.el (command-line): Update package subdirectory regexp.
9152
49c5410a
SM
91532011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9154
c6eee9aa
SM
9155 * allout.el (allout-abbreviate-flattened-numbering)
9156 (allout-mode-deactivate-hook): Fix up obsolescence "date".
9157
49c5410a
SM
9158 * subr.el (read-char-choice): Only show the cursor after the prompt,
9159 not after the answer.
9160
047b2bb9
KR
91612011-03-15 Kevin Ryde <user42@zip.com.au>
9162
9163 * help-fns.el (variable-at-point): Skip leading quotes, if any
9164 (bug#8253).
9165
0a57d256
SM
91662011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9167
9168 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9169 warning message.
9170
77c992bc
MA
91712011-03-14 Michael Albinus <michael.albinus@gmx.de>
9172
9173 * shell.el (shell): When called interactively, offer to change the
9174 shell file name on remote hosts.
9175
eebc475d
TZ
91762011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
9177
9178 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9179 integration for LDAP parameters. The host, base, user or binddn,
9180 and secret tokens can be specified in a netrc file, for instance.
9181 This is optional because an `auth-source' parameter must be
9182 specified in the search attributes.
9183
9d05d1ba
JB
91842011-03-13 Juanma Barranquero <lekktu@gmail.com>
9185
9186 * help.el (describe-mode): Link to the mode's definition (bug#8185).
9187
09d9db2c
GM
91882011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9189
9190 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9191 into declaration. Remove redundant and harmful binding.
9192
91932011-03-12 Eli Zaretskii <eliz@gnu.org>
9194
9195 * files.el (file-ownership-preserved-p): Pass `integer' as an
9196 explicit 2nd argument to `file-attributes'. If the file's owner
9197 is the Administrators group on Windows, and the current user is
9198 Administrator, consider that a match.
9199
9200 * server.el (server-ensure-safe-dir): Consider server directory
9201 safe on MS-Windows if its owner is the Administrators group while
9202 the current Emacs user is Administrator. Use `=' to compare
9203 numerical UIDs, since they could be integers or floats.
9204
219bd536
JB
92052011-03-12 Juanma Barranquero <lekktu@gmail.com>
9206
9207 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
9208
f3afd36b
MA
92092011-03-12 Michael Albinus <michael.albinus@gmx.de>
9210
9211 Sync with Tramp 2.2.1.
9212
9213 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
9214
9215 * net/trampver.el: Update release number.
9216
3aaaa6f1
SM
92172011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9218
94642599
SM
9219 * progmodes/compile.el (compilation--previous-directory): Fix up
9220 various nil/dead-marker mismatches (bug#8014).
9221 (compilation-directory-properties, compilation-error-properties):
9222 Don't call it at a position past the one we're about to change.
9223
3aaaa6f1
SM
9224 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
9225 Disable obsolescence warnings in the file that declares it.
9226
14239447
KM
92272011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
9228
099c39a4
JB
9229 * allout-widgets.el (allout-widgets-tally):
9230 Initialize allout-widgets-tally as a hash table rather than nil to
9231 prevent mode-line redisplay warnings. Also, clarify the module
9232 description and fix a comment typo.
14239447 9233
135e287c
JB
92342011-03-11 Juanma Barranquero <lekktu@gmail.com>
9235
9236 * help-fns.el (describe-variable): Don't complete keywords.
9237 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
9238
ffbf300e
CY
92392011-03-10 Chong Yidong <cyd@stupidchicken.com>
9240
ba08b241
CY
9241 * emacs-lisp/package.el (package-version-join): Impose a standard
9242 string representation for pre/alpha/beta version lists.
9243 (package-unpack-single): Standardize the directory name by passing
9244 it through package-version-join.
9245 (package-strip-rcs-id): Accept any version string that does not
9246 signal an error in version-to-list.
ffbf300e 9247
f346fd6b
MA
92482011-03-10 Michael Albinus <michael.albinus@gmx.de>
9249
9250 * simple.el (delete-trailing-whitespace): Return nil for the
9251 benefit of `write-file-functions'.
9252
ccb55d27
GM
92532011-03-10 Glenn Morris <rgm@gnu.org>
9254
5ceaac0c
GM
9255 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9256
02da65ff
GM
9257 * vc/vc-git.el (vc-git-program): New option.
9258 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9259 (vc-git--call): Use it.
9260
b2f603cc
GM
9261 * eshell/esh-util.el (eshell-condition-case): Doc fix.
9262
5772caab
GM
9263 * cus-edit.el (Custom-newline): If no button at point, look
9264 for a subgroup button at start-of-line. (Bug#2298)
9265
ccb55d27
GM
9266 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9267
ec6ecaed
JD
92682011-03-10 Julien Danjou <julien@danjou.info>
9269
9270 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9271 `cursor-type' is nil.
9272
9d5aa01d
JB
92732011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
9274
9275 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9276
b6a5875b
KM
92772011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
9278
9279 * allout.el Summary: Change so yank of distinctive-bullet items
9280 preserves the existing header prefix, rebulleting it if necessary,
9281 rather than replacing it. This is necessary for proper operation
9282 of cooperative addons like allout-widgets.
219bd536 9283 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
9284 SOLICIT arg to INSTEAD, and interpret additionally a string value
9285 as alternate bullet to be used, instead of prompting the user for
9286 a bullet character.
9287
ee545c35
MA
92882011-03-09 Michael Albinus <michael.albinus@gmx.de>
9289
d86d2721
SM
9290 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9291 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
9292 `tramp-default-port'.
9293
c47971d7
DD
92942011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9295
9296 * net/rcirc.el (rcirc-handler-001): Remove useless
9297 with-rcirc-process-buffer.
9298 (rcirc-check-auth-status): Swap arguments to string-match.
9299
13522cb4
GM
93002011-03-09 Glenn Morris <rgm@gnu.org>
9301
0be6f4f1
GM
9302 * shell.el (shell-mode):
9303 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
9304
13522cb4
GM
9305 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9306 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
9307
515de2e3
CY
93082011-03-08 Chong Yidong <cyd@stupidchicken.com>
9309
9310 * emacs-lisp/package.el (package-refresh-contents)
9311 (package-menu-execute): Use condition-case-no-debug.
9312
b511b994
MA
93132011-03-08 Michael Albinus <michael.albinus@gmx.de>
9314
9315 * simple.el (shell-command-to-string): Use `process-file'.
9316
9317 * emacs-lisp/package.el (package-tar-file-info): Handle also
9318 remote files.
9319
d86d2721
SM
9320 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9321 Use `equal' for upload base check.
b511b994 9322
25bbfb31
AM
93232011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
9324
9325 * textmodes/texinfo.el (texinfo-environments):
9326 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
9327
be996521
GM
93282011-03-08 Glenn Morris <rgm@gnu.org>
9329
e9c8529f
GM
9330 * cus-start.el (cursor-in-non-selected-windows):
9331 Fix :set quoting oddness. (Bug#8192)
9332
be996521
GM
9333 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9334 in some setf expressions. (Bug#2159)
9335
2bb5649e
CY
93362011-03-08 Chong Yidong <cyd@stupidchicken.com>
9337
9338 * custom.el (custom-available-themes): Return themes in
9339 alphabetical order.
9340
33383987 9341See ChangeLog.15 for earlier changes.
e3d51b27
MR
9342
9343;; Local Variables:
9344;; coding: utf-8
e3d51b27
MR
9345;; End:
9346
33383987 9347 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
9348
9349 This file is part of GNU Emacs.
9350
9351 GNU Emacs is free software: you can redistribute it and/or modify
9352 it under the terms of the GNU General Public License as published by
9353 the Free Software Foundation, either version 3 of the License, or
9354 (at your option) any later version.
9355
9356 GNU Emacs is distributed in the hope that it will be useful,
9357 but WITHOUT ANY WARRANTY; without even the implied warranty of
9358 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9359 GNU General Public License for more details.
9360
9361 You should have received a copy of the GNU General Public License
9362 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.