Fix typos.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a98edce9
JB
12011-12-06 Juanma Barranquero <lekktu@gmail.com>
2
3 * textmodes/table.el (table-shorten-cell): Fix typo.
4
e65adfac
CG
52011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6
7 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8
71cc0b74
EZ
92011-12-05 Eli Zaretskii <eliz@gnu.org>
10
11 * descr-text.el (describe-char): Fix display of strong
12 right-to-left characters and directional embeddings and overrides.
13
14 * simple.el (what-cursor-position): Fix display of codepoints of
15 strong right-to-left characters.
16
315bc30d
CY
172011-12-05 Chong Yidong <cyd@gnu.org>
18
19 * faces.el (read-color): Doc fix.
20
58a70b94
GM
212011-12-05 Glenn Morris <rgm@gnu.org>
22
23 * align.el (align--set-marker): Add doc-string.
24 Don't try to move something that is not a marker. (Bug#10216)
25
5158face
GM
262011-12-04 Glenn Morris <rgm@gnu.org>
27
28 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
29 overly zealous deletion of trailing whitespace.
30
520fca41
JB
312011-12-04 Juanma Barranquero <lekktu@gmail.com>
32
33 * server.el (server-delete-client): On Windows, do not try to delete
34 the only terminal.
35 (server-process-filter): On Windows, treat requests for a tty frame as
36 if they were for a GUI frame if the running server is in GUI mode.
37
5e605a2e
GM
382011-12-03 Glenn Morris <rgm@gnu.org>
39
40 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
41
5c3fe83f
SM
422011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
43
6f5e57e7
SM
44 * electric.el: Streamline electric-indent's hook.
45 (electric-indent-chars): Revert to simple list.
46 (electric-indent-functions): New var.
47 (electric-indent-post-self-insert-function): Use it.
48
5c3fe83f
SM
49 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
50 there's no inferior buffer (bug#10196).
51 (prolog-consult-compile): Don't use toggle-read-only.
52
6bdac736
MA
532011-12-02 Michael Albinus <michael.albinus@gmx.de>
54
55 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
56 interrupt. (Bug#10187)
57
6131ba7f
SM
582011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
59
99c79fee
SM
60 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
61 (bug#9160).
62
6131ba7f
SM
63 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
64 (bug#10191).
65
cb0a02ea
JL
662011-12-02 Juri Linkov <juri@jurta.org>
67
68 * info.el (Info-search): Display "end of manual" when Isearch
69 reaches the end of single-file Info manual. (Bug#9918)
70
66e0570c
EZ
712011-12-02 Eli Zaretskii <eliz@gnu.org>
72
73 * isearch.el (isearch-message-prefix): Run the input method part
74 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
75
02b16839
JL
762011-12-02 Juri Linkov <juri@jurta.org>
77
78 * isearch.el (isearch-occur): Use `word-search-regexp' for
79 `isearch-word'.
80 (isearch-search-and-update): Add condition for `isearch-word' and
81 call `word-search-regexp'. (Bug#10145)
82
0b950688
GM
832011-12-01 Glenn Morris <rgm@gnu.org>
84
85 * eshell/em-hist.el (eshell-hist-initialize):
86 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 87 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 88
9505c3c7
SM
892011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
90
91 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
92
1bbe96b2 932011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 94
a1beca85
SM
95 * progmodes/verilog-mode.el (verilog-pretty-expr):
96 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
97 verilog, such as += *= and the like.
98 (verilog-assignment-operator-re): Regular expression to find the
99 assigment operator in a verilog assignment.
100 (verilog-assignment-operation-re): Regular expression to find an
101 assignment statement for pretty-expr.
102 (verilog-in-attribute-p): Query returns true if point is in an
103 attribute context; used to skip these for expression line up from
104 pretty-expr.
105 (verilog-in-parameter-p): Query returns true if point is in an
106 parameter definition context; used to skip these for expression
107 line up from pretty-expr.
108 (verilog-in-parenthesis-p): Query returns true if point is in a
109 parenthetical expression, specifically ( ) but not [ ] or { };
110 used by pretty-expr.
111 (verilog-just-one-space): If there is no space, don't add one.
112 (verilog-get-lineup-indent-2): Specifically skip just attribute
113 contexts for expression lineup, rather than skipping all
114 parenthetical expressions.
115 (verilog-calculate-indent): Fix comment, and fix indent.
116 (verilog-do-indent): Indent declarations in lists (suggested by
117 Joachim Lechner).
118 (verilog-mode-abbrev-table): Populate abbrev mode with the various
119 skeleton items.
120 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
121 by Alain Mellan).
122
1bbe96b2 1232011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
124
125 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
126 parameters with embedded comments. Reported by Ray Stevens.
127 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
128 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
129 Reported by Tim Holt.
130 (verilog-auto): Fix AUTOing a upper module then AUTOing module
131 instantiated by upper module causing wrong expansion until AUTOed a
132 second time. Reported by K C Buckenmaier.
133 (verilog-diff-auto): Fix showing .* as a difference when
134 `verilog-auto-star-save' off. Reported by Dan Dever.
135 (verilog-auto-reset, verilog-read-always-signals)
136 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
137 temporary signals in reset list if
138 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
139 style to each signal's assignment type, bug381.
140 Reported by Thomas Esposito.
6288f0ca
WS
141 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
142 (verilog-uvm-statement-re): Support UVM indentation and
143 highlighting, with old OVM keywords only.
a1beca85
SM
144 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
145 Support AUTOTIEOFF creating non-wire data types. Suggested by Jonathan
6288f0ca
WS
146 Greenlaw.
147 (verilog-auto-insert-lisp, verilog-delete-to-paren)
148 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
149 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
150 (verilog-read-sub-decls, verilog-read-sub-decls-line):
151 Fix mismatching parenthesis inside commented out code when deleting
6288f0ca
WS
152 AUTOINST, bug383. Reported by Jonathan Greenlaw.
153 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
154 non-numeric vector width. Reported by Alex Reed.
155 (verilog-auto-ascii-enum): Add "onehot" option to work around not
156 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
157 (verilog-auto-delete-trailing-whitespace):
158 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
159 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
160 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
161 Fix verilog-scan-cache corruption when running user AUTO expansion
162 hooks that call indentation routines.
163 (verilog-simplify-range-expression): Fix typo ignoring lower case
164 identifiers.
165 (verilog-delete-auto): Fix delete-autos to also remove user created
166 automatics, as long as they start with AUTO.
167 (verilog-batch-diff-auto, verilog-diff-auto)
168 (verilog-diff-function): Add `verilog-diff-auto' and bind to
169 "C-c?" to report differences in AUTO expansion, ignoring spaces.
170 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
171 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
172 (verilog-re-search-forward-quick, verilog-syntax-ppss):
173 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
174 is disabled and its cache will get corrupt, causing AUTOS not to
175 expand. Instead use only -quick functions.
176 (verilog-scan-region): Fix scanning over escaped quotes.
177 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
178 (verilog-re-search-backward-quick)
179 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
180 related functions now ignore strings, to fix misparsing of strings
181 with magic comments embedded in them.
a1beca85
SM
182 (verilog-read-auto-template):
183 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
184 Reported by Brad Dobbie.
185 (verilog-read-auto-template):
186 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 187 Reported by Brad Dobbie.
6288f0ca
WS
188 (verilog-auto-inst, verilog-auto-inst-param)
189 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
190 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
191 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
192 debugging templates without merge conflicts, bug357.
193 Reported by Brad Dobbie.
194 (verilog-read-auto-template):
195 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
196 Reported by Brad Dobbie.
197 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
198 abbrevs so user won't be asked to save.
199 (verilog-read-auto-lisp-present): Fix to start at beginning of
200 buffer in case called outside of verilog-auto.
201 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
202 to "X-2". Reported by Matthew Myers.
203 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
204 all inputs from module templates. Reported by Leith Johnson.
205 (verilog-module-inside-filename-p): Fix locating programs as with
206 modules.
207 (verilog-auto-inst-port): Fix vl-width expressions when using
208 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
209 (verilog-decls-get-regs, verilog-decls-get-signals,
210 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
211 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
212 verilog-read-decls): Combine reg and wire structures into one var
213 structure to represent SystemVerilog concepts.
214 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
215 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
216 (verilog-auto-wire-type, verilog-insert-definition):
217 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
218 SystemVerilog "logic" keyword instead of "wire"/"reg".
219 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
220 to declares outputs that also have assignments (presumably in an
a1beca85
SM
221 ifdef or generate if so there's not a driver conflict).
222 Reported by Matthew Myers.
223 (verilog-auto-declare-nettype, verilog-insert-definition):
224 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
225 `default_nettype none. Reported by Julian Gorfajn.
226 (verilog-read-always-signals-recurse, verilog-read-decls)
227 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
228 malformed end statement, bug325. Reported by Joshua Wise and
229 Andrew Drake.
230 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
231 (verilog-inst-comment-re): Fix not deleting Interfaced comment
232 when expanding .* in interfaces, bug320. Reported by Pierre-David
233 Pfister.
234 (verilog-read-module-name): Fix import statements between module
235 name and open parenthesis, bug317. Reported by Pierre-David
236 Pfister.
237 (verilog-simplify-range-expression): Fix simplification of
238 multiplications inside AUTOWIRE connections, bug303.
239 (verilog-auto-inst-port): Support parameter expansion in
240 multidimensional arrays.
241 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
242 after "assert property". Reported by Julian Gorfajn.
243 (verilog-simplify-range-expression): Fix "couldn't merge" errors
244 with multiplication, bug303.
245 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
246 Reported by Jan Frode Lonnum.
247
1bbe96b2
GM
2482011-11-30 Juanma Barranquero <lekktu@gmail.com>
249
250 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
251 (hfy-shell-file-name, hfy-shell):
252 * international/fontset.el (x-decompose-font-name): Fix typos.
253
2542011-11-29 Ken Brown <kbrown@cornell.edu>
255
256 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
257 (gdb-version): Remove defvar.
258 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
259 (gdb-gud-context-command, gdb-non-stop-handler)
260 (gdb-current-context-command, gdb-stopped): Use it.
261 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
262 (gdb-non-stop-handler): Don't enable pretty-printing here.
263 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
264 non-stop mode. Use the following.
265 (gdb-check-target-async): New defun.
266 (gud-watch, gdb-stopped): Fix whitespace.
267 (gdb-get-source-file): Don't try to display the source file if
268 `gdb-main-file' is nil.
269
2702011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
271
272 * align.el: Try to generate fewer markers (bug#10047).
273 (align--set-marker): New macro.
274 (align-region): Use it.
275
c935221f
SM
2762011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
279
e70b5064
CY
2802011-11-29 Chong Yidong <cyd@gnu.org>
281
282 * indent.el (indent-for-tab-command, indent-according-to-mode):
283 Doc fix.
284 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
285
f3af92b7
MA
2862011-11-29 Michael Albinus <michael.albinus@gmx.de>
287
288 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
289 aware of remote file names. (Bug#10124)
290
ed472be9
CY
2912011-11-29 Chong Yidong <cyd@gnu.org>
292
293 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
294
24510c22
SM
2952011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * files.el (find-file): Don't use force-same-window (bug#10144).
298 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
299 use pop-to-buffer if the selected window can't be used.
300 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
301
c60c3703
EZ
3022011-11-28 Eli Zaretskii <eliz@gnu.org>
303
304 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
305 special-mode-map.
306
e95def75
CY
3072011-11-28 Chong Yidong <cyd@gnu.org>
308
309 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
310
c3f1c606
NR
3112011-11-27 Nick Roberts <nickrob@snap.net.nz>
312
313 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
314 gdb-get-source-file-list on gdb-create-source-file-list.
315
00db469c
EZ
3162011-11-26 Eli Zaretskii <eliz@gnu.org>
317
318 * whitespace.el (whitespace-newline): Use a different foreground
319 color for 16-color light-background displays.
320
4ad3bc2a
CY
3212011-11-24 Chong Yidong <cyd@gnu.org>
322
323 * window.el (display-buffer--special-action): Doc fix.
324
e9fce1ac
JB
3252011-11-25 Juanma Barranquero <lekktu@gmail.com>
326
327 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
328 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
329 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
330 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
331 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
332 (avl-tree-stack-first):
333 * emacs-lisp/cconv.el (cconv--analyse-use):
334 * net/gnutls.el (gnutls-negotiate): Fix typos.
335
cb825e5d
GM
3362011-11-24 Glenn Morris <rgm@gnu.org>
337
3adbe224
GM
338 * lpr.el (lpr-windows-system, lpr-lp-system):
339 * mail/binhex.el (binhex-begin-line):
340 * progmodes/grep.el (grep-history, grep-find-history):
341 * textmodes/flyspell.el:
342 * vc/pcvs-defs.el (cvs-global-menu):
343 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
344 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
345 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
346
321decc8
GM
347 * net/tls.el: Fix case of "GnuTLS".
348
420b63ad
GM
349 * paths.el (rmail-file-name): Format doc-string for make-docfile.
350
cb825e5d
GM
351 * version.el (emacs-build-system): Give it a doc-string.
352
a0649f08
JL
3532011-11-24 Juri Linkov <juri@jurta.org>
354
355 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
356
c0bc0fd4
GM
3572011-11-24 Glenn Morris <rgm@gnu.org>
358
359 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
360 if called on a non-mime message just toggle the headers. (Bug#8006)
361
20db1522
JB
3622011-11-24 Juanma Barranquero <lekktu@gmail.com>
363
364 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
365 (allout-lead-with-comment-string, allout-structure-deleted-hook)
366 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
367 (allout-rebullet-heading, allout-open-sibtopic)
368 (allout-toggle-current-subtree-encryption)
369 (allout-toggle-subtree-encryption, allout-encrypt-string)
370 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
371 (allout-distinctive-bullets-string, allout-auto-activation):
372 * window.el (window-normalize-buffer-to-display):
373 * progmodes/verilog-mode.el (verilog-batch-indent):
374 * textmodes/bibtex.el (bibtex-field-braces-opt)
375 (bibtex-field-strings-opt):
376 * vc/cvs-status.el (cvs-tree-merge):
377 Fix typos.
378
7262a87c
MA
3792011-11-23 Michael Albinus <michael.albinus@gmx.de>
380
381 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
382 `non-essential' to t, in order to avoid remote connections.
383
283430a1
EZ
3842011-11-23 Eli Zaretskii <eliz@gnu.org>
385
a1beca85
SM
386 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
387 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
388 case-insensitively.
389
d2992a38
ML
3902011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
391
392 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
393
50419064
GM
3942011-11-23 Glenn Morris <rgm@gnu.org>
395
da94eca1
GM
396 * paths.el (rmail-file-name): Reformat the doc-string so that it
397 is picked up.
398
9aac4de2
GM
399 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
400 (rmail-auto-file): Ignore case in the "special" field names,
401 as mail-fetch-field does for all others.
402
8038d2d2
GM
403 * mail/rmail.el (rmail-forward):
404 * mail/rmailkwd.el (rmail-set-label):
405 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
406 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
407
f3fe222a
GM
408 * mail/rmail.el (rmail-current-message): Doc fix.
409
50419064
GM
410 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
411
28109f49
SM
4122011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * server.el (server-eval-and-print): Allow C-g (bug#6585).
415
394c65f1
GM
4162011-11-22 Glenn Morris <rgm@gnu.org>
417
418 * mail/rmailmm.el (test-rmail-mime-handler)
419 (test-rmail-mime-bulk-handler)
420 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
421
f2a0aa3a
JL
4222011-11-21 Juri Linkov <juri@jurta.org>
423
424 * calc/calc.el (calc-read-key-sequence): Let-bind `input-method-function'
425 to nil. (Bug#10018)
426
9c34a344
LMI
4272011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
428
429 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
430 Tell the caller that the next line needs recomputation, even
431 though it doesn't start a sexp (bug#10094).
432
f04a3be9
SM
4332011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
434
435 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
436
7978747f
SM
4372011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
438
f04a3be9
SM
439 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
440 Use force-same-window.
7978747f 441
fe7a3057
JB
4422011-11-20 Juanma Barranquero <lekktu@gmail.com>
443
444 * descr-text.el (describe-char-unicode-data):
445 * json.el (json-string-escape):
446 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
447 (Footnote-unicode, Footnote-style-p):
448 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
449
24901d61
CY
4502011-11-20 Chong Yidong <cyd@gnu.org>
451
452 * window.el (replace-buffer-in-windows): Restore interactive spec.
453
bac7ff22
SM
4542011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
455
24f3d7b9
SM
456 * electric.el (electric-indent-mode): Fix last change (too optimistic).
457
bac7ff22
SM
458 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
459 (byte-compile-global-not-obsolete-vars): New var.
460 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
461 Use it.
462 (byte-compile-warn-obsolete): Align text with the one in *Help*.
463
cd1181db
JB
4642011-11-20 Juanma Barranquero <lekktu@gmail.com>
465
466 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
467 * progmodes/pascal.el (electric-pascal-equal):
468 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
469 * xml.el (xml-substitute-special): Fix typos.
470
7fb18e9e
GM
4712011-11-20 Glenn Morris <rgm@gnu.org>
472
473 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
474 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
475 Doc fixes.
476 (rmail-decode-mime-charset): Mark as obsolete.
477
478 * mail/rmailsum.el (rmail-message-regexp-p-1):
479 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
480 Before using mime functions, check they are set. (Bug#10077)
481
d5a6b3ba
JL
4822011-11-19 Juri Linkov <juri@jurta.org>
483
484 * info.el (Info-finder-find-node): Use `package--builtins' instead
485 of `package-alist'. Use node names formed by the pattern "Keyword "
486 and the keyword name.
487
e981b61f
AS
4882011-11-19 Andreas Schwab <schwab@linux-m68k.org>
489
490 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
491 bash.
492
3ffbc301
JL
4932011-11-19 Juri Linkov <juri@jurta.org>
494
495 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
496 that calls `revert-buffer' on all Info buffers. (Bug#9915)
497 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
498 `old-history', `old-history-forward'. Add let-binding
499 `window-selected'. Remove calls to `kill-buffer',
500 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
501 before calling `Info-find-node', so `Info-find-node-2' will reread
502 the Info file. Restore window positions only when `window-selected'
503 is non-nil.
504
30c62133
JL
5052011-11-19 Juri Linkov <juri@jurta.org>
506
507 * isearch.el (isearch-lazy-highlight-new-loop):
508 Remove condition `(not isearch-error)'. (Bug#9918)
509
510 * misearch.el (multi-isearch-search-fun): Add condition
511 `(not bound)' to ignore lazy-highlighting search.
512 Add the search-failed message "end of multi" when the end of
513 multi-sequence is reached. Uncapitalize the search-failed
514 message "Repeat for next buffer".
515
516 * info.el (Info-search): Add the search-failed message
517 "end of the manual" when the end of the manual is reached
518 in Isearch mode.
519
645ca9cf
JL
5202011-11-19 Juri Linkov <juri@jurta.org>
521
522 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
523 Use non-destructive `remove' instead of `delete' because
524 `Info-history-list' stored to `Info-isearch-initial-history-list' in
525 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
526
df754f66
JL
5272011-11-19 Juri Linkov <juri@jurta.org>
528
529 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
530 to nil instead of binding `search-ring' and `regexp-search-ring'.
531 (Bug#9185)
532
0e23d96a
EZ
5332011-11-19 Eli Zaretskii <eliz@gnu.org>
534
535 * simple.el (line-move): Force movement by logical lines for any
536 hscrolled window, not only when auto-hscroll-mode is on.
537 (line-move-visual): Update doc string to that effect. (Bug#10076)
538
8a6ccb66
AS
5392011-11-19 Andreas Schwab <schwab@linux-m68k.org>
540
541 * language/european.el (macintosh): Define as alias for mac-roman.
542
49ae5b39
EZ
5432011-11-19 Eli Zaretskii <eliz@gnu.org>
544
545 * mail/rmailmm.el (rmail-mime-display-header)
546 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
547 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
548 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
549 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
550 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
551 of a raw aref.
552 (rmail-mime-entity-segment): To get past the tagline, move forward
553 2 more lines, to account for the 2 empty lines that precede and
554 follow the line with the buttons.
555 (rmail-mime-update-tagline): Move one more line, to get past the
556 empty line that follows the buttons in the tagline. (Bug#9520)
557
c56cad4a
MR
5582011-11-19 Martin Rudalics <rudalics@gmx.at>
559
560 * window.el (window-max-delta-1, window-min-delta-1)
561 (window-min-size-1, window-state-get-1, window-state-put-1)
562 (window-state-put-2): Use "window--" prefix.
563
cbe71af3
SM
5642011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
565
2ad52c60
SM
566 * emacs-lisp/smie.el: Improve warnings and conflict detection.
567 (smie-warning-count): New var.
568 (smie-set-prec2tab): Use it.
569 (smie-bnf->prec2): Improve warnings. Add docstring.
570 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
571 (smie-bnf--set-class): New function.
572 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
573 corner case.
574
6944dbc1
SM
575 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
576 (compilation-error-properties, compilation-move-to-column):
577 Handle compilation-first-column while in the target buffer.
578
c400c4d7
SM
579 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
580 Don't hardcode point-min==1.
581
6dbe3e96
SM
582 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
583 (eshell-rewrite-for-command): Remove workaround.
584 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
585 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
586 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
587
cbe71af3
SM
588 * files-x.el (modify-file-local-variable): Obey commenting conventions.
589
a8e1496d
GM
5902011-11-17 Glenn Morris <rgm@gnu.org>
591
592 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
593 Ignore buffer-local generated-autoload-file if it is the same
594 as the global value. (Bug#10049)
595
df85d315
JB
5962011-11-17 Juanma Barranquero <lekktu@gmail.com>
597
598 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
599 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
600 (reftex-toc-previous-heading, reftex-toc-max-level)
601 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
602 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
603 (reftex-toc-do-promote, reftex-toc-promote-prepare)
604 (reftex-toc-promote-action, reftex-toc-extract-section-number)
605 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
606 (reftex-toc-rename-label, reftex-toc-visit-location)
607 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
608 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
609 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
610 leaving "*toc*" only for references to the buffer.
611
a0c2d0ae
MR
6122011-11-17 Martin Rudalics <rudalics@gmx.at>
613
614 * window.el (window-resize, delete-window, split-window):
615 Replace window-splits by window-combination-resize.
616 * cus-start.el (window-splits): Replace by
617 window-combination-resize.
618
35c0bac8
GM
6192011-11-17 Glenn Morris <rgm@gnu.org>
620
621 * progmodes/sh-script.el (sh-font-lock-keywords-var):
622 Make bash entry derive from sh entry, not shell entry.
623
d0c8fc8a
MA
6242011-11-16 Michael Albinus <michael.albinus@gmx.de>
625
d0c8fc8a
MA
626 * net/tramp-cache.el (tramp-flush-file-property): Flush also
627 properties of linked files. (Bug#9879)
628
7262a87c
MA
629 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
630 local file name.
631
7877f373
JB
6322011-11-16 Juanma Barranquero <lekktu@gmail.com>
633
634 * menu-bar.el (menu-bar-file-menu):
635 * printing.el (pr-ps-utility):
636 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
637 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
638 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
639 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
640 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
641 (icalendar--convert-cyclic-to-ical)
642 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
643 (icalendar--convert-ical-to-diary)
644 (icalendar--convert-recurring-to-diary)
645 (icalendar--convert-non-recurring-all-day-to-diary)
646 (icalendar-import-format-sample):
647 * progmodes/idlw-shell.el (idlwave-shell-mode):
648 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
649 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
650 (vhdl-ps-print-init): Fix typos.
651
10649b82
KM
6522011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
653
9d0cfcd6
GM
654 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
655 FSF and collapse date sequence, obscure author/maintainer email address
656 better, remove extra version line, track relocation of author's webpage.
10649b82 657
9d0cfcd6
GM
658 * progmodes/python.el (python-pdbtrack-input-prompt)
659 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
660 regular python pdb prompts. Adjustments shamelessly taken exactly as
661 suggested in EmacsWiki page (tiny change):
662 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 663
58179cce
JB
6642011-11-16 Juanma Barranquero <lekktu@gmail.com>
665
666 * expand.el (expand-pos, expand-index, expand-point):
667 Remove redundant info from docstring.
668 (expand-add-abbrevs): Doc fix.
669 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
670 (expand-sample-perl-mode-expand-list): Fix typos.
671
672 * net/dbus.el (dbus-event-member-name):
673 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
674 * term/pc-win.el (msdos-create-frame-with-faces):
675 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
676
b6f67890
MR
6772011-11-16 Martin Rudalics <rudalics@gmx.at>
678
679 * window.el (split-window, window-state-get-1)
680 (window-state-put-1, window-state-put-2): Rename occurrences of
681 window-nest to window-combination-limit.
682 * cus-start.el (window-nest): Rename to
683 window-combination-limit.
684
ce7ddba0
CY
6852011-11-16 Chong Yidong <cyd@gnu.org>
686
687 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
688 regexp (Bug#10033).
689
3ae704f4
SM
6902011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
691
692 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
693 `completing-read' will remove *Completions* and will preserve
694 current-buffer for us.
695 (tmm-add-prompt): Users of *Completions* will always (re)set its
696 major mode.
697 (tmm-old-comp-map): Remove.
698
6ad1cdde
GM
6992011-11-16 Glenn Morris <rgm@gnu.org>
700
701 * mail/rmailedit.el: Require rmailmm when compiling.
702 (rmail-old-mime-state): New declaration.
703 (rmail-edit-current-message): If editing a mime message,
704 edit the "raw" message from the mbox buffer.
705 (rmail-cease-edit): Handle mime messages. (Bug#9840)
706
d20faa20
GM
7072011-11-15 Glenn Morris <rgm@gnu.org>
708
709 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
710 which wasn't being used. Add optional arg to force given state.
711 (rmail-mime): Add optional arg to force given state.
712
c7015153
JB
7132011-11-15 Juanma Barranquero <lekktu@gmail.com>
714
715 * allout.el (allout-encryption-plaintext-sanitization-regexps):
716 * frame.el (display-mm-dimensions-alist):
717 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
718 (outline-move-subtree-down):
719 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
720 (newsticker--treeview-do-get-node):
721 * net/quickurl.el (quickurl-list-buffer-name):
722 * progmodes/dcl-mode.el (dcl-mode):
723 * progmodes/gdb-mi.el (gdb-mapcar*):
724 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
725
45261b50
GM
7262011-11-15 Glenn Morris <rgm@gnu.org>
727
728 * mail/rmail.el (rmail-file-coding-system): It's only ever used
729 in a boolean sense, so just make it a boolean, and fix the doc.
730 (rmail-show-mime-function, rmail-mime-feature)
731 (rmail-require-mime-maybe): Doc fixes.
732 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
733
734 * mail/rmailmm.el (rmail-show-mime): Doc fix.
735
0d26e0b6
JB
7362011-11-15 Juanma Barranquero <lekktu@gmail.com>
737
738 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
739 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
740 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
741 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
742
447f30f6
GM
7432011-11-15 Glenn Morris <rgm@gnu.org>
744
672b871d
GM
745 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
746 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
747 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
748 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
749 (rmail-mime, rmail-show-mime): Doc fixes.
750
f6aa5bb1
GM
751 * term/ns-win.el (mode-line-frame-identification):
752 Leave it alone. (Bug#10051)
753
947cd66b
GM
754 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
755
447f30f6
GM
756 * mail/rmailout.el (rmail-output-to-rmail-buffer):
757 Handle empty buffers. (Bug#9978)
758
0b381c7e
JB
7592011-11-14 Juanma Barranquero <lekktu@gmail.com>
760
761 * international/mule.el (define-charset):
762 * mail/rmailmm.el (rmail-mime-find-header-encoding):
763 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
764 * progmodes/verilog-mode.el (verilog-backward-token):
765 * textmodes/ispell.el (lookup-words):
766 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
767
71e027ac
GM
7682011-11-14 Glenn Morris <rgm@gnu.org>
769
56632ce4
GM
770 * progmodes/executable.el
771 (executable-make-buffer-file-executable-if-script-p):
772 Handle file-modes returning nil.
773
40500957
GM
774 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
775 message - not necessary, and causes problems. (Bug#9831)
776
071c2340
GM
777 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
778
d3cfca60
GM
779 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
780
71e027ac
GM
781 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
782 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
783 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
784
89d61221
MR
7852011-11-12 Martin Rudalics <rudalics@gmx.at>
786
787 * window.el (window-resize, delete-window): Use window-splits
788 variable instead of function.
789 (window-state-get-1, window-state-put-2, window-state-put):
790 Don't deal with windows' splits status.
791
98282f6f
GM
7922011-11-12 Glenn Morris <rgm@gnu.org>
793
794 * apropos.el (apropos-do-all, apropos-library, apropos-value)
795 (apropos-documentation): Doc fixes.
796
40a8bdf6
JB
7972011-11-11 Juanma Barranquero <lekktu@gmail.com>
798
799 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
800 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
801
65bd19ff
SM
8022011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * electric.el (electric-indent-post-self-insert-function): Make it
805 possible for a char to only indent in some circumstances.
806 (electric-indent-mode): Simplify.
807
54f9154c
MR
8082011-11-11 Martin Rudalics <rudalics@gmx.at>
809
810 * window.el (windows-with-parameter): Remove unused function.
811 (windows-at-side): Rename to window-at-side-list.
812 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
813 (window-side-check, window-size-ignore, window-size-fixed-1)
814 (window-in-direction-2): Prefix with "window--".
815 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 816
68cbc58b
GM
8172011-11-11 Glenn Morris <rgm@gnu.org>
818
819 * subr.el (eval-after-load): If FILE is already loaded,
820 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
821
b2621720
GM
8222011-11-10 Glenn Morris <rgm@gnu.org>
823
9a4de110
GM
824 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
825 Call svn via vc-svn-command rather than vc-do-command.
826 (vc-svn-command): Add --non-interactive. (Bug#9993)
827 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
828
b2621720
GM
829 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
830 Add toggle-read-only. (Bug#7292)
831 * files.el (toggle-read-only): Mention that it should only
832 be used interactively. (Bug#10006)
833
1dce7193
SM
8342011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
835
d9ac1a1e
SM
836 * progmodes/compile.el (compilation-error-regexp-alist-alist):
837 Adjust regexp for OCaml warnings.
838
0c325082
SM
839 * electric.el (electric-pair-post-self-insert-function): Let user
840 turn it off buffer-locally (bug#9932).
841
90132c14
SM
842 * progmodes/python.el (python-beginning-of-statement):
843 Rewrite (bug#2703).
844
1dce7193
SM
845 * progmodes/compile.el: Better handle TABs (bug#9749).
846 (compilation-internal-error-properties)
847 (compilation-next-error-function): Obey the target buffer's
848 compilation-error-screen-columns.
849
c4e7c63a
JB
8502011-11-09 Juanma Barranquero <lekktu@gmail.com>
851
852 * progmodes/meta-mode.el: Remove obsolete comments.
853 (meta-right-comment-regexp, meta-ignore-comment-regexp):
854 Fix typos in docstrings.
855
2cffd681
MR
8562011-11-09 Martin Rudalics <rudalics@gmx.at>
857
858 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 859 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
860 (window--resizable): New function. Make all callers of
861 window-resizable call window--resizable instead.
862 (window-resizable): Rewrite in terms of window--resizable.
863
0edcba87
GM
8642011-11-08 Glenn Morris <rgm@gnu.org>
865
866 * progmodes/delphi.el (delphi-mode-syntax-table):
867 Let define-derived-mode define a proper syntax table. (Bug#9994)
868
4b0d61e3
SM
8692011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
870
871 * window.el: Stay away from defsubst.
872 (window-list-no-nils): Remove.
873 (window-state-get-1, window-state-get): Use backquote instead.
874
fcbcac2e 8752011-11-08 thierry <thierry.volpiatto@gmail.com>
876
4b0d61e3 877 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 878 Fix incorrect use of default argument in `completing-read'.
879
e1c2c6f2
MR
8802011-11-08 Martin Rudalics <rudalics@gmx.at>
881
882 * window.el (display-buffer-function, special-display-function):
883 Mention display-buffer-record-window but do not mention
884 help-setup parameter in doc-strings.
b3f4a882 885 (window-min-delta): Fix doc-string typo.
e1c2c6f2 886
105216ed
CY
8872011-11-08 Chong Yidong <cyd@gnu.org>
888
889 * window.el (window-total-height, window-total-width): Doc fix.
890 (window-body-size): Move from C.
891 (window-body-height, window-body-width): Move to C.
892
0a9f9ab5
SM
8932011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
894
895 * window.el: Make special-display like display-buffer-alist (bug#9532).
896 (display-buffer--special-action): New function, morphed
897 from display-buffer--special.
898 (display-buffer): Use it to handle special-display-buffers at higher
899 priority (just after display-buffer-alist).
900 (display-buffer-fallback-action, display-buffer--other-frame-action)
901 (pop-to-buffer-same-window): Remove display-buffer--special.
902
a769dd15
GM
9032011-11-07 Glenn Morris <rgm@gnu.org>
904
905 * calendar/cal-menu.el (cal-menu-set-date-title):
906 Do nothing if not in a calendar. (Bug#9976)
907
05a61ee3
SM
9082011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * files.el (find-file): Always use selected-window.
911
be7f5545
MR
9122011-11-07 Martin Rudalics <rudalics@gmx.at>
913
914 * window.el (window-combinations): Make WINDOW argument
915 mandatory. Rewrite doc-string.
916 (walk-window-subtree, window-atom-check, window-min-delta)
917 (window-max-delta, window--resize-this-window)
918 (window--resize-root-window-vertically, window-tree)
919 (balance-windows, window-state-put): Rewrite doc-strings as to
920 not mention the term "subwindow".
921 (window--resize-subwindows-skip-p): Rename to
922 window--resize-child-windows-skip-p.
923 (window--resize-subwindows-normal): Rename to
924 window--resize-child-windows-normal.
925 (window--resize-subwindows): Rename to
926 window--resize-child-windows.
927 (window-or-subwindow-p): Rename to window--in-subtree-p.
928
3c6702ef
ML
9292011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
930
931 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
932 Ensure that mbox format messages end in two newlines (Bug#9974).
933
49745b39
CY
9342011-11-06 Chong Yidong <cyd@gnu.org>
935
936 * window.el (window-combination-p): Function deleted; its
937 side-effect is not used in any existing code.
938 (window-combinations, window-combined-p): Call window-*-child
939 directly.
940
24300f5f
CY
9412011-11-05 Chong Yidong <cyd@gnu.org>
942
943 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
944 (window-size-ignore, window-state-get): Callers changed.
945 (window-normalize-window): Rename from window-normalize-any-window.
946 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 947 (window-normalize-live-window): Delete.
447f16b8
CY
948 (window-combination-p, window-combined-p, window-combinations)
949 (walk-window-subtree, window-atom-root, window-min-size)
950 (window-sizable, window-sizable-p, window-size-fixed-p)
951 (window-min-delta, window-max-delta, window-resizable)
952 (window-resizable-p, window-full-height-p, window-full-width-p)
953 (window-current-scroll-bars, window-point-1, set-window-point-1)
954 (window-at-side-p, window-in-direction, window-resize)
955 (adjust-window-trailing-edge, maximize-window, minimize-window)
956 (window-deletable-p, delete-window, delete-other-windows)
957 (record-window-buffer, unrecord-window-buffer)
958 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
959 (quit-window, split-window, window-state-put)
960 (set-window-text-height, fit-window-to-buffer)
961 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 962
89bd5ee1
EZ
9632011-11-04 Eli Zaretskii <eliz@gnu.org>
964
53479029
EZ
965 * mail/rmail.el (rmail-simplified-subject): Decode subject with
966 rfc2047-decode-string.
967 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
968 warnings.
969
89bd5ee1
EZ
970 * window.el (window-body-height, window-body-width): Mention in
971 the doc string that the return values are in frame's canonical
972 units. (Bug#9949)
973
bd17fdee
AM
9742011-11-03 Alan Mackenzie <acm@muc.de>
975
976 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
977 change in cc-engine.el.
978
acc825c5
SM
9792011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
980
981 * window.el (switch-to-buffer): Use `force-same-window' interactively.
982
1885e5b8
MR
9832011-11-02 Martin Rudalics <rudalics@gmx.at>
984
985 * window.el (quit-window): Call unrecord-window-buffer after
986 showing another buffer in the window. (Bug#9937)
acc825c5 987 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 988
ebe06da9
JB
9892011-11-02 Juanma Barranquero <lekktu@gmail.com>
990
991 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
992 Accept status with more than 9 shelves. (Bug#9935)
993 Reported by Colin D Bennett <colin@gibibit.com>.
994
4ee88440
MR
9952011-11-01 Martin Rudalics <rudalics@gmx.at>
996
997 * help.el (with-help-window): Don't reference
998 temp-buffer-show-specifiers in doc-string.
999
08e1d82c
AS
10002011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1001
1002 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1003 menu-item.
1004
84bd6e9e
VJL
10052011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1006
1007 * whitespace.el: New version 13.2.2.
1008 (whitespace-newline-mode): Disable properly. Reported by Sarah
1009 <EmacsWiki>.
1010
dba0634a
UJ
10112011-10-30 Ulf Jasper <ulf.jasper@web.de>
1012
1013 * net/newst-treeview.el: Remove "Time-stamp".
1014 (newsticker--group-manage-orphan-feeds): Do not call
1015 newsticker--treeview-tree-update.
db22a3c2
JB
1016 (newsticker-treeview-update, newsticker-treeview):
1017 Call newsticker--treeview-tree-update if necessary.
dba0634a 1018
3d8daefe
MR
10192011-10-30 Martin Rudalics <rudalics@gmx.at>
1020
1021 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1022 (window-iso-combinations): Remove "iso-" infix.
1023 Suggested by Chong Yidong.
3d8daefe
MR
1024 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1025 (window-max-delta-1, window-resize, window--resize-siblings)
1026 (window--resize-this-window, adjust-window-trailing-edge)
1027 (split-window, balance-windows-1)
1028 (shrink-window-if-larger-than-buffer):
1029 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1030 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1031
1bc4c3ae
SM
10322011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1035 in place (bug#9907).
1036 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1037 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1038 (eshell-structure-basic-command, eshell-rewrite-while-command)
1039 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1040 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1041 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1042 (eshell-do-pipelines-synchronously, eshell-eval-command):
1043 Use backquotes and prefer setq to set.
1044 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1045 (eshell-macrop): Use functionp.
c1e2f5fa 1046 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1047
30b65d9c
CY
10482011-10-30 Chong Yidong <cyd@gnu.org>
1049
1050 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1051 instead of set-mark (Bug#9810).
1052
2d197ffb
CY
10532011-10-30 Chong Yidong <cyd@gnu.org>
1054
1055 * window.el (split-window-below, split-window-right): Rename from
1056 split-window-above-each-other and split-window-side-by-side
1057 respectively. All callers changed.
1058 (split-window-sensibly, split-window-sensibly): Use them.
1059 (split-window-keep-point): Doc fix.
1060
1061 * isearch.el: Add isearch-scroll property to split-window-below
1062 and split-window-right.
1063
1064 * follow.el (follow-mode):
1065 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1066 * progmodes/ada-xref.el (ada-gdb-application):
1067 * emulation/vip.el (vip-buffer-in-two-windows):
1068 * image-dired.el (image-dired-dired-with-window-configuration):
1069 * dired-x.el (dired-do-find-marked-files):
1070 * dired.el (dired-pop-to-buffer):
1071 * bs.el (bs--show-with-configuration):
1072 * vc/emerge.el (emerge-setup-windows):
1073 * textmodes/two-column.el (2C-two-columns):
1074 * textmodes/reftex-toc.el (reftex-toc):
1075 * progmodes/gdb-mi.el (gdb-setup-windows):
1076 * progmodes/fortran.el (fortran-window-create):
1077 * net/newst-treeview.el (newsticker--treeview-window-init):
1078 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1079 * emulation/tpu-edt.el (tpu-gold-map):
1080 * emulation/crisp.el (crisp-mode-map):
1081 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1082
38bb2ca8
CY
10832011-10-29 Chong Yidong <cyd@gnu.org>
1084
aa4de341
CY
1085 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1086
e1eb5385
CY
1087 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1088
5d2ece3c
CY
1089 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1090 forged Ispell output (Bug#7904).
1091
38bb2ca8
CY
1092 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1093
d0af9f77
SM
10942011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1095
1096 * doc-view.el: Avoid ugly errors about not finding nil.
1097 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1098 (doc-view-dvipdf-program, doc-view-unoconv-program)
1099 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1100 Avoid nil or absolute file name as default value.
1101 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1102
52bedd34
AM
11032011-10-28 Alan Mackenzie <acm@muc.de>
1104
db22a3c2 1105 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 1106
7e43cfa5
AM
11072011-10-28 Alan Mackenzie <acm@muc.de>
1108
1109 Amend the handling of c-beginning/end-of-defun in nested declaration
1110 scopes.
1111
52bedd34
AM
1112 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1113 cc-langs.el. Change it to a defcustom.
7e43cfa5 1114
52bedd34
AM
1115 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1116 cc-vars.el.
7e43cfa5 1117
d0af9f77
SM
1118 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1119 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 1120
52bedd34 1121 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 1122 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
1123 (c-widen-to-enclosing-decl-scope): New function.
1124 (c-while-widening-to-decl-block): New macro.
1125 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1126 outward for defun boundaries, and correspondingly change symbol
1127 `respect-enclosure' to `go-outward'.
1128 (c-declaration-limits): Change algorithm to report only the "innermost"
1129 defun's boundaries.
1130
1a2ce9ee
DD
11312011-10-28 Deniz Dogan <deniz@dogan.se>
1132
1133 * net/rcirc.el (rcirc-mode): Use hard newlines.
1134
bc97a826
AM
11352011-10-28 Alan Mackenzie <acm@muc.de>
1136
1137 Amend to indent and fontify macros "which include their own semicolon"
1138 correctly, using the "virtual semicolon" mechanism.
1139
52bedd34 1140 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 1141
d0af9f77 1142 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 1143 Recode to scan one line at a time rather than having \n and \r
58179cce 1144 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 1145 (c-forward-label): Amend for virtual semicolons.
58179cce 1146 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 1147
52bedd34
AM
1148 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1149 of the new C macros.
bc97a826 1150
52bedd34 1151 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
1152 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1153 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
1154 (c-opt-cpp-macro-define): Make into a full language variable.
1155 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1156 AWK Mode (including \n, \r) removed, no longer needed.
1157
d0af9f77
SM
1158 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1159 Invoke c-make-macro-with-semi-re.
bc97a826 1160
52bedd34
AM
1161 * progmodes/cc-vars.el (c-macro-with-semi-re):
1162 (c-macro-names-with-semicolon): New variables.
58179cce 1163 (c-make-macro-with-semi-re): New function.
bc97a826 1164
7a6c0941
SM
11652011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1166
1167 * vc/log-edit.el: Fill empty field rather than adding new one.
1168 (log-edit-add-field): New function.
1169 (log-edit-insert-changelog): Use it.
1170
b0c4cdcf
ML
11712011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1172
1173 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1174
ee1f1da9
SM
11752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1178 (gdb--check-interpreter): New function.
1179 (gdb): Use it.
1180
51bc5f8b
GM
11812011-10-27 Glenn Morris <rgm@gnu.org>
1182
416a2c45
GM
1183 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1184 (least-positive-float, least-negative-float)
1185 (least-positive-normalized-float, least-negative-normalized-float)
1186 (float-epsilon, float-negative-epsilon):
1187 Remove unnecessary declarations.
1188
1189 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1190 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1191 (least-positive-float, least-negative-float)
1192 (least-positive-normalized-float, least-negative-normalized-float)
1193 (float-epsilon, float-negative-epsilon): Add doc-strings,
1194 based on those in cl.texi.
1195
51bc5f8b
GM
1196 * files.el (set-visited-file-name): If the major-mode changed,
1197 reload the local variables. (Bug#9796)
1198
15de15c6
CY
11992011-10-27 Chong Yidong <cyd@gnu.org>
1200
1201 * subr.el (change-major-mode-after-body-hook): New hook.
1202 (run-mode-hooks): Run it.
1203
ee1f1da9
SM
1204 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1205 Use change-major-mode-before-body-hook.
15de15c6
CY
1206
1207 * simple.el (fundamental-mode):
1208 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1209 change introducing fundamental-mode-hook.
1210
5430d399
JB
12112011-10-26 Juanma Barranquero <lekktu@gmail.com>
1212
acc825c5 1213 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 1214
ad74a69e
MA
12152011-10-26 Michael Albinus <michael.albinus@gmx.de>
1216
1217 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 1218 tramp.el explicitly. (Bug#7583)
ad74a69e 1219
71d4c2a5
SM
12202011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1221
1222 * progmodes/octave-mod.el:
1223 * progmodes/octave-inf.el: Update maintainer.
1224
b1f6fa26
CY
12252011-10-26 Chong Yidong <cyd@gnu.org>
1226
1227 * subr.el (with-wrapper-hook): Rewrite doc.
1228
3f04efd6
MA
12292011-10-25 Michael Albinus <michael.albinus@gmx.de>
1230
1231 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 1232 filenames "/method:foo:". (Bug#9793)
3f04efd6 1233
410488d3
SM
12342011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1235
1236 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1237 (bug#9865).
1238
c1ebb47e
GM
12392011-10-24 Glenn Morris <rgm@gnu.org>
1240
1241 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
1242
7f5c46c7
MA
12432011-10-24 Michael Albinus <michael.albinus@gmx.de>
1244
1245 * notifications.el: Add the requirement of a running D-Bus session
1246 bus to the Commentary.
1247
db2440b6
JL
12482011-10-24 Juri Linkov <juri@jurta.org>
1249
1250 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1251 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1252 (Bug#9364)
1253
feecf435
JL
12542011-10-24 Juri Linkov <juri@jurta.org>
1255
1256 * info.el (Info-following-node-name-re): Add newline to the list
1257 of allowed characters for leading space. (Bug#9824)
1258
a3839de2
SM
12592011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1260
acc825c5
SM
1261 * progmodes/octave-inf.el (inferior-octave-mode-map):
1262 Fix C-c C-h binding.
a3839de2
SM
1263 * progmodes/octave-mod.el (octave-help): Remove.
1264
09388e76
MA
12652011-10-23 Michael Albinus <michael.albinus@gmx.de>
1266
1267 Sync with Tramp 2.2.3.
1268
1269 * net/tramp-cache.el (top): Pacify byte-compiler using
1270 `init-file-user' and `site-run-file'.
1271
1272 * net/trampver.el: Update release number.
1273
86c60681
CY
12742011-10-23 Chong Yidong <cyd@gnu.org>
1275
1276 * files.el (toggle-read-only): Remove obsolete comment about
1277 version control.
1278
1279 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
1280 for toggle-read-only. Note that this hasn't called vc-next-action
1281 since 2008-05-02, though it wasn't documented at the time.
1282
a3839de2
SM
1283 * vc/ediff-init.el (ediff-toggle-read-only-function):
1284 Use toggle-read-only.
86c60681 1285
cd5495ff
AM
12862011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
1287
1288 Fix bug #9560, sporadic wrong indentation; improve instrumentation
1289 of c-parse-state.
1290
00b77525 1291 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 1292 correct faulty logical expression.
cd5495ff
AM
1293 (c-parse-state-state, c-record-parse-state-state):
1294 (c-replay-parse-state-state): New defvar/defuns.
1295 (c-debug-parse-state): Use new functions.
1296
42ee24ed
MR
12972011-10-22 Martin Rudalics <rudalics@gmx.at>
1298
1299 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 1300 last fix. Use window-in-direction correctly.
42ee24ed 1301
a7dee7e7
CY
13022011-10-21 Chong Yidong <cyd@gnu.org>
1303
1304 * progmodes/idlwave.el (idlwave-mode):
1305 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
1306 require-final-newline; that's done in prog-mode.
1307 Suggested by Stefan Monnier.
a7dee7e7 1308
e07b9a6d
MR
13092011-10-21 Martin Rudalics <rudalics@gmx.at>
1310
1311 * mouse.el (mouse-drag-window-above)
1312 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1313 (mouse-drag-mode-line-1, mouse-drag-header-line)
1314 (mouse-drag-vertical-line-rightward-window): Remove.
1315 (mouse-drag-line): New function.
1316 (mouse-drag-mode-line, mouse-drag-header-line)
1317 (mouse-drag-vertical-line): Call mouse-drag-line.
1318 * window.el (window-at-side-p, windows-at-side): New functions.
1319
7e1361d9
UM
13202011-10-21 Ulrich Mueller <ulm@gentoo.org>
1321
1322 * tar-mode.el (tar-grind-file-mode):
1323 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
1324
30fcaf3a
CY
13252011-10-21 Chong Yidong <cyd@gnu.org>
1326
1327 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
1328 * progmodes/vera-mode.el (vera-mode):
1329 Use mode-require-final-newline.
30fcaf3a 1330
516eddb0
GM
13312011-10-20 Glenn Morris <rgm@gnu.org>
1332
db22a3c2 1333 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 1334
10d5f513
CS
13352011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
1336
1337 * emulation/cua-base.el (cua-set-mark): Fix case of string.
1338
ac6c8639
CY
13392011-10-20 Chong Yidong <cyd@gnu.org>
1340
1341 * emulation/cua-base.el (cua-mode):
1342 * mail/footnote.el (footnote-mode):
1343 * mail/mailabbrev.el (mail-abbrevs-mode):
1344 * net/xesam.el (xesam-minor-mode):
1345 * progmodes/bug-reference.el (bug-reference-mode):
1346 * progmodes/cap-words.el (capitalized-words-mode):
1347 * progmodes/compile.el (compilation-minor-mode)
1348 (compilation-shell-minor-mode):
1349 * progmodes/gud.el (gud-tooltip-mode):
1350 * progmodes/hideif.el (hide-ifdef-mode):
1351 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1352 * progmodes/subword.el (subword-mode):
1353 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1354 * progmodes/which-func.el (which-function-mode):
1355 * term/tvi970.el (tvi970-set-keypad-mode):
1356 * term/vt100.el (vt100-wide-mode):
1357 * textmodes/flyspell.el (flyspell-mode):
1358 * textmodes/ispell.el (ispell-minor-mode):
1359 * textmodes/nroff-mode.el (nroff-electric-mode):
1360 * textmodes/paragraphs.el (use-hard-newlines):
1361 * textmodes/refill.el (refill-mode):
1362 * textmodes/reftex.el (reftex-mode):
1363 * textmodes/rst.el (rst-minor-mode):
1364 * textmodes/sgml-mode.el (html-autoview-mode)
1365 (sgml-electric-tag-pair-mode):
1366 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1367 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1368 * emulation/crisp.el (crisp-mode):
1369 * emacs-lisp/eldoc.el (eldoc-mode):
1370 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1371 minor mode behavior.
1372
aa42ab43
JL
13732011-10-19 Juri Linkov <juri@jurta.org>
1374
1375 * descr-text.el (describe-char): Add #x2010 and #x2011 to
1376 the list of hard-coded chars with escape-glyph face.
1377
89400f1d
SM
13782011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1381
305c07f6
MA
13822011-10-19 Michael Albinus <michael.albinus@gmx.de>
1383
1384 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1385 running process.
1386
13754b54
GM
13872011-10-19 Glenn Morris <rgm@gnu.org>
1388
1389 * vc/vc-bzr.el (vc-bzr-after-dir-status):
1390 Ignore ignored files. (Bug#9726)
1391
06e21633
CY
13922011-10-19 Chong Yidong <cyd@gnu.org>
1393
1394 Doc fix for minor modes, stating that an omitted argument enables
1395 the mode unconditionally when called from Lisp.
1396
1397 * abbrev.el (abbrev-mode):
1398 * allout.el (allout-mode):
1399 * autoinsert.el (auto-insert-mode):
1400 * autoarg.el (autoarg-mode, autoarg-kp-mode):
1401 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1402 (global-auto-revert-mode):
1403 * battery.el (display-battery-mode):
1404 * composite.el (global-auto-composition-mode)
1405 (auto-composition-mode):
1406 * delsel.el (delete-selection-mode):
1407 * desktop.el (desktop-save-mode):
1408 * dired-x.el (dired-omit-mode):
1409 * dirtrack.el (dirtrack-mode):
1410 * doc-view.el (doc-view-minor-mode):
1411 * double.el (double-mode):
1412 * electric.el (electric-indent-mode, electric-pair-mode):
1413 * emacs-lock.el (emacs-lock-mode):
1414 * epa-hook.el (auto-encryption-mode):
1415 * follow.el (follow-mode):
1416 * font-core.el (font-lock-mode):
1417 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1418 * help.el (temp-buffer-resize-mode):
1419 * hilit-chg.el (highlight-changes-mode)
1420 (highlight-changes-visible-mode):
1421 * hi-lock.el (hi-lock-mode):
1422 * hl-line.el (hl-line-mode, global-hl-line-mode):
1423 * icomplete.el (icomplete-mode):
1424 * ido.el (ido-everywhere):
1425 * image-file.el (auto-image-file-mode):
1426 * image-mode.el (image-minor-mode):
1427 * iswitchb.el (iswitchb-mode):
1428 * jka-cmpr-hook.el (auto-compression-mode):
1429 * linum.el (linum-mode):
1430 * longlines.el (longlines-mode):
1431 * master.el (master-mode):
1432 * mb-depth.el (minibuffer-depth-indicate-mode):
1433 * menu-bar.el (menu-bar-mode):
1434 * minibuf-eldef.el (minibuffer-electric-default-mode):
1435 * mouse-sel.el (mouse-sel-mode):
1436 * msb.el (msb-mode):
1437 * mwheel.el (mouse-wheel-mode):
1438 * outline.el (outline-minor-mode):
1439 * paren.el (show-paren-mode):
1440 * recentf.el (recentf-mode):
1441 * reveal.el (reveal-mode, global-reveal-mode):
1442 * rfn-eshadow.el (file-name-shadow-mode):
1443 * ruler-mode.el (ruler-mode):
1444 * savehist.el (savehist-mode):
1445 * scroll-all.el (scroll-all-mode):
1446 * scroll-bar.el (scroll-bar-mode):
1447 * server.el (server-mode):
1448 * shell.el (shell-dirtrack-mode):
1449 * simple.el (auto-fill-mode, transient-mark-mode)
1450 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1451 (line-number-mode, column-number-mode, size-indication-mode)
1452 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1453 * strokes.el (strokes-mode):
1454 * time.el (display-time-mode):
1455 * t-mouse.el (gpm-mouse-mode):
1456 * tool-bar.el (tool-bar-mode):
1457 * tooltip.el (tooltip-mode):
1458 * type-break.el (type-break-mode-line-message-mode)
1459 (type-break-query-mode):
1460 * view.el (view-mode):
1461 * whitespace.el (whitespace-mode, whitespace-newline-mode)
1462 (global-whitespace-mode, global-whitespace-newline-mode):
1463 * xt-mouse.el (xterm-mouse-mode): Doc fix.
1464
a3839de2
SM
1465 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1466 Fix autogenerated docstring.
06e21633 1467
5214e501
JL
14682011-10-19 Juri Linkov <juri@jurta.org>
1469
1470 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1471 by checking environment variables "DESKTOP_SESSION" and
1472 "XDG_CURRENT_DESKTOP". (Bug#9779)
1473
195f8db9
JL
14742011-10-19 Juri Linkov <juri@jurta.org>
1475
1476 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1477 (browse-url-chromium-program, browse-url-chromium-arguments):
1478 New defcustoms.
1479 (browse-url-default-browser): Check for `browse-url-chromium' and
1480 call `browse-url-chromium-program'.
1481 (browse-url-chromium): New command. (Bug#9779)
1482
343a34ff
JB
14832011-10-18 Juanma Barranquero <lekktu@gmail.com>
1484
1485 * facemenu.el (list-colors-duplicates): On Windows, detect more
1486 duplicates by assuming that only colors matching "^System" are
1487 special "system colors". (Bug#9722)
1488
6978a151
SM
14892011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1492 to distinguish the author from the committer.
1493
6a80b297
MA
14942011-10-18 Michael Albinus <michael.albinus@gmx.de>
1495
1496 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1497
b31a5677
JK
14982011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1499
1500 * international/mule.el (sgml-html-meta-auto-coding-function):
1501 Add support for detecting encoding in HTML5 specified only as
1502 <meta charset="UTF-8">. Implementation just makes http-equiv and
1503 content-type parts from HTML4 encoding string optional. (Bug#9716)
1504
80c6d77f
GM
15052011-10-18 Glenn Morris <rgm@gnu.org>
1506
1507 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1508
08b0fee8
CY
15092011-10-18 Chong Yidong <cyd@gnu.org>
1510
1511 * faces.el (cursor): Doc fix.
1512
67e729a5
CY
15132011-10-17 Chong Yidong <cyd@gnu.org>
1514
1515 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1516
343a34ff 15172011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
1518
1519 * dirtrack.el (dirtrack): Support shell buffers with path
1520 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1521
0bc06380
TZ
15222011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1523
1524 * json.el: Bump version to 1.3 and note change in History.
1525 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1526
8b79f3e0
SM
15272011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1528
5a7c536b
SM
1529 * comint.el (comint-insert-input, comint-send-input)
1530 (comint-get-old-input-default, comint-backward-matching-input)
1531 (comint-next-prompt): Use nil instead of `input' for field property of
1532 past user input (bug#114).
1533
96a8a0df
SM
1534 * minibuffer.el (completion--replace): Inherit surrounding properties
1535 (bug#114).
1536 (minibuffer-complete-and-exit): Use it.
1537
8b79f3e0
SM
1538 * comint.el (comint--table-subvert): Quote the all-completions output
1539 (bug#9160).
1540
b8f7ff0d
MR
15412011-10-17 Martin Rudalics <rudalics@gmx.at>
1542
8b79f3e0 1543 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 1544
b8f7ff0d 1545 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 1546 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
1547 entries and separate them from frame entries.
1548
c235b555
GM
15492011-10-15 Glenn Morris <rgm@gnu.org>
1550
1551 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1552 Doc fixes.
1553
6bbfa6e1
CY
15542011-10-15 Chong Yidong <cyd@stupidchicken.com>
1555
8b79f3e0
SM
1556 * net/network-stream.el (network-stream-open-starttls):
1557 Improve detection of failure due to lack of TLS support.
ec5c990d 1558
6bbfa6e1
CY
1559 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1560 putting the input text in front and in bold.
1561
98488977
SM
15622011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1563
3d1337be
SM
1564 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1565
ee0b45e4
SM
1566 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1567 empty buffer.
1568
98488977
SM
1569 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1570 unread-command-events rather than pushing yet-another event.
1571
186f4720
EZ
15722011-10-14 Eli Zaretskii <eliz@gnu.org>
1573
1574 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1575 the explanation of the possible choices. Make the options passed
1576 to completing-read shorter.
1577
8b7a997c
AM
15782011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1579
1580 * textmodes/flyspell.el (flyspell-large-region): Make sure
1581 extended character mode is used if defined (Bug#1339).
1582
12587bbb
EZ
15832011-10-13 Eli Zaretskii <eliz@gnu.org>
1584
1585 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
1586 character info for LRE, LRO, RLE, and RLO characters by appending
1587 an invisible PDF.
12587bbb 1588
bad41229
SM
15892011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1590
1591 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1592 even in case of error; add debug spec; simplify data flow.
1593 (with-timeout-handler): Remove.
1594
28dbc92f
MA
15952011-10-12 Michael Albinus <michael.albinus@gmx.de>
1596
1597 Fix Bug#6019, Bug#9315.
1598
1599 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1600 complete `buffer-file-name', the local file name part could look
1601 remotely (for example on VMS).
1602
1603 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1604 `tramp-run-real-handler'.
1605 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1606 already quoted by '"'.
1607
1608 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1609 Let `file-name-handler-alist' be nil, the local file name part
1610 could look remotely (for example on VMS).
1611
e1b0b23a
SM
16122011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1615 from here...
1616 (flyspell-post-command-hook): ...to here.
1617
a120bde9
SM
16182011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1619
1620 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1621 if not needed.
1622 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1623 using completion. Protect against "slow" callers.
1624 Remove the "message hack".
1625
7ce7717b
JL
16262011-10-11 Juri Linkov <juri@jurta.org>
1627
1628 * isearch.el (isearch-lazy-highlight-word): New variable.
1629 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1630 Use it. (Bug#9727)
1631
c02ee9d6
GM
16322011-10-11 Glenn Morris <rgm@gnu.org>
1633
1634 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1635 like f90-previous-statement does.
1636
93e616fd 16372011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1638
1f190e73 1639 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
1640 only in interactive use, to avoid error.
1641
af7b6078
SM
16422011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1643
1644 * minibuffer.el (completion-file-name-table): Fix last change,
1645 i.e. ignore normal errors but not the other ones.
1646
0563dae9
MR
16472011-10-10 Martin Rudalics <rudalics@gmx.at>
1648
1649 * window.el (special-display-buffer-names)
1650 (special-display-regexps): Remove some remnants of earlier
1651 changes from doc-strings.
366ca7f3
MR
1652 (quit-windows-on): New function.
1653
1654 * vc/vc.el (vc-revert, vc-rollback):
1655 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1656 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 1657 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 1658
49677495
MR
16592011-10-09 Martin Rudalics <rudalics@gmx.at>
1660
1661 * window.el (frame-auto-hide-function): Add version tag.
1662 (Bug#9699)
1663
56f2d1e1
MA
16642011-10-09 Michael Albinus <michael.albinus@gmx.de>
1665
1666 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1667 condition.
1668
112a6592
LL
16692011-10-09 Leo Liu <sdl.web@gmail.com>
1670
1671 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1672 (Bug#9701)
1673
0812589b
GM
16742011-10-08 Glenn Morris <rgm@gnu.org>
1675
1676 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1677 before the first code statement zero indent. (Bug#9690)
1678
b2b0776e
CY
16792011-10-08 Chong Yidong <cyd@stupidchicken.com>
1680
1681 * simple.el (count-words-region): Always count in the region.
1682 Report the number of lines and characters too.
1683 (count-words): New command, which counts in the buffer if the
1684 region is inactive, as count-words-region used to.
1685 (count-words--message): New function. Handle plurals.
1686 (count-lines-region): Make it an alias for count-words-region.
1687
1688 * bindings.el (esc-map): Replace count-lines-region with
1689 count-words-region.
1690
c557cd6b
MR
16912011-10-08 Martin Rudalics <rudalics@gmx.at>
1692
1693 * window.el (window--delete): Delete dedicated frame
1694 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 1695 (switch-to-buffer): Fix doc-string typo.
c557cd6b 1696
61a57ef4 16972011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1698
1699 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1700
c3833279
CY
17012011-10-07 Chong Yidong <cyd@stupidchicken.com>
1702
1703 * bindings.el ([M-left],[M-right]): Bind to left-word and
1704 right-word respectively.
1705
21ce8245
GM
17062011-10-07 Glenn Morris <rgm@gnu.org>
1707
1708 * cus-start.el (debug-on-quit): Fix custom type.
1709
6d823bb2
LMI
17102011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1711
0181e193
LMI
1712 * subr.el (define-key-after): Clarify that the function is not
1713 useful for non-menu keymaps.
1714
6d823bb2
LMI
1715 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1716
8e3459ce 17172011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1718
21ce8245 1719 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 1720 in current minibuffer (Fix bug with recursive minibuffers).
1721
a1c2d21e
CY
17222011-10-06 Chong Yidong <cyd@stupidchicken.com>
1723
1724 * progmodes/gdb-mi.el (gdb): Doc fix.
1725
5a4cf282
MR
17262011-10-05 Martin Rudalics <rudalics@gmx.at>
1727
1728 * window.el (frame-auto-hide-function): New option replacing
1729 frame-auto-delete. Suggested by Stefan Monnier.
1730 (window--delete): Call frame-auto-hide-function instead of
1731 investigating frame-auto-delete.
c96111ea
MR
1732 (window-point-1, set-window-point-1): New functions.
1733 (window-in-direction, record-window-buffer, window-state-get-1)
1734 (display-buffer-record-window): Use window-point-1 instead of
1735 window-point.
1736 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 1737
9854542e
SM
17382011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1739
1740 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1741
8943cfb0
GM
17422011-10-05 Glenn Morris <rgm@gnu.org>
1743
1744 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1745 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1746
647ab967
LL
17472011-10-05 Leo Liu <sdl.web@gmail.com>
1748
1749 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1750 works with buffer object.
1751
3ddfbced
SM
17522011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1753
1754 * mpc.el (mpc-tool-bar-map): Add labels.
1755
bdfa5dd2
GM
17562011-10-04 Glenn Morris <rgm@gnu.org>
1757
1758 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1759
0e2070b5
MR
17602011-10-04 Martin Rudalics <rudalics@gmx.at>
1761
1762 * window.el (window--delete): New function.
1763 (frame-auto-delete): Resuscitate option.
1764 (bury-buffer, replace-buffer-in-windows)
1765 (quit-window): Rewrite using window--delete.
1766 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1767 Pass display-buffer-mark-dedicated to window--display-buffer-2
1768 (Bug#9639).
1769
3dc61a09
SM
17702011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1771
915a9b64
SM
1772 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1773 returns a list (bug#9554). Add remote file name completion.
1774 * comint.el (comint--table-subvert): Curry and get quote&unquote
1775 functions as arguments.
1776 (comint--complete-file-name-data): Adjust call accordingly.
1777 * pcomplete.el (pcomplete--table-subvert): Remove.
1778 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1779
3dc61a09
SM
1780 * minibuffer.el (completion-table-case-fold): Use currying.
1781 (completion--styles-type, completion--cycling-threshold-type):
1782 New constants.
1783 (completion-styles, completion-category-overrides)
1784 (completion-cycle-threshold): Use them.
1785 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1786 completion-table-case-fold.
1787
8ea0a993
SB
17882011-10-03 Stephen Berman <stephen.berman@gmx.net>
1789
1790 * minibuffer.el (completion-category-overrides): Fix type of styles
1791 and add more user friendly tags (bug#9660).
1792
8c24b7f6
SM
17932011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1796 (mule-input-method-string): New widget.
1797 (default-input-method, language-info-custom-alist): Use it.
1798
428fe61a
SM
17992011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1800
32c1fffd
SM
1801 * pcomplete.el: Require comint.
1802 (pcomplete--common-suffix): Remove.
1803 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1804 (pcomplete--table-subvert): Sync with comint--table-subvert.
1805 (pcomplete--entries): Use comint-completion-file-name-table.
1806 * comint.el (comint-unquote-filename): Simplify.
1807 (comint-completion-file-name-table): New function (bug#9616).
1808 (comint--complete-file-name-data): Use it.
1809
428fe61a
SM
1810 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1811 (pcmpl-gnu-tar-buffer): Remove.
1812 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
1813 around. Make sure pcomplete-suffix-list is only changed temporarily.
1814 Don't look inside the tar's file if it's too large.
428fe61a 1815
04c52e2f
CY
18162011-10-01 Chong Yidong <cyd@stupidchicken.com>
1817
ce3cefcc
CY
1818 * cus-edit.el (custom-mode-map):
1819 * epa.el (epa-key-list-mode-map):
1820 * man.el (Man-mode-map):
1821 * startup.el (splash-screen-keymap):
1822 * simple.el (special-mode-map): Use scroll-up-command and
1823 scroll-down-command.
1824
1825 * progmodes/idlw-help.el (idlwave-help-mode-map):
1826 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1827 * net/newst-plainview.el (newsticker-mode-map):
1828 * emulation/ws-mode.el (wordstar-mode-map):
1829 * emulation/vi.el (vi-com-map):
1830 * calc/calc-graph.el (calc-graph-show-dumb):
1831 * term/sun.el (terminal-init-sun):
1832 * term/ns-win.el (global-map):
1833 * progmodes/grep.el (grep-mode-map):
1834 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1835 * mail/rmail.el (rmail-mode-map):
1836 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1837
04c52e2f
CY
1838 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1839 custom-safe-themes as special.
1840
79adf8c8
JD
18412011-10-01 Julien Danjou <julien@danjou.info>
1842
1843 * notifications.el (notifications-notify): Fix docstring.
1844
63bd50d3
PS
18452011-10-01 Per Starbäck <per@starback.se>
1846
1847 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1848
199e4c7e
MR
18492011-09-30 Martin Rudalics <rudalics@gmx.at>
1850
1851 * startup.el (command-line-1): Fix last fix by inserting
1852 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 1853 (Bug#9605) and (Bug#9636)
199e4c7e 1854
fe5f08dd
EZ
18552011-09-29 Eli Zaretskii <eliz@gnu.org>
1856
1857 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1858 window is hscrolled, move by logical lines. (Bug#9607)
1859 (line-move-visual): Update the doc string to the above effect.
1860
b5516bbd
MR
18612011-09-29 Martin Rudalics <rudalics@gmx.at>
1862
ccee00c0
MR
1863 * window.el (display-buffer-record-window): When WINDOW is the
1864 selected window use `point' instead of `window-point'. (Bug#9626)
1865
b5516bbd
MR
1866 * startup.el (command-line-1): Use insert-before-markers when
1867 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1868
b5516bbd
MR
1869 * help.el (help-window): Remove variable.
1870
52aa0014
GM
18712011-09-29 Glenn Morris <rgm@gnu.org>
1872
1873 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1874
df9a7357
JB
18752011-09-29 Juanma Barranquero <lekktu@gmail.com>
1876
1877 * descr-text.el (describe-char-categories): Accept category
1878 descriptions more than one line long.
1879
a8406c20
SM
18802011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1881
88d9610c
SM
1882 * simple.el (delete-trailing-whitespace): Fix last change.
1883
a5daf810
SM
1884 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1885 Don't confuse "y => 3" as the beginning of a `y' operation.
1886
a8406c20
SM
1887 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1888 object has more than 4 slots (bug#9613).
1889
a239d4e9
JB
18902011-09-28 Juanma Barranquero <lekktu@gmail.com>
1891
1892 * subr.el (with-output-to-temp-buffer):
1893 * net/quickurl.el (quickurl, quickurl-browse-url):
1894 Fix typos in docstrings.
1895
693fbdb6
EZ
18962011-09-27 Eli Zaretskii <eliz@gnu.org>
1897
1898 * minibuffer.el (completion-styles)
1899 (completion-category-overrides): Cross reference each other in doc
1900 strings.
1901
8b457e28
GM
19022011-09-27 Glenn Morris <rgm@gnu.org>
1903
1904 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1905 to split-string. (Bug#9606)
1906
85a16208
LMI
19072011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1908
1909 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1910 (bug#9615).
1911
502f9ebd
CY
19122011-09-27 Chong Yidong <cyd@stupidchicken.com>
1913
1914 * emacs-lisp/package.el (list-packages): Fix echo area message.
1915
7690bdea
LL
19162011-09-27 Leo Liu <sdl.web@gmail.com>
1917
1918 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1919
e2ee6f30
MA
19202011-09-25 Michael Albinus <michael.albinus@gmx.de>
1921
1922 * net/dbus.el (dbus-unregister-object): Don't release services for
1923 registered signals. (Bug#9581)
1924
f3f98342
TZ
19252011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1926
1927 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1928 function that picks between cfengine 2 and 3 support
1929 automatically. Update docs accordingly.
1930
dd7aa8dd
KH
19312011-09-22 Kenichi Handa <handa@m17n.org>
1932
1933 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1934 ZERO.
1935 (indian-itrans-v5-table-for-tamil): New variable.
1936 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1937
3f2b07f8
KM
19382011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1939
1940 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1941 that's true if the current command involved collapsing of text.
1942 It's reset to false at the beginning of the next command.
1943 (allout-post-command-business): Move the cursor to the beginning
1944 of entry if the cursor is hidden and collapsing activity just
1945 happened.
1946
371d6a61
CY
19472011-09-24 Chong Yidong <cyd@stupidchicken.com>
1948
1949 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1950 tracking (Bug#9541).
1951
2ac2721a
UJ
19522011-09-24 Ulf Jasper <ulf.jasper@web.de>
1953
1954 * net/newst-reader.el (newsticker-html-renderer)
1955 (newsticker-show-news): Automatically
343a34ff
JB
1956 load html rendering package if newsticker-html-renderer is set.
1957 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1958 let-bound" and the error "Symbol's value as variable is void:
1959 w3m-fill-column".
1960
fac7ae53
MA
19612011-09-24 Michael Albinus <michael.albinus@gmx.de>
1962
1963 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1964 Release services only if they are defined. (Bug#9581)
1965
e08b633b
RS
19662011-09-23 Richard Stallman <rms@gnu.org>
1967
e488d29c
RS
1968 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1969 distinguish start of paragraph from start of its text.
1970
19c38752
RS
1971 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1972
e08b633b
RS
1973 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1974 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1975 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1976
0a39f27e
AS
19772011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1978
1979 * international/mule-diag.el (mule-diag): Insert a newline after
1980 each fontset description.
1981
db4e950d
SM
19822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1983
1984 * simple.el (delete-trailing-whitespace):
1985 Document last change; simplify.
1986
eca3f3ea
PW
19872011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1988
d68e189a
PW
1989 * simple.el (delete-trailing-whitespace): Also delete
1990 extra newlines at the end of the buffer.
1991
eca3f3ea
PW
1992 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1993 (picture-newline): Use forward-line so as to ignore fields.
1994
01c157cc
SM
19952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1996
1997 * subr.el (with-wrapper-hook): Fix edebug spec.
1998
022de23e
LMI
19992011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2000
2001 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2002 (bug#4538).
2003
91683089
MA
20042011-09-23 Michael Albinus <michael.albinus@gmx.de>
2005
eca3f3ea
PW
2006 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2007 Fix nasty bug using wrong cached values.
91683089 2008
5bdd6fa4
AM
20092011-09-23 Alan Mackenzie <acm@muc.de>
2010
2011 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2012
97adfb97
CY
20132011-09-23 Chong Yidong <cyd@stupidchicken.com>
2014
2015 * window.el (pop-to-buffer): Ensure right window is selected if we
2016 chose another frame.
2017
d4ef2b50
EZ
20182011-09-22 Eli Zaretskii <eliz@gnu.org>
2019
2020 * simple.el (what-cursor-position): Use get-char-property-change
2021 and next-single-char-property-change, to be able to show display
2022 properties that come from overlays as well as text properties.
2023
72258fe5
CY
20242011-09-22 Chong Yidong <cyd@stupidchicken.com>
2025
2026 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2027
2028 * cmuscheme.el (run-scheme, switch-to-scheme):
2029 * cus-edit.el (customize-group, custom-buffer-create)
2030 (customize-browse):
2031 * info.el (info):
2032 * shell.el (shell):
2033 * mail/sendmail.el (mail):
2034 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2035
8f098516
RS
20362011-09-22 Richard Stallman <rms@gnu.org>
2037
2038 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2039 move back only to line beg, don't move back over blank lines.
2040
e74f1bb6
MA
20412011-09-22 Michael Albinus <michael.albinus@gmx.de>
2042
2043 * files.el (copy-directory): Set directory attributes only in case
2044 they could be retrieved from the source directory. (Bug#9565)
2045
bfeef8b6
DK
20462011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2047
2048 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2049 (hs-find-block-beginning, hs-hide-level-recursive):
2050 Ignore strings as well as comments. (Bug#9502)
2051
7e423bb8
AS
20522011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2053
2054 * progmodes/sql.el (sql-comint-postgres):
2055 Convert port number to a string. (Bug#9566)
2056
b4d72fcf
MR
20572011-09-22 Martin Rudalics <rudalics@gmx.at>
2058
2059 * window.el (quit-window): Undedicate window when switching to
2060 previous buffer. Reported by Thierry Volpiatto
2061 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
2062 (special-display-popup-frame): When popping up a new frame reset
2063 its previous buffers to nil. Simplify code.
b4d72fcf 2064
a7b88dc6
MA
20652011-09-21 Michael Albinus <michael.albinus@gmx.de>
2066
2067 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2068 and process filter, as done also in `shell-command'.
2069
cf4eacfd
MR
20702011-09-21 Martin Rudalics <rudalics@gmx.at>
2071
eca3f3ea
PW
2072 * window.el (set-window-buffer-start-and-point):
2073 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
2074 Volpiatto <thierry.volpiatto@gmail.com>.
2075 (quit-window): Reword doc-string. Handle new format of
2076 quit-restore parameter. Don't delete window if it has a
2077 previous buffer we can show instead of the present one.
2078 (display-buffer-record-window): Rewrite using a new format for
2079 the quit-restore window parameter
2080 (special-display-popup-frame, display-buffer-same-window)
2081 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2082 (display-buffer-pop-up-window, display-buffer-use-some-window):
2083 Adapt symbol passed to display-buffer-record-window.
2084 * help.el (help-window-setup): Handle new format of quit-restore
2085 parameter.
2086
8d28cb95
SM
20872011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2088
94ab793f
SM
2089 * faces.el (face-list): Fix docstring (bug#9564).
2090
8d28cb95
SM
2091 * window.el (display-buffer--action-function-custom-type):
2092 Don't include internal functions in the Custom interface.
2093
3820edeb
JL
20942011-09-20 Juri Linkov <juri@jurta.org>
2095
2096 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2097 (Info-forward-node, Info-backward-node, Info-next-preorder)
2098 (Info-last-preorder): Use it. (Bug#9528)
2099
5147931d
JL
21002011-09-20 Juri Linkov <juri@jurta.org>
2101
2102 * info.el (Info-last-preorder): Visit last menu item only when
2103 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2104
cf499a1a
JD
21052011-09-20 Julien Danjou <julien@danjou.info>
2106
2107 * password-cache.el (password-cache-remove): Remove entries even if the
2108 value is nil, so that password with a nil value (negative caching) is
2109 possible to invalidate.
2110
f84e2fe2
LM
21112011-09-20 Lawrence Mitchell <wence@gmx.li>
2112
2113 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2114 all whitespace around breakpoint. (Bug#9553)
2115 (f90-find-breakpoint): Only break at whitespace inside a comment.
2116
78054a46
SM
21172011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * minibuffer.el (completion-file-name-table): Keep track of errors.
2120 (completion-table-with-predicate): Handle the case where pred1 is nil.
2121 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2122
345083b2
SM
21232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2124
e24e27be
SM
2125 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2126 (debugger-return-value): Signal an error if the debugging context does
2127 not await any return value.
2128
345083b2
SM
2129 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2130 * image-mode.el (image-toggle-display-text)
2131 (image-toggle-display-image): Stay away from evil `intangible'.
2132
08d355e3
LL
21332011-09-19 Leo Liu <sdl.web@gmail.com>
2134
2135 * replace.el (occur-revert-arguments): Make it permanent-local.
2136 (occur-mode): Don't call font-lock-defontify.
2137
f01da43f
CY
21382011-09-19 Chong Yidong <cyd@stupidchicken.com>
2139
2140 * net/ldap.el (ldap-search-internal): Don't push empty search
2141 result (Bug#9508).
2142
b6072fa6
SM
21432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2144
2145 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2146
443d6696
MA
21472011-09-19 Michael Albinus <michael.albinus@gmx.de>
2148
2149 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2150 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2151
7cc6e154
JL
21522011-09-18 Juri Linkov <juri@jurta.org>
2153
2154 * buff-menu.el (Buffer-menu-mode-map):
2155 * dired.el (dired-mode-map):
2156 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2157 (lisp-interaction-mode-map):
2158 * emacs-lisp/package.el (package-menu-mode-map):
2159 * epa.el (epa-key-list-mode-map):
2160 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2161 (menu-bar-options-menu):
2162 * outline.el (outline-mode-menu-bar-map):
2163 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2164 * vc/vc-dir.el (vc-dir-menu-map):
2165 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2166 Capitalize non-function content words in menu item strings.
2167
2168 * dired.el (dired-mode-map): Add menu item for
2169 `image-dired-dired-toggle-marked-thumbs'.
2170
80302a81
JL
21712011-09-18 Juri Linkov <juri@jurta.org>
2172
2173 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2174 to `isearch-case-fold-search' and restore its original value
2175 after the `isearch-mode' call.
2176
46c5cf66
JL
21772011-09-18 Juri Linkov <juri@jurta.org>
2178
2179 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2180 because `zgrep' returns 1 for successful matches (bug#9226).
2181
d18b513b
JL
21822011-09-18 Juri Linkov <juri@jurta.org>
2183
2184 * info.el (Info-extract-menu-node-name): Check the second match
2185 for empty string (second test-case of bug#9528).
2186 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2187 intermediate nodes to the history (first test-case of bug#9528).
2188
72753f87
JL
21892011-09-18 Juri Linkov <juri@jurta.org>
2190
2191 * info.el (Info-mode-syntax-table): New variable.
2192 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
2193
c9384295
JL
21942011-09-18 Juri Linkov <juri@jurta.org>
2195
2196 * info.el (Info-file-supports-index-cookies): Increment
2197 line-beginning-position's arg from 3 to 4 because makeinfo outputs
2198 one more line for long file names (bug#4142).
2199
d473dce8
CY
22002011-09-18 Chong Yidong <cyd@stupidchicken.com>
2201
2202 * newcomment.el (comment-normalize-vars): If prompting for
2203 comment-start, set comment-start-skip too (Bug#8424).
2204
2176854d
JB
22052011-09-18 Johan Bockgård <bojohan@gnu.org>
2206
2207 * icomplete.el: Fix previous fix of Bug#5849.
2208 (icomplete-mode): Don't set completion-show-inline-help.
2209 (icomplete-minibuffer-setup): Set completion-show-inline-help
2210 locally during icompletion.
2211
3aace4e4
CY
22122011-09-18 Chong Yidong <cyd@stupidchicken.com>
2213
c940224f
CY
2214 * woman.el (woman2-process-escapes): Don't delete unrecognized
2215 escapes (Bug#7843).
2216
3aace4e4
CY
2217 * files.el (inhibit-first-line-modes-regexps): Add image files.
2218 (hack-local-variables-prop-line): Return nil for malformed
2219 prop-lines (Bug#9044).
2220
710dec63
MA
22212011-09-18 Michael Albinus <michael.albinus@gmx.de>
2222
2223 * net/tramp.el (top): Don't require 'shell.
2224 (tramp-methods): Fix docstring.
2225 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
2226 Return complete remote file name. Handle "smb" case.
2227 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
2228 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2229
2230 * net/tramp-compat.el (top): Require 'shell.
2231
2232 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2233 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2234 `tramp-current-host'.
2235 (tramp-get-remote-tmpdir): Remove.
2236
2237 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2238 `tramp-tmpdir' entries.
2239 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2240 (tramp-smb-handle-file-attributes): Ignore errors.
2241 (tramp-smb-wait-for-output): Check also for process end.
2242
5d5ac8ec
LMI
22432011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2244
2245 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2246 when sending QUIT (bug#9312).
2247
8c0f49f0
CY
22482011-09-17 Chong Yidong <cyd@stupidchicken.com>
2249
2250 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2251 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2252 occur-mode-display-occurrence.
2253 (occur-edit-mode): Add usage message.
2254 (occur-cease-edit): New command.
2255 (occur-after-change-function): Use text properties to find the
2256 position of the prefix text.
2257 (occur-engine): Set stickiness of prefix text properties.
2258
8f1383f7
GM
22592011-09-17 Glenn Morris <rgm@gnu.org>
2260
2261 * progmodes/etags.el (complete-tag):
2262 Fix call to completion-in-region. (Bug#9526)
2263
744ba0e3
JL
22642011-09-17 Juri Linkov <juri@jurta.org>
2265
2266 * textmodes/ispell.el (ispell-word): Add to the error message
2267 the word, ispell program name and current dictionary (bug#9121).
2268 (ispell-tex-arg-end): Capitalize "error" in the error message.
2269
d9bbf400
AS
22702011-09-17 Andreas Schwab <schwab@linux-m68k.org>
2271
2272 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
2273 check. (Bug#4251)
2274
8da11505
JL
22752011-09-17 Juri Linkov <juri@jurta.org>
2276
2277 * window.el (window-safe-min-height, window-safe-min-width):
2278 Fix typos (followup to bug#9522).
2279
a91adc7e
SJ
22802011-09-17 Sven Joachim <svenjoac@gmx.de>
2281
2282 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
2283
064f328a
EZ
22842011-09-16 Eli Zaretskii <eliz@gnu.org>
2285
2286 * simple.el (line-move): If goal-column is set, move by logical
2287 lines, not by display lines. (Bug#971)
2288 (next-line, previous-line, goal-column, line-move-visual): Doc fix
2289 to reflect the above change.
2290
e69df516
SM
22912011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 * image.el (imagemagick-register-types): Use regexp-opt.
2294
cbb0f9ab
CY
22952011-09-15 Chong Yidong <cyd@stupidchicken.com>
2296
2297 * window.el (display-buffer-base-action): Rename from
2298 display-buffer-default-action. Make default value empty.
2299 (display-buffer-overriding-action): Convert to defvar.
2300 (display-buffer-fallback-action): New var.
2301
25322144
CY
23022011-09-15 Chong Yidong <cyd@stupidchicken.com>
2303
2304 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
2305 declaration.
2306 (package--add-to-archive-contents): If there is a duplicate entry
2307 with an older version, remove it.
2308 (package-menu-mark-delete, package-menu-mark-install)
2309 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
2310 (package-menu-mark-obsolete-for-deletion):
2311 Use package-menu-get-status instead of a regexp search.
25322144
CY
2312 (package-menu-get-status): Use tabulated-list-entry.
2313 (package-menu-mark-upgrades): New command.
d770725a 2314 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
2315 (package-menu-execute): Do installation before deletion.
2316 (package-menu-refresh, package-menu-execute): Use derived-mode-p
2317 instead of checking major-mode.
2318 (package-menu--find-upgrades): New function.
2319
7520339c
LMI
23202011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2321
2322 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2323 passwords in the log buffer.
65a046c4
LMI
2324 (smtpmail-process-filter): Update the process marker so that the
2325 "broken by peer" status message is inserted in the right place.
7520339c 2326
d3c30954
SM
23272011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2328
3fe48822
SM
2329 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2330 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2331 bibtex-completion-at-point-function.
2332 (bibtex-completion-at-point-function): Use them.
2333
1b8b3954
SM
2334 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2335
d3c30954
SM
2336 * mpc.el (mpc-constraints-tag-lookup): New function.
2337 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2338 also to browser "album|playlist".
2339
72779976
JL
23402011-09-14 Juri Linkov <juri@jurta.org>
2341
2342 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
2343 (isearch-edit-string): Use length of `isearch-string' when
2344 `isearch-fail-pos' returns nil.
2345 (isearch-message): Remove duplicate code and call
2346 `isearch-fail-pos' with arg `t'.
2347
a0bf2bcd
CY
23482011-09-14 Chong Yidong <cyd@stupidchicken.com>
2349
17bb0a2d
CY
2350 * replace.el (occur-mode-goto-occurrence): Don't force using other
2351 window (Bug#9499).
2352
a0bf2bcd
CY
2353 * dired-aux.el (dired-do-chmod): Don't provide initial input.
2354
f678e0b6
MR
23552011-09-14 Martin Rudalics <rudalics@gmx.at>
2356
2357 * window.el (display-buffer-window): Remove.
2358 (display-buffer-record-window): Use help-setup window parameter
2359 instead of variable display-buffer-window.
2360 (display-buffer-function, special-display-buffer-names)
2361 (special-display-function): Mention help-setup parameter instead
2362 of display-buffer-window in doc-string.
d3c30954
SM
2363 * help.el (help-window-setup): New argument help-window.
2364 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
2365 Reword some messages.
2366 (with-help-window): Pass window used for displaying the buffer
2367 to help-window-setup. Don't set display-buffer-window.
2368
8e39b2e8
GM
23692011-09-13 Glenn Morris <rgm@gnu.org>
2370
2371 * emacs-lisp/debug.el (debugger-make-xrefs):
2372 Preserve point. (Bug#9462)
2373
85e9c04b
CY
23742011-09-13 Chong Yidong <cyd@stupidchicken.com>
2375
2376 * window.el (window-deletable-p): Use next-frame.
2377
1b36ed6a
MR
23782011-09-13 Martin Rudalics <rudalics@gmx.at>
2379
2380 * window.el (window-auto-delete): Remove.
2381 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 2382 dedication and previous buffers.
1b36ed6a
MR
2383 (switch-to-prev-buffer): Don't delete window.
2384 (delete-windows-on): Delete a window's frame if and only if the
2385 window is dedicated.
2386 (replace-buffer-in-windows): Delete buffer's window or frame if
2387 and only if window is dedicated.
2388 (quit-window): Handle quit-restore as before last change.
4d61f28d 2389 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 2390
ef8ef9fb
CY
23912011-09-13 Chong Yidong <cyd@stupidchicken.com>
2392
2393 * window.el (window-deletable-p): Never delete the last frame on a
2394 given terminal.
2395
b2cba41e
GM
23962011-09-13 Glenn Morris <rgm@gnu.org>
2397
2398 * help.el (describe-key-briefly): Copy previous standard-output change.
2399
51553db6 24002011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
2401
2402 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
2403
b7556719
GM
24042011-09-13 Glenn Morris <rgm@gnu.org>
2405
2406 * emacs-lisp/lisp-mode.el (lisp-indent-function):
2407 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2408
64b51947
CY
24092011-09-12 Chong Yidong <cyd@stupidchicken.com>
2410
2411 * dired-aux.el (dired-mark-read-string): Don't return default
2412 value on empty input (Bug#9361).
2413 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2414 Omit initial minibuffer contents.
2415 (dired-do-chmod): Signal an error on empty input.
2416 (dired-mark-read-string): Don't return default on empty input.
2417
2418 * files.el (file-modes-symbolic-to-number): Doc fix.
2419
393a301e
SM
24202011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2421
2422 * international/mule-cmds.el (ucs-completions): Remove.
2423 (read-char-by-name): Use complete-with-action instead; add metadata.
2424
fa5660f9
CY
24252011-09-11 Chong Yidong <cyd@stupidchicken.com>
2426
2427 * window.el (display-buffer--action-function-custom-type)
2428 (display-buffer--action-custom-type): New vars.
2429 (display-buffer-alist, display-buffer-default-action)
2430 (display-buffer-overriding-action): Add defcustom types.
2431
4a592f66
CY
2432 * frame.el (delete-other-frames): Doc fix (Bug#276).
2433
73d56dbd
LMI
24342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2435
2436 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2437
37ac18a3
CY
24382011-09-11 Chong Yidong <cyd@stupidchicken.com>
2439
2440 Change modes that used same-window-* vars to use switch-to-buffer.
2441
2442 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2443 Use switch-to-buffer.
2444
2445 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
2446 (customize-browse, custom-buffer-create-other-window):
2447 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
2448
2449 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2450 (Info-prev, Info-up, Info-speedbar-goto-node)
2451 (info-display-manual): Use switch-to-buffer.
2452 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2453
2454 * mail/sendmail.el (mail): Use switch-to-buffer.
2455 (mail-recover): Use switch-to-buffer-other-window.
2456
2457 * cmuscheme.el (run-scheme, switch-to-scheme):
2458 * ielm.el (ielm):
2459 * shell.el (shell):
2460 * net/rlogin.el (rlogin):
2461 * net/telnet.el (telnet, rsh):
2462 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2463
10195bd6
AS
24642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2465
2466 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2467
b322f63a
LMI
24682011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2469
39d7fed6
LMI
2470 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2471 so don't mention it (bug#9301).
ba5a81f1 2472 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 2473
ee0e9f11
LMI
2474 * faces.el (face-spec-set-match-display): Make `(type graphic)'
2475 match `x', `w32' and `ns', like the manual says (bug#9029).
2476
0b1c89c1 2477 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
2478 (process-kill-buffer-query-function): Mention the buffer name in
2479 the query.
0b1c89c1 2480
77549ea8
LMI
2481 * image-mode.el (image-next-line): The line parameter is mandatory
2482 (bug#9258).
2483
803ef892
LMI
2484 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2485 which can be useful (bug#9301).
2486
12980837
LMI
2487 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2488
91054f8f
LMI
2489 * subr.el (match-string): Mention that the current buffer should
2490 be the same as the search was done in (bug#9282).
2491
b322f63a
LMI
2492 * facemenu.el: Disable the remove-* commands if the mark isn't
2493 active (bug#9162).
2494
3199b96f
CY
24952011-09-10 Chong Yidong <cyd@stupidchicken.com>
2496
2497 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2498 of display-buffer.
2499 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2500
2501 * replace.el (occur-mode-goto-occurrence)
2502 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2503 and display-buffer.
2504
2505 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2506 display-buffer.
2507
2508 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2509 special-display and same-window variables.
2510 (mail-other-window): Use switch-to-buffer-other-window.
2511 (mail-other-frame): USe switch-to-buffer-other-frame.
2512
393a301e
SM
2513 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2514 Use display-buffer-other-frame.
3199b96f
CY
2515 (gdb-display-gdb-buffer): Use pop-to-buffer.
2516
2517 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2518
2519 * progmodes/python.el: Don't set same-window-buffer-names.
2520
2521 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2522
2523 * window.el (display-buffer-alist): Add *Python*.
2524
8319e0bf
CY
25252011-09-10 Chong Yidong <cyd@stupidchicken.com>
2526
2527 * window.el (display-buffer-alist): Add entry for buffers
2528 previously handled same-window-*.
2529 (display-buffer-alist, display-buffer-default-action)
2530 (display-buffer-overriding-action): Mark as risky.
2531 (display-buffer-alist): Document action function changes.
2532 (display-buffer--same-window-action)
2533 (display-buffer--other-frame-action): New variables.
2534 (switch-to-buffer, display-buffer-other-frame): Use them.
2535 (display-buffer): Rename reuse-frame entry to reusable-frames.
2536 (display-buffer-reuse-selected-window): Function deleted.
2537 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2538 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2539 (display-buffer-special): New function.
2540 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2541 display-buffer-reuse-or-pop-window. Split off special-display
2542 part into display-buffer-special.
2543 (display-buffer-use-some-window): Don't perform any special
2544 pop-up-frames handling.
2545 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 2546 (display-buffer--maybe-same-window): Rename from
0d3ff375 2547 display-buffer-maybe-same-window.
8319e0bf 2548
919a69aa
CY
2549 * info.el: Don't set same-window-regexps.
2550 (info-setup): New function.
2551 (info-other-window, info): Call it.
2552
2553 * cus-edit.el: Don't set same-window-regexps.
2554 (customize-group): New argument.
2555 (customize-group-other-window): Use it.
2556 (customize-face, customize-face-other-window): Likewise.
2557 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2558
8319e0bf
CY
2559 * net/rlogin.el:
2560 * net/telnet.el:
2561 * progmodes/gud.el: Don't set same-window-regexps.
2562
2563 * cmuscheme.el:
2564 * ielm.el:
2565 * shell.el:
2566 * mail/sendmail.el:
2567 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2568
25173000
JL
25692011-09-10 Juri Linkov <juri@jurta.org>
2570
2571 * isearch.el (isearch-edit-string): Remove obsolete mention of
2572 `C-w' (`isearch-yank-word-or-char') from docstring.
2573 (isearch-query-replace): Fix typo in docstring (bug#9466).
2574
056e44ef
JL
25752011-09-10 Juri Linkov <juri@jurta.org>
2576
2577 * paren.el (show-paren-function): Don't show escaped parens.
2578 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2579
c3760c17
EZ
25802011-09-10 Eli Zaretskii <eliz@gnu.org>
2581
2582 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2583 (mm-default-file-encoding): Remove autoload forms, they are
2584 replaced with autoload cookies in mml.el and mm-encode.el.
2585 (mail-add-attachment): New command.
2586 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2587 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2588 the doc string.
2589 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2590
fece895e
RT
25912011-09-10 Reuben Thomas <rrt@sc3d.org>
2592
e69df516
SM
2593 * simple.el (count-words-region): Use buffer if there's no region
2594 (bug#9429).
fece895e 2595
5e68ce4a
JL
25962011-09-09 Juri Linkov <juri@jurta.org>
2597
2598 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2599 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2600 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2601
0a6b9622
AM
26022011-09-09 Alan Mackenzie <acm@muc.de>
2603
2604 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2605 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2606
14a29deb
EZ
26072011-09-09 Eli Zaretskii <eliz@gnu.org>
2608
2609 Fix for Savannah bug#9392.
2610 * simple.el (mail-encode-mml): New defvar.
2611
2612 * mail/rmail.el (mail-encode-mml): Add a defvar.
2613 (rmail-enable-mime-composing): Default to t.
2614 (rmail-forward): Use MIME method of forwarding only if both
2615 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2616 Set mail-encode-mml non-nil if the MIME method was used.
2617
2618 * mail/sendmail.el (mml-to-mime): Add autoload form.
2619 (mail-encode-mml): Add a defvar.
2620 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2621 to nil.
2622 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2623 message through mml-to-mime, and reset mail-encode-mml to nil.
2624
28c45130
GM
26252011-09-09 Glenn Morris <rgm@gnu.org>
2626
2627 * woman.el (woman-if-body): When processing an .el block,
2628 do not delete the next .el block as well. (Bug#9447)
69f4b618 2629 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 2630
9b1c252e
MR
26312011-09-08 Martin Rudalics <rudalics@gmx.at>
2632
2633 * window.el (window-deletable-p): Make sure window is live before
2634 invoking window-prev-buffers.
2635
567457e3
LL
26362011-09-08 Leo Liu <sdl.web@gmail.com>
2637
2638 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2639
97f05794
JL
26402011-09-08 Juri Linkov <juri@jurta.org>
2641
2642 * progmodes/compile.el (compilation-environment): Make it
2643 a defcustom (bug#8340).
2644
8b0874b5
MR
26452011-09-08 Martin Rudalics <rudalics@gmx.at>
2646
2647 * window.el (frame-auto-delete): Rename to window-auto-delete.
2648 Make it control auto-deletion of windows and/or frames.
2649 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 2650 for deleting window/frame. (Bug#9419)
8b0874b5
MR
2651 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2652 Rewrite handling of case when window/frame can be deleted.
2653 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 2654 argument t. (Bug#9456)
8b0874b5 2655
4feb6e73
CY
26562011-09-07 Chong Yidong <cyd@stupidchicken.com>
2657
2658 * help-mode.el (help-mode): Restore autoload.
2659
91ab9c13
JL
26602011-09-07 Juri Linkov <juri@jurta.org>
2661
2662 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2663 `compilation-environment'. Set buffer-local
2664 `compilation-environment' to `thisenv' later after (funcall mode).
2665 (Bug#8340)
2666
2667 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2668 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2669 instead of replacing its value. (Bug#8340)
2670
0527e251
JL
26712011-09-07 Juri Linkov <juri@jurta.org>
2672
2673 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2674 based on text properties put by `grep-filter' instead of matching
2675 escape sequences.
2676 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2677 to the value of `grep-error-screen-columns' (bug#9438).
2678
249f792c
JL
26792011-09-07 Juri Linkov <juri@jurta.org>
2680
2681 * simple.el (next-error-highlight, next-error-highlight-no-select):
2682 Doc fix (bug#9432).
2683
ff7271b9
OT
26842011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2685
2686 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2687 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2688
183fc730
LL
26892011-09-07 Leo Liu <sdl.web@gmail.com>
2690
2691 * net/rcirc.el (rcirc-mode): Conditionally initialize
2692 rcirc-input-ring.
2693
77694924
SM
26942011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2695
2696 * emacs-lisp/find-func.el (find-function-C-source): Only set
2697 find-function-C-source-directory after checking that we found a source
2698 file there (bug#9440).
2699
d809b8eb
AM
27002011-09-06 Alan Mackenzie <acm@muc.de>
2701
2702 * isearch.el (isearch-other-meta-char): Wherever a key list is
2703 unread, "unread" the prefix arg, too. This fixes bug #8901.
2704
453de99f
OG
27052011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2706
2707 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2708
90439906
JL
27092011-09-05 Juri Linkov <juri@jurta.org>
2710
2711 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2712
f62bd846
JL
27132011-09-05 Juri Linkov <juri@jurta.org>
2714
2715 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2716 keeping point where processing of grep matches begins, and
2717 continue to delete remaining escape sequences from the same point.
2718 (grep-filter): Make leading zero optional in "0?1;31m" because
2719 git-grep emits "\033[1;31m" escape sequences unlike expected
2720 "\033[01;31m" as GNU Grep does (bug#9408).
2721 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2722
045820ec
JL
27232011-09-05 Juri Linkov <juri@jurta.org>
2724
2725 * subr.el (y-or-n-p): Capitalize "yes".
2726
f5e29b9b
MA
27272011-09-04 Michael Albinus <michael.albinus@gmx.de>
2728
2729 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2730 `tramp-cache-unload-hook' where appropriate.
2731 (tramp-methods): Rename `tramp-remote-sh' to
2732 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2733 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2734
2735 * net/tramp-sh.el (top): Don't require 'shell.
2736 (tramp-methods): Add `tramp-remote-shell' and
2737 `tramp-remote-shell-args' entries.
2738 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2739 (tramp-sh-handle-shell-command): Remove.
2740 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2741 Use `tramp-remote-shell'.
2742
2784c434
CY
27432011-09-03 Chong Yidong <cyd@stupidchicken.com>
2744
393a301e 2745 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
2746 (sendmail-query-once): Save directly to send-mail-function.
2747 Update message-send-mail-function too.
2748
2749 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2750
464cdf56
CS
27512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2752
2753 * progmodes/python.el (python-mode-map): Use correct function to
2754 start python interpreter from menu-bar (as reported by Geert
2755 Kloosterman).
2756 (inferior-python-mode-map): Fix typo.
393a301e 2757 (python-shell-map): Remove.
464cdf56 2758
d37e5c87
DD
27592011-09-03 Deniz Dogan <deniz@dogan.se>
2760
2761 * net/rcirc.el (rcirc-print): Simplify code for
2762 rcirc-scroll-show-maximum-output. There is no need to walk
2763 through all windows to find the right one.
2764
f3ada0ee
CS
27652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2766
2767 * help.el (help-return-method): Doc fix.
2768
1f3c99ca
MR
27692011-09-03 Martin Rudalics <rudalics@gmx.at>
2770
2771 * window.el (window-deletable-p): Don't return a non-nil value
2772 when there's a buffer that was shown in the window before.
2773 (Bug#9419)
393a301e
SM
2774 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2775 Set window's previous buffers to nil.
1f3c99ca 2776
a3cf097f
EZ
27772011-09-03 Eli Zaretskii <eliz@gnu.org>
2778
2779 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2780 newline before and after the tag line, so it doesn't interfere
2781 with determining the paragraph direction of bidirectional text.
2782
3d03de90
LL
27832011-09-03 Leo Liu <sdl.web@gmail.com>
2784
2785 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2786
c3313451
CY
27872011-09-02 Chong Yidong <cyd@stupidchicken.com>
2788
393a301e 2789 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
2790 (pop-to-buffer): Change interactive spec. Pass second argument
2791 directly to display-buffer.
2792 (display-buffer): Fix interactive spec. Use functionp to
2793 distinguish between a function and a list of functions.
2794
2795 * abbrev.el (edit-abbrevs):
2796 * arc-mode.el (archive-extract):
2797 * autoinsert.el (auto-insert):
2798 * bookmark.el (bookmark-bmenu-list):
2799 * files.el (find-file):
2800 * view.el (view-buffer):
2801 * progmodes/compile.el (compilation-goto-locus):
2802 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2803
89894cd8
CY
28042011-09-02 Chong Yidong <cyd@stupidchicken.com>
2805
2806 * window.el (display-buffer-alist): Doc fix.
2807 (display-buffer): Add docstring. Don't treat
2808 display-buffer-default specially.
2809 (display-buffer-reuse-selected-window)
2810 (display-buffer-same-window, display-buffer-maybe-same-window)
2811 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2812 (display-buffer-pop-up-window)
2813 (display-buffer-reuse-or-pop-window)
2814 (display-buffer-use-some-window): New functions.
2815 (display-buffer-default-action): Use them.
393a301e 2816 (display-buffer-default): Delete.
89894cd8
CY
2817 (pop-to-buffer-1): Fix choice of actions.
2818
ae0bc9fb
SM
28192011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2820
2821 * minibuffer.el (completion--insert-strings): Don't get confused by
2822 completion entries that end with an LF char.
2823
e9d90883
EZ
28242011-09-01 Eli Zaretskii <eliz@gnu.org>
2825
2826 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2827
437014c8
CY
28282011-09-01 Chong Yidong <cyd@stupidchicken.com>
2829
2830 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
2831 (display-buffer-same-window, display-buffer-other-window):
2832 New functions.
437014c8
CY
2833 (pop-to-buffer-1): New function. Use the above.
2834 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 2835 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
2836
2837 * view.el (view-buffer-other-window, view-buffer-other-frame):
2838 Just use pop-to-buffer.
2839
a5e063d5
TV
28402011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2841
2842 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2843
793d32bb
WH
28442011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2845
2846 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2847
d65e4c15
RS
28482011-08-31 Richard Stallman <rms@gnu.org>
2849
2850 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2851 of the separation of rmail-view-buffer from rmail-buffer.
2852 If you say no to "replace original", the decrypt is in the
2853 view buffer. If you say yes, the decrypt goes into the
2854 rmail buffer also.
2855
f818cd2a
MR
28562011-08-31 Martin Rudalics <rudalics@gmx.at>
2857
2858 * window.el (display-buffer-window): Rewrite doc-string.
2859 (display-buffer-record-window): New function.
2860 (display-buffer-macro-specifiers)
2861 (display-buffer-even-window-sizes, display-buffer-set-height)
2862 (display-buffer-set-width, display-buffer-in-window)
2863 (display-buffer-reuse-window, display-buffer-split-specifiers)
2864 (display-buffer-side-specifiers, display-buffer-split-window-1)
2865 (display-buffer-split-window, display-buffer-split-atom-window)
2866 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2867 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2868 (display-buffer-other-window-means-other-frame)
2869 (display-buffer-normalize-special)
2870 (display-buffer-normalize-default)
2871 (display-buffer-normalize-argument)
2872 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2873 (display-buffer-normalize-specifiers, display-buffer-frame)
2874 (display-buffer-same-window, display-buffer-same-frame)
2875 (display-buffer-other-window)
2876 (display-buffer-same-frame-other-window)
2877 (display-buffer-other-frame, pop-to-buffer-same-window)
2878 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2879 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2880 (switch-to-buffer-same-frame)
2881 (switch-to-buffer-other-window-same-frame)
2882 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2883 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2884 (display-buffer-alist-set): Remove.
2885 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2886 (special-display-regexps, special-display-function):
2887 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2888 parameter.
2889 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2890 (special-display-frame-alist, special-display-popup-frame)
2891 (same-window-buffer-names, same-window-regexps, same-window-p)
2892 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2893 (split-window-preferred-function, split-height-threshold)
2894 (split-width-threshold, window-splittable-p)
2895 (split-window-sensibly, window--try-to-split-window)
2896 (window--frame-usable-p, even-window-heights)
2897 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2898 (window--display-buffer-2, display-buffer-other-frame):
2899 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2900 (display-buffer-default, display-buffer-assq-regexp): New functions.
2901 (display-buffer-alist): Rewrite doc-string.
2902 (display-buffer-default-action)
2903 (display-buffer-overriding-action): New variables.
2904 (display-buffer, switch-to-buffer): Rewrite.
2905 (pop-to-buffer): Restore Emacs 23 behavior but use
2906 window-normalize-buffer-to-display.
2907 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2908 Restore Emacs 23 behavior but use
2909 window-normalize-buffer-to-switch-to.
2910 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2911 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2912 Rewrite using Emacs 23 options.
f818cd2a 2913
5bc3b51d
MA
29142011-08-31 Michael Albinus <michael.albinus@gmx.de>
2915
2916 * net/tramp.el (tramp-root-regexp): Remove.
2917 (tramp-completion-file-name-regexp-unified)
2918 (tramp-completion-file-name-regexp-separate)
2919 (tramp-completion-file-name-regexp-url): Don't use leading volume
2920 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2921 (tramp-drop-volume-letter): Simplify definition.
2922 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2923
b1a4f8e1
SM
29242011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2927 (bug#9356).
2928
5664fa7b
RT
29292011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2930
b1a4f8e1 2931 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2932
9a45d6c3
JL
29332011-08-29 Juri Linkov <juri@jurta.org>
2934
2935 * isearch.el (isearch-done): Don't display message "Mark saved"
2936 when arg `edit' is non-nil to prevent its flicker in the echo area.
2937
fb87e0fb
CY
29382011-08-28 Chong Yidong <cyd@stupidchicken.com>
2939
2940 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2941 obsolete packages for deletion.
2942
09ac1c2a
CS
29432011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2944
2945 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2946 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2947 view-mode from help-mode.
2948 (help-xref-override-view-map): Remove.
2949 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2950 view-mode is not used anymore.
2951
7a1ff57f
CY
29522011-08-28 Chong Yidong <cyd@stupidchicken.com>
2953
2954 * server.el (server-port): Doc fix.
2955
b9696605
CY
2956 * cus-theme.el (custom-theme-choose-mode): Inherit from
2957 special-mode (Bug#9124).
2958 (custom-theme-choose-mode-map): Add special-mode to parent.
2959
ef8cdf8c
AM
29602011-08-28 Alan Mackenzie <acm@muc.de>
2961
2962 * progmodes/cc-fonts.el
2963 (c-make-font-lock-BO-decl-search-function): New function.
2964 (c-basic-matchers-after - "Fontify the clauses after various
2965 keywords"): Extract the three keyword lists for the 3 erroneous
2966 constructs from the list of four, and use the new function above
2967 in place of an old one.
2968
27de4e20
DD
29692011-08-28 Deniz Dogan <deniz@dogan.se>
2970
2971 * net/rcirc.el (rcirc-insert-prev-input)
2972 (rcirc-insert-next-input): Remove unused argument.
2973
356a3681
SM
29742011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2975
2976 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2977
3fc9b218
AM
29782011-08-27 Alan Mackenzie <acm@muc.de>
2979
2980 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2981 handle function pointer parameters properly.
2982
538a061c
MR
29832011-08-27 Martin Rudalics <rudalics@gmx.at>
2984
2985 * window.el (display-buffer-reuse-window): Fix case where
2986 selected window was reused with non-nil OTHER-WINDOW argument.
2987 (Bug#9381)
2988
35b1c40c
DD
29892011-08-27 Deniz Dogan <deniz@dogan.se>
2990
2991 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2992 oftc's NickServ messages.
2993
2f6a3e79
GM
29942011-08-27 Glenn Morris <rgm@gnu.org>
2995
2996 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2997
7254299e
CY
29982011-08-26 Chong Yidong <cyd@stupidchicken.com>
2999
3000 * emacs-lisp/package.el (package-install): Call package-initialize
3001 if called interactively.
3002
f8ccf167
LL
30032011-08-26 Leo Liu <sdl.web@gmail.com>
3004
3005 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3006
3e8cd5ce
JL
30072011-08-25 Juri Linkov <juri@jurta.org>
3008
3009 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3010 `search-whitespace-regexp' (bug#9364).
3011
93eb7113
JL
30122011-08-25 Juri Linkov <juri@jurta.org>
3013
3014 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3015 `regexp-search-ring' to their global values to protect from
3016 updating by `read-from-minibuffer' (bug#9185).
3017
f65d1611
JL
30182011-08-25 Juri Linkov <juri@jurta.org>
3019
3020 * textmodes/ispell.el (ispell-command-loop): Add newline
3021 at the end of the "Use option `i'..." line.
3022
f1cf7a31
JL
30232011-08-25 Juri Linkov <juri@jurta.org>
3024
3025 * battery.el (display-battery-mode): If `battery-status-function'
3026 or `battery-mode-line-format' is nil, display the message and set
3027 `display-battery-mode' to nil (bug#9363).
3028
0c95fcf7
EZ
30292011-08-25 Eli Zaretskii <eliz@gnu.org>
3030
3031 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3032 bidi-string-mark-left-to-right; they are unnecessary now.
3033
a2ebe600
DD
30342011-08-25 Deniz Dogan <deniz@dogan.se>
3035
3036 * net/quickurl.el: Documentation typo fixes.
3037
e4ed06f1
CY
30382011-08-25 Chong Yidong <cyd@stupidchicken.com>
3039
3040 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3041
e5f1c99e
GM
30422011-08-25 Glenn Morris <rgm@gnu.org>
3043
b2948976
GM
3044 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3045
e5f1c99e
GM
3046 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3047 (smtpmail-via-smtp): Handle nil response from smtp.
3048
f22f4808
JL
30492011-08-24 Juri Linkov <juri@jurta.org>
3050
3051 * proced.el (proced-marked): Inherit from `error' instead of
3052 `font-lock-warning-face'.
3053
3054 * ibuffer.el (ibuffer-marked-face): Change default face from
3055 `font-lock-warning-face' to `warning'.
3056 (ibuffer-deletion-face): Change default face from
3057 `font-lock-type-face' to `error'.
3058
3059 * battery.el (battery-update): Use the face `error' instead of
3060 `font-lock-warning-face' (bug#6117).
3061
6a93965e
JL
30622011-08-24 Juri Linkov <juri@jurta.org>
3063
3064 * faces.el (success): Change face color from "Green3" to
3065 "ForestGreen" on light background (bug#9353).
3066
1ed43b09
CY
30672011-08-24 Chong Yidong <cyd@stupidchicken.com>
3068
5664fa7b
RT
3069 * window.el (quit-window): Rename from quit-restore-window.
3070 Use same arglist as old quit-window.
1ed43b09
CY
3071 (frame-auto-delete): Doc fix.
3072
3073 * view.el (view-mode-exit): Use quit-window.
3074
11dcdbb2
JL
30752011-08-24 Juri Linkov <juri@jurta.org>
3076
3077 * isearch.el (isearch-ring-adjust1): Start visiting previous
3078 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3079 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3080 for empty search string (when the last search string is reused
3081 automatically) to adjust the isearch ring to the last element and
3082 prepare the correct index for further M-p commands (bug#9185).
3083
de62b4df
KH
30842011-08-24 Kenichi Handa <handa@m17n.org>
3085
3086 * international/ucs-normalize.el: If decomposition property of
3087 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3088 nil.
3089 (nfd, nfkd): Likewise.
3090
963b492b
SM
30912011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3094 from process filters aren't reliably transmitted to the surrounding
3095 accept-process-output.
3096 (mpc-proc-check): New function.
3097 (mpc-proc-sync): Use it (bug#8293)
3098
93b6b5e1
SM
30992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3100
3101 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3102 Add compatibility functions (bug#9313).
3103
bca633fb
EZ
31042011-08-23 Eli Zaretskii <eliz@gnu.org>
3105
b177498a
EZ
3106 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3107
bca633fb
EZ
3108 * international/uni-bidi.el: Regenerated.
3109
0902a04e
KH
31102011-08-23 Kenichi Handa <handa@m17n.org>
3111
3112 * international/charprop.el:
3113 * international/uni-bidi.el:
3114 * international/uni-category.el:
3115 * international/uni-combining.el:
3116 * international/uni-comment.el:
3117 * international/uni-decimal.el:
3118 * international/uni-decomposition.el:
3119 * international/uni-digit.el:
3120 * international/uni-lowercase.el:
3121 * international/uni-mirrored.el:
3122 * international/uni-name.el:
3123 * international/uni-numeric.el:
3124 * international/uni-old-name.el:
3125 * international/uni-titlecase.el:
3126 * international/uni-uppercase.el: Regenerate.
3127
3bbf23bc
MR
31282011-08-23 Martin Rudalics <rudalics@gmx.at>
3129
3130 * help.el (help-window-setup): Fix message displayed when other
3131 window is reused. (Bug#9341)
3132
b3fd59bd
SM
31332011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3134
1802e444
SM
3135 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3136 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3137
b3fd59bd
SM
3138 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3139 Mark obsolete.
3140 * shell.el (shell-parse-pcomplete-arguments): New function.
3141 (shell-completion-vars): Use it instead (bug#9160).
3142
4eb61348
SM
31432011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3144
867cab74
SM
3145 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3146 strings and comments (bug#9333).
3147
4eb61348
SM
3148 * emacs-lisp/debug.el (debug-arglist): New function.
3149 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3150 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3151
262a1439
JL
31522011-08-22 Juri Linkov <juri@jurta.org>
3153
56ee679c
JL
3154 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3155 Revert regexp that highlights output switches to its old
3156 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3157
262a1439
JL
3158 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3159 to check for empty output (bug#9226).
3160
f13f86fb
CY
31612011-08-22 Chong Yidong <cyd@stupidchicken.com>
3162
3163 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3164 symbol-constituent as the default, as that stops font-lock from
3165 working properly (Bug#8843).
3166
c65c9622
LMI
31672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3168
3169 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3170 `coding-system-for-*' around the process open call to avoid
3171 auth-source side effects.
e7f2c178 3172 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
3173 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3174 probe hangs.
c65c9622 3175
23a8a5ab
CY
31762011-08-21 Chong Yidong <cyd@stupidchicken.com>
3177
ff98b2dd
CY
3178 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3179
23a8a5ab
CY
3180 * emacs-lisp/find-func.el (find-function-noselect): New arg
3181 lisp-only.
3182
3183 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3184 signal an error for built-in functions (Bug#6664).
3185
f5e3c598
LMI
31862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3187
3188 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3189 (smtpmail-try-auth-methods): Use it.
3190
a3f2468a
CY
31912011-08-21 Chong Yidong <cyd@stupidchicken.com>
3192
2c34e8da
CY
3193 * font-lock.el (font-lock-fontify-region)
3194 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3195 (font-lock-default-unfontify-buffer)
3196 (font-lock-default-fontify-region)
3197 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3198
b3fd59bd
SM
3199 * progmodes/compile.el (compilation-error-properties):
3200 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
3201 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3202 `ant' regexp.
ee31aabc 3203
a3f2468a
CY
3204 * net/browse-url.el (browse-url-firefox): Don't call
3205 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3206
8e999f70
GM
32072011-08-20 Glenn Morris <rgm@gnu.org>
3208
c21a496a
GM
3209 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3210
59ee0542
GM
3211 * tutorial.el (tutorial--default-keys): Update some default bindings.
3212
8e999f70
GM
3213 * files.el (hack-local-variables): Fully ignore case for "mode:".
3214
e3715033
AM
32152011-08-20 Alan Mackenzie <acm@muc.de>
3216
3217 Resolve invalid use of a regexp in regexp-opt.
3218
4d61f28d
JB
3219 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3220 detection for a java annotation.
e3715033 3221
4d61f28d 3222 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
3223 detection for a java annotation.
3224
4d61f28d
JB
3225 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3226 handling for java.
e3715033
AM
3227 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3228
04ed2e9c
CY
32292011-08-20 Chong Yidong <cyd@stupidchicken.com>
3230
3231 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3232 (Bug#9274).
3233
826cee64
AM
32342011-08-20 Alan Mackenzie <acm@muc.de>
3235
58179cce 3236 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
3237 such a construct. Mainly for when jit-lock etc. starts a chunk
3238 here.
3239
58179cce 3240 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 3241 variable.
58179cce 3242 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
3243 c-make-font-lock-search-function.
3244 (c-make-font-lock-search-function): Use the above function.
3245 (c-make-font-lock-context-search-function): New function.
3246 (c-cpp-matchers): Enhance the preprocessor expression case with
3247 the above function
3248 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3249 which takes an expression.
3250
3251 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3252
13009bd8
MR
32532011-08-20 Martin Rudalics <rudalics@gmx.at>
3254
3255 * window.el (display-buffer-reuse-window)
3256 (display-buffer-pop-up-window): Don't reuse or split a side
3257 window.
3258
9234ff7f
GM
32592011-08-19 Glenn Morris <rgm@gnu.org>
3260
3261 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 3262 Downcase "Mode:". (Bug#9331)
9234ff7f 3263
f635daa1
CY
32642011-08-18 Chong Yidong <cyd@stupidchicken.com>
3265
3266 * international/characters.el: Add L and R categories.
3267
3268 * subr.el (bidi-string-mark-left-to-right): Rename from
3269 string-mark-left-to-right. Use category search.
3270
3271 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
3272
bc987f8b
JL
32732011-08-18 Juri Linkov <juri@jurta.org>
3274
3275 * faces.el (error, warning, success): New faces with definitions
3276 copied from old default values of `font-lock-warning-face',
3277 `compilation-warning', `compilation-info' (bug#6117).
3278
3279 * font-lock.el (font-lock-warning-face): Inherit from `error'.
3280
3281 * progmodes/compile.el (compilation-error): Inherit from `error'.
3282 (compilation-warning): Inherit from `warning'.
3283 (compilation-info): Inherit from `success'.
3284
3285 * dired.el (dired-marked): Inherit from `warning'.
3286 (dired-flagged): Inherit from `error'.
3287
57173b96
LMI
32882011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3289
3e79eb87
LMI
3290 * mail/smtpmail.el (auth-source): Require to avoid problems with
3291 binding variables (bug#9298). Also clean up some unused
3292 autoloads.
3293
b3fd59bd
SM
3294 * net/network-stream.el (network-stream-open-starttls):
3295 Support using starttls.el without using gnutls-cli.
57173b96 3296
02b404de
JL
32972011-08-17 Juri Linkov <juri@jurta.org>
3298
3299 * progmodes/grep.el (rgrep): Handle the case when
3300 `grep-find-command' is a cons cell (bug#9278).
3301
8c9177f2
MR
33022011-08-17 Martin Rudalics <rudalics@gmx.at>
3303
3304 * window.el (display-buffer-pop-up-frame): Run frame creation
3305 function with BUFFER current (as special-display-popup-frame
3306 does). Reported by Drew Adams.
3307
3644a0ab
DU
33082011-08-17 Daiki Ueno <ueno@unixuser.org>
3309
3310 * epa-mail.el: Simplify GnuPG group expansion using
3311 epg-expand-group.
3312 (epa-mail-group-alist, epa-mail-group-modtime)
3313 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3314 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3315 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3316 Remove.
3317
5e617bc2 33182011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
3319
3320 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3321
9c4aeabf
AM
33222011-08-16 Alan Mackenzie <acm@muc.de>
3323
3324 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3325 Correct, to avoid the inside of macros.
3326
3a99bf64
RS
33272011-08-16 Richard Stallman <rms@gnu.org>
3328
04963aa8
RS
3329 * epa-mail.el: Handle GnuPG group definitions.
3330 (epa-mail-group-alist, epa-mail-group-modtime)
3331 (epa-mail-gnupg-conf-file): New variables.
3332 (epa-mail-parse-groups, epa-mail-sync-groups)
3333 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3334 (epa-mail-expand-recipients): New functions.
3335 (epa-mail-encrypt): Call epa-mail-expand-recipients.
3336
177549d0
RS
3337 * mail/rmail.el (rmail-epa-decrypt): New command.
3338
fe38beef
RS
3339 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3340 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
3341 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3342 (epa-decrypt-armor-in-region): Make error message clearer.
3343
934eacb9
SM
33442011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3345
3346 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3347 and "a2b" to "ab" for `prefix'.
3348
d024fb4e
CY
33492011-08-14 Chong Yidong <cyd@stupidchicken.com>
3350
3351 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3352 filter groups.
de148fee
CY
3353 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
3354 Fourquet (Bug#8804).
d024fb4e 3355
62f1ca49
JB
33562011-08-12 Juanma Barranquero <lekktu@gmail.com>
3357
3358 * startup.el (argi): Declare as global variable (bug#9275).
3359
9ccaaa4b
CY
33602011-08-12 Chong Yidong <cyd@stupidchicken.com>
3361
3362 * subr.el (string-mark-left-to-right): Search the entire string
3363 for RTL script, not just the terminating character. Doc fix.
3364
a3dae87a
SM
33652011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3366
6cd18349
SM
3367 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3368 New function.
3369 (js--regexp-literal, js-syntax-propertize-function): Remove.
3370 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3371 (js-mode-map): Don't rebind electric keys.
3372 (js-insert-and-indent): Remove.
3373 (js-mode): Setup electric-layout and electric-indent instead.
3374
a3dae87a
SM
3375 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3376
9d5cb631
DU
33772011-08-12 Daiki Ueno <ueno@unixuser.org>
3378
3379 * epa.el (epa-progress-callback-function): Fix the logic of
3380 displaying progress.
3381 * epa-file.el (epa-file-insert-file-contents): Make progress
3382 display more user-friendly.
3383 (epa-file-write-region): Ditto.
3384
3e26a4a2
CY
33852011-08-10 Chong Yidong <cyd@stupidchicken.com>
3386
3387 * subr.el (string-mark-left-to-right): New function.
3388
3389 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3390 Use string-mark-left-to-right.
3391 (list-buffers-noselect): Caller changed.
3392
a3dae87a
SM
3393 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3394 Use string-mark-left-to-right.
3e26a4a2
CY
3395 (tabulated-list-print): Recenter after moving point.
3396
ac8cf6e6
JL
33972011-08-10 Juri Linkov <juri@jurta.org>
3398
3399 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3400 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3401 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3402
8d96c9a4
CY
34032011-08-09 Chong Yidong <cyd@stupidchicken.com>
3404
3405 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3406 (Bug#7554).
3407
7be1c708 34082011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
3409
3410 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3411 character. (Bug#6594)
3412
37e11a63
CY
34132011-08-08 Chong Yidong <cyd@stupidchicken.com>
3414
839dde57
CY
3415 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3416 (image-dired--with-db-file): New macro.
3417 (image-dired-write-tags, image-dired-remove-tag)
3418 (image-dired-create-gallery-lists, image-dired-write-comments)
3419 (image-dired-get-comment, image-dired-mark-tagged-files)
3420 (image-dired-list-tags, image-dired-gallery-generate): Use it.
3421 (image-dired-gallery-generate): Use insert-file-contents.
3422
37e11a63
CY
3423 * time.el (display-time-world-list, display-time-world-display):
3424 * time-stamp.el (time-stamp-string):
3425 * vc/add-log.el (add-change-log-entry): Use setenv instead of
3426 set-time-zone-rule (Bug#7337).
3427
0b4946c4
DU
34282011-08-08 Daiki Ueno <ueno@unixuser.org>
3429
3430 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3431 (epg-error-to-string, epg-errors-to-string): New function.
3432 (epg-wait-for-completion): Reverse errors list.
3433 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3434 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3435 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3436 (epg-sign-keys, epg-generate-key-from-file)
3437 (epg-generate-key-from-string): Format errors by using
3438 epg-errors-to-string (bug#9255).
3439 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3440
75bfc667
JL
34412011-08-07 Juri Linkov <juri@jurta.org>
3442
3443 * faces.el (list-faces-display): Remove extra angle bracket
3444 from `help-mode-map'.
3445
3446 * info.el (Info-history-toc-nodes): Doc fix.
3447
3448 * longlines.el (longlines-mode): Doc fix.
3449
673e08bb
SM
34502011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3451
4640dd88
SM
3452 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3453 of statements and in a few more cases (bug#9183).
3454
673e08bb
SM
3455 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3456 New functions.
3457 (cl-transform-lambda): Use them (bug#9239).
3458
89b3f019
MR
34592011-08-05 Martin Rudalics <rudalics@gmx.at>
3460
3461 * window.el (display-buffer-same-window)
3462 (display-buffer-same-frame, display-buffer-other-window)
3463 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3464 (pop-to-buffer-other-window)
3465 (pop-to-buffer-same-frame-other-window)
3466 (pop-to-buffer-other-frame): Make them defuns.
3467 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3468
640c8776
SM
34692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * subr.el (make-composed-keymap): Move from C. Change calling
3472 convention, and improve docstring to bring attention to a subtle point.
3473 * minibuffer.el (completing-read-default): Adjust accordingly.
3474
63648a95
MA
34752011-08-03 Michael Albinus <michael.albinus@gmx.de>
3476
3477 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3478 (tramp-open-shell): Use `tramp-shell-quote-argument'.
3479
3480 * net/trampver.el: Update release number.
3481
b796c9b7
SM
34822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3483
3484 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3485 "in" (bug#9190).
3486
2239d7d5
LMI
34872011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3488
e07dd7c3
LMI
3489 * mail/sendmail.el (sendmail-query-once): Restore the current
3490 buffer after querying (bug#9074).
3491
0e6a2bd7
LMI
3492 * dired.el (dired-flagged): Use different faces for marked and
3493 flagged files (bug#6117).
3494
ce887515
LMI
3495 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3496 (bug#4433).
3497
92f2affc
LMI
3498 * ido.el (ido-mode): Switch off the message if called
3499 non-interactively.
3500
57d5aff0
LMI
3501 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3502 before 587, since it appears that that's more likely to work for
3503 more people.
3504
98cd6c18 3505 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 3506 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
3507 exist.
3508
b96dec83
LMI
3509 * info.el: Remove the `Info-beginning-of-buffer' function
3510 (bug#8325).
3511
b796c9b7
SM
3512 * net/network-stream.el (network-stream-open-starttls):
3513 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 3514
d90e2ea0
MR
35152011-08-01 Martin Rudalics <rudalics@gmx.at>
3516
3517 * window.el (display-buffer-in-window): Don't set dedicated status
3518 of window here (Bug#9215).
3519 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3520 (display-buffer-pop-up-side-window)
b796c9b7 3521 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 3522
cca09170
SM
35232011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3524
3525 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3526 before binding generated-autoload-file.
3527
027b979c
DD
35282011-08-01 Deniz Dogan <deniz@dogan.se>
3529
3530 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3531
3c7ee4f3
MA
35322011-07-30 Michael Albinus <michael.albinus@gmx.de>
3533
3534 Sync with Tramp 2.2.2.
3535
3536 * net/trampver.el: Update release number.
3537
2cc8e51a
JL
35382011-07-30 Juri Linkov <juri@jurta.org>
3539
3540 * dired-aux.el (dired-touch-initial): Remove function.
3541 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3542 current time, and `default' to the last modification time of the
3543 current marked file (bug#6887).
3544
a514d856
JM
35452011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3546
3547 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 3548 numeric argument to read-number (bug#9163).
a514d856 3549
8a7eddd7
MA
35502011-07-27 Michael Albinus <michael.albinus@gmx.de>
3551
3552 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3553 connection process, it could be nil.
3554
1ddd96f5
LL
35552011-07-27 Leo Liu <sdl.web@gmail.com>
3556
3557 Simplify url handling in rcirc-mode.
3558
3559 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3560 (rcirc-browse-url-at-mouse): Remove.
3561 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3562
b248a85d
AM
35632011-07-26 Alan Mackenzie <acm@muc.de>
3564
3565 Fontify bitfield declarations properly.
3566
3567 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3568 (c-symbol-chars): Now exported as a lang variable.
3569 (c-not-primitive-type-keywords): New lang variable.
3570
3571 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3572 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 3573 parsed as a bitfield declaration.
b248a85d 3574
b796c9b7
SM
3575 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3576 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
3577 (c-punctuation-in): New function.
3578 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3579 declarations properly.
3580
68575ab0
UJ
35812011-07-26 Ulf Jasper <ulf.jasper@web.de>
3582
3583 * calendar/icalendar.el (icalendar--all-events): Take care of
3584 multiple vcalendars in a single file.
b796c9b7 3585 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 3586
0f0a88b9
DD
35872011-07-25 Deniz Dogan <deniz@dogan.se>
3588
3589 * image.el (insert-image): Clarifying docstring.
3590
0b3f36df
MA
35912011-07-24 Michael Albinus <michael.albinus@gmx.de>
3592
3593 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3594 `tramp-send-command-and-check' if there is no error.
3595 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3596
a9901f61
AM
35972011-07-22 Alan Mackenzie <acm@muc.de>
3598
3599 Prevent cc-langs.elc being loaded at run time.
3600
3601 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3602 cc-langs.
3603
4d61f28d 3604 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
3605 "(require 'cc-langs)". Quote a form so it will evaluate at
3606 (cc-mode's) compilation time.
3607
11d074b2
MA
36082011-07-22 Michael Albinus <michael.albinus@gmx.de>
3609
3610 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3611 loading. (Bug#9114)
3612
938b94c8
MR
36132011-07-21 Martin Rudalics <rudalics@gmx.at>
3614
3615 * window.el (display-buffer-pop-up-window)
3616 (display-buffer-pop-up-side-window)
3617 (display-buffer-in-side-window): Call display-buffer-set-height
3618 and display-buffer-set-width after setting the new window's
b796c9b7 3619 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 3620
bfa4f190
SS
36212011-07-20 Sam Steingold <sds@gnu.org>
3622
3623 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3624 (etags-tags-included-tables): Call `convert-standard-filename' on
3625 the file names contained in TAGS so that windows Emacs can handle
3626 TAGS files created by cygwin ctags.
3627
8ca42262
LMI
36282011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3629
3630 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3631 which apparently didn't work.
3632
5db2afd2 36332011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 3634
5db2afd2
RW
3635 * proced.el (proced-send-signal): For *Marked Processes* buffer
3636 put point at beginning of buffer.
3637
92e15d10
SB
36382011-07-19 Stephen Berman <stephen.berman@gmx.net>
3639
3640 * proced.el (proced-format): Make header lines align with the text
3641 (bug#1779).
3642
1bfd59e5
LMI
36432011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3644
3645 * view.el (view-buffer): Allow running in `special' modes if we're
3646 visiting a file (bug#8615).
3647
f5aae37c
MR
36482011-07-19 Martin Rudalics <rudalics@gmx.at>
3649
3650 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
3651 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3652 New functions.
f5aae37c
MR
3653 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3654 more accurately.
3655
bf2c1571
AM
36562011-07-18 Alan Mackenzie <acm@muc.de>
3657
3658 Fontify declarators properly when, e.g., a jit-lock chunk begins
3659 inside a declaration.
3660
3661 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3662
b796c9b7
SM
3663 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3664 New function.
bf2c1571
AM
3665 (c-complex-decl-matchers): Insert reference to
3666 c-font-lock-enclosing-decls.
3667
3668 * progmodes/cc-engine.el (c-backward-single-comment):
3669 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3670 to nil around calls to (forward-comment -1).
3671
4e190b80
LMI
36722011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3673
12dc863d
LMI
3674 * image.el (put-image): Doc typo fix.
3675
a762e966
LMI
3676 * progmodes/etags.el (tags-search): Doc typo fix.
3677
4e190b80
LMI
3678 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3679 password if we get errors 550 to 554.
3680
f019fb21
LMI
36812011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3682
b796c9b7 3683 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 3684
81746738
LMI
3685 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3686 indentation character (bug#6380).
3687
3ee3a1b5
LMI
3688 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3689
c82f64de
LMI
3690 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3691 to clarify what the problem is (bug#4291).
3692
f019fb21
LMI
3693 * simple.el (current-kill): Clarify what
3694 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
3695 (auto-fill-mode): Document `auto-fill-function' in relation to
3696 `auto-fill-mode' (bug#2470).
f019fb21 3697
0794775d
LM
36982011-07-16 Lawrence Mitchell <wence@gmx.li>
3699
3700 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3701 method if slot is read-only (bug#9035).
3702
be39b8cc
MR
37032011-07-16 Martin Rudalics <rudalics@gmx.at>
3704
b796c9b7 3705 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 3706 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
3707 selected before, see discussion of (Bug#8615), (Bug#6954).
3708 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 3709
6ccf7859
GM
37102011-07-15 Glenn Morris <rgm@gnu.org>
3711
3712 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 3713 Respect help-form.
6ccf7859 3714
87e86684
LM
37152011-07-09 Lawrence Mitchell <wence@gmx.li>
3716
3717 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3718 (gnutls-negotiate): Use it.
3719
d6066239
LMI
37202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3721
b796c9b7
SM
3722 * net/gnutls.el (gnutls-negotiate):
3723 Upcase `gnutls-algorithm-priority'.
d6066239 3724
bd23ebc0
GM
37252011-07-15 Glenn Morris <rgm@gnu.org>
3726
c65bca65
GM
3727 * jka-compr.el (jka-compr-verbose): Move from here...
3728 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3729 Add missing :version tag.
3730 * info.el: No need to require jka-compr when compiling.
bd23ebc0 3731
478615cc
LMI
37322011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3733
7b41decb
LMI
3734 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3735 (gnutls-negotiate): Use it.
3736
dbc44fcd
LMI
3737 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3738
06789f97
LMI
3739 * info.el (Info-beginning-of-buffer): New command.
3740 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3741 announcing `b' as the key (bug#8325).
ab896c37 3742 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 3743
c39da690
LMI
3744 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3745
3aa5f34b
LMI
3746 * international/mule-cmds.el
3747 (describe-specified-language-support): Make the error message
3748 clearer (bug#8905).
3749
4bf0979f
LMI
3750 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3751
478615cc
LMI
3752 * isearch.el (isearch-barrier): Add a doc string, since it's
3753 mentioned in a function doc string (bug#8678).
3754
75c68aa1
MR
37552011-07-15 Martin Rudalics <rudalics@gmx.at>
3756
3757 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3758 buffer argument (Bug#9083) and self-identifying label argument.
3759
a7c33da2
GM
37602011-07-15 Glenn Morris <rgm@gnu.org>
3761
3762 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3763
2f5c6024
LMI
37642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3765
3766 * man.el (Man-fontify-manpage): Fix message when formatting the
3767 man page (bug#7929).
3768
0bb23927 37692011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
3770
3771 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3772 argument LRM; if non-nil, append an invisible LRM character to the
3773 buffer name.
3774 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3775 last argument non-nil, when formatting buffer names.
0bb23927
EZ
3776 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3777 paragraph direction.
cce4b0a7 3778
621ef9ab
LMI
37792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3780
d1583c48
LMI
3781 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3782 the man page name (bug#7929).
3783
6a57fb5f
LMI
3784 * image.el (put-image): Mention the `put-image' overlay property
3785 (bug#7834).
3786
d7956b14
LMI
3787 * scroll-bar.el (set-scroll-bar-mode): Mention that
3788 `scroll-bar-mode' lists the values (bug#7772).
3789
5b2d4a66
LMI
3790 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3791 command (bug#7729).
3792
7509a874
LMI
3793 * rect.el (apply-on-rectangle): Return the point after the last
3794 operation.
3795 (string-rectangle): Go to the point after the last operation
3796 (bug#7522).
3797
4fe74b19
LMI
3798 * printing.el (pr-toggle-region): Clarify the documentation
3799 slightly (bug#7493).
3800
b796c9b7
SM
3801 * time.el (display-time-update):
3802 Allow `display-time-mail-function' to return nil (bug#7158).
3803 Fix suggested by Detlev Zundel.
ab283561 3804
fc233c9d
LMI
3805 * vc/diff.el (diff): Clarify the order the file names are read
3806 (bug#7111).
3807
43f5740b
LMI
3808 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3809 the doc string (bug#7015).
3810
f2182a76
LMI
3811 * font-lock.el (font-lock-maximum-decoration): Mention what
3812 numeric levels mean (bug#6935).
3813
621ef9ab
LMI
3814 * startup.el (initial-buffer-choice): Don't mention the `none'
3815 selection, which is against policy.
3816
adc47434
MR
38172011-07-14 Martin Rudalics <rudalics@gmx.at>
3818
b796c9b7
SM
3819 * window.el (display-buffer-normalize-special):
3820 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 3821
7e5bfb8f
EZ
38222011-07-14 Eli Zaretskii <eliz@gnu.org>
3823
3824 * subr.el (version<, version<=, version=): Mention "-CVS" and
3825 "-12345" alpha version numbers.
3826
27fa387a
CY
38272011-07-14 Chong Yidong <cyd@stupidchicken.com>
3828
3829 * bindings.el: Add advertised binding for set-mark-command
3830 (Bug#5772).
3831
8bdfa064
CY
38322011-07-14 Chong Yidong <cyd@stupidchicken.com>
3833
3834 * bindings.el (mode-line-other-buffer):
3835 * bookmark.el (bookmark-bmenu-2-window):
3836 * bs.el (bs-cycle-next, bs-cycle-previous):
3837 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3838 switch-to-buffer.
3839
3840 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 3841 Delete.
8bdfa064 3842
5eba16a3
JB
38432011-07-14 Juanma Barranquero <lekktu@gmail.com>
3844
3845 * follow.el (follow-debug-message, follow-redisplay):
3846 * jka-cmpr-hook.el (with-auto-compression-mode):
3847 Fix typos in docstrings.
3848
15853710
LMI
38492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3850
a28e4607
LMI
3851 * subr.el (with-silent-modifications): Clarify somewhat what the
3852 macro inhibits (bug#6525).
3853
15853710
LMI
3854 * simple.el (eval-expression): Note what it does if called
3855 interactively (bug#6495).
3856
bee0fcef
CY
38572011-07-13 Chong Yidong <cyd@stupidchicken.com>
3858
b796c9b7
SM
3859 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3860 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
3861
3862 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3863 Remove switch-to-buffer.
3864
58274504
LMI
38652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3866
bd2fcc8d
LMI
3867 * files.el (make-directory): Clarify that an error will be raised
3868 if there's an error (bug#6397).
3869
0f04b32c
LMI
3870 * startup.el (initial-buffer-choice): Add `none' as a choice
3871 (bug#6234).
3872
465c5fc8
LMI
3873 * subr.el (add-hook): Clarify section about buffer-local hooks
3874 (bug#6218).
3875
58274504
LMI
3876 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3877
bead9a43
JB
38782011-07-13 Juanma Barranquero <lekktu@gmail.com>
3879
3880 * tabify.el (untabify): Preserve the current column so that point
3881 doesn't move (bug#6032).
3882
3af98a7b
LMI
38832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3884
b796c9b7
SM
3885 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3886 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3887
6240145a
GM
38882011-07-13 Glenn Morris <rgm@gnu.org>
3889
3890 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3891 (dired-insert-directory): Give a message the first time
3892 if ls is found not to support --dired.
3893
1d8c2ccc
LMI
38942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3895
3896 * simple.el (toggle-truncate-lines): Clarify what is toggled
3897 (bug#5580). Text by Drew Adams.
3898
5fc4038e
CY
38992011-07-13 Chong Yidong <cyd@stupidchicken.com>
3900
3901 * simple.el (blink-matching-open): Make the error message from the
3902 last change less verbose.
3903
bf6012e5
DN
39042011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3905
3906 * font-lock.el (font-lock-comment-face): Use the high contrast
3907 "yellow" color for font-lock-comment-face on low color terminals
3908 using a dark background color (bug#4221).
3909
343c3b5a
LMI
39102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3911
7e9505c5
LMI
3912 * dired.el (dired-insert-set-properties): Make the doc string
3913 reflect what it does now (bug#5325).
3914
c26fdcf5
LMI
3915 * simple.el (blink-matching-open): Say that we were unable to find
3916 the match within the limit, if we're limited (bug#5122).
3917
bb388cc5
LMI
3918 * international/mule-cmds.el (prefer-coding-system): Add an
3919 example (bug#4869).
3920
343c3b5a
LMI
3921 * progmodes/etags.el (tags-search): Document `file-list-form'
3922 (bug#4731).
3923
2a517d45
LM
39242011-07-13 Lawrence Mitchell <wence@gmx.li>
3925
3926 * net/browse-url.el (browse-url-default-browser)
3927 (browse-url-browser-function): Make the default browser choice a
3928 bit more logical (bug#4300). Also clean up the doc string.
3929
b6c78ef2
JB
39302011-07-13 Juanma Barranquero <lekktu@gmail.com>
3931
3932 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3933 binary endings (bug#4440).
3934
1c4dd947
LMI
39352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3936
a2014063
LMI
3937 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3938 which can be pretty annoying (bug#8971).
3939
9c9c2d88
LMI
3940 * jka-compr.el (jka-compr-verbose): New variable, and use
3941 throughout (bug#8971).
3942
1c4dd947
LMI
3943 * info.el (Info-find-file): Fall back on the installation
3944 directory if we can't find the info node anywhere else.
3945
a1c9f41b
SO
39462011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3947
3948 * vc/vc.el (vc-revert-file):
3949 Don't set file time-stamp in the past. (Bug#5181)
3950
536f3d36
LMI
39512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3952
7152b011
LMI
3953 * files.el (after-find-file): Give a better error message when
3954 trying to find a symlink that points to a file that doesn't exist
3955 (bug#4398).
3956
536f3d36
LMI
3957 * progmodes/cc-vars.el: Remove (probably) misleading comment
3958 (bug#4396).
3959
460c0fba
JB
39602011-07-12 Johan Bockgård <bojohan@gnu.org>
3961
3962 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3963
7a6bda45
CY
39642011-07-12 Chong Yidong <cyd@stupidchicken.com>
3965
3966 * mouse-sel.el: Hack restoring functionality, while keeping
3967 compatibility with 2010-07-03 changes to mouse selection.
3968 (mouse-sel-primary-overlay): New var.
3969 (mouse-sel-selection-alist): Use it.
3970 (mouse-sel-mode): Doc fix; remove points that are default features
3971 of mouse.el.
3972
c79598ef
JB
39732011-07-12 Johan Bockgård <bojohan@gnu.org>
3974
3975 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3976 Fix previous fix (bug#2490).
3977
ff8be6ef
RW
39782011-07-12 Roland Winkler <winkler@gnu.org>
3979
b796c9b7
SM
3980 * textmodes/bibtex.el (bibtex-initialize):
3981 Use pop-to-buffer-same-window.
ff8be6ef
RW
3982 (bibtex-search-entries): Fix interactive call.
3983
296ba3ee
LMI
39842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3985
f5242a02 3986 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3987 Fontise bytecomp Error lines more correctly (bug#2490).
3988 Fix suggested by Johan Bockgård.
f5242a02 3989
296ba3ee
LMI
3990 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3991
3992 * dired-x.el (dired-guess-default): Use `delete-dups'.
3993
f69fd0d2
CY
39942011-07-12 Chong Yidong <cyd@stupidchicken.com>
3995
3996 * dired.el (dired-mark-prompt):
3997 * dired-aux.el (dired-read-shell-command): Doc fix.
3998
eab5dc07
LMI
39992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4000
b796c9b7
SM
4001 * mail/sendmail.el (sendmail-query-once):
4002 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4003 emacs -Q.
4004
4005 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4006
eab5dc07
LMI
4007 * cus-edit.el (custom-file): Take an optional no-error variable.
4008 (customize-save-variable): Set the variable, and give a warning if
4009 running under "emacs -q".
4010
a1e65d42
JB
40112011-07-11 Juanma Barranquero <lekktu@gmail.com>
4012
4013 * loadhist.el (unload-feature-special-hooks):
4014 Add `auto-coding-functions', `fill-nobreak-predicate' and
4015 `find-directory-functions' (bug#5327).
4016
1d52da10
LMI
40172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4018
be958f1d
LMI
4019 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4020
5bedb26c
LMI
4021 * cus-edit.el (custom-guess-name-alist): -alist variables should
4022 use the `alist' type (bug#3120). Suggested by Drew Adams.
4023
1d52da10
LMI
4024 * printing.el: Add documentation to all the `pr-toggle-' commands.
4025
481a51b6
LL
40262011-07-11 Leo <sdl.web@gmail.com> (tiny change)
4027
4028 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4029 backends where it makes sense (bug#2623).
4030
dcc88d8a
LMI
40312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4032
c3de9feb
LMI
4033 * dired-x.el (dired-guess-default): Remove duplicate shell command
4034 entries (bug#2028).
8a93078b 4035 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4036 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4037
dcc88d8a
LMI
4038 * subr.el (remove-duplicates): New conveniency function.
4039
505e3645
LMI
40402011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4041
4042 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4043 (bug#1526).
4044
40452011-07-10 Martin Rudalics <rudalics@gmx.at>
4046
4047 * window.el (display-buffer-normalize-default): Don't invert
4048 meaning of even-window-heights. Reported by Eli Zaretskii
4049 <eliz@gnu.org>.
4050
455e4fa1
BR
40512011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4052
4053 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4054
8e0bc3e9
CY
40552011-07-10 Chong Yidong <cyd@stupidchicken.com>
4056
4057 * window.el (display-buffer): Fix arguments to
4058 display-buffer-reuse-window in last change.
4059
fa7c3228
CY
4060 * faces.el (link): Use a less saturated blue on light backgrounds.
4061
4062 * startup.el (fancy-startup-text, fancy-about-text)
4063 (fancy-startup-tail): Use font-lock faces, for background safety.
4064
c0a7f300
BN
40652011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4066
b796c9b7
SM
4067 * emulation/viper-cmd.el (viper-change-state-to-vi):
4068 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4069
4dc2a129
MR
40702011-07-09 Martin Rudalics <rudalics@gmx.at>
4071
4072 * window.el (display-buffer-default-specifiers): Remove.
4073 (display-buffer-macro-specifiers): Remove default specifiers.
4074 (display-buffer-alist): Default to nil.
b796c9b7 4075 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4076 (display-buffer-pop-up-window): Allow splitting internal
4077 windows. Check whether a live window was created.
4078 (display-buffer-other-window-means-other-frame)
4079 (display-buffer-normalize-arguments): Rename to
4080 display-buffer-normalize-argument and rewrite. Set the
4081 other-window specifier.
4082 (display-buffer-normalize-special): New function.
4083 (display-buffer-normalize-options): Rename to
4084 display-buffer-normalize-default and rewrite.
4085 (display-buffer-normalize-options-inhibit): Remove.
4086 (display-buffer-normalize-specifiers): Rewrite.
4087 (display-buffer): Process other-window specifier and call
4088 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4089 more faithfully.
b796c9b7 4090 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 4091 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
4092 (display-buffer-in-window, display-buffer-alist-set):
4093 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
4094 <tassilo@member.fsf.org>.
4095
2d43b8c9
LL
40962011-07-09 Leo Liu <sdl.web@gmail.com>
4097
4098 * register.el (insert-register): Restore accidental change on
4099 2011-06-26. (Bug#9028)
4100
7f9b7c53
GM
41012011-07-09 Glenn Morris <rgm@gnu.org>
4102
4103 * subr.el (remq): Handle the empty list. (Bug#9024)
4104
f042cfd8
AS
41052011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4106
4107 * mail/sendmail.el (send-mail-function): No longer delay custom
4108 initialization.
4109 * custom.el (custom-initialize-delay): Doc fix.
4110
856b2f11
SM
41112011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4112
4113 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4114
afae1d68
MA
41152011-07-08 Michael Albinus <michael.albinus@gmx.de>
4116
4117 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4118 human-friendly prompt.
4119
0757af94
SM
41202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4123 provided by a particular plugin.
4124
d760b731
LMI
41252011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4126
4127 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4128 save customizations (with "emacs -Q"), just set the variable
4129 instead of erroring out.
4130
4131 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4132
cd79ce90
JL
41332011-07-08 Juri Linkov <juri@jurta.org>
4134
4135 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4136 (archive-zip-update-case): Use 7z if found by `executable-find'.
4137 The order of searching the available programs is the same as in
4138 `archive-zip-extract' (bug#8968).
4139
14cc04aa
CY
41402011-07-07 Chong Yidong <cyd@stupidchicken.com>
4141
4142 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4143 (menu-bar-options-menu): Tweak descriptions.
4144
0a1848ec
LMI
41452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4146
4147 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4148 menu items into verb phrases (bug#1421). Also refill to fit under
4149 80 columns.
4150
f5bd0689
CY
41512011-07-07 Chong Yidong <cyd@stupidchicken.com>
4152
538e85c6
CY
4153 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4154 (Info-read-node-name): Doc fix (Bug#1084).
4155
f5bd0689
CY
4156 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4157 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4158 (end-of-sexp, beginning-of-sexp)
4159 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4160 (forward-symbol, forward-same-syntax, word-at-point)
4161 (sentence-at-point): Doc fix (Bug#1144).
4162
56ec5115
LMI
41632011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4164
f3f8e37f
LMI
4165 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4166 should cover it (bug#1281).
4167
0757af94 4168 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 4169
e9fce1ac 4170 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
4171 negotiation fails, then possibly try again with a non-encrypted
4172 connection (bug#9017).
4173
56ec5115
LMI
4174 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4175 be used.
4176
c2f9aec8
RS
41772011-07-07 Richard Stallman <rms@gnu.org>
4178
4179 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4180 property, and handle its changed format.
4181 Look for the correct line number.
4182 Use file's line contents (but not past first =) to find
4183 correct line in message.
4184
ef7b981d 41852011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
4186
4187 * international/characters.el (build-unicode-category-table):
4188 Delete it.
0757af94 4189 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 4190
0757af94 4191 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
4192 to src/chartab.c.
4193 (get-char-code-property): Call unicode-property-table-internal to
4194 load a file. Call get-unicode-property-internal where necessary.
4195 (put-char-code-property): Call unicode-property-table-internal to
4196 load a file. Call put-unicode-property-internal where necessary.
4197 put-unicode-property-internal where necessary.
0757af94
SM
4198 (char-code-property-description):
4199 Call unicode-property-table-internal to load a file.
c805dec0
KH
4200
4201 * international/charprop.el:
4202 * international/uni-bidi.el:
4203 * international/uni-category.el:
4204 * international/uni-combining.el:
4205 * international/uni-comment.el:
4206 * international/uni-decimal.el:
4207 * international/uni-decomposition.el:
4208 * international/uni-digit.el:
4209 * international/uni-lowercase.el:
4210 * international/uni-mirrored.el:
4211 * international/uni-name.el:
4212 * international/uni-numeric.el:
4213 * international/uni-old-name.el:
4214 * international/uni-titlecase.el:
4215 * international/uni-uppercase.el: Regenerate.
4216
4217 * loadup.el: Load international/charprop.el before
4218 international/characters.
4219
e14b388a
CY
42202011-07-07 Chong Yidong <cyd@stupidchicken.com>
4221
4222 * window.el (next-buffer, previous-buffer): Signal an error if
4223 called from a minibuffer window.
4224
4225 * bindings.el: Revert 2011-07-04 change.
4226
354cf0ba
RS
42272011-07-06 Richard Stallman <rms@gnu.org>
4228
4229 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4230 (rmail-mime-insert-bulk, rmail-mime-insert-text):
4231 Treat markers like ints.
4232 (rmail-mime-entity): Doc fix.
4233
a48868a7
LMI
42342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4235
4906cd3d
LMI
4236 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4237 defcustom again for backwards compatibility.
4238
e0457abe
LMI
4239 * simple.el (shell-command-on-region): Fill.
4240
d67f7e1f
LMI
4241 * dired-aux.el (dired-kill-line): Add a doc string.
4242
fe204702
LMI
4243 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4244 to "\\sw\\|\\s_" (bug#358).
4245
a48868a7
LMI
4246 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4247 (dired-unmark-backward): Ditto.
4248 (dired-flag-backup-files): Ditto.
4249
4250 * dired-x.el (dired-mark-sexp): Ditto.
4251
aa8a705c
RS
42522011-07-06 Richard Stallman <rms@gnu.org>
4253
4254 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4255 (rmail-mime-entity): New arg TRUNCATED.
4256 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4257 New functions.
4258 (rmail-mime-save): Warn if entity is truncated.
4259 (rmail-mime-toggle-hidden): Likewise, for showing.
4260 (rmail-mime-process-multipart): Record when an entity is truncated.
4261
a9a936b9
RS
4262 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
4263 if ENTITY is a string.
4264
1f2b92cb
LMI
42652011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4266
f4f73198 4267 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
4268 of faces when `M-C-x'-ing their definitions (bug#8378).
4269 Also clean up the code slightly.
f4f73198 4270
12b16734 4271 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 4272 because that makes the colors go away.
12b16734 4273
f0691d22
LMI
4274 * mail/sendmail.el (send-mail-function): Change the default to
4275 `sendmail-query-once'.
9e87df06 4276 (sendmail-query-once): Add an autoload cookie.
f0691d22 4277
1f2b92cb
LMI
4278 * net/network-stream.el (network-stream-open-starttls): Try using
4279 a plain connection even if the server offered STARTTLS, and we
4280 kinda wanted to use it, if Emacs doesn't have any STARTTLS
4281 capability. This should make smtpmail.el work in slightly more
4282 configurations.
4283
1cdd2a1b
MA
42842011-07-06 Michael Albinus <michael.albinus@gmx.de>
4285
4286 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4287 New defun.
4288 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
4289
fbcc67e2
MM
42902011-07-06 Michael R. Mauger <mmaug@yahoo.com>
4291
4292 * progmodes/sql.el: Version 3.0
0757af94 4293 (sql-product-alist): Add product :completion-object,
fbcc67e2 4294 :completion-column, and :statement attributes.
0757af94 4295 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 4296 (sql-mode-syntax-table): Mark all punctuation.
0757af94 4297 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
4298 ansi keywords.
4299 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 4300 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
4301 (sql-oracle-show-reserved-words): New function for development.
4302 (sql-product-font-lock): Simplify for source code buffers.
4303 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
4304 New functions.
4305 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
4306 (sql-mode-map): Add statement movement functions.
4307 (sql-ansi-statement-starters, sql-oracle-statement-starters):
4308 New variable.
fbcc67e2
MM
4309 (sql-statement-regexp, sql-beginning-of-statement)
4310 (sql-end-of-statement, sql-signum): New functions.
0757af94 4311 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
4312 (sql-show-sqli-buffer): Bug fix.
4313 (sql-interactive-mode): Store connection data as buffer local.
0757af94 4314 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
4315 with sql-interactive-mode.
4316 (sql-save-connection): Save buffer local settings.
0757af94 4317 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
4318 (sql-product-interactive): Bug fix.
4319 (sql-preoutput-hold): New variable.
4320 (sql-interactive-remove-continuation-prompt): Bug fixes.
4321 (sql-debug-redirect): New variable.
4322 (sql-str-literal): New function.
4323 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 4324 Redesign.
fbcc67e2
MM
4325 (sql-oracle-save-settings, sql-oracle-restore-settings)
4326 (sql-oracle-list-all, sql-oracle-list-table): New functions.
4327 (sql-completion-object, sql-completion-column)
4328 (sql-completion-sqlbuf): New variables.
4329 (sql-build-completions-1, sql-build-completions)
4330 (sql-try-completion): New functions.
4331 (sql-read-table-name): Use them.
4332 (sql-contains-names): New buffer local variable.
4333 (sql-list-all, sql-list-table): Use it.
4334 (sql-oracle-completion-types): New variable.
4335 (sql-oracle-completion-object, sql-sqlite-completion-object)
4336 (sql-postgres-completion-object): New functions.
4337
d4eaeab1
GM
43382011-07-06 Glenn Morris <rgm@gnu.org>
4339
4340 * window.el (pop-to-buffer): Doc fix.
4341
322b7dab 43422011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
4343
4344 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4345
322b7dab 43462011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 4347
322b7dab 4348 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 4349
322b7dab 4350 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 4351
605dd5bf
CY
43522011-07-05 Chong Yidong <cyd@stupidchicken.com>
4353
4354 * button.el (button): Inherit from link face. Suggested by Dan
4355 Nicolaescu.
4356
7dbfa719
SM
43572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4358
3db614b0
SM
4359 * progmodes/gdb-mi.el: Fit in 80 columns.
4360 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4361 switch-to-buffer.
4362
7dbfa719
SM
4363 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4364 if imenu is simply not configured (bug#8941).
4365
919d884a
KM
43662011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
4367
4368 * allout.el (allout-post-undo-hook): New allout outline-change
4369 event hook to signal undo activity.
4370 (allout-post-command-business): Run allout-post-undo-hook if an
4371 undo just occurred.
7dbfa719
SM
4372 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4373 * allout-widgets.el (allout-widgets-after-undo-function):
4374 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
4375 in the vicinity of an undo.
4376 (allout-widgets-mode): Include allout-widgets-after-undo-function
4377 on the new allout-post-undo-hook.
4378
450a0f09
SM
43792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4382 Let define-derived-mode define it.
4383 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4384 cycles of abbrev-table inheritance (bug#8998).
4385
2de69e00
RW
43862011-07-05 Roland Winkler <winkler@gnu.org>
4387
4388 * textmodes/bibtex.el: Add support for biblatex.
4389 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4390 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4391 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4392 (bibtex-entry-alist, bibtex-field-alist): New variables.
4393 (bibtex-entry-field-alist): Obsolete alias for
4394 bibtex-BibTeX-entry-alist.
4395 (bibtex-entry-alist, bibtex-field-alist): New widgets.
4396 (bibtex-set-dialect): New command.
4397 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
4398 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4399 Bind via bibtex-set-dialect.
2de69e00
RW
4400 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4401 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4402 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4403 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4404 Define via bibtex-set-dialect.
450a0f09
SM
4405 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4406 Obey bibtex-no-opt-remove-re.
2de69e00
RW
4407 (bibtex-vec-push, bibtex-vec-incr): New functions.
4408 (bibtex-format-entry, bibtex-field-list)
4409 (bibtex-print-help-message, bibtex-validate)
4410 (bibtex-search-entries): Use new format of bibtex-entry-alist.
4411
2dcdbdd9
SM
44122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * progmodes/compile.el (compilation-goto-locus):
4415 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4416 * bs.el (bs-cycle-next, bs-cycle-previous):
4417 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4418 * bindings.el (mode-line-other-buffer):
4419 * autoinsert.el (auto-insert):
4420 * arc-mode.el (archive-extract):
4421 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4422
b27640fe
JB
44232011-07-05 Juanma Barranquero <lekktu@gmail.com>
4424
4425 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4426 Fix check of `emacs-lock-unlockable-modes'.
4427 Coerce true values of `emacs-lock--try-unlocking' to t.
4428
53bbe3ad
JB
44292011-07-05 Juanma Barranquero <lekktu@gmail.com>
4430
4431 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4432 * emacs-lock.el: New file.
4433
1d3cdbc7
JD
44342011-07-05 Julien Danjou <julien@danjou.info>
4435
4436 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4437 than `boundp' to check if face is set.
4438
9173deec
JB
44392011-07-05 Juanma Barranquero <lekktu@gmail.com>
4440
4441 * register.el (registerv-make):
4442 * window.el (window-min-height): Fix typos in docstrings.
4443
869795d6
JD
44442011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4445
9173deec 4446 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
4447 Update doc string.
4448
b768cdcd
JB
44492011-07-04 Juanma Barranquero <lekktu@gmail.com>
4450
4451 * server.el (server-execute): Catch quit and call
4452 `server-return-error' to pass the error back to emacsclient and
4453 close the connection (bug#8942).
4454
13aa217b
KM
44552011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
4456
4457 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4458 insecure exception for current topic. Also note that auto-saves
4459 are handled differently.
4460
4461 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4462 State variables for tracking auto-save inhibition situation.
4463
4464 (allout-write-contents-hook-handler): Rename from
4465 'allout-write-file-hook-handler', and describe how it depends on
4466 write-contents-functions sensitivity to non-nil value to prevent
4467 file write.
4468
4469 (allout-auto-save-hook-handler): Remove. auto-save does not check
4470 this in individual buffers, only in the starting buffer, so this
4471 is not the right way for us to inhibit auto-save in a buffer
4472 according to its condition.
4473
4474 (allout-mode): Use new allout-write-contents-hook-handler, and
4475 only with write-contents-functions. Remove auto-save provisions -
4476 they're implemented elsewhere.
4477
4478 (allout-before-change-handler): If undo is in progress, note that
4479 for attention of allout-post-command-business.
4480
4481 (allout-post-command-business): If the command we're following was
4482 an undo, check for change in the status of encrypted items and
4483 adjust auto-save inhibitions accordingly.
4484
4485 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4486 according to whether there are or aren't any plain-text topics
4487 pending encryption.
4488
2dcdbdd9
SM
4489 (allout-inhibit-auto-save-info-for-decryption):
4490 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
4491 there are plain-text topics pending encryption.
4492
4493 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4494 buffer-saved-size and some allout state to not inhibit auto-saves
4495 if there are no longer any plain-text topics pending encryption.
4496
0757af94
SM
4497 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4498 No longer provide for exemption of the current topic.
13aa217b 4499
ac89b32c
JL
45002011-07-04 Juri Linkov <juri@jurta.org>
4501
4502 Add 7z operations to delete and save changed members (bug#8968).
4503 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4504 New defcustoms.
4505 (archive-7z-write-file-member): New function.
4506 (archive-7z-summarize): Fix the number of dashes in the
4507 listing output.
4508
8fa39615
SM
45092011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4510
4511 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4512 (bug#8958).
4513
2f11b3f1
CY
45142011-07-04 Chong Yidong <cyd@stupidchicken.com>
4515
d66fef2b
CY
4516 * bindings.el: Ignore next-buffer and previous-buffer in
4517 minibuffer-local-map.
4518
2f11b3f1
CY
4519 * font-lock.el (font-lock-builtin-face): Change light background
4520 color to dark slate blue (Bug#6693).
4521
f932a347
WD
45222011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4523
4524 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4525
c8af70e1
SM
45262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4529 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4530 Add switch-to-buffer.
4531
f158badc
LMI
45322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4533
4534 * isearch.el (isearch-search-fun-function): Clarify further the
4535 meaning of the function returned.
4536
6d95bd46
MA
45372011-07-04 Michael Albinus <michael.albinus@gmx.de>
4538
4539 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4540
4541 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4542 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4543 Use it.
4544 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4545 `tramp-default-remote-path' does not exist.
4546 (tramp-send-command-and-read): New optional argument NOERROR.
4547 (tramp-open-connection-setup-interactive-shell)
4548 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4549 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4550 (tramp-process-sentinel): Flush also process' connection property.
4551 (tramp-sh-handle-start-file-process): Do not set process
4552 sentinel. It is done now ...
4553 (tramp-maybe-open-connection): ... here. (Bug#8929)
4554
909e6b67
MK
45552011-07-04 MON KEY <monkey@sandpframing.com>
4556
4557 * play/animate.el (animate-string): Doc fixes and allow changing
4558 the buffer name (bug#5417).
4559
45602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4561
c8af70e1 4562 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 4563
f34755dc
PE
45642011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4565
396cec72
PE
4566 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4567 This is simpler and helps future-proof the code.
4568 (timer-until): Use time-subtract and float-time.
08235028 4569 (timer--time-less-p): Use time-less-p.
f34755dc 4570
56e6cc31
JB
45712011-07-04 Juanma Barranquero <lekktu@gmail.com>
4572
3abb79e5
JB
4573 * type-break.el (timep): Use the value of `float-time' to avoid a
4574 byte-compiler warning.
4575
56e6cc31
JB
4576 * server.el (server-eval-and-print): Return any result, even nil.
4577
7b9430b4
PE
45782011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4579
4580 * type-break.el: Accept time formats that the builtins accept.
4581 (timep, type-break-time-difference): Accept any format that
4582 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4583 This is simpler and helps future-proof the code.
4584 (type-break-time-difference): Round rather than ignoring
4585 subseconds components.
4586
3034e9e7
LMI
45872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4588
4589 * info.el (Info-apropos-matches): Make non-interactive, since it
4590 doesn't seem to do anything useful as a command (bug#8829).
4591
1485f4c0
CY
45922011-07-03 Chong Yidong <cyd@stupidchicken.com>
4593
4594 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 4595 Move from faces.el.
1485f4c0
CY
4596 (frame-default-terminal-background): New function.
4597
4598 * custom.el (custom-push-theme): Don't record faces in `changed'
4599 theme; this doesn't work correctly for per-frame face settings.
4600 (disable-theme): Use face-set-after-frame-default to reset faces.
4601 (custom--frame-color-default): New function.
4602
9fa3dd45
LMI
46032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4604
c8af70e1 4605 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
4606 (bug#8769).
4607
6cbbc20c
KR
46082011-03-29 Kevin Ryde <user42@zip.com.au>
4609
4610 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4611 `perl-Test2' extend to match possible "fail #N" rep count
4612 (bug#8377).
4613
c7f98048
LMI
46142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4615
65676592
LMI
4616 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4617 `smtpmail-via-smtp' now returns the error instead of nil.
4618
c7f98048
LMI
4619 * isearch.el (isearch-search-fun-function): Clarify the doc string
4620 (bug#8101).
4621
56e6cc31 46222011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
4623
4624 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4625 unnecessary spaces (bug#8987).
4626
2b216704
LMI
46272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4628
4629 * net/network-stream.el (open-network-stream): Use the
4630 :end-of-capability command thoughout.
4631
46322011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4633
4634 * net/network-stream.el (open-network-stream): Add the
4635 :end-of-capability command parameter, used by pop3.el.
4636
36adf6ce
LMI
46372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4638
1ca0da0e
LMI
4639 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4640
fc00f69c
LMI
4641 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4642 for list)" (bug#6475).
4643
28fd8759 4644 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 4645 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
4646 an error (bug#6297).
4647
0dd8b6da
LMI
4648 * man.el (Man-reference-regexp): Allow matching possible
4649 word-wrapped references (bug#6289).
4650
ce1438d6
LMI
4651 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4652 for consistency with the other vc buffers (bug#6197).
4653 (vc-checkin): Ditto.
4654
4655 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4656
36adf6ce
LMI
4657 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4658
e83cc1f7
LMI
46592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4660
8a20ca4c
LMI
4661 * custom.el (defcustom): Clarify that :set is only used in the
4662 Customize user interface (bug#6089).
4663
83319045
LMI
4664 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4665 associated with a file, refuse to run instead of erroring out
4666 (bug#6084).
4667
a8392169
LMI
4668 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4669 the doc string, since it appears that using `fill-column' always
4670 controls the width (bug#7845).
4671
e83cc1f7
LMI
4672 * simple.el (shell-command-on-region): Say where the error output
4673 went if `shell-command-default-error-buffer' is set (bug#6857).
4674
e47ca23b
KM
46752011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4676
4677 * allout.el (allout-yank-processing): Adjust cursor position for
4678 backwards-deleted space.
4679
4680 (allout-rebullet-heading): Register changes with
4681 allout-exposure-changed-hook, so the modified topic is properly
4682 decorated.
4683
5cf56143
LMI
46842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4685
08549772
LMI
4686 * minibuffer.el (completion-in-region): Document PREDICATE
4687 (bug#7136).
4688
48e96771
LMI
4689 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4690 of keyword/argument pairs (bug#6904).
4691
c8af70e1
SM
4692 * replace.el (multi-occur):
4693 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 4694
e17d05e2
LMI
46952011-07-02 Drew Adams <drew.adams@oracle.com>
4696
4697 * dired.el (dired-mark-if): Make the message about whether it's
4698 marking or unmarking clearer (bug#8523).
4699
063b0e45
LMI
47002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4701
4702 * disp-table.el (display-table-print-array): New function.
4703 (describe-display-table): Use it to print the vectors more pretty
4704 (Bug#8859).
4705
28545e04
MR
47062011-07-02 Martin Rudalics <rudalics@gmx.at>
4707
4708 * window.el (window-state-get-1): Don't assign clone numbers.
4709 Add clone-of item to list of window parameters.
4710 (window-state-put-2): Don't process clone numbers.
4711 (display-buffer-alist): Fix doc-string.
4712
3349e122
SM
47132011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4714
4715 * subr.el (remq): Don't allocate if it's not needed.
4716 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4717 (keymap--merge-bindings): New functions.
4718 (keymap-canonicalize): Use them to refine the canonicalization.
4719 * minibuffer.el (minibuffer-local-completion-map)
4720 (minibuffer-local-must-match-map): Move initialization from C.
4721 (minibuffer-local-filename-completion-map): Move initialization from C;
4722 don't inherit from anything here.
4723 (minibuffer-local-filename-must-match-map): Make obsolete.
4724 (completing-read-default): Use make-composed-keymap to combine
4725 minibuffer-local-filename-completion-map with either
4726 minibuffer-local-must-match-map or
4727 minibuffer-local-filename-completion-map.
4728
d224ac83
GM
47292011-07-01 Glenn Morris <rgm@gnu.org>
4730
3de63bf8
GM
4731 * type-break.el (type-break-time-sum): Use dolist.
4732
d224ac83
GM
4733 * textmodes/flyspell.el (flyspell-word-search-backward):
4734 Replace CL function.
4735
1a1e3f32
SM
47362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4737
fe3f64d5
SM
4738 * mouse.el (mouse--strip-first-event): New function.
4739 (function-key-map): Use it to map fringe clicks to normal clicks
4740 by default.
4741
eb604e34
SM
4742 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4743 (vc-bzr-revision-completion-table): Add support for annotate and date.
4744
1a1e3f32
SM
4745 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4746 inherit from parent.
4747
5bd35902
LMI
47482011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4749
ace6c69c 4750 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 4751 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 4752
191e2bed
LMI
4753 * dired.el (dired-mode): Fix up the doc string as suggested by
4754 Drew Adams (bug#8817).
4755
5bd35902
LMI
4756 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4757 cookie, since the manual says that it should be possible to add
4758 this function to `find-file-hook' (bug#8709).
4759
eee8207a
TZ
47602011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4761
4762 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4763 here. Noted Ted Zlatanov as the maintainer.
4764 (cfengine-common-settings, cfengine-common-syntax): New functions
4765 to set up common things between `cfengine-mode' and
4766 `cfengine3-mode'.
4767 (cfengine3-mode): New mode.
4768 (cfengine3-defuns cfengine3-defuns-regex
4769 (cfengine3-class-selector-regex cfengine3-category-regex)
4770 (cfengine3-vartypes cfengine3-font-lock-keywords)
4771 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 4772 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 4773
36b148cf
MA
47742011-07-01 Michael Albinus <michael.albinus@gmx.de>
4775
4776 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4777
4778 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4779
0bf4ba9a
MR
47802011-07-01 Martin Rudalics <rudalics@gmx.at>
4781
4782 * window.el (same-window-buffer-names, same-window-regexps)
4783 (same-window-p, special-display-frame-alist)
4784 (special-display-popup-frame, special-display-function)
4785 (special-display-buffer-names, special-display-regexps)
4786 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4787 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4788 (split-window-preferred-function, split-height-threshold)
4789 (split-width-threshold, even-window-heights)
4790 (display-buffer-mark-dedicated, window-splittable-p)
4791 (split-window-sensibly, window-safely-shrinkable-p):
4792 Un-obsolete.
4793 (display-buffer): Don't spread args with function specifier
4794 because special-display-popup-frame won't like it.
4795
35837f51
PE
47962011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4797
d0672f86
PE
4798 Time-stamp simplifications and fixes.
4799 These improve accuracy slightly, and future-proof the code
4800 against some potential changes to current-time format.
4801
b9444d97
PE
4802 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4803 by using time-since and float-time.
4804
0ef923dc
PE
4805 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4806 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4807 + NNN microseconds".
4808
2f81380d
PE
4809 * type-break.el (type-break-time-sum): Rewrite using time-add.
4810
845b5c3e
PE
4811 * play/hanoi.el (hanoi-current-time-float): Remove.
4812 All uses replaced by float-time.
4813
ee6f1be0
PE
4814 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4815 This yields a more-accurate answer.
4816 (rng-time-to-float): Remove; no longer needed.
4817
fe955043
PE
4818 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4819
5777162a
PE
4820 * calendar/timeclock.el (timeclock-seconds-to-time):
4821 Defalias to seconds-to-time, since they're the same thing.
4822
3103f8b6 4823 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 4824 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
4825 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4826
0e61a35f
SM
48272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4828
4829 * window.el (bury-buffer): Don't iconify the only frame.
4830 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4831 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4832
ddd63a1e
CY
48332011-07-01 Chong Yidong <cyd@stupidchicken.com>
4834
0e61a35f
SM
4835 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4836 Add mouse-yank-primary.
ddd63a1e 4837
055f4923
TZ
48382011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4839
4840 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4841
6a2fb145
SM
48422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4843
4844 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4845 (find-library-name): Use it to find relative load names when provided
4846 absolute file name (bug#8803).
4847
fd4983f2
LMI
48482011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4849
887d14ad
LMI
4850 * textmodes/flyspell.el (flyspell-word): Consider words that
4851 differ only in case as potential doublons (bug#5687).
4852
c53dc7fc
LMI
4853 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4854 Remove two rather uninteresting debugging-like messages to make
4855 debbugs.el more silent.
4856
fd4983f2
LMI
4857 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4858 a password-like phrase.
4859
b14c0c55
AM
48602011-06-30 Mastake YAMATO <yamato@redhat.com>
4861
4862 * progmodes/cc-guess.el: New file.
4863
6a2fb145 4864 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
4865
4866 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4867 derived from `c-basic-common-init'.
4868
4869 * progmodes/cc-mode.el (top-level): Require cc-guess.
4870 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4871
1fa280a3
LM
48722011-06-30 Lawrence Mitchell <wence@gmx.li>
4873
4874 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4875
e6597158
AM
48762011-06-30 Alan Mackenzie <acm@muc.de>
4877
1fa280a3
LM
4878 * progmodes/cc-engine.el (c-guess-continued-construct):
4879 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4880 lock is disabled. Name this case as "CASE G".
4881
68ba37fb
KM
48822011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4883
4884 * allout.el (allout-yank-processing): Fix injection of extra space
4885 between bullet and non-whitespace character in first topic when
4886 pasting, ensuring that the actual spacing in the pasted topic
4887 following the bullet char is preserved. This extra space was
4888 causing pasted encrypted topics to get a decrypted status even
4889 when the content was actually still encrypted. Now the decryption
4890 status from before the paste is preserved.
4891
4892 (allout-flag-region): Set all allout overlays so they evaporate
4893 when reduced to zero length (evanescent), to prevent overlay
4894 leakage.
4895
887a0b34
GM
48962011-06-30 Glenn Morris <rgm@gnu.org>
4897
94b9acce
GM
4898 * w32-fns.el (w32-charset-info-alist): Declare.
4899
1d9b46d4
GM
4900 * find-dired.el (find-grep-options): Simplify.
4901
cc232200
GM
4902 * term/ns-win.el (ns-set-resource): Declare.
4903
28e77c46
GM
4904 * ses.el (row, col): Declare dynamic variables honestly.
4905
887a0b34
GM
4906 * textmodes/reftex-parse.el (index-tags): Declare.
4907
658d8eb8
CY
49082011-06-30 Chong Yidong <cyd@stupidchicken.com>
4909
4910 * cus-edit.el (customize-push-and-save): New function.
4911
4912 * files.el (hack-local-variables-confirm): Use it.
4913
1fa280a3
LM
4914 * custom.el (load-theme): New arg NO-CONFIRM.
4915 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4916 (custom-enabled-themes): Doc fix.
4917
4918 * cus-theme.el (customize-create-theme)
4919 (custom-theme-merge-theme): Callers to load-theme changed.
4920
bb617717
LMI
49212011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4922
d61bdd5d
LMI
4923 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4924 short URLs have at least one dot in them (bug #7614).
4925
bb617717
LMI
4926 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4927 nil, because using a pty is apparently too slow (bug #895).
4928
2f31f37a
LMI
49292011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4930
4931 * mail/sendmail.el (sendmail-query-once): New function.
4932 (sendmail-query-once-function): New variable.
4933
3076b24e
GM
49342011-06-29 Glenn Morris <rgm@gnu.org>
4935
faf2a174
GM
4936 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4937
3076b24e
GM
4938 * ses.el (top-level): Require cl when compiling.
4939 (ses-set-localvars): Fix error statement.
4940 Call it at compile time to silence a storm of warnings.
4941
5386012d
MR
49422011-06-29 Martin Rudalics <rudalics@gmx.at>
4943
4944 * window.el (normalize-live-buffer): Rename to
4945 window-normalize-buffer.
4946 (normalize-live-frame): Rename to window-normalize-frame.
4947 (normalize-any-window): Rename to window-normalize-any-window.
4948 (normalize-live-window): Rename to window-normalize-live-window.
4949 (make-window-atom): Rename to window-make-atom.
4950 (window-resize-reset): Rename to window--resize-reset.
4951 (window-resize-reset-1): Rename to window--resize-reset-1.
4952 (resize-mini-window): Rename to window--resize-mini-window.
4953 (resize-subwindows-skip-p): Rename to
4954 window--resize-subwindows-skip-p.
4955 (resize-subwindows-normal): Rename to
4956 window--resize-subwindows-normal.
4957 (resize-subwindows): Rename to window--resize-subwindows.
4958 (resize-other-windows): Rename to window--resize-siblings.
4959 (resize-this-window): Rename to window--resize-this-window.
4960 (resize-root-window): Rename to window--resize-root-window.
4961 (resize-root-window-vertically): Rename to
4962 window--resize-root-window-vertically.
4963 (normalize-buffer-to-display): Rename to
4964 window-normalize-buffer-to-display.
4965 (normalize-buffer-to-switch-to): Rename to
4966 window-normalize-buffer-to-switch-to.
4967 Correspondingly update all callers of the functions listed
4968 above.
4969 (display-buffer-alist, display-buffer-normalize-arguments)
4970 (display-buffer-normalize-options, display-buffer)
4971 (display-buffer-alist-set): Use "function" instead of
4972 "fun-with-args".
4973
1176868d
CY
49742011-06-28 Chong Yidong <cyd@stupidchicken.com>
4975
4976 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4977 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4978 debbugs.gnu.org. Mention acknowledgment email.
4979
20a7a65f
LMI
49802011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4981
4982 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4983 buffer multibyteness, since it shouldn't matter.
4984
5f45cca5
MR
49852011-06-28 Martin Rudalics <rudalics@gmx.at>
4986
4987 * window.el (display-buffer-in-side-window): Handle dedicated
4988 windows as in display-buffer-reuse-window.
4989 (display-buffer-normalize-alist): Use value of override
4990 specifier.
4991 (display-buffer-normalize-specifiers): Use value of
4992 other-window-means-other-frame specifier.
4993 (display-buffer-alist): Rewrite some texts in widgets.
4994 (display-buffer): Spread arguments when calling function
4995 specified by fun-with-args.
4996
ad85fe1f
DD
49972011-06-28 Deniz Dogan <deniz@dogan.se>
4998
1fa280a3
LM
4999 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5000 Unnest `let'.
da68c4c8 5001
ad85fe1f
DD
5002 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5003 selectors (Bug#5732).
ec49bd31 5004 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5005
a08cc025
JA
50062011-06-27 Jari Aalto <jari.aalto@cante.net>
5007
5008 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5009 (eshell-ls-date-format): New defcustom.
5010 (eshell-ls-file): Use it.
5011
e2b551c5
SM
50122011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5015
8982b231
KY
50162011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5017
5018 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5019 (ange-ftp-make-tmp-name): New arg.
5020 (ange-ftp-file-local-copy): Use it.
5021
36c9fa27
J
50222011-06-27 Jambunathan K <kjambunathan@gmail.com>
5023
5024 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5025 no-conversion (Bug#8870).
5026
d68443dc
MR
50272011-06-27 Martin Rudalics <rudalics@gmx.at>
5028
5029 * window.el (window-right, window-left, window-child)
5030 (window-child-count, window-last-child)
5031 (window-iso-combination-p, walk-window-tree-1)
5032 (window-atom-check-1, window-tree-1, delete-window)
5033 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5034 new naming conventions - window-vchild, window-hchild,
5035 window-next and window-prev are now called window-top-child,
5036 window-left-child, window-next-sibling and window-prev-sibling
5037 respectively.
d615d6d2
MR
5038 (resize-window-reset): Rename to window-resize-reset.
5039 (resize-window-reset-1): Rename to window-resize-reset-1.
5040 (resize-window): Rename to window-resize.
5041 (window-min-height, window-min-width)
5042 (resize-mini-window, resize-this-window, resize-root-window)
5043 (resize-root-window-vertically, adjust-window-trailing-edge)
5044 (enlarge-window, shrink-window, maximize-window)
5045 (minimize-window, delete-window, quit-restore-window)
5046 (split-window, balance-windows, balance-windows-area-adjust)
5047 (balance-windows-area, window-state-put-2)
5048 (display-buffer-even-window-sizes, display-buffer-set-height)
5049 (display-buffer-set-width, set-window-text-height)
5050 (fit-window-to-buffer): Rename all "resize-window" prefixed
5051 calls to use the "window-resize" prefix convention.
5052 (display-buffer-alist): Fix symbol for label specifier.
5053 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5054 corresponding specifier.
5055 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 5056
b6458526
VB
50572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5058
5059 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5060 convention.
5061 (ses-call-printer): Does not pass an empty string to formatter when the
5062 cell is empty to keep from barking printer Calc math-format-value.
5063
d31fd9ac
RS
50642011-06-27 Richard Stallman <rms@gnu.org>
5065
43d5bf84
RS
5066 * battery.el (battery-mode-line-limit): New variable.
5067 (battery-update): Handle it.
5068
d31fd9ac
RS
5069 * mail/rmailmm.el (rmail-mime-process-multipart):
5070 Handle truncated messages.
5071
819a6054
GM
50722011-06-27 Glenn Morris <rgm@gnu.org>
5073
5074 * progmodes/flymake.el (flymake-err-line-patterns):
5075 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5076
cedc73f2
VB
50772011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5078
819a6054 5079 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
5080 (ses--clean-!, ses--clean-_): New functions.
5081 (ses-range): Add configurability of readout order, and conversion
5082 to Calc vector.
5083
5e5d49b6
VB
5084 * ses.el (ses-repair-cell-reference-all): New function.
5085 (ses-cell-symbol): Set macro as safe, so that it can be used in
5086 formulas.
5087
56e6cc31 5088 * ses.el: Update cycle detection algorithm.
90ca8b49 5089 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 5090 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
5091 (ses-set-localvars): New function.
5092 (ses-make-cell): Add property-list as a cell element.
5093 (ses-cell-property-get-fun, ses-cell-property-get)
5094 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
5095 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5096 New functions.
90ca8b49
VB
5097 (ses-cell-property-set, ses-cell-property-pop)
5098 (ses-cell-property-get-handle): New macro.
5099 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5100 New aliases, used for code readability.
5101 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5102 cycle detection.
5103 (ses-self-reference-early-detection): New defcustom.
5104 (ses-formula-references): Robustify against self-refering cells.
5105 (ses-mode): Use ses-set-localvars.
5106 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5107 before lauching the update processing.
5108 (ses-initialize-Dijkstra-attempt): New function.
5109 (ses-recalculate-cell): Update for cycle detection based on
5110 Dijkstra algorithm.
5111
2bb63e81
VB
5112 * ses.el: Fix commenting and indenting convention.
5113
c9d29fb8
SM
51142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 * bs.el (bs-cycle-next): Complete last change.
5117
d8e4b68b
JB
51182011-06-27 Drew Adams <drew.adams@oracle.com>
5119
5120 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5121
40098786
LMI
51222011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5123
c9d29fb8
SM
5124 * net/network-stream.el (network-stream-open-starttls):
5125 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
5126 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5127
40098786
LMI
5128 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5129 to binary to possibly avoid line encoding issues on Windows (among
5130 other things).
5131
468d09d4
LMI
51322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5133
5134 * net/network-stream.el (open-network-stream): Return an :error
5135 saying what the problem was, if possible.
5136
5137 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5138 server.
5139
5140 * net/network-stream.el (network-stream-open-starttls): If we
5141 wanted to use STARTTLS, and the server offered it, but we weren't
5142 able to because we had no STARTTLS support, then close the connection.
5143 (open-network-stream): Return an :error element, if present.
5144
16f07dd7
CY
51452011-06-26 Chong Yidong <cyd@stupidchicken.com>
5146
88821ca0
CY
5147 * hl-line.el (hl-line-sticky-flag): Doc fix.
5148 (global-hl-line-sticky-flag): New option (Bug#8323).
5149 (global-hl-line-highlight): Obey it.
5150
16f07dd7
CY
5151 * vc/vc.el (vc-revert-show-diff): Default to t.
5152
6b5ccddf
KM
51532011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5154
c9d29fb8
SM
5155 * allout-widgets.el (allout-widgets-post-command-business):
5156 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
5157 undecorated when an isearch is continued past, and isearch
5158 automatically collapses them. This leads to "widget leaks", where
5159 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
5160 hidden widgets can slow down cursor travel, substantially.
5161 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
5162 so we're doing without this nicety.
5163
5164 (allout-widgets-tally-string): Don't try to do a hash-table-count
5165 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5166 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5167 *Messages* when allout-widgets-maintain-tally is t.
5168
355f2e07
MR
51692011-06-26 Martin Rudalics <rudalics@gmx.at>
5170
5171 * window.el (display-buffer-normalize-argument): Rename to
5172 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
5173 LABEL argument. Respect special-display-function when popping up
5174 a new frame. Fix code searching for a window showing the buffer
5175 on another frame.
c9d29fb8
SM
5176 (display-buffer-normalize-specifiers):
5177 Call display-buffer-normalize-arguments.
355f2e07
MR
5178 (display-buffer-in-window): Don't undedicate the window if its
5179 buffer remains the same.
5180 Reported by Drew Adams <drew.adams@oracle.com>.
5181 (display-buffer-alist): Add choice for same-window macro
5182 specfier.
5183 (display-buffer): Mention special meaning of LABEL argument in
5184 doc-string. Fix quoting. Don't pop up a new frame even as
5185 fallback.
5186
7ca8fc42
JB
51872011-06-26 Juanma Barranquero <lekktu@gmail.com>
5188
5189 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5190 avoid deleting the current window in some cases (bug#8911).
5191
bc312254
AS
51922011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5193
5194 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5195 (Bug#8934)
5196
2db18f3f
LMI
51972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5198
c9d29fb8
SM
5199 * net/network-stream.el (network-stream-open-starttls):
5200 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
5201 (network-stream-open-tls): Ditto.
5202
6302e0d3
LL
52032011-06-26 Leo Liu <sdl.web@gmail.com>
5204
5205 * register.el (registerv): New struct.
5206 (registerv-make): New function.
c9d29fb8
SM
5207 (jump-to-register, describe-register-1, insert-register):
5208 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
5209 struct. (Bug#8415)
5210
5fdd4046
CY
52112011-06-26 Chong Yidong <cyd@stupidchicken.com>
5212
2afef60a
CY
5213 * vc/vc.el (vc-revert-show-diff): New defcustom.
5214 (vc-diff-internal): New arg specifying diff buffer.
5215 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5216 reuse an existing *vc-diff* buffer (Bug#8927).
5217
5fdd4046
CY
5218 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5219
e93db24a
GM
52202011-06-26 Glenn Morris <rgm@gnu.org>
5221
5222 * progmodes/f90.el (f90-critical-indent): New option.
5223 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5224 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5225 (f90-mode): Doc fix.
5226 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5227 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5228 (f90-beginning-of-block, f90-next-block, f90-indent-region)
5229 (f90-match-end): Handle block, critical.
5230
eefff499
GM
52312011-06-25 Glenn Morris <rgm@gnu.org>
5232
f6ba4cc9
GM
5233 * calendar/diary-lib.el (diary-included-files): Doc fix.
5234 (diary-include-files): New function, extracted from
5235 diary-include-other-diary-files and diary-mark-included-diary-files.
5236 (diary-include-other-diary-files, diary-mark-included-diary-files):
5237 Just call diary-include-files.
5238 (diary-mark-entries): Reset diary-included-files on first call.
5239
16712304
GM
5240 * calendar/diary-lib.el (diary-mark-entries)
5241 (diary-mark-included-diary-files):
5242 Visit included diary-files in temp buffers.
5243
5d8e0d43
GM
5244 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5245 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5246 (f90-start-block-re, f90-imenu-generic-expression)
5247 (f90-looking-at-program-block-start, f90-no-block-limit):
5248 Add support for submodules.
5249
ccf7a5d5
GM
5250 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5251 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 5252
11fdef7d 52532011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
5254
5255 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5256 buffer-file-type before setting its value, to avoid disastrous
eefff499 5257 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 5258
74f53697
JB
52592011-06-25 Juanma Barranquero <lekktu@gmail.com>
5260
5261 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5262
5263 * ses.el (ses-unload-function):
5264 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
5265
5266 * proced.el (proced-unload-function):
5267 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
5268
18a4ce5e
AR
52692011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
5270
5271 * server.el (server-create-window-system-frame): Add parameters arg.
5272 (server-process-filter): Doc fix. Handle frame-parameters.
5273
519d22cc
JB
52742011-06-25 Juanma Barranquero <lekktu@gmail.com>
5275
5276 Fix bug#8730, bug#8781.
5277
5278 * loadhist.el (unload--set-major-mode): New function.
5279 (unload-feature): Use it.
5280
5281 * progmodes/python.el (python-after-info-look): Add autoload cookie.
5282 (python-unload-function): New function.
5283
c206f5b0
SM
52842011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
5287
f9ad64f3
GS
52882011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
5289
5290 * net/browse-url.el (browse-url-firefox-program): Add icecat to
5291 the candidates list.
5292
7d0da90e
JB
52932011-06-24 Juanma Barranquero <lekktu@gmail.com>
5294
5295 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
5296
14b4e83d
RS
52972011-06-23 Richard Stallman <rms@gnu.org>
5298
5299 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
5300 (rmail-variables): Set next-error-move-function.
5301 (rmail-what-message): Take argument POS.
5302 (rmail-next-error-move): New function.
5303
273d2baf
SM
53042011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
5307 messages for adjacent non-terminals.
5308
56c2cc9a
RS
53092011-06-23 Richard Stallman <rms@gnu.org>
5310
5311 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 5312 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
5313 (rmail-start-mail): Don't specify use of rmail-mail-return;
5314 that's done by mail-bury now.
5315 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 5316
d59eb518
MA
53172011-06-23 Michael Albinus <michael.albinus@gmx.de>
5318
5319 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5320 SIZE is a number.
5321
02cfc6d6
MR
53222011-06-23 Martin Rudalics <rudalics@gmx.at>
5323
5324 * window.el (get-lru-window, get-mru-window)
5325 (get-largest-window): Never return a minibuffer window.
5326 (display-buffer-pop-up-window): Fix a bug that could lead to
5327 reusing the minibuffer window.
5328 (display-buffer): Pass original specifier argument to
5329 display-buffer-function instead of the normalized one.
5330 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5331
4e323265
LL
53322011-06-22 Leo Liu <sdl.web@gmail.com>
5333
5334 * minibuffer.el (completing-read-function)
5335 (completing-read-default): Move from minibuf.c
5336
7a70468f
RS
53372011-06-22 Richard Stallman <rms@gnu.org>
5338
50718fc2
RS
5339 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5340 to Rmail even if not started by a special Rmail command.
5341
7a70468f
RS
5342 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5343 Copy the buffer currently showing just one message.
5344
297dde5a
RW
53452011-06-22 Roland Winkler <winkler@gnu.org>
5346
5347 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5348 (bibtex-clean-entry): First delete the old key so that a
5349 customized algorithm for generating the new key does not get
5350 confused by the old key.
5351 (bibtex-url): Obey regexp of first step.
5352 (bibtex-search-entries): Do not use add-to-list with local
5353 list-var.
5354
97bb1093
LMI
53552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5356
5357 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5358 stored a user name, then query for the password first, instead of
5359 waiting for SMTP to give an error message and the trying again.
5360
1c0f1a19
JD
53612011-06-22 Lawrence Mitchell <wence@gmx.li>
5362
5363 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5364 BUFFER in call-process.
5365
396f7c9d
LMI
53662011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5367
5368 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5369 QUIT twice.
ddb7ffee
LMI
5370 (smtpmail-try-auth-methods): Require user name and password from
5371 auth-source.
396f7c9d 5372
8998d1b3
MR
53732011-06-22 Martin Rudalics <rudalics@gmx.at>
5374
5375 * window.el (display-buffer-default-specifiers)
5376 (display-buffer-alist): Remove entries for pop-up-frame-alist.
5377 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 5378 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
5379
5380 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5381 (special-display-frame-alist, special-display-popup-frame):
5382 Remove duplicate declarations. These are now in window.el.
5383
4ea31e07
LMI
53842011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5385
c9d29fb8
SM
5386 * mail/smtpmail.el (smtpmail-via-smtp):
5387 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
5388 server supports it. SMTP servers that support STARTTLS commonly
5389 require it.
5390
5391 * net/network-stream.el (network-stream-open-starttls): Support
5392 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 5393 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 5394
95f41d9a
LMI
5395 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5396 upgrades with `open-network-stream', and rely solely on
5397 auth-source for all credentials. Big changes throughout the file,
5398 but in particular:
c9d29fb8
SM
5399 (smtpmail-auth-credentials): Remove.
5400 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
5401 (smtpmail-via-smtp): Check for servers saying they want AUTH after
5402 MAIL FROM, too.
95f41d9a 5403
c9d29fb8
SM
5404 * net/network-stream.el (network-stream-open-starttls):
5405 Provide support for client certificates both for external and built-in
4ea31e07
LMI
5406 STARTTLS.
5407 (auth-source): Require.
5408 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
5409 (network-stream-certificate): Change cert-cert to cert and
5410 cert-key to key.
4ea31e07 5411
065ec2c7
MA
54122011-06-21 Michael Albinus <michael.albinus@gmx.de>
5413
5414 * net/tramp-cache.el (top): Don't load the persistency file when
5415 "emacs -Q" has been called.
5416
cd93b359
DR
54172011-06-21 Tim Harper <timcharper@gmail.com>
5418
d8e4b68b
JB
5419 * term/ns-win.el (ns-initialize-window-system):
5420 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
5421 resource to NO as it is not yet supported by the NS port.
5422
ae9c0411
JB
54232011-06-21 Juanma Barranquero <lekktu@gmail.com>
5424
5425 * misc.el (list-dynamic-libraries--refresh): Compute header here...
5426 (list-dynamic-libraries): ...not here.
5427
7f3f739f
LL
54282011-06-21 Leo Liu <sdl.web@gmail.com>
5429
5430 * subr.el (sha1): Implement sha1 using secure-hash.
5431
327c8fb1
MR
54322011-06-21 Martin Rudalics <rudalics@gmx.at>
5433
5434 * window.el (display-buffer-alist): In default value do not
5435 enforce searching a window on any but the selected frame.
5436 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5437 (display-buffer-select-window): Remove function.
5438 (display-buffer-in-window): When a window on another frame gets
5439 reused, do not select it any more but just raise its frame if
5440 necessary (Bug#8851) and (Bug#8856).
5441 (display-buffer-normalize-options): Handle pop-up-frames related
5442 options more faithfully.
5443 (pop-to-buffer): Don't rely on `display-buffer' selecting the
5444 window if it is on another frame.
c9d29fb8
SM
5445 (display-buffer-alist, display-buffer-default-specifiers):
5446 Don't make new frame unsplittable by default.
9e9de014
MR
5447 (display-buffer-normalize-argument): Fix doc-string typo and use
5448 'same-frame-other-window instead of 'other-window when associating
5449 with display-buffer-macro-specifiers.
327c8fb1 5450
7cf3f556
VB
54512011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
5452
5453 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5454 New functions.
5455 (5x5-mode-map, 5x5-mode-menu): Bind them.
5456 (5x5-draw-grid): Tweak the solver's rendering.
5457
60a406cf
SM
54582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5459
5460 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5461 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
5462
d8e4b68b 54632011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
5464
5465 * menu-bar.el: Use function variable instead of switch-to-buffer.
5466 (menu-bar-select-buffer-function): New variable.
60a406cf 5467 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 5468
478d6f95
SM
54692011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5470
5471 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5472 variable's status.
5473
ca530739
JD
54742011-06-20 Jan Djärv <jan.h.d@swipnet.se>
5475
5476 * x-dnd.el (x-dnd-version-from-flags)
5477 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5478 and long as number (Bug#8899).
5479 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5480
bcd70d97
SM
54812011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5482
60a406cf 5483 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
5484 (completion-try-completion, completion-all-completions): Compute the
5485 metadata argument if it's missing; make it optional (bug#8795).
5486
60a406cf 5487 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
5488 (widget-complete): Use new :completion-function property.
5489 (widget-completions-at-point): New function.
5490 (default): Use :completion-function instead of :complete.
60a406cf
SM
5491 (widget-default-completions): Rename from widget-default-complete;
5492 Rewrite.
bcd70d97
SM
5493 (widget-string-complete, widget-file-complete, widget-color-complete):
5494 Remove functions.
5495 (file, symbol, function, variable, coding-system, color):
5496 * international/mule-cmds.el (default-input-method, charset)
5497 (language-info-custom-alist):
5498 * cus-edit.el (face): Use new property :completions.
5499
5500 * progmodes/pascal.el (pascal-completions-at-point): New function.
5501 (pascal-mode): Use it.
5502 (pascal-mode-map): Use completion-at-point.
5503 (pascal-toggle-completions): Make obsolete.
5504 (pascal-complete-word, pascal-show-completions):
5505 * progmodes/octave-mod.el (octave-complete-symbol):
5506 Redefine as obsolete alias.
5507 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5508 Signal absence of completion info for old Octave,
5509 (inferior-octave-complete): Redefine as obsolete alias.
5510 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5511 (meta-completions-at-point): Rename from meta-complete-symbol and
5512 adapt it for use on completion-at-point-functions.
5513 (meta-common-mode): Use it.
5514 (meta-looking-at-backward, meta-match-buffer): Remove.
5515 (meta-complete-symbol): Redefine as obsolete alias.
5516 (meta-common-mode-map): Use completion-at-point.
5517 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5518 (makefile-mode-map): Use completion-at-point.
5519 (makefile-completions-at-point): Rename from makefile-complete and
5520 adapt it for use on completion-at-point-functions.
5521 (makefile-mode): Use it.
5522 (makefile-complete): Redefine as obsolete alias.
5523
aebf69c8
DD
55242011-06-20 Deniz Dogan <deniz@dogan.se>
5525
5526 * net/rcirc.el: Delete trailing whitespaces once and for all.
5527
bfbbb27d
DC
55282011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5529
5530 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5531
d264a46b
CY
55322011-06-19 Chong Yidong <cyd@stupidchicken.com>
5533
4ca009e5
CY
5534 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5535
d264a46b
CY
5536 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5537
fbf5b3ce
MR
55382011-06-19 Martin Rudalics <rudalics@gmx.at>
5539
5540 * window.el (display-buffer-other-window-means-other-frame):
5541 Call display-buffer-normalize-alist.
5542 (display-buffer-normalize-specifiers-1): Rename to
5543 display-buffer-normalize-argument. New argument other-frame.
5544 Rewrite.
5545 (display-buffer-normalize-specifiers-2): Rename to
5546 display-buffer-normalize-options.
5547 (display-buffer-normalize-alist-1): New function.
5548 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
5549 display-buffer-normalize-alist.
5550 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
5551 (display-buffer-normalize-options-inhibit): New variable.
5552 (display-buffer-normalize-specifiers): Rewrite calling
5553 display-buffer-normalize-alist,
5554 display-buffer-normalize-argument, and
5555 display-buffer-normalize-options. Don't call the latter if
5556 display-buffer-normalize-options-inhibit is non-nil.
5557 (frame-auto-delete): New option.
5558 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
5559 (window-list-no-nils, window-state-ignored-parameters)
5560 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
5561 (window-state-put-1, window-state-put-2, window-state-put):
5562 New functions.
9a028c23
MR
5563 (display-buffer-normalize-options): Move special-display-p group
5564 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 5565
6d10d800
CY
55662011-06-18 Chong Yidong <cyd@stupidchicken.com>
5567
6420d28b
CY
5568 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5569 groups (Bug#8776).
5570 (rx-submatch-n): New function.
5571 (rx): Document it.
5572
ddb8b596
CY
5573 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5574 (Bug#8768).
5575
5576 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5577
77080289
CY
5578 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5579
61dfb316
CY
5580 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5581 anytime existing face settings are present (Bug#8889).
5582
6d10d800
CY
5583 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5584 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5585 Remove unused argument.
5586
be3fb2b8
MR
55872011-06-18 Martin Rudalics <rudalics@gmx.at>
5588
bcd70d97
SM
5589 * window.el (display-buffer-default-specifiers):
5590 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
5591 pop-up-window-min-width, and another reuse-window specifier
5592 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
5593 (display-buffer-normalize-specifiers-2):
5594 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
5595 pop-up-windows is unset. Add a reuse-window specifier for the
5596 case popping up a new window fails.
5597 (special-display-popup-frame): Remove double quoting.
28dec25a 5598 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 5599
1c6d8c76
SM
56002011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5601
5602 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5603 according to comint-completion-addsuffix.
5604
5605 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5606 (pcomplete-suffix-list): Mark as obsolete.
5607 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5608 pcomplete-seen in the closure.
5609 (pcomplete-comint-setup): Setup completion-at-point as well.
5610 (pcomplete--entries): New function.
5611 (pcomplete--env-regexp): New var.
5612 (pcomplete-entries): Rewrite to work with partial-completion and
5613 without relying on pcomplete-suffix-list.
5614 (pcomplete-pare-list): Remove, unused.
5615
25aef8b8
MR
56162011-06-17 Martin Rudalics <rudalics@gmx.at>
5617
5618 * window.el (display-buffer-alist): Set pop-up-window-min-height
5619 and pop-up-window-min-width in default value. Reported by
5620 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5621 other-window-means-other-frame.
5622 (display-buffer-macro-specifiers): Comment out entry for
5623 other-window specifier.
5624 (display-buffer-other-window-means-other-frame): New function.
5625 (display-buffer-normalize-specifiers-1): New arguments
5626 buffer-name and label. Treat other-window case specially.
5627 (display-buffer-normalize-specifiers-2): Treat other-window case
5628 specially.
5629 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
5630 (display-buffer-normalize-specifiers):
5631 Call display-buffer-normalize-specifiers-3.
25aef8b8 5632
dbad4f69
MR
56332011-06-17 Martin Rudalics <rudalics@gmx.at>
5634
5635 * window.el (same-window-p): Fix two typos introduced when
5636 adding with-no-warnings.
d1067961
MR
5637 (display-buffer-normalize-specifiers-1): Don't check
5638 pop-up-frames for 'unset initialization.
5639 (display-buffer-normalize-specifiers-2): Major rewrite using
5640 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5641 (pop-up-frames, display-buffer-reuse-frames)
5642 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5643 Suggested by David Engster <deng@randomsample.de>.
5644 (even-window-heights): Initialize to 'unset.
5645 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
5646 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5647 other window case.
dbad4f69 5648
9b9c9e3a
MR
56492011-06-16 Martin Rudalics <rudalics@gmx.at>
5650
bcd70d97
SM
5651 * window.el (display-buffer-normalize-specifiers-1):
5652 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 5653 second argument of display-buffer (Bug#8865).
981d5c09
MR
5654 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5655 (switch-to-buffer-other-window-same-frame)
5656 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5657 Adams (Bug#8875).
9c2755e9
MR
5658 (display-buffer): Don't check noninteractive when calling
5659 display-buffer-pop-up-frame.
5660 (display-buffer-pop-up-frame): Never pop up a frame in
5661 noninteractive mode (Bug#8857).
67222e1d
MR
5662 (enlarge-window, shrink-window): Don't report an error when the
5663 window can't be resized as requested (Bug#8862).
9b9c9e3a 5664
2b75be67
SM
56652011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5666
9ffdd3ba
SM
5667 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5668
cb581a67
SM
5669 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5670
2b75be67
SM
5671 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5672
8c0e3589
AM
56732011-06-15 Alan Mackenzie <acm@muc.de>
5674
cb581a67
SM
5675 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5676 for declarators, disable knr checking to speed up for normal files.
5677 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 5678
b96e6cde
LMI
56792011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5680
4bba86e6
LMI
5681 * net/network-stream.el (open-network-stream): Add the keyword
5682 :always-query-capabilities for the case where you want to force a
5683 `plain' network connection, but the protocol still requires the
5684 capabilitiy command (i.e., SMTP and EHLO).
5685
2b75be67 5686 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
5687 consistency with other `-live-p' functions.
5688
efdcdbf8
SM
56892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5690
5691 * window.el (same-window-buffer-names, same-window-regexps)
5692 (special-display-frame-alist, special-display-popup-frame)
5693 (special-display-function, special-display-buffer-names)
5694 (special-display-regexps, pop-up-frame-alist)
5695 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5696 (pop-up-windows, split-window-preferred-function)
5697 (split-height-threshold, split-width-threshold, even-window-heights)
5698 (display-buffer-mark-dedicated): Don't encourage the use of
5699 display-buffer-alist from Elisp code.
5700
c5cde042
DN
57012011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5702
5703 * progmodes/python.el (python-mode): Derive from prog-mode.
5704 * progmodes/ps-mode.el (ps-mode):
5705 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 5706 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
5707 * progmodes/ld-script.el (ld-script-mode): Likewise.
5708
baa1c9ab
MR
57092011-06-15 Martin Rudalics <rudalics@gmx.at>
5710
5711 * window.el (display-buffer-alist): Trim default value to avoid
5712 popping up a new frame (Bug#8857) or reusing an arbitrary window
5713 on another frame.
5714 (display-buffer): Do not fall back on popping up a new frame in
5715 batch mode (Bug#8857).
5716
c5dd5a51
CY
57172011-06-14 Chong Yidong <cyd@stupidchicken.com>
5718
5719 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5720 (custom-theme-summary): New function.
5721 (customize-themes): Use it.
5722
d647b7c4
GM
57232011-06-13 Glenn Morris <rgm@gnu.org>
5724
5725 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5726
9481c002
MR
57272011-06-13 Martin Rudalics <rudalics@gmx.at>
5728
357f93d2
MR
5729 * help.el (help-window): Remove variable.
5730 (help-window-point-marker, temp-buffer-max-height)
5731 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5732 (help-print-return-message): Don't set help-window.
5733 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5734 (help-window-setup-finish): Remove.
5735 (help-window-display-message, help-window-setup)
5736 (with-help-window): Major rewrite based on new
5737 display-buffer-window variable.
5738
5739 * help-mode.el (help-mode-finish): Remove help-window related
5740 code.
5741
5742 * view.el (view-exits-all-viewing-windows): Remove reference to
5743 view-return-to-alist in doc-string.
5744 (view-return-to-alist): Make obsolete.
5745 (view-buffer): Call pop-to-buffer-same-window and remove
5746 undo-window code.
5747 (view-buffer-other-window): Call pop-to-buffer-other-window and
5748 simplify code. Ignore second argument.
5749 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5750 simplify code. Ignore second argument.
5751 (view-return-to-alist-update): Make obsolete.
5752 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5753 Rewrite using quit-restore window parameters.
2b75be67
SM
5754 (view-mode-exit): Rename second argument to EXIT-ONLY.
5755 Rewrite using quit-restore-window.
357f93d2
MR
5756 (View-exit, View-exit-and-edit, View-leave, View-quit)
5757 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5758 appropriate arguments.
5759 (view-end-message): Use quit-restore window parameter.
5760
9481c002
MR
5761 * window.el (display-buffer-function): Rewrite doc-string.
5762 (display-buffer-window, display-buffer-alist): New variables.
5763 (display-buffer-split-specifiers)
5764 (display-buffer-side-specifiers)
5765 (display-buffer-macro-specifiers): New constants.
5766 (display-buffer-even-window-sizes, display-buffer-set-height)
5767 (display-buffer-set-width, display-buffer-select-window)
5768 (display-buffer-in-window, display-buffer-reuse-window)
5769 (display-buffer-split-window-1, display-buffer-split-window)
5770 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5771 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5772 (display-buffer-in-side-window, normalize-buffer-to-display)
5773 (display-buffer-normalize-specifiers-1)
5774 (display-buffer-normalize-specifiers-2)
2b75be67
SM
5775 (display-buffer-normalize-specifiers, display-buffer-frame):
5776 New functions.
9481c002
MR
5777 (display-buffer): Major rewrite.
5778 (display-buffer-other-window, display-buffer-other-frame)
5779 (pop-to-buffer, switch-to-buffer-other-window)
5780 (switch-to-buffer-other-frame): Rewrite.
5781 (display-buffer-same-window, display-buffer-same-frame)
5782 (display-buffer-same-frame-other-window)
5783 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5784 (pop-to-buffer-other-window)
5785 (pop-to-buffer-same-frame-other-window)
5786 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5787 (switch-to-buffer-other-window-same-frame): New functions.
5788 (same-window-p, special-display-p): Rewrite disabling warnings.
5789 Make obsolete.
5790 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5791 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5792 Make obsolete
5793 (same-window-buffer-names, same-window-regexps)
5794 (special-display-frame-alist, special-display-popup-frame)
5795 (special-display-function, special-display-buffer-names)
5796 (special-display-regexps, pop-up-frame-alist)
5797 (pop-up-frame-function, split-window-preferred-function)
5798 (split-height-threshold, split-width-threshold)
5799 (even-window-heights): Make obsolete.
5800
9db51aca
GM
58012011-06-12 Glenn Morris <rgm@gnu.org>
5802
5803 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 5804 Misc simplifications.
9db51aca 5805
39cffb44
MR
58062011-06-12 Martin Rudalics <rudalics@gmx.at>
5807
5808 * window.el (window-safely-shrinkable-p): Restore function which
5809 was inadvertently removed in change from 2011-06-11. Declare as
5810 obsolete.
5811
2b75be67
SM
5812 * calendar/calendar.el (calendar-generate-window):
5813 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
5814 window-safely-shrinkable-p.
5815
a8955be7
GM
58162011-06-12 Glenn Morris <rgm@gnu.org>
5817
5818 * progmodes/fortran.el (fortran-mode-syntax-table):
5819 * progmodes/f90.el (f90-mode-syntax-table):
5820 Set % to punctuation. (Bug#8820)
5821 (f90-find-tag-default): Remove, no longer needed.
5822
f0d4059d
DC
58232011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5824
5825 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5826
1100a63c
CY
58272011-06-11 Chong Yidong <cyd@stupidchicken.com>
5828
5829 * image.el (image-animated-p): Return animation delay in seconds.
5830 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5831 (image-animate-timeout): Remove DELAY argument. Don't assume
5832 every subimage has the same delay; get it from image-animated-p.
5833 (image-animate): Caller changed.
5834
def722bf
MA
58352011-06-11 Michael Albinus <michael.albinus@gmx.de>
5836
5837 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5838 to ignored backtrace functions.
5839
0a2bb1a9
GM
58402011-06-11 Glenn Morris <rgm@gnu.org>
5841
5842 * calendar/appt.el (appt-disp-window-function): Doc fix.
5843 (appt-check): Handle overlapping appointments. (Bug#8337)
5844
6198ccd0
MR
58452011-06-11 Martin Rudalics <rudalics@gmx.at>
5846
5847 * window.el (window-tree-1, window-tree): New functions, moving
5848 the latter to window.el.
5849 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5850 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5851 (bw-refresh-edges): Remove.
5852 (balance-windows-1, balance-windows-2): New functions.
5853 (balance-windows): Rewrite in terms of window tree functions,
5854 balance-windows-1 and balance-windows-2.
5855 (bw-adjust-window): Remove.
5856 (balance-windows-area-adjust): New function with functionality of
5857 bw-adjust-window but using resize-window.
2b75be67
SM
5858 (set-window-text-height): Rewrite doc-string.
5859 Use normalize-live-window and resize-window.
5860 (enlarge-window-horizontally, shrink-window-horizontally):
5861 Rename argument to DELTA.
6198ccd0
MR
5862 (window-buffer-height): New function.
5863 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5864 Rewrite using new window resize routines.
2b75be67
SM
5865 (kill-buffer-and-window, mouse-autoselect-window-select):
5866 Use ignore-errors instead of condition-case.
6198ccd0
MR
5867 (quit-window): Call delete-frame instead of delete-windows-on
5868 for the only buffer on frame.
5869
9397e56f
MR
58702011-06-10 Martin Rudalics <rudalics@gmx.at>
5871
5872 * loadup.el (top-level): Load window before files for the sake
5873 of replace-buffer-in-windows.
5874
5875 * files.el (read-buffer-to-switch)
5876 (switch-to-buffer-other-window)
2b75be67
SM
5877 (switch-to-buffer-other-frame, display-buffer-other-frame):
5878 Move to window.el.
9397e56f
MR
5879
5880 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5881 (previous-buffer): Move to window.el.
5882
5883 * bindings.el (unbury-buffer): Move to window.el.
5884
5885 * window.el (delete-other-windows-vertically): Move after
5886 definition of delete-other-windows.
5887 (other-window, delete-windows-on, replace-buffer-in-windows):
5888 Move here from window.c.
5889 (record-window-buffer, unrecord-window-buffer)
5890 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5891 (switch-to-next-buffer): New functions.
5892 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5893 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5894 (previous-buffer): Move here from simple.el.
5895 Call switch-to-prev-buffer.
9397e56f
MR
5896 (bury-buffer): Move here from buffer.c. Switch to previous
5897 buffer when window cannot be deleted.
5898 (unbury-buffer): Move here from bindings.el.
5899 (ctl-x-map): Move binding for other-window from window.c to
5900 here.
5901 (read-buffer-to-switch, switch-to-buffer-other-window)
5902 (switch-to-buffer-other-frame): Move here from files.el.
5903 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5904 (switch-to-buffer): Move here from buffer.c.
5905 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5906
562dd5e9
MR
59072011-06-10 Martin Rudalics <rudalics@gmx.at>
5908
5909 * window.el (window-min-height, window-min-width): Move here
5910 from window.c. Add defcustoms and rewrite doc-strings.
5911 (resize-mini-window, resize-window): New functions.
5912 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5913 Move here from window.c.
5914 (maximize-window, minimize-window): New functions.
5915 (delete-window, delete-other-windows, split-window): Move here
5916 from window.c.
5917 (window-split-min-size): New function.
5918 (split-window-keep-point): Mention split-window-above-each-other
5919 instead of split-window-vertically.
2b75be67
SM
5920 (split-window-above-each-other, split-window-vertically):
5921 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5922 provide defalias for old definition.
5923 (split-window-side-by-side, split-window-horizontally): Rename
5924 split-window-horizontally to split-window-side-by-side and provide
5925 defalias for the old definition.
5926 (ctl-x-map): Move bindings for delete-window,
5927 delete-other-windows and enlarge-window here from window.c.
5928 Replace bindings for split-window-vertically and
5929 split-window-horizontally by bindings for
5930 split-window-above-each-other and split-window-side-by-side.
5931
5932 * cus-start.el (all): Remove entries for window-min-height and
5933 window-min-width. Add entries for window-splits and
5934 window-nest.
5935
f0da764a
GM
59362011-06-09 Glenn Morris <rgm@gnu.org>
5937
80675c21
GM
5938 * calendar/appt.el (appt-mode-line): New function.
5939 (appt-check, appt-disp-window): Use it.
5940
f0da764a
GM
5941 * files.el (hack-one-local-variable-eval-safep):
5942 Allow minor-modes with explicit +/-1 arguments.
5943
59f623b7
TZ
59442011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5945
5946 * term/xterm.el (xterm): Add defgroup.
5947 (xterm-extra-capabilities): Add defcustom to supply known xterm
5948 capabilities, skip querying them, or query them (default).
5949 (terminal-init-xterm): Use it.
5950 (terminal-init-xterm-modify-other-keys): New function to set up
5951 modifyOtherKeys support to simplify `terminal-init-xterm'.
5952
9aab8e0d
MR
59532011-06-09 Martin Rudalics <rudalics@gmx.at>
5954
5955 * window.el (resize-window-reset, resize-window-reset-1)
5956 (resize-subwindows-skip-p, resize-subwindows-normal)
5957 (resize-subwindows, resize-other-windows, resize-this-window)
5958 (resize-root-window, resize-root-window-vertically)
5959 (window-deletable-p, window-or-subwindow-p)
5960 (frame-root-window-p): New functions.
5961
e8b08aee
GM
59622011-06-09 Glenn Morris <rgm@gnu.org>
5963
5964 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5965 (ange-ftp-get-files): Use it.
5966
254c37a5
AK
59672011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5968
5969 * mail/sendmail.el (mail-recover-1, mail-recover):
5970 * files.el (recover-file, recover-session):
5971 Handle dired-listing-switches not being just a single short option.
5972
35d7dbd3
GM
59732011-06-09 Glenn Morris <rgm@gnu.org>
5974
5975 * calendar/appt.el (appt-display-message, appt-disp-window):
5976 Handle lists of appointments.
5977
387522b2
MR
59782011-06-08 Martin Rudalics <rudalics@gmx.at>
5979
2b75be67
SM
5980 * window.el (one-window-p): Move down in code.
5981 Rewrite doc-string.
5982 (window-current-scroll-bars): Rewrite doc-string.
5983 Normalize live window argument.
387522b2
MR
5984 (walk-windows, get-window-with-predicate, count-windows):
5985 Rewrite doc-string. Use window-list-1.
5986 (window-in-direction-2, window-in-direction, get-mru-window):
5987 New functions.
5988
d8e4b68b 59892011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5990
5991 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5992 Doc fix (Bug#8713).
5993
59942011-06-08 Chong Yidong <cyd@stupidchicken.com>
5995
5996 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5997
59982011-06-08 Juanma Barranquero <lekktu@gmail.com>
5999
6000 * loadhist.el (unload-feature-special-hooks):
6001 Add `comint-output-filter-functions'.
6002
0de12c52
IK
60032011-06-08 Ivan Kanis <gnu@kanis.fr>
6004
6005 * calendar/appt.el (appt-check): Move some initializations into the let.
6006
f3d1777e
MR
60072011-06-08 Martin Rudalics <rudalics@gmx.at>
6008
6009 * window.el (window-height): Defalias to window-total-height.
6010 (window-width): Defalias to window-body-width.
6011
18af70d0
CY
60122011-06-07 Chong Yidong <cyd@stupidchicken.com>
6013
6014 * image-mode.el (image-toggle-animation): New command.
6015 (image-mode-map): Bind it to RET.
6016 (image-mode): Update message.
6017 (image-toggle-display-image): Avoid a spurious cache flush.
6018 (image-transform-rotation): Doc fix.
6019 (image-transform-properties): Return quickly in the normal case.
6020 (image-animate-loop): Rename from image-animate-max-time.
6021
2b75be67 6022 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6023 (create-animated-image): Remove unnecessary function.
6024 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6025 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6026 (image-animate-timer): Use car-safe.
6027 (image-animate-timeout): Rename argument.
6028
190b47e6
MR
60292011-06-07 Martin Rudalics <rudalics@gmx.at>
6030
6031 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6032 window.c. Rename first argument to ALL-FRAMES.
6033 Rephrase doc-strings.
6034 (get-buffer-window-list): Rewrite using window-list-1.
6035 Rephrase doc-string.
a1511caf
MR
6036 (window-safe-min-height, window-safe-min-width): New constants.
6037 (window-size-ignore, window-min-size, window-min-size-1)
6038 (window-sizable, window-sizable-p, window-size-fixed-1)
6039 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6040 (window-max-delta-1, window-max-delta, window-resizable)
6041 (window-resizable-p, window-total-height, window-total-width)
6042 (window-body-width): New functions.
6043 (window-full-height-p, window-full-width-p): Rewrite using
6044 window-total-size.
6045 (window-body-height): Rewrite using window-body-size.
190b47e6 6046
85cc1f11
MR
60472011-06-06 Martin Rudalics <rudalics@gmx.at>
6048
6049 * window.el (window-right, window-left, window-child)
6050 (window-child-count, window-last-child, window-any-p)
6051 (normalize-live-buffer, normalize-live-frame)
6052 (normalize-any-window, normalize-live-window)
6053 (window-iso-combination-p, window-iso-combined-p)
6054 (window-iso-combinations)
6055 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6056 (windows-with-parameter, window-with-parameter)
6057 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
6058 (window-atom-check, window-side-check, window-check):
6059 New functions.
85cc1f11
MR
6060 (ignore-window-parameters, window-sides, window-sides-vertical)
6061 (window-sides-slots): New variables.
6062 (window-size-fixed): Move down in code. Minor doc-string fix.
6063
e7156492
AS
60642011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6065
6066 * comint.el (comint-dynamic-complete-as-filename)
6067 (comint-dynamic-complete-filename): Correctly call
6068 completion-in-region.
6069
7e821d0d
DD
60702011-06-05 Deniz Dogan <deniz@dogan.se>
6071
6072 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6073 in last change.
6074
ac09b8a1
DD
60752011-06-05 Deniz Dogan <deniz@dogan.se>
6076
6077 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6078 (rcirc): Use it to prompt for encryption.
6079
34699b85
RW
60802011-06-05 Roland Winkler <winkler@gnu.org>
6081
6082 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6083 (bibtex-search-entries): New command bound to C-c C-a.
6084 (bibtex-display-entries): New function.
6085
004dedd3
RW
60862011-06-05 Roland Winkler <winkler@gnu.org>
6087
6088 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6089 (bibtex-insert-kill): After yanking insert newline if necessary.
6090 (bibtex-initialize): Call bibtex-string-files-init only once.
6091 (bibtex-mode): Do not call easy-menu-add.
6092 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6093 (bibtex-yank): Set arg properly if nil.
6094
022fe7ce
RW
60952011-06-05 Roland Winkler <winkler@gnu.org>
6096
2b75be67
SM
6097 * textmodes/bibtex.el (bibtex-search-entry-globally):
6098 New variable.
022fe7ce
RW
6099 (bibtex-search-entry): Use it.
6100
b7c3692a
RW
61012011-06-05 Roland Winkler <winkler@gnu.org>
6102
6103 * textmodes/bibtex.el (bibtex-entry-format): New option
6104 sort-fields.
6105 (bibtex-format-entry, bibtex-reformat): Honor this option.
6106 (bibtex-parse-entry): Return fields in proper order.
6107
8eda563d
JB
61082011-06-05 Juanma Barranquero <lekktu@gmail.com>
6109
6110 * doc-view.el (doc-view-remove-if): Move computation of result out
6111 of `dolist' to silence misleading lexical-binding warning.
6112
7dbe3dbc
CY
61132011-06-04 Chong Yidong <cyd@stupidchicken.com>
6114
6115 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6116 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6117
0c33dd17
MA
61182011-06-04 Michael Albinus <michael.albinus@gmx.de>
6119
6120 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6121 "SunOS 5.10".
6122
f8f91c2b
MA
61232011-06-04 Michael Albinus <michael.albinus@gmx.de>
6124
6125 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6126 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6127 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6128 (tramp-parse-putty):
6129 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6130 (tramp-completion-function-alist-ssh)
6131 (tramp-completion-function-alist-telnet)
6132 (tramp-completion-function-alist-su)
6133 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6134 cookie.
6135
6136 * net/tramp-ftp.el:
6137 * net/tramp-sh.el:
6138 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6139 load "tramp.el" `tramp-set-completion-function'.
6140
e17d9003
SM
61412011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6142
6143 * shell.el: Require and use pcomplete.
6144 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6145 (shell-completion-vars): Set pcomplete-default-completion-function.
6146
6c4cab03
DD
61472011-06-04 Deniz Dogan <deniz@dogan.se>
6148
6149 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6150 `memq' (Bug#8799).
6151
ea9fafe0
SM
61522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6153
6154 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6155
b3e945d3
JB
61562011-06-02 Juanma Barranquero <lekktu@gmail.com>
6157
6158 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6159 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6160 * vc/log-view.el (log-view-beginning-of-defun):
6161 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6162 (smerge-refine-forward, smerge-refine-chopup-region):
6163 Silence warning for unused `dotimes' counter variables.
6164
7d520089
SM
61652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6166
6167 * net/tramp.el (tramp-with-progress-reporter): Rename from
6168 with-progress-reporter. Use `declare'.
6169 * net/tramp-smb.el:
6170 * net/tramp-sh.el:
6171 * net/tramp-gvfs.el: Update all uses.
6172
a1c2400f
JB
61732011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6174
6175 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6176 buffer isn't killed before making it current.
6177
2403c841
SM
61782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 Silence various byte-compiler warnings.
6181 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6182 `access-type' and new obsolescence format.
6183 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6184 new format.
6185 (byte-compile-check-variable): New `access-type' argument.
6186 Only warn if the access-type is obsolete.
6187 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6188 (byte-compile-variable-set): Adjust callers.
6189 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6190 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6191 setting it as obsolete.
6192 * simple.el (minibuffer-completing-symbol):
6193 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6194 access as obsolete.
6195 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6196 obsolete yet.
6197 * international/quail.el (quail-mouse-choose-completion): Remove unused
6198 code referring to obsolete var.
6199 (quail-choose-completion-string): Remove.
6200 * server.el (server-clients-with, server-kill-buffer-query-function)
6201 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6202 * proced.el (proced-send-signal):
6203 * emacs-lisp/lisp.el (lisp-complete-symbol):
6204 Replace completion-annotate-function with completion-extra-properties.
6205
2462470b
SM
62062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6207
fb5b2591
SM
6208 * simple.el (goto-line): Use read-number.
6209 (overriding-map-is-bound): Remove.
6210 (saved-overriding-map): Change default.
6211 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6212 Take the map as argument.
6213 (universal-argument, negative-argument, digit-argument): Use it.
6214 (restore-overriding-map): Adjust.
6215 (do-auto-fill): Use fill-forward-paragraph.
6216 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6217
fd6fa53f
SM
6218 * minibuffer.el (minibuffer-inactive-mode-map): New var.
6219 (minibuffer-inactive-mode): New major mode.
6220 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6221 the *Messages* buffer" hack.
6222 (mouse-popup-menubar): Don't burp if the event is a normal key.
6223
2462470b
SM
6224 Miscellaneous tweaks.
6225 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6226 lexical scoping as in subr.el's dolist and dotimes.
6227 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6228 Silence compiler warning.
6229 * thingatpt.el (forward-whitespace): Trivial coding style fix.
6230 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6231 * international/ccl.el (ccl-compile): Trivial simplification.
6232 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6233 * emacs-lisp/testcover.el (testcover-end): Remove spurious
6234 `printflag' argument.
6235 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6236 Purecopy the whole obsolescence data.
6237
108bf785
LL
62382011-06-01 Leo Liu <sdl.web@gmail.com>
6239
6240 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6241 improve doc-string as suggested by Marco Pessotto
6242 <melmothx@gmail.com>.
6243 (rcirc-print): Fix last change.
6244
30a23501
SM
62452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * minibuffer.el (complete-with-action): Return nil for the metadata and
6248 boundaries of non-functional tables.
6249 (completion-table-dynamic): Return nil for the metadata.
6250 (completion-table-with-terminator): Add default case, using
6251 complete-with-action.
6252 (completion--metadata): New function.
6253 (completion-all-sorted-completions, minibuffer-completion-help): Use it
6254 to try and avoid pathological performance problems.
6255 (completion--embedded-envvar-table): Return `category' metadata.
6256
bcd54f83
LMI
62572011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
6258
6259 * subr.el (process-alive-p): New tiny convenience function.
6260
e227544d
SM
62612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6262
6263 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
6264 content but also its previous major mode.
6265
e8296fdc
HE
62662011-05-31 Helmut Eller <eller.helmut@gmail.com>
6267
4d61f28d 6268 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
6269 *Backtrace* buffer when we exit with C-M-c.
6270
620c53a6
SM
62712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * minibuffer.el: Add metadata method to completion tables.
6274 (completion-category-overrides): New defcustom.
6275 (completion-metadata, completion--field-metadata)
6276 (completion-metadata-get, completion--styles)
6277 (completion--cycle-threshold): New functions.
6278 (completion-try-completion, completion-all-completions):
6279 Add `metadata' argument to choose completion-styles.
6280 (completion--do-completion): Use metadata to choose cycling.
6281 (completion-all-sorted-completions): Use metadata for sorting.
6282 Remove :completion-cycle-penalty which is not needed any more.
6283 (completion--try-word-completion): Add `metadata' argument.
6284 (minibuffer-completion-help): Check metadata for annotation function
6285 and sorting.
6286 (completion-file-name-table): Return `category' metadata.
6287 (minibuffer-completing-file-name): Make obsolete.
6288 * simple.el (minibuffer-completing-symbol): Make obsolete.
6289 * icomplete.el (icomplete-completions): Pass new `metadata' param to
6290 completion-try-completion.
6291
1257e755
SM
62922011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
6295
3767e706
LL
62962011-05-30 Leo Liu <sdl.web@gmail.com>
6297
6298 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
6299 (rcirc-print): Decode all incoming messages (bug#8744).
6300 (rcirc-decode-coding-system): Allow value nil for automatic coding
6301 system detection.
3767e706 6302
d1a5d56a
GM
63032011-06-01 Glenn Morris <rgm@gnu.org>
6304
6305 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
6306
e8cbec34
CY
63072011-05-29 Chong Yidong <cyd@stupidchicken.com>
6308
6309 * image.el (image-animate-max-time): Allow nil and t values.
6310 Default to nil.
6311 (create-animated-image): Doc fix.
6312 (image-animate-start): Remove second arg; just use
6313 image-animate-max-time.
6314 (image-animate-timeout): Doc fix. Args changed.
6315
6316 * image-mode.el (image-toggle-display-image): Ensure that the
6317 image spec passed to the animate timer is the same object as in
58179cce 6318 the buffer's display property (Bug#6981).
e8cbec34
CY
6319 (image-transform-properties): Doc fix.
6320
6321 * image.el (image-animate-max-time): Default to nil.
6322
159daf87
MR
63232011-05-29 Martin Rudalics <rudalics@gmx.at>
6324
6325 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6326 entire buffer list (Bug#8184).
6327
d66c4c7c
CY
63282011-05-29 Chong Yidong <cyd@stupidchicken.com>
6329
6330 * image.el (imagemagick-types-inhibit)
6331 (imagemagick-register-types): Doc fix.
6332
80aec780
DD
63332011-05-29 Deniz Dogan <deniz@dogan.se>
6334
6335 * net/rcirc.el (rcirc): Use the user's stored encryption method by
6336 default.
6337
1dd3c2d9
CY
63382011-05-29 Chong Yidong <cyd@stupidchicken.com>
6339
6340 * select.el: Don't perform clipboard-manager saving in hooks;
6341 leave the hooks empty.
6342
60e56523
LL
63432011-05-28 Leo Liu <sdl.web@gmail.com>
6344
6345 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6346 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
6347 (occur-edit-mode): New major mode (Bug#8463).
6348 (occur-after-change-function): New function.
6349 (occur-engine): Give Occur tags a read-only property.
6350
2b1e1a22
KR
63512011-05-28 Kevin Ryde <user42@zip.com.au>
6352
6353 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6354
5d344e88
CY
63552011-05-28 Chong Yidong <cyd@stupidchicken.com>
6356
8e6ca83d
CY
6357 * bindings.el (help-echo): Make the initial non-indicator dash
6358 empty on graphical terminals (Bug#7295).
6359
5d344e88
CY
6360 * files.el (auto-mode-alist): Move config rule after the
6361 in-stripping one (Bug#8547).
6362
bfbbace7
CY
6363 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6364
fbeba6e2
CY
6365 * startup.el (normal-splash-screen): Remove gratuitous mode-line
6366 setting (Bug#8740).
6367
60ed8c72
AA
63682011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
6369
4ac619f0
AA
6370 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6371 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6372 (Bug#8539).
60ed8c72 6373
23db196e
CY
63742011-05-28 Chong Yidong <cyd@stupidchicken.com>
6375
6376 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6377
5012f24c
DK
63782011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
6379
6380 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6381 (hs-hide-block-at-point, hs-find-block-beginning)
6382 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6383 (Bug#8279).
6384
6a639b16
GM
63852011-05-28 Glenn Morris <rgm@gnu.org>
6386
6387 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
6388
d43eaf2c
CY
63892011-05-28 Chong Yidong <cyd@stupidchicken.com>
6390
5199bde1
CY
6391 * help-fns.el (describe-function-1): If the function is a derived
6392 major mode, print the parent mode.
6393
d43eaf2c
CY
6394 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6395 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6396
423428a8
SM
63972011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6398
0ff8e1ba 6399 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 6400 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
6401 * progmodes/etags.el (tags-completion-at-point-function):
6402 * info-look.el (info-lookup-completions-at-point): Mark as
6403 non-exclusive.
6404 (info-complete): Adjust accordingly.
6405
423428a8
SM
6406 * info-look.el: Convert to lexical-binding and completion-at-point.
6407 (info-lookup-completions-at-point): New function.
6408 (info-complete): Use it and completion-in-region.
6409
b74aa22b
DA
64102011-05-28 Drew Adams <drew.adams@oracle.com>
6411
6412 * isearch.el: Let M-e start with point at the first mismatched char.
6413 (isearch-fail-pos): New function.
6414 (isearch-edit-string): Use it.
6415
66e2e71d
DK
64162011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6417
6418 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6419
eb95d01d
TC
64202009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6421
6422 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
6423 traversal functions for avl-trees.
6424 (avl-tree--stack): New struct.
6425 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6426 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
6427 (avl-tree--do-enter): Add optional `updatefun' arg.
6428 Change return value.
eb95d01d 6429 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
6430 (avl-tree--do-delete): Add `test' and `nilflag' args.
6431 Change return value.
eb95d01d
TC
6432 (avl-tree-member): Add optional `nilflag'
6433 (avl-tree-member-p): New function.
6434 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6435 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6436 (avl-tree-stack-empty-p): New functions.
6437
3769ddcf
TC
64382009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6439
6440 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6441 avl-tree--del-balance1 and make it work both ways.
6442 (avl-tree--del-balance2): Remove.
6443 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6444 make it work both ways.
6445 (avl-tree--enter-balance2): Remove.
6446 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6447 New macros.
6448 (avl-tree--mapc, avl-tree-map): Add direction argument.
6449
eb95d01d 64502011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
6451
6452 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6453
a9f737ee
CY
64542011-05-27 Chong Yidong <cyd@stupidchicken.com>
6455
6456 * select.el: Support clipboard managers with built-in function
6457 x-clipboard-manager-save, via delete-frame-functions and
6458 kill-emacs-hook.
6459 (xselect-convert-to-targets): Add MULTIPLE target to list.
6460 (xselect-convert-to-save-targets): New function.
6461
c92a1e54
KH
64622011-05-27 Kenichi Handa <handa@m17n.org>
6463
6464 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6465 let-binding rfc2047-encode-encoded-words to nil.
6466
e145f188
GM
64672011-05-27 Glenn Morris <rgm@gnu.org>
6468
5ec8a862
GM
6469 * mail/emacsbug.el: Don't require url-util.
6470
4b29d9fb
GM
6471 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
6472
e145f188
GM
6473 * files.el (set-auto-mode):
6474 Also respect mode: entries at the end of the file. (Bug#8586)
6475
7d15102b
GM
64762011-05-26 Glenn Morris <rgm@gnu.org>
6477
98f593b8
GM
6478 * files.el (hack-local-variables-prop-line, hack-local-variables):
6479 Downcase mode names, as seems to be traditional.
27b48e63 6480 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 6481
7d15102b
GM
6482 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6483 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
6484
51d5b4ec
JD
64852011-05-25 Julien Danjou <julien@danjou.info>
6486
6487 * textmodes/rst.el (rst-define-level-faces): Do not define face
6488 symbol if it is already defined.
6489
91513f63
VB
64902011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6491
6492 * play/5x5.el (5x5-new-game, 5x5-randomize):
6493 Reset 5x5-solver-output to nil when a new grid is cast.
6494 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6495 these debugging traces, as defmacro breaks the compiled code.
6496
4d90d6d0
DK
64972011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6498
6499 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6500
e1b90ef6
LL
65012011-05-24 Leo Liu <sdl.web@gmail.com>
6502
6503 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6504 (vc-bzr-sha1): Adapt.
6505
d8e4b68b 6506 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
6507
6508 * bindings.el: Provide sha1 feature.
6509
db0406bb 65102011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
6511
6512 * mail/sendmail.el: Require `rfc2047'.
6513 (mail-insert-from-field): Do not perform RFC2047 encoding.
6514 (mail-encode-header): New function.
6515 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
6516 buffer to the return value of select-message-coding-system.
6517 Call mail-encode-header.
b8d747b9
KH
6518
6519 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6520
db0406bb 65212011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 6522
4d90d6d0
DK
6523 * mail/supercite.el (sc-default-cite-frame):
6524 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 6525
eb8a5e9b
GM
65262011-05-24 Glenn Morris <rgm@gnu.org>
6527
f8630703
GM
6528 * progmodes/python.el (brm-menu): Declare.
6529
8831bbed
GM
6530 * emulation/viper.el (viper-set-hooks): Declare.
6531
eb8a5e9b
GM
6532 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6533 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6534 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6535 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6536 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6537 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6538
a2a25d24
SM
65392011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 Add an :exit-function for completion-at-point.
6542
6543 * minibuffer.el (completion--done): New fun.
6544 (completion--do-completion): Use it. New arg `expect-exact'.
6545 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6546 since completion--do-completion does it for us now.
6547 (minibuffer-force-complete): Use completion--done and
6548 completion--replace. Handle sole-completion case with more care.
6549 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6550 (completion-extra-properties): New var.
6551 (completion-annotate-function): Make obsolete.
6552 (minibuffer-completion-help): Adjust accordingly.
6553 Use completion-list-insert-choice-function.
6554 (completion-at-point, completion-help-at-point):
6555 Bind completion-extra-properties.
6556 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6557 * simple.el (completion-list-insert-choice-function): New var.
6558 (completion-setup-function): Preserve it.
6559 (choose-completion): Pay attention to it, shuffle the code a bit.
6560 (choose-completion-string): New arg `insert-function'.
6561
6562 * textmodes/bibtex.el: Convert to lexical binding.
6563 (bibtex-mode-map): Use completion-at-point.
6564 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6565 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6566 (bibtex-complete): Define as obsolete alias.
6567 (bibtex-complete-internal): Remove.
6568 (bibtex-format-entry): Remove unused sub-group in regexp.
6569 * shell.el (shell--command-completion-data)
6570 (shell-environment-variable-completion):
6571 * pcomplete.el (pcomplete-completions-at-point):
6572 * comint.el (comint--complete-file-name-data): Use :exit-function
6573 instead of completion-table-with-terminator so it also works for
6574 choose-completion.
6575
e44e373d
SM
65762011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6577
4f91a816
SM
6578 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6579
782fc819
SM
6580 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6581 (bug#8710).
6582
e44e373d
SM
6583 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6584
381987c3
KM
65852011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6586
6587 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6588 customization variable and implement: If non-nil, auto-fill will
6589 be inhibited while on topic's header line.
6590
b776bc70
VB
65912011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6592
6593 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 6594 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
6595 always have a solution in grid size = 5 cases.
6596 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6597 (5x5-solver-output, 5x5-log-buffer): New vars.
6598 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6599 Make these variables buffer local to achieve 5x5 multi-session-ness.
6600 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6601 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6602 (5x5-solve-suggest): New funs.
6603 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6604 randomize a grid so that we ensure that there is always a solution.
6605 (5x5-make-random-grid): Allow other movement than flipping.
6606
7de88b6e
KR
66072011-05-23 Kevin Ryde <user42@zip.com.au>
6608
6609 * emacs-lisp/advice.el (ad-read-advised-function):
6610 Use `function-called-at-point' as the default default, if it has
6611 advice and passes PREDICATE.
6612
b1ef1257
SM
66132011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6614
bbca48fe
SM
6615 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6616 byte-compile-lambda if it's actually a lambda.
6617
b1ef1257
SM
6618 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6619 Fix function quoting. Use backquote better.
6620
92a9cc65
YS
66212011-05-22 Yuanle Song <sylecn@gmail.com>
6622
6623 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6624 matching (Bug#8516).
6625
f0fb8059
JA
66262011-01-22 Jari Aalto <jari.aalto@cante.net>
6627
6628 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6629 different face (Bug#8178).
6630
d5b44c93
CY
66312011-05-22 Chong Yidong <cyd@stupidchicken.com>
6632
6633 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6634 defface (Bug#8144).
6635
79106a44
SM
66362011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6637
9c848d8a
SM
6638 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6639 funcall as well (bug#8712). Warn when performing those conversions.
6640 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6641
79106a44
SM
6642 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6643
88dfa756
GM
66442011-05-22 Glenn Morris <rgm@gnu.org>
6645
6646 * files.el (hack-local-variables-prop-line): Small simplifications.
6647 (hack-local-variables, hack-local-variables-prop-line):
6648 If MODE-ONLY, return the mode, rather than just `t'.
6649
b7cf2c79
SM
66502011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6651
6652 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6653
3f1a8558
GM
66542011-05-21 Glenn Morris <rgm@gnu.org>
6655
7e4ccca3
GM
6656 * files.el (hack-local-variables-prop-line, hack-local-variables):
6657 If only interested in the mode, don't bother doing the other stuff.
6658
637d46ca
GM
6659 * image-mode.el (image-after-revert-hook):
6660 Redraw all frames on which the image is visible. (Bug#8567)
6661
973d955b
GM
6662 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6663
3f1a8558
GM
6664 * wid-edit.el (widget-checklist-match-inline):
6665 Fix 2011-04-19 change. (Bug#8649)
6666
96479927
SM
66672011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6668
1dcf791f
SM
6669 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6670 Also allow singlespace after single-letter capitals followed by a dot.
6671
96479927
SM
6672 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6673 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6674
35fd0881
N
66752011-05-20 Nix <nix@esperi.org.uk>
6676
6677 * files.el (basic-save-buffer-2):
6678 Fix handling of break-hardlink-on-save with non-existent files.
6679
82745640
DD
66802011-05-19 Deniz Dogan <deniz@dogan.se>
6681
6682 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 6683 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 6684
4a720484
GM
66852011-05-19 Glenn Morris <rgm@gnu.org>
6686
d1f21341
GM
6687 * progmodes/f90.el (f90-type-def-re):
6688 Handle "type, bind(c)". (Bug#8691)
6689
4a720484
GM
6690 * emacs-lisp/autoload.el (batch-update-autoloads):
6691 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6692
2fb0a219
MA
66932011-05-18 Michael Albinus <michael.albinus@gmx.de>
6694
6695 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6696 property for the correct connection in case of multihops.
6697
e565dd37
GM
66982011-05-18 Glenn Morris <rgm@gnu.org>
6699
c2571358 6700 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
6701 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6702
e565dd37
GM
6703 Rationalize calendar handling of day and month abbrev-arrays.
6704 * calendar/calendar.el (calendar-customized-p): New function.
6705 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6706 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6707 Add :set function.
6708 (calendar-abbrev-length, calendar-day-abbrev-array)
6709 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6710 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6711 Elements may no longer be nil.
6712 (calendar-day-name, calendar-month-name):
6713 Update for changed nature of abbrev arrays.
6714 * calendar/diary-lib.el (diary-name-pattern):
6715 Update for changed nature of abbrev arrays.
6716 (diary-mark-entries-1): Update calendar-make-alist calls.
6717 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6718 * calendar/cal-html.el (cal-html-day-abbrev-array):
6719 Simply inherit from calendar-day-abbrev-array.
6720
1d99a745
SM
67212011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6722
6723 * progmodes/grep.el (grep-mode): Disable default
6724 compilation-directory-matcher setting (bug#8684).
6725
7c1d9aa0
MA
67262011-05-17 Michael Albinus <michael.albinus@gmx.de>
6727
6728 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6729 instead of "head" and "tail". There were problems with SunOS 5.9,
6730 and it performs better.
6731
3952e9d8
GM
67322011-05-17 Glenn Morris <rgm@gnu.org>
6733
2dd12e7f
GM
6734 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6735
e4157b9c
GM
6736 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6737 Replace obsolete function.
6738
8e249bbd
GM
6739 * shell.el (pcomplete-parse-arguments-function): Declare.
6740
3952e9d8
GM
6741 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6742 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6743 (appt-check): Doc fixes.
6744 (appt-disp-window-function, appt-delete-window-function):
6745 Remove needless special case in custom :type.
6746 (appt-display-count): Default to 0, not nil.
6747 (appt-check): Reset appt-display-count to 0, not nil.
6748
c71a0d48 67492011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 6750
c71a0d48
GM
6751 * progmodes/python.el (python-font-lock-keywords):
6752 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 6753
31d55be9
SM
67542011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6757
3bfacb2f
KR
67582011-05-16 Kevin Ryde <user42@zip.com.au>
6759
6760 * info-look.el (makefile-automake-mode): New setups, looking in
6761 automake manual, then makefile-mode.
6762 (makefile-mode): Remove automake manual, have it just in
6763 makefile-automake-mode since there's various things different or
6764 not relevant to plain make.
6765 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6766 believe a hypothetical automake-mode would go to makefile-mode,
6767 not the other way around.
6768
c8e83751
CY
67692011-05-15 Chong Yidong <cyd@stupidchicken.com>
6770
5e9e35cd
CY
6771 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6772 hunk-end tags (Bug#8672).
6773
c8e83751
CY
6774 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6775 vc-annotate-show-diff-revision-at-line (Bug#8671).
6776
50b23e5a
GM
67772011-05-14 Glenn Morris <rgm@gnu.org>
6778
7210a739
GM
6779 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6780 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
6781 (change-log-font-lock-keywords): Also handle multiple author lines
6782 with leading tabs. (Bug#8644)
7210a739 6783
4691905a
GM
6784 * calendar/appt.el (appt-check): Rename some local variables.
6785 Some simplification/reordering.
6786
50b23e5a
GM
6787 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6788 (feedmail-sendmail-f-doesnt-sell-me-out)
6789 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6790 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6791 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
6792 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6793 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
6794 (feedmail-binmail-gnulinuxish-template):
6795 Rename from feedmail-binmail-linuxish-template.
6796 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6797 Use insert-buffer-substring.
6798
215cda7c
BC
67992011-05-14 Bill Carpenter <bill@carpenter.org>
6800
6801 * mail/feedmail.el (feedmail-patch-level): Increase.
6802 (feedmail-debug): New custom group.
6803 (feedmail-confirm-outgoing-timeout)
6804 (feedmail-sendmail-f-doesnt-sell-me-out)
6805 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6806 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6807 (feedmail-sender-line, feedmail-from-line)
6808 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 6809 (feedmail-spray-this-address)
215cda7c
BC
6810 (feedmail-spray-address-fiddle-plex-list)
6811 (feedmail-queue-use-send-time-for-date)
6812 (feedmail-queue-use-send-time-for-message-id)
6813 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6814 (feedmail-buffer-eating-function):
6815 Doc fixes.
6816 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6817 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6818 (feedmail-message-action-scroll-down): New functions.
6819 (feedmail-queue-directory, feedmail-queue-draft-directory):
6820 Use expand-file-name.
6821 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6822 Remove C-v help entry.
6823 (feedmail-queue-buffer-file-name): New variable.
6824 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6825 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6826 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6827 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6828 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6829 (feedmail-message-action-toggle-spray)
6830 (feedmail-run-the-queue-no-prompts)
6831 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6832 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6833 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6834 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6835 (feedmail-envelope-deducer, feedmail-fiddle-from)
6836 (feedmail-fiddle-sender, feedmail-default-date-generator)
6837 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6838 (feedmail-fiddle-spray-address)
6839 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6840 (feedmail-fiddle-list-of-fiddle-plexes)
6841 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6842 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6843 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6844 Change default. Doc fix.
6845 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6846 (feedmail-binmail-linuxish-template): New constant.
6847 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6848 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6849 (feedmail-send-it): Add debug call.
6850 Use feedmail-queue-buffer-file-name, and
6851 feedmail-send-it-immediately-wrapper.
6852 (feedmail-message-action-send): Add debug call.
6853 Use feedmail-send-it-immediately-wrapper.
6854 (feedmail-queue-express-to-queue): Add debug call.
6855 Run feedmail-queue-express-hook.
6856 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6857 (feedmail-message-action-help-blat):
6858 Rename from feedmail-queue-send-edit-prompt-help-first.
6859 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6860 Check line-endings. Handle errors better.
6861 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6862 Doc fix. Add debug call.
6863 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6864 Use feedmail-queue-send-edit-prompt-inner.
6865 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6866 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6867 from feedmail-queue-send-edit-prompt.
6868 (feedmail-queue-send-edit-prompt-help)
6869 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6870 (feedmail-tidy-up-slug): Add debug call.
6871 Respect feedmail-queue-slug-suspect-regexp.
6872 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6873 (feedmail-dump-message-to-queue): Add debug call.
6874 Expand queue-directory.
6875 (feedmail-dump-message-to-queue): Change message slightly.
6876 Use feedmail-say-chatter.
6877 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6878 (feedmail-send-it-immediately-wrapper): New function.
6879 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6880 Insert empty string rather than newline. Handle full-frame case.
6881 Use catch/throw. Use feedmail-say-chatter.
6882 (feedmail-fiddle-from): Try mail-host-address.
6883 (feedmail-default-message-id-generator): Doc fix.
6884 Bind system-time-locale. Handle missing end.
6885 (feedmail-fiddle-x-mailer): Add debug call.
6886 Handle feedmail-x-mailer-line being nil.
6887 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6888 Add debug call. Use buffer-substring-no-properties.
6889 (feedmail-say-debug, feedmail-say-chatter): New functions.
6890 (feedmail-find-eoh): Give an explicit error.
6891
42c7e61e
UJ
68922011-05-13 Ulf Jasper <ulf.jasper@web.de>
6893
c2571358 6894 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6895 family from helvetica to sans.
c2571358 6896 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6897 etc/images/newsticker.
6898
c2571358 6899 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6900 family from helvetica to sans.
6901
6902 * net/newst-plainview.el (newsticker-new-item-face)
6903 (newsticker-old-item-face, newsticker-immortal-item-face)
6904 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6905 (newsticker-statistics-face): Change default family from
42c7e61e 6906 helvetica to sans.
c2571358 6907 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6908 etc/images/newsticker.
6909
6910 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6911 (newsticker--process-auto-mark-filter-match): : Tell user about
6912 auto-marking.
6913
8497a297
DV
69142011-05-13 Didier Verna <didier@xemacs.org>
6915
6916 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6917 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6918 TODO entries.
8497a297
DV
6919 (lisp-lambda-list-keyword-parameter-indentation)
6920 (lisp-lambda-list-keyword-parameter-alignment)
6921 (lisp-lambda-list-keyword-alignment): New customizable user options.
6922 (lisp-indent-defun-method): Improve docstring.
6923 (extended-loop-p): Fix comment.
6924 (lisp-indent-lambda-list-keywords-regexp): New variable.
6925 (lisp-indent-lambda-list): New function.
6926 (lisp-indent-259): Use it.
6927 (lisp-indent-defmethod): Support for more than one
6928 method qualifier and properly indent methods lambda-lists.
6929 (defgeneric): Provide a missing common-lisp-indent-function property.
6930
f278f87f
SM
69312011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6934 bounds for the empty string (bug#8667).
6935
5233edd7
GM
69362011-05-13 Glenn Morris <rgm@gnu.org>
6937
5237a44f
GM
6938 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6939
8340026c 6940 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6941 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6942
5233edd7 6943 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6944 (appt-time-msg-list): Doc fix.
a5464014 6945 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6946
92d10796
AS
69472011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6948
6949 * progmodes/ld-script.el (ld-script-keywords)
6950 (ld-script-builtins): Update keywords list.
6951
914a0ae1
SM
69522011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6953
c89be45f
SM
6954 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6955
914a0ae1
SM
6956 * shell.el (shell-completion-vars): New function.
6957 (shell-mode):
6958 * simple.el (read-shell-command): Use it.
6959 (blink-matching-open): No need for " [...]" in minibuffer-message.
6960
98dc3df3
GM
69612011-05-12 Glenn Morris <rgm@gnu.org>
6962
6963 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6964 (appt-check): Simplify.
6965
d2fc7e3d 69662011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6967
4d61f28d 6968 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6969 literal "/dev/null".
6970
d2fc7e3d 69712011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6972
6973 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6974 Fix typo.
6975
d2fc7e3d 69762011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6977
3f254caa
SM
6978 * progmodes/which-func.el (which-function):
6979 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6980 which might not be defined (Bug#8260).
6981
d45885f7
GM
69822011-05-12 Glenn Morris <rgm@gnu.org>
6983
6984 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6985 Let byte-compile-initial-macro-environment always take precedence.
6986
488086f4
SM
69872011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * net/rcirc.el: Add support for SSL/TLS connections.
6990 (rcirc-server-alist): New field `encryption'.
6991 (rcirc): Check `encryption' settings.
6992 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6993 Merge make-local-variable into `set'.
6994 (rcirc--connection-open-p): New function.
6995 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6996 the process is not a network process (e.g. running gnutls-cli).
6997 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6998 Make rcirc-(en|de)code-coding-system local here.
6999 (rcirc-mode): Merge make-local-variable into `set'.
7000 (rcirc-parent-buffer): Make permanent buffer-local.
7001 (rcirc-multiline-minor-mode): Don't do it here.
7002 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7003 there's no server buffer.
7004
7d3b9d44
GM
70052011-05-11 Glenn Morris <rgm@gnu.org>
7006
f64049c6
GM
7007 * newcomment.el (comment-kill): Prefix "unused" local.
7008
93c9df73
GM
7009 * term/w32console.el (get-screen-color): Declare.
7010
7d3b9d44
GM
7011 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7012 Handle symbol elements of byte-compile-initial-macro-environment.
7013
9e2dd53f
LL
70142011-05-10 Leo Liu <sdl.web@gmail.com>
7015
488086f4
SM
7016 * bookmark.el (bookmark-bmenu-mode-map):
7017 Bind bookmark-bmenu-search to `/'.
8b340240 7018
9e2dd53f 7019 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7020 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7021 (Footnote-unicode): New function.
7022 (footnote-style-alist): Add unicode style to the list.
7023 (footnote-style): Doc fix.
9e2dd53f 7024
79b70037
GM
70252011-05-10 Jim Meyering <meyering@redhat.com>
7026
7027 Fix doubled-word typos.
7028 * international/quail.el (quail-insert-kbd-layout): and and -> and
7029 * kermit.el: and and -> and
7030 * net/ldap.el (ldap-search-internal): to to -> to
7031 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7032 * progmodes/js.el (js-mode): and and -> and
7033 * textmodes/artist.el (artist-move-to-xy): at at -> at
7034 (artist-draw-region-trim-line-endings): if if -> if
7035 And Safetyc -> Safety.
7036 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7037
b8f82dc1 70382011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7039 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7040
7041 * files.el (hack-one-local-variable-eval-safep):
7042 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7043
4f99f44b
GM
70442011-05-10 Glenn Morris <rgm@gnu.org>
7045
7046 * calendar/diary-lib.el (diary-list-entries-hook)
7047 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7048 (diary-nongregorian-marking-hook, diary-list-entries)
7049 (diary-include-other-diary-files, diary-mark-entries)
7050 (diary-mark-included-diary-files): Doc fixes.
7051
84f29e6b
JB
70522011-05-09 Juanma Barranquero <lekktu@gmail.com>
7053
7054 * misc.el: Require tabulated-list.el during compilation.
7055
9bedd73a
CY
70562011-05-09 Chong Yidong <cyd@stupidchicken.com>
7057
488086f4
SM
7058 * progmodes/compile.el (compilation-start):
7059 Run compilation-filter-hook for the async case too.
9bedd73a
CY
7060 (compilation-filter-hook): Doc fix.
7061
797c735c
DD
70622011-05-09 Deniz Dogan <deniz@dogan.se>
7063
7064 * wdired.el: Remove outdated installation comment. Fix usage
7065 comment.
7066
5f4b1dfe
JB
70672011-05-09 Juanma Barranquero <lekktu@gmail.com>
7068
7069 * misc.el: Implement new command `list-dynamic-libraries'.
7070 (list-dynamic-libraries--loaded-only-p): New variable.
7071 (list-dynamic-libraries--refresh): New function.
7072 (list-dynamic-libraries): New command.
7073
4c44026c
CY
70742011-05-09 Chong Yidong <cyd@stupidchicken.com>
7075
488086f4
SM
7076 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7077 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7078 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7079 higher priority to avoid clobbering by gnu.
7080
027f966d
CY
70812011-05-08 Chong Yidong <cyd@stupidchicken.com>
7082
7083 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7084 if the face has existing theme settings (Bug#8454).
7085
085f5d7d
CY
70862011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7087
488086f4
SM
7088 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7089 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 7090
2a86a00c
RS
7091 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7092 special file names `.' and `..' (Bug#8259).
7093
d9c54a06
CY
70942011-05-08 Chong Yidong <cyd@stupidchicken.com>
7095
488086f4
SM
7096 * progmodes/grep.el (grep-mode-font-lock-keywords):
7097 Remove buffer-changing entries.
d9c54a06
CY
7098 (grep-filter): New function.
7099 (grep-mode): Add it to compilation-filter-hook.
7100
7101 * progmodes/compile.el (compilation-filter-hook)
7102 (compilation-filter-start): New defvars.
7103 (compilation-filter): Call compilation-filter-hook prior to
7104 updating the process mark.
7105
c4662635
SM
71062011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7107
7108 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7109
b0512a1d
EZ
71102011-05-07 Eli Zaretskii <eliz@gnu.org>
7111
605c9376
EZ
7112 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7113 mailclient-send-it even if window-system is nil. (Bug#8595)
7114
c4662635
SM
7115 * term/w32console.el (terminal-init-w32console):
7116 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
7117 background-mode. (Bug#8597)
7118
d1dc2cc2
SM
71192011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7122 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7123 New functions.
7124 (defgeneric, eieio--defmethod): Use them.
7125 (eieio-defgeneric): Remove.
7126 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7127
915d1300
GM
71282011-05-07 Glenn Morris <rgm@gnu.org>
7129
a3961c3e
GM
7130 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7131 Use let rather than let*.
7132 (timeclock-find-discrep): Remove unused local.
7133
314347b9
GM
7134 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7135
915d1300
GM
7136 * calendar/appt.el (appt-time-msg-list): Doc fix.
7137
275b59b0
NF
71382011-05-06 Noah Friedman <friedman@splode.com>
7139
7140 * apropos.el (apropos-print-doc): Only use
7141 emacs-lisp-docstring-fill-column when it is bound to an integer,
7142 per that variable's documentation.
7143
6c19f744
SM
71442011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7145
7146 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 7147 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 7148
60f884b2
GM
71492011-05-06 Glenn Morris <rgm@gnu.org>
7150
5006e634
GM
7151 * calendar/appt.el (appt-message-warning-time): Doc fix.
7152 (appt-warning-time-regexp): New option.
7153 (appt-make-list): Respect appt-message-warning-time.
7154
548d0a63
GM
7155 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7156 New options.
7157 (diary-add-to-list): Strip comments from the displayed string.
7158 (diary-mode): Set comment-start and comment-end.
7159
60f884b2
GM
7160 * vc/diff-mode.el (smerge-refine-subst): Declare.
7161 (diff-refine-hunk): Don't require smerge-mode when compiling.
7162
989681bb
JB
71632011-05-06 Juanma Barranquero <lekktu@gmail.com>
7164
7165 * simple.el (list-processes): Return nil as the docstring says.
7166
a6bc05e1
MA
71672011-05-05 Michael Albinus <michael.albinus@gmx.de>
7168
7169 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7170 to "".
7171 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7172 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7173 determining of binary transfer. (Bug#7383)
7174
23c22e9a
MA
71752011-05-05 Michael Albinus <michael.albinus@gmx.de>
7176
c4662635
SM
7177 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7178 Fix port computation bug. (Bug#8618)
23c22e9a 7179
0bff894f
GM
71802011-05-05 Glenn Morris <rgm@gnu.org>
7181
b8296902
GM
7182 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7183
1f522ce8
GM
7184 * simple.el (shell-dynamic-complete-functions)
7185 (comint-dynamic-complete-functions): Declare.
7186
cf5bee67
GM
7187 * net/network-stream.el (gnutls-negotiate):
7188 * simple.el (tabulated-list-print): Fix declarations.
7189
7190 * progmodes/gud.el (syntax-symbol, syntax-point):
7191 Remove unnecessary and incorrect declarations.
7192
0bff894f
GM
7193 * emacs-lisp/check-declare.el (check-declare-scan):
7194 Handle byte-compile-initial-macro-environment in bytecomp.el
7195
9869b3ae
SM
71962011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7197
7198 Fix earlier half-done eieio-defmethod change (bug#8338).
7199 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7200 Streamline and change calling convention.
7201 (defmethod): Adjust accordingly and simplify.
7202 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7203 new eieio--defmethod.
7204 (slot-boundp): Minor CSE simplification.
7205
9c1d5ac5
MZ
72062011-05-05 Milan Zamazal <pdm@zamazal.org>
7207
7208 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7209 (glasses-make-readable): Use glasses-separate-capital-groups.
7210
455c834e
JB
72112011-05-05 Juanma Barranquero <lekktu@gmail.com>
7212
7213 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7214 (warning-series): Doc fix.
7215 (display-warning): Don't try to create the buffer if we just found it.
7216
9ed7c8cb
CY
72172011-05-04 Chong Yidong <cyd@stupidchicken.com>
7218
7219 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7220 (autoload-find-generated-file): New function.
7221 (generate-file-autoloads): Bind generated-autoload-file to
7222 buffer-file-name.
9869b3ae
SM
7223 (update-file-autoloads, update-directory-autoloads):
7224 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
7225 output file (Bug#7989).
7226 (batch-update-autoloads): Doc fix.
7227
0898ca10
JB
72282011-05-04 Juanma Barranquero <lekktu@gmail.com>
7229
7230 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7231
31dfb76c
GM
72322011-05-04 Glenn Morris <rgm@gnu.org>
7233
f330b642
GM
7234 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7235 function, so it follows changes in calendar-date-style.
7236 (diary-fancy-date-matcher): New function.
7237 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7238 (diary-fancy-font-lock-fontify-region-function):
7239 Use diary-fancy-date-pattern as a function.
7240
31dfb76c
GM
7241 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7242 non-numbers for `year' etc pseudo-variables. (Bug#8583)
7243
48e79d6a
TZ
72442011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
7245
7246 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7247 instead of positional arguments. Allow :keylist and :crlfiles
7248 arguments.
7249 (open-gnutls-stream): Call it.
7250
7251 * net/network-stream.el (network-stream-open-starttls): Adjust to
7252 call `gnutls-negotiate' with :process and :hostname arguments.
7253
dd5a5ee0
SM
72542011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7255
ef80fc09
SM
7256 * minibuffer.el (completion--message): New function.
7257 (completion--do-completion, minibuffer-complete)
7258 (minibuffer-force-complete, minibuffer-complete-word): Use it.
7259 (completion--do-completion): Don't ignore completion-auto-help when in
7260 icomplete-mode.
7261
dd5a5ee0
SM
7262 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
7263 internal encoding (e.g. tibetan zero is not whitespace).
7264 (global-whitespace-mode): Prefer save-current-buffer.
7265 (whitespace-trailing-regexp): Remove useless save-match-data.
7266 (whitespace-empty-at-bob-regexp): Minor simplification.
7267
b7d22a83
CY
72682011-05-03 Chong Yidong <cyd@stupidchicken.com>
7269
7270 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
7271
5192af46
AM
72722011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7273
7274 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 7275 Use `concat' to create string for insertion.
5192af46 7276
5767d190
SM
72772011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
7280 Avoid open-line which runs post-self-insert-hook.
7281 (bibtex-fill-entry): Remove unused `end' var.
7282
bf242939
AM
72832011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
7284
5767d190
SM
7285 * textmodes/ispell.el (ispell-add-per-file-word-list):
7286 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 7287
25666126
LL
72882011-05-03 Leo Liu <sdl.web@gmail.com>
7289
7290 * isearch.el (isearch-yank-pop): New command.
5767d190 7291 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
7292 (isearch-forward): Mention it.
7293
52d3c2d0
SM
72942011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7295
1bcace58
SM
7296 * simple.el (minibuffer-complete-shell-command): Remove.
7297 (minibuffer-local-shell-command-map): Use completion-at-point.
7298 (read-shell-command): Setup completion vars here instead.
7299 (read-expression-map): Bind TAB to symbol completion.
7300
52d3c2d0
SM
7301 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
7302 error directly rather via storing it into `results'.
7303
35813471
LL
73042011-05-02 Leo Liu <sdl.web@gmail.com>
7305
7306 * vc/diff.el: Fix description.
7307
e793a940
LMI
73082011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7309
7310 * server.el (server-eval-at): New function.
7311
8de66e05
LMI
73122011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7313
7314 * net/network-stream.el (open-network-stream): Take a :nowait
7315 parameter and pass it on to `make-network-process'.
7316 (network-stream-open-plain): Ditto.
7317
dcb79f20
AS
73182011-04-30 Andreas Schwab <schwab@linux-m68k.org>
7319
7320 * faces.el (face-spec-set-match-display): Don't match toolkit
7321 options on terminal frames.
7322
14a7fbd8
SM
73232011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7324
7eabc1be
SM
7325 * progmodes/pascal.el: Use lexical binding.
7326 (pascal-mode-map): Remove author preferences.
7327
14a7fbd8
SM
7328 * pcomplete.el (pcomplete-std-complete): Don't abuse
7329 completion-at-point.
7330
50f84510
JB
73312011-04-28 Juanma Barranquero <lekktu@gmail.com>
7332
6e087a44
JB
7333 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7334 removing code that has been dead since 1991 or so.
7335
50f84510
JB
7336 * startup.el (command-line): When warning about "_emacs", use a
7337 delayed warning to allow the user to filter it out.
7338
0ba690bd
DD
73392011-04-28 Deniz Dogan <deniz@dogan.se>
7340
7341 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7342 user has not joined.
7343
08abfaad
SM
73442011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7345
7346 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7347 aren't any completions at point.
7348
638f053a
JB
73492011-04-28 Juanma Barranquero <lekktu@gmail.com>
7350
7351 * subr.el (display-delayed-warnings): New function.
7352 (delayed-warnings-hook): New variable.
7353
8fff8daa
SM
73542011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7355
08abfaad
SM
7356 * minibuffer.el (completion-at-point, completion-help-at-point):
7357 Don't presume that a given completion-at-point-function will always
7358 use the same calling convention.
7359
8fff8daa
SM
7360 * pcomplete.el (pcomplete-completions-at-point):
7361 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
7362 pcomplete-seen is non-nil.
7363 (pcomplete-comint-setup): Also recognize the new comint/shell
7364 completion functions.
7365 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7366 pcomplete-seen is non-nil.
7367
841a1577 73682011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 7369
841a1577 7370 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 7371 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 7372 the first character in the entry. This allows for code to add its
211ec907
UJ
7373 own uid to the entry.
7374 (icalendar--convert-float-to-ical): Add export of
7375 `diary-float'-entries save for those with the optional DAY
7376 argument.
7377
2a782793
DC
73782011-04-27 Daniel Colascione <dan.colascione@gmail.com>
7379
7380 * subr.el (shell-quote-argument): Use alternate escaping strategy
7381 when we spot a variable reference in a string.
7382
0438ce91
DC
73832011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7384
7385 * cus-start.el (all): Define customization for debug-on-event.
7386
841a1577 73872011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
7388
7389 * subr.el (shell-quote-argument): Escape correctly under Windows.
7390
d090ed6c
SM
73912011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7394
bfd31217
MA
73952011-04-25 Michael Albinus <michael.albinus@gmx.de>
7396
d090ed6c
SM
7397 * net/tramp.el (tramp-process-actions): Add POS argument.
7398 Delete region between POS and (pos).
bfd31217 7399
d090ed6c
SM
7400 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7401 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
7402 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7403
7404 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7405 position in `tramp-process-actions' call.
7406
7407 * net/trampver.el: Update release number.
7408
e92f3bd3
SM
74092011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7410
850256b5
SM
7411 * custom.el (defcustom): Obey lexical-binding.
7412
e92f3bd3
SM
7413 Fix octave-inf completion problems reported by Alexander Klimov.
7414 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7415 Inherit from octave-mode-syntax-table.
7416 (inferior-octave-mode): Set info-lookup-mode.
7417 (inferior-octave-completion-at-point): New function.
7418 (inferior-octave-complete): Use it and completion-in-region.
7419 (inferior-octave-dynamic-complete-functions): Use it as well, and use
7420 comint-filename-completion.
7421 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7422 symbol elements which shouldn't be word elements.
7423 (octave-font-lock-keywords, octave-beginning-of-defun)
7424 (octave-function-header-regexp): Adjust regexps accordingly.
7425 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7426
cd22b309
JB
74272011-04-25 Juanma Barranquero <lekktu@gmail.com>
7428
7429 * net/gnutls.el (gnutls-errorp): Declare before first use.
7430
8b492194
TZ
74312011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7432
7433 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7434 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
7435 default trustfile exists before going to use it. Add missing
7436 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
7437 Reported by Claudio Bley <claudio.bley@gmail.com>.
7438 (open-gnutls-stream): Add usage example.
7439
7440 * net/network-stream.el (network-stream-open-starttls): Give host
7441 parameter to `gnutls-negotiate'.
7442 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 7443 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 7444
841a1577 74452011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 7446
cd22b309
JB
7447 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7448 Use correct match group (bug#8438).
05842630 7449
3ba7869c
CY
74502011-04-24 Chong Yidong <cyd@stupidchicken.com>
7451
512e3ae1
CY
7452 * emacs-lisp/package.el (package-built-in-p): Fix typo.
7453 (package-menu--generate): New arg specifying packages to show.
7454 (package-menu-refresh, package-menu-execute, list-packages):
7455 Callers changed.
7456 (package-show-package-list): New function, replacing deleted
7457 package--list-packages (renamed because it is non-internal).
7458
7459 * finder.el (finder-list-matches): Use package-show-package-list
7460 instead of deleted package--list-packages.
7461
e92f3bd3
SM
7462 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7463 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
7464 (vc-annotate-mode-map): Bind it to RET.
7465
7031be6d
UR
74662011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7467
7468 * progmodes/etags.el (next-file): Don't use set-buffer to change
7469 buffers (Bug#8478).
7470
4ef177aa
CY
74712011-04-24 Chong Yidong <cyd@stupidchicken.com>
7472
c8d173eb
CY
7473 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7474
4ef177aa
CY
7475 * apropos.el (apropos-label-face): Avoid variable-pitch face.
7476 (apropos-accumulator): Doc fix.
7477 (apropos-function, apropos-macro, apropos-command)
7478 (apropos-variable, apropos-face, apropos-group, apropos-widget)
7479 (apropos-plist): Add face property.
7480 (apropos-symbols-internal): Fix indentation.
7481 (apropos-print): Simplify help, and recognize apropos-multi-type.
7482 (apropos-print-doc): Use button-type-get to extract the button's
7483 face property. Fill docstring (Bug#8352).
7484
4ffd0d6b 74852011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
7486
7487 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7488
c6c32125 7489 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 7490 (mpuz-mode-map): Use mapc.
c6c32125
JB
7491 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7492 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7493 Fix typos in docstrings.
7494
58d468b4
JB
7495 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7496 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7497
6470c3c6
JB
7498 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7499
4ffd0d6b 75002011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
7501
7502 * minibuffer.el (completion--do-completion): Avoid the "Next char
7503 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7504
3ad8bad0
CY
7505 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7506 mouse-2 into unread-command-events, it is interpreted correctly.
7507
71d73c9c 7508 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 7509 (image-toggle-display): Doc fix.
71d73c9c 7510
841a1577 75112011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 7512
4ffd0d6b
GM
7513 * textmodes/page.el (what-page): Use line-number-at-pos to
7514 calculate line number (Bug#6825).
6e1dbaa9 7515
c2fb1b60
JB
75162011-04-22 Juanma Barranquero <lekktu@gmail.com>
7517
7518 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7519 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7520 Pass argument NO-DEFAULT to `find-tag-interactive'.
7521
e02f48d7
JB
75222011-04-22 Juanma Barranquero <lekktu@gmail.com>
7523
7524 Lexical-binding cleanup.
7525
7526 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7527 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7528 * progmodes/ada-prj.el (ada-prj-initialize-values)
7529 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7530 (ada-prj-show-value):
7531 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7532 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7533 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7534 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7535 * progmodes/bug-reference.el (bug-reference-push-button):
7536 * progmodes/fortran.el (fortran-line-length):
7537 * progmodes/glasses.el (glasses-change):
7538 * progmodes/octave-mod.el (octave-fill-paragraph):
7539 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7540 (python-pdbtrack-grub-for-buffer, python-sentinel):
7541 * progmodes/sql.el (sql-save-connection):
7542 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7543 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7544 Mark unused parameters.
7545
7546 * progmodes/compile.el (compilation--flush-directory-cache)
7547 (compilation--flush-parse, compile-internal): Mark unused parameters.
7548 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7549 (compilation-next-error-function): Remove unused variable `timestamp'.
7550
7551 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7552 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7553
7554 * progmodes/dcl-mode.el (dcl-end-of-command):
7555 Remove unused variable `start'.
7556 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7557 (dcl-option-value-basic, dcl-option-value-offset)
7558 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7559 Mark unused parameters.
7560 (dcl-save-local-variable): Remove unused variable `val'.
7561 (mode): Declare.
7562
7563 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7564 Mark unused parameters.
7565 (delphi-ignore-changes): Move before first use.
7566 (delphi-charset-token-at): Remove unused variable `start'.
7567 (delphi-else-start): Remove unused variable `if-count'.
7568 (delphi-comment-block-start, delphi-comment-block-end):
7569 Remove unused variable `kind'.
7570 (delphi-indent-line): Remove unused variable `new-point'.
7571
7572 * progmodes/ebrowse.el (ebrowse-files-list)
7573 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7574 Mark unused parameters. Don't quote `lambda'.
7575 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7576 Don't quote `lambda'.
7577 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7578 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7579 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7580 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7581 Use `ignore-errors'.
7582 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7583 (ebrowse-view/find-file-and-search-pattern)
7584 (ebrowse-view/find-member-declaration/definition):
7585 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7586 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7587 Rename parameter PREFIX-ARG to PREFIX.
7588 (ebrowse-tags-read-name): Remove unused variables `start' and
7589 `member-info'.
7590 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7591 to `tags-file'.
7592
7593 * progmodes/etags.el (local-find-tag-hook): Declare.
7594 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7595 Mark unused parameters.
7596
7597 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7598 (executable-interpret): Mark unused parameter.
7599
7600 * progmodes/flymake.el (flymake-process-sentinel)
7601 (flymake-after-change-function)
7602 (flymake-create-temp-with-folder-structure)
7603 (flymake-get-include-dirs-dot): Mark unused parameters.
7604 (flymake-safe-delete-directory): Remove unused variable `err'.
7605
7606 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7607 (speedbar-timer-fn, speedbar-line-text)
7608 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7609 (speedbar-center-buffer-smartly): Declare functions.
7610 (gdb-find-watch-expression): Remove unused variable `array'.
7611 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7612 (gdb-starting): Mark unused parameters.
7613 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7614 (gdb-table-string): Remove unused variable `res'.
7615 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7616 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7617 (gdb-display-buffer): Remove unused variable `cur-size'.
7618
7619 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7620 allow lexical-binding compilation.
7621 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7622 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7623 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7624 Mark unused parameters.
7625 (gud-gdb-marker-filter): Remove unused variable `match'.
7626 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7627 lambda expressions and funcall them, instead of using `fset'.
7628
7629 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7630 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7631
7632 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7633 variable `header-beg'; use `let'.
7634
7635 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7636 `restart', `last-sexp' and `at-do'.
7637
7638 * progmodes/js.el (js--debug): Mark unused parameter.
7639 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7640 (js--splice-into-items): Remove unused variable `item'.
7641 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7642
7643 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7644 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7645 (makefile-complete): Remove unused variable `try'.
7646 (makefile-fill-paragraph, makefile-match-function-end):
7647 Mark unused parameters.
7648
7649 * progmodes/octave-inf.el (inferior-octave-complete):
7650 Remove unused variable `proc'.
7651 (inferior-octave-output-digest): Mark unused parameter.
7652
7653 * progmodes/perl-mode.el (perl-calculate-indent):
7654 Remove unused variable `err'.
7655
7656 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7657 (prolog-indent-line): Mark unused parameters.
7658 (prolog-indent-line): Remove unused variable `beg'.
7659
7660 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7661 (reporter-dont-compact-list): Declare.
7662
7663 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7664 Remove unused variable `char'.
7665 (sh-debug): Mark unused parameter.
7666 (sh-get-indent-info): Remove unused variable `start'.
7667 (sh-calculate-indent): Remove unused variable `var'.
7668
7669 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7670 (simula-electric-keyword): Remove unused variable `null'.
7671 (simula-search-backward, simula-search-forward): Remove unused
7672 variables `begin' and `end'.
7673
7674 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7675 Remove unused variable `pos'.
7676 (vera-electric-tab, vera-comment-uncomment-region):
7677 Mark unused parameters.
7678 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7679
7ede3b65
CY
76802011-04-22 Chong Yidong <cyd@stupidchicken.com>
7681
7682 * emacs-lisp/package.el (package--builtins, package-alist)
7683 (package-load-descriptor, package-built-in-p, package-activate)
7684 (define-package, package-installed-p)
7685 (package-compute-transaction, package-buffer-info)
7686 (package--push): Doc fix. Distinguish more clearly between
7687 version strings and version lists.
7688
121656e9
JB
76892011-04-21 Juanma Barranquero <lekktu@gmail.com>
7690
7691 Lexical-binding cleanup.
7692
7693 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7694 (5x5-make-mutate-best):
7695 * play/fortune.el (fortune-in-buffer):
7696 * play/gomoku.el (gomoku-init-display):
7697 * play/solitaire.el (solitaire, solitaire-do-check):
7698 * play/tetris.el (tetris-default-update-speed-function):
7699 Mark unused parameters.
7700
7701 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7702 (bubbles--shift): Remove unused variable `char-org'.
7703 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7704 (bubbles--show-images): Remove unused variable `char'.
7705
7706 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7707 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7708 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7709 (decipher-analyze-buffer): Use ?\s.
7710 (decipher-make-checkpoint): Remove unused variable `mapping'.
7711
7712 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7713
7714 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7715 Remove unused variable `result'; use `let'.
7716
7717 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7718 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7719 (gametree-children-shown-p, gametree-compute-reduced-score):
7720 Use `ignore-errors'.
7721
7722 * play/handwrite.el (ps-lpr-switches): Declare.
7723 (handwrite): Remove unused variables `pmin' and `lastp'.
7724
7725 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7726
7727 * play/landmark.el (landmark-init-display)
7728 (landmark-update-naught-weights): Mark unused parameters.
7729 (landmark-y): Remove unused variable `noise'. Simplify.
7730 (landmark-human-plays): Remove unused variable `score'.
7731
7732 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7733 (mpuz-try-proposal): Remove unused variable `game'.
7734
7735 * play/zone.el (life-patterns): Declare.
7736
80f499c7
JB
77372011-04-20 Juanma Barranquero <lekktu@gmail.com>
7738
7739 * vc/vc.el (ediff-vc-internal): Declare function.
7740
024ff170
SM
77412011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7742
c0a193ea
SM
7743 * shell.el: Use lexical-binding and std completion UI.
7744 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7745 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7746 comint-preoutput-filter-functions rather than on
7747 comint-output-filter-functions.
7748 (shell-command-completion, shell--command-completion-data)
7749 (shell-filename-completion, shell-environment-variable-completion)
7750 (shell-c-a-p-replace-by-expanded-directory): New functions.
7751 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7752 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7753 (shell-dynamic-complete-environment-variable): Use them.
7754 (shell-dynamic-complete-as-environment-variable)
7755 (shell-dynamic-complete-as-command): Remove.
7756 (shell-match-partial-variable): Match past point.
7757 * comint.el: Clean up use of completion-at-point-functions.
7758 (comint-completion-at-point): New function.
7759 (comint-mode): Use it completion-at-point-functions.
7760 (comint-dynamic-complete): Make it obsolete.
7761 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7762 (comint-c-a-p-replace-by-expanded-history): New function.
7763 (comint-dynamic-complete-functions)
7764 (comint-replace-by-expanded-history): Use it.
7765 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7766 termination strings. Try harder to avoid second try-completion.
7767 (completion-in-region-mode-map): Disable bindings that don't work yet.
7768
2dbaa080
SM
7769 * comint.el: Use lexical-binding. Require CL.
7770 (comint-dynamic-complete-functions): Use comint-filename-completion.
7771 (comint-completion-addsuffix): Tweak custom type.
7772 (comint-filename-completion, comint--common-suffix)
7773 (comint--common-quoted-suffix, comint--table-subvert)
7774 (comint--complete-file-name-data): New functions.
7775 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7776 (comint-dynamic-list-filename-completions): Use them.
7777 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 7778
2dbaa080
SM
7779 * minibuffer.el (completion-in-region-mode):
7780 Keep completion-in-region-mode--predicate global.
7781 (completion-in-region--postch):
7782 Assume completion-in-region-mode--predicate is not null.
7783
c79a6f38
SM
7784 * progmodes/flymake.el (flymake-start-syntax-check-process):
7785 Obey `dir'. Simplify.
7786
024ff170
SM
7787 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7788 we're in VC after all.
7789
1c6c854e
CS
77902011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7791
7792 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 7793 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
7794 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7795
bed7f140
SM
77962011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7797
332e62ab
SM
7798 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7799 add sanity check.
7800
bed7f140
SM
7801 * obsolete/erc-hecomplete.el: Make obsolete.
7802 * obsolete/: Standardize obsolescence info in the header.
7803
f195c582
GM
78042011-04-20 Glenn Morris <rgm@gnu.org>
7805
7806 * calendar/solar.el (solar-horizontal-coordinates):
7807 Use the longitude argument rather than `calendar-longitude'.
7808 (solar-date-next-longitude): Remove unused locals.
7809
cb79b8c0
VJL
78102011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7811
7812 * whitespace.el: New version 13.2.1.
7813
78142011-04-20 felix <EmacsWiki> (tiny change)
7815
d8e4b68b 7816 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
7817 switching between major modes on a file.
7818
602ea69d
SM
78192011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7822 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7823 multi-line comments as well.
7824
06b60517
JB
78252011-04-19 Juanma Barranquero <lekktu@gmail.com>
7826
7827 Lexical-binding cleanup.
7828
7829 * arc-mode.el (archive-mode-revert):
7830 * cmuscheme.el (scheme-interactively-start-process):
7831 * custom.el (custom-initialize-delay):
7832 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7833 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7834 * emacs-lock.el (emacs-lock-clear-sentinel):
7835 * ezimage.el (defezimage):
7836 * follow.el (follow-avoid-tail-recenter):
7837 * fringe.el (set-fringe-mode-1):
7838 * generic-x.el (bat-generic-mode-compile):
7839 * help-mode.el (help-info-variable, help-do-xref)
7840 (help-mode-revert-buffer):
7841 * help.el (view-emacs-todo):
7842 * iswitchb.el (iswitchb-completion-help):
7843 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7844 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7845 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7846 * locate.el (locate-update):
7847 * longlines.el (longlines-encode-region)
7848 (longlines-after-change-function):
7849 * outline.el (outline-isearch-open-invisible):
7850 * ps-def.el (declare-function, charset-dimension, char-width)
7851 (encode-char):
7852 * ps-mule.el (ps-mule-plot-string):
7853 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7854 (recentf-edit-list-select, recentf-edit-list-validate)
7855 (recentf-open-files-action):
7856 * rect.el (delete-whitespace-rectangle-line)
7857 (rectangle-number-line-callback):
7858 * register.el (window-configuration-to-register)
7859 (frame-configuration-to-register):
7860 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7861 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7862 (xselect-convert-to-targets, xselect-convert-to-delete)
7863 (xselect-convert-to-filename, xselect-convert-to-charpos)
7864 (xselect-convert-to-lineno, xselect-convert-to-colno)
7865 (xselect-convert-to-os, xselect-convert-to-host)
7866 (xselect-convert-to-user, xselect-convert-to-class)
7867 (xselect-convert-to-name, xselect-convert-to-integer)
7868 (xselect-convert-to-atom, xselect-convert-to-identity):
7869 * subr.el (declare, ignore, process-kill-without-query)
7870 (text-clone-maintain):
7871 * terminal.el (te-get-char, te-tic-sentinel):
7872 * tool-bar.el (tool-bar-make-keymap):
7873 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7874 * type-break.el (type-break-mode, type-break-noninteractive-query):
7875 * view.el (View-back-to-mark):
7876 * wid-browse.el (widget-browse-action, widget-browse-widget)
7877 (widget-browse-widgets, widget-browse-sexp):
7878 * widget.el (define-widget-keywords):
7879 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7880 Mark unused parameters.
7881
7882 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7883 (align-areas): Remove unused variable `look'.
7884 (align-region): Remove unused variables `real-end' and `pos-list'.
7885
7886 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7887
7888 * bindings.el (mode-line-modified, mode-line-remote):
7889 Mark unused parameters.
7890 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7891
7892 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7893 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7894
7895 * comint.el (comint-history-isearch-pop-state)
7896 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7897 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7898 (comint-substitute-in-file-name): Doc fix.
7899
7900 * completion.el (cmpl-statistics-block): Mark unused parameter.
7901 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7902 (save-completions-to-file, load-completions-from-file):
7903 Remove unused local variable `e'.
7904
7905 * composite.el (compose-chars): Remove unused variable `len'.
7906 (lgstring-insert-glyph): Remove unused variable `g'.
7907 (compose-glyph-string): Remove unused variables `ascent',
7908 `descent', `lbearing' and `rbearing'.
7909 (compose-glyph-string-relative): Remove unused variables
7910 `lbearing', `rbearing' and `wadjust'.
7911 (compose-gstring-for-graphic): Remove unused variables `header',
7912 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7913 (compose-gstring-for-terminal): Remove unused variables `header'
7914 and `nchars'. Use `let', not `let*'.
7915
7916 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7917 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7918 (Custom-buffer-done, custom-buffer-create-internal)
7919 (custom-browse-visibility-action, custom-browse-group-tag-action)
7920 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7921 (widget-magic-mouse-down-action, custom-toggle-parent)
7922 (custom-add-parent-links, custom-toggle-hide-variable)
7923 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7924 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7925 (custom-face-menu-create, custom-variable-menu-create, get)
7926 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7927 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7928 (customize-apropos): Remove unused variable `tests'.
7929 (custom-group-value-create): Remove unused variable `hidden-p'.
7930 (sort-fold-case): Declare.
7931
7932 * cus-theme.el (custom-reset-standard-faces-list)
7933 (custom-reset-standard-variables-list): Declare.
7934 (customize-create-theme, custom-theme-revert, custom-theme-write)
7935 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7936 Mark unused parameters.
7937
7938 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7939
7940 * delim-col.el (delimit-columns-max): Move defvar before first use.
7941
7942 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7943 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7944
7945 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7946 (auto-insert): Declare.
7947 (desktop-restore-file-buffer): Rename desktop-* parameters;
7948 mark unused ones.
7949 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7950 (desktop-buffer): Rename desktop-* parameters.
7951
7952 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7953 (dframe-reposition-frame-xemacs, dframe-help-echo)
7954 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7955 Mark unused parameters.
7956
7957 * dired-aux.el (backup-extract-version-start, overwrite-query)
7958 (overwrite-backup-query, rename-regexp-query)
7959 (rename-non-directory-query): Declare.
7960 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7961 (dired-add-entry): Remove unused variable `orig-file-name'.
7962 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7963 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7964 `dired-copy-preserve-time' directly.
7965 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7966 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7967
7968 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7969 (dired-virtual-revert, dired-make-relative-symlink):
7970 Mark unused parameters.
7971 (manual-program): Declare.
7972 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7973 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7974 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7975
7976 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7977
7978 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7979
7980 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7981 Declare.
7982
7983 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7984
7985 * electric.el (Electric-command-loop): Rename parameter
7986 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7987
7988 * expand.el (expand-in-literal): Remove unused variable `here'.
7989
7990 * facemenu.el (facemenu-add-new-color):
7991 Remove unused variable `docstring'.
7992
7993 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7994 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7995 (face-attr-construct): Mark unused parameter. Doc fix.
7996 (read-color): Remove unused variable `hex-string'.
7997
7998 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7999 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8000 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8001 (display-buffer-other-frame): Remove unused variable `old-window'.
8002 (kill-buffer-hook): Declare.
8003 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8004 Mark unused parameters.
8005 (after-find-file): Pass 1 to `auto-save-mode', not t.
8006
8007 * files-x.el (auto-insert): Declare.
8008 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8009
8010 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8011 variable `buf'. Mark unused parameter.
06b60517
JB
8012 (find-lisp-insert-directory): Mark unused parameter.
8013
8014 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8015 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8016 (format-common-tail): Remove, unused.
8017 (format-deannotate-region): Remove unused variable `loc'.
8018 (format-annotate-region): Remove unused variable `p'.
8019 (format-annotate-single-property-change): Remove unused variables
8020 `default' and `tail'.
8021
8022 * forms.el (read-file-filter): Declare.
8023 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8024
8025 * frame.el (frame-creation-function-alist): Mark unused parameter.
8026 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8027
8028 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8029 Remove unused parameters.
8030 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8031 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8032
8033 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8034 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8035 (hfy-prepare-tag-map): Mark unused parameters.
8036 (htmlfontify-buffer): Use `called-interactively-p'.
8037
8038 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8039 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8040 (ibuffer-do-occur): Mark unused parameters.
8041 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8042 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8043
8044 * ibuffer.el: Don't quote `lambda'.
8045 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8046 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8047 Mark unused parameters.
8048
8049 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8050 (ido-completing-read): Mark unused parameters.
8051 (ido-copy-current-word): Mark unused parameters;
8052 remove unused variable `name'.
8053 (ido-sort-merged-list): Remove unused parameter `dirs'.
8054
8055 * ielm.el (ielm-input-sender): Mark unused parameter.
8056 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8057 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8058 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8059 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8060 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8061
8062 * image-dired.el (image-dired-display-thumbs): Remove unused
8063 variables `curr-file' and `count'.
8064 (image-dired-remove-tag): Remove unused variable `start'.
8065 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8066 variable `curr-file'
8067 (image-dired-rotate-original): Remove unused variable `temp-file'.
8068 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8069 Remove unused variable `file'.
8070 (image-dired-gallery-generate): Remove unused variable `curr'.
8071 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8072
8073 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8074
8075 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8076
8077 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8078
8079 * isearch.el (minibuffer-history-symbol): Declare.
8080 (isearch-edit-string): Remove unused variable `err'.
8081 (isearch-message-prefix, isearch-message-suffix):
8082 Mark unused parameters.
8083
8084 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8085
8086 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8087
8088 * makesum.el (double-column): Remove unused variable `cnt'.
8089
8090 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8091 (ido-ignore-item-temp-list): Declare.
8092
8093 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8094 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8095 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8096 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8097 `mouse-col-delta'.
8098
8099 * mouse-sel.el (mouse-extend-internal):
8100 Remove unused variable `orig-window-frame'.
8101
8102 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8103 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8104 Move declarations before first use.
8105 (pcomplete-opt): Mark unused parameters; doc fix.
8106
8107 * proced.el (proced-revert): Mark unused parameter.
8108 (proced-send-signal): Remove unused variable `err'.
8109
8110 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8111 Rename parameter PREFIX-ARG to ARG.
8112 (ps-basic-plot-string, ps-basic-plot-whitespace):
8113 Mark unused parameters.
8114
8115 * replace.el (replace-count): Define.
8116 (occur-revert-function): Mark unused parameters.
8117 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8118 (isearch-case-fold-search, isearch-string): Declare.
8119 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8120 bind `case-fold-search'. Remove unused variables `beg' and `end',
8121 and simplify.
8122 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8123 COUNT and bind `replace-count'.
8124 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8125 to COUNT.
8126
8127 * savehist.el (print-readably, print-string-length): Declare.
8128
8129 * shadowfile.el (shadow-expand-cluster-in-file-name):
8130 Remove unused variable `cluster'.
8131 (shadow-copy-file): Remove unused variable `i'.
8132 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8133 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8134 (shadow-define-literal-group, shadow-define-regexp-group)
8135 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8136
8137 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8138 (shell): Use `called-interactively-p'.
8139 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8140
8141 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8142 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8143 (delete-backward-char): Remove unused variable `ocol'.
8144 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8145 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8146 (event-apply-hyper-modifier, event-apply-shift-modifier)
8147 (event-apply-control-modifier, event-apply-meta-modifier):
8148 Mark unused parameters.
8149 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8150 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8151
8152 * speedbar.el (speedbar-ignored-directory-expressions)
8153 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8154 (speedbar-find-file, speedbar-dir-follow)
8155 (speedbar-directory-buttons-follow, speedbar-tag-find)
8156 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8157 (speedbar-buffers-line-directory, speedbar-buffer-click):
8158 Mark unused parameters.
8159 (speedbar-tag-file): Remove unused variable `mode'.
8160 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8161
8162 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8163
8164 * talk.el (talk): Remove unused variable `display'.
8165
8166 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8167 (tar-write-region-annotate): Mark unused parameter.
8168
8169 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8170 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8171 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8172 warning by another.
8173
8174 * time-stamp.el (time-stamp-string-preprocess):
8175 Remove unused variable `require-padding'.
8176
8177 * tree-widget.el (widget-glyph-enable): Declare.
8178 (tree-widget-action): Mark unused parameter.
8179
8180 * w32-fns.el (x-get-selection): Mark unused parameter.
8181 (autoload-make-program, generated-autoload-file): Declare.
8182
8183 * wdired.el (wdired-revert): Mark unused parameters.
8184 (wdired-xcase-word): Remove unused variable `err'.
8185
8186 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8187 (whitespace-help-scroll): Remove unused variable `data-help'.
8188
8189 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8190 (widget-image-insert, widget-after-change, default)
8191 (widget-default-format-handler, widget-default-notify)
8192 (widget-default-prompt-value, widget-info-link-action)
8193 (widget-url-link-action, widget-function-link-action)
8194 (widget-variable-link-action, widget-file-link-action)
8195 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8196 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8197 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8198 (widget-insert-button-action, widget-delete-button-action, visibility)
8199 (widget-documentation-link-action, widget-documentation-string-action)
8200 (widget-const-prompt-value, widget-regexp-match, symbol)
8201 (widget-coding-system-prompt-value)
8202 (widget-key-sequence-value-to-external, sexp)
8203 (widget-sexp-value-to-internal, character, vector, cons)
8204 (widget-choice-prompt-value, widget-boolean-prompt-value)
8205 (widget-color--choose-action): Mark unused parameters.
8206 (widget-item-match-inline, widget-choice-match-inline)
8207 (widget-checklist-match, widget-checklist-match-inline)
8208 (widget-group-match): Rename parameter VALUES to VALS.
8209 (widget-field-value-set): Remove unused variable `size'.
8210 (widget-color-action): Remove unused variables `value' and `start'.
8211
8212 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 8213 variable `dir'. Doc fix.
06b60517
JB
8214 (windmove-find-other-window): Don't pass it.
8215
8216 * window.el (count-windows): Mark unused parameter.
8217 (bw-adjust-window): Remove unused variable `err'.
8218
8219 * woman.el (woman-file-name): Remove unused variable `default'.
8220 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8221 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8222 (global-font-lock-mode): Declare.
8223 (woman-decode-region): Mark unused parameter.
8224 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8225
8226 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8227 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8228 (x-dnd-handle-moz-url): Remove unused variable `title'.
8229 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8230
8231 * xml.el (xml-parse-tag, xml-parse-attlist):
8232 Remove unused variable `pos'.
8233
bc4f7f3d
GM
82342011-04-19 Glenn Morris <rgm@gnu.org>
8235
8236 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8237 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8238 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8239 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8240 * calendar/cal-html.el (cal-html-insert-minical):
8241 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8242 (calendar-mark-date-pattern):
8243 Prefix "unused" locals.
8244
8245 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8246 optional argument `style'.
8247
8248 * calendar/appt.el (appt-make-list):
8249 * calendar/cal-china.el (calendar-chinese-date-string):
8250 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8251 (diary-hebrew-yahrzeit):
8252 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8253 * calendar/calendar.el (calendar-generate-window):
8254 * calendar/time-date.el (time-to-days):
8255 Remove unused local variables.
8256
16a43933
CY
82572011-04-18 Chong Yidong <cyd@stupidchicken.com>
8258
8259 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8260 glyphless-char-display table.
8261 (tabulated-list-glyphless-char-display): New var.
8262
7eed1860
SS
82632011-04-18 Sam Steingold <sds@gnu.org>
8264
8265 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
8266 to acknowledgments.
8267
4d2d1ccd
GM
82682011-04-17 Glenn Morris <rgm@gnu.org>
8269
8270 * calendar/diary-lib.el (diary-sexp-entry):
8271 * calendar/holidays.el (holiday-sexp):
8272 Set debug-on-error rather than the removed stack-trace-on-error.
8273
239da61d
GM
82742011-04-16 Glenn Morris <rgm@gnu.org>
8275
8276 * progmodes/f90.el: Use lexical-binding.
8277 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
8278
8b05752a
SM
82792011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8280
daca8ba5
SM
8281 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
8282 (mail-mode): Setup mailalias completion here instead.
8283 * mail/mailalias.el: Use lexical-binding.
8284 (pattern, mailalias-done): Declare dynamic.
8285 (mail-completion-at-point-function): New function, from mail-complete.
8286 (mail-complete): Use it.
8287 (mail-completion-expand): New function.
8288 (mail-get-names): Use it.
8289 (mail-directory, mail-directory-process, mail-directory-stream):
8290 Don't use `pattern' for lexically bound arg.
8291
6f542485
SM
8292 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
8293
037e7c3f
SM
8294 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
8295 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
8296 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
8297
8b05752a
SM
8298 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
8299 (byte-save-window-excursion, byte-temp-output-buffer-setup)
8300 (byte-interactive-p): Define them again, for use when inlining
8301 old code.
8302
49093f60
JB
83032011-04-15 Juanma Barranquero <lekktu@gmail.com>
8304
8305 * loadup.el: Use `string-to-number', not `string-to-int'.
8306
b5b8e7de
SM
83072011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8308
8309 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8310 gud-gdb-complete-command.
8311 (gud-gdb-completions): New function, from gud-gdb-complete-command.
8312 (gud-gdb-completion-at-point): New function.
8313 (gud-gdb-completions): Remove.
8314
f42efeb5
MA
83152011-04-14 Michael Albinus <michael.albinus@gmx.de>
8316
49093f60
JB
8317 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8318 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
8319 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8320 whether `executable-find' is bound.
f42efeb5
MA
8321
8322 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8323
e240cc21
SM
83242011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8325
8326 * minibuffer.el (completion-in-region-mode-predicate)
8327 (completion-in-region-mode--predicate): New vars.
8328 (completion-in-region, completion-in-region--postch)
8329 (completion-in-region-mode): Use them.
8330 (completion--capf-wrapper): Also return the hook function.
8331 (completion-at-point, completion-help-at-point):
8332 Adjust and provide a predicate.
c2bd2ab0
SM
8333
8334 Preserve arg names for advice of subr and lexical functions (bug#8457).
8335 * help-fns.el (help-function-arglist): Consolidate the subr and
8336 new-byte-code cases. Add argument `preserve-names' to extract names
8337 from the docstring when needed.
8338 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8339 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8340 (ad-arglist): Use help-function-arglist's new arg.
8341 (ad-definition-type): Use cond.
8342
c183f693
JB
83432011-04-13 Juanma Barranquero <lekktu@gmail.com>
8344
06641a47
JB
8345 * autorevert.el (auto-revert-handler):
8346 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8347 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8348 Don't quote lambda.
8349
c183f693
JB
8350 * image-mode.el (image-transform-set-scale):
8351 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8352
1e3b6001
G
83532011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8354
8355 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 8356 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
8357 Upgrades via gnutls-cli are too slow to be done opportunistically.
8358
2d6af8dd
JB
83592011-04-12 Juanma Barranquero <lekktu@gmail.com>
8360
8361 * dframe.el (dframe-current-frame): Remove spurious quote.
8362
c0749a51
GM
83632011-04-12 Glenn Morris <rgm@gnu.org>
8364
088d0d61
GM
8365 * calendar/cal-tex.el (cal-tex-end-document):
8366 Try to automatically use latin1 input if needed.
8367
c0749a51
GM
8368 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8369 Don't try to cons a mark onto an empty element.
8370
5c90fde0
LL
83712011-04-11 Leo Liu <sdl.web@gmail.com>
8372
8373 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8374 buffers.
8375 (ido-kill-buffer-at-head): Support killing virtual buffers.
8376
369e974d
CY
83772011-04-10 Chong Yidong <cyd@stupidchicken.com>
8378
8379 * minibuffer.el (completion-show-inline-help): New var.
8380 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
8381 (minibuffer-force-complete, minibuffer-complete-word):
8382 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
8383
8384 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8385 to avoid interference from inline help (Bug#5849).
8386
37f1c930
LL
83872011-04-10 Leo Liu <sdl.web@gmail.com>
8388
099c39a4
JB
8389 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8390 Fix typo.
37f1c930 8391
a32d4040
CY
83922011-04-09 Chong Yidong <cyd@stupidchicken.com>
8393
8394 * image-mode.el (image-toggle-display-image): Signal an error if
8395 not in Image mode.
8396 (image-transform-mode, image-transform-resize)
8397 (image-transform-set-rotation): Doc fix.
daca8ba5 8398 (image-transform-set-resize): Delete.
a32d4040
CY
8399 (image-transform-set-scale, image-transform-fit-to-height)
8400 (image-transform-fit-to-width): Handle image-toggle-display-image
8401 and image-transform-resize directly.
8402
099c39a4 84032011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
8404
8405 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
8406 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8407 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
8408 (doc-view-mode-map): Add bindings for the new functions.
8409
099c39a4 84102011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 8411
4d61f28d 8412 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
8413 Fix typo in docstring.
8414
3726838a
EZ
84152011-04-08 Eli Zaretskii <eliz@gnu.org>
8416
04f33f1e
EZ
8417 * files.el (file-size-human-readable): Produce one digit after
8418 decimal, like "ls -lh" does.
8419
8420 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8421 the file size representation.
8422
3726838a
EZ
8423 * simple.el (list-processes): If async subprocesses are not
8424 available, error out with a clear error message.
8425
cbb59342
CY
84262011-04-08 Chong Yidong <cyd@stupidchicken.com>
8427
8428 * help.el (help-form-show): New function, to be called from C.
8429 Put help-form output in a buffer named differently than *Help*.
8430
e3971c44
EZ
84312011-04-08 Eli Zaretskii <eliz@gnu.org>
8432
8433 * files.el (file-size-human-readable): New function.
8434
8435 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8436 computing the representation inline. Don't require `cl'.
8437
12544bbe
GM
84382011-04-08 Glenn Morris <rgm@gnu.org>
8439
a1de6c6a
GM
8440 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8441
3c4671f4
GM
8442 * net/browse-url.el (browse-url-firefox):
8443 Test system-type, not system-configuration.
8444
b605679c
GM
8445 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8446 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8447 Use log-edit-empty-buffer-p. (Bug#7598)
8448
56442f0c
GM
8449 * net/rlogin.el (rlogin-process-connection-type): Simplify.
8450 (rlogin-mode-map): Initialize in the defvar.
8451 (rlogin): Use ignore-errors.
8452
12544bbe
GM
8453 * replace.el (occur-mode-map): Some fixes for menu items.
8454
eb237b0f
AH
84552011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8456
8457 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
8458
7d668f2c
CY
84592011-04-06 Chong Yidong <cyd@stupidchicken.com>
8460
e67a13ab
CY
8461 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8462 issuing unused warnings.
8463
8464 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8465 macro directly.
8466
7d668f2c
CY
8467 * simple.el: Lisp reimplement of list-processes. Based on an
8468 earlier reimplementation by Leo Liu, but using tabulated-list.el.
8469 (process-menu-mode): New major mode.
8470 (list-processes--refresh, list-processes):
8471 (process-menu-visit-buffer): New functions.
8472
8473 * files.el (save-buffers-kill-emacs): Don't assume any return
8474 value of list-processes, which is undocumented anyway.
8475
a83ec3c9
CY
84762011-04-06 Chong Yidong <cyd@stupidchicken.com>
8477
8478 * emacs-lisp/tabulated-list.el: New file.
8479
e91a96fe
CY
8480 * emacs-lisp/package.el: Use Tabulated List mode.
8481 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8482 (package-menu-mode): Derive from tabulated-list-mode. Set up the
8483 table format using Tabulated List mode variables.
8484 (package--push): New macro, replacing package-list-maybe-add.
8485 (package-menu--generate): Use package--push. Renamed from
8486 package--generate-package-list.
8487 (package-menu-refresh, list-packages): Use it.
daca8ba5 8488 (package-menu--print-info): Rename from package-print-package.
e91a96fe 8489 Return insertion data instead of inserting it directly.
099c39a4
JB
8490 (package-menu-describe-package, package-menu-execute):
8491 Use tabulated-list-get-id.
e91a96fe
CY
8492 (package-menu-mark-delete, package-menu-mark-install)
8493 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
8494 (package-menu-mark-obsolete-for-deletion):
8495 Use tabulated-list-put-tag.
e91a96fe
CY
8496 (package--list-packages, package-menu-revert)
8497 (package-menu-get-package, package-menu-get-version)
8498 (package-menu-sort-by-column): Functions deleted.
8499 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8500 (package-menu--status-predicate, package-menu--version-predicate)
8501 (package-menu--name-predicate)
8502 (package-menu--description-predicate): Handle arguments in the
8503 Tabulated List format.
8504 (package-list-packages-no-fetch): Call list-packages.
8505
3e214b50
JB
85062011-04-06 Juanma Barranquero <lekktu@gmail.com>
8507
8508 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 8509 (after-find-file): Don't bind it.
3e214b50
JB
8510 (revert-buffer-in-progress-p): New variable.
8511 (revert-buffer): Bind it.
8512 Pass nil for `after-find-file-from-revert-buffer'.
8513
8514 * saveplace.el (save-place-find-file-hook): Use new variable
8515 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8516
3f0f1700
GM
85172011-04-06 Glenn Morris <rgm@gnu.org>
8518
c0274801
GM
8519 * Makefile.in (AUTOGEN_VCS): New variable.
8520 (autoloads): Use $AUTOGEN_VCS.
8521
3f0f1700
GM
8522 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8523 * calendar/calendar.el (calendar-mode-map):
8524 Check for toolkit scroll bars. (Bug#8305)
8525
41ea9e48
CY
85262011-04-05 Chong Yidong <cyd@stupidchicken.com>
8527
8528 * minibuffer.el (completion-in-region--postch)
8529 (completion-in-region-mode): Remove unnecessary messages.
8530
6194c800
JB
85312011-04-05 Juanma Barranquero <lekktu@gmail.com>
8532
33256f14
JB
8533 * font-lock.el (font-lock-refresh-defaults):
8534 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8535 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8536
6194c800
JB
8537 * info.el (Info-directory-list, Info-read-node-name-2)
8538 (Info-split-parameter-string): Doc fixes.
8539 (Info-virtual-nodes): Reflow docstring.
8540 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8541 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8542 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8543 Fix typos in docstrings.
8544 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8545 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8546 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8547 (Info-restore-desktop-buffer): Mark unused parameters.
8548 (Info-directory-find-file, Info-directory-find-node)
8549 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8550 (Info-virtual-index-find-node, Info-apropos-find-file)
8551 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 8552 Mark unused parameters; fix typos in docstrings.
6194c800
JB
8553 (Info-virtual-index): Remove unused local variable `nodename'.
8554
b87a8200 85552011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 8556
b87a8200
DD
8557 * net/rcirc.el: Update my e-mail address.
8558 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 8559
3b2ff876
CY
85602011-04-05 Chong Yidong <cyd@stupidchicken.com>
8561
8562 * startup.el (command-line): Save the cursor's theme-face
8563 directly, instead of using face-override-spec.
8564
8565 * custom.el (load-theme): Minor optimization in assigning faces.
8566
8d17e7ca
JB
85672011-04-04 Juanma Barranquero <lekktu@gmail.com>
8568
8569 * help-fns.el (describe-variable): Complete all variables having
8570 documentation, including keywords.
8571 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8572
2fbc1934
JB
85732011-04-04 Juanma Barranquero <lekktu@gmail.com>
8574
8575 Convert to lexical-binding.
8576
8577 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8578 (bs--get-marked-string, bs--get-modified-string)
8579 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8580 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8581 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8582
8583 * ehelp.el (electric-help-execute-extended)
8584 (electric-help-ctrl-x-prefix):
8585 * hexl.el (hexl-revert-buffer-function):
8586 * linum.el (linum-after-change, linum-after-scroll):
8587 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8588
8589 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8590
74f50695
DU
85912011-04-04 Daiki Ueno <ueno@unixuser.org>
8592
8593 * epa-dired.el:
8594 * epa-mail.el:
8595 * epa-hook.el:
8596 * epa-file.el:
8597 * epa.el:
8598 * epg.el: Use lexical binding.
8599
c11325f7
CY
86002011-04-03 Chong Yidong <cyd@stupidchicken.com>
8601
0d9e9a12
CY
8602 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8603
c11325f7 8604 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
8605 dictionary case for flyspell-mark-duplications-exceptions.
8606 Use regexp matching for languages.
c11325f7
CY
8607 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8608 default dictionary (Bug#7926).
8609
da91b5f2
CY
86102011-04-02 Chong Yidong <cyd@stupidchicken.com>
8611
099c39a4
JB
8612 * emacs-lisp/package.el (package--with-work-buffer):
8613 Recognize https URLs.
da91b5f2 8614
099c39a4
JB
8615 * net/network-stream.el: Move from gnus/proto-stream.el.
8616 Change prefix to network-stream throughout.
da91b5f2
CY
8617 (open-protocol-stream): Merge into open-network-stream, leaving
8618 open-protocol-stream as an alias. Handle nil BUFFER args.
8619
8620 * subr.el (open-network-stream): Move to net/network-stream.el.
8621
afa8e9f6
GM
86222011-04-02 Glenn Morris <rgm@gnu.org>
8623
1d2e369d
GM
8624 * find-dired.el (find-exec-terminator): New option.
8625 (find-ls-option): Test for -ls support.
8626 (find-ls-subdir-switches): Test for -b in find-ls-option.
8627 (find-dired, find-grep-dired): Doc fixes.
8628 (find-dired): Use find-exec-terminator.
8629
8abb7da8 8630 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
8631 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8632 (find-name-arg): Remove purecopy.
8abb7da8 8633
f3ca7378
GM
8634 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8635 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8636 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8637 accordingly. Don't add the null-device if not needed.
8638
afa8e9f6
GM
8639 * files.el (save-some-buffers): Doc fix.
8640
35eae264
EZ
86412011-04-02 Eli Zaretskii <eliz@gnu.org>
8642
8643 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8644
26b51db5
JB
86452011-04-01 Juanma Barranquero <lekktu@gmail.com>
8646
8647 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8648 Use `dolist' rather than `mapcar'.
8649
7200d79c
SM
86502011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8651
03408648 8652 Add lexical binding.
7200d79c 8653
03408648
SM
8654 * subr.el (apply-partially): Use new closures rather than CL.
8655 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8656 (dolist, dotimes): Use slightly different expansion for lexical code.
8657 (functionp): Move to C.
8658 (letrec): New macro.
8659 (with-wrapper-hook): Use it and apply-partially instead of CL.
8660 (eval-after-load): Preserve lexical-binding.
8661 (save-window-excursion, with-output-to-temp-buffer): Turn them
8662 into macros.
7200d79c 8663
03408648
SM
8664 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8665
8666 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8667 than the arglist.
8668 (help-add-fundoc-usage): Don't add `Not documented'.
8669 (help-function-arglist): Handle closures, subroutines, and new
8670 byte-code-functions.
8671 (help-make-usage): Remove leading underscores.
8672 (describe-function-1): Handle closures.
8673 (describe-variable): Use special-variable-p for completion.
8674
8675 * files.el (lexical-binding): Declare safe.
f488fb65 8676
03408648
SM
8677 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8678 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8679 (pcase): Add `let' pattern.
8680 Change memoization so it actually works.
8681 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8682 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8683 <let>: New case.
f488fb65 8684
03408648
SM
8685 * emacs-lisp/macroexp.el: Use lexical binding.
8686 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8687 Don't convert ' to #' without checking that it's indeed quoting
8688 a lambda.
8689
8690 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 8691 Use eval-sexp-add-defvars.
03408648
SM
8692 (eval-sexp-add-defvars): New fun.
8693
8694 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8695
8696 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8697 Don't autoload.
8698 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8699 than the internal `byte-compile-lambda'.
8700 (defmethod): Don't hide code under quotes.
8701 (eieio-defmethod): New `code' argument.
8702
8703 * emacs-lisp/eieio-comp.el: Remove.
8704
8705 * emacs-lisp/edebug.el (edebug-eval-defun)
8706 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8707 (edebug-toggle): Avoid `eval'.
8708
8709 * emacs-lisp/disass.el (disassemble-internal): Handle new
8710 `closure' objects.
8711 (disassemble-1): Handle new byte codes.
8712
8713 * emacs-lisp/cl.el (pushnew): Silence warning.
8714
8715 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8716 (cl-byte-compile-throw): Remove.
8717 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8718
8719 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8720 closures.
8721
8722 * emacs-lisp/cconv.el: New file.
8723
8724 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8725 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8726 (byte-compile-initial-macro-environment):
8727 Handle declare-function here.
8728 (byte-compile--lexical-environment): New var.
8729 (byte-stack-ref, byte-stack-set, byte-discardN)
8730 (byte-discardN-preserve-tos): New lap codes.
8731 (byte-interactive-p): Don't use any more.
8732 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8733 New macros.
8734 (byte-compile-lapcode): Use them and handle new lap codes.
8735 (byte-compile-obsolete): Remove.
8736 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8737 (byte-compile-arglist-warn): Check late def of inlinable funs.
8738 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8739 since they should have been expanded by now.
8740 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8741 (byte-compile-from-buffer): Remove unused second arg.
8742 (byte-compile-preprocess): New function.
8743 (byte-compile-toplevel-file-form): New function to distinguish
8744 file-form calls from outside from file-form calls from hunk-handlers.
8745 (byte-compile-file-form): Simplify.
8746 (byte-compile-file-form-defsubst): Remove.
8747 (byte-compile-file-form-defmumble): Simplify now that
8748 byte-compile-lambda always returns a byte-code-function.
8749 (byte-compile): Preprocess.
8750 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8751 Remove, not used any more.
8752 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8753 (byte-compile-make-args-desc): New funs.
8754 (byte-compile-lambda): Handle lexical functions. Always return
8755 a byte-code-function.
8756 (byte-compile-reserved-constants): New var, to make up room for
8757 closed-over variables.
8758 (byte-compile-constants-vector): Obey it.
8759 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8760 (byte-compile-macroexpand-declare-function): New function.
8761 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8762 byte-code-functions.
8763 (byte-compile-form): Check obsolescence here.
8764 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8765 (byte-compile-variable-ref): Remove.
8766 (byte-compile-dynamic-variable-op): New fun.
8767 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8768 (byte-compile-variable-set): New funs.
8769 (byte-compile-discard): Add 2 args.
8770 (byte-compile-stack-ref, byte-compile-stack-set)
8771 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8772 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8773 macroexpand-all instead.
8774 (byte-compile-quote-form): Remove.
8775 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8776 (byte-compile-bind, byte-compile-unbind): New funs.
8777 (byte-compile-let): Handle let* and lexical binding.
8778 (byte-compile-let*): Remove.
8779 (byte-compile-catch, byte-compile-unwind-protect)
8780 (byte-compile-track-mouse, byte-compile-condition-case):
8781 Handle a new :fun-body form, used for lexical scoping.
8782 (byte-compile-save-window-excursion)
8783 (byte-compile-with-output-to-temp-buffer): Remove.
8784 (byte-compile-defun): Simplify.
8785 (byte-compile-stack-adjustment): New fun.
8786 (byte-compile-out): Use it.
8787 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8788
8789 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8790 handler any more.
8791
8792 * emacs-lisp/byte-opt.el: Use lexical binding.
8793 (byte-inline-lapcode): Remove (to bytecomp).
8794 (byte-compile-inline-expand): Pay attention to inlining to/from
8795 lexically bound code.
8796 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8797 any more.
8798 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8799 any more and don't call compiler-macros.
8800 (byte-compile-splice-in-already-compiled-code): Remove.
8801 (byte-code): Don't inline any more.
8802 (disassemble-offset): Receive `bytes' as argument rather than via
8803 dynamic scoping.
8804 (byte-compile-tag-number): Declare before first use.
8805 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8806 `return' even if make-spliceable.
8807 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8808 obsolete interactive-p.
8809 (byte-optimize-lapcode): Optimize new lap-codes.
8810 Don't trip up on new form of `byte-constant' lap code.
8811
8812 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8813
8814 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8815
8816 * custom.el (custom-initialize-default, custom-declare-variable):
8817 Use `defvar'.
8818
8819 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8820 New variables.
8821 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8822 (COMPILE_FIRST): Add macroexp and cconv.
8823 * makefile.w32-in: Mirror changes in Makefile.in.
8824
8825 * vc/cvs-status.el:
8826 * vc/diff-mode.el:
8827 * vc/log-edit.el:
8828 * vc/log-view.el:
8829 * vc/smerge-mode.el:
8830 * textmodes/bibtex-style.el:
8831 * textmodes/css.el:
8832 * startup.el:
8833 * uniquify.el:
da91b5f2
CY
8834 * minibuffer.el:
8835 * newcomment.el:
8836 * reveal.el:
8837 * server.el:
8838 * mpc.el:
8839 * emacs-lisp/smie.el:
8840 * doc-view.el:
8841 * dired.el:
03408648
SM
8842 * abbrev.el: Use lexical binding.
8843
0f0c1f27
EZ
88442011-04-01 Eli Zaretskii <eliz@gnu.org>
8845
8846 * info.el (info-display-manual): New function.
8847
c82b2579
SM
88482011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8851
221ddf68
TH
88522011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8853
8854 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 8855 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 8856
cba6e77e
GM
88572011-03-31 Glenn Morris <rgm@gnu.org>
8858
e040639f
GM
8859 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8860
cba6e77e
GM
8861 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8862
6d0f1c9e
CS
88632011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8864
8865 * progmodes/python.el (python-default-interpreter)
8866 (python-python-command-args, python-jython-command-args)
8867 (python-which-shell, python-which-args, python-which-bufname)
8868 (python-file-queue, python-comint-output-filter-function)
8869 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8870 variables and functions.
8871
3e2d70fd
SM
88722011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8875 (completion-in-region-mode): New minor mode.
8876 (completion-in-region): Use it.
8877 (completion-in-region--data, completion-in-region-mode-map): New vars.
8878 (completion-in-region--postch): New function.
8879 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8880 New vars.
8881 (completion--capf-wrapper): New function.
8882 (completion-at-point): Use it to track well-behavedness of
8883 hook functions.
8884 (completion-help-at-point): New command.
8885
f3e4086c
JM
88862011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8887
8888 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8889 syntax class to search for whitespace on a single line
8890 (Message-ID: <4D938140.4030905@redhat.com>).
8891
eb7ffc14
LL
88922011-03-30 Leo Liu <sdl.web@gmail.com>
8893
8894 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8895 New commands.
8896 (edit-abbrevs-map): Bind them here.
8897 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8898
d806ab68
KM
88992011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8900
8901 * allout.el (allout-hide-by-annotation, allout-flag-region):
8902 Reduce possibility of overlay leakage by making them volatile.
8903
8904 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8905 hash is not shared between buffers. Mode initialization is
8906 responsible for giving it a useful starting value.
8907 (allout-item-span): Reduce possibility of overlay leakage by
8908 making them volatile.
8909 (allout-widgets-count-buttons-in-region): Add diagnostic function
8910 for tracking down button overlay leaks.
8911
ea622834
LL
89122011-03-29 Leo Liu <sdl.web@gmail.com>
8913
8914 * ido.el (ido-read-internal): Use the default history var
8915 minibuffer-history if no HISTORY is specified.
8916
b62f8267
G
89172011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8918
03408648
SM
8919 * net/imap.el (imap-shell-open, imap-process-connection-type):
8920 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8921 Kerberos, SSL, other subprocesses.
8922
947b6566
LL
89232011-03-28 Leo Liu <sdl.web@gmail.com>
8924
8925 * abbrev.el (abbrev-table-empty-p): New function.
8926 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8927 nonempty ones. (Bug#5937)
8928
5ffb62aa
JD
89292011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8930
8931 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8932
7a097943
LL
89332011-03-27 Leo Liu <sdl.web@gmail.com>
8934
8935 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8936 for foreground and background colors.
8937 (ansi-color-make-color-map): Adapt.
8938
c5b40130
LL
89392011-03-25 Leo Liu <sdl.web@gmail.com>
8940
1f48f7d2
LL
8941 * midnight.el (midnight-time-float): Remove. Note it calculates
8942 the microsecond component incorrectly and seconds-to-time does the
8943 same job.
625897ec 8944 Remove redundant (require 'timer).
1f48f7d2 8945
c5b40130
LL
8946 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8947 (ido-completions): Remove unused arguments. (Bug#8329)
8948
d86d2721
SM
89492011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8950
8951 * minibuffer.el (completion--flush-all-sorted-completions):
8952 Remove itself from hook.
8953 (completion-at-point): Let the functions perform the completion
8954 immediately and return nil or t.
8955 * comint.el (comint-dynamic-complete-functions): Now identical to
8956 completion-at-point-functions.
8957 (comint-dynamic-list-input-ring): Remove unused var `index'.
8958 (comint--match-partial-filename, comint--unquote&expand-filename):
8959 New funs, split from comint-match-partial-filename.
8960 (comint-dynamic-complete): Use completion-at-point.
8961 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8962
e8974c48
DA
89632011-03-24 Drew Adams <drew.adams@oracle.com>
8964
8965 * thingatpt.el: Support `defun'.
8966
def71b5e
LL
89672011-03-23 Leo Liu <sdl.web@gmail.com>
8968
cb5af48e
LL
8969 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8970
def71b5e
LL
8971 * help-mode.el (help-mode-finish): Tweak regexp.
8972
927c53e7
GM
89732011-03-23 Glenn Morris <rgm@gnu.org>
8974
18d05bed
GM
8975 * eshell/esh-opt.el (eshell-eval-using-options):
8976 Do not bind unused local variable `eshell-option-stub'.
8977
927c53e7
GM
8978 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8979
9d0da923
JB
89802011-03-22 Juanma Barranquero <lekktu@gmail.com>
8981
8982 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8983 keymap variable in `with-no-warnings' to avoid a warning when the
8984 keymap has been already `defconst'ed.
8985
4b978a67
LL
89862011-03-22 Leo Liu <sdl.web@gmail.com>
8987
8988 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8989 encode all chars in abbrevs; otherwise use emacs-mule or
8990 utf-8-emacs. (Bug#8308)
8991
5fd62452
JB
89922011-03-22 Juanma Barranquero <lekktu@gmail.com>
8993
0b1596c6
JB
8994 * simple.el (backward-delete-char-untabify):
8995 Avoid warning about using `delete-backward-char'.
8996
5fd62452
JB
8997 * image.el (image-type-file-name-regexps): Make it variable.
8998 `imagemagick-register-types' modifies it, and the user may want
8999 to add new extensions for known image types.
9000 (imagemagick-register-types): Throw error if not using ImageMagick.
9001
0b4e93f1
LL
90022011-03-22 Leo Liu <sdl.web@gmail.com>
9003
9004 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9005 located before rcirc-prompt-end-marker.
9006 (rcirc-complete): Error if point is not after rcirc prompt.
9007 Handle the case when table is nil.
9882e214 9008 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9009
fccee4ab
CY
90102011-03-22 Chong Yidong <cyd@stupidchicken.com>
9011
9012 * custom.el (custom--inhibit-theme-enable): Make it affect only
9013 custom-theme-set-variables and custom-theme-set-faces.
9014 (provide-theme): Ignore custom--inhibit-theme-enable.
9015 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9016 (custom-enabling-themes): Delete variable.
d86d2721
SM
9017 (enable-theme): Accept only loaded themes as arguments.
9018 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9019 (custom-enabled-themes): Forbid themes from setting this.
9020 Eliminate use of custom-enabling-themes.
9021 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9022
af896da6
LL
90232011-03-21 Leo Liu <sdl.web@gmail.com>
9024
9025 * ido.el (ido-read-internal): Add ido-selected to history instead
9026 of user input.
9027
78f64af0
SM
90282011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9029
9030 * subr.el (deferred-action-list, deferred-action-function):
9031 Mark obsolete.
9032
b16ac1ec
LL
90332011-03-21 Leo Liu <sdl.web@gmail.com>
9034
810f7698
LL
9035 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9036 change on 2011-02-13 (bug#8309).
9037
b16ac1ec
LL
9038 * minibuffer.el (read-file-name-function): Change default value.
9039 (read-file-name--defaults): Rename from read-file-name-defaults.
9040 (read-file-name-default): Rename from read-file-name.
9041 (read-file-name): Call read-file-name-function.
9042
4e05e67e
GM
90432011-03-21 Glenn Morris <rgm@gnu.org>
9044
9045 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9046 Doc fixes.
9047
4359915b
CY
90482011-03-21 Chong Yidong <cyd@stupidchicken.com>
9049
9050 * cus-theme.el: Add missing provide statement.
9051 (customize-create-theme): Extract theme value correctly.
9052 (custom-theme-visit-theme): Autoload.
9053 (customize-create-theme): Prompt before inserting default faces.
9054
1fe275ee
JB
90552011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9056
9057 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9058 units and musical notes.
9059
3ec03f7e
LL
90602011-03-20 Leo <sdl.web@gmail.com>
9061
9062 * ido.el (ido-read-internal): Use completing-read-default.
9063 (ido-completing-read): Fix compatibility with completing-read.
9064
7d476bde
CO
90652011-03-20 Christian Ohler <ohler@gnu.org>
9066
9067 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9068 (ert-delete-all-tests): Use `called-interactively-p' rather than
9069 `interactive-p'.
9070 (ert--make-xrefs-region): Respect END.
9071
fe0fb33e
CY
90722011-03-19 Chong Yidong <cyd@stupidchicken.com>
9073
ff854b0b
CY
9074 * dired-aux.el (dired-create-directory): Signal an error if the
9075 directory already exists (Bug#8246).
9076
fe0fb33e
CY
9077 * facemenu.el (list-colors-display): Call list-faces-display
9078 inside with-help-window.
9079 (list-colors-print): Use display property to align the final
9080 column, instead of checking window-width.
9081
576bce32
EZ
90822011-03-19 Eli Zaretskii <eliz@gnu.org>
9083
4d61f28d 9084 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
9085 windows-nt systems.
9086 (emerge-protect-metachars): Quote correctly for ms-dos and
9087 windows-nt systems.
9088
89c41d68 90892011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
9090
9091 * info.el (info-initialize): Replace all uses of `:' with
9092 path-separator for compatibility with non-Unix systems.
9093 Cache quoting of path-separator. (Bug#8258)
9094
b14e3e21 90952011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
9096
9097 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9098 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9099 (mouse-avoidance-mode): Fix typos in docstrings.
9100
4525ce3e
CY
91012011-03-19 Chong Yidong <cyd@stupidchicken.com>
9102
9103 * startup.el (package-subdirectory-regexp): Move from package.el.
9104 Omit \\` and \\', and let callers add them.
9105
9106 * emacs-lisp/package.el (package-strip-version)
9107 (package-load-all-descriptors): Add \\` and \\' to
9108 package-subdirectory-regexp before using it.
9109 (package-untar-buffer): New arg DIR; ensure that file untars only
9110 into this expected directory. Remove superfluous delete-region.
9111 (package-unpack): Caller changed.
9112 (package-tar-file-info): Use package-subdirectory-regexp.
9113
a904a09a 91142011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 9115
a904a09a
SM
9116 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9117 diff-mode-shared-map (bug#8284).
9118 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
9119
91202011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9121
9122 * calendar/time-date.el (format-seconds): Use assoc instead of
9123 assoc-string, since assoc-string doesn't exist in XEmacs.
9124
171fc304
JB
91252011-03-17 Juanma Barranquero <lekktu@gmail.com>
9126
9127 * custom.el (custom-known-themes): Reflow docstring.
9128 (custom-theme-load-path): Fix typo in docstring.
9129 (load-theme): Fix typo in error message.
9130 (custom-available-themes, custom-variable-theme-value):
9131 Use `let', not `let*'.
9132
d71990a1
JB
91332011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9134
9135 * calc/README: Mention inclusion of musical notes.
9136
9137 * calc/calc-units.el (calc-lu-quant): Rename from
9138 `calc-logunits-quantity'.
9139 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9140 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9141 (calc-db): Rename from `calc-dblevel'.
9142 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9143 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9144 (calc-np): Rename from `calc-nplevel'.
9145 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9146 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9147 (calc-lu-plus): Rename from `calc-logunits-add'.
9148 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9149 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9150 (calc-lu-minus): Rename from `calc-logunits-sub'.
9151 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9152 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9153 (calc-lu-times): Rename from `calc-logunits-mul'.
9154 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9155 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9156 (calc-lu-divide): Rename from `calc-logunits-div'.
9157 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9158 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9159
9160 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9161 functions being autoloaded.
9162
9163 * calc/calc.el (calc-lu-power-reference): Rename from
9164 `calc-logunits-power-reference'.
9165 (calc-lu-field-reference): Rename from
9166 `calc-logunits-field-reference'.
9167
9168 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9169
40c2934b
SM
91702011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * minibuffer.el (completion-all-sorted-completions):
9173 Use :completion-cycle-penalty text property if present.
9174
b0911414
KM
91752011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9176
9177 * allout.el (allout-yank-processing): Adjust for new rebulleting
9178 regime so bullet being yanked is used without prompting the user
9179 for a choice.
9180
8a05b668
JB
91812011-03-16 Juanma Barranquero <lekktu@gmail.com>
9182
9183 * startup.el (command-line): Warn the user that _emacs is deprecated.
9184
5ba5fb81
JB
91852011-03-16 Juanma Barranquero <lekktu@gmail.com>
9186
9187 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9188 (delphi-verbose, delphi-comment-face, delphi-string-face)
9189 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9190 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9191 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9192 (delphi-new-comment-line, delphi-font-lock-defaults)
9193 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9194 Fix typos in docstrings.
9195
2dab465b
KM
91962011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9197
5ba5fb81 9198 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
9199 Invert the roles of character and string values for INSTEAD, so a
9200 string is used for the more common case of a defaulting prompt.
9201
0adf5618
SM
92022011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9203
9204 * progmodes/ruby-mode.el (ruby-backward-sexp):
9205 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9206 * play/gamegrid.el (gamegrid-make-face):
9207 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9208 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9209 * notifications.el (notifications-notify):
9210 * net/xesam.el (xesam-search-engines):
9211 * net/quickurl.el (quickurl-list-insert):
9212 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9213
d72700e5
CY
92142011-03-15 Chong Yidong <cyd@stupidchicken.com>
9215
9216 * startup.el (command-line): Update package subdirectory regexp.
9217
49c5410a
SM
92182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9219
c6eee9aa
SM
9220 * allout.el (allout-abbreviate-flattened-numbering)
9221 (allout-mode-deactivate-hook): Fix up obsolescence "date".
9222
49c5410a
SM
9223 * subr.el (read-char-choice): Only show the cursor after the prompt,
9224 not after the answer.
9225
047b2bb9
KR
92262011-03-15 Kevin Ryde <user42@zip.com.au>
9227
9228 * help-fns.el (variable-at-point): Skip leading quotes, if any
9229 (bug#8253).
9230
0a57d256
SM
92312011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9232
9233 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9234 warning message.
9235
77c992bc
MA
92362011-03-14 Michael Albinus <michael.albinus@gmx.de>
9237
9238 * shell.el (shell): When called interactively, offer to change the
9239 shell file name on remote hosts.
9240
eebc475d
TZ
92412011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
9242
9243 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9244 integration for LDAP parameters. The host, base, user or binddn,
9245 and secret tokens can be specified in a netrc file, for instance.
9246 This is optional because an `auth-source' parameter must be
9247 specified in the search attributes.
9248
9d05d1ba
JB
92492011-03-13 Juanma Barranquero <lekktu@gmail.com>
9250
9251 * help.el (describe-mode): Link to the mode's definition (bug#8185).
9252
09d9db2c
GM
92532011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9254
9255 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9256 into declaration. Remove redundant and harmful binding.
9257
92582011-03-12 Eli Zaretskii <eliz@gnu.org>
9259
9260 * files.el (file-ownership-preserved-p): Pass `integer' as an
9261 explicit 2nd argument to `file-attributes'. If the file's owner
9262 is the Administrators group on Windows, and the current user is
9263 Administrator, consider that a match.
9264
9265 * server.el (server-ensure-safe-dir): Consider server directory
9266 safe on MS-Windows if its owner is the Administrators group while
9267 the current Emacs user is Administrator. Use `=' to compare
9268 numerical UIDs, since they could be integers or floats.
9269
219bd536
JB
92702011-03-12 Juanma Barranquero <lekktu@gmail.com>
9271
9272 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
9273
f3afd36b
MA
92742011-03-12 Michael Albinus <michael.albinus@gmx.de>
9275
9276 Sync with Tramp 2.2.1.
9277
9278 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
9279
9280 * net/trampver.el: Update release number.
9281
3aaaa6f1
SM
92822011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9283
94642599
SM
9284 * progmodes/compile.el (compilation--previous-directory): Fix up
9285 various nil/dead-marker mismatches (bug#8014).
9286 (compilation-directory-properties, compilation-error-properties):
9287 Don't call it at a position past the one we're about to change.
9288
3aaaa6f1
SM
9289 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
9290 Disable obsolescence warnings in the file that declares it.
9291
14239447
KM
92922011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
9293
099c39a4
JB
9294 * allout-widgets.el (allout-widgets-tally):
9295 Initialize allout-widgets-tally as a hash table rather than nil to
9296 prevent mode-line redisplay warnings. Also, clarify the module
9297 description and fix a comment typo.
14239447 9298
135e287c
JB
92992011-03-11 Juanma Barranquero <lekktu@gmail.com>
9300
9301 * help-fns.el (describe-variable): Don't complete keywords.
9302 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
9303
ffbf300e
CY
93042011-03-10 Chong Yidong <cyd@stupidchicken.com>
9305
ba08b241
CY
9306 * emacs-lisp/package.el (package-version-join): Impose a standard
9307 string representation for pre/alpha/beta version lists.
9308 (package-unpack-single): Standardize the directory name by passing
9309 it through package-version-join.
9310 (package-strip-rcs-id): Accept any version string that does not
9311 signal an error in version-to-list.
ffbf300e 9312
f346fd6b
MA
93132011-03-10 Michael Albinus <michael.albinus@gmx.de>
9314
9315 * simple.el (delete-trailing-whitespace): Return nil for the
9316 benefit of `write-file-functions'.
9317
ccb55d27
GM
93182011-03-10 Glenn Morris <rgm@gnu.org>
9319
5ceaac0c
GM
9320 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9321
02da65ff
GM
9322 * vc/vc-git.el (vc-git-program): New option.
9323 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9324 (vc-git--call): Use it.
9325
b2f603cc
GM
9326 * eshell/esh-util.el (eshell-condition-case): Doc fix.
9327
5772caab
GM
9328 * cus-edit.el (Custom-newline): If no button at point, look
9329 for a subgroup button at start-of-line. (Bug#2298)
9330
ccb55d27
GM
9331 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9332
ec6ecaed
JD
93332011-03-10 Julien Danjou <julien@danjou.info>
9334
9335 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9336 `cursor-type' is nil.
9337
9d5aa01d
JB
93382011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
9339
9340 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9341
b6a5875b
KM
93422011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
9343
9344 * allout.el Summary: Change so yank of distinctive-bullet items
9345 preserves the existing header prefix, rebulleting it if necessary,
9346 rather than replacing it. This is necessary for proper operation
9347 of cooperative addons like allout-widgets.
219bd536 9348 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
9349 SOLICIT arg to INSTEAD, and interpret additionally a string value
9350 as alternate bullet to be used, instead of prompting the user for
9351 a bullet character.
9352
ee545c35
MA
93532011-03-09 Michael Albinus <michael.albinus@gmx.de>
9354
d86d2721
SM
9355 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9356 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
9357 `tramp-default-port'.
9358
c47971d7
DD
93592011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9360
9361 * net/rcirc.el (rcirc-handler-001): Remove useless
9362 with-rcirc-process-buffer.
9363 (rcirc-check-auth-status): Swap arguments to string-match.
9364
13522cb4
GM
93652011-03-09 Glenn Morris <rgm@gnu.org>
9366
0be6f4f1
GM
9367 * shell.el (shell-mode):
9368 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
9369
13522cb4
GM
9370 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9371 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
9372
515de2e3
CY
93732011-03-08 Chong Yidong <cyd@stupidchicken.com>
9374
9375 * emacs-lisp/package.el (package-refresh-contents)
9376 (package-menu-execute): Use condition-case-no-debug.
9377
b511b994
MA
93782011-03-08 Michael Albinus <michael.albinus@gmx.de>
9379
9380 * simple.el (shell-command-to-string): Use `process-file'.
9381
9382 * emacs-lisp/package.el (package-tar-file-info): Handle also
9383 remote files.
9384
d86d2721
SM
9385 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9386 Use `equal' for upload base check.
b511b994 9387
25bbfb31
AM
93882011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
9389
9390 * textmodes/texinfo.el (texinfo-environments):
9391 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
9392
be996521
GM
93932011-03-08 Glenn Morris <rgm@gnu.org>
9394
e9c8529f
GM
9395 * cus-start.el (cursor-in-non-selected-windows):
9396 Fix :set quoting oddness. (Bug#8192)
9397
be996521
GM
9398 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9399 in some setf expressions. (Bug#2159)
9400
2bb5649e
CY
94012011-03-08 Chong Yidong <cyd@stupidchicken.com>
9402
9403 * custom.el (custom-available-themes): Return themes in
9404 alphabetical order.
9405
33383987 9406See ChangeLog.15 for earlier changes.
e3d51b27
MR
9407
9408;; Local Variables:
9409;; coding: utf-8
e3d51b27
MR
9410;; End:
9411
33383987 9412 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
9413
9414 This file is part of GNU Emacs.
9415
9416 GNU Emacs is free software: you can redistribute it and/or modify
9417 it under the terms of the GNU General Public License as published by
9418 the Free Software Foundation, either version 3 of the License, or
9419 (at your option) any later version.
9420
9421 GNU Emacs is distributed in the hope that it will be useful,
9422 but WITHOUT ANY WARRANTY; without even the implied warranty of
9423 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9424 GNU General Public License for more details.
9425
9426 You should have received a copy of the GNU General Public License
9427 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.