text.texi: add a section about Org Mode.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
728a1f2b
JC
12011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2
3 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4
0d373f73
TZ
52011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6
7 * progmodes/cfengine.el: Add Version.
8
9 Add CFEngine 3.x syntax highlighting and support with
10 `cfengine3-mode', and rename the old `cfengine-mode' to
11 `cfengine2-mode'. Make `cfengine-mode' an automatic content-based
12 switcher between `cfengine3-mode' and `cfengine2-mode' by aliasing
13 it to `cfengine-auto-mode'. Rename variables specific to
14 `cfengine2-mode' from cfengine-* to cfengine2-*. Change the
15 modeline indicator to "CFE2" and "CFE3" depending on the mode, to
16 save space. Mark `cfengine-mode-abbrevs' as obsolete.
17
bc86f573
CY
182011-12-21 Chong Yidong <cyd@gnu.org>
19
20 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
21 filename argument.
22
d45ba96b
MR
232011-12-20 Martin Rudalics <rudalics@gmx.at>
24
25 * window.el (window-normalize-buffer-to-display): Remove.
26 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
27
a6198c90
CY
282011-12-19 Chong Yidong <cyd@gnu.org>
29
30 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
31 Don't signal an error in a predicate function; return non-nil.
32 (vc-dir-mark-file): Move the error here.
33 (vc-dir-mark-unmark): If acting on the region, keep going if one
34 of the entries cannot be marked/unmarked.
35 (vc-dir-mark-all-files): If current entry is a directory, mark
36 only child files, as documented.
37
34c5fb55
VB
382011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
39
40 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
41 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
42 addition.
43
c803b2b7
JD
442011-12-18 Jan Djärv <jan.h.d@swipnet.se>
45
46 * term/ns-win.el (ns-get-selection-internal)
47 (ns-store-selection-internal): Declare.
1154d12e
JB
48 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
49 Declare as obsolete.
50 (ns-get-pasteboard, ns-paste-secondary):
51 Use ns-get-selection-internal.
52 (ns-set-pasteboard, ns-copy-including-secondary):
53 Use ns-store-selection-internal.
c803b2b7 54
9cff91f8 552011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
56
57 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 58 (vc-deduce-fileset): Doc fix.
99a289d9 59
f16c898a
AS
602011-12-16 Andreas Schwab <schwab@linux-m68k.org>
61
62 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
63
763237c4
SS
642011-12-13 Sam Steingold <sds@gnu.org>
65
66 * man.el (Man-getpage-in-background): When running under a
67 window-system, ignore $MANWIDTH and $COLUMNS.
68
5fc1c122
KH
692011-12-15 Kenichi Handa <handa@m17n.org>
70
71 * language/ethio-util.el: Change coding tag to utf-8-emacs.
72 (setup-ethiopic-environment-internal): Comment out key-binding for
73 ethio-toggle-punctuation.
74
13d49cbb
AM
752011-12-13 Alan Mackenzie <acm@muc.de>
76
898169a2
AM
77 Add the switch statement to AWK Mode.
78
79 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
80 "default" to the keywords regexp.
81
82 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
83 expression as the rest.
84 (c-nonlabel-token-key): Allow string literals for AWK. Refactor
85 for the other modes.
86
13d49cbb
AM
87 Large brace-block initialisation makes CC Mode slow: Fix.
88 Tidy up and accelerate c-in-literal, etc. by using the
89 c-parse-state
90 routines. Limit backward searching in c-font-lock-enclosing.decl.
91
92 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
93 pp-state and literal type in addition to the limits.
94 (c-state-safe-place): New defun, extracted from
95 c-state-literal-at.
96 (c-state-literal-at): Use the above new defun.
97 (c-slow-in-literal, c-fast-in-literal): Removed.
98 (c-in-literal, c-literal-limits): Amended to use
99 c-state-pp-to-literal.
100
101 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
102 being in a literal. Add a limit for backward searching.
103
104 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
105 c-slow-in-literal.
106
15e0efc7
SM
1072011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
108
109 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
110
454592a6
MR
1112011-12-13 Martin Rudalics <rudalics@gmx.at>
112
113 * window.el (delete-other-windows): Use correct frame in call to
114 window-with-parameter.
115
87393f26
DP
1162011-12-12 Daniel Pfeiffer <occitan@t-online.de>
117
118 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
119 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
120 (makefile-gmake-statements, makefile-makepp-statements):
121 Use it and add new makepp keywords.
122 (makefile-makepp-font-lock-keywords): Add new patterns.
123 (makefile-match-function-end): Match new [...] and [[...]].
124
11636b22
JB
1252011-12-11 Juanma Barranquero <lekktu@gmail.com>
126
127 * ses.el (ses-call-printer-return, ses-cell-property-get)
128 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
129 (ses-create-cell-variable, ses-reset-header-string)
130 (ses-cell-set-formula, ses-repair-cell-reference-all)
131 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
132 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
133 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
134 (ses-aset-with-undo, ses-load, ses-truncate-cell)
135 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
136 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
137 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
138 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
139 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
140 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
141 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
142 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
143
cf018193
VB
1442011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
145
146 * ses.el: The overall change is to add cell renaming, that is
147 setting fancy names for cell symbols other than name matching
148 "\\`[A-Z]+[0-9]+\\'" regexp .
149 (ses-create-cell-variable): New defun.
150 (ses-relocate-formula): Relocate formulas only for cells the
151 symbols of which are not renamed, i.e. symbols whose names do not
152 match regexp "\\`[A-Z]+[0-9]+\\'".
153 (ses-relocate-all): Relocate values only for cells the symbols of
154 which are not renamed.
155 (ses-load): Create cells variables as the (ses-cell ...) are read,
156 in order to check row col consistency with cell symbol name only
157 for cells that are not renamed.
158 (ses-replace-name-in-formula): New defun.
159 (ses-rename-cell): New defun.
160
ee957461
CY
1612011-12-11 Chong Yidong <cyd@gnu.org>
162
163 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
164 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
165
9a9e9ef0
MR
1662011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
167
168 * window.el (other-window): Fix docstring.
169
92a8eba5
EZ
1702011-12-10 Eli Zaretskii <eliz@gnu.org>
171
172 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
173 `from' or `to' address before taking its substring. Fixes
174 incorrect display in Rmail summary buffer whereby an RFC2047
175 encoded name is chopped in the middle of the encoded string, and
176 thus displayed encoded.
177
e152e577
JB
1782011-12-10 Juanma Barranquero <lekktu@gmail.com>
179
180 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
181
e5d84bfe
EZ
1822011-12-10 Eli Zaretskii <eliz@gnu.org>
183
184 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
185 to use texinfo-update-node and commands that call it if the
186 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 187 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
188 (texinfo-all-menus-update, texinfo-master-menu)
189 (texinfo-update-node, texinfo-every-node-update)
190 (texinfo-multiple-files-update): Doc fix. Warn against updating
191 all the @node lines.
192 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
193 argument is numeric. Explain better in the doc string what the
194 function really does.
195 (texinfo-insert-master-menu-list): Improve the error message
196 displayed if there's no menu in the Top node.
197 (Bug#2975) See also this thread:
e5d84bfe
EZ
198 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
199
1d84e9bb
MG
2002011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
201
202 * speedbar.el (speedbar-supported-extension-expressions):
203 Add .adb and .ads, commonly used for Ada source code (bug#10256).
204
382c953b
JB
2052011-12-09 Juanma Barranquero <lekktu@gmail.com>
206
207 * printing.el (pr-mode-alist):
208 * simple.el (filter-buffer-substring-functions)
209 (completion-list-insert-choice-function):
210 * window.el (window-with-parameter, window-atom-root)
211 (window-sides-slots, window-size-fixed, window-min-delta)
212 (window-max-delta, window--resize-mini-window)
213 (window--resize-child-windows-normal, window-tree)
214 (delete-other-windows, quit-window, split-window)
215 (display-buffer-record-window, special-display-buffer-names)
216 (special-display-regexps, special-display-popup-frame)
217 (same-window-p, split-window-sensibly)
218 (display-buffer-overriding-action, display-buffer-alist)
219 (display-buffer-base-action, display-buffer, switch-to-buffer)
220 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
221 (fit-window-to-buffer, recenter-positions)
222 (mouse-autoselect-window-state, mouse-autoselect-window-select):
223 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
224 and remove unneeded backslashes in docstrings.
225
39c9faef
SM
2262011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
227
98449af8
SM
228 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
229
39c9faef
SM
230 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
231 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
232 end in ".mk".
233 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
234 when reading the makefile (bug#10116).
235
86ed9fdc
SM
2362011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
237
238 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
239 (bug#10116).
240
5580f89d
GM
2412011-12-06 Glenn Morris <rgm@gnu.org>
242
243 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
244
28d3917c
CY
2452011-12-06 Chong Yidong <cyd@gnu.org>
246
247 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
248
a98edce9
JB
2492011-12-06 Juanma Barranquero <lekktu@gmail.com>
250
251 * textmodes/table.el (table-shorten-cell): Fix typo.
252
e65adfac
CG
2532011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
254
255 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
256
71cc0b74
EZ
2572011-12-05 Eli Zaretskii <eliz@gnu.org>
258
259 * descr-text.el (describe-char): Fix display of strong
260 right-to-left characters and directional embeddings and overrides.
261
262 * simple.el (what-cursor-position): Fix display of codepoints of
263 strong right-to-left characters.
264
315bc30d
CY
2652011-12-05 Chong Yidong <cyd@gnu.org>
266
267 * faces.el (read-color): Doc fix.
268
58a70b94
GM
2692011-12-05 Glenn Morris <rgm@gnu.org>
270
271 * align.el (align--set-marker): Add doc-string.
272 Don't try to move something that is not a marker. (Bug#10216)
273
5158face
GM
2742011-12-04 Glenn Morris <rgm@gnu.org>
275
276 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
277 overly zealous deletion of trailing whitespace.
278
520fca41
JB
2792011-12-04 Juanma Barranquero <lekktu@gmail.com>
280
281 * server.el (server-delete-client): On Windows, do not try to delete
282 the only terminal.
283 (server-process-filter): On Windows, treat requests for a tty frame as
284 if they were for a GUI frame if the running server is in GUI mode.
285
5e605a2e
GM
2862011-12-03 Glenn Morris <rgm@gnu.org>
287
288 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
289
5c3fe83f
SM
2902011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
291
6f5e57e7
SM
292 * electric.el: Streamline electric-indent's hook.
293 (electric-indent-chars): Revert to simple list.
294 (electric-indent-functions): New var.
295 (electric-indent-post-self-insert-function): Use it.
296
5c3fe83f
SM
297 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
298 there's no inferior buffer (bug#10196).
299 (prolog-consult-compile): Don't use toggle-read-only.
300
6bdac736
MA
3012011-12-02 Michael Albinus <michael.albinus@gmx.de>
302
303 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
304 interrupt. (Bug#10187)
305
6131ba7f
SM
3062011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
307
99c79fee
SM
308 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
309 (bug#9160).
310
6131ba7f
SM
311 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
312 (bug#10191).
313
cb0a02ea
JL
3142011-12-02 Juri Linkov <juri@jurta.org>
315
316 * info.el (Info-search): Display "end of manual" when Isearch
317 reaches the end of single-file Info manual. (Bug#9918)
318
66e0570c
EZ
3192011-12-02 Eli Zaretskii <eliz@gnu.org>
320
321 * isearch.el (isearch-message-prefix): Run the input method part
322 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
323
02b16839
JL
3242011-12-02 Juri Linkov <juri@jurta.org>
325
326 * isearch.el (isearch-occur): Use `word-search-regexp' for
327 `isearch-word'.
328 (isearch-search-and-update): Add condition for `isearch-word' and
329 call `word-search-regexp'. (Bug#10145)
330
0b950688
GM
3312011-12-01 Glenn Morris <rgm@gnu.org>
332
333 * eshell/em-hist.el (eshell-hist-initialize):
334 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 335 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 336
9505c3c7
SM
3372011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
340
1bbe96b2 3412011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 342
a1beca85
SM
343 * progmodes/verilog-mode.el (verilog-pretty-expr):
344 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
345 verilog, such as += *= and the like.
346 (verilog-assignment-operator-re): Regular expression to find the
347 assigment operator in a verilog assignment.
348 (verilog-assignment-operation-re): Regular expression to find an
349 assignment statement for pretty-expr.
350 (verilog-in-attribute-p): Query returns true if point is in an
351 attribute context; used to skip these for expression line up from
352 pretty-expr.
353 (verilog-in-parameter-p): Query returns true if point is in an
354 parameter definition context; used to skip these for expression
355 line up from pretty-expr.
356 (verilog-in-parenthesis-p): Query returns true if point is in a
357 parenthetical expression, specifically ( ) but not [ ] or { };
358 used by pretty-expr.
359 (verilog-just-one-space): If there is no space, don't add one.
360 (verilog-get-lineup-indent-2): Specifically skip just attribute
361 contexts for expression lineup, rather than skipping all
362 parenthetical expressions.
363 (verilog-calculate-indent): Fix comment, and fix indent.
364 (verilog-do-indent): Indent declarations in lists (suggested by
365 Joachim Lechner).
366 (verilog-mode-abbrev-table): Populate abbrev mode with the various
367 skeleton items.
368 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
369 by Alain Mellan).
370
1bbe96b2 3712011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
372
373 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
374 parameters with embedded comments. Reported by Ray Stevens.
375 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
376 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
377 Reported by Tim Holt.
378 (verilog-auto): Fix AUTOing a upper module then AUTOing module
379 instantiated by upper module causing wrong expansion until AUTOed a
380 second time. Reported by K C Buckenmaier.
381 (verilog-diff-auto): Fix showing .* as a difference when
382 `verilog-auto-star-save' off. Reported by Dan Dever.
383 (verilog-auto-reset, verilog-read-always-signals)
384 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
385 temporary signals in reset list if
386 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
387 style to each signal's assignment type, bug381.
388 Reported by Thomas Esposito.
6288f0ca
WS
389 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
390 (verilog-uvm-statement-re): Support UVM indentation and
391 highlighting, with old OVM keywords only.
a1beca85
SM
392 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
393 Support AUTOTIEOFF creating non-wire data types. Suggested by Jonathan
6288f0ca
WS
394 Greenlaw.
395 (verilog-auto-insert-lisp, verilog-delete-to-paren)
396 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
397 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
398 (verilog-read-sub-decls, verilog-read-sub-decls-line):
399 Fix mismatching parenthesis inside commented out code when deleting
382c953b 400 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
401 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
402 non-numeric vector width. Reported by Alex Reed.
403 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 404 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
405 (verilog-auto-delete-trailing-whitespace):
406 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
407 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
408 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
409 Fix verilog-scan-cache corruption when running user AUTO expansion
410 hooks that call indentation routines.
411 (verilog-simplify-range-expression): Fix typo ignoring lower case
412 identifiers.
413 (verilog-delete-auto): Fix delete-autos to also remove user created
414 automatics, as long as they start with AUTO.
415 (verilog-batch-diff-auto, verilog-diff-auto)
416 (verilog-diff-function): Add `verilog-diff-auto' and bind to
417 "C-c?" to report differences in AUTO expansion, ignoring spaces.
418 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
419 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
420 (verilog-re-search-forward-quick, verilog-syntax-ppss):
421 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
422 is disabled and its cache will get corrupt, causing AUTOS not to
423 expand. Instead use only -quick functions.
424 (verilog-scan-region): Fix scanning over escaped quotes.
425 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
426 (verilog-re-search-backward-quick)
427 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
428 related functions now ignore strings, to fix misparsing of strings
429 with magic comments embedded in them.
a1beca85
SM
430 (verilog-read-auto-template):
431 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
432 Reported by Brad Dobbie.
433 (verilog-read-auto-template):
434 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 435 Reported by Brad Dobbie.
6288f0ca
WS
436 (verilog-auto-inst, verilog-auto-inst-param)
437 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
438 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
439 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
440 debugging templates without merge conflicts, bug357.
441 Reported by Brad Dobbie.
442 (verilog-read-auto-template):
443 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
444 Reported by Brad Dobbie.
445 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
446 abbrevs so user won't be asked to save.
447 (verilog-read-auto-lisp-present): Fix to start at beginning of
448 buffer in case called outside of verilog-auto.
449 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
450 to "X-2". Reported by Matthew Myers.
451 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
452 all inputs from module templates. Reported by Leith Johnson.
453 (verilog-module-inside-filename-p): Fix locating programs as with
454 modules.
455 (verilog-auto-inst-port): Fix vl-width expressions when using
456 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
457 (verilog-decls-get-regs, verilog-decls-get-signals,
458 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
459 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
460 verilog-read-decls): Combine reg and wire structures into one var
461 structure to represent SystemVerilog concepts.
462 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
463 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
464 (verilog-auto-wire-type, verilog-insert-definition):
465 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
466 SystemVerilog "logic" keyword instead of "wire"/"reg".
467 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
468 to declares outputs that also have assignments (presumably in an
a1beca85
SM
469 ifdef or generate if so there's not a driver conflict).
470 Reported by Matthew Myers.
471 (verilog-auto-declare-nettype, verilog-insert-definition):
472 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
473 `default_nettype none. Reported by Julian Gorfajn.
474 (verilog-read-always-signals-recurse, verilog-read-decls)
475 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
476 malformed end statement, bug325. Reported by Joshua Wise and
477 Andrew Drake.
478 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
479 (verilog-inst-comment-re): Fix not deleting Interfaced comment
480 when expanding .* in interfaces, bug320. Reported by Pierre-David
481 Pfister.
482 (verilog-read-module-name): Fix import statements between module
483 name and open parenthesis, bug317. Reported by Pierre-David
484 Pfister.
485 (verilog-simplify-range-expression): Fix simplification of
486 multiplications inside AUTOWIRE connections, bug303.
487 (verilog-auto-inst-port): Support parameter expansion in
488 multidimensional arrays.
489 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
490 after "assert property". Reported by Julian Gorfajn.
491 (verilog-simplify-range-expression): Fix "couldn't merge" errors
492 with multiplication, bug303.
493 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
494 Reported by Jan Frode Lonnum.
495
1bbe96b2
GM
4962011-11-30 Juanma Barranquero <lekktu@gmail.com>
497
498 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
499 (hfy-shell-file-name, hfy-shell):
500 * international/fontset.el (x-decompose-font-name): Fix typos.
501
5022011-11-29 Ken Brown <kbrown@cornell.edu>
503
504 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
505 (gdb-version): Remove defvar.
506 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
507 (gdb-gud-context-command, gdb-non-stop-handler)
508 (gdb-current-context-command, gdb-stopped): Use it.
509 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
510 (gdb-non-stop-handler): Don't enable pretty-printing here.
511 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
512 non-stop mode. Use the following.
513 (gdb-check-target-async): New defun.
514 (gud-watch, gdb-stopped): Fix whitespace.
515 (gdb-get-source-file): Don't try to display the source file if
516 `gdb-main-file' is nil.
517
5182011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * align.el: Try to generate fewer markers (bug#10047).
521 (align--set-marker): New macro.
522 (align-region): Use it.
523
c935221f
SM
5242011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
527
e70b5064
CY
5282011-11-29 Chong Yidong <cyd@gnu.org>
529
530 * indent.el (indent-for-tab-command, indent-according-to-mode):
531 Doc fix.
532 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
533
f3af92b7
MA
5342011-11-29 Michael Albinus <michael.albinus@gmx.de>
535
536 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
537 aware of remote file names. (Bug#10124)
538
ed472be9
CY
5392011-11-29 Chong Yidong <cyd@gnu.org>
540
541 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
542
24510c22
SM
5432011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
544
545 * files.el (find-file): Don't use force-same-window (bug#10144).
546 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
547 use pop-to-buffer if the selected window can't be used.
548 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
549
c60c3703
EZ
5502011-11-28 Eli Zaretskii <eliz@gnu.org>
551
552 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
553 special-mode-map.
554
e95def75
CY
5552011-11-28 Chong Yidong <cyd@gnu.org>
556
557 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
558
c3f1c606
NR
5592011-11-27 Nick Roberts <nickrob@snap.net.nz>
560
561 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
562 gdb-get-source-file-list on gdb-create-source-file-list.
563
00db469c
EZ
5642011-11-26 Eli Zaretskii <eliz@gnu.org>
565
566 * whitespace.el (whitespace-newline): Use a different foreground
567 color for 16-color light-background displays.
568
4ad3bc2a
CY
5692011-11-24 Chong Yidong <cyd@gnu.org>
570
571 * window.el (display-buffer--special-action): Doc fix.
572
e9fce1ac
JB
5732011-11-25 Juanma Barranquero <lekktu@gmail.com>
574
575 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
576 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
577 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
578 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
579 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
580 (avl-tree-stack-first):
581 * emacs-lisp/cconv.el (cconv--analyse-use):
582 * net/gnutls.el (gnutls-negotiate): Fix typos.
583
cb825e5d
GM
5842011-11-24 Glenn Morris <rgm@gnu.org>
585
3adbe224
GM
586 * lpr.el (lpr-windows-system, lpr-lp-system):
587 * mail/binhex.el (binhex-begin-line):
588 * progmodes/grep.el (grep-history, grep-find-history):
589 * textmodes/flyspell.el:
590 * vc/pcvs-defs.el (cvs-global-menu):
591 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
592 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
593 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
594
321decc8
GM
595 * net/tls.el: Fix case of "GnuTLS".
596
420b63ad
GM
597 * paths.el (rmail-file-name): Format doc-string for make-docfile.
598
cb825e5d
GM
599 * version.el (emacs-build-system): Give it a doc-string.
600
a0649f08
JL
6012011-11-24 Juri Linkov <juri@jurta.org>
602
603 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
604
c0bc0fd4
GM
6052011-11-24 Glenn Morris <rgm@gnu.org>
606
607 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
608 if called on a non-mime message just toggle the headers. (Bug#8006)
609
20db1522
JB
6102011-11-24 Juanma Barranquero <lekktu@gmail.com>
611
612 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
613 (allout-lead-with-comment-string, allout-structure-deleted-hook)
614 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
615 (allout-rebullet-heading, allout-open-sibtopic)
616 (allout-toggle-current-subtree-encryption)
617 (allout-toggle-subtree-encryption, allout-encrypt-string)
618 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
619 (allout-distinctive-bullets-string, allout-auto-activation):
620 * window.el (window-normalize-buffer-to-display):
621 * progmodes/verilog-mode.el (verilog-batch-indent):
622 * textmodes/bibtex.el (bibtex-field-braces-opt)
623 (bibtex-field-strings-opt):
624 * vc/cvs-status.el (cvs-tree-merge):
625 Fix typos.
626
7262a87c
MA
6272011-11-23 Michael Albinus <michael.albinus@gmx.de>
628
629 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
630 `non-essential' to t, in order to avoid remote connections.
631
283430a1
EZ
6322011-11-23 Eli Zaretskii <eliz@gnu.org>
633
a1beca85
SM
634 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
635 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
636 case-insensitively.
637
d2992a38
ML
6382011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
639
640 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
641
50419064
GM
6422011-11-23 Glenn Morris <rgm@gnu.org>
643
da94eca1
GM
644 * paths.el (rmail-file-name): Reformat the doc-string so that it
645 is picked up.
646
9aac4de2
GM
647 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
648 (rmail-auto-file): Ignore case in the "special" field names,
649 as mail-fetch-field does for all others.
650
8038d2d2
GM
651 * mail/rmail.el (rmail-forward):
652 * mail/rmailkwd.el (rmail-set-label):
653 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
654 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
655
f3fe222a
GM
656 * mail/rmail.el (rmail-current-message): Doc fix.
657
50419064
GM
658 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
659
28109f49
SM
6602011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
661
662 * server.el (server-eval-and-print): Allow C-g (bug#6585).
663
394c65f1
GM
6642011-11-22 Glenn Morris <rgm@gnu.org>
665
666 * mail/rmailmm.el (test-rmail-mime-handler)
667 (test-rmail-mime-bulk-handler)
668 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
669
f2a0aa3a
JL
6702011-11-21 Juri Linkov <juri@jurta.org>
671
1154d12e
JB
672 * calc/calc.el (calc-read-key-sequence):
673 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 674
9c34a344
LMI
6752011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
676
677 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
678 Tell the caller that the next line needs recomputation, even
679 though it doesn't start a sexp (bug#10094).
680
f04a3be9
SM
6812011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
682
683 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
684
7978747f
SM
6852011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
686
f04a3be9
SM
687 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
688 Use force-same-window.
7978747f 689
fe7a3057
JB
6902011-11-20 Juanma Barranquero <lekktu@gmail.com>
691
692 * descr-text.el (describe-char-unicode-data):
693 * json.el (json-string-escape):
694 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
695 (Footnote-unicode, Footnote-style-p):
696 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
697
24901d61
CY
6982011-11-20 Chong Yidong <cyd@gnu.org>
699
700 * window.el (replace-buffer-in-windows): Restore interactive spec.
701
bac7ff22
SM
7022011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
703
24f3d7b9
SM
704 * electric.el (electric-indent-mode): Fix last change (too optimistic).
705
bac7ff22
SM
706 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
707 (byte-compile-global-not-obsolete-vars): New var.
708 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
709 Use it.
710 (byte-compile-warn-obsolete): Align text with the one in *Help*.
711
cd1181db
JB
7122011-11-20 Juanma Barranquero <lekktu@gmail.com>
713
714 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
715 * progmodes/pascal.el (electric-pascal-equal):
716 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
717 * xml.el (xml-substitute-special): Fix typos.
718
7fb18e9e
GM
7192011-11-20 Glenn Morris <rgm@gnu.org>
720
721 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
722 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
723 Doc fixes.
724 (rmail-decode-mime-charset): Mark as obsolete.
725
726 * mail/rmailsum.el (rmail-message-regexp-p-1):
727 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
728 Before using mime functions, check they are set. (Bug#10077)
729
d5a6b3ba
JL
7302011-11-19 Juri Linkov <juri@jurta.org>
731
732 * info.el (Info-finder-find-node): Use `package--builtins' instead
733 of `package-alist'. Use node names formed by the pattern "Keyword "
734 and the keyword name.
735
e981b61f
AS
7362011-11-19 Andreas Schwab <schwab@linux-m68k.org>
737
738 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
739 bash.
740
3ffbc301
JL
7412011-11-19 Juri Linkov <juri@jurta.org>
742
743 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
744 that calls `revert-buffer' on all Info buffers. (Bug#9915)
745 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
746 `old-history', `old-history-forward'. Add let-binding
747 `window-selected'. Remove calls to `kill-buffer',
748 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
749 before calling `Info-find-node', so `Info-find-node-2' will reread
750 the Info file. Restore window positions only when `window-selected'
751 is non-nil.
752
30c62133
JL
7532011-11-19 Juri Linkov <juri@jurta.org>
754
755 * isearch.el (isearch-lazy-highlight-new-loop):
756 Remove condition `(not isearch-error)'. (Bug#9918)
757
758 * misearch.el (multi-isearch-search-fun): Add condition
759 `(not bound)' to ignore lazy-highlighting search.
760 Add the search-failed message "end of multi" when the end of
761 multi-sequence is reached. Uncapitalize the search-failed
762 message "Repeat for next buffer".
763
764 * info.el (Info-search): Add the search-failed message
765 "end of the manual" when the end of the manual is reached
766 in Isearch mode.
767
645ca9cf
JL
7682011-11-19 Juri Linkov <juri@jurta.org>
769
770 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
771 Use non-destructive `remove' instead of `delete' because
772 `Info-history-list' stored to `Info-isearch-initial-history-list' in
773 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
774
df754f66
JL
7752011-11-19 Juri Linkov <juri@jurta.org>
776
777 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
778 to nil instead of binding `search-ring' and `regexp-search-ring'.
779 (Bug#9185)
780
0e23d96a
EZ
7812011-11-19 Eli Zaretskii <eliz@gnu.org>
782
783 * simple.el (line-move): Force movement by logical lines for any
784 hscrolled window, not only when auto-hscroll-mode is on.
785 (line-move-visual): Update doc string to that effect. (Bug#10076)
786
8a6ccb66
AS
7872011-11-19 Andreas Schwab <schwab@linux-m68k.org>
788
789 * language/european.el (macintosh): Define as alias for mac-roman.
790
49ae5b39
EZ
7912011-11-19 Eli Zaretskii <eliz@gnu.org>
792
793 * mail/rmailmm.el (rmail-mime-display-header)
794 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
795 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
796 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
797 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
798 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
799 of a raw aref.
800 (rmail-mime-entity-segment): To get past the tagline, move forward
801 2 more lines, to account for the 2 empty lines that precede and
802 follow the line with the buttons.
803 (rmail-mime-update-tagline): Move one more line, to get past the
804 empty line that follows the buttons in the tagline. (Bug#9520)
805
c56cad4a
MR
8062011-11-19 Martin Rudalics <rudalics@gmx.at>
807
808 * window.el (window-max-delta-1, window-min-delta-1)
809 (window-min-size-1, window-state-get-1, window-state-put-1)
810 (window-state-put-2): Use "window--" prefix.
811
cbe71af3
SM
8122011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
813
2ad52c60
SM
814 * emacs-lisp/smie.el: Improve warnings and conflict detection.
815 (smie-warning-count): New var.
816 (smie-set-prec2tab): Use it.
817 (smie-bnf->prec2): Improve warnings. Add docstring.
818 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
819 (smie-bnf--set-class): New function.
820 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
821 corner case.
822
6944dbc1
SM
823 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
824 (compilation-error-properties, compilation-move-to-column):
825 Handle compilation-first-column while in the target buffer.
826
c400c4d7
SM
827 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
828 Don't hardcode point-min==1.
829
6dbe3e96
SM
830 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
831 (eshell-rewrite-for-command): Remove workaround.
832 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
833 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
834 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
835
cbe71af3
SM
836 * files-x.el (modify-file-local-variable): Obey commenting conventions.
837
a8e1496d
GM
8382011-11-17 Glenn Morris <rgm@gnu.org>
839
840 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
841 Ignore buffer-local generated-autoload-file if it is the same
842 as the global value. (Bug#10049)
843
df85d315
JB
8442011-11-17 Juanma Barranquero <lekktu@gmail.com>
845
846 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
847 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
848 (reftex-toc-previous-heading, reftex-toc-max-level)
849 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
850 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
851 (reftex-toc-do-promote, reftex-toc-promote-prepare)
852 (reftex-toc-promote-action, reftex-toc-extract-section-number)
853 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
854 (reftex-toc-rename-label, reftex-toc-visit-location)
855 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
856 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
857 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
858 leaving "*toc*" only for references to the buffer.
859
a0c2d0ae
MR
8602011-11-17 Martin Rudalics <rudalics@gmx.at>
861
862 * window.el (window-resize, delete-window, split-window):
863 Replace window-splits by window-combination-resize.
864 * cus-start.el (window-splits): Replace by
865 window-combination-resize.
866
35c0bac8
GM
8672011-11-17 Glenn Morris <rgm@gnu.org>
868
869 * progmodes/sh-script.el (sh-font-lock-keywords-var):
870 Make bash entry derive from sh entry, not shell entry.
871
d0c8fc8a
MA
8722011-11-16 Michael Albinus <michael.albinus@gmx.de>
873
d0c8fc8a
MA
874 * net/tramp-cache.el (tramp-flush-file-property): Flush also
875 properties of linked files. (Bug#9879)
876
7262a87c
MA
877 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
878 local file name.
879
7877f373
JB
8802011-11-16 Juanma Barranquero <lekktu@gmail.com>
881
882 * menu-bar.el (menu-bar-file-menu):
883 * printing.el (pr-ps-utility):
884 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
885 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
886 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
887 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
888 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
889 (icalendar--convert-cyclic-to-ical)
890 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
891 (icalendar--convert-ical-to-diary)
892 (icalendar--convert-recurring-to-diary)
893 (icalendar--convert-non-recurring-all-day-to-diary)
894 (icalendar-import-format-sample):
895 * progmodes/idlw-shell.el (idlwave-shell-mode):
896 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
897 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
898 (vhdl-ps-print-init): Fix typos.
899
10649b82
KM
9002011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
901
9d0cfcd6
GM
902 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
903 FSF and collapse date sequence, obscure author/maintainer email address
904 better, remove extra version line, track relocation of author's webpage.
10649b82 905
9d0cfcd6
GM
906 * progmodes/python.el (python-pdbtrack-input-prompt)
907 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
908 regular python pdb prompts. Adjustments shamelessly taken exactly as
909 suggested in EmacsWiki page (tiny change):
910 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 911
58179cce
JB
9122011-11-16 Juanma Barranquero <lekktu@gmail.com>
913
914 * expand.el (expand-pos, expand-index, expand-point):
915 Remove redundant info from docstring.
916 (expand-add-abbrevs): Doc fix.
917 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
918 (expand-sample-perl-mode-expand-list): Fix typos.
919
920 * net/dbus.el (dbus-event-member-name):
921 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
922 * term/pc-win.el (msdos-create-frame-with-faces):
923 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
924
b6f67890
MR
9252011-11-16 Martin Rudalics <rudalics@gmx.at>
926
927 * window.el (split-window, window-state-get-1)
928 (window-state-put-1, window-state-put-2): Rename occurrences of
929 window-nest to window-combination-limit.
930 * cus-start.el (window-nest): Rename to
931 window-combination-limit.
932
ce7ddba0
CY
9332011-11-16 Chong Yidong <cyd@gnu.org>
934
935 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
936 regexp (Bug#10033).
937
3ae704f4
SM
9382011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
939
940 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
941 `completing-read' will remove *Completions* and will preserve
942 current-buffer for us.
943 (tmm-add-prompt): Users of *Completions* will always (re)set its
944 major mode.
945 (tmm-old-comp-map): Remove.
946
6ad1cdde
GM
9472011-11-16 Glenn Morris <rgm@gnu.org>
948
949 * mail/rmailedit.el: Require rmailmm when compiling.
950 (rmail-old-mime-state): New declaration.
951 (rmail-edit-current-message): If editing a mime message,
952 edit the "raw" message from the mbox buffer.
953 (rmail-cease-edit): Handle mime messages. (Bug#9840)
954
d20faa20
GM
9552011-11-15 Glenn Morris <rgm@gnu.org>
956
957 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
958 which wasn't being used. Add optional arg to force given state.
959 (rmail-mime): Add optional arg to force given state.
960
c7015153
JB
9612011-11-15 Juanma Barranquero <lekktu@gmail.com>
962
963 * allout.el (allout-encryption-plaintext-sanitization-regexps):
964 * frame.el (display-mm-dimensions-alist):
965 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
966 (outline-move-subtree-down):
967 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
968 (newsticker--treeview-do-get-node):
969 * net/quickurl.el (quickurl-list-buffer-name):
970 * progmodes/dcl-mode.el (dcl-mode):
971 * progmodes/gdb-mi.el (gdb-mapcar*):
972 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
973
45261b50
GM
9742011-11-15 Glenn Morris <rgm@gnu.org>
975
976 * mail/rmail.el (rmail-file-coding-system): It's only ever used
977 in a boolean sense, so just make it a boolean, and fix the doc.
978 (rmail-show-mime-function, rmail-mime-feature)
979 (rmail-require-mime-maybe): Doc fixes.
980 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
981
982 * mail/rmailmm.el (rmail-show-mime): Doc fix.
983
0d26e0b6
JB
9842011-11-15 Juanma Barranquero <lekktu@gmail.com>
985
986 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
987 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
988 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
989 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
990
447f30f6
GM
9912011-11-15 Glenn Morris <rgm@gnu.org>
992
672b871d
GM
993 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
994 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
995 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
996 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
997 (rmail-mime, rmail-show-mime): Doc fixes.
998
f6aa5bb1
GM
999 * term/ns-win.el (mode-line-frame-identification):
1000 Leave it alone. (Bug#10051)
1001
947cd66b
GM
1002 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1003
447f30f6
GM
1004 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1005 Handle empty buffers. (Bug#9978)
1006
0b381c7e
JB
10072011-11-14 Juanma Barranquero <lekktu@gmail.com>
1008
1009 * international/mule.el (define-charset):
1010 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1011 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1012 * progmodes/verilog-mode.el (verilog-backward-token):
1013 * textmodes/ispell.el (lookup-words):
1014 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1015
71e027ac
GM
10162011-11-14 Glenn Morris <rgm@gnu.org>
1017
56632ce4
GM
1018 * progmodes/executable.el
1019 (executable-make-buffer-file-executable-if-script-p):
1020 Handle file-modes returning nil.
1021
40500957
GM
1022 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1023 message - not necessary, and causes problems. (Bug#9831)
1024
071c2340
GM
1025 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1026
d3cfca60
GM
1027 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1028
71e027ac
GM
1029 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1030 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1031 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1032
89d61221
MR
10332011-11-12 Martin Rudalics <rudalics@gmx.at>
1034
1035 * window.el (window-resize, delete-window): Use window-splits
1036 variable instead of function.
1037 (window-state-get-1, window-state-put-2, window-state-put):
1038 Don't deal with windows' splits status.
1039
98282f6f
GM
10402011-11-12 Glenn Morris <rgm@gnu.org>
1041
1042 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1043 (apropos-documentation): Doc fixes.
1044
40a8bdf6
JB
10452011-11-11 Juanma Barranquero <lekktu@gmail.com>
1046
1047 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1048 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1049
65bd19ff
SM
10502011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1051
1052 * electric.el (electric-indent-post-self-insert-function): Make it
1053 possible for a char to only indent in some circumstances.
1054 (electric-indent-mode): Simplify.
1055
54f9154c
MR
10562011-11-11 Martin Rudalics <rudalics@gmx.at>
1057
1058 * window.el (windows-with-parameter): Remove unused function.
1059 (windows-at-side): Rename to window-at-side-list.
1060 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1061 (window-side-check, window-size-ignore, window-size-fixed-1)
1062 (window-in-direction-2): Prefix with "window--".
1063 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1064
68cbc58b
GM
10652011-11-11 Glenn Morris <rgm@gnu.org>
1066
1067 * subr.el (eval-after-load): If FILE is already loaded,
1068 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1069
b2621720
GM
10702011-11-10 Glenn Morris <rgm@gnu.org>
1071
9a4de110
GM
1072 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1073 Call svn via vc-svn-command rather than vc-do-command.
1074 (vc-svn-command): Add --non-interactive. (Bug#9993)
1075 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1076
b2621720
GM
1077 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1078 Add toggle-read-only. (Bug#7292)
1079 * files.el (toggle-read-only): Mention that it should only
1080 be used interactively. (Bug#10006)
1081
1dce7193
SM
10822011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1083
d9ac1a1e
SM
1084 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1085 Adjust regexp for OCaml warnings.
1086
0c325082
SM
1087 * electric.el (electric-pair-post-self-insert-function): Let user
1088 turn it off buffer-locally (bug#9932).
1089
90132c14
SM
1090 * progmodes/python.el (python-beginning-of-statement):
1091 Rewrite (bug#2703).
1092
1dce7193
SM
1093 * progmodes/compile.el: Better handle TABs (bug#9749).
1094 (compilation-internal-error-properties)
1095 (compilation-next-error-function): Obey the target buffer's
1096 compilation-error-screen-columns.
1097
c4e7c63a
JB
10982011-11-09 Juanma Barranquero <lekktu@gmail.com>
1099
1100 * progmodes/meta-mode.el: Remove obsolete comments.
1101 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1102 Fix typos in docstrings.
1103
2cffd681
MR
11042011-11-09 Martin Rudalics <rudalics@gmx.at>
1105
1106 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1107 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1108 (window--resizable): New function. Make all callers of
1109 window-resizable call window--resizable instead.
1110 (window-resizable): Rewrite in terms of window--resizable.
1111
0edcba87
GM
11122011-11-08 Glenn Morris <rgm@gnu.org>
1113
1114 * progmodes/delphi.el (delphi-mode-syntax-table):
1115 Let define-derived-mode define a proper syntax table. (Bug#9994)
1116
4b0d61e3
SM
11172011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1118
1119 * window.el: Stay away from defsubst.
1120 (window-list-no-nils): Remove.
1121 (window-state-get-1, window-state-get): Use backquote instead.
1122
fcbcac2e 11232011-11-08 thierry <thierry.volpiatto@gmail.com>
1124
4b0d61e3 1125 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1126 Fix incorrect use of default argument in `completing-read'.
1127
e1c2c6f2
MR
11282011-11-08 Martin Rudalics <rudalics@gmx.at>
1129
1130 * window.el (display-buffer-function, special-display-function):
1131 Mention display-buffer-record-window but do not mention
1132 help-setup parameter in doc-strings.
b3f4a882 1133 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1134
105216ed
CY
11352011-11-08 Chong Yidong <cyd@gnu.org>
1136
1137 * window.el (window-total-height, window-total-width): Doc fix.
1138 (window-body-size): Move from C.
1139 (window-body-height, window-body-width): Move to C.
1140
0a9f9ab5
SM
11412011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1142
1143 * window.el: Make special-display like display-buffer-alist (bug#9532).
1144 (display-buffer--special-action): New function, morphed
1145 from display-buffer--special.
1146 (display-buffer): Use it to handle special-display-buffers at higher
1147 priority (just after display-buffer-alist).
1148 (display-buffer-fallback-action, display-buffer--other-frame-action)
1149 (pop-to-buffer-same-window): Remove display-buffer--special.
1150
a769dd15
GM
11512011-11-07 Glenn Morris <rgm@gnu.org>
1152
1153 * calendar/cal-menu.el (cal-menu-set-date-title):
1154 Do nothing if not in a calendar. (Bug#9976)
1155
05a61ee3
SM
11562011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * files.el (find-file): Always use selected-window.
1159
be7f5545
MR
11602011-11-07 Martin Rudalics <rudalics@gmx.at>
1161
1162 * window.el (window-combinations): Make WINDOW argument
1163 mandatory. Rewrite doc-string.
1164 (walk-window-subtree, window-atom-check, window-min-delta)
1165 (window-max-delta, window--resize-this-window)
1166 (window--resize-root-window-vertically, window-tree)
1167 (balance-windows, window-state-put): Rewrite doc-strings as to
1168 not mention the term "subwindow".
1169 (window--resize-subwindows-skip-p): Rename to
1170 window--resize-child-windows-skip-p.
1171 (window--resize-subwindows-normal): Rename to
1172 window--resize-child-windows-normal.
1173 (window--resize-subwindows): Rename to
1174 window--resize-child-windows.
1175 (window-or-subwindow-p): Rename to window--in-subtree-p.
1176
3c6702ef
ML
11772011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1178
1179 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1180 Ensure that mbox format messages end in two newlines (Bug#9974).
1181
49745b39
CY
11822011-11-06 Chong Yidong <cyd@gnu.org>
1183
1184 * window.el (window-combination-p): Function deleted; its
1185 side-effect is not used in any existing code.
1186 (window-combinations, window-combined-p): Call window-*-child
1187 directly.
1188
24300f5f
CY
11892011-11-05 Chong Yidong <cyd@gnu.org>
1190
1191 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
1192 (window-size-ignore, window-state-get): Callers changed.
1193 (window-normalize-window): Rename from window-normalize-any-window.
1194 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 1195 (window-normalize-live-window): Delete.
447f16b8
CY
1196 (window-combination-p, window-combined-p, window-combinations)
1197 (walk-window-subtree, window-atom-root, window-min-size)
1198 (window-sizable, window-sizable-p, window-size-fixed-p)
1199 (window-min-delta, window-max-delta, window-resizable)
1200 (window-resizable-p, window-full-height-p, window-full-width-p)
1201 (window-current-scroll-bars, window-point-1, set-window-point-1)
1202 (window-at-side-p, window-in-direction, window-resize)
1203 (adjust-window-trailing-edge, maximize-window, minimize-window)
1204 (window-deletable-p, delete-window, delete-other-windows)
1205 (record-window-buffer, unrecord-window-buffer)
1206 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1207 (quit-window, split-window, window-state-put)
1208 (set-window-text-height, fit-window-to-buffer)
1209 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 1210
89bd5ee1
EZ
12112011-11-04 Eli Zaretskii <eliz@gnu.org>
1212
53479029
EZ
1213 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1214 rfc2047-decode-string.
1215 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1216 warnings.
1217
89bd5ee1
EZ
1218 * window.el (window-body-height, window-body-width): Mention in
1219 the doc string that the return values are in frame's canonical
1220 units. (Bug#9949)
1221
bd17fdee
AM
12222011-11-03 Alan Mackenzie <acm@muc.de>
1223
1224 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1225 change in cc-engine.el.
1226
acc825c5
SM
12272011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1228
1229 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1230
1885e5b8
MR
12312011-11-02 Martin Rudalics <rudalics@gmx.at>
1232
1233 * window.el (quit-window): Call unrecord-window-buffer after
1234 showing another buffer in the window. (Bug#9937)
acc825c5 1235 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 1236
ebe06da9
JB
12372011-11-02 Juanma Barranquero <lekktu@gmail.com>
1238
1239 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1240 Accept status with more than 9 shelves. (Bug#9935)
1241 Reported by Colin D Bennett <colin@gibibit.com>.
1242
4ee88440
MR
12432011-11-01 Martin Rudalics <rudalics@gmx.at>
1244
1245 * help.el (with-help-window): Don't reference
1246 temp-buffer-show-specifiers in doc-string.
1247
08e1d82c
AS
12482011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1249
1250 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1251 menu-item.
1252
84bd6e9e
VJL
12532011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1254
1255 * whitespace.el: New version 13.2.2.
1256 (whitespace-newline-mode): Disable properly. Reported by Sarah
1257 <EmacsWiki>.
1258
dba0634a
UJ
12592011-10-30 Ulf Jasper <ulf.jasper@web.de>
1260
1261 * net/newst-treeview.el: Remove "Time-stamp".
1262 (newsticker--group-manage-orphan-feeds): Do not call
1263 newsticker--treeview-tree-update.
db22a3c2
JB
1264 (newsticker-treeview-update, newsticker-treeview):
1265 Call newsticker--treeview-tree-update if necessary.
dba0634a 1266
3d8daefe
MR
12672011-10-30 Martin Rudalics <rudalics@gmx.at>
1268
1269 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1270 (window-iso-combinations): Remove "iso-" infix.
1271 Suggested by Chong Yidong.
3d8daefe
MR
1272 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1273 (window-max-delta-1, window-resize, window--resize-siblings)
1274 (window--resize-this-window, adjust-window-trailing-edge)
1275 (split-window, balance-windows-1)
1276 (shrink-window-if-larger-than-buffer):
1277 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1278 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1279
1bc4c3ae
SM
12802011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1281
1282 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1283 in place (bug#9907).
1284 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1285 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1286 (eshell-structure-basic-command, eshell-rewrite-while-command)
1287 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1288 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1289 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1290 (eshell-do-pipelines-synchronously, eshell-eval-command):
1291 Use backquotes and prefer setq to set.
1292 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1293 (eshell-macrop): Use functionp.
c1e2f5fa 1294 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1295
30b65d9c
CY
12962011-10-30 Chong Yidong <cyd@gnu.org>
1297
1298 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1299 instead of set-mark (Bug#9810).
1300
2d197ffb
CY
13012011-10-30 Chong Yidong <cyd@gnu.org>
1302
1303 * window.el (split-window-below, split-window-right): Rename from
1304 split-window-above-each-other and split-window-side-by-side
1305 respectively. All callers changed.
1306 (split-window-sensibly, split-window-sensibly): Use them.
1307 (split-window-keep-point): Doc fix.
1308
1309 * isearch.el: Add isearch-scroll property to split-window-below
1310 and split-window-right.
1311
1312 * follow.el (follow-mode):
1313 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1314 * progmodes/ada-xref.el (ada-gdb-application):
1315 * emulation/vip.el (vip-buffer-in-two-windows):
1316 * image-dired.el (image-dired-dired-with-window-configuration):
1317 * dired-x.el (dired-do-find-marked-files):
1318 * dired.el (dired-pop-to-buffer):
1319 * bs.el (bs--show-with-configuration):
1320 * vc/emerge.el (emerge-setup-windows):
1321 * textmodes/two-column.el (2C-two-columns):
1322 * textmodes/reftex-toc.el (reftex-toc):
1323 * progmodes/gdb-mi.el (gdb-setup-windows):
1324 * progmodes/fortran.el (fortran-window-create):
1325 * net/newst-treeview.el (newsticker--treeview-window-init):
1326 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1327 * emulation/tpu-edt.el (tpu-gold-map):
1328 * emulation/crisp.el (crisp-mode-map):
1329 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1330
38bb2ca8
CY
13312011-10-29 Chong Yidong <cyd@gnu.org>
1332
aa4de341
CY
1333 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1334
e1eb5385
CY
1335 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1336
5d2ece3c
CY
1337 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1338 forged Ispell output (Bug#7904).
1339
38bb2ca8
CY
1340 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1341
d0af9f77
SM
13422011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1343
1344 * doc-view.el: Avoid ugly errors about not finding nil.
1345 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1346 (doc-view-dvipdf-program, doc-view-unoconv-program)
1347 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1348 Avoid nil or absolute file name as default value.
1349 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1350
52bedd34
AM
13512011-10-28 Alan Mackenzie <acm@muc.de>
1352
db22a3c2 1353 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 1354
7e43cfa5
AM
13552011-10-28 Alan Mackenzie <acm@muc.de>
1356
1357 Amend the handling of c-beginning/end-of-defun in nested declaration
1358 scopes.
1359
52bedd34
AM
1360 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1361 cc-langs.el. Change it to a defcustom.
7e43cfa5 1362
52bedd34
AM
1363 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1364 cc-vars.el.
7e43cfa5 1365
d0af9f77
SM
1366 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1367 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 1368
52bedd34 1369 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 1370 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
1371 (c-widen-to-enclosing-decl-scope): New function.
1372 (c-while-widening-to-decl-block): New macro.
1373 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1374 outward for defun boundaries, and correspondingly change symbol
1375 `respect-enclosure' to `go-outward'.
1376 (c-declaration-limits): Change algorithm to report only the "innermost"
1377 defun's boundaries.
1378
1a2ce9ee
DD
13792011-10-28 Deniz Dogan <deniz@dogan.se>
1380
1381 * net/rcirc.el (rcirc-mode): Use hard newlines.
1382
bc97a826
AM
13832011-10-28 Alan Mackenzie <acm@muc.de>
1384
1385 Amend to indent and fontify macros "which include their own semicolon"
1386 correctly, using the "virtual semicolon" mechanism.
1387
52bedd34 1388 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 1389
d0af9f77 1390 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 1391 Recode to scan one line at a time rather than having \n and \r
58179cce 1392 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 1393 (c-forward-label): Amend for virtual semicolons.
58179cce 1394 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 1395
52bedd34
AM
1396 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1397 of the new C macros.
bc97a826 1398
52bedd34 1399 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
1400 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1401 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
1402 (c-opt-cpp-macro-define): Make into a full language variable.
1403 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1404 AWK Mode (including \n, \r) removed, no longer needed.
1405
d0af9f77
SM
1406 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1407 Invoke c-make-macro-with-semi-re.
bc97a826 1408
52bedd34
AM
1409 * progmodes/cc-vars.el (c-macro-with-semi-re):
1410 (c-macro-names-with-semicolon): New variables.
58179cce 1411 (c-make-macro-with-semi-re): New function.
bc97a826 1412
7a6c0941
SM
14132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1414
1415 * vc/log-edit.el: Fill empty field rather than adding new one.
1416 (log-edit-add-field): New function.
1417 (log-edit-insert-changelog): Use it.
1418
b0c4cdcf
ML
14192011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1420
1421 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1422
ee1f1da9
SM
14232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1424
1425 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1426 (gdb--check-interpreter): New function.
1427 (gdb): Use it.
1428
51bc5f8b
GM
14292011-10-27 Glenn Morris <rgm@gnu.org>
1430
416a2c45
GM
1431 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1432 (least-positive-float, least-negative-float)
1433 (least-positive-normalized-float, least-negative-normalized-float)
1434 (float-epsilon, float-negative-epsilon):
1435 Remove unnecessary declarations.
1436
1437 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1438 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1439 (least-positive-float, least-negative-float)
1440 (least-positive-normalized-float, least-negative-normalized-float)
1441 (float-epsilon, float-negative-epsilon): Add doc-strings,
1442 based on those in cl.texi.
1443
51bc5f8b
GM
1444 * files.el (set-visited-file-name): If the major-mode changed,
1445 reload the local variables. (Bug#9796)
1446
15de15c6
CY
14472011-10-27 Chong Yidong <cyd@gnu.org>
1448
1449 * subr.el (change-major-mode-after-body-hook): New hook.
1450 (run-mode-hooks): Run it.
1451
ee1f1da9
SM
1452 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1453 Use change-major-mode-before-body-hook.
15de15c6
CY
1454
1455 * simple.el (fundamental-mode):
1456 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1457 change introducing fundamental-mode-hook.
1458
5430d399
JB
14592011-10-26 Juanma Barranquero <lekktu@gmail.com>
1460
acc825c5 1461 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 1462
ad74a69e
MA
14632011-10-26 Michael Albinus <michael.albinus@gmx.de>
1464
1465 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 1466 tramp.el explicitly. (Bug#7583)
ad74a69e 1467
71d4c2a5
SM
14682011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1469
1470 * progmodes/octave-mod.el:
1471 * progmodes/octave-inf.el: Update maintainer.
1472
b1f6fa26
CY
14732011-10-26 Chong Yidong <cyd@gnu.org>
1474
1475 * subr.el (with-wrapper-hook): Rewrite doc.
1476
3f04efd6
MA
14772011-10-25 Michael Albinus <michael.albinus@gmx.de>
1478
1479 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 1480 filenames "/method:foo:". (Bug#9793)
3f04efd6 1481
410488d3
SM
14822011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1483
1484 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1485 (bug#9865).
1486
c1ebb47e
GM
14872011-10-24 Glenn Morris <rgm@gnu.org>
1488
1489 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
1490
7f5c46c7
MA
14912011-10-24 Michael Albinus <michael.albinus@gmx.de>
1492
1493 * notifications.el: Add the requirement of a running D-Bus session
1494 bus to the Commentary.
1495
db2440b6
JL
14962011-10-24 Juri Linkov <juri@jurta.org>
1497
1498 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1499 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1500 (Bug#9364)
1501
feecf435
JL
15022011-10-24 Juri Linkov <juri@jurta.org>
1503
1504 * info.el (Info-following-node-name-re): Add newline to the list
1505 of allowed characters for leading space. (Bug#9824)
1506
a3839de2
SM
15072011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1508
acc825c5
SM
1509 * progmodes/octave-inf.el (inferior-octave-mode-map):
1510 Fix C-c C-h binding.
a3839de2
SM
1511 * progmodes/octave-mod.el (octave-help): Remove.
1512
09388e76
MA
15132011-10-23 Michael Albinus <michael.albinus@gmx.de>
1514
1515 Sync with Tramp 2.2.3.
1516
1517 * net/tramp-cache.el (top): Pacify byte-compiler using
1518 `init-file-user' and `site-run-file'.
1519
1520 * net/trampver.el: Update release number.
1521
86c60681
CY
15222011-10-23 Chong Yidong <cyd@gnu.org>
1523
1524 * files.el (toggle-read-only): Remove obsolete comment about
1525 version control.
1526
1527 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
1528 for toggle-read-only. Note that this hasn't called vc-next-action
1529 since 2008-05-02, though it wasn't documented at the time.
1530
a3839de2
SM
1531 * vc/ediff-init.el (ediff-toggle-read-only-function):
1532 Use toggle-read-only.
86c60681 1533
cd5495ff
AM
15342011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
1535
1536 Fix bug #9560, sporadic wrong indentation; improve instrumentation
1537 of c-parse-state.
1538
00b77525 1539 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 1540 correct faulty logical expression.
cd5495ff
AM
1541 (c-parse-state-state, c-record-parse-state-state):
1542 (c-replay-parse-state-state): New defvar/defuns.
1543 (c-debug-parse-state): Use new functions.
1544
42ee24ed
MR
15452011-10-22 Martin Rudalics <rudalics@gmx.at>
1546
1547 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 1548 last fix. Use window-in-direction correctly.
42ee24ed 1549
a7dee7e7
CY
15502011-10-21 Chong Yidong <cyd@gnu.org>
1551
1552 * progmodes/idlwave.el (idlwave-mode):
1553 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
1554 require-final-newline; that's done in prog-mode.
1555 Suggested by Stefan Monnier.
a7dee7e7 1556
e07b9a6d
MR
15572011-10-21 Martin Rudalics <rudalics@gmx.at>
1558
1559 * mouse.el (mouse-drag-window-above)
1560 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1561 (mouse-drag-mode-line-1, mouse-drag-header-line)
1562 (mouse-drag-vertical-line-rightward-window): Remove.
1563 (mouse-drag-line): New function.
1564 (mouse-drag-mode-line, mouse-drag-header-line)
1565 (mouse-drag-vertical-line): Call mouse-drag-line.
1566 * window.el (window-at-side-p, windows-at-side): New functions.
1567
7e1361d9
UM
15682011-10-21 Ulrich Mueller <ulm@gentoo.org>
1569
1570 * tar-mode.el (tar-grind-file-mode):
1571 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
1572
30fcaf3a
CY
15732011-10-21 Chong Yidong <cyd@gnu.org>
1574
1575 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
1576 * progmodes/vera-mode.el (vera-mode):
1577 Use mode-require-final-newline.
30fcaf3a 1578
516eddb0
GM
15792011-10-20 Glenn Morris <rgm@gnu.org>
1580
db22a3c2 1581 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 1582
10d5f513
CS
15832011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
1584
1585 * emulation/cua-base.el (cua-set-mark): Fix case of string.
1586
ac6c8639
CY
15872011-10-20 Chong Yidong <cyd@gnu.org>
1588
1589 * emulation/cua-base.el (cua-mode):
1590 * mail/footnote.el (footnote-mode):
1591 * mail/mailabbrev.el (mail-abbrevs-mode):
1592 * net/xesam.el (xesam-minor-mode):
1593 * progmodes/bug-reference.el (bug-reference-mode):
1594 * progmodes/cap-words.el (capitalized-words-mode):
1595 * progmodes/compile.el (compilation-minor-mode)
1596 (compilation-shell-minor-mode):
1597 * progmodes/gud.el (gud-tooltip-mode):
1598 * progmodes/hideif.el (hide-ifdef-mode):
1599 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1600 * progmodes/subword.el (subword-mode):
1601 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1602 * progmodes/which-func.el (which-function-mode):
1603 * term/tvi970.el (tvi970-set-keypad-mode):
1604 * term/vt100.el (vt100-wide-mode):
1605 * textmodes/flyspell.el (flyspell-mode):
1606 * textmodes/ispell.el (ispell-minor-mode):
1607 * textmodes/nroff-mode.el (nroff-electric-mode):
1608 * textmodes/paragraphs.el (use-hard-newlines):
1609 * textmodes/refill.el (refill-mode):
1610 * textmodes/reftex.el (reftex-mode):
1611 * textmodes/rst.el (rst-minor-mode):
1612 * textmodes/sgml-mode.el (html-autoview-mode)
1613 (sgml-electric-tag-pair-mode):
1614 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1615 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1616 * emulation/crisp.el (crisp-mode):
1617 * emacs-lisp/eldoc.el (eldoc-mode):
1618 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1619 minor mode behavior.
1620
aa42ab43
JL
16212011-10-19 Juri Linkov <juri@jurta.org>
1622
1623 * descr-text.el (describe-char): Add #x2010 and #x2011 to
1624 the list of hard-coded chars with escape-glyph face.
1625
89400f1d
SM
16262011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1627
1628 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1629
305c07f6
MA
16302011-10-19 Michael Albinus <michael.albinus@gmx.de>
1631
1632 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1633 running process.
1634
13754b54
GM
16352011-10-19 Glenn Morris <rgm@gnu.org>
1636
1637 * vc/vc-bzr.el (vc-bzr-after-dir-status):
1638 Ignore ignored files. (Bug#9726)
1639
06e21633
CY
16402011-10-19 Chong Yidong <cyd@gnu.org>
1641
1642 Doc fix for minor modes, stating that an omitted argument enables
1643 the mode unconditionally when called from Lisp.
1644
1645 * abbrev.el (abbrev-mode):
1646 * allout.el (allout-mode):
1647 * autoinsert.el (auto-insert-mode):
1648 * autoarg.el (autoarg-mode, autoarg-kp-mode):
1649 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1650 (global-auto-revert-mode):
1651 * battery.el (display-battery-mode):
1652 * composite.el (global-auto-composition-mode)
1653 (auto-composition-mode):
1654 * delsel.el (delete-selection-mode):
1655 * desktop.el (desktop-save-mode):
1656 * dired-x.el (dired-omit-mode):
1657 * dirtrack.el (dirtrack-mode):
1658 * doc-view.el (doc-view-minor-mode):
1659 * double.el (double-mode):
1660 * electric.el (electric-indent-mode, electric-pair-mode):
1661 * emacs-lock.el (emacs-lock-mode):
1662 * epa-hook.el (auto-encryption-mode):
1663 * follow.el (follow-mode):
1664 * font-core.el (font-lock-mode):
1665 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1666 * help.el (temp-buffer-resize-mode):
1667 * hilit-chg.el (highlight-changes-mode)
1668 (highlight-changes-visible-mode):
1669 * hi-lock.el (hi-lock-mode):
1670 * hl-line.el (hl-line-mode, global-hl-line-mode):
1671 * icomplete.el (icomplete-mode):
1672 * ido.el (ido-everywhere):
1673 * image-file.el (auto-image-file-mode):
1674 * image-mode.el (image-minor-mode):
1675 * iswitchb.el (iswitchb-mode):
1676 * jka-cmpr-hook.el (auto-compression-mode):
1677 * linum.el (linum-mode):
1678 * longlines.el (longlines-mode):
1679 * master.el (master-mode):
1680 * mb-depth.el (minibuffer-depth-indicate-mode):
1681 * menu-bar.el (menu-bar-mode):
1682 * minibuf-eldef.el (minibuffer-electric-default-mode):
1683 * mouse-sel.el (mouse-sel-mode):
1684 * msb.el (msb-mode):
1685 * mwheel.el (mouse-wheel-mode):
1686 * outline.el (outline-minor-mode):
1687 * paren.el (show-paren-mode):
1688 * recentf.el (recentf-mode):
1689 * reveal.el (reveal-mode, global-reveal-mode):
1690 * rfn-eshadow.el (file-name-shadow-mode):
1691 * ruler-mode.el (ruler-mode):
1692 * savehist.el (savehist-mode):
1693 * scroll-all.el (scroll-all-mode):
1694 * scroll-bar.el (scroll-bar-mode):
1695 * server.el (server-mode):
1696 * shell.el (shell-dirtrack-mode):
1697 * simple.el (auto-fill-mode, transient-mark-mode)
1698 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1699 (line-number-mode, column-number-mode, size-indication-mode)
1700 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1701 * strokes.el (strokes-mode):
1702 * time.el (display-time-mode):
1703 * t-mouse.el (gpm-mouse-mode):
1704 * tool-bar.el (tool-bar-mode):
1705 * tooltip.el (tooltip-mode):
1706 * type-break.el (type-break-mode-line-message-mode)
1707 (type-break-query-mode):
1708 * view.el (view-mode):
1709 * whitespace.el (whitespace-mode, whitespace-newline-mode)
1710 (global-whitespace-mode, global-whitespace-newline-mode):
1711 * xt-mouse.el (xterm-mouse-mode): Doc fix.
1712
a3839de2
SM
1713 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1714 Fix autogenerated docstring.
06e21633 1715
5214e501
JL
17162011-10-19 Juri Linkov <juri@jurta.org>
1717
1718 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1719 by checking environment variables "DESKTOP_SESSION" and
1720 "XDG_CURRENT_DESKTOP". (Bug#9779)
1721
195f8db9
JL
17222011-10-19 Juri Linkov <juri@jurta.org>
1723
1724 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1725 (browse-url-chromium-program, browse-url-chromium-arguments):
1726 New defcustoms.
1727 (browse-url-default-browser): Check for `browse-url-chromium' and
1728 call `browse-url-chromium-program'.
1729 (browse-url-chromium): New command. (Bug#9779)
1730
343a34ff
JB
17312011-10-18 Juanma Barranquero <lekktu@gmail.com>
1732
1733 * facemenu.el (list-colors-duplicates): On Windows, detect more
1734 duplicates by assuming that only colors matching "^System" are
1735 special "system colors". (Bug#9722)
1736
6978a151
SM
17372011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1738
1739 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1740 to distinguish the author from the committer.
1741
6a80b297
MA
17422011-10-18 Michael Albinus <michael.albinus@gmx.de>
1743
1744 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1745
b31a5677
JK
17462011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1747
1748 * international/mule.el (sgml-html-meta-auto-coding-function):
1749 Add support for detecting encoding in HTML5 specified only as
1750 <meta charset="UTF-8">. Implementation just makes http-equiv and
1751 content-type parts from HTML4 encoding string optional. (Bug#9716)
1752
80c6d77f
GM
17532011-10-18 Glenn Morris <rgm@gnu.org>
1754
1755 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1756
08b0fee8
CY
17572011-10-18 Chong Yidong <cyd@gnu.org>
1758
1759 * faces.el (cursor): Doc fix.
1760
67e729a5
CY
17612011-10-17 Chong Yidong <cyd@gnu.org>
1762
1763 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1764
343a34ff 17652011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
1766
1767 * dirtrack.el (dirtrack): Support shell buffers with path
1768 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1769
0bc06380
TZ
17702011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1771
1772 * json.el: Bump version to 1.3 and note change in History.
1773 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1774
8b79f3e0
SM
17752011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1776
5a7c536b
SM
1777 * comint.el (comint-insert-input, comint-send-input)
1778 (comint-get-old-input-default, comint-backward-matching-input)
1779 (comint-next-prompt): Use nil instead of `input' for field property of
1780 past user input (bug#114).
1781
96a8a0df
SM
1782 * minibuffer.el (completion--replace): Inherit surrounding properties
1783 (bug#114).
1784 (minibuffer-complete-and-exit): Use it.
1785
8b79f3e0
SM
1786 * comint.el (comint--table-subvert): Quote the all-completions output
1787 (bug#9160).
1788
b8f7ff0d
MR
17892011-10-17 Martin Rudalics <rudalics@gmx.at>
1790
8b79f3e0 1791 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 1792
b8f7ff0d 1793 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 1794 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
1795 entries and separate them from frame entries.
1796
c235b555
GM
17972011-10-15 Glenn Morris <rgm@gnu.org>
1798
1799 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1800 Doc fixes.
1801
6bbfa6e1
CY
18022011-10-15 Chong Yidong <cyd@stupidchicken.com>
1803
8b79f3e0
SM
1804 * net/network-stream.el (network-stream-open-starttls):
1805 Improve detection of failure due to lack of TLS support.
ec5c990d 1806
6bbfa6e1
CY
1807 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1808 putting the input text in front and in bold.
1809
98488977
SM
18102011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1811
3d1337be
SM
1812 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1813
ee0b45e4
SM
1814 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1815 empty buffer.
1816
98488977
SM
1817 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1818 unread-command-events rather than pushing yet-another event.
1819
186f4720
EZ
18202011-10-14 Eli Zaretskii <eliz@gnu.org>
1821
1822 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1823 the explanation of the possible choices. Make the options passed
1824 to completing-read shorter.
1825
8b7a997c
AM
18262011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1827
1828 * textmodes/flyspell.el (flyspell-large-region): Make sure
1829 extended character mode is used if defined (Bug#1339).
1830
12587bbb
EZ
18312011-10-13 Eli Zaretskii <eliz@gnu.org>
1832
1833 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
1834 character info for LRE, LRO, RLE, and RLO characters by appending
1835 an invisible PDF.
12587bbb 1836
bad41229
SM
18372011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1838
1839 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1840 even in case of error; add debug spec; simplify data flow.
1841 (with-timeout-handler): Remove.
1842
28dbc92f
MA
18432011-10-12 Michael Albinus <michael.albinus@gmx.de>
1844
1845 Fix Bug#6019, Bug#9315.
1846
1847 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1848 complete `buffer-file-name', the local file name part could look
1849 remotely (for example on VMS).
1850
1851 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1852 `tramp-run-real-handler'.
1853 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1854 already quoted by '"'.
1855
1856 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1857 Let `file-name-handler-alist' be nil, the local file name part
1858 could look remotely (for example on VMS).
1859
e1b0b23a
SM
18602011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1862 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1863 from here...
1864 (flyspell-post-command-hook): ...to here.
1865
a120bde9
SM
18662011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1867
1868 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1869 if not needed.
1870 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1871 using completion. Protect against "slow" callers.
1872 Remove the "message hack".
1873
7ce7717b
JL
18742011-10-11 Juri Linkov <juri@jurta.org>
1875
1876 * isearch.el (isearch-lazy-highlight-word): New variable.
1877 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1878 Use it. (Bug#9727)
1879
c02ee9d6
GM
18802011-10-11 Glenn Morris <rgm@gnu.org>
1881
1882 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1883 like f90-previous-statement does.
1884
93e616fd 18852011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1886
1f190e73 1887 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
1888 only in interactive use, to avoid error.
1889
af7b6078
SM
18902011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * minibuffer.el (completion-file-name-table): Fix last change,
1893 i.e. ignore normal errors but not the other ones.
1894
0563dae9
MR
18952011-10-10 Martin Rudalics <rudalics@gmx.at>
1896
1897 * window.el (special-display-buffer-names)
1898 (special-display-regexps): Remove some remnants of earlier
1899 changes from doc-strings.
366ca7f3
MR
1900 (quit-windows-on): New function.
1901
1902 * vc/vc.el (vc-revert, vc-rollback):
1903 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1904 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 1905 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 1906
49677495
MR
19072011-10-09 Martin Rudalics <rudalics@gmx.at>
1908
1909 * window.el (frame-auto-hide-function): Add version tag.
1910 (Bug#9699)
1911
56f2d1e1
MA
19122011-10-09 Michael Albinus <michael.albinus@gmx.de>
1913
1914 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1915 condition.
1916
112a6592
LL
19172011-10-09 Leo Liu <sdl.web@gmail.com>
1918
1919 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1920 (Bug#9701)
1921
0812589b
GM
19222011-10-08 Glenn Morris <rgm@gnu.org>
1923
1924 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1925 before the first code statement zero indent. (Bug#9690)
1926
b2b0776e
CY
19272011-10-08 Chong Yidong <cyd@stupidchicken.com>
1928
1929 * simple.el (count-words-region): Always count in the region.
1930 Report the number of lines and characters too.
1931 (count-words): New command, which counts in the buffer if the
1932 region is inactive, as count-words-region used to.
1933 (count-words--message): New function. Handle plurals.
1934 (count-lines-region): Make it an alias for count-words-region.
1935
1936 * bindings.el (esc-map): Replace count-lines-region with
1937 count-words-region.
1938
c557cd6b
MR
19392011-10-08 Martin Rudalics <rudalics@gmx.at>
1940
1941 * window.el (window--delete): Delete dedicated frame
1942 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 1943 (switch-to-buffer): Fix doc-string typo.
c557cd6b 1944
61a57ef4 19452011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1946
1947 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1948
c3833279
CY
19492011-10-07 Chong Yidong <cyd@stupidchicken.com>
1950
1951 * bindings.el ([M-left],[M-right]): Bind to left-word and
1952 right-word respectively.
1953
21ce8245
GM
19542011-10-07 Glenn Morris <rgm@gnu.org>
1955
1956 * cus-start.el (debug-on-quit): Fix custom type.
1957
6d823bb2
LMI
19582011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1959
0181e193
LMI
1960 * subr.el (define-key-after): Clarify that the function is not
1961 useful for non-menu keymaps.
1962
6d823bb2
LMI
1963 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1964
8e3459ce 19652011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1966
21ce8245 1967 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 1968 in current minibuffer (Fix bug with recursive minibuffers).
1969
a1c2d21e
CY
19702011-10-06 Chong Yidong <cyd@stupidchicken.com>
1971
1972 * progmodes/gdb-mi.el (gdb): Doc fix.
1973
5a4cf282
MR
19742011-10-05 Martin Rudalics <rudalics@gmx.at>
1975
1976 * window.el (frame-auto-hide-function): New option replacing
1977 frame-auto-delete. Suggested by Stefan Monnier.
1978 (window--delete): Call frame-auto-hide-function instead of
1979 investigating frame-auto-delete.
c96111ea
MR
1980 (window-point-1, set-window-point-1): New functions.
1981 (window-in-direction, record-window-buffer, window-state-get-1)
1982 (display-buffer-record-window): Use window-point-1 instead of
1983 window-point.
1984 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 1985
9854542e
SM
19862011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1989
8943cfb0
GM
19902011-10-05 Glenn Morris <rgm@gnu.org>
1991
1992 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1993 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1994
647ab967
LL
19952011-10-05 Leo Liu <sdl.web@gmail.com>
1996
1997 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1998 works with buffer object.
1999
3ddfbced
SM
20002011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * mpc.el (mpc-tool-bar-map): Add labels.
2003
bdfa5dd2
GM
20042011-10-04 Glenn Morris <rgm@gnu.org>
2005
2006 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2007
0e2070b5
MR
20082011-10-04 Martin Rudalics <rudalics@gmx.at>
2009
2010 * window.el (window--delete): New function.
2011 (frame-auto-delete): Resuscitate option.
2012 (bury-buffer, replace-buffer-in-windows)
2013 (quit-window): Rewrite using window--delete.
2014 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2015 Pass display-buffer-mark-dedicated to window--display-buffer-2
2016 (Bug#9639).
2017
3dc61a09
SM
20182011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2019
915a9b64
SM
2020 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2021 returns a list (bug#9554). Add remote file name completion.
2022 * comint.el (comint--table-subvert): Curry and get quote&unquote
2023 functions as arguments.
2024 (comint--complete-file-name-data): Adjust call accordingly.
2025 * pcomplete.el (pcomplete--table-subvert): Remove.
2026 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2027
3dc61a09
SM
2028 * minibuffer.el (completion-table-case-fold): Use currying.
2029 (completion--styles-type, completion--cycling-threshold-type):
2030 New constants.
2031 (completion-styles, completion-category-overrides)
2032 (completion-cycle-threshold): Use them.
2033 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2034 completion-table-case-fold.
2035
8ea0a993
SB
20362011-10-03 Stephen Berman <stephen.berman@gmx.net>
2037
2038 * minibuffer.el (completion-category-overrides): Fix type of styles
2039 and add more user friendly tags (bug#9660).
2040
8c24b7f6
SM
20412011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2042
2043 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2044 (mule-input-method-string): New widget.
2045 (default-input-method, language-info-custom-alist): Use it.
2046
428fe61a
SM
20472011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2048
32c1fffd
SM
2049 * pcomplete.el: Require comint.
2050 (pcomplete--common-suffix): Remove.
2051 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2052 (pcomplete--table-subvert): Sync with comint--table-subvert.
2053 (pcomplete--entries): Use comint-completion-file-name-table.
2054 * comint.el (comint-unquote-filename): Simplify.
2055 (comint-completion-file-name-table): New function (bug#9616).
2056 (comint--complete-file-name-data): Use it.
2057
428fe61a
SM
2058 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2059 (pcmpl-gnu-tar-buffer): Remove.
2060 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2061 around. Make sure pcomplete-suffix-list is only changed temporarily.
2062 Don't look inside the tar's file if it's too large.
428fe61a 2063
04c52e2f
CY
20642011-10-01 Chong Yidong <cyd@stupidchicken.com>
2065
ce3cefcc
CY
2066 * cus-edit.el (custom-mode-map):
2067 * epa.el (epa-key-list-mode-map):
2068 * man.el (Man-mode-map):
2069 * startup.el (splash-screen-keymap):
2070 * simple.el (special-mode-map): Use scroll-up-command and
2071 scroll-down-command.
2072
2073 * progmodes/idlw-help.el (idlwave-help-mode-map):
2074 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2075 * net/newst-plainview.el (newsticker-mode-map):
2076 * emulation/ws-mode.el (wordstar-mode-map):
2077 * emulation/vi.el (vi-com-map):
2078 * calc/calc-graph.el (calc-graph-show-dumb):
2079 * term/sun.el (terminal-init-sun):
2080 * term/ns-win.el (global-map):
2081 * progmodes/grep.el (grep-mode-map):
2082 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2083 * mail/rmail.el (rmail-mode-map):
2084 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2085
04c52e2f
CY
2086 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2087 custom-safe-themes as special.
2088
79adf8c8
JD
20892011-10-01 Julien Danjou <julien@danjou.info>
2090
2091 * notifications.el (notifications-notify): Fix docstring.
2092
63bd50d3
PS
20932011-10-01 Per Starbäck <per@starback.se>
2094
2095 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2096
199e4c7e
MR
20972011-09-30 Martin Rudalics <rudalics@gmx.at>
2098
2099 * startup.el (command-line-1): Fix last fix by inserting
2100 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2101 (Bug#9605) and (Bug#9636)
199e4c7e 2102
fe5f08dd
EZ
21032011-09-29 Eli Zaretskii <eliz@gnu.org>
2104
2105 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2106 window is hscrolled, move by logical lines. (Bug#9607)
2107 (line-move-visual): Update the doc string to the above effect.
2108
b5516bbd
MR
21092011-09-29 Martin Rudalics <rudalics@gmx.at>
2110
ccee00c0
MR
2111 * window.el (display-buffer-record-window): When WINDOW is the
2112 selected window use `point' instead of `window-point'. (Bug#9626)
2113
b5516bbd
MR
2114 * startup.el (command-line-1): Use insert-before-markers when
2115 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2116
b5516bbd
MR
2117 * help.el (help-window): Remove variable.
2118
52aa0014
GM
21192011-09-29 Glenn Morris <rgm@gnu.org>
2120
2121 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2122
df9a7357
JB
21232011-09-29 Juanma Barranquero <lekktu@gmail.com>
2124
2125 * descr-text.el (describe-char-categories): Accept category
2126 descriptions more than one line long.
2127
a8406c20
SM
21282011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2129
88d9610c
SM
2130 * simple.el (delete-trailing-whitespace): Fix last change.
2131
a5daf810
SM
2132 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2133 Don't confuse "y => 3" as the beginning of a `y' operation.
2134
a8406c20
SM
2135 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2136 object has more than 4 slots (bug#9613).
2137
a239d4e9
JB
21382011-09-28 Juanma Barranquero <lekktu@gmail.com>
2139
2140 * subr.el (with-output-to-temp-buffer):
2141 * net/quickurl.el (quickurl, quickurl-browse-url):
2142 Fix typos in docstrings.
2143
693fbdb6
EZ
21442011-09-27 Eli Zaretskii <eliz@gnu.org>
2145
2146 * minibuffer.el (completion-styles)
2147 (completion-category-overrides): Cross reference each other in doc
2148 strings.
2149
8b457e28
GM
21502011-09-27 Glenn Morris <rgm@gnu.org>
2151
2152 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2153 to split-string. (Bug#9606)
2154
85a16208
LMI
21552011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2156
2157 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2158 (bug#9615).
2159
502f9ebd
CY
21602011-09-27 Chong Yidong <cyd@stupidchicken.com>
2161
2162 * emacs-lisp/package.el (list-packages): Fix echo area message.
2163
7690bdea
LL
21642011-09-27 Leo Liu <sdl.web@gmail.com>
2165
2166 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2167
e2ee6f30
MA
21682011-09-25 Michael Albinus <michael.albinus@gmx.de>
2169
2170 * net/dbus.el (dbus-unregister-object): Don't release services for
2171 registered signals. (Bug#9581)
2172
f3f98342
TZ
21732011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2174
2175 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2176 function that picks between cfengine 2 and 3 support
2177 automatically. Update docs accordingly.
2178
dd7aa8dd
KH
21792011-09-22 Kenichi Handa <handa@m17n.org>
2180
2181 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2182 ZERO.
2183 (indian-itrans-v5-table-for-tamil): New variable.
2184 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2185
3f2b07f8
KM
21862011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2187
2188 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2189 that's true if the current command involved collapsing of text.
2190 It's reset to false at the beginning of the next command.
2191 (allout-post-command-business): Move the cursor to the beginning
2192 of entry if the cursor is hidden and collapsing activity just
2193 happened.
2194
371d6a61
CY
21952011-09-24 Chong Yidong <cyd@stupidchicken.com>
2196
2197 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2198 tracking (Bug#9541).
2199
2ac2721a
UJ
22002011-09-24 Ulf Jasper <ulf.jasper@web.de>
2201
2202 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
2203 (newsticker-show-news): Automatically load html rendering package
2204 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2205 because w3m-fill-column is let-bound" and the error "Symbol's value
2206 as variable is void: w3m-fill-column".
2ac2721a 2207
fac7ae53
MA
22082011-09-24 Michael Albinus <michael.albinus@gmx.de>
2209
2210 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2211 Release services only if they are defined. (Bug#9581)
2212
e08b633b
RS
22132011-09-23 Richard Stallman <rms@gnu.org>
2214
e488d29c
RS
2215 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2216 distinguish start of paragraph from start of its text.
2217
19c38752
RS
2218 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2219
e08b633b
RS
2220 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2221 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2222 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2223
0a39f27e
AS
22242011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2225
2226 * international/mule-diag.el (mule-diag): Insert a newline after
2227 each fontset description.
2228
db4e950d
SM
22292011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * simple.el (delete-trailing-whitespace):
2232 Document last change; simplify.
2233
eca3f3ea
PW
22342011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2235
d68e189a
PW
2236 * simple.el (delete-trailing-whitespace): Also delete
2237 extra newlines at the end of the buffer.
2238
eca3f3ea
PW
2239 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2240 (picture-newline): Use forward-line so as to ignore fields.
2241
01c157cc
SM
22422011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2243
2244 * subr.el (with-wrapper-hook): Fix edebug spec.
2245
022de23e
LMI
22462011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2247
2248 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2249 (bug#4538).
2250
91683089
MA
22512011-09-23 Michael Albinus <michael.albinus@gmx.de>
2252
eca3f3ea
PW
2253 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2254 Fix nasty bug using wrong cached values.
91683089 2255
5bdd6fa4
AM
22562011-09-23 Alan Mackenzie <acm@muc.de>
2257
2258 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2259
97adfb97
CY
22602011-09-23 Chong Yidong <cyd@stupidchicken.com>
2261
2262 * window.el (pop-to-buffer): Ensure right window is selected if we
2263 chose another frame.
2264
d4ef2b50
EZ
22652011-09-22 Eli Zaretskii <eliz@gnu.org>
2266
2267 * simple.el (what-cursor-position): Use get-char-property-change
2268 and next-single-char-property-change, to be able to show display
2269 properties that come from overlays as well as text properties.
2270
72258fe5
CY
22712011-09-22 Chong Yidong <cyd@stupidchicken.com>
2272
2273 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2274
2275 * cmuscheme.el (run-scheme, switch-to-scheme):
2276 * cus-edit.el (customize-group, custom-buffer-create)
2277 (customize-browse):
2278 * info.el (info):
2279 * shell.el (shell):
2280 * mail/sendmail.el (mail):
2281 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2282
8f098516
RS
22832011-09-22 Richard Stallman <rms@gnu.org>
2284
2285 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2286 move back only to line beg, don't move back over blank lines.
2287
e74f1bb6
MA
22882011-09-22 Michael Albinus <michael.albinus@gmx.de>
2289
2290 * files.el (copy-directory): Set directory attributes only in case
2291 they could be retrieved from the source directory. (Bug#9565)
2292
bfeef8b6
DK
22932011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2294
2295 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2296 (hs-find-block-beginning, hs-hide-level-recursive):
2297 Ignore strings as well as comments. (Bug#9502)
2298
7e423bb8
AS
22992011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2300
2301 * progmodes/sql.el (sql-comint-postgres):
2302 Convert port number to a string. (Bug#9566)
2303
b4d72fcf
MR
23042011-09-22 Martin Rudalics <rudalics@gmx.at>
2305
2306 * window.el (quit-window): Undedicate window when switching to
2307 previous buffer. Reported by Thierry Volpiatto
2308 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
2309 (special-display-popup-frame): When popping up a new frame reset
2310 its previous buffers to nil. Simplify code.
b4d72fcf 2311
a7b88dc6
MA
23122011-09-21 Michael Albinus <michael.albinus@gmx.de>
2313
2314 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2315 and process filter, as done also in `shell-command'.
2316
cf4eacfd
MR
23172011-09-21 Martin Rudalics <rudalics@gmx.at>
2318
eca3f3ea 2319 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
2320 Call set-window-start with NOFORCE argument t.
2321 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
2322 (quit-window): Reword doc-string. Handle new format of
2323 quit-restore parameter. Don't delete window if it has a
2324 previous buffer we can show instead of the present one.
2325 (display-buffer-record-window): Rewrite using a new format for
2326 the quit-restore window parameter
2327 (special-display-popup-frame, display-buffer-same-window)
2328 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2329 (display-buffer-pop-up-window, display-buffer-use-some-window):
2330 Adapt symbol passed to display-buffer-record-window.
2331 * help.el (help-window-setup): Handle new format of quit-restore
2332 parameter.
2333
8d28cb95
SM
23342011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2335
94ab793f
SM
2336 * faces.el (face-list): Fix docstring (bug#9564).
2337
8d28cb95
SM
2338 * window.el (display-buffer--action-function-custom-type):
2339 Don't include internal functions in the Custom interface.
2340
3820edeb
JL
23412011-09-20 Juri Linkov <juri@jurta.org>
2342
2343 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2344 (Info-forward-node, Info-backward-node, Info-next-preorder)
2345 (Info-last-preorder): Use it. (Bug#9528)
2346
5147931d
JL
23472011-09-20 Juri Linkov <juri@jurta.org>
2348
2349 * info.el (Info-last-preorder): Visit last menu item only when
2350 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2351
cf499a1a
JD
23522011-09-20 Julien Danjou <julien@danjou.info>
2353
2354 * password-cache.el (password-cache-remove): Remove entries even if the
2355 value is nil, so that password with a nil value (negative caching) is
2356 possible to invalidate.
2357
f84e2fe2
LM
23582011-09-20 Lawrence Mitchell <wence@gmx.li>
2359
2360 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2361 all whitespace around breakpoint. (Bug#9553)
2362 (f90-find-breakpoint): Only break at whitespace inside a comment.
2363
78054a46
SM
23642011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 * minibuffer.el (completion-file-name-table): Keep track of errors.
2367 (completion-table-with-predicate): Handle the case where pred1 is nil.
2368 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2369
345083b2
SM
23702011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2371
e24e27be
SM
2372 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2373 (debugger-return-value): Signal an error if the debugging context does
2374 not await any return value.
2375
345083b2
SM
2376 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2377 * image-mode.el (image-toggle-display-text)
2378 (image-toggle-display-image): Stay away from evil `intangible'.
2379
08d355e3
LL
23802011-09-19 Leo Liu <sdl.web@gmail.com>
2381
2382 * replace.el (occur-revert-arguments): Make it permanent-local.
2383 (occur-mode): Don't call font-lock-defontify.
2384
f01da43f
CY
23852011-09-19 Chong Yidong <cyd@stupidchicken.com>
2386
2387 * net/ldap.el (ldap-search-internal): Don't push empty search
2388 result (Bug#9508).
2389
b6072fa6
SM
23902011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2391
2392 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2393
443d6696
MA
23942011-09-19 Michael Albinus <michael.albinus@gmx.de>
2395
2396 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2397 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2398
7cc6e154
JL
23992011-09-18 Juri Linkov <juri@jurta.org>
2400
2401 * buff-menu.el (Buffer-menu-mode-map):
2402 * dired.el (dired-mode-map):
2403 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2404 (lisp-interaction-mode-map):
2405 * emacs-lisp/package.el (package-menu-mode-map):
2406 * epa.el (epa-key-list-mode-map):
2407 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2408 (menu-bar-options-menu):
2409 * outline.el (outline-mode-menu-bar-map):
2410 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2411 * vc/vc-dir.el (vc-dir-menu-map):
2412 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2413 Capitalize non-function content words in menu item strings.
2414
2415 * dired.el (dired-mode-map): Add menu item for
2416 `image-dired-dired-toggle-marked-thumbs'.
2417
80302a81
JL
24182011-09-18 Juri Linkov <juri@jurta.org>
2419
2420 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2421 to `isearch-case-fold-search' and restore its original value
2422 after the `isearch-mode' call.
2423
46c5cf66
JL
24242011-09-18 Juri Linkov <juri@jurta.org>
2425
2426 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2427 because `zgrep' returns 1 for successful matches (bug#9226).
2428
d18b513b
JL
24292011-09-18 Juri Linkov <juri@jurta.org>
2430
2431 * info.el (Info-extract-menu-node-name): Check the second match
2432 for empty string (second test-case of bug#9528).
2433 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2434 intermediate nodes to the history (first test-case of bug#9528).
2435
72753f87
JL
24362011-09-18 Juri Linkov <juri@jurta.org>
2437
2438 * info.el (Info-mode-syntax-table): New variable.
1154d12e 2439 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 2440
c9384295
JL
24412011-09-18 Juri Linkov <juri@jurta.org>
2442
1154d12e
JB
2443 * info.el (Info-file-supports-index-cookies):
2444 Increment line-beginning-position's arg from 3 to 4 because makeinfo
2445 outputs one more line for long file names (bug#4142).
c9384295 2446
d473dce8
CY
24472011-09-18 Chong Yidong <cyd@stupidchicken.com>
2448
2449 * newcomment.el (comment-normalize-vars): If prompting for
2450 comment-start, set comment-start-skip too (Bug#8424).
2451
2176854d
JB
24522011-09-18 Johan Bockgård <bojohan@gnu.org>
2453
2454 * icomplete.el: Fix previous fix of Bug#5849.
2455 (icomplete-mode): Don't set completion-show-inline-help.
2456 (icomplete-minibuffer-setup): Set completion-show-inline-help
2457 locally during icompletion.
2458
3aace4e4
CY
24592011-09-18 Chong Yidong <cyd@stupidchicken.com>
2460
c940224f
CY
2461 * woman.el (woman2-process-escapes): Don't delete unrecognized
2462 escapes (Bug#7843).
2463
3aace4e4
CY
2464 * files.el (inhibit-first-line-modes-regexps): Add image files.
2465 (hack-local-variables-prop-line): Return nil for malformed
2466 prop-lines (Bug#9044).
2467
710dec63
MA
24682011-09-18 Michael Albinus <michael.albinus@gmx.de>
2469
2470 * net/tramp.el (top): Don't require 'shell.
2471 (tramp-methods): Fix docstring.
2472 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
2473 Return complete remote file name. Handle "smb" case.
2474 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
2475 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2476
2477 * net/tramp-compat.el (top): Require 'shell.
2478
2479 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2480 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2481 `tramp-current-host'.
2482 (tramp-get-remote-tmpdir): Remove.
2483
2484 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2485 `tramp-tmpdir' entries.
2486 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2487 (tramp-smb-handle-file-attributes): Ignore errors.
2488 (tramp-smb-wait-for-output): Check also for process end.
2489
5d5ac8ec
LMI
24902011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2491
2492 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2493 when sending QUIT (bug#9312).
2494
8c0f49f0
CY
24952011-09-17 Chong Yidong <cyd@stupidchicken.com>
2496
2497 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2498 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2499 occur-mode-display-occurrence.
2500 (occur-edit-mode): Add usage message.
2501 (occur-cease-edit): New command.
2502 (occur-after-change-function): Use text properties to find the
2503 position of the prefix text.
2504 (occur-engine): Set stickiness of prefix text properties.
2505
8f1383f7
GM
25062011-09-17 Glenn Morris <rgm@gnu.org>
2507
2508 * progmodes/etags.el (complete-tag):
2509 Fix call to completion-in-region. (Bug#9526)
2510
744ba0e3
JL
25112011-09-17 Juri Linkov <juri@jurta.org>
2512
2513 * textmodes/ispell.el (ispell-word): Add to the error message
2514 the word, ispell program name and current dictionary (bug#9121).
2515 (ispell-tex-arg-end): Capitalize "error" in the error message.
2516
d9bbf400
AS
25172011-09-17 Andreas Schwab <schwab@linux-m68k.org>
2518
2519 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
2520 check. (Bug#4251)
2521
8da11505
JL
25222011-09-17 Juri Linkov <juri@jurta.org>
2523
2524 * window.el (window-safe-min-height, window-safe-min-width):
2525 Fix typos (followup to bug#9522).
2526
a91adc7e
SJ
25272011-09-17 Sven Joachim <svenjoac@gmx.de>
2528
2529 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
2530
064f328a
EZ
25312011-09-16 Eli Zaretskii <eliz@gnu.org>
2532
2533 * simple.el (line-move): If goal-column is set, move by logical
2534 lines, not by display lines. (Bug#971)
2535 (next-line, previous-line, goal-column, line-move-visual): Doc fix
2536 to reflect the above change.
2537
e69df516
SM
25382011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2539
2540 * image.el (imagemagick-register-types): Use regexp-opt.
2541
cbb0f9ab
CY
25422011-09-15 Chong Yidong <cyd@stupidchicken.com>
2543
2544 * window.el (display-buffer-base-action): Rename from
2545 display-buffer-default-action. Make default value empty.
2546 (display-buffer-overriding-action): Convert to defvar.
2547 (display-buffer-fallback-action): New var.
2548
25322144
CY
25492011-09-15 Chong Yidong <cyd@stupidchicken.com>
2550
2551 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
2552 declaration.
2553 (package--add-to-archive-contents): If there is a duplicate entry
2554 with an older version, remove it.
2555 (package-menu-mark-delete, package-menu-mark-install)
2556 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
2557 (package-menu-mark-obsolete-for-deletion):
2558 Use package-menu-get-status instead of a regexp search.
25322144
CY
2559 (package-menu-get-status): Use tabulated-list-entry.
2560 (package-menu-mark-upgrades): New command.
d770725a 2561 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
2562 (package-menu-execute): Do installation before deletion.
2563 (package-menu-refresh, package-menu-execute): Use derived-mode-p
2564 instead of checking major-mode.
2565 (package-menu--find-upgrades): New function.
2566
7520339c
LMI
25672011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2568
2569 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2570 passwords in the log buffer.
65a046c4
LMI
2571 (smtpmail-process-filter): Update the process marker so that the
2572 "broken by peer" status message is inserted in the right place.
7520339c 2573
d3c30954
SM
25742011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2575
3fe48822
SM
2576 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2577 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2578 bibtex-completion-at-point-function.
2579 (bibtex-completion-at-point-function): Use them.
2580
1b8b3954
SM
2581 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2582
d3c30954
SM
2583 * mpc.el (mpc-constraints-tag-lookup): New function.
2584 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2585 also to browser "album|playlist".
2586
72779976
JL
25872011-09-14 Juri Linkov <juri@jurta.org>
2588
2589 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
2590 (isearch-edit-string): Use length of `isearch-string' when
2591 `isearch-fail-pos' returns nil.
2592 (isearch-message): Remove duplicate code and call
2593 `isearch-fail-pos' with arg `t'.
2594
a0bf2bcd
CY
25952011-09-14 Chong Yidong <cyd@stupidchicken.com>
2596
17bb0a2d
CY
2597 * replace.el (occur-mode-goto-occurrence): Don't force using other
2598 window (Bug#9499).
2599
a0bf2bcd
CY
2600 * dired-aux.el (dired-do-chmod): Don't provide initial input.
2601
f678e0b6
MR
26022011-09-14 Martin Rudalics <rudalics@gmx.at>
2603
2604 * window.el (display-buffer-window): Remove.
2605 (display-buffer-record-window): Use help-setup window parameter
2606 instead of variable display-buffer-window.
2607 (display-buffer-function, special-display-buffer-names)
2608 (special-display-function): Mention help-setup parameter instead
2609 of display-buffer-window in doc-string.
d3c30954
SM
2610 * help.el (help-window-setup): New argument help-window.
2611 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
2612 Reword some messages.
2613 (with-help-window): Pass window used for displaying the buffer
2614 to help-window-setup. Don't set display-buffer-window.
2615
8e39b2e8
GM
26162011-09-13 Glenn Morris <rgm@gnu.org>
2617
2618 * emacs-lisp/debug.el (debugger-make-xrefs):
2619 Preserve point. (Bug#9462)
2620
85e9c04b
CY
26212011-09-13 Chong Yidong <cyd@stupidchicken.com>
2622
2623 * window.el (window-deletable-p): Use next-frame.
2624
1b36ed6a
MR
26252011-09-13 Martin Rudalics <rudalics@gmx.at>
2626
2627 * window.el (window-auto-delete): Remove.
2628 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 2629 dedication and previous buffers.
1b36ed6a
MR
2630 (switch-to-prev-buffer): Don't delete window.
2631 (delete-windows-on): Delete a window's frame if and only if the
2632 window is dedicated.
2633 (replace-buffer-in-windows): Delete buffer's window or frame if
2634 and only if window is dedicated.
2635 (quit-window): Handle quit-restore as before last change.
4d61f28d 2636 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 2637
ef8ef9fb
CY
26382011-09-13 Chong Yidong <cyd@stupidchicken.com>
2639
2640 * window.el (window-deletable-p): Never delete the last frame on a
2641 given terminal.
2642
b2cba41e
GM
26432011-09-13 Glenn Morris <rgm@gnu.org>
2644
2645 * help.el (describe-key-briefly): Copy previous standard-output change.
2646
51553db6 26472011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
2648
2649 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
2650
b7556719
GM
26512011-09-13 Glenn Morris <rgm@gnu.org>
2652
2653 * emacs-lisp/lisp-mode.el (lisp-indent-function):
2654 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2655
64b51947
CY
26562011-09-12 Chong Yidong <cyd@stupidchicken.com>
2657
2658 * dired-aux.el (dired-mark-read-string): Don't return default
2659 value on empty input (Bug#9361).
2660 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2661 Omit initial minibuffer contents.
2662 (dired-do-chmod): Signal an error on empty input.
2663 (dired-mark-read-string): Don't return default on empty input.
2664
2665 * files.el (file-modes-symbolic-to-number): Doc fix.
2666
393a301e
SM
26672011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2668
2669 * international/mule-cmds.el (ucs-completions): Remove.
2670 (read-char-by-name): Use complete-with-action instead; add metadata.
2671
fa5660f9
CY
26722011-09-11 Chong Yidong <cyd@stupidchicken.com>
2673
2674 * window.el (display-buffer--action-function-custom-type)
2675 (display-buffer--action-custom-type): New vars.
2676 (display-buffer-alist, display-buffer-default-action)
2677 (display-buffer-overriding-action): Add defcustom types.
2678
4a592f66
CY
2679 * frame.el (delete-other-frames): Doc fix (Bug#276).
2680
73d56dbd
LMI
26812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2682
2683 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2684
37ac18a3
CY
26852011-09-11 Chong Yidong <cyd@stupidchicken.com>
2686
2687 Change modes that used same-window-* vars to use switch-to-buffer.
2688
2689 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2690 Use switch-to-buffer.
2691
2692 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
2693 (customize-browse, custom-buffer-create-other-window):
2694 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
2695
2696 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2697 (Info-prev, Info-up, Info-speedbar-goto-node)
2698 (info-display-manual): Use switch-to-buffer.
2699 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2700
2701 * mail/sendmail.el (mail): Use switch-to-buffer.
2702 (mail-recover): Use switch-to-buffer-other-window.
2703
2704 * cmuscheme.el (run-scheme, switch-to-scheme):
2705 * ielm.el (ielm):
2706 * shell.el (shell):
2707 * net/rlogin.el (rlogin):
2708 * net/telnet.el (telnet, rsh):
2709 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2710
10195bd6
AS
27112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2712
2713 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2714
b322f63a
LMI
27152011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2716
39d7fed6
LMI
2717 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2718 so don't mention it (bug#9301).
ba5a81f1 2719 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 2720
ee0e9f11
LMI
2721 * faces.el (face-spec-set-match-display): Make `(type graphic)'
2722 match `x', `w32' and `ns', like the manual says (bug#9029).
2723
0b1c89c1 2724 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
2725 (process-kill-buffer-query-function): Mention the buffer name in
2726 the query.
0b1c89c1 2727
77549ea8
LMI
2728 * image-mode.el (image-next-line): The line parameter is mandatory
2729 (bug#9258).
2730
803ef892
LMI
2731 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2732 which can be useful (bug#9301).
2733
12980837
LMI
2734 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2735
91054f8f
LMI
2736 * subr.el (match-string): Mention that the current buffer should
2737 be the same as the search was done in (bug#9282).
2738
b322f63a
LMI
2739 * facemenu.el: Disable the remove-* commands if the mark isn't
2740 active (bug#9162).
2741
3199b96f
CY
27422011-09-10 Chong Yidong <cyd@stupidchicken.com>
2743
2744 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2745 of display-buffer.
2746 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2747
2748 * replace.el (occur-mode-goto-occurrence)
2749 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2750 and display-buffer.
2751
2752 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2753 display-buffer.
2754
2755 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2756 special-display and same-window variables.
2757 (mail-other-window): Use switch-to-buffer-other-window.
2758 (mail-other-frame): USe switch-to-buffer-other-frame.
2759
393a301e
SM
2760 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2761 Use display-buffer-other-frame.
3199b96f
CY
2762 (gdb-display-gdb-buffer): Use pop-to-buffer.
2763
2764 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2765
2766 * progmodes/python.el: Don't set same-window-buffer-names.
2767
2768 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2769
2770 * window.el (display-buffer-alist): Add *Python*.
2771
8319e0bf
CY
27722011-09-10 Chong Yidong <cyd@stupidchicken.com>
2773
2774 * window.el (display-buffer-alist): Add entry for buffers
2775 previously handled same-window-*.
2776 (display-buffer-alist, display-buffer-default-action)
2777 (display-buffer-overriding-action): Mark as risky.
2778 (display-buffer-alist): Document action function changes.
2779 (display-buffer--same-window-action)
2780 (display-buffer--other-frame-action): New variables.
2781 (switch-to-buffer, display-buffer-other-frame): Use them.
2782 (display-buffer): Rename reuse-frame entry to reusable-frames.
2783 (display-buffer-reuse-selected-window): Function deleted.
2784 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2785 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2786 (display-buffer-special): New function.
2787 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2788 display-buffer-reuse-or-pop-window. Split off special-display
2789 part into display-buffer-special.
2790 (display-buffer-use-some-window): Don't perform any special
2791 pop-up-frames handling.
2792 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 2793 (display-buffer--maybe-same-window): Rename from
0d3ff375 2794 display-buffer-maybe-same-window.
8319e0bf 2795
919a69aa
CY
2796 * info.el: Don't set same-window-regexps.
2797 (info-setup): New function.
2798 (info-other-window, info): Call it.
2799
2800 * cus-edit.el: Don't set same-window-regexps.
2801 (customize-group): New argument.
2802 (customize-group-other-window): Use it.
2803 (customize-face, customize-face-other-window): Likewise.
2804 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2805
8319e0bf
CY
2806 * net/rlogin.el:
2807 * net/telnet.el:
2808 * progmodes/gud.el: Don't set same-window-regexps.
2809
2810 * cmuscheme.el:
2811 * ielm.el:
2812 * shell.el:
2813 * mail/sendmail.el:
2814 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2815
25173000
JL
28162011-09-10 Juri Linkov <juri@jurta.org>
2817
2818 * isearch.el (isearch-edit-string): Remove obsolete mention of
2819 `C-w' (`isearch-yank-word-or-char') from docstring.
2820 (isearch-query-replace): Fix typo in docstring (bug#9466).
2821
056e44ef
JL
28222011-09-10 Juri Linkov <juri@jurta.org>
2823
2824 * paren.el (show-paren-function): Don't show escaped parens.
2825 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2826
c3760c17
EZ
28272011-09-10 Eli Zaretskii <eliz@gnu.org>
2828
2829 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2830 (mm-default-file-encoding): Remove autoload forms, they are
2831 replaced with autoload cookies in mml.el and mm-encode.el.
2832 (mail-add-attachment): New command.
2833 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2834 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2835 the doc string.
2836 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2837
fece895e
RT
28382011-09-10 Reuben Thomas <rrt@sc3d.org>
2839
e69df516
SM
2840 * simple.el (count-words-region): Use buffer if there's no region
2841 (bug#9429).
fece895e 2842
5e68ce4a
JL
28432011-09-09 Juri Linkov <juri@jurta.org>
2844
2845 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2846 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2847 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2848
0a6b9622
AM
28492011-09-09 Alan Mackenzie <acm@muc.de>
2850
2851 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2852 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2853
14a29deb
EZ
28542011-09-09 Eli Zaretskii <eliz@gnu.org>
2855
2856 Fix for Savannah bug#9392.
2857 * simple.el (mail-encode-mml): New defvar.
2858
2859 * mail/rmail.el (mail-encode-mml): Add a defvar.
2860 (rmail-enable-mime-composing): Default to t.
2861 (rmail-forward): Use MIME method of forwarding only if both
2862 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2863 Set mail-encode-mml non-nil if the MIME method was used.
2864
2865 * mail/sendmail.el (mml-to-mime): Add autoload form.
2866 (mail-encode-mml): Add a defvar.
2867 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2868 to nil.
2869 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2870 message through mml-to-mime, and reset mail-encode-mml to nil.
2871
28c45130
GM
28722011-09-09 Glenn Morris <rgm@gnu.org>
2873
2874 * woman.el (woman-if-body): When processing an .el block,
2875 do not delete the next .el block as well. (Bug#9447)
69f4b618 2876 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 2877
9b1c252e
MR
28782011-09-08 Martin Rudalics <rudalics@gmx.at>
2879
2880 * window.el (window-deletable-p): Make sure window is live before
2881 invoking window-prev-buffers.
2882
567457e3
LL
28832011-09-08 Leo Liu <sdl.web@gmail.com>
2884
2885 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2886
97f05794
JL
28872011-09-08 Juri Linkov <juri@jurta.org>
2888
2889 * progmodes/compile.el (compilation-environment): Make it
2890 a defcustom (bug#8340).
2891
8b0874b5
MR
28922011-09-08 Martin Rudalics <rudalics@gmx.at>
2893
2894 * window.el (frame-auto-delete): Rename to window-auto-delete.
2895 Make it control auto-deletion of windows and/or frames.
2896 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 2897 for deleting window/frame. (Bug#9419)
8b0874b5
MR
2898 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2899 Rewrite handling of case when window/frame can be deleted.
2900 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 2901 argument t. (Bug#9456)
8b0874b5 2902
4feb6e73
CY
29032011-09-07 Chong Yidong <cyd@stupidchicken.com>
2904
2905 * help-mode.el (help-mode): Restore autoload.
2906
91ab9c13
JL
29072011-09-07 Juri Linkov <juri@jurta.org>
2908
2909 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2910 `compilation-environment'. Set buffer-local
2911 `compilation-environment' to `thisenv' later after (funcall mode).
2912 (Bug#8340)
2913
2914 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2915 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2916 instead of replacing its value. (Bug#8340)
2917
0527e251
JL
29182011-09-07 Juri Linkov <juri@jurta.org>
2919
2920 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2921 based on text properties put by `grep-filter' instead of matching
2922 escape sequences.
2923 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2924 to the value of `grep-error-screen-columns' (bug#9438).
2925
249f792c
JL
29262011-09-07 Juri Linkov <juri@jurta.org>
2927
2928 * simple.el (next-error-highlight, next-error-highlight-no-select):
2929 Doc fix (bug#9432).
2930
ff7271b9
OT
29312011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2932
2933 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2934 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2935
183fc730
LL
29362011-09-07 Leo Liu <sdl.web@gmail.com>
2937
2938 * net/rcirc.el (rcirc-mode): Conditionally initialize
2939 rcirc-input-ring.
2940
77694924
SM
29412011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * emacs-lisp/find-func.el (find-function-C-source): Only set
2944 find-function-C-source-directory after checking that we found a source
2945 file there (bug#9440).
2946
d809b8eb
AM
29472011-09-06 Alan Mackenzie <acm@muc.de>
2948
2949 * isearch.el (isearch-other-meta-char): Wherever a key list is
2950 unread, "unread" the prefix arg, too. This fixes bug #8901.
2951
453de99f
OG
29522011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2953
2954 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2955
90439906
JL
29562011-09-05 Juri Linkov <juri@jurta.org>
2957
2958 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2959
f62bd846
JL
29602011-09-05 Juri Linkov <juri@jurta.org>
2961
2962 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2963 keeping point where processing of grep matches begins, and
2964 continue to delete remaining escape sequences from the same point.
2965 (grep-filter): Make leading zero optional in "0?1;31m" because
2966 git-grep emits "\033[1;31m" escape sequences unlike expected
2967 "\033[01;31m" as GNU Grep does (bug#9408).
2968 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2969
045820ec
JL
29702011-09-05 Juri Linkov <juri@jurta.org>
2971
2972 * subr.el (y-or-n-p): Capitalize "yes".
2973
f5e29b9b
MA
29742011-09-04 Michael Albinus <michael.albinus@gmx.de>
2975
2976 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2977 `tramp-cache-unload-hook' where appropriate.
2978 (tramp-methods): Rename `tramp-remote-sh' to
2979 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2980 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2981
2982 * net/tramp-sh.el (top): Don't require 'shell.
2983 (tramp-methods): Add `tramp-remote-shell' and
2984 `tramp-remote-shell-args' entries.
2985 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2986 (tramp-sh-handle-shell-command): Remove.
2987 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2988 Use `tramp-remote-shell'.
2989
2784c434
CY
29902011-09-03 Chong Yidong <cyd@stupidchicken.com>
2991
393a301e 2992 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
2993 (sendmail-query-once): Save directly to send-mail-function.
2994 Update message-send-mail-function too.
2995
2996 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2997
464cdf56
CS
29982011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2999
3000 * progmodes/python.el (python-mode-map): Use correct function to
3001 start python interpreter from menu-bar (as reported by Geert
3002 Kloosterman).
3003 (inferior-python-mode-map): Fix typo.
393a301e 3004 (python-shell-map): Remove.
464cdf56 3005
d37e5c87
DD
30062011-09-03 Deniz Dogan <deniz@dogan.se>
3007
3008 * net/rcirc.el (rcirc-print): Simplify code for
3009 rcirc-scroll-show-maximum-output. There is no need to walk
3010 through all windows to find the right one.
3011
f3ada0ee
CS
30122011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3013
3014 * help.el (help-return-method): Doc fix.
3015
1f3c99ca
MR
30162011-09-03 Martin Rudalics <rudalics@gmx.at>
3017
3018 * window.el (window-deletable-p): Don't return a non-nil value
3019 when there's a buffer that was shown in the window before.
3020 (Bug#9419)
393a301e
SM
3021 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3022 Set window's previous buffers to nil.
1f3c99ca 3023
a3cf097f
EZ
30242011-09-03 Eli Zaretskii <eliz@gnu.org>
3025
3026 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3027 newline before and after the tag line, so it doesn't interfere
3028 with determining the paragraph direction of bidirectional text.
3029
3d03de90
LL
30302011-09-03 Leo Liu <sdl.web@gmail.com>
3031
3032 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3033
c3313451
CY
30342011-09-02 Chong Yidong <cyd@stupidchicken.com>
3035
393a301e 3036 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3037 (pop-to-buffer): Change interactive spec. Pass second argument
3038 directly to display-buffer.
3039 (display-buffer): Fix interactive spec. Use functionp to
3040 distinguish between a function and a list of functions.
3041
3042 * abbrev.el (edit-abbrevs):
3043 * arc-mode.el (archive-extract):
3044 * autoinsert.el (auto-insert):
3045 * bookmark.el (bookmark-bmenu-list):
3046 * files.el (find-file):
3047 * view.el (view-buffer):
3048 * progmodes/compile.el (compilation-goto-locus):
3049 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3050
89894cd8
CY
30512011-09-02 Chong Yidong <cyd@stupidchicken.com>
3052
3053 * window.el (display-buffer-alist): Doc fix.
3054 (display-buffer): Add docstring. Don't treat
3055 display-buffer-default specially.
3056 (display-buffer-reuse-selected-window)
3057 (display-buffer-same-window, display-buffer-maybe-same-window)
3058 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3059 (display-buffer-pop-up-window)
3060 (display-buffer-reuse-or-pop-window)
3061 (display-buffer-use-some-window): New functions.
3062 (display-buffer-default-action): Use them.
393a301e 3063 (display-buffer-default): Delete.
89894cd8
CY
3064 (pop-to-buffer-1): Fix choice of actions.
3065
ae0bc9fb
SM
30662011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3067
3068 * minibuffer.el (completion--insert-strings): Don't get confused by
3069 completion entries that end with an LF char.
3070
e9d90883
EZ
30712011-09-01 Eli Zaretskii <eliz@gnu.org>
3072
3073 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3074
437014c8
CY
30752011-09-01 Chong Yidong <cyd@stupidchicken.com>
3076
3077 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3078 (display-buffer-same-window, display-buffer-other-window):
3079 New functions.
437014c8
CY
3080 (pop-to-buffer-1): New function. Use the above.
3081 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3082 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3083
3084 * view.el (view-buffer-other-window, view-buffer-other-frame):
3085 Just use pop-to-buffer.
3086
a5e063d5
TV
30872011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3088
3089 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3090
793d32bb
WH
30912011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3092
3093 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3094
d65e4c15
RS
30952011-08-31 Richard Stallman <rms@gnu.org>
3096
3097 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3098 of the separation of rmail-view-buffer from rmail-buffer.
3099 If you say no to "replace original", the decrypt is in the
3100 view buffer. If you say yes, the decrypt goes into the
3101 rmail buffer also.
3102
f818cd2a
MR
31032011-08-31 Martin Rudalics <rudalics@gmx.at>
3104
3105 * window.el (display-buffer-window): Rewrite doc-string.
3106 (display-buffer-record-window): New function.
3107 (display-buffer-macro-specifiers)
3108 (display-buffer-even-window-sizes, display-buffer-set-height)
3109 (display-buffer-set-width, display-buffer-in-window)
3110 (display-buffer-reuse-window, display-buffer-split-specifiers)
3111 (display-buffer-side-specifiers, display-buffer-split-window-1)
3112 (display-buffer-split-window, display-buffer-split-atom-window)
3113 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3114 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3115 (display-buffer-other-window-means-other-frame)
3116 (display-buffer-normalize-special)
3117 (display-buffer-normalize-default)
3118 (display-buffer-normalize-argument)
3119 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3120 (display-buffer-normalize-specifiers, display-buffer-frame)
3121 (display-buffer-same-window, display-buffer-same-frame)
3122 (display-buffer-other-window)
3123 (display-buffer-same-frame-other-window)
3124 (display-buffer-other-frame, pop-to-buffer-same-window)
3125 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3126 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3127 (switch-to-buffer-same-frame)
3128 (switch-to-buffer-other-window-same-frame)
3129 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3130 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3131 (display-buffer-alist-set): Remove.
3132 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3133 (special-display-regexps, special-display-function):
3134 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3135 parameter.
3136 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3137 (special-display-frame-alist, special-display-popup-frame)
3138 (same-window-buffer-names, same-window-regexps, same-window-p)
3139 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3140 (split-window-preferred-function, split-height-threshold)
3141 (split-width-threshold, window-splittable-p)
3142 (split-window-sensibly, window--try-to-split-window)
3143 (window--frame-usable-p, even-window-heights)
3144 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3145 (window--display-buffer-2, display-buffer-other-frame):
3146 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3147 (display-buffer-default, display-buffer-assq-regexp): New functions.
3148 (display-buffer-alist): Rewrite doc-string.
3149 (display-buffer-default-action)
3150 (display-buffer-overriding-action): New variables.
3151 (display-buffer, switch-to-buffer): Rewrite.
3152 (pop-to-buffer): Restore Emacs 23 behavior but use
3153 window-normalize-buffer-to-display.
3154 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3155 Restore Emacs 23 behavior but use
3156 window-normalize-buffer-to-switch-to.
3157 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3158 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3159 Rewrite using Emacs 23 options.
f818cd2a 3160
5bc3b51d
MA
31612011-08-31 Michael Albinus <michael.albinus@gmx.de>
3162
3163 * net/tramp.el (tramp-root-regexp): Remove.
3164 (tramp-completion-file-name-regexp-unified)
3165 (tramp-completion-file-name-regexp-separate)
3166 (tramp-completion-file-name-regexp-url): Don't use leading volume
3167 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
3168 (tramp-drop-volume-letter): Simplify definition.
3169 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 3170
b1a4f8e1
SM
31712011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3172
3173 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3174 (bug#9356).
3175
5664fa7b
RT
31762011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3177
b1a4f8e1 3178 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 3179
9a45d6c3
JL
31802011-08-29 Juri Linkov <juri@jurta.org>
3181
3182 * isearch.el (isearch-done): Don't display message "Mark saved"
3183 when arg `edit' is non-nil to prevent its flicker in the echo area.
3184
fb87e0fb
CY
31852011-08-28 Chong Yidong <cyd@stupidchicken.com>
3186
3187 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3188 obsolete packages for deletion.
3189
09ac1c2a
CS
31902011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3191
3192 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 3193 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
3194 view-mode from help-mode.
3195 (help-xref-override-view-map): Remove.
3196 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3197 view-mode is not used anymore.
3198
7a1ff57f
CY
31992011-08-28 Chong Yidong <cyd@stupidchicken.com>
3200
3201 * server.el (server-port): Doc fix.
3202
b9696605
CY
3203 * cus-theme.el (custom-theme-choose-mode): Inherit from
3204 special-mode (Bug#9124).
3205 (custom-theme-choose-mode-map): Add special-mode to parent.
3206
ef8cdf8c
AM
32072011-08-28 Alan Mackenzie <acm@muc.de>
3208
3209 * progmodes/cc-fonts.el
3210 (c-make-font-lock-BO-decl-search-function): New function.
3211 (c-basic-matchers-after - "Fontify the clauses after various
3212 keywords"): Extract the three keyword lists for the 3 erroneous
3213 constructs from the list of four, and use the new function above
3214 in place of an old one.
3215
27de4e20
DD
32162011-08-28 Deniz Dogan <deniz@dogan.se>
3217
3218 * net/rcirc.el (rcirc-insert-prev-input)
3219 (rcirc-insert-next-input): Remove unused argument.
3220
356a3681
SM
32212011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3222
3223 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3224
3fc9b218
AM
32252011-08-27 Alan Mackenzie <acm@muc.de>
3226
3227 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3228 handle function pointer parameters properly.
3229
538a061c
MR
32302011-08-27 Martin Rudalics <rudalics@gmx.at>
3231
3232 * window.el (display-buffer-reuse-window): Fix case where
3233 selected window was reused with non-nil OTHER-WINDOW argument.
3234 (Bug#9381)
3235
35b1c40c
DD
32362011-08-27 Deniz Dogan <deniz@dogan.se>
3237
3238 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3239 oftc's NickServ messages.
3240
2f6a3e79
GM
32412011-08-27 Glenn Morris <rgm@gnu.org>
3242
3243 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3244
7254299e
CY
32452011-08-26 Chong Yidong <cyd@stupidchicken.com>
3246
3247 * emacs-lisp/package.el (package-install): Call package-initialize
3248 if called interactively.
3249
f8ccf167
LL
32502011-08-26 Leo Liu <sdl.web@gmail.com>
3251
3252 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3253
3e8cd5ce
JL
32542011-08-25 Juri Linkov <juri@jurta.org>
3255
3256 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3257 `search-whitespace-regexp' (bug#9364).
3258
93eb7113
JL
32592011-08-25 Juri Linkov <juri@jurta.org>
3260
3261 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3262 `regexp-search-ring' to their global values to protect from
3263 updating by `read-from-minibuffer' (bug#9185).
3264
f65d1611
JL
32652011-08-25 Juri Linkov <juri@jurta.org>
3266
3267 * textmodes/ispell.el (ispell-command-loop): Add newline
3268 at the end of the "Use option `i'..." line.
3269
f1cf7a31
JL
32702011-08-25 Juri Linkov <juri@jurta.org>
3271
3272 * battery.el (display-battery-mode): If `battery-status-function'
3273 or `battery-mode-line-format' is nil, display the message and set
3274 `display-battery-mode' to nil (bug#9363).
3275
0c95fcf7
EZ
32762011-08-25 Eli Zaretskii <eliz@gnu.org>
3277
3278 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3279 bidi-string-mark-left-to-right; they are unnecessary now.
3280
a2ebe600
DD
32812011-08-25 Deniz Dogan <deniz@dogan.se>
3282
3283 * net/quickurl.el: Documentation typo fixes.
3284
e4ed06f1
CY
32852011-08-25 Chong Yidong <cyd@stupidchicken.com>
3286
3287 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3288
e5f1c99e
GM
32892011-08-25 Glenn Morris <rgm@gnu.org>
3290
b2948976
GM
3291 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3292
e5f1c99e
GM
3293 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3294 (smtpmail-via-smtp): Handle nil response from smtp.
3295
f22f4808
JL
32962011-08-24 Juri Linkov <juri@jurta.org>
3297
3298 * proced.el (proced-marked): Inherit from `error' instead of
3299 `font-lock-warning-face'.
3300
3301 * ibuffer.el (ibuffer-marked-face): Change default face from
3302 `font-lock-warning-face' to `warning'.
3303 (ibuffer-deletion-face): Change default face from
3304 `font-lock-type-face' to `error'.
3305
3306 * battery.el (battery-update): Use the face `error' instead of
3307 `font-lock-warning-face' (bug#6117).
3308
6a93965e
JL
33092011-08-24 Juri Linkov <juri@jurta.org>
3310
3311 * faces.el (success): Change face color from "Green3" to
3312 "ForestGreen" on light background (bug#9353).
3313
1ed43b09
CY
33142011-08-24 Chong Yidong <cyd@stupidchicken.com>
3315
5664fa7b
RT
3316 * window.el (quit-window): Rename from quit-restore-window.
3317 Use same arglist as old quit-window.
1ed43b09
CY
3318 (frame-auto-delete): Doc fix.
3319
3320 * view.el (view-mode-exit): Use quit-window.
3321
11dcdbb2
JL
33222011-08-24 Juri Linkov <juri@jurta.org>
3323
3324 * isearch.el (isearch-ring-adjust1): Start visiting previous
3325 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3326 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3327 for empty search string (when the last search string is reused
3328 automatically) to adjust the isearch ring to the last element and
3329 prepare the correct index for further M-p commands (bug#9185).
3330
de62b4df
KH
33312011-08-24 Kenichi Handa <handa@m17n.org>
3332
3333 * international/ucs-normalize.el: If decomposition property of
3334 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3335 nil.
3336 (nfd, nfkd): Likewise.
3337
963b492b
SM
33382011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3339
3340 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3341 from process filters aren't reliably transmitted to the surrounding
3342 accept-process-output.
3343 (mpc-proc-check): New function.
3344 (mpc-proc-sync): Use it (bug#8293)
3345
93b6b5e1
SM
33462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3349 Add compatibility functions (bug#9313).
3350
bca633fb
EZ
33512011-08-23 Eli Zaretskii <eliz@gnu.org>
3352
b177498a
EZ
3353 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3354
bca633fb
EZ
3355 * international/uni-bidi.el: Regenerated.
3356
0902a04e
KH
33572011-08-23 Kenichi Handa <handa@m17n.org>
3358
3359 * international/charprop.el:
3360 * international/uni-bidi.el:
3361 * international/uni-category.el:
3362 * international/uni-combining.el:
3363 * international/uni-comment.el:
3364 * international/uni-decimal.el:
3365 * international/uni-decomposition.el:
3366 * international/uni-digit.el:
3367 * international/uni-lowercase.el:
3368 * international/uni-mirrored.el:
3369 * international/uni-name.el:
3370 * international/uni-numeric.el:
3371 * international/uni-old-name.el:
3372 * international/uni-titlecase.el:
3373 * international/uni-uppercase.el: Regenerate.
3374
3bbf23bc
MR
33752011-08-23 Martin Rudalics <rudalics@gmx.at>
3376
3377 * help.el (help-window-setup): Fix message displayed when other
3378 window is reused. (Bug#9341)
3379
b3fd59bd
SM
33802011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3381
1802e444
SM
3382 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3383 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3384
b3fd59bd
SM
3385 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3386 Mark obsolete.
3387 * shell.el (shell-parse-pcomplete-arguments): New function.
3388 (shell-completion-vars): Use it instead (bug#9160).
3389
4eb61348
SM
33902011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3391
867cab74
SM
3392 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3393 strings and comments (bug#9333).
3394
4eb61348
SM
3395 * emacs-lisp/debug.el (debug-arglist): New function.
3396 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3397 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3398
262a1439
JL
33992011-08-22 Juri Linkov <juri@jurta.org>
3400
56ee679c
JL
3401 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3402 Revert regexp that highlights output switches to its old
3403 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3404
262a1439
JL
3405 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3406 to check for empty output (bug#9226).
3407
f13f86fb
CY
34082011-08-22 Chong Yidong <cyd@stupidchicken.com>
3409
3410 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3411 symbol-constituent as the default, as that stops font-lock from
3412 working properly (Bug#8843).
3413
c65c9622
LMI
34142011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3415
3416 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3417 `coding-system-for-*' around the process open call to avoid
3418 auth-source side effects.
e7f2c178 3419 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
3420 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3421 probe hangs.
c65c9622 3422
23a8a5ab
CY
34232011-08-21 Chong Yidong <cyd@stupidchicken.com>
3424
ff98b2dd
CY
3425 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3426
23a8a5ab
CY
3427 * emacs-lisp/find-func.el (find-function-noselect): New arg
3428 lisp-only.
3429
3430 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3431 signal an error for built-in functions (Bug#6664).
3432
f5e3c598
LMI
34332011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3434
3435 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3436 (smtpmail-try-auth-methods): Use it.
3437
a3f2468a
CY
34382011-08-21 Chong Yidong <cyd@stupidchicken.com>
3439
2c34e8da
CY
3440 * font-lock.el (font-lock-fontify-region)
3441 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3442 (font-lock-default-unfontify-buffer)
3443 (font-lock-default-fontify-region)
3444 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3445
b3fd59bd
SM
3446 * progmodes/compile.el (compilation-error-properties):
3447 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
3448 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3449 `ant' regexp.
ee31aabc 3450
a3f2468a
CY
3451 * net/browse-url.el (browse-url-firefox): Don't call
3452 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3453
8e999f70
GM
34542011-08-20 Glenn Morris <rgm@gnu.org>
3455
c21a496a
GM
3456 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3457
59ee0542
GM
3458 * tutorial.el (tutorial--default-keys): Update some default bindings.
3459
8e999f70
GM
3460 * files.el (hack-local-variables): Fully ignore case for "mode:".
3461
e3715033
AM
34622011-08-20 Alan Mackenzie <acm@muc.de>
3463
3464 Resolve invalid use of a regexp in regexp-opt.
3465
4d61f28d
JB
3466 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3467 detection for a java annotation.
e3715033 3468
4d61f28d 3469 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
3470 detection for a java annotation.
3471
4d61f28d
JB
3472 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3473 handling for java.
e3715033
AM
3474 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3475
04ed2e9c
CY
34762011-08-20 Chong Yidong <cyd@stupidchicken.com>
3477
3478 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3479 (Bug#9274).
3480
826cee64
AM
34812011-08-20 Alan Mackenzie <acm@muc.de>
3482
58179cce 3483 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
3484 such a construct. Mainly for when jit-lock etc. starts a chunk
3485 here.
3486
58179cce 3487 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 3488 variable.
58179cce 3489 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
3490 c-make-font-lock-search-function.
3491 (c-make-font-lock-search-function): Use the above function.
3492 (c-make-font-lock-context-search-function): New function.
3493 (c-cpp-matchers): Enhance the preprocessor expression case with
3494 the above function
3495 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3496 which takes an expression.
3497
3498 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3499
13009bd8
MR
35002011-08-20 Martin Rudalics <rudalics@gmx.at>
3501
3502 * window.el (display-buffer-reuse-window)
3503 (display-buffer-pop-up-window): Don't reuse or split a side
3504 window.
3505
9234ff7f
GM
35062011-08-19 Glenn Morris <rgm@gnu.org>
3507
3508 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 3509 Downcase "Mode:". (Bug#9331)
9234ff7f 3510
f635daa1
CY
35112011-08-18 Chong Yidong <cyd@stupidchicken.com>
3512
3513 * international/characters.el: Add L and R categories.
3514
3515 * subr.el (bidi-string-mark-left-to-right): Rename from
3516 string-mark-left-to-right. Use category search.
3517
3518 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
3519
bc987f8b
JL
35202011-08-18 Juri Linkov <juri@jurta.org>
3521
3522 * faces.el (error, warning, success): New faces with definitions
3523 copied from old default values of `font-lock-warning-face',
3524 `compilation-warning', `compilation-info' (bug#6117).
3525
3526 * font-lock.el (font-lock-warning-face): Inherit from `error'.
3527
3528 * progmodes/compile.el (compilation-error): Inherit from `error'.
3529 (compilation-warning): Inherit from `warning'.
3530 (compilation-info): Inherit from `success'.
3531
3532 * dired.el (dired-marked): Inherit from `warning'.
3533 (dired-flagged): Inherit from `error'.
3534
57173b96
LMI
35352011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3536
3e79eb87
LMI
3537 * mail/smtpmail.el (auth-source): Require to avoid problems with
3538 binding variables (bug#9298). Also clean up some unused
3539 autoloads.
3540
b3fd59bd
SM
3541 * net/network-stream.el (network-stream-open-starttls):
3542 Support using starttls.el without using gnutls-cli.
57173b96 3543
02b404de
JL
35442011-08-17 Juri Linkov <juri@jurta.org>
3545
3546 * progmodes/grep.el (rgrep): Handle the case when
3547 `grep-find-command' is a cons cell (bug#9278).
3548
8c9177f2
MR
35492011-08-17 Martin Rudalics <rudalics@gmx.at>
3550
3551 * window.el (display-buffer-pop-up-frame): Run frame creation
3552 function with BUFFER current (as special-display-popup-frame
3553 does). Reported by Drew Adams.
3554
3644a0ab
DU
35552011-08-17 Daiki Ueno <ueno@unixuser.org>
3556
3557 * epa-mail.el: Simplify GnuPG group expansion using
3558 epg-expand-group.
3559 (epa-mail-group-alist, epa-mail-group-modtime)
3560 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3561 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3562 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3563 Remove.
3564
5e617bc2 35652011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
3566
3567 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3568
9c4aeabf
AM
35692011-08-16 Alan Mackenzie <acm@muc.de>
3570
3571 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3572 Correct, to avoid the inside of macros.
3573
3a99bf64
RS
35742011-08-16 Richard Stallman <rms@gnu.org>
3575
04963aa8
RS
3576 * epa-mail.el: Handle GnuPG group definitions.
3577 (epa-mail-group-alist, epa-mail-group-modtime)
3578 (epa-mail-gnupg-conf-file): New variables.
3579 (epa-mail-parse-groups, epa-mail-sync-groups)
3580 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3581 (epa-mail-expand-recipients): New functions.
3582 (epa-mail-encrypt): Call epa-mail-expand-recipients.
3583
177549d0
RS
3584 * mail/rmail.el (rmail-epa-decrypt): New command.
3585
fe38beef
RS
3586 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3587 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
3588 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3589 (epa-decrypt-armor-in-region): Make error message clearer.
3590
934eacb9
SM
35912011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3592
3593 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3594 and "a2b" to "ab" for `prefix'.
3595
d024fb4e
CY
35962011-08-14 Chong Yidong <cyd@stupidchicken.com>
3597
3598 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3599 filter groups.
de148fee
CY
3600 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
3601 Fourquet (Bug#8804).
d024fb4e 3602
62f1ca49
JB
36032011-08-12 Juanma Barranquero <lekktu@gmail.com>
3604
3605 * startup.el (argi): Declare as global variable (bug#9275).
3606
9ccaaa4b
CY
36072011-08-12 Chong Yidong <cyd@stupidchicken.com>
3608
3609 * subr.el (string-mark-left-to-right): Search the entire string
3610 for RTL script, not just the terminating character. Doc fix.
3611
a3dae87a
SM
36122011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3613
6cd18349
SM
3614 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3615 New function.
3616 (js--regexp-literal, js-syntax-propertize-function): Remove.
3617 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3618 (js-mode-map): Don't rebind electric keys.
3619 (js-insert-and-indent): Remove.
3620 (js-mode): Setup electric-layout and electric-indent instead.
3621
a3dae87a
SM
3622 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3623
9d5cb631
DU
36242011-08-12 Daiki Ueno <ueno@unixuser.org>
3625
3626 * epa.el (epa-progress-callback-function): Fix the logic of
3627 displaying progress.
3628 * epa-file.el (epa-file-insert-file-contents): Make progress
3629 display more user-friendly.
3630 (epa-file-write-region): Ditto.
3631
3e26a4a2
CY
36322011-08-10 Chong Yidong <cyd@stupidchicken.com>
3633
3634 * subr.el (string-mark-left-to-right): New function.
3635
3636 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3637 Use string-mark-left-to-right.
3638 (list-buffers-noselect): Caller changed.
3639
a3dae87a
SM
3640 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3641 Use string-mark-left-to-right.
3e26a4a2
CY
3642 (tabulated-list-print): Recenter after moving point.
3643
ac8cf6e6
JL
36442011-08-10 Juri Linkov <juri@jurta.org>
3645
3646 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3647 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3648 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3649
8d96c9a4
CY
36502011-08-09 Chong Yidong <cyd@stupidchicken.com>
3651
3652 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3653 (Bug#7554).
3654
7be1c708 36552011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
3656
3657 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3658 character. (Bug#6594)
3659
37e11a63
CY
36602011-08-08 Chong Yidong <cyd@stupidchicken.com>
3661
839dde57
CY
3662 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3663 (image-dired--with-db-file): New macro.
3664 (image-dired-write-tags, image-dired-remove-tag)
3665 (image-dired-create-gallery-lists, image-dired-write-comments)
3666 (image-dired-get-comment, image-dired-mark-tagged-files)
3667 (image-dired-list-tags, image-dired-gallery-generate): Use it.
3668 (image-dired-gallery-generate): Use insert-file-contents.
3669
37e11a63
CY
3670 * time.el (display-time-world-list, display-time-world-display):
3671 * time-stamp.el (time-stamp-string):
3672 * vc/add-log.el (add-change-log-entry): Use setenv instead of
3673 set-time-zone-rule (Bug#7337).
3674
0b4946c4
DU
36752011-08-08 Daiki Ueno <ueno@unixuser.org>
3676
3677 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3678 (epg-error-to-string, epg-errors-to-string): New function.
3679 (epg-wait-for-completion): Reverse errors list.
3680 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3681 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3682 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3683 (epg-sign-keys, epg-generate-key-from-file)
3684 (epg-generate-key-from-string): Format errors by using
3685 epg-errors-to-string (bug#9255).
3686 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3687
75bfc667
JL
36882011-08-07 Juri Linkov <juri@jurta.org>
3689
3690 * faces.el (list-faces-display): Remove extra angle bracket
3691 from `help-mode-map'.
3692
3693 * info.el (Info-history-toc-nodes): Doc fix.
3694
3695 * longlines.el (longlines-mode): Doc fix.
3696
673e08bb
SM
36972011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3698
4640dd88
SM
3699 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3700 of statements and in a few more cases (bug#9183).
3701
673e08bb
SM
3702 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3703 New functions.
3704 (cl-transform-lambda): Use them (bug#9239).
3705
89b3f019
MR
37062011-08-05 Martin Rudalics <rudalics@gmx.at>
3707
3708 * window.el (display-buffer-same-window)
3709 (display-buffer-same-frame, display-buffer-other-window)
3710 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3711 (pop-to-buffer-other-window)
3712 (pop-to-buffer-same-frame-other-window)
3713 (pop-to-buffer-other-frame): Make them defuns.
3714 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3715
640c8776
SM
37162011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3717
3718 * subr.el (make-composed-keymap): Move from C. Change calling
3719 convention, and improve docstring to bring attention to a subtle point.
3720 * minibuffer.el (completing-read-default): Adjust accordingly.
3721
63648a95
MA
37222011-08-03 Michael Albinus <michael.albinus@gmx.de>
3723
3724 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3725 (tramp-open-shell): Use `tramp-shell-quote-argument'.
3726
3727 * net/trampver.el: Update release number.
3728
b796c9b7
SM
37292011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3730
3731 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3732 "in" (bug#9190).
3733
2239d7d5
LMI
37342011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3735
e07dd7c3
LMI
3736 * mail/sendmail.el (sendmail-query-once): Restore the current
3737 buffer after querying (bug#9074).
3738
0e6a2bd7
LMI
3739 * dired.el (dired-flagged): Use different faces for marked and
3740 flagged files (bug#6117).
3741
ce887515
LMI
3742 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3743 (bug#4433).
3744
92f2affc
LMI
3745 * ido.el (ido-mode): Switch off the message if called
3746 non-interactively.
3747
57d5aff0
LMI
3748 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3749 before 587, since it appears that that's more likely to work for
3750 more people.
3751
98cd6c18 3752 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 3753 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
3754 exist.
3755
b96dec83
LMI
3756 * info.el: Remove the `Info-beginning-of-buffer' function
3757 (bug#8325).
3758
b796c9b7
SM
3759 * net/network-stream.el (network-stream-open-starttls):
3760 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 3761
d90e2ea0
MR
37622011-08-01 Martin Rudalics <rudalics@gmx.at>
3763
3764 * window.el (display-buffer-in-window): Don't set dedicated status
3765 of window here (Bug#9215).
3766 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3767 (display-buffer-pop-up-side-window)
b796c9b7 3768 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 3769
cca09170
SM
37702011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3771
3772 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3773 before binding generated-autoload-file.
3774
027b979c
DD
37752011-08-01 Deniz Dogan <deniz@dogan.se>
3776
3777 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3778
3c7ee4f3
MA
37792011-07-30 Michael Albinus <michael.albinus@gmx.de>
3780
3781 Sync with Tramp 2.2.2.
3782
3783 * net/trampver.el: Update release number.
3784
2cc8e51a
JL
37852011-07-30 Juri Linkov <juri@jurta.org>
3786
3787 * dired-aux.el (dired-touch-initial): Remove function.
3788 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3789 current time, and `default' to the last modification time of the
3790 current marked file (bug#6887).
3791
a514d856
JM
37922011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3793
3794 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 3795 numeric argument to read-number (bug#9163).
a514d856 3796
8a7eddd7
MA
37972011-07-27 Michael Albinus <michael.albinus@gmx.de>
3798
3799 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3800 connection process, it could be nil.
3801
1ddd96f5
LL
38022011-07-27 Leo Liu <sdl.web@gmail.com>
3803
3804 Simplify url handling in rcirc-mode.
3805
3806 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3807 (rcirc-browse-url-at-mouse): Remove.
3808 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3809
b248a85d
AM
38102011-07-26 Alan Mackenzie <acm@muc.de>
3811
3812 Fontify bitfield declarations properly.
3813
3814 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3815 (c-symbol-chars): Now exported as a lang variable.
3816 (c-not-primitive-type-keywords): New lang variable.
3817
3818 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3819 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 3820 parsed as a bitfield declaration.
b248a85d 3821
b796c9b7
SM
3822 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3823 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
3824 (c-punctuation-in): New function.
3825 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3826 declarations properly.
3827
68575ab0
UJ
38282011-07-26 Ulf Jasper <ulf.jasper@web.de>
3829
3830 * calendar/icalendar.el (icalendar--all-events): Take care of
3831 multiple vcalendars in a single file.
b796c9b7 3832 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 3833
0f0a88b9
DD
38342011-07-25 Deniz Dogan <deniz@dogan.se>
3835
3836 * image.el (insert-image): Clarifying docstring.
3837
0b3f36df
MA
38382011-07-24 Michael Albinus <michael.albinus@gmx.de>
3839
3840 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3841 `tramp-send-command-and-check' if there is no error.
3842 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3843
a9901f61
AM
38442011-07-22 Alan Mackenzie <acm@muc.de>
3845
3846 Prevent cc-langs.elc being loaded at run time.
3847
3848 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3849 cc-langs.
3850
4d61f28d 3851 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
3852 "(require 'cc-langs)". Quote a form so it will evaluate at
3853 (cc-mode's) compilation time.
3854
11d074b2
MA
38552011-07-22 Michael Albinus <michael.albinus@gmx.de>
3856
3857 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3858 loading. (Bug#9114)
3859
938b94c8
MR
38602011-07-21 Martin Rudalics <rudalics@gmx.at>
3861
3862 * window.el (display-buffer-pop-up-window)
3863 (display-buffer-pop-up-side-window)
3864 (display-buffer-in-side-window): Call display-buffer-set-height
3865 and display-buffer-set-width after setting the new window's
b796c9b7 3866 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 3867
bfa4f190
SS
38682011-07-20 Sam Steingold <sds@gnu.org>
3869
3870 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3871 (etags-tags-included-tables): Call `convert-standard-filename' on
3872 the file names contained in TAGS so that windows Emacs can handle
3873 TAGS files created by cygwin ctags.
3874
8ca42262
LMI
38752011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3876
3877 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3878 which apparently didn't work.
3879
5db2afd2 38802011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 3881
5db2afd2
RW
3882 * proced.el (proced-send-signal): For *Marked Processes* buffer
3883 put point at beginning of buffer.
3884
92e15d10
SB
38852011-07-19 Stephen Berman <stephen.berman@gmx.net>
3886
3887 * proced.el (proced-format): Make header lines align with the text
3888 (bug#1779).
3889
1bfd59e5
LMI
38902011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3891
3892 * view.el (view-buffer): Allow running in `special' modes if we're
3893 visiting a file (bug#8615).
3894
f5aae37c
MR
38952011-07-19 Martin Rudalics <rudalics@gmx.at>
3896
3897 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
3898 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3899 New functions.
f5aae37c
MR
3900 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3901 more accurately.
3902
bf2c1571
AM
39032011-07-18 Alan Mackenzie <acm@muc.de>
3904
3905 Fontify declarators properly when, e.g., a jit-lock chunk begins
3906 inside a declaration.
3907
3908 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3909
b796c9b7
SM
3910 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3911 New function.
bf2c1571
AM
3912 (c-complex-decl-matchers): Insert reference to
3913 c-font-lock-enclosing-decls.
3914
3915 * progmodes/cc-engine.el (c-backward-single-comment):
3916 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3917 to nil around calls to (forward-comment -1).
3918
4e190b80
LMI
39192011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3920
12dc863d
LMI
3921 * image.el (put-image): Doc typo fix.
3922
a762e966
LMI
3923 * progmodes/etags.el (tags-search): Doc typo fix.
3924
4e190b80
LMI
3925 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3926 password if we get errors 550 to 554.
3927
f019fb21
LMI
39282011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3929
b796c9b7 3930 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 3931
81746738
LMI
3932 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3933 indentation character (bug#6380).
3934
3ee3a1b5
LMI
3935 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3936
c82f64de
LMI
3937 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3938 to clarify what the problem is (bug#4291).
3939
f019fb21
LMI
3940 * simple.el (current-kill): Clarify what
3941 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
3942 (auto-fill-mode): Document `auto-fill-function' in relation to
3943 `auto-fill-mode' (bug#2470).
f019fb21 3944
0794775d
LM
39452011-07-16 Lawrence Mitchell <wence@gmx.li>
3946
3947 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3948 method if slot is read-only (bug#9035).
3949
be39b8cc
MR
39502011-07-16 Martin Rudalics <rudalics@gmx.at>
3951
b796c9b7 3952 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 3953 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
3954 selected before, see discussion of (Bug#8615), (Bug#6954).
3955 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 3956
6ccf7859
GM
39572011-07-15 Glenn Morris <rgm@gnu.org>
3958
3959 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 3960 Respect help-form.
6ccf7859 3961
87e86684
LM
39622011-07-09 Lawrence Mitchell <wence@gmx.li>
3963
3964 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3965 (gnutls-negotiate): Use it.
3966
d6066239
LMI
39672011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3968
b796c9b7
SM
3969 * net/gnutls.el (gnutls-negotiate):
3970 Upcase `gnutls-algorithm-priority'.
d6066239 3971
bd23ebc0
GM
39722011-07-15 Glenn Morris <rgm@gnu.org>
3973
c65bca65
GM
3974 * jka-compr.el (jka-compr-verbose): Move from here...
3975 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3976 Add missing :version tag.
3977 * info.el: No need to require jka-compr when compiling.
bd23ebc0 3978
478615cc
LMI
39792011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3980
7b41decb
LMI
3981 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3982 (gnutls-negotiate): Use it.
3983
dbc44fcd
LMI
3984 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3985
06789f97
LMI
3986 * info.el (Info-beginning-of-buffer): New command.
3987 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3988 announcing `b' as the key (bug#8325).
ab896c37 3989 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 3990
c39da690
LMI
3991 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3992
3aa5f34b
LMI
3993 * international/mule-cmds.el
3994 (describe-specified-language-support): Make the error message
3995 clearer (bug#8905).
3996
4bf0979f
LMI
3997 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3998
478615cc
LMI
3999 * isearch.el (isearch-barrier): Add a doc string, since it's
4000 mentioned in a function doc string (bug#8678).
4001
75c68aa1
MR
40022011-07-15 Martin Rudalics <rudalics@gmx.at>
4003
4004 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4005 buffer argument (Bug#9083) and self-identifying label argument.
4006
a7c33da2
GM
40072011-07-15 Glenn Morris <rgm@gnu.org>
4008
4009 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4010
2f5c6024
LMI
40112011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4012
4013 * man.el (Man-fontify-manpage): Fix message when formatting the
4014 man page (bug#7929).
4015
0bb23927 40162011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4017
4018 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4019 argument LRM; if non-nil, append an invisible LRM character to the
4020 buffer name.
4021 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4022 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4023 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4024 paragraph direction.
cce4b0a7 4025
621ef9ab
LMI
40262011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4027
d1583c48
LMI
4028 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4029 the man page name (bug#7929).
4030
6a57fb5f
LMI
4031 * image.el (put-image): Mention the `put-image' overlay property
4032 (bug#7834).
4033
d7956b14
LMI
4034 * scroll-bar.el (set-scroll-bar-mode): Mention that
4035 `scroll-bar-mode' lists the values (bug#7772).
4036
5b2d4a66
LMI
4037 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4038 command (bug#7729).
4039
7509a874
LMI
4040 * rect.el (apply-on-rectangle): Return the point after the last
4041 operation.
4042 (string-rectangle): Go to the point after the last operation
4043 (bug#7522).
4044
4fe74b19
LMI
4045 * printing.el (pr-toggle-region): Clarify the documentation
4046 slightly (bug#7493).
4047
b796c9b7
SM
4048 * time.el (display-time-update):
4049 Allow `display-time-mail-function' to return nil (bug#7158).
4050 Fix suggested by Detlev Zundel.
ab283561 4051
fc233c9d
LMI
4052 * vc/diff.el (diff): Clarify the order the file names are read
4053 (bug#7111).
4054
43f5740b
LMI
4055 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4056 the doc string (bug#7015).
4057
f2182a76
LMI
4058 * font-lock.el (font-lock-maximum-decoration): Mention what
4059 numeric levels mean (bug#6935).
4060
621ef9ab
LMI
4061 * startup.el (initial-buffer-choice): Don't mention the `none'
4062 selection, which is against policy.
4063
adc47434
MR
40642011-07-14 Martin Rudalics <rudalics@gmx.at>
4065
b796c9b7
SM
4066 * window.el (display-buffer-normalize-special):
4067 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4068
7e5bfb8f
EZ
40692011-07-14 Eli Zaretskii <eliz@gnu.org>
4070
4071 * subr.el (version<, version<=, version=): Mention "-CVS" and
4072 "-12345" alpha version numbers.
4073
27fa387a
CY
40742011-07-14 Chong Yidong <cyd@stupidchicken.com>
4075
4076 * bindings.el: Add advertised binding for set-mark-command
4077 (Bug#5772).
4078
8bdfa064
CY
40792011-07-14 Chong Yidong <cyd@stupidchicken.com>
4080
4081 * bindings.el (mode-line-other-buffer):
4082 * bookmark.el (bookmark-bmenu-2-window):
4083 * bs.el (bs-cycle-next, bs-cycle-previous):
4084 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4085 switch-to-buffer.
4086
4087 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4088 Delete.
8bdfa064 4089
5eba16a3
JB
40902011-07-14 Juanma Barranquero <lekktu@gmail.com>
4091
4092 * follow.el (follow-debug-message, follow-redisplay):
4093 * jka-cmpr-hook.el (with-auto-compression-mode):
4094 Fix typos in docstrings.
4095
15853710
LMI
40962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4097
a28e4607
LMI
4098 * subr.el (with-silent-modifications): Clarify somewhat what the
4099 macro inhibits (bug#6525).
4100
15853710
LMI
4101 * simple.el (eval-expression): Note what it does if called
4102 interactively (bug#6495).
4103
bee0fcef
CY
41042011-07-13 Chong Yidong <cyd@stupidchicken.com>
4105
b796c9b7
SM
4106 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4107 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4108
4109 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4110 Remove switch-to-buffer.
4111
58274504
LMI
41122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4113
bd2fcc8d
LMI
4114 * files.el (make-directory): Clarify that an error will be raised
4115 if there's an error (bug#6397).
4116
0f04b32c
LMI
4117 * startup.el (initial-buffer-choice): Add `none' as a choice
4118 (bug#6234).
4119
465c5fc8
LMI
4120 * subr.el (add-hook): Clarify section about buffer-local hooks
4121 (bug#6218).
4122
58274504
LMI
4123 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4124
bead9a43
JB
41252011-07-13 Juanma Barranquero <lekktu@gmail.com>
4126
4127 * tabify.el (untabify): Preserve the current column so that point
4128 doesn't move (bug#6032).
4129
3af98a7b
LMI
41302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4131
b796c9b7
SM
4132 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4133 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4134
6240145a
GM
41352011-07-13 Glenn Morris <rgm@gnu.org>
4136
4137 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4138 (dired-insert-directory): Give a message the first time
4139 if ls is found not to support --dired.
4140
1d8c2ccc
LMI
41412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4142
4143 * simple.el (toggle-truncate-lines): Clarify what is toggled
4144 (bug#5580). Text by Drew Adams.
4145
5fc4038e
CY
41462011-07-13 Chong Yidong <cyd@stupidchicken.com>
4147
4148 * simple.el (blink-matching-open): Make the error message from the
4149 last change less verbose.
4150
bf6012e5
DN
41512011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4152
4153 * font-lock.el (font-lock-comment-face): Use the high contrast
4154 "yellow" color for font-lock-comment-face on low color terminals
4155 using a dark background color (bug#4221).
4156
343c3b5a
LMI
41572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4158
7e9505c5
LMI
4159 * dired.el (dired-insert-set-properties): Make the doc string
4160 reflect what it does now (bug#5325).
4161
c26fdcf5
LMI
4162 * simple.el (blink-matching-open): Say that we were unable to find
4163 the match within the limit, if we're limited (bug#5122).
4164
bb388cc5
LMI
4165 * international/mule-cmds.el (prefer-coding-system): Add an
4166 example (bug#4869).
4167
343c3b5a
LMI
4168 * progmodes/etags.el (tags-search): Document `file-list-form'
4169 (bug#4731).
4170
2a517d45
LM
41712011-07-13 Lawrence Mitchell <wence@gmx.li>
4172
4173 * net/browse-url.el (browse-url-default-browser)
4174 (browse-url-browser-function): Make the default browser choice a
4175 bit more logical (bug#4300). Also clean up the doc string.
4176
b6c78ef2
JB
41772011-07-13 Juanma Barranquero <lekktu@gmail.com>
4178
4179 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4180 binary endings (bug#4440).
4181
1c4dd947
LMI
41822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4183
a2014063
LMI
4184 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4185 which can be pretty annoying (bug#8971).
4186
9c9c2d88
LMI
4187 * jka-compr.el (jka-compr-verbose): New variable, and use
4188 throughout (bug#8971).
4189
1c4dd947
LMI
4190 * info.el (Info-find-file): Fall back on the installation
4191 directory if we can't find the info node anywhere else.
4192
a1c9f41b
SO
41932011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4194
4195 * vc/vc.el (vc-revert-file):
4196 Don't set file time-stamp in the past. (Bug#5181)
4197
536f3d36
LMI
41982011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4199
7152b011
LMI
4200 * files.el (after-find-file): Give a better error message when
4201 trying to find a symlink that points to a file that doesn't exist
4202 (bug#4398).
4203
536f3d36
LMI
4204 * progmodes/cc-vars.el: Remove (probably) misleading comment
4205 (bug#4396).
4206
460c0fba
JB
42072011-07-12 Johan Bockgård <bojohan@gnu.org>
4208
4209 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4210
7a6bda45
CY
42112011-07-12 Chong Yidong <cyd@stupidchicken.com>
4212
4213 * mouse-sel.el: Hack restoring functionality, while keeping
4214 compatibility with 2010-07-03 changes to mouse selection.
4215 (mouse-sel-primary-overlay): New var.
4216 (mouse-sel-selection-alist): Use it.
4217 (mouse-sel-mode): Doc fix; remove points that are default features
4218 of mouse.el.
4219
c79598ef
JB
42202011-07-12 Johan Bockgård <bojohan@gnu.org>
4221
4222 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4223 Fix previous fix (bug#2490).
4224
ff8be6ef
RW
42252011-07-12 Roland Winkler <winkler@gnu.org>
4226
b796c9b7
SM
4227 * textmodes/bibtex.el (bibtex-initialize):
4228 Use pop-to-buffer-same-window.
ff8be6ef
RW
4229 (bibtex-search-entries): Fix interactive call.
4230
296ba3ee
LMI
42312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4232
f5242a02 4233 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
4234 Fontise bytecomp Error lines more correctly (bug#2490).
4235 Fix suggested by Johan Bockgård.
f5242a02 4236
296ba3ee
LMI
4237 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4238
4239 * dired-x.el (dired-guess-default): Use `delete-dups'.
4240
f69fd0d2
CY
42412011-07-12 Chong Yidong <cyd@stupidchicken.com>
4242
4243 * dired.el (dired-mark-prompt):
4244 * dired-aux.el (dired-read-shell-command): Doc fix.
4245
eab5dc07
LMI
42462011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4247
b796c9b7
SM
4248 * mail/sendmail.el (sendmail-query-once):
4249 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4250 emacs -Q.
4251
4252 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4253
eab5dc07
LMI
4254 * cus-edit.el (custom-file): Take an optional no-error variable.
4255 (customize-save-variable): Set the variable, and give a warning if
4256 running under "emacs -q".
4257
a1e65d42
JB
42582011-07-11 Juanma Barranquero <lekktu@gmail.com>
4259
4260 * loadhist.el (unload-feature-special-hooks):
4261 Add `auto-coding-functions', `fill-nobreak-predicate' and
4262 `find-directory-functions' (bug#5327).
4263
1d52da10
LMI
42642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4265
be958f1d
LMI
4266 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4267
5bedb26c
LMI
4268 * cus-edit.el (custom-guess-name-alist): -alist variables should
4269 use the `alist' type (bug#3120). Suggested by Drew Adams.
4270
1d52da10
LMI
4271 * printing.el: Add documentation to all the `pr-toggle-' commands.
4272
481a51b6
LL
42732011-07-11 Leo <sdl.web@gmail.com> (tiny change)
4274
4275 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4276 backends where it makes sense (bug#2623).
4277
dcc88d8a
LMI
42782011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4279
c3de9feb
LMI
4280 * dired-x.el (dired-guess-default): Remove duplicate shell command
4281 entries (bug#2028).
8a93078b 4282 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4283 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4284
dcc88d8a
LMI
4285 * subr.el (remove-duplicates): New conveniency function.
4286
505e3645
LMI
42872011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4288
4289 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4290 (bug#1526).
4291
42922011-07-10 Martin Rudalics <rudalics@gmx.at>
4293
4294 * window.el (display-buffer-normalize-default): Don't invert
4295 meaning of even-window-heights. Reported by Eli Zaretskii
4296 <eliz@gnu.org>.
4297
455e4fa1
BR
42982011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4299
4300 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4301
8e0bc3e9
CY
43022011-07-10 Chong Yidong <cyd@stupidchicken.com>
4303
4304 * window.el (display-buffer): Fix arguments to
4305 display-buffer-reuse-window in last change.
4306
fa7c3228
CY
4307 * faces.el (link): Use a less saturated blue on light backgrounds.
4308
4309 * startup.el (fancy-startup-text, fancy-about-text)
4310 (fancy-startup-tail): Use font-lock faces, for background safety.
4311
c0a7f300
BN
43122011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4313
b796c9b7
SM
4314 * emulation/viper-cmd.el (viper-change-state-to-vi):
4315 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4316
4dc2a129
MR
43172011-07-09 Martin Rudalics <rudalics@gmx.at>
4318
4319 * window.el (display-buffer-default-specifiers): Remove.
4320 (display-buffer-macro-specifiers): Remove default specifiers.
4321 (display-buffer-alist): Default to nil.
b796c9b7 4322 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4323 (display-buffer-pop-up-window): Allow splitting internal
4324 windows. Check whether a live window was created.
4325 (display-buffer-other-window-means-other-frame)
4326 (display-buffer-normalize-arguments): Rename to
4327 display-buffer-normalize-argument and rewrite. Set the
4328 other-window specifier.
4329 (display-buffer-normalize-special): New function.
4330 (display-buffer-normalize-options): Rename to
4331 display-buffer-normalize-default and rewrite.
4332 (display-buffer-normalize-options-inhibit): Remove.
4333 (display-buffer-normalize-specifiers): Rewrite.
4334 (display-buffer): Process other-window specifier and call
4335 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4336 more faithfully.
b796c9b7 4337 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 4338 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
4339 (display-buffer-in-window, display-buffer-alist-set):
4340 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
4341 <tassilo@member.fsf.org>.
4342
2d43b8c9
LL
43432011-07-09 Leo Liu <sdl.web@gmail.com>
4344
4345 * register.el (insert-register): Restore accidental change on
4346 2011-06-26. (Bug#9028)
4347
7f9b7c53
GM
43482011-07-09 Glenn Morris <rgm@gnu.org>
4349
4350 * subr.el (remq): Handle the empty list. (Bug#9024)
4351
f042cfd8
AS
43522011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4353
4354 * mail/sendmail.el (send-mail-function): No longer delay custom
4355 initialization.
4356 * custom.el (custom-initialize-delay): Doc fix.
4357
856b2f11
SM
43582011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4359
4360 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4361
afae1d68
MA
43622011-07-08 Michael Albinus <michael.albinus@gmx.de>
4363
4364 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4365 human-friendly prompt.
4366
0757af94
SM
43672011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4370 provided by a particular plugin.
4371
d760b731
LMI
43722011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4373
4374 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4375 save customizations (with "emacs -Q"), just set the variable
4376 instead of erroring out.
4377
4378 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4379
cd79ce90
JL
43802011-07-08 Juri Linkov <juri@jurta.org>
4381
4382 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4383 (archive-zip-update-case): Use 7z if found by `executable-find'.
4384 The order of searching the available programs is the same as in
4385 `archive-zip-extract' (bug#8968).
4386
14cc04aa
CY
43872011-07-07 Chong Yidong <cyd@stupidchicken.com>
4388
4389 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4390 (menu-bar-options-menu): Tweak descriptions.
4391
0a1848ec
LMI
43922011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4393
4394 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4395 menu items into verb phrases (bug#1421). Also refill to fit under
4396 80 columns.
4397
f5bd0689
CY
43982011-07-07 Chong Yidong <cyd@stupidchicken.com>
4399
538e85c6
CY
4400 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4401 (Info-read-node-name): Doc fix (Bug#1084).
4402
f5bd0689
CY
4403 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4404 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4405 (end-of-sexp, beginning-of-sexp)
4406 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4407 (forward-symbol, forward-same-syntax, word-at-point)
4408 (sentence-at-point): Doc fix (Bug#1144).
4409
56ec5115
LMI
44102011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4411
f3f8e37f
LMI
4412 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4413 should cover it (bug#1281).
4414
0757af94 4415 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 4416
e9fce1ac 4417 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
4418 negotiation fails, then possibly try again with a non-encrypted
4419 connection (bug#9017).
4420
56ec5115
LMI
4421 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4422 be used.
4423
c2f9aec8
RS
44242011-07-07 Richard Stallman <rms@gnu.org>
4425
4426 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4427 property, and handle its changed format.
4428 Look for the correct line number.
4429 Use file's line contents (but not past first =) to find
4430 correct line in message.
4431
ef7b981d 44322011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
4433
4434 * international/characters.el (build-unicode-category-table):
4435 Delete it.
0757af94 4436 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 4437
0757af94 4438 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
4439 to src/chartab.c.
4440 (get-char-code-property): Call unicode-property-table-internal to
4441 load a file. Call get-unicode-property-internal where necessary.
4442 (put-char-code-property): Call unicode-property-table-internal to
4443 load a file. Call put-unicode-property-internal where necessary.
4444 put-unicode-property-internal where necessary.
0757af94
SM
4445 (char-code-property-description):
4446 Call unicode-property-table-internal to load a file.
c805dec0
KH
4447
4448 * international/charprop.el:
4449 * international/uni-bidi.el:
4450 * international/uni-category.el:
4451 * international/uni-combining.el:
4452 * international/uni-comment.el:
4453 * international/uni-decimal.el:
4454 * international/uni-decomposition.el:
4455 * international/uni-digit.el:
4456 * international/uni-lowercase.el:
4457 * international/uni-mirrored.el:
4458 * international/uni-name.el:
4459 * international/uni-numeric.el:
4460 * international/uni-old-name.el:
4461 * international/uni-titlecase.el:
4462 * international/uni-uppercase.el: Regenerate.
4463
4464 * loadup.el: Load international/charprop.el before
4465 international/characters.
4466
e14b388a
CY
44672011-07-07 Chong Yidong <cyd@stupidchicken.com>
4468
4469 * window.el (next-buffer, previous-buffer): Signal an error if
4470 called from a minibuffer window.
4471
4472 * bindings.el: Revert 2011-07-04 change.
4473
354cf0ba
RS
44742011-07-06 Richard Stallman <rms@gnu.org>
4475
4476 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4477 (rmail-mime-insert-bulk, rmail-mime-insert-text):
4478 Treat markers like ints.
4479 (rmail-mime-entity): Doc fix.
4480
a48868a7
LMI
44812011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4482
4906cd3d
LMI
4483 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4484 defcustom again for backwards compatibility.
4485
e0457abe
LMI
4486 * simple.el (shell-command-on-region): Fill.
4487
d67f7e1f
LMI
4488 * dired-aux.el (dired-kill-line): Add a doc string.
4489
fe204702
LMI
4490 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4491 to "\\sw\\|\\s_" (bug#358).
4492
a48868a7
LMI
4493 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4494 (dired-unmark-backward): Ditto.
4495 (dired-flag-backup-files): Ditto.
4496
4497 * dired-x.el (dired-mark-sexp): Ditto.
4498
aa8a705c
RS
44992011-07-06 Richard Stallman <rms@gnu.org>
4500
4501 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4502 (rmail-mime-entity): New arg TRUNCATED.
4503 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4504 New functions.
4505 (rmail-mime-save): Warn if entity is truncated.
4506 (rmail-mime-toggle-hidden): Likewise, for showing.
4507 (rmail-mime-process-multipart): Record when an entity is truncated.
4508
a9a936b9
RS
4509 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
4510 if ENTITY is a string.
4511
1f2b92cb
LMI
45122011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4513
f4f73198 4514 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
4515 of faces when `M-C-x'-ing their definitions (bug#8378).
4516 Also clean up the code slightly.
f4f73198 4517
12b16734 4518 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 4519 because that makes the colors go away.
12b16734 4520
f0691d22
LMI
4521 * mail/sendmail.el (send-mail-function): Change the default to
4522 `sendmail-query-once'.
9e87df06 4523 (sendmail-query-once): Add an autoload cookie.
f0691d22 4524
1f2b92cb
LMI
4525 * net/network-stream.el (network-stream-open-starttls): Try using
4526 a plain connection even if the server offered STARTTLS, and we
4527 kinda wanted to use it, if Emacs doesn't have any STARTTLS
4528 capability. This should make smtpmail.el work in slightly more
4529 configurations.
4530
1cdd2a1b
MA
45312011-07-06 Michael Albinus <michael.albinus@gmx.de>
4532
4533 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4534 New defun.
4535 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
4536
fbcc67e2
MM
45372011-07-06 Michael R. Mauger <mmaug@yahoo.com>
4538
4539 * progmodes/sql.el: Version 3.0
0757af94 4540 (sql-product-alist): Add product :completion-object,
fbcc67e2 4541 :completion-column, and :statement attributes.
0757af94 4542 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 4543 (sql-mode-syntax-table): Mark all punctuation.
0757af94 4544 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
4545 ansi keywords.
4546 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 4547 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
4548 (sql-oracle-show-reserved-words): New function for development.
4549 (sql-product-font-lock): Simplify for source code buffers.
4550 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
4551 New functions.
4552 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
4553 (sql-mode-map): Add statement movement functions.
4554 (sql-ansi-statement-starters, sql-oracle-statement-starters):
4555 New variable.
fbcc67e2
MM
4556 (sql-statement-regexp, sql-beginning-of-statement)
4557 (sql-end-of-statement, sql-signum): New functions.
0757af94 4558 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
4559 (sql-show-sqli-buffer): Bug fix.
4560 (sql-interactive-mode): Store connection data as buffer local.
0757af94 4561 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
4562 with sql-interactive-mode.
4563 (sql-save-connection): Save buffer local settings.
0757af94 4564 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
4565 (sql-product-interactive): Bug fix.
4566 (sql-preoutput-hold): New variable.
4567 (sql-interactive-remove-continuation-prompt): Bug fixes.
4568 (sql-debug-redirect): New variable.
4569 (sql-str-literal): New function.
4570 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 4571 Redesign.
fbcc67e2
MM
4572 (sql-oracle-save-settings, sql-oracle-restore-settings)
4573 (sql-oracle-list-all, sql-oracle-list-table): New functions.
4574 (sql-completion-object, sql-completion-column)
4575 (sql-completion-sqlbuf): New variables.
4576 (sql-build-completions-1, sql-build-completions)
4577 (sql-try-completion): New functions.
4578 (sql-read-table-name): Use them.
4579 (sql-contains-names): New buffer local variable.
4580 (sql-list-all, sql-list-table): Use it.
4581 (sql-oracle-completion-types): New variable.
4582 (sql-oracle-completion-object, sql-sqlite-completion-object)
4583 (sql-postgres-completion-object): New functions.
4584
d4eaeab1
GM
45852011-07-06 Glenn Morris <rgm@gnu.org>
4586
4587 * window.el (pop-to-buffer): Doc fix.
4588
322b7dab 45892011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
4590
4591 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4592
322b7dab 45932011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 4594
322b7dab 4595 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 4596
322b7dab 4597 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 4598
605dd5bf
CY
45992011-07-05 Chong Yidong <cyd@stupidchicken.com>
4600
4601 * button.el (button): Inherit from link face. Suggested by Dan
4602 Nicolaescu.
4603
7dbfa719
SM
46042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4605
3db614b0
SM
4606 * progmodes/gdb-mi.el: Fit in 80 columns.
4607 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4608 switch-to-buffer.
4609
7dbfa719
SM
4610 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4611 if imenu is simply not configured (bug#8941).
4612
919d884a
KM
46132011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
4614
4615 * allout.el (allout-post-undo-hook): New allout outline-change
4616 event hook to signal undo activity.
4617 (allout-post-command-business): Run allout-post-undo-hook if an
4618 undo just occurred.
7dbfa719
SM
4619 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4620 * allout-widgets.el (allout-widgets-after-undo-function):
4621 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
4622 in the vicinity of an undo.
4623 (allout-widgets-mode): Include allout-widgets-after-undo-function
4624 on the new allout-post-undo-hook.
4625
450a0f09
SM
46262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4629 Let define-derived-mode define it.
4630 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4631 cycles of abbrev-table inheritance (bug#8998).
4632
2de69e00
RW
46332011-07-05 Roland Winkler <winkler@gnu.org>
4634
4635 * textmodes/bibtex.el: Add support for biblatex.
4636 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4637 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4638 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4639 (bibtex-entry-alist, bibtex-field-alist): New variables.
4640 (bibtex-entry-field-alist): Obsolete alias for
4641 bibtex-BibTeX-entry-alist.
4642 (bibtex-entry-alist, bibtex-field-alist): New widgets.
4643 (bibtex-set-dialect): New command.
4644 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
4645 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4646 Bind via bibtex-set-dialect.
2de69e00
RW
4647 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4648 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4649 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4650 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4651 Define via bibtex-set-dialect.
450a0f09
SM
4652 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4653 Obey bibtex-no-opt-remove-re.
2de69e00
RW
4654 (bibtex-vec-push, bibtex-vec-incr): New functions.
4655 (bibtex-format-entry, bibtex-field-list)
4656 (bibtex-print-help-message, bibtex-validate)
4657 (bibtex-search-entries): Use new format of bibtex-entry-alist.
4658
2dcdbdd9
SM
46592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 * progmodes/compile.el (compilation-goto-locus):
4662 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4663 * bs.el (bs-cycle-next, bs-cycle-previous):
4664 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4665 * bindings.el (mode-line-other-buffer):
4666 * autoinsert.el (auto-insert):
4667 * arc-mode.el (archive-extract):
4668 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4669
b27640fe
JB
46702011-07-05 Juanma Barranquero <lekktu@gmail.com>
4671
4672 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4673 Fix check of `emacs-lock-unlockable-modes'.
4674 Coerce true values of `emacs-lock--try-unlocking' to t.
4675
53bbe3ad
JB
46762011-07-05 Juanma Barranquero <lekktu@gmail.com>
4677
4678 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4679 * emacs-lock.el: New file.
4680
1d3cdbc7
JD
46812011-07-05 Julien Danjou <julien@danjou.info>
4682
4683 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4684 than `boundp' to check if face is set.
4685
9173deec
JB
46862011-07-05 Juanma Barranquero <lekktu@gmail.com>
4687
4688 * register.el (registerv-make):
4689 * window.el (window-min-height): Fix typos in docstrings.
4690
869795d6
JD
46912011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4692
9173deec 4693 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
4694 Update doc string.
4695
b768cdcd
JB
46962011-07-04 Juanma Barranquero <lekktu@gmail.com>
4697
4698 * server.el (server-execute): Catch quit and call
4699 `server-return-error' to pass the error back to emacsclient and
4700 close the connection (bug#8942).
4701
13aa217b
KM
47022011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
4703
4704 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4705 insecure exception for current topic. Also note that auto-saves
4706 are handled differently.
4707
4708 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4709 State variables for tracking auto-save inhibition situation.
4710
4711 (allout-write-contents-hook-handler): Rename from
4712 'allout-write-file-hook-handler', and describe how it depends on
4713 write-contents-functions sensitivity to non-nil value to prevent
4714 file write.
4715
4716 (allout-auto-save-hook-handler): Remove. auto-save does not check
4717 this in individual buffers, only in the starting buffer, so this
4718 is not the right way for us to inhibit auto-save in a buffer
4719 according to its condition.
4720
4721 (allout-mode): Use new allout-write-contents-hook-handler, and
4722 only with write-contents-functions. Remove auto-save provisions -
4723 they're implemented elsewhere.
4724
4725 (allout-before-change-handler): If undo is in progress, note that
4726 for attention of allout-post-command-business.
4727
4728 (allout-post-command-business): If the command we're following was
4729 an undo, check for change in the status of encrypted items and
4730 adjust auto-save inhibitions accordingly.
4731
4732 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4733 according to whether there are or aren't any plain-text topics
4734 pending encryption.
4735
2dcdbdd9 4736 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
4737 Adjust buffer-saved-size and some allout state to inhibit auto-saves
4738 if there are plain-text topics pending encryption.
13aa217b
KM
4739
4740 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4741 buffer-saved-size and some allout state to not inhibit auto-saves
4742 if there are no longer any plain-text topics pending encryption.
4743
0757af94
SM
4744 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4745 No longer provide for exemption of the current topic.
13aa217b 4746
ac89b32c
JL
47472011-07-04 Juri Linkov <juri@jurta.org>
4748
4749 Add 7z operations to delete and save changed members (bug#8968).
4750 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4751 New defcustoms.
4752 (archive-7z-write-file-member): New function.
4753 (archive-7z-summarize): Fix the number of dashes in the
4754 listing output.
4755
8fa39615
SM
47562011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4759 (bug#8958).
4760
2f11b3f1
CY
47612011-07-04 Chong Yidong <cyd@stupidchicken.com>
4762
d66fef2b
CY
4763 * bindings.el: Ignore next-buffer and previous-buffer in
4764 minibuffer-local-map.
4765
2f11b3f1
CY
4766 * font-lock.el (font-lock-builtin-face): Change light background
4767 color to dark slate blue (Bug#6693).
4768
f932a347
WD
47692011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4770
4771 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4772
c8af70e1
SM
47732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4776 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4777 Add switch-to-buffer.
4778
f158badc
LMI
47792011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4780
4781 * isearch.el (isearch-search-fun-function): Clarify further the
4782 meaning of the function returned.
4783
6d95bd46
MA
47842011-07-04 Michael Albinus <michael.albinus@gmx.de>
4785
4786 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4787
4788 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4789 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4790 Use it.
4791 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4792 `tramp-default-remote-path' does not exist.
4793 (tramp-send-command-and-read): New optional argument NOERROR.
4794 (tramp-open-connection-setup-interactive-shell)
4795 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4796 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4797 (tramp-process-sentinel): Flush also process' connection property.
4798 (tramp-sh-handle-start-file-process): Do not set process
4799 sentinel. It is done now ...
4800 (tramp-maybe-open-connection): ... here. (Bug#8929)
4801
909e6b67
MK
48022011-07-04 MON KEY <monkey@sandpframing.com>
4803
4804 * play/animate.el (animate-string): Doc fixes and allow changing
4805 the buffer name (bug#5417).
4806
48072011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4808
c8af70e1 4809 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 4810
f34755dc
PE
48112011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4812
396cec72
PE
4813 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4814 This is simpler and helps future-proof the code.
4815 (timer-until): Use time-subtract and float-time.
08235028 4816 (timer--time-less-p): Use time-less-p.
f34755dc 4817
56e6cc31
JB
48182011-07-04 Juanma Barranquero <lekktu@gmail.com>
4819
3abb79e5
JB
4820 * type-break.el (timep): Use the value of `float-time' to avoid a
4821 byte-compiler warning.
4822
56e6cc31
JB
4823 * server.el (server-eval-and-print): Return any result, even nil.
4824
7b9430b4
PE
48252011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4826
4827 * type-break.el: Accept time formats that the builtins accept.
4828 (timep, type-break-time-difference): Accept any format that
4829 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4830 This is simpler and helps future-proof the code.
4831 (type-break-time-difference): Round rather than ignoring
4832 subseconds components.
4833
3034e9e7
LMI
48342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4835
4836 * info.el (Info-apropos-matches): Make non-interactive, since it
4837 doesn't seem to do anything useful as a command (bug#8829).
4838
1485f4c0
CY
48392011-07-03 Chong Yidong <cyd@stupidchicken.com>
4840
4841 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 4842 Move from faces.el.
1485f4c0
CY
4843 (frame-default-terminal-background): New function.
4844
4845 * custom.el (custom-push-theme): Don't record faces in `changed'
4846 theme; this doesn't work correctly for per-frame face settings.
4847 (disable-theme): Use face-set-after-frame-default to reset faces.
4848 (custom--frame-color-default): New function.
4849
9fa3dd45
LMI
48502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4851
c8af70e1 4852 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
4853 (bug#8769).
4854
6cbbc20c
KR
48552011-03-29 Kevin Ryde <user42@zip.com.au>
4856
4857 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4858 `perl-Test2' extend to match possible "fail #N" rep count
4859 (bug#8377).
4860
c7f98048
LMI
48612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4862
65676592
LMI
4863 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4864 `smtpmail-via-smtp' now returns the error instead of nil.
4865
c7f98048
LMI
4866 * isearch.el (isearch-search-fun-function): Clarify the doc string
4867 (bug#8101).
4868
56e6cc31 48692011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
4870
4871 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4872 unnecessary spaces (bug#8987).
4873
2b216704
LMI
48742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4875
4876 * net/network-stream.el (open-network-stream): Use the
4877 :end-of-capability command thoughout.
4878
48792011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4880
4881 * net/network-stream.el (open-network-stream): Add the
4882 :end-of-capability command parameter, used by pop3.el.
4883
36adf6ce
LMI
48842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4885
1ca0da0e
LMI
4886 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4887
fc00f69c
LMI
4888 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4889 for list)" (bug#6475).
4890
28fd8759 4891 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 4892 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
4893 an error (bug#6297).
4894
0dd8b6da
LMI
4895 * man.el (Man-reference-regexp): Allow matching possible
4896 word-wrapped references (bug#6289).
4897
ce1438d6
LMI
4898 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4899 for consistency with the other vc buffers (bug#6197).
4900 (vc-checkin): Ditto.
4901
4902 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4903
36adf6ce
LMI
4904 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4905
e83cc1f7
LMI
49062011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4907
8a20ca4c
LMI
4908 * custom.el (defcustom): Clarify that :set is only used in the
4909 Customize user interface (bug#6089).
4910
83319045
LMI
4911 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4912 associated with a file, refuse to run instead of erroring out
4913 (bug#6084).
4914
a8392169
LMI
4915 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4916 the doc string, since it appears that using `fill-column' always
4917 controls the width (bug#7845).
4918
e83cc1f7
LMI
4919 * simple.el (shell-command-on-region): Say where the error output
4920 went if `shell-command-default-error-buffer' is set (bug#6857).
4921
e47ca23b
KM
49222011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4923
4924 * allout.el (allout-yank-processing): Adjust cursor position for
4925 backwards-deleted space.
4926
4927 (allout-rebullet-heading): Register changes with
4928 allout-exposure-changed-hook, so the modified topic is properly
4929 decorated.
4930
5cf56143
LMI
49312011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4932
08549772
LMI
4933 * minibuffer.el (completion-in-region): Document PREDICATE
4934 (bug#7136).
4935
48e96771
LMI
4936 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4937 of keyword/argument pairs (bug#6904).
4938
c8af70e1
SM
4939 * replace.el (multi-occur):
4940 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 4941
e17d05e2
LMI
49422011-07-02 Drew Adams <drew.adams@oracle.com>
4943
4944 * dired.el (dired-mark-if): Make the message about whether it's
4945 marking or unmarking clearer (bug#8523).
4946
063b0e45
LMI
49472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4948
4949 * disp-table.el (display-table-print-array): New function.
4950 (describe-display-table): Use it to print the vectors more pretty
4951 (Bug#8859).
4952
28545e04
MR
49532011-07-02 Martin Rudalics <rudalics@gmx.at>
4954
4955 * window.el (window-state-get-1): Don't assign clone numbers.
4956 Add clone-of item to list of window parameters.
4957 (window-state-put-2): Don't process clone numbers.
4958 (display-buffer-alist): Fix doc-string.
4959
3349e122
SM
49602011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4961
4962 * subr.el (remq): Don't allocate if it's not needed.
4963 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4964 (keymap--merge-bindings): New functions.
4965 (keymap-canonicalize): Use them to refine the canonicalization.
4966 * minibuffer.el (minibuffer-local-completion-map)
4967 (minibuffer-local-must-match-map): Move initialization from C.
4968 (minibuffer-local-filename-completion-map): Move initialization from C;
4969 don't inherit from anything here.
4970 (minibuffer-local-filename-must-match-map): Make obsolete.
4971 (completing-read-default): Use make-composed-keymap to combine
4972 minibuffer-local-filename-completion-map with either
4973 minibuffer-local-must-match-map or
4974 minibuffer-local-filename-completion-map.
4975
d224ac83
GM
49762011-07-01 Glenn Morris <rgm@gnu.org>
4977
3de63bf8
GM
4978 * type-break.el (type-break-time-sum): Use dolist.
4979
d224ac83
GM
4980 * textmodes/flyspell.el (flyspell-word-search-backward):
4981 Replace CL function.
4982
1a1e3f32
SM
49832011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4984
fe3f64d5
SM
4985 * mouse.el (mouse--strip-first-event): New function.
4986 (function-key-map): Use it to map fringe clicks to normal clicks
4987 by default.
4988
eb604e34
SM
4989 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4990 (vc-bzr-revision-completion-table): Add support for annotate and date.
4991
1a1e3f32
SM
4992 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4993 inherit from parent.
4994
5bd35902
LMI
49952011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4996
ace6c69c 4997 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 4998 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 4999
191e2bed
LMI
5000 * dired.el (dired-mode): Fix up the doc string as suggested by
5001 Drew Adams (bug#8817).
5002
5bd35902
LMI
5003 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5004 cookie, since the manual says that it should be possible to add
5005 this function to `find-file-hook' (bug#8709).
5006
eee8207a
TZ
50072011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5008
5009 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5010 here. Noted Ted Zlatanov as the maintainer.
5011 (cfengine-common-settings, cfengine-common-syntax): New functions
5012 to set up common things between `cfengine-mode' and
5013 `cfengine3-mode'.
5014 (cfengine3-mode): New mode.
5015 (cfengine3-defuns cfengine3-defuns-regex
5016 (cfengine3-class-selector-regex cfengine3-category-regex)
5017 (cfengine3-vartypes cfengine3-font-lock-keywords)
5018 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5019 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5020
36b148cf
MA
50212011-07-01 Michael Albinus <michael.albinus@gmx.de>
5022
5023 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5024
5025 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5026
0bf4ba9a
MR
50272011-07-01 Martin Rudalics <rudalics@gmx.at>
5028
5029 * window.el (same-window-buffer-names, same-window-regexps)
5030 (same-window-p, special-display-frame-alist)
5031 (special-display-popup-frame, special-display-function)
5032 (special-display-buffer-names, special-display-regexps)
5033 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5034 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5035 (split-window-preferred-function, split-height-threshold)
5036 (split-width-threshold, even-window-heights)
5037 (display-buffer-mark-dedicated, window-splittable-p)
5038 (split-window-sensibly, window-safely-shrinkable-p):
5039 Un-obsolete.
5040 (display-buffer): Don't spread args with function specifier
5041 because special-display-popup-frame won't like it.
5042
35837f51
PE
50432011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5044
d0672f86
PE
5045 Time-stamp simplifications and fixes.
5046 These improve accuracy slightly, and future-proof the code
5047 against some potential changes to current-time format.
5048
b9444d97
PE
5049 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5050 by using time-since and float-time.
5051
0ef923dc
PE
5052 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5053 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5054 + NNN microseconds".
5055
2f81380d
PE
5056 * type-break.el (type-break-time-sum): Rewrite using time-add.
5057
845b5c3e
PE
5058 * play/hanoi.el (hanoi-current-time-float): Remove.
5059 All uses replaced by float-time.
5060
ee6f1be0
PE
5061 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5062 This yields a more-accurate answer.
5063 (rng-time-to-float): Remove; no longer needed.
5064
fe955043
PE
5065 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5066
5777162a
PE
5067 * calendar/timeclock.el (timeclock-seconds-to-time):
5068 Defalias to seconds-to-time, since they're the same thing.
5069
3103f8b6 5070 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5071 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5072 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5073
0e61a35f
SM
50742011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * window.el (bury-buffer): Don't iconify the only frame.
5077 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5078 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5079
ddd63a1e
CY
50802011-07-01 Chong Yidong <cyd@stupidchicken.com>
5081
0e61a35f
SM
5082 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5083 Add mouse-yank-primary.
ddd63a1e 5084
055f4923
TZ
50852011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5086
5087 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5088
6a2fb145
SM
50892011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5090
5091 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5092 (find-library-name): Use it to find relative load names when provided
5093 absolute file name (bug#8803).
5094
fd4983f2
LMI
50952011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5096
887d14ad
LMI
5097 * textmodes/flyspell.el (flyspell-word): Consider words that
5098 differ only in case as potential doublons (bug#5687).
5099
c53dc7fc
LMI
5100 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5101 Remove two rather uninteresting debugging-like messages to make
5102 debbugs.el more silent.
5103
fd4983f2
LMI
5104 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5105 a password-like phrase.
5106
b14c0c55
AM
51072011-06-30 Mastake YAMATO <yamato@redhat.com>
5108
5109 * progmodes/cc-guess.el: New file.
5110
6a2fb145 5111 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5112
5113 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5114 derived from `c-basic-common-init'.
5115
5116 * progmodes/cc-mode.el (top-level): Require cc-guess.
5117 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5118
1fa280a3
LM
51192011-06-30 Lawrence Mitchell <wence@gmx.li>
5120
5121 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5122
e6597158
AM
51232011-06-30 Alan Mackenzie <acm@muc.de>
5124
1fa280a3
LM
5125 * progmodes/cc-engine.el (c-guess-continued-construct):
5126 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5127 lock is disabled. Name this case as "CASE G".
5128
68ba37fb
KM
51292011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5130
5131 * allout.el (allout-yank-processing): Fix injection of extra space
5132 between bullet and non-whitespace character in first topic when
5133 pasting, ensuring that the actual spacing in the pasted topic
5134 following the bullet char is preserved. This extra space was
5135 causing pasted encrypted topics to get a decrypted status even
5136 when the content was actually still encrypted. Now the decryption
5137 status from before the paste is preserved.
5138
5139 (allout-flag-region): Set all allout overlays so they evaporate
5140 when reduced to zero length (evanescent), to prevent overlay
5141 leakage.
5142
887a0b34
GM
51432011-06-30 Glenn Morris <rgm@gnu.org>
5144
94b9acce
GM
5145 * w32-fns.el (w32-charset-info-alist): Declare.
5146
1d9b46d4
GM
5147 * find-dired.el (find-grep-options): Simplify.
5148
cc232200
GM
5149 * term/ns-win.el (ns-set-resource): Declare.
5150
28e77c46
GM
5151 * ses.el (row, col): Declare dynamic variables honestly.
5152
887a0b34
GM
5153 * textmodes/reftex-parse.el (index-tags): Declare.
5154
658d8eb8
CY
51552011-06-30 Chong Yidong <cyd@stupidchicken.com>
5156
5157 * cus-edit.el (customize-push-and-save): New function.
5158
5159 * files.el (hack-local-variables-confirm): Use it.
5160
1fa280a3
LM
5161 * custom.el (load-theme): New arg NO-CONFIRM.
5162 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5163 (custom-enabled-themes): Doc fix.
5164
5165 * cus-theme.el (customize-create-theme)
5166 (custom-theme-merge-theme): Callers to load-theme changed.
5167
bb617717
LMI
51682011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5169
d61bdd5d
LMI
5170 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5171 short URLs have at least one dot in them (bug #7614).
5172
bb617717
LMI
5173 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5174 nil, because using a pty is apparently too slow (bug #895).
5175
2f31f37a
LMI
51762011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5177
5178 * mail/sendmail.el (sendmail-query-once): New function.
5179 (sendmail-query-once-function): New variable.
5180
3076b24e
GM
51812011-06-29 Glenn Morris <rgm@gnu.org>
5182
faf2a174
GM
5183 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5184
3076b24e
GM
5185 * ses.el (top-level): Require cl when compiling.
5186 (ses-set-localvars): Fix error statement.
5187 Call it at compile time to silence a storm of warnings.
5188
5386012d
MR
51892011-06-29 Martin Rudalics <rudalics@gmx.at>
5190
5191 * window.el (normalize-live-buffer): Rename to
5192 window-normalize-buffer.
5193 (normalize-live-frame): Rename to window-normalize-frame.
5194 (normalize-any-window): Rename to window-normalize-any-window.
5195 (normalize-live-window): Rename to window-normalize-live-window.
5196 (make-window-atom): Rename to window-make-atom.
5197 (window-resize-reset): Rename to window--resize-reset.
5198 (window-resize-reset-1): Rename to window--resize-reset-1.
5199 (resize-mini-window): Rename to window--resize-mini-window.
5200 (resize-subwindows-skip-p): Rename to
5201 window--resize-subwindows-skip-p.
5202 (resize-subwindows-normal): Rename to
5203 window--resize-subwindows-normal.
5204 (resize-subwindows): Rename to window--resize-subwindows.
5205 (resize-other-windows): Rename to window--resize-siblings.
5206 (resize-this-window): Rename to window--resize-this-window.
5207 (resize-root-window): Rename to window--resize-root-window.
5208 (resize-root-window-vertically): Rename to
5209 window--resize-root-window-vertically.
5210 (normalize-buffer-to-display): Rename to
5211 window-normalize-buffer-to-display.
5212 (normalize-buffer-to-switch-to): Rename to
5213 window-normalize-buffer-to-switch-to.
5214 Correspondingly update all callers of the functions listed
5215 above.
5216 (display-buffer-alist, display-buffer-normalize-arguments)
5217 (display-buffer-normalize-options, display-buffer)
5218 (display-buffer-alist-set): Use "function" instead of
5219 "fun-with-args".
5220
1176868d
CY
52212011-06-28 Chong Yidong <cyd@stupidchicken.com>
5222
5223 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5224 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5225 debbugs.gnu.org. Mention acknowledgment email.
5226
20a7a65f
LMI
52272011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5228
5229 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5230 buffer multibyteness, since it shouldn't matter.
5231
5f45cca5
MR
52322011-06-28 Martin Rudalics <rudalics@gmx.at>
5233
5234 * window.el (display-buffer-in-side-window): Handle dedicated
5235 windows as in display-buffer-reuse-window.
5236 (display-buffer-normalize-alist): Use value of override
5237 specifier.
5238 (display-buffer-normalize-specifiers): Use value of
5239 other-window-means-other-frame specifier.
5240 (display-buffer-alist): Rewrite some texts in widgets.
5241 (display-buffer): Spread arguments when calling function
5242 specified by fun-with-args.
5243
ad85fe1f
DD
52442011-06-28 Deniz Dogan <deniz@dogan.se>
5245
1fa280a3
LM
5246 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5247 Unnest `let'.
da68c4c8 5248
ad85fe1f
DD
5249 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5250 selectors (Bug#5732).
ec49bd31 5251 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5252
a08cc025
JA
52532011-06-27 Jari Aalto <jari.aalto@cante.net>
5254
5255 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5256 (eshell-ls-date-format): New defcustom.
5257 (eshell-ls-file): Use it.
5258
e2b551c5
SM
52592011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5262
8982b231
KY
52632011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5264
5265 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5266 (ange-ftp-make-tmp-name): New arg.
5267 (ange-ftp-file-local-copy): Use it.
5268
36c9fa27
J
52692011-06-27 Jambunathan K <kjambunathan@gmail.com>
5270
5271 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5272 no-conversion (Bug#8870).
5273
d68443dc
MR
52742011-06-27 Martin Rudalics <rudalics@gmx.at>
5275
5276 * window.el (window-right, window-left, window-child)
5277 (window-child-count, window-last-child)
5278 (window-iso-combination-p, walk-window-tree-1)
5279 (window-atom-check-1, window-tree-1, delete-window)
5280 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5281 new naming conventions - window-vchild, window-hchild,
5282 window-next and window-prev are now called window-top-child,
5283 window-left-child, window-next-sibling and window-prev-sibling
5284 respectively.
d615d6d2
MR
5285 (resize-window-reset): Rename to window-resize-reset.
5286 (resize-window-reset-1): Rename to window-resize-reset-1.
5287 (resize-window): Rename to window-resize.
5288 (window-min-height, window-min-width)
5289 (resize-mini-window, resize-this-window, resize-root-window)
5290 (resize-root-window-vertically, adjust-window-trailing-edge)
5291 (enlarge-window, shrink-window, maximize-window)
5292 (minimize-window, delete-window, quit-restore-window)
5293 (split-window, balance-windows, balance-windows-area-adjust)
5294 (balance-windows-area, window-state-put-2)
5295 (display-buffer-even-window-sizes, display-buffer-set-height)
5296 (display-buffer-set-width, set-window-text-height)
5297 (fit-window-to-buffer): Rename all "resize-window" prefixed
5298 calls to use the "window-resize" prefix convention.
5299 (display-buffer-alist): Fix symbol for label specifier.
5300 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5301 corresponding specifier.
5302 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 5303
b6458526
VB
53042011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5305
5306 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5307 convention.
5308 (ses-call-printer): Does not pass an empty string to formatter when the
5309 cell is empty to keep from barking printer Calc math-format-value.
5310
d31fd9ac
RS
53112011-06-27 Richard Stallman <rms@gnu.org>
5312
43d5bf84
RS
5313 * battery.el (battery-mode-line-limit): New variable.
5314 (battery-update): Handle it.
5315
d31fd9ac
RS
5316 * mail/rmailmm.el (rmail-mime-process-multipart):
5317 Handle truncated messages.
5318
819a6054
GM
53192011-06-27 Glenn Morris <rgm@gnu.org>
5320
5321 * progmodes/flymake.el (flymake-err-line-patterns):
5322 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5323
cedc73f2
VB
53242011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5325
819a6054 5326 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
5327 (ses--clean-!, ses--clean-_): New functions.
5328 (ses-range): Add configurability of readout order, and conversion
5329 to Calc vector.
5330
5e5d49b6
VB
5331 * ses.el (ses-repair-cell-reference-all): New function.
5332 (ses-cell-symbol): Set macro as safe, so that it can be used in
5333 formulas.
5334
56e6cc31 5335 * ses.el: Update cycle detection algorithm.
90ca8b49 5336 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 5337 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
5338 (ses-set-localvars): New function.
5339 (ses-make-cell): Add property-list as a cell element.
5340 (ses-cell-property-get-fun, ses-cell-property-get)
5341 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
5342 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5343 New functions.
90ca8b49
VB
5344 (ses-cell-property-set, ses-cell-property-pop)
5345 (ses-cell-property-get-handle): New macro.
5346 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5347 New aliases, used for code readability.
5348 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5349 cycle detection.
5350 (ses-self-reference-early-detection): New defcustom.
fac916bf 5351 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
5352 (ses-mode): Use ses-set-localvars.
5353 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5354 before lauching the update processing.
5355 (ses-initialize-Dijkstra-attempt): New function.
5356 (ses-recalculate-cell): Update for cycle detection based on
5357 Dijkstra algorithm.
5358
2bb63e81
VB
5359 * ses.el: Fix commenting and indenting convention.
5360
c9d29fb8
SM
53612011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5362
5363 * bs.el (bs-cycle-next): Complete last change.
5364
d8e4b68b
JB
53652011-06-27 Drew Adams <drew.adams@oracle.com>
5366
5367 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5368
40098786
LMI
53692011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5370
c9d29fb8
SM
5371 * net/network-stream.el (network-stream-open-starttls):
5372 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
5373 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5374
40098786
LMI
5375 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5376 to binary to possibly avoid line encoding issues on Windows (among
5377 other things).
5378
468d09d4
LMI
53792011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5380
5381 * net/network-stream.el (open-network-stream): Return an :error
5382 saying what the problem was, if possible.
5383
5384 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5385 server.
5386
5387 * net/network-stream.el (network-stream-open-starttls): If we
5388 wanted to use STARTTLS, and the server offered it, but we weren't
5389 able to because we had no STARTTLS support, then close the connection.
5390 (open-network-stream): Return an :error element, if present.
5391
16f07dd7
CY
53922011-06-26 Chong Yidong <cyd@stupidchicken.com>
5393
88821ca0
CY
5394 * hl-line.el (hl-line-sticky-flag): Doc fix.
5395 (global-hl-line-sticky-flag): New option (Bug#8323).
5396 (global-hl-line-highlight): Obey it.
5397
16f07dd7
CY
5398 * vc/vc.el (vc-revert-show-diff): Default to t.
5399
6b5ccddf
KM
54002011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5401
c9d29fb8
SM
5402 * allout-widgets.el (allout-widgets-post-command-business):
5403 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
5404 undecorated when an isearch is continued past, and isearch
5405 automatically collapses them. This leads to "widget leaks", where
5406 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
5407 hidden widgets can slow down cursor travel, substantially.
5408 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
5409 so we're doing without this nicety.
5410
5411 (allout-widgets-tally-string): Don't try to do a hash-table-count
5412 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5413 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5414 *Messages* when allout-widgets-maintain-tally is t.
5415
355f2e07
MR
54162011-06-26 Martin Rudalics <rudalics@gmx.at>
5417
5418 * window.el (display-buffer-normalize-argument): Rename to
5419 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
5420 LABEL argument. Respect special-display-function when popping up
5421 a new frame. Fix code searching for a window showing the buffer
5422 on another frame.
c9d29fb8
SM
5423 (display-buffer-normalize-specifiers):
5424 Call display-buffer-normalize-arguments.
355f2e07
MR
5425 (display-buffer-in-window): Don't undedicate the window if its
5426 buffer remains the same.
5427 Reported by Drew Adams <drew.adams@oracle.com>.
5428 (display-buffer-alist): Add choice for same-window macro
5429 specfier.
5430 (display-buffer): Mention special meaning of LABEL argument in
5431 doc-string. Fix quoting. Don't pop up a new frame even as
5432 fallback.
5433
7ca8fc42
JB
54342011-06-26 Juanma Barranquero <lekktu@gmail.com>
5435
5436 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5437 avoid deleting the current window in some cases (bug#8911).
5438
bc312254
AS
54392011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5440
5441 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5442 (Bug#8934)
5443
2db18f3f
LMI
54442011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5445
c9d29fb8
SM
5446 * net/network-stream.el (network-stream-open-starttls):
5447 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
5448 (network-stream-open-tls): Ditto.
5449
6302e0d3
LL
54502011-06-26 Leo Liu <sdl.web@gmail.com>
5451
5452 * register.el (registerv): New struct.
5453 (registerv-make): New function.
c9d29fb8
SM
5454 (jump-to-register, describe-register-1, insert-register):
5455 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
5456 struct. (Bug#8415)
5457
5fdd4046
CY
54582011-06-26 Chong Yidong <cyd@stupidchicken.com>
5459
2afef60a
CY
5460 * vc/vc.el (vc-revert-show-diff): New defcustom.
5461 (vc-diff-internal): New arg specifying diff buffer.
5462 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5463 reuse an existing *vc-diff* buffer (Bug#8927).
5464
5fdd4046
CY
5465 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5466
e93db24a
GM
54672011-06-26 Glenn Morris <rgm@gnu.org>
5468
5469 * progmodes/f90.el (f90-critical-indent): New option.
5470 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5471 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5472 (f90-mode): Doc fix.
5473 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5474 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5475 (f90-beginning-of-block, f90-next-block, f90-indent-region)
5476 (f90-match-end): Handle block, critical.
5477
eefff499
GM
54782011-06-25 Glenn Morris <rgm@gnu.org>
5479
f6ba4cc9
GM
5480 * calendar/diary-lib.el (diary-included-files): Doc fix.
5481 (diary-include-files): New function, extracted from
5482 diary-include-other-diary-files and diary-mark-included-diary-files.
5483 (diary-include-other-diary-files, diary-mark-included-diary-files):
5484 Just call diary-include-files.
5485 (diary-mark-entries): Reset diary-included-files on first call.
5486
16712304
GM
5487 * calendar/diary-lib.el (diary-mark-entries)
5488 (diary-mark-included-diary-files):
5489 Visit included diary-files in temp buffers.
5490
5d8e0d43
GM
5491 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5492 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5493 (f90-start-block-re, f90-imenu-generic-expression)
5494 (f90-looking-at-program-block-start, f90-no-block-limit):
5495 Add support for submodules.
5496
ccf7a5d5
GM
5497 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5498 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 5499
11fdef7d 55002011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
5501
5502 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5503 buffer-file-type before setting its value, to avoid disastrous
eefff499 5504 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 5505
74f53697
JB
55062011-06-25 Juanma Barranquero <lekktu@gmail.com>
5507
5508 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5509
5510 * ses.el (ses-unload-function):
5511 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
5512
5513 * proced.el (proced-unload-function):
5514 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
5515
18a4ce5e
AR
55162011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
5517
5518 * server.el (server-create-window-system-frame): Add parameters arg.
5519 (server-process-filter): Doc fix. Handle frame-parameters.
5520
519d22cc
JB
55212011-06-25 Juanma Barranquero <lekktu@gmail.com>
5522
5523 Fix bug#8730, bug#8781.
5524
5525 * loadhist.el (unload--set-major-mode): New function.
5526 (unload-feature): Use it.
5527
5528 * progmodes/python.el (python-after-info-look): Add autoload cookie.
5529 (python-unload-function): New function.
5530
c206f5b0
SM
55312011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
5534
f9ad64f3
GS
55352011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
5536
5537 * net/browse-url.el (browse-url-firefox-program): Add icecat to
5538 the candidates list.
5539
7d0da90e
JB
55402011-06-24 Juanma Barranquero <lekktu@gmail.com>
5541
5542 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
5543
14b4e83d
RS
55442011-06-23 Richard Stallman <rms@gnu.org>
5545
5546 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
5547 (rmail-variables): Set next-error-move-function.
5548 (rmail-what-message): Take argument POS.
5549 (rmail-next-error-move): New function.
5550
273d2baf
SM
55512011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
5554 messages for adjacent non-terminals.
5555
56c2cc9a
RS
55562011-06-23 Richard Stallman <rms@gnu.org>
5557
5558 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 5559 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
5560 (rmail-start-mail): Don't specify use of rmail-mail-return;
5561 that's done by mail-bury now.
5562 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 5563
d59eb518
MA
55642011-06-23 Michael Albinus <michael.albinus@gmx.de>
5565
5566 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5567 SIZE is a number.
5568
02cfc6d6
MR
55692011-06-23 Martin Rudalics <rudalics@gmx.at>
5570
5571 * window.el (get-lru-window, get-mru-window)
5572 (get-largest-window): Never return a minibuffer window.
5573 (display-buffer-pop-up-window): Fix a bug that could lead to
5574 reusing the minibuffer window.
5575 (display-buffer): Pass original specifier argument to
5576 display-buffer-function instead of the normalized one.
5577 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5578
4e323265
LL
55792011-06-22 Leo Liu <sdl.web@gmail.com>
5580
5581 * minibuffer.el (completing-read-function)
5582 (completing-read-default): Move from minibuf.c
5583
7a70468f
RS
55842011-06-22 Richard Stallman <rms@gnu.org>
5585
50718fc2
RS
5586 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5587 to Rmail even if not started by a special Rmail command.
5588
7a70468f
RS
5589 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5590 Copy the buffer currently showing just one message.
5591
297dde5a
RW
55922011-06-22 Roland Winkler <winkler@gnu.org>
5593
5594 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5595 (bibtex-clean-entry): First delete the old key so that a
5596 customized algorithm for generating the new key does not get
5597 confused by the old key.
5598 (bibtex-url): Obey regexp of first step.
5599 (bibtex-search-entries): Do not use add-to-list with local
5600 list-var.
5601
97bb1093
LMI
56022011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5603
5604 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5605 stored a user name, then query for the password first, instead of
5606 waiting for SMTP to give an error message and the trying again.
5607
1c0f1a19
JD
56082011-06-22 Lawrence Mitchell <wence@gmx.li>
5609
5610 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5611 BUFFER in call-process.
5612
396f7c9d
LMI
56132011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5614
5615 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5616 QUIT twice.
ddb7ffee
LMI
5617 (smtpmail-try-auth-methods): Require user name and password from
5618 auth-source.
396f7c9d 5619
8998d1b3
MR
56202011-06-22 Martin Rudalics <rudalics@gmx.at>
5621
5622 * window.el (display-buffer-default-specifiers)
5623 (display-buffer-alist): Remove entries for pop-up-frame-alist.
5624 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 5625 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
5626
5627 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5628 (special-display-frame-alist, special-display-popup-frame):
5629 Remove duplicate declarations. These are now in window.el.
5630
4ea31e07
LMI
56312011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5632
c9d29fb8
SM
5633 * mail/smtpmail.el (smtpmail-via-smtp):
5634 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
5635 server supports it. SMTP servers that support STARTTLS commonly
5636 require it.
5637
5638 * net/network-stream.el (network-stream-open-starttls): Support
5639 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 5640 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 5641
95f41d9a
LMI
5642 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5643 upgrades with `open-network-stream', and rely solely on
5644 auth-source for all credentials. Big changes throughout the file,
5645 but in particular:
c9d29fb8
SM
5646 (smtpmail-auth-credentials): Remove.
5647 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
5648 (smtpmail-via-smtp): Check for servers saying they want AUTH after
5649 MAIL FROM, too.
95f41d9a 5650
c9d29fb8
SM
5651 * net/network-stream.el (network-stream-open-starttls):
5652 Provide support for client certificates both for external and built-in
4ea31e07
LMI
5653 STARTTLS.
5654 (auth-source): Require.
5655 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
5656 (network-stream-certificate): Change cert-cert to cert and
5657 cert-key to key.
4ea31e07 5658
065ec2c7
MA
56592011-06-21 Michael Albinus <michael.albinus@gmx.de>
5660
5661 * net/tramp-cache.el (top): Don't load the persistency file when
5662 "emacs -Q" has been called.
5663
cd93b359
DR
56642011-06-21 Tim Harper <timcharper@gmail.com>
5665
d8e4b68b
JB
5666 * term/ns-win.el (ns-initialize-window-system):
5667 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
5668 resource to NO as it is not yet supported by the NS port.
5669
ae9c0411
JB
56702011-06-21 Juanma Barranquero <lekktu@gmail.com>
5671
5672 * misc.el (list-dynamic-libraries--refresh): Compute header here...
5673 (list-dynamic-libraries): ...not here.
5674
7f3f739f
LL
56752011-06-21 Leo Liu <sdl.web@gmail.com>
5676
5677 * subr.el (sha1): Implement sha1 using secure-hash.
5678
327c8fb1
MR
56792011-06-21 Martin Rudalics <rudalics@gmx.at>
5680
5681 * window.el (display-buffer-alist): In default value do not
5682 enforce searching a window on any but the selected frame.
5683 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5684 (display-buffer-select-window): Remove function.
5685 (display-buffer-in-window): When a window on another frame gets
5686 reused, do not select it any more but just raise its frame if
5687 necessary (Bug#8851) and (Bug#8856).
5688 (display-buffer-normalize-options): Handle pop-up-frames related
5689 options more faithfully.
5690 (pop-to-buffer): Don't rely on `display-buffer' selecting the
5691 window if it is on another frame.
c9d29fb8
SM
5692 (display-buffer-alist, display-buffer-default-specifiers):
5693 Don't make new frame unsplittable by default.
9e9de014
MR
5694 (display-buffer-normalize-argument): Fix doc-string typo and use
5695 'same-frame-other-window instead of 'other-window when associating
5696 with display-buffer-macro-specifiers.
327c8fb1 5697
7cf3f556
VB
56982011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
5699
5700 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5701 New functions.
5702 (5x5-mode-map, 5x5-mode-menu): Bind them.
5703 (5x5-draw-grid): Tweak the solver's rendering.
5704
60a406cf
SM
57052011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5708 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
5709
d8e4b68b 57102011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
5711
5712 * menu-bar.el: Use function variable instead of switch-to-buffer.
5713 (menu-bar-select-buffer-function): New variable.
60a406cf 5714 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 5715
478d6f95
SM
57162011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5719 variable's status.
5720
ca530739
JD
57212011-06-20 Jan Djärv <jan.h.d@swipnet.se>
5722
5723 * x-dnd.el (x-dnd-version-from-flags)
5724 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5725 and long as number (Bug#8899).
5726 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5727
bcd70d97
SM
57282011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5729
60a406cf 5730 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
5731 (completion-try-completion, completion-all-completions): Compute the
5732 metadata argument if it's missing; make it optional (bug#8795).
5733
60a406cf 5734 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
5735 (widget-complete): Use new :completion-function property.
5736 (widget-completions-at-point): New function.
5737 (default): Use :completion-function instead of :complete.
60a406cf
SM
5738 (widget-default-completions): Rename from widget-default-complete;
5739 Rewrite.
bcd70d97
SM
5740 (widget-string-complete, widget-file-complete, widget-color-complete):
5741 Remove functions.
5742 (file, symbol, function, variable, coding-system, color):
5743 * international/mule-cmds.el (default-input-method, charset)
5744 (language-info-custom-alist):
5745 * cus-edit.el (face): Use new property :completions.
5746
5747 * progmodes/pascal.el (pascal-completions-at-point): New function.
5748 (pascal-mode): Use it.
5749 (pascal-mode-map): Use completion-at-point.
5750 (pascal-toggle-completions): Make obsolete.
5751 (pascal-complete-word, pascal-show-completions):
5752 * progmodes/octave-mod.el (octave-complete-symbol):
5753 Redefine as obsolete alias.
5754 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5755 Signal absence of completion info for old Octave,
5756 (inferior-octave-complete): Redefine as obsolete alias.
5757 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5758 (meta-completions-at-point): Rename from meta-complete-symbol and
5759 adapt it for use on completion-at-point-functions.
5760 (meta-common-mode): Use it.
5761 (meta-looking-at-backward, meta-match-buffer): Remove.
5762 (meta-complete-symbol): Redefine as obsolete alias.
5763 (meta-common-mode-map): Use completion-at-point.
5764 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5765 (makefile-mode-map): Use completion-at-point.
5766 (makefile-completions-at-point): Rename from makefile-complete and
5767 adapt it for use on completion-at-point-functions.
5768 (makefile-mode): Use it.
5769 (makefile-complete): Redefine as obsolete alias.
5770
aebf69c8
DD
57712011-06-20 Deniz Dogan <deniz@dogan.se>
5772
5773 * net/rcirc.el: Delete trailing whitespaces once and for all.
5774
bfbbb27d
DC
57752011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5776
5777 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5778
d264a46b
CY
57792011-06-19 Chong Yidong <cyd@stupidchicken.com>
5780
4ca009e5
CY
5781 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5782
d264a46b
CY
5783 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5784
fbf5b3ce
MR
57852011-06-19 Martin Rudalics <rudalics@gmx.at>
5786
5787 * window.el (display-buffer-other-window-means-other-frame):
5788 Call display-buffer-normalize-alist.
5789 (display-buffer-normalize-specifiers-1): Rename to
5790 display-buffer-normalize-argument. New argument other-frame.
5791 Rewrite.
5792 (display-buffer-normalize-specifiers-2): Rename to
5793 display-buffer-normalize-options.
5794 (display-buffer-normalize-alist-1): New function.
5795 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
5796 display-buffer-normalize-alist.
5797 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
5798 (display-buffer-normalize-options-inhibit): New variable.
5799 (display-buffer-normalize-specifiers): Rewrite calling
5800 display-buffer-normalize-alist,
5801 display-buffer-normalize-argument, and
5802 display-buffer-normalize-options. Don't call the latter if
5803 display-buffer-normalize-options-inhibit is non-nil.
5804 (frame-auto-delete): New option.
5805 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
5806 (window-list-no-nils, window-state-ignored-parameters)
5807 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
5808 (window-state-put-1, window-state-put-2, window-state-put):
5809 New functions.
9a028c23
MR
5810 (display-buffer-normalize-options): Move special-display-p group
5811 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 5812
6d10d800
CY
58132011-06-18 Chong Yidong <cyd@stupidchicken.com>
5814
6420d28b
CY
5815 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5816 groups (Bug#8776).
5817 (rx-submatch-n): New function.
5818 (rx): Document it.
5819
ddb8b596
CY
5820 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5821 (Bug#8768).
5822
5823 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5824
77080289
CY
5825 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5826
61dfb316
CY
5827 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5828 anytime existing face settings are present (Bug#8889).
5829
6d10d800
CY
5830 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5831 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5832 Remove unused argument.
5833
be3fb2b8
MR
58342011-06-18 Martin Rudalics <rudalics@gmx.at>
5835
bcd70d97
SM
5836 * window.el (display-buffer-default-specifiers):
5837 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
5838 pop-up-window-min-width, and another reuse-window specifier
5839 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
5840 (display-buffer-normalize-specifiers-2):
5841 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
5842 pop-up-windows is unset. Add a reuse-window specifier for the
5843 case popping up a new window fails.
5844 (special-display-popup-frame): Remove double quoting.
28dec25a 5845 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 5846
1c6d8c76
SM
58472011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5848
5849 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5850 according to comint-completion-addsuffix.
5851
5852 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5853 (pcomplete-suffix-list): Mark as obsolete.
5854 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5855 pcomplete-seen in the closure.
5856 (pcomplete-comint-setup): Setup completion-at-point as well.
5857 (pcomplete--entries): New function.
5858 (pcomplete--env-regexp): New var.
5859 (pcomplete-entries): Rewrite to work with partial-completion and
5860 without relying on pcomplete-suffix-list.
5861 (pcomplete-pare-list): Remove, unused.
5862
25aef8b8
MR
58632011-06-17 Martin Rudalics <rudalics@gmx.at>
5864
5865 * window.el (display-buffer-alist): Set pop-up-window-min-height
5866 and pop-up-window-min-width in default value. Reported by
5867 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5868 other-window-means-other-frame.
5869 (display-buffer-macro-specifiers): Comment out entry for
5870 other-window specifier.
5871 (display-buffer-other-window-means-other-frame): New function.
5872 (display-buffer-normalize-specifiers-1): New arguments
5873 buffer-name and label. Treat other-window case specially.
5874 (display-buffer-normalize-specifiers-2): Treat other-window case
5875 specially.
5876 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
5877 (display-buffer-normalize-specifiers):
5878 Call display-buffer-normalize-specifiers-3.
25aef8b8 5879
dbad4f69
MR
58802011-06-17 Martin Rudalics <rudalics@gmx.at>
5881
5882 * window.el (same-window-p): Fix two typos introduced when
5883 adding with-no-warnings.
d1067961
MR
5884 (display-buffer-normalize-specifiers-1): Don't check
5885 pop-up-frames for 'unset initialization.
5886 (display-buffer-normalize-specifiers-2): Major rewrite using
5887 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5888 (pop-up-frames, display-buffer-reuse-frames)
5889 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5890 Suggested by David Engster <deng@randomsample.de>.
5891 (even-window-heights): Initialize to 'unset.
5892 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
5893 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5894 other window case.
dbad4f69 5895
9b9c9e3a
MR
58962011-06-16 Martin Rudalics <rudalics@gmx.at>
5897
bcd70d97
SM
5898 * window.el (display-buffer-normalize-specifiers-1):
5899 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 5900 second argument of display-buffer (Bug#8865).
981d5c09
MR
5901 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5902 (switch-to-buffer-other-window-same-frame)
5903 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5904 Adams (Bug#8875).
9c2755e9
MR
5905 (display-buffer): Don't check noninteractive when calling
5906 display-buffer-pop-up-frame.
5907 (display-buffer-pop-up-frame): Never pop up a frame in
5908 noninteractive mode (Bug#8857).
67222e1d
MR
5909 (enlarge-window, shrink-window): Don't report an error when the
5910 window can't be resized as requested (Bug#8862).
9b9c9e3a 5911
2b75be67
SM
59122011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5913
9ffdd3ba
SM
5914 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5915
cb581a67
SM
5916 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5917
2b75be67
SM
5918 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5919
8c0e3589
AM
59202011-06-15 Alan Mackenzie <acm@muc.de>
5921
cb581a67
SM
5922 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5923 for declarators, disable knr checking to speed up for normal files.
5924 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 5925
b96e6cde
LMI
59262011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5927
4bba86e6
LMI
5928 * net/network-stream.el (open-network-stream): Add the keyword
5929 :always-query-capabilities for the case where you want to force a
5930 `plain' network connection, but the protocol still requires the
5931 capabilitiy command (i.e., SMTP and EHLO).
5932
2b75be67 5933 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
5934 consistency with other `-live-p' functions.
5935
efdcdbf8
SM
59362011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5937
5938 * window.el (same-window-buffer-names, same-window-regexps)
5939 (special-display-frame-alist, special-display-popup-frame)
5940 (special-display-function, special-display-buffer-names)
5941 (special-display-regexps, pop-up-frame-alist)
5942 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5943 (pop-up-windows, split-window-preferred-function)
5944 (split-height-threshold, split-width-threshold, even-window-heights)
5945 (display-buffer-mark-dedicated): Don't encourage the use of
5946 display-buffer-alist from Elisp code.
5947
c5cde042
DN
59482011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5949
5950 * progmodes/python.el (python-mode): Derive from prog-mode.
5951 * progmodes/ps-mode.el (ps-mode):
5952 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 5953 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
5954 * progmodes/ld-script.el (ld-script-mode): Likewise.
5955
baa1c9ab
MR
59562011-06-15 Martin Rudalics <rudalics@gmx.at>
5957
5958 * window.el (display-buffer-alist): Trim default value to avoid
5959 popping up a new frame (Bug#8857) or reusing an arbitrary window
5960 on another frame.
5961 (display-buffer): Do not fall back on popping up a new frame in
5962 batch mode (Bug#8857).
5963
c5dd5a51
CY
59642011-06-14 Chong Yidong <cyd@stupidchicken.com>
5965
5966 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5967 (custom-theme-summary): New function.
5968 (customize-themes): Use it.
5969
d647b7c4
GM
59702011-06-13 Glenn Morris <rgm@gnu.org>
5971
5972 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5973
9481c002
MR
59742011-06-13 Martin Rudalics <rudalics@gmx.at>
5975
357f93d2
MR
5976 * help.el (help-window): Remove variable.
5977 (help-window-point-marker, temp-buffer-max-height)
5978 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5979 (help-print-return-message): Don't set help-window.
5980 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5981 (help-window-setup-finish): Remove.
5982 (help-window-display-message, help-window-setup)
5983 (with-help-window): Major rewrite based on new
5984 display-buffer-window variable.
5985
5986 * help-mode.el (help-mode-finish): Remove help-window related
5987 code.
5988
5989 * view.el (view-exits-all-viewing-windows): Remove reference to
5990 view-return-to-alist in doc-string.
5991 (view-return-to-alist): Make obsolete.
5992 (view-buffer): Call pop-to-buffer-same-window and remove
5993 undo-window code.
5994 (view-buffer-other-window): Call pop-to-buffer-other-window and
5995 simplify code. Ignore second argument.
5996 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5997 simplify code. Ignore second argument.
5998 (view-return-to-alist-update): Make obsolete.
5999 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6000 Rewrite using quit-restore window parameters.
2b75be67
SM
6001 (view-mode-exit): Rename second argument to EXIT-ONLY.
6002 Rewrite using quit-restore-window.
357f93d2
MR
6003 (View-exit, View-exit-and-edit, View-leave, View-quit)
6004 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6005 appropriate arguments.
6006 (view-end-message): Use quit-restore window parameter.
6007
9481c002
MR
6008 * window.el (display-buffer-function): Rewrite doc-string.
6009 (display-buffer-window, display-buffer-alist): New variables.
6010 (display-buffer-split-specifiers)
6011 (display-buffer-side-specifiers)
6012 (display-buffer-macro-specifiers): New constants.
6013 (display-buffer-even-window-sizes, display-buffer-set-height)
6014 (display-buffer-set-width, display-buffer-select-window)
6015 (display-buffer-in-window, display-buffer-reuse-window)
6016 (display-buffer-split-window-1, display-buffer-split-window)
6017 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6018 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6019 (display-buffer-in-side-window, normalize-buffer-to-display)
6020 (display-buffer-normalize-specifiers-1)
6021 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6022 (display-buffer-normalize-specifiers, display-buffer-frame):
6023 New functions.
9481c002
MR
6024 (display-buffer): Major rewrite.
6025 (display-buffer-other-window, display-buffer-other-frame)
6026 (pop-to-buffer, switch-to-buffer-other-window)
6027 (switch-to-buffer-other-frame): Rewrite.
6028 (display-buffer-same-window, display-buffer-same-frame)
6029 (display-buffer-same-frame-other-window)
6030 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6031 (pop-to-buffer-other-window)
6032 (pop-to-buffer-same-frame-other-window)
6033 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6034 (switch-to-buffer-other-window-same-frame): New functions.
6035 (same-window-p, special-display-p): Rewrite disabling warnings.
6036 Make obsolete.
6037 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6038 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6039 Make obsolete
6040 (same-window-buffer-names, same-window-regexps)
6041 (special-display-frame-alist, special-display-popup-frame)
6042 (special-display-function, special-display-buffer-names)
6043 (special-display-regexps, pop-up-frame-alist)
6044 (pop-up-frame-function, split-window-preferred-function)
6045 (split-height-threshold, split-width-threshold)
6046 (even-window-heights): Make obsolete.
6047
9db51aca
GM
60482011-06-12 Glenn Morris <rgm@gnu.org>
6049
6050 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6051 Misc simplifications.
9db51aca 6052
39cffb44
MR
60532011-06-12 Martin Rudalics <rudalics@gmx.at>
6054
6055 * window.el (window-safely-shrinkable-p): Restore function which
6056 was inadvertently removed in change from 2011-06-11. Declare as
6057 obsolete.
6058
2b75be67
SM
6059 * calendar/calendar.el (calendar-generate-window):
6060 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6061 window-safely-shrinkable-p.
6062
a8955be7
GM
60632011-06-12 Glenn Morris <rgm@gnu.org>
6064
6065 * progmodes/fortran.el (fortran-mode-syntax-table):
6066 * progmodes/f90.el (f90-mode-syntax-table):
6067 Set % to punctuation. (Bug#8820)
6068 (f90-find-tag-default): Remove, no longer needed.
6069
f0d4059d
DC
60702011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6071
6072 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6073
1100a63c
CY
60742011-06-11 Chong Yidong <cyd@stupidchicken.com>
6075
6076 * image.el (image-animated-p): Return animation delay in seconds.
6077 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6078 (image-animate-timeout): Remove DELAY argument. Don't assume
6079 every subimage has the same delay; get it from image-animated-p.
6080 (image-animate): Caller changed.
6081
def722bf
MA
60822011-06-11 Michael Albinus <michael.albinus@gmx.de>
6083
6084 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6085 to ignored backtrace functions.
6086
0a2bb1a9
GM
60872011-06-11 Glenn Morris <rgm@gnu.org>
6088
6089 * calendar/appt.el (appt-disp-window-function): Doc fix.
6090 (appt-check): Handle overlapping appointments. (Bug#8337)
6091
6198ccd0
MR
60922011-06-11 Martin Rudalics <rudalics@gmx.at>
6093
6094 * window.el (window-tree-1, window-tree): New functions, moving
6095 the latter to window.el.
6096 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6097 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6098 (bw-refresh-edges): Remove.
6099 (balance-windows-1, balance-windows-2): New functions.
6100 (balance-windows): Rewrite in terms of window tree functions,
6101 balance-windows-1 and balance-windows-2.
6102 (bw-adjust-window): Remove.
6103 (balance-windows-area-adjust): New function with functionality of
6104 bw-adjust-window but using resize-window.
2b75be67
SM
6105 (set-window-text-height): Rewrite doc-string.
6106 Use normalize-live-window and resize-window.
6107 (enlarge-window-horizontally, shrink-window-horizontally):
6108 Rename argument to DELTA.
6198ccd0
MR
6109 (window-buffer-height): New function.
6110 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6111 Rewrite using new window resize routines.
2b75be67
SM
6112 (kill-buffer-and-window, mouse-autoselect-window-select):
6113 Use ignore-errors instead of condition-case.
6198ccd0
MR
6114 (quit-window): Call delete-frame instead of delete-windows-on
6115 for the only buffer on frame.
6116
9397e56f
MR
61172011-06-10 Martin Rudalics <rudalics@gmx.at>
6118
6119 * loadup.el (top-level): Load window before files for the sake
6120 of replace-buffer-in-windows.
6121
6122 * files.el (read-buffer-to-switch)
6123 (switch-to-buffer-other-window)
2b75be67
SM
6124 (switch-to-buffer-other-frame, display-buffer-other-frame):
6125 Move to window.el.
9397e56f
MR
6126
6127 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6128 (previous-buffer): Move to window.el.
6129
6130 * bindings.el (unbury-buffer): Move to window.el.
6131
6132 * window.el (delete-other-windows-vertically): Move after
6133 definition of delete-other-windows.
6134 (other-window, delete-windows-on, replace-buffer-in-windows):
6135 Move here from window.c.
6136 (record-window-buffer, unrecord-window-buffer)
6137 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6138 (switch-to-next-buffer): New functions.
6139 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6140 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6141 (previous-buffer): Move here from simple.el.
6142 Call switch-to-prev-buffer.
9397e56f
MR
6143 (bury-buffer): Move here from buffer.c. Switch to previous
6144 buffer when window cannot be deleted.
6145 (unbury-buffer): Move here from bindings.el.
6146 (ctl-x-map): Move binding for other-window from window.c to
6147 here.
6148 (read-buffer-to-switch, switch-to-buffer-other-window)
6149 (switch-to-buffer-other-frame): Move here from files.el.
6150 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6151 (switch-to-buffer): Move here from buffer.c.
6152 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6153
562dd5e9
MR
61542011-06-10 Martin Rudalics <rudalics@gmx.at>
6155
6156 * window.el (window-min-height, window-min-width): Move here
6157 from window.c. Add defcustoms and rewrite doc-strings.
6158 (resize-mini-window, resize-window): New functions.
6159 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6160 Move here from window.c.
6161 (maximize-window, minimize-window): New functions.
6162 (delete-window, delete-other-windows, split-window): Move here
6163 from window.c.
6164 (window-split-min-size): New function.
6165 (split-window-keep-point): Mention split-window-above-each-other
6166 instead of split-window-vertically.
2b75be67 6167 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
6168 Rename split-window-vertically to split-window-above-each-other
6169 and provide defalias for old definition.
6170 (split-window-side-by-side, split-window-horizontally):
6171 Rename split-window-horizontally to split-window-side-by-side
6172 and provide defalias for the old definition.
562dd5e9
MR
6173 (ctl-x-map): Move bindings for delete-window,
6174 delete-other-windows and enlarge-window here from window.c.
6175 Replace bindings for split-window-vertically and
6176 split-window-horizontally by bindings for
6177 split-window-above-each-other and split-window-side-by-side.
6178
6179 * cus-start.el (all): Remove entries for window-min-height and
6180 window-min-width. Add entries for window-splits and
6181 window-nest.
6182
f0da764a
GM
61832011-06-09 Glenn Morris <rgm@gnu.org>
6184
80675c21
GM
6185 * calendar/appt.el (appt-mode-line): New function.
6186 (appt-check, appt-disp-window): Use it.
6187
f0da764a
GM
6188 * files.el (hack-one-local-variable-eval-safep):
6189 Allow minor-modes with explicit +/-1 arguments.
6190
59f623b7
TZ
61912011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6192
6193 * term/xterm.el (xterm): Add defgroup.
6194 (xterm-extra-capabilities): Add defcustom to supply known xterm
6195 capabilities, skip querying them, or query them (default).
6196 (terminal-init-xterm): Use it.
6197 (terminal-init-xterm-modify-other-keys): New function to set up
6198 modifyOtherKeys support to simplify `terminal-init-xterm'.
6199
9aab8e0d
MR
62002011-06-09 Martin Rudalics <rudalics@gmx.at>
6201
6202 * window.el (resize-window-reset, resize-window-reset-1)
6203 (resize-subwindows-skip-p, resize-subwindows-normal)
6204 (resize-subwindows, resize-other-windows, resize-this-window)
6205 (resize-root-window, resize-root-window-vertically)
6206 (window-deletable-p, window-or-subwindow-p)
6207 (frame-root-window-p): New functions.
6208
e8b08aee
GM
62092011-06-09 Glenn Morris <rgm@gnu.org>
6210
6211 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6212 (ange-ftp-get-files): Use it.
6213
254c37a5
AK
62142011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6215
6216 * mail/sendmail.el (mail-recover-1, mail-recover):
6217 * files.el (recover-file, recover-session):
6218 Handle dired-listing-switches not being just a single short option.
6219
35d7dbd3
GM
62202011-06-09 Glenn Morris <rgm@gnu.org>
6221
6222 * calendar/appt.el (appt-display-message, appt-disp-window):
6223 Handle lists of appointments.
6224
387522b2
MR
62252011-06-08 Martin Rudalics <rudalics@gmx.at>
6226
2b75be67
SM
6227 * window.el (one-window-p): Move down in code.
6228 Rewrite doc-string.
6229 (window-current-scroll-bars): Rewrite doc-string.
6230 Normalize live window argument.
387522b2
MR
6231 (walk-windows, get-window-with-predicate, count-windows):
6232 Rewrite doc-string. Use window-list-1.
6233 (window-in-direction-2, window-in-direction, get-mru-window):
6234 New functions.
6235
d8e4b68b 62362011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
6237
6238 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6239 Doc fix (Bug#8713).
6240
62412011-06-08 Chong Yidong <cyd@stupidchicken.com>
6242
6243 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6244
62452011-06-08 Juanma Barranquero <lekktu@gmail.com>
6246
6247 * loadhist.el (unload-feature-special-hooks):
6248 Add `comint-output-filter-functions'.
6249
0de12c52
IK
62502011-06-08 Ivan Kanis <gnu@kanis.fr>
6251
6252 * calendar/appt.el (appt-check): Move some initializations into the let.
6253
f3d1777e
MR
62542011-06-08 Martin Rudalics <rudalics@gmx.at>
6255
6256 * window.el (window-height): Defalias to window-total-height.
6257 (window-width): Defalias to window-body-width.
6258
18af70d0
CY
62592011-06-07 Chong Yidong <cyd@stupidchicken.com>
6260
6261 * image-mode.el (image-toggle-animation): New command.
6262 (image-mode-map): Bind it to RET.
6263 (image-mode): Update message.
6264 (image-toggle-display-image): Avoid a spurious cache flush.
6265 (image-transform-rotation): Doc fix.
6266 (image-transform-properties): Return quickly in the normal case.
6267 (image-animate-loop): Rename from image-animate-max-time.
6268
2b75be67 6269 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6270 (create-animated-image): Remove unnecessary function.
6271 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6272 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6273 (image-animate-timer): Use car-safe.
6274 (image-animate-timeout): Rename argument.
6275
190b47e6
MR
62762011-06-07 Martin Rudalics <rudalics@gmx.at>
6277
6278 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6279 window.c. Rename first argument to ALL-FRAMES.
6280 Rephrase doc-strings.
6281 (get-buffer-window-list): Rewrite using window-list-1.
6282 Rephrase doc-string.
a1511caf
MR
6283 (window-safe-min-height, window-safe-min-width): New constants.
6284 (window-size-ignore, window-min-size, window-min-size-1)
6285 (window-sizable, window-sizable-p, window-size-fixed-1)
6286 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6287 (window-max-delta-1, window-max-delta, window-resizable)
6288 (window-resizable-p, window-total-height, window-total-width)
6289 (window-body-width): New functions.
6290 (window-full-height-p, window-full-width-p): Rewrite using
6291 window-total-size.
6292 (window-body-height): Rewrite using window-body-size.
190b47e6 6293
85cc1f11
MR
62942011-06-06 Martin Rudalics <rudalics@gmx.at>
6295
6296 * window.el (window-right, window-left, window-child)
6297 (window-child-count, window-last-child, window-any-p)
6298 (normalize-live-buffer, normalize-live-frame)
6299 (normalize-any-window, normalize-live-window)
6300 (window-iso-combination-p, window-iso-combined-p)
6301 (window-iso-combinations)
6302 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6303 (windows-with-parameter, window-with-parameter)
6304 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
6305 (window-atom-check, window-side-check, window-check):
6306 New functions.
85cc1f11
MR
6307 (ignore-window-parameters, window-sides, window-sides-vertical)
6308 (window-sides-slots): New variables.
6309 (window-size-fixed): Move down in code. Minor doc-string fix.
6310
e7156492
AS
63112011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6312
6313 * comint.el (comint-dynamic-complete-as-filename)
6314 (comint-dynamic-complete-filename): Correctly call
6315 completion-in-region.
6316
7e821d0d
DD
63172011-06-05 Deniz Dogan <deniz@dogan.se>
6318
6319 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6320 in last change.
6321
ac09b8a1
DD
63222011-06-05 Deniz Dogan <deniz@dogan.se>
6323
6324 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6325 (rcirc): Use it to prompt for encryption.
6326
34699b85
RW
63272011-06-05 Roland Winkler <winkler@gnu.org>
6328
6329 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6330 (bibtex-search-entries): New command bound to C-c C-a.
6331 (bibtex-display-entries): New function.
6332
004dedd3
RW
63332011-06-05 Roland Winkler <winkler@gnu.org>
6334
6335 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6336 (bibtex-insert-kill): After yanking insert newline if necessary.
6337 (bibtex-initialize): Call bibtex-string-files-init only once.
6338 (bibtex-mode): Do not call easy-menu-add.
6339 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6340 (bibtex-yank): Set arg properly if nil.
6341
022fe7ce
RW
63422011-06-05 Roland Winkler <winkler@gnu.org>
6343
2b75be67
SM
6344 * textmodes/bibtex.el (bibtex-search-entry-globally):
6345 New variable.
022fe7ce
RW
6346 (bibtex-search-entry): Use it.
6347
b7c3692a
RW
63482011-06-05 Roland Winkler <winkler@gnu.org>
6349
6350 * textmodes/bibtex.el (bibtex-entry-format): New option
6351 sort-fields.
6352 (bibtex-format-entry, bibtex-reformat): Honor this option.
6353 (bibtex-parse-entry): Return fields in proper order.
6354
8eda563d
JB
63552011-06-05 Juanma Barranquero <lekktu@gmail.com>
6356
6357 * doc-view.el (doc-view-remove-if): Move computation of result out
6358 of `dolist' to silence misleading lexical-binding warning.
6359
7dbe3dbc
CY
63602011-06-04 Chong Yidong <cyd@stupidchicken.com>
6361
6362 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6363 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6364
0c33dd17
MA
63652011-06-04 Michael Albinus <michael.albinus@gmx.de>
6366
6367 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6368 "SunOS 5.10".
6369
f8f91c2b
MA
63702011-06-04 Michael Albinus <michael.albinus@gmx.de>
6371
6372 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6373 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6374 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6375 (tramp-parse-putty):
6376 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6377 (tramp-completion-function-alist-ssh)
6378 (tramp-completion-function-alist-telnet)
6379 (tramp-completion-function-alist-su)
6380 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6381 cookie.
6382
6383 * net/tramp-ftp.el:
6384 * net/tramp-sh.el:
6385 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6386 load "tramp.el" `tramp-set-completion-function'.
6387
e17d9003
SM
63882011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 * shell.el: Require and use pcomplete.
6391 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6392 (shell-completion-vars): Set pcomplete-default-completion-function.
6393
6c4cab03
DD
63942011-06-04 Deniz Dogan <deniz@dogan.se>
6395
6396 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6397 `memq' (Bug#8799).
6398
ea9fafe0
SM
63992011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6400
6401 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6402
b3e945d3
JB
64032011-06-02 Juanma Barranquero <lekktu@gmail.com>
6404
6405 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6406 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6407 * vc/log-view.el (log-view-beginning-of-defun):
6408 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6409 (smerge-refine-forward, smerge-refine-chopup-region):
6410 Silence warning for unused `dotimes' counter variables.
6411
7d520089
SM
64122011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6413
6414 * net/tramp.el (tramp-with-progress-reporter): Rename from
6415 with-progress-reporter. Use `declare'.
6416 * net/tramp-smb.el:
6417 * net/tramp-sh.el:
6418 * net/tramp-gvfs.el: Update all uses.
6419
a1c2400f
JB
64202011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6421
6422 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6423 buffer isn't killed before making it current.
6424
2403c841
SM
64252011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6426
6427 Silence various byte-compiler warnings.
6428 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6429 `access-type' and new obsolescence format.
6430 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6431 new format.
6432 (byte-compile-check-variable): New `access-type' argument.
6433 Only warn if the access-type is obsolete.
6434 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6435 (byte-compile-variable-set): Adjust callers.
6436 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6437 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6438 setting it as obsolete.
6439 * simple.el (minibuffer-completing-symbol):
6440 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6441 access as obsolete.
6442 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6443 obsolete yet.
6444 * international/quail.el (quail-mouse-choose-completion): Remove unused
6445 code referring to obsolete var.
6446 (quail-choose-completion-string): Remove.
6447 * server.el (server-clients-with, server-kill-buffer-query-function)
6448 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6449 * proced.el (proced-send-signal):
6450 * emacs-lisp/lisp.el (lisp-complete-symbol):
6451 Replace completion-annotate-function with completion-extra-properties.
6452
2462470b
SM
64532011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6454
fb5b2591
SM
6455 * simple.el (goto-line): Use read-number.
6456 (overriding-map-is-bound): Remove.
6457 (saved-overriding-map): Change default.
6458 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6459 Take the map as argument.
6460 (universal-argument, negative-argument, digit-argument): Use it.
6461 (restore-overriding-map): Adjust.
6462 (do-auto-fill): Use fill-forward-paragraph.
6463 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6464
fd6fa53f
SM
6465 * minibuffer.el (minibuffer-inactive-mode-map): New var.
6466 (minibuffer-inactive-mode): New major mode.
6467 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6468 the *Messages* buffer" hack.
6469 (mouse-popup-menubar): Don't burp if the event is a normal key.
6470
2462470b
SM
6471 Miscellaneous tweaks.
6472 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6473 lexical scoping as in subr.el's dolist and dotimes.
6474 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6475 Silence compiler warning.
6476 * thingatpt.el (forward-whitespace): Trivial coding style fix.
6477 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6478 * international/ccl.el (ccl-compile): Trivial simplification.
6479 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6480 * emacs-lisp/testcover.el (testcover-end): Remove spurious
6481 `printflag' argument.
6482 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6483 Purecopy the whole obsolescence data.
6484
108bf785
LL
64852011-06-01 Leo Liu <sdl.web@gmail.com>
6486
6487 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6488 improve doc-string as suggested by Marco Pessotto
6489 <melmothx@gmail.com>.
6490 (rcirc-print): Fix last change.
6491
30a23501
SM
64922011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6493
6494 * minibuffer.el (complete-with-action): Return nil for the metadata and
6495 boundaries of non-functional tables.
6496 (completion-table-dynamic): Return nil for the metadata.
6497 (completion-table-with-terminator): Add default case, using
6498 complete-with-action.
6499 (completion--metadata): New function.
6500 (completion-all-sorted-completions, minibuffer-completion-help): Use it
6501 to try and avoid pathological performance problems.
6502 (completion--embedded-envvar-table): Return `category' metadata.
6503
bcd54f83
LMI
65042011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
6505
6506 * subr.el (process-alive-p): New tiny convenience function.
6507
e227544d
SM
65082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
6511 content but also its previous major mode.
6512
e8296fdc
HE
65132011-05-31 Helmut Eller <eller.helmut@gmail.com>
6514
4d61f28d 6515 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
6516 *Backtrace* buffer when we exit with C-M-c.
6517
620c53a6
SM
65182011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6519
6520 * minibuffer.el: Add metadata method to completion tables.
6521 (completion-category-overrides): New defcustom.
6522 (completion-metadata, completion--field-metadata)
6523 (completion-metadata-get, completion--styles)
6524 (completion--cycle-threshold): New functions.
6525 (completion-try-completion, completion-all-completions):
6526 Add `metadata' argument to choose completion-styles.
6527 (completion--do-completion): Use metadata to choose cycling.
6528 (completion-all-sorted-completions): Use metadata for sorting.
6529 Remove :completion-cycle-penalty which is not needed any more.
6530 (completion--try-word-completion): Add `metadata' argument.
6531 (minibuffer-completion-help): Check metadata for annotation function
6532 and sorting.
6533 (completion-file-name-table): Return `category' metadata.
6534 (minibuffer-completing-file-name): Make obsolete.
6535 * simple.el (minibuffer-completing-symbol): Make obsolete.
6536 * icomplete.el (icomplete-completions): Pass new `metadata' param to
6537 completion-try-completion.
6538
1257e755
SM
65392011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
6542
3767e706
LL
65432011-05-30 Leo Liu <sdl.web@gmail.com>
6544
6545 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
6546 (rcirc-print): Decode all incoming messages (bug#8744).
6547 (rcirc-decode-coding-system): Allow value nil for automatic coding
6548 system detection.
3767e706 6549
d1a5d56a
GM
65502011-06-01 Glenn Morris <rgm@gnu.org>
6551
6552 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
6553
e8cbec34
CY
65542011-05-29 Chong Yidong <cyd@stupidchicken.com>
6555
6556 * image.el (image-animate-max-time): Allow nil and t values.
6557 Default to nil.
6558 (create-animated-image): Doc fix.
6559 (image-animate-start): Remove second arg; just use
6560 image-animate-max-time.
6561 (image-animate-timeout): Doc fix. Args changed.
6562
6563 * image-mode.el (image-toggle-display-image): Ensure that the
6564 image spec passed to the animate timer is the same object as in
58179cce 6565 the buffer's display property (Bug#6981).
e8cbec34
CY
6566 (image-transform-properties): Doc fix.
6567
6568 * image.el (image-animate-max-time): Default to nil.
6569
159daf87
MR
65702011-05-29 Martin Rudalics <rudalics@gmx.at>
6571
6572 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6573 entire buffer list (Bug#8184).
6574
d66c4c7c
CY
65752011-05-29 Chong Yidong <cyd@stupidchicken.com>
6576
6577 * image.el (imagemagick-types-inhibit)
6578 (imagemagick-register-types): Doc fix.
6579
80aec780
DD
65802011-05-29 Deniz Dogan <deniz@dogan.se>
6581
6582 * net/rcirc.el (rcirc): Use the user's stored encryption method by
6583 default.
6584
1dd3c2d9
CY
65852011-05-29 Chong Yidong <cyd@stupidchicken.com>
6586
6587 * select.el: Don't perform clipboard-manager saving in hooks;
6588 leave the hooks empty.
6589
60e56523
LL
65902011-05-28 Leo Liu <sdl.web@gmail.com>
6591
6592 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6593 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
6594 (occur-edit-mode): New major mode (Bug#8463).
6595 (occur-after-change-function): New function.
6596 (occur-engine): Give Occur tags a read-only property.
6597
2b1e1a22
KR
65982011-05-28 Kevin Ryde <user42@zip.com.au>
6599
6600 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6601
5d344e88
CY
66022011-05-28 Chong Yidong <cyd@stupidchicken.com>
6603
8e6ca83d
CY
6604 * bindings.el (help-echo): Make the initial non-indicator dash
6605 empty on graphical terminals (Bug#7295).
6606
5d344e88
CY
6607 * files.el (auto-mode-alist): Move config rule after the
6608 in-stripping one (Bug#8547).
6609
bfbbace7
CY
6610 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6611
fbeba6e2
CY
6612 * startup.el (normal-splash-screen): Remove gratuitous mode-line
6613 setting (Bug#8740).
6614
60ed8c72
AA
66152011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
6616
4ac619f0
AA
6617 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6618 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6619 (Bug#8539).
60ed8c72 6620
23db196e
CY
66212011-05-28 Chong Yidong <cyd@stupidchicken.com>
6622
6623 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6624
5012f24c
DK
66252011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
6626
6627 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6628 (hs-hide-block-at-point, hs-find-block-beginning)
6629 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6630 (Bug#8279).
6631
6a639b16
GM
66322011-05-28 Glenn Morris <rgm@gnu.org>
6633
6634 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
6635
d43eaf2c
CY
66362011-05-28 Chong Yidong <cyd@stupidchicken.com>
6637
5199bde1
CY
6638 * help-fns.el (describe-function-1): If the function is a derived
6639 major mode, print the parent mode.
6640
d43eaf2c
CY
6641 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6642 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6643
423428a8
SM
66442011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6645
0ff8e1ba 6646 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 6647 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
6648 * progmodes/etags.el (tags-completion-at-point-function):
6649 * info-look.el (info-lookup-completions-at-point): Mark as
6650 non-exclusive.
6651 (info-complete): Adjust accordingly.
6652
423428a8
SM
6653 * info-look.el: Convert to lexical-binding and completion-at-point.
6654 (info-lookup-completions-at-point): New function.
6655 (info-complete): Use it and completion-in-region.
6656
b74aa22b
DA
66572011-05-28 Drew Adams <drew.adams@oracle.com>
6658
6659 * isearch.el: Let M-e start with point at the first mismatched char.
6660 (isearch-fail-pos): New function.
6661 (isearch-edit-string): Use it.
6662
66e2e71d
DK
66632011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6664
6665 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6666
eb95d01d
TC
66672009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6668
6669 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
6670 traversal functions for avl-trees.
6671 (avl-tree--stack): New struct.
6672 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6673 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
6674 (avl-tree--do-enter): Add optional `updatefun' arg.
6675 Change return value.
eb95d01d 6676 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
6677 (avl-tree--do-delete): Add `test' and `nilflag' args.
6678 Change return value.
eb95d01d
TC
6679 (avl-tree-member): Add optional `nilflag'
6680 (avl-tree-member-p): New function.
6681 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6682 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6683 (avl-tree-stack-empty-p): New functions.
6684
3769ddcf
TC
66852009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6686
6687 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6688 avl-tree--del-balance1 and make it work both ways.
6689 (avl-tree--del-balance2): Remove.
6690 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6691 make it work both ways.
6692 (avl-tree--enter-balance2): Remove.
6693 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6694 New macros.
6695 (avl-tree--mapc, avl-tree-map): Add direction argument.
6696
eb95d01d 66972011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
6698
6699 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6700
a9f737ee
CY
67012011-05-27 Chong Yidong <cyd@stupidchicken.com>
6702
6703 * select.el: Support clipboard managers with built-in function
6704 x-clipboard-manager-save, via delete-frame-functions and
6705 kill-emacs-hook.
6706 (xselect-convert-to-targets): Add MULTIPLE target to list.
6707 (xselect-convert-to-save-targets): New function.
6708
c92a1e54
KH
67092011-05-27 Kenichi Handa <handa@m17n.org>
6710
6711 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6712 let-binding rfc2047-encode-encoded-words to nil.
6713
e145f188
GM
67142011-05-27 Glenn Morris <rgm@gnu.org>
6715
5ec8a862
GM
6716 * mail/emacsbug.el: Don't require url-util.
6717
4b29d9fb
GM
6718 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
6719
e145f188
GM
6720 * files.el (set-auto-mode):
6721 Also respect mode: entries at the end of the file. (Bug#8586)
6722
7d15102b
GM
67232011-05-26 Glenn Morris <rgm@gnu.org>
6724
98f593b8
GM
6725 * files.el (hack-local-variables-prop-line, hack-local-variables):
6726 Downcase mode names, as seems to be traditional.
27b48e63 6727 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 6728
7d15102b
GM
6729 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6730 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
6731
51d5b4ec
JD
67322011-05-25 Julien Danjou <julien@danjou.info>
6733
6734 * textmodes/rst.el (rst-define-level-faces): Do not define face
6735 symbol if it is already defined.
6736
91513f63
VB
67372011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6738
6739 * play/5x5.el (5x5-new-game, 5x5-randomize):
6740 Reset 5x5-solver-output to nil when a new grid is cast.
6741 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6742 these debugging traces, as defmacro breaks the compiled code.
6743
4d90d6d0
DK
67442011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6745
6746 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6747
e1b90ef6
LL
67482011-05-24 Leo Liu <sdl.web@gmail.com>
6749
6750 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6751 (vc-bzr-sha1): Adapt.
6752
d8e4b68b 6753 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
6754
6755 * bindings.el: Provide sha1 feature.
6756
db0406bb 67572011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
6758
6759 * mail/sendmail.el: Require `rfc2047'.
6760 (mail-insert-from-field): Do not perform RFC2047 encoding.
6761 (mail-encode-header): New function.
6762 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
6763 buffer to the return value of select-message-coding-system.
6764 Call mail-encode-header.
b8d747b9
KH
6765
6766 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6767
db0406bb 67682011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 6769
4d90d6d0
DK
6770 * mail/supercite.el (sc-default-cite-frame):
6771 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 6772
eb8a5e9b
GM
67732011-05-24 Glenn Morris <rgm@gnu.org>
6774
f8630703
GM
6775 * progmodes/python.el (brm-menu): Declare.
6776
8831bbed
GM
6777 * emulation/viper.el (viper-set-hooks): Declare.
6778
eb8a5e9b
GM
6779 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6780 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6781 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6782 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6783 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6784 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6785
a2a25d24
SM
67862011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6787
6788 Add an :exit-function for completion-at-point.
6789
6790 * minibuffer.el (completion--done): New fun.
6791 (completion--do-completion): Use it. New arg `expect-exact'.
6792 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6793 since completion--do-completion does it for us now.
6794 (minibuffer-force-complete): Use completion--done and
6795 completion--replace. Handle sole-completion case with more care.
6796 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6797 (completion-extra-properties): New var.
6798 (completion-annotate-function): Make obsolete.
6799 (minibuffer-completion-help): Adjust accordingly.
6800 Use completion-list-insert-choice-function.
6801 (completion-at-point, completion-help-at-point):
6802 Bind completion-extra-properties.
6803 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6804 * simple.el (completion-list-insert-choice-function): New var.
6805 (completion-setup-function): Preserve it.
6806 (choose-completion): Pay attention to it, shuffle the code a bit.
6807 (choose-completion-string): New arg `insert-function'.
6808
6809 * textmodes/bibtex.el: Convert to lexical binding.
6810 (bibtex-mode-map): Use completion-at-point.
6811 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6812 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6813 (bibtex-complete): Define as obsolete alias.
6814 (bibtex-complete-internal): Remove.
6815 (bibtex-format-entry): Remove unused sub-group in regexp.
6816 * shell.el (shell--command-completion-data)
6817 (shell-environment-variable-completion):
6818 * pcomplete.el (pcomplete-completions-at-point):
6819 * comint.el (comint--complete-file-name-data): Use :exit-function
6820 instead of completion-table-with-terminator so it also works for
6821 choose-completion.
6822
e44e373d
SM
68232011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6824
4f91a816
SM
6825 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6826
782fc819
SM
6827 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6828 (bug#8710).
6829
e44e373d
SM
6830 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6831
381987c3
KM
68322011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6833
6834 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6835 customization variable and implement: If non-nil, auto-fill will
6836 be inhibited while on topic's header line.
6837
b776bc70
VB
68382011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6839
6840 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 6841 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
6842 always have a solution in grid size = 5 cases.
6843 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6844 (5x5-solver-output, 5x5-log-buffer): New vars.
6845 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6846 Make these variables buffer local to achieve 5x5 multi-session-ness.
6847 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6848 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6849 (5x5-solve-suggest): New funs.
6850 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6851 randomize a grid so that we ensure that there is always a solution.
6852 (5x5-make-random-grid): Allow other movement than flipping.
6853
7de88b6e
KR
68542011-05-23 Kevin Ryde <user42@zip.com.au>
6855
6856 * emacs-lisp/advice.el (ad-read-advised-function):
6857 Use `function-called-at-point' as the default default, if it has
6858 advice and passes PREDICATE.
6859
b1ef1257
SM
68602011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6861
bbca48fe
SM
6862 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6863 byte-compile-lambda if it's actually a lambda.
6864
b1ef1257
SM
6865 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6866 Fix function quoting. Use backquote better.
6867
92a9cc65
YS
68682011-05-22 Yuanle Song <sylecn@gmail.com>
6869
6870 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6871 matching (Bug#8516).
6872
f0fb8059
JA
68732011-01-22 Jari Aalto <jari.aalto@cante.net>
6874
6875 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6876 different face (Bug#8178).
6877
d5b44c93
CY
68782011-05-22 Chong Yidong <cyd@stupidchicken.com>
6879
6880 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6881 defface (Bug#8144).
6882
79106a44
SM
68832011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6884
9c848d8a
SM
6885 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6886 funcall as well (bug#8712). Warn when performing those conversions.
6887 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6888
79106a44
SM
6889 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6890
88dfa756
GM
68912011-05-22 Glenn Morris <rgm@gnu.org>
6892
6893 * files.el (hack-local-variables-prop-line): Small simplifications.
6894 (hack-local-variables, hack-local-variables-prop-line):
6895 If MODE-ONLY, return the mode, rather than just `t'.
6896
b7cf2c79
SM
68972011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6898
6899 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6900
3f1a8558
GM
69012011-05-21 Glenn Morris <rgm@gnu.org>
6902
7e4ccca3
GM
6903 * files.el (hack-local-variables-prop-line, hack-local-variables):
6904 If only interested in the mode, don't bother doing the other stuff.
6905
637d46ca
GM
6906 * image-mode.el (image-after-revert-hook):
6907 Redraw all frames on which the image is visible. (Bug#8567)
6908
973d955b
GM
6909 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6910
3f1a8558
GM
6911 * wid-edit.el (widget-checklist-match-inline):
6912 Fix 2011-04-19 change. (Bug#8649)
6913
96479927
SM
69142011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6915
1dcf791f
SM
6916 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6917 Also allow singlespace after single-letter capitals followed by a dot.
6918
96479927
SM
6919 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6920 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6921
35fd0881
N
69222011-05-20 Nix <nix@esperi.org.uk>
6923
6924 * files.el (basic-save-buffer-2):
6925 Fix handling of break-hardlink-on-save with non-existent files.
6926
82745640
DD
69272011-05-19 Deniz Dogan <deniz@dogan.se>
6928
6929 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 6930 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 6931
4a720484
GM
69322011-05-19 Glenn Morris <rgm@gnu.org>
6933
d1f21341
GM
6934 * progmodes/f90.el (f90-type-def-re):
6935 Handle "type, bind(c)". (Bug#8691)
6936
4a720484
GM
6937 * emacs-lisp/autoload.el (batch-update-autoloads):
6938 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6939
2fb0a219
MA
69402011-05-18 Michael Albinus <michael.albinus@gmx.de>
6941
6942 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6943 property for the correct connection in case of multihops.
6944
e565dd37
GM
69452011-05-18 Glenn Morris <rgm@gnu.org>
6946
c2571358 6947 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
6948 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6949
e565dd37
GM
6950 Rationalize calendar handling of day and month abbrev-arrays.
6951 * calendar/calendar.el (calendar-customized-p): New function.
6952 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6953 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6954 Add :set function.
6955 (calendar-abbrev-length, calendar-day-abbrev-array)
6956 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6957 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6958 Elements may no longer be nil.
6959 (calendar-day-name, calendar-month-name):
6960 Update for changed nature of abbrev arrays.
6961 * calendar/diary-lib.el (diary-name-pattern):
6962 Update for changed nature of abbrev arrays.
6963 (diary-mark-entries-1): Update calendar-make-alist calls.
6964 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6965 * calendar/cal-html.el (cal-html-day-abbrev-array):
6966 Simply inherit from calendar-day-abbrev-array.
6967
1d99a745
SM
69682011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6969
6970 * progmodes/grep.el (grep-mode): Disable default
6971 compilation-directory-matcher setting (bug#8684).
6972
7c1d9aa0
MA
69732011-05-17 Michael Albinus <michael.albinus@gmx.de>
6974
6975 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6976 instead of "head" and "tail". There were problems with SunOS 5.9,
6977 and it performs better.
6978
3952e9d8
GM
69792011-05-17 Glenn Morris <rgm@gnu.org>
6980
2dd12e7f
GM
6981 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6982
e4157b9c
GM
6983 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6984 Replace obsolete function.
6985
8e249bbd
GM
6986 * shell.el (pcomplete-parse-arguments-function): Declare.
6987
3952e9d8
GM
6988 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6989 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6990 (appt-check): Doc fixes.
6991 (appt-disp-window-function, appt-delete-window-function):
6992 Remove needless special case in custom :type.
6993 (appt-display-count): Default to 0, not nil.
6994 (appt-check): Reset appt-display-count to 0, not nil.
6995
c71a0d48 69962011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 6997
c71a0d48
GM
6998 * progmodes/python.el (python-font-lock-keywords):
6999 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7000
31d55be9
SM
70012011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7002
7003 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7004
3bfacb2f
KR
70052011-05-16 Kevin Ryde <user42@zip.com.au>
7006
7007 * info-look.el (makefile-automake-mode): New setups, looking in
7008 automake manual, then makefile-mode.
7009 (makefile-mode): Remove automake manual, have it just in
7010 makefile-automake-mode since there's various things different or
7011 not relevant to plain make.
7012 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7013 believe a hypothetical automake-mode would go to makefile-mode,
7014 not the other way around.
7015
c8e83751
CY
70162011-05-15 Chong Yidong <cyd@stupidchicken.com>
7017
5e9e35cd
CY
7018 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7019 hunk-end tags (Bug#8672).
7020
c8e83751
CY
7021 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7022 vc-annotate-show-diff-revision-at-line (Bug#8671).
7023
50b23e5a
GM
70242011-05-14 Glenn Morris <rgm@gnu.org>
7025
7210a739
GM
7026 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7027 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7028 (change-log-font-lock-keywords): Also handle multiple author lines
7029 with leading tabs. (Bug#8644)
7210a739 7030
4691905a
GM
7031 * calendar/appt.el (appt-check): Rename some local variables.
7032 Some simplification/reordering.
7033
50b23e5a
GM
7034 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7035 (feedmail-sendmail-f-doesnt-sell-me-out)
7036 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7037 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7038 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7039 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7040 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7041 (feedmail-binmail-gnulinuxish-template):
7042 Rename from feedmail-binmail-linuxish-template.
7043 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7044 Use insert-buffer-substring.
7045
215cda7c
BC
70462011-05-14 Bill Carpenter <bill@carpenter.org>
7047
7048 * mail/feedmail.el (feedmail-patch-level): Increase.
7049 (feedmail-debug): New custom group.
7050 (feedmail-confirm-outgoing-timeout)
7051 (feedmail-sendmail-f-doesnt-sell-me-out)
7052 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7053 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7054 (feedmail-sender-line, feedmail-from-line)
7055 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7056 (feedmail-spray-this-address)
215cda7c
BC
7057 (feedmail-spray-address-fiddle-plex-list)
7058 (feedmail-queue-use-send-time-for-date)
7059 (feedmail-queue-use-send-time-for-message-id)
7060 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7061 (feedmail-buffer-eating-function):
7062 Doc fixes.
7063 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7064 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7065 (feedmail-message-action-scroll-down): New functions.
7066 (feedmail-queue-directory, feedmail-queue-draft-directory):
7067 Use expand-file-name.
7068 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7069 Remove C-v help entry.
7070 (feedmail-queue-buffer-file-name): New variable.
7071 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7072 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7073 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7074 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7075 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7076 (feedmail-message-action-toggle-spray)
7077 (feedmail-run-the-queue-no-prompts)
7078 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7079 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7080 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7081 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7082 (feedmail-envelope-deducer, feedmail-fiddle-from)
7083 (feedmail-fiddle-sender, feedmail-default-date-generator)
7084 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7085 (feedmail-fiddle-spray-address)
7086 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7087 (feedmail-fiddle-list-of-fiddle-plexes)
7088 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7089 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7090 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7091 Change default. Doc fix.
7092 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7093 (feedmail-binmail-linuxish-template): New constant.
7094 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7095 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7096 (feedmail-send-it): Add debug call.
7097 Use feedmail-queue-buffer-file-name, and
7098 feedmail-send-it-immediately-wrapper.
7099 (feedmail-message-action-send): Add debug call.
7100 Use feedmail-send-it-immediately-wrapper.
7101 (feedmail-queue-express-to-queue): Add debug call.
7102 Run feedmail-queue-express-hook.
7103 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7104 (feedmail-message-action-help-blat):
7105 Rename from feedmail-queue-send-edit-prompt-help-first.
7106 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7107 Check line-endings. Handle errors better.
7108 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7109 Doc fix. Add debug call.
7110 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7111 Use feedmail-queue-send-edit-prompt-inner.
7112 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7113 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7114 from feedmail-queue-send-edit-prompt.
7115 (feedmail-queue-send-edit-prompt-help)
7116 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7117 (feedmail-tidy-up-slug): Add debug call.
7118 Respect feedmail-queue-slug-suspect-regexp.
7119 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7120 (feedmail-dump-message-to-queue): Add debug call.
7121 Expand queue-directory.
7122 (feedmail-dump-message-to-queue): Change message slightly.
7123 Use feedmail-say-chatter.
7124 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7125 (feedmail-send-it-immediately-wrapper): New function.
7126 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7127 Insert empty string rather than newline. Handle full-frame case.
7128 Use catch/throw. Use feedmail-say-chatter.
7129 (feedmail-fiddle-from): Try mail-host-address.
7130 (feedmail-default-message-id-generator): Doc fix.
7131 Bind system-time-locale. Handle missing end.
7132 (feedmail-fiddle-x-mailer): Add debug call.
7133 Handle feedmail-x-mailer-line being nil.
7134 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7135 Add debug call. Use buffer-substring-no-properties.
7136 (feedmail-say-debug, feedmail-say-chatter): New functions.
7137 (feedmail-find-eoh): Give an explicit error.
7138
42c7e61e
UJ
71392011-05-13 Ulf Jasper <ulf.jasper@web.de>
7140
c2571358 7141 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7142 family from helvetica to sans.
c2571358 7143 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7144 etc/images/newsticker.
7145
c2571358 7146 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7147 family from helvetica to sans.
7148
7149 * net/newst-plainview.el (newsticker-new-item-face)
7150 (newsticker-old-item-face, newsticker-immortal-item-face)
7151 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7152 (newsticker-statistics-face): Change default family from
42c7e61e 7153 helvetica to sans.
c2571358 7154 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7155 etc/images/newsticker.
7156
7157 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7158 (newsticker--process-auto-mark-filter-match): : Tell user about
7159 auto-marking.
7160
8497a297
DV
71612011-05-13 Didier Verna <didier@xemacs.org>
7162
7163 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7164 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7165 TODO entries.
8497a297
DV
7166 (lisp-lambda-list-keyword-parameter-indentation)
7167 (lisp-lambda-list-keyword-parameter-alignment)
7168 (lisp-lambda-list-keyword-alignment): New customizable user options.
7169 (lisp-indent-defun-method): Improve docstring.
7170 (extended-loop-p): Fix comment.
7171 (lisp-indent-lambda-list-keywords-regexp): New variable.
7172 (lisp-indent-lambda-list): New function.
7173 (lisp-indent-259): Use it.
7174 (lisp-indent-defmethod): Support for more than one
7175 method qualifier and properly indent methods lambda-lists.
7176 (defgeneric): Provide a missing common-lisp-indent-function property.
7177
f278f87f
SM
71782011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7179
7180 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7181 bounds for the empty string (bug#8667).
7182
5233edd7
GM
71832011-05-13 Glenn Morris <rgm@gnu.org>
7184
5237a44f
GM
7185 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7186
8340026c 7187 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 7188 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 7189
5233edd7 7190 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 7191 (appt-time-msg-list): Doc fix.
a5464014 7192 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 7193
92d10796
AS
71942011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7195
7196 * progmodes/ld-script.el (ld-script-keywords)
7197 (ld-script-builtins): Update keywords list.
7198
914a0ae1
SM
71992011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7200
c89be45f
SM
7201 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7202
914a0ae1
SM
7203 * shell.el (shell-completion-vars): New function.
7204 (shell-mode):
7205 * simple.el (read-shell-command): Use it.
7206 (blink-matching-open): No need for " [...]" in minibuffer-message.
7207
98dc3df3
GM
72082011-05-12 Glenn Morris <rgm@gnu.org>
7209
7210 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7211 (appt-check): Simplify.
7212
d2fc7e3d 72132011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 7214
4d61f28d 7215 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
7216 literal "/dev/null".
7217
d2fc7e3d 72182011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
7219
7220 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7221 Fix typo.
7222
d2fc7e3d 72232011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 7224
3f254caa
SM
7225 * progmodes/which-func.el (which-function):
7226 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
7227 which might not be defined (Bug#8260).
7228
d45885f7
GM
72292011-05-12 Glenn Morris <rgm@gnu.org>
7230
7231 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7232 Let byte-compile-initial-macro-environment always take precedence.
7233
488086f4
SM
72342011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7235
7236 * net/rcirc.el: Add support for SSL/TLS connections.
7237 (rcirc-server-alist): New field `encryption'.
7238 (rcirc): Check `encryption' settings.
7239 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7240 Merge make-local-variable into `set'.
7241 (rcirc--connection-open-p): New function.
7242 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7243 the process is not a network process (e.g. running gnutls-cli).
7244 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7245 Make rcirc-(en|de)code-coding-system local here.
7246 (rcirc-mode): Merge make-local-variable into `set'.
7247 (rcirc-parent-buffer): Make permanent buffer-local.
7248 (rcirc-multiline-minor-mode): Don't do it here.
7249 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7250 there's no server buffer.
7251
7d3b9d44
GM
72522011-05-11 Glenn Morris <rgm@gnu.org>
7253
f64049c6
GM
7254 * newcomment.el (comment-kill): Prefix "unused" local.
7255
93c9df73
GM
7256 * term/w32console.el (get-screen-color): Declare.
7257
7d3b9d44
GM
7258 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7259 Handle symbol elements of byte-compile-initial-macro-environment.
7260
9e2dd53f
LL
72612011-05-10 Leo Liu <sdl.web@gmail.com>
7262
488086f4
SM
7263 * bookmark.el (bookmark-bmenu-mode-map):
7264 Bind bookmark-bmenu-search to `/'.
8b340240 7265
9e2dd53f 7266 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7267 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7268 (Footnote-unicode): New function.
7269 (footnote-style-alist): Add unicode style to the list.
7270 (footnote-style): Doc fix.
9e2dd53f 7271
79b70037
GM
72722011-05-10 Jim Meyering <meyering@redhat.com>
7273
7274 Fix doubled-word typos.
7275 * international/quail.el (quail-insert-kbd-layout): and and -> and
7276 * kermit.el: and and -> and
7277 * net/ldap.el (ldap-search-internal): to to -> to
7278 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7279 * progmodes/js.el (js-mode): and and -> and
7280 * textmodes/artist.el (artist-move-to-xy): at at -> at
7281 (artist-draw-region-trim-line-endings): if if -> if
7282 And Safetyc -> Safety.
7283 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7284
b8f82dc1 72852011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7286 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7287
7288 * files.el (hack-one-local-variable-eval-safep):
7289 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7290
4f99f44b
GM
72912011-05-10 Glenn Morris <rgm@gnu.org>
7292
7293 * calendar/diary-lib.el (diary-list-entries-hook)
7294 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7295 (diary-nongregorian-marking-hook, diary-list-entries)
7296 (diary-include-other-diary-files, diary-mark-entries)
7297 (diary-mark-included-diary-files): Doc fixes.
7298
84f29e6b
JB
72992011-05-09 Juanma Barranquero <lekktu@gmail.com>
7300
7301 * misc.el: Require tabulated-list.el during compilation.
7302
9bedd73a
CY
73032011-05-09 Chong Yidong <cyd@stupidchicken.com>
7304
488086f4
SM
7305 * progmodes/compile.el (compilation-start):
7306 Run compilation-filter-hook for the async case too.
9bedd73a
CY
7307 (compilation-filter-hook): Doc fix.
7308
797c735c
DD
73092011-05-09 Deniz Dogan <deniz@dogan.se>
7310
7311 * wdired.el: Remove outdated installation comment. Fix usage
7312 comment.
7313
5f4b1dfe
JB
73142011-05-09 Juanma Barranquero <lekktu@gmail.com>
7315
7316 * misc.el: Implement new command `list-dynamic-libraries'.
7317 (list-dynamic-libraries--loaded-only-p): New variable.
7318 (list-dynamic-libraries--refresh): New function.
7319 (list-dynamic-libraries): New command.
7320
4c44026c
CY
73212011-05-09 Chong Yidong <cyd@stupidchicken.com>
7322
488086f4
SM
7323 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7324 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7325 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7326 higher priority to avoid clobbering by gnu.
7327
027f966d
CY
73282011-05-08 Chong Yidong <cyd@stupidchicken.com>
7329
7330 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7331 if the face has existing theme settings (Bug#8454).
7332
085f5d7d
CY
73332011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7334
488086f4
SM
7335 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7336 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 7337
2a86a00c
RS
7338 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7339 special file names `.' and `..' (Bug#8259).
7340
d9c54a06
CY
73412011-05-08 Chong Yidong <cyd@stupidchicken.com>
7342
488086f4
SM
7343 * progmodes/grep.el (grep-mode-font-lock-keywords):
7344 Remove buffer-changing entries.
d9c54a06
CY
7345 (grep-filter): New function.
7346 (grep-mode): Add it to compilation-filter-hook.
7347
7348 * progmodes/compile.el (compilation-filter-hook)
7349 (compilation-filter-start): New defvars.
7350 (compilation-filter): Call compilation-filter-hook prior to
7351 updating the process mark.
7352
c4662635
SM
73532011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7356
b0512a1d
EZ
73572011-05-07 Eli Zaretskii <eliz@gnu.org>
7358
605c9376
EZ
7359 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7360 mailclient-send-it even if window-system is nil. (Bug#8595)
7361
c4662635
SM
7362 * term/w32console.el (terminal-init-w32console):
7363 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
7364 background-mode. (Bug#8597)
7365
d1dc2cc2
SM
73662011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7367
7368 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7369 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7370 New functions.
7371 (defgeneric, eieio--defmethod): Use them.
7372 (eieio-defgeneric): Remove.
7373 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7374
915d1300
GM
73752011-05-07 Glenn Morris <rgm@gnu.org>
7376
a3961c3e
GM
7377 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7378 Use let rather than let*.
7379 (timeclock-find-discrep): Remove unused local.
7380
314347b9
GM
7381 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7382
915d1300
GM
7383 * calendar/appt.el (appt-time-msg-list): Doc fix.
7384
275b59b0
NF
73852011-05-06 Noah Friedman <friedman@splode.com>
7386
7387 * apropos.el (apropos-print-doc): Only use
7388 emacs-lisp-docstring-fill-column when it is bound to an integer,
7389 per that variable's documentation.
7390
6c19f744
SM
73912011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 7394 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 7395
60f884b2
GM
73962011-05-06 Glenn Morris <rgm@gnu.org>
7397
5006e634
GM
7398 * calendar/appt.el (appt-message-warning-time): Doc fix.
7399 (appt-warning-time-regexp): New option.
7400 (appt-make-list): Respect appt-message-warning-time.
7401
548d0a63
GM
7402 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7403 New options.
7404 (diary-add-to-list): Strip comments from the displayed string.
7405 (diary-mode): Set comment-start and comment-end.
7406
60f884b2
GM
7407 * vc/diff-mode.el (smerge-refine-subst): Declare.
7408 (diff-refine-hunk): Don't require smerge-mode when compiling.
7409
989681bb
JB
74102011-05-06 Juanma Barranquero <lekktu@gmail.com>
7411
7412 * simple.el (list-processes): Return nil as the docstring says.
7413
a6bc05e1
MA
74142011-05-05 Michael Albinus <michael.albinus@gmx.de>
7415
7416 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7417 to "".
7418 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7419 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7420 determining of binary transfer. (Bug#7383)
7421
23c22e9a
MA
74222011-05-05 Michael Albinus <michael.albinus@gmx.de>
7423
c4662635
SM
7424 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7425 Fix port computation bug. (Bug#8618)
23c22e9a 7426
0bff894f
GM
74272011-05-05 Glenn Morris <rgm@gnu.org>
7428
b8296902
GM
7429 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7430
1f522ce8
GM
7431 * simple.el (shell-dynamic-complete-functions)
7432 (comint-dynamic-complete-functions): Declare.
7433
cf5bee67
GM
7434 * net/network-stream.el (gnutls-negotiate):
7435 * simple.el (tabulated-list-print): Fix declarations.
7436
7437 * progmodes/gud.el (syntax-symbol, syntax-point):
7438 Remove unnecessary and incorrect declarations.
7439
0bff894f
GM
7440 * emacs-lisp/check-declare.el (check-declare-scan):
7441 Handle byte-compile-initial-macro-environment in bytecomp.el
7442
9869b3ae
SM
74432011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7444
7445 Fix earlier half-done eieio-defmethod change (bug#8338).
7446 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7447 Streamline and change calling convention.
7448 (defmethod): Adjust accordingly and simplify.
7449 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7450 new eieio--defmethod.
7451 (slot-boundp): Minor CSE simplification.
7452
9c1d5ac5
MZ
74532011-05-05 Milan Zamazal <pdm@zamazal.org>
7454
7455 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7456 (glasses-make-readable): Use glasses-separate-capital-groups.
7457
455c834e
JB
74582011-05-05 Juanma Barranquero <lekktu@gmail.com>
7459
7460 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7461 (warning-series): Doc fix.
7462 (display-warning): Don't try to create the buffer if we just found it.
7463
9ed7c8cb
CY
74642011-05-04 Chong Yidong <cyd@stupidchicken.com>
7465
7466 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7467 (autoload-find-generated-file): New function.
7468 (generate-file-autoloads): Bind generated-autoload-file to
7469 buffer-file-name.
9869b3ae
SM
7470 (update-file-autoloads, update-directory-autoloads):
7471 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
7472 output file (Bug#7989).
7473 (batch-update-autoloads): Doc fix.
7474
0898ca10
JB
74752011-05-04 Juanma Barranquero <lekktu@gmail.com>
7476
7477 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7478
31dfb76c
GM
74792011-05-04 Glenn Morris <rgm@gnu.org>
7480
f330b642
GM
7481 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7482 function, so it follows changes in calendar-date-style.
7483 (diary-fancy-date-matcher): New function.
7484 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7485 (diary-fancy-font-lock-fontify-region-function):
7486 Use diary-fancy-date-pattern as a function.
7487
31dfb76c
GM
7488 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7489 non-numbers for `year' etc pseudo-variables. (Bug#8583)
7490
48e79d6a
TZ
74912011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
7492
7493 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7494 instead of positional arguments. Allow :keylist and :crlfiles
7495 arguments.
7496 (open-gnutls-stream): Call it.
7497
7498 * net/network-stream.el (network-stream-open-starttls): Adjust to
7499 call `gnutls-negotiate' with :process and :hostname arguments.
7500
dd5a5ee0
SM
75012011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7502
ef80fc09
SM
7503 * minibuffer.el (completion--message): New function.
7504 (completion--do-completion, minibuffer-complete)
7505 (minibuffer-force-complete, minibuffer-complete-word): Use it.
7506 (completion--do-completion): Don't ignore completion-auto-help when in
7507 icomplete-mode.
7508
dd5a5ee0
SM
7509 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
7510 internal encoding (e.g. tibetan zero is not whitespace).
7511 (global-whitespace-mode): Prefer save-current-buffer.
7512 (whitespace-trailing-regexp): Remove useless save-match-data.
7513 (whitespace-empty-at-bob-regexp): Minor simplification.
7514
b7d22a83
CY
75152011-05-03 Chong Yidong <cyd@stupidchicken.com>
7516
7517 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
7518
5192af46
AM
75192011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7520
7521 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 7522 Use `concat' to create string for insertion.
5192af46 7523
5767d190
SM
75242011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7525
7526 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
7527 Avoid open-line which runs post-self-insert-hook.
7528 (bibtex-fill-entry): Remove unused `end' var.
7529
bf242939
AM
75302011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
7531
5767d190
SM
7532 * textmodes/ispell.el (ispell-add-per-file-word-list):
7533 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 7534
25666126
LL
75352011-05-03 Leo Liu <sdl.web@gmail.com>
7536
7537 * isearch.el (isearch-yank-pop): New command.
5767d190 7538 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
7539 (isearch-forward): Mention it.
7540
52d3c2d0
SM
75412011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7542
1bcace58
SM
7543 * simple.el (minibuffer-complete-shell-command): Remove.
7544 (minibuffer-local-shell-command-map): Use completion-at-point.
7545 (read-shell-command): Setup completion vars here instead.
7546 (read-expression-map): Bind TAB to symbol completion.
7547
52d3c2d0
SM
7548 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
7549 error directly rather via storing it into `results'.
7550
35813471
LL
75512011-05-02 Leo Liu <sdl.web@gmail.com>
7552
7553 * vc/diff.el: Fix description.
7554
e793a940
LMI
75552011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7556
7557 * server.el (server-eval-at): New function.
7558
8de66e05
LMI
75592011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7560
7561 * net/network-stream.el (open-network-stream): Take a :nowait
7562 parameter and pass it on to `make-network-process'.
7563 (network-stream-open-plain): Ditto.
7564
dcb79f20
AS
75652011-04-30 Andreas Schwab <schwab@linux-m68k.org>
7566
7567 * faces.el (face-spec-set-match-display): Don't match toolkit
7568 options on terminal frames.
7569
14a7fbd8
SM
75702011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7eabc1be
SM
7572 * progmodes/pascal.el: Use lexical binding.
7573 (pascal-mode-map): Remove author preferences.
7574
14a7fbd8
SM
7575 * pcomplete.el (pcomplete-std-complete): Don't abuse
7576 completion-at-point.
7577
50f84510
JB
75782011-04-28 Juanma Barranquero <lekktu@gmail.com>
7579
6e087a44
JB
7580 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7581 removing code that has been dead since 1991 or so.
7582
50f84510
JB
7583 * startup.el (command-line): When warning about "_emacs", use a
7584 delayed warning to allow the user to filter it out.
7585
0ba690bd
DD
75862011-04-28 Deniz Dogan <deniz@dogan.se>
7587
7588 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7589 user has not joined.
7590
08abfaad
SM
75912011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7592
7593 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7594 aren't any completions at point.
7595
638f053a
JB
75962011-04-28 Juanma Barranquero <lekktu@gmail.com>
7597
7598 * subr.el (display-delayed-warnings): New function.
7599 (delayed-warnings-hook): New variable.
7600
8fff8daa
SM
76012011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7602
08abfaad
SM
7603 * minibuffer.el (completion-at-point, completion-help-at-point):
7604 Don't presume that a given completion-at-point-function will always
7605 use the same calling convention.
7606
8fff8daa
SM
7607 * pcomplete.el (pcomplete-completions-at-point):
7608 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
7609 pcomplete-seen is non-nil.
7610 (pcomplete-comint-setup): Also recognize the new comint/shell
7611 completion functions.
7612 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7613 pcomplete-seen is non-nil.
7614
841a1577 76152011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 7616
841a1577 7617 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 7618 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 7619 the first character in the entry. This allows for code to add its
211ec907
UJ
7620 own uid to the entry.
7621 (icalendar--convert-float-to-ical): Add export of
7622 `diary-float'-entries save for those with the optional DAY
7623 argument.
7624
2a782793
DC
76252011-04-27 Daniel Colascione <dan.colascione@gmail.com>
7626
7627 * subr.el (shell-quote-argument): Use alternate escaping strategy
7628 when we spot a variable reference in a string.
7629
0438ce91
DC
76302011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7631
7632 * cus-start.el (all): Define customization for debug-on-event.
7633
841a1577 76342011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
7635
7636 * subr.el (shell-quote-argument): Escape correctly under Windows.
7637
d090ed6c
SM
76382011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7639
7640 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7641
bfd31217
MA
76422011-04-25 Michael Albinus <michael.albinus@gmx.de>
7643
d090ed6c
SM
7644 * net/tramp.el (tramp-process-actions): Add POS argument.
7645 Delete region between POS and (pos).
bfd31217 7646
d090ed6c
SM
7647 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7648 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
7649 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7650
7651 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7652 position in `tramp-process-actions' call.
7653
7654 * net/trampver.el: Update release number.
7655
e92f3bd3
SM
76562011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7657
850256b5
SM
7658 * custom.el (defcustom): Obey lexical-binding.
7659
e92f3bd3
SM
7660 Fix octave-inf completion problems reported by Alexander Klimov.
7661 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7662 Inherit from octave-mode-syntax-table.
7663 (inferior-octave-mode): Set info-lookup-mode.
7664 (inferior-octave-completion-at-point): New function.
7665 (inferior-octave-complete): Use it and completion-in-region.
7666 (inferior-octave-dynamic-complete-functions): Use it as well, and use
7667 comint-filename-completion.
7668 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7669 symbol elements which shouldn't be word elements.
7670 (octave-font-lock-keywords, octave-beginning-of-defun)
7671 (octave-function-header-regexp): Adjust regexps accordingly.
7672 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7673
cd22b309
JB
76742011-04-25 Juanma Barranquero <lekktu@gmail.com>
7675
7676 * net/gnutls.el (gnutls-errorp): Declare before first use.
7677
8b492194
TZ
76782011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7679
7680 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7681 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
7682 default trustfile exists before going to use it. Add missing
7683 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
7684 Reported by Claudio Bley <claudio.bley@gmail.com>.
7685 (open-gnutls-stream): Add usage example.
7686
7687 * net/network-stream.el (network-stream-open-starttls): Give host
7688 parameter to `gnutls-negotiate'.
7689 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 7690 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 7691
841a1577 76922011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 7693
cd22b309
JB
7694 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7695 Use correct match group (bug#8438).
05842630 7696
3ba7869c
CY
76972011-04-24 Chong Yidong <cyd@stupidchicken.com>
7698
512e3ae1
CY
7699 * emacs-lisp/package.el (package-built-in-p): Fix typo.
7700 (package-menu--generate): New arg specifying packages to show.
7701 (package-menu-refresh, package-menu-execute, list-packages):
7702 Callers changed.
7703 (package-show-package-list): New function, replacing deleted
7704 package--list-packages (renamed because it is non-internal).
7705
7706 * finder.el (finder-list-matches): Use package-show-package-list
7707 instead of deleted package--list-packages.
7708
e92f3bd3
SM
7709 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7710 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
7711 (vc-annotate-mode-map): Bind it to RET.
7712
7031be6d
UR
77132011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7714
7715 * progmodes/etags.el (next-file): Don't use set-buffer to change
7716 buffers (Bug#8478).
7717
4ef177aa
CY
77182011-04-24 Chong Yidong <cyd@stupidchicken.com>
7719
c8d173eb
CY
7720 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7721
4ef177aa
CY
7722 * apropos.el (apropos-label-face): Avoid variable-pitch face.
7723 (apropos-accumulator): Doc fix.
7724 (apropos-function, apropos-macro, apropos-command)
7725 (apropos-variable, apropos-face, apropos-group, apropos-widget)
7726 (apropos-plist): Add face property.
7727 (apropos-symbols-internal): Fix indentation.
7728 (apropos-print): Simplify help, and recognize apropos-multi-type.
7729 (apropos-print-doc): Use button-type-get to extract the button's
7730 face property. Fill docstring (Bug#8352).
7731
4ffd0d6b 77322011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
7733
7734 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7735
c6c32125 7736 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 7737 (mpuz-mode-map): Use mapc.
c6c32125
JB
7738 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7739 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7740 Fix typos in docstrings.
7741
58d468b4
JB
7742 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7743 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7744
6470c3c6
JB
7745 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7746
4ffd0d6b 77472011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
7748
7749 * minibuffer.el (completion--do-completion): Avoid the "Next char
7750 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7751
3ad8bad0
CY
7752 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7753 mouse-2 into unread-command-events, it is interpreted correctly.
7754
71d73c9c 7755 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 7756 (image-toggle-display): Doc fix.
71d73c9c 7757
841a1577 77582011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 7759
4ffd0d6b
GM
7760 * textmodes/page.el (what-page): Use line-number-at-pos to
7761 calculate line number (Bug#6825).
6e1dbaa9 7762
c2fb1b60
JB
77632011-04-22 Juanma Barranquero <lekktu@gmail.com>
7764
7765 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7766 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7767 Pass argument NO-DEFAULT to `find-tag-interactive'.
7768
e02f48d7
JB
77692011-04-22 Juanma Barranquero <lekktu@gmail.com>
7770
7771 Lexical-binding cleanup.
7772
7773 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7774 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7775 * progmodes/ada-prj.el (ada-prj-initialize-values)
7776 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7777 (ada-prj-show-value):
7778 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7779 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7780 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7781 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7782 * progmodes/bug-reference.el (bug-reference-push-button):
7783 * progmodes/fortran.el (fortran-line-length):
7784 * progmodes/glasses.el (glasses-change):
7785 * progmodes/octave-mod.el (octave-fill-paragraph):
7786 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7787 (python-pdbtrack-grub-for-buffer, python-sentinel):
7788 * progmodes/sql.el (sql-save-connection):
7789 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7790 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7791 Mark unused parameters.
7792
7793 * progmodes/compile.el (compilation--flush-directory-cache)
7794 (compilation--flush-parse, compile-internal): Mark unused parameters.
7795 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7796 (compilation-next-error-function): Remove unused variable `timestamp'.
7797
7798 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7799 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7800
7801 * progmodes/dcl-mode.el (dcl-end-of-command):
7802 Remove unused variable `start'.
7803 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7804 (dcl-option-value-basic, dcl-option-value-offset)
7805 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7806 Mark unused parameters.
7807 (dcl-save-local-variable): Remove unused variable `val'.
7808 (mode): Declare.
7809
7810 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7811 Mark unused parameters.
7812 (delphi-ignore-changes): Move before first use.
7813 (delphi-charset-token-at): Remove unused variable `start'.
7814 (delphi-else-start): Remove unused variable `if-count'.
7815 (delphi-comment-block-start, delphi-comment-block-end):
7816 Remove unused variable `kind'.
7817 (delphi-indent-line): Remove unused variable `new-point'.
7818
7819 * progmodes/ebrowse.el (ebrowse-files-list)
7820 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7821 Mark unused parameters. Don't quote `lambda'.
7822 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7823 Don't quote `lambda'.
7824 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7825 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7826 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7827 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7828 Use `ignore-errors'.
7829 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7830 (ebrowse-view/find-file-and-search-pattern)
7831 (ebrowse-view/find-member-declaration/definition):
7832 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7833 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7834 Rename parameter PREFIX-ARG to PREFIX.
7835 (ebrowse-tags-read-name): Remove unused variables `start' and
7836 `member-info'.
7837 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7838 to `tags-file'.
7839
7840 * progmodes/etags.el (local-find-tag-hook): Declare.
7841 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7842 Mark unused parameters.
7843
7844 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7845 (executable-interpret): Mark unused parameter.
7846
7847 * progmodes/flymake.el (flymake-process-sentinel)
7848 (flymake-after-change-function)
7849 (flymake-create-temp-with-folder-structure)
7850 (flymake-get-include-dirs-dot): Mark unused parameters.
7851 (flymake-safe-delete-directory): Remove unused variable `err'.
7852
7853 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7854 (speedbar-timer-fn, speedbar-line-text)
7855 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7856 (speedbar-center-buffer-smartly): Declare functions.
7857 (gdb-find-watch-expression): Remove unused variable `array'.
7858 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7859 (gdb-starting): Mark unused parameters.
7860 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7861 (gdb-table-string): Remove unused variable `res'.
7862 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7863 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7864 (gdb-display-buffer): Remove unused variable `cur-size'.
7865
7866 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7867 allow lexical-binding compilation.
7868 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7869 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7870 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7871 Mark unused parameters.
7872 (gud-gdb-marker-filter): Remove unused variable `match'.
7873 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7874 lambda expressions and funcall them, instead of using `fset'.
7875
7876 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7877 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7878
7879 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7880 variable `header-beg'; use `let'.
7881
7882 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7883 `restart', `last-sexp' and `at-do'.
7884
7885 * progmodes/js.el (js--debug): Mark unused parameter.
7886 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7887 (js--splice-into-items): Remove unused variable `item'.
7888 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7889
7890 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7891 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7892 (makefile-complete): Remove unused variable `try'.
7893 (makefile-fill-paragraph, makefile-match-function-end):
7894 Mark unused parameters.
7895
7896 * progmodes/octave-inf.el (inferior-octave-complete):
7897 Remove unused variable `proc'.
7898 (inferior-octave-output-digest): Mark unused parameter.
7899
7900 * progmodes/perl-mode.el (perl-calculate-indent):
7901 Remove unused variable `err'.
7902
7903 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7904 (prolog-indent-line): Mark unused parameters.
7905 (prolog-indent-line): Remove unused variable `beg'.
7906
7907 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7908 (reporter-dont-compact-list): Declare.
7909
7910 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7911 Remove unused variable `char'.
7912 (sh-debug): Mark unused parameter.
7913 (sh-get-indent-info): Remove unused variable `start'.
7914 (sh-calculate-indent): Remove unused variable `var'.
7915
7916 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7917 (simula-electric-keyword): Remove unused variable `null'.
7918 (simula-search-backward, simula-search-forward): Remove unused
7919 variables `begin' and `end'.
7920
7921 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7922 Remove unused variable `pos'.
7923 (vera-electric-tab, vera-comment-uncomment-region):
7924 Mark unused parameters.
7925 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7926
7ede3b65
CY
79272011-04-22 Chong Yidong <cyd@stupidchicken.com>
7928
7929 * emacs-lisp/package.el (package--builtins, package-alist)
7930 (package-load-descriptor, package-built-in-p, package-activate)
7931 (define-package, package-installed-p)
7932 (package-compute-transaction, package-buffer-info)
7933 (package--push): Doc fix. Distinguish more clearly between
7934 version strings and version lists.
7935
121656e9
JB
79362011-04-21 Juanma Barranquero <lekktu@gmail.com>
7937
7938 Lexical-binding cleanup.
7939
7940 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7941 (5x5-make-mutate-best):
7942 * play/fortune.el (fortune-in-buffer):
7943 * play/gomoku.el (gomoku-init-display):
7944 * play/solitaire.el (solitaire, solitaire-do-check):
7945 * play/tetris.el (tetris-default-update-speed-function):
7946 Mark unused parameters.
7947
7948 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7949 (bubbles--shift): Remove unused variable `char-org'.
7950 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7951 (bubbles--show-images): Remove unused variable `char'.
7952
7953 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7954 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7955 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7956 (decipher-analyze-buffer): Use ?\s.
7957 (decipher-make-checkpoint): Remove unused variable `mapping'.
7958
7959 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7960
7961 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7962 Remove unused variable `result'; use `let'.
7963
7964 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7965 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7966 (gametree-children-shown-p, gametree-compute-reduced-score):
7967 Use `ignore-errors'.
7968
7969 * play/handwrite.el (ps-lpr-switches): Declare.
7970 (handwrite): Remove unused variables `pmin' and `lastp'.
7971
7972 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7973
7974 * play/landmark.el (landmark-init-display)
7975 (landmark-update-naught-weights): Mark unused parameters.
7976 (landmark-y): Remove unused variable `noise'. Simplify.
7977 (landmark-human-plays): Remove unused variable `score'.
7978
7979 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7980 (mpuz-try-proposal): Remove unused variable `game'.
7981
7982 * play/zone.el (life-patterns): Declare.
7983
80f499c7
JB
79842011-04-20 Juanma Barranquero <lekktu@gmail.com>
7985
7986 * vc/vc.el (ediff-vc-internal): Declare function.
7987
024ff170
SM
79882011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7989
c0a193ea
SM
7990 * shell.el: Use lexical-binding and std completion UI.
7991 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7992 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7993 comint-preoutput-filter-functions rather than on
7994 comint-output-filter-functions.
7995 (shell-command-completion, shell--command-completion-data)
7996 (shell-filename-completion, shell-environment-variable-completion)
7997 (shell-c-a-p-replace-by-expanded-directory): New functions.
7998 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7999 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8000 (shell-dynamic-complete-environment-variable): Use them.
8001 (shell-dynamic-complete-as-environment-variable)
8002 (shell-dynamic-complete-as-command): Remove.
8003 (shell-match-partial-variable): Match past point.
8004 * comint.el: Clean up use of completion-at-point-functions.
8005 (comint-completion-at-point): New function.
8006 (comint-mode): Use it completion-at-point-functions.
8007 (comint-dynamic-complete): Make it obsolete.
8008 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8009 (comint-c-a-p-replace-by-expanded-history): New function.
8010 (comint-dynamic-complete-functions)
8011 (comint-replace-by-expanded-history): Use it.
8012 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8013 termination strings. Try harder to avoid second try-completion.
8014 (completion-in-region-mode-map): Disable bindings that don't work yet.
8015
2dbaa080
SM
8016 * comint.el: Use lexical-binding. Require CL.
8017 (comint-dynamic-complete-functions): Use comint-filename-completion.
8018 (comint-completion-addsuffix): Tweak custom type.
8019 (comint-filename-completion, comint--common-suffix)
8020 (comint--common-quoted-suffix, comint--table-subvert)
8021 (comint--complete-file-name-data): New functions.
8022 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8023 (comint-dynamic-list-filename-completions): Use them.
8024 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8025
2dbaa080
SM
8026 * minibuffer.el (completion-in-region-mode):
8027 Keep completion-in-region-mode--predicate global.
8028 (completion-in-region--postch):
8029 Assume completion-in-region-mode--predicate is not null.
8030
c79a6f38
SM
8031 * progmodes/flymake.el (flymake-start-syntax-check-process):
8032 Obey `dir'. Simplify.
8033
024ff170
SM
8034 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8035 we're in VC after all.
8036
1c6c854e
CS
80372011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8038
8039 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8040 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8041 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8042
bed7f140
SM
80432011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8044
332e62ab
SM
8045 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8046 add sanity check.
8047
bed7f140
SM
8048 * obsolete/erc-hecomplete.el: Make obsolete.
8049 * obsolete/: Standardize obsolescence info in the header.
8050
f195c582
GM
80512011-04-20 Glenn Morris <rgm@gnu.org>
8052
8053 * calendar/solar.el (solar-horizontal-coordinates):
8054 Use the longitude argument rather than `calendar-longitude'.
8055 (solar-date-next-longitude): Remove unused locals.
8056
cb79b8c0
VJL
80572011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8058
8059 * whitespace.el: New version 13.2.1.
8060
80612011-04-20 felix <EmacsWiki> (tiny change)
8062
d8e4b68b 8063 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8064 switching between major modes on a file.
8065
602ea69d
SM
80662011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8067
8068 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8069 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8070 multi-line comments as well.
8071
06b60517
JB
80722011-04-19 Juanma Barranquero <lekktu@gmail.com>
8073
8074 Lexical-binding cleanup.
8075
8076 * arc-mode.el (archive-mode-revert):
8077 * cmuscheme.el (scheme-interactively-start-process):
8078 * custom.el (custom-initialize-delay):
8079 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8080 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8081 * emacs-lock.el (emacs-lock-clear-sentinel):
8082 * ezimage.el (defezimage):
8083 * follow.el (follow-avoid-tail-recenter):
8084 * fringe.el (set-fringe-mode-1):
8085 * generic-x.el (bat-generic-mode-compile):
8086 * help-mode.el (help-info-variable, help-do-xref)
8087 (help-mode-revert-buffer):
8088 * help.el (view-emacs-todo):
8089 * iswitchb.el (iswitchb-completion-help):
8090 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8091 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8092 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8093 * locate.el (locate-update):
8094 * longlines.el (longlines-encode-region)
8095 (longlines-after-change-function):
8096 * outline.el (outline-isearch-open-invisible):
8097 * ps-def.el (declare-function, charset-dimension, char-width)
8098 (encode-char):
8099 * ps-mule.el (ps-mule-plot-string):
8100 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8101 (recentf-edit-list-select, recentf-edit-list-validate)
8102 (recentf-open-files-action):
8103 * rect.el (delete-whitespace-rectangle-line)
8104 (rectangle-number-line-callback):
8105 * register.el (window-configuration-to-register)
8106 (frame-configuration-to-register):
8107 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8108 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8109 (xselect-convert-to-targets, xselect-convert-to-delete)
8110 (xselect-convert-to-filename, xselect-convert-to-charpos)
8111 (xselect-convert-to-lineno, xselect-convert-to-colno)
8112 (xselect-convert-to-os, xselect-convert-to-host)
8113 (xselect-convert-to-user, xselect-convert-to-class)
8114 (xselect-convert-to-name, xselect-convert-to-integer)
8115 (xselect-convert-to-atom, xselect-convert-to-identity):
8116 * subr.el (declare, ignore, process-kill-without-query)
8117 (text-clone-maintain):
8118 * terminal.el (te-get-char, te-tic-sentinel):
8119 * tool-bar.el (tool-bar-make-keymap):
8120 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8121 * type-break.el (type-break-mode, type-break-noninteractive-query):
8122 * view.el (View-back-to-mark):
8123 * wid-browse.el (widget-browse-action, widget-browse-widget)
8124 (widget-browse-widgets, widget-browse-sexp):
8125 * widget.el (define-widget-keywords):
8126 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8127 Mark unused parameters.
8128
8129 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8130 (align-areas): Remove unused variable `look'.
8131 (align-region): Remove unused variables `real-end' and `pos-list'.
8132
8133 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8134
8135 * bindings.el (mode-line-modified, mode-line-remote):
8136 Mark unused parameters.
8137 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8138
8139 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8140 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8141
8142 * comint.el (comint-history-isearch-pop-state)
8143 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8144 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8145 (comint-substitute-in-file-name): Doc fix.
8146
8147 * completion.el (cmpl-statistics-block): Mark unused parameter.
8148 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8149 (save-completions-to-file, load-completions-from-file):
8150 Remove unused local variable `e'.
8151
8152 * composite.el (compose-chars): Remove unused variable `len'.
8153 (lgstring-insert-glyph): Remove unused variable `g'.
8154 (compose-glyph-string): Remove unused variables `ascent',
8155 `descent', `lbearing' and `rbearing'.
8156 (compose-glyph-string-relative): Remove unused variables
8157 `lbearing', `rbearing' and `wadjust'.
8158 (compose-gstring-for-graphic): Remove unused variables `header',
8159 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8160 (compose-gstring-for-terminal): Remove unused variables `header'
8161 and `nchars'. Use `let', not `let*'.
8162
8163 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8164 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8165 (Custom-buffer-done, custom-buffer-create-internal)
8166 (custom-browse-visibility-action, custom-browse-group-tag-action)
8167 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8168 (widget-magic-mouse-down-action, custom-toggle-parent)
8169 (custom-add-parent-links, custom-toggle-hide-variable)
8170 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8171 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8172 (custom-face-menu-create, custom-variable-menu-create, get)
8173 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8174 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8175 (customize-apropos): Remove unused variable `tests'.
8176 (custom-group-value-create): Remove unused variable `hidden-p'.
8177 (sort-fold-case): Declare.
8178
8179 * cus-theme.el (custom-reset-standard-faces-list)
8180 (custom-reset-standard-variables-list): Declare.
8181 (customize-create-theme, custom-theme-revert, custom-theme-write)
8182 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8183 Mark unused parameters.
8184
8185 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8186
8187 * delim-col.el (delimit-columns-max): Move defvar before first use.
8188
8189 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 8190 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
8191
8192 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8193 (auto-insert): Declare.
8194 (desktop-restore-file-buffer): Rename desktop-* parameters;
8195 mark unused ones.
8196 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8197 (desktop-buffer): Rename desktop-* parameters.
8198
8199 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8200 (dframe-reposition-frame-xemacs, dframe-help-echo)
8201 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8202 Mark unused parameters.
8203
8204 * dired-aux.el (backup-extract-version-start, overwrite-query)
8205 (overwrite-backup-query, rename-regexp-query)
8206 (rename-non-directory-query): Declare.
8207 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8208 (dired-add-entry): Remove unused variable `orig-file-name'.
8209 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8210 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8211 `dired-copy-preserve-time' directly.
8212 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8213 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8214
8215 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8216 (dired-virtual-revert, dired-make-relative-symlink):
8217 Mark unused parameters.
8218 (manual-program): Declare.
8219 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8220 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8221 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8222
8223 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8224
8225 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8226
8227 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8228 Declare.
8229
8230 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8231
8232 * electric.el (Electric-command-loop): Rename parameter
8233 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8234
8235 * expand.el (expand-in-literal): Remove unused variable `here'.
8236
8237 * facemenu.el (facemenu-add-new-color):
8238 Remove unused variable `docstring'.
8239
8240 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8241 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8242 (face-attr-construct): Mark unused parameter. Doc fix.
8243 (read-color): Remove unused variable `hex-string'.
8244
8245 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8246 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8247 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8248 (display-buffer-other-frame): Remove unused variable `old-window'.
8249 (kill-buffer-hook): Declare.
8250 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8251 Mark unused parameters.
8252 (after-find-file): Pass 1 to `auto-save-mode', not t.
8253
8254 * files-x.el (auto-insert): Declare.
8255 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8256
8257 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8258 variable `buf'. Mark unused parameter.
06b60517
JB
8259 (find-lisp-insert-directory): Mark unused parameter.
8260
8261 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8262 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8263 (format-common-tail): Remove, unused.
8264 (format-deannotate-region): Remove unused variable `loc'.
8265 (format-annotate-region): Remove unused variable `p'.
8266 (format-annotate-single-property-change): Remove unused variables
8267 `default' and `tail'.
8268
8269 * forms.el (read-file-filter): Declare.
8270 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8271
8272 * frame.el (frame-creation-function-alist): Mark unused parameter.
8273 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8274
8275 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8276 Remove unused parameters.
8277 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8278 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8279
8280 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8281 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8282 (hfy-prepare-tag-map): Mark unused parameters.
8283 (htmlfontify-buffer): Use `called-interactively-p'.
8284
8285 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8286 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8287 (ibuffer-do-occur): Mark unused parameters.
8288 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8289 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8290
8291 * ibuffer.el: Don't quote `lambda'.
8292 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8293 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8294 Mark unused parameters.
8295
8296 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8297 (ido-completing-read): Mark unused parameters.
8298 (ido-copy-current-word): Mark unused parameters;
8299 remove unused variable `name'.
8300 (ido-sort-merged-list): Remove unused parameter `dirs'.
8301
8302 * ielm.el (ielm-input-sender): Mark unused parameter.
8303 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8304 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8305 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8306 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8307 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8308
8309 * image-dired.el (image-dired-display-thumbs): Remove unused
8310 variables `curr-file' and `count'.
8311 (image-dired-remove-tag): Remove unused variable `start'.
8312 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8313 variable `curr-file'
8314 (image-dired-rotate-original): Remove unused variable `temp-file'.
8315 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8316 Remove unused variable `file'.
8317 (image-dired-gallery-generate): Remove unused variable `curr'.
8318 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8319
8320 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8321
8322 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8323
8324 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8325
8326 * isearch.el (minibuffer-history-symbol): Declare.
8327 (isearch-edit-string): Remove unused variable `err'.
8328 (isearch-message-prefix, isearch-message-suffix):
8329 Mark unused parameters.
8330
8331 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8332
8333 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8334
8335 * makesum.el (double-column): Remove unused variable `cnt'.
8336
8337 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8338 (ido-ignore-item-temp-list): Declare.
8339
8340 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8341 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8342 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8343 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8344 `mouse-col-delta'.
8345
8346 * mouse-sel.el (mouse-extend-internal):
8347 Remove unused variable `orig-window-frame'.
8348
8349 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8350 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8351 Move declarations before first use.
8352 (pcomplete-opt): Mark unused parameters; doc fix.
8353
8354 * proced.el (proced-revert): Mark unused parameter.
8355 (proced-send-signal): Remove unused variable `err'.
8356
8357 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8358 Rename parameter PREFIX-ARG to ARG.
8359 (ps-basic-plot-string, ps-basic-plot-whitespace):
8360 Mark unused parameters.
8361
8362 * replace.el (replace-count): Define.
8363 (occur-revert-function): Mark unused parameters.
8364 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8365 (isearch-case-fold-search, isearch-string): Declare.
8366 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8367 bind `case-fold-search'. Remove unused variables `beg' and `end',
8368 and simplify.
8369 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8370 COUNT and bind `replace-count'.
8371 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8372 to COUNT.
8373
8374 * savehist.el (print-readably, print-string-length): Declare.
8375
8376 * shadowfile.el (shadow-expand-cluster-in-file-name):
8377 Remove unused variable `cluster'.
8378 (shadow-copy-file): Remove unused variable `i'.
8379 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8380 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8381 (shadow-define-literal-group, shadow-define-regexp-group)
8382 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8383
8384 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8385 (shell): Use `called-interactively-p'.
8386 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8387
8388 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8389 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8390 (delete-backward-char): Remove unused variable `ocol'.
8391 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8392 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8393 (event-apply-hyper-modifier, event-apply-shift-modifier)
8394 (event-apply-control-modifier, event-apply-meta-modifier):
8395 Mark unused parameters.
8396 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8397 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8398
8399 * speedbar.el (speedbar-ignored-directory-expressions)
8400 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8401 (speedbar-find-file, speedbar-dir-follow)
8402 (speedbar-directory-buttons-follow, speedbar-tag-find)
8403 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8404 (speedbar-buffers-line-directory, speedbar-buffer-click):
8405 Mark unused parameters.
8406 (speedbar-tag-file): Remove unused variable `mode'.
8407 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8408
8409 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8410
8411 * talk.el (talk): Remove unused variable `display'.
8412
8413 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8414 (tar-write-region-annotate): Mark unused parameter.
8415
8416 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8417 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8418 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8419 warning by another.
8420
8421 * time-stamp.el (time-stamp-string-preprocess):
8422 Remove unused variable `require-padding'.
8423
8424 * tree-widget.el (widget-glyph-enable): Declare.
8425 (tree-widget-action): Mark unused parameter.
8426
8427 * w32-fns.el (x-get-selection): Mark unused parameter.
8428 (autoload-make-program, generated-autoload-file): Declare.
8429
8430 * wdired.el (wdired-revert): Mark unused parameters.
8431 (wdired-xcase-word): Remove unused variable `err'.
8432
8433 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8434 (whitespace-help-scroll): Remove unused variable `data-help'.
8435
8436 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8437 (widget-image-insert, widget-after-change, default)
8438 (widget-default-format-handler, widget-default-notify)
8439 (widget-default-prompt-value, widget-info-link-action)
8440 (widget-url-link-action, widget-function-link-action)
8441 (widget-variable-link-action, widget-file-link-action)
8442 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8443 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8444 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8445 (widget-insert-button-action, widget-delete-button-action, visibility)
8446 (widget-documentation-link-action, widget-documentation-string-action)
8447 (widget-const-prompt-value, widget-regexp-match, symbol)
8448 (widget-coding-system-prompt-value)
8449 (widget-key-sequence-value-to-external, sexp)
8450 (widget-sexp-value-to-internal, character, vector, cons)
8451 (widget-choice-prompt-value, widget-boolean-prompt-value)
8452 (widget-color--choose-action): Mark unused parameters.
8453 (widget-item-match-inline, widget-choice-match-inline)
8454 (widget-checklist-match, widget-checklist-match-inline)
8455 (widget-group-match): Rename parameter VALUES to VALS.
8456 (widget-field-value-set): Remove unused variable `size'.
8457 (widget-color-action): Remove unused variables `value' and `start'.
8458
8459 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 8460 variable `dir'. Doc fix.
06b60517
JB
8461 (windmove-find-other-window): Don't pass it.
8462
8463 * window.el (count-windows): Mark unused parameter.
8464 (bw-adjust-window): Remove unused variable `err'.
8465
8466 * woman.el (woman-file-name): Remove unused variable `default'.
8467 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8468 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8469 (global-font-lock-mode): Declare.
8470 (woman-decode-region): Mark unused parameter.
8471 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8472
8473 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8474 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8475 (x-dnd-handle-moz-url): Remove unused variable `title'.
8476 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8477
8478 * xml.el (xml-parse-tag, xml-parse-attlist):
8479 Remove unused variable `pos'.
8480
bc4f7f3d
GM
84812011-04-19 Glenn Morris <rgm@gnu.org>
8482
8483 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8484 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8485 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8486 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8487 * calendar/cal-html.el (cal-html-insert-minical):
8488 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8489 (calendar-mark-date-pattern):
8490 Prefix "unused" locals.
8491
8492 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8493 optional argument `style'.
8494
8495 * calendar/appt.el (appt-make-list):
8496 * calendar/cal-china.el (calendar-chinese-date-string):
8497 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8498 (diary-hebrew-yahrzeit):
8499 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8500 * calendar/calendar.el (calendar-generate-window):
8501 * calendar/time-date.el (time-to-days):
8502 Remove unused local variables.
8503
16a43933
CY
85042011-04-18 Chong Yidong <cyd@stupidchicken.com>
8505
8506 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8507 glyphless-char-display table.
8508 (tabulated-list-glyphless-char-display): New var.
8509
7eed1860
SS
85102011-04-18 Sam Steingold <sds@gnu.org>
8511
8512 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
8513 to acknowledgments.
8514
4d2d1ccd
GM
85152011-04-17 Glenn Morris <rgm@gnu.org>
8516
8517 * calendar/diary-lib.el (diary-sexp-entry):
8518 * calendar/holidays.el (holiday-sexp):
8519 Set debug-on-error rather than the removed stack-trace-on-error.
8520
239da61d
GM
85212011-04-16 Glenn Morris <rgm@gnu.org>
8522
8523 * progmodes/f90.el: Use lexical-binding.
8524 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
8525
8b05752a
SM
85262011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8527
daca8ba5
SM
8528 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
8529 (mail-mode): Setup mailalias completion here instead.
8530 * mail/mailalias.el: Use lexical-binding.
8531 (pattern, mailalias-done): Declare dynamic.
8532 (mail-completion-at-point-function): New function, from mail-complete.
8533 (mail-complete): Use it.
8534 (mail-completion-expand): New function.
8535 (mail-get-names): Use it.
8536 (mail-directory, mail-directory-process, mail-directory-stream):
8537 Don't use `pattern' for lexically bound arg.
8538
6f542485
SM
8539 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
8540
037e7c3f
SM
8541 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
8542 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
8543 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
8544
8b05752a
SM
8545 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
8546 (byte-save-window-excursion, byte-temp-output-buffer-setup)
8547 (byte-interactive-p): Define them again, for use when inlining
8548 old code.
8549
49093f60
JB
85502011-04-15 Juanma Barranquero <lekktu@gmail.com>
8551
8552 * loadup.el: Use `string-to-number', not `string-to-int'.
8553
b5b8e7de
SM
85542011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8555
8556 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8557 gud-gdb-complete-command.
8558 (gud-gdb-completions): New function, from gud-gdb-complete-command.
8559 (gud-gdb-completion-at-point): New function.
8560 (gud-gdb-completions): Remove.
8561
f42efeb5
MA
85622011-04-14 Michael Albinus <michael.albinus@gmx.de>
8563
49093f60
JB
8564 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8565 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
8566 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8567 whether `executable-find' is bound.
f42efeb5
MA
8568
8569 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8570
e240cc21
SM
85712011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8572
8573 * minibuffer.el (completion-in-region-mode-predicate)
8574 (completion-in-region-mode--predicate): New vars.
8575 (completion-in-region, completion-in-region--postch)
8576 (completion-in-region-mode): Use them.
8577 (completion--capf-wrapper): Also return the hook function.
8578 (completion-at-point, completion-help-at-point):
8579 Adjust and provide a predicate.
c2bd2ab0
SM
8580
8581 Preserve arg names for advice of subr and lexical functions (bug#8457).
8582 * help-fns.el (help-function-arglist): Consolidate the subr and
8583 new-byte-code cases. Add argument `preserve-names' to extract names
8584 from the docstring when needed.
8585 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8586 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8587 (ad-arglist): Use help-function-arglist's new arg.
8588 (ad-definition-type): Use cond.
8589
c183f693
JB
85902011-04-13 Juanma Barranquero <lekktu@gmail.com>
8591
06641a47
JB
8592 * autorevert.el (auto-revert-handler):
8593 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8594 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8595 Don't quote lambda.
8596
c183f693
JB
8597 * image-mode.el (image-transform-set-scale):
8598 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8599
1e3b6001
G
86002011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8601
8602 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 8603 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
8604 Upgrades via gnutls-cli are too slow to be done opportunistically.
8605
2d6af8dd
JB
86062011-04-12 Juanma Barranquero <lekktu@gmail.com>
8607
8608 * dframe.el (dframe-current-frame): Remove spurious quote.
8609
c0749a51
GM
86102011-04-12 Glenn Morris <rgm@gnu.org>
8611
088d0d61
GM
8612 * calendar/cal-tex.el (cal-tex-end-document):
8613 Try to automatically use latin1 input if needed.
8614
c0749a51
GM
8615 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8616 Don't try to cons a mark onto an empty element.
8617
5c90fde0
LL
86182011-04-11 Leo Liu <sdl.web@gmail.com>
8619
8620 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8621 buffers.
8622 (ido-kill-buffer-at-head): Support killing virtual buffers.
8623
369e974d
CY
86242011-04-10 Chong Yidong <cyd@stupidchicken.com>
8625
8626 * minibuffer.el (completion-show-inline-help): New var.
8627 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
8628 (minibuffer-force-complete, minibuffer-complete-word):
8629 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
8630
8631 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8632 to avoid interference from inline help (Bug#5849).
8633
37f1c930
LL
86342011-04-10 Leo Liu <sdl.web@gmail.com>
8635
099c39a4
JB
8636 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8637 Fix typo.
37f1c930 8638
a32d4040
CY
86392011-04-09 Chong Yidong <cyd@stupidchicken.com>
8640
8641 * image-mode.el (image-toggle-display-image): Signal an error if
8642 not in Image mode.
8643 (image-transform-mode, image-transform-resize)
8644 (image-transform-set-rotation): Doc fix.
daca8ba5 8645 (image-transform-set-resize): Delete.
a32d4040
CY
8646 (image-transform-set-scale, image-transform-fit-to-height)
8647 (image-transform-fit-to-width): Handle image-toggle-display-image
8648 and image-transform-resize directly.
8649
099c39a4 86502011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
8651
8652 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
8653 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8654 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
8655 (doc-view-mode-map): Add bindings for the new functions.
8656
099c39a4 86572011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 8658
4d61f28d 8659 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
8660 Fix typo in docstring.
8661
3726838a
EZ
86622011-04-08 Eli Zaretskii <eliz@gnu.org>
8663
04f33f1e
EZ
8664 * files.el (file-size-human-readable): Produce one digit after
8665 decimal, like "ls -lh" does.
8666
8667 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8668 the file size representation.
8669
3726838a
EZ
8670 * simple.el (list-processes): If async subprocesses are not
8671 available, error out with a clear error message.
8672
cbb59342
CY
86732011-04-08 Chong Yidong <cyd@stupidchicken.com>
8674
8675 * help.el (help-form-show): New function, to be called from C.
8676 Put help-form output in a buffer named differently than *Help*.
8677
e3971c44
EZ
86782011-04-08 Eli Zaretskii <eliz@gnu.org>
8679
8680 * files.el (file-size-human-readable): New function.
8681
8682 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8683 computing the representation inline. Don't require `cl'.
8684
12544bbe
GM
86852011-04-08 Glenn Morris <rgm@gnu.org>
8686
a1de6c6a
GM
8687 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8688
3c4671f4
GM
8689 * net/browse-url.el (browse-url-firefox):
8690 Test system-type, not system-configuration.
8691
b605679c
GM
8692 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8693 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8694 Use log-edit-empty-buffer-p. (Bug#7598)
8695
56442f0c
GM
8696 * net/rlogin.el (rlogin-process-connection-type): Simplify.
8697 (rlogin-mode-map): Initialize in the defvar.
8698 (rlogin): Use ignore-errors.
8699
12544bbe
GM
8700 * replace.el (occur-mode-map): Some fixes for menu items.
8701
eb237b0f
AH
87022011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8703
8704 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
8705
7d668f2c
CY
87062011-04-06 Chong Yidong <cyd@stupidchicken.com>
8707
e67a13ab
CY
8708 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8709 issuing unused warnings.
8710
8711 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8712 macro directly.
8713
7d668f2c
CY
8714 * simple.el: Lisp reimplement of list-processes. Based on an
8715 earlier reimplementation by Leo Liu, but using tabulated-list.el.
8716 (process-menu-mode): New major mode.
8717 (list-processes--refresh, list-processes):
8718 (process-menu-visit-buffer): New functions.
8719
8720 * files.el (save-buffers-kill-emacs): Don't assume any return
8721 value of list-processes, which is undocumented anyway.
8722
a83ec3c9
CY
87232011-04-06 Chong Yidong <cyd@stupidchicken.com>
8724
8725 * emacs-lisp/tabulated-list.el: New file.
8726
e91a96fe
CY
8727 * emacs-lisp/package.el: Use Tabulated List mode.
8728 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8729 (package-menu-mode): Derive from tabulated-list-mode. Set up the
8730 table format using Tabulated List mode variables.
8731 (package--push): New macro, replacing package-list-maybe-add.
8732 (package-menu--generate): Use package--push. Renamed from
8733 package--generate-package-list.
8734 (package-menu-refresh, list-packages): Use it.
daca8ba5 8735 (package-menu--print-info): Rename from package-print-package.
e91a96fe 8736 Return insertion data instead of inserting it directly.
099c39a4
JB
8737 (package-menu-describe-package, package-menu-execute):
8738 Use tabulated-list-get-id.
e91a96fe
CY
8739 (package-menu-mark-delete, package-menu-mark-install)
8740 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
8741 (package-menu-mark-obsolete-for-deletion):
8742 Use tabulated-list-put-tag.
e91a96fe
CY
8743 (package--list-packages, package-menu-revert)
8744 (package-menu-get-package, package-menu-get-version)
8745 (package-menu-sort-by-column): Functions deleted.
8746 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8747 (package-menu--status-predicate, package-menu--version-predicate)
8748 (package-menu--name-predicate)
8749 (package-menu--description-predicate): Handle arguments in the
8750 Tabulated List format.
8751 (package-list-packages-no-fetch): Call list-packages.
8752
3e214b50
JB
87532011-04-06 Juanma Barranquero <lekktu@gmail.com>
8754
8755 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 8756 (after-find-file): Don't bind it.
3e214b50
JB
8757 (revert-buffer-in-progress-p): New variable.
8758 (revert-buffer): Bind it.
8759 Pass nil for `after-find-file-from-revert-buffer'.
8760
8761 * saveplace.el (save-place-find-file-hook): Use new variable
8762 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8763
3f0f1700
GM
87642011-04-06 Glenn Morris <rgm@gnu.org>
8765
c0274801
GM
8766 * Makefile.in (AUTOGEN_VCS): New variable.
8767 (autoloads): Use $AUTOGEN_VCS.
8768
3f0f1700
GM
8769 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8770 * calendar/calendar.el (calendar-mode-map):
8771 Check for toolkit scroll bars. (Bug#8305)
8772
41ea9e48
CY
87732011-04-05 Chong Yidong <cyd@stupidchicken.com>
8774
8775 * minibuffer.el (completion-in-region--postch)
8776 (completion-in-region-mode): Remove unnecessary messages.
8777
6194c800
JB
87782011-04-05 Juanma Barranquero <lekktu@gmail.com>
8779
33256f14
JB
8780 * font-lock.el (font-lock-refresh-defaults):
8781 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8782 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8783
6194c800
JB
8784 * info.el (Info-directory-list, Info-read-node-name-2)
8785 (Info-split-parameter-string): Doc fixes.
8786 (Info-virtual-nodes): Reflow docstring.
8787 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8788 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8789 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8790 Fix typos in docstrings.
8791 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8792 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8793 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8794 (Info-restore-desktop-buffer): Mark unused parameters.
8795 (Info-directory-find-file, Info-directory-find-node)
8796 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8797 (Info-virtual-index-find-node, Info-apropos-find-file)
8798 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 8799 Mark unused parameters; fix typos in docstrings.
6194c800
JB
8800 (Info-virtual-index): Remove unused local variable `nodename'.
8801
b87a8200 88022011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 8803
b87a8200
DD
8804 * net/rcirc.el: Update my e-mail address.
8805 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 8806
3b2ff876
CY
88072011-04-05 Chong Yidong <cyd@stupidchicken.com>
8808
8809 * startup.el (command-line): Save the cursor's theme-face
8810 directly, instead of using face-override-spec.
8811
8812 * custom.el (load-theme): Minor optimization in assigning faces.
8813
8d17e7ca
JB
88142011-04-04 Juanma Barranquero <lekktu@gmail.com>
8815
8816 * help-fns.el (describe-variable): Complete all variables having
8817 documentation, including keywords.
8818 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8819
2fbc1934
JB
88202011-04-04 Juanma Barranquero <lekktu@gmail.com>
8821
8822 Convert to lexical-binding.
8823
8824 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8825 (bs--get-marked-string, bs--get-modified-string)
8826 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8827 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8828 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8829
8830 * ehelp.el (electric-help-execute-extended)
8831 (electric-help-ctrl-x-prefix):
8832 * hexl.el (hexl-revert-buffer-function):
8833 * linum.el (linum-after-change, linum-after-scroll):
8834 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8835
8836 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8837
74f50695
DU
88382011-04-04 Daiki Ueno <ueno@unixuser.org>
8839
8840 * epa-dired.el:
8841 * epa-mail.el:
8842 * epa-hook.el:
8843 * epa-file.el:
8844 * epa.el:
8845 * epg.el: Use lexical binding.
8846
c11325f7
CY
88472011-04-03 Chong Yidong <cyd@stupidchicken.com>
8848
0d9e9a12
CY
8849 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8850
c11325f7 8851 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
8852 dictionary case for flyspell-mark-duplications-exceptions.
8853 Use regexp matching for languages.
c11325f7
CY
8854 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8855 default dictionary (Bug#7926).
8856
da91b5f2
CY
88572011-04-02 Chong Yidong <cyd@stupidchicken.com>
8858
099c39a4
JB
8859 * emacs-lisp/package.el (package--with-work-buffer):
8860 Recognize https URLs.
da91b5f2 8861
099c39a4
JB
8862 * net/network-stream.el: Move from gnus/proto-stream.el.
8863 Change prefix to network-stream throughout.
da91b5f2
CY
8864 (open-protocol-stream): Merge into open-network-stream, leaving
8865 open-protocol-stream as an alias. Handle nil BUFFER args.
8866
8867 * subr.el (open-network-stream): Move to net/network-stream.el.
8868
afa8e9f6
GM
88692011-04-02 Glenn Morris <rgm@gnu.org>
8870
1d2e369d
GM
8871 * find-dired.el (find-exec-terminator): New option.
8872 (find-ls-option): Test for -ls support.
8873 (find-ls-subdir-switches): Test for -b in find-ls-option.
8874 (find-dired, find-grep-dired): Doc fixes.
8875 (find-dired): Use find-exec-terminator.
8876
8abb7da8 8877 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
8878 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8879 (find-name-arg): Remove purecopy.
8abb7da8 8880
f3ca7378
GM
8881 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8882 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8883 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8884 accordingly. Don't add the null-device if not needed.
8885
afa8e9f6
GM
8886 * files.el (save-some-buffers): Doc fix.
8887
35eae264
EZ
88882011-04-02 Eli Zaretskii <eliz@gnu.org>
8889
8890 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8891
26b51db5
JB
88922011-04-01 Juanma Barranquero <lekktu@gmail.com>
8893
8894 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8895 Use `dolist' rather than `mapcar'.
8896
7200d79c
SM
88972011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8898
03408648 8899 Add lexical binding.
7200d79c 8900
03408648
SM
8901 * subr.el (apply-partially): Use new closures rather than CL.
8902 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8903 (dolist, dotimes): Use slightly different expansion for lexical code.
8904 (functionp): Move to C.
8905 (letrec): New macro.
8906 (with-wrapper-hook): Use it and apply-partially instead of CL.
8907 (eval-after-load): Preserve lexical-binding.
8908 (save-window-excursion, with-output-to-temp-buffer): Turn them
8909 into macros.
7200d79c 8910
03408648
SM
8911 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8912
8913 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8914 than the arglist.
8915 (help-add-fundoc-usage): Don't add `Not documented'.
8916 (help-function-arglist): Handle closures, subroutines, and new
8917 byte-code-functions.
8918 (help-make-usage): Remove leading underscores.
8919 (describe-function-1): Handle closures.
8920 (describe-variable): Use special-variable-p for completion.
8921
8922 * files.el (lexical-binding): Declare safe.
f488fb65 8923
03408648
SM
8924 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8925 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8926 (pcase): Add `let' pattern.
8927 Change memoization so it actually works.
8928 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8929 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8930 <let>: New case.
f488fb65 8931
03408648
SM
8932 * emacs-lisp/macroexp.el: Use lexical binding.
8933 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8934 Don't convert ' to #' without checking that it's indeed quoting
8935 a lambda.
8936
8937 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 8938 Use eval-sexp-add-defvars.
03408648
SM
8939 (eval-sexp-add-defvars): New fun.
8940
8941 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8942
8943 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8944 Don't autoload.
8945 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8946 than the internal `byte-compile-lambda'.
8947 (defmethod): Don't hide code under quotes.
8948 (eieio-defmethod): New `code' argument.
8949
8950 * emacs-lisp/eieio-comp.el: Remove.
8951
8952 * emacs-lisp/edebug.el (edebug-eval-defun)
8953 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8954 (edebug-toggle): Avoid `eval'.
8955
8956 * emacs-lisp/disass.el (disassemble-internal): Handle new
8957 `closure' objects.
8958 (disassemble-1): Handle new byte codes.
8959
8960 * emacs-lisp/cl.el (pushnew): Silence warning.
8961
8962 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8963 (cl-byte-compile-throw): Remove.
8964 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8965
8966 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8967 closures.
8968
8969 * emacs-lisp/cconv.el: New file.
8970
8971 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8972 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8973 (byte-compile-initial-macro-environment):
8974 Handle declare-function here.
8975 (byte-compile--lexical-environment): New var.
8976 (byte-stack-ref, byte-stack-set, byte-discardN)
8977 (byte-discardN-preserve-tos): New lap codes.
8978 (byte-interactive-p): Don't use any more.
8979 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8980 New macros.
8981 (byte-compile-lapcode): Use them and handle new lap codes.
8982 (byte-compile-obsolete): Remove.
8983 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8984 (byte-compile-arglist-warn): Check late def of inlinable funs.
8985 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8986 since they should have been expanded by now.
8987 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8988 (byte-compile-from-buffer): Remove unused second arg.
8989 (byte-compile-preprocess): New function.
8990 (byte-compile-toplevel-file-form): New function to distinguish
8991 file-form calls from outside from file-form calls from hunk-handlers.
8992 (byte-compile-file-form): Simplify.
8993 (byte-compile-file-form-defsubst): Remove.
8994 (byte-compile-file-form-defmumble): Simplify now that
8995 byte-compile-lambda always returns a byte-code-function.
8996 (byte-compile): Preprocess.
8997 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8998 Remove, not used any more.
8999 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9000 (byte-compile-make-args-desc): New funs.
9001 (byte-compile-lambda): Handle lexical functions. Always return
9002 a byte-code-function.
9003 (byte-compile-reserved-constants): New var, to make up room for
9004 closed-over variables.
9005 (byte-compile-constants-vector): Obey it.
9006 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9007 (byte-compile-macroexpand-declare-function): New function.
9008 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9009 byte-code-functions.
9010 (byte-compile-form): Check obsolescence here.
9011 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9012 (byte-compile-variable-ref): Remove.
9013 (byte-compile-dynamic-variable-op): New fun.
9014 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9015 (byte-compile-variable-set): New funs.
9016 (byte-compile-discard): Add 2 args.
9017 (byte-compile-stack-ref, byte-compile-stack-set)
9018 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9019 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9020 macroexpand-all instead.
9021 (byte-compile-quote-form): Remove.
9022 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9023 (byte-compile-bind, byte-compile-unbind): New funs.
9024 (byte-compile-let): Handle let* and lexical binding.
9025 (byte-compile-let*): Remove.
9026 (byte-compile-catch, byte-compile-unwind-protect)
9027 (byte-compile-track-mouse, byte-compile-condition-case):
9028 Handle a new :fun-body form, used for lexical scoping.
9029 (byte-compile-save-window-excursion)
9030 (byte-compile-with-output-to-temp-buffer): Remove.
9031 (byte-compile-defun): Simplify.
9032 (byte-compile-stack-adjustment): New fun.
9033 (byte-compile-out): Use it.
9034 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9035
9036 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9037 handler any more.
9038
9039 * emacs-lisp/byte-opt.el: Use lexical binding.
9040 (byte-inline-lapcode): Remove (to bytecomp).
9041 (byte-compile-inline-expand): Pay attention to inlining to/from
9042 lexically bound code.
9043 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9044 any more.
9045 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9046 any more and don't call compiler-macros.
9047 (byte-compile-splice-in-already-compiled-code): Remove.
9048 (byte-code): Don't inline any more.
9049 (disassemble-offset): Receive `bytes' as argument rather than via
9050 dynamic scoping.
9051 (byte-compile-tag-number): Declare before first use.
9052 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9053 `return' even if make-spliceable.
9054 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9055 obsolete interactive-p.
9056 (byte-optimize-lapcode): Optimize new lap-codes.
9057 Don't trip up on new form of `byte-constant' lap code.
9058
9059 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9060
9061 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9062
9063 * custom.el (custom-initialize-default, custom-declare-variable):
9064 Use `defvar'.
9065
9066 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9067 New variables.
9068 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9069 (COMPILE_FIRST): Add macroexp and cconv.
9070 * makefile.w32-in: Mirror changes in Makefile.in.
9071
9072 * vc/cvs-status.el:
9073 * vc/diff-mode.el:
9074 * vc/log-edit.el:
9075 * vc/log-view.el:
9076 * vc/smerge-mode.el:
9077 * textmodes/bibtex-style.el:
9078 * textmodes/css.el:
9079 * startup.el:
9080 * uniquify.el:
da91b5f2
CY
9081 * minibuffer.el:
9082 * newcomment.el:
9083 * reveal.el:
9084 * server.el:
9085 * mpc.el:
9086 * emacs-lisp/smie.el:
9087 * doc-view.el:
9088 * dired.el:
03408648
SM
9089 * abbrev.el: Use lexical binding.
9090
0f0c1f27
EZ
90912011-04-01 Eli Zaretskii <eliz@gnu.org>
9092
9093 * info.el (info-display-manual): New function.
9094
c82b2579
SM
90952011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9096
9097 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9098
221ddf68
TH
90992011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9100
9101 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9102 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9103
cba6e77e
GM
91042011-03-31 Glenn Morris <rgm@gnu.org>
9105
e040639f
GM
9106 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9107
cba6e77e
GM
9108 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9109
6d0f1c9e
CS
91102011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9111
9112 * progmodes/python.el (python-default-interpreter)
9113 (python-python-command-args, python-jython-command-args)
9114 (python-which-shell, python-which-args, python-which-bufname)
9115 (python-file-queue, python-comint-output-filter-function)
9116 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9117 variables and functions.
9118
3e2d70fd
SM
91192011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9120
9121 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9122 (completion-in-region-mode): New minor mode.
9123 (completion-in-region): Use it.
9124 (completion-in-region--data, completion-in-region-mode-map): New vars.
9125 (completion-in-region--postch): New function.
9126 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9127 New vars.
9128 (completion--capf-wrapper): New function.
9129 (completion-at-point): Use it to track well-behavedness of
9130 hook functions.
9131 (completion-help-at-point): New command.
9132
f3e4086c
JM
91332011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9134
9135 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9136 syntax class to search for whitespace on a single line
9137 (Message-ID: <4D938140.4030905@redhat.com>).
9138
eb7ffc14
LL
91392011-03-30 Leo Liu <sdl.web@gmail.com>
9140
9141 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9142 New commands.
9143 (edit-abbrevs-map): Bind them here.
9144 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9145
d806ab68
KM
91462011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9147
9148 * allout.el (allout-hide-by-annotation, allout-flag-region):
9149 Reduce possibility of overlay leakage by making them volatile.
9150
9151 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9152 hash is not shared between buffers. Mode initialization is
9153 responsible for giving it a useful starting value.
9154 (allout-item-span): Reduce possibility of overlay leakage by
9155 making them volatile.
9156 (allout-widgets-count-buttons-in-region): Add diagnostic function
9157 for tracking down button overlay leaks.
9158
ea622834
LL
91592011-03-29 Leo Liu <sdl.web@gmail.com>
9160
9161 * ido.el (ido-read-internal): Use the default history var
9162 minibuffer-history if no HISTORY is specified.
9163
b62f8267
G
91642011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9165
03408648
SM
9166 * net/imap.el (imap-shell-open, imap-process-connection-type):
9167 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
9168 Kerberos, SSL, other subprocesses.
9169
947b6566
LL
91702011-03-28 Leo Liu <sdl.web@gmail.com>
9171
9172 * abbrev.el (abbrev-table-empty-p): New function.
9173 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9174 nonempty ones. (Bug#5937)
9175
5ffb62aa
JD
91762011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9177
9178 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9179
7a097943
LL
91802011-03-27 Leo Liu <sdl.web@gmail.com>
9181
9182 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9183 for foreground and background colors.
9184 (ansi-color-make-color-map): Adapt.
9185
c5b40130
LL
91862011-03-25 Leo Liu <sdl.web@gmail.com>
9187
1f48f7d2
LL
9188 * midnight.el (midnight-time-float): Remove. Note it calculates
9189 the microsecond component incorrectly and seconds-to-time does the
9190 same job.
625897ec 9191 Remove redundant (require 'timer).
1f48f7d2 9192
c5b40130
LL
9193 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9194 (ido-completions): Remove unused arguments. (Bug#8329)
9195
d86d2721
SM
91962011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9197
9198 * minibuffer.el (completion--flush-all-sorted-completions):
9199 Remove itself from hook.
9200 (completion-at-point): Let the functions perform the completion
9201 immediately and return nil or t.
9202 * comint.el (comint-dynamic-complete-functions): Now identical to
9203 completion-at-point-functions.
9204 (comint-dynamic-list-input-ring): Remove unused var `index'.
9205 (comint--match-partial-filename, comint--unquote&expand-filename):
9206 New funs, split from comint-match-partial-filename.
9207 (comint-dynamic-complete): Use completion-at-point.
9208 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9209
e8974c48
DA
92102011-03-24 Drew Adams <drew.adams@oracle.com>
9211
9212 * thingatpt.el: Support `defun'.
9213
def71b5e
LL
92142011-03-23 Leo Liu <sdl.web@gmail.com>
9215
cb5af48e
LL
9216 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9217
def71b5e
LL
9218 * help-mode.el (help-mode-finish): Tweak regexp.
9219
927c53e7
GM
92202011-03-23 Glenn Morris <rgm@gnu.org>
9221
18d05bed
GM
9222 * eshell/esh-opt.el (eshell-eval-using-options):
9223 Do not bind unused local variable `eshell-option-stub'.
9224
927c53e7
GM
9225 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9226
9d0da923
JB
92272011-03-22 Juanma Barranquero <lekktu@gmail.com>
9228
9229 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9230 keymap variable in `with-no-warnings' to avoid a warning when the
9231 keymap has been already `defconst'ed.
9232
4b978a67
LL
92332011-03-22 Leo Liu <sdl.web@gmail.com>
9234
9235 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9236 encode all chars in abbrevs; otherwise use emacs-mule or
9237 utf-8-emacs. (Bug#8308)
9238
5fd62452
JB
92392011-03-22 Juanma Barranquero <lekktu@gmail.com>
9240
0b1596c6
JB
9241 * simple.el (backward-delete-char-untabify):
9242 Avoid warning about using `delete-backward-char'.
9243
5fd62452
JB
9244 * image.el (image-type-file-name-regexps): Make it variable.
9245 `imagemagick-register-types' modifies it, and the user may want
9246 to add new extensions for known image types.
9247 (imagemagick-register-types): Throw error if not using ImageMagick.
9248
0b4e93f1
LL
92492011-03-22 Leo Liu <sdl.web@gmail.com>
9250
9251 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9252 located before rcirc-prompt-end-marker.
9253 (rcirc-complete): Error if point is not after rcirc prompt.
9254 Handle the case when table is nil.
9882e214 9255 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9256
fccee4ab
CY
92572011-03-22 Chong Yidong <cyd@stupidchicken.com>
9258
9259 * custom.el (custom--inhibit-theme-enable): Make it affect only
9260 custom-theme-set-variables and custom-theme-set-faces.
9261 (provide-theme): Ignore custom--inhibit-theme-enable.
9262 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9263 (custom-enabling-themes): Delete variable.
d86d2721
SM
9264 (enable-theme): Accept only loaded themes as arguments.
9265 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9266 (custom-enabled-themes): Forbid themes from setting this.
9267 Eliminate use of custom-enabling-themes.
9268 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9269
af896da6
LL
92702011-03-21 Leo Liu <sdl.web@gmail.com>
9271
9272 * ido.el (ido-read-internal): Add ido-selected to history instead
9273 of user input.
9274
78f64af0
SM
92752011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * subr.el (deferred-action-list, deferred-action-function):
9278 Mark obsolete.
9279
b16ac1ec
LL
92802011-03-21 Leo Liu <sdl.web@gmail.com>
9281
810f7698
LL
9282 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9283 change on 2011-02-13 (bug#8309).
9284
b16ac1ec
LL
9285 * minibuffer.el (read-file-name-function): Change default value.
9286 (read-file-name--defaults): Rename from read-file-name-defaults.
9287 (read-file-name-default): Rename from read-file-name.
9288 (read-file-name): Call read-file-name-function.
9289
4e05e67e
GM
92902011-03-21 Glenn Morris <rgm@gnu.org>
9291
9292 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9293 Doc fixes.
9294
4359915b
CY
92952011-03-21 Chong Yidong <cyd@stupidchicken.com>
9296
9297 * cus-theme.el: Add missing provide statement.
9298 (customize-create-theme): Extract theme value correctly.
9299 (custom-theme-visit-theme): Autoload.
9300 (customize-create-theme): Prompt before inserting default faces.
9301
1fe275ee
JB
93022011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9303
9304 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9305 units and musical notes.
9306
3ec03f7e
LL
93072011-03-20 Leo <sdl.web@gmail.com>
9308
9309 * ido.el (ido-read-internal): Use completing-read-default.
9310 (ido-completing-read): Fix compatibility with completing-read.
9311
7d476bde
CO
93122011-03-20 Christian Ohler <ohler@gnu.org>
9313
9314 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9315 (ert-delete-all-tests): Use `called-interactively-p' rather than
9316 `interactive-p'.
9317 (ert--make-xrefs-region): Respect END.
9318
fe0fb33e
CY
93192011-03-19 Chong Yidong <cyd@stupidchicken.com>
9320
ff854b0b
CY
9321 * dired-aux.el (dired-create-directory): Signal an error if the
9322 directory already exists (Bug#8246).
9323
fe0fb33e
CY
9324 * facemenu.el (list-colors-display): Call list-faces-display
9325 inside with-help-window.
9326 (list-colors-print): Use display property to align the final
9327 column, instead of checking window-width.
9328
576bce32
EZ
93292011-03-19 Eli Zaretskii <eliz@gnu.org>
9330
4d61f28d 9331 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
9332 windows-nt systems.
9333 (emerge-protect-metachars): Quote correctly for ms-dos and
9334 windows-nt systems.
9335
89c41d68 93362011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
9337
9338 * info.el (info-initialize): Replace all uses of `:' with
9339 path-separator for compatibility with non-Unix systems.
9340 Cache quoting of path-separator. (Bug#8258)
9341
b14e3e21 93422011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
9343
9344 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9345 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9346 (mouse-avoidance-mode): Fix typos in docstrings.
9347
4525ce3e
CY
93482011-03-19 Chong Yidong <cyd@stupidchicken.com>
9349
9350 * startup.el (package-subdirectory-regexp): Move from package.el.
9351 Omit \\` and \\', and let callers add them.
9352
9353 * emacs-lisp/package.el (package-strip-version)
9354 (package-load-all-descriptors): Add \\` and \\' to
9355 package-subdirectory-regexp before using it.
9356 (package-untar-buffer): New arg DIR; ensure that file untars only
9357 into this expected directory. Remove superfluous delete-region.
9358 (package-unpack): Caller changed.
9359 (package-tar-file-info): Use package-subdirectory-regexp.
9360
a904a09a 93612011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 9362
a904a09a
SM
9363 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9364 diff-mode-shared-map (bug#8284).
9365 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
9366
93672011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9368
9369 * calendar/time-date.el (format-seconds): Use assoc instead of
9370 assoc-string, since assoc-string doesn't exist in XEmacs.
9371
171fc304
JB
93722011-03-17 Juanma Barranquero <lekktu@gmail.com>
9373
9374 * custom.el (custom-known-themes): Reflow docstring.
9375 (custom-theme-load-path): Fix typo in docstring.
9376 (load-theme): Fix typo in error message.
9377 (custom-available-themes, custom-variable-theme-value):
9378 Use `let', not `let*'.
9379
d71990a1
JB
93802011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9381
9382 * calc/README: Mention inclusion of musical notes.
9383
9384 * calc/calc-units.el (calc-lu-quant): Rename from
9385 `calc-logunits-quantity'.
9386 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9387 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9388 (calc-db): Rename from `calc-dblevel'.
9389 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9390 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9391 (calc-np): Rename from `calc-nplevel'.
9392 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9393 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9394 (calc-lu-plus): Rename from `calc-logunits-add'.
9395 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9396 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9397 (calc-lu-minus): Rename from `calc-logunits-sub'.
9398 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9399 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9400 (calc-lu-times): Rename from `calc-logunits-mul'.
9401 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9402 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9403 (calc-lu-divide): Rename from `calc-logunits-div'.
9404 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9405 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9406
9407 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9408 functions being autoloaded.
9409
9410 * calc/calc.el (calc-lu-power-reference): Rename from
9411 `calc-logunits-power-reference'.
9412 (calc-lu-field-reference): Rename from
9413 `calc-logunits-field-reference'.
9414
9415 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9416
40c2934b
SM
94172011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9418
9419 * minibuffer.el (completion-all-sorted-completions):
9420 Use :completion-cycle-penalty text property if present.
9421
b0911414
KM
94222011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9423
9424 * allout.el (allout-yank-processing): Adjust for new rebulleting
9425 regime so bullet being yanked is used without prompting the user
9426 for a choice.
9427
8a05b668
JB
94282011-03-16 Juanma Barranquero <lekktu@gmail.com>
9429
9430 * startup.el (command-line): Warn the user that _emacs is deprecated.
9431
5ba5fb81
JB
94322011-03-16 Juanma Barranquero <lekktu@gmail.com>
9433
9434 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9435 (delphi-verbose, delphi-comment-face, delphi-string-face)
9436 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9437 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9438 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9439 (delphi-new-comment-line, delphi-font-lock-defaults)
9440 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9441 Fix typos in docstrings.
9442
2dab465b
KM
94432011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9444
5ba5fb81 9445 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
9446 Invert the roles of character and string values for INSTEAD, so a
9447 string is used for the more common case of a defaulting prompt.
9448
0adf5618
SM
94492011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9450
9451 * progmodes/ruby-mode.el (ruby-backward-sexp):
9452 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9453 * play/gamegrid.el (gamegrid-make-face):
9454 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9455 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9456 * notifications.el (notifications-notify):
9457 * net/xesam.el (xesam-search-engines):
9458 * net/quickurl.el (quickurl-list-insert):
9459 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9460
d72700e5
CY
94612011-03-15 Chong Yidong <cyd@stupidchicken.com>
9462
9463 * startup.el (command-line): Update package subdirectory regexp.
9464
49c5410a
SM
94652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9466
c6eee9aa
SM
9467 * allout.el (allout-abbreviate-flattened-numbering)
9468 (allout-mode-deactivate-hook): Fix up obsolescence "date".
9469
49c5410a
SM
9470 * subr.el (read-char-choice): Only show the cursor after the prompt,
9471 not after the answer.
9472
047b2bb9
KR
94732011-03-15 Kevin Ryde <user42@zip.com.au>
9474
9475 * help-fns.el (variable-at-point): Skip leading quotes, if any
9476 (bug#8253).
9477
0a57d256
SM
94782011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9481 warning message.
9482
77c992bc
MA
94832011-03-14 Michael Albinus <michael.albinus@gmx.de>
9484
9485 * shell.el (shell): When called interactively, offer to change the
9486 shell file name on remote hosts.
9487
eebc475d
TZ
94882011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
9489
9490 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9491 integration for LDAP parameters. The host, base, user or binddn,
9492 and secret tokens can be specified in a netrc file, for instance.
9493 This is optional because an `auth-source' parameter must be
9494 specified in the search attributes.
9495
9d05d1ba
JB
94962011-03-13 Juanma Barranquero <lekktu@gmail.com>
9497
9498 * help.el (describe-mode): Link to the mode's definition (bug#8185).
9499
09d9db2c
GM
95002011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9503 into declaration. Remove redundant and harmful binding.
9504
95052011-03-12 Eli Zaretskii <eliz@gnu.org>
9506
9507 * files.el (file-ownership-preserved-p): Pass `integer' as an
9508 explicit 2nd argument to `file-attributes'. If the file's owner
9509 is the Administrators group on Windows, and the current user is
9510 Administrator, consider that a match.
9511
9512 * server.el (server-ensure-safe-dir): Consider server directory
9513 safe on MS-Windows if its owner is the Administrators group while
9514 the current Emacs user is Administrator. Use `=' to compare
9515 numerical UIDs, since they could be integers or floats.
9516
219bd536
JB
95172011-03-12 Juanma Barranquero <lekktu@gmail.com>
9518
9519 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
9520
f3afd36b
MA
95212011-03-12 Michael Albinus <michael.albinus@gmx.de>
9522
9523 Sync with Tramp 2.2.1.
9524
9525 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
9526
9527 * net/trampver.el: Update release number.
9528
3aaaa6f1
SM
95292011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9530
94642599
SM
9531 * progmodes/compile.el (compilation--previous-directory): Fix up
9532 various nil/dead-marker mismatches (bug#8014).
9533 (compilation-directory-properties, compilation-error-properties):
9534 Don't call it at a position past the one we're about to change.
9535
3aaaa6f1
SM
9536 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
9537 Disable obsolescence warnings in the file that declares it.
9538
14239447
KM
95392011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
9540
099c39a4
JB
9541 * allout-widgets.el (allout-widgets-tally):
9542 Initialize allout-widgets-tally as a hash table rather than nil to
9543 prevent mode-line redisplay warnings. Also, clarify the module
9544 description and fix a comment typo.
14239447 9545
135e287c
JB
95462011-03-11 Juanma Barranquero <lekktu@gmail.com>
9547
9548 * help-fns.el (describe-variable): Don't complete keywords.
9549 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
9550
ffbf300e
CY
95512011-03-10 Chong Yidong <cyd@stupidchicken.com>
9552
ba08b241
CY
9553 * emacs-lisp/package.el (package-version-join): Impose a standard
9554 string representation for pre/alpha/beta version lists.
9555 (package-unpack-single): Standardize the directory name by passing
9556 it through package-version-join.
9557 (package-strip-rcs-id): Accept any version string that does not
9558 signal an error in version-to-list.
ffbf300e 9559
f346fd6b
MA
95602011-03-10 Michael Albinus <michael.albinus@gmx.de>
9561
9562 * simple.el (delete-trailing-whitespace): Return nil for the
9563 benefit of `write-file-functions'.
9564
ccb55d27
GM
95652011-03-10 Glenn Morris <rgm@gnu.org>
9566
5ceaac0c
GM
9567 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9568
02da65ff
GM
9569 * vc/vc-git.el (vc-git-program): New option.
9570 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9571 (vc-git--call): Use it.
9572
b2f603cc
GM
9573 * eshell/esh-util.el (eshell-condition-case): Doc fix.
9574
5772caab
GM
9575 * cus-edit.el (Custom-newline): If no button at point, look
9576 for a subgroup button at start-of-line. (Bug#2298)
9577
ccb55d27
GM
9578 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9579
ec6ecaed
JD
95802011-03-10 Julien Danjou <julien@danjou.info>
9581
9582 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9583 `cursor-type' is nil.
9584
9d5aa01d
JB
95852011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
9586
9587 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9588
b6a5875b
KM
95892011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
9590
9591 * allout.el Summary: Change so yank of distinctive-bullet items
9592 preserves the existing header prefix, rebulleting it if necessary,
9593 rather than replacing it. This is necessary for proper operation
9594 of cooperative addons like allout-widgets.
1154d12e
JB
9595 (allout-make-topic-prefix, allout-rebullet-heading):
9596 Change SOLICIT arg to INSTEAD, and interpret additionally a string
9597 value as alternate bullet to be used, instead of prompting the user
9598 for a bullet character.
b6a5875b 9599
ee545c35
MA
96002011-03-09 Michael Albinus <michael.albinus@gmx.de>
9601
d86d2721
SM
9602 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9603 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
9604 `tramp-default-port'.
9605
c47971d7
DD
96062011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9607
9608 * net/rcirc.el (rcirc-handler-001): Remove useless
9609 with-rcirc-process-buffer.
9610 (rcirc-check-auth-status): Swap arguments to string-match.
9611
13522cb4
GM
96122011-03-09 Glenn Morris <rgm@gnu.org>
9613
0be6f4f1
GM
9614 * shell.el (shell-mode):
9615 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
9616
13522cb4
GM
9617 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9618 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
9619
515de2e3
CY
96202011-03-08 Chong Yidong <cyd@stupidchicken.com>
9621
9622 * emacs-lisp/package.el (package-refresh-contents)
9623 (package-menu-execute): Use condition-case-no-debug.
9624
b511b994
MA
96252011-03-08 Michael Albinus <michael.albinus@gmx.de>
9626
9627 * simple.el (shell-command-to-string): Use `process-file'.
9628
9629 * emacs-lisp/package.el (package-tar-file-info): Handle also
9630 remote files.
9631
d86d2721
SM
9632 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9633 Use `equal' for upload base check.
b511b994 9634
25bbfb31
AM
96352011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
9636
9637 * textmodes/texinfo.el (texinfo-environments):
9638 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
9639
be996521
GM
96402011-03-08 Glenn Morris <rgm@gnu.org>
9641
e9c8529f
GM
9642 * cus-start.el (cursor-in-non-selected-windows):
9643 Fix :set quoting oddness. (Bug#8192)
9644
be996521
GM
9645 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9646 in some setf expressions. (Bug#2159)
9647
2bb5649e
CY
96482011-03-08 Chong Yidong <cyd@stupidchicken.com>
9649
9650 * custom.el (custom-available-themes): Return themes in
9651 alphabetical order.
9652
33383987 9653See ChangeLog.15 for earlier changes.
e3d51b27
MR
9654
9655;; Local Variables:
9656;; coding: utf-8
e3d51b27
MR
9657;; End:
9658
33383987 9659 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
9660
9661 This file is part of GNU Emacs.
9662
9663 GNU Emacs is free software: you can redistribute it and/or modify
9664 it under the terms of the GNU General Public License as published by
9665 the Free Software Foundation, either version 3 of the License, or
9666 (at your option) any later version.
9667
9668 GNU Emacs is distributed in the hope that it will be useful,
9669 but WITHOUT ANY WARRANTY; without even the implied warranty of
9670 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9671 GNU General Public License for more details.
9672
9673 You should have received a copy of the GNU General Public License
9674 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.