Restore Emacs 23 handling of display-buffer's BUFFER-OR-NAME argument.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d45ba96b
MR
12011-12-20 Martin Rudalics <rudalics@gmx.at>
2
3 * window.el (window-normalize-buffer-to-display): Remove.
4 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5
a6198c90
CY
62011-12-19 Chong Yidong <cyd@gnu.org>
7
8 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9 Don't signal an error in a predicate function; return non-nil.
10 (vc-dir-mark-file): Move the error here.
11 (vc-dir-mark-unmark): If acting on the region, keep going if one
12 of the entries cannot be marked/unmarked.
13 (vc-dir-mark-all-files): If current entry is a directory, mark
14 only child files, as documented.
15
34c5fb55
VB
162011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
17
18 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
19 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
20 addition.
21
c803b2b7
JD
222011-12-18 Jan Djärv <jan.h.d@swipnet.se>
23
24 * term/ns-win.el (ns-get-selection-internal)
25 (ns-store-selection-internal): Declare.
1154d12e
JB
26 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
27 Declare as obsolete.
28 (ns-get-pasteboard, ns-paste-secondary):
29 Use ns-get-selection-internal.
30 (ns-set-pasteboard, ns-copy-including-secondary):
31 Use ns-store-selection-internal.
c803b2b7 32
9cff91f8 332011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
34
35 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 36 (vc-deduce-fileset): Doc fix.
99a289d9 37
f16c898a
AS
382011-12-16 Andreas Schwab <schwab@linux-m68k.org>
39
40 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
41
763237c4
SS
422011-12-13 Sam Steingold <sds@gnu.org>
43
44 * man.el (Man-getpage-in-background): When running under a
45 window-system, ignore $MANWIDTH and $COLUMNS.
46
5fc1c122
KH
472011-12-15 Kenichi Handa <handa@m17n.org>
48
49 * language/ethio-util.el: Change coding tag to utf-8-emacs.
50 (setup-ethiopic-environment-internal): Comment out key-binding for
51 ethio-toggle-punctuation.
52
13d49cbb
AM
532011-12-13 Alan Mackenzie <acm@muc.de>
54
898169a2
AM
55 Add the switch statement to AWK Mode.
56
57 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
58 "default" to the keywords regexp.
59
60 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
61 expression as the rest.
62 (c-nonlabel-token-key): Allow string literals for AWK. Refactor
63 for the other modes.
64
13d49cbb
AM
65 Large brace-block initialisation makes CC Mode slow: Fix.
66 Tidy up and accelerate c-in-literal, etc. by using the
67 c-parse-state
68 routines. Limit backward searching in c-font-lock-enclosing.decl.
69
70 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
71 pp-state and literal type in addition to the limits.
72 (c-state-safe-place): New defun, extracted from
73 c-state-literal-at.
74 (c-state-literal-at): Use the above new defun.
75 (c-slow-in-literal, c-fast-in-literal): Removed.
76 (c-in-literal, c-literal-limits): Amended to use
77 c-state-pp-to-literal.
78
79 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
80 being in a literal. Add a limit for backward searching.
81
82 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
83 c-slow-in-literal.
84
15e0efc7
SM
852011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
86
87 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
88
454592a6
MR
892011-12-13 Martin Rudalics <rudalics@gmx.at>
90
91 * window.el (delete-other-windows): Use correct frame in call to
92 window-with-parameter.
93
87393f26
DP
942011-12-12 Daniel Pfeiffer <occitan@t-online.de>
95
96 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
97 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
98 (makefile-gmake-statements, makefile-makepp-statements):
99 Use it and add new makepp keywords.
100 (makefile-makepp-font-lock-keywords): Add new patterns.
101 (makefile-match-function-end): Match new [...] and [[...]].
102
11636b22
JB
1032011-12-11 Juanma Barranquero <lekktu@gmail.com>
104
105 * ses.el (ses-call-printer-return, ses-cell-property-get)
106 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
107 (ses-create-cell-variable, ses-reset-header-string)
108 (ses-cell-set-formula, ses-repair-cell-reference-all)
109 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
110 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
111 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
112 (ses-aset-with-undo, ses-load, ses-truncate-cell)
113 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
114 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
115 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
116 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
117 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
118 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
119 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
120 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
121
cf018193
VB
1222011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
123
124 * ses.el: The overall change is to add cell renaming, that is
125 setting fancy names for cell symbols other than name matching
126 "\\`[A-Z]+[0-9]+\\'" regexp .
127 (ses-create-cell-variable): New defun.
128 (ses-relocate-formula): Relocate formulas only for cells the
129 symbols of which are not renamed, i.e. symbols whose names do not
130 match regexp "\\`[A-Z]+[0-9]+\\'".
131 (ses-relocate-all): Relocate values only for cells the symbols of
132 which are not renamed.
133 (ses-load): Create cells variables as the (ses-cell ...) are read,
134 in order to check row col consistency with cell symbol name only
135 for cells that are not renamed.
136 (ses-replace-name-in-formula): New defun.
137 (ses-rename-cell): New defun.
138
ee957461
CY
1392011-12-11 Chong Yidong <cyd@gnu.org>
140
141 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
142 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
143
9a9e9ef0
MR
1442011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
145
146 * window.el (other-window): Fix docstring.
147
92a8eba5
EZ
1482011-12-10 Eli Zaretskii <eliz@gnu.org>
149
150 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
151 `from' or `to' address before taking its substring. Fixes
152 incorrect display in Rmail summary buffer whereby an RFC2047
153 encoded name is chopped in the middle of the encoded string, and
154 thus displayed encoded.
155
e152e577
JB
1562011-12-10 Juanma Barranquero <lekktu@gmail.com>
157
158 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
159
e5d84bfe
EZ
1602011-12-10 Eli Zaretskii <eliz@gnu.org>
161
162 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
163 to use texinfo-update-node and commands that call it if the
164 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 165 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
166 (texinfo-all-menus-update, texinfo-master-menu)
167 (texinfo-update-node, texinfo-every-node-update)
168 (texinfo-multiple-files-update): Doc fix. Warn against updating
169 all the @node lines.
170 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
171 argument is numeric. Explain better in the doc string what the
172 function really does.
173 (texinfo-insert-master-menu-list): Improve the error message
174 displayed if there's no menu in the Top node.
175 (Bug#2975) See also this thread:
e5d84bfe
EZ
176 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
177
1d84e9bb
MG
1782011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
179
180 * speedbar.el (speedbar-supported-extension-expressions):
181 Add .adb and .ads, commonly used for Ada source code (bug#10256).
182
382c953b
JB
1832011-12-09 Juanma Barranquero <lekktu@gmail.com>
184
185 * printing.el (pr-mode-alist):
186 * simple.el (filter-buffer-substring-functions)
187 (completion-list-insert-choice-function):
188 * window.el (window-with-parameter, window-atom-root)
189 (window-sides-slots, window-size-fixed, window-min-delta)
190 (window-max-delta, window--resize-mini-window)
191 (window--resize-child-windows-normal, window-tree)
192 (delete-other-windows, quit-window, split-window)
193 (display-buffer-record-window, special-display-buffer-names)
194 (special-display-regexps, special-display-popup-frame)
195 (same-window-p, split-window-sensibly)
196 (display-buffer-overriding-action, display-buffer-alist)
197 (display-buffer-base-action, display-buffer, switch-to-buffer)
198 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
199 (fit-window-to-buffer, recenter-positions)
200 (mouse-autoselect-window-state, mouse-autoselect-window-select):
201 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
202 and remove unneeded backslashes in docstrings.
203
39c9faef
SM
2042011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
205
98449af8
SM
206 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
207
39c9faef
SM
208 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
209 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
210 end in ".mk".
211 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
212 when reading the makefile (bug#10116).
213
86ed9fdc
SM
2142011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
217 (bug#10116).
218
5580f89d
GM
2192011-12-06 Glenn Morris <rgm@gnu.org>
220
221 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
222
28d3917c
CY
2232011-12-06 Chong Yidong <cyd@gnu.org>
224
225 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
226
a98edce9
JB
2272011-12-06 Juanma Barranquero <lekktu@gmail.com>
228
229 * textmodes/table.el (table-shorten-cell): Fix typo.
230
e65adfac
CG
2312011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
232
233 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
234
71cc0b74
EZ
2352011-12-05 Eli Zaretskii <eliz@gnu.org>
236
237 * descr-text.el (describe-char): Fix display of strong
238 right-to-left characters and directional embeddings and overrides.
239
240 * simple.el (what-cursor-position): Fix display of codepoints of
241 strong right-to-left characters.
242
315bc30d
CY
2432011-12-05 Chong Yidong <cyd@gnu.org>
244
245 * faces.el (read-color): Doc fix.
246
58a70b94
GM
2472011-12-05 Glenn Morris <rgm@gnu.org>
248
249 * align.el (align--set-marker): Add doc-string.
250 Don't try to move something that is not a marker. (Bug#10216)
251
5158face
GM
2522011-12-04 Glenn Morris <rgm@gnu.org>
253
254 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
255 overly zealous deletion of trailing whitespace.
256
520fca41
JB
2572011-12-04 Juanma Barranquero <lekktu@gmail.com>
258
259 * server.el (server-delete-client): On Windows, do not try to delete
260 the only terminal.
261 (server-process-filter): On Windows, treat requests for a tty frame as
262 if they were for a GUI frame if the running server is in GUI mode.
263
5e605a2e
GM
2642011-12-03 Glenn Morris <rgm@gnu.org>
265
266 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
267
5c3fe83f
SM
2682011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
269
6f5e57e7
SM
270 * electric.el: Streamline electric-indent's hook.
271 (electric-indent-chars): Revert to simple list.
272 (electric-indent-functions): New var.
273 (electric-indent-post-self-insert-function): Use it.
274
5c3fe83f
SM
275 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
276 there's no inferior buffer (bug#10196).
277 (prolog-consult-compile): Don't use toggle-read-only.
278
6bdac736
MA
2792011-12-02 Michael Albinus <michael.albinus@gmx.de>
280
281 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
282 interrupt. (Bug#10187)
283
6131ba7f
SM
2842011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
285
99c79fee
SM
286 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
287 (bug#9160).
288
6131ba7f
SM
289 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
290 (bug#10191).
291
cb0a02ea
JL
2922011-12-02 Juri Linkov <juri@jurta.org>
293
294 * info.el (Info-search): Display "end of manual" when Isearch
295 reaches the end of single-file Info manual. (Bug#9918)
296
66e0570c
EZ
2972011-12-02 Eli Zaretskii <eliz@gnu.org>
298
299 * isearch.el (isearch-message-prefix): Run the input method part
300 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
301
02b16839
JL
3022011-12-02 Juri Linkov <juri@jurta.org>
303
304 * isearch.el (isearch-occur): Use `word-search-regexp' for
305 `isearch-word'.
306 (isearch-search-and-update): Add condition for `isearch-word' and
307 call `word-search-regexp'. (Bug#10145)
308
0b950688
GM
3092011-12-01 Glenn Morris <rgm@gnu.org>
310
311 * eshell/em-hist.el (eshell-hist-initialize):
312 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 313 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 314
9505c3c7
SM
3152011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
318
1bbe96b2 3192011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 320
a1beca85
SM
321 * progmodes/verilog-mode.el (verilog-pretty-expr):
322 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
323 verilog, such as += *= and the like.
324 (verilog-assignment-operator-re): Regular expression to find the
325 assigment operator in a verilog assignment.
326 (verilog-assignment-operation-re): Regular expression to find an
327 assignment statement for pretty-expr.
328 (verilog-in-attribute-p): Query returns true if point is in an
329 attribute context; used to skip these for expression line up from
330 pretty-expr.
331 (verilog-in-parameter-p): Query returns true if point is in an
332 parameter definition context; used to skip these for expression
333 line up from pretty-expr.
334 (verilog-in-parenthesis-p): Query returns true if point is in a
335 parenthetical expression, specifically ( ) but not [ ] or { };
336 used by pretty-expr.
337 (verilog-just-one-space): If there is no space, don't add one.
338 (verilog-get-lineup-indent-2): Specifically skip just attribute
339 contexts for expression lineup, rather than skipping all
340 parenthetical expressions.
341 (verilog-calculate-indent): Fix comment, and fix indent.
342 (verilog-do-indent): Indent declarations in lists (suggested by
343 Joachim Lechner).
344 (verilog-mode-abbrev-table): Populate abbrev mode with the various
345 skeleton items.
346 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
347 by Alain Mellan).
348
1bbe96b2 3492011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
350
351 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
352 parameters with embedded comments. Reported by Ray Stevens.
353 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
354 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
355 Reported by Tim Holt.
356 (verilog-auto): Fix AUTOing a upper module then AUTOing module
357 instantiated by upper module causing wrong expansion until AUTOed a
358 second time. Reported by K C Buckenmaier.
359 (verilog-diff-auto): Fix showing .* as a difference when
360 `verilog-auto-star-save' off. Reported by Dan Dever.
361 (verilog-auto-reset, verilog-read-always-signals)
362 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
363 temporary signals in reset list if
364 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
365 style to each signal's assignment type, bug381.
366 Reported by Thomas Esposito.
6288f0ca
WS
367 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
368 (verilog-uvm-statement-re): Support UVM indentation and
369 highlighting, with old OVM keywords only.
a1beca85
SM
370 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
371 Support AUTOTIEOFF creating non-wire data types. Suggested by Jonathan
6288f0ca
WS
372 Greenlaw.
373 (verilog-auto-insert-lisp, verilog-delete-to-paren)
374 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
375 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
376 (verilog-read-sub-decls, verilog-read-sub-decls-line):
377 Fix mismatching parenthesis inside commented out code when deleting
382c953b 378 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
379 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
380 non-numeric vector width. Reported by Alex Reed.
381 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 382 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
383 (verilog-auto-delete-trailing-whitespace):
384 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
385 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
386 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
387 Fix verilog-scan-cache corruption when running user AUTO expansion
388 hooks that call indentation routines.
389 (verilog-simplify-range-expression): Fix typo ignoring lower case
390 identifiers.
391 (verilog-delete-auto): Fix delete-autos to also remove user created
392 automatics, as long as they start with AUTO.
393 (verilog-batch-diff-auto, verilog-diff-auto)
394 (verilog-diff-function): Add `verilog-diff-auto' and bind to
395 "C-c?" to report differences in AUTO expansion, ignoring spaces.
396 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
397 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
398 (verilog-re-search-forward-quick, verilog-syntax-ppss):
399 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
400 is disabled and its cache will get corrupt, causing AUTOS not to
401 expand. Instead use only -quick functions.
402 (verilog-scan-region): Fix scanning over escaped quotes.
403 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
404 (verilog-re-search-backward-quick)
405 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
406 related functions now ignore strings, to fix misparsing of strings
407 with magic comments embedded in them.
a1beca85
SM
408 (verilog-read-auto-template):
409 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
410 Reported by Brad Dobbie.
411 (verilog-read-auto-template):
412 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 413 Reported by Brad Dobbie.
6288f0ca
WS
414 (verilog-auto-inst, verilog-auto-inst-param)
415 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
416 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
417 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
418 debugging templates without merge conflicts, bug357.
419 Reported by Brad Dobbie.
420 (verilog-read-auto-template):
421 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
422 Reported by Brad Dobbie.
423 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
424 abbrevs so user won't be asked to save.
425 (verilog-read-auto-lisp-present): Fix to start at beginning of
426 buffer in case called outside of verilog-auto.
427 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
428 to "X-2". Reported by Matthew Myers.
429 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
430 all inputs from module templates. Reported by Leith Johnson.
431 (verilog-module-inside-filename-p): Fix locating programs as with
432 modules.
433 (verilog-auto-inst-port): Fix vl-width expressions when using
434 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
435 (verilog-decls-get-regs, verilog-decls-get-signals,
436 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
437 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
438 verilog-read-decls): Combine reg and wire structures into one var
439 structure to represent SystemVerilog concepts.
440 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
441 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
442 (verilog-auto-wire-type, verilog-insert-definition):
443 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
444 SystemVerilog "logic" keyword instead of "wire"/"reg".
445 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
446 to declares outputs that also have assignments (presumably in an
a1beca85
SM
447 ifdef or generate if so there's not a driver conflict).
448 Reported by Matthew Myers.
449 (verilog-auto-declare-nettype, verilog-insert-definition):
450 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
451 `default_nettype none. Reported by Julian Gorfajn.
452 (verilog-read-always-signals-recurse, verilog-read-decls)
453 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
454 malformed end statement, bug325. Reported by Joshua Wise and
455 Andrew Drake.
456 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
457 (verilog-inst-comment-re): Fix not deleting Interfaced comment
458 when expanding .* in interfaces, bug320. Reported by Pierre-David
459 Pfister.
460 (verilog-read-module-name): Fix import statements between module
461 name and open parenthesis, bug317. Reported by Pierre-David
462 Pfister.
463 (verilog-simplify-range-expression): Fix simplification of
464 multiplications inside AUTOWIRE connections, bug303.
465 (verilog-auto-inst-port): Support parameter expansion in
466 multidimensional arrays.
467 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
468 after "assert property". Reported by Julian Gorfajn.
469 (verilog-simplify-range-expression): Fix "couldn't merge" errors
470 with multiplication, bug303.
471 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
472 Reported by Jan Frode Lonnum.
473
1bbe96b2
GM
4742011-11-30 Juanma Barranquero <lekktu@gmail.com>
475
476 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
477 (hfy-shell-file-name, hfy-shell):
478 * international/fontset.el (x-decompose-font-name): Fix typos.
479
4802011-11-29 Ken Brown <kbrown@cornell.edu>
481
482 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
483 (gdb-version): Remove defvar.
484 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
485 (gdb-gud-context-command, gdb-non-stop-handler)
486 (gdb-current-context-command, gdb-stopped): Use it.
487 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
488 (gdb-non-stop-handler): Don't enable pretty-printing here.
489 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
490 non-stop mode. Use the following.
491 (gdb-check-target-async): New defun.
492 (gud-watch, gdb-stopped): Fix whitespace.
493 (gdb-get-source-file): Don't try to display the source file if
494 `gdb-main-file' is nil.
495
4962011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
497
498 * align.el: Try to generate fewer markers (bug#10047).
499 (align--set-marker): New macro.
500 (align-region): Use it.
501
c935221f
SM
5022011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
503
504 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
505
e70b5064
CY
5062011-11-29 Chong Yidong <cyd@gnu.org>
507
508 * indent.el (indent-for-tab-command, indent-according-to-mode):
509 Doc fix.
510 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
511
f3af92b7
MA
5122011-11-29 Michael Albinus <michael.albinus@gmx.de>
513
514 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
515 aware of remote file names. (Bug#10124)
516
ed472be9
CY
5172011-11-29 Chong Yidong <cyd@gnu.org>
518
519 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
520
24510c22
SM
5212011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * files.el (find-file): Don't use force-same-window (bug#10144).
524 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
525 use pop-to-buffer if the selected window can't be used.
526 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
527
c60c3703
EZ
5282011-11-28 Eli Zaretskii <eliz@gnu.org>
529
530 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
531 special-mode-map.
532
e95def75
CY
5332011-11-28 Chong Yidong <cyd@gnu.org>
534
535 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
536
c3f1c606
NR
5372011-11-27 Nick Roberts <nickrob@snap.net.nz>
538
539 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
540 gdb-get-source-file-list on gdb-create-source-file-list.
541
00db469c
EZ
5422011-11-26 Eli Zaretskii <eliz@gnu.org>
543
544 * whitespace.el (whitespace-newline): Use a different foreground
545 color for 16-color light-background displays.
546
4ad3bc2a
CY
5472011-11-24 Chong Yidong <cyd@gnu.org>
548
549 * window.el (display-buffer--special-action): Doc fix.
550
e9fce1ac
JB
5512011-11-25 Juanma Barranquero <lekktu@gmail.com>
552
553 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
554 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
555 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
556 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
557 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
558 (avl-tree-stack-first):
559 * emacs-lisp/cconv.el (cconv--analyse-use):
560 * net/gnutls.el (gnutls-negotiate): Fix typos.
561
cb825e5d
GM
5622011-11-24 Glenn Morris <rgm@gnu.org>
563
3adbe224
GM
564 * lpr.el (lpr-windows-system, lpr-lp-system):
565 * mail/binhex.el (binhex-begin-line):
566 * progmodes/grep.el (grep-history, grep-find-history):
567 * textmodes/flyspell.el:
568 * vc/pcvs-defs.el (cvs-global-menu):
569 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
570 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
571 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
572
321decc8
GM
573 * net/tls.el: Fix case of "GnuTLS".
574
420b63ad
GM
575 * paths.el (rmail-file-name): Format doc-string for make-docfile.
576
cb825e5d
GM
577 * version.el (emacs-build-system): Give it a doc-string.
578
a0649f08
JL
5792011-11-24 Juri Linkov <juri@jurta.org>
580
581 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
582
c0bc0fd4
GM
5832011-11-24 Glenn Morris <rgm@gnu.org>
584
585 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
586 if called on a non-mime message just toggle the headers. (Bug#8006)
587
20db1522
JB
5882011-11-24 Juanma Barranquero <lekktu@gmail.com>
589
590 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
591 (allout-lead-with-comment-string, allout-structure-deleted-hook)
592 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
593 (allout-rebullet-heading, allout-open-sibtopic)
594 (allout-toggle-current-subtree-encryption)
595 (allout-toggle-subtree-encryption, allout-encrypt-string)
596 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
597 (allout-distinctive-bullets-string, allout-auto-activation):
598 * window.el (window-normalize-buffer-to-display):
599 * progmodes/verilog-mode.el (verilog-batch-indent):
600 * textmodes/bibtex.el (bibtex-field-braces-opt)
601 (bibtex-field-strings-opt):
602 * vc/cvs-status.el (cvs-tree-merge):
603 Fix typos.
604
7262a87c
MA
6052011-11-23 Michael Albinus <michael.albinus@gmx.de>
606
607 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
608 `non-essential' to t, in order to avoid remote connections.
609
283430a1
EZ
6102011-11-23 Eli Zaretskii <eliz@gnu.org>
611
a1beca85
SM
612 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
613 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
614 case-insensitively.
615
d2992a38
ML
6162011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
617
618 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
619
50419064
GM
6202011-11-23 Glenn Morris <rgm@gnu.org>
621
da94eca1
GM
622 * paths.el (rmail-file-name): Reformat the doc-string so that it
623 is picked up.
624
9aac4de2
GM
625 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
626 (rmail-auto-file): Ignore case in the "special" field names,
627 as mail-fetch-field does for all others.
628
8038d2d2
GM
629 * mail/rmail.el (rmail-forward):
630 * mail/rmailkwd.el (rmail-set-label):
631 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
632 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
633
f3fe222a
GM
634 * mail/rmail.el (rmail-current-message): Doc fix.
635
50419064
GM
636 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
637
28109f49
SM
6382011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
639
640 * server.el (server-eval-and-print): Allow C-g (bug#6585).
641
394c65f1
GM
6422011-11-22 Glenn Morris <rgm@gnu.org>
643
644 * mail/rmailmm.el (test-rmail-mime-handler)
645 (test-rmail-mime-bulk-handler)
646 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
647
f2a0aa3a
JL
6482011-11-21 Juri Linkov <juri@jurta.org>
649
1154d12e
JB
650 * calc/calc.el (calc-read-key-sequence):
651 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 652
9c34a344
LMI
6532011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
654
655 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
656 Tell the caller that the next line needs recomputation, even
657 though it doesn't start a sexp (bug#10094).
658
f04a3be9
SM
6592011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
660
661 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
662
7978747f
SM
6632011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
664
f04a3be9
SM
665 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
666 Use force-same-window.
7978747f 667
fe7a3057
JB
6682011-11-20 Juanma Barranquero <lekktu@gmail.com>
669
670 * descr-text.el (describe-char-unicode-data):
671 * json.el (json-string-escape):
672 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
673 (Footnote-unicode, Footnote-style-p):
674 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
675
24901d61
CY
6762011-11-20 Chong Yidong <cyd@gnu.org>
677
678 * window.el (replace-buffer-in-windows): Restore interactive spec.
679
bac7ff22
SM
6802011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
681
24f3d7b9
SM
682 * electric.el (electric-indent-mode): Fix last change (too optimistic).
683
bac7ff22
SM
684 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
685 (byte-compile-global-not-obsolete-vars): New var.
686 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
687 Use it.
688 (byte-compile-warn-obsolete): Align text with the one in *Help*.
689
cd1181db
JB
6902011-11-20 Juanma Barranquero <lekktu@gmail.com>
691
692 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
693 * progmodes/pascal.el (electric-pascal-equal):
694 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
695 * xml.el (xml-substitute-special): Fix typos.
696
7fb18e9e
GM
6972011-11-20 Glenn Morris <rgm@gnu.org>
698
699 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
700 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
701 Doc fixes.
702 (rmail-decode-mime-charset): Mark as obsolete.
703
704 * mail/rmailsum.el (rmail-message-regexp-p-1):
705 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
706 Before using mime functions, check they are set. (Bug#10077)
707
d5a6b3ba
JL
7082011-11-19 Juri Linkov <juri@jurta.org>
709
710 * info.el (Info-finder-find-node): Use `package--builtins' instead
711 of `package-alist'. Use node names formed by the pattern "Keyword "
712 and the keyword name.
713
e981b61f
AS
7142011-11-19 Andreas Schwab <schwab@linux-m68k.org>
715
716 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
717 bash.
718
3ffbc301
JL
7192011-11-19 Juri Linkov <juri@jurta.org>
720
721 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
722 that calls `revert-buffer' on all Info buffers. (Bug#9915)
723 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
724 `old-history', `old-history-forward'. Add let-binding
725 `window-selected'. Remove calls to `kill-buffer',
726 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
727 before calling `Info-find-node', so `Info-find-node-2' will reread
728 the Info file. Restore window positions only when `window-selected'
729 is non-nil.
730
30c62133
JL
7312011-11-19 Juri Linkov <juri@jurta.org>
732
733 * isearch.el (isearch-lazy-highlight-new-loop):
734 Remove condition `(not isearch-error)'. (Bug#9918)
735
736 * misearch.el (multi-isearch-search-fun): Add condition
737 `(not bound)' to ignore lazy-highlighting search.
738 Add the search-failed message "end of multi" when the end of
739 multi-sequence is reached. Uncapitalize the search-failed
740 message "Repeat for next buffer".
741
742 * info.el (Info-search): Add the search-failed message
743 "end of the manual" when the end of the manual is reached
744 in Isearch mode.
745
645ca9cf
JL
7462011-11-19 Juri Linkov <juri@jurta.org>
747
748 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
749 Use non-destructive `remove' instead of `delete' because
750 `Info-history-list' stored to `Info-isearch-initial-history-list' in
751 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
752
df754f66
JL
7532011-11-19 Juri Linkov <juri@jurta.org>
754
755 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
756 to nil instead of binding `search-ring' and `regexp-search-ring'.
757 (Bug#9185)
758
0e23d96a
EZ
7592011-11-19 Eli Zaretskii <eliz@gnu.org>
760
761 * simple.el (line-move): Force movement by logical lines for any
762 hscrolled window, not only when auto-hscroll-mode is on.
763 (line-move-visual): Update doc string to that effect. (Bug#10076)
764
8a6ccb66
AS
7652011-11-19 Andreas Schwab <schwab@linux-m68k.org>
766
767 * language/european.el (macintosh): Define as alias for mac-roman.
768
49ae5b39
EZ
7692011-11-19 Eli Zaretskii <eliz@gnu.org>
770
771 * mail/rmailmm.el (rmail-mime-display-header)
772 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
773 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
774 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
775 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
776 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
777 of a raw aref.
778 (rmail-mime-entity-segment): To get past the tagline, move forward
779 2 more lines, to account for the 2 empty lines that precede and
780 follow the line with the buttons.
781 (rmail-mime-update-tagline): Move one more line, to get past the
782 empty line that follows the buttons in the tagline. (Bug#9520)
783
c56cad4a
MR
7842011-11-19 Martin Rudalics <rudalics@gmx.at>
785
786 * window.el (window-max-delta-1, window-min-delta-1)
787 (window-min-size-1, window-state-get-1, window-state-put-1)
788 (window-state-put-2): Use "window--" prefix.
789
cbe71af3
SM
7902011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
791
2ad52c60
SM
792 * emacs-lisp/smie.el: Improve warnings and conflict detection.
793 (smie-warning-count): New var.
794 (smie-set-prec2tab): Use it.
795 (smie-bnf->prec2): Improve warnings. Add docstring.
796 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
797 (smie-bnf--set-class): New function.
798 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
799 corner case.
800
6944dbc1
SM
801 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
802 (compilation-error-properties, compilation-move-to-column):
803 Handle compilation-first-column while in the target buffer.
804
c400c4d7
SM
805 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
806 Don't hardcode point-min==1.
807
6dbe3e96
SM
808 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
809 (eshell-rewrite-for-command): Remove workaround.
810 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
811 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
812 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
813
cbe71af3
SM
814 * files-x.el (modify-file-local-variable): Obey commenting conventions.
815
a8e1496d
GM
8162011-11-17 Glenn Morris <rgm@gnu.org>
817
818 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
819 Ignore buffer-local generated-autoload-file if it is the same
820 as the global value. (Bug#10049)
821
df85d315
JB
8222011-11-17 Juanma Barranquero <lekktu@gmail.com>
823
824 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
825 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
826 (reftex-toc-previous-heading, reftex-toc-max-level)
827 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
828 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
829 (reftex-toc-do-promote, reftex-toc-promote-prepare)
830 (reftex-toc-promote-action, reftex-toc-extract-section-number)
831 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
832 (reftex-toc-rename-label, reftex-toc-visit-location)
833 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
834 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
835 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
836 leaving "*toc*" only for references to the buffer.
837
a0c2d0ae
MR
8382011-11-17 Martin Rudalics <rudalics@gmx.at>
839
840 * window.el (window-resize, delete-window, split-window):
841 Replace window-splits by window-combination-resize.
842 * cus-start.el (window-splits): Replace by
843 window-combination-resize.
844
35c0bac8
GM
8452011-11-17 Glenn Morris <rgm@gnu.org>
846
847 * progmodes/sh-script.el (sh-font-lock-keywords-var):
848 Make bash entry derive from sh entry, not shell entry.
849
d0c8fc8a
MA
8502011-11-16 Michael Albinus <michael.albinus@gmx.de>
851
d0c8fc8a
MA
852 * net/tramp-cache.el (tramp-flush-file-property): Flush also
853 properties of linked files. (Bug#9879)
854
7262a87c
MA
855 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
856 local file name.
857
7877f373
JB
8582011-11-16 Juanma Barranquero <lekktu@gmail.com>
859
860 * menu-bar.el (menu-bar-file-menu):
861 * printing.el (pr-ps-utility):
862 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
863 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
864 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
865 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
866 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
867 (icalendar--convert-cyclic-to-ical)
868 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
869 (icalendar--convert-ical-to-diary)
870 (icalendar--convert-recurring-to-diary)
871 (icalendar--convert-non-recurring-all-day-to-diary)
872 (icalendar-import-format-sample):
873 * progmodes/idlw-shell.el (idlwave-shell-mode):
874 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
875 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
876 (vhdl-ps-print-init): Fix typos.
877
10649b82
KM
8782011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
879
9d0cfcd6
GM
880 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
881 FSF and collapse date sequence, obscure author/maintainer email address
882 better, remove extra version line, track relocation of author's webpage.
10649b82 883
9d0cfcd6
GM
884 * progmodes/python.el (python-pdbtrack-input-prompt)
885 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
886 regular python pdb prompts. Adjustments shamelessly taken exactly as
887 suggested in EmacsWiki page (tiny change):
888 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 889
58179cce
JB
8902011-11-16 Juanma Barranquero <lekktu@gmail.com>
891
892 * expand.el (expand-pos, expand-index, expand-point):
893 Remove redundant info from docstring.
894 (expand-add-abbrevs): Doc fix.
895 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
896 (expand-sample-perl-mode-expand-list): Fix typos.
897
898 * net/dbus.el (dbus-event-member-name):
899 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
900 * term/pc-win.el (msdos-create-frame-with-faces):
901 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
902
b6f67890
MR
9032011-11-16 Martin Rudalics <rudalics@gmx.at>
904
905 * window.el (split-window, window-state-get-1)
906 (window-state-put-1, window-state-put-2): Rename occurrences of
907 window-nest to window-combination-limit.
908 * cus-start.el (window-nest): Rename to
909 window-combination-limit.
910
ce7ddba0
CY
9112011-11-16 Chong Yidong <cyd@gnu.org>
912
913 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
914 regexp (Bug#10033).
915
3ae704f4
SM
9162011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
917
918 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
919 `completing-read' will remove *Completions* and will preserve
920 current-buffer for us.
921 (tmm-add-prompt): Users of *Completions* will always (re)set its
922 major mode.
923 (tmm-old-comp-map): Remove.
924
6ad1cdde
GM
9252011-11-16 Glenn Morris <rgm@gnu.org>
926
927 * mail/rmailedit.el: Require rmailmm when compiling.
928 (rmail-old-mime-state): New declaration.
929 (rmail-edit-current-message): If editing a mime message,
930 edit the "raw" message from the mbox buffer.
931 (rmail-cease-edit): Handle mime messages. (Bug#9840)
932
d20faa20
GM
9332011-11-15 Glenn Morris <rgm@gnu.org>
934
935 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
936 which wasn't being used. Add optional arg to force given state.
937 (rmail-mime): Add optional arg to force given state.
938
c7015153
JB
9392011-11-15 Juanma Barranquero <lekktu@gmail.com>
940
941 * allout.el (allout-encryption-plaintext-sanitization-regexps):
942 * frame.el (display-mm-dimensions-alist):
943 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
944 (outline-move-subtree-down):
945 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
946 (newsticker--treeview-do-get-node):
947 * net/quickurl.el (quickurl-list-buffer-name):
948 * progmodes/dcl-mode.el (dcl-mode):
949 * progmodes/gdb-mi.el (gdb-mapcar*):
950 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
951
45261b50
GM
9522011-11-15 Glenn Morris <rgm@gnu.org>
953
954 * mail/rmail.el (rmail-file-coding-system): It's only ever used
955 in a boolean sense, so just make it a boolean, and fix the doc.
956 (rmail-show-mime-function, rmail-mime-feature)
957 (rmail-require-mime-maybe): Doc fixes.
958 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
959
960 * mail/rmailmm.el (rmail-show-mime): Doc fix.
961
0d26e0b6
JB
9622011-11-15 Juanma Barranquero <lekktu@gmail.com>
963
964 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
965 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
966 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
967 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
968
447f30f6
GM
9692011-11-15 Glenn Morris <rgm@gnu.org>
970
672b871d
GM
971 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
972 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
973 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
974 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
975 (rmail-mime, rmail-show-mime): Doc fixes.
976
f6aa5bb1
GM
977 * term/ns-win.el (mode-line-frame-identification):
978 Leave it alone. (Bug#10051)
979
947cd66b
GM
980 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
981
447f30f6
GM
982 * mail/rmailout.el (rmail-output-to-rmail-buffer):
983 Handle empty buffers. (Bug#9978)
984
0b381c7e
JB
9852011-11-14 Juanma Barranquero <lekktu@gmail.com>
986
987 * international/mule.el (define-charset):
988 * mail/rmailmm.el (rmail-mime-find-header-encoding):
989 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
990 * progmodes/verilog-mode.el (verilog-backward-token):
991 * textmodes/ispell.el (lookup-words):
992 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
993
71e027ac
GM
9942011-11-14 Glenn Morris <rgm@gnu.org>
995
56632ce4
GM
996 * progmodes/executable.el
997 (executable-make-buffer-file-executable-if-script-p):
998 Handle file-modes returning nil.
999
40500957
GM
1000 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1001 message - not necessary, and causes problems. (Bug#9831)
1002
071c2340
GM
1003 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1004
d3cfca60
GM
1005 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1006
71e027ac
GM
1007 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1008 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1009 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1010
89d61221
MR
10112011-11-12 Martin Rudalics <rudalics@gmx.at>
1012
1013 * window.el (window-resize, delete-window): Use window-splits
1014 variable instead of function.
1015 (window-state-get-1, window-state-put-2, window-state-put):
1016 Don't deal with windows' splits status.
1017
98282f6f
GM
10182011-11-12 Glenn Morris <rgm@gnu.org>
1019
1020 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1021 (apropos-documentation): Doc fixes.
1022
40a8bdf6
JB
10232011-11-11 Juanma Barranquero <lekktu@gmail.com>
1024
1025 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1026 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1027
65bd19ff
SM
10282011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * electric.el (electric-indent-post-self-insert-function): Make it
1031 possible for a char to only indent in some circumstances.
1032 (electric-indent-mode): Simplify.
1033
54f9154c
MR
10342011-11-11 Martin Rudalics <rudalics@gmx.at>
1035
1036 * window.el (windows-with-parameter): Remove unused function.
1037 (windows-at-side): Rename to window-at-side-list.
1038 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1039 (window-side-check, window-size-ignore, window-size-fixed-1)
1040 (window-in-direction-2): Prefix with "window--".
1041 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1042
68cbc58b
GM
10432011-11-11 Glenn Morris <rgm@gnu.org>
1044
1045 * subr.el (eval-after-load): If FILE is already loaded,
1046 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1047
b2621720
GM
10482011-11-10 Glenn Morris <rgm@gnu.org>
1049
9a4de110
GM
1050 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1051 Call svn via vc-svn-command rather than vc-do-command.
1052 (vc-svn-command): Add --non-interactive. (Bug#9993)
1053 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1054
b2621720
GM
1055 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1056 Add toggle-read-only. (Bug#7292)
1057 * files.el (toggle-read-only): Mention that it should only
1058 be used interactively. (Bug#10006)
1059
1dce7193
SM
10602011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1061
d9ac1a1e
SM
1062 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1063 Adjust regexp for OCaml warnings.
1064
0c325082
SM
1065 * electric.el (electric-pair-post-self-insert-function): Let user
1066 turn it off buffer-locally (bug#9932).
1067
90132c14
SM
1068 * progmodes/python.el (python-beginning-of-statement):
1069 Rewrite (bug#2703).
1070
1dce7193
SM
1071 * progmodes/compile.el: Better handle TABs (bug#9749).
1072 (compilation-internal-error-properties)
1073 (compilation-next-error-function): Obey the target buffer's
1074 compilation-error-screen-columns.
1075
c4e7c63a
JB
10762011-11-09 Juanma Barranquero <lekktu@gmail.com>
1077
1078 * progmodes/meta-mode.el: Remove obsolete comments.
1079 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1080 Fix typos in docstrings.
1081
2cffd681
MR
10822011-11-09 Martin Rudalics <rudalics@gmx.at>
1083
1084 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1085 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1086 (window--resizable): New function. Make all callers of
1087 window-resizable call window--resizable instead.
1088 (window-resizable): Rewrite in terms of window--resizable.
1089
0edcba87
GM
10902011-11-08 Glenn Morris <rgm@gnu.org>
1091
1092 * progmodes/delphi.el (delphi-mode-syntax-table):
1093 Let define-derived-mode define a proper syntax table. (Bug#9994)
1094
4b0d61e3
SM
10952011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * window.el: Stay away from defsubst.
1098 (window-list-no-nils): Remove.
1099 (window-state-get-1, window-state-get): Use backquote instead.
1100
fcbcac2e 11012011-11-08 thierry <thierry.volpiatto@gmail.com>
1102
4b0d61e3 1103 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1104 Fix incorrect use of default argument in `completing-read'.
1105
e1c2c6f2
MR
11062011-11-08 Martin Rudalics <rudalics@gmx.at>
1107
1108 * window.el (display-buffer-function, special-display-function):
1109 Mention display-buffer-record-window but do not mention
1110 help-setup parameter in doc-strings.
b3f4a882 1111 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1112
105216ed
CY
11132011-11-08 Chong Yidong <cyd@gnu.org>
1114
1115 * window.el (window-total-height, window-total-width): Doc fix.
1116 (window-body-size): Move from C.
1117 (window-body-height, window-body-width): Move to C.
1118
0a9f9ab5
SM
11192011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * window.el: Make special-display like display-buffer-alist (bug#9532).
1122 (display-buffer--special-action): New function, morphed
1123 from display-buffer--special.
1124 (display-buffer): Use it to handle special-display-buffers at higher
1125 priority (just after display-buffer-alist).
1126 (display-buffer-fallback-action, display-buffer--other-frame-action)
1127 (pop-to-buffer-same-window): Remove display-buffer--special.
1128
a769dd15
GM
11292011-11-07 Glenn Morris <rgm@gnu.org>
1130
1131 * calendar/cal-menu.el (cal-menu-set-date-title):
1132 Do nothing if not in a calendar. (Bug#9976)
1133
05a61ee3
SM
11342011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * files.el (find-file): Always use selected-window.
1137
be7f5545
MR
11382011-11-07 Martin Rudalics <rudalics@gmx.at>
1139
1140 * window.el (window-combinations): Make WINDOW argument
1141 mandatory. Rewrite doc-string.
1142 (walk-window-subtree, window-atom-check, window-min-delta)
1143 (window-max-delta, window--resize-this-window)
1144 (window--resize-root-window-vertically, window-tree)
1145 (balance-windows, window-state-put): Rewrite doc-strings as to
1146 not mention the term "subwindow".
1147 (window--resize-subwindows-skip-p): Rename to
1148 window--resize-child-windows-skip-p.
1149 (window--resize-subwindows-normal): Rename to
1150 window--resize-child-windows-normal.
1151 (window--resize-subwindows): Rename to
1152 window--resize-child-windows.
1153 (window-or-subwindow-p): Rename to window--in-subtree-p.
1154
3c6702ef
ML
11552011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1156
1157 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1158 Ensure that mbox format messages end in two newlines (Bug#9974).
1159
49745b39
CY
11602011-11-06 Chong Yidong <cyd@gnu.org>
1161
1162 * window.el (window-combination-p): Function deleted; its
1163 side-effect is not used in any existing code.
1164 (window-combinations, window-combined-p): Call window-*-child
1165 directly.
1166
24300f5f
CY
11672011-11-05 Chong Yidong <cyd@gnu.org>
1168
1169 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
1170 (window-size-ignore, window-state-get): Callers changed.
1171 (window-normalize-window): Rename from window-normalize-any-window.
1172 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 1173 (window-normalize-live-window): Delete.
447f16b8
CY
1174 (window-combination-p, window-combined-p, window-combinations)
1175 (walk-window-subtree, window-atom-root, window-min-size)
1176 (window-sizable, window-sizable-p, window-size-fixed-p)
1177 (window-min-delta, window-max-delta, window-resizable)
1178 (window-resizable-p, window-full-height-p, window-full-width-p)
1179 (window-current-scroll-bars, window-point-1, set-window-point-1)
1180 (window-at-side-p, window-in-direction, window-resize)
1181 (adjust-window-trailing-edge, maximize-window, minimize-window)
1182 (window-deletable-p, delete-window, delete-other-windows)
1183 (record-window-buffer, unrecord-window-buffer)
1184 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1185 (quit-window, split-window, window-state-put)
1186 (set-window-text-height, fit-window-to-buffer)
1187 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 1188
89bd5ee1
EZ
11892011-11-04 Eli Zaretskii <eliz@gnu.org>
1190
53479029
EZ
1191 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1192 rfc2047-decode-string.
1193 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1194 warnings.
1195
89bd5ee1
EZ
1196 * window.el (window-body-height, window-body-width): Mention in
1197 the doc string that the return values are in frame's canonical
1198 units. (Bug#9949)
1199
bd17fdee
AM
12002011-11-03 Alan Mackenzie <acm@muc.de>
1201
1202 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1203 change in cc-engine.el.
1204
acc825c5
SM
12052011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1206
1207 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1208
1885e5b8
MR
12092011-11-02 Martin Rudalics <rudalics@gmx.at>
1210
1211 * window.el (quit-window): Call unrecord-window-buffer after
1212 showing another buffer in the window. (Bug#9937)
acc825c5 1213 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 1214
ebe06da9
JB
12152011-11-02 Juanma Barranquero <lekktu@gmail.com>
1216
1217 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1218 Accept status with more than 9 shelves. (Bug#9935)
1219 Reported by Colin D Bennett <colin@gibibit.com>.
1220
4ee88440
MR
12212011-11-01 Martin Rudalics <rudalics@gmx.at>
1222
1223 * help.el (with-help-window): Don't reference
1224 temp-buffer-show-specifiers in doc-string.
1225
08e1d82c
AS
12262011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1227
1228 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1229 menu-item.
1230
84bd6e9e
VJL
12312011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1232
1233 * whitespace.el: New version 13.2.2.
1234 (whitespace-newline-mode): Disable properly. Reported by Sarah
1235 <EmacsWiki>.
1236
dba0634a
UJ
12372011-10-30 Ulf Jasper <ulf.jasper@web.de>
1238
1239 * net/newst-treeview.el: Remove "Time-stamp".
1240 (newsticker--group-manage-orphan-feeds): Do not call
1241 newsticker--treeview-tree-update.
db22a3c2
JB
1242 (newsticker-treeview-update, newsticker-treeview):
1243 Call newsticker--treeview-tree-update if necessary.
dba0634a 1244
3d8daefe
MR
12452011-10-30 Martin Rudalics <rudalics@gmx.at>
1246
1247 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1248 (window-iso-combinations): Remove "iso-" infix.
1249 Suggested by Chong Yidong.
3d8daefe
MR
1250 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1251 (window-max-delta-1, window-resize, window--resize-siblings)
1252 (window--resize-this-window, adjust-window-trailing-edge)
1253 (split-window, balance-windows-1)
1254 (shrink-window-if-larger-than-buffer):
1255 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1256 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1257
1bc4c3ae
SM
12582011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1259
1260 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1261 in place (bug#9907).
1262 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1263 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1264 (eshell-structure-basic-command, eshell-rewrite-while-command)
1265 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1266 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1267 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1268 (eshell-do-pipelines-synchronously, eshell-eval-command):
1269 Use backquotes and prefer setq to set.
1270 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1271 (eshell-macrop): Use functionp.
c1e2f5fa 1272 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1273
30b65d9c
CY
12742011-10-30 Chong Yidong <cyd@gnu.org>
1275
1276 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1277 instead of set-mark (Bug#9810).
1278
2d197ffb
CY
12792011-10-30 Chong Yidong <cyd@gnu.org>
1280
1281 * window.el (split-window-below, split-window-right): Rename from
1282 split-window-above-each-other and split-window-side-by-side
1283 respectively. All callers changed.
1284 (split-window-sensibly, split-window-sensibly): Use them.
1285 (split-window-keep-point): Doc fix.
1286
1287 * isearch.el: Add isearch-scroll property to split-window-below
1288 and split-window-right.
1289
1290 * follow.el (follow-mode):
1291 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1292 * progmodes/ada-xref.el (ada-gdb-application):
1293 * emulation/vip.el (vip-buffer-in-two-windows):
1294 * image-dired.el (image-dired-dired-with-window-configuration):
1295 * dired-x.el (dired-do-find-marked-files):
1296 * dired.el (dired-pop-to-buffer):
1297 * bs.el (bs--show-with-configuration):
1298 * vc/emerge.el (emerge-setup-windows):
1299 * textmodes/two-column.el (2C-two-columns):
1300 * textmodes/reftex-toc.el (reftex-toc):
1301 * progmodes/gdb-mi.el (gdb-setup-windows):
1302 * progmodes/fortran.el (fortran-window-create):
1303 * net/newst-treeview.el (newsticker--treeview-window-init):
1304 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1305 * emulation/tpu-edt.el (tpu-gold-map):
1306 * emulation/crisp.el (crisp-mode-map):
1307 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1308
38bb2ca8
CY
13092011-10-29 Chong Yidong <cyd@gnu.org>
1310
aa4de341
CY
1311 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1312
e1eb5385
CY
1313 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1314
5d2ece3c
CY
1315 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1316 forged Ispell output (Bug#7904).
1317
38bb2ca8
CY
1318 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1319
d0af9f77
SM
13202011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1321
1322 * doc-view.el: Avoid ugly errors about not finding nil.
1323 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1324 (doc-view-dvipdf-program, doc-view-unoconv-program)
1325 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1326 Avoid nil or absolute file name as default value.
1327 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1328
52bedd34
AM
13292011-10-28 Alan Mackenzie <acm@muc.de>
1330
db22a3c2 1331 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 1332
7e43cfa5
AM
13332011-10-28 Alan Mackenzie <acm@muc.de>
1334
1335 Amend the handling of c-beginning/end-of-defun in nested declaration
1336 scopes.
1337
52bedd34
AM
1338 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1339 cc-langs.el. Change it to a defcustom.
7e43cfa5 1340
52bedd34
AM
1341 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1342 cc-vars.el.
7e43cfa5 1343
d0af9f77
SM
1344 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1345 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 1346
52bedd34 1347 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 1348 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
1349 (c-widen-to-enclosing-decl-scope): New function.
1350 (c-while-widening-to-decl-block): New macro.
1351 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1352 outward for defun boundaries, and correspondingly change symbol
1353 `respect-enclosure' to `go-outward'.
1354 (c-declaration-limits): Change algorithm to report only the "innermost"
1355 defun's boundaries.
1356
1a2ce9ee
DD
13572011-10-28 Deniz Dogan <deniz@dogan.se>
1358
1359 * net/rcirc.el (rcirc-mode): Use hard newlines.
1360
bc97a826
AM
13612011-10-28 Alan Mackenzie <acm@muc.de>
1362
1363 Amend to indent and fontify macros "which include their own semicolon"
1364 correctly, using the "virtual semicolon" mechanism.
1365
52bedd34 1366 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 1367
d0af9f77 1368 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 1369 Recode to scan one line at a time rather than having \n and \r
58179cce 1370 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 1371 (c-forward-label): Amend for virtual semicolons.
58179cce 1372 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 1373
52bedd34
AM
1374 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1375 of the new C macros.
bc97a826 1376
52bedd34 1377 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
1378 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1379 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
1380 (c-opt-cpp-macro-define): Make into a full language variable.
1381 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1382 AWK Mode (including \n, \r) removed, no longer needed.
1383
d0af9f77
SM
1384 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1385 Invoke c-make-macro-with-semi-re.
bc97a826 1386
52bedd34
AM
1387 * progmodes/cc-vars.el (c-macro-with-semi-re):
1388 (c-macro-names-with-semicolon): New variables.
58179cce 1389 (c-make-macro-with-semi-re): New function.
bc97a826 1390
7a6c0941
SM
13912011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * vc/log-edit.el: Fill empty field rather than adding new one.
1394 (log-edit-add-field): New function.
1395 (log-edit-insert-changelog): Use it.
1396
b0c4cdcf
ML
13972011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1398
1399 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1400
ee1f1da9
SM
14012011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1402
1403 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1404 (gdb--check-interpreter): New function.
1405 (gdb): Use it.
1406
51bc5f8b
GM
14072011-10-27 Glenn Morris <rgm@gnu.org>
1408
416a2c45
GM
1409 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1410 (least-positive-float, least-negative-float)
1411 (least-positive-normalized-float, least-negative-normalized-float)
1412 (float-epsilon, float-negative-epsilon):
1413 Remove unnecessary declarations.
1414
1415 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1416 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1417 (least-positive-float, least-negative-float)
1418 (least-positive-normalized-float, least-negative-normalized-float)
1419 (float-epsilon, float-negative-epsilon): Add doc-strings,
1420 based on those in cl.texi.
1421
51bc5f8b
GM
1422 * files.el (set-visited-file-name): If the major-mode changed,
1423 reload the local variables. (Bug#9796)
1424
15de15c6
CY
14252011-10-27 Chong Yidong <cyd@gnu.org>
1426
1427 * subr.el (change-major-mode-after-body-hook): New hook.
1428 (run-mode-hooks): Run it.
1429
ee1f1da9
SM
1430 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1431 Use change-major-mode-before-body-hook.
15de15c6
CY
1432
1433 * simple.el (fundamental-mode):
1434 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1435 change introducing fundamental-mode-hook.
1436
5430d399
JB
14372011-10-26 Juanma Barranquero <lekktu@gmail.com>
1438
acc825c5 1439 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 1440
ad74a69e
MA
14412011-10-26 Michael Albinus <michael.albinus@gmx.de>
1442
1443 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 1444 tramp.el explicitly. (Bug#7583)
ad74a69e 1445
71d4c2a5
SM
14462011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * progmodes/octave-mod.el:
1449 * progmodes/octave-inf.el: Update maintainer.
1450
b1f6fa26
CY
14512011-10-26 Chong Yidong <cyd@gnu.org>
1452
1453 * subr.el (with-wrapper-hook): Rewrite doc.
1454
3f04efd6
MA
14552011-10-25 Michael Albinus <michael.albinus@gmx.de>
1456
1457 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 1458 filenames "/method:foo:". (Bug#9793)
3f04efd6 1459
410488d3
SM
14602011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1461
1462 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1463 (bug#9865).
1464
c1ebb47e
GM
14652011-10-24 Glenn Morris <rgm@gnu.org>
1466
1467 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
1468
7f5c46c7
MA
14692011-10-24 Michael Albinus <michael.albinus@gmx.de>
1470
1471 * notifications.el: Add the requirement of a running D-Bus session
1472 bus to the Commentary.
1473
db2440b6
JL
14742011-10-24 Juri Linkov <juri@jurta.org>
1475
1476 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1477 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1478 (Bug#9364)
1479
feecf435
JL
14802011-10-24 Juri Linkov <juri@jurta.org>
1481
1482 * info.el (Info-following-node-name-re): Add newline to the list
1483 of allowed characters for leading space. (Bug#9824)
1484
a3839de2
SM
14852011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1486
acc825c5
SM
1487 * progmodes/octave-inf.el (inferior-octave-mode-map):
1488 Fix C-c C-h binding.
a3839de2
SM
1489 * progmodes/octave-mod.el (octave-help): Remove.
1490
09388e76
MA
14912011-10-23 Michael Albinus <michael.albinus@gmx.de>
1492
1493 Sync with Tramp 2.2.3.
1494
1495 * net/tramp-cache.el (top): Pacify byte-compiler using
1496 `init-file-user' and `site-run-file'.
1497
1498 * net/trampver.el: Update release number.
1499
86c60681
CY
15002011-10-23 Chong Yidong <cyd@gnu.org>
1501
1502 * files.el (toggle-read-only): Remove obsolete comment about
1503 version control.
1504
1505 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
1506 for toggle-read-only. Note that this hasn't called vc-next-action
1507 since 2008-05-02, though it wasn't documented at the time.
1508
a3839de2
SM
1509 * vc/ediff-init.el (ediff-toggle-read-only-function):
1510 Use toggle-read-only.
86c60681 1511
cd5495ff
AM
15122011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
1513
1514 Fix bug #9560, sporadic wrong indentation; improve instrumentation
1515 of c-parse-state.
1516
00b77525 1517 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 1518 correct faulty logical expression.
cd5495ff
AM
1519 (c-parse-state-state, c-record-parse-state-state):
1520 (c-replay-parse-state-state): New defvar/defuns.
1521 (c-debug-parse-state): Use new functions.
1522
42ee24ed
MR
15232011-10-22 Martin Rudalics <rudalics@gmx.at>
1524
1525 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 1526 last fix. Use window-in-direction correctly.
42ee24ed 1527
a7dee7e7
CY
15282011-10-21 Chong Yidong <cyd@gnu.org>
1529
1530 * progmodes/idlwave.el (idlwave-mode):
1531 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
1532 require-final-newline; that's done in prog-mode.
1533 Suggested by Stefan Monnier.
a7dee7e7 1534
e07b9a6d
MR
15352011-10-21 Martin Rudalics <rudalics@gmx.at>
1536
1537 * mouse.el (mouse-drag-window-above)
1538 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1539 (mouse-drag-mode-line-1, mouse-drag-header-line)
1540 (mouse-drag-vertical-line-rightward-window): Remove.
1541 (mouse-drag-line): New function.
1542 (mouse-drag-mode-line, mouse-drag-header-line)
1543 (mouse-drag-vertical-line): Call mouse-drag-line.
1544 * window.el (window-at-side-p, windows-at-side): New functions.
1545
7e1361d9
UM
15462011-10-21 Ulrich Mueller <ulm@gentoo.org>
1547
1548 * tar-mode.el (tar-grind-file-mode):
1549 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
1550
30fcaf3a
CY
15512011-10-21 Chong Yidong <cyd@gnu.org>
1552
1553 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
1554 * progmodes/vera-mode.el (vera-mode):
1555 Use mode-require-final-newline.
30fcaf3a 1556
516eddb0
GM
15572011-10-20 Glenn Morris <rgm@gnu.org>
1558
db22a3c2 1559 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 1560
10d5f513
CS
15612011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
1562
1563 * emulation/cua-base.el (cua-set-mark): Fix case of string.
1564
ac6c8639
CY
15652011-10-20 Chong Yidong <cyd@gnu.org>
1566
1567 * emulation/cua-base.el (cua-mode):
1568 * mail/footnote.el (footnote-mode):
1569 * mail/mailabbrev.el (mail-abbrevs-mode):
1570 * net/xesam.el (xesam-minor-mode):
1571 * progmodes/bug-reference.el (bug-reference-mode):
1572 * progmodes/cap-words.el (capitalized-words-mode):
1573 * progmodes/compile.el (compilation-minor-mode)
1574 (compilation-shell-minor-mode):
1575 * progmodes/gud.el (gud-tooltip-mode):
1576 * progmodes/hideif.el (hide-ifdef-mode):
1577 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1578 * progmodes/subword.el (subword-mode):
1579 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1580 * progmodes/which-func.el (which-function-mode):
1581 * term/tvi970.el (tvi970-set-keypad-mode):
1582 * term/vt100.el (vt100-wide-mode):
1583 * textmodes/flyspell.el (flyspell-mode):
1584 * textmodes/ispell.el (ispell-minor-mode):
1585 * textmodes/nroff-mode.el (nroff-electric-mode):
1586 * textmodes/paragraphs.el (use-hard-newlines):
1587 * textmodes/refill.el (refill-mode):
1588 * textmodes/reftex.el (reftex-mode):
1589 * textmodes/rst.el (rst-minor-mode):
1590 * textmodes/sgml-mode.el (html-autoview-mode)
1591 (sgml-electric-tag-pair-mode):
1592 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1593 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1594 * emulation/crisp.el (crisp-mode):
1595 * emacs-lisp/eldoc.el (eldoc-mode):
1596 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1597 minor mode behavior.
1598
aa42ab43
JL
15992011-10-19 Juri Linkov <juri@jurta.org>
1600
1601 * descr-text.el (describe-char): Add #x2010 and #x2011 to
1602 the list of hard-coded chars with escape-glyph face.
1603
89400f1d
SM
16042011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1605
1606 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1607
305c07f6
MA
16082011-10-19 Michael Albinus <michael.albinus@gmx.de>
1609
1610 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1611 running process.
1612
13754b54
GM
16132011-10-19 Glenn Morris <rgm@gnu.org>
1614
1615 * vc/vc-bzr.el (vc-bzr-after-dir-status):
1616 Ignore ignored files. (Bug#9726)
1617
06e21633
CY
16182011-10-19 Chong Yidong <cyd@gnu.org>
1619
1620 Doc fix for minor modes, stating that an omitted argument enables
1621 the mode unconditionally when called from Lisp.
1622
1623 * abbrev.el (abbrev-mode):
1624 * allout.el (allout-mode):
1625 * autoinsert.el (auto-insert-mode):
1626 * autoarg.el (autoarg-mode, autoarg-kp-mode):
1627 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1628 (global-auto-revert-mode):
1629 * battery.el (display-battery-mode):
1630 * composite.el (global-auto-composition-mode)
1631 (auto-composition-mode):
1632 * delsel.el (delete-selection-mode):
1633 * desktop.el (desktop-save-mode):
1634 * dired-x.el (dired-omit-mode):
1635 * dirtrack.el (dirtrack-mode):
1636 * doc-view.el (doc-view-minor-mode):
1637 * double.el (double-mode):
1638 * electric.el (electric-indent-mode, electric-pair-mode):
1639 * emacs-lock.el (emacs-lock-mode):
1640 * epa-hook.el (auto-encryption-mode):
1641 * follow.el (follow-mode):
1642 * font-core.el (font-lock-mode):
1643 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1644 * help.el (temp-buffer-resize-mode):
1645 * hilit-chg.el (highlight-changes-mode)
1646 (highlight-changes-visible-mode):
1647 * hi-lock.el (hi-lock-mode):
1648 * hl-line.el (hl-line-mode, global-hl-line-mode):
1649 * icomplete.el (icomplete-mode):
1650 * ido.el (ido-everywhere):
1651 * image-file.el (auto-image-file-mode):
1652 * image-mode.el (image-minor-mode):
1653 * iswitchb.el (iswitchb-mode):
1654 * jka-cmpr-hook.el (auto-compression-mode):
1655 * linum.el (linum-mode):
1656 * longlines.el (longlines-mode):
1657 * master.el (master-mode):
1658 * mb-depth.el (minibuffer-depth-indicate-mode):
1659 * menu-bar.el (menu-bar-mode):
1660 * minibuf-eldef.el (minibuffer-electric-default-mode):
1661 * mouse-sel.el (mouse-sel-mode):
1662 * msb.el (msb-mode):
1663 * mwheel.el (mouse-wheel-mode):
1664 * outline.el (outline-minor-mode):
1665 * paren.el (show-paren-mode):
1666 * recentf.el (recentf-mode):
1667 * reveal.el (reveal-mode, global-reveal-mode):
1668 * rfn-eshadow.el (file-name-shadow-mode):
1669 * ruler-mode.el (ruler-mode):
1670 * savehist.el (savehist-mode):
1671 * scroll-all.el (scroll-all-mode):
1672 * scroll-bar.el (scroll-bar-mode):
1673 * server.el (server-mode):
1674 * shell.el (shell-dirtrack-mode):
1675 * simple.el (auto-fill-mode, transient-mark-mode)
1676 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1677 (line-number-mode, column-number-mode, size-indication-mode)
1678 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1679 * strokes.el (strokes-mode):
1680 * time.el (display-time-mode):
1681 * t-mouse.el (gpm-mouse-mode):
1682 * tool-bar.el (tool-bar-mode):
1683 * tooltip.el (tooltip-mode):
1684 * type-break.el (type-break-mode-line-message-mode)
1685 (type-break-query-mode):
1686 * view.el (view-mode):
1687 * whitespace.el (whitespace-mode, whitespace-newline-mode)
1688 (global-whitespace-mode, global-whitespace-newline-mode):
1689 * xt-mouse.el (xterm-mouse-mode): Doc fix.
1690
a3839de2
SM
1691 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1692 Fix autogenerated docstring.
06e21633 1693
5214e501
JL
16942011-10-19 Juri Linkov <juri@jurta.org>
1695
1696 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1697 by checking environment variables "DESKTOP_SESSION" and
1698 "XDG_CURRENT_DESKTOP". (Bug#9779)
1699
195f8db9
JL
17002011-10-19 Juri Linkov <juri@jurta.org>
1701
1702 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1703 (browse-url-chromium-program, browse-url-chromium-arguments):
1704 New defcustoms.
1705 (browse-url-default-browser): Check for `browse-url-chromium' and
1706 call `browse-url-chromium-program'.
1707 (browse-url-chromium): New command. (Bug#9779)
1708
343a34ff
JB
17092011-10-18 Juanma Barranquero <lekktu@gmail.com>
1710
1711 * facemenu.el (list-colors-duplicates): On Windows, detect more
1712 duplicates by assuming that only colors matching "^System" are
1713 special "system colors". (Bug#9722)
1714
6978a151
SM
17152011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1716
1717 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1718 to distinguish the author from the committer.
1719
6a80b297
MA
17202011-10-18 Michael Albinus <michael.albinus@gmx.de>
1721
1722 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1723
b31a5677
JK
17242011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1725
1726 * international/mule.el (sgml-html-meta-auto-coding-function):
1727 Add support for detecting encoding in HTML5 specified only as
1728 <meta charset="UTF-8">. Implementation just makes http-equiv and
1729 content-type parts from HTML4 encoding string optional. (Bug#9716)
1730
80c6d77f
GM
17312011-10-18 Glenn Morris <rgm@gnu.org>
1732
1733 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1734
08b0fee8
CY
17352011-10-18 Chong Yidong <cyd@gnu.org>
1736
1737 * faces.el (cursor): Doc fix.
1738
67e729a5
CY
17392011-10-17 Chong Yidong <cyd@gnu.org>
1740
1741 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1742
343a34ff 17432011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
1744
1745 * dirtrack.el (dirtrack): Support shell buffers with path
1746 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1747
0bc06380
TZ
17482011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1749
1750 * json.el: Bump version to 1.3 and note change in History.
1751 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1752
8b79f3e0
SM
17532011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1754
5a7c536b
SM
1755 * comint.el (comint-insert-input, comint-send-input)
1756 (comint-get-old-input-default, comint-backward-matching-input)
1757 (comint-next-prompt): Use nil instead of `input' for field property of
1758 past user input (bug#114).
1759
96a8a0df
SM
1760 * minibuffer.el (completion--replace): Inherit surrounding properties
1761 (bug#114).
1762 (minibuffer-complete-and-exit): Use it.
1763
8b79f3e0
SM
1764 * comint.el (comint--table-subvert): Quote the all-completions output
1765 (bug#9160).
1766
b8f7ff0d
MR
17672011-10-17 Martin Rudalics <rudalics@gmx.at>
1768
8b79f3e0 1769 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 1770
b8f7ff0d 1771 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 1772 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
1773 entries and separate them from frame entries.
1774
c235b555
GM
17752011-10-15 Glenn Morris <rgm@gnu.org>
1776
1777 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1778 Doc fixes.
1779
6bbfa6e1
CY
17802011-10-15 Chong Yidong <cyd@stupidchicken.com>
1781
8b79f3e0
SM
1782 * net/network-stream.el (network-stream-open-starttls):
1783 Improve detection of failure due to lack of TLS support.
ec5c990d 1784
6bbfa6e1
CY
1785 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1786 putting the input text in front and in bold.
1787
98488977
SM
17882011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1789
3d1337be
SM
1790 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1791
ee0b45e4
SM
1792 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1793 empty buffer.
1794
98488977
SM
1795 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1796 unread-command-events rather than pushing yet-another event.
1797
186f4720
EZ
17982011-10-14 Eli Zaretskii <eliz@gnu.org>
1799
1800 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1801 the explanation of the possible choices. Make the options passed
1802 to completing-read shorter.
1803
8b7a997c
AM
18042011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1805
1806 * textmodes/flyspell.el (flyspell-large-region): Make sure
1807 extended character mode is used if defined (Bug#1339).
1808
12587bbb
EZ
18092011-10-13 Eli Zaretskii <eliz@gnu.org>
1810
1811 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
1812 character info for LRE, LRO, RLE, and RLO characters by appending
1813 an invisible PDF.
12587bbb 1814
bad41229
SM
18152011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1816
1817 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1818 even in case of error; add debug spec; simplify data flow.
1819 (with-timeout-handler): Remove.
1820
28dbc92f
MA
18212011-10-12 Michael Albinus <michael.albinus@gmx.de>
1822
1823 Fix Bug#6019, Bug#9315.
1824
1825 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1826 complete `buffer-file-name', the local file name part could look
1827 remotely (for example on VMS).
1828
1829 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1830 `tramp-run-real-handler'.
1831 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1832 already quoted by '"'.
1833
1834 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1835 Let `file-name-handler-alist' be nil, the local file name part
1836 could look remotely (for example on VMS).
1837
e1b0b23a
SM
18382011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1841 from here...
1842 (flyspell-post-command-hook): ...to here.
1843
a120bde9
SM
18442011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1845
1846 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1847 if not needed.
1848 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1849 using completion. Protect against "slow" callers.
1850 Remove the "message hack".
1851
7ce7717b
JL
18522011-10-11 Juri Linkov <juri@jurta.org>
1853
1854 * isearch.el (isearch-lazy-highlight-word): New variable.
1855 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1856 Use it. (Bug#9727)
1857
c02ee9d6
GM
18582011-10-11 Glenn Morris <rgm@gnu.org>
1859
1860 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1861 like f90-previous-statement does.
1862
93e616fd 18632011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1864
1f190e73 1865 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
1866 only in interactive use, to avoid error.
1867
af7b6078
SM
18682011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 * minibuffer.el (completion-file-name-table): Fix last change,
1871 i.e. ignore normal errors but not the other ones.
1872
0563dae9
MR
18732011-10-10 Martin Rudalics <rudalics@gmx.at>
1874
1875 * window.el (special-display-buffer-names)
1876 (special-display-regexps): Remove some remnants of earlier
1877 changes from doc-strings.
366ca7f3
MR
1878 (quit-windows-on): New function.
1879
1880 * vc/vc.el (vc-revert, vc-rollback):
1881 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1882 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 1883 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 1884
49677495
MR
18852011-10-09 Martin Rudalics <rudalics@gmx.at>
1886
1887 * window.el (frame-auto-hide-function): Add version tag.
1888 (Bug#9699)
1889
56f2d1e1
MA
18902011-10-09 Michael Albinus <michael.albinus@gmx.de>
1891
1892 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1893 condition.
1894
112a6592
LL
18952011-10-09 Leo Liu <sdl.web@gmail.com>
1896
1897 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1898 (Bug#9701)
1899
0812589b
GM
19002011-10-08 Glenn Morris <rgm@gnu.org>
1901
1902 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1903 before the first code statement zero indent. (Bug#9690)
1904
b2b0776e
CY
19052011-10-08 Chong Yidong <cyd@stupidchicken.com>
1906
1907 * simple.el (count-words-region): Always count in the region.
1908 Report the number of lines and characters too.
1909 (count-words): New command, which counts in the buffer if the
1910 region is inactive, as count-words-region used to.
1911 (count-words--message): New function. Handle plurals.
1912 (count-lines-region): Make it an alias for count-words-region.
1913
1914 * bindings.el (esc-map): Replace count-lines-region with
1915 count-words-region.
1916
c557cd6b
MR
19172011-10-08 Martin Rudalics <rudalics@gmx.at>
1918
1919 * window.el (window--delete): Delete dedicated frame
1920 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 1921 (switch-to-buffer): Fix doc-string typo.
c557cd6b 1922
61a57ef4 19232011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1924
1925 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1926
c3833279
CY
19272011-10-07 Chong Yidong <cyd@stupidchicken.com>
1928
1929 * bindings.el ([M-left],[M-right]): Bind to left-word and
1930 right-word respectively.
1931
21ce8245
GM
19322011-10-07 Glenn Morris <rgm@gnu.org>
1933
1934 * cus-start.el (debug-on-quit): Fix custom type.
1935
6d823bb2
LMI
19362011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1937
0181e193
LMI
1938 * subr.el (define-key-after): Clarify that the function is not
1939 useful for non-menu keymaps.
1940
6d823bb2
LMI
1941 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1942
8e3459ce 19432011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1944
21ce8245 1945 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 1946 in current minibuffer (Fix bug with recursive minibuffers).
1947
a1c2d21e
CY
19482011-10-06 Chong Yidong <cyd@stupidchicken.com>
1949
1950 * progmodes/gdb-mi.el (gdb): Doc fix.
1951
5a4cf282
MR
19522011-10-05 Martin Rudalics <rudalics@gmx.at>
1953
1954 * window.el (frame-auto-hide-function): New option replacing
1955 frame-auto-delete. Suggested by Stefan Monnier.
1956 (window--delete): Call frame-auto-hide-function instead of
1957 investigating frame-auto-delete.
c96111ea
MR
1958 (window-point-1, set-window-point-1): New functions.
1959 (window-in-direction, record-window-buffer, window-state-get-1)
1960 (display-buffer-record-window): Use window-point-1 instead of
1961 window-point.
1962 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 1963
9854542e
SM
19642011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1967
8943cfb0
GM
19682011-10-05 Glenn Morris <rgm@gnu.org>
1969
1970 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1971 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1972
647ab967
LL
19732011-10-05 Leo Liu <sdl.web@gmail.com>
1974
1975 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1976 works with buffer object.
1977
3ddfbced
SM
19782011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1979
1980 * mpc.el (mpc-tool-bar-map): Add labels.
1981
bdfa5dd2
GM
19822011-10-04 Glenn Morris <rgm@gnu.org>
1983
1984 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1985
0e2070b5
MR
19862011-10-04 Martin Rudalics <rudalics@gmx.at>
1987
1988 * window.el (window--delete): New function.
1989 (frame-auto-delete): Resuscitate option.
1990 (bury-buffer, replace-buffer-in-windows)
1991 (quit-window): Rewrite using window--delete.
1992 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1993 Pass display-buffer-mark-dedicated to window--display-buffer-2
1994 (Bug#9639).
1995
3dc61a09
SM
19962011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1997
915a9b64
SM
1998 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1999 returns a list (bug#9554). Add remote file name completion.
2000 * comint.el (comint--table-subvert): Curry and get quote&unquote
2001 functions as arguments.
2002 (comint--complete-file-name-data): Adjust call accordingly.
2003 * pcomplete.el (pcomplete--table-subvert): Remove.
2004 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2005
3dc61a09
SM
2006 * minibuffer.el (completion-table-case-fold): Use currying.
2007 (completion--styles-type, completion--cycling-threshold-type):
2008 New constants.
2009 (completion-styles, completion-category-overrides)
2010 (completion-cycle-threshold): Use them.
2011 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2012 completion-table-case-fold.
2013
8ea0a993
SB
20142011-10-03 Stephen Berman <stephen.berman@gmx.net>
2015
2016 * minibuffer.el (completion-category-overrides): Fix type of styles
2017 and add more user friendly tags (bug#9660).
2018
8c24b7f6
SM
20192011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2020
2021 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2022 (mule-input-method-string): New widget.
2023 (default-input-method, language-info-custom-alist): Use it.
2024
428fe61a
SM
20252011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2026
32c1fffd
SM
2027 * pcomplete.el: Require comint.
2028 (pcomplete--common-suffix): Remove.
2029 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2030 (pcomplete--table-subvert): Sync with comint--table-subvert.
2031 (pcomplete--entries): Use comint-completion-file-name-table.
2032 * comint.el (comint-unquote-filename): Simplify.
2033 (comint-completion-file-name-table): New function (bug#9616).
2034 (comint--complete-file-name-data): Use it.
2035
428fe61a
SM
2036 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2037 (pcmpl-gnu-tar-buffer): Remove.
2038 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2039 around. Make sure pcomplete-suffix-list is only changed temporarily.
2040 Don't look inside the tar's file if it's too large.
428fe61a 2041
04c52e2f
CY
20422011-10-01 Chong Yidong <cyd@stupidchicken.com>
2043
ce3cefcc
CY
2044 * cus-edit.el (custom-mode-map):
2045 * epa.el (epa-key-list-mode-map):
2046 * man.el (Man-mode-map):
2047 * startup.el (splash-screen-keymap):
2048 * simple.el (special-mode-map): Use scroll-up-command and
2049 scroll-down-command.
2050
2051 * progmodes/idlw-help.el (idlwave-help-mode-map):
2052 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2053 * net/newst-plainview.el (newsticker-mode-map):
2054 * emulation/ws-mode.el (wordstar-mode-map):
2055 * emulation/vi.el (vi-com-map):
2056 * calc/calc-graph.el (calc-graph-show-dumb):
2057 * term/sun.el (terminal-init-sun):
2058 * term/ns-win.el (global-map):
2059 * progmodes/grep.el (grep-mode-map):
2060 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2061 * mail/rmail.el (rmail-mode-map):
2062 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2063
04c52e2f
CY
2064 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2065 custom-safe-themes as special.
2066
79adf8c8
JD
20672011-10-01 Julien Danjou <julien@danjou.info>
2068
2069 * notifications.el (notifications-notify): Fix docstring.
2070
63bd50d3
PS
20712011-10-01 Per Starbäck <per@starback.se>
2072
2073 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2074
199e4c7e
MR
20752011-09-30 Martin Rudalics <rudalics@gmx.at>
2076
2077 * startup.el (command-line-1): Fix last fix by inserting
2078 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2079 (Bug#9605) and (Bug#9636)
199e4c7e 2080
fe5f08dd
EZ
20812011-09-29 Eli Zaretskii <eliz@gnu.org>
2082
2083 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2084 window is hscrolled, move by logical lines. (Bug#9607)
2085 (line-move-visual): Update the doc string to the above effect.
2086
b5516bbd
MR
20872011-09-29 Martin Rudalics <rudalics@gmx.at>
2088
ccee00c0
MR
2089 * window.el (display-buffer-record-window): When WINDOW is the
2090 selected window use `point' instead of `window-point'. (Bug#9626)
2091
b5516bbd
MR
2092 * startup.el (command-line-1): Use insert-before-markers when
2093 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2094
b5516bbd
MR
2095 * help.el (help-window): Remove variable.
2096
52aa0014
GM
20972011-09-29 Glenn Morris <rgm@gnu.org>
2098
2099 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2100
df9a7357
JB
21012011-09-29 Juanma Barranquero <lekktu@gmail.com>
2102
2103 * descr-text.el (describe-char-categories): Accept category
2104 descriptions more than one line long.
2105
a8406c20
SM
21062011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2107
88d9610c
SM
2108 * simple.el (delete-trailing-whitespace): Fix last change.
2109
a5daf810
SM
2110 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2111 Don't confuse "y => 3" as the beginning of a `y' operation.
2112
a8406c20
SM
2113 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2114 object has more than 4 slots (bug#9613).
2115
a239d4e9
JB
21162011-09-28 Juanma Barranquero <lekktu@gmail.com>
2117
2118 * subr.el (with-output-to-temp-buffer):
2119 * net/quickurl.el (quickurl, quickurl-browse-url):
2120 Fix typos in docstrings.
2121
693fbdb6
EZ
21222011-09-27 Eli Zaretskii <eliz@gnu.org>
2123
2124 * minibuffer.el (completion-styles)
2125 (completion-category-overrides): Cross reference each other in doc
2126 strings.
2127
8b457e28
GM
21282011-09-27 Glenn Morris <rgm@gnu.org>
2129
2130 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2131 to split-string. (Bug#9606)
2132
85a16208
LMI
21332011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2134
2135 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2136 (bug#9615).
2137
502f9ebd
CY
21382011-09-27 Chong Yidong <cyd@stupidchicken.com>
2139
2140 * emacs-lisp/package.el (list-packages): Fix echo area message.
2141
7690bdea
LL
21422011-09-27 Leo Liu <sdl.web@gmail.com>
2143
2144 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2145
e2ee6f30
MA
21462011-09-25 Michael Albinus <michael.albinus@gmx.de>
2147
2148 * net/dbus.el (dbus-unregister-object): Don't release services for
2149 registered signals. (Bug#9581)
2150
f3f98342
TZ
21512011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2152
2153 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2154 function that picks between cfengine 2 and 3 support
2155 automatically. Update docs accordingly.
2156
dd7aa8dd
KH
21572011-09-22 Kenichi Handa <handa@m17n.org>
2158
2159 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2160 ZERO.
2161 (indian-itrans-v5-table-for-tamil): New variable.
2162 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2163
3f2b07f8
KM
21642011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2165
2166 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2167 that's true if the current command involved collapsing of text.
2168 It's reset to false at the beginning of the next command.
2169 (allout-post-command-business): Move the cursor to the beginning
2170 of entry if the cursor is hidden and collapsing activity just
2171 happened.
2172
371d6a61
CY
21732011-09-24 Chong Yidong <cyd@stupidchicken.com>
2174
2175 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2176 tracking (Bug#9541).
2177
2ac2721a
UJ
21782011-09-24 Ulf Jasper <ulf.jasper@web.de>
2179
2180 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
2181 (newsticker-show-news): Automatically load html rendering package
2182 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2183 because w3m-fill-column is let-bound" and the error "Symbol's value
2184 as variable is void: w3m-fill-column".
2ac2721a 2185
fac7ae53
MA
21862011-09-24 Michael Albinus <michael.albinus@gmx.de>
2187
2188 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2189 Release services only if they are defined. (Bug#9581)
2190
e08b633b
RS
21912011-09-23 Richard Stallman <rms@gnu.org>
2192
e488d29c
RS
2193 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2194 distinguish start of paragraph from start of its text.
2195
19c38752
RS
2196 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2197
e08b633b
RS
2198 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2199 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2200 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2201
0a39f27e
AS
22022011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2203
2204 * international/mule-diag.el (mule-diag): Insert a newline after
2205 each fontset description.
2206
db4e950d
SM
22072011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2208
2209 * simple.el (delete-trailing-whitespace):
2210 Document last change; simplify.
2211
eca3f3ea
PW
22122011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2213
d68e189a
PW
2214 * simple.el (delete-trailing-whitespace): Also delete
2215 extra newlines at the end of the buffer.
2216
eca3f3ea
PW
2217 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2218 (picture-newline): Use forward-line so as to ignore fields.
2219
01c157cc
SM
22202011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * subr.el (with-wrapper-hook): Fix edebug spec.
2223
022de23e
LMI
22242011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2225
2226 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2227 (bug#4538).
2228
91683089
MA
22292011-09-23 Michael Albinus <michael.albinus@gmx.de>
2230
eca3f3ea
PW
2231 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2232 Fix nasty bug using wrong cached values.
91683089 2233
5bdd6fa4
AM
22342011-09-23 Alan Mackenzie <acm@muc.de>
2235
2236 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2237
97adfb97
CY
22382011-09-23 Chong Yidong <cyd@stupidchicken.com>
2239
2240 * window.el (pop-to-buffer): Ensure right window is selected if we
2241 chose another frame.
2242
d4ef2b50
EZ
22432011-09-22 Eli Zaretskii <eliz@gnu.org>
2244
2245 * simple.el (what-cursor-position): Use get-char-property-change
2246 and next-single-char-property-change, to be able to show display
2247 properties that come from overlays as well as text properties.
2248
72258fe5
CY
22492011-09-22 Chong Yidong <cyd@stupidchicken.com>
2250
2251 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2252
2253 * cmuscheme.el (run-scheme, switch-to-scheme):
2254 * cus-edit.el (customize-group, custom-buffer-create)
2255 (customize-browse):
2256 * info.el (info):
2257 * shell.el (shell):
2258 * mail/sendmail.el (mail):
2259 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2260
8f098516
RS
22612011-09-22 Richard Stallman <rms@gnu.org>
2262
2263 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2264 move back only to line beg, don't move back over blank lines.
2265
e74f1bb6
MA
22662011-09-22 Michael Albinus <michael.albinus@gmx.de>
2267
2268 * files.el (copy-directory): Set directory attributes only in case
2269 they could be retrieved from the source directory. (Bug#9565)
2270
bfeef8b6
DK
22712011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2272
2273 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2274 (hs-find-block-beginning, hs-hide-level-recursive):
2275 Ignore strings as well as comments. (Bug#9502)
2276
7e423bb8
AS
22772011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2278
2279 * progmodes/sql.el (sql-comint-postgres):
2280 Convert port number to a string. (Bug#9566)
2281
b4d72fcf
MR
22822011-09-22 Martin Rudalics <rudalics@gmx.at>
2283
2284 * window.el (quit-window): Undedicate window when switching to
2285 previous buffer. Reported by Thierry Volpiatto
2286 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
2287 (special-display-popup-frame): When popping up a new frame reset
2288 its previous buffers to nil. Simplify code.
b4d72fcf 2289
a7b88dc6
MA
22902011-09-21 Michael Albinus <michael.albinus@gmx.de>
2291
2292 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2293 and process filter, as done also in `shell-command'.
2294
cf4eacfd
MR
22952011-09-21 Martin Rudalics <rudalics@gmx.at>
2296
eca3f3ea 2297 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
2298 Call set-window-start with NOFORCE argument t.
2299 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
2300 (quit-window): Reword doc-string. Handle new format of
2301 quit-restore parameter. Don't delete window if it has a
2302 previous buffer we can show instead of the present one.
2303 (display-buffer-record-window): Rewrite using a new format for
2304 the quit-restore window parameter
2305 (special-display-popup-frame, display-buffer-same-window)
2306 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2307 (display-buffer-pop-up-window, display-buffer-use-some-window):
2308 Adapt symbol passed to display-buffer-record-window.
2309 * help.el (help-window-setup): Handle new format of quit-restore
2310 parameter.
2311
8d28cb95
SM
23122011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2313
94ab793f
SM
2314 * faces.el (face-list): Fix docstring (bug#9564).
2315
8d28cb95
SM
2316 * window.el (display-buffer--action-function-custom-type):
2317 Don't include internal functions in the Custom interface.
2318
3820edeb
JL
23192011-09-20 Juri Linkov <juri@jurta.org>
2320
2321 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2322 (Info-forward-node, Info-backward-node, Info-next-preorder)
2323 (Info-last-preorder): Use it. (Bug#9528)
2324
5147931d
JL
23252011-09-20 Juri Linkov <juri@jurta.org>
2326
2327 * info.el (Info-last-preorder): Visit last menu item only when
2328 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2329
cf499a1a
JD
23302011-09-20 Julien Danjou <julien@danjou.info>
2331
2332 * password-cache.el (password-cache-remove): Remove entries even if the
2333 value is nil, so that password with a nil value (negative caching) is
2334 possible to invalidate.
2335
f84e2fe2
LM
23362011-09-20 Lawrence Mitchell <wence@gmx.li>
2337
2338 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2339 all whitespace around breakpoint. (Bug#9553)
2340 (f90-find-breakpoint): Only break at whitespace inside a comment.
2341
78054a46
SM
23422011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * minibuffer.el (completion-file-name-table): Keep track of errors.
2345 (completion-table-with-predicate): Handle the case where pred1 is nil.
2346 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2347
345083b2
SM
23482011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2349
e24e27be
SM
2350 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2351 (debugger-return-value): Signal an error if the debugging context does
2352 not await any return value.
2353
345083b2
SM
2354 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2355 * image-mode.el (image-toggle-display-text)
2356 (image-toggle-display-image): Stay away from evil `intangible'.
2357
08d355e3
LL
23582011-09-19 Leo Liu <sdl.web@gmail.com>
2359
2360 * replace.el (occur-revert-arguments): Make it permanent-local.
2361 (occur-mode): Don't call font-lock-defontify.
2362
f01da43f
CY
23632011-09-19 Chong Yidong <cyd@stupidchicken.com>
2364
2365 * net/ldap.el (ldap-search-internal): Don't push empty search
2366 result (Bug#9508).
2367
b6072fa6
SM
23682011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2369
2370 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2371
443d6696
MA
23722011-09-19 Michael Albinus <michael.albinus@gmx.de>
2373
2374 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2375 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2376
7cc6e154
JL
23772011-09-18 Juri Linkov <juri@jurta.org>
2378
2379 * buff-menu.el (Buffer-menu-mode-map):
2380 * dired.el (dired-mode-map):
2381 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2382 (lisp-interaction-mode-map):
2383 * emacs-lisp/package.el (package-menu-mode-map):
2384 * epa.el (epa-key-list-mode-map):
2385 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2386 (menu-bar-options-menu):
2387 * outline.el (outline-mode-menu-bar-map):
2388 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2389 * vc/vc-dir.el (vc-dir-menu-map):
2390 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2391 Capitalize non-function content words in menu item strings.
2392
2393 * dired.el (dired-mode-map): Add menu item for
2394 `image-dired-dired-toggle-marked-thumbs'.
2395
80302a81
JL
23962011-09-18 Juri Linkov <juri@jurta.org>
2397
2398 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2399 to `isearch-case-fold-search' and restore its original value
2400 after the `isearch-mode' call.
2401
46c5cf66
JL
24022011-09-18 Juri Linkov <juri@jurta.org>
2403
2404 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2405 because `zgrep' returns 1 for successful matches (bug#9226).
2406
d18b513b
JL
24072011-09-18 Juri Linkov <juri@jurta.org>
2408
2409 * info.el (Info-extract-menu-node-name): Check the second match
2410 for empty string (second test-case of bug#9528).
2411 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2412 intermediate nodes to the history (first test-case of bug#9528).
2413
72753f87
JL
24142011-09-18 Juri Linkov <juri@jurta.org>
2415
2416 * info.el (Info-mode-syntax-table): New variable.
1154d12e 2417 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 2418
c9384295
JL
24192011-09-18 Juri Linkov <juri@jurta.org>
2420
1154d12e
JB
2421 * info.el (Info-file-supports-index-cookies):
2422 Increment line-beginning-position's arg from 3 to 4 because makeinfo
2423 outputs one more line for long file names (bug#4142).
c9384295 2424
d473dce8
CY
24252011-09-18 Chong Yidong <cyd@stupidchicken.com>
2426
2427 * newcomment.el (comment-normalize-vars): If prompting for
2428 comment-start, set comment-start-skip too (Bug#8424).
2429
2176854d
JB
24302011-09-18 Johan Bockgård <bojohan@gnu.org>
2431
2432 * icomplete.el: Fix previous fix of Bug#5849.
2433 (icomplete-mode): Don't set completion-show-inline-help.
2434 (icomplete-minibuffer-setup): Set completion-show-inline-help
2435 locally during icompletion.
2436
3aace4e4
CY
24372011-09-18 Chong Yidong <cyd@stupidchicken.com>
2438
c940224f
CY
2439 * woman.el (woman2-process-escapes): Don't delete unrecognized
2440 escapes (Bug#7843).
2441
3aace4e4
CY
2442 * files.el (inhibit-first-line-modes-regexps): Add image files.
2443 (hack-local-variables-prop-line): Return nil for malformed
2444 prop-lines (Bug#9044).
2445
710dec63
MA
24462011-09-18 Michael Albinus <michael.albinus@gmx.de>
2447
2448 * net/tramp.el (top): Don't require 'shell.
2449 (tramp-methods): Fix docstring.
2450 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
2451 Return complete remote file name. Handle "smb" case.
2452 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
2453 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2454
2455 * net/tramp-compat.el (top): Require 'shell.
2456
2457 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2458 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2459 `tramp-current-host'.
2460 (tramp-get-remote-tmpdir): Remove.
2461
2462 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2463 `tramp-tmpdir' entries.
2464 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2465 (tramp-smb-handle-file-attributes): Ignore errors.
2466 (tramp-smb-wait-for-output): Check also for process end.
2467
5d5ac8ec
LMI
24682011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2469
2470 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2471 when sending QUIT (bug#9312).
2472
8c0f49f0
CY
24732011-09-17 Chong Yidong <cyd@stupidchicken.com>
2474
2475 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2476 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2477 occur-mode-display-occurrence.
2478 (occur-edit-mode): Add usage message.
2479 (occur-cease-edit): New command.
2480 (occur-after-change-function): Use text properties to find the
2481 position of the prefix text.
2482 (occur-engine): Set stickiness of prefix text properties.
2483
8f1383f7
GM
24842011-09-17 Glenn Morris <rgm@gnu.org>
2485
2486 * progmodes/etags.el (complete-tag):
2487 Fix call to completion-in-region. (Bug#9526)
2488
744ba0e3
JL
24892011-09-17 Juri Linkov <juri@jurta.org>
2490
2491 * textmodes/ispell.el (ispell-word): Add to the error message
2492 the word, ispell program name and current dictionary (bug#9121).
2493 (ispell-tex-arg-end): Capitalize "error" in the error message.
2494
d9bbf400
AS
24952011-09-17 Andreas Schwab <schwab@linux-m68k.org>
2496
2497 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
2498 check. (Bug#4251)
2499
8da11505
JL
25002011-09-17 Juri Linkov <juri@jurta.org>
2501
2502 * window.el (window-safe-min-height, window-safe-min-width):
2503 Fix typos (followup to bug#9522).
2504
a91adc7e
SJ
25052011-09-17 Sven Joachim <svenjoac@gmx.de>
2506
2507 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
2508
064f328a
EZ
25092011-09-16 Eli Zaretskii <eliz@gnu.org>
2510
2511 * simple.el (line-move): If goal-column is set, move by logical
2512 lines, not by display lines. (Bug#971)
2513 (next-line, previous-line, goal-column, line-move-visual): Doc fix
2514 to reflect the above change.
2515
e69df516
SM
25162011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2517
2518 * image.el (imagemagick-register-types): Use regexp-opt.
2519
cbb0f9ab
CY
25202011-09-15 Chong Yidong <cyd@stupidchicken.com>
2521
2522 * window.el (display-buffer-base-action): Rename from
2523 display-buffer-default-action. Make default value empty.
2524 (display-buffer-overriding-action): Convert to defvar.
2525 (display-buffer-fallback-action): New var.
2526
25322144
CY
25272011-09-15 Chong Yidong <cyd@stupidchicken.com>
2528
2529 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
2530 declaration.
2531 (package--add-to-archive-contents): If there is a duplicate entry
2532 with an older version, remove it.
2533 (package-menu-mark-delete, package-menu-mark-install)
2534 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
2535 (package-menu-mark-obsolete-for-deletion):
2536 Use package-menu-get-status instead of a regexp search.
25322144
CY
2537 (package-menu-get-status): Use tabulated-list-entry.
2538 (package-menu-mark-upgrades): New command.
d770725a 2539 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
2540 (package-menu-execute): Do installation before deletion.
2541 (package-menu-refresh, package-menu-execute): Use derived-mode-p
2542 instead of checking major-mode.
2543 (package-menu--find-upgrades): New function.
2544
7520339c
LMI
25452011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2546
2547 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2548 passwords in the log buffer.
65a046c4
LMI
2549 (smtpmail-process-filter): Update the process marker so that the
2550 "broken by peer" status message is inserted in the right place.
7520339c 2551
d3c30954
SM
25522011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2553
3fe48822
SM
2554 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2555 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2556 bibtex-completion-at-point-function.
2557 (bibtex-completion-at-point-function): Use them.
2558
1b8b3954
SM
2559 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2560
d3c30954
SM
2561 * mpc.el (mpc-constraints-tag-lookup): New function.
2562 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2563 also to browser "album|playlist".
2564
72779976
JL
25652011-09-14 Juri Linkov <juri@jurta.org>
2566
2567 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
2568 (isearch-edit-string): Use length of `isearch-string' when
2569 `isearch-fail-pos' returns nil.
2570 (isearch-message): Remove duplicate code and call
2571 `isearch-fail-pos' with arg `t'.
2572
a0bf2bcd
CY
25732011-09-14 Chong Yidong <cyd@stupidchicken.com>
2574
17bb0a2d
CY
2575 * replace.el (occur-mode-goto-occurrence): Don't force using other
2576 window (Bug#9499).
2577
a0bf2bcd
CY
2578 * dired-aux.el (dired-do-chmod): Don't provide initial input.
2579
f678e0b6
MR
25802011-09-14 Martin Rudalics <rudalics@gmx.at>
2581
2582 * window.el (display-buffer-window): Remove.
2583 (display-buffer-record-window): Use help-setup window parameter
2584 instead of variable display-buffer-window.
2585 (display-buffer-function, special-display-buffer-names)
2586 (special-display-function): Mention help-setup parameter instead
2587 of display-buffer-window in doc-string.
d3c30954
SM
2588 * help.el (help-window-setup): New argument help-window.
2589 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
2590 Reword some messages.
2591 (with-help-window): Pass window used for displaying the buffer
2592 to help-window-setup. Don't set display-buffer-window.
2593
8e39b2e8
GM
25942011-09-13 Glenn Morris <rgm@gnu.org>
2595
2596 * emacs-lisp/debug.el (debugger-make-xrefs):
2597 Preserve point. (Bug#9462)
2598
85e9c04b
CY
25992011-09-13 Chong Yidong <cyd@stupidchicken.com>
2600
2601 * window.el (window-deletable-p): Use next-frame.
2602
1b36ed6a
MR
26032011-09-13 Martin Rudalics <rudalics@gmx.at>
2604
2605 * window.el (window-auto-delete): Remove.
2606 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 2607 dedication and previous buffers.
1b36ed6a
MR
2608 (switch-to-prev-buffer): Don't delete window.
2609 (delete-windows-on): Delete a window's frame if and only if the
2610 window is dedicated.
2611 (replace-buffer-in-windows): Delete buffer's window or frame if
2612 and only if window is dedicated.
2613 (quit-window): Handle quit-restore as before last change.
4d61f28d 2614 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 2615
ef8ef9fb
CY
26162011-09-13 Chong Yidong <cyd@stupidchicken.com>
2617
2618 * window.el (window-deletable-p): Never delete the last frame on a
2619 given terminal.
2620
b2cba41e
GM
26212011-09-13 Glenn Morris <rgm@gnu.org>
2622
2623 * help.el (describe-key-briefly): Copy previous standard-output change.
2624
51553db6 26252011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
2626
2627 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
2628
b7556719
GM
26292011-09-13 Glenn Morris <rgm@gnu.org>
2630
2631 * emacs-lisp/lisp-mode.el (lisp-indent-function):
2632 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2633
64b51947
CY
26342011-09-12 Chong Yidong <cyd@stupidchicken.com>
2635
2636 * dired-aux.el (dired-mark-read-string): Don't return default
2637 value on empty input (Bug#9361).
2638 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2639 Omit initial minibuffer contents.
2640 (dired-do-chmod): Signal an error on empty input.
2641 (dired-mark-read-string): Don't return default on empty input.
2642
2643 * files.el (file-modes-symbolic-to-number): Doc fix.
2644
393a301e
SM
26452011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * international/mule-cmds.el (ucs-completions): Remove.
2648 (read-char-by-name): Use complete-with-action instead; add metadata.
2649
fa5660f9
CY
26502011-09-11 Chong Yidong <cyd@stupidchicken.com>
2651
2652 * window.el (display-buffer--action-function-custom-type)
2653 (display-buffer--action-custom-type): New vars.
2654 (display-buffer-alist, display-buffer-default-action)
2655 (display-buffer-overriding-action): Add defcustom types.
2656
4a592f66
CY
2657 * frame.el (delete-other-frames): Doc fix (Bug#276).
2658
73d56dbd
LMI
26592011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2660
2661 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2662
37ac18a3
CY
26632011-09-11 Chong Yidong <cyd@stupidchicken.com>
2664
2665 Change modes that used same-window-* vars to use switch-to-buffer.
2666
2667 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2668 Use switch-to-buffer.
2669
2670 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
2671 (customize-browse, custom-buffer-create-other-window):
2672 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
2673
2674 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2675 (Info-prev, Info-up, Info-speedbar-goto-node)
2676 (info-display-manual): Use switch-to-buffer.
2677 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2678
2679 * mail/sendmail.el (mail): Use switch-to-buffer.
2680 (mail-recover): Use switch-to-buffer-other-window.
2681
2682 * cmuscheme.el (run-scheme, switch-to-scheme):
2683 * ielm.el (ielm):
2684 * shell.el (shell):
2685 * net/rlogin.el (rlogin):
2686 * net/telnet.el (telnet, rsh):
2687 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2688
10195bd6
AS
26892011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2690
2691 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2692
b322f63a
LMI
26932011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2694
39d7fed6
LMI
2695 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2696 so don't mention it (bug#9301).
ba5a81f1 2697 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 2698
ee0e9f11
LMI
2699 * faces.el (face-spec-set-match-display): Make `(type graphic)'
2700 match `x', `w32' and `ns', like the manual says (bug#9029).
2701
0b1c89c1 2702 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
2703 (process-kill-buffer-query-function): Mention the buffer name in
2704 the query.
0b1c89c1 2705
77549ea8
LMI
2706 * image-mode.el (image-next-line): The line parameter is mandatory
2707 (bug#9258).
2708
803ef892
LMI
2709 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2710 which can be useful (bug#9301).
2711
12980837
LMI
2712 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2713
91054f8f
LMI
2714 * subr.el (match-string): Mention that the current buffer should
2715 be the same as the search was done in (bug#9282).
2716
b322f63a
LMI
2717 * facemenu.el: Disable the remove-* commands if the mark isn't
2718 active (bug#9162).
2719
3199b96f
CY
27202011-09-10 Chong Yidong <cyd@stupidchicken.com>
2721
2722 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2723 of display-buffer.
2724 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2725
2726 * replace.el (occur-mode-goto-occurrence)
2727 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2728 and display-buffer.
2729
2730 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2731 display-buffer.
2732
2733 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2734 special-display and same-window variables.
2735 (mail-other-window): Use switch-to-buffer-other-window.
2736 (mail-other-frame): USe switch-to-buffer-other-frame.
2737
393a301e
SM
2738 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2739 Use display-buffer-other-frame.
3199b96f
CY
2740 (gdb-display-gdb-buffer): Use pop-to-buffer.
2741
2742 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2743
2744 * progmodes/python.el: Don't set same-window-buffer-names.
2745
2746 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2747
2748 * window.el (display-buffer-alist): Add *Python*.
2749
8319e0bf
CY
27502011-09-10 Chong Yidong <cyd@stupidchicken.com>
2751
2752 * window.el (display-buffer-alist): Add entry for buffers
2753 previously handled same-window-*.
2754 (display-buffer-alist, display-buffer-default-action)
2755 (display-buffer-overriding-action): Mark as risky.
2756 (display-buffer-alist): Document action function changes.
2757 (display-buffer--same-window-action)
2758 (display-buffer--other-frame-action): New variables.
2759 (switch-to-buffer, display-buffer-other-frame): Use them.
2760 (display-buffer): Rename reuse-frame entry to reusable-frames.
2761 (display-buffer-reuse-selected-window): Function deleted.
2762 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2763 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2764 (display-buffer-special): New function.
2765 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2766 display-buffer-reuse-or-pop-window. Split off special-display
2767 part into display-buffer-special.
2768 (display-buffer-use-some-window): Don't perform any special
2769 pop-up-frames handling.
2770 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 2771 (display-buffer--maybe-same-window): Rename from
0d3ff375 2772 display-buffer-maybe-same-window.
8319e0bf 2773
919a69aa
CY
2774 * info.el: Don't set same-window-regexps.
2775 (info-setup): New function.
2776 (info-other-window, info): Call it.
2777
2778 * cus-edit.el: Don't set same-window-regexps.
2779 (customize-group): New argument.
2780 (customize-group-other-window): Use it.
2781 (customize-face, customize-face-other-window): Likewise.
2782 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2783
8319e0bf
CY
2784 * net/rlogin.el:
2785 * net/telnet.el:
2786 * progmodes/gud.el: Don't set same-window-regexps.
2787
2788 * cmuscheme.el:
2789 * ielm.el:
2790 * shell.el:
2791 * mail/sendmail.el:
2792 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2793
25173000
JL
27942011-09-10 Juri Linkov <juri@jurta.org>
2795
2796 * isearch.el (isearch-edit-string): Remove obsolete mention of
2797 `C-w' (`isearch-yank-word-or-char') from docstring.
2798 (isearch-query-replace): Fix typo in docstring (bug#9466).
2799
056e44ef
JL
28002011-09-10 Juri Linkov <juri@jurta.org>
2801
2802 * paren.el (show-paren-function): Don't show escaped parens.
2803 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2804
c3760c17
EZ
28052011-09-10 Eli Zaretskii <eliz@gnu.org>
2806
2807 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2808 (mm-default-file-encoding): Remove autoload forms, they are
2809 replaced with autoload cookies in mml.el and mm-encode.el.
2810 (mail-add-attachment): New command.
2811 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2812 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2813 the doc string.
2814 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2815
fece895e
RT
28162011-09-10 Reuben Thomas <rrt@sc3d.org>
2817
e69df516
SM
2818 * simple.el (count-words-region): Use buffer if there's no region
2819 (bug#9429).
fece895e 2820
5e68ce4a
JL
28212011-09-09 Juri Linkov <juri@jurta.org>
2822
2823 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2824 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2825 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2826
0a6b9622
AM
28272011-09-09 Alan Mackenzie <acm@muc.de>
2828
2829 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2830 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2831
14a29deb
EZ
28322011-09-09 Eli Zaretskii <eliz@gnu.org>
2833
2834 Fix for Savannah bug#9392.
2835 * simple.el (mail-encode-mml): New defvar.
2836
2837 * mail/rmail.el (mail-encode-mml): Add a defvar.
2838 (rmail-enable-mime-composing): Default to t.
2839 (rmail-forward): Use MIME method of forwarding only if both
2840 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2841 Set mail-encode-mml non-nil if the MIME method was used.
2842
2843 * mail/sendmail.el (mml-to-mime): Add autoload form.
2844 (mail-encode-mml): Add a defvar.
2845 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2846 to nil.
2847 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2848 message through mml-to-mime, and reset mail-encode-mml to nil.
2849
28c45130
GM
28502011-09-09 Glenn Morris <rgm@gnu.org>
2851
2852 * woman.el (woman-if-body): When processing an .el block,
2853 do not delete the next .el block as well. (Bug#9447)
69f4b618 2854 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 2855
9b1c252e
MR
28562011-09-08 Martin Rudalics <rudalics@gmx.at>
2857
2858 * window.el (window-deletable-p): Make sure window is live before
2859 invoking window-prev-buffers.
2860
567457e3
LL
28612011-09-08 Leo Liu <sdl.web@gmail.com>
2862
2863 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2864
97f05794
JL
28652011-09-08 Juri Linkov <juri@jurta.org>
2866
2867 * progmodes/compile.el (compilation-environment): Make it
2868 a defcustom (bug#8340).
2869
8b0874b5
MR
28702011-09-08 Martin Rudalics <rudalics@gmx.at>
2871
2872 * window.el (frame-auto-delete): Rename to window-auto-delete.
2873 Make it control auto-deletion of windows and/or frames.
2874 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 2875 for deleting window/frame. (Bug#9419)
8b0874b5
MR
2876 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2877 Rewrite handling of case when window/frame can be deleted.
2878 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 2879 argument t. (Bug#9456)
8b0874b5 2880
4feb6e73
CY
28812011-09-07 Chong Yidong <cyd@stupidchicken.com>
2882
2883 * help-mode.el (help-mode): Restore autoload.
2884
91ab9c13
JL
28852011-09-07 Juri Linkov <juri@jurta.org>
2886
2887 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2888 `compilation-environment'. Set buffer-local
2889 `compilation-environment' to `thisenv' later after (funcall mode).
2890 (Bug#8340)
2891
2892 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2893 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2894 instead of replacing its value. (Bug#8340)
2895
0527e251
JL
28962011-09-07 Juri Linkov <juri@jurta.org>
2897
2898 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2899 based on text properties put by `grep-filter' instead of matching
2900 escape sequences.
2901 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2902 to the value of `grep-error-screen-columns' (bug#9438).
2903
249f792c
JL
29042011-09-07 Juri Linkov <juri@jurta.org>
2905
2906 * simple.el (next-error-highlight, next-error-highlight-no-select):
2907 Doc fix (bug#9432).
2908
ff7271b9
OT
29092011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2910
2911 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2912 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2913
183fc730
LL
29142011-09-07 Leo Liu <sdl.web@gmail.com>
2915
2916 * net/rcirc.el (rcirc-mode): Conditionally initialize
2917 rcirc-input-ring.
2918
77694924
SM
29192011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2920
2921 * emacs-lisp/find-func.el (find-function-C-source): Only set
2922 find-function-C-source-directory after checking that we found a source
2923 file there (bug#9440).
2924
d809b8eb
AM
29252011-09-06 Alan Mackenzie <acm@muc.de>
2926
2927 * isearch.el (isearch-other-meta-char): Wherever a key list is
2928 unread, "unread" the prefix arg, too. This fixes bug #8901.
2929
453de99f
OG
29302011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2931
2932 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2933
90439906
JL
29342011-09-05 Juri Linkov <juri@jurta.org>
2935
2936 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2937
f62bd846
JL
29382011-09-05 Juri Linkov <juri@jurta.org>
2939
2940 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2941 keeping point where processing of grep matches begins, and
2942 continue to delete remaining escape sequences from the same point.
2943 (grep-filter): Make leading zero optional in "0?1;31m" because
2944 git-grep emits "\033[1;31m" escape sequences unlike expected
2945 "\033[01;31m" as GNU Grep does (bug#9408).
2946 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2947
045820ec
JL
29482011-09-05 Juri Linkov <juri@jurta.org>
2949
2950 * subr.el (y-or-n-p): Capitalize "yes".
2951
f5e29b9b
MA
29522011-09-04 Michael Albinus <michael.albinus@gmx.de>
2953
2954 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2955 `tramp-cache-unload-hook' where appropriate.
2956 (tramp-methods): Rename `tramp-remote-sh' to
2957 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2958 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2959
2960 * net/tramp-sh.el (top): Don't require 'shell.
2961 (tramp-methods): Add `tramp-remote-shell' and
2962 `tramp-remote-shell-args' entries.
2963 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2964 (tramp-sh-handle-shell-command): Remove.
2965 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2966 Use `tramp-remote-shell'.
2967
2784c434
CY
29682011-09-03 Chong Yidong <cyd@stupidchicken.com>
2969
393a301e 2970 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
2971 (sendmail-query-once): Save directly to send-mail-function.
2972 Update message-send-mail-function too.
2973
2974 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2975
464cdf56
CS
29762011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2977
2978 * progmodes/python.el (python-mode-map): Use correct function to
2979 start python interpreter from menu-bar (as reported by Geert
2980 Kloosterman).
2981 (inferior-python-mode-map): Fix typo.
393a301e 2982 (python-shell-map): Remove.
464cdf56 2983
d37e5c87
DD
29842011-09-03 Deniz Dogan <deniz@dogan.se>
2985
2986 * net/rcirc.el (rcirc-print): Simplify code for
2987 rcirc-scroll-show-maximum-output. There is no need to walk
2988 through all windows to find the right one.
2989
f3ada0ee
CS
29902011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2991
2992 * help.el (help-return-method): Doc fix.
2993
1f3c99ca
MR
29942011-09-03 Martin Rudalics <rudalics@gmx.at>
2995
2996 * window.el (window-deletable-p): Don't return a non-nil value
2997 when there's a buffer that was shown in the window before.
2998 (Bug#9419)
393a301e
SM
2999 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3000 Set window's previous buffers to nil.
1f3c99ca 3001
a3cf097f
EZ
30022011-09-03 Eli Zaretskii <eliz@gnu.org>
3003
3004 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3005 newline before and after the tag line, so it doesn't interfere
3006 with determining the paragraph direction of bidirectional text.
3007
3d03de90
LL
30082011-09-03 Leo Liu <sdl.web@gmail.com>
3009
3010 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3011
c3313451
CY
30122011-09-02 Chong Yidong <cyd@stupidchicken.com>
3013
393a301e 3014 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3015 (pop-to-buffer): Change interactive spec. Pass second argument
3016 directly to display-buffer.
3017 (display-buffer): Fix interactive spec. Use functionp to
3018 distinguish between a function and a list of functions.
3019
3020 * abbrev.el (edit-abbrevs):
3021 * arc-mode.el (archive-extract):
3022 * autoinsert.el (auto-insert):
3023 * bookmark.el (bookmark-bmenu-list):
3024 * files.el (find-file):
3025 * view.el (view-buffer):
3026 * progmodes/compile.el (compilation-goto-locus):
3027 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3028
89894cd8
CY
30292011-09-02 Chong Yidong <cyd@stupidchicken.com>
3030
3031 * window.el (display-buffer-alist): Doc fix.
3032 (display-buffer): Add docstring. Don't treat
3033 display-buffer-default specially.
3034 (display-buffer-reuse-selected-window)
3035 (display-buffer-same-window, display-buffer-maybe-same-window)
3036 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3037 (display-buffer-pop-up-window)
3038 (display-buffer-reuse-or-pop-window)
3039 (display-buffer-use-some-window): New functions.
3040 (display-buffer-default-action): Use them.
393a301e 3041 (display-buffer-default): Delete.
89894cd8
CY
3042 (pop-to-buffer-1): Fix choice of actions.
3043
ae0bc9fb
SM
30442011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3045
3046 * minibuffer.el (completion--insert-strings): Don't get confused by
3047 completion entries that end with an LF char.
3048
e9d90883
EZ
30492011-09-01 Eli Zaretskii <eliz@gnu.org>
3050
3051 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3052
437014c8
CY
30532011-09-01 Chong Yidong <cyd@stupidchicken.com>
3054
3055 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3056 (display-buffer-same-window, display-buffer-other-window):
3057 New functions.
437014c8
CY
3058 (pop-to-buffer-1): New function. Use the above.
3059 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3060 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3061
3062 * view.el (view-buffer-other-window, view-buffer-other-frame):
3063 Just use pop-to-buffer.
3064
a5e063d5
TV
30652011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3066
3067 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3068
793d32bb
WH
30692011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3070
3071 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3072
d65e4c15
RS
30732011-08-31 Richard Stallman <rms@gnu.org>
3074
3075 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3076 of the separation of rmail-view-buffer from rmail-buffer.
3077 If you say no to "replace original", the decrypt is in the
3078 view buffer. If you say yes, the decrypt goes into the
3079 rmail buffer also.
3080
f818cd2a
MR
30812011-08-31 Martin Rudalics <rudalics@gmx.at>
3082
3083 * window.el (display-buffer-window): Rewrite doc-string.
3084 (display-buffer-record-window): New function.
3085 (display-buffer-macro-specifiers)
3086 (display-buffer-even-window-sizes, display-buffer-set-height)
3087 (display-buffer-set-width, display-buffer-in-window)
3088 (display-buffer-reuse-window, display-buffer-split-specifiers)
3089 (display-buffer-side-specifiers, display-buffer-split-window-1)
3090 (display-buffer-split-window, display-buffer-split-atom-window)
3091 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3092 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3093 (display-buffer-other-window-means-other-frame)
3094 (display-buffer-normalize-special)
3095 (display-buffer-normalize-default)
3096 (display-buffer-normalize-argument)
3097 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3098 (display-buffer-normalize-specifiers, display-buffer-frame)
3099 (display-buffer-same-window, display-buffer-same-frame)
3100 (display-buffer-other-window)
3101 (display-buffer-same-frame-other-window)
3102 (display-buffer-other-frame, pop-to-buffer-same-window)
3103 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3104 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3105 (switch-to-buffer-same-frame)
3106 (switch-to-buffer-other-window-same-frame)
3107 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3108 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3109 (display-buffer-alist-set): Remove.
3110 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3111 (special-display-regexps, special-display-function):
3112 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3113 parameter.
3114 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3115 (special-display-frame-alist, special-display-popup-frame)
3116 (same-window-buffer-names, same-window-regexps, same-window-p)
3117 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3118 (split-window-preferred-function, split-height-threshold)
3119 (split-width-threshold, window-splittable-p)
3120 (split-window-sensibly, window--try-to-split-window)
3121 (window--frame-usable-p, even-window-heights)
3122 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3123 (window--display-buffer-2, display-buffer-other-frame):
3124 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3125 (display-buffer-default, display-buffer-assq-regexp): New functions.
3126 (display-buffer-alist): Rewrite doc-string.
3127 (display-buffer-default-action)
3128 (display-buffer-overriding-action): New variables.
3129 (display-buffer, switch-to-buffer): Rewrite.
3130 (pop-to-buffer): Restore Emacs 23 behavior but use
3131 window-normalize-buffer-to-display.
3132 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3133 Restore Emacs 23 behavior but use
3134 window-normalize-buffer-to-switch-to.
3135 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3136 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3137 Rewrite using Emacs 23 options.
f818cd2a 3138
5bc3b51d
MA
31392011-08-31 Michael Albinus <michael.albinus@gmx.de>
3140
3141 * net/tramp.el (tramp-root-regexp): Remove.
3142 (tramp-completion-file-name-regexp-unified)
3143 (tramp-completion-file-name-regexp-separate)
3144 (tramp-completion-file-name-regexp-url): Don't use leading volume
3145 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
3146 (tramp-drop-volume-letter): Simplify definition.
3147 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 3148
b1a4f8e1
SM
31492011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3152 (bug#9356).
3153
5664fa7b
RT
31542011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3155
b1a4f8e1 3156 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 3157
9a45d6c3
JL
31582011-08-29 Juri Linkov <juri@jurta.org>
3159
3160 * isearch.el (isearch-done): Don't display message "Mark saved"
3161 when arg `edit' is non-nil to prevent its flicker in the echo area.
3162
fb87e0fb
CY
31632011-08-28 Chong Yidong <cyd@stupidchicken.com>
3164
3165 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3166 obsolete packages for deletion.
3167
09ac1c2a
CS
31682011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3169
3170 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 3171 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
3172 view-mode from help-mode.
3173 (help-xref-override-view-map): Remove.
3174 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3175 view-mode is not used anymore.
3176
7a1ff57f
CY
31772011-08-28 Chong Yidong <cyd@stupidchicken.com>
3178
3179 * server.el (server-port): Doc fix.
3180
b9696605
CY
3181 * cus-theme.el (custom-theme-choose-mode): Inherit from
3182 special-mode (Bug#9124).
3183 (custom-theme-choose-mode-map): Add special-mode to parent.
3184
ef8cdf8c
AM
31852011-08-28 Alan Mackenzie <acm@muc.de>
3186
3187 * progmodes/cc-fonts.el
3188 (c-make-font-lock-BO-decl-search-function): New function.
3189 (c-basic-matchers-after - "Fontify the clauses after various
3190 keywords"): Extract the three keyword lists for the 3 erroneous
3191 constructs from the list of four, and use the new function above
3192 in place of an old one.
3193
27de4e20
DD
31942011-08-28 Deniz Dogan <deniz@dogan.se>
3195
3196 * net/rcirc.el (rcirc-insert-prev-input)
3197 (rcirc-insert-next-input): Remove unused argument.
3198
356a3681
SM
31992011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3200
3201 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3202
3fc9b218
AM
32032011-08-27 Alan Mackenzie <acm@muc.de>
3204
3205 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3206 handle function pointer parameters properly.
3207
538a061c
MR
32082011-08-27 Martin Rudalics <rudalics@gmx.at>
3209
3210 * window.el (display-buffer-reuse-window): Fix case where
3211 selected window was reused with non-nil OTHER-WINDOW argument.
3212 (Bug#9381)
3213
35b1c40c
DD
32142011-08-27 Deniz Dogan <deniz@dogan.se>
3215
3216 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3217 oftc's NickServ messages.
3218
2f6a3e79
GM
32192011-08-27 Glenn Morris <rgm@gnu.org>
3220
3221 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3222
7254299e
CY
32232011-08-26 Chong Yidong <cyd@stupidchicken.com>
3224
3225 * emacs-lisp/package.el (package-install): Call package-initialize
3226 if called interactively.
3227
f8ccf167
LL
32282011-08-26 Leo Liu <sdl.web@gmail.com>
3229
3230 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3231
3e8cd5ce
JL
32322011-08-25 Juri Linkov <juri@jurta.org>
3233
3234 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3235 `search-whitespace-regexp' (bug#9364).
3236
93eb7113
JL
32372011-08-25 Juri Linkov <juri@jurta.org>
3238
3239 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3240 `regexp-search-ring' to their global values to protect from
3241 updating by `read-from-minibuffer' (bug#9185).
3242
f65d1611
JL
32432011-08-25 Juri Linkov <juri@jurta.org>
3244
3245 * textmodes/ispell.el (ispell-command-loop): Add newline
3246 at the end of the "Use option `i'..." line.
3247
f1cf7a31
JL
32482011-08-25 Juri Linkov <juri@jurta.org>
3249
3250 * battery.el (display-battery-mode): If `battery-status-function'
3251 or `battery-mode-line-format' is nil, display the message and set
3252 `display-battery-mode' to nil (bug#9363).
3253
0c95fcf7
EZ
32542011-08-25 Eli Zaretskii <eliz@gnu.org>
3255
3256 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3257 bidi-string-mark-left-to-right; they are unnecessary now.
3258
a2ebe600
DD
32592011-08-25 Deniz Dogan <deniz@dogan.se>
3260
3261 * net/quickurl.el: Documentation typo fixes.
3262
e4ed06f1
CY
32632011-08-25 Chong Yidong <cyd@stupidchicken.com>
3264
3265 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3266
e5f1c99e
GM
32672011-08-25 Glenn Morris <rgm@gnu.org>
3268
b2948976
GM
3269 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3270
e5f1c99e
GM
3271 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3272 (smtpmail-via-smtp): Handle nil response from smtp.
3273
f22f4808
JL
32742011-08-24 Juri Linkov <juri@jurta.org>
3275
3276 * proced.el (proced-marked): Inherit from `error' instead of
3277 `font-lock-warning-face'.
3278
3279 * ibuffer.el (ibuffer-marked-face): Change default face from
3280 `font-lock-warning-face' to `warning'.
3281 (ibuffer-deletion-face): Change default face from
3282 `font-lock-type-face' to `error'.
3283
3284 * battery.el (battery-update): Use the face `error' instead of
3285 `font-lock-warning-face' (bug#6117).
3286
6a93965e
JL
32872011-08-24 Juri Linkov <juri@jurta.org>
3288
3289 * faces.el (success): Change face color from "Green3" to
3290 "ForestGreen" on light background (bug#9353).
3291
1ed43b09
CY
32922011-08-24 Chong Yidong <cyd@stupidchicken.com>
3293
5664fa7b
RT
3294 * window.el (quit-window): Rename from quit-restore-window.
3295 Use same arglist as old quit-window.
1ed43b09
CY
3296 (frame-auto-delete): Doc fix.
3297
3298 * view.el (view-mode-exit): Use quit-window.
3299
11dcdbb2
JL
33002011-08-24 Juri Linkov <juri@jurta.org>
3301
3302 * isearch.el (isearch-ring-adjust1): Start visiting previous
3303 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3304 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3305 for empty search string (when the last search string is reused
3306 automatically) to adjust the isearch ring to the last element and
3307 prepare the correct index for further M-p commands (bug#9185).
3308
de62b4df
KH
33092011-08-24 Kenichi Handa <handa@m17n.org>
3310
3311 * international/ucs-normalize.el: If decomposition property of
3312 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3313 nil.
3314 (nfd, nfkd): Likewise.
3315
963b492b
SM
33162011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3317
3318 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3319 from process filters aren't reliably transmitted to the surrounding
3320 accept-process-output.
3321 (mpc-proc-check): New function.
3322 (mpc-proc-sync): Use it (bug#8293)
3323
93b6b5e1
SM
33242011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3325
3326 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3327 Add compatibility functions (bug#9313).
3328
bca633fb
EZ
33292011-08-23 Eli Zaretskii <eliz@gnu.org>
3330
b177498a
EZ
3331 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3332
bca633fb
EZ
3333 * international/uni-bidi.el: Regenerated.
3334
0902a04e
KH
33352011-08-23 Kenichi Handa <handa@m17n.org>
3336
3337 * international/charprop.el:
3338 * international/uni-bidi.el:
3339 * international/uni-category.el:
3340 * international/uni-combining.el:
3341 * international/uni-comment.el:
3342 * international/uni-decimal.el:
3343 * international/uni-decomposition.el:
3344 * international/uni-digit.el:
3345 * international/uni-lowercase.el:
3346 * international/uni-mirrored.el:
3347 * international/uni-name.el:
3348 * international/uni-numeric.el:
3349 * international/uni-old-name.el:
3350 * international/uni-titlecase.el:
3351 * international/uni-uppercase.el: Regenerate.
3352
3bbf23bc
MR
33532011-08-23 Martin Rudalics <rudalics@gmx.at>
3354
3355 * help.el (help-window-setup): Fix message displayed when other
3356 window is reused. (Bug#9341)
3357
b3fd59bd
SM
33582011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3359
1802e444
SM
3360 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3361 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3362
b3fd59bd
SM
3363 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3364 Mark obsolete.
3365 * shell.el (shell-parse-pcomplete-arguments): New function.
3366 (shell-completion-vars): Use it instead (bug#9160).
3367
4eb61348
SM
33682011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3369
867cab74
SM
3370 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3371 strings and comments (bug#9333).
3372
4eb61348
SM
3373 * emacs-lisp/debug.el (debug-arglist): New function.
3374 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3375 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3376
262a1439
JL
33772011-08-22 Juri Linkov <juri@jurta.org>
3378
56ee679c
JL
3379 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3380 Revert regexp that highlights output switches to its old
3381 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3382
262a1439
JL
3383 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3384 to check for empty output (bug#9226).
3385
f13f86fb
CY
33862011-08-22 Chong Yidong <cyd@stupidchicken.com>
3387
3388 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3389 symbol-constituent as the default, as that stops font-lock from
3390 working properly (Bug#8843).
3391
c65c9622
LMI
33922011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3393
3394 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3395 `coding-system-for-*' around the process open call to avoid
3396 auth-source side effects.
e7f2c178 3397 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
3398 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3399 probe hangs.
c65c9622 3400
23a8a5ab
CY
34012011-08-21 Chong Yidong <cyd@stupidchicken.com>
3402
ff98b2dd
CY
3403 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3404
23a8a5ab
CY
3405 * emacs-lisp/find-func.el (find-function-noselect): New arg
3406 lisp-only.
3407
3408 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3409 signal an error for built-in functions (Bug#6664).
3410
f5e3c598
LMI
34112011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3412
3413 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3414 (smtpmail-try-auth-methods): Use it.
3415
a3f2468a
CY
34162011-08-21 Chong Yidong <cyd@stupidchicken.com>
3417
2c34e8da
CY
3418 * font-lock.el (font-lock-fontify-region)
3419 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3420 (font-lock-default-unfontify-buffer)
3421 (font-lock-default-fontify-region)
3422 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3423
b3fd59bd
SM
3424 * progmodes/compile.el (compilation-error-properties):
3425 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
3426 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3427 `ant' regexp.
ee31aabc 3428
a3f2468a
CY
3429 * net/browse-url.el (browse-url-firefox): Don't call
3430 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3431
8e999f70
GM
34322011-08-20 Glenn Morris <rgm@gnu.org>
3433
c21a496a
GM
3434 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3435
59ee0542
GM
3436 * tutorial.el (tutorial--default-keys): Update some default bindings.
3437
8e999f70
GM
3438 * files.el (hack-local-variables): Fully ignore case for "mode:".
3439
e3715033
AM
34402011-08-20 Alan Mackenzie <acm@muc.de>
3441
3442 Resolve invalid use of a regexp in regexp-opt.
3443
4d61f28d
JB
3444 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3445 detection for a java annotation.
e3715033 3446
4d61f28d 3447 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
3448 detection for a java annotation.
3449
4d61f28d
JB
3450 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3451 handling for java.
e3715033
AM
3452 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3453
04ed2e9c
CY
34542011-08-20 Chong Yidong <cyd@stupidchicken.com>
3455
3456 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3457 (Bug#9274).
3458
826cee64
AM
34592011-08-20 Alan Mackenzie <acm@muc.de>
3460
58179cce 3461 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
3462 such a construct. Mainly for when jit-lock etc. starts a chunk
3463 here.
3464
58179cce 3465 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 3466 variable.
58179cce 3467 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
3468 c-make-font-lock-search-function.
3469 (c-make-font-lock-search-function): Use the above function.
3470 (c-make-font-lock-context-search-function): New function.
3471 (c-cpp-matchers): Enhance the preprocessor expression case with
3472 the above function
3473 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3474 which takes an expression.
3475
3476 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3477
13009bd8
MR
34782011-08-20 Martin Rudalics <rudalics@gmx.at>
3479
3480 * window.el (display-buffer-reuse-window)
3481 (display-buffer-pop-up-window): Don't reuse or split a side
3482 window.
3483
9234ff7f
GM
34842011-08-19 Glenn Morris <rgm@gnu.org>
3485
3486 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 3487 Downcase "Mode:". (Bug#9331)
9234ff7f 3488
f635daa1
CY
34892011-08-18 Chong Yidong <cyd@stupidchicken.com>
3490
3491 * international/characters.el: Add L and R categories.
3492
3493 * subr.el (bidi-string-mark-left-to-right): Rename from
3494 string-mark-left-to-right. Use category search.
3495
3496 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
3497
bc987f8b
JL
34982011-08-18 Juri Linkov <juri@jurta.org>
3499
3500 * faces.el (error, warning, success): New faces with definitions
3501 copied from old default values of `font-lock-warning-face',
3502 `compilation-warning', `compilation-info' (bug#6117).
3503
3504 * font-lock.el (font-lock-warning-face): Inherit from `error'.
3505
3506 * progmodes/compile.el (compilation-error): Inherit from `error'.
3507 (compilation-warning): Inherit from `warning'.
3508 (compilation-info): Inherit from `success'.
3509
3510 * dired.el (dired-marked): Inherit from `warning'.
3511 (dired-flagged): Inherit from `error'.
3512
57173b96
LMI
35132011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3514
3e79eb87
LMI
3515 * mail/smtpmail.el (auth-source): Require to avoid problems with
3516 binding variables (bug#9298). Also clean up some unused
3517 autoloads.
3518
b3fd59bd
SM
3519 * net/network-stream.el (network-stream-open-starttls):
3520 Support using starttls.el without using gnutls-cli.
57173b96 3521
02b404de
JL
35222011-08-17 Juri Linkov <juri@jurta.org>
3523
3524 * progmodes/grep.el (rgrep): Handle the case when
3525 `grep-find-command' is a cons cell (bug#9278).
3526
8c9177f2
MR
35272011-08-17 Martin Rudalics <rudalics@gmx.at>
3528
3529 * window.el (display-buffer-pop-up-frame): Run frame creation
3530 function with BUFFER current (as special-display-popup-frame
3531 does). Reported by Drew Adams.
3532
3644a0ab
DU
35332011-08-17 Daiki Ueno <ueno@unixuser.org>
3534
3535 * epa-mail.el: Simplify GnuPG group expansion using
3536 epg-expand-group.
3537 (epa-mail-group-alist, epa-mail-group-modtime)
3538 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3539 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3540 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3541 Remove.
3542
5e617bc2 35432011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
3544
3545 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3546
9c4aeabf
AM
35472011-08-16 Alan Mackenzie <acm@muc.de>
3548
3549 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3550 Correct, to avoid the inside of macros.
3551
3a99bf64
RS
35522011-08-16 Richard Stallman <rms@gnu.org>
3553
04963aa8
RS
3554 * epa-mail.el: Handle GnuPG group definitions.
3555 (epa-mail-group-alist, epa-mail-group-modtime)
3556 (epa-mail-gnupg-conf-file): New variables.
3557 (epa-mail-parse-groups, epa-mail-sync-groups)
3558 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3559 (epa-mail-expand-recipients): New functions.
3560 (epa-mail-encrypt): Call epa-mail-expand-recipients.
3561
177549d0
RS
3562 * mail/rmail.el (rmail-epa-decrypt): New command.
3563
fe38beef
RS
3564 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3565 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
3566 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3567 (epa-decrypt-armor-in-region): Make error message clearer.
3568
934eacb9
SM
35692011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3570
3571 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3572 and "a2b" to "ab" for `prefix'.
3573
d024fb4e
CY
35742011-08-14 Chong Yidong <cyd@stupidchicken.com>
3575
3576 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3577 filter groups.
de148fee
CY
3578 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
3579 Fourquet (Bug#8804).
d024fb4e 3580
62f1ca49
JB
35812011-08-12 Juanma Barranquero <lekktu@gmail.com>
3582
3583 * startup.el (argi): Declare as global variable (bug#9275).
3584
9ccaaa4b
CY
35852011-08-12 Chong Yidong <cyd@stupidchicken.com>
3586
3587 * subr.el (string-mark-left-to-right): Search the entire string
3588 for RTL script, not just the terminating character. Doc fix.
3589
a3dae87a
SM
35902011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3591
6cd18349
SM
3592 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3593 New function.
3594 (js--regexp-literal, js-syntax-propertize-function): Remove.
3595 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3596 (js-mode-map): Don't rebind electric keys.
3597 (js-insert-and-indent): Remove.
3598 (js-mode): Setup electric-layout and electric-indent instead.
3599
a3dae87a
SM
3600 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3601
9d5cb631
DU
36022011-08-12 Daiki Ueno <ueno@unixuser.org>
3603
3604 * epa.el (epa-progress-callback-function): Fix the logic of
3605 displaying progress.
3606 * epa-file.el (epa-file-insert-file-contents): Make progress
3607 display more user-friendly.
3608 (epa-file-write-region): Ditto.
3609
3e26a4a2
CY
36102011-08-10 Chong Yidong <cyd@stupidchicken.com>
3611
3612 * subr.el (string-mark-left-to-right): New function.
3613
3614 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3615 Use string-mark-left-to-right.
3616 (list-buffers-noselect): Caller changed.
3617
a3dae87a
SM
3618 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3619 Use string-mark-left-to-right.
3e26a4a2
CY
3620 (tabulated-list-print): Recenter after moving point.
3621
ac8cf6e6
JL
36222011-08-10 Juri Linkov <juri@jurta.org>
3623
3624 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3625 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3626 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3627
8d96c9a4
CY
36282011-08-09 Chong Yidong <cyd@stupidchicken.com>
3629
3630 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3631 (Bug#7554).
3632
7be1c708 36332011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
3634
3635 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3636 character. (Bug#6594)
3637
37e11a63
CY
36382011-08-08 Chong Yidong <cyd@stupidchicken.com>
3639
839dde57
CY
3640 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3641 (image-dired--with-db-file): New macro.
3642 (image-dired-write-tags, image-dired-remove-tag)
3643 (image-dired-create-gallery-lists, image-dired-write-comments)
3644 (image-dired-get-comment, image-dired-mark-tagged-files)
3645 (image-dired-list-tags, image-dired-gallery-generate): Use it.
3646 (image-dired-gallery-generate): Use insert-file-contents.
3647
37e11a63
CY
3648 * time.el (display-time-world-list, display-time-world-display):
3649 * time-stamp.el (time-stamp-string):
3650 * vc/add-log.el (add-change-log-entry): Use setenv instead of
3651 set-time-zone-rule (Bug#7337).
3652
0b4946c4
DU
36532011-08-08 Daiki Ueno <ueno@unixuser.org>
3654
3655 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3656 (epg-error-to-string, epg-errors-to-string): New function.
3657 (epg-wait-for-completion): Reverse errors list.
3658 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3659 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3660 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3661 (epg-sign-keys, epg-generate-key-from-file)
3662 (epg-generate-key-from-string): Format errors by using
3663 epg-errors-to-string (bug#9255).
3664 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3665
75bfc667
JL
36662011-08-07 Juri Linkov <juri@jurta.org>
3667
3668 * faces.el (list-faces-display): Remove extra angle bracket
3669 from `help-mode-map'.
3670
3671 * info.el (Info-history-toc-nodes): Doc fix.
3672
3673 * longlines.el (longlines-mode): Doc fix.
3674
673e08bb
SM
36752011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3676
4640dd88
SM
3677 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3678 of statements and in a few more cases (bug#9183).
3679
673e08bb
SM
3680 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3681 New functions.
3682 (cl-transform-lambda): Use them (bug#9239).
3683
89b3f019
MR
36842011-08-05 Martin Rudalics <rudalics@gmx.at>
3685
3686 * window.el (display-buffer-same-window)
3687 (display-buffer-same-frame, display-buffer-other-window)
3688 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3689 (pop-to-buffer-other-window)
3690 (pop-to-buffer-same-frame-other-window)
3691 (pop-to-buffer-other-frame): Make them defuns.
3692 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3693
640c8776
SM
36942011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3695
3696 * subr.el (make-composed-keymap): Move from C. Change calling
3697 convention, and improve docstring to bring attention to a subtle point.
3698 * minibuffer.el (completing-read-default): Adjust accordingly.
3699
63648a95
MA
37002011-08-03 Michael Albinus <michael.albinus@gmx.de>
3701
3702 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3703 (tramp-open-shell): Use `tramp-shell-quote-argument'.
3704
3705 * net/trampver.el: Update release number.
3706
b796c9b7
SM
37072011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3710 "in" (bug#9190).
3711
2239d7d5
LMI
37122011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3713
e07dd7c3
LMI
3714 * mail/sendmail.el (sendmail-query-once): Restore the current
3715 buffer after querying (bug#9074).
3716
0e6a2bd7
LMI
3717 * dired.el (dired-flagged): Use different faces for marked and
3718 flagged files (bug#6117).
3719
ce887515
LMI
3720 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3721 (bug#4433).
3722
92f2affc
LMI
3723 * ido.el (ido-mode): Switch off the message if called
3724 non-interactively.
3725
57d5aff0
LMI
3726 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3727 before 587, since it appears that that's more likely to work for
3728 more people.
3729
98cd6c18 3730 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 3731 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
3732 exist.
3733
b96dec83
LMI
3734 * info.el: Remove the `Info-beginning-of-buffer' function
3735 (bug#8325).
3736
b796c9b7
SM
3737 * net/network-stream.el (network-stream-open-starttls):
3738 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 3739
d90e2ea0
MR
37402011-08-01 Martin Rudalics <rudalics@gmx.at>
3741
3742 * window.el (display-buffer-in-window): Don't set dedicated status
3743 of window here (Bug#9215).
3744 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3745 (display-buffer-pop-up-side-window)
b796c9b7 3746 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 3747
cca09170
SM
37482011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3751 before binding generated-autoload-file.
3752
027b979c
DD
37532011-08-01 Deniz Dogan <deniz@dogan.se>
3754
3755 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3756
3c7ee4f3
MA
37572011-07-30 Michael Albinus <michael.albinus@gmx.de>
3758
3759 Sync with Tramp 2.2.2.
3760
3761 * net/trampver.el: Update release number.
3762
2cc8e51a
JL
37632011-07-30 Juri Linkov <juri@jurta.org>
3764
3765 * dired-aux.el (dired-touch-initial): Remove function.
3766 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3767 current time, and `default' to the last modification time of the
3768 current marked file (bug#6887).
3769
a514d856
JM
37702011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3771
3772 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 3773 numeric argument to read-number (bug#9163).
a514d856 3774
8a7eddd7
MA
37752011-07-27 Michael Albinus <michael.albinus@gmx.de>
3776
3777 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3778 connection process, it could be nil.
3779
1ddd96f5
LL
37802011-07-27 Leo Liu <sdl.web@gmail.com>
3781
3782 Simplify url handling in rcirc-mode.
3783
3784 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3785 (rcirc-browse-url-at-mouse): Remove.
3786 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3787
b248a85d
AM
37882011-07-26 Alan Mackenzie <acm@muc.de>
3789
3790 Fontify bitfield declarations properly.
3791
3792 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3793 (c-symbol-chars): Now exported as a lang variable.
3794 (c-not-primitive-type-keywords): New lang variable.
3795
3796 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3797 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 3798 parsed as a bitfield declaration.
b248a85d 3799
b796c9b7
SM
3800 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3801 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
3802 (c-punctuation-in): New function.
3803 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3804 declarations properly.
3805
68575ab0
UJ
38062011-07-26 Ulf Jasper <ulf.jasper@web.de>
3807
3808 * calendar/icalendar.el (icalendar--all-events): Take care of
3809 multiple vcalendars in a single file.
b796c9b7 3810 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 3811
0f0a88b9
DD
38122011-07-25 Deniz Dogan <deniz@dogan.se>
3813
3814 * image.el (insert-image): Clarifying docstring.
3815
0b3f36df
MA
38162011-07-24 Michael Albinus <michael.albinus@gmx.de>
3817
3818 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3819 `tramp-send-command-and-check' if there is no error.
3820 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3821
a9901f61
AM
38222011-07-22 Alan Mackenzie <acm@muc.de>
3823
3824 Prevent cc-langs.elc being loaded at run time.
3825
3826 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3827 cc-langs.
3828
4d61f28d 3829 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
3830 "(require 'cc-langs)". Quote a form so it will evaluate at
3831 (cc-mode's) compilation time.
3832
11d074b2
MA
38332011-07-22 Michael Albinus <michael.albinus@gmx.de>
3834
3835 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3836 loading. (Bug#9114)
3837
938b94c8
MR
38382011-07-21 Martin Rudalics <rudalics@gmx.at>
3839
3840 * window.el (display-buffer-pop-up-window)
3841 (display-buffer-pop-up-side-window)
3842 (display-buffer-in-side-window): Call display-buffer-set-height
3843 and display-buffer-set-width after setting the new window's
b796c9b7 3844 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 3845
bfa4f190
SS
38462011-07-20 Sam Steingold <sds@gnu.org>
3847
3848 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3849 (etags-tags-included-tables): Call `convert-standard-filename' on
3850 the file names contained in TAGS so that windows Emacs can handle
3851 TAGS files created by cygwin ctags.
3852
8ca42262
LMI
38532011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3854
3855 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3856 which apparently didn't work.
3857
5db2afd2 38582011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 3859
5db2afd2
RW
3860 * proced.el (proced-send-signal): For *Marked Processes* buffer
3861 put point at beginning of buffer.
3862
92e15d10
SB
38632011-07-19 Stephen Berman <stephen.berman@gmx.net>
3864
3865 * proced.el (proced-format): Make header lines align with the text
3866 (bug#1779).
3867
1bfd59e5
LMI
38682011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3869
3870 * view.el (view-buffer): Allow running in `special' modes if we're
3871 visiting a file (bug#8615).
3872
f5aae37c
MR
38732011-07-19 Martin Rudalics <rudalics@gmx.at>
3874
3875 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
3876 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3877 New functions.
f5aae37c
MR
3878 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3879 more accurately.
3880
bf2c1571
AM
38812011-07-18 Alan Mackenzie <acm@muc.de>
3882
3883 Fontify declarators properly when, e.g., a jit-lock chunk begins
3884 inside a declaration.
3885
3886 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3887
b796c9b7
SM
3888 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3889 New function.
bf2c1571
AM
3890 (c-complex-decl-matchers): Insert reference to
3891 c-font-lock-enclosing-decls.
3892
3893 * progmodes/cc-engine.el (c-backward-single-comment):
3894 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3895 to nil around calls to (forward-comment -1).
3896
4e190b80
LMI
38972011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3898
12dc863d
LMI
3899 * image.el (put-image): Doc typo fix.
3900
a762e966
LMI
3901 * progmodes/etags.el (tags-search): Doc typo fix.
3902
4e190b80
LMI
3903 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3904 password if we get errors 550 to 554.
3905
f019fb21
LMI
39062011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3907
b796c9b7 3908 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 3909
81746738
LMI
3910 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3911 indentation character (bug#6380).
3912
3ee3a1b5
LMI
3913 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3914
c82f64de
LMI
3915 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3916 to clarify what the problem is (bug#4291).
3917
f019fb21
LMI
3918 * simple.el (current-kill): Clarify what
3919 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
3920 (auto-fill-mode): Document `auto-fill-function' in relation to
3921 `auto-fill-mode' (bug#2470).
f019fb21 3922
0794775d
LM
39232011-07-16 Lawrence Mitchell <wence@gmx.li>
3924
3925 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3926 method if slot is read-only (bug#9035).
3927
be39b8cc
MR
39282011-07-16 Martin Rudalics <rudalics@gmx.at>
3929
b796c9b7 3930 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 3931 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
3932 selected before, see discussion of (Bug#8615), (Bug#6954).
3933 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 3934
6ccf7859
GM
39352011-07-15 Glenn Morris <rgm@gnu.org>
3936
3937 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 3938 Respect help-form.
6ccf7859 3939
87e86684
LM
39402011-07-09 Lawrence Mitchell <wence@gmx.li>
3941
3942 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3943 (gnutls-negotiate): Use it.
3944
d6066239
LMI
39452011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3946
b796c9b7
SM
3947 * net/gnutls.el (gnutls-negotiate):
3948 Upcase `gnutls-algorithm-priority'.
d6066239 3949
bd23ebc0
GM
39502011-07-15 Glenn Morris <rgm@gnu.org>
3951
c65bca65
GM
3952 * jka-compr.el (jka-compr-verbose): Move from here...
3953 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3954 Add missing :version tag.
3955 * info.el: No need to require jka-compr when compiling.
bd23ebc0 3956
478615cc
LMI
39572011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3958
7b41decb
LMI
3959 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3960 (gnutls-negotiate): Use it.
3961
dbc44fcd
LMI
3962 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3963
06789f97
LMI
3964 * info.el (Info-beginning-of-buffer): New command.
3965 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3966 announcing `b' as the key (bug#8325).
ab896c37 3967 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 3968
c39da690
LMI
3969 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3970
3aa5f34b
LMI
3971 * international/mule-cmds.el
3972 (describe-specified-language-support): Make the error message
3973 clearer (bug#8905).
3974
4bf0979f
LMI
3975 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3976
478615cc
LMI
3977 * isearch.el (isearch-barrier): Add a doc string, since it's
3978 mentioned in a function doc string (bug#8678).
3979
75c68aa1
MR
39802011-07-15 Martin Rudalics <rudalics@gmx.at>
3981
3982 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3983 buffer argument (Bug#9083) and self-identifying label argument.
3984
a7c33da2
GM
39852011-07-15 Glenn Morris <rgm@gnu.org>
3986
3987 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3988
2f5c6024
LMI
39892011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3990
3991 * man.el (Man-fontify-manpage): Fix message when formatting the
3992 man page (bug#7929).
3993
0bb23927 39942011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
3995
3996 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3997 argument LRM; if non-nil, append an invisible LRM character to the
3998 buffer name.
3999 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4000 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4001 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4002 paragraph direction.
cce4b0a7 4003
621ef9ab
LMI
40042011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4005
d1583c48
LMI
4006 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4007 the man page name (bug#7929).
4008
6a57fb5f
LMI
4009 * image.el (put-image): Mention the `put-image' overlay property
4010 (bug#7834).
4011
d7956b14
LMI
4012 * scroll-bar.el (set-scroll-bar-mode): Mention that
4013 `scroll-bar-mode' lists the values (bug#7772).
4014
5b2d4a66
LMI
4015 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4016 command (bug#7729).
4017
7509a874
LMI
4018 * rect.el (apply-on-rectangle): Return the point after the last
4019 operation.
4020 (string-rectangle): Go to the point after the last operation
4021 (bug#7522).
4022
4fe74b19
LMI
4023 * printing.el (pr-toggle-region): Clarify the documentation
4024 slightly (bug#7493).
4025
b796c9b7
SM
4026 * time.el (display-time-update):
4027 Allow `display-time-mail-function' to return nil (bug#7158).
4028 Fix suggested by Detlev Zundel.
ab283561 4029
fc233c9d
LMI
4030 * vc/diff.el (diff): Clarify the order the file names are read
4031 (bug#7111).
4032
43f5740b
LMI
4033 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4034 the doc string (bug#7015).
4035
f2182a76
LMI
4036 * font-lock.el (font-lock-maximum-decoration): Mention what
4037 numeric levels mean (bug#6935).
4038
621ef9ab
LMI
4039 * startup.el (initial-buffer-choice): Don't mention the `none'
4040 selection, which is against policy.
4041
adc47434
MR
40422011-07-14 Martin Rudalics <rudalics@gmx.at>
4043
b796c9b7
SM
4044 * window.el (display-buffer-normalize-special):
4045 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4046
7e5bfb8f
EZ
40472011-07-14 Eli Zaretskii <eliz@gnu.org>
4048
4049 * subr.el (version<, version<=, version=): Mention "-CVS" and
4050 "-12345" alpha version numbers.
4051
27fa387a
CY
40522011-07-14 Chong Yidong <cyd@stupidchicken.com>
4053
4054 * bindings.el: Add advertised binding for set-mark-command
4055 (Bug#5772).
4056
8bdfa064
CY
40572011-07-14 Chong Yidong <cyd@stupidchicken.com>
4058
4059 * bindings.el (mode-line-other-buffer):
4060 * bookmark.el (bookmark-bmenu-2-window):
4061 * bs.el (bs-cycle-next, bs-cycle-previous):
4062 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4063 switch-to-buffer.
4064
4065 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4066 Delete.
8bdfa064 4067
5eba16a3
JB
40682011-07-14 Juanma Barranquero <lekktu@gmail.com>
4069
4070 * follow.el (follow-debug-message, follow-redisplay):
4071 * jka-cmpr-hook.el (with-auto-compression-mode):
4072 Fix typos in docstrings.
4073
15853710
LMI
40742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4075
a28e4607
LMI
4076 * subr.el (with-silent-modifications): Clarify somewhat what the
4077 macro inhibits (bug#6525).
4078
15853710
LMI
4079 * simple.el (eval-expression): Note what it does if called
4080 interactively (bug#6495).
4081
bee0fcef
CY
40822011-07-13 Chong Yidong <cyd@stupidchicken.com>
4083
b796c9b7
SM
4084 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4085 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4086
4087 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4088 Remove switch-to-buffer.
4089
58274504
LMI
40902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4091
bd2fcc8d
LMI
4092 * files.el (make-directory): Clarify that an error will be raised
4093 if there's an error (bug#6397).
4094
0f04b32c
LMI
4095 * startup.el (initial-buffer-choice): Add `none' as a choice
4096 (bug#6234).
4097
465c5fc8
LMI
4098 * subr.el (add-hook): Clarify section about buffer-local hooks
4099 (bug#6218).
4100
58274504
LMI
4101 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4102
bead9a43
JB
41032011-07-13 Juanma Barranquero <lekktu@gmail.com>
4104
4105 * tabify.el (untabify): Preserve the current column so that point
4106 doesn't move (bug#6032).
4107
3af98a7b
LMI
41082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4109
b796c9b7
SM
4110 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4111 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4112
6240145a
GM
41132011-07-13 Glenn Morris <rgm@gnu.org>
4114
4115 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4116 (dired-insert-directory): Give a message the first time
4117 if ls is found not to support --dired.
4118
1d8c2ccc
LMI
41192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4120
4121 * simple.el (toggle-truncate-lines): Clarify what is toggled
4122 (bug#5580). Text by Drew Adams.
4123
5fc4038e
CY
41242011-07-13 Chong Yidong <cyd@stupidchicken.com>
4125
4126 * simple.el (blink-matching-open): Make the error message from the
4127 last change less verbose.
4128
bf6012e5
DN
41292011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4130
4131 * font-lock.el (font-lock-comment-face): Use the high contrast
4132 "yellow" color for font-lock-comment-face on low color terminals
4133 using a dark background color (bug#4221).
4134
343c3b5a
LMI
41352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4136
7e9505c5
LMI
4137 * dired.el (dired-insert-set-properties): Make the doc string
4138 reflect what it does now (bug#5325).
4139
c26fdcf5
LMI
4140 * simple.el (blink-matching-open): Say that we were unable to find
4141 the match within the limit, if we're limited (bug#5122).
4142
bb388cc5
LMI
4143 * international/mule-cmds.el (prefer-coding-system): Add an
4144 example (bug#4869).
4145
343c3b5a
LMI
4146 * progmodes/etags.el (tags-search): Document `file-list-form'
4147 (bug#4731).
4148
2a517d45
LM
41492011-07-13 Lawrence Mitchell <wence@gmx.li>
4150
4151 * net/browse-url.el (browse-url-default-browser)
4152 (browse-url-browser-function): Make the default browser choice a
4153 bit more logical (bug#4300). Also clean up the doc string.
4154
b6c78ef2
JB
41552011-07-13 Juanma Barranquero <lekktu@gmail.com>
4156
4157 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4158 binary endings (bug#4440).
4159
1c4dd947
LMI
41602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4161
a2014063
LMI
4162 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4163 which can be pretty annoying (bug#8971).
4164
9c9c2d88
LMI
4165 * jka-compr.el (jka-compr-verbose): New variable, and use
4166 throughout (bug#8971).
4167
1c4dd947
LMI
4168 * info.el (Info-find-file): Fall back on the installation
4169 directory if we can't find the info node anywhere else.
4170
a1c9f41b
SO
41712011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4172
4173 * vc/vc.el (vc-revert-file):
4174 Don't set file time-stamp in the past. (Bug#5181)
4175
536f3d36
LMI
41762011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4177
7152b011
LMI
4178 * files.el (after-find-file): Give a better error message when
4179 trying to find a symlink that points to a file that doesn't exist
4180 (bug#4398).
4181
536f3d36
LMI
4182 * progmodes/cc-vars.el: Remove (probably) misleading comment
4183 (bug#4396).
4184
460c0fba
JB
41852011-07-12 Johan Bockgård <bojohan@gnu.org>
4186
4187 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4188
7a6bda45
CY
41892011-07-12 Chong Yidong <cyd@stupidchicken.com>
4190
4191 * mouse-sel.el: Hack restoring functionality, while keeping
4192 compatibility with 2010-07-03 changes to mouse selection.
4193 (mouse-sel-primary-overlay): New var.
4194 (mouse-sel-selection-alist): Use it.
4195 (mouse-sel-mode): Doc fix; remove points that are default features
4196 of mouse.el.
4197
c79598ef
JB
41982011-07-12 Johan Bockgård <bojohan@gnu.org>
4199
4200 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4201 Fix previous fix (bug#2490).
4202
ff8be6ef
RW
42032011-07-12 Roland Winkler <winkler@gnu.org>
4204
b796c9b7
SM
4205 * textmodes/bibtex.el (bibtex-initialize):
4206 Use pop-to-buffer-same-window.
ff8be6ef
RW
4207 (bibtex-search-entries): Fix interactive call.
4208
296ba3ee
LMI
42092011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4210
f5242a02 4211 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
4212 Fontise bytecomp Error lines more correctly (bug#2490).
4213 Fix suggested by Johan Bockgård.
f5242a02 4214
296ba3ee
LMI
4215 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4216
4217 * dired-x.el (dired-guess-default): Use `delete-dups'.
4218
f69fd0d2
CY
42192011-07-12 Chong Yidong <cyd@stupidchicken.com>
4220
4221 * dired.el (dired-mark-prompt):
4222 * dired-aux.el (dired-read-shell-command): Doc fix.
4223
eab5dc07
LMI
42242011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4225
b796c9b7
SM
4226 * mail/sendmail.el (sendmail-query-once):
4227 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4228 emacs -Q.
4229
4230 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4231
eab5dc07
LMI
4232 * cus-edit.el (custom-file): Take an optional no-error variable.
4233 (customize-save-variable): Set the variable, and give a warning if
4234 running under "emacs -q".
4235
a1e65d42
JB
42362011-07-11 Juanma Barranquero <lekktu@gmail.com>
4237
4238 * loadhist.el (unload-feature-special-hooks):
4239 Add `auto-coding-functions', `fill-nobreak-predicate' and
4240 `find-directory-functions' (bug#5327).
4241
1d52da10
LMI
42422011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4243
be958f1d
LMI
4244 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4245
5bedb26c
LMI
4246 * cus-edit.el (custom-guess-name-alist): -alist variables should
4247 use the `alist' type (bug#3120). Suggested by Drew Adams.
4248
1d52da10
LMI
4249 * printing.el: Add documentation to all the `pr-toggle-' commands.
4250
481a51b6
LL
42512011-07-11 Leo <sdl.web@gmail.com> (tiny change)
4252
4253 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4254 backends where it makes sense (bug#2623).
4255
dcc88d8a
LMI
42562011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4257
c3de9feb
LMI
4258 * dired-x.el (dired-guess-default): Remove duplicate shell command
4259 entries (bug#2028).
8a93078b 4260 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4261 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4262
dcc88d8a
LMI
4263 * subr.el (remove-duplicates): New conveniency function.
4264
505e3645
LMI
42652011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4266
4267 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4268 (bug#1526).
4269
42702011-07-10 Martin Rudalics <rudalics@gmx.at>
4271
4272 * window.el (display-buffer-normalize-default): Don't invert
4273 meaning of even-window-heights. Reported by Eli Zaretskii
4274 <eliz@gnu.org>.
4275
455e4fa1
BR
42762011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4277
4278 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4279
8e0bc3e9
CY
42802011-07-10 Chong Yidong <cyd@stupidchicken.com>
4281
4282 * window.el (display-buffer): Fix arguments to
4283 display-buffer-reuse-window in last change.
4284
fa7c3228
CY
4285 * faces.el (link): Use a less saturated blue on light backgrounds.
4286
4287 * startup.el (fancy-startup-text, fancy-about-text)
4288 (fancy-startup-tail): Use font-lock faces, for background safety.
4289
c0a7f300
BN
42902011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4291
b796c9b7
SM
4292 * emulation/viper-cmd.el (viper-change-state-to-vi):
4293 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4294
4dc2a129
MR
42952011-07-09 Martin Rudalics <rudalics@gmx.at>
4296
4297 * window.el (display-buffer-default-specifiers): Remove.
4298 (display-buffer-macro-specifiers): Remove default specifiers.
4299 (display-buffer-alist): Default to nil.
b796c9b7 4300 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4301 (display-buffer-pop-up-window): Allow splitting internal
4302 windows. Check whether a live window was created.
4303 (display-buffer-other-window-means-other-frame)
4304 (display-buffer-normalize-arguments): Rename to
4305 display-buffer-normalize-argument and rewrite. Set the
4306 other-window specifier.
4307 (display-buffer-normalize-special): New function.
4308 (display-buffer-normalize-options): Rename to
4309 display-buffer-normalize-default and rewrite.
4310 (display-buffer-normalize-options-inhibit): Remove.
4311 (display-buffer-normalize-specifiers): Rewrite.
4312 (display-buffer): Process other-window specifier and call
4313 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4314 more faithfully.
b796c9b7 4315 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 4316 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
4317 (display-buffer-in-window, display-buffer-alist-set):
4318 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
4319 <tassilo@member.fsf.org>.
4320
2d43b8c9
LL
43212011-07-09 Leo Liu <sdl.web@gmail.com>
4322
4323 * register.el (insert-register): Restore accidental change on
4324 2011-06-26. (Bug#9028)
4325
7f9b7c53
GM
43262011-07-09 Glenn Morris <rgm@gnu.org>
4327
4328 * subr.el (remq): Handle the empty list. (Bug#9024)
4329
f042cfd8
AS
43302011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4331
4332 * mail/sendmail.el (send-mail-function): No longer delay custom
4333 initialization.
4334 * custom.el (custom-initialize-delay): Doc fix.
4335
856b2f11
SM
43362011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4337
4338 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4339
afae1d68
MA
43402011-07-08 Michael Albinus <michael.albinus@gmx.de>
4341
4342 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4343 human-friendly prompt.
4344
0757af94
SM
43452011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4346
4347 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4348 provided by a particular plugin.
4349
d760b731
LMI
43502011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4351
4352 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4353 save customizations (with "emacs -Q"), just set the variable
4354 instead of erroring out.
4355
4356 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4357
cd79ce90
JL
43582011-07-08 Juri Linkov <juri@jurta.org>
4359
4360 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4361 (archive-zip-update-case): Use 7z if found by `executable-find'.
4362 The order of searching the available programs is the same as in
4363 `archive-zip-extract' (bug#8968).
4364
14cc04aa
CY
43652011-07-07 Chong Yidong <cyd@stupidchicken.com>
4366
4367 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4368 (menu-bar-options-menu): Tweak descriptions.
4369
0a1848ec
LMI
43702011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4371
4372 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4373 menu items into verb phrases (bug#1421). Also refill to fit under
4374 80 columns.
4375
f5bd0689
CY
43762011-07-07 Chong Yidong <cyd@stupidchicken.com>
4377
538e85c6
CY
4378 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4379 (Info-read-node-name): Doc fix (Bug#1084).
4380
f5bd0689
CY
4381 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4382 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4383 (end-of-sexp, beginning-of-sexp)
4384 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4385 (forward-symbol, forward-same-syntax, word-at-point)
4386 (sentence-at-point): Doc fix (Bug#1144).
4387
56ec5115
LMI
43882011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4389
f3f8e37f
LMI
4390 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4391 should cover it (bug#1281).
4392
0757af94 4393 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 4394
e9fce1ac 4395 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
4396 negotiation fails, then possibly try again with a non-encrypted
4397 connection (bug#9017).
4398
56ec5115
LMI
4399 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4400 be used.
4401
c2f9aec8
RS
44022011-07-07 Richard Stallman <rms@gnu.org>
4403
4404 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4405 property, and handle its changed format.
4406 Look for the correct line number.
4407 Use file's line contents (but not past first =) to find
4408 correct line in message.
4409
ef7b981d 44102011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
4411
4412 * international/characters.el (build-unicode-category-table):
4413 Delete it.
0757af94 4414 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 4415
0757af94 4416 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
4417 to src/chartab.c.
4418 (get-char-code-property): Call unicode-property-table-internal to
4419 load a file. Call get-unicode-property-internal where necessary.
4420 (put-char-code-property): Call unicode-property-table-internal to
4421 load a file. Call put-unicode-property-internal where necessary.
4422 put-unicode-property-internal where necessary.
0757af94
SM
4423 (char-code-property-description):
4424 Call unicode-property-table-internal to load a file.
c805dec0
KH
4425
4426 * international/charprop.el:
4427 * international/uni-bidi.el:
4428 * international/uni-category.el:
4429 * international/uni-combining.el:
4430 * international/uni-comment.el:
4431 * international/uni-decimal.el:
4432 * international/uni-decomposition.el:
4433 * international/uni-digit.el:
4434 * international/uni-lowercase.el:
4435 * international/uni-mirrored.el:
4436 * international/uni-name.el:
4437 * international/uni-numeric.el:
4438 * international/uni-old-name.el:
4439 * international/uni-titlecase.el:
4440 * international/uni-uppercase.el: Regenerate.
4441
4442 * loadup.el: Load international/charprop.el before
4443 international/characters.
4444
e14b388a
CY
44452011-07-07 Chong Yidong <cyd@stupidchicken.com>
4446
4447 * window.el (next-buffer, previous-buffer): Signal an error if
4448 called from a minibuffer window.
4449
4450 * bindings.el: Revert 2011-07-04 change.
4451
354cf0ba
RS
44522011-07-06 Richard Stallman <rms@gnu.org>
4453
4454 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4455 (rmail-mime-insert-bulk, rmail-mime-insert-text):
4456 Treat markers like ints.
4457 (rmail-mime-entity): Doc fix.
4458
a48868a7
LMI
44592011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4460
4906cd3d
LMI
4461 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4462 defcustom again for backwards compatibility.
4463
e0457abe
LMI
4464 * simple.el (shell-command-on-region): Fill.
4465
d67f7e1f
LMI
4466 * dired-aux.el (dired-kill-line): Add a doc string.
4467
fe204702
LMI
4468 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4469 to "\\sw\\|\\s_" (bug#358).
4470
a48868a7
LMI
4471 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4472 (dired-unmark-backward): Ditto.
4473 (dired-flag-backup-files): Ditto.
4474
4475 * dired-x.el (dired-mark-sexp): Ditto.
4476
aa8a705c
RS
44772011-07-06 Richard Stallman <rms@gnu.org>
4478
4479 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4480 (rmail-mime-entity): New arg TRUNCATED.
4481 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4482 New functions.
4483 (rmail-mime-save): Warn if entity is truncated.
4484 (rmail-mime-toggle-hidden): Likewise, for showing.
4485 (rmail-mime-process-multipart): Record when an entity is truncated.
4486
a9a936b9
RS
4487 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
4488 if ENTITY is a string.
4489
1f2b92cb
LMI
44902011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4491
f4f73198 4492 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
4493 of faces when `M-C-x'-ing their definitions (bug#8378).
4494 Also clean up the code slightly.
f4f73198 4495
12b16734 4496 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 4497 because that makes the colors go away.
12b16734 4498
f0691d22
LMI
4499 * mail/sendmail.el (send-mail-function): Change the default to
4500 `sendmail-query-once'.
9e87df06 4501 (sendmail-query-once): Add an autoload cookie.
f0691d22 4502
1f2b92cb
LMI
4503 * net/network-stream.el (network-stream-open-starttls): Try using
4504 a plain connection even if the server offered STARTTLS, and we
4505 kinda wanted to use it, if Emacs doesn't have any STARTTLS
4506 capability. This should make smtpmail.el work in slightly more
4507 configurations.
4508
1cdd2a1b
MA
45092011-07-06 Michael Albinus <michael.albinus@gmx.de>
4510
4511 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4512 New defun.
4513 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
4514
fbcc67e2
MM
45152011-07-06 Michael R. Mauger <mmaug@yahoo.com>
4516
4517 * progmodes/sql.el: Version 3.0
0757af94 4518 (sql-product-alist): Add product :completion-object,
fbcc67e2 4519 :completion-column, and :statement attributes.
0757af94 4520 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 4521 (sql-mode-syntax-table): Mark all punctuation.
0757af94 4522 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
4523 ansi keywords.
4524 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 4525 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
4526 (sql-oracle-show-reserved-words): New function for development.
4527 (sql-product-font-lock): Simplify for source code buffers.
4528 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
4529 New functions.
4530 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
4531 (sql-mode-map): Add statement movement functions.
4532 (sql-ansi-statement-starters, sql-oracle-statement-starters):
4533 New variable.
fbcc67e2
MM
4534 (sql-statement-regexp, sql-beginning-of-statement)
4535 (sql-end-of-statement, sql-signum): New functions.
0757af94 4536 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
4537 (sql-show-sqli-buffer): Bug fix.
4538 (sql-interactive-mode): Store connection data as buffer local.
0757af94 4539 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
4540 with sql-interactive-mode.
4541 (sql-save-connection): Save buffer local settings.
0757af94 4542 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
4543 (sql-product-interactive): Bug fix.
4544 (sql-preoutput-hold): New variable.
4545 (sql-interactive-remove-continuation-prompt): Bug fixes.
4546 (sql-debug-redirect): New variable.
4547 (sql-str-literal): New function.
4548 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 4549 Redesign.
fbcc67e2
MM
4550 (sql-oracle-save-settings, sql-oracle-restore-settings)
4551 (sql-oracle-list-all, sql-oracle-list-table): New functions.
4552 (sql-completion-object, sql-completion-column)
4553 (sql-completion-sqlbuf): New variables.
4554 (sql-build-completions-1, sql-build-completions)
4555 (sql-try-completion): New functions.
4556 (sql-read-table-name): Use them.
4557 (sql-contains-names): New buffer local variable.
4558 (sql-list-all, sql-list-table): Use it.
4559 (sql-oracle-completion-types): New variable.
4560 (sql-oracle-completion-object, sql-sqlite-completion-object)
4561 (sql-postgres-completion-object): New functions.
4562
d4eaeab1
GM
45632011-07-06 Glenn Morris <rgm@gnu.org>
4564
4565 * window.el (pop-to-buffer): Doc fix.
4566
322b7dab 45672011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
4568
4569 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4570
322b7dab 45712011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 4572
322b7dab 4573 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 4574
322b7dab 4575 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 4576
605dd5bf
CY
45772011-07-05 Chong Yidong <cyd@stupidchicken.com>
4578
4579 * button.el (button): Inherit from link face. Suggested by Dan
4580 Nicolaescu.
4581
7dbfa719
SM
45822011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4583
3db614b0
SM
4584 * progmodes/gdb-mi.el: Fit in 80 columns.
4585 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4586 switch-to-buffer.
4587
7dbfa719
SM
4588 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4589 if imenu is simply not configured (bug#8941).
4590
919d884a
KM
45912011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
4592
4593 * allout.el (allout-post-undo-hook): New allout outline-change
4594 event hook to signal undo activity.
4595 (allout-post-command-business): Run allout-post-undo-hook if an
4596 undo just occurred.
7dbfa719
SM
4597 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4598 * allout-widgets.el (allout-widgets-after-undo-function):
4599 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
4600 in the vicinity of an undo.
4601 (allout-widgets-mode): Include allout-widgets-after-undo-function
4602 on the new allout-post-undo-hook.
4603
450a0f09
SM
46042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4605
4606 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4607 Let define-derived-mode define it.
4608 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4609 cycles of abbrev-table inheritance (bug#8998).
4610
2de69e00
RW
46112011-07-05 Roland Winkler <winkler@gnu.org>
4612
4613 * textmodes/bibtex.el: Add support for biblatex.
4614 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4615 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4616 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4617 (bibtex-entry-alist, bibtex-field-alist): New variables.
4618 (bibtex-entry-field-alist): Obsolete alias for
4619 bibtex-BibTeX-entry-alist.
4620 (bibtex-entry-alist, bibtex-field-alist): New widgets.
4621 (bibtex-set-dialect): New command.
4622 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
4623 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4624 Bind via bibtex-set-dialect.
2de69e00
RW
4625 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4626 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4627 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4628 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4629 Define via bibtex-set-dialect.
450a0f09
SM
4630 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4631 Obey bibtex-no-opt-remove-re.
2de69e00
RW
4632 (bibtex-vec-push, bibtex-vec-incr): New functions.
4633 (bibtex-format-entry, bibtex-field-list)
4634 (bibtex-print-help-message, bibtex-validate)
4635 (bibtex-search-entries): Use new format of bibtex-entry-alist.
4636
2dcdbdd9
SM
46372011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4638
4639 * progmodes/compile.el (compilation-goto-locus):
4640 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4641 * bs.el (bs-cycle-next, bs-cycle-previous):
4642 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4643 * bindings.el (mode-line-other-buffer):
4644 * autoinsert.el (auto-insert):
4645 * arc-mode.el (archive-extract):
4646 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4647
b27640fe
JB
46482011-07-05 Juanma Barranquero <lekktu@gmail.com>
4649
4650 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4651 Fix check of `emacs-lock-unlockable-modes'.
4652 Coerce true values of `emacs-lock--try-unlocking' to t.
4653
53bbe3ad
JB
46542011-07-05 Juanma Barranquero <lekktu@gmail.com>
4655
4656 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4657 * emacs-lock.el: New file.
4658
1d3cdbc7
JD
46592011-07-05 Julien Danjou <julien@danjou.info>
4660
4661 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4662 than `boundp' to check if face is set.
4663
9173deec
JB
46642011-07-05 Juanma Barranquero <lekktu@gmail.com>
4665
4666 * register.el (registerv-make):
4667 * window.el (window-min-height): Fix typos in docstrings.
4668
869795d6
JD
46692011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4670
9173deec 4671 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
4672 Update doc string.
4673
b768cdcd
JB
46742011-07-04 Juanma Barranquero <lekktu@gmail.com>
4675
4676 * server.el (server-execute): Catch quit and call
4677 `server-return-error' to pass the error back to emacsclient and
4678 close the connection (bug#8942).
4679
13aa217b
KM
46802011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
4681
4682 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4683 insecure exception for current topic. Also note that auto-saves
4684 are handled differently.
4685
4686 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4687 State variables for tracking auto-save inhibition situation.
4688
4689 (allout-write-contents-hook-handler): Rename from
4690 'allout-write-file-hook-handler', and describe how it depends on
4691 write-contents-functions sensitivity to non-nil value to prevent
4692 file write.
4693
4694 (allout-auto-save-hook-handler): Remove. auto-save does not check
4695 this in individual buffers, only in the starting buffer, so this
4696 is not the right way for us to inhibit auto-save in a buffer
4697 according to its condition.
4698
4699 (allout-mode): Use new allout-write-contents-hook-handler, and
4700 only with write-contents-functions. Remove auto-save provisions -
4701 they're implemented elsewhere.
4702
4703 (allout-before-change-handler): If undo is in progress, note that
4704 for attention of allout-post-command-business.
4705
4706 (allout-post-command-business): If the command we're following was
4707 an undo, check for change in the status of encrypted items and
4708 adjust auto-save inhibitions accordingly.
4709
4710 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4711 according to whether there are or aren't any plain-text topics
4712 pending encryption.
4713
2dcdbdd9 4714 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
4715 Adjust buffer-saved-size and some allout state to inhibit auto-saves
4716 if there are plain-text topics pending encryption.
13aa217b
KM
4717
4718 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4719 buffer-saved-size and some allout state to not inhibit auto-saves
4720 if there are no longer any plain-text topics pending encryption.
4721
0757af94
SM
4722 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4723 No longer provide for exemption of the current topic.
13aa217b 4724
ac89b32c
JL
47252011-07-04 Juri Linkov <juri@jurta.org>
4726
4727 Add 7z operations to delete and save changed members (bug#8968).
4728 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4729 New defcustoms.
4730 (archive-7z-write-file-member): New function.
4731 (archive-7z-summarize): Fix the number of dashes in the
4732 listing output.
4733
8fa39615
SM
47342011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4735
4736 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4737 (bug#8958).
4738
2f11b3f1
CY
47392011-07-04 Chong Yidong <cyd@stupidchicken.com>
4740
d66fef2b
CY
4741 * bindings.el: Ignore next-buffer and previous-buffer in
4742 minibuffer-local-map.
4743
2f11b3f1
CY
4744 * font-lock.el (font-lock-builtin-face): Change light background
4745 color to dark slate blue (Bug#6693).
4746
f932a347
WD
47472011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4748
4749 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4750
c8af70e1
SM
47512011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4752
4753 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4754 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4755 Add switch-to-buffer.
4756
f158badc
LMI
47572011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4758
4759 * isearch.el (isearch-search-fun-function): Clarify further the
4760 meaning of the function returned.
4761
6d95bd46
MA
47622011-07-04 Michael Albinus <michael.albinus@gmx.de>
4763
4764 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4765
4766 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4767 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4768 Use it.
4769 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4770 `tramp-default-remote-path' does not exist.
4771 (tramp-send-command-and-read): New optional argument NOERROR.
4772 (tramp-open-connection-setup-interactive-shell)
4773 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4774 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4775 (tramp-process-sentinel): Flush also process' connection property.
4776 (tramp-sh-handle-start-file-process): Do not set process
4777 sentinel. It is done now ...
4778 (tramp-maybe-open-connection): ... here. (Bug#8929)
4779
909e6b67
MK
47802011-07-04 MON KEY <monkey@sandpframing.com>
4781
4782 * play/animate.el (animate-string): Doc fixes and allow changing
4783 the buffer name (bug#5417).
4784
47852011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4786
c8af70e1 4787 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 4788
f34755dc
PE
47892011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4790
396cec72
PE
4791 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4792 This is simpler and helps future-proof the code.
4793 (timer-until): Use time-subtract and float-time.
08235028 4794 (timer--time-less-p): Use time-less-p.
f34755dc 4795
56e6cc31
JB
47962011-07-04 Juanma Barranquero <lekktu@gmail.com>
4797
3abb79e5
JB
4798 * type-break.el (timep): Use the value of `float-time' to avoid a
4799 byte-compiler warning.
4800
56e6cc31
JB
4801 * server.el (server-eval-and-print): Return any result, even nil.
4802
7b9430b4
PE
48032011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4804
4805 * type-break.el: Accept time formats that the builtins accept.
4806 (timep, type-break-time-difference): Accept any format that
4807 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4808 This is simpler and helps future-proof the code.
4809 (type-break-time-difference): Round rather than ignoring
4810 subseconds components.
4811
3034e9e7
LMI
48122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4813
4814 * info.el (Info-apropos-matches): Make non-interactive, since it
4815 doesn't seem to do anything useful as a command (bug#8829).
4816
1485f4c0
CY
48172011-07-03 Chong Yidong <cyd@stupidchicken.com>
4818
4819 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 4820 Move from faces.el.
1485f4c0
CY
4821 (frame-default-terminal-background): New function.
4822
4823 * custom.el (custom-push-theme): Don't record faces in `changed'
4824 theme; this doesn't work correctly for per-frame face settings.
4825 (disable-theme): Use face-set-after-frame-default to reset faces.
4826 (custom--frame-color-default): New function.
4827
9fa3dd45
LMI
48282011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4829
c8af70e1 4830 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
4831 (bug#8769).
4832
6cbbc20c
KR
48332011-03-29 Kevin Ryde <user42@zip.com.au>
4834
4835 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4836 `perl-Test2' extend to match possible "fail #N" rep count
4837 (bug#8377).
4838
c7f98048
LMI
48392011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4840
65676592
LMI
4841 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4842 `smtpmail-via-smtp' now returns the error instead of nil.
4843
c7f98048
LMI
4844 * isearch.el (isearch-search-fun-function): Clarify the doc string
4845 (bug#8101).
4846
56e6cc31 48472011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
4848
4849 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4850 unnecessary spaces (bug#8987).
4851
2b216704
LMI
48522011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4853
4854 * net/network-stream.el (open-network-stream): Use the
4855 :end-of-capability command thoughout.
4856
48572011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4858
4859 * net/network-stream.el (open-network-stream): Add the
4860 :end-of-capability command parameter, used by pop3.el.
4861
36adf6ce
LMI
48622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4863
1ca0da0e
LMI
4864 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4865
fc00f69c
LMI
4866 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4867 for list)" (bug#6475).
4868
28fd8759 4869 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 4870 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
4871 an error (bug#6297).
4872
0dd8b6da
LMI
4873 * man.el (Man-reference-regexp): Allow matching possible
4874 word-wrapped references (bug#6289).
4875
ce1438d6
LMI
4876 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4877 for consistency with the other vc buffers (bug#6197).
4878 (vc-checkin): Ditto.
4879
4880 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4881
36adf6ce
LMI
4882 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4883
e83cc1f7
LMI
48842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4885
8a20ca4c
LMI
4886 * custom.el (defcustom): Clarify that :set is only used in the
4887 Customize user interface (bug#6089).
4888
83319045
LMI
4889 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4890 associated with a file, refuse to run instead of erroring out
4891 (bug#6084).
4892
a8392169
LMI
4893 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4894 the doc string, since it appears that using `fill-column' always
4895 controls the width (bug#7845).
4896
e83cc1f7
LMI
4897 * simple.el (shell-command-on-region): Say where the error output
4898 went if `shell-command-default-error-buffer' is set (bug#6857).
4899
e47ca23b
KM
49002011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4901
4902 * allout.el (allout-yank-processing): Adjust cursor position for
4903 backwards-deleted space.
4904
4905 (allout-rebullet-heading): Register changes with
4906 allout-exposure-changed-hook, so the modified topic is properly
4907 decorated.
4908
5cf56143
LMI
49092011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4910
08549772
LMI
4911 * minibuffer.el (completion-in-region): Document PREDICATE
4912 (bug#7136).
4913
48e96771
LMI
4914 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4915 of keyword/argument pairs (bug#6904).
4916
c8af70e1
SM
4917 * replace.el (multi-occur):
4918 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 4919
e17d05e2
LMI
49202011-07-02 Drew Adams <drew.adams@oracle.com>
4921
4922 * dired.el (dired-mark-if): Make the message about whether it's
4923 marking or unmarking clearer (bug#8523).
4924
063b0e45
LMI
49252011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4926
4927 * disp-table.el (display-table-print-array): New function.
4928 (describe-display-table): Use it to print the vectors more pretty
4929 (Bug#8859).
4930
28545e04
MR
49312011-07-02 Martin Rudalics <rudalics@gmx.at>
4932
4933 * window.el (window-state-get-1): Don't assign clone numbers.
4934 Add clone-of item to list of window parameters.
4935 (window-state-put-2): Don't process clone numbers.
4936 (display-buffer-alist): Fix doc-string.
4937
3349e122
SM
49382011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * subr.el (remq): Don't allocate if it's not needed.
4941 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4942 (keymap--merge-bindings): New functions.
4943 (keymap-canonicalize): Use them to refine the canonicalization.
4944 * minibuffer.el (minibuffer-local-completion-map)
4945 (minibuffer-local-must-match-map): Move initialization from C.
4946 (minibuffer-local-filename-completion-map): Move initialization from C;
4947 don't inherit from anything here.
4948 (minibuffer-local-filename-must-match-map): Make obsolete.
4949 (completing-read-default): Use make-composed-keymap to combine
4950 minibuffer-local-filename-completion-map with either
4951 minibuffer-local-must-match-map or
4952 minibuffer-local-filename-completion-map.
4953
d224ac83
GM
49542011-07-01 Glenn Morris <rgm@gnu.org>
4955
3de63bf8
GM
4956 * type-break.el (type-break-time-sum): Use dolist.
4957
d224ac83
GM
4958 * textmodes/flyspell.el (flyspell-word-search-backward):
4959 Replace CL function.
4960
1a1e3f32
SM
49612011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4962
fe3f64d5
SM
4963 * mouse.el (mouse--strip-first-event): New function.
4964 (function-key-map): Use it to map fringe clicks to normal clicks
4965 by default.
4966
eb604e34
SM
4967 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4968 (vc-bzr-revision-completion-table): Add support for annotate and date.
4969
1a1e3f32
SM
4970 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4971 inherit from parent.
4972
5bd35902
LMI
49732011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4974
ace6c69c 4975 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 4976 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 4977
191e2bed
LMI
4978 * dired.el (dired-mode): Fix up the doc string as suggested by
4979 Drew Adams (bug#8817).
4980
5bd35902
LMI
4981 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4982 cookie, since the manual says that it should be possible to add
4983 this function to `find-file-hook' (bug#8709).
4984
eee8207a
TZ
49852011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4986
4987 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4988 here. Noted Ted Zlatanov as the maintainer.
4989 (cfengine-common-settings, cfengine-common-syntax): New functions
4990 to set up common things between `cfengine-mode' and
4991 `cfengine3-mode'.
4992 (cfengine3-mode): New mode.
4993 (cfengine3-defuns cfengine3-defuns-regex
4994 (cfengine3-class-selector-regex cfengine3-category-regex)
4995 (cfengine3-vartypes cfengine3-font-lock-keywords)
4996 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 4997 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 4998
36b148cf
MA
49992011-07-01 Michael Albinus <michael.albinus@gmx.de>
5000
5001 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5002
5003 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5004
0bf4ba9a
MR
50052011-07-01 Martin Rudalics <rudalics@gmx.at>
5006
5007 * window.el (same-window-buffer-names, same-window-regexps)
5008 (same-window-p, special-display-frame-alist)
5009 (special-display-popup-frame, special-display-function)
5010 (special-display-buffer-names, special-display-regexps)
5011 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5012 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5013 (split-window-preferred-function, split-height-threshold)
5014 (split-width-threshold, even-window-heights)
5015 (display-buffer-mark-dedicated, window-splittable-p)
5016 (split-window-sensibly, window-safely-shrinkable-p):
5017 Un-obsolete.
5018 (display-buffer): Don't spread args with function specifier
5019 because special-display-popup-frame won't like it.
5020
35837f51
PE
50212011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5022
d0672f86
PE
5023 Time-stamp simplifications and fixes.
5024 These improve accuracy slightly, and future-proof the code
5025 against some potential changes to current-time format.
5026
b9444d97
PE
5027 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5028 by using time-since and float-time.
5029
0ef923dc
PE
5030 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5031 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5032 + NNN microseconds".
5033
2f81380d
PE
5034 * type-break.el (type-break-time-sum): Rewrite using time-add.
5035
845b5c3e
PE
5036 * play/hanoi.el (hanoi-current-time-float): Remove.
5037 All uses replaced by float-time.
5038
ee6f1be0
PE
5039 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5040 This yields a more-accurate answer.
5041 (rng-time-to-float): Remove; no longer needed.
5042
fe955043
PE
5043 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5044
5777162a
PE
5045 * calendar/timeclock.el (timeclock-seconds-to-time):
5046 Defalias to seconds-to-time, since they're the same thing.
5047
3103f8b6 5048 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5049 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5050 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5051
0e61a35f
SM
50522011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5053
5054 * window.el (bury-buffer): Don't iconify the only frame.
5055 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5056 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5057
ddd63a1e
CY
50582011-07-01 Chong Yidong <cyd@stupidchicken.com>
5059
0e61a35f
SM
5060 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5061 Add mouse-yank-primary.
ddd63a1e 5062
055f4923
TZ
50632011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5064
5065 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5066
6a2fb145
SM
50672011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5068
5069 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5070 (find-library-name): Use it to find relative load names when provided
5071 absolute file name (bug#8803).
5072
fd4983f2
LMI
50732011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5074
887d14ad
LMI
5075 * textmodes/flyspell.el (flyspell-word): Consider words that
5076 differ only in case as potential doublons (bug#5687).
5077
c53dc7fc
LMI
5078 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5079 Remove two rather uninteresting debugging-like messages to make
5080 debbugs.el more silent.
5081
fd4983f2
LMI
5082 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5083 a password-like phrase.
5084
b14c0c55
AM
50852011-06-30 Mastake YAMATO <yamato@redhat.com>
5086
5087 * progmodes/cc-guess.el: New file.
5088
6a2fb145 5089 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5090
5091 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5092 derived from `c-basic-common-init'.
5093
5094 * progmodes/cc-mode.el (top-level): Require cc-guess.
5095 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5096
1fa280a3
LM
50972011-06-30 Lawrence Mitchell <wence@gmx.li>
5098
5099 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5100
e6597158
AM
51012011-06-30 Alan Mackenzie <acm@muc.de>
5102
1fa280a3
LM
5103 * progmodes/cc-engine.el (c-guess-continued-construct):
5104 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5105 lock is disabled. Name this case as "CASE G".
5106
68ba37fb
KM
51072011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5108
5109 * allout.el (allout-yank-processing): Fix injection of extra space
5110 between bullet and non-whitespace character in first topic when
5111 pasting, ensuring that the actual spacing in the pasted topic
5112 following the bullet char is preserved. This extra space was
5113 causing pasted encrypted topics to get a decrypted status even
5114 when the content was actually still encrypted. Now the decryption
5115 status from before the paste is preserved.
5116
5117 (allout-flag-region): Set all allout overlays so they evaporate
5118 when reduced to zero length (evanescent), to prevent overlay
5119 leakage.
5120
887a0b34
GM
51212011-06-30 Glenn Morris <rgm@gnu.org>
5122
94b9acce
GM
5123 * w32-fns.el (w32-charset-info-alist): Declare.
5124
1d9b46d4
GM
5125 * find-dired.el (find-grep-options): Simplify.
5126
cc232200
GM
5127 * term/ns-win.el (ns-set-resource): Declare.
5128
28e77c46
GM
5129 * ses.el (row, col): Declare dynamic variables honestly.
5130
887a0b34
GM
5131 * textmodes/reftex-parse.el (index-tags): Declare.
5132
658d8eb8
CY
51332011-06-30 Chong Yidong <cyd@stupidchicken.com>
5134
5135 * cus-edit.el (customize-push-and-save): New function.
5136
5137 * files.el (hack-local-variables-confirm): Use it.
5138
1fa280a3
LM
5139 * custom.el (load-theme): New arg NO-CONFIRM.
5140 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5141 (custom-enabled-themes): Doc fix.
5142
5143 * cus-theme.el (customize-create-theme)
5144 (custom-theme-merge-theme): Callers to load-theme changed.
5145
bb617717
LMI
51462011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5147
d61bdd5d
LMI
5148 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5149 short URLs have at least one dot in them (bug #7614).
5150
bb617717
LMI
5151 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5152 nil, because using a pty is apparently too slow (bug #895).
5153
2f31f37a
LMI
51542011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5155
5156 * mail/sendmail.el (sendmail-query-once): New function.
5157 (sendmail-query-once-function): New variable.
5158
3076b24e
GM
51592011-06-29 Glenn Morris <rgm@gnu.org>
5160
faf2a174
GM
5161 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5162
3076b24e
GM
5163 * ses.el (top-level): Require cl when compiling.
5164 (ses-set-localvars): Fix error statement.
5165 Call it at compile time to silence a storm of warnings.
5166
5386012d
MR
51672011-06-29 Martin Rudalics <rudalics@gmx.at>
5168
5169 * window.el (normalize-live-buffer): Rename to
5170 window-normalize-buffer.
5171 (normalize-live-frame): Rename to window-normalize-frame.
5172 (normalize-any-window): Rename to window-normalize-any-window.
5173 (normalize-live-window): Rename to window-normalize-live-window.
5174 (make-window-atom): Rename to window-make-atom.
5175 (window-resize-reset): Rename to window--resize-reset.
5176 (window-resize-reset-1): Rename to window--resize-reset-1.
5177 (resize-mini-window): Rename to window--resize-mini-window.
5178 (resize-subwindows-skip-p): Rename to
5179 window--resize-subwindows-skip-p.
5180 (resize-subwindows-normal): Rename to
5181 window--resize-subwindows-normal.
5182 (resize-subwindows): Rename to window--resize-subwindows.
5183 (resize-other-windows): Rename to window--resize-siblings.
5184 (resize-this-window): Rename to window--resize-this-window.
5185 (resize-root-window): Rename to window--resize-root-window.
5186 (resize-root-window-vertically): Rename to
5187 window--resize-root-window-vertically.
5188 (normalize-buffer-to-display): Rename to
5189 window-normalize-buffer-to-display.
5190 (normalize-buffer-to-switch-to): Rename to
5191 window-normalize-buffer-to-switch-to.
5192 Correspondingly update all callers of the functions listed
5193 above.
5194 (display-buffer-alist, display-buffer-normalize-arguments)
5195 (display-buffer-normalize-options, display-buffer)
5196 (display-buffer-alist-set): Use "function" instead of
5197 "fun-with-args".
5198
1176868d
CY
51992011-06-28 Chong Yidong <cyd@stupidchicken.com>
5200
5201 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5202 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5203 debbugs.gnu.org. Mention acknowledgment email.
5204
20a7a65f
LMI
52052011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5206
5207 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5208 buffer multibyteness, since it shouldn't matter.
5209
5f45cca5
MR
52102011-06-28 Martin Rudalics <rudalics@gmx.at>
5211
5212 * window.el (display-buffer-in-side-window): Handle dedicated
5213 windows as in display-buffer-reuse-window.
5214 (display-buffer-normalize-alist): Use value of override
5215 specifier.
5216 (display-buffer-normalize-specifiers): Use value of
5217 other-window-means-other-frame specifier.
5218 (display-buffer-alist): Rewrite some texts in widgets.
5219 (display-buffer): Spread arguments when calling function
5220 specified by fun-with-args.
5221
ad85fe1f
DD
52222011-06-28 Deniz Dogan <deniz@dogan.se>
5223
1fa280a3
LM
5224 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5225 Unnest `let'.
da68c4c8 5226
ad85fe1f
DD
5227 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5228 selectors (Bug#5732).
ec49bd31 5229 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5230
a08cc025
JA
52312011-06-27 Jari Aalto <jari.aalto@cante.net>
5232
5233 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5234 (eshell-ls-date-format): New defcustom.
5235 (eshell-ls-file): Use it.
5236
e2b551c5
SM
52372011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5240
8982b231
KY
52412011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5242
5243 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5244 (ange-ftp-make-tmp-name): New arg.
5245 (ange-ftp-file-local-copy): Use it.
5246
36c9fa27
J
52472011-06-27 Jambunathan K <kjambunathan@gmail.com>
5248
5249 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5250 no-conversion (Bug#8870).
5251
d68443dc
MR
52522011-06-27 Martin Rudalics <rudalics@gmx.at>
5253
5254 * window.el (window-right, window-left, window-child)
5255 (window-child-count, window-last-child)
5256 (window-iso-combination-p, walk-window-tree-1)
5257 (window-atom-check-1, window-tree-1, delete-window)
5258 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5259 new naming conventions - window-vchild, window-hchild,
5260 window-next and window-prev are now called window-top-child,
5261 window-left-child, window-next-sibling and window-prev-sibling
5262 respectively.
d615d6d2
MR
5263 (resize-window-reset): Rename to window-resize-reset.
5264 (resize-window-reset-1): Rename to window-resize-reset-1.
5265 (resize-window): Rename to window-resize.
5266 (window-min-height, window-min-width)
5267 (resize-mini-window, resize-this-window, resize-root-window)
5268 (resize-root-window-vertically, adjust-window-trailing-edge)
5269 (enlarge-window, shrink-window, maximize-window)
5270 (minimize-window, delete-window, quit-restore-window)
5271 (split-window, balance-windows, balance-windows-area-adjust)
5272 (balance-windows-area, window-state-put-2)
5273 (display-buffer-even-window-sizes, display-buffer-set-height)
5274 (display-buffer-set-width, set-window-text-height)
5275 (fit-window-to-buffer): Rename all "resize-window" prefixed
5276 calls to use the "window-resize" prefix convention.
5277 (display-buffer-alist): Fix symbol for label specifier.
5278 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5279 corresponding specifier.
5280 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 5281
b6458526
VB
52822011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5283
5284 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5285 convention.
5286 (ses-call-printer): Does not pass an empty string to formatter when the
5287 cell is empty to keep from barking printer Calc math-format-value.
5288
d31fd9ac
RS
52892011-06-27 Richard Stallman <rms@gnu.org>
5290
43d5bf84
RS
5291 * battery.el (battery-mode-line-limit): New variable.
5292 (battery-update): Handle it.
5293
d31fd9ac
RS
5294 * mail/rmailmm.el (rmail-mime-process-multipart):
5295 Handle truncated messages.
5296
819a6054
GM
52972011-06-27 Glenn Morris <rgm@gnu.org>
5298
5299 * progmodes/flymake.el (flymake-err-line-patterns):
5300 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5301
cedc73f2
VB
53022011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5303
819a6054 5304 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
5305 (ses--clean-!, ses--clean-_): New functions.
5306 (ses-range): Add configurability of readout order, and conversion
5307 to Calc vector.
5308
5e5d49b6
VB
5309 * ses.el (ses-repair-cell-reference-all): New function.
5310 (ses-cell-symbol): Set macro as safe, so that it can be used in
5311 formulas.
5312
56e6cc31 5313 * ses.el: Update cycle detection algorithm.
90ca8b49 5314 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 5315 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
5316 (ses-set-localvars): New function.
5317 (ses-make-cell): Add property-list as a cell element.
5318 (ses-cell-property-get-fun, ses-cell-property-get)
5319 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
5320 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5321 New functions.
90ca8b49
VB
5322 (ses-cell-property-set, ses-cell-property-pop)
5323 (ses-cell-property-get-handle): New macro.
5324 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5325 New aliases, used for code readability.
5326 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5327 cycle detection.
5328 (ses-self-reference-early-detection): New defcustom.
fac916bf 5329 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
5330 (ses-mode): Use ses-set-localvars.
5331 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5332 before lauching the update processing.
5333 (ses-initialize-Dijkstra-attempt): New function.
5334 (ses-recalculate-cell): Update for cycle detection based on
5335 Dijkstra algorithm.
5336
2bb63e81
VB
5337 * ses.el: Fix commenting and indenting convention.
5338
c9d29fb8
SM
53392011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5340
5341 * bs.el (bs-cycle-next): Complete last change.
5342
d8e4b68b
JB
53432011-06-27 Drew Adams <drew.adams@oracle.com>
5344
5345 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5346
40098786
LMI
53472011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5348
c9d29fb8
SM
5349 * net/network-stream.el (network-stream-open-starttls):
5350 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
5351 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5352
40098786
LMI
5353 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5354 to binary to possibly avoid line encoding issues on Windows (among
5355 other things).
5356
468d09d4
LMI
53572011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5358
5359 * net/network-stream.el (open-network-stream): Return an :error
5360 saying what the problem was, if possible.
5361
5362 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5363 server.
5364
5365 * net/network-stream.el (network-stream-open-starttls): If we
5366 wanted to use STARTTLS, and the server offered it, but we weren't
5367 able to because we had no STARTTLS support, then close the connection.
5368 (open-network-stream): Return an :error element, if present.
5369
16f07dd7
CY
53702011-06-26 Chong Yidong <cyd@stupidchicken.com>
5371
88821ca0
CY
5372 * hl-line.el (hl-line-sticky-flag): Doc fix.
5373 (global-hl-line-sticky-flag): New option (Bug#8323).
5374 (global-hl-line-highlight): Obey it.
5375
16f07dd7
CY
5376 * vc/vc.el (vc-revert-show-diff): Default to t.
5377
6b5ccddf
KM
53782011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5379
c9d29fb8
SM
5380 * allout-widgets.el (allout-widgets-post-command-business):
5381 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
5382 undecorated when an isearch is continued past, and isearch
5383 automatically collapses them. This leads to "widget leaks", where
5384 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
5385 hidden widgets can slow down cursor travel, substantially.
5386 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
5387 so we're doing without this nicety.
5388
5389 (allout-widgets-tally-string): Don't try to do a hash-table-count
5390 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5391 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5392 *Messages* when allout-widgets-maintain-tally is t.
5393
355f2e07
MR
53942011-06-26 Martin Rudalics <rudalics@gmx.at>
5395
5396 * window.el (display-buffer-normalize-argument): Rename to
5397 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
5398 LABEL argument. Respect special-display-function when popping up
5399 a new frame. Fix code searching for a window showing the buffer
5400 on another frame.
c9d29fb8
SM
5401 (display-buffer-normalize-specifiers):
5402 Call display-buffer-normalize-arguments.
355f2e07
MR
5403 (display-buffer-in-window): Don't undedicate the window if its
5404 buffer remains the same.
5405 Reported by Drew Adams <drew.adams@oracle.com>.
5406 (display-buffer-alist): Add choice for same-window macro
5407 specfier.
5408 (display-buffer): Mention special meaning of LABEL argument in
5409 doc-string. Fix quoting. Don't pop up a new frame even as
5410 fallback.
5411
7ca8fc42
JB
54122011-06-26 Juanma Barranquero <lekktu@gmail.com>
5413
5414 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5415 avoid deleting the current window in some cases (bug#8911).
5416
bc312254
AS
54172011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5418
5419 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5420 (Bug#8934)
5421
2db18f3f
LMI
54222011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5423
c9d29fb8
SM
5424 * net/network-stream.el (network-stream-open-starttls):
5425 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
5426 (network-stream-open-tls): Ditto.
5427
6302e0d3
LL
54282011-06-26 Leo Liu <sdl.web@gmail.com>
5429
5430 * register.el (registerv): New struct.
5431 (registerv-make): New function.
c9d29fb8
SM
5432 (jump-to-register, describe-register-1, insert-register):
5433 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
5434 struct. (Bug#8415)
5435
5fdd4046
CY
54362011-06-26 Chong Yidong <cyd@stupidchicken.com>
5437
2afef60a
CY
5438 * vc/vc.el (vc-revert-show-diff): New defcustom.
5439 (vc-diff-internal): New arg specifying diff buffer.
5440 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5441 reuse an existing *vc-diff* buffer (Bug#8927).
5442
5fdd4046
CY
5443 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5444
e93db24a
GM
54452011-06-26 Glenn Morris <rgm@gnu.org>
5446
5447 * progmodes/f90.el (f90-critical-indent): New option.
5448 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5449 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5450 (f90-mode): Doc fix.
5451 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5452 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5453 (f90-beginning-of-block, f90-next-block, f90-indent-region)
5454 (f90-match-end): Handle block, critical.
5455
eefff499
GM
54562011-06-25 Glenn Morris <rgm@gnu.org>
5457
f6ba4cc9
GM
5458 * calendar/diary-lib.el (diary-included-files): Doc fix.
5459 (diary-include-files): New function, extracted from
5460 diary-include-other-diary-files and diary-mark-included-diary-files.
5461 (diary-include-other-diary-files, diary-mark-included-diary-files):
5462 Just call diary-include-files.
5463 (diary-mark-entries): Reset diary-included-files on first call.
5464
16712304
GM
5465 * calendar/diary-lib.el (diary-mark-entries)
5466 (diary-mark-included-diary-files):
5467 Visit included diary-files in temp buffers.
5468
5d8e0d43
GM
5469 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5470 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5471 (f90-start-block-re, f90-imenu-generic-expression)
5472 (f90-looking-at-program-block-start, f90-no-block-limit):
5473 Add support for submodules.
5474
ccf7a5d5
GM
5475 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5476 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 5477
11fdef7d 54782011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
5479
5480 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5481 buffer-file-type before setting its value, to avoid disastrous
eefff499 5482 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 5483
74f53697
JB
54842011-06-25 Juanma Barranquero <lekktu@gmail.com>
5485
5486 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5487
5488 * ses.el (ses-unload-function):
5489 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
5490
5491 * proced.el (proced-unload-function):
5492 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
5493
18a4ce5e
AR
54942011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
5495
5496 * server.el (server-create-window-system-frame): Add parameters arg.
5497 (server-process-filter): Doc fix. Handle frame-parameters.
5498
519d22cc
JB
54992011-06-25 Juanma Barranquero <lekktu@gmail.com>
5500
5501 Fix bug#8730, bug#8781.
5502
5503 * loadhist.el (unload--set-major-mode): New function.
5504 (unload-feature): Use it.
5505
5506 * progmodes/python.el (python-after-info-look): Add autoload cookie.
5507 (python-unload-function): New function.
5508
c206f5b0
SM
55092011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5510
5511 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
5512
f9ad64f3
GS
55132011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
5514
5515 * net/browse-url.el (browse-url-firefox-program): Add icecat to
5516 the candidates list.
5517
7d0da90e
JB
55182011-06-24 Juanma Barranquero <lekktu@gmail.com>
5519
5520 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
5521
14b4e83d
RS
55222011-06-23 Richard Stallman <rms@gnu.org>
5523
5524 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
5525 (rmail-variables): Set next-error-move-function.
5526 (rmail-what-message): Take argument POS.
5527 (rmail-next-error-move): New function.
5528
273d2baf
SM
55292011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
5532 messages for adjacent non-terminals.
5533
56c2cc9a
RS
55342011-06-23 Richard Stallman <rms@gnu.org>
5535
5536 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 5537 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
5538 (rmail-start-mail): Don't specify use of rmail-mail-return;
5539 that's done by mail-bury now.
5540 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 5541
d59eb518
MA
55422011-06-23 Michael Albinus <michael.albinus@gmx.de>
5543
5544 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5545 SIZE is a number.
5546
02cfc6d6
MR
55472011-06-23 Martin Rudalics <rudalics@gmx.at>
5548
5549 * window.el (get-lru-window, get-mru-window)
5550 (get-largest-window): Never return a minibuffer window.
5551 (display-buffer-pop-up-window): Fix a bug that could lead to
5552 reusing the minibuffer window.
5553 (display-buffer): Pass original specifier argument to
5554 display-buffer-function instead of the normalized one.
5555 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5556
4e323265
LL
55572011-06-22 Leo Liu <sdl.web@gmail.com>
5558
5559 * minibuffer.el (completing-read-function)
5560 (completing-read-default): Move from minibuf.c
5561
7a70468f
RS
55622011-06-22 Richard Stallman <rms@gnu.org>
5563
50718fc2
RS
5564 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5565 to Rmail even if not started by a special Rmail command.
5566
7a70468f
RS
5567 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5568 Copy the buffer currently showing just one message.
5569
297dde5a
RW
55702011-06-22 Roland Winkler <winkler@gnu.org>
5571
5572 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5573 (bibtex-clean-entry): First delete the old key so that a
5574 customized algorithm for generating the new key does not get
5575 confused by the old key.
5576 (bibtex-url): Obey regexp of first step.
5577 (bibtex-search-entries): Do not use add-to-list with local
5578 list-var.
5579
97bb1093
LMI
55802011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5581
5582 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5583 stored a user name, then query for the password first, instead of
5584 waiting for SMTP to give an error message and the trying again.
5585
1c0f1a19
JD
55862011-06-22 Lawrence Mitchell <wence@gmx.li>
5587
5588 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5589 BUFFER in call-process.
5590
396f7c9d
LMI
55912011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5592
5593 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5594 QUIT twice.
ddb7ffee
LMI
5595 (smtpmail-try-auth-methods): Require user name and password from
5596 auth-source.
396f7c9d 5597
8998d1b3
MR
55982011-06-22 Martin Rudalics <rudalics@gmx.at>
5599
5600 * window.el (display-buffer-default-specifiers)
5601 (display-buffer-alist): Remove entries for pop-up-frame-alist.
5602 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 5603 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
5604
5605 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5606 (special-display-frame-alist, special-display-popup-frame):
5607 Remove duplicate declarations. These are now in window.el.
5608
4ea31e07
LMI
56092011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5610
c9d29fb8
SM
5611 * mail/smtpmail.el (smtpmail-via-smtp):
5612 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
5613 server supports it. SMTP servers that support STARTTLS commonly
5614 require it.
5615
5616 * net/network-stream.el (network-stream-open-starttls): Support
5617 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 5618 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 5619
95f41d9a
LMI
5620 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5621 upgrades with `open-network-stream', and rely solely on
5622 auth-source for all credentials. Big changes throughout the file,
5623 but in particular:
c9d29fb8
SM
5624 (smtpmail-auth-credentials): Remove.
5625 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
5626 (smtpmail-via-smtp): Check for servers saying they want AUTH after
5627 MAIL FROM, too.
95f41d9a 5628
c9d29fb8
SM
5629 * net/network-stream.el (network-stream-open-starttls):
5630 Provide support for client certificates both for external and built-in
4ea31e07
LMI
5631 STARTTLS.
5632 (auth-source): Require.
5633 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
5634 (network-stream-certificate): Change cert-cert to cert and
5635 cert-key to key.
4ea31e07 5636
065ec2c7
MA
56372011-06-21 Michael Albinus <michael.albinus@gmx.de>
5638
5639 * net/tramp-cache.el (top): Don't load the persistency file when
5640 "emacs -Q" has been called.
5641
cd93b359
DR
56422011-06-21 Tim Harper <timcharper@gmail.com>
5643
d8e4b68b
JB
5644 * term/ns-win.el (ns-initialize-window-system):
5645 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
5646 resource to NO as it is not yet supported by the NS port.
5647
ae9c0411
JB
56482011-06-21 Juanma Barranquero <lekktu@gmail.com>
5649
5650 * misc.el (list-dynamic-libraries--refresh): Compute header here...
5651 (list-dynamic-libraries): ...not here.
5652
7f3f739f
LL
56532011-06-21 Leo Liu <sdl.web@gmail.com>
5654
5655 * subr.el (sha1): Implement sha1 using secure-hash.
5656
327c8fb1
MR
56572011-06-21 Martin Rudalics <rudalics@gmx.at>
5658
5659 * window.el (display-buffer-alist): In default value do not
5660 enforce searching a window on any but the selected frame.
5661 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5662 (display-buffer-select-window): Remove function.
5663 (display-buffer-in-window): When a window on another frame gets
5664 reused, do not select it any more but just raise its frame if
5665 necessary (Bug#8851) and (Bug#8856).
5666 (display-buffer-normalize-options): Handle pop-up-frames related
5667 options more faithfully.
5668 (pop-to-buffer): Don't rely on `display-buffer' selecting the
5669 window if it is on another frame.
c9d29fb8
SM
5670 (display-buffer-alist, display-buffer-default-specifiers):
5671 Don't make new frame unsplittable by default.
9e9de014
MR
5672 (display-buffer-normalize-argument): Fix doc-string typo and use
5673 'same-frame-other-window instead of 'other-window when associating
5674 with display-buffer-macro-specifiers.
327c8fb1 5675
7cf3f556
VB
56762011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
5677
5678 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5679 New functions.
5680 (5x5-mode-map, 5x5-mode-menu): Bind them.
5681 (5x5-draw-grid): Tweak the solver's rendering.
5682
60a406cf
SM
56832011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5686 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
5687
d8e4b68b 56882011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
5689
5690 * menu-bar.el: Use function variable instead of switch-to-buffer.
5691 (menu-bar-select-buffer-function): New variable.
60a406cf 5692 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 5693
478d6f95
SM
56942011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5697 variable's status.
5698
ca530739
JD
56992011-06-20 Jan Djärv <jan.h.d@swipnet.se>
5700
5701 * x-dnd.el (x-dnd-version-from-flags)
5702 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5703 and long as number (Bug#8899).
5704 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5705
bcd70d97
SM
57062011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5707
60a406cf 5708 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
5709 (completion-try-completion, completion-all-completions): Compute the
5710 metadata argument if it's missing; make it optional (bug#8795).
5711
60a406cf 5712 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
5713 (widget-complete): Use new :completion-function property.
5714 (widget-completions-at-point): New function.
5715 (default): Use :completion-function instead of :complete.
60a406cf
SM
5716 (widget-default-completions): Rename from widget-default-complete;
5717 Rewrite.
bcd70d97
SM
5718 (widget-string-complete, widget-file-complete, widget-color-complete):
5719 Remove functions.
5720 (file, symbol, function, variable, coding-system, color):
5721 * international/mule-cmds.el (default-input-method, charset)
5722 (language-info-custom-alist):
5723 * cus-edit.el (face): Use new property :completions.
5724
5725 * progmodes/pascal.el (pascal-completions-at-point): New function.
5726 (pascal-mode): Use it.
5727 (pascal-mode-map): Use completion-at-point.
5728 (pascal-toggle-completions): Make obsolete.
5729 (pascal-complete-word, pascal-show-completions):
5730 * progmodes/octave-mod.el (octave-complete-symbol):
5731 Redefine as obsolete alias.
5732 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5733 Signal absence of completion info for old Octave,
5734 (inferior-octave-complete): Redefine as obsolete alias.
5735 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5736 (meta-completions-at-point): Rename from meta-complete-symbol and
5737 adapt it for use on completion-at-point-functions.
5738 (meta-common-mode): Use it.
5739 (meta-looking-at-backward, meta-match-buffer): Remove.
5740 (meta-complete-symbol): Redefine as obsolete alias.
5741 (meta-common-mode-map): Use completion-at-point.
5742 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5743 (makefile-mode-map): Use completion-at-point.
5744 (makefile-completions-at-point): Rename from makefile-complete and
5745 adapt it for use on completion-at-point-functions.
5746 (makefile-mode): Use it.
5747 (makefile-complete): Redefine as obsolete alias.
5748
aebf69c8
DD
57492011-06-20 Deniz Dogan <deniz@dogan.se>
5750
5751 * net/rcirc.el: Delete trailing whitespaces once and for all.
5752
bfbbb27d
DC
57532011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5754
5755 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5756
d264a46b
CY
57572011-06-19 Chong Yidong <cyd@stupidchicken.com>
5758
4ca009e5
CY
5759 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5760
d264a46b
CY
5761 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5762
fbf5b3ce
MR
57632011-06-19 Martin Rudalics <rudalics@gmx.at>
5764
5765 * window.el (display-buffer-other-window-means-other-frame):
5766 Call display-buffer-normalize-alist.
5767 (display-buffer-normalize-specifiers-1): Rename to
5768 display-buffer-normalize-argument. New argument other-frame.
5769 Rewrite.
5770 (display-buffer-normalize-specifiers-2): Rename to
5771 display-buffer-normalize-options.
5772 (display-buffer-normalize-alist-1): New function.
5773 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
5774 display-buffer-normalize-alist.
5775 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
5776 (display-buffer-normalize-options-inhibit): New variable.
5777 (display-buffer-normalize-specifiers): Rewrite calling
5778 display-buffer-normalize-alist,
5779 display-buffer-normalize-argument, and
5780 display-buffer-normalize-options. Don't call the latter if
5781 display-buffer-normalize-options-inhibit is non-nil.
5782 (frame-auto-delete): New option.
5783 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
5784 (window-list-no-nils, window-state-ignored-parameters)
5785 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
5786 (window-state-put-1, window-state-put-2, window-state-put):
5787 New functions.
9a028c23
MR
5788 (display-buffer-normalize-options): Move special-display-p group
5789 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 5790
6d10d800
CY
57912011-06-18 Chong Yidong <cyd@stupidchicken.com>
5792
6420d28b
CY
5793 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5794 groups (Bug#8776).
5795 (rx-submatch-n): New function.
5796 (rx): Document it.
5797
ddb8b596
CY
5798 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5799 (Bug#8768).
5800
5801 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5802
77080289
CY
5803 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5804
61dfb316
CY
5805 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5806 anytime existing face settings are present (Bug#8889).
5807
6d10d800
CY
5808 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5809 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5810 Remove unused argument.
5811
be3fb2b8
MR
58122011-06-18 Martin Rudalics <rudalics@gmx.at>
5813
bcd70d97
SM
5814 * window.el (display-buffer-default-specifiers):
5815 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
5816 pop-up-window-min-width, and another reuse-window specifier
5817 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
5818 (display-buffer-normalize-specifiers-2):
5819 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
5820 pop-up-windows is unset. Add a reuse-window specifier for the
5821 case popping up a new window fails.
5822 (special-display-popup-frame): Remove double quoting.
28dec25a 5823 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 5824
1c6d8c76
SM
58252011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5826
5827 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5828 according to comint-completion-addsuffix.
5829
5830 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5831 (pcomplete-suffix-list): Mark as obsolete.
5832 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5833 pcomplete-seen in the closure.
5834 (pcomplete-comint-setup): Setup completion-at-point as well.
5835 (pcomplete--entries): New function.
5836 (pcomplete--env-regexp): New var.
5837 (pcomplete-entries): Rewrite to work with partial-completion and
5838 without relying on pcomplete-suffix-list.
5839 (pcomplete-pare-list): Remove, unused.
5840
25aef8b8
MR
58412011-06-17 Martin Rudalics <rudalics@gmx.at>
5842
5843 * window.el (display-buffer-alist): Set pop-up-window-min-height
5844 and pop-up-window-min-width in default value. Reported by
5845 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5846 other-window-means-other-frame.
5847 (display-buffer-macro-specifiers): Comment out entry for
5848 other-window specifier.
5849 (display-buffer-other-window-means-other-frame): New function.
5850 (display-buffer-normalize-specifiers-1): New arguments
5851 buffer-name and label. Treat other-window case specially.
5852 (display-buffer-normalize-specifiers-2): Treat other-window case
5853 specially.
5854 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
5855 (display-buffer-normalize-specifiers):
5856 Call display-buffer-normalize-specifiers-3.
25aef8b8 5857
dbad4f69
MR
58582011-06-17 Martin Rudalics <rudalics@gmx.at>
5859
5860 * window.el (same-window-p): Fix two typos introduced when
5861 adding with-no-warnings.
d1067961
MR
5862 (display-buffer-normalize-specifiers-1): Don't check
5863 pop-up-frames for 'unset initialization.
5864 (display-buffer-normalize-specifiers-2): Major rewrite using
5865 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5866 (pop-up-frames, display-buffer-reuse-frames)
5867 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5868 Suggested by David Engster <deng@randomsample.de>.
5869 (even-window-heights): Initialize to 'unset.
5870 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
5871 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5872 other window case.
dbad4f69 5873
9b9c9e3a
MR
58742011-06-16 Martin Rudalics <rudalics@gmx.at>
5875
bcd70d97
SM
5876 * window.el (display-buffer-normalize-specifiers-1):
5877 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 5878 second argument of display-buffer (Bug#8865).
981d5c09
MR
5879 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5880 (switch-to-buffer-other-window-same-frame)
5881 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5882 Adams (Bug#8875).
9c2755e9
MR
5883 (display-buffer): Don't check noninteractive when calling
5884 display-buffer-pop-up-frame.
5885 (display-buffer-pop-up-frame): Never pop up a frame in
5886 noninteractive mode (Bug#8857).
67222e1d
MR
5887 (enlarge-window, shrink-window): Don't report an error when the
5888 window can't be resized as requested (Bug#8862).
9b9c9e3a 5889
2b75be67
SM
58902011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5891
9ffdd3ba
SM
5892 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5893
cb581a67
SM
5894 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5895
2b75be67
SM
5896 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5897
8c0e3589
AM
58982011-06-15 Alan Mackenzie <acm@muc.de>
5899
cb581a67
SM
5900 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5901 for declarators, disable knr checking to speed up for normal files.
5902 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 5903
b96e6cde
LMI
59042011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5905
4bba86e6
LMI
5906 * net/network-stream.el (open-network-stream): Add the keyword
5907 :always-query-capabilities for the case where you want to force a
5908 `plain' network connection, but the protocol still requires the
5909 capabilitiy command (i.e., SMTP and EHLO).
5910
2b75be67 5911 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
5912 consistency with other `-live-p' functions.
5913
efdcdbf8
SM
59142011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5915
5916 * window.el (same-window-buffer-names, same-window-regexps)
5917 (special-display-frame-alist, special-display-popup-frame)
5918 (special-display-function, special-display-buffer-names)
5919 (special-display-regexps, pop-up-frame-alist)
5920 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5921 (pop-up-windows, split-window-preferred-function)
5922 (split-height-threshold, split-width-threshold, even-window-heights)
5923 (display-buffer-mark-dedicated): Don't encourage the use of
5924 display-buffer-alist from Elisp code.
5925
c5cde042
DN
59262011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5927
5928 * progmodes/python.el (python-mode): Derive from prog-mode.
5929 * progmodes/ps-mode.el (ps-mode):
5930 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 5931 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
5932 * progmodes/ld-script.el (ld-script-mode): Likewise.
5933
baa1c9ab
MR
59342011-06-15 Martin Rudalics <rudalics@gmx.at>
5935
5936 * window.el (display-buffer-alist): Trim default value to avoid
5937 popping up a new frame (Bug#8857) or reusing an arbitrary window
5938 on another frame.
5939 (display-buffer): Do not fall back on popping up a new frame in
5940 batch mode (Bug#8857).
5941
c5dd5a51
CY
59422011-06-14 Chong Yidong <cyd@stupidchicken.com>
5943
5944 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5945 (custom-theme-summary): New function.
5946 (customize-themes): Use it.
5947
d647b7c4
GM
59482011-06-13 Glenn Morris <rgm@gnu.org>
5949
5950 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5951
9481c002
MR
59522011-06-13 Martin Rudalics <rudalics@gmx.at>
5953
357f93d2
MR
5954 * help.el (help-window): Remove variable.
5955 (help-window-point-marker, temp-buffer-max-height)
5956 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5957 (help-print-return-message): Don't set help-window.
5958 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5959 (help-window-setup-finish): Remove.
5960 (help-window-display-message, help-window-setup)
5961 (with-help-window): Major rewrite based on new
5962 display-buffer-window variable.
5963
5964 * help-mode.el (help-mode-finish): Remove help-window related
5965 code.
5966
5967 * view.el (view-exits-all-viewing-windows): Remove reference to
5968 view-return-to-alist in doc-string.
5969 (view-return-to-alist): Make obsolete.
5970 (view-buffer): Call pop-to-buffer-same-window and remove
5971 undo-window code.
5972 (view-buffer-other-window): Call pop-to-buffer-other-window and
5973 simplify code. Ignore second argument.
5974 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5975 simplify code. Ignore second argument.
5976 (view-return-to-alist-update): Make obsolete.
5977 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5978 Rewrite using quit-restore window parameters.
2b75be67
SM
5979 (view-mode-exit): Rename second argument to EXIT-ONLY.
5980 Rewrite using quit-restore-window.
357f93d2
MR
5981 (View-exit, View-exit-and-edit, View-leave, View-quit)
5982 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5983 appropriate arguments.
5984 (view-end-message): Use quit-restore window parameter.
5985
9481c002
MR
5986 * window.el (display-buffer-function): Rewrite doc-string.
5987 (display-buffer-window, display-buffer-alist): New variables.
5988 (display-buffer-split-specifiers)
5989 (display-buffer-side-specifiers)
5990 (display-buffer-macro-specifiers): New constants.
5991 (display-buffer-even-window-sizes, display-buffer-set-height)
5992 (display-buffer-set-width, display-buffer-select-window)
5993 (display-buffer-in-window, display-buffer-reuse-window)
5994 (display-buffer-split-window-1, display-buffer-split-window)
5995 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5996 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5997 (display-buffer-in-side-window, normalize-buffer-to-display)
5998 (display-buffer-normalize-specifiers-1)
5999 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6000 (display-buffer-normalize-specifiers, display-buffer-frame):
6001 New functions.
9481c002
MR
6002 (display-buffer): Major rewrite.
6003 (display-buffer-other-window, display-buffer-other-frame)
6004 (pop-to-buffer, switch-to-buffer-other-window)
6005 (switch-to-buffer-other-frame): Rewrite.
6006 (display-buffer-same-window, display-buffer-same-frame)
6007 (display-buffer-same-frame-other-window)
6008 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6009 (pop-to-buffer-other-window)
6010 (pop-to-buffer-same-frame-other-window)
6011 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6012 (switch-to-buffer-other-window-same-frame): New functions.
6013 (same-window-p, special-display-p): Rewrite disabling warnings.
6014 Make obsolete.
6015 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6016 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6017 Make obsolete
6018 (same-window-buffer-names, same-window-regexps)
6019 (special-display-frame-alist, special-display-popup-frame)
6020 (special-display-function, special-display-buffer-names)
6021 (special-display-regexps, pop-up-frame-alist)
6022 (pop-up-frame-function, split-window-preferred-function)
6023 (split-height-threshold, split-width-threshold)
6024 (even-window-heights): Make obsolete.
6025
9db51aca
GM
60262011-06-12 Glenn Morris <rgm@gnu.org>
6027
6028 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6029 Misc simplifications.
9db51aca 6030
39cffb44
MR
60312011-06-12 Martin Rudalics <rudalics@gmx.at>
6032
6033 * window.el (window-safely-shrinkable-p): Restore function which
6034 was inadvertently removed in change from 2011-06-11. Declare as
6035 obsolete.
6036
2b75be67
SM
6037 * calendar/calendar.el (calendar-generate-window):
6038 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6039 window-safely-shrinkable-p.
6040
a8955be7
GM
60412011-06-12 Glenn Morris <rgm@gnu.org>
6042
6043 * progmodes/fortran.el (fortran-mode-syntax-table):
6044 * progmodes/f90.el (f90-mode-syntax-table):
6045 Set % to punctuation. (Bug#8820)
6046 (f90-find-tag-default): Remove, no longer needed.
6047
f0d4059d
DC
60482011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6049
6050 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6051
1100a63c
CY
60522011-06-11 Chong Yidong <cyd@stupidchicken.com>
6053
6054 * image.el (image-animated-p): Return animation delay in seconds.
6055 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6056 (image-animate-timeout): Remove DELAY argument. Don't assume
6057 every subimage has the same delay; get it from image-animated-p.
6058 (image-animate): Caller changed.
6059
def722bf
MA
60602011-06-11 Michael Albinus <michael.albinus@gmx.de>
6061
6062 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6063 to ignored backtrace functions.
6064
0a2bb1a9
GM
60652011-06-11 Glenn Morris <rgm@gnu.org>
6066
6067 * calendar/appt.el (appt-disp-window-function): Doc fix.
6068 (appt-check): Handle overlapping appointments. (Bug#8337)
6069
6198ccd0
MR
60702011-06-11 Martin Rudalics <rudalics@gmx.at>
6071
6072 * window.el (window-tree-1, window-tree): New functions, moving
6073 the latter to window.el.
6074 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6075 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6076 (bw-refresh-edges): Remove.
6077 (balance-windows-1, balance-windows-2): New functions.
6078 (balance-windows): Rewrite in terms of window tree functions,
6079 balance-windows-1 and balance-windows-2.
6080 (bw-adjust-window): Remove.
6081 (balance-windows-area-adjust): New function with functionality of
6082 bw-adjust-window but using resize-window.
2b75be67
SM
6083 (set-window-text-height): Rewrite doc-string.
6084 Use normalize-live-window and resize-window.
6085 (enlarge-window-horizontally, shrink-window-horizontally):
6086 Rename argument to DELTA.
6198ccd0
MR
6087 (window-buffer-height): New function.
6088 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6089 Rewrite using new window resize routines.
2b75be67
SM
6090 (kill-buffer-and-window, mouse-autoselect-window-select):
6091 Use ignore-errors instead of condition-case.
6198ccd0
MR
6092 (quit-window): Call delete-frame instead of delete-windows-on
6093 for the only buffer on frame.
6094
9397e56f
MR
60952011-06-10 Martin Rudalics <rudalics@gmx.at>
6096
6097 * loadup.el (top-level): Load window before files for the sake
6098 of replace-buffer-in-windows.
6099
6100 * files.el (read-buffer-to-switch)
6101 (switch-to-buffer-other-window)
2b75be67
SM
6102 (switch-to-buffer-other-frame, display-buffer-other-frame):
6103 Move to window.el.
9397e56f
MR
6104
6105 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6106 (previous-buffer): Move to window.el.
6107
6108 * bindings.el (unbury-buffer): Move to window.el.
6109
6110 * window.el (delete-other-windows-vertically): Move after
6111 definition of delete-other-windows.
6112 (other-window, delete-windows-on, replace-buffer-in-windows):
6113 Move here from window.c.
6114 (record-window-buffer, unrecord-window-buffer)
6115 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6116 (switch-to-next-buffer): New functions.
6117 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6118 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6119 (previous-buffer): Move here from simple.el.
6120 Call switch-to-prev-buffer.
9397e56f
MR
6121 (bury-buffer): Move here from buffer.c. Switch to previous
6122 buffer when window cannot be deleted.
6123 (unbury-buffer): Move here from bindings.el.
6124 (ctl-x-map): Move binding for other-window from window.c to
6125 here.
6126 (read-buffer-to-switch, switch-to-buffer-other-window)
6127 (switch-to-buffer-other-frame): Move here from files.el.
6128 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6129 (switch-to-buffer): Move here from buffer.c.
6130 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6131
562dd5e9
MR
61322011-06-10 Martin Rudalics <rudalics@gmx.at>
6133
6134 * window.el (window-min-height, window-min-width): Move here
6135 from window.c. Add defcustoms and rewrite doc-strings.
6136 (resize-mini-window, resize-window): New functions.
6137 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6138 Move here from window.c.
6139 (maximize-window, minimize-window): New functions.
6140 (delete-window, delete-other-windows, split-window): Move here
6141 from window.c.
6142 (window-split-min-size): New function.
6143 (split-window-keep-point): Mention split-window-above-each-other
6144 instead of split-window-vertically.
2b75be67 6145 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
6146 Rename split-window-vertically to split-window-above-each-other
6147 and provide defalias for old definition.
6148 (split-window-side-by-side, split-window-horizontally):
6149 Rename split-window-horizontally to split-window-side-by-side
6150 and provide defalias for the old definition.
562dd5e9
MR
6151 (ctl-x-map): Move bindings for delete-window,
6152 delete-other-windows and enlarge-window here from window.c.
6153 Replace bindings for split-window-vertically and
6154 split-window-horizontally by bindings for
6155 split-window-above-each-other and split-window-side-by-side.
6156
6157 * cus-start.el (all): Remove entries for window-min-height and
6158 window-min-width. Add entries for window-splits and
6159 window-nest.
6160
f0da764a
GM
61612011-06-09 Glenn Morris <rgm@gnu.org>
6162
80675c21
GM
6163 * calendar/appt.el (appt-mode-line): New function.
6164 (appt-check, appt-disp-window): Use it.
6165
f0da764a
GM
6166 * files.el (hack-one-local-variable-eval-safep):
6167 Allow minor-modes with explicit +/-1 arguments.
6168
59f623b7
TZ
61692011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6170
6171 * term/xterm.el (xterm): Add defgroup.
6172 (xterm-extra-capabilities): Add defcustom to supply known xterm
6173 capabilities, skip querying them, or query them (default).
6174 (terminal-init-xterm): Use it.
6175 (terminal-init-xterm-modify-other-keys): New function to set up
6176 modifyOtherKeys support to simplify `terminal-init-xterm'.
6177
9aab8e0d
MR
61782011-06-09 Martin Rudalics <rudalics@gmx.at>
6179
6180 * window.el (resize-window-reset, resize-window-reset-1)
6181 (resize-subwindows-skip-p, resize-subwindows-normal)
6182 (resize-subwindows, resize-other-windows, resize-this-window)
6183 (resize-root-window, resize-root-window-vertically)
6184 (window-deletable-p, window-or-subwindow-p)
6185 (frame-root-window-p): New functions.
6186
e8b08aee
GM
61872011-06-09 Glenn Morris <rgm@gnu.org>
6188
6189 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6190 (ange-ftp-get-files): Use it.
6191
254c37a5
AK
61922011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6193
6194 * mail/sendmail.el (mail-recover-1, mail-recover):
6195 * files.el (recover-file, recover-session):
6196 Handle dired-listing-switches not being just a single short option.
6197
35d7dbd3
GM
61982011-06-09 Glenn Morris <rgm@gnu.org>
6199
6200 * calendar/appt.el (appt-display-message, appt-disp-window):
6201 Handle lists of appointments.
6202
387522b2
MR
62032011-06-08 Martin Rudalics <rudalics@gmx.at>
6204
2b75be67
SM
6205 * window.el (one-window-p): Move down in code.
6206 Rewrite doc-string.
6207 (window-current-scroll-bars): Rewrite doc-string.
6208 Normalize live window argument.
387522b2
MR
6209 (walk-windows, get-window-with-predicate, count-windows):
6210 Rewrite doc-string. Use window-list-1.
6211 (window-in-direction-2, window-in-direction, get-mru-window):
6212 New functions.
6213
d8e4b68b 62142011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
6215
6216 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6217 Doc fix (Bug#8713).
6218
62192011-06-08 Chong Yidong <cyd@stupidchicken.com>
6220
6221 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6222
62232011-06-08 Juanma Barranquero <lekktu@gmail.com>
6224
6225 * loadhist.el (unload-feature-special-hooks):
6226 Add `comint-output-filter-functions'.
6227
0de12c52
IK
62282011-06-08 Ivan Kanis <gnu@kanis.fr>
6229
6230 * calendar/appt.el (appt-check): Move some initializations into the let.
6231
f3d1777e
MR
62322011-06-08 Martin Rudalics <rudalics@gmx.at>
6233
6234 * window.el (window-height): Defalias to window-total-height.
6235 (window-width): Defalias to window-body-width.
6236
18af70d0
CY
62372011-06-07 Chong Yidong <cyd@stupidchicken.com>
6238
6239 * image-mode.el (image-toggle-animation): New command.
6240 (image-mode-map): Bind it to RET.
6241 (image-mode): Update message.
6242 (image-toggle-display-image): Avoid a spurious cache flush.
6243 (image-transform-rotation): Doc fix.
6244 (image-transform-properties): Return quickly in the normal case.
6245 (image-animate-loop): Rename from image-animate-max-time.
6246
2b75be67 6247 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6248 (create-animated-image): Remove unnecessary function.
6249 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6250 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6251 (image-animate-timer): Use car-safe.
6252 (image-animate-timeout): Rename argument.
6253
190b47e6
MR
62542011-06-07 Martin Rudalics <rudalics@gmx.at>
6255
6256 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6257 window.c. Rename first argument to ALL-FRAMES.
6258 Rephrase doc-strings.
6259 (get-buffer-window-list): Rewrite using window-list-1.
6260 Rephrase doc-string.
a1511caf
MR
6261 (window-safe-min-height, window-safe-min-width): New constants.
6262 (window-size-ignore, window-min-size, window-min-size-1)
6263 (window-sizable, window-sizable-p, window-size-fixed-1)
6264 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6265 (window-max-delta-1, window-max-delta, window-resizable)
6266 (window-resizable-p, window-total-height, window-total-width)
6267 (window-body-width): New functions.
6268 (window-full-height-p, window-full-width-p): Rewrite using
6269 window-total-size.
6270 (window-body-height): Rewrite using window-body-size.
190b47e6 6271
85cc1f11
MR
62722011-06-06 Martin Rudalics <rudalics@gmx.at>
6273
6274 * window.el (window-right, window-left, window-child)
6275 (window-child-count, window-last-child, window-any-p)
6276 (normalize-live-buffer, normalize-live-frame)
6277 (normalize-any-window, normalize-live-window)
6278 (window-iso-combination-p, window-iso-combined-p)
6279 (window-iso-combinations)
6280 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6281 (windows-with-parameter, window-with-parameter)
6282 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
6283 (window-atom-check, window-side-check, window-check):
6284 New functions.
85cc1f11
MR
6285 (ignore-window-parameters, window-sides, window-sides-vertical)
6286 (window-sides-slots): New variables.
6287 (window-size-fixed): Move down in code. Minor doc-string fix.
6288
e7156492
AS
62892011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6290
6291 * comint.el (comint-dynamic-complete-as-filename)
6292 (comint-dynamic-complete-filename): Correctly call
6293 completion-in-region.
6294
7e821d0d
DD
62952011-06-05 Deniz Dogan <deniz@dogan.se>
6296
6297 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6298 in last change.
6299
ac09b8a1
DD
63002011-06-05 Deniz Dogan <deniz@dogan.se>
6301
6302 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6303 (rcirc): Use it to prompt for encryption.
6304
34699b85
RW
63052011-06-05 Roland Winkler <winkler@gnu.org>
6306
6307 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6308 (bibtex-search-entries): New command bound to C-c C-a.
6309 (bibtex-display-entries): New function.
6310
004dedd3
RW
63112011-06-05 Roland Winkler <winkler@gnu.org>
6312
6313 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6314 (bibtex-insert-kill): After yanking insert newline if necessary.
6315 (bibtex-initialize): Call bibtex-string-files-init only once.
6316 (bibtex-mode): Do not call easy-menu-add.
6317 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6318 (bibtex-yank): Set arg properly if nil.
6319
022fe7ce
RW
63202011-06-05 Roland Winkler <winkler@gnu.org>
6321
2b75be67
SM
6322 * textmodes/bibtex.el (bibtex-search-entry-globally):
6323 New variable.
022fe7ce
RW
6324 (bibtex-search-entry): Use it.
6325
b7c3692a
RW
63262011-06-05 Roland Winkler <winkler@gnu.org>
6327
6328 * textmodes/bibtex.el (bibtex-entry-format): New option
6329 sort-fields.
6330 (bibtex-format-entry, bibtex-reformat): Honor this option.
6331 (bibtex-parse-entry): Return fields in proper order.
6332
8eda563d
JB
63332011-06-05 Juanma Barranquero <lekktu@gmail.com>
6334
6335 * doc-view.el (doc-view-remove-if): Move computation of result out
6336 of `dolist' to silence misleading lexical-binding warning.
6337
7dbe3dbc
CY
63382011-06-04 Chong Yidong <cyd@stupidchicken.com>
6339
6340 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6341 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6342
0c33dd17
MA
63432011-06-04 Michael Albinus <michael.albinus@gmx.de>
6344
6345 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6346 "SunOS 5.10".
6347
f8f91c2b
MA
63482011-06-04 Michael Albinus <michael.albinus@gmx.de>
6349
6350 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6351 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6352 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6353 (tramp-parse-putty):
6354 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6355 (tramp-completion-function-alist-ssh)
6356 (tramp-completion-function-alist-telnet)
6357 (tramp-completion-function-alist-su)
6358 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6359 cookie.
6360
6361 * net/tramp-ftp.el:
6362 * net/tramp-sh.el:
6363 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6364 load "tramp.el" `tramp-set-completion-function'.
6365
e17d9003
SM
63662011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6367
6368 * shell.el: Require and use pcomplete.
6369 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6370 (shell-completion-vars): Set pcomplete-default-completion-function.
6371
6c4cab03
DD
63722011-06-04 Deniz Dogan <deniz@dogan.se>
6373
6374 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6375 `memq' (Bug#8799).
6376
ea9fafe0
SM
63772011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6378
6379 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6380
b3e945d3
JB
63812011-06-02 Juanma Barranquero <lekktu@gmail.com>
6382
6383 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6384 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6385 * vc/log-view.el (log-view-beginning-of-defun):
6386 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6387 (smerge-refine-forward, smerge-refine-chopup-region):
6388 Silence warning for unused `dotimes' counter variables.
6389
7d520089
SM
63902011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * net/tramp.el (tramp-with-progress-reporter): Rename from
6393 with-progress-reporter. Use `declare'.
6394 * net/tramp-smb.el:
6395 * net/tramp-sh.el:
6396 * net/tramp-gvfs.el: Update all uses.
6397
a1c2400f
JB
63982011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6399
6400 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6401 buffer isn't killed before making it current.
6402
2403c841
SM
64032011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 Silence various byte-compiler warnings.
6406 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6407 `access-type' and new obsolescence format.
6408 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6409 new format.
6410 (byte-compile-check-variable): New `access-type' argument.
6411 Only warn if the access-type is obsolete.
6412 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6413 (byte-compile-variable-set): Adjust callers.
6414 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6415 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6416 setting it as obsolete.
6417 * simple.el (minibuffer-completing-symbol):
6418 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6419 access as obsolete.
6420 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6421 obsolete yet.
6422 * international/quail.el (quail-mouse-choose-completion): Remove unused
6423 code referring to obsolete var.
6424 (quail-choose-completion-string): Remove.
6425 * server.el (server-clients-with, server-kill-buffer-query-function)
6426 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6427 * proced.el (proced-send-signal):
6428 * emacs-lisp/lisp.el (lisp-complete-symbol):
6429 Replace completion-annotate-function with completion-extra-properties.
6430
2462470b
SM
64312011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6432
fb5b2591
SM
6433 * simple.el (goto-line): Use read-number.
6434 (overriding-map-is-bound): Remove.
6435 (saved-overriding-map): Change default.
6436 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6437 Take the map as argument.
6438 (universal-argument, negative-argument, digit-argument): Use it.
6439 (restore-overriding-map): Adjust.
6440 (do-auto-fill): Use fill-forward-paragraph.
6441 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6442
fd6fa53f
SM
6443 * minibuffer.el (minibuffer-inactive-mode-map): New var.
6444 (minibuffer-inactive-mode): New major mode.
6445 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6446 the *Messages* buffer" hack.
6447 (mouse-popup-menubar): Don't burp if the event is a normal key.
6448
2462470b
SM
6449 Miscellaneous tweaks.
6450 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6451 lexical scoping as in subr.el's dolist and dotimes.
6452 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6453 Silence compiler warning.
6454 * thingatpt.el (forward-whitespace): Trivial coding style fix.
6455 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6456 * international/ccl.el (ccl-compile): Trivial simplification.
6457 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6458 * emacs-lisp/testcover.el (testcover-end): Remove spurious
6459 `printflag' argument.
6460 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6461 Purecopy the whole obsolescence data.
6462
108bf785
LL
64632011-06-01 Leo Liu <sdl.web@gmail.com>
6464
6465 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6466 improve doc-string as suggested by Marco Pessotto
6467 <melmothx@gmail.com>.
6468 (rcirc-print): Fix last change.
6469
30a23501
SM
64702011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * minibuffer.el (complete-with-action): Return nil for the metadata and
6473 boundaries of non-functional tables.
6474 (completion-table-dynamic): Return nil for the metadata.
6475 (completion-table-with-terminator): Add default case, using
6476 complete-with-action.
6477 (completion--metadata): New function.
6478 (completion-all-sorted-completions, minibuffer-completion-help): Use it
6479 to try and avoid pathological performance problems.
6480 (completion--embedded-envvar-table): Return `category' metadata.
6481
bcd54f83
LMI
64822011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
6483
6484 * subr.el (process-alive-p): New tiny convenience function.
6485
e227544d
SM
64862011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6487
6488 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
6489 content but also its previous major mode.
6490
e8296fdc
HE
64912011-05-31 Helmut Eller <eller.helmut@gmail.com>
6492
4d61f28d 6493 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
6494 *Backtrace* buffer when we exit with C-M-c.
6495
620c53a6
SM
64962011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6497
6498 * minibuffer.el: Add metadata method to completion tables.
6499 (completion-category-overrides): New defcustom.
6500 (completion-metadata, completion--field-metadata)
6501 (completion-metadata-get, completion--styles)
6502 (completion--cycle-threshold): New functions.
6503 (completion-try-completion, completion-all-completions):
6504 Add `metadata' argument to choose completion-styles.
6505 (completion--do-completion): Use metadata to choose cycling.
6506 (completion-all-sorted-completions): Use metadata for sorting.
6507 Remove :completion-cycle-penalty which is not needed any more.
6508 (completion--try-word-completion): Add `metadata' argument.
6509 (minibuffer-completion-help): Check metadata for annotation function
6510 and sorting.
6511 (completion-file-name-table): Return `category' metadata.
6512 (minibuffer-completing-file-name): Make obsolete.
6513 * simple.el (minibuffer-completing-symbol): Make obsolete.
6514 * icomplete.el (icomplete-completions): Pass new `metadata' param to
6515 completion-try-completion.
6516
1257e755
SM
65172011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
6520
3767e706
LL
65212011-05-30 Leo Liu <sdl.web@gmail.com>
6522
6523 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
6524 (rcirc-print): Decode all incoming messages (bug#8744).
6525 (rcirc-decode-coding-system): Allow value nil for automatic coding
6526 system detection.
3767e706 6527
d1a5d56a
GM
65282011-06-01 Glenn Morris <rgm@gnu.org>
6529
6530 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
6531
e8cbec34
CY
65322011-05-29 Chong Yidong <cyd@stupidchicken.com>
6533
6534 * image.el (image-animate-max-time): Allow nil and t values.
6535 Default to nil.
6536 (create-animated-image): Doc fix.
6537 (image-animate-start): Remove second arg; just use
6538 image-animate-max-time.
6539 (image-animate-timeout): Doc fix. Args changed.
6540
6541 * image-mode.el (image-toggle-display-image): Ensure that the
6542 image spec passed to the animate timer is the same object as in
58179cce 6543 the buffer's display property (Bug#6981).
e8cbec34
CY
6544 (image-transform-properties): Doc fix.
6545
6546 * image.el (image-animate-max-time): Default to nil.
6547
159daf87
MR
65482011-05-29 Martin Rudalics <rudalics@gmx.at>
6549
6550 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6551 entire buffer list (Bug#8184).
6552
d66c4c7c
CY
65532011-05-29 Chong Yidong <cyd@stupidchicken.com>
6554
6555 * image.el (imagemagick-types-inhibit)
6556 (imagemagick-register-types): Doc fix.
6557
80aec780
DD
65582011-05-29 Deniz Dogan <deniz@dogan.se>
6559
6560 * net/rcirc.el (rcirc): Use the user's stored encryption method by
6561 default.
6562
1dd3c2d9
CY
65632011-05-29 Chong Yidong <cyd@stupidchicken.com>
6564
6565 * select.el: Don't perform clipboard-manager saving in hooks;
6566 leave the hooks empty.
6567
60e56523
LL
65682011-05-28 Leo Liu <sdl.web@gmail.com>
6569
6570 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6571 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
6572 (occur-edit-mode): New major mode (Bug#8463).
6573 (occur-after-change-function): New function.
6574 (occur-engine): Give Occur tags a read-only property.
6575
2b1e1a22
KR
65762011-05-28 Kevin Ryde <user42@zip.com.au>
6577
6578 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6579
5d344e88
CY
65802011-05-28 Chong Yidong <cyd@stupidchicken.com>
6581
8e6ca83d
CY
6582 * bindings.el (help-echo): Make the initial non-indicator dash
6583 empty on graphical terminals (Bug#7295).
6584
5d344e88
CY
6585 * files.el (auto-mode-alist): Move config rule after the
6586 in-stripping one (Bug#8547).
6587
bfbbace7
CY
6588 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6589
fbeba6e2
CY
6590 * startup.el (normal-splash-screen): Remove gratuitous mode-line
6591 setting (Bug#8740).
6592
60ed8c72
AA
65932011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
6594
4ac619f0
AA
6595 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6596 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6597 (Bug#8539).
60ed8c72 6598
23db196e
CY
65992011-05-28 Chong Yidong <cyd@stupidchicken.com>
6600
6601 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6602
5012f24c
DK
66032011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
6604
6605 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6606 (hs-hide-block-at-point, hs-find-block-beginning)
6607 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6608 (Bug#8279).
6609
6a639b16
GM
66102011-05-28 Glenn Morris <rgm@gnu.org>
6611
6612 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
6613
d43eaf2c
CY
66142011-05-28 Chong Yidong <cyd@stupidchicken.com>
6615
5199bde1
CY
6616 * help-fns.el (describe-function-1): If the function is a derived
6617 major mode, print the parent mode.
6618
d43eaf2c
CY
6619 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6620 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6621
423428a8
SM
66222011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6623
0ff8e1ba 6624 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 6625 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
6626 * progmodes/etags.el (tags-completion-at-point-function):
6627 * info-look.el (info-lookup-completions-at-point): Mark as
6628 non-exclusive.
6629 (info-complete): Adjust accordingly.
6630
423428a8
SM
6631 * info-look.el: Convert to lexical-binding and completion-at-point.
6632 (info-lookup-completions-at-point): New function.
6633 (info-complete): Use it and completion-in-region.
6634
b74aa22b
DA
66352011-05-28 Drew Adams <drew.adams@oracle.com>
6636
6637 * isearch.el: Let M-e start with point at the first mismatched char.
6638 (isearch-fail-pos): New function.
6639 (isearch-edit-string): Use it.
6640
66e2e71d
DK
66412011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6642
6643 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6644
eb95d01d
TC
66452009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6646
6647 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
6648 traversal functions for avl-trees.
6649 (avl-tree--stack): New struct.
6650 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6651 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
6652 (avl-tree--do-enter): Add optional `updatefun' arg.
6653 Change return value.
eb95d01d 6654 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
6655 (avl-tree--do-delete): Add `test' and `nilflag' args.
6656 Change return value.
eb95d01d
TC
6657 (avl-tree-member): Add optional `nilflag'
6658 (avl-tree-member-p): New function.
6659 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6660 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6661 (avl-tree-stack-empty-p): New functions.
6662
3769ddcf
TC
66632009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6664
6665 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6666 avl-tree--del-balance1 and make it work both ways.
6667 (avl-tree--del-balance2): Remove.
6668 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6669 make it work both ways.
6670 (avl-tree--enter-balance2): Remove.
6671 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6672 New macros.
6673 (avl-tree--mapc, avl-tree-map): Add direction argument.
6674
eb95d01d 66752011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
6676
6677 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6678
a9f737ee
CY
66792011-05-27 Chong Yidong <cyd@stupidchicken.com>
6680
6681 * select.el: Support clipboard managers with built-in function
6682 x-clipboard-manager-save, via delete-frame-functions and
6683 kill-emacs-hook.
6684 (xselect-convert-to-targets): Add MULTIPLE target to list.
6685 (xselect-convert-to-save-targets): New function.
6686
c92a1e54
KH
66872011-05-27 Kenichi Handa <handa@m17n.org>
6688
6689 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6690 let-binding rfc2047-encode-encoded-words to nil.
6691
e145f188
GM
66922011-05-27 Glenn Morris <rgm@gnu.org>
6693
5ec8a862
GM
6694 * mail/emacsbug.el: Don't require url-util.
6695
4b29d9fb
GM
6696 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
6697
e145f188
GM
6698 * files.el (set-auto-mode):
6699 Also respect mode: entries at the end of the file. (Bug#8586)
6700
7d15102b
GM
67012011-05-26 Glenn Morris <rgm@gnu.org>
6702
98f593b8
GM
6703 * files.el (hack-local-variables-prop-line, hack-local-variables):
6704 Downcase mode names, as seems to be traditional.
27b48e63 6705 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 6706
7d15102b
GM
6707 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6708 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
6709
51d5b4ec
JD
67102011-05-25 Julien Danjou <julien@danjou.info>
6711
6712 * textmodes/rst.el (rst-define-level-faces): Do not define face
6713 symbol if it is already defined.
6714
91513f63
VB
67152011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6716
6717 * play/5x5.el (5x5-new-game, 5x5-randomize):
6718 Reset 5x5-solver-output to nil when a new grid is cast.
6719 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6720 these debugging traces, as defmacro breaks the compiled code.
6721
4d90d6d0
DK
67222011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6723
6724 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6725
e1b90ef6
LL
67262011-05-24 Leo Liu <sdl.web@gmail.com>
6727
6728 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6729 (vc-bzr-sha1): Adapt.
6730
d8e4b68b 6731 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
6732
6733 * bindings.el: Provide sha1 feature.
6734
db0406bb 67352011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
6736
6737 * mail/sendmail.el: Require `rfc2047'.
6738 (mail-insert-from-field): Do not perform RFC2047 encoding.
6739 (mail-encode-header): New function.
6740 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
6741 buffer to the return value of select-message-coding-system.
6742 Call mail-encode-header.
b8d747b9
KH
6743
6744 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6745
db0406bb 67462011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 6747
4d90d6d0
DK
6748 * mail/supercite.el (sc-default-cite-frame):
6749 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 6750
eb8a5e9b
GM
67512011-05-24 Glenn Morris <rgm@gnu.org>
6752
f8630703
GM
6753 * progmodes/python.el (brm-menu): Declare.
6754
8831bbed
GM
6755 * emulation/viper.el (viper-set-hooks): Declare.
6756
eb8a5e9b
GM
6757 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6758 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6759 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6760 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6761 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6762 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6763
a2a25d24
SM
67642011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 Add an :exit-function for completion-at-point.
6767
6768 * minibuffer.el (completion--done): New fun.
6769 (completion--do-completion): Use it. New arg `expect-exact'.
6770 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6771 since completion--do-completion does it for us now.
6772 (minibuffer-force-complete): Use completion--done and
6773 completion--replace. Handle sole-completion case with more care.
6774 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6775 (completion-extra-properties): New var.
6776 (completion-annotate-function): Make obsolete.
6777 (minibuffer-completion-help): Adjust accordingly.
6778 Use completion-list-insert-choice-function.
6779 (completion-at-point, completion-help-at-point):
6780 Bind completion-extra-properties.
6781 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6782 * simple.el (completion-list-insert-choice-function): New var.
6783 (completion-setup-function): Preserve it.
6784 (choose-completion): Pay attention to it, shuffle the code a bit.
6785 (choose-completion-string): New arg `insert-function'.
6786
6787 * textmodes/bibtex.el: Convert to lexical binding.
6788 (bibtex-mode-map): Use completion-at-point.
6789 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6790 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6791 (bibtex-complete): Define as obsolete alias.
6792 (bibtex-complete-internal): Remove.
6793 (bibtex-format-entry): Remove unused sub-group in regexp.
6794 * shell.el (shell--command-completion-data)
6795 (shell-environment-variable-completion):
6796 * pcomplete.el (pcomplete-completions-at-point):
6797 * comint.el (comint--complete-file-name-data): Use :exit-function
6798 instead of completion-table-with-terminator so it also works for
6799 choose-completion.
6800
e44e373d
SM
68012011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6802
4f91a816
SM
6803 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6804
782fc819
SM
6805 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6806 (bug#8710).
6807
e44e373d
SM
6808 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6809
381987c3
KM
68102011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6811
6812 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6813 customization variable and implement: If non-nil, auto-fill will
6814 be inhibited while on topic's header line.
6815
b776bc70
VB
68162011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6817
6818 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 6819 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
6820 always have a solution in grid size = 5 cases.
6821 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6822 (5x5-solver-output, 5x5-log-buffer): New vars.
6823 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6824 Make these variables buffer local to achieve 5x5 multi-session-ness.
6825 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6826 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6827 (5x5-solve-suggest): New funs.
6828 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6829 randomize a grid so that we ensure that there is always a solution.
6830 (5x5-make-random-grid): Allow other movement than flipping.
6831
7de88b6e
KR
68322011-05-23 Kevin Ryde <user42@zip.com.au>
6833
6834 * emacs-lisp/advice.el (ad-read-advised-function):
6835 Use `function-called-at-point' as the default default, if it has
6836 advice and passes PREDICATE.
6837
b1ef1257
SM
68382011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6839
bbca48fe
SM
6840 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6841 byte-compile-lambda if it's actually a lambda.
6842
b1ef1257
SM
6843 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6844 Fix function quoting. Use backquote better.
6845
92a9cc65
YS
68462011-05-22 Yuanle Song <sylecn@gmail.com>
6847
6848 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6849 matching (Bug#8516).
6850
f0fb8059
JA
68512011-01-22 Jari Aalto <jari.aalto@cante.net>
6852
6853 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6854 different face (Bug#8178).
6855
d5b44c93
CY
68562011-05-22 Chong Yidong <cyd@stupidchicken.com>
6857
6858 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6859 defface (Bug#8144).
6860
79106a44
SM
68612011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6862
9c848d8a
SM
6863 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6864 funcall as well (bug#8712). Warn when performing those conversions.
6865 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6866
79106a44
SM
6867 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6868
88dfa756
GM
68692011-05-22 Glenn Morris <rgm@gnu.org>
6870
6871 * files.el (hack-local-variables-prop-line): Small simplifications.
6872 (hack-local-variables, hack-local-variables-prop-line):
6873 If MODE-ONLY, return the mode, rather than just `t'.
6874
b7cf2c79
SM
68752011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6876
6877 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6878
3f1a8558
GM
68792011-05-21 Glenn Morris <rgm@gnu.org>
6880
7e4ccca3
GM
6881 * files.el (hack-local-variables-prop-line, hack-local-variables):
6882 If only interested in the mode, don't bother doing the other stuff.
6883
637d46ca
GM
6884 * image-mode.el (image-after-revert-hook):
6885 Redraw all frames on which the image is visible. (Bug#8567)
6886
973d955b
GM
6887 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6888
3f1a8558
GM
6889 * wid-edit.el (widget-checklist-match-inline):
6890 Fix 2011-04-19 change. (Bug#8649)
6891
96479927
SM
68922011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6893
1dcf791f
SM
6894 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6895 Also allow singlespace after single-letter capitals followed by a dot.
6896
96479927
SM
6897 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6898 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6899
35fd0881
N
69002011-05-20 Nix <nix@esperi.org.uk>
6901
6902 * files.el (basic-save-buffer-2):
6903 Fix handling of break-hardlink-on-save with non-existent files.
6904
82745640
DD
69052011-05-19 Deniz Dogan <deniz@dogan.se>
6906
6907 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 6908 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 6909
4a720484
GM
69102011-05-19 Glenn Morris <rgm@gnu.org>
6911
d1f21341
GM
6912 * progmodes/f90.el (f90-type-def-re):
6913 Handle "type, bind(c)". (Bug#8691)
6914
4a720484
GM
6915 * emacs-lisp/autoload.el (batch-update-autoloads):
6916 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6917
2fb0a219
MA
69182011-05-18 Michael Albinus <michael.albinus@gmx.de>
6919
6920 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6921 property for the correct connection in case of multihops.
6922
e565dd37
GM
69232011-05-18 Glenn Morris <rgm@gnu.org>
6924
c2571358 6925 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
6926 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6927
e565dd37
GM
6928 Rationalize calendar handling of day and month abbrev-arrays.
6929 * calendar/calendar.el (calendar-customized-p): New function.
6930 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6931 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6932 Add :set function.
6933 (calendar-abbrev-length, calendar-day-abbrev-array)
6934 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6935 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6936 Elements may no longer be nil.
6937 (calendar-day-name, calendar-month-name):
6938 Update for changed nature of abbrev arrays.
6939 * calendar/diary-lib.el (diary-name-pattern):
6940 Update for changed nature of abbrev arrays.
6941 (diary-mark-entries-1): Update calendar-make-alist calls.
6942 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6943 * calendar/cal-html.el (cal-html-day-abbrev-array):
6944 Simply inherit from calendar-day-abbrev-array.
6945
1d99a745
SM
69462011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6947
6948 * progmodes/grep.el (grep-mode): Disable default
6949 compilation-directory-matcher setting (bug#8684).
6950
7c1d9aa0
MA
69512011-05-17 Michael Albinus <michael.albinus@gmx.de>
6952
6953 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6954 instead of "head" and "tail". There were problems with SunOS 5.9,
6955 and it performs better.
6956
3952e9d8
GM
69572011-05-17 Glenn Morris <rgm@gnu.org>
6958
2dd12e7f
GM
6959 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6960
e4157b9c
GM
6961 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6962 Replace obsolete function.
6963
8e249bbd
GM
6964 * shell.el (pcomplete-parse-arguments-function): Declare.
6965
3952e9d8
GM
6966 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6967 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6968 (appt-check): Doc fixes.
6969 (appt-disp-window-function, appt-delete-window-function):
6970 Remove needless special case in custom :type.
6971 (appt-display-count): Default to 0, not nil.
6972 (appt-check): Reset appt-display-count to 0, not nil.
6973
c71a0d48 69742011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 6975
c71a0d48
GM
6976 * progmodes/python.el (python-font-lock-keywords):
6977 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 6978
31d55be9
SM
69792011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6980
6981 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6982
3bfacb2f
KR
69832011-05-16 Kevin Ryde <user42@zip.com.au>
6984
6985 * info-look.el (makefile-automake-mode): New setups, looking in
6986 automake manual, then makefile-mode.
6987 (makefile-mode): Remove automake manual, have it just in
6988 makefile-automake-mode since there's various things different or
6989 not relevant to plain make.
6990 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6991 believe a hypothetical automake-mode would go to makefile-mode,
6992 not the other way around.
6993
c8e83751
CY
69942011-05-15 Chong Yidong <cyd@stupidchicken.com>
6995
5e9e35cd
CY
6996 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6997 hunk-end tags (Bug#8672).
6998
c8e83751
CY
6999 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7000 vc-annotate-show-diff-revision-at-line (Bug#8671).
7001
50b23e5a
GM
70022011-05-14 Glenn Morris <rgm@gnu.org>
7003
7210a739
GM
7004 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7005 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7006 (change-log-font-lock-keywords): Also handle multiple author lines
7007 with leading tabs. (Bug#8644)
7210a739 7008
4691905a
GM
7009 * calendar/appt.el (appt-check): Rename some local variables.
7010 Some simplification/reordering.
7011
50b23e5a
GM
7012 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7013 (feedmail-sendmail-f-doesnt-sell-me-out)
7014 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7015 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7016 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7017 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7018 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7019 (feedmail-binmail-gnulinuxish-template):
7020 Rename from feedmail-binmail-linuxish-template.
7021 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7022 Use insert-buffer-substring.
7023
215cda7c
BC
70242011-05-14 Bill Carpenter <bill@carpenter.org>
7025
7026 * mail/feedmail.el (feedmail-patch-level): Increase.
7027 (feedmail-debug): New custom group.
7028 (feedmail-confirm-outgoing-timeout)
7029 (feedmail-sendmail-f-doesnt-sell-me-out)
7030 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7031 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7032 (feedmail-sender-line, feedmail-from-line)
7033 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7034 (feedmail-spray-this-address)
215cda7c
BC
7035 (feedmail-spray-address-fiddle-plex-list)
7036 (feedmail-queue-use-send-time-for-date)
7037 (feedmail-queue-use-send-time-for-message-id)
7038 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7039 (feedmail-buffer-eating-function):
7040 Doc fixes.
7041 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7042 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7043 (feedmail-message-action-scroll-down): New functions.
7044 (feedmail-queue-directory, feedmail-queue-draft-directory):
7045 Use expand-file-name.
7046 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7047 Remove C-v help entry.
7048 (feedmail-queue-buffer-file-name): New variable.
7049 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7050 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7051 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7052 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7053 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7054 (feedmail-message-action-toggle-spray)
7055 (feedmail-run-the-queue-no-prompts)
7056 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7057 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7058 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7059 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7060 (feedmail-envelope-deducer, feedmail-fiddle-from)
7061 (feedmail-fiddle-sender, feedmail-default-date-generator)
7062 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7063 (feedmail-fiddle-spray-address)
7064 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7065 (feedmail-fiddle-list-of-fiddle-plexes)
7066 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7067 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7068 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7069 Change default. Doc fix.
7070 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7071 (feedmail-binmail-linuxish-template): New constant.
7072 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7073 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7074 (feedmail-send-it): Add debug call.
7075 Use feedmail-queue-buffer-file-name, and
7076 feedmail-send-it-immediately-wrapper.
7077 (feedmail-message-action-send): Add debug call.
7078 Use feedmail-send-it-immediately-wrapper.
7079 (feedmail-queue-express-to-queue): Add debug call.
7080 Run feedmail-queue-express-hook.
7081 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7082 (feedmail-message-action-help-blat):
7083 Rename from feedmail-queue-send-edit-prompt-help-first.
7084 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7085 Check line-endings. Handle errors better.
7086 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7087 Doc fix. Add debug call.
7088 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7089 Use feedmail-queue-send-edit-prompt-inner.
7090 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7091 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7092 from feedmail-queue-send-edit-prompt.
7093 (feedmail-queue-send-edit-prompt-help)
7094 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7095 (feedmail-tidy-up-slug): Add debug call.
7096 Respect feedmail-queue-slug-suspect-regexp.
7097 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7098 (feedmail-dump-message-to-queue): Add debug call.
7099 Expand queue-directory.
7100 (feedmail-dump-message-to-queue): Change message slightly.
7101 Use feedmail-say-chatter.
7102 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7103 (feedmail-send-it-immediately-wrapper): New function.
7104 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7105 Insert empty string rather than newline. Handle full-frame case.
7106 Use catch/throw. Use feedmail-say-chatter.
7107 (feedmail-fiddle-from): Try mail-host-address.
7108 (feedmail-default-message-id-generator): Doc fix.
7109 Bind system-time-locale. Handle missing end.
7110 (feedmail-fiddle-x-mailer): Add debug call.
7111 Handle feedmail-x-mailer-line being nil.
7112 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7113 Add debug call. Use buffer-substring-no-properties.
7114 (feedmail-say-debug, feedmail-say-chatter): New functions.
7115 (feedmail-find-eoh): Give an explicit error.
7116
42c7e61e
UJ
71172011-05-13 Ulf Jasper <ulf.jasper@web.de>
7118
c2571358 7119 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7120 family from helvetica to sans.
c2571358 7121 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7122 etc/images/newsticker.
7123
c2571358 7124 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7125 family from helvetica to sans.
7126
7127 * net/newst-plainview.el (newsticker-new-item-face)
7128 (newsticker-old-item-face, newsticker-immortal-item-face)
7129 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7130 (newsticker-statistics-face): Change default family from
42c7e61e 7131 helvetica to sans.
c2571358 7132 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7133 etc/images/newsticker.
7134
7135 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7136 (newsticker--process-auto-mark-filter-match): : Tell user about
7137 auto-marking.
7138
8497a297
DV
71392011-05-13 Didier Verna <didier@xemacs.org>
7140
7141 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7142 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7143 TODO entries.
8497a297
DV
7144 (lisp-lambda-list-keyword-parameter-indentation)
7145 (lisp-lambda-list-keyword-parameter-alignment)
7146 (lisp-lambda-list-keyword-alignment): New customizable user options.
7147 (lisp-indent-defun-method): Improve docstring.
7148 (extended-loop-p): Fix comment.
7149 (lisp-indent-lambda-list-keywords-regexp): New variable.
7150 (lisp-indent-lambda-list): New function.
7151 (lisp-indent-259): Use it.
7152 (lisp-indent-defmethod): Support for more than one
7153 method qualifier and properly indent methods lambda-lists.
7154 (defgeneric): Provide a missing common-lisp-indent-function property.
7155
f278f87f
SM
71562011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7157
7158 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7159 bounds for the empty string (bug#8667).
7160
5233edd7
GM
71612011-05-13 Glenn Morris <rgm@gnu.org>
7162
5237a44f
GM
7163 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7164
8340026c 7165 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 7166 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 7167
5233edd7 7168 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 7169 (appt-time-msg-list): Doc fix.
a5464014 7170 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 7171
92d10796
AS
71722011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7173
7174 * progmodes/ld-script.el (ld-script-keywords)
7175 (ld-script-builtins): Update keywords list.
7176
914a0ae1
SM
71772011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7178
c89be45f
SM
7179 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7180
914a0ae1
SM
7181 * shell.el (shell-completion-vars): New function.
7182 (shell-mode):
7183 * simple.el (read-shell-command): Use it.
7184 (blink-matching-open): No need for " [...]" in minibuffer-message.
7185
98dc3df3
GM
71862011-05-12 Glenn Morris <rgm@gnu.org>
7187
7188 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7189 (appt-check): Simplify.
7190
d2fc7e3d 71912011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 7192
4d61f28d 7193 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
7194 literal "/dev/null".
7195
d2fc7e3d 71962011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
7197
7198 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7199 Fix typo.
7200
d2fc7e3d 72012011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 7202
3f254caa
SM
7203 * progmodes/which-func.el (which-function):
7204 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
7205 which might not be defined (Bug#8260).
7206
d45885f7
GM
72072011-05-12 Glenn Morris <rgm@gnu.org>
7208
7209 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7210 Let byte-compile-initial-macro-environment always take precedence.
7211
488086f4
SM
72122011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * net/rcirc.el: Add support for SSL/TLS connections.
7215 (rcirc-server-alist): New field `encryption'.
7216 (rcirc): Check `encryption' settings.
7217 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7218 Merge make-local-variable into `set'.
7219 (rcirc--connection-open-p): New function.
7220 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7221 the process is not a network process (e.g. running gnutls-cli).
7222 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7223 Make rcirc-(en|de)code-coding-system local here.
7224 (rcirc-mode): Merge make-local-variable into `set'.
7225 (rcirc-parent-buffer): Make permanent buffer-local.
7226 (rcirc-multiline-minor-mode): Don't do it here.
7227 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7228 there's no server buffer.
7229
7d3b9d44
GM
72302011-05-11 Glenn Morris <rgm@gnu.org>
7231
f64049c6
GM
7232 * newcomment.el (comment-kill): Prefix "unused" local.
7233
93c9df73
GM
7234 * term/w32console.el (get-screen-color): Declare.
7235
7d3b9d44
GM
7236 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7237 Handle symbol elements of byte-compile-initial-macro-environment.
7238
9e2dd53f
LL
72392011-05-10 Leo Liu <sdl.web@gmail.com>
7240
488086f4
SM
7241 * bookmark.el (bookmark-bmenu-mode-map):
7242 Bind bookmark-bmenu-search to `/'.
8b340240 7243
9e2dd53f 7244 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7245 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7246 (Footnote-unicode): New function.
7247 (footnote-style-alist): Add unicode style to the list.
7248 (footnote-style): Doc fix.
9e2dd53f 7249
79b70037
GM
72502011-05-10 Jim Meyering <meyering@redhat.com>
7251
7252 Fix doubled-word typos.
7253 * international/quail.el (quail-insert-kbd-layout): and and -> and
7254 * kermit.el: and and -> and
7255 * net/ldap.el (ldap-search-internal): to to -> to
7256 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7257 * progmodes/js.el (js-mode): and and -> and
7258 * textmodes/artist.el (artist-move-to-xy): at at -> at
7259 (artist-draw-region-trim-line-endings): if if -> if
7260 And Safetyc -> Safety.
7261 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7262
b8f82dc1 72632011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7264 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7265
7266 * files.el (hack-one-local-variable-eval-safep):
7267 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7268
4f99f44b
GM
72692011-05-10 Glenn Morris <rgm@gnu.org>
7270
7271 * calendar/diary-lib.el (diary-list-entries-hook)
7272 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7273 (diary-nongregorian-marking-hook, diary-list-entries)
7274 (diary-include-other-diary-files, diary-mark-entries)
7275 (diary-mark-included-diary-files): Doc fixes.
7276
84f29e6b
JB
72772011-05-09 Juanma Barranquero <lekktu@gmail.com>
7278
7279 * misc.el: Require tabulated-list.el during compilation.
7280
9bedd73a
CY
72812011-05-09 Chong Yidong <cyd@stupidchicken.com>
7282
488086f4
SM
7283 * progmodes/compile.el (compilation-start):
7284 Run compilation-filter-hook for the async case too.
9bedd73a
CY
7285 (compilation-filter-hook): Doc fix.
7286
797c735c
DD
72872011-05-09 Deniz Dogan <deniz@dogan.se>
7288
7289 * wdired.el: Remove outdated installation comment. Fix usage
7290 comment.
7291
5f4b1dfe
JB
72922011-05-09 Juanma Barranquero <lekktu@gmail.com>
7293
7294 * misc.el: Implement new command `list-dynamic-libraries'.
7295 (list-dynamic-libraries--loaded-only-p): New variable.
7296 (list-dynamic-libraries--refresh): New function.
7297 (list-dynamic-libraries): New command.
7298
4c44026c
CY
72992011-05-09 Chong Yidong <cyd@stupidchicken.com>
7300
488086f4
SM
7301 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7302 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7303 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7304 higher priority to avoid clobbering by gnu.
7305
027f966d
CY
73062011-05-08 Chong Yidong <cyd@stupidchicken.com>
7307
7308 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7309 if the face has existing theme settings (Bug#8454).
7310
085f5d7d
CY
73112011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7312
488086f4
SM
7313 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7314 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 7315
2a86a00c
RS
7316 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7317 special file names `.' and `..' (Bug#8259).
7318
d9c54a06
CY
73192011-05-08 Chong Yidong <cyd@stupidchicken.com>
7320
488086f4
SM
7321 * progmodes/grep.el (grep-mode-font-lock-keywords):
7322 Remove buffer-changing entries.
d9c54a06
CY
7323 (grep-filter): New function.
7324 (grep-mode): Add it to compilation-filter-hook.
7325
7326 * progmodes/compile.el (compilation-filter-hook)
7327 (compilation-filter-start): New defvars.
7328 (compilation-filter): Call compilation-filter-hook prior to
7329 updating the process mark.
7330
c4662635
SM
73312011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7334
b0512a1d
EZ
73352011-05-07 Eli Zaretskii <eliz@gnu.org>
7336
605c9376
EZ
7337 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7338 mailclient-send-it even if window-system is nil. (Bug#8595)
7339
c4662635
SM
7340 * term/w32console.el (terminal-init-w32console):
7341 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
7342 background-mode. (Bug#8597)
7343
d1dc2cc2
SM
73442011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7345
7346 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7347 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7348 New functions.
7349 (defgeneric, eieio--defmethod): Use them.
7350 (eieio-defgeneric): Remove.
7351 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7352
915d1300
GM
73532011-05-07 Glenn Morris <rgm@gnu.org>
7354
a3961c3e
GM
7355 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7356 Use let rather than let*.
7357 (timeclock-find-discrep): Remove unused local.
7358
314347b9
GM
7359 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7360
915d1300
GM
7361 * calendar/appt.el (appt-time-msg-list): Doc fix.
7362
275b59b0
NF
73632011-05-06 Noah Friedman <friedman@splode.com>
7364
7365 * apropos.el (apropos-print-doc): Only use
7366 emacs-lisp-docstring-fill-column when it is bound to an integer,
7367 per that variable's documentation.
7368
6c19f744
SM
73692011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 7372 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 7373
60f884b2
GM
73742011-05-06 Glenn Morris <rgm@gnu.org>
7375
5006e634
GM
7376 * calendar/appt.el (appt-message-warning-time): Doc fix.
7377 (appt-warning-time-regexp): New option.
7378 (appt-make-list): Respect appt-message-warning-time.
7379
548d0a63
GM
7380 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7381 New options.
7382 (diary-add-to-list): Strip comments from the displayed string.
7383 (diary-mode): Set comment-start and comment-end.
7384
60f884b2
GM
7385 * vc/diff-mode.el (smerge-refine-subst): Declare.
7386 (diff-refine-hunk): Don't require smerge-mode when compiling.
7387
989681bb
JB
73882011-05-06 Juanma Barranquero <lekktu@gmail.com>
7389
7390 * simple.el (list-processes): Return nil as the docstring says.
7391
a6bc05e1
MA
73922011-05-05 Michael Albinus <michael.albinus@gmx.de>
7393
7394 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7395 to "".
7396 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7397 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7398 determining of binary transfer. (Bug#7383)
7399
23c22e9a
MA
74002011-05-05 Michael Albinus <michael.albinus@gmx.de>
7401
c4662635
SM
7402 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7403 Fix port computation bug. (Bug#8618)
23c22e9a 7404
0bff894f
GM
74052011-05-05 Glenn Morris <rgm@gnu.org>
7406
b8296902
GM
7407 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7408
1f522ce8
GM
7409 * simple.el (shell-dynamic-complete-functions)
7410 (comint-dynamic-complete-functions): Declare.
7411
cf5bee67
GM
7412 * net/network-stream.el (gnutls-negotiate):
7413 * simple.el (tabulated-list-print): Fix declarations.
7414
7415 * progmodes/gud.el (syntax-symbol, syntax-point):
7416 Remove unnecessary and incorrect declarations.
7417
0bff894f
GM
7418 * emacs-lisp/check-declare.el (check-declare-scan):
7419 Handle byte-compile-initial-macro-environment in bytecomp.el
7420
9869b3ae
SM
74212011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7422
7423 Fix earlier half-done eieio-defmethod change (bug#8338).
7424 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7425 Streamline and change calling convention.
7426 (defmethod): Adjust accordingly and simplify.
7427 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7428 new eieio--defmethod.
7429 (slot-boundp): Minor CSE simplification.
7430
9c1d5ac5
MZ
74312011-05-05 Milan Zamazal <pdm@zamazal.org>
7432
7433 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7434 (glasses-make-readable): Use glasses-separate-capital-groups.
7435
455c834e
JB
74362011-05-05 Juanma Barranquero <lekktu@gmail.com>
7437
7438 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7439 (warning-series): Doc fix.
7440 (display-warning): Don't try to create the buffer if we just found it.
7441
9ed7c8cb
CY
74422011-05-04 Chong Yidong <cyd@stupidchicken.com>
7443
7444 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7445 (autoload-find-generated-file): New function.
7446 (generate-file-autoloads): Bind generated-autoload-file to
7447 buffer-file-name.
9869b3ae
SM
7448 (update-file-autoloads, update-directory-autoloads):
7449 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
7450 output file (Bug#7989).
7451 (batch-update-autoloads): Doc fix.
7452
0898ca10
JB
74532011-05-04 Juanma Barranquero <lekktu@gmail.com>
7454
7455 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7456
31dfb76c
GM
74572011-05-04 Glenn Morris <rgm@gnu.org>
7458
f330b642
GM
7459 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7460 function, so it follows changes in calendar-date-style.
7461 (diary-fancy-date-matcher): New function.
7462 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7463 (diary-fancy-font-lock-fontify-region-function):
7464 Use diary-fancy-date-pattern as a function.
7465
31dfb76c
GM
7466 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7467 non-numbers for `year' etc pseudo-variables. (Bug#8583)
7468
48e79d6a
TZ
74692011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
7470
7471 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7472 instead of positional arguments. Allow :keylist and :crlfiles
7473 arguments.
7474 (open-gnutls-stream): Call it.
7475
7476 * net/network-stream.el (network-stream-open-starttls): Adjust to
7477 call `gnutls-negotiate' with :process and :hostname arguments.
7478
dd5a5ee0
SM
74792011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7480
ef80fc09
SM
7481 * minibuffer.el (completion--message): New function.
7482 (completion--do-completion, minibuffer-complete)
7483 (minibuffer-force-complete, minibuffer-complete-word): Use it.
7484 (completion--do-completion): Don't ignore completion-auto-help when in
7485 icomplete-mode.
7486
dd5a5ee0
SM
7487 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
7488 internal encoding (e.g. tibetan zero is not whitespace).
7489 (global-whitespace-mode): Prefer save-current-buffer.
7490 (whitespace-trailing-regexp): Remove useless save-match-data.
7491 (whitespace-empty-at-bob-regexp): Minor simplification.
7492
b7d22a83
CY
74932011-05-03 Chong Yidong <cyd@stupidchicken.com>
7494
7495 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
7496
5192af46
AM
74972011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7498
7499 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 7500 Use `concat' to create string for insertion.
5192af46 7501
5767d190
SM
75022011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7503
7504 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
7505 Avoid open-line which runs post-self-insert-hook.
7506 (bibtex-fill-entry): Remove unused `end' var.
7507
bf242939
AM
75082011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
7509
5767d190
SM
7510 * textmodes/ispell.el (ispell-add-per-file-word-list):
7511 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 7512
25666126
LL
75132011-05-03 Leo Liu <sdl.web@gmail.com>
7514
7515 * isearch.el (isearch-yank-pop): New command.
5767d190 7516 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
7517 (isearch-forward): Mention it.
7518
52d3c2d0
SM
75192011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7520
1bcace58
SM
7521 * simple.el (minibuffer-complete-shell-command): Remove.
7522 (minibuffer-local-shell-command-map): Use completion-at-point.
7523 (read-shell-command): Setup completion vars here instead.
7524 (read-expression-map): Bind TAB to symbol completion.
7525
52d3c2d0
SM
7526 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
7527 error directly rather via storing it into `results'.
7528
35813471
LL
75292011-05-02 Leo Liu <sdl.web@gmail.com>
7530
7531 * vc/diff.el: Fix description.
7532
e793a940
LMI
75332011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7534
7535 * server.el (server-eval-at): New function.
7536
8de66e05
LMI
75372011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7538
7539 * net/network-stream.el (open-network-stream): Take a :nowait
7540 parameter and pass it on to `make-network-process'.
7541 (network-stream-open-plain): Ditto.
7542
dcb79f20
AS
75432011-04-30 Andreas Schwab <schwab@linux-m68k.org>
7544
7545 * faces.el (face-spec-set-match-display): Don't match toolkit
7546 options on terminal frames.
7547
14a7fbd8
SM
75482011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7549
7eabc1be
SM
7550 * progmodes/pascal.el: Use lexical binding.
7551 (pascal-mode-map): Remove author preferences.
7552
14a7fbd8
SM
7553 * pcomplete.el (pcomplete-std-complete): Don't abuse
7554 completion-at-point.
7555
50f84510
JB
75562011-04-28 Juanma Barranquero <lekktu@gmail.com>
7557
6e087a44
JB
7558 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7559 removing code that has been dead since 1991 or so.
7560
50f84510
JB
7561 * startup.el (command-line): When warning about "_emacs", use a
7562 delayed warning to allow the user to filter it out.
7563
0ba690bd
DD
75642011-04-28 Deniz Dogan <deniz@dogan.se>
7565
7566 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7567 user has not joined.
7568
08abfaad
SM
75692011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7570
7571 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7572 aren't any completions at point.
7573
638f053a
JB
75742011-04-28 Juanma Barranquero <lekktu@gmail.com>
7575
7576 * subr.el (display-delayed-warnings): New function.
7577 (delayed-warnings-hook): New variable.
7578
8fff8daa
SM
75792011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7580
08abfaad
SM
7581 * minibuffer.el (completion-at-point, completion-help-at-point):
7582 Don't presume that a given completion-at-point-function will always
7583 use the same calling convention.
7584
8fff8daa
SM
7585 * pcomplete.el (pcomplete-completions-at-point):
7586 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
7587 pcomplete-seen is non-nil.
7588 (pcomplete-comint-setup): Also recognize the new comint/shell
7589 completion functions.
7590 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7591 pcomplete-seen is non-nil.
7592
841a1577 75932011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 7594
841a1577 7595 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 7596 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 7597 the first character in the entry. This allows for code to add its
211ec907
UJ
7598 own uid to the entry.
7599 (icalendar--convert-float-to-ical): Add export of
7600 `diary-float'-entries save for those with the optional DAY
7601 argument.
7602
2a782793
DC
76032011-04-27 Daniel Colascione <dan.colascione@gmail.com>
7604
7605 * subr.el (shell-quote-argument): Use alternate escaping strategy
7606 when we spot a variable reference in a string.
7607
0438ce91
DC
76082011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7609
7610 * cus-start.el (all): Define customization for debug-on-event.
7611
841a1577 76122011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
7613
7614 * subr.el (shell-quote-argument): Escape correctly under Windows.
7615
d090ed6c
SM
76162011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7617
7618 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7619
bfd31217
MA
76202011-04-25 Michael Albinus <michael.albinus@gmx.de>
7621
d090ed6c
SM
7622 * net/tramp.el (tramp-process-actions): Add POS argument.
7623 Delete region between POS and (pos).
bfd31217 7624
d090ed6c
SM
7625 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7626 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
7627 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7628
7629 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7630 position in `tramp-process-actions' call.
7631
7632 * net/trampver.el: Update release number.
7633
e92f3bd3
SM
76342011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7635
850256b5
SM
7636 * custom.el (defcustom): Obey lexical-binding.
7637
e92f3bd3
SM
7638 Fix octave-inf completion problems reported by Alexander Klimov.
7639 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7640 Inherit from octave-mode-syntax-table.
7641 (inferior-octave-mode): Set info-lookup-mode.
7642 (inferior-octave-completion-at-point): New function.
7643 (inferior-octave-complete): Use it and completion-in-region.
7644 (inferior-octave-dynamic-complete-functions): Use it as well, and use
7645 comint-filename-completion.
7646 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7647 symbol elements which shouldn't be word elements.
7648 (octave-font-lock-keywords, octave-beginning-of-defun)
7649 (octave-function-header-regexp): Adjust regexps accordingly.
7650 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7651
cd22b309
JB
76522011-04-25 Juanma Barranquero <lekktu@gmail.com>
7653
7654 * net/gnutls.el (gnutls-errorp): Declare before first use.
7655
8b492194
TZ
76562011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7657
7658 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7659 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
7660 default trustfile exists before going to use it. Add missing
7661 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
7662 Reported by Claudio Bley <claudio.bley@gmail.com>.
7663 (open-gnutls-stream): Add usage example.
7664
7665 * net/network-stream.el (network-stream-open-starttls): Give host
7666 parameter to `gnutls-negotiate'.
7667 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 7668 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 7669
841a1577 76702011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 7671
cd22b309
JB
7672 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7673 Use correct match group (bug#8438).
05842630 7674
3ba7869c
CY
76752011-04-24 Chong Yidong <cyd@stupidchicken.com>
7676
512e3ae1
CY
7677 * emacs-lisp/package.el (package-built-in-p): Fix typo.
7678 (package-menu--generate): New arg specifying packages to show.
7679 (package-menu-refresh, package-menu-execute, list-packages):
7680 Callers changed.
7681 (package-show-package-list): New function, replacing deleted
7682 package--list-packages (renamed because it is non-internal).
7683
7684 * finder.el (finder-list-matches): Use package-show-package-list
7685 instead of deleted package--list-packages.
7686
e92f3bd3
SM
7687 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7688 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
7689 (vc-annotate-mode-map): Bind it to RET.
7690
7031be6d
UR
76912011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7692
7693 * progmodes/etags.el (next-file): Don't use set-buffer to change
7694 buffers (Bug#8478).
7695
4ef177aa
CY
76962011-04-24 Chong Yidong <cyd@stupidchicken.com>
7697
c8d173eb
CY
7698 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7699
4ef177aa
CY
7700 * apropos.el (apropos-label-face): Avoid variable-pitch face.
7701 (apropos-accumulator): Doc fix.
7702 (apropos-function, apropos-macro, apropos-command)
7703 (apropos-variable, apropos-face, apropos-group, apropos-widget)
7704 (apropos-plist): Add face property.
7705 (apropos-symbols-internal): Fix indentation.
7706 (apropos-print): Simplify help, and recognize apropos-multi-type.
7707 (apropos-print-doc): Use button-type-get to extract the button's
7708 face property. Fill docstring (Bug#8352).
7709
4ffd0d6b 77102011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
7711
7712 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7713
c6c32125 7714 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 7715 (mpuz-mode-map): Use mapc.
c6c32125
JB
7716 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7717 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7718 Fix typos in docstrings.
7719
58d468b4
JB
7720 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7721 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7722
6470c3c6
JB
7723 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7724
4ffd0d6b 77252011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
7726
7727 * minibuffer.el (completion--do-completion): Avoid the "Next char
7728 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7729
3ad8bad0
CY
7730 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7731 mouse-2 into unread-command-events, it is interpreted correctly.
7732
71d73c9c 7733 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 7734 (image-toggle-display): Doc fix.
71d73c9c 7735
841a1577 77362011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 7737
4ffd0d6b
GM
7738 * textmodes/page.el (what-page): Use line-number-at-pos to
7739 calculate line number (Bug#6825).
6e1dbaa9 7740
c2fb1b60
JB
77412011-04-22 Juanma Barranquero <lekktu@gmail.com>
7742
7743 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7744 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7745 Pass argument NO-DEFAULT to `find-tag-interactive'.
7746
e02f48d7
JB
77472011-04-22 Juanma Barranquero <lekktu@gmail.com>
7748
7749 Lexical-binding cleanup.
7750
7751 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7752 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7753 * progmodes/ada-prj.el (ada-prj-initialize-values)
7754 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7755 (ada-prj-show-value):
7756 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7757 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7758 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7759 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7760 * progmodes/bug-reference.el (bug-reference-push-button):
7761 * progmodes/fortran.el (fortran-line-length):
7762 * progmodes/glasses.el (glasses-change):
7763 * progmodes/octave-mod.el (octave-fill-paragraph):
7764 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7765 (python-pdbtrack-grub-for-buffer, python-sentinel):
7766 * progmodes/sql.el (sql-save-connection):
7767 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7768 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7769 Mark unused parameters.
7770
7771 * progmodes/compile.el (compilation--flush-directory-cache)
7772 (compilation--flush-parse, compile-internal): Mark unused parameters.
7773 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7774 (compilation-next-error-function): Remove unused variable `timestamp'.
7775
7776 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7777 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7778
7779 * progmodes/dcl-mode.el (dcl-end-of-command):
7780 Remove unused variable `start'.
7781 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7782 (dcl-option-value-basic, dcl-option-value-offset)
7783 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7784 Mark unused parameters.
7785 (dcl-save-local-variable): Remove unused variable `val'.
7786 (mode): Declare.
7787
7788 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7789 Mark unused parameters.
7790 (delphi-ignore-changes): Move before first use.
7791 (delphi-charset-token-at): Remove unused variable `start'.
7792 (delphi-else-start): Remove unused variable `if-count'.
7793 (delphi-comment-block-start, delphi-comment-block-end):
7794 Remove unused variable `kind'.
7795 (delphi-indent-line): Remove unused variable `new-point'.
7796
7797 * progmodes/ebrowse.el (ebrowse-files-list)
7798 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7799 Mark unused parameters. Don't quote `lambda'.
7800 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7801 Don't quote `lambda'.
7802 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7803 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7804 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7805 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7806 Use `ignore-errors'.
7807 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7808 (ebrowse-view/find-file-and-search-pattern)
7809 (ebrowse-view/find-member-declaration/definition):
7810 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7811 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7812 Rename parameter PREFIX-ARG to PREFIX.
7813 (ebrowse-tags-read-name): Remove unused variables `start' and
7814 `member-info'.
7815 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7816 to `tags-file'.
7817
7818 * progmodes/etags.el (local-find-tag-hook): Declare.
7819 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7820 Mark unused parameters.
7821
7822 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7823 (executable-interpret): Mark unused parameter.
7824
7825 * progmodes/flymake.el (flymake-process-sentinel)
7826 (flymake-after-change-function)
7827 (flymake-create-temp-with-folder-structure)
7828 (flymake-get-include-dirs-dot): Mark unused parameters.
7829 (flymake-safe-delete-directory): Remove unused variable `err'.
7830
7831 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7832 (speedbar-timer-fn, speedbar-line-text)
7833 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7834 (speedbar-center-buffer-smartly): Declare functions.
7835 (gdb-find-watch-expression): Remove unused variable `array'.
7836 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7837 (gdb-starting): Mark unused parameters.
7838 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7839 (gdb-table-string): Remove unused variable `res'.
7840 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7841 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7842 (gdb-display-buffer): Remove unused variable `cur-size'.
7843
7844 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7845 allow lexical-binding compilation.
7846 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7847 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7848 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7849 Mark unused parameters.
7850 (gud-gdb-marker-filter): Remove unused variable `match'.
7851 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7852 lambda expressions and funcall them, instead of using `fset'.
7853
7854 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7855 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7856
7857 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7858 variable `header-beg'; use `let'.
7859
7860 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7861 `restart', `last-sexp' and `at-do'.
7862
7863 * progmodes/js.el (js--debug): Mark unused parameter.
7864 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7865 (js--splice-into-items): Remove unused variable `item'.
7866 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7867
7868 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7869 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7870 (makefile-complete): Remove unused variable `try'.
7871 (makefile-fill-paragraph, makefile-match-function-end):
7872 Mark unused parameters.
7873
7874 * progmodes/octave-inf.el (inferior-octave-complete):
7875 Remove unused variable `proc'.
7876 (inferior-octave-output-digest): Mark unused parameter.
7877
7878 * progmodes/perl-mode.el (perl-calculate-indent):
7879 Remove unused variable `err'.
7880
7881 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7882 (prolog-indent-line): Mark unused parameters.
7883 (prolog-indent-line): Remove unused variable `beg'.
7884
7885 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7886 (reporter-dont-compact-list): Declare.
7887
7888 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7889 Remove unused variable `char'.
7890 (sh-debug): Mark unused parameter.
7891 (sh-get-indent-info): Remove unused variable `start'.
7892 (sh-calculate-indent): Remove unused variable `var'.
7893
7894 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7895 (simula-electric-keyword): Remove unused variable `null'.
7896 (simula-search-backward, simula-search-forward): Remove unused
7897 variables `begin' and `end'.
7898
7899 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7900 Remove unused variable `pos'.
7901 (vera-electric-tab, vera-comment-uncomment-region):
7902 Mark unused parameters.
7903 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7904
7ede3b65
CY
79052011-04-22 Chong Yidong <cyd@stupidchicken.com>
7906
7907 * emacs-lisp/package.el (package--builtins, package-alist)
7908 (package-load-descriptor, package-built-in-p, package-activate)
7909 (define-package, package-installed-p)
7910 (package-compute-transaction, package-buffer-info)
7911 (package--push): Doc fix. Distinguish more clearly between
7912 version strings and version lists.
7913
121656e9
JB
79142011-04-21 Juanma Barranquero <lekktu@gmail.com>
7915
7916 Lexical-binding cleanup.
7917
7918 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7919 (5x5-make-mutate-best):
7920 * play/fortune.el (fortune-in-buffer):
7921 * play/gomoku.el (gomoku-init-display):
7922 * play/solitaire.el (solitaire, solitaire-do-check):
7923 * play/tetris.el (tetris-default-update-speed-function):
7924 Mark unused parameters.
7925
7926 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7927 (bubbles--shift): Remove unused variable `char-org'.
7928 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7929 (bubbles--show-images): Remove unused variable `char'.
7930
7931 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7932 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7933 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7934 (decipher-analyze-buffer): Use ?\s.
7935 (decipher-make-checkpoint): Remove unused variable `mapping'.
7936
7937 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7938
7939 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7940 Remove unused variable `result'; use `let'.
7941
7942 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7943 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7944 (gametree-children-shown-p, gametree-compute-reduced-score):
7945 Use `ignore-errors'.
7946
7947 * play/handwrite.el (ps-lpr-switches): Declare.
7948 (handwrite): Remove unused variables `pmin' and `lastp'.
7949
7950 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7951
7952 * play/landmark.el (landmark-init-display)
7953 (landmark-update-naught-weights): Mark unused parameters.
7954 (landmark-y): Remove unused variable `noise'. Simplify.
7955 (landmark-human-plays): Remove unused variable `score'.
7956
7957 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7958 (mpuz-try-proposal): Remove unused variable `game'.
7959
7960 * play/zone.el (life-patterns): Declare.
7961
80f499c7
JB
79622011-04-20 Juanma Barranquero <lekktu@gmail.com>
7963
7964 * vc/vc.el (ediff-vc-internal): Declare function.
7965
024ff170
SM
79662011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7967
c0a193ea
SM
7968 * shell.el: Use lexical-binding and std completion UI.
7969 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7970 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7971 comint-preoutput-filter-functions rather than on
7972 comint-output-filter-functions.
7973 (shell-command-completion, shell--command-completion-data)
7974 (shell-filename-completion, shell-environment-variable-completion)
7975 (shell-c-a-p-replace-by-expanded-directory): New functions.
7976 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7977 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7978 (shell-dynamic-complete-environment-variable): Use them.
7979 (shell-dynamic-complete-as-environment-variable)
7980 (shell-dynamic-complete-as-command): Remove.
7981 (shell-match-partial-variable): Match past point.
7982 * comint.el: Clean up use of completion-at-point-functions.
7983 (comint-completion-at-point): New function.
7984 (comint-mode): Use it completion-at-point-functions.
7985 (comint-dynamic-complete): Make it obsolete.
7986 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7987 (comint-c-a-p-replace-by-expanded-history): New function.
7988 (comint-dynamic-complete-functions)
7989 (comint-replace-by-expanded-history): Use it.
7990 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7991 termination strings. Try harder to avoid second try-completion.
7992 (completion-in-region-mode-map): Disable bindings that don't work yet.
7993
2dbaa080
SM
7994 * comint.el: Use lexical-binding. Require CL.
7995 (comint-dynamic-complete-functions): Use comint-filename-completion.
7996 (comint-completion-addsuffix): Tweak custom type.
7997 (comint-filename-completion, comint--common-suffix)
7998 (comint--common-quoted-suffix, comint--table-subvert)
7999 (comint--complete-file-name-data): New functions.
8000 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8001 (comint-dynamic-list-filename-completions): Use them.
8002 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8003
2dbaa080
SM
8004 * minibuffer.el (completion-in-region-mode):
8005 Keep completion-in-region-mode--predicate global.
8006 (completion-in-region--postch):
8007 Assume completion-in-region-mode--predicate is not null.
8008
c79a6f38
SM
8009 * progmodes/flymake.el (flymake-start-syntax-check-process):
8010 Obey `dir'. Simplify.
8011
024ff170
SM
8012 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8013 we're in VC after all.
8014
1c6c854e
CS
80152011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8016
8017 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8018 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8019 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8020
bed7f140
SM
80212011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8022
332e62ab
SM
8023 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8024 add sanity check.
8025
bed7f140
SM
8026 * obsolete/erc-hecomplete.el: Make obsolete.
8027 * obsolete/: Standardize obsolescence info in the header.
8028
f195c582
GM
80292011-04-20 Glenn Morris <rgm@gnu.org>
8030
8031 * calendar/solar.el (solar-horizontal-coordinates):
8032 Use the longitude argument rather than `calendar-longitude'.
8033 (solar-date-next-longitude): Remove unused locals.
8034
cb79b8c0
VJL
80352011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8036
8037 * whitespace.el: New version 13.2.1.
8038
80392011-04-20 felix <EmacsWiki> (tiny change)
8040
d8e4b68b 8041 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8042 switching between major modes on a file.
8043
602ea69d
SM
80442011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8045
8046 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8047 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8048 multi-line comments as well.
8049
06b60517
JB
80502011-04-19 Juanma Barranquero <lekktu@gmail.com>
8051
8052 Lexical-binding cleanup.
8053
8054 * arc-mode.el (archive-mode-revert):
8055 * cmuscheme.el (scheme-interactively-start-process):
8056 * custom.el (custom-initialize-delay):
8057 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8058 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8059 * emacs-lock.el (emacs-lock-clear-sentinel):
8060 * ezimage.el (defezimage):
8061 * follow.el (follow-avoid-tail-recenter):
8062 * fringe.el (set-fringe-mode-1):
8063 * generic-x.el (bat-generic-mode-compile):
8064 * help-mode.el (help-info-variable, help-do-xref)
8065 (help-mode-revert-buffer):
8066 * help.el (view-emacs-todo):
8067 * iswitchb.el (iswitchb-completion-help):
8068 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8069 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8070 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8071 * locate.el (locate-update):
8072 * longlines.el (longlines-encode-region)
8073 (longlines-after-change-function):
8074 * outline.el (outline-isearch-open-invisible):
8075 * ps-def.el (declare-function, charset-dimension, char-width)
8076 (encode-char):
8077 * ps-mule.el (ps-mule-plot-string):
8078 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8079 (recentf-edit-list-select, recentf-edit-list-validate)
8080 (recentf-open-files-action):
8081 * rect.el (delete-whitespace-rectangle-line)
8082 (rectangle-number-line-callback):
8083 * register.el (window-configuration-to-register)
8084 (frame-configuration-to-register):
8085 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8086 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8087 (xselect-convert-to-targets, xselect-convert-to-delete)
8088 (xselect-convert-to-filename, xselect-convert-to-charpos)
8089 (xselect-convert-to-lineno, xselect-convert-to-colno)
8090 (xselect-convert-to-os, xselect-convert-to-host)
8091 (xselect-convert-to-user, xselect-convert-to-class)
8092 (xselect-convert-to-name, xselect-convert-to-integer)
8093 (xselect-convert-to-atom, xselect-convert-to-identity):
8094 * subr.el (declare, ignore, process-kill-without-query)
8095 (text-clone-maintain):
8096 * terminal.el (te-get-char, te-tic-sentinel):
8097 * tool-bar.el (tool-bar-make-keymap):
8098 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8099 * type-break.el (type-break-mode, type-break-noninteractive-query):
8100 * view.el (View-back-to-mark):
8101 * wid-browse.el (widget-browse-action, widget-browse-widget)
8102 (widget-browse-widgets, widget-browse-sexp):
8103 * widget.el (define-widget-keywords):
8104 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8105 Mark unused parameters.
8106
8107 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8108 (align-areas): Remove unused variable `look'.
8109 (align-region): Remove unused variables `real-end' and `pos-list'.
8110
8111 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8112
8113 * bindings.el (mode-line-modified, mode-line-remote):
8114 Mark unused parameters.
8115 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8116
8117 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8118 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8119
8120 * comint.el (comint-history-isearch-pop-state)
8121 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8122 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8123 (comint-substitute-in-file-name): Doc fix.
8124
8125 * completion.el (cmpl-statistics-block): Mark unused parameter.
8126 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8127 (save-completions-to-file, load-completions-from-file):
8128 Remove unused local variable `e'.
8129
8130 * composite.el (compose-chars): Remove unused variable `len'.
8131 (lgstring-insert-glyph): Remove unused variable `g'.
8132 (compose-glyph-string): Remove unused variables `ascent',
8133 `descent', `lbearing' and `rbearing'.
8134 (compose-glyph-string-relative): Remove unused variables
8135 `lbearing', `rbearing' and `wadjust'.
8136 (compose-gstring-for-graphic): Remove unused variables `header',
8137 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8138 (compose-gstring-for-terminal): Remove unused variables `header'
8139 and `nchars'. Use `let', not `let*'.
8140
8141 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8142 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8143 (Custom-buffer-done, custom-buffer-create-internal)
8144 (custom-browse-visibility-action, custom-browse-group-tag-action)
8145 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8146 (widget-magic-mouse-down-action, custom-toggle-parent)
8147 (custom-add-parent-links, custom-toggle-hide-variable)
8148 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8149 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8150 (custom-face-menu-create, custom-variable-menu-create, get)
8151 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8152 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8153 (customize-apropos): Remove unused variable `tests'.
8154 (custom-group-value-create): Remove unused variable `hidden-p'.
8155 (sort-fold-case): Declare.
8156
8157 * cus-theme.el (custom-reset-standard-faces-list)
8158 (custom-reset-standard-variables-list): Declare.
8159 (customize-create-theme, custom-theme-revert, custom-theme-write)
8160 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8161 Mark unused parameters.
8162
8163 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8164
8165 * delim-col.el (delimit-columns-max): Move defvar before first use.
8166
8167 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 8168 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
8169
8170 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8171 (auto-insert): Declare.
8172 (desktop-restore-file-buffer): Rename desktop-* parameters;
8173 mark unused ones.
8174 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8175 (desktop-buffer): Rename desktop-* parameters.
8176
8177 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8178 (dframe-reposition-frame-xemacs, dframe-help-echo)
8179 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8180 Mark unused parameters.
8181
8182 * dired-aux.el (backup-extract-version-start, overwrite-query)
8183 (overwrite-backup-query, rename-regexp-query)
8184 (rename-non-directory-query): Declare.
8185 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8186 (dired-add-entry): Remove unused variable `orig-file-name'.
8187 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8188 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8189 `dired-copy-preserve-time' directly.
8190 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8191 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8192
8193 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8194 (dired-virtual-revert, dired-make-relative-symlink):
8195 Mark unused parameters.
8196 (manual-program): Declare.
8197 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8198 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8199 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8200
8201 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8202
8203 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8204
8205 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8206 Declare.
8207
8208 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8209
8210 * electric.el (Electric-command-loop): Rename parameter
8211 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8212
8213 * expand.el (expand-in-literal): Remove unused variable `here'.
8214
8215 * facemenu.el (facemenu-add-new-color):
8216 Remove unused variable `docstring'.
8217
8218 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8219 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8220 (face-attr-construct): Mark unused parameter. Doc fix.
8221 (read-color): Remove unused variable `hex-string'.
8222
8223 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8224 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8225 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8226 (display-buffer-other-frame): Remove unused variable `old-window'.
8227 (kill-buffer-hook): Declare.
8228 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8229 Mark unused parameters.
8230 (after-find-file): Pass 1 to `auto-save-mode', not t.
8231
8232 * files-x.el (auto-insert): Declare.
8233 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8234
8235 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8236 variable `buf'. Mark unused parameter.
06b60517
JB
8237 (find-lisp-insert-directory): Mark unused parameter.
8238
8239 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8240 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8241 (format-common-tail): Remove, unused.
8242 (format-deannotate-region): Remove unused variable `loc'.
8243 (format-annotate-region): Remove unused variable `p'.
8244 (format-annotate-single-property-change): Remove unused variables
8245 `default' and `tail'.
8246
8247 * forms.el (read-file-filter): Declare.
8248 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8249
8250 * frame.el (frame-creation-function-alist): Mark unused parameter.
8251 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8252
8253 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8254 Remove unused parameters.
8255 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8256 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8257
8258 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8259 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8260 (hfy-prepare-tag-map): Mark unused parameters.
8261 (htmlfontify-buffer): Use `called-interactively-p'.
8262
8263 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8264 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8265 (ibuffer-do-occur): Mark unused parameters.
8266 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8267 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8268
8269 * ibuffer.el: Don't quote `lambda'.
8270 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8271 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8272 Mark unused parameters.
8273
8274 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8275 (ido-completing-read): Mark unused parameters.
8276 (ido-copy-current-word): Mark unused parameters;
8277 remove unused variable `name'.
8278 (ido-sort-merged-list): Remove unused parameter `dirs'.
8279
8280 * ielm.el (ielm-input-sender): Mark unused parameter.
8281 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8282 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8283 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8284 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8285 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8286
8287 * image-dired.el (image-dired-display-thumbs): Remove unused
8288 variables `curr-file' and `count'.
8289 (image-dired-remove-tag): Remove unused variable `start'.
8290 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8291 variable `curr-file'
8292 (image-dired-rotate-original): Remove unused variable `temp-file'.
8293 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8294 Remove unused variable `file'.
8295 (image-dired-gallery-generate): Remove unused variable `curr'.
8296 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8297
8298 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8299
8300 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8301
8302 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8303
8304 * isearch.el (minibuffer-history-symbol): Declare.
8305 (isearch-edit-string): Remove unused variable `err'.
8306 (isearch-message-prefix, isearch-message-suffix):
8307 Mark unused parameters.
8308
8309 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8310
8311 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8312
8313 * makesum.el (double-column): Remove unused variable `cnt'.
8314
8315 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8316 (ido-ignore-item-temp-list): Declare.
8317
8318 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8319 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8320 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8321 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8322 `mouse-col-delta'.
8323
8324 * mouse-sel.el (mouse-extend-internal):
8325 Remove unused variable `orig-window-frame'.
8326
8327 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8328 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8329 Move declarations before first use.
8330 (pcomplete-opt): Mark unused parameters; doc fix.
8331
8332 * proced.el (proced-revert): Mark unused parameter.
8333 (proced-send-signal): Remove unused variable `err'.
8334
8335 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8336 Rename parameter PREFIX-ARG to ARG.
8337 (ps-basic-plot-string, ps-basic-plot-whitespace):
8338 Mark unused parameters.
8339
8340 * replace.el (replace-count): Define.
8341 (occur-revert-function): Mark unused parameters.
8342 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8343 (isearch-case-fold-search, isearch-string): Declare.
8344 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8345 bind `case-fold-search'. Remove unused variables `beg' and `end',
8346 and simplify.
8347 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8348 COUNT and bind `replace-count'.
8349 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8350 to COUNT.
8351
8352 * savehist.el (print-readably, print-string-length): Declare.
8353
8354 * shadowfile.el (shadow-expand-cluster-in-file-name):
8355 Remove unused variable `cluster'.
8356 (shadow-copy-file): Remove unused variable `i'.
8357 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8358 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8359 (shadow-define-literal-group, shadow-define-regexp-group)
8360 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8361
8362 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8363 (shell): Use `called-interactively-p'.
8364 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8365
8366 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8367 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8368 (delete-backward-char): Remove unused variable `ocol'.
8369 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8370 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8371 (event-apply-hyper-modifier, event-apply-shift-modifier)
8372 (event-apply-control-modifier, event-apply-meta-modifier):
8373 Mark unused parameters.
8374 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8375 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8376
8377 * speedbar.el (speedbar-ignored-directory-expressions)
8378 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8379 (speedbar-find-file, speedbar-dir-follow)
8380 (speedbar-directory-buttons-follow, speedbar-tag-find)
8381 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8382 (speedbar-buffers-line-directory, speedbar-buffer-click):
8383 Mark unused parameters.
8384 (speedbar-tag-file): Remove unused variable `mode'.
8385 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8386
8387 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8388
8389 * talk.el (talk): Remove unused variable `display'.
8390
8391 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8392 (tar-write-region-annotate): Mark unused parameter.
8393
8394 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8395 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8396 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8397 warning by another.
8398
8399 * time-stamp.el (time-stamp-string-preprocess):
8400 Remove unused variable `require-padding'.
8401
8402 * tree-widget.el (widget-glyph-enable): Declare.
8403 (tree-widget-action): Mark unused parameter.
8404
8405 * w32-fns.el (x-get-selection): Mark unused parameter.
8406 (autoload-make-program, generated-autoload-file): Declare.
8407
8408 * wdired.el (wdired-revert): Mark unused parameters.
8409 (wdired-xcase-word): Remove unused variable `err'.
8410
8411 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8412 (whitespace-help-scroll): Remove unused variable `data-help'.
8413
8414 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8415 (widget-image-insert, widget-after-change, default)
8416 (widget-default-format-handler, widget-default-notify)
8417 (widget-default-prompt-value, widget-info-link-action)
8418 (widget-url-link-action, widget-function-link-action)
8419 (widget-variable-link-action, widget-file-link-action)
8420 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8421 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8422 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8423 (widget-insert-button-action, widget-delete-button-action, visibility)
8424 (widget-documentation-link-action, widget-documentation-string-action)
8425 (widget-const-prompt-value, widget-regexp-match, symbol)
8426 (widget-coding-system-prompt-value)
8427 (widget-key-sequence-value-to-external, sexp)
8428 (widget-sexp-value-to-internal, character, vector, cons)
8429 (widget-choice-prompt-value, widget-boolean-prompt-value)
8430 (widget-color--choose-action): Mark unused parameters.
8431 (widget-item-match-inline, widget-choice-match-inline)
8432 (widget-checklist-match, widget-checklist-match-inline)
8433 (widget-group-match): Rename parameter VALUES to VALS.
8434 (widget-field-value-set): Remove unused variable `size'.
8435 (widget-color-action): Remove unused variables `value' and `start'.
8436
8437 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 8438 variable `dir'. Doc fix.
06b60517
JB
8439 (windmove-find-other-window): Don't pass it.
8440
8441 * window.el (count-windows): Mark unused parameter.
8442 (bw-adjust-window): Remove unused variable `err'.
8443
8444 * woman.el (woman-file-name): Remove unused variable `default'.
8445 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8446 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8447 (global-font-lock-mode): Declare.
8448 (woman-decode-region): Mark unused parameter.
8449 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8450
8451 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8452 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8453 (x-dnd-handle-moz-url): Remove unused variable `title'.
8454 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8455
8456 * xml.el (xml-parse-tag, xml-parse-attlist):
8457 Remove unused variable `pos'.
8458
bc4f7f3d
GM
84592011-04-19 Glenn Morris <rgm@gnu.org>
8460
8461 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8462 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8463 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8464 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8465 * calendar/cal-html.el (cal-html-insert-minical):
8466 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8467 (calendar-mark-date-pattern):
8468 Prefix "unused" locals.
8469
8470 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8471 optional argument `style'.
8472
8473 * calendar/appt.el (appt-make-list):
8474 * calendar/cal-china.el (calendar-chinese-date-string):
8475 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8476 (diary-hebrew-yahrzeit):
8477 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8478 * calendar/calendar.el (calendar-generate-window):
8479 * calendar/time-date.el (time-to-days):
8480 Remove unused local variables.
8481
16a43933
CY
84822011-04-18 Chong Yidong <cyd@stupidchicken.com>
8483
8484 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8485 glyphless-char-display table.
8486 (tabulated-list-glyphless-char-display): New var.
8487
7eed1860
SS
84882011-04-18 Sam Steingold <sds@gnu.org>
8489
8490 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
8491 to acknowledgments.
8492
4d2d1ccd
GM
84932011-04-17 Glenn Morris <rgm@gnu.org>
8494
8495 * calendar/diary-lib.el (diary-sexp-entry):
8496 * calendar/holidays.el (holiday-sexp):
8497 Set debug-on-error rather than the removed stack-trace-on-error.
8498
239da61d
GM
84992011-04-16 Glenn Morris <rgm@gnu.org>
8500
8501 * progmodes/f90.el: Use lexical-binding.
8502 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
8503
8b05752a
SM
85042011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8505
daca8ba5
SM
8506 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
8507 (mail-mode): Setup mailalias completion here instead.
8508 * mail/mailalias.el: Use lexical-binding.
8509 (pattern, mailalias-done): Declare dynamic.
8510 (mail-completion-at-point-function): New function, from mail-complete.
8511 (mail-complete): Use it.
8512 (mail-completion-expand): New function.
8513 (mail-get-names): Use it.
8514 (mail-directory, mail-directory-process, mail-directory-stream):
8515 Don't use `pattern' for lexically bound arg.
8516
6f542485
SM
8517 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
8518
037e7c3f
SM
8519 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
8520 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
8521 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
8522
8b05752a
SM
8523 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
8524 (byte-save-window-excursion, byte-temp-output-buffer-setup)
8525 (byte-interactive-p): Define them again, for use when inlining
8526 old code.
8527
49093f60
JB
85282011-04-15 Juanma Barranquero <lekktu@gmail.com>
8529
8530 * loadup.el: Use `string-to-number', not `string-to-int'.
8531
b5b8e7de
SM
85322011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8535 gud-gdb-complete-command.
8536 (gud-gdb-completions): New function, from gud-gdb-complete-command.
8537 (gud-gdb-completion-at-point): New function.
8538 (gud-gdb-completions): Remove.
8539
f42efeb5
MA
85402011-04-14 Michael Albinus <michael.albinus@gmx.de>
8541
49093f60
JB
8542 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8543 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
8544 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8545 whether `executable-find' is bound.
f42efeb5
MA
8546
8547 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8548
e240cc21
SM
85492011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8550
8551 * minibuffer.el (completion-in-region-mode-predicate)
8552 (completion-in-region-mode--predicate): New vars.
8553 (completion-in-region, completion-in-region--postch)
8554 (completion-in-region-mode): Use them.
8555 (completion--capf-wrapper): Also return the hook function.
8556 (completion-at-point, completion-help-at-point):
8557 Adjust and provide a predicate.
c2bd2ab0
SM
8558
8559 Preserve arg names for advice of subr and lexical functions (bug#8457).
8560 * help-fns.el (help-function-arglist): Consolidate the subr and
8561 new-byte-code cases. Add argument `preserve-names' to extract names
8562 from the docstring when needed.
8563 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8564 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8565 (ad-arglist): Use help-function-arglist's new arg.
8566 (ad-definition-type): Use cond.
8567
c183f693
JB
85682011-04-13 Juanma Barranquero <lekktu@gmail.com>
8569
06641a47
JB
8570 * autorevert.el (auto-revert-handler):
8571 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8572 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8573 Don't quote lambda.
8574
c183f693
JB
8575 * image-mode.el (image-transform-set-scale):
8576 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8577
1e3b6001
G
85782011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8579
8580 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 8581 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
8582 Upgrades via gnutls-cli are too slow to be done opportunistically.
8583
2d6af8dd
JB
85842011-04-12 Juanma Barranquero <lekktu@gmail.com>
8585
8586 * dframe.el (dframe-current-frame): Remove spurious quote.
8587
c0749a51
GM
85882011-04-12 Glenn Morris <rgm@gnu.org>
8589
088d0d61
GM
8590 * calendar/cal-tex.el (cal-tex-end-document):
8591 Try to automatically use latin1 input if needed.
8592
c0749a51
GM
8593 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8594 Don't try to cons a mark onto an empty element.
8595
5c90fde0
LL
85962011-04-11 Leo Liu <sdl.web@gmail.com>
8597
8598 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8599 buffers.
8600 (ido-kill-buffer-at-head): Support killing virtual buffers.
8601
369e974d
CY
86022011-04-10 Chong Yidong <cyd@stupidchicken.com>
8603
8604 * minibuffer.el (completion-show-inline-help): New var.
8605 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
8606 (minibuffer-force-complete, minibuffer-complete-word):
8607 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
8608
8609 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8610 to avoid interference from inline help (Bug#5849).
8611
37f1c930
LL
86122011-04-10 Leo Liu <sdl.web@gmail.com>
8613
099c39a4
JB
8614 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8615 Fix typo.
37f1c930 8616
a32d4040
CY
86172011-04-09 Chong Yidong <cyd@stupidchicken.com>
8618
8619 * image-mode.el (image-toggle-display-image): Signal an error if
8620 not in Image mode.
8621 (image-transform-mode, image-transform-resize)
8622 (image-transform-set-rotation): Doc fix.
daca8ba5 8623 (image-transform-set-resize): Delete.
a32d4040
CY
8624 (image-transform-set-scale, image-transform-fit-to-height)
8625 (image-transform-fit-to-width): Handle image-toggle-display-image
8626 and image-transform-resize directly.
8627
099c39a4 86282011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
8629
8630 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
8631 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8632 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
8633 (doc-view-mode-map): Add bindings for the new functions.
8634
099c39a4 86352011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 8636
4d61f28d 8637 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
8638 Fix typo in docstring.
8639
3726838a
EZ
86402011-04-08 Eli Zaretskii <eliz@gnu.org>
8641
04f33f1e
EZ
8642 * files.el (file-size-human-readable): Produce one digit after
8643 decimal, like "ls -lh" does.
8644
8645 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8646 the file size representation.
8647
3726838a
EZ
8648 * simple.el (list-processes): If async subprocesses are not
8649 available, error out with a clear error message.
8650
cbb59342
CY
86512011-04-08 Chong Yidong <cyd@stupidchicken.com>
8652
8653 * help.el (help-form-show): New function, to be called from C.
8654 Put help-form output in a buffer named differently than *Help*.
8655
e3971c44
EZ
86562011-04-08 Eli Zaretskii <eliz@gnu.org>
8657
8658 * files.el (file-size-human-readable): New function.
8659
8660 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8661 computing the representation inline. Don't require `cl'.
8662
12544bbe
GM
86632011-04-08 Glenn Morris <rgm@gnu.org>
8664
a1de6c6a
GM
8665 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8666
3c4671f4
GM
8667 * net/browse-url.el (browse-url-firefox):
8668 Test system-type, not system-configuration.
8669
b605679c
GM
8670 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8671 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8672 Use log-edit-empty-buffer-p. (Bug#7598)
8673
56442f0c
GM
8674 * net/rlogin.el (rlogin-process-connection-type): Simplify.
8675 (rlogin-mode-map): Initialize in the defvar.
8676 (rlogin): Use ignore-errors.
8677
12544bbe
GM
8678 * replace.el (occur-mode-map): Some fixes for menu items.
8679
eb237b0f
AH
86802011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8681
8682 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
8683
7d668f2c
CY
86842011-04-06 Chong Yidong <cyd@stupidchicken.com>
8685
e67a13ab
CY
8686 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8687 issuing unused warnings.
8688
8689 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8690 macro directly.
8691
7d668f2c
CY
8692 * simple.el: Lisp reimplement of list-processes. Based on an
8693 earlier reimplementation by Leo Liu, but using tabulated-list.el.
8694 (process-menu-mode): New major mode.
8695 (list-processes--refresh, list-processes):
8696 (process-menu-visit-buffer): New functions.
8697
8698 * files.el (save-buffers-kill-emacs): Don't assume any return
8699 value of list-processes, which is undocumented anyway.
8700
a83ec3c9
CY
87012011-04-06 Chong Yidong <cyd@stupidchicken.com>
8702
8703 * emacs-lisp/tabulated-list.el: New file.
8704
e91a96fe
CY
8705 * emacs-lisp/package.el: Use Tabulated List mode.
8706 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8707 (package-menu-mode): Derive from tabulated-list-mode. Set up the
8708 table format using Tabulated List mode variables.
8709 (package--push): New macro, replacing package-list-maybe-add.
8710 (package-menu--generate): Use package--push. Renamed from
8711 package--generate-package-list.
8712 (package-menu-refresh, list-packages): Use it.
daca8ba5 8713 (package-menu--print-info): Rename from package-print-package.
e91a96fe 8714 Return insertion data instead of inserting it directly.
099c39a4
JB
8715 (package-menu-describe-package, package-menu-execute):
8716 Use tabulated-list-get-id.
e91a96fe
CY
8717 (package-menu-mark-delete, package-menu-mark-install)
8718 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
8719 (package-menu-mark-obsolete-for-deletion):
8720 Use tabulated-list-put-tag.
e91a96fe
CY
8721 (package--list-packages, package-menu-revert)
8722 (package-menu-get-package, package-menu-get-version)
8723 (package-menu-sort-by-column): Functions deleted.
8724 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8725 (package-menu--status-predicate, package-menu--version-predicate)
8726 (package-menu--name-predicate)
8727 (package-menu--description-predicate): Handle arguments in the
8728 Tabulated List format.
8729 (package-list-packages-no-fetch): Call list-packages.
8730
3e214b50
JB
87312011-04-06 Juanma Barranquero <lekktu@gmail.com>
8732
8733 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 8734 (after-find-file): Don't bind it.
3e214b50
JB
8735 (revert-buffer-in-progress-p): New variable.
8736 (revert-buffer): Bind it.
8737 Pass nil for `after-find-file-from-revert-buffer'.
8738
8739 * saveplace.el (save-place-find-file-hook): Use new variable
8740 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8741
3f0f1700
GM
87422011-04-06 Glenn Morris <rgm@gnu.org>
8743
c0274801
GM
8744 * Makefile.in (AUTOGEN_VCS): New variable.
8745 (autoloads): Use $AUTOGEN_VCS.
8746
3f0f1700
GM
8747 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8748 * calendar/calendar.el (calendar-mode-map):
8749 Check for toolkit scroll bars. (Bug#8305)
8750
41ea9e48
CY
87512011-04-05 Chong Yidong <cyd@stupidchicken.com>
8752
8753 * minibuffer.el (completion-in-region--postch)
8754 (completion-in-region-mode): Remove unnecessary messages.
8755
6194c800
JB
87562011-04-05 Juanma Barranquero <lekktu@gmail.com>
8757
33256f14
JB
8758 * font-lock.el (font-lock-refresh-defaults):
8759 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8760 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8761
6194c800
JB
8762 * info.el (Info-directory-list, Info-read-node-name-2)
8763 (Info-split-parameter-string): Doc fixes.
8764 (Info-virtual-nodes): Reflow docstring.
8765 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8766 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8767 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8768 Fix typos in docstrings.
8769 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8770 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8771 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8772 (Info-restore-desktop-buffer): Mark unused parameters.
8773 (Info-directory-find-file, Info-directory-find-node)
8774 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8775 (Info-virtual-index-find-node, Info-apropos-find-file)
8776 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 8777 Mark unused parameters; fix typos in docstrings.
6194c800
JB
8778 (Info-virtual-index): Remove unused local variable `nodename'.
8779
b87a8200 87802011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 8781
b87a8200
DD
8782 * net/rcirc.el: Update my e-mail address.
8783 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 8784
3b2ff876
CY
87852011-04-05 Chong Yidong <cyd@stupidchicken.com>
8786
8787 * startup.el (command-line): Save the cursor's theme-face
8788 directly, instead of using face-override-spec.
8789
8790 * custom.el (load-theme): Minor optimization in assigning faces.
8791
8d17e7ca
JB
87922011-04-04 Juanma Barranquero <lekktu@gmail.com>
8793
8794 * help-fns.el (describe-variable): Complete all variables having
8795 documentation, including keywords.
8796 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8797
2fbc1934
JB
87982011-04-04 Juanma Barranquero <lekktu@gmail.com>
8799
8800 Convert to lexical-binding.
8801
8802 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8803 (bs--get-marked-string, bs--get-modified-string)
8804 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8805 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8806 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8807
8808 * ehelp.el (electric-help-execute-extended)
8809 (electric-help-ctrl-x-prefix):
8810 * hexl.el (hexl-revert-buffer-function):
8811 * linum.el (linum-after-change, linum-after-scroll):
8812 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8813
8814 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8815
74f50695
DU
88162011-04-04 Daiki Ueno <ueno@unixuser.org>
8817
8818 * epa-dired.el:
8819 * epa-mail.el:
8820 * epa-hook.el:
8821 * epa-file.el:
8822 * epa.el:
8823 * epg.el: Use lexical binding.
8824
c11325f7
CY
88252011-04-03 Chong Yidong <cyd@stupidchicken.com>
8826
0d9e9a12
CY
8827 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8828
c11325f7 8829 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
8830 dictionary case for flyspell-mark-duplications-exceptions.
8831 Use regexp matching for languages.
c11325f7
CY
8832 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8833 default dictionary (Bug#7926).
8834
da91b5f2
CY
88352011-04-02 Chong Yidong <cyd@stupidchicken.com>
8836
099c39a4
JB
8837 * emacs-lisp/package.el (package--with-work-buffer):
8838 Recognize https URLs.
da91b5f2 8839
099c39a4
JB
8840 * net/network-stream.el: Move from gnus/proto-stream.el.
8841 Change prefix to network-stream throughout.
da91b5f2
CY
8842 (open-protocol-stream): Merge into open-network-stream, leaving
8843 open-protocol-stream as an alias. Handle nil BUFFER args.
8844
8845 * subr.el (open-network-stream): Move to net/network-stream.el.
8846
afa8e9f6
GM
88472011-04-02 Glenn Morris <rgm@gnu.org>
8848
1d2e369d
GM
8849 * find-dired.el (find-exec-terminator): New option.
8850 (find-ls-option): Test for -ls support.
8851 (find-ls-subdir-switches): Test for -b in find-ls-option.
8852 (find-dired, find-grep-dired): Doc fixes.
8853 (find-dired): Use find-exec-terminator.
8854
8abb7da8 8855 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
8856 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8857 (find-name-arg): Remove purecopy.
8abb7da8 8858
f3ca7378
GM
8859 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8860 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8861 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8862 accordingly. Don't add the null-device if not needed.
8863
afa8e9f6
GM
8864 * files.el (save-some-buffers): Doc fix.
8865
35eae264
EZ
88662011-04-02 Eli Zaretskii <eliz@gnu.org>
8867
8868 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8869
26b51db5
JB
88702011-04-01 Juanma Barranquero <lekktu@gmail.com>
8871
8872 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8873 Use `dolist' rather than `mapcar'.
8874
7200d79c
SM
88752011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8876
03408648 8877 Add lexical binding.
7200d79c 8878
03408648
SM
8879 * subr.el (apply-partially): Use new closures rather than CL.
8880 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8881 (dolist, dotimes): Use slightly different expansion for lexical code.
8882 (functionp): Move to C.
8883 (letrec): New macro.
8884 (with-wrapper-hook): Use it and apply-partially instead of CL.
8885 (eval-after-load): Preserve lexical-binding.
8886 (save-window-excursion, with-output-to-temp-buffer): Turn them
8887 into macros.
7200d79c 8888
03408648
SM
8889 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8890
8891 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8892 than the arglist.
8893 (help-add-fundoc-usage): Don't add `Not documented'.
8894 (help-function-arglist): Handle closures, subroutines, and new
8895 byte-code-functions.
8896 (help-make-usage): Remove leading underscores.
8897 (describe-function-1): Handle closures.
8898 (describe-variable): Use special-variable-p for completion.
8899
8900 * files.el (lexical-binding): Declare safe.
f488fb65 8901
03408648
SM
8902 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8903 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8904 (pcase): Add `let' pattern.
8905 Change memoization so it actually works.
8906 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8907 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8908 <let>: New case.
f488fb65 8909
03408648
SM
8910 * emacs-lisp/macroexp.el: Use lexical binding.
8911 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8912 Don't convert ' to #' without checking that it's indeed quoting
8913 a lambda.
8914
8915 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 8916 Use eval-sexp-add-defvars.
03408648
SM
8917 (eval-sexp-add-defvars): New fun.
8918
8919 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8920
8921 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8922 Don't autoload.
8923 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8924 than the internal `byte-compile-lambda'.
8925 (defmethod): Don't hide code under quotes.
8926 (eieio-defmethod): New `code' argument.
8927
8928 * emacs-lisp/eieio-comp.el: Remove.
8929
8930 * emacs-lisp/edebug.el (edebug-eval-defun)
8931 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8932 (edebug-toggle): Avoid `eval'.
8933
8934 * emacs-lisp/disass.el (disassemble-internal): Handle new
8935 `closure' objects.
8936 (disassemble-1): Handle new byte codes.
8937
8938 * emacs-lisp/cl.el (pushnew): Silence warning.
8939
8940 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8941 (cl-byte-compile-throw): Remove.
8942 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8943
8944 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8945 closures.
8946
8947 * emacs-lisp/cconv.el: New file.
8948
8949 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8950 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8951 (byte-compile-initial-macro-environment):
8952 Handle declare-function here.
8953 (byte-compile--lexical-environment): New var.
8954 (byte-stack-ref, byte-stack-set, byte-discardN)
8955 (byte-discardN-preserve-tos): New lap codes.
8956 (byte-interactive-p): Don't use any more.
8957 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8958 New macros.
8959 (byte-compile-lapcode): Use them and handle new lap codes.
8960 (byte-compile-obsolete): Remove.
8961 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8962 (byte-compile-arglist-warn): Check late def of inlinable funs.
8963 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8964 since they should have been expanded by now.
8965 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8966 (byte-compile-from-buffer): Remove unused second arg.
8967 (byte-compile-preprocess): New function.
8968 (byte-compile-toplevel-file-form): New function to distinguish
8969 file-form calls from outside from file-form calls from hunk-handlers.
8970 (byte-compile-file-form): Simplify.
8971 (byte-compile-file-form-defsubst): Remove.
8972 (byte-compile-file-form-defmumble): Simplify now that
8973 byte-compile-lambda always returns a byte-code-function.
8974 (byte-compile): Preprocess.
8975 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8976 Remove, not used any more.
8977 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8978 (byte-compile-make-args-desc): New funs.
8979 (byte-compile-lambda): Handle lexical functions. Always return
8980 a byte-code-function.
8981 (byte-compile-reserved-constants): New var, to make up room for
8982 closed-over variables.
8983 (byte-compile-constants-vector): Obey it.
8984 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8985 (byte-compile-macroexpand-declare-function): New function.
8986 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8987 byte-code-functions.
8988 (byte-compile-form): Check obsolescence here.
8989 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8990 (byte-compile-variable-ref): Remove.
8991 (byte-compile-dynamic-variable-op): New fun.
8992 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8993 (byte-compile-variable-set): New funs.
8994 (byte-compile-discard): Add 2 args.
8995 (byte-compile-stack-ref, byte-compile-stack-set)
8996 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8997 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8998 macroexpand-all instead.
8999 (byte-compile-quote-form): Remove.
9000 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9001 (byte-compile-bind, byte-compile-unbind): New funs.
9002 (byte-compile-let): Handle let* and lexical binding.
9003 (byte-compile-let*): Remove.
9004 (byte-compile-catch, byte-compile-unwind-protect)
9005 (byte-compile-track-mouse, byte-compile-condition-case):
9006 Handle a new :fun-body form, used for lexical scoping.
9007 (byte-compile-save-window-excursion)
9008 (byte-compile-with-output-to-temp-buffer): Remove.
9009 (byte-compile-defun): Simplify.
9010 (byte-compile-stack-adjustment): New fun.
9011 (byte-compile-out): Use it.
9012 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9013
9014 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9015 handler any more.
9016
9017 * emacs-lisp/byte-opt.el: Use lexical binding.
9018 (byte-inline-lapcode): Remove (to bytecomp).
9019 (byte-compile-inline-expand): Pay attention to inlining to/from
9020 lexically bound code.
9021 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9022 any more.
9023 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9024 any more and don't call compiler-macros.
9025 (byte-compile-splice-in-already-compiled-code): Remove.
9026 (byte-code): Don't inline any more.
9027 (disassemble-offset): Receive `bytes' as argument rather than via
9028 dynamic scoping.
9029 (byte-compile-tag-number): Declare before first use.
9030 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9031 `return' even if make-spliceable.
9032 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9033 obsolete interactive-p.
9034 (byte-optimize-lapcode): Optimize new lap-codes.
9035 Don't trip up on new form of `byte-constant' lap code.
9036
9037 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9038
9039 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9040
9041 * custom.el (custom-initialize-default, custom-declare-variable):
9042 Use `defvar'.
9043
9044 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9045 New variables.
9046 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9047 (COMPILE_FIRST): Add macroexp and cconv.
9048 * makefile.w32-in: Mirror changes in Makefile.in.
9049
9050 * vc/cvs-status.el:
9051 * vc/diff-mode.el:
9052 * vc/log-edit.el:
9053 * vc/log-view.el:
9054 * vc/smerge-mode.el:
9055 * textmodes/bibtex-style.el:
9056 * textmodes/css.el:
9057 * startup.el:
9058 * uniquify.el:
da91b5f2
CY
9059 * minibuffer.el:
9060 * newcomment.el:
9061 * reveal.el:
9062 * server.el:
9063 * mpc.el:
9064 * emacs-lisp/smie.el:
9065 * doc-view.el:
9066 * dired.el:
03408648
SM
9067 * abbrev.el: Use lexical binding.
9068
0f0c1f27
EZ
90692011-04-01 Eli Zaretskii <eliz@gnu.org>
9070
9071 * info.el (info-display-manual): New function.
9072
c82b2579
SM
90732011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9074
9075 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9076
221ddf68
TH
90772011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9078
9079 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9080 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9081
cba6e77e
GM
90822011-03-31 Glenn Morris <rgm@gnu.org>
9083
e040639f
GM
9084 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9085
cba6e77e
GM
9086 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9087
6d0f1c9e
CS
90882011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9089
9090 * progmodes/python.el (python-default-interpreter)
9091 (python-python-command-args, python-jython-command-args)
9092 (python-which-shell, python-which-args, python-which-bufname)
9093 (python-file-queue, python-comint-output-filter-function)
9094 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9095 variables and functions.
9096
3e2d70fd
SM
90972011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9100 (completion-in-region-mode): New minor mode.
9101 (completion-in-region): Use it.
9102 (completion-in-region--data, completion-in-region-mode-map): New vars.
9103 (completion-in-region--postch): New function.
9104 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9105 New vars.
9106 (completion--capf-wrapper): New function.
9107 (completion-at-point): Use it to track well-behavedness of
9108 hook functions.
9109 (completion-help-at-point): New command.
9110
f3e4086c
JM
91112011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9112
9113 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9114 syntax class to search for whitespace on a single line
9115 (Message-ID: <4D938140.4030905@redhat.com>).
9116
eb7ffc14
LL
91172011-03-30 Leo Liu <sdl.web@gmail.com>
9118
9119 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9120 New commands.
9121 (edit-abbrevs-map): Bind them here.
9122 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9123
d806ab68
KM
91242011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9125
9126 * allout.el (allout-hide-by-annotation, allout-flag-region):
9127 Reduce possibility of overlay leakage by making them volatile.
9128
9129 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9130 hash is not shared between buffers. Mode initialization is
9131 responsible for giving it a useful starting value.
9132 (allout-item-span): Reduce possibility of overlay leakage by
9133 making them volatile.
9134 (allout-widgets-count-buttons-in-region): Add diagnostic function
9135 for tracking down button overlay leaks.
9136
ea622834
LL
91372011-03-29 Leo Liu <sdl.web@gmail.com>
9138
9139 * ido.el (ido-read-internal): Use the default history var
9140 minibuffer-history if no HISTORY is specified.
9141
b62f8267
G
91422011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9143
03408648
SM
9144 * net/imap.el (imap-shell-open, imap-process-connection-type):
9145 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
9146 Kerberos, SSL, other subprocesses.
9147
947b6566
LL
91482011-03-28 Leo Liu <sdl.web@gmail.com>
9149
9150 * abbrev.el (abbrev-table-empty-p): New function.
9151 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9152 nonempty ones. (Bug#5937)
9153
5ffb62aa
JD
91542011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9155
9156 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9157
7a097943
LL
91582011-03-27 Leo Liu <sdl.web@gmail.com>
9159
9160 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9161 for foreground and background colors.
9162 (ansi-color-make-color-map): Adapt.
9163
c5b40130
LL
91642011-03-25 Leo Liu <sdl.web@gmail.com>
9165
1f48f7d2
LL
9166 * midnight.el (midnight-time-float): Remove. Note it calculates
9167 the microsecond component incorrectly and seconds-to-time does the
9168 same job.
625897ec 9169 Remove redundant (require 'timer).
1f48f7d2 9170
c5b40130
LL
9171 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9172 (ido-completions): Remove unused arguments. (Bug#8329)
9173
d86d2721
SM
91742011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9175
9176 * minibuffer.el (completion--flush-all-sorted-completions):
9177 Remove itself from hook.
9178 (completion-at-point): Let the functions perform the completion
9179 immediately and return nil or t.
9180 * comint.el (comint-dynamic-complete-functions): Now identical to
9181 completion-at-point-functions.
9182 (comint-dynamic-list-input-ring): Remove unused var `index'.
9183 (comint--match-partial-filename, comint--unquote&expand-filename):
9184 New funs, split from comint-match-partial-filename.
9185 (comint-dynamic-complete): Use completion-at-point.
9186 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9187
e8974c48
DA
91882011-03-24 Drew Adams <drew.adams@oracle.com>
9189
9190 * thingatpt.el: Support `defun'.
9191
def71b5e
LL
91922011-03-23 Leo Liu <sdl.web@gmail.com>
9193
cb5af48e
LL
9194 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9195
def71b5e
LL
9196 * help-mode.el (help-mode-finish): Tweak regexp.
9197
927c53e7
GM
91982011-03-23 Glenn Morris <rgm@gnu.org>
9199
18d05bed
GM
9200 * eshell/esh-opt.el (eshell-eval-using-options):
9201 Do not bind unused local variable `eshell-option-stub'.
9202
927c53e7
GM
9203 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9204
9d0da923
JB
92052011-03-22 Juanma Barranquero <lekktu@gmail.com>
9206
9207 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9208 keymap variable in `with-no-warnings' to avoid a warning when the
9209 keymap has been already `defconst'ed.
9210
4b978a67
LL
92112011-03-22 Leo Liu <sdl.web@gmail.com>
9212
9213 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9214 encode all chars in abbrevs; otherwise use emacs-mule or
9215 utf-8-emacs. (Bug#8308)
9216
5fd62452
JB
92172011-03-22 Juanma Barranquero <lekktu@gmail.com>
9218
0b1596c6
JB
9219 * simple.el (backward-delete-char-untabify):
9220 Avoid warning about using `delete-backward-char'.
9221
5fd62452
JB
9222 * image.el (image-type-file-name-regexps): Make it variable.
9223 `imagemagick-register-types' modifies it, and the user may want
9224 to add new extensions for known image types.
9225 (imagemagick-register-types): Throw error if not using ImageMagick.
9226
0b4e93f1
LL
92272011-03-22 Leo Liu <sdl.web@gmail.com>
9228
9229 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9230 located before rcirc-prompt-end-marker.
9231 (rcirc-complete): Error if point is not after rcirc prompt.
9232 Handle the case when table is nil.
9882e214 9233 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9234
fccee4ab
CY
92352011-03-22 Chong Yidong <cyd@stupidchicken.com>
9236
9237 * custom.el (custom--inhibit-theme-enable): Make it affect only
9238 custom-theme-set-variables and custom-theme-set-faces.
9239 (provide-theme): Ignore custom--inhibit-theme-enable.
9240 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9241 (custom-enabling-themes): Delete variable.
d86d2721
SM
9242 (enable-theme): Accept only loaded themes as arguments.
9243 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9244 (custom-enabled-themes): Forbid themes from setting this.
9245 Eliminate use of custom-enabling-themes.
9246 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9247
af896da6
LL
92482011-03-21 Leo Liu <sdl.web@gmail.com>
9249
9250 * ido.el (ido-read-internal): Add ido-selected to history instead
9251 of user input.
9252
78f64af0
SM
92532011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9254
9255 * subr.el (deferred-action-list, deferred-action-function):
9256 Mark obsolete.
9257
b16ac1ec
LL
92582011-03-21 Leo Liu <sdl.web@gmail.com>
9259
810f7698
LL
9260 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9261 change on 2011-02-13 (bug#8309).
9262
b16ac1ec
LL
9263 * minibuffer.el (read-file-name-function): Change default value.
9264 (read-file-name--defaults): Rename from read-file-name-defaults.
9265 (read-file-name-default): Rename from read-file-name.
9266 (read-file-name): Call read-file-name-function.
9267
4e05e67e
GM
92682011-03-21 Glenn Morris <rgm@gnu.org>
9269
9270 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9271 Doc fixes.
9272
4359915b
CY
92732011-03-21 Chong Yidong <cyd@stupidchicken.com>
9274
9275 * cus-theme.el: Add missing provide statement.
9276 (customize-create-theme): Extract theme value correctly.
9277 (custom-theme-visit-theme): Autoload.
9278 (customize-create-theme): Prompt before inserting default faces.
9279
1fe275ee
JB
92802011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9281
9282 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9283 units and musical notes.
9284
3ec03f7e
LL
92852011-03-20 Leo <sdl.web@gmail.com>
9286
9287 * ido.el (ido-read-internal): Use completing-read-default.
9288 (ido-completing-read): Fix compatibility with completing-read.
9289
7d476bde
CO
92902011-03-20 Christian Ohler <ohler@gnu.org>
9291
9292 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9293 (ert-delete-all-tests): Use `called-interactively-p' rather than
9294 `interactive-p'.
9295 (ert--make-xrefs-region): Respect END.
9296
fe0fb33e
CY
92972011-03-19 Chong Yidong <cyd@stupidchicken.com>
9298
ff854b0b
CY
9299 * dired-aux.el (dired-create-directory): Signal an error if the
9300 directory already exists (Bug#8246).
9301
fe0fb33e
CY
9302 * facemenu.el (list-colors-display): Call list-faces-display
9303 inside with-help-window.
9304 (list-colors-print): Use display property to align the final
9305 column, instead of checking window-width.
9306
576bce32
EZ
93072011-03-19 Eli Zaretskii <eliz@gnu.org>
9308
4d61f28d 9309 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
9310 windows-nt systems.
9311 (emerge-protect-metachars): Quote correctly for ms-dos and
9312 windows-nt systems.
9313
89c41d68 93142011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
9315
9316 * info.el (info-initialize): Replace all uses of `:' with
9317 path-separator for compatibility with non-Unix systems.
9318 Cache quoting of path-separator. (Bug#8258)
9319
b14e3e21 93202011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
9321
9322 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9323 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9324 (mouse-avoidance-mode): Fix typos in docstrings.
9325
4525ce3e
CY
93262011-03-19 Chong Yidong <cyd@stupidchicken.com>
9327
9328 * startup.el (package-subdirectory-regexp): Move from package.el.
9329 Omit \\` and \\', and let callers add them.
9330
9331 * emacs-lisp/package.el (package-strip-version)
9332 (package-load-all-descriptors): Add \\` and \\' to
9333 package-subdirectory-regexp before using it.
9334 (package-untar-buffer): New arg DIR; ensure that file untars only
9335 into this expected directory. Remove superfluous delete-region.
9336 (package-unpack): Caller changed.
9337 (package-tar-file-info): Use package-subdirectory-regexp.
9338
a904a09a 93392011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 9340
a904a09a
SM
9341 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9342 diff-mode-shared-map (bug#8284).
9343 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
9344
93452011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9346
9347 * calendar/time-date.el (format-seconds): Use assoc instead of
9348 assoc-string, since assoc-string doesn't exist in XEmacs.
9349
171fc304
JB
93502011-03-17 Juanma Barranquero <lekktu@gmail.com>
9351
9352 * custom.el (custom-known-themes): Reflow docstring.
9353 (custom-theme-load-path): Fix typo in docstring.
9354 (load-theme): Fix typo in error message.
9355 (custom-available-themes, custom-variable-theme-value):
9356 Use `let', not `let*'.
9357
d71990a1
JB
93582011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9359
9360 * calc/README: Mention inclusion of musical notes.
9361
9362 * calc/calc-units.el (calc-lu-quant): Rename from
9363 `calc-logunits-quantity'.
9364 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9365 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9366 (calc-db): Rename from `calc-dblevel'.
9367 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9368 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9369 (calc-np): Rename from `calc-nplevel'.
9370 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9371 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9372 (calc-lu-plus): Rename from `calc-logunits-add'.
9373 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9374 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9375 (calc-lu-minus): Rename from `calc-logunits-sub'.
9376 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9377 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9378 (calc-lu-times): Rename from `calc-logunits-mul'.
9379 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9380 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9381 (calc-lu-divide): Rename from `calc-logunits-div'.
9382 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9383 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9384
9385 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9386 functions being autoloaded.
9387
9388 * calc/calc.el (calc-lu-power-reference): Rename from
9389 `calc-logunits-power-reference'.
9390 (calc-lu-field-reference): Rename from
9391 `calc-logunits-field-reference'.
9392
9393 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9394
40c2934b
SM
93952011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9396
9397 * minibuffer.el (completion-all-sorted-completions):
9398 Use :completion-cycle-penalty text property if present.
9399
b0911414
KM
94002011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9401
9402 * allout.el (allout-yank-processing): Adjust for new rebulleting
9403 regime so bullet being yanked is used without prompting the user
9404 for a choice.
9405
8a05b668
JB
94062011-03-16 Juanma Barranquero <lekktu@gmail.com>
9407
9408 * startup.el (command-line): Warn the user that _emacs is deprecated.
9409
5ba5fb81
JB
94102011-03-16 Juanma Barranquero <lekktu@gmail.com>
9411
9412 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9413 (delphi-verbose, delphi-comment-face, delphi-string-face)
9414 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9415 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9416 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9417 (delphi-new-comment-line, delphi-font-lock-defaults)
9418 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9419 Fix typos in docstrings.
9420
2dab465b
KM
94212011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9422
5ba5fb81 9423 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
9424 Invert the roles of character and string values for INSTEAD, so a
9425 string is used for the more common case of a defaulting prompt.
9426
0adf5618
SM
94272011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9428
9429 * progmodes/ruby-mode.el (ruby-backward-sexp):
9430 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9431 * play/gamegrid.el (gamegrid-make-face):
9432 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9433 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9434 * notifications.el (notifications-notify):
9435 * net/xesam.el (xesam-search-engines):
9436 * net/quickurl.el (quickurl-list-insert):
9437 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9438
d72700e5
CY
94392011-03-15 Chong Yidong <cyd@stupidchicken.com>
9440
9441 * startup.el (command-line): Update package subdirectory regexp.
9442
49c5410a
SM
94432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9444
c6eee9aa
SM
9445 * allout.el (allout-abbreviate-flattened-numbering)
9446 (allout-mode-deactivate-hook): Fix up obsolescence "date".
9447
49c5410a
SM
9448 * subr.el (read-char-choice): Only show the cursor after the prompt,
9449 not after the answer.
9450
047b2bb9
KR
94512011-03-15 Kevin Ryde <user42@zip.com.au>
9452
9453 * help-fns.el (variable-at-point): Skip leading quotes, if any
9454 (bug#8253).
9455
0a57d256
SM
94562011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9459 warning message.
9460
77c992bc
MA
94612011-03-14 Michael Albinus <michael.albinus@gmx.de>
9462
9463 * shell.el (shell): When called interactively, offer to change the
9464 shell file name on remote hosts.
9465
eebc475d
TZ
94662011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
9467
9468 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9469 integration for LDAP parameters. The host, base, user or binddn,
9470 and secret tokens can be specified in a netrc file, for instance.
9471 This is optional because an `auth-source' parameter must be
9472 specified in the search attributes.
9473
9d05d1ba
JB
94742011-03-13 Juanma Barranquero <lekktu@gmail.com>
9475
9476 * help.el (describe-mode): Link to the mode's definition (bug#8185).
9477
09d9db2c
GM
94782011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9481 into declaration. Remove redundant and harmful binding.
9482
94832011-03-12 Eli Zaretskii <eliz@gnu.org>
9484
9485 * files.el (file-ownership-preserved-p): Pass `integer' as an
9486 explicit 2nd argument to `file-attributes'. If the file's owner
9487 is the Administrators group on Windows, and the current user is
9488 Administrator, consider that a match.
9489
9490 * server.el (server-ensure-safe-dir): Consider server directory
9491 safe on MS-Windows if its owner is the Administrators group while
9492 the current Emacs user is Administrator. Use `=' to compare
9493 numerical UIDs, since they could be integers or floats.
9494
219bd536
JB
94952011-03-12 Juanma Barranquero <lekktu@gmail.com>
9496
9497 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
9498
f3afd36b
MA
94992011-03-12 Michael Albinus <michael.albinus@gmx.de>
9500
9501 Sync with Tramp 2.2.1.
9502
9503 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
9504
9505 * net/trampver.el: Update release number.
9506
3aaaa6f1
SM
95072011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9508
94642599
SM
9509 * progmodes/compile.el (compilation--previous-directory): Fix up
9510 various nil/dead-marker mismatches (bug#8014).
9511 (compilation-directory-properties, compilation-error-properties):
9512 Don't call it at a position past the one we're about to change.
9513
3aaaa6f1
SM
9514 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
9515 Disable obsolescence warnings in the file that declares it.
9516
14239447
KM
95172011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
9518
099c39a4
JB
9519 * allout-widgets.el (allout-widgets-tally):
9520 Initialize allout-widgets-tally as a hash table rather than nil to
9521 prevent mode-line redisplay warnings. Also, clarify the module
9522 description and fix a comment typo.
14239447 9523
135e287c
JB
95242011-03-11 Juanma Barranquero <lekktu@gmail.com>
9525
9526 * help-fns.el (describe-variable): Don't complete keywords.
9527 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
9528
ffbf300e
CY
95292011-03-10 Chong Yidong <cyd@stupidchicken.com>
9530
ba08b241
CY
9531 * emacs-lisp/package.el (package-version-join): Impose a standard
9532 string representation for pre/alpha/beta version lists.
9533 (package-unpack-single): Standardize the directory name by passing
9534 it through package-version-join.
9535 (package-strip-rcs-id): Accept any version string that does not
9536 signal an error in version-to-list.
ffbf300e 9537
f346fd6b
MA
95382011-03-10 Michael Albinus <michael.albinus@gmx.de>
9539
9540 * simple.el (delete-trailing-whitespace): Return nil for the
9541 benefit of `write-file-functions'.
9542
ccb55d27
GM
95432011-03-10 Glenn Morris <rgm@gnu.org>
9544
5ceaac0c
GM
9545 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9546
02da65ff
GM
9547 * vc/vc-git.el (vc-git-program): New option.
9548 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9549 (vc-git--call): Use it.
9550
b2f603cc
GM
9551 * eshell/esh-util.el (eshell-condition-case): Doc fix.
9552
5772caab
GM
9553 * cus-edit.el (Custom-newline): If no button at point, look
9554 for a subgroup button at start-of-line. (Bug#2298)
9555
ccb55d27
GM
9556 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9557
ec6ecaed
JD
95582011-03-10 Julien Danjou <julien@danjou.info>
9559
9560 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9561 `cursor-type' is nil.
9562
9d5aa01d
JB
95632011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
9564
9565 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9566
b6a5875b
KM
95672011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
9568
9569 * allout.el Summary: Change so yank of distinctive-bullet items
9570 preserves the existing header prefix, rebulleting it if necessary,
9571 rather than replacing it. This is necessary for proper operation
9572 of cooperative addons like allout-widgets.
1154d12e
JB
9573 (allout-make-topic-prefix, allout-rebullet-heading):
9574 Change SOLICIT arg to INSTEAD, and interpret additionally a string
9575 value as alternate bullet to be used, instead of prompting the user
9576 for a bullet character.
b6a5875b 9577
ee545c35
MA
95782011-03-09 Michael Albinus <michael.albinus@gmx.de>
9579
d86d2721
SM
9580 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9581 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
9582 `tramp-default-port'.
9583
c47971d7
DD
95842011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9585
9586 * net/rcirc.el (rcirc-handler-001): Remove useless
9587 with-rcirc-process-buffer.
9588 (rcirc-check-auth-status): Swap arguments to string-match.
9589
13522cb4
GM
95902011-03-09 Glenn Morris <rgm@gnu.org>
9591
0be6f4f1
GM
9592 * shell.el (shell-mode):
9593 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
9594
13522cb4
GM
9595 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9596 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
9597
515de2e3
CY
95982011-03-08 Chong Yidong <cyd@stupidchicken.com>
9599
9600 * emacs-lisp/package.el (package-refresh-contents)
9601 (package-menu-execute): Use condition-case-no-debug.
9602
b511b994
MA
96032011-03-08 Michael Albinus <michael.albinus@gmx.de>
9604
9605 * simple.el (shell-command-to-string): Use `process-file'.
9606
9607 * emacs-lisp/package.el (package-tar-file-info): Handle also
9608 remote files.
9609
d86d2721
SM
9610 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9611 Use `equal' for upload base check.
b511b994 9612
25bbfb31
AM
96132011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
9614
9615 * textmodes/texinfo.el (texinfo-environments):
9616 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
9617
be996521
GM
96182011-03-08 Glenn Morris <rgm@gnu.org>
9619
e9c8529f
GM
9620 * cus-start.el (cursor-in-non-selected-windows):
9621 Fix :set quoting oddness. (Bug#8192)
9622
be996521
GM
9623 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9624 in some setf expressions. (Bug#2159)
9625
2bb5649e
CY
96262011-03-08 Chong Yidong <cyd@stupidchicken.com>
9627
9628 * custom.el (custom-available-themes): Return themes in
9629 alphabetical order.
9630
33383987 9631See ChangeLog.15 for earlier changes.
e3d51b27
MR
9632
9633;; Local Variables:
9634;; coding: utf-8
e3d51b27
MR
9635;; End:
9636
33383987 9637 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
9638
9639 This file is part of GNU Emacs.
9640
9641 GNU Emacs is free software: you can redistribute it and/or modify
9642 it under the terms of the GNU General Public License as published by
9643 the Free Software Foundation, either version 3 of the License, or
9644 (at your option) any later version.
9645
9646 GNU Emacs is distributed in the hope that it will be useful,
9647 but WITHOUT ANY WARRANTY; without even the implied warranty of
9648 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9649 GNU General Public License for more details.
9650
9651 You should have received a copy of the GNU General Public License
9652 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.