lisp/speedbar.el (speedbar-supported-extension-expressions): Add .adb, .ads.
[bpt/emacs.git] / lisp / ChangeLog
1 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2
3 * speedbar.el (speedbar-supported-extension-expressions):
4 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5
6 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7
8 * printing.el (pr-mode-alist):
9 * simple.el (filter-buffer-substring-functions)
10 (completion-list-insert-choice-function):
11 * window.el (window-with-parameter, window-atom-root)
12 (window-sides-slots, window-size-fixed, window-min-delta)
13 (window-max-delta, window--resize-mini-window)
14 (window--resize-child-windows-normal, window-tree)
15 (delete-other-windows, quit-window, split-window)
16 (display-buffer-record-window, special-display-buffer-names)
17 (special-display-regexps, special-display-popup-frame)
18 (same-window-p, split-window-sensibly)
19 (display-buffer-overriding-action, display-buffer-alist)
20 (display-buffer-base-action, display-buffer, switch-to-buffer)
21 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
22 (fit-window-to-buffer, recenter-positions)
23 (mouse-autoselect-window-state, mouse-autoselect-window-select):
24 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
25 and remove unneeded backslashes in docstrings.
26
27 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
28
29 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
30
31 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
32 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
33 end in ".mk".
34 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
35 when reading the makefile (bug#10116).
36
37 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
40 (bug#10116).
41
42 2011-12-06 Glenn Morris <rgm@gnu.org>
43
44 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
45
46 2011-12-06 Chong Yidong <cyd@gnu.org>
47
48 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
49
50 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
51
52 * textmodes/table.el (table-shorten-cell): Fix typo.
53
54 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
55
56 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
57
58 2011-12-05 Eli Zaretskii <eliz@gnu.org>
59
60 * descr-text.el (describe-char): Fix display of strong
61 right-to-left characters and directional embeddings and overrides.
62
63 * simple.el (what-cursor-position): Fix display of codepoints of
64 strong right-to-left characters.
65
66 2011-12-05 Chong Yidong <cyd@gnu.org>
67
68 * faces.el (read-color): Doc fix.
69
70 2011-12-05 Glenn Morris <rgm@gnu.org>
71
72 * align.el (align--set-marker): Add doc-string.
73 Don't try to move something that is not a marker. (Bug#10216)
74
75 2011-12-04 Glenn Morris <rgm@gnu.org>
76
77 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
78 overly zealous deletion of trailing whitespace.
79
80 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
81
82 * server.el (server-delete-client): On Windows, do not try to delete
83 the only terminal.
84 (server-process-filter): On Windows, treat requests for a tty frame as
85 if they were for a GUI frame if the running server is in GUI mode.
86
87 2011-12-03 Glenn Morris <rgm@gnu.org>
88
89 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
90
91 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * electric.el: Streamline electric-indent's hook.
94 (electric-indent-chars): Revert to simple list.
95 (electric-indent-functions): New var.
96 (electric-indent-post-self-insert-function): Use it.
97
98 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
99 there's no inferior buffer (bug#10196).
100 (prolog-consult-compile): Don't use toggle-read-only.
101
102 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
103
104 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
105 interrupt. (Bug#10187)
106
107 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
108
109 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
110 (bug#9160).
111
112 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
113 (bug#10191).
114
115 2011-12-02 Juri Linkov <juri@jurta.org>
116
117 * info.el (Info-search): Display "end of manual" when Isearch
118 reaches the end of single-file Info manual. (Bug#9918)
119
120 2011-12-02 Eli Zaretskii <eliz@gnu.org>
121
122 * isearch.el (isearch-message-prefix): Run the input method part
123 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
124
125 2011-12-02 Juri Linkov <juri@jurta.org>
126
127 * isearch.el (isearch-occur): Use `word-search-regexp' for
128 `isearch-word'.
129 (isearch-search-and-update): Add condition for `isearch-word' and
130 call `word-search-regexp'. (Bug#10145)
131
132 2011-12-01 Glenn Morris <rgm@gnu.org>
133
134 * eshell/em-hist.el (eshell-hist-initialize):
135 Handle eshell-history-size nil and HISTSIZE set or unset.
136 (eshell-history-file-name, eshell-history-size): Fix custom type.
137
138 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
141
142 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
143
144 * progmodes/verilog-mode.el (verilog-pretty-expr):
145 Rework verilog-pretty-expr to handle new assignment operators in system
146 verilog, such as += *= and the like.
147 (verilog-assignment-operator-re): Regular expression to find the
148 assigment operator in a verilog assignment.
149 (verilog-assignment-operation-re): Regular expression to find an
150 assignment statement for pretty-expr.
151 (verilog-in-attribute-p): Query returns true if point is in an
152 attribute context; used to skip these for expression line up from
153 pretty-expr.
154 (verilog-in-parameter-p): Query returns true if point is in an
155 parameter definition context; used to skip these for expression
156 line up from pretty-expr.
157 (verilog-in-parenthesis-p): Query returns true if point is in a
158 parenthetical expression, specifically ( ) but not [ ] or { };
159 used by pretty-expr.
160 (verilog-just-one-space): If there is no space, don't add one.
161 (verilog-get-lineup-indent-2): Specifically skip just attribute
162 contexts for expression lineup, rather than skipping all
163 parenthetical expressions.
164 (verilog-calculate-indent): Fix comment, and fix indent.
165 (verilog-do-indent): Indent declarations in lists (suggested by
166 Joachim Lechner).
167 (verilog-mode-abbrev-table): Populate abbrev mode with the various
168 skeleton items.
169 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
170 by Alain Mellan).
171
172 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
173
174 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
175 parameters with embedded comments. Reported by Ray Stevens.
176 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
177 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
178 Reported by Tim Holt.
179 (verilog-auto): Fix AUTOing a upper module then AUTOing module
180 instantiated by upper module causing wrong expansion until AUTOed a
181 second time. Reported by K C Buckenmaier.
182 (verilog-diff-auto): Fix showing .* as a difference when
183 `verilog-auto-star-save' off. Reported by Dan Dever.
184 (verilog-auto-reset, verilog-read-always-signals)
185 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
186 temporary signals in reset list if
187 verilog-auto-reset-blocking-in-non is nil, and match assignment
188 style to each signal's assignment type, bug381.
189 Reported by Thomas Esposito.
190 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
191 (verilog-uvm-statement-re): Support UVM indentation and
192 highlighting, with old OVM keywords only.
193 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
194 Support AUTOTIEOFF creating non-wire data types. Suggested by Jonathan
195 Greenlaw.
196 (verilog-auto-insert-lisp, verilog-delete-to-paren)
197 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
198 (verilog-inject-sense, verilog-read-inst-pins)
199 (verilog-read-sub-decls, verilog-read-sub-decls-line):
200 Fix mismatching parenthesis inside commented out code when deleting
201 AUTOINST, bug383. Reported by Jonathan Greenlaw.
202 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
203 non-numeric vector width. Reported by Alex Reed.
204 (verilog-auto-ascii-enum): Add "onehot" option to work around not
205 detecting signals with parameter widths. Reported by Alex Reed.
206 (verilog-auto-delete-trailing-whitespace):
207 With `verilog-auto-delete-trailing-whitespace' remove trailing
208 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
209 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
210 Fix verilog-scan-cache corruption when running user AUTO expansion
211 hooks that call indentation routines.
212 (verilog-simplify-range-expression): Fix typo ignoring lower case
213 identifiers.
214 (verilog-delete-auto): Fix delete-autos to also remove user created
215 automatics, as long as they start with AUTO.
216 (verilog-batch-diff-auto, verilog-diff-auto)
217 (verilog-diff-function): Add `verilog-diff-auto' and bind to
218 "C-c?" to report differences in AUTO expansion, ignoring spaces.
219 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
220 (verilog-in-paren-quick, verilog-re-search-backward-quick)
221 (verilog-re-search-forward-quick, verilog-syntax-ppss):
222 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
223 is disabled and its cache will get corrupt, causing AUTOS not to
224 expand. Instead use only -quick functions.
225 (verilog-scan-region): Fix scanning over escaped quotes.
226 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
227 (verilog-re-search-backward-quick)
228 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
229 related functions now ignore strings, to fix misparsing of strings
230 with magic comments embedded in them.
231 (verilog-read-auto-template):
232 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
233 Reported by Brad Dobbie.
234 (verilog-read-auto-template):
235 Fix 'verilog-auto-inst-template-numbers' with comments.
236 Reported by Brad Dobbie.
237 (verilog-auto-inst, verilog-auto-inst-param)
238 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
239 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
240 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
241 debugging templates without merge conflicts, bug357.
242 Reported by Brad Dobbie.
243 (verilog-read-auto-template):
244 Fix verilog-auto-inst-template-numbers with multiple templates.
245 Reported by Brad Dobbie.
246 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
247 abbrevs so user won't be asked to save.
248 (verilog-read-auto-lisp-present): Fix to start at beginning of
249 buffer in case called outside of verilog-auto.
250 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
251 to "X-2". Reported by Matthew Myers.
252 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
253 all inputs from module templates. Reported by Leith Johnson.
254 (verilog-module-inside-filename-p): Fix locating programs as with
255 modules.
256 (verilog-auto-inst-port): Fix vl-width expressions when using
257 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
258 (verilog-decls-get-regs, verilog-decls-get-signals,
259 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
260 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
261 verilog-read-decls): Combine reg and wire structures into one var
262 structure to represent SystemVerilog concepts.
263 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
264 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
265 (verilog-auto-wire-type, verilog-insert-definition):
266 Add verilog-auto-wire-type and AUTOLOGIC to support using
267 SystemVerilog "logic" keyword instead of "wire"/"reg".
268 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
269 to declares outputs that also have assignments (presumably in an
270 ifdef or generate if so there's not a driver conflict).
271 Reported by Matthew Myers.
272 (verilog-auto-declare-nettype, verilog-insert-definition):
273 Add verilog-auto-declare-nettype to fix declarations using
274 `default_nettype none. Reported by Julian Gorfajn.
275 (verilog-read-always-signals-recurse, verilog-read-decls)
276 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
277 malformed end statement, bug325. Reported by Joshua Wise and
278 Andrew Drake.
279 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
280 (verilog-inst-comment-re): Fix not deleting Interfaced comment
281 when expanding .* in interfaces, bug320. Reported by Pierre-David
282 Pfister.
283 (verilog-read-module-name): Fix import statements between module
284 name and open parenthesis, bug317. Reported by Pierre-David
285 Pfister.
286 (verilog-simplify-range-expression): Fix simplification of
287 multiplications inside AUTOWIRE connections, bug303.
288 (verilog-auto-inst-port): Support parameter expansion in
289 multidimensional arrays.
290 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
291 after "assert property". Reported by Julian Gorfajn.
292 (verilog-simplify-range-expression): Fix "couldn't merge" errors
293 with multiplication, bug303.
294 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
295 Reported by Jan Frode Lonnum.
296
297 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
298
299 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
300 (hfy-shell-file-name, hfy-shell):
301 * international/fontset.el (x-decompose-font-name): Fix typos.
302
303 2011-11-29 Ken Brown <kbrown@cornell.edu>
304
305 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
306 (gdb-version): Remove defvar.
307 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
308 (gdb-gud-context-command, gdb-non-stop-handler)
309 (gdb-current-context-command, gdb-stopped): Use it.
310 (gdb-init-1): Enable pretty printing here.
311 (gdb-non-stop-handler): Don't enable pretty-printing here.
312 Check to see if the target supports non-stop mode; if not, turn off
313 non-stop mode. Use the following.
314 (gdb-check-target-async): New defun.
315 (gud-watch, gdb-stopped): Fix whitespace.
316 (gdb-get-source-file): Don't try to display the source file if
317 `gdb-main-file' is nil.
318
319 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
320
321 * align.el: Try to generate fewer markers (bug#10047).
322 (align--set-marker): New macro.
323 (align-region): Use it.
324
325 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
328
329 2011-11-29 Chong Yidong <cyd@gnu.org>
330
331 * indent.el (indent-for-tab-command, indent-according-to-mode):
332 Doc fix.
333 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
334
335 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
336
337 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
338 aware of remote file names. (Bug#10124)
339
340 2011-11-29 Chong Yidong <cyd@gnu.org>
341
342 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
343
344 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * files.el (find-file): Don't use force-same-window (bug#10144).
347 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
348 use pop-to-buffer if the selected window can't be used.
349 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
350
351 2011-11-28 Eli Zaretskii <eliz@gnu.org>
352
353 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
354 special-mode-map.
355
356 2011-11-28 Chong Yidong <cyd@gnu.org>
357
358 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
359
360 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
361
362 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
363 gdb-get-source-file-list on gdb-create-source-file-list.
364
365 2011-11-26 Eli Zaretskii <eliz@gnu.org>
366
367 * whitespace.el (whitespace-newline): Use a different foreground
368 color for 16-color light-background displays.
369
370 2011-11-24 Chong Yidong <cyd@gnu.org>
371
372 * window.el (display-buffer--special-action): Doc fix.
373
374 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
375
376 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
377 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
378 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
379 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
380 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
381 (avl-tree-stack-first):
382 * emacs-lisp/cconv.el (cconv--analyse-use):
383 * net/gnutls.el (gnutls-negotiate): Fix typos.
384
385 2011-11-24 Glenn Morris <rgm@gnu.org>
386
387 * lpr.el (lpr-windows-system, lpr-lp-system):
388 * mail/binhex.el (binhex-begin-line):
389 * progmodes/grep.el (grep-history, grep-find-history):
390 * textmodes/flyspell.el:
391 * vc/pcvs-defs.el (cvs-global-menu):
392 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
393 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
394 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
395
396 * net/tls.el: Fix case of "GnuTLS".
397
398 * paths.el (rmail-file-name): Format doc-string for make-docfile.
399
400 * version.el (emacs-build-system): Give it a doc-string.
401
402 2011-11-24 Juri Linkov <juri@jurta.org>
403
404 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
405
406 2011-11-24 Glenn Morris <rgm@gnu.org>
407
408 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
409 if called on a non-mime message just toggle the headers. (Bug#8006)
410
411 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
412
413 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
414 (allout-lead-with-comment-string, allout-structure-deleted-hook)
415 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
416 (allout-rebullet-heading, allout-open-sibtopic)
417 (allout-toggle-current-subtree-encryption)
418 (allout-toggle-subtree-encryption, allout-encrypt-string)
419 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
420 (allout-distinctive-bullets-string, allout-auto-activation):
421 * window.el (window-normalize-buffer-to-display):
422 * progmodes/verilog-mode.el (verilog-batch-indent):
423 * textmodes/bibtex.el (bibtex-field-braces-opt)
424 (bibtex-field-strings-opt):
425 * vc/cvs-status.el (cvs-tree-merge):
426 Fix typos.
427
428 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
429
430 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
431 `non-essential' to t, in order to avoid remote connections.
432
433 2011-11-23 Eli Zaretskii <eliz@gnu.org>
434
435 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
436 On MS-DOS and MS-Windows, compare with loaddefs.el
437 case-insensitively.
438
439 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
440
441 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
442
443 2011-11-23 Glenn Morris <rgm@gnu.org>
444
445 * paths.el (rmail-file-name): Reformat the doc-string so that it
446 is picked up.
447
448 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
449 (rmail-auto-file): Ignore case in the "special" field names,
450 as mail-fetch-field does for all others.
451
452 * mail/rmail.el (rmail-forward):
453 * mail/rmailkwd.el (rmail-set-label):
454 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
455 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
456
457 * mail/rmail.el (rmail-current-message): Doc fix.
458
459 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
460
461 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * server.el (server-eval-and-print): Allow C-g (bug#6585).
464
465 2011-11-22 Glenn Morris <rgm@gnu.org>
466
467 * mail/rmailmm.el (test-rmail-mime-handler)
468 (test-rmail-mime-bulk-handler)
469 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
470
471 2011-11-21 Juri Linkov <juri@jurta.org>
472
473 * calc/calc.el (calc-read-key-sequence): Let-bind `input-method-function'
474 to nil. (Bug#10018)
475
476 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
477
478 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
479 Tell the caller that the next line needs recomputation, even
480 though it doesn't start a sexp (bug#10094).
481
482 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
485
486 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
487
488 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
489 Use force-same-window.
490
491 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
492
493 * descr-text.el (describe-char-unicode-data):
494 * json.el (json-string-escape):
495 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
496 (Footnote-unicode, Footnote-style-p):
497 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
498
499 2011-11-20 Chong Yidong <cyd@gnu.org>
500
501 * window.el (replace-buffer-in-windows): Restore interactive spec.
502
503 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
504
505 * electric.el (electric-indent-mode): Fix last change (too optimistic).
506
507 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
508 (byte-compile-global-not-obsolete-vars): New var.
509 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
510 Use it.
511 (byte-compile-warn-obsolete): Align text with the one in *Help*.
512
513 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
514
515 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
516 * progmodes/pascal.el (electric-pascal-equal):
517 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
518 * xml.el (xml-substitute-special): Fix typos.
519
520 2011-11-20 Glenn Morris <rgm@gnu.org>
521
522 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
523 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
524 Doc fixes.
525 (rmail-decode-mime-charset): Mark as obsolete.
526
527 * mail/rmailsum.el (rmail-message-regexp-p-1):
528 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
529 Before using mime functions, check they are set. (Bug#10077)
530
531 2011-11-19 Juri Linkov <juri@jurta.org>
532
533 * info.el (Info-finder-find-node): Use `package--builtins' instead
534 of `package-alist'. Use node names formed by the pattern "Keyword "
535 and the keyword name.
536
537 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
538
539 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
540 bash.
541
542 2011-11-19 Juri Linkov <juri@jurta.org>
543
544 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
545 that calls `revert-buffer' on all Info buffers. (Bug#9915)
546 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
547 `old-history', `old-history-forward'. Add let-binding
548 `window-selected'. Remove calls to `kill-buffer',
549 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
550 before calling `Info-find-node', so `Info-find-node-2' will reread
551 the Info file. Restore window positions only when `window-selected'
552 is non-nil.
553
554 2011-11-19 Juri Linkov <juri@jurta.org>
555
556 * isearch.el (isearch-lazy-highlight-new-loop):
557 Remove condition `(not isearch-error)'. (Bug#9918)
558
559 * misearch.el (multi-isearch-search-fun): Add condition
560 `(not bound)' to ignore lazy-highlighting search.
561 Add the search-failed message "end of multi" when the end of
562 multi-sequence is reached. Uncapitalize the search-failed
563 message "Repeat for next buffer".
564
565 * info.el (Info-search): Add the search-failed message
566 "end of the manual" when the end of the manual is reached
567 in Isearch mode.
568
569 2011-11-19 Juri Linkov <juri@jurta.org>
570
571 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
572 Use non-destructive `remove' instead of `delete' because
573 `Info-history-list' stored to `Info-isearch-initial-history-list' in
574 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
575
576 2011-11-19 Juri Linkov <juri@jurta.org>
577
578 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
579 to nil instead of binding `search-ring' and `regexp-search-ring'.
580 (Bug#9185)
581
582 2011-11-19 Eli Zaretskii <eliz@gnu.org>
583
584 * simple.el (line-move): Force movement by logical lines for any
585 hscrolled window, not only when auto-hscroll-mode is on.
586 (line-move-visual): Update doc string to that effect. (Bug#10076)
587
588 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
589
590 * language/european.el (macintosh): Define as alias for mac-roman.
591
592 2011-11-19 Eli Zaretskii <eliz@gnu.org>
593
594 * mail/rmailmm.el (rmail-mime-display-header)
595 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
596 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
597 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
598 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
599 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
600 of a raw aref.
601 (rmail-mime-entity-segment): To get past the tagline, move forward
602 2 more lines, to account for the 2 empty lines that precede and
603 follow the line with the buttons.
604 (rmail-mime-update-tagline): Move one more line, to get past the
605 empty line that follows the buttons in the tagline. (Bug#9520)
606
607 2011-11-19 Martin Rudalics <rudalics@gmx.at>
608
609 * window.el (window-max-delta-1, window-min-delta-1)
610 (window-min-size-1, window-state-get-1, window-state-put-1)
611 (window-state-put-2): Use "window--" prefix.
612
613 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * emacs-lisp/smie.el: Improve warnings and conflict detection.
616 (smie-warning-count): New var.
617 (smie-set-prec2tab): Use it.
618 (smie-bnf->prec2): Improve warnings. Add docstring.
619 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
620 (smie-bnf--set-class): New function.
621 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
622 corner case.
623
624 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
625 (compilation-error-properties, compilation-move-to-column):
626 Handle compilation-first-column while in the target buffer.
627
628 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
629 Don't hardcode point-min==1.
630
631 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
632 (eshell-rewrite-for-command): Remove workaround.
633 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
634 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
635 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
636
637 * files-x.el (modify-file-local-variable): Obey commenting conventions.
638
639 2011-11-17 Glenn Morris <rgm@gnu.org>
640
641 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
642 Ignore buffer-local generated-autoload-file if it is the same
643 as the global value. (Bug#10049)
644
645 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
646
647 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
648 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
649 (reftex-toc-previous-heading, reftex-toc-max-level)
650 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
651 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
652 (reftex-toc-do-promote, reftex-toc-promote-prepare)
653 (reftex-toc-promote-action, reftex-toc-extract-section-number)
654 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
655 (reftex-toc-rename-label, reftex-toc-visit-location)
656 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
657 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
658 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
659 leaving "*toc*" only for references to the buffer.
660
661 2011-11-17 Martin Rudalics <rudalics@gmx.at>
662
663 * window.el (window-resize, delete-window, split-window):
664 Replace window-splits by window-combination-resize.
665 * cus-start.el (window-splits): Replace by
666 window-combination-resize.
667
668 2011-11-17 Glenn Morris <rgm@gnu.org>
669
670 * progmodes/sh-script.el (sh-font-lock-keywords-var):
671 Make bash entry derive from sh entry, not shell entry.
672
673 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
674
675 * net/tramp-cache.el (tramp-flush-file-property): Flush also
676 properties of linked files. (Bug#9879)
677
678 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
679 local file name.
680
681 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
682
683 * menu-bar.el (menu-bar-file-menu):
684 * printing.el (pr-ps-utility):
685 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
686 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
687 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
688 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
689 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
690 (icalendar--convert-cyclic-to-ical)
691 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
692 (icalendar--convert-ical-to-diary)
693 (icalendar--convert-recurring-to-diary)
694 (icalendar--convert-non-recurring-all-day-to-diary)
695 (icalendar-import-format-sample):
696 * progmodes/idlw-shell.el (idlwave-shell-mode):
697 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
698 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
699 (vhdl-ps-print-init): Fix typos.
700
701 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
702
703 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
704 FSF and collapse date sequence, obscure author/maintainer email address
705 better, remove extra version line, track relocation of author's webpage.
706
707 * progmodes/python.el (python-pdbtrack-input-prompt)
708 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
709 regular python pdb prompts. Adjustments shamelessly taken exactly as
710 suggested in EmacsWiki page (tiny change):
711 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
712
713 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
714
715 * expand.el (expand-pos, expand-index, expand-point):
716 Remove redundant info from docstring.
717 (expand-add-abbrevs): Doc fix.
718 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
719 (expand-sample-perl-mode-expand-list): Fix typos.
720
721 * net/dbus.el (dbus-event-member-name):
722 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
723 * term/pc-win.el (msdos-create-frame-with-faces):
724 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
725
726 2011-11-16 Martin Rudalics <rudalics@gmx.at>
727
728 * window.el (split-window, window-state-get-1)
729 (window-state-put-1, window-state-put-2): Rename occurrences of
730 window-nest to window-combination-limit.
731 * cus-start.el (window-nest): Rename to
732 window-combination-limit.
733
734 2011-11-16 Chong Yidong <cyd@gnu.org>
735
736 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
737 regexp (Bug#10033).
738
739 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
742 `completing-read' will remove *Completions* and will preserve
743 current-buffer for us.
744 (tmm-add-prompt): Users of *Completions* will always (re)set its
745 major mode.
746 (tmm-old-comp-map): Remove.
747
748 2011-11-16 Glenn Morris <rgm@gnu.org>
749
750 * mail/rmailedit.el: Require rmailmm when compiling.
751 (rmail-old-mime-state): New declaration.
752 (rmail-edit-current-message): If editing a mime message,
753 edit the "raw" message from the mbox buffer.
754 (rmail-cease-edit): Handle mime messages. (Bug#9840)
755
756 2011-11-15 Glenn Morris <rgm@gnu.org>
757
758 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
759 which wasn't being used. Add optional arg to force given state.
760 (rmail-mime): Add optional arg to force given state.
761
762 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
763
764 * allout.el (allout-encryption-plaintext-sanitization-regexps):
765 * frame.el (display-mm-dimensions-alist):
766 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
767 (outline-move-subtree-down):
768 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
769 (newsticker--treeview-do-get-node):
770 * net/quickurl.el (quickurl-list-buffer-name):
771 * progmodes/dcl-mode.el (dcl-mode):
772 * progmodes/gdb-mi.el (gdb-mapcar*):
773 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
774
775 2011-11-15 Glenn Morris <rgm@gnu.org>
776
777 * mail/rmail.el (rmail-file-coding-system): It's only ever used
778 in a boolean sense, so just make it a boolean, and fix the doc.
779 (rmail-show-mime-function, rmail-mime-feature)
780 (rmail-require-mime-maybe): Doc fixes.
781 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
782
783 * mail/rmailmm.el (rmail-show-mime): Doc fix.
784
785 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
786
787 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
788 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
789 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
790 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
791
792 2011-11-15 Glenn Morris <rgm@gnu.org>
793
794 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
795 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
796 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
797 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
798 (rmail-mime, rmail-show-mime): Doc fixes.
799
800 * term/ns-win.el (mode-line-frame-identification):
801 Leave it alone. (Bug#10051)
802
803 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
804
805 * mail/rmailout.el (rmail-output-to-rmail-buffer):
806 Handle empty buffers. (Bug#9978)
807
808 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
809
810 * international/mule.el (define-charset):
811 * mail/rmailmm.el (rmail-mime-find-header-encoding):
812 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
813 * progmodes/verilog-mode.el (verilog-backward-token):
814 * textmodes/ispell.el (lookup-words):
815 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
816
817 2011-11-14 Glenn Morris <rgm@gnu.org>
818
819 * progmodes/executable.el
820 (executable-make-buffer-file-executable-if-script-p):
821 Handle file-modes returning nil.
822
823 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
824 message - not necessary, and causes problems. (Bug#9831)
825
826 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
827
828 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
829
830 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
831 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
832 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
833
834 2011-11-12 Martin Rudalics <rudalics@gmx.at>
835
836 * window.el (window-resize, delete-window): Use window-splits
837 variable instead of function.
838 (window-state-get-1, window-state-put-2, window-state-put):
839 Don't deal with windows' splits status.
840
841 2011-11-12 Glenn Morris <rgm@gnu.org>
842
843 * apropos.el (apropos-do-all, apropos-library, apropos-value)
844 (apropos-documentation): Doc fixes.
845
846 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
847
848 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
849 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
850
851 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * electric.el (electric-indent-post-self-insert-function): Make it
854 possible for a char to only indent in some circumstances.
855 (electric-indent-mode): Simplify.
856
857 2011-11-11 Martin Rudalics <rudalics@gmx.at>
858
859 * window.el (windows-with-parameter): Remove unused function.
860 (windows-at-side): Rename to window-at-side-list.
861 (window-check, window-atom-check, window-atom-check-1)
862 (window-side-check, window-size-ignore, window-size-fixed-1)
863 (window-in-direction-2): Prefix with "window--".
864 (window-tree-1): Rename to window--subtree, fix doc-string.
865
866 2011-11-11 Glenn Morris <rgm@gnu.org>
867
868 * subr.el (eval-after-load): If FILE is already loaded,
869 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
870
871 2011-11-10 Glenn Morris <rgm@gnu.org>
872
873 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
874 Call svn via vc-svn-command rather than vc-do-command.
875 (vc-svn-command): Add --non-interactive. (Bug#9993)
876 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
877
878 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
879 Add toggle-read-only. (Bug#7292)
880 * files.el (toggle-read-only): Mention that it should only
881 be used interactively. (Bug#10006)
882
883 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * progmodes/compile.el (compilation-error-regexp-alist-alist):
886 Adjust regexp for OCaml warnings.
887
888 * electric.el (electric-pair-post-self-insert-function): Let user
889 turn it off buffer-locally (bug#9932).
890
891 * progmodes/python.el (python-beginning-of-statement):
892 Rewrite (bug#2703).
893
894 * progmodes/compile.el: Better handle TABs (bug#9749).
895 (compilation-internal-error-properties)
896 (compilation-next-error-function): Obey the target buffer's
897 compilation-error-screen-columns.
898
899 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
900
901 * progmodes/meta-mode.el: Remove obsolete comments.
902 (meta-right-comment-regexp, meta-ignore-comment-regexp):
903 Fix typos in docstrings.
904
905 2011-11-09 Martin Rudalics <rudalics@gmx.at>
906
907 * window.el (window-size-fixed-p): Rewrite doc-string.
908 (window-resizable-p): Rename to window--resizable-p. Update callers.
909 (window--resizable): New function. Make all callers of
910 window-resizable call window--resizable instead.
911 (window-resizable): Rewrite in terms of window--resizable.
912
913 2011-11-08 Glenn Morris <rgm@gnu.org>
914
915 * progmodes/delphi.el (delphi-mode-syntax-table):
916 Let define-derived-mode define a proper syntax table. (Bug#9994)
917
918 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
919
920 * window.el: Stay away from defsubst.
921 (window-list-no-nils): Remove.
922 (window-state-get-1, window-state-get): Use backquote instead.
923
924 2011-11-08 thierry <thierry.volpiatto@gmail.com>
925
926 * emacs-lisp/find-func.el (find-function-read):
927 Fix incorrect use of default argument in `completing-read'.
928
929 2011-11-08 Martin Rudalics <rudalics@gmx.at>
930
931 * window.el (display-buffer-function, special-display-function):
932 Mention display-buffer-record-window but do not mention
933 help-setup parameter in doc-strings.
934 (window-min-delta): Fix doc-string typo.
935
936 2011-11-08 Chong Yidong <cyd@gnu.org>
937
938 * window.el (window-total-height, window-total-width): Doc fix.
939 (window-body-size): Move from C.
940 (window-body-height, window-body-width): Move to C.
941
942 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * window.el: Make special-display like display-buffer-alist (bug#9532).
945 (display-buffer--special-action): New function, morphed
946 from display-buffer--special.
947 (display-buffer): Use it to handle special-display-buffers at higher
948 priority (just after display-buffer-alist).
949 (display-buffer-fallback-action, display-buffer--other-frame-action)
950 (pop-to-buffer-same-window): Remove display-buffer--special.
951
952 2011-11-07 Glenn Morris <rgm@gnu.org>
953
954 * calendar/cal-menu.el (cal-menu-set-date-title):
955 Do nothing if not in a calendar. (Bug#9976)
956
957 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * files.el (find-file): Always use selected-window.
960
961 2011-11-07 Martin Rudalics <rudalics@gmx.at>
962
963 * window.el (window-combinations): Make WINDOW argument
964 mandatory. Rewrite doc-string.
965 (walk-window-subtree, window-atom-check, window-min-delta)
966 (window-max-delta, window--resize-this-window)
967 (window--resize-root-window-vertically, window-tree)
968 (balance-windows, window-state-put): Rewrite doc-strings as to
969 not mention the term "subwindow".
970 (window--resize-subwindows-skip-p): Rename to
971 window--resize-child-windows-skip-p.
972 (window--resize-subwindows-normal): Rename to
973 window--resize-child-windows-normal.
974 (window--resize-subwindows): Rename to
975 window--resize-child-windows.
976 (window-or-subwindow-p): Rename to window--in-subtree-p.
977
978 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
979
980 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
981 Ensure that mbox format messages end in two newlines (Bug#9974).
982
983 2011-11-06 Chong Yidong <cyd@gnu.org>
984
985 * window.el (window-combination-p): Function deleted; its
986 side-effect is not used in any existing code.
987 (window-combinations, window-combined-p): Call window-*-child
988 directly.
989
990 2011-11-05 Chong Yidong <cyd@gnu.org>
991
992 * window.el (window-valid-p): Rename from window-any-p.
993 (window-size-ignore, window-state-get): Callers changed.
994 (window-normalize-window): Rename from window-normalize-any-window.
995 New arg LIVE-ONLY, replacing window-normalize-live-window.
996 (window-normalize-live-window): Delete.
997 (window-combination-p, window-combined-p, window-combinations)
998 (walk-window-subtree, window-atom-root, window-min-size)
999 (window-sizable, window-sizable-p, window-size-fixed-p)
1000 (window-min-delta, window-max-delta, window-resizable)
1001 (window-resizable-p, window-full-height-p, window-full-width-p)
1002 (window-current-scroll-bars, window-point-1, set-window-point-1)
1003 (window-at-side-p, window-in-direction, window-resize)
1004 (adjust-window-trailing-edge, maximize-window, minimize-window)
1005 (window-deletable-p, delete-window, delete-other-windows)
1006 (record-window-buffer, unrecord-window-buffer)
1007 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1008 (quit-window, split-window, window-state-put)
1009 (set-window-text-height, fit-window-to-buffer)
1010 (shrink-window-if-larger-than-buffer): Callers changed.
1011
1012 2011-11-04 Eli Zaretskii <eliz@gnu.org>
1013
1014 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1015 rfc2047-decode-string.
1016 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1017 warnings.
1018
1019 * window.el (window-body-height, window-body-width): Mention in
1020 the doc string that the return values are in frame's canonical
1021 units. (Bug#9949)
1022
1023 2011-11-03 Alan Mackenzie <acm@muc.de>
1024
1025 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1026 change in cc-engine.el.
1027
1028 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1031
1032 2011-11-02 Martin Rudalics <rudalics@gmx.at>
1033
1034 * window.el (quit-window): Call unrecord-window-buffer after
1035 showing another buffer in the window. (Bug#9937)
1036 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1037
1038 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
1039
1040 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1041 Accept status with more than 9 shelves. (Bug#9935)
1042 Reported by Colin D Bennett <colin@gibibit.com>.
1043
1044 2011-11-01 Martin Rudalics <rudalics@gmx.at>
1045
1046 * help.el (with-help-window): Don't reference
1047 temp-buffer-show-specifiers in doc-string.
1048
1049 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1050
1051 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1052 menu-item.
1053
1054 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1055
1056 * whitespace.el: New version 13.2.2.
1057 (whitespace-newline-mode): Disable properly. Reported by Sarah
1058 <EmacsWiki>.
1059
1060 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
1061
1062 * net/newst-treeview.el: Remove "Time-stamp".
1063 (newsticker--group-manage-orphan-feeds): Do not call
1064 newsticker--treeview-tree-update.
1065 (newsticker-treeview-update, newsticker-treeview):
1066 Call newsticker--treeview-tree-update if necessary.
1067
1068 2011-10-30 Martin Rudalics <rudalics@gmx.at>
1069
1070 * window.el (window-iso-combination-p, window-iso-combined-p)
1071 (window-iso-combinations): Remove "iso-" infix.
1072 Suggested by Chong Yidong.
1073 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1074 (window-max-delta-1, window-resize, window--resize-siblings)
1075 (window--resize-this-window, adjust-window-trailing-edge)
1076 (split-window, balance-windows-1)
1077 (shrink-window-if-larger-than-buffer):
1078 * calendar/calendar.el (calendar-generate-window):
1079 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
1080
1081 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1084 in place (bug#9907).
1085 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1086 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1087 (eshell-structure-basic-command, eshell-rewrite-while-command)
1088 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1089 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1090 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1091 (eshell-do-pipelines-synchronously, eshell-eval-command):
1092 Use backquotes and prefer setq to set.
1093 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1094 (eshell-macrop): Use functionp.
1095 (eshell-do-eval): Handle multiple expressions in `while' body.
1096
1097 2011-10-30 Chong Yidong <cyd@gnu.org>
1098
1099 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1100 instead of set-mark (Bug#9810).
1101
1102 2011-10-30 Chong Yidong <cyd@gnu.org>
1103
1104 * window.el (split-window-below, split-window-right): Rename from
1105 split-window-above-each-other and split-window-side-by-side
1106 respectively. All callers changed.
1107 (split-window-sensibly, split-window-sensibly): Use them.
1108 (split-window-keep-point): Doc fix.
1109
1110 * isearch.el: Add isearch-scroll property to split-window-below
1111 and split-window-right.
1112
1113 * follow.el (follow-mode):
1114 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1115 * progmodes/ada-xref.el (ada-gdb-application):
1116 * emulation/vip.el (vip-buffer-in-two-windows):
1117 * image-dired.el (image-dired-dired-with-window-configuration):
1118 * dired-x.el (dired-do-find-marked-files):
1119 * dired.el (dired-pop-to-buffer):
1120 * bs.el (bs--show-with-configuration):
1121 * vc/emerge.el (emerge-setup-windows):
1122 * textmodes/two-column.el (2C-two-columns):
1123 * textmodes/reftex-toc.el (reftex-toc):
1124 * progmodes/gdb-mi.el (gdb-setup-windows):
1125 * progmodes/fortran.el (fortran-window-create):
1126 * net/newst-treeview.el (newsticker--treeview-window-init):
1127 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1128 * emulation/tpu-edt.el (tpu-gold-map):
1129 * emulation/crisp.el (crisp-mode-map):
1130 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1131
1132 2011-10-29 Chong Yidong <cyd@gnu.org>
1133
1134 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1135
1136 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1137
1138 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1139 forged Ispell output (Bug#7904).
1140
1141 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1142
1143 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1144
1145 * doc-view.el: Avoid ugly errors about not finding nil.
1146 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1147 (doc-view-dvipdf-program, doc-view-unoconv-program)
1148 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1149 Avoid nil or absolute file name as default value.
1150 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1151
1152 2011-10-28 Alan Mackenzie <acm@muc.de>
1153
1154 * progmodes/cc-defs.el (c-version): -> 5.32.2.
1155
1156 2011-10-28 Alan Mackenzie <acm@muc.de>
1157
1158 Amend the handling of c-beginning/end-of-defun in nested declaration
1159 scopes.
1160
1161 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1162 cc-langs.el. Change it to a defcustom.
1163
1164 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1165 cc-vars.el.
1166
1167 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1168 Prevent "class foo : bar" being spuriously recognized as a label.
1169
1170 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
1171 Add parameter `inclusive' (to include enclosing braces in the region).
1172 (c-widen-to-enclosing-decl-scope): New function.
1173 (c-while-widening-to-decl-block): New macro.
1174 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1175 outward for defun boundaries, and correspondingly change symbol
1176 `respect-enclosure' to `go-outward'.
1177 (c-declaration-limits): Change algorithm to report only the "innermost"
1178 defun's boundaries.
1179
1180 2011-10-28 Deniz Dogan <deniz@dogan.se>
1181
1182 * net/rcirc.el (rcirc-mode): Use hard newlines.
1183
1184 2011-10-28 Alan Mackenzie <acm@muc.de>
1185
1186 Amend to indent and fontify macros "which include their own semicolon"
1187 correctly, using the "virtual semicolon" mechanism.
1188
1189 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
1190
1191 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1192 Recode to scan one line at a time rather than having \n and \r
1193 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
1194 (c-forward-label): Amend for virtual semicolons.
1195 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
1196
1197 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1198 of the new C macros.
1199
1200 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
1201 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1202 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
1203 (c-opt-cpp-macro-define): Make into a full language variable.
1204 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1205 AWK Mode (including \n, \r) removed, no longer needed.
1206
1207 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1208 Invoke c-make-macro-with-semi-re.
1209
1210 * progmodes/cc-vars.el (c-macro-with-semi-re):
1211 (c-macro-names-with-semicolon): New variables.
1212 (c-make-macro-with-semi-re): New function.
1213
1214 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * vc/log-edit.el: Fill empty field rather than adding new one.
1217 (log-edit-add-field): New function.
1218 (log-edit-insert-changelog): Use it.
1219
1220 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1221
1222 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1223
1224 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1225
1226 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1227 (gdb--check-interpreter): New function.
1228 (gdb): Use it.
1229
1230 2011-10-27 Glenn Morris <rgm@gnu.org>
1231
1232 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1233 (least-positive-float, least-negative-float)
1234 (least-positive-normalized-float, least-negative-normalized-float)
1235 (float-epsilon, float-negative-epsilon):
1236 Remove unnecessary declarations.
1237
1238 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1239 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1240 (least-positive-float, least-negative-float)
1241 (least-positive-normalized-float, least-negative-normalized-float)
1242 (float-epsilon, float-negative-epsilon): Add doc-strings,
1243 based on those in cl.texi.
1244
1245 * files.el (set-visited-file-name): If the major-mode changed,
1246 reload the local variables. (Bug#9796)
1247
1248 2011-10-27 Chong Yidong <cyd@gnu.org>
1249
1250 * subr.el (change-major-mode-after-body-hook): New hook.
1251 (run-mode-hooks): Run it.
1252
1253 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1254 Use change-major-mode-before-body-hook.
1255
1256 * simple.el (fundamental-mode):
1257 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1258 change introducing fundamental-mode-hook.
1259
1260 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
1261
1262 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
1263
1264 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
1265
1266 * ido.el (ido-file-name-all-completions-1): Do not require
1267 tramp.el explicitly. (Bug#7583)
1268
1269 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1270
1271 * progmodes/octave-mod.el:
1272 * progmodes/octave-inf.el: Update maintainer.
1273
1274 2011-10-26 Chong Yidong <cyd@gnu.org>
1275
1276 * subr.el (with-wrapper-hook): Rewrite doc.
1277
1278 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
1279
1280 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
1281 filenames "/method:foo:". (Bug#9793)
1282
1283 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1286 (bug#9865).
1287
1288 2011-10-24 Glenn Morris <rgm@gnu.org>
1289
1290 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
1291
1292 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
1293
1294 * notifications.el: Add the requirement of a running D-Bus session
1295 bus to the Commentary.
1296
1297 2011-10-24 Juri Linkov <juri@jurta.org>
1298
1299 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1300 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1301 (Bug#9364)
1302
1303 2011-10-24 Juri Linkov <juri@jurta.org>
1304
1305 * info.el (Info-following-node-name-re): Add newline to the list
1306 of allowed characters for leading space. (Bug#9824)
1307
1308 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * progmodes/octave-inf.el (inferior-octave-mode-map):
1311 Fix C-c C-h binding.
1312 * progmodes/octave-mod.el (octave-help): Remove.
1313
1314 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
1315
1316 Sync with Tramp 2.2.3.
1317
1318 * net/tramp-cache.el (top): Pacify byte-compiler using
1319 `init-file-user' and `site-run-file'.
1320
1321 * net/trampver.el: Update release number.
1322
1323 2011-10-23 Chong Yidong <cyd@gnu.org>
1324
1325 * files.el (toggle-read-only): Remove obsolete comment about
1326 version control.
1327
1328 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
1329 for toggle-read-only. Note that this hasn't called vc-next-action
1330 since 2008-05-02, though it wasn't documented at the time.
1331
1332 * vc/ediff-init.el (ediff-toggle-read-only-function):
1333 Use toggle-read-only.
1334
1335 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
1336
1337 Fix bug #9560, sporadic wrong indentation; improve instrumentation
1338 of c-parse-state.
1339
1340 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1341 correct faulty logical expression.
1342 (c-parse-state-state, c-record-parse-state-state):
1343 (c-replay-parse-state-state): New defvar/defuns.
1344 (c-debug-parse-state): Use new functions.
1345
1346 2011-10-22 Martin Rudalics <rudalics@gmx.at>
1347
1348 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
1349 last fix. Use window-in-direction correctly.
1350
1351 2011-10-21 Chong Yidong <cyd@gnu.org>
1352
1353 * progmodes/idlwave.el (idlwave-mode):
1354 * progmodes/vera-mode.el (vera-mode): No need to set
1355 require-final-newline; that's done in prog-mode.
1356 Suggested by Stefan Monnier.
1357
1358 2011-10-21 Martin Rudalics <rudalics@gmx.at>
1359
1360 * mouse.el (mouse-drag-window-above)
1361 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1362 (mouse-drag-mode-line-1, mouse-drag-header-line)
1363 (mouse-drag-vertical-line-rightward-window): Remove.
1364 (mouse-drag-line): New function.
1365 (mouse-drag-mode-line, mouse-drag-header-line)
1366 (mouse-drag-vertical-line): Call mouse-drag-line.
1367 * window.el (window-at-side-p, windows-at-side): New functions.
1368
1369 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
1370
1371 * tar-mode.el (tar-grind-file-mode):
1372 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
1373
1374 2011-10-21 Chong Yidong <cyd@gnu.org>
1375
1376 * progmodes/idlwave.el (idlwave-mode):
1377 * progmodes/vera-mode.el (vera-mode):
1378 Use mode-require-final-newline.
1379
1380 2011-10-20 Glenn Morris <rgm@gnu.org>
1381
1382 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
1383
1384 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
1385
1386 * emulation/cua-base.el (cua-set-mark): Fix case of string.
1387
1388 2011-10-20 Chong Yidong <cyd@gnu.org>
1389
1390 * emulation/cua-base.el (cua-mode):
1391 * mail/footnote.el (footnote-mode):
1392 * mail/mailabbrev.el (mail-abbrevs-mode):
1393 * net/xesam.el (xesam-minor-mode):
1394 * progmodes/bug-reference.el (bug-reference-mode):
1395 * progmodes/cap-words.el (capitalized-words-mode):
1396 * progmodes/compile.el (compilation-minor-mode)
1397 (compilation-shell-minor-mode):
1398 * progmodes/gud.el (gud-tooltip-mode):
1399 * progmodes/hideif.el (hide-ifdef-mode):
1400 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1401 * progmodes/subword.el (subword-mode):
1402 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1403 * progmodes/which-func.el (which-function-mode):
1404 * term/tvi970.el (tvi970-set-keypad-mode):
1405 * term/vt100.el (vt100-wide-mode):
1406 * textmodes/flyspell.el (flyspell-mode):
1407 * textmodes/ispell.el (ispell-minor-mode):
1408 * textmodes/nroff-mode.el (nroff-electric-mode):
1409 * textmodes/paragraphs.el (use-hard-newlines):
1410 * textmodes/refill.el (refill-mode):
1411 * textmodes/reftex.el (reftex-mode):
1412 * textmodes/rst.el (rst-minor-mode):
1413 * textmodes/sgml-mode.el (html-autoview-mode)
1414 (sgml-electric-tag-pair-mode):
1415 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1416 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1417 * emulation/crisp.el (crisp-mode):
1418 * emacs-lisp/eldoc.el (eldoc-mode):
1419 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1420 minor mode behavior.
1421
1422 2011-10-19 Juri Linkov <juri@jurta.org>
1423
1424 * descr-text.el (describe-char): Add #x2010 and #x2011 to
1425 the list of hard-coded chars with escape-glyph face.
1426
1427 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1430
1431 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
1432
1433 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1434 running process.
1435
1436 2011-10-19 Glenn Morris <rgm@gnu.org>
1437
1438 * vc/vc-bzr.el (vc-bzr-after-dir-status):
1439 Ignore ignored files. (Bug#9726)
1440
1441 2011-10-19 Chong Yidong <cyd@gnu.org>
1442
1443 Doc fix for minor modes, stating that an omitted argument enables
1444 the mode unconditionally when called from Lisp.
1445
1446 * abbrev.el (abbrev-mode):
1447 * allout.el (allout-mode):
1448 * autoinsert.el (auto-insert-mode):
1449 * autoarg.el (autoarg-mode, autoarg-kp-mode):
1450 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1451 (global-auto-revert-mode):
1452 * battery.el (display-battery-mode):
1453 * composite.el (global-auto-composition-mode)
1454 (auto-composition-mode):
1455 * delsel.el (delete-selection-mode):
1456 * desktop.el (desktop-save-mode):
1457 * dired-x.el (dired-omit-mode):
1458 * dirtrack.el (dirtrack-mode):
1459 * doc-view.el (doc-view-minor-mode):
1460 * double.el (double-mode):
1461 * electric.el (electric-indent-mode, electric-pair-mode):
1462 * emacs-lock.el (emacs-lock-mode):
1463 * epa-hook.el (auto-encryption-mode):
1464 * follow.el (follow-mode):
1465 * font-core.el (font-lock-mode):
1466 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1467 * help.el (temp-buffer-resize-mode):
1468 * hilit-chg.el (highlight-changes-mode)
1469 (highlight-changes-visible-mode):
1470 * hi-lock.el (hi-lock-mode):
1471 * hl-line.el (hl-line-mode, global-hl-line-mode):
1472 * icomplete.el (icomplete-mode):
1473 * ido.el (ido-everywhere):
1474 * image-file.el (auto-image-file-mode):
1475 * image-mode.el (image-minor-mode):
1476 * iswitchb.el (iswitchb-mode):
1477 * jka-cmpr-hook.el (auto-compression-mode):
1478 * linum.el (linum-mode):
1479 * longlines.el (longlines-mode):
1480 * master.el (master-mode):
1481 * mb-depth.el (minibuffer-depth-indicate-mode):
1482 * menu-bar.el (menu-bar-mode):
1483 * minibuf-eldef.el (minibuffer-electric-default-mode):
1484 * mouse-sel.el (mouse-sel-mode):
1485 * msb.el (msb-mode):
1486 * mwheel.el (mouse-wheel-mode):
1487 * outline.el (outline-minor-mode):
1488 * paren.el (show-paren-mode):
1489 * recentf.el (recentf-mode):
1490 * reveal.el (reveal-mode, global-reveal-mode):
1491 * rfn-eshadow.el (file-name-shadow-mode):
1492 * ruler-mode.el (ruler-mode):
1493 * savehist.el (savehist-mode):
1494 * scroll-all.el (scroll-all-mode):
1495 * scroll-bar.el (scroll-bar-mode):
1496 * server.el (server-mode):
1497 * shell.el (shell-dirtrack-mode):
1498 * simple.el (auto-fill-mode, transient-mark-mode)
1499 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1500 (line-number-mode, column-number-mode, size-indication-mode)
1501 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1502 * strokes.el (strokes-mode):
1503 * time.el (display-time-mode):
1504 * t-mouse.el (gpm-mouse-mode):
1505 * tool-bar.el (tool-bar-mode):
1506 * tooltip.el (tooltip-mode):
1507 * type-break.el (type-break-mode-line-message-mode)
1508 (type-break-query-mode):
1509 * view.el (view-mode):
1510 * whitespace.el (whitespace-mode, whitespace-newline-mode)
1511 (global-whitespace-mode, global-whitespace-newline-mode):
1512 * xt-mouse.el (xterm-mouse-mode): Doc fix.
1513
1514 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1515 Fix autogenerated docstring.
1516
1517 2011-10-19 Juri Linkov <juri@jurta.org>
1518
1519 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1520 by checking environment variables "DESKTOP_SESSION" and
1521 "XDG_CURRENT_DESKTOP". (Bug#9779)
1522
1523 2011-10-19 Juri Linkov <juri@jurta.org>
1524
1525 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1526 (browse-url-chromium-program, browse-url-chromium-arguments):
1527 New defcustoms.
1528 (browse-url-default-browser): Check for `browse-url-chromium' and
1529 call `browse-url-chromium-program'.
1530 (browse-url-chromium): New command. (Bug#9779)
1531
1532 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
1533
1534 * facemenu.el (list-colors-duplicates): On Windows, detect more
1535 duplicates by assuming that only colors matching "^System" are
1536 special "system colors". (Bug#9722)
1537
1538 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1539
1540 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1541 to distinguish the author from the committer.
1542
1543 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
1544
1545 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1546
1547 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1548
1549 * international/mule.el (sgml-html-meta-auto-coding-function):
1550 Add support for detecting encoding in HTML5 specified only as
1551 <meta charset="UTF-8">. Implementation just makes http-equiv and
1552 content-type parts from HTML4 encoding string optional. (Bug#9716)
1553
1554 2011-10-18 Glenn Morris <rgm@gnu.org>
1555
1556 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1557
1558 2011-10-18 Chong Yidong <cyd@gnu.org>
1559
1560 * faces.el (cursor): Doc fix.
1561
1562 2011-10-17 Chong Yidong <cyd@gnu.org>
1563
1564 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1565
1566 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
1567
1568 * dirtrack.el (dirtrack): Support shell buffers with path
1569 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1570
1571 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1572
1573 * json.el: Bump version to 1.3 and note change in History.
1574 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1575
1576 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1577
1578 * comint.el (comint-insert-input, comint-send-input)
1579 (comint-get-old-input-default, comint-backward-matching-input)
1580 (comint-next-prompt): Use nil instead of `input' for field property of
1581 past user input (bug#114).
1582
1583 * minibuffer.el (completion--replace): Inherit surrounding properties
1584 (bug#114).
1585 (minibuffer-complete-and-exit): Use it.
1586
1587 * comint.el (comint--table-subvert): Quote the all-completions output
1588 (bug#9160).
1589
1590 2011-10-17 Martin Rudalics <rudalics@gmx.at>
1591
1592 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
1593
1594 * menu-bar.el (menu-bar-file-menu): Add entry for making new
1595 window on right of selected. (Bug#9350) Reword other window
1596 entries and separate them from frame entries.
1597
1598 2011-10-15 Glenn Morris <rgm@gnu.org>
1599
1600 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1601 Doc fixes.
1602
1603 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
1604
1605 * net/network-stream.el (network-stream-open-starttls):
1606 Improve detection of failure due to lack of TLS support.
1607
1608 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1609 putting the input text in front and in bold.
1610
1611 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1612
1613 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1614
1615 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1616 empty buffer.
1617
1618 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1619 unread-command-events rather than pushing yet-another event.
1620
1621 2011-10-14 Eli Zaretskii <eliz@gnu.org>
1622
1623 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1624 the explanation of the possible choices. Make the options passed
1625 to completing-read shorter.
1626
1627 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1628
1629 * textmodes/flyspell.el (flyspell-large-region): Make sure
1630 extended character mode is used if defined (Bug#1339).
1631
1632 2011-10-13 Eli Zaretskii <eliz@gnu.org>
1633
1634 * simple.el (what-cursor-position): Fix the display of the
1635 character info for LRE, LRO, RLE, and RLO characters by appending
1636 an invisible PDF.
1637
1638 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1641 even in case of error; add debug spec; simplify data flow.
1642 (with-timeout-handler): Remove.
1643
1644 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
1645
1646 Fix Bug#6019, Bug#9315.
1647
1648 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1649 complete `buffer-file-name', the local file name part could look
1650 remotely (for example on VMS).
1651
1652 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1653 `tramp-run-real-handler'.
1654 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1655 already quoted by '"'.
1656
1657 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1658 Let `file-name-handler-alist' be nil, the local file name part
1659 could look remotely (for example on VMS).
1660
1661 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1664 from here...
1665 (flyspell-post-command-hook): ...to here.
1666
1667 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1670 if not needed.
1671 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1672 using completion. Protect against "slow" callers.
1673 Remove the "message hack".
1674
1675 2011-10-11 Juri Linkov <juri@jurta.org>
1676
1677 * isearch.el (isearch-lazy-highlight-word): New variable.
1678 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1679 Use it. (Bug#9727)
1680
1681 2011-10-11 Glenn Morris <rgm@gnu.org>
1682
1683 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1684 like f90-previous-statement does.
1685
1686 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1687
1688 * eshell/eshell.el (eshell-command): History should be saved
1689 only in interactive use, to avoid error.
1690
1691 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * minibuffer.el (completion-file-name-table): Fix last change,
1694 i.e. ignore normal errors but not the other ones.
1695
1696 2011-10-10 Martin Rudalics <rudalics@gmx.at>
1697
1698 * window.el (special-display-buffer-names)
1699 (special-display-regexps): Remove some remnants of earlier
1700 changes from doc-strings.
1701 (quit-windows-on): New function.
1702
1703 * vc/vc.el (vc-revert, vc-rollback):
1704 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1705 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
1706 (Bug#6183) (Bug#7074) (Bug#7447)
1707
1708 2011-10-09 Martin Rudalics <rudalics@gmx.at>
1709
1710 * window.el (frame-auto-hide-function): Add version tag.
1711 (Bug#9699)
1712
1713 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
1714
1715 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1716 condition.
1717
1718 2011-10-09 Leo Liu <sdl.web@gmail.com>
1719
1720 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1721 (Bug#9701)
1722
1723 2011-10-08 Glenn Morris <rgm@gnu.org>
1724
1725 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1726 before the first code statement zero indent. (Bug#9690)
1727
1728 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
1729
1730 * simple.el (count-words-region): Always count in the region.
1731 Report the number of lines and characters too.
1732 (count-words): New command, which counts in the buffer if the
1733 region is inactive, as count-words-region used to.
1734 (count-words--message): New function. Handle plurals.
1735 (count-lines-region): Make it an alias for count-words-region.
1736
1737 * bindings.el (esc-map): Replace count-lines-region with
1738 count-words-region.
1739
1740 2011-10-08 Martin Rudalics <rudalics@gmx.at>
1741
1742 * window.el (window--delete): Delete dedicated frame
1743 unconditionally when argument KILL is non-nil. (Bug#9699)
1744 (switch-to-buffer): Fix doc-string typo.
1745
1746 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1747
1748 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1749
1750 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
1751
1752 * bindings.el ([M-left],[M-right]): Bind to left-word and
1753 right-word respectively.
1754
1755 2011-10-07 Glenn Morris <rgm@gnu.org>
1756
1757 * cus-start.el (debug-on-quit): Fix custom type.
1758
1759 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1760
1761 * subr.el (define-key-after): Clarify that the function is not
1762 useful for non-menu keymaps.
1763
1764 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1765
1766 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1767
1768 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
1769 in current minibuffer (Fix bug with recursive minibuffers).
1770
1771 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
1772
1773 * progmodes/gdb-mi.el (gdb): Doc fix.
1774
1775 2011-10-05 Martin Rudalics <rudalics@gmx.at>
1776
1777 * window.el (frame-auto-hide-function): New option replacing
1778 frame-auto-delete. Suggested by Stefan Monnier.
1779 (window--delete): Call frame-auto-hide-function instead of
1780 investigating frame-auto-delete.
1781 (window-point-1, set-window-point-1): New functions.
1782 (window-in-direction, record-window-buffer, window-state-get-1)
1783 (display-buffer-record-window): Use window-point-1 instead of
1784 window-point.
1785 (set-window-buffer-start-and-point): Use set-window-point-1.
1786
1787 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1788
1789 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1790
1791 2011-10-05 Glenn Morris <rgm@gnu.org>
1792
1793 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1794 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1795
1796 2011-10-05 Leo Liu <sdl.web@gmail.com>
1797
1798 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1799 works with buffer object.
1800
1801 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1802
1803 * mpc.el (mpc-tool-bar-map): Add labels.
1804
1805 2011-10-04 Glenn Morris <rgm@gnu.org>
1806
1807 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1808
1809 2011-10-04 Martin Rudalics <rudalics@gmx.at>
1810
1811 * window.el (window--delete): New function.
1812 (frame-auto-delete): Resuscitate option.
1813 (bury-buffer, replace-buffer-in-windows)
1814 (quit-window): Rewrite using window--delete.
1815 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1816 Pass display-buffer-mark-dedicated to window--display-buffer-2
1817 (Bug#9639).
1818
1819 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1820
1821 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1822 returns a list (bug#9554). Add remote file name completion.
1823 * comint.el (comint--table-subvert): Curry and get quote&unquote
1824 functions as arguments.
1825 (comint--complete-file-name-data): Adjust call accordingly.
1826 * pcomplete.el (pcomplete--table-subvert): Remove.
1827 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1828
1829 * minibuffer.el (completion-table-case-fold): Use currying.
1830 (completion--styles-type, completion--cycling-threshold-type):
1831 New constants.
1832 (completion-styles, completion-category-overrides)
1833 (completion-cycle-threshold): Use them.
1834 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1835 completion-table-case-fold.
1836
1837 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
1838
1839 * minibuffer.el (completion-category-overrides): Fix type of styles
1840 and add more user friendly tags (bug#9660).
1841
1842 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1843
1844 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1845 (mule-input-method-string): New widget.
1846 (default-input-method, language-info-custom-alist): Use it.
1847
1848 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1849
1850 * pcomplete.el: Require comint.
1851 (pcomplete--common-suffix): Remove.
1852 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1853 (pcomplete--table-subvert): Sync with comint--table-subvert.
1854 (pcomplete--entries): Use comint-completion-file-name-table.
1855 * comint.el (comint-unquote-filename): Simplify.
1856 (comint-completion-file-name-table): New function (bug#9616).
1857 (comint--complete-file-name-data): Use it.
1858
1859 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1860 (pcmpl-gnu-tar-buffer): Remove.
1861 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
1862 around. Make sure pcomplete-suffix-list is only changed temporarily.
1863 Don't look inside the tar's file if it's too large.
1864
1865 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
1866
1867 * cus-edit.el (custom-mode-map):
1868 * epa.el (epa-key-list-mode-map):
1869 * man.el (Man-mode-map):
1870 * startup.el (splash-screen-keymap):
1871 * simple.el (special-mode-map): Use scroll-up-command and
1872 scroll-down-command.
1873
1874 * progmodes/idlw-help.el (idlwave-help-mode-map):
1875 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1876 * net/newst-plainview.el (newsticker-mode-map):
1877 * emulation/ws-mode.el (wordstar-mode-map):
1878 * emulation/vi.el (vi-com-map):
1879 * calc/calc-graph.el (calc-graph-show-dumb):
1880 * term/sun.el (terminal-init-sun):
1881 * term/ns-win.el (global-map):
1882 * progmodes/grep.el (grep-mode-map):
1883 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1884 * mail/rmail.el (rmail-mode-map):
1885 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1886
1887 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1888 custom-safe-themes as special.
1889
1890 2011-10-01 Julien Danjou <julien@danjou.info>
1891
1892 * notifications.el (notifications-notify): Fix docstring.
1893
1894 2011-10-01 Per Starbäck <per@starback.se>
1895
1896 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1897
1898 2011-09-30 Martin Rudalics <rudalics@gmx.at>
1899
1900 * startup.el (command-line-1): Fix last fix by inserting
1901 initial-scratch-message into *scratch* before displaying it.
1902 (Bug#9605) and (Bug#9636)
1903
1904 2011-09-29 Eli Zaretskii <eliz@gnu.org>
1905
1906 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1907 window is hscrolled, move by logical lines. (Bug#9607)
1908 (line-move-visual): Update the doc string to the above effect.
1909
1910 2011-09-29 Martin Rudalics <rudalics@gmx.at>
1911
1912 * window.el (display-buffer-record-window): When WINDOW is the
1913 selected window use `point' instead of `window-point'. (Bug#9626)
1914
1915 * startup.el (command-line-1): Use insert-before-markers when
1916 inserting initial-scratch-message. (Bug#9605)
1917
1918 * help.el (help-window): Remove variable.
1919
1920 2011-09-29 Glenn Morris <rgm@gnu.org>
1921
1922 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1923
1924 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
1925
1926 * descr-text.el (describe-char-categories): Accept category
1927 descriptions more than one line long.
1928
1929 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1930
1931 * simple.el (delete-trailing-whitespace): Fix last change.
1932
1933 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1934 Don't confuse "y => 3" as the beginning of a `y' operation.
1935
1936 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1937 object has more than 4 slots (bug#9613).
1938
1939 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
1940
1941 * subr.el (with-output-to-temp-buffer):
1942 * net/quickurl.el (quickurl, quickurl-browse-url):
1943 Fix typos in docstrings.
1944
1945 2011-09-27 Eli Zaretskii <eliz@gnu.org>
1946
1947 * minibuffer.el (completion-styles)
1948 (completion-category-overrides): Cross reference each other in doc
1949 strings.
1950
1951 2011-09-27 Glenn Morris <rgm@gnu.org>
1952
1953 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1954 to split-string. (Bug#9606)
1955
1956 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1957
1958 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1959 (bug#9615).
1960
1961 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
1962
1963 * emacs-lisp/package.el (list-packages): Fix echo area message.
1964
1965 2011-09-27 Leo Liu <sdl.web@gmail.com>
1966
1967 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1968
1969 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
1970
1971 * net/dbus.el (dbus-unregister-object): Don't release services for
1972 registered signals. (Bug#9581)
1973
1974 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1975
1976 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1977 function that picks between cfengine 2 and 3 support
1978 automatically. Update docs accordingly.
1979
1980 2011-09-22 Kenichi Handa <handa@m17n.org>
1981
1982 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1983 ZERO.
1984 (indian-itrans-v5-table-for-tamil): New variable.
1985 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1986
1987 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1988
1989 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1990 that's true if the current command involved collapsing of text.
1991 It's reset to false at the beginning of the next command.
1992 (allout-post-command-business): Move the cursor to the beginning
1993 of entry if the cursor is hidden and collapsing activity just
1994 happened.
1995
1996 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
1997
1998 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1999 tracking (Bug#9541).
2000
2001 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
2002
2003 * net/newst-reader.el (newsticker-html-renderer)
2004 (newsticker-show-news): Automatically
2005 load html rendering package if newsticker-html-renderer is set.
2006 Fixes "Warning: defvar ignored because w3m-fill-column is
2007 let-bound" and the error "Symbol's value as variable is void:
2008 w3m-fill-column".
2009
2010 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
2011
2012 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2013 Release services only if they are defined. (Bug#9581)
2014
2015 2011-09-23 Richard Stallman <rms@gnu.org>
2016
2017 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2018 distinguish start of paragraph from start of its text.
2019
2020 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2021
2022 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2023 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2024 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2025
2026 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2027
2028 * international/mule-diag.el (mule-diag): Insert a newline after
2029 each fontset description.
2030
2031 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * simple.el (delete-trailing-whitespace):
2034 Document last change; simplify.
2035
2036 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2037
2038 * simple.el (delete-trailing-whitespace): Also delete
2039 extra newlines at the end of the buffer.
2040
2041 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2042 (picture-newline): Use forward-line so as to ignore fields.
2043
2044 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2045
2046 * subr.el (with-wrapper-hook): Fix edebug spec.
2047
2048 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2049
2050 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2051 (bug#4538).
2052
2053 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
2054
2055 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2056 Fix nasty bug using wrong cached values.
2057
2058 2011-09-23 Alan Mackenzie <acm@muc.de>
2059
2060 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2061
2062 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
2063
2064 * window.el (pop-to-buffer): Ensure right window is selected if we
2065 chose another frame.
2066
2067 2011-09-22 Eli Zaretskii <eliz@gnu.org>
2068
2069 * simple.el (what-cursor-position): Use get-char-property-change
2070 and next-single-char-property-change, to be able to show display
2071 properties that come from overlays as well as text properties.
2072
2073 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
2074
2075 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2076
2077 * cmuscheme.el (run-scheme, switch-to-scheme):
2078 * cus-edit.el (customize-group, custom-buffer-create)
2079 (customize-browse):
2080 * info.el (info):
2081 * shell.el (shell):
2082 * mail/sendmail.el (mail):
2083 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2084
2085 2011-09-22 Richard Stallman <rms@gnu.org>
2086
2087 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2088 move back only to line beg, don't move back over blank lines.
2089
2090 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
2091
2092 * files.el (copy-directory): Set directory attributes only in case
2093 they could be retrieved from the source directory. (Bug#9565)
2094
2095 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2096
2097 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2098 (hs-find-block-beginning, hs-hide-level-recursive):
2099 Ignore strings as well as comments. (Bug#9502)
2100
2101 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2102
2103 * progmodes/sql.el (sql-comint-postgres):
2104 Convert port number to a string. (Bug#9566)
2105
2106 2011-09-22 Martin Rudalics <rudalics@gmx.at>
2107
2108 * window.el (quit-window): Undedicate window when switching to
2109 previous buffer. Reported by Thierry Volpiatto
2110 <thierry.volpiatto@gmail.com>.
2111 (special-display-popup-frame): When popping up a new frame reset
2112 its previous buffers to nil. Simplify code.
2113
2114 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
2115
2116 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2117 and process filter, as done also in `shell-command'.
2118
2119 2011-09-21 Martin Rudalics <rudalics@gmx.at>
2120
2121 * window.el (set-window-buffer-start-and-point):
2122 Call set-window-start with NOFORCE argument t. Suggested by Thierry
2123 Volpiatto <thierry.volpiatto@gmail.com>.
2124 (quit-window): Reword doc-string. Handle new format of
2125 quit-restore parameter. Don't delete window if it has a
2126 previous buffer we can show instead of the present one.
2127 (display-buffer-record-window): Rewrite using a new format for
2128 the quit-restore window parameter
2129 (special-display-popup-frame, display-buffer-same-window)
2130 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2131 (display-buffer-pop-up-window, display-buffer-use-some-window):
2132 Adapt symbol passed to display-buffer-record-window.
2133 * help.el (help-window-setup): Handle new format of quit-restore
2134 parameter.
2135
2136 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * faces.el (face-list): Fix docstring (bug#9564).
2139
2140 * window.el (display-buffer--action-function-custom-type):
2141 Don't include internal functions in the Custom interface.
2142
2143 2011-09-20 Juri Linkov <juri@jurta.org>
2144
2145 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2146 (Info-forward-node, Info-backward-node, Info-next-preorder)
2147 (Info-last-preorder): Use it. (Bug#9528)
2148
2149 2011-09-20 Juri Linkov <juri@jurta.org>
2150
2151 * info.el (Info-last-preorder): Visit last menu item only when
2152 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2153
2154 2011-09-20 Julien Danjou <julien@danjou.info>
2155
2156 * password-cache.el (password-cache-remove): Remove entries even if the
2157 value is nil, so that password with a nil value (negative caching) is
2158 possible to invalidate.
2159
2160 2011-09-20 Lawrence Mitchell <wence@gmx.li>
2161
2162 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2163 all whitespace around breakpoint. (Bug#9553)
2164 (f90-find-breakpoint): Only break at whitespace inside a comment.
2165
2166 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * minibuffer.el (completion-file-name-table): Keep track of errors.
2169 (completion-table-with-predicate): Handle the case where pred1 is nil.
2170 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2171
2172 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2173
2174 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2175 (debugger-return-value): Signal an error if the debugging context does
2176 not await any return value.
2177
2178 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2179 * image-mode.el (image-toggle-display-text)
2180 (image-toggle-display-image): Stay away from evil `intangible'.
2181
2182 2011-09-19 Leo Liu <sdl.web@gmail.com>
2183
2184 * replace.el (occur-revert-arguments): Make it permanent-local.
2185 (occur-mode): Don't call font-lock-defontify.
2186
2187 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
2188
2189 * net/ldap.el (ldap-search-internal): Don't push empty search
2190 result (Bug#9508).
2191
2192 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2193
2194 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2195
2196 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
2197
2198 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2199 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2200
2201 2011-09-18 Juri Linkov <juri@jurta.org>
2202
2203 * buff-menu.el (Buffer-menu-mode-map):
2204 * dired.el (dired-mode-map):
2205 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2206 (lisp-interaction-mode-map):
2207 * emacs-lisp/package.el (package-menu-mode-map):
2208 * epa.el (epa-key-list-mode-map):
2209 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2210 (menu-bar-options-menu):
2211 * outline.el (outline-mode-menu-bar-map):
2212 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2213 * vc/vc-dir.el (vc-dir-menu-map):
2214 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2215 Capitalize non-function content words in menu item strings.
2216
2217 * dired.el (dired-mode-map): Add menu item for
2218 `image-dired-dired-toggle-marked-thumbs'.
2219
2220 2011-09-18 Juri Linkov <juri@jurta.org>
2221
2222 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2223 to `isearch-case-fold-search' and restore its original value
2224 after the `isearch-mode' call.
2225
2226 2011-09-18 Juri Linkov <juri@jurta.org>
2227
2228 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2229 because `zgrep' returns 1 for successful matches (bug#9226).
2230
2231 2011-09-18 Juri Linkov <juri@jurta.org>
2232
2233 * info.el (Info-extract-menu-node-name): Check the second match
2234 for empty string (second test-case of bug#9528).
2235 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2236 intermediate nodes to the history (first test-case of bug#9528).
2237
2238 2011-09-18 Juri Linkov <juri@jurta.org>
2239
2240 * info.el (Info-mode-syntax-table): New variable.
2241 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
2242
2243 2011-09-18 Juri Linkov <juri@jurta.org>
2244
2245 * info.el (Info-file-supports-index-cookies): Increment
2246 line-beginning-position's arg from 3 to 4 because makeinfo outputs
2247 one more line for long file names (bug#4142).
2248
2249 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
2250
2251 * newcomment.el (comment-normalize-vars): If prompting for
2252 comment-start, set comment-start-skip too (Bug#8424).
2253
2254 2011-09-18 Johan Bockgård <bojohan@gnu.org>
2255
2256 * icomplete.el: Fix previous fix of Bug#5849.
2257 (icomplete-mode): Don't set completion-show-inline-help.
2258 (icomplete-minibuffer-setup): Set completion-show-inline-help
2259 locally during icompletion.
2260
2261 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
2262
2263 * woman.el (woman2-process-escapes): Don't delete unrecognized
2264 escapes (Bug#7843).
2265
2266 * files.el (inhibit-first-line-modes-regexps): Add image files.
2267 (hack-local-variables-prop-line): Return nil for malformed
2268 prop-lines (Bug#9044).
2269
2270 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
2271
2272 * net/tramp.el (top): Don't require 'shell.
2273 (tramp-methods): Fix docstring.
2274 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
2275 Return complete remote file name. Handle "smb" case.
2276 Use `tramp-tmpdir', if defined for the respective method.
2277 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2278
2279 * net/tramp-compat.el (top): Require 'shell.
2280
2281 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2282 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2283 `tramp-current-host'.
2284 (tramp-get-remote-tmpdir): Remove.
2285
2286 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2287 `tramp-tmpdir' entries.
2288 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2289 (tramp-smb-handle-file-attributes): Ignore errors.
2290 (tramp-smb-wait-for-output): Check also for process end.
2291
2292 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2293
2294 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2295 when sending QUIT (bug#9312).
2296
2297 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
2298
2299 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2300 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2301 occur-mode-display-occurrence.
2302 (occur-edit-mode): Add usage message.
2303 (occur-cease-edit): New command.
2304 (occur-after-change-function): Use text properties to find the
2305 position of the prefix text.
2306 (occur-engine): Set stickiness of prefix text properties.
2307
2308 2011-09-17 Glenn Morris <rgm@gnu.org>
2309
2310 * progmodes/etags.el (complete-tag):
2311 Fix call to completion-in-region. (Bug#9526)
2312
2313 2011-09-17 Juri Linkov <juri@jurta.org>
2314
2315 * textmodes/ispell.el (ispell-word): Add to the error message
2316 the word, ispell program name and current dictionary (bug#9121).
2317 (ispell-tex-arg-end): Capitalize "error" in the error message.
2318
2319 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
2320
2321 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
2322 check. (Bug#4251)
2323
2324 2011-09-17 Juri Linkov <juri@jurta.org>
2325
2326 * window.el (window-safe-min-height, window-safe-min-width):
2327 Fix typos (followup to bug#9522).
2328
2329 2011-09-17 Sven Joachim <svenjoac@gmx.de>
2330
2331 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
2332
2333 2011-09-16 Eli Zaretskii <eliz@gnu.org>
2334
2335 * simple.el (line-move): If goal-column is set, move by logical
2336 lines, not by display lines. (Bug#971)
2337 (next-line, previous-line, goal-column, line-move-visual): Doc fix
2338 to reflect the above change.
2339
2340 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2341
2342 * image.el (imagemagick-register-types): Use regexp-opt.
2343
2344 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
2345
2346 * window.el (display-buffer-base-action): Rename from
2347 display-buffer-default-action. Make default value empty.
2348 (display-buffer-overriding-action): Convert to defvar.
2349 (display-buffer-fallback-action): New var.
2350
2351 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
2352
2353 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
2354 declaration.
2355 (package--add-to-archive-contents): If there is a duplicate entry
2356 with an older version, remove it.
2357 (package-menu-mark-delete, package-menu-mark-install)
2358 (package-menu-mark-unmark): Make unused args optional.
2359 (package-menu-mark-obsolete-for-deletion):
2360 Use package-menu-get-status instead of a regexp search.
2361 (package-menu-get-status): Use tabulated-list-entry.
2362 (package-menu-mark-upgrades): New command.
2363 (package-menu-mode-map): Bind it to U. Add it to menu bar.
2364 (package-menu-execute): Do installation before deletion.
2365 (package-menu-refresh, package-menu-execute): Use derived-mode-p
2366 instead of checking major-mode.
2367 (package-menu--find-upgrades): New function.
2368
2369 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2370
2371 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2372 passwords in the log buffer.
2373 (smtpmail-process-filter): Update the process marker so that the
2374 "broken by peer" status message is inserted in the right place.
2375
2376 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2377
2378 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2379 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2380 bibtex-completion-at-point-function.
2381 (bibtex-completion-at-point-function): Use them.
2382
2383 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2384
2385 * mpc.el (mpc-constraints-tag-lookup): New function.
2386 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2387 also to browser "album|playlist".
2388
2389 2011-09-14 Juri Linkov <juri@jurta.org>
2390
2391 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
2392 (isearch-edit-string): Use length of `isearch-string' when
2393 `isearch-fail-pos' returns nil.
2394 (isearch-message): Remove duplicate code and call
2395 `isearch-fail-pos' with arg `t'.
2396
2397 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
2398
2399 * replace.el (occur-mode-goto-occurrence): Don't force using other
2400 window (Bug#9499).
2401
2402 * dired-aux.el (dired-do-chmod): Don't provide initial input.
2403
2404 2011-09-14 Martin Rudalics <rudalics@gmx.at>
2405
2406 * window.el (display-buffer-window): Remove.
2407 (display-buffer-record-window): Use help-setup window parameter
2408 instead of variable display-buffer-window.
2409 (display-buffer-function, special-display-buffer-names)
2410 (special-display-function): Mention help-setup parameter instead
2411 of display-buffer-window in doc-string.
2412 * help.el (help-window-setup): New argument help-window.
2413 Use help-window-setup parameter instead of display-buffer-window.
2414 Reword some messages.
2415 (with-help-window): Pass window used for displaying the buffer
2416 to help-window-setup. Don't set display-buffer-window.
2417
2418 2011-09-13 Glenn Morris <rgm@gnu.org>
2419
2420 * emacs-lisp/debug.el (debugger-make-xrefs):
2421 Preserve point. (Bug#9462)
2422
2423 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
2424
2425 * window.el (window-deletable-p): Use next-frame.
2426
2427 2011-09-13 Martin Rudalics <rudalics@gmx.at>
2428
2429 * window.el (window-auto-delete): Remove.
2430 (window-deletable-p): Remove argument FORCE. Don't deal with
2431 dedication and previous buffers.
2432 (switch-to-prev-buffer): Don't delete window.
2433 (delete-windows-on): Delete a window's frame if and only if the
2434 window is dedicated.
2435 (replace-buffer-in-windows): Delete buffer's window or frame if
2436 and only if window is dedicated.
2437 (quit-window): Handle quit-restore as before last change.
2438 (bury-buffer): Delete window only if window-deletable-p returns t.
2439
2440 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
2441
2442 * window.el (window-deletable-p): Never delete the last frame on a
2443 given terminal.
2444
2445 2011-09-13 Glenn Morris <rgm@gnu.org>
2446
2447 * help.el (describe-key-briefly): Copy previous standard-output change.
2448
2449 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
2450
2451 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
2452
2453 2011-09-13 Glenn Morris <rgm@gnu.org>
2454
2455 * emacs-lisp/lisp-mode.el (lisp-indent-function):
2456 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2457
2458 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
2459
2460 * dired-aux.el (dired-mark-read-string): Don't return default
2461 value on empty input (Bug#9361).
2462 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2463 Omit initial minibuffer contents.
2464 (dired-do-chmod): Signal an error on empty input.
2465 (dired-mark-read-string): Don't return default on empty input.
2466
2467 * files.el (file-modes-symbolic-to-number): Doc fix.
2468
2469 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2470
2471 * international/mule-cmds.el (ucs-completions): Remove.
2472 (read-char-by-name): Use complete-with-action instead; add metadata.
2473
2474 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
2475
2476 * window.el (display-buffer--action-function-custom-type)
2477 (display-buffer--action-custom-type): New vars.
2478 (display-buffer-alist, display-buffer-default-action)
2479 (display-buffer-overriding-action): Add defcustom types.
2480
2481 * frame.el (delete-other-frames): Doc fix (Bug#276).
2482
2483 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2484
2485 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2486
2487 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
2488
2489 Change modes that used same-window-* vars to use switch-to-buffer.
2490
2491 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2492 Use switch-to-buffer.
2493
2494 * cus-edit.el (customize-group, custom-buffer-create)
2495 (customize-browse, custom-buffer-create-other-window):
2496 Use switch-to-buffer or switch-to-buffer-other-window.
2497
2498 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2499 (Info-prev, Info-up, Info-speedbar-goto-node)
2500 (info-display-manual): Use switch-to-buffer.
2501 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2502
2503 * mail/sendmail.el (mail): Use switch-to-buffer.
2504 (mail-recover): Use switch-to-buffer-other-window.
2505
2506 * cmuscheme.el (run-scheme, switch-to-scheme):
2507 * ielm.el (ielm):
2508 * shell.el (shell):
2509 * net/rlogin.el (rlogin):
2510 * net/telnet.el (telnet, rsh):
2511 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2512
2513 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2514
2515 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2516
2517 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2518
2519 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2520 so don't mention it (bug#9301).
2521 (dired-sort-toggle-or-edit): Clarify string further.
2522
2523 * faces.el (face-spec-set-match-display): Make `(type graphic)'
2524 match `x', `w32' and `ns', like the manual says (bug#9029).
2525
2526 * subr.el (eval-after-load): Doc string clarification (bug#9125).
2527 (process-kill-buffer-query-function): Mention the buffer name in
2528 the query.
2529
2530 * image-mode.el (image-next-line): The line parameter is mandatory
2531 (bug#9258).
2532
2533 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2534 which can be useful (bug#9301).
2535
2536 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2537
2538 * subr.el (match-string): Mention that the current buffer should
2539 be the same as the search was done in (bug#9282).
2540
2541 * facemenu.el: Disable the remove-* commands if the mark isn't
2542 active (bug#9162).
2543
2544 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
2545
2546 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2547 of display-buffer.
2548 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2549
2550 * replace.el (occur-mode-goto-occurrence)
2551 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2552 and display-buffer.
2553
2554 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2555 display-buffer.
2556
2557 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2558 special-display and same-window variables.
2559 (mail-other-window): Use switch-to-buffer-other-window.
2560 (mail-other-frame): USe switch-to-buffer-other-frame.
2561
2562 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2563 Use display-buffer-other-frame.
2564 (gdb-display-gdb-buffer): Use pop-to-buffer.
2565
2566 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2567
2568 * progmodes/python.el: Don't set same-window-buffer-names.
2569
2570 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2571
2572 * window.el (display-buffer-alist): Add *Python*.
2573
2574 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
2575
2576 * window.el (display-buffer-alist): Add entry for buffers
2577 previously handled same-window-*.
2578 (display-buffer-alist, display-buffer-default-action)
2579 (display-buffer-overriding-action): Mark as risky.
2580 (display-buffer-alist): Document action function changes.
2581 (display-buffer--same-window-action)
2582 (display-buffer--other-frame-action): New variables.
2583 (switch-to-buffer, display-buffer-other-frame): Use them.
2584 (display-buffer): Rename reuse-frame entry to reusable-frames.
2585 (display-buffer-reuse-selected-window): Function deleted.
2586 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2587 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2588 (display-buffer-special): New function.
2589 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2590 display-buffer-reuse-or-pop-window. Split off special-display
2591 part into display-buffer-special.
2592 (display-buffer-use-some-window): Don't perform any special
2593 pop-up-frames handling.
2594 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
2595 (display-buffer--maybe-same-window): Rename from
2596 display-buffer-maybe-same-window.
2597
2598 * info.el: Don't set same-window-regexps.
2599 (info-setup): New function.
2600 (info-other-window, info): Call it.
2601
2602 * cus-edit.el: Don't set same-window-regexps.
2603 (customize-group): New argument.
2604 (customize-group-other-window): Use it.
2605 (customize-face, customize-face-other-window): Likewise.
2606 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2607
2608 * net/rlogin.el:
2609 * net/telnet.el:
2610 * progmodes/gud.el: Don't set same-window-regexps.
2611
2612 * cmuscheme.el:
2613 * ielm.el:
2614 * shell.el:
2615 * mail/sendmail.el:
2616 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2617
2618 2011-09-10 Juri Linkov <juri@jurta.org>
2619
2620 * isearch.el (isearch-edit-string): Remove obsolete mention of
2621 `C-w' (`isearch-yank-word-or-char') from docstring.
2622 (isearch-query-replace): Fix typo in docstring (bug#9466).
2623
2624 2011-09-10 Juri Linkov <juri@jurta.org>
2625
2626 * paren.el (show-paren-function): Don't show escaped parens.
2627 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2628
2629 2011-09-10 Eli Zaretskii <eliz@gnu.org>
2630
2631 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2632 (mm-default-file-encoding): Remove autoload forms, they are
2633 replaced with autoload cookies in mml.el and mm-encode.el.
2634 (mail-add-attachment): New command.
2635 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2636 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2637 the doc string.
2638 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2639
2640 2011-09-10 Reuben Thomas <rrt@sc3d.org>
2641
2642 * simple.el (count-words-region): Use buffer if there's no region
2643 (bug#9429).
2644
2645 2011-09-09 Juri Linkov <juri@jurta.org>
2646
2647 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2648 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2649 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2650
2651 2011-09-09 Alan Mackenzie <acm@muc.de>
2652
2653 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2654 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2655
2656 2011-09-09 Eli Zaretskii <eliz@gnu.org>
2657
2658 Fix for Savannah bug#9392.
2659 * simple.el (mail-encode-mml): New defvar.
2660
2661 * mail/rmail.el (mail-encode-mml): Add a defvar.
2662 (rmail-enable-mime-composing): Default to t.
2663 (rmail-forward): Use MIME method of forwarding only if both
2664 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2665 Set mail-encode-mml non-nil if the MIME method was used.
2666
2667 * mail/sendmail.el (mml-to-mime): Add autoload form.
2668 (mail-encode-mml): Add a defvar.
2669 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2670 to nil.
2671 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2672 message through mml-to-mime, and reset mail-encode-mml to nil.
2673
2674 2011-09-09 Glenn Morris <rgm@gnu.org>
2675
2676 * woman.el (woman-if-body): When processing an .el block,
2677 do not delete the next .el block as well. (Bug#9447)
2678 (woman-special-characters): Add oq, cq, and hy characters.
2679
2680 2011-09-08 Martin Rudalics <rudalics@gmx.at>
2681
2682 * window.el (window-deletable-p): Make sure window is live before
2683 invoking window-prev-buffers.
2684
2685 2011-09-08 Leo Liu <sdl.web@gmail.com>
2686
2687 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2688
2689 2011-09-08 Juri Linkov <juri@jurta.org>
2690
2691 * progmodes/compile.el (compilation-environment): Make it
2692 a defcustom (bug#8340).
2693
2694 2011-09-08 Martin Rudalics <rudalics@gmx.at>
2695
2696 * window.el (frame-auto-delete): Rename to window-auto-delete.
2697 Make it control auto-deletion of windows and/or frames.
2698 (window-deletable-p): New argument FORCE. Rewrite conditions
2699 for deleting window/frame. (Bug#9419)
2700 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2701 Rewrite handling of case when window/frame can be deleted.
2702 (delete-windows-on): Call window-deletable-p with new FORCE
2703 argument t. (Bug#9456)
2704
2705 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
2706
2707 * help-mode.el (help-mode): Restore autoload.
2708
2709 2011-09-07 Juri Linkov <juri@jurta.org>
2710
2711 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2712 `compilation-environment'. Set buffer-local
2713 `compilation-environment' to `thisenv' later after (funcall mode).
2714 (Bug#8340)
2715
2716 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2717 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2718 instead of replacing its value. (Bug#8340)
2719
2720 2011-09-07 Juri Linkov <juri@jurta.org>
2721
2722 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2723 based on text properties put by `grep-filter' instead of matching
2724 escape sequences.
2725 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2726 to the value of `grep-error-screen-columns' (bug#9438).
2727
2728 2011-09-07 Juri Linkov <juri@jurta.org>
2729
2730 * simple.el (next-error-highlight, next-error-highlight-no-select):
2731 Doc fix (bug#9432).
2732
2733 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2734
2735 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2736 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2737
2738 2011-09-07 Leo Liu <sdl.web@gmail.com>
2739
2740 * net/rcirc.el (rcirc-mode): Conditionally initialize
2741 rcirc-input-ring.
2742
2743 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2744
2745 * emacs-lisp/find-func.el (find-function-C-source): Only set
2746 find-function-C-source-directory after checking that we found a source
2747 file there (bug#9440).
2748
2749 2011-09-06 Alan Mackenzie <acm@muc.de>
2750
2751 * isearch.el (isearch-other-meta-char): Wherever a key list is
2752 unread, "unread" the prefix arg, too. This fixes bug #8901.
2753
2754 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2755
2756 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2757
2758 2011-09-05 Juri Linkov <juri@jurta.org>
2759
2760 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2761
2762 2011-09-05 Juri Linkov <juri@jurta.org>
2763
2764 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2765 keeping point where processing of grep matches begins, and
2766 continue to delete remaining escape sequences from the same point.
2767 (grep-filter): Make leading zero optional in "0?1;31m" because
2768 git-grep emits "\033[1;31m" escape sequences unlike expected
2769 "\033[01;31m" as GNU Grep does (bug#9408).
2770 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2771
2772 2011-09-05 Juri Linkov <juri@jurta.org>
2773
2774 * subr.el (y-or-n-p): Capitalize "yes".
2775
2776 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
2777
2778 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2779 `tramp-cache-unload-hook' where appropriate.
2780 (tramp-methods): Rename `tramp-remote-sh' to
2781 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2782 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2783
2784 * net/tramp-sh.el (top): Don't require 'shell.
2785 (tramp-methods): Add `tramp-remote-shell' and
2786 `tramp-remote-shell-args' entries.
2787 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2788 (tramp-sh-handle-shell-command): Remove.
2789 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2790 Use `tramp-remote-shell'.
2791
2792 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
2793
2794 * mail/sendmail.el (sendmail-query-once-function): Delete.
2795 (sendmail-query-once): Save directly to send-mail-function.
2796 Update message-send-mail-function too.
2797
2798 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2799
2800 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2801
2802 * progmodes/python.el (python-mode-map): Use correct function to
2803 start python interpreter from menu-bar (as reported by Geert
2804 Kloosterman).
2805 (inferior-python-mode-map): Fix typo.
2806 (python-shell-map): Remove.
2807
2808 2011-09-03 Deniz Dogan <deniz@dogan.se>
2809
2810 * net/rcirc.el (rcirc-print): Simplify code for
2811 rcirc-scroll-show-maximum-output. There is no need to walk
2812 through all windows to find the right one.
2813
2814 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2815
2816 * help.el (help-return-method): Doc fix.
2817
2818 2011-09-03 Martin Rudalics <rudalics@gmx.at>
2819
2820 * window.el (window-deletable-p): Don't return a non-nil value
2821 when there's a buffer that was shown in the window before.
2822 (Bug#9419)
2823 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2824 Set window's previous buffers to nil.
2825
2826 2011-09-03 Eli Zaretskii <eliz@gnu.org>
2827
2828 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2829 newline before and after the tag line, so it doesn't interfere
2830 with determining the paragraph direction of bidirectional text.
2831
2832 2011-09-03 Leo Liu <sdl.web@gmail.com>
2833
2834 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2835
2836 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
2837
2838 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
2839 (pop-to-buffer): Change interactive spec. Pass second argument
2840 directly to display-buffer.
2841 (display-buffer): Fix interactive spec. Use functionp to
2842 distinguish between a function and a list of functions.
2843
2844 * abbrev.el (edit-abbrevs):
2845 * arc-mode.el (archive-extract):
2846 * autoinsert.el (auto-insert):
2847 * bookmark.el (bookmark-bmenu-list):
2848 * files.el (find-file):
2849 * view.el (view-buffer):
2850 * progmodes/compile.el (compilation-goto-locus):
2851 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2852
2853 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
2854
2855 * window.el (display-buffer-alist): Doc fix.
2856 (display-buffer): Add docstring. Don't treat
2857 display-buffer-default specially.
2858 (display-buffer-reuse-selected-window)
2859 (display-buffer-same-window, display-buffer-maybe-same-window)
2860 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2861 (display-buffer-pop-up-window)
2862 (display-buffer-reuse-or-pop-window)
2863 (display-buffer-use-some-window): New functions.
2864 (display-buffer-default-action): Use them.
2865 (display-buffer-default): Delete.
2866 (pop-to-buffer-1): Fix choice of actions.
2867
2868 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2869
2870 * minibuffer.el (completion--insert-strings): Don't get confused by
2871 completion entries that end with an LF char.
2872
2873 2011-09-01 Eli Zaretskii <eliz@gnu.org>
2874
2875 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2876
2877 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
2878
2879 * window.el (display-buffer): Restore interactive spec.
2880 (display-buffer-same-window, display-buffer-other-window):
2881 New functions.
2882 (pop-to-buffer-1): New function. Use the above.
2883 (pop-to-buffer, pop-to-buffer-same-window): Use it.
2884 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
2885
2886 * view.el (view-buffer-other-window, view-buffer-other-frame):
2887 Just use pop-to-buffer.
2888
2889 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2890
2891 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2892
2893 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2894
2895 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2896
2897 2011-08-31 Richard Stallman <rms@gnu.org>
2898
2899 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2900 of the separation of rmail-view-buffer from rmail-buffer.
2901 If you say no to "replace original", the decrypt is in the
2902 view buffer. If you say yes, the decrypt goes into the
2903 rmail buffer also.
2904
2905 2011-08-31 Martin Rudalics <rudalics@gmx.at>
2906
2907 * window.el (display-buffer-window): Rewrite doc-string.
2908 (display-buffer-record-window): New function.
2909 (display-buffer-macro-specifiers)
2910 (display-buffer-even-window-sizes, display-buffer-set-height)
2911 (display-buffer-set-width, display-buffer-in-window)
2912 (display-buffer-reuse-window, display-buffer-split-specifiers)
2913 (display-buffer-side-specifiers, display-buffer-split-window-1)
2914 (display-buffer-split-window, display-buffer-split-atom-window)
2915 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2916 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2917 (display-buffer-other-window-means-other-frame)
2918 (display-buffer-normalize-special)
2919 (display-buffer-normalize-default)
2920 (display-buffer-normalize-argument)
2921 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2922 (display-buffer-normalize-specifiers, display-buffer-frame)
2923 (display-buffer-same-window, display-buffer-same-frame)
2924 (display-buffer-other-window)
2925 (display-buffer-same-frame-other-window)
2926 (display-buffer-other-frame, pop-to-buffer-same-window)
2927 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2928 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2929 (switch-to-buffer-same-frame)
2930 (switch-to-buffer-other-window-same-frame)
2931 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2932 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2933 (display-buffer-alist-set): Remove.
2934 (display-buffer-function, special-display-buffer-names)
2935 (special-display-regexps, special-display-function):
2936 In doc-string refer to display-buffer-window and quit-restore
2937 parameter.
2938 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2939 (special-display-frame-alist, special-display-popup-frame)
2940 (same-window-buffer-names, same-window-regexps, same-window-p)
2941 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2942 (split-window-preferred-function, split-height-threshold)
2943 (split-width-threshold, window-splittable-p)
2944 (split-window-sensibly, window--try-to-split-window)
2945 (window--frame-usable-p, even-window-heights)
2946 (window--even-window-heights, window--display-buffer-1)
2947 (window--display-buffer-2, display-buffer-other-frame):
2948 Restore old Emacs 23 code, order and doc-strings where applicable.
2949 (display-buffer-default, display-buffer-assq-regexp): New functions.
2950 (display-buffer-alist): Rewrite doc-string.
2951 (display-buffer-default-action)
2952 (display-buffer-overriding-action): New variables.
2953 (display-buffer, switch-to-buffer): Rewrite.
2954 (pop-to-buffer): Restore Emacs 23 behavior but use
2955 window-normalize-buffer-to-display.
2956 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2957 Restore Emacs 23 behavior but use
2958 window-normalize-buffer-to-switch-to.
2959 (pop-to-buffer-same-window): Rewrite.
2960 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2961 Rewrite using Emacs 23 options.
2962
2963 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
2964
2965 * net/tramp.el (tramp-root-regexp): Remove.
2966 (tramp-completion-file-name-regexp-unified)
2967 (tramp-completion-file-name-regexp-separate)
2968 (tramp-completion-file-name-regexp-url): Don't use leading volume
2969 letter on win32 systems. (Bug#5303, Bug#9311)
2970 (tramp-drop-volume-letter): Simplify definition.
2971 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2972
2973 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2974
2975 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2976 (bug#9356).
2977
2978 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2979
2980 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
2981
2982 2011-08-29 Juri Linkov <juri@jurta.org>
2983
2984 * isearch.el (isearch-done): Don't display message "Mark saved"
2985 when arg `edit' is non-nil to prevent its flicker in the echo area.
2986
2987 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
2988
2989 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2990 obsolete packages for deletion.
2991
2992 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2993
2994 * help-mode.el (help-mode-map): Add special-mode-map to parent.
2995 (help-mode): Derive help-mode from special-mode. Don't invoke
2996 view-mode from help-mode.
2997 (help-xref-override-view-map): Remove.
2998 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2999 view-mode is not used anymore.
3000
3001 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
3002
3003 * server.el (server-port): Doc fix.
3004
3005 * cus-theme.el (custom-theme-choose-mode): Inherit from
3006 special-mode (Bug#9124).
3007 (custom-theme-choose-mode-map): Add special-mode to parent.
3008
3009 2011-08-28 Alan Mackenzie <acm@muc.de>
3010
3011 * progmodes/cc-fonts.el
3012 (c-make-font-lock-BO-decl-search-function): New function.
3013 (c-basic-matchers-after - "Fontify the clauses after various
3014 keywords"): Extract the three keyword lists for the 3 erroneous
3015 constructs from the list of four, and use the new function above
3016 in place of an old one.
3017
3018 2011-08-28 Deniz Dogan <deniz@dogan.se>
3019
3020 * net/rcirc.el (rcirc-insert-prev-input)
3021 (rcirc-insert-next-input): Remove unused argument.
3022
3023 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3024
3025 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3026
3027 2011-08-27 Alan Mackenzie <acm@muc.de>
3028
3029 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3030 handle function pointer parameters properly.
3031
3032 2011-08-27 Martin Rudalics <rudalics@gmx.at>
3033
3034 * window.el (display-buffer-reuse-window): Fix case where
3035 selected window was reused with non-nil OTHER-WINDOW argument.
3036 (Bug#9381)
3037
3038 2011-08-27 Deniz Dogan <deniz@dogan.se>
3039
3040 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3041 oftc's NickServ messages.
3042
3043 2011-08-27 Glenn Morris <rgm@gnu.org>
3044
3045 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3046
3047 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
3048
3049 * emacs-lisp/package.el (package-install): Call package-initialize
3050 if called interactively.
3051
3052 2011-08-26 Leo Liu <sdl.web@gmail.com>
3053
3054 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3055
3056 2011-08-25 Juri Linkov <juri@jurta.org>
3057
3058 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3059 `search-whitespace-regexp' (bug#9364).
3060
3061 2011-08-25 Juri Linkov <juri@jurta.org>
3062
3063 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3064 `regexp-search-ring' to their global values to protect from
3065 updating by `read-from-minibuffer' (bug#9185).
3066
3067 2011-08-25 Juri Linkov <juri@jurta.org>
3068
3069 * textmodes/ispell.el (ispell-command-loop): Add newline
3070 at the end of the "Use option `i'..." line.
3071
3072 2011-08-25 Juri Linkov <juri@jurta.org>
3073
3074 * battery.el (display-battery-mode): If `battery-status-function'
3075 or `battery-mode-line-format' is nil, display the message and set
3076 `display-battery-mode' to nil (bug#9363).
3077
3078 2011-08-25 Eli Zaretskii <eliz@gnu.org>
3079
3080 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3081 bidi-string-mark-left-to-right; they are unnecessary now.
3082
3083 2011-08-25 Deniz Dogan <deniz@dogan.se>
3084
3085 * net/quickurl.el: Documentation typo fixes.
3086
3087 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
3088
3089 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3090
3091 2011-08-25 Glenn Morris <rgm@gnu.org>
3092
3093 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3094
3095 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3096 (smtpmail-via-smtp): Handle nil response from smtp.
3097
3098 2011-08-24 Juri Linkov <juri@jurta.org>
3099
3100 * proced.el (proced-marked): Inherit from `error' instead of
3101 `font-lock-warning-face'.
3102
3103 * ibuffer.el (ibuffer-marked-face): Change default face from
3104 `font-lock-warning-face' to `warning'.
3105 (ibuffer-deletion-face): Change default face from
3106 `font-lock-type-face' to `error'.
3107
3108 * battery.el (battery-update): Use the face `error' instead of
3109 `font-lock-warning-face' (bug#6117).
3110
3111 2011-08-24 Juri Linkov <juri@jurta.org>
3112
3113 * faces.el (success): Change face color from "Green3" to
3114 "ForestGreen" on light background (bug#9353).
3115
3116 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
3117
3118 * window.el (quit-window): Rename from quit-restore-window.
3119 Use same arglist as old quit-window.
3120 (frame-auto-delete): Doc fix.
3121
3122 * view.el (view-mode-exit): Use quit-window.
3123
3124 2011-08-24 Juri Linkov <juri@jurta.org>
3125
3126 * isearch.el (isearch-ring-adjust1): Start visiting previous
3127 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3128 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3129 for empty search string (when the last search string is reused
3130 automatically) to adjust the isearch ring to the last element and
3131 prepare the correct index for further M-p commands (bug#9185).
3132
3133 2011-08-24 Kenichi Handa <handa@m17n.org>
3134
3135 * international/ucs-normalize.el: If decomposition property of
3136 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3137 nil.
3138 (nfd, nfkd): Likewise.
3139
3140 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3143 from process filters aren't reliably transmitted to the surrounding
3144 accept-process-output.
3145 (mpc-proc-check): New function.
3146 (mpc-proc-sync): Use it (bug#8293)
3147
3148 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3151 Add compatibility functions (bug#9313).
3152
3153 2011-08-23 Eli Zaretskii <eliz@gnu.org>
3154
3155 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3156
3157 * international/uni-bidi.el: Regenerated.
3158
3159 2011-08-23 Kenichi Handa <handa@m17n.org>
3160
3161 * international/charprop.el:
3162 * international/uni-bidi.el:
3163 * international/uni-category.el:
3164 * international/uni-combining.el:
3165 * international/uni-comment.el:
3166 * international/uni-decimal.el:
3167 * international/uni-decomposition.el:
3168 * international/uni-digit.el:
3169 * international/uni-lowercase.el:
3170 * international/uni-mirrored.el:
3171 * international/uni-name.el:
3172 * international/uni-numeric.el:
3173 * international/uni-old-name.el:
3174 * international/uni-titlecase.el:
3175 * international/uni-uppercase.el: Regenerate.
3176
3177 2011-08-23 Martin Rudalics <rudalics@gmx.at>
3178
3179 * help.el (help-window-setup): Fix message displayed when other
3180 window is reused. (Bug#9341)
3181
3182 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3183
3184 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3185 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3186
3187 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3188 Mark obsolete.
3189 * shell.el (shell-parse-pcomplete-arguments): New function.
3190 (shell-completion-vars): Use it instead (bug#9160).
3191
3192 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3193
3194 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3195 strings and comments (bug#9333).
3196
3197 * emacs-lisp/debug.el (debug-arglist): New function.
3198 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3199 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3200
3201 2011-08-22 Juri Linkov <juri@jurta.org>
3202
3203 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3204 Revert regexp that highlights output switches to its old
3205 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3206
3207 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3208 to check for empty output (bug#9226).
3209
3210 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
3211
3212 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3213 symbol-constituent as the default, as that stops font-lock from
3214 working properly (Bug#8843).
3215
3216 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3217
3218 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3219 `coding-system-for-*' around the process open call to avoid
3220 auth-source side effects.
3221 (smtpmail-try-auth-methods): Expand the secret password.
3222 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3223 probe hangs.
3224
3225 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
3226
3227 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3228
3229 * emacs-lisp/find-func.el (find-function-noselect): New arg
3230 lisp-only.
3231
3232 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3233 signal an error for built-in functions (Bug#6664).
3234
3235 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3236
3237 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3238 (smtpmail-try-auth-methods): Use it.
3239
3240 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
3241
3242 * font-lock.el (font-lock-fontify-region)
3243 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3244 (font-lock-default-unfontify-buffer)
3245 (font-lock-default-fontify-region)
3246 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3247
3248 * progmodes/compile.el (compilation-error-properties):
3249 Fix confusion between file struct and message struct (Bug#9319).
3250 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3251 `ant' regexp.
3252
3253 * net/browse-url.el (browse-url-firefox): Don't call
3254 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3255
3256 2011-08-20 Glenn Morris <rgm@gnu.org>
3257
3258 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3259
3260 * tutorial.el (tutorial--default-keys): Update some default bindings.
3261
3262 * files.el (hack-local-variables): Fully ignore case for "mode:".
3263
3264 2011-08-20 Alan Mackenzie <acm@muc.de>
3265
3266 Resolve invalid use of a regexp in regexp-opt.
3267
3268 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3269 detection for a java annotation.
3270
3271 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
3272 detection for a java annotation.
3273
3274 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3275 handling for java.
3276 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3277
3278 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
3279
3280 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3281 (Bug#9274).
3282
3283 2011-08-20 Alan Mackenzie <acm@muc.de>
3284
3285 Fontify CPP expressions correctly when starting in the middle of
3286 such a construct. Mainly for when jit-lock etc. starts a chunk
3287 here.
3288
3289 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
3290 variable.
3291 (c-make-font-lock-search-form): New function, extracted from
3292 c-make-font-lock-search-function.
3293 (c-make-font-lock-search-function): Use the above function.
3294 (c-make-font-lock-context-search-function): New function.
3295 (c-cpp-matchers): Enhance the preprocessor expression case with
3296 the above function
3297 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3298 which takes an expression.
3299
3300 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3301
3302 2011-08-20 Martin Rudalics <rudalics@gmx.at>
3303
3304 * window.el (display-buffer-reuse-window)
3305 (display-buffer-pop-up-window): Don't reuse or split a side
3306 window.
3307
3308 2011-08-19 Glenn Morris <rgm@gnu.org>
3309
3310 * files.el (hack-local-variables-prop-line, hack-local-variables):
3311 Downcase "Mode:". (Bug#9331)
3312
3313 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
3314
3315 * international/characters.el: Add L and R categories.
3316
3317 * subr.el (bidi-string-mark-left-to-right): Rename from
3318 string-mark-left-to-right. Use category search.
3319
3320 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
3321
3322 2011-08-18 Juri Linkov <juri@jurta.org>
3323
3324 * faces.el (error, warning, success): New faces with definitions
3325 copied from old default values of `font-lock-warning-face',
3326 `compilation-warning', `compilation-info' (bug#6117).
3327
3328 * font-lock.el (font-lock-warning-face): Inherit from `error'.
3329
3330 * progmodes/compile.el (compilation-error): Inherit from `error'.
3331 (compilation-warning): Inherit from `warning'.
3332 (compilation-info): Inherit from `success'.
3333
3334 * dired.el (dired-marked): Inherit from `warning'.
3335 (dired-flagged): Inherit from `error'.
3336
3337 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3338
3339 * mail/smtpmail.el (auth-source): Require to avoid problems with
3340 binding variables (bug#9298). Also clean up some unused
3341 autoloads.
3342
3343 * net/network-stream.el (network-stream-open-starttls):
3344 Support using starttls.el without using gnutls-cli.
3345
3346 2011-08-17 Juri Linkov <juri@jurta.org>
3347
3348 * progmodes/grep.el (rgrep): Handle the case when
3349 `grep-find-command' is a cons cell (bug#9278).
3350
3351 2011-08-17 Martin Rudalics <rudalics@gmx.at>
3352
3353 * window.el (display-buffer-pop-up-frame): Run frame creation
3354 function with BUFFER current (as special-display-popup-frame
3355 does). Reported by Drew Adams.
3356
3357 2011-08-17 Daiki Ueno <ueno@unixuser.org>
3358
3359 * epa-mail.el: Simplify GnuPG group expansion using
3360 epg-expand-group.
3361 (epa-mail-group-alist, epa-mail-group-modtime)
3362 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3363 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3364 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3365 Remove.
3366
3367 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
3368
3369 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3370
3371 2011-08-16 Alan Mackenzie <acm@muc.de>
3372
3373 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3374 Correct, to avoid the inside of macros.
3375
3376 2011-08-16 Richard Stallman <rms@gnu.org>
3377
3378 * epa-mail.el: Handle GnuPG group definitions.
3379 (epa-mail-group-alist, epa-mail-group-modtime)
3380 (epa-mail-gnupg-conf-file): New variables.
3381 (epa-mail-parse-groups, epa-mail-sync-groups)
3382 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3383 (epa-mail-expand-recipients): New functions.
3384 (epa-mail-encrypt): Call epa-mail-expand-recipients.
3385
3386 * mail/rmail.el (rmail-epa-decrypt): New command.
3387
3388 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3389 Don't bind buffer-read-only, just inhibit-read-only.
3390 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3391 (epa-decrypt-armor-in-region): Make error message clearer.
3392
3393 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3396 and "a2b" to "ab" for `prefix'.
3397
3398 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
3399
3400 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3401 filter groups.
3402 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
3403 Fourquet (Bug#8804).
3404
3405 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
3406
3407 * startup.el (argi): Declare as global variable (bug#9275).
3408
3409 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
3410
3411 * subr.el (string-mark-left-to-right): Search the entire string
3412 for RTL script, not just the terminating character. Doc fix.
3413
3414 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3417 New function.
3418 (js--regexp-literal, js-syntax-propertize-function): Remove.
3419 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3420 (js-mode-map): Don't rebind electric keys.
3421 (js-insert-and-indent): Remove.
3422 (js-mode): Setup electric-layout and electric-indent instead.
3423
3424 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3425
3426 2011-08-12 Daiki Ueno <ueno@unixuser.org>
3427
3428 * epa.el (epa-progress-callback-function): Fix the logic of
3429 displaying progress.
3430 * epa-file.el (epa-file-insert-file-contents): Make progress
3431 display more user-friendly.
3432 (epa-file-write-region): Ditto.
3433
3434 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
3435
3436 * subr.el (string-mark-left-to-right): New function.
3437
3438 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3439 Use string-mark-left-to-right.
3440 (list-buffers-noselect): Caller changed.
3441
3442 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3443 Use string-mark-left-to-right.
3444 (tabulated-list-print): Recenter after moving point.
3445
3446 2011-08-10 Juri Linkov <juri@jurta.org>
3447
3448 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3449 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3450 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3451
3452 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
3453
3454 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3455 (Bug#7554).
3456
3457 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
3458
3459 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3460 character. (Bug#6594)
3461
3462 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
3463
3464 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3465 (image-dired--with-db-file): New macro.
3466 (image-dired-write-tags, image-dired-remove-tag)
3467 (image-dired-create-gallery-lists, image-dired-write-comments)
3468 (image-dired-get-comment, image-dired-mark-tagged-files)
3469 (image-dired-list-tags, image-dired-gallery-generate): Use it.
3470 (image-dired-gallery-generate): Use insert-file-contents.
3471
3472 * time.el (display-time-world-list, display-time-world-display):
3473 * time-stamp.el (time-stamp-string):
3474 * vc/add-log.el (add-change-log-entry): Use setenv instead of
3475 set-time-zone-rule (Bug#7337).
3476
3477 2011-08-08 Daiki Ueno <ueno@unixuser.org>
3478
3479 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3480 (epg-error-to-string, epg-errors-to-string): New function.
3481 (epg-wait-for-completion): Reverse errors list.
3482 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3483 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3484 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3485 (epg-sign-keys, epg-generate-key-from-file)
3486 (epg-generate-key-from-string): Format errors by using
3487 epg-errors-to-string (bug#9255).
3488 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3489
3490 2011-08-07 Juri Linkov <juri@jurta.org>
3491
3492 * faces.el (list-faces-display): Remove extra angle bracket
3493 from `help-mode-map'.
3494
3495 * info.el (Info-history-toc-nodes): Doc fix.
3496
3497 * longlines.el (longlines-mode): Doc fix.
3498
3499 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3502 of statements and in a few more cases (bug#9183).
3503
3504 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3505 New functions.
3506 (cl-transform-lambda): Use them (bug#9239).
3507
3508 2011-08-05 Martin Rudalics <rudalics@gmx.at>
3509
3510 * window.el (display-buffer-same-window)
3511 (display-buffer-same-frame, display-buffer-other-window)
3512 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3513 (pop-to-buffer-other-window)
3514 (pop-to-buffer-same-frame-other-window)
3515 (pop-to-buffer-other-frame): Make them defuns.
3516 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3517
3518 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * subr.el (make-composed-keymap): Move from C. Change calling
3521 convention, and improve docstring to bring attention to a subtle point.
3522 * minibuffer.el (completing-read-default): Adjust accordingly.
3523
3524 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
3525
3526 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3527 (tramp-open-shell): Use `tramp-shell-quote-argument'.
3528
3529 * net/trampver.el: Update release number.
3530
3531 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3532
3533 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3534 "in" (bug#9190).
3535
3536 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3537
3538 * mail/sendmail.el (sendmail-query-once): Restore the current
3539 buffer after querying (bug#9074).
3540
3541 * dired.el (dired-flagged): Use different faces for marked and
3542 flagged files (bug#6117).
3543
3544 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3545 (bug#4433).
3546
3547 * ido.el (ido-mode): Switch off the message if called
3548 non-interactively.
3549
3550 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3551 before 587, since it appears that that's more likely to work for
3552 more people.
3553
3554 * cus-edit.el (custom-file): When running under emacs -q, always
3555 refuse to save the customizations, even if the .emacs file doesn't
3556 exist.
3557
3558 * info.el: Remove the `Info-beginning-of-buffer' function
3559 (bug#8325).
3560
3561 * net/network-stream.el (network-stream-open-starttls):
3562 Use `starttls-available-p' to see whether starttls.el can be used.
3563
3564 2011-08-01 Martin Rudalics <rudalics@gmx.at>
3565
3566 * window.el (display-buffer-in-window): Don't set dedicated status
3567 of window here (Bug#9215).
3568 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3569 (display-buffer-pop-up-side-window)
3570 (display-buffer-in-side-window): Set dedicated status of window here.
3571
3572 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3573
3574 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3575 before binding generated-autoload-file.
3576
3577 2011-08-01 Deniz Dogan <deniz@dogan.se>
3578
3579 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3580
3581 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
3582
3583 Sync with Tramp 2.2.2.
3584
3585 * net/trampver.el: Update release number.
3586
3587 2011-07-30 Juri Linkov <juri@jurta.org>
3588
3589 * dired-aux.el (dired-touch-initial): Remove function.
3590 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3591 current time, and `default' to the last modification time of the
3592 current marked file (bug#6887).
3593
3594 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3595
3596 * simple.el (goto-line): Use string-to-number to provide a
3597 numeric argument to read-number (bug#9163).
3598
3599 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
3600
3601 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3602 connection process, it could be nil.
3603
3604 2011-07-27 Leo Liu <sdl.web@gmail.com>
3605
3606 Simplify url handling in rcirc-mode.
3607
3608 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3609 (rcirc-browse-url-at-mouse): Remove.
3610 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3611
3612 2011-07-26 Alan Mackenzie <acm@muc.de>
3613
3614 Fontify bitfield declarations properly.
3615
3616 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3617 (c-symbol-chars): Now exported as a lang variable.
3618 (c-not-primitive-type-keywords): New lang variable.
3619
3620 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3621 QT keyword "more" to prevent "more slots: ...." being spuriously
3622 parsed as a bitfield declaration.
3623
3624 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3625 Refactor and enhance to handle bitfield declarations.
3626 (c-punctuation-in): New function.
3627 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3628 declarations properly.
3629
3630 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
3631
3632 * calendar/icalendar.el (icalendar--all-events): Take care of
3633 multiple vcalendars in a single file.
3634 (icalendar--convert-float-to-ical): Checkdoc fixes.
3635
3636 2011-07-25 Deniz Dogan <deniz@dogan.se>
3637
3638 * image.el (insert-image): Clarifying docstring.
3639
3640 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
3641
3642 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3643 `tramp-send-command-and-check' if there is no error.
3644 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3645
3646 2011-07-22 Alan Mackenzie <acm@muc.de>
3647
3648 Prevent cc-langs.elc being loaded at run time.
3649
3650 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3651 cc-langs.
3652
3653 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
3654 "(require 'cc-langs)". Quote a form so it will evaluate at
3655 (cc-mode's) compilation time.
3656
3657 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
3658
3659 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3660 loading. (Bug#9114)
3661
3662 2011-07-21 Martin Rudalics <rudalics@gmx.at>
3663
3664 * window.el (display-buffer-pop-up-window)
3665 (display-buffer-pop-up-side-window)
3666 (display-buffer-in-side-window): Call display-buffer-set-height
3667 and display-buffer-set-width after setting the new window's
3668 buffer so `fit-window-to-buffer' and friends work on the right buffer.
3669
3670 2011-07-20 Sam Steingold <sds@gnu.org>
3671
3672 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3673 (etags-tags-included-tables): Call `convert-standard-filename' on
3674 the file names contained in TAGS so that windows Emacs can handle
3675 TAGS files created by cygwin ctags.
3676
3677 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3678
3679 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3680 which apparently didn't work.
3681
3682 2011-07-19 Roland Winkler <winkler@gnu.org>
3683
3684 * proced.el (proced-send-signal): For *Marked Processes* buffer
3685 put point at beginning of buffer.
3686
3687 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
3688
3689 * proced.el (proced-format): Make header lines align with the text
3690 (bug#1779).
3691
3692 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3693
3694 * view.el (view-buffer): Allow running in `special' modes if we're
3695 visiting a file (bug#8615).
3696
3697 2011-07-19 Martin Rudalics <rudalics@gmx.at>
3698
3699 * window.el (display-buffer-alist-of-strings-p)
3700 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3701 New functions.
3702 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3703 more accurately.
3704
3705 2011-07-18 Alan Mackenzie <acm@muc.de>
3706
3707 Fontify declarators properly when, e.g., a jit-lock chunk begins
3708 inside a declaration.
3709
3710 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3711
3712 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3713 New function.
3714 (c-complex-decl-matchers): Insert reference to
3715 c-font-lock-enclosing-decls.
3716
3717 * progmodes/cc-engine.el (c-backward-single-comment):
3718 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3719 to nil around calls to (forward-comment -1).
3720
3721 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3722
3723 * image.el (put-image): Doc typo fix.
3724
3725 * progmodes/etags.el (tags-search): Doc typo fix.
3726
3727 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3728 password if we get errors 550 to 554.
3729
3730 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3731
3732 * net/gnutls.el (gnutls-log-level): Remove.
3733
3734 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3735 indentation character (bug#6380).
3736
3737 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3738
3739 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3740 to clarify what the problem is (bug#4291).
3741
3742 * simple.el (current-kill): Clarify what
3743 `interprogram-paste-function' does (bug#7500).
3744 (auto-fill-mode): Document `auto-fill-function' in relation to
3745 `auto-fill-mode' (bug#2470).
3746
3747 2011-07-16 Lawrence Mitchell <wence@gmx.li>
3748
3749 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3750 method if slot is read-only (bug#9035).
3751
3752 2011-07-16 Martin Rudalics <rudalics@gmx.at>
3753
3754 * frame.el (select-frame-set-input-focus): New argument NORECORD.
3755 * window.el (pop-to-buffer): Select window used even if it was
3756 selected before, see discussion of (Bug#8615), (Bug#6954).
3757 Pass argument NORECORD on to select-frame-set-input-focus.
3758
3759 2011-07-15 Glenn Morris <rgm@gnu.org>
3760
3761 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
3762 Respect help-form.
3763
3764 2011-07-09 Lawrence Mitchell <wence@gmx.li>
3765
3766 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3767 (gnutls-negotiate): Use it.
3768
3769 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3770
3771 * net/gnutls.el (gnutls-negotiate):
3772 Upcase `gnutls-algorithm-priority'.
3773
3774 2011-07-15 Glenn Morris <rgm@gnu.org>
3775
3776 * jka-compr.el (jka-compr-verbose): Move from here...
3777 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3778 Add missing :version tag.
3779 * info.el: No need to require jka-compr when compiling.
3780
3781 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3782
3783 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3784 (gnutls-negotiate): Use it.
3785
3786 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3787
3788 * info.el (Info-beginning-of-buffer): New command.
3789 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3790 announcing `b' as the key (bug#8325).
3791 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
3792
3793 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3794
3795 * international/mule-cmds.el
3796 (describe-specified-language-support): Make the error message
3797 clearer (bug#8905).
3798
3799 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3800
3801 * isearch.el (isearch-barrier): Add a doc string, since it's
3802 mentioned in a function doc string (bug#8678).
3803
3804 2011-07-15 Martin Rudalics <rudalics@gmx.at>
3805
3806 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3807 buffer argument (Bug#9083) and self-identifying label argument.
3808
3809 2011-07-15 Glenn Morris <rgm@gnu.org>
3810
3811 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3812
3813 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3814
3815 * man.el (Man-fontify-manpage): Fix message when formatting the
3816 man page (bug#7929).
3817
3818 2011-07-14 Eli Zaretskii <eliz@gnu.org>
3819
3820 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3821 argument LRM; if non-nil, append an invisible LRM character to the
3822 buffer name.
3823 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3824 last argument non-nil, when formatting buffer names.
3825 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3826 paragraph direction.
3827
3828 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3829
3830 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3831 the man page name (bug#7929).
3832
3833 * image.el (put-image): Mention the `put-image' overlay property
3834 (bug#7834).
3835
3836 * scroll-bar.el (set-scroll-bar-mode): Mention that
3837 `scroll-bar-mode' lists the values (bug#7772).
3838
3839 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3840 command (bug#7729).
3841
3842 * rect.el (apply-on-rectangle): Return the point after the last
3843 operation.
3844 (string-rectangle): Go to the point after the last operation
3845 (bug#7522).
3846
3847 * printing.el (pr-toggle-region): Clarify the documentation
3848 slightly (bug#7493).
3849
3850 * time.el (display-time-update):
3851 Allow `display-time-mail-function' to return nil (bug#7158).
3852 Fix suggested by Detlev Zundel.
3853
3854 * vc/diff.el (diff): Clarify the order the file names are read
3855 (bug#7111).
3856
3857 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3858 the doc string (bug#7015).
3859
3860 * font-lock.el (font-lock-maximum-decoration): Mention what
3861 numeric levels mean (bug#6935).
3862
3863 * startup.el (initial-buffer-choice): Don't mention the `none'
3864 selection, which is against policy.
3865
3866 2011-07-14 Martin Rudalics <rudalics@gmx.at>
3867
3868 * window.el (display-buffer-normalize-special):
3869 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
3870
3871 2011-07-14 Eli Zaretskii <eliz@gnu.org>
3872
3873 * subr.el (version<, version<=, version=): Mention "-CVS" and
3874 "-12345" alpha version numbers.
3875
3876 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
3877
3878 * bindings.el: Add advertised binding for set-mark-command
3879 (Bug#5772).
3880
3881 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
3882
3883 * bindings.el (mode-line-other-buffer):
3884 * bookmark.el (bookmark-bmenu-2-window):
3885 * bs.el (bs-cycle-next, bs-cycle-previous):
3886 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3887 switch-to-buffer.
3888
3889 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3890 Delete.
3891
3892 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
3893
3894 * follow.el (follow-debug-message, follow-redisplay):
3895 * jka-cmpr-hook.el (with-auto-compression-mode):
3896 Fix typos in docstrings.
3897
3898 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3899
3900 * subr.el (with-silent-modifications): Clarify somewhat what the
3901 macro inhibits (bug#6525).
3902
3903 * simple.el (eval-expression): Note what it does if called
3904 interactively (bug#6495).
3905
3906 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
3907
3908 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3909 Use pop-to-buffer buffer-or-name if it is nil.
3910
3911 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3912 Remove switch-to-buffer.
3913
3914 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3915
3916 * files.el (make-directory): Clarify that an error will be raised
3917 if there's an error (bug#6397).
3918
3919 * startup.el (initial-buffer-choice): Add `none' as a choice
3920 (bug#6234).
3921
3922 * subr.el (add-hook): Clarify section about buffer-local hooks
3923 (bug#6218).
3924
3925 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3926
3927 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
3928
3929 * tabify.el (untabify): Preserve the current column so that point
3930 doesn't move (bug#6032).
3931
3932 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3933
3934 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3935 Rewrite to avoid awkward possessive "s" (bug#5986).
3936
3937 2011-07-13 Glenn Morris <rgm@gnu.org>
3938
3939 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3940 (dired-insert-directory): Give a message the first time
3941 if ls is found not to support --dired.
3942
3943 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3944
3945 * simple.el (toggle-truncate-lines): Clarify what is toggled
3946 (bug#5580). Text by Drew Adams.
3947
3948 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
3949
3950 * simple.el (blink-matching-open): Make the error message from the
3951 last change less verbose.
3952
3953 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3954
3955 * font-lock.el (font-lock-comment-face): Use the high contrast
3956 "yellow" color for font-lock-comment-face on low color terminals
3957 using a dark background color (bug#4221).
3958
3959 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3960
3961 * dired.el (dired-insert-set-properties): Make the doc string
3962 reflect what it does now (bug#5325).
3963
3964 * simple.el (blink-matching-open): Say that we were unable to find
3965 the match within the limit, if we're limited (bug#5122).
3966
3967 * international/mule-cmds.el (prefer-coding-system): Add an
3968 example (bug#4869).
3969
3970 * progmodes/etags.el (tags-search): Document `file-list-form'
3971 (bug#4731).
3972
3973 2011-07-13 Lawrence Mitchell <wence@gmx.li>
3974
3975 * net/browse-url.el (browse-url-default-browser)
3976 (browse-url-browser-function): Make the default browser choice a
3977 bit more logical (bug#4300). Also clean up the doc string.
3978
3979 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
3980
3981 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3982 binary endings (bug#4440).
3983
3984 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3985
3986 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3987 which can be pretty annoying (bug#8971).
3988
3989 * jka-compr.el (jka-compr-verbose): New variable, and use
3990 throughout (bug#8971).
3991
3992 * info.el (Info-find-file): Fall back on the installation
3993 directory if we can't find the info node anywhere else.
3994
3995 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3996
3997 * vc/vc.el (vc-revert-file):
3998 Don't set file time-stamp in the past. (Bug#5181)
3999
4000 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4001
4002 * files.el (after-find-file): Give a better error message when
4003 trying to find a symlink that points to a file that doesn't exist
4004 (bug#4398).
4005
4006 * progmodes/cc-vars.el: Remove (probably) misleading comment
4007 (bug#4396).
4008
4009 2011-07-12 Johan Bockgård <bojohan@gnu.org>
4010
4011 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4012
4013 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
4014
4015 * mouse-sel.el: Hack restoring functionality, while keeping
4016 compatibility with 2010-07-03 changes to mouse selection.
4017 (mouse-sel-primary-overlay): New var.
4018 (mouse-sel-selection-alist): Use it.
4019 (mouse-sel-mode): Doc fix; remove points that are default features
4020 of mouse.el.
4021
4022 2011-07-12 Johan Bockgård <bojohan@gnu.org>
4023
4024 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4025 Fix previous fix (bug#2490).
4026
4027 2011-07-12 Roland Winkler <winkler@gnu.org>
4028
4029 * textmodes/bibtex.el (bibtex-initialize):
4030 Use pop-to-buffer-same-window.
4031 (bibtex-search-entries): Fix interactive call.
4032
4033 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4034
4035 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4036 Fontise bytecomp Error lines more correctly (bug#2490).
4037 Fix suggested by Johan Bockgård.
4038
4039 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4040
4041 * dired-x.el (dired-guess-default): Use `delete-dups'.
4042
4043 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
4044
4045 * dired.el (dired-mark-prompt):
4046 * dired-aux.el (dired-read-shell-command): Doc fix.
4047
4048 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4049
4050 * mail/sendmail.el (sendmail-query-once):
4051 Use `customize-save-variable' unconditionally, now that it works under
4052 emacs -Q.
4053
4054 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4055
4056 * cus-edit.el (custom-file): Take an optional no-error variable.
4057 (customize-save-variable): Set the variable, and give a warning if
4058 running under "emacs -q".
4059
4060 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
4061
4062 * loadhist.el (unload-feature-special-hooks):
4063 Add `auto-coding-functions', `fill-nobreak-predicate' and
4064 `find-directory-functions' (bug#5327).
4065
4066 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4067
4068 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4069
4070 * cus-edit.el (custom-guess-name-alist): -alist variables should
4071 use the `alist' type (bug#3120). Suggested by Drew Adams.
4072
4073 * printing.el: Add documentation to all the `pr-toggle-' commands.
4074
4075 2011-07-11 Leo <sdl.web@gmail.com> (tiny change)
4076
4077 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4078 backends where it makes sense (bug#2623).
4079
4080 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4081
4082 * dired-x.el (dired-guess-default): Remove duplicate shell command
4083 entries (bug#2028).
4084 (dired-guess-default): Fix grammar in doc string (bug#2028).
4085 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
4086
4087 * subr.el (remove-duplicates): New conveniency function.
4088
4089 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4090
4091 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4092 (bug#1526).
4093
4094 2011-07-10 Martin Rudalics <rudalics@gmx.at>
4095
4096 * window.el (display-buffer-normalize-default): Don't invert
4097 meaning of even-window-heights. Reported by Eli Zaretskii
4098 <eliz@gnu.org>.
4099
4100 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4101
4102 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4103
4104 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
4105
4106 * window.el (display-buffer): Fix arguments to
4107 display-buffer-reuse-window in last change.
4108
4109 * faces.el (link): Use a less saturated blue on light backgrounds.
4110
4111 * startup.el (fancy-startup-text, fancy-about-text)
4112 (fancy-startup-tail): Use font-lock faces, for background safety.
4113
4114 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4115
4116 * emulation/viper-cmd.el (viper-change-state-to-vi):
4117 Limit triggering of abbrev expansion (Bug#9038).
4118
4119 2011-07-09 Martin Rudalics <rudalics@gmx.at>
4120
4121 * window.el (display-buffer-default-specifiers): Remove.
4122 (display-buffer-macro-specifiers): Remove default specifiers.
4123 (display-buffer-alist): Default to nil.
4124 (display-buffer-reuse-window): New optional argument other-window.
4125 (display-buffer-pop-up-window): Allow splitting internal
4126 windows. Check whether a live window was created.
4127 (display-buffer-other-window-means-other-frame)
4128 (display-buffer-normalize-arguments): Rename to
4129 display-buffer-normalize-argument and rewrite. Set the
4130 other-window specifier.
4131 (display-buffer-normalize-special): New function.
4132 (display-buffer-normalize-options): Rename to
4133 display-buffer-normalize-default and rewrite.
4134 (display-buffer-normalize-options-inhibit): Remove.
4135 (display-buffer-normalize-specifiers): Rewrite.
4136 (display-buffer): Process other-window specifier and call
4137 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4138 more faithfully.
4139 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4140 (display-buffer-alist-set): Don't handle 'unset default values.
4141 (display-buffer-in-window, display-buffer-alist-set):
4142 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4143 <tassilo@member.fsf.org>.
4144
4145 2011-07-09 Leo Liu <sdl.web@gmail.com>
4146
4147 * register.el (insert-register): Restore accidental change on
4148 2011-06-26. (Bug#9028)
4149
4150 2011-07-09 Glenn Morris <rgm@gnu.org>
4151
4152 * subr.el (remq): Handle the empty list. (Bug#9024)
4153
4154 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4155
4156 * mail/sendmail.el (send-mail-function): No longer delay custom
4157 initialization.
4158 * custom.el (custom-initialize-delay): Doc fix.
4159
4160 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4163
4164 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
4165
4166 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4167 human-friendly prompt.
4168
4169 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4170
4171 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4172 provided by a particular plugin.
4173
4174 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4175
4176 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4177 save customizations (with "emacs -Q"), just set the variable
4178 instead of erroring out.
4179
4180 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4181
4182 2011-07-08 Juri Linkov <juri@jurta.org>
4183
4184 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4185 (archive-zip-update-case): Use 7z if found by `executable-find'.
4186 The order of searching the available programs is the same as in
4187 `archive-zip-extract' (bug#8968).
4188
4189 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
4190
4191 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4192 (menu-bar-options-menu): Tweak descriptions.
4193
4194 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4195
4196 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4197 menu items into verb phrases (bug#1421). Also refill to fit under
4198 80 columns.
4199
4200 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
4201
4202 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4203 (Info-read-node-name): Doc fix (Bug#1084).
4204
4205 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4206 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4207 (end-of-sexp, beginning-of-sexp)
4208 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4209 (forward-symbol, forward-same-syntax, word-at-point)
4210 (sentence-at-point): Doc fix (Bug#1144).
4211
4212 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4213
4214 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4215 should cover it (bug#1281).
4216
4217 * cus-edit.el (custom-show): Mark as obsolete.
4218
4219 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
4220 negotiation fails, then possibly try again with a non-encrypted
4221 connection (bug#9017).
4222
4223 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4224 be used.
4225
4226 2011-07-07 Richard Stallman <rms@gnu.org>
4227
4228 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4229 property, and handle its changed format.
4230 Look for the correct line number.
4231 Use file's line contents (but not past first =) to find
4232 correct line in message.
4233
4234 2011-07-07 Kenichi Handa <handa@m17n.org>
4235
4236 * international/characters.el (build-unicode-category-table):
4237 Delete it.
4238 (unicode-category-table): Set it by unicode-property-table-internal.
4239
4240 * international/mule-cmds.el (char-code-property-alist): Move to
4241 to src/chartab.c.
4242 (get-char-code-property): Call unicode-property-table-internal to
4243 load a file. Call get-unicode-property-internal where necessary.
4244 (put-char-code-property): Call unicode-property-table-internal to
4245 load a file. Call put-unicode-property-internal where necessary.
4246 put-unicode-property-internal where necessary.
4247 (char-code-property-description):
4248 Call unicode-property-table-internal to load a file.
4249
4250 * international/charprop.el:
4251 * international/uni-bidi.el:
4252 * international/uni-category.el:
4253 * international/uni-combining.el:
4254 * international/uni-comment.el:
4255 * international/uni-decimal.el:
4256 * international/uni-decomposition.el:
4257 * international/uni-digit.el:
4258 * international/uni-lowercase.el:
4259 * international/uni-mirrored.el:
4260 * international/uni-name.el:
4261 * international/uni-numeric.el:
4262 * international/uni-old-name.el:
4263 * international/uni-titlecase.el:
4264 * international/uni-uppercase.el: Regenerate.
4265
4266 * loadup.el: Load international/charprop.el before
4267 international/characters.
4268
4269 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
4270
4271 * window.el (next-buffer, previous-buffer): Signal an error if
4272 called from a minibuffer window.
4273
4274 * bindings.el: Revert 2011-07-04 change.
4275
4276 2011-07-06 Richard Stallman <rms@gnu.org>
4277
4278 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4279 (rmail-mime-insert-bulk, rmail-mime-insert-text):
4280 Treat markers like ints.
4281 (rmail-mime-entity): Doc fix.
4282
4283 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4284
4285 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4286 defcustom again for backwards compatibility.
4287
4288 * simple.el (shell-command-on-region): Fill.
4289
4290 * dired-aux.el (dired-kill-line): Add a doc string.
4291
4292 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4293 to "\\sw\\|\\s_" (bug#358).
4294
4295 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4296 (dired-unmark-backward): Ditto.
4297 (dired-flag-backup-files): Ditto.
4298
4299 * dired-x.el (dired-mark-sexp): Ditto.
4300
4301 2011-07-06 Richard Stallman <rms@gnu.org>
4302
4303 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4304 (rmail-mime-entity): New arg TRUNCATED.
4305 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4306 New functions.
4307 (rmail-mime-save): Warn if entity is truncated.
4308 (rmail-mime-toggle-hidden): Likewise, for showing.
4309 (rmail-mime-process-multipart): Record when an entity is truncated.
4310
4311 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
4312 if ENTITY is a string.
4313
4314 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4315
4316 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
4317 of faces when `M-C-x'-ing their definitions (bug#8378).
4318 Also clean up the code slightly.
4319
4320 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
4321 because that makes the colors go away.
4322
4323 * mail/sendmail.el (send-mail-function): Change the default to
4324 `sendmail-query-once'.
4325 (sendmail-query-once): Add an autoload cookie.
4326
4327 * net/network-stream.el (network-stream-open-starttls): Try using
4328 a plain connection even if the server offered STARTTLS, and we
4329 kinda wanted to use it, if Emacs doesn't have any STARTTLS
4330 capability. This should make smtpmail.el work in slightly more
4331 configurations.
4332
4333 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
4334
4335 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4336 New defun.
4337 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
4338
4339 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
4340
4341 * progmodes/sql.el: Version 3.0
4342 (sql-product-alist): Add product :completion-object,
4343 :completion-column, and :statement attributes.
4344 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
4345 (sql-mode-syntax-table): Mark all punctuation.
4346 (sql-font-lock-keywords-builder): Temporarily remove fallback on
4347 ansi keywords.
4348 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
4349 (sql-mode-oracle-font-lock-keywords): Improve.
4350 (sql-oracle-show-reserved-words): New function for development.
4351 (sql-product-font-lock): Simplify for source code buffers.
4352 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
4353 New functions.
4354 (sql-highlight-product): Set product specific syntax table.
4355 (sql-mode-map): Add statement movement functions.
4356 (sql-ansi-statement-starters, sql-oracle-statement-starters):
4357 New variable.
4358 (sql-statement-regexp, sql-beginning-of-statement)
4359 (sql-end-of-statement, sql-signum): New functions.
4360 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
4361 (sql-show-sqli-buffer): Bug fix.
4362 (sql-interactive-mode): Store connection data as buffer local.
4363 (sql-connect): Add NEW-NAME parameter. Redesign interaction
4364 with sql-interactive-mode.
4365 (sql-save-connection): Save buffer local settings.
4366 (sql-connection-menu-filter): Change menu entry name.
4367 (sql-product-interactive): Bug fix.
4368 (sql-preoutput-hold): New variable.
4369 (sql-interactive-remove-continuation-prompt): Bug fixes.
4370 (sql-debug-redirect): New variable.
4371 (sql-str-literal): New function.
4372 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
4373 Redesign.
4374 (sql-oracle-save-settings, sql-oracle-restore-settings)
4375 (sql-oracle-list-all, sql-oracle-list-table): New functions.
4376 (sql-completion-object, sql-completion-column)
4377 (sql-completion-sqlbuf): New variables.
4378 (sql-build-completions-1, sql-build-completions)
4379 (sql-try-completion): New functions.
4380 (sql-read-table-name): Use them.
4381 (sql-contains-names): New buffer local variable.
4382 (sql-list-all, sql-list-table): Use it.
4383 (sql-oracle-completion-types): New variable.
4384 (sql-oracle-completion-object, sql-sqlite-completion-object)
4385 (sql-postgres-completion-object): New functions.
4386
4387 2011-07-06 Glenn Morris <rgm@gnu.org>
4388
4389 * window.el (pop-to-buffer): Doc fix.
4390
4391 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
4392
4393 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4394
4395 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
4396
4397 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4398
4399 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
4400
4401 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
4402
4403 * button.el (button): Inherit from link face. Suggested by Dan
4404 Nicolaescu.
4405
4406 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4407
4408 * progmodes/gdb-mi.el: Fit in 80 columns.
4409 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4410 switch-to-buffer.
4411
4412 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4413 if imenu is simply not configured (bug#8941).
4414
4415 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
4416
4417 * allout.el (allout-post-undo-hook): New allout outline-change
4418 event hook to signal undo activity.
4419 (allout-post-command-business): Run allout-post-undo-hook if an
4420 undo just occurred.
4421 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4422 * allout-widgets.el (allout-widgets-after-undo-function):
4423 Ensure the integrity of the current item's decoration after it has been
4424 in the vicinity of an undo.
4425 (allout-widgets-mode): Include allout-widgets-after-undo-function
4426 on the new allout-post-undo-hook.
4427
4428 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4431 Let define-derived-mode define it.
4432 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4433 cycles of abbrev-table inheritance (bug#8998).
4434
4435 2011-07-05 Roland Winkler <winkler@gnu.org>
4436
4437 * textmodes/bibtex.el: Add support for biblatex.
4438 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4439 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4440 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4441 (bibtex-entry-alist, bibtex-field-alist): New variables.
4442 (bibtex-entry-field-alist): Obsolete alias for
4443 bibtex-BibTeX-entry-alist.
4444 (bibtex-entry-alist, bibtex-field-alist): New widgets.
4445 (bibtex-set-dialect): New command.
4446 (bibtex-entry-type, bibtex-entry-head)
4447 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4448 Bind via bibtex-set-dialect.
4449 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4450 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4451 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4452 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4453 Define via bibtex-set-dialect.
4454 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4455 Obey bibtex-no-opt-remove-re.
4456 (bibtex-vec-push, bibtex-vec-incr): New functions.
4457 (bibtex-format-entry, bibtex-field-list)
4458 (bibtex-print-help-message, bibtex-validate)
4459 (bibtex-search-entries): Use new format of bibtex-entry-alist.
4460
4461 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4462
4463 * progmodes/compile.el (compilation-goto-locus):
4464 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4465 * bs.el (bs-cycle-next, bs-cycle-previous):
4466 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4467 * bindings.el (mode-line-other-buffer):
4468 * autoinsert.el (auto-insert):
4469 * arc-mode.el (archive-extract):
4470 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4471
4472 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
4473
4474 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4475 Fix check of `emacs-lock-unlockable-modes'.
4476 Coerce true values of `emacs-lock--try-unlocking' to t.
4477
4478 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
4479
4480 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4481 * emacs-lock.el: New file.
4482
4483 2011-07-05 Julien Danjou <julien@danjou.info>
4484
4485 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4486 than `boundp' to check if face is set.
4487
4488 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
4489
4490 * register.el (registerv-make):
4491 * window.el (window-min-height): Fix typos in docstrings.
4492
4493 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4494
4495 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4496 Update doc string.
4497
4498 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
4499
4500 * server.el (server-execute): Catch quit and call
4501 `server-return-error' to pass the error back to emacsclient and
4502 close the connection (bug#8942).
4503
4504 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
4505
4506 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4507 insecure exception for current topic. Also note that auto-saves
4508 are handled differently.
4509
4510 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4511 State variables for tracking auto-save inhibition situation.
4512
4513 (allout-write-contents-hook-handler): Rename from
4514 'allout-write-file-hook-handler', and describe how it depends on
4515 write-contents-functions sensitivity to non-nil value to prevent
4516 file write.
4517
4518 (allout-auto-save-hook-handler): Remove. auto-save does not check
4519 this in individual buffers, only in the starting buffer, so this
4520 is not the right way for us to inhibit auto-save in a buffer
4521 according to its condition.
4522
4523 (allout-mode): Use new allout-write-contents-hook-handler, and
4524 only with write-contents-functions. Remove auto-save provisions -
4525 they're implemented elsewhere.
4526
4527 (allout-before-change-handler): If undo is in progress, note that
4528 for attention of allout-post-command-business.
4529
4530 (allout-post-command-business): If the command we're following was
4531 an undo, check for change in the status of encrypted items and
4532 adjust auto-save inhibitions accordingly.
4533
4534 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4535 according to whether there are or aren't any plain-text topics
4536 pending encryption.
4537
4538 (allout-inhibit-auto-save-info-for-decryption):
4539 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
4540 there are plain-text topics pending encryption.
4541
4542 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4543 buffer-saved-size and some allout state to not inhibit auto-saves
4544 if there are no longer any plain-text topics pending encryption.
4545
4546 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4547 No longer provide for exemption of the current topic.
4548
4549 2011-07-04 Juri Linkov <juri@jurta.org>
4550
4551 Add 7z operations to delete and save changed members (bug#8968).
4552 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4553 New defcustoms.
4554 (archive-7z-write-file-member): New function.
4555 (archive-7z-summarize): Fix the number of dashes in the
4556 listing output.
4557
4558 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4561 (bug#8958).
4562
4563 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
4564
4565 * bindings.el: Ignore next-buffer and previous-buffer in
4566 minibuffer-local-map.
4567
4568 * font-lock.el (font-lock-builtin-face): Change light background
4569 color to dark slate blue (Bug#6693).
4570
4571 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4572
4573 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4574
4575 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4578 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4579 Add switch-to-buffer.
4580
4581 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4582
4583 * isearch.el (isearch-search-fun-function): Clarify further the
4584 meaning of the function returned.
4585
4586 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
4587
4588 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4589
4590 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4591 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4592 Use it.
4593 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4594 `tramp-default-remote-path' does not exist.
4595 (tramp-send-command-and-read): New optional argument NOERROR.
4596 (tramp-open-connection-setup-interactive-shell)
4597 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4598 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4599 (tramp-process-sentinel): Flush also process' connection property.
4600 (tramp-sh-handle-start-file-process): Do not set process
4601 sentinel. It is done now ...
4602 (tramp-maybe-open-connection): ... here. (Bug#8929)
4603
4604 2011-07-04 MON KEY <monkey@sandpframing.com>
4605
4606 * play/animate.el (animate-string): Doc fixes and allow changing
4607 the buffer name (bug#5417).
4608
4609 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4610
4611 * play/animate.el (animation-buffer-name): Rename from *animate*.
4612
4613 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4614
4615 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4616 This is simpler and helps future-proof the code.
4617 (timer-until): Use time-subtract and float-time.
4618 (timer--time-less-p): Use time-less-p.
4619
4620 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
4621
4622 * type-break.el (timep): Use the value of `float-time' to avoid a
4623 byte-compiler warning.
4624
4625 * server.el (server-eval-and-print): Return any result, even nil.
4626
4627 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4628
4629 * type-break.el: Accept time formats that the builtins accept.
4630 (timep, type-break-time-difference): Accept any format that
4631 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4632 This is simpler and helps future-proof the code.
4633 (type-break-time-difference): Round rather than ignoring
4634 subseconds components.
4635
4636 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4637
4638 * info.el (Info-apropos-matches): Make non-interactive, since it
4639 doesn't seem to do anything useful as a command (bug#8829).
4640
4641 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
4642
4643 * frame.el (frame-background-mode, frame-set-background-mode):
4644 Move from faces.el.
4645 (frame-default-terminal-background): New function.
4646
4647 * custom.el (custom-push-theme): Don't record faces in `changed'
4648 theme; this doesn't work correctly for per-frame face settings.
4649 (disable-theme): Use face-set-after-frame-default to reset faces.
4650 (custom--frame-color-default): New function.
4651
4652 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4653
4654 * dired.el (dired-flagging-regexp): Remove unused variable
4655 (bug#8769).
4656
4657 2011-03-29 Kevin Ryde <user42@zip.com.au>
4658
4659 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4660 `perl-Test2' extend to match possible "fail #N" rep count
4661 (bug#8377).
4662
4663 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4664
4665 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4666 `smtpmail-via-smtp' now returns the error instead of nil.
4667
4668 * isearch.el (isearch-search-fun-function): Clarify the doc string
4669 (bug#8101).
4670
4671 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
4672
4673 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4674 unnecessary spaces (bug#8987).
4675
4676 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4677
4678 * net/network-stream.el (open-network-stream): Use the
4679 :end-of-capability command thoughout.
4680
4681 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4682
4683 * net/network-stream.el (open-network-stream): Add the
4684 :end-of-capability command parameter, used by pop3.el.
4685
4686 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4687
4688 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4689
4690 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4691 for list)" (bug#6475).
4692
4693 * files.el (file-expand-wildcards): Ignore non-readable
4694 sub-directories while trying to find matches instead of signaling
4695 an error (bug#6297).
4696
4697 * man.el (Man-reference-regexp): Allow matching possible
4698 word-wrapped references (bug#6289).
4699
4700 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4701 for consistency with the other vc buffers (bug#6197).
4702 (vc-checkin): Ditto.
4703
4704 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4705
4706 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4707
4708 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4709
4710 * custom.el (defcustom): Clarify that :set is only used in the
4711 Customize user interface (bug#6089).
4712
4713 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4714 associated with a file, refuse to run instead of erroring out
4715 (bug#6084).
4716
4717 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4718 the doc string, since it appears that using `fill-column' always
4719 controls the width (bug#7845).
4720
4721 * simple.el (shell-command-on-region): Say where the error output
4722 went if `shell-command-default-error-buffer' is set (bug#6857).
4723
4724 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4725
4726 * allout.el (allout-yank-processing): Adjust cursor position for
4727 backwards-deleted space.
4728
4729 (allout-rebullet-heading): Register changes with
4730 allout-exposure-changed-hook, so the modified topic is properly
4731 decorated.
4732
4733 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4734
4735 * minibuffer.el (completion-in-region): Document PREDICATE
4736 (bug#7136).
4737
4738 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4739 of keyword/argument pairs (bug#6904).
4740
4741 * replace.el (multi-occur):
4742 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
4743
4744 2011-07-02 Drew Adams <drew.adams@oracle.com>
4745
4746 * dired.el (dired-mark-if): Make the message about whether it's
4747 marking or unmarking clearer (bug#8523).
4748
4749 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4750
4751 * disp-table.el (display-table-print-array): New function.
4752 (describe-display-table): Use it to print the vectors more pretty
4753 (Bug#8859).
4754
4755 2011-07-02 Martin Rudalics <rudalics@gmx.at>
4756
4757 * window.el (window-state-get-1): Don't assign clone numbers.
4758 Add clone-of item to list of window parameters.
4759 (window-state-put-2): Don't process clone numbers.
4760 (display-buffer-alist): Fix doc-string.
4761
4762 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * subr.el (remq): Don't allocate if it's not needed.
4765 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4766 (keymap--merge-bindings): New functions.
4767 (keymap-canonicalize): Use them to refine the canonicalization.
4768 * minibuffer.el (minibuffer-local-completion-map)
4769 (minibuffer-local-must-match-map): Move initialization from C.
4770 (minibuffer-local-filename-completion-map): Move initialization from C;
4771 don't inherit from anything here.
4772 (minibuffer-local-filename-must-match-map): Make obsolete.
4773 (completing-read-default): Use make-composed-keymap to combine
4774 minibuffer-local-filename-completion-map with either
4775 minibuffer-local-must-match-map or
4776 minibuffer-local-filename-completion-map.
4777
4778 2011-07-01 Glenn Morris <rgm@gnu.org>
4779
4780 * type-break.el (type-break-time-sum): Use dolist.
4781
4782 * textmodes/flyspell.el (flyspell-word-search-backward):
4783 Replace CL function.
4784
4785 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4787 * mouse.el (mouse--strip-first-event): New function.
4788 (function-key-map): Use it to map fringe clicks to normal clicks
4789 by default.
4790
4791 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4792 (vc-bzr-revision-completion-table): Add support for annotate and date.
4793
4794 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4795 inherit from parent.
4796
4797 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4798
4799 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
4800 (dired-show-file-type): Doc fixup (bug#8818).
4801
4802 * dired.el (dired-mode): Fix up the doc string as suggested by
4803 Drew Adams (bug#8817).
4804
4805 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4806 cookie, since the manual says that it should be possible to add
4807 this function to `find-file-hook' (bug#8709).
4808
4809 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4810
4811 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4812 here. Noted Ted Zlatanov as the maintainer.
4813 (cfengine-common-settings, cfengine-common-syntax): New functions
4814 to set up common things between `cfengine-mode' and
4815 `cfengine3-mode'.
4816 (cfengine3-mode): New mode.
4817 (cfengine3-defuns cfengine3-defuns-regex
4818 (cfengine3-class-selector-regex cfengine3-category-regex)
4819 (cfengine3-vartypes cfengine3-font-lock-keywords)
4820 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
4821 (cfengine3-indent-line): Add from cfengine3.el.
4822
4823 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
4824
4825 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4826
4827 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4828
4829 2011-07-01 Martin Rudalics <rudalics@gmx.at>
4830
4831 * window.el (same-window-buffer-names, same-window-regexps)
4832 (same-window-p, special-display-frame-alist)
4833 (special-display-popup-frame, special-display-function)
4834 (special-display-buffer-names, special-display-regexps)
4835 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4836 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4837 (split-window-preferred-function, split-height-threshold)
4838 (split-width-threshold, even-window-heights)
4839 (display-buffer-mark-dedicated, window-splittable-p)
4840 (split-window-sensibly, window-safely-shrinkable-p):
4841 Un-obsolete.
4842 (display-buffer): Don't spread args with function specifier
4843 because special-display-popup-frame won't like it.
4844
4845 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4846
4847 Time-stamp simplifications and fixes.
4848 These improve accuracy slightly, and future-proof the code
4849 against some potential changes to current-time format.
4850
4851 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4852 by using time-since and float-time.
4853
4854 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4855 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4856 + NNN microseconds".
4857
4858 * type-break.el (type-break-time-sum): Rewrite using time-add.
4859
4860 * play/hanoi.el (hanoi-current-time-float): Remove.
4861 All uses replaced by float-time.
4862
4863 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4864 This yields a more-accurate answer.
4865 (rng-time-to-float): Remove; no longer needed.
4866
4867 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4868
4869 * calendar/timeclock.el (timeclock-seconds-to-time):
4870 Defalias to seconds-to-time, since they're the same thing.
4871
4872 * emacs-lisp/elp.el (elp-elapsed-time):
4873 * emacs-lisp/benchmark.el (benchmark-elapse):
4874 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4875
4876 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4877
4878 * window.el (bury-buffer): Don't iconify the only frame.
4879 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4880 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4881
4882 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
4883
4884 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4885 Add mouse-yank-primary.
4886
4887 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4888
4889 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4890
4891 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4892
4893 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4894 (find-library-name): Use it to find relative load names when provided
4895 absolute file name (bug#8803).
4896
4897 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4898
4899 * textmodes/flyspell.el (flyspell-word): Consider words that
4900 differ only in case as potential doublons (bug#5687).
4901
4902 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4903 Remove two rather uninteresting debugging-like messages to make
4904 debbugs.el more silent.
4905
4906 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4907 a password-like phrase.
4908
4909 2011-06-30 Mastake YAMATO <yamato@redhat.com>
4910
4911 * progmodes/cc-guess.el: New file.
4912
4913 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
4914
4915 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4916 derived from `c-basic-common-init'.
4917
4918 * progmodes/cc-mode.el (top-level): Require cc-guess.
4919 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4920
4921 2011-06-30 Lawrence Mitchell <wence@gmx.li>
4922
4923 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4924
4925 2011-06-30 Alan Mackenzie <acm@muc.de>
4926
4927 * progmodes/cc-engine.el (c-guess-continued-construct):
4928 Correct the handling of template-args-cont, particularly for when font
4929 lock is disabled. Name this case as "CASE G".
4930
4931 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4932
4933 * allout.el (allout-yank-processing): Fix injection of extra space
4934 between bullet and non-whitespace character in first topic when
4935 pasting, ensuring that the actual spacing in the pasted topic
4936 following the bullet char is preserved. This extra space was
4937 causing pasted encrypted topics to get a decrypted status even
4938 when the content was actually still encrypted. Now the decryption
4939 status from before the paste is preserved.
4940
4941 (allout-flag-region): Set all allout overlays so they evaporate
4942 when reduced to zero length (evanescent), to prevent overlay
4943 leakage.
4944
4945 2011-06-30 Glenn Morris <rgm@gnu.org>
4946
4947 * w32-fns.el (w32-charset-info-alist): Declare.
4948
4949 * find-dired.el (find-grep-options): Simplify.
4950
4951 * term/ns-win.el (ns-set-resource): Declare.
4952
4953 * ses.el (row, col): Declare dynamic variables honestly.
4954
4955 * textmodes/reftex-parse.el (index-tags): Declare.
4956
4957 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
4958
4959 * cus-edit.el (customize-push-and-save): New function.
4960
4961 * files.el (hack-local-variables-confirm): Use it.
4962
4963 * custom.el (load-theme): New arg NO-CONFIRM.
4964 Use customize-push-and-save (Bug#8720).
4965 (custom-enabled-themes): Doc fix.
4966
4967 * cus-theme.el (customize-create-theme)
4968 (custom-theme-merge-theme): Callers to load-theme changed.
4969
4970 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4971
4972 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4973 short URLs have at least one dot in them (bug #7614).
4974
4975 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4976 nil, because using a pty is apparently too slow (bug #895).
4977
4978 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4979
4980 * mail/sendmail.el (sendmail-query-once): New function.
4981 (sendmail-query-once-function): New variable.
4982
4983 2011-06-29 Glenn Morris <rgm@gnu.org>
4984
4985 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4986
4987 * ses.el (top-level): Require cl when compiling.
4988 (ses-set-localvars): Fix error statement.
4989 Call it at compile time to silence a storm of warnings.
4990
4991 2011-06-29 Martin Rudalics <rudalics@gmx.at>
4992
4993 * window.el (normalize-live-buffer): Rename to
4994 window-normalize-buffer.
4995 (normalize-live-frame): Rename to window-normalize-frame.
4996 (normalize-any-window): Rename to window-normalize-any-window.
4997 (normalize-live-window): Rename to window-normalize-live-window.
4998 (make-window-atom): Rename to window-make-atom.
4999 (window-resize-reset): Rename to window--resize-reset.
5000 (window-resize-reset-1): Rename to window--resize-reset-1.
5001 (resize-mini-window): Rename to window--resize-mini-window.
5002 (resize-subwindows-skip-p): Rename to
5003 window--resize-subwindows-skip-p.
5004 (resize-subwindows-normal): Rename to
5005 window--resize-subwindows-normal.
5006 (resize-subwindows): Rename to window--resize-subwindows.
5007 (resize-other-windows): Rename to window--resize-siblings.
5008 (resize-this-window): Rename to window--resize-this-window.
5009 (resize-root-window): Rename to window--resize-root-window.
5010 (resize-root-window-vertically): Rename to
5011 window--resize-root-window-vertically.
5012 (normalize-buffer-to-display): Rename to
5013 window-normalize-buffer-to-display.
5014 (normalize-buffer-to-switch-to): Rename to
5015 window-normalize-buffer-to-switch-to.
5016 Correspondingly update all callers of the functions listed
5017 above.
5018 (display-buffer-alist, display-buffer-normalize-arguments)
5019 (display-buffer-normalize-options, display-buffer)
5020 (display-buffer-alist-set): Use "function" instead of
5021 "fun-with-args".
5022
5023 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
5024
5025 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5026 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5027 debbugs.gnu.org. Mention acknowledgment email.
5028
5029 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5030
5031 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5032 buffer multibyteness, since it shouldn't matter.
5033
5034 2011-06-28 Martin Rudalics <rudalics@gmx.at>
5035
5036 * window.el (display-buffer-in-side-window): Handle dedicated
5037 windows as in display-buffer-reuse-window.
5038 (display-buffer-normalize-alist): Use value of override
5039 specifier.
5040 (display-buffer-normalize-specifiers): Use value of
5041 other-window-means-other-frame specifier.
5042 (display-buffer-alist): Rewrite some texts in widgets.
5043 (display-buffer): Spread arguments when calling function
5044 specified by fun-with-args.
5045
5046 2011-06-28 Deniz Dogan <deniz@dogan.se>
5047
5048 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5049 Unnest `let'.
5050
5051 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5052 selectors (Bug#5732).
5053 (css-proprietary-nmstart-re): Use `regexp-opt'.
5054
5055 2011-06-27 Jari Aalto <jari.aalto@cante.net>
5056
5057 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5058 (eshell-ls-date-format): New defcustom.
5059 (eshell-ls-file): Use it.
5060
5061 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5062
5063 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5064
5065 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5066
5067 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5068 (ange-ftp-make-tmp-name): New arg.
5069 (ange-ftp-file-local-copy): Use it.
5070
5071 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
5072
5073 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5074 no-conversion (Bug#8870).
5075
5076 2011-06-27 Martin Rudalics <rudalics@gmx.at>
5077
5078 * window.el (window-right, window-left, window-child)
5079 (window-child-count, window-last-child)
5080 (window-iso-combination-p, walk-window-tree-1)
5081 (window-atom-check-1, window-tree-1, delete-window)
5082 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5083 new naming conventions - window-vchild, window-hchild,
5084 window-next and window-prev are now called window-top-child,
5085 window-left-child, window-next-sibling and window-prev-sibling
5086 respectively.
5087 (resize-window-reset): Rename to window-resize-reset.
5088 (resize-window-reset-1): Rename to window-resize-reset-1.
5089 (resize-window): Rename to window-resize.
5090 (window-min-height, window-min-width)
5091 (resize-mini-window, resize-this-window, resize-root-window)
5092 (resize-root-window-vertically, adjust-window-trailing-edge)
5093 (enlarge-window, shrink-window, maximize-window)
5094 (minimize-window, delete-window, quit-restore-window)
5095 (split-window, balance-windows, balance-windows-area-adjust)
5096 (balance-windows-area, window-state-put-2)
5097 (display-buffer-even-window-sizes, display-buffer-set-height)
5098 (display-buffer-set-width, set-window-text-height)
5099 (fit-window-to-buffer): Rename all "resize-window" prefixed
5100 calls to use the "window-resize" prefix convention.
5101 (display-buffer-alist): Fix symbol for label specifier.
5102 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5103 corresponding specifier.
5104 Reported by Juanma Barranquero <lekktu@gmail.com>.
5105
5106 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5107
5108 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5109 convention.
5110 (ses-call-printer): Does not pass an empty string to formatter when the
5111 cell is empty to keep from barking printer Calc math-format-value.
5112
5113 2011-06-27 Richard Stallman <rms@gnu.org>
5114
5115 * battery.el (battery-mode-line-limit): New variable.
5116 (battery-update): Handle it.
5117
5118 * mail/rmailmm.el (rmail-mime-process-multipart):
5119 Handle truncated messages.
5120
5121 2011-06-27 Glenn Morris <rgm@gnu.org>
5122
5123 * progmodes/flymake.el (flymake-err-line-patterns):
5124 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5125
5126 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5127
5128 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
5129 (ses--clean-!, ses--clean-_): New functions.
5130 (ses-range): Add configurability of readout order, and conversion
5131 to Calc vector.
5132
5133 * ses.el (ses-repair-cell-reference-all): New function.
5134 (ses-cell-symbol): Set macro as safe, so that it can be used in
5135 formulas.
5136
5137 * ses.el: Update cycle detection algorithm.
5138 (ses-localvars): Add ses--Dijkstra-attempt-nb and
5139 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
5140 (ses-set-localvars): New function.
5141 (ses-make-cell): Add property-list as a cell element.
5142 (ses-cell-property-get-fun, ses-cell-property-get)
5143 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
5144 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5145 New functions.
5146 (ses-cell-property-set, ses-cell-property-pop)
5147 (ses-cell-property-get-handle): New macro.
5148 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5149 New aliases, used for code readability.
5150 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5151 cycle detection.
5152 (ses-self-reference-early-detection): New defcustom.
5153 (ses-formula-references): Robustify against self-refering cells.
5154 (ses-mode): Use ses-set-localvars.
5155 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5156 before lauching the update processing.
5157 (ses-initialize-Dijkstra-attempt): New function.
5158 (ses-recalculate-cell): Update for cycle detection based on
5159 Dijkstra algorithm.
5160
5161 * ses.el: Fix commenting and indenting convention.
5162
5163 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * bs.el (bs-cycle-next): Complete last change.
5166
5167 2011-06-27 Drew Adams <drew.adams@oracle.com>
5168
5169 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5170
5171 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5172
5173 * net/network-stream.el (network-stream-open-starttls):
5174 Don't re-get capabilities unless we've reestablished connection.
5175 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5176
5177 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5178 to binary to possibly avoid line encoding issues on Windows (among
5179 other things).
5180
5181 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5182
5183 * net/network-stream.el (open-network-stream): Return an :error
5184 saying what the problem was, if possible.
5185
5186 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5187 server.
5188
5189 * net/network-stream.el (network-stream-open-starttls): If we
5190 wanted to use STARTTLS, and the server offered it, but we weren't
5191 able to because we had no STARTTLS support, then close the connection.
5192 (open-network-stream): Return an :error element, if present.
5193
5194 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
5195
5196 * hl-line.el (hl-line-sticky-flag): Doc fix.
5197 (global-hl-line-sticky-flag): New option (Bug#8323).
5198 (global-hl-line-highlight): Obey it.
5199
5200 * vc/vc.el (vc-revert-show-diff): Default to t.
5201
5202 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5203
5204 * allout-widgets.el (allout-widgets-post-command-business):
5205 Stop decorating intermediate isearch matches. They're not being
5206 undecorated when an isearch is continued past, and isearch
5207 automatically collapses them. This leads to "widget leaks", where
5208 decorated items accumulate in collapsed areas. Lines with lots of
5209 hidden widgets can slow down cursor travel, substantially.
5210 Too much complicated machinery would be needed to ensure undecoration,
5211 so we're doing without this nicety.
5212
5213 (allout-widgets-tally-string): Don't try to do a hash-table-count
5214 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5215 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5216 *Messages* when allout-widgets-maintain-tally is t.
5217
5218 2011-06-26 Martin Rudalics <rudalics@gmx.at>
5219
5220 * window.el (display-buffer-normalize-argument): Rename to
5221 display-buffer-normalize-arguments. Handle special meaning of
5222 LABEL argument. Respect special-display-function when popping up
5223 a new frame. Fix code searching for a window showing the buffer
5224 on another frame.
5225 (display-buffer-normalize-specifiers):
5226 Call display-buffer-normalize-arguments.
5227 (display-buffer-in-window): Don't undedicate the window if its
5228 buffer remains the same.
5229 Reported by Drew Adams <drew.adams@oracle.com>.
5230 (display-buffer-alist): Add choice for same-window macro
5231 specfier.
5232 (display-buffer): Mention special meaning of LABEL argument in
5233 doc-string. Fix quoting. Don't pop up a new frame even as
5234 fallback.
5235
5236 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
5237
5238 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5239 avoid deleting the current window in some cases (bug#8911).
5240
5241 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5242
5243 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5244 (Bug#8934)
5245
5246 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5247
5248 * net/network-stream.el (network-stream-open-starttls):
5249 Use built-in TLS support if `gnutls-available-p' is true.
5250 (network-stream-open-tls): Ditto.
5251
5252 2011-06-26 Leo Liu <sdl.web@gmail.com>
5253
5254 * register.el (registerv): New struct.
5255 (registerv-make): New function.
5256 (jump-to-register, describe-register-1, insert-register):
5257 Support the jump-func, print-func and insert-func slot of a registerv
5258 struct. (Bug#8415)
5259
5260 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
5261
5262 * vc/vc.el (vc-revert-show-diff): New defcustom.
5263 (vc-diff-internal): New arg specifying diff buffer.
5264 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5265 reuse an existing *vc-diff* buffer (Bug#8927).
5266
5267 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5268
5269 2011-06-26 Glenn Morris <rgm@gnu.org>
5270
5271 * progmodes/f90.el (f90-critical-indent): New option.
5272 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5273 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5274 (f90-mode): Doc fix.
5275 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5276 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5277 (f90-beginning-of-block, f90-next-block, f90-indent-region)
5278 (f90-match-end): Handle block, critical.
5279
5280 2011-06-25 Glenn Morris <rgm@gnu.org>
5281
5282 * calendar/diary-lib.el (diary-included-files): Doc fix.
5283 (diary-include-files): New function, extracted from
5284 diary-include-other-diary-files and diary-mark-included-diary-files.
5285 (diary-include-other-diary-files, diary-mark-included-diary-files):
5286 Just call diary-include-files.
5287 (diary-mark-entries): Reset diary-included-files on first call.
5288
5289 * calendar/diary-lib.el (diary-mark-entries)
5290 (diary-mark-included-diary-files):
5291 Visit included diary-files in temp buffers.
5292
5293 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5294 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5295 (f90-start-block-re, f90-imenu-generic-expression)
5296 (f90-looking-at-program-block-start, f90-no-block-limit):
5297 Add support for submodules.
5298
5299 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5300 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
5301
5302 2011-06-25 Eli Zaretskii <eliz@gnu.org>
5303
5304 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5305 buffer-file-type before setting its value, to avoid disastrous
5306 global effects on decoding files for DOS/Windows systems. (Bug#8780)
5307
5308 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
5309
5310 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5311
5312 * ses.el (ses-unload-function):
5313 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
5314
5315 * proced.el (proced-unload-function):
5316 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
5317
5318 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
5319
5320 * server.el (server-create-window-system-frame): Add parameters arg.
5321 (server-process-filter): Doc fix. Handle frame-parameters.
5322
5323 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
5324
5325 Fix bug#8730, bug#8781.
5326
5327 * loadhist.el (unload--set-major-mode): New function.
5328 (unload-feature): Use it.
5329
5330 * progmodes/python.el (python-after-info-look): Add autoload cookie.
5331 (python-unload-function): New function.
5332
5333 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5334
5335 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
5336
5337 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
5338
5339 * net/browse-url.el (browse-url-firefox-program): Add icecat to
5340 the candidates list.
5341
5342 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
5343
5344 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
5345
5346 2011-06-23 Richard Stallman <rms@gnu.org>
5347
5348 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
5349 (rmail-variables): Set next-error-move-function.
5350 (rmail-what-message): Take argument POS.
5351 (rmail-next-error-move): New function.
5352
5353 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5354
5355 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
5356 messages for adjacent non-terminals.
5357
5358 2011-06-23 Richard Stallman <rms@gnu.org>
5359
5360 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
5361 (rmail-show-message-1): Preserve buffer modified flag.
5362 (rmail-start-mail): Don't specify use of rmail-mail-return;
5363 that's done by mail-bury now.
5364 (rmail-mail-return): Handle arg NEWBUF.
5365
5366 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
5367
5368 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5369 SIZE is a number.
5370
5371 2011-06-23 Martin Rudalics <rudalics@gmx.at>
5372
5373 * window.el (get-lru-window, get-mru-window)
5374 (get-largest-window): Never return a minibuffer window.
5375 (display-buffer-pop-up-window): Fix a bug that could lead to
5376 reusing the minibuffer window.
5377 (display-buffer): Pass original specifier argument to
5378 display-buffer-function instead of the normalized one.
5379 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5380
5381 2011-06-22 Leo Liu <sdl.web@gmail.com>
5382
5383 * minibuffer.el (completing-read-function)
5384 (completing-read-default): Move from minibuf.c
5385
5386 2011-06-22 Richard Stallman <rms@gnu.org>
5387
5388 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5389 to Rmail even if not started by a special Rmail command.
5390
5391 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5392 Copy the buffer currently showing just one message.
5393
5394 2011-06-22 Roland Winkler <winkler@gnu.org>
5395
5396 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5397 (bibtex-clean-entry): First delete the old key so that a
5398 customized algorithm for generating the new key does not get
5399 confused by the old key.
5400 (bibtex-url): Obey regexp of first step.
5401 (bibtex-search-entries): Do not use add-to-list with local
5402 list-var.
5403
5404 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5405
5406 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5407 stored a user name, then query for the password first, instead of
5408 waiting for SMTP to give an error message and the trying again.
5409
5410 2011-06-22 Lawrence Mitchell <wence@gmx.li>
5411
5412 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5413 BUFFER in call-process.
5414
5415 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5416
5417 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5418 QUIT twice.
5419 (smtpmail-try-auth-methods): Require user name and password from
5420 auth-source.
5421
5422 2011-06-22 Martin Rudalics <rudalics@gmx.at>
5423
5424 * window.el (display-buffer-default-specifiers)
5425 (display-buffer-alist): Remove entries for pop-up-frame-alist.
5426 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
5427 (split-window): Normalize SIDE argument (Bug#8916).
5428
5429 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5430 (special-display-frame-alist, special-display-popup-frame):
5431 Remove duplicate declarations. These are now in window.el.
5432
5433 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5434
5435 * mail/smtpmail.el (smtpmail-via-smtp):
5436 Set :use-starttls-if-possible so that we always use STARTTLS if the
5437 server supports it. SMTP servers that support STARTTLS commonly
5438 require it.
5439
5440 * net/network-stream.el (network-stream-open-starttls): Support
5441 upgrading to STARTTLS always, even if we don't have built-in support.
5442 (open-network-stream): Add the :always-query-capabilities keyword.
5443
5444 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5445 upgrades with `open-network-stream', and rely solely on
5446 auth-source for all credentials. Big changes throughout the file,
5447 but in particular:
5448 (smtpmail-auth-credentials): Remove.
5449 (smtpmail-starttls-credentials): Remove.
5450 (smtpmail-via-smtp): Check for servers saying they want AUTH after
5451 MAIL FROM, too.
5452
5453 * net/network-stream.el (network-stream-open-starttls):
5454 Provide support for client certificates both for external and built-in
5455 STARTTLS.
5456 (auth-source): Require.
5457 (open-network-stream): Document the :client-certificate keyword.
5458 (network-stream-certificate): Change cert-cert to cert and
5459 cert-key to key.
5460
5461 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
5462
5463 * net/tramp-cache.el (top): Don't load the persistency file when
5464 "emacs -Q" has been called.
5465
5466 2011-06-21 Tim Harper <timcharper@gmail.com>
5467
5468 * term/ns-win.el (ns-initialize-window-system):
5469 Set application-specific `ApplePressAndHoldEnabled' system
5470 resource to NO as it is not yet supported by the NS port.
5471
5472 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
5473
5474 * misc.el (list-dynamic-libraries--refresh): Compute header here...
5475 (list-dynamic-libraries): ...not here.
5476
5477 2011-06-21 Leo Liu <sdl.web@gmail.com>
5478
5479 * subr.el (sha1): Implement sha1 using secure-hash.
5480
5481 2011-06-21 Martin Rudalics <rudalics@gmx.at>
5482
5483 * window.el (display-buffer-alist): In default value do not
5484 enforce searching a window on any but the selected frame.
5485 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5486 (display-buffer-select-window): Remove function.
5487 (display-buffer-in-window): When a window on another frame gets
5488 reused, do not select it any more but just raise its frame if
5489 necessary (Bug#8851) and (Bug#8856).
5490 (display-buffer-normalize-options): Handle pop-up-frames related
5491 options more faithfully.
5492 (pop-to-buffer): Don't rely on `display-buffer' selecting the
5493 window if it is on another frame.
5494 (display-buffer-alist, display-buffer-default-specifiers):
5495 Don't make new frame unsplittable by default.
5496 (display-buffer-normalize-argument): Fix doc-string typo and use
5497 'same-frame-other-window instead of 'other-window when associating
5498 with display-buffer-macro-specifiers.
5499
5500 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
5501
5502 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5503 New functions.
5504 (5x5-mode-map, 5x5-mode-menu): Bind them.
5505 (5x5-draw-grid): Tweak the solver's rendering.
5506
5507 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5508
5509 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5510 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
5511
5512 2011-06-21 Drew Adams <drew.adams@oracle.com>
5513
5514 * menu-bar.el: Use function variable instead of switch-to-buffer.
5515 (menu-bar-select-buffer-function): New variable.
5516 (menu-bar-update-buffers): Use it (bug#8876).
5517
5518 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5519
5520 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5521 variable's status.
5522
5523 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
5524
5525 * x-dnd.el (x-dnd-version-from-flags)
5526 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5527 and long as number (Bug#8899).
5528 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5529
5530 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
5533 (completion-try-completion, completion-all-completions): Compute the
5534 metadata argument if it's missing; make it optional (bug#8795).
5535
5536 * wid-edit.el: Use lex-bind and move towards completion-at-point.
5537 (widget-complete): Use new :completion-function property.
5538 (widget-completions-at-point): New function.
5539 (default): Use :completion-function instead of :complete.
5540 (widget-default-completions): Rename from widget-default-complete;
5541 Rewrite.
5542 (widget-string-complete, widget-file-complete, widget-color-complete):
5543 Remove functions.
5544 (file, symbol, function, variable, coding-system, color):
5545 * international/mule-cmds.el (default-input-method, charset)
5546 (language-info-custom-alist):
5547 * cus-edit.el (face): Use new property :completions.
5548
5549 * progmodes/pascal.el (pascal-completions-at-point): New function.
5550 (pascal-mode): Use it.
5551 (pascal-mode-map): Use completion-at-point.
5552 (pascal-toggle-completions): Make obsolete.
5553 (pascal-complete-word, pascal-show-completions):
5554 * progmodes/octave-mod.el (octave-complete-symbol):
5555 Redefine as obsolete alias.
5556 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5557 Signal absence of completion info for old Octave,
5558 (inferior-octave-complete): Redefine as obsolete alias.
5559 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5560 (meta-completions-at-point): Rename from meta-complete-symbol and
5561 adapt it for use on completion-at-point-functions.
5562 (meta-common-mode): Use it.
5563 (meta-looking-at-backward, meta-match-buffer): Remove.
5564 (meta-complete-symbol): Redefine as obsolete alias.
5565 (meta-common-mode-map): Use completion-at-point.
5566 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5567 (makefile-mode-map): Use completion-at-point.
5568 (makefile-completions-at-point): Rename from makefile-complete and
5569 adapt it for use on completion-at-point-functions.
5570 (makefile-mode): Use it.
5571 (makefile-complete): Redefine as obsolete alias.
5572
5573 2011-06-20 Deniz Dogan <deniz@dogan.se>
5574
5575 * net/rcirc.el: Delete trailing whitespaces once and for all.
5576
5577 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5578
5579 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5580
5581 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
5582
5583 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5584
5585 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5586
5587 2011-06-19 Martin Rudalics <rudalics@gmx.at>
5588
5589 * window.el (display-buffer-other-window-means-other-frame):
5590 Call display-buffer-normalize-alist.
5591 (display-buffer-normalize-specifiers-1): Rename to
5592 display-buffer-normalize-argument. New argument other-frame.
5593 Rewrite.
5594 (display-buffer-normalize-specifiers-2): Rename to
5595 display-buffer-normalize-options.
5596 (display-buffer-normalize-alist-1): New function.
5597 (display-buffer-normalize-specifiers-3): Rename to
5598 display-buffer-normalize-alist.
5599 Call display-buffer-normalize-alist-1.
5600 (display-buffer-normalize-options-inhibit): New variable.
5601 (display-buffer-normalize-specifiers): Rewrite calling
5602 display-buffer-normalize-alist,
5603 display-buffer-normalize-argument, and
5604 display-buffer-normalize-options. Don't call the latter if
5605 display-buffer-normalize-options-inhibit is non-nil.
5606 (frame-auto-delete): New option.
5607 (window-deletable-p): Use frame-auto-delete.
5608 (window-list-no-nils, window-state-ignored-parameters)
5609 (window-state-get-1, window-state-get, window-state-put-list)
5610 (window-state-put-1, window-state-put-2, window-state-put):
5611 New functions.
5612 (display-buffer-normalize-options): Move special-display-p group
5613 after pop-up-frame group (Bug#8851) and (Bug#8856).
5614
5615 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
5616
5617 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5618 groups (Bug#8776).
5619 (rx-submatch-n): New function.
5620 (rx): Document it.
5621
5622 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5623 (Bug#8768).
5624
5625 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5626
5627 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5628
5629 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5630 anytime existing face settings are present (Bug#8889).
5631
5632 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5633 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5634 Remove unused argument.
5635
5636 2011-06-18 Martin Rudalics <rudalics@gmx.at>
5637
5638 * window.el (display-buffer-default-specifiers):
5639 Remove pop-up-frame. Add pop-up-window-min-height,
5640 pop-up-window-min-width, and another reuse-window specifier
5641 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
5642 (display-buffer-normalize-specifiers-2):
5643 Handle split-height-threshold and split-width-threshold also when
5644 pop-up-windows is unset. Add a reuse-window specifier for the
5645 case popping up a new window fails.
5646 (special-display-popup-frame): Remove double quoting.
5647 (display-buffer-normalize-specifiers-1): Fix thinko.
5648
5649 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5650
5651 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5652 according to comint-completion-addsuffix.
5653
5654 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5655 (pcomplete-suffix-list): Mark as obsolete.
5656 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5657 pcomplete-seen in the closure.
5658 (pcomplete-comint-setup): Setup completion-at-point as well.
5659 (pcomplete--entries): New function.
5660 (pcomplete--env-regexp): New var.
5661 (pcomplete-entries): Rewrite to work with partial-completion and
5662 without relying on pcomplete-suffix-list.
5663 (pcomplete-pare-list): Remove, unused.
5664
5665 2011-06-17 Martin Rudalics <rudalics@gmx.at>
5666
5667 * window.el (display-buffer-alist): Set pop-up-window-min-height
5668 and pop-up-window-min-width in default value. Reported by
5669 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5670 other-window-means-other-frame.
5671 (display-buffer-macro-specifiers): Comment out entry for
5672 other-window specifier.
5673 (display-buffer-other-window-means-other-frame): New function.
5674 (display-buffer-normalize-specifiers-1): New arguments
5675 buffer-name and label. Treat other-window case specially.
5676 (display-buffer-normalize-specifiers-2): Treat other-window case
5677 specially.
5678 (display-buffer-normalize-specifiers-3): New function.
5679 (display-buffer-normalize-specifiers):
5680 Call display-buffer-normalize-specifiers-3.
5681
5682 2011-06-17 Martin Rudalics <rudalics@gmx.at>
5683
5684 * window.el (same-window-p): Fix two typos introduced when
5685 adding with-no-warnings.
5686 (display-buffer-normalize-specifiers-1): Don't check
5687 pop-up-frames for 'unset initialization.
5688 (display-buffer-normalize-specifiers-2): Major rewrite using
5689 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5690 (pop-up-frames, display-buffer-reuse-frames)
5691 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5692 Suggested by David Engster <deng@randomsample.de>.
5693 (even-window-heights): Initialize to 'unset.
5694 (display-buffer-alist-set): Handle new 'unset initializations.
5695 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5696 other window case.
5697
5698 2011-06-16 Martin Rudalics <rudalics@gmx.at>
5699
5700 * window.el (display-buffer-normalize-specifiers-1):
5701 Respect current value of pop-up-frames for most reasonable values of
5702 second argument of display-buffer (Bug#8865).
5703 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5704 (switch-to-buffer-other-window-same-frame)
5705 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5706 Adams (Bug#8875).
5707 (display-buffer): Don't check noninteractive when calling
5708 display-buffer-pop-up-frame.
5709 (display-buffer-pop-up-frame): Never pop up a frame in
5710 noninteractive mode (Bug#8857).
5711 (enlarge-window, shrink-window): Don't report an error when the
5712 window can't be resized as requested (Bug#8862).
5713
5714 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5715
5716 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5717
5718 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5719
5720 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5721
5722 2011-06-15 Alan Mackenzie <acm@muc.de>
5723
5724 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5725 for declarators, disable knr checking to speed up for normal files.
5726 2: Refactor, replacing a sequence of nested if forms by a cond form.
5727
5728 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5729
5730 * net/network-stream.el (open-network-stream): Add the keyword
5731 :always-query-capabilities for the case where you want to force a
5732 `plain' network connection, but the protocol still requires the
5733 capabilitiy command (i.e., SMTP and EHLO).
5734
5735 * subr.el (process-live-p): Rename from `process-alive-p' for
5736 consistency with other `-live-p' functions.
5737
5738 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5739
5740 * window.el (same-window-buffer-names, same-window-regexps)
5741 (special-display-frame-alist, special-display-popup-frame)
5742 (special-display-function, special-display-buffer-names)
5743 (special-display-regexps, pop-up-frame-alist)
5744 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5745 (pop-up-windows, split-window-preferred-function)
5746 (split-height-threshold, split-width-threshold, even-window-heights)
5747 (display-buffer-mark-dedicated): Don't encourage the use of
5748 display-buffer-alist from Elisp code.
5749
5750 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5751
5752 * progmodes/python.el (python-mode): Derive from prog-mode.
5753 * progmodes/ps-mode.el (ps-mode):
5754 * progmodes/mixal-mode.el (mixal-mode):
5755 * progmodes/cfengine.el (cfengine-mode):
5756 * progmodes/ld-script.el (ld-script-mode): Likewise.
5757
5758 2011-06-15 Martin Rudalics <rudalics@gmx.at>
5759
5760 * window.el (display-buffer-alist): Trim default value to avoid
5761 popping up a new frame (Bug#8857) or reusing an arbitrary window
5762 on another frame.
5763 (display-buffer): Do not fall back on popping up a new frame in
5764 batch mode (Bug#8857).
5765
5766 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
5767
5768 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5769 (custom-theme-summary): New function.
5770 (customize-themes): Use it.
5771
5772 2011-06-13 Glenn Morris <rgm@gnu.org>
5773
5774 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5775
5776 2011-06-13 Martin Rudalics <rudalics@gmx.at>
5777
5778 * help.el (help-window): Remove variable.
5779 (help-window-point-marker, temp-buffer-max-height)
5780 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5781 (help-print-return-message): Don't set help-window.
5782 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5783 (help-window-setup-finish): Remove.
5784 (help-window-display-message, help-window-setup)
5785 (with-help-window): Major rewrite based on new
5786 display-buffer-window variable.
5787
5788 * help-mode.el (help-mode-finish): Remove help-window related
5789 code.
5790
5791 * view.el (view-exits-all-viewing-windows): Remove reference to
5792 view-return-to-alist in doc-string.
5793 (view-return-to-alist): Make obsolete.
5794 (view-buffer): Call pop-to-buffer-same-window and remove
5795 undo-window code.
5796 (view-buffer-other-window): Call pop-to-buffer-other-window and
5797 simplify code. Ignore second argument.
5798 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5799 simplify code. Ignore second argument.
5800 (view-return-to-alist-update): Make obsolete.
5801 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5802 Rewrite using quit-restore window parameters.
5803 (view-mode-exit): Rename second argument to EXIT-ONLY.
5804 Rewrite using quit-restore-window.
5805 (View-exit, View-exit-and-edit, View-leave, View-quit)
5806 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5807 appropriate arguments.
5808 (view-end-message): Use quit-restore window parameter.
5809
5810 * window.el (display-buffer-function): Rewrite doc-string.
5811 (display-buffer-window, display-buffer-alist): New variables.
5812 (display-buffer-split-specifiers)
5813 (display-buffer-side-specifiers)
5814 (display-buffer-macro-specifiers): New constants.
5815 (display-buffer-even-window-sizes, display-buffer-set-height)
5816 (display-buffer-set-width, display-buffer-select-window)
5817 (display-buffer-in-window, display-buffer-reuse-window)
5818 (display-buffer-split-window-1, display-buffer-split-window)
5819 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5820 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5821 (display-buffer-in-side-window, normalize-buffer-to-display)
5822 (display-buffer-normalize-specifiers-1)
5823 (display-buffer-normalize-specifiers-2)
5824 (display-buffer-normalize-specifiers, display-buffer-frame):
5825 New functions.
5826 (display-buffer): Major rewrite.
5827 (display-buffer-other-window, display-buffer-other-frame)
5828 (pop-to-buffer, switch-to-buffer-other-window)
5829 (switch-to-buffer-other-frame): Rewrite.
5830 (display-buffer-same-window, display-buffer-same-frame)
5831 (display-buffer-same-frame-other-window)
5832 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5833 (pop-to-buffer-other-window)
5834 (pop-to-buffer-same-frame-other-window)
5835 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5836 (switch-to-buffer-other-window-same-frame): New functions.
5837 (same-window-p, special-display-p): Rewrite disabling warnings.
5838 Make obsolete.
5839 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5840 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5841 Make obsolete
5842 (same-window-buffer-names, same-window-regexps)
5843 (special-display-frame-alist, special-display-popup-frame)
5844 (special-display-function, special-display-buffer-names)
5845 (special-display-regexps, pop-up-frame-alist)
5846 (pop-up-frame-function, split-window-preferred-function)
5847 (split-height-threshold, split-width-threshold)
5848 (even-window-heights): Make obsolete.
5849
5850 2011-06-12 Glenn Morris <rgm@gnu.org>
5851
5852 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
5853 Misc simplifications.
5854
5855 2011-06-12 Martin Rudalics <rudalics@gmx.at>
5856
5857 * window.el (window-safely-shrinkable-p): Restore function which
5858 was inadvertently removed in change from 2011-06-11. Declare as
5859 obsolete.
5860
5861 * calendar/calendar.el (calendar-generate-window):
5862 Use window-iso-combined-p instead of combination of one-window-p and
5863 window-safely-shrinkable-p.
5864
5865 2011-06-12 Glenn Morris <rgm@gnu.org>
5866
5867 * progmodes/fortran.el (fortran-mode-syntax-table):
5868 * progmodes/f90.el (f90-mode-syntax-table):
5869 Set % to punctuation. (Bug#8820)
5870 (f90-find-tag-default): Remove, no longer needed.
5871
5872 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5873
5874 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5875
5876 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
5877
5878 * image.el (image-animated-p): Return animation delay in seconds.
5879 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5880 (image-animate-timeout): Remove DELAY argument. Don't assume
5881 every subimage has the same delay; get it from image-animated-p.
5882 (image-animate): Caller changed.
5883
5884 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
5885
5886 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5887 to ignored backtrace functions.
5888
5889 2011-06-11 Glenn Morris <rgm@gnu.org>
5890
5891 * calendar/appt.el (appt-disp-window-function): Doc fix.
5892 (appt-check): Handle overlapping appointments. (Bug#8337)
5893
5894 2011-06-11 Martin Rudalics <rudalics@gmx.at>
5895
5896 * window.el (window-tree-1, window-tree): New functions, moving
5897 the latter to window.el.
5898 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5899 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5900 (bw-refresh-edges): Remove.
5901 (balance-windows-1, balance-windows-2): New functions.
5902 (balance-windows): Rewrite in terms of window tree functions,
5903 balance-windows-1 and balance-windows-2.
5904 (bw-adjust-window): Remove.
5905 (balance-windows-area-adjust): New function with functionality of
5906 bw-adjust-window but using resize-window.
5907 (set-window-text-height): Rewrite doc-string.
5908 Use normalize-live-window and resize-window.
5909 (enlarge-window-horizontally, shrink-window-horizontally):
5910 Rename argument to DELTA.
5911 (window-buffer-height): New function.
5912 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5913 Rewrite using new window resize routines.
5914 (kill-buffer-and-window, mouse-autoselect-window-select):
5915 Use ignore-errors instead of condition-case.
5916 (quit-window): Call delete-frame instead of delete-windows-on
5917 for the only buffer on frame.
5918
5919 2011-06-10 Martin Rudalics <rudalics@gmx.at>
5920
5921 * loadup.el (top-level): Load window before files for the sake
5922 of replace-buffer-in-windows.
5923
5924 * files.el (read-buffer-to-switch)
5925 (switch-to-buffer-other-window)
5926 (switch-to-buffer-other-frame, display-buffer-other-frame):
5927 Move to window.el.
5928
5929 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5930 (previous-buffer): Move to window.el.
5931
5932 * bindings.el (unbury-buffer): Move to window.el.
5933
5934 * window.el (delete-other-windows-vertically): Move after
5935 definition of delete-other-windows.
5936 (other-window, delete-windows-on, replace-buffer-in-windows):
5937 Move here from window.c.
5938 (record-window-buffer, unrecord-window-buffer)
5939 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5940 (switch-to-next-buffer): New functions.
5941 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5942 from simple.el. Call switch-to-next-buffer.
5943 (previous-buffer): Move here from simple.el.
5944 Call switch-to-prev-buffer.
5945 (bury-buffer): Move here from buffer.c. Switch to previous
5946 buffer when window cannot be deleted.
5947 (unbury-buffer): Move here from bindings.el.
5948 (ctl-x-map): Move binding for other-window from window.c to
5949 here.
5950 (read-buffer-to-switch, switch-to-buffer-other-window)
5951 (switch-to-buffer-other-frame): Move here from files.el.
5952 (normalize-buffer-to-switch-to): New functions.
5953 (switch-to-buffer): Move here from buffer.c.
5954 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
5955
5956 2011-06-10 Martin Rudalics <rudalics@gmx.at>
5957
5958 * window.el (window-min-height, window-min-width): Move here
5959 from window.c. Add defcustoms and rewrite doc-strings.
5960 (resize-mini-window, resize-window): New functions.
5961 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5962 Move here from window.c.
5963 (maximize-window, minimize-window): New functions.
5964 (delete-window, delete-other-windows, split-window): Move here
5965 from window.c.
5966 (window-split-min-size): New function.
5967 (split-window-keep-point): Mention split-window-above-each-other
5968 instead of split-window-vertically.
5969 (split-window-above-each-other, split-window-vertically):
5970 Rename split-window-vertically to split-window-above-each-other and
5971 provide defalias for old definition.
5972 (split-window-side-by-side, split-window-horizontally): Rename
5973 split-window-horizontally to split-window-side-by-side and provide
5974 defalias for the old definition.
5975 (ctl-x-map): Move bindings for delete-window,
5976 delete-other-windows and enlarge-window here from window.c.
5977 Replace bindings for split-window-vertically and
5978 split-window-horizontally by bindings for
5979 split-window-above-each-other and split-window-side-by-side.
5980
5981 * cus-start.el (all): Remove entries for window-min-height and
5982 window-min-width. Add entries for window-splits and
5983 window-nest.
5984
5985 2011-06-09 Glenn Morris <rgm@gnu.org>
5986
5987 * calendar/appt.el (appt-mode-line): New function.
5988 (appt-check, appt-disp-window): Use it.
5989
5990 * files.el (hack-one-local-variable-eval-safep):
5991 Allow minor-modes with explicit +/-1 arguments.
5992
5993 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5994
5995 * term/xterm.el (xterm): Add defgroup.
5996 (xterm-extra-capabilities): Add defcustom to supply known xterm
5997 capabilities, skip querying them, or query them (default).
5998 (terminal-init-xterm): Use it.
5999 (terminal-init-xterm-modify-other-keys): New function to set up
6000 modifyOtherKeys support to simplify `terminal-init-xterm'.
6001
6002 2011-06-09 Martin Rudalics <rudalics@gmx.at>
6003
6004 * window.el (resize-window-reset, resize-window-reset-1)
6005 (resize-subwindows-skip-p, resize-subwindows-normal)
6006 (resize-subwindows, resize-other-windows, resize-this-window)
6007 (resize-root-window, resize-root-window-vertically)
6008 (window-deletable-p, window-or-subwindow-p)
6009 (frame-root-window-p): New functions.
6010
6011 2011-06-09 Glenn Morris <rgm@gnu.org>
6012
6013 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6014 (ange-ftp-get-files): Use it.
6015
6016 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6017
6018 * mail/sendmail.el (mail-recover-1, mail-recover):
6019 * files.el (recover-file, recover-session):
6020 Handle dired-listing-switches not being just a single short option.
6021
6022 2011-06-09 Glenn Morris <rgm@gnu.org>
6023
6024 * calendar/appt.el (appt-display-message, appt-disp-window):
6025 Handle lists of appointments.
6026
6027 2011-06-08 Martin Rudalics <rudalics@gmx.at>
6028
6029 * window.el (one-window-p): Move down in code.
6030 Rewrite doc-string.
6031 (window-current-scroll-bars): Rewrite doc-string.
6032 Normalize live window argument.
6033 (walk-windows, get-window-with-predicate, count-windows):
6034 Rewrite doc-string. Use window-list-1.
6035 (window-in-direction-2, window-in-direction, get-mru-window):
6036 New functions.
6037
6038 2011-06-08 Reuben Thomas <rrt@sc3d.org>
6039
6040 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6041 Doc fix (Bug#8713).
6042
6043 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
6044
6045 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6046
6047 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
6048
6049 * loadhist.el (unload-feature-special-hooks):
6050 Add `comint-output-filter-functions'.
6051
6052 2011-06-08 Ivan Kanis <gnu@kanis.fr>
6053
6054 * calendar/appt.el (appt-check): Move some initializations into the let.
6055
6056 2011-06-08 Martin Rudalics <rudalics@gmx.at>
6057
6058 * window.el (window-height): Defalias to window-total-height.
6059 (window-width): Defalias to window-body-width.
6060
6061 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
6062
6063 * image-mode.el (image-toggle-animation): New command.
6064 (image-mode-map): Bind it to RET.
6065 (image-mode): Update message.
6066 (image-toggle-display-image): Avoid a spurious cache flush.
6067 (image-transform-rotation): Doc fix.
6068 (image-transform-properties): Return quickly in the normal case.
6069 (image-animate-loop): Rename from image-animate-max-time.
6070
6071 * image.el (image-animate-max-time): Move to image-mode.el.
6072 (create-animated-image): Remove unnecessary function.
6073 (image-animate): Rename from image-animate-start. New arg.
6074 (image-animate-stop): Remove; just use image-animate-timer.
6075 (image-animate-timer): Use car-safe.
6076 (image-animate-timeout): Rename argument.
6077
6078 2011-06-07 Martin Rudalics <rudalics@gmx.at>
6079
6080 * window.el (get-lru-window, get-largest-window): Move here from
6081 window.c. Rename first argument to ALL-FRAMES.
6082 Rephrase doc-strings.
6083 (get-buffer-window-list): Rewrite using window-list-1.
6084 Rephrase doc-string.
6085 (window-safe-min-height, window-safe-min-width): New constants.
6086 (window-size-ignore, window-min-size, window-min-size-1)
6087 (window-sizable, window-sizable-p, window-size-fixed-1)
6088 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6089 (window-max-delta-1, window-max-delta, window-resizable)
6090 (window-resizable-p, window-total-height, window-total-width)
6091 (window-body-width): New functions.
6092 (window-full-height-p, window-full-width-p): Rewrite using
6093 window-total-size.
6094 (window-body-height): Rewrite using window-body-size.
6095
6096 2011-06-06 Martin Rudalics <rudalics@gmx.at>
6097
6098 * window.el (window-right, window-left, window-child)
6099 (window-child-count, window-last-child, window-any-p)
6100 (normalize-live-buffer, normalize-live-frame)
6101 (normalize-any-window, normalize-live-window)
6102 (window-iso-combination-p, window-iso-combined-p)
6103 (window-iso-combinations)
6104 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6105 (windows-with-parameter, window-with-parameter)
6106 (window-atom-root, make-window-atom, window-atom-check-1)
6107 (window-atom-check, window-side-check, window-check):
6108 New functions.
6109 (ignore-window-parameters, window-sides, window-sides-vertical)
6110 (window-sides-slots): New variables.
6111 (window-size-fixed): Move down in code. Minor doc-string fix.
6112
6113 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6114
6115 * comint.el (comint-dynamic-complete-as-filename)
6116 (comint-dynamic-complete-filename): Correctly call
6117 completion-in-region.
6118
6119 2011-06-05 Deniz Dogan <deniz@dogan.se>
6120
6121 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6122 in last change.
6123
6124 2011-06-05 Deniz Dogan <deniz@dogan.se>
6125
6126 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6127 (rcirc): Use it to prompt for encryption.
6128
6129 2011-06-05 Roland Winkler <winkler@gnu.org>
6130
6131 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6132 (bibtex-search-entries): New command bound to C-c C-a.
6133 (bibtex-display-entries): New function.
6134
6135 2011-06-05 Roland Winkler <winkler@gnu.org>
6136
6137 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6138 (bibtex-insert-kill): After yanking insert newline if necessary.
6139 (bibtex-initialize): Call bibtex-string-files-init only once.
6140 (bibtex-mode): Do not call easy-menu-add.
6141 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6142 (bibtex-yank): Set arg properly if nil.
6143
6144 2011-06-05 Roland Winkler <winkler@gnu.org>
6145
6146 * textmodes/bibtex.el (bibtex-search-entry-globally):
6147 New variable.
6148 (bibtex-search-entry): Use it.
6149
6150 2011-06-05 Roland Winkler <winkler@gnu.org>
6151
6152 * textmodes/bibtex.el (bibtex-entry-format): New option
6153 sort-fields.
6154 (bibtex-format-entry, bibtex-reformat): Honor this option.
6155 (bibtex-parse-entry): Return fields in proper order.
6156
6157 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
6158
6159 * doc-view.el (doc-view-remove-if): Move computation of result out
6160 of `dolist' to silence misleading lexical-binding warning.
6161
6162 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
6163
6164 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6165 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6166
6167 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
6168
6169 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6170 "SunOS 5.10".
6171
6172 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
6173
6174 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6175 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6176 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6177 (tramp-parse-putty):
6178 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6179 (tramp-completion-function-alist-ssh)
6180 (tramp-completion-function-alist-telnet)
6181 (tramp-completion-function-alist-su)
6182 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6183 cookie.
6184
6185 * net/tramp-ftp.el:
6186 * net/tramp-sh.el:
6187 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6188 load "tramp.el" `tramp-set-completion-function'.
6189
6190 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6191
6192 * shell.el: Require and use pcomplete.
6193 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6194 (shell-completion-vars): Set pcomplete-default-completion-function.
6195
6196 2011-06-04 Deniz Dogan <deniz@dogan.se>
6197
6198 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6199 `memq' (Bug#8799).
6200
6201 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6202
6203 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6204
6205 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
6206
6207 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6208 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6209 * vc/log-view.el (log-view-beginning-of-defun):
6210 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6211 (smerge-refine-forward, smerge-refine-chopup-region):
6212 Silence warning for unused `dotimes' counter variables.
6213
6214 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6215
6216 * net/tramp.el (tramp-with-progress-reporter): Rename from
6217 with-progress-reporter. Use `declare'.
6218 * net/tramp-smb.el:
6219 * net/tramp-sh.el:
6220 * net/tramp-gvfs.el: Update all uses.
6221
6222 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6223
6224 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6225 buffer isn't killed before making it current.
6226
6227 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 Silence various byte-compiler warnings.
6230 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6231 `access-type' and new obsolescence format.
6232 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6233 new format.
6234 (byte-compile-check-variable): New `access-type' argument.
6235 Only warn if the access-type is obsolete.
6236 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6237 (byte-compile-variable-set): Adjust callers.
6238 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6239 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6240 setting it as obsolete.
6241 * simple.el (minibuffer-completing-symbol):
6242 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6243 access as obsolete.
6244 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6245 obsolete yet.
6246 * international/quail.el (quail-mouse-choose-completion): Remove unused
6247 code referring to obsolete var.
6248 (quail-choose-completion-string): Remove.
6249 * server.el (server-clients-with, server-kill-buffer-query-function)
6250 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6251 * proced.el (proced-send-signal):
6252 * emacs-lisp/lisp.el (lisp-complete-symbol):
6253 Replace completion-annotate-function with completion-extra-properties.
6254
6255 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6256
6257 * simple.el (goto-line): Use read-number.
6258 (overriding-map-is-bound): Remove.
6259 (saved-overriding-map): Change default.
6260 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6261 Take the map as argument.
6262 (universal-argument, negative-argument, digit-argument): Use it.
6263 (restore-overriding-map): Adjust.
6264 (do-auto-fill): Use fill-forward-paragraph.
6265 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6266
6267 * minibuffer.el (minibuffer-inactive-mode-map): New var.
6268 (minibuffer-inactive-mode): New major mode.
6269 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6270 the *Messages* buffer" hack.
6271 (mouse-popup-menubar): Don't burp if the event is a normal key.
6272
6273 Miscellaneous tweaks.
6274 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6275 lexical scoping as in subr.el's dolist and dotimes.
6276 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6277 Silence compiler warning.
6278 * thingatpt.el (forward-whitespace): Trivial coding style fix.
6279 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6280 * international/ccl.el (ccl-compile): Trivial simplification.
6281 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6282 * emacs-lisp/testcover.el (testcover-end): Remove spurious
6283 `printflag' argument.
6284 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6285 Purecopy the whole obsolescence data.
6286
6287 2011-06-01 Leo Liu <sdl.web@gmail.com>
6288
6289 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6290 improve doc-string as suggested by Marco Pessotto
6291 <melmothx@gmail.com>.
6292 (rcirc-print): Fix last change.
6293
6294 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6295
6296 * minibuffer.el (complete-with-action): Return nil for the metadata and
6297 boundaries of non-functional tables.
6298 (completion-table-dynamic): Return nil for the metadata.
6299 (completion-table-with-terminator): Add default case, using
6300 complete-with-action.
6301 (completion--metadata): New function.
6302 (completion-all-sorted-completions, minibuffer-completion-help): Use it
6303 to try and avoid pathological performance problems.
6304 (completion--embedded-envvar-table): Return `category' metadata.
6305
6306 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
6307
6308 * subr.el (process-alive-p): New tiny convenience function.
6309
6310 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6311
6312 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
6313 content but also its previous major mode.
6314
6315 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
6316
6317 * emacs-lisp/debug.el (debug): Restore the previous content of the
6318 *Backtrace* buffer when we exit with C-M-c.
6319
6320 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6321
6322 * minibuffer.el: Add metadata method to completion tables.
6323 (completion-category-overrides): New defcustom.
6324 (completion-metadata, completion--field-metadata)
6325 (completion-metadata-get, completion--styles)
6326 (completion--cycle-threshold): New functions.
6327 (completion-try-completion, completion-all-completions):
6328 Add `metadata' argument to choose completion-styles.
6329 (completion--do-completion): Use metadata to choose cycling.
6330 (completion-all-sorted-completions): Use metadata for sorting.
6331 Remove :completion-cycle-penalty which is not needed any more.
6332 (completion--try-word-completion): Add `metadata' argument.
6333 (minibuffer-completion-help): Check metadata for annotation function
6334 and sorting.
6335 (completion-file-name-table): Return `category' metadata.
6336 (minibuffer-completing-file-name): Make obsolete.
6337 * simple.el (minibuffer-completing-symbol): Make obsolete.
6338 * icomplete.el (icomplete-completions): Pass new `metadata' param to
6339 completion-try-completion.
6340
6341 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
6344
6345 2011-05-30 Leo Liu <sdl.web@gmail.com>
6346
6347 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
6348 (rcirc-print): Decode all incoming messages (bug#8744).
6349 (rcirc-decode-coding-system): Allow value nil for automatic coding
6350 system detection.
6351
6352 2011-06-01 Glenn Morris <rgm@gnu.org>
6353
6354 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
6355
6356 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
6357
6358 * image.el (image-animate-max-time): Allow nil and t values.
6359 Default to nil.
6360 (create-animated-image): Doc fix.
6361 (image-animate-start): Remove second arg; just use
6362 image-animate-max-time.
6363 (image-animate-timeout): Doc fix. Args changed.
6364
6365 * image-mode.el (image-toggle-display-image): Ensure that the
6366 image spec passed to the animate timer is the same object as in
6367 the buffer's display property (Bug#6981).
6368 (image-transform-properties): Doc fix.
6369
6370 * image.el (image-animate-max-time): Default to nil.
6371
6372 2011-05-29 Martin Rudalics <rudalics@gmx.at>
6373
6374 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6375 entire buffer list (Bug#8184).
6376
6377 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
6378
6379 * image.el (imagemagick-types-inhibit)
6380 (imagemagick-register-types): Doc fix.
6381
6382 2011-05-29 Deniz Dogan <deniz@dogan.se>
6383
6384 * net/rcirc.el (rcirc): Use the user's stored encryption method by
6385 default.
6386
6387 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
6388
6389 * select.el: Don't perform clipboard-manager saving in hooks;
6390 leave the hooks empty.
6391
6392 2011-05-28 Leo Liu <sdl.web@gmail.com>
6393
6394 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6395 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
6396 (occur-edit-mode): New major mode (Bug#8463).
6397 (occur-after-change-function): New function.
6398 (occur-engine): Give Occur tags a read-only property.
6399
6400 2011-05-28 Kevin Ryde <user42@zip.com.au>
6401
6402 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6403
6404 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
6405
6406 * bindings.el (help-echo): Make the initial non-indicator dash
6407 empty on graphical terminals (Bug#7295).
6408
6409 * files.el (auto-mode-alist): Move config rule after the
6410 in-stripping one (Bug#8547).
6411
6412 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6413
6414 * startup.el (normal-splash-screen): Remove gratuitous mode-line
6415 setting (Bug#8740).
6416
6417 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
6418
6419 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6420 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6421 (Bug#8539).
6422
6423 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
6424
6425 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6426
6427 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
6428
6429 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6430 (hs-hide-block-at-point, hs-find-block-beginning)
6431 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6432 (Bug#8279).
6433
6434 2011-05-28 Glenn Morris <rgm@gnu.org>
6435
6436 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
6437
6438 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
6439
6440 * help-fns.el (describe-function-1): If the function is a derived
6441 major mode, print the parent mode.
6442
6443 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6444 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6445
6446 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * minibuffer.el (completion--capf-wrapper): Check applicability before
6449 returning non-nil for non-exclusive completion data.
6450 * progmodes/etags.el (tags-completion-at-point-function):
6451 * info-look.el (info-lookup-completions-at-point): Mark as
6452 non-exclusive.
6453 (info-complete): Adjust accordingly.
6454
6455 * info-look.el: Convert to lexical-binding and completion-at-point.
6456 (info-lookup-completions-at-point): New function.
6457 (info-complete): Use it and completion-in-region.
6458
6459 2011-05-28 Drew Adams <drew.adams@oracle.com>
6460
6461 * isearch.el: Let M-e start with point at the first mismatched char.
6462 (isearch-fail-pos): New function.
6463 (isearch-edit-string): Use it.
6464
6465 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6466
6467 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6468
6469 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6470
6471 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
6472 traversal functions for avl-trees.
6473 (avl-tree--stack): New struct.
6474 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6475 (avl-tree-enter): Add optional `updatefun' arg.
6476 (avl-tree--do-enter): Add optional `updatefun' arg.
6477 Change return value.
6478 (avl-tree-delete): Add optional `test' and `nilflag' args.
6479 (avl-tree--do-delete): Add `test' and `nilflag' args.
6480 Change return value.
6481 (avl-tree-member): Add optional `nilflag'
6482 (avl-tree-member-p): New function.
6483 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6484 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6485 (avl-tree-stack-empty-p): New functions.
6486
6487 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6488
6489 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6490 avl-tree--del-balance1 and make it work both ways.
6491 (avl-tree--del-balance2): Remove.
6492 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6493 make it work both ways.
6494 (avl-tree--enter-balance2): Remove.
6495 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6496 New macros.
6497 (avl-tree--mapc, avl-tree-map): Add direction argument.
6498
6499 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
6500
6501 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6502
6503 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
6504
6505 * select.el: Support clipboard managers with built-in function
6506 x-clipboard-manager-save, via delete-frame-functions and
6507 kill-emacs-hook.
6508 (xselect-convert-to-targets): Add MULTIPLE target to list.
6509 (xselect-convert-to-save-targets): New function.
6510
6511 2011-05-27 Kenichi Handa <handa@m17n.org>
6512
6513 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6514 let-binding rfc2047-encode-encoded-words to nil.
6515
6516 2011-05-27 Glenn Morris <rgm@gnu.org>
6517
6518 * mail/emacsbug.el: Don't require url-util.
6519
6520 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
6521
6522 * files.el (set-auto-mode):
6523 Also respect mode: entries at the end of the file. (Bug#8586)
6524
6525 2011-05-26 Glenn Morris <rgm@gnu.org>
6526
6527 * files.el (hack-local-variables-prop-line, hack-local-variables):
6528 Downcase mode names, as seems to be traditional.
6529 (hack-local-variables, hack-local-variables-apply): Doc fixes.
6530
6531 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6532 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
6533
6534 2011-05-25 Julien Danjou <julien@danjou.info>
6535
6536 * textmodes/rst.el (rst-define-level-faces): Do not define face
6537 symbol if it is already defined.
6538
6539 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6540
6541 * play/5x5.el (5x5-new-game, 5x5-randomize):
6542 Reset 5x5-solver-output to nil when a new grid is cast.
6543 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6544 these debugging traces, as defmacro breaks the compiled code.
6545
6546 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6547
6548 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6549
6550 2011-05-24 Leo Liu <sdl.web@gmail.com>
6551
6552 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6553 (vc-bzr-sha1): Adapt.
6554
6555 * sha1.el: Remove. Function `sha1' is now builtin.
6556
6557 * bindings.el: Provide sha1 feature.
6558
6559 2011-05-24 Kenichi Handa <handa@m17n.org>
6560
6561 * mail/sendmail.el: Require `rfc2047'.
6562 (mail-insert-from-field): Do not perform RFC2047 encoding.
6563 (mail-encode-header): New function.
6564 (sendmail-send-it): Set buffer-file-coding-system of the work
6565 buffer to the return value of select-message-coding-system.
6566 Call mail-encode-header.
6567
6568 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6569
6570 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
6571
6572 * mail/supercite.el (sc-default-cite-frame):
6573 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
6574
6575 2011-05-24 Glenn Morris <rgm@gnu.org>
6576
6577 * progmodes/python.el (brm-menu): Declare.
6578
6579 * emulation/viper.el (viper-set-hooks): Declare.
6580
6581 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6582 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6583 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6584 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6585 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6586 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6587
6588 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6589
6590 Add an :exit-function for completion-at-point.
6591
6592 * minibuffer.el (completion--done): New fun.
6593 (completion--do-completion): Use it. New arg `expect-exact'.
6594 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6595 since completion--do-completion does it for us now.
6596 (minibuffer-force-complete): Use completion--done and
6597 completion--replace. Handle sole-completion case with more care.
6598 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6599 (completion-extra-properties): New var.
6600 (completion-annotate-function): Make obsolete.
6601 (minibuffer-completion-help): Adjust accordingly.
6602 Use completion-list-insert-choice-function.
6603 (completion-at-point, completion-help-at-point):
6604 Bind completion-extra-properties.
6605 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6606 * simple.el (completion-list-insert-choice-function): New var.
6607 (completion-setup-function): Preserve it.
6608 (choose-completion): Pay attention to it, shuffle the code a bit.
6609 (choose-completion-string): New arg `insert-function'.
6610
6611 * textmodes/bibtex.el: Convert to lexical binding.
6612 (bibtex-mode-map): Use completion-at-point.
6613 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6614 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6615 (bibtex-complete): Define as obsolete alias.
6616 (bibtex-complete-internal): Remove.
6617 (bibtex-format-entry): Remove unused sub-group in regexp.
6618 * shell.el (shell--command-completion-data)
6619 (shell-environment-variable-completion):
6620 * pcomplete.el (pcomplete-completions-at-point):
6621 * comint.el (comint--complete-file-name-data): Use :exit-function
6622 instead of completion-table-with-terminator so it also works for
6623 choose-completion.
6624
6625 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6628
6629 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6630 (bug#8710).
6631
6632 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6633
6634 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6635
6636 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6637 customization variable and implement: If non-nil, auto-fill will
6638 be inhibited while on topic's header line.
6639
6640 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6641
6642 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
6643 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
6644 always have a solution in grid size = 5 cases.
6645 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6646 (5x5-solver-output, 5x5-log-buffer): New vars.
6647 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6648 Make these variables buffer local to achieve 5x5 multi-session-ness.
6649 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6650 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6651 (5x5-solve-suggest): New funs.
6652 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6653 randomize a grid so that we ensure that there is always a solution.
6654 (5x5-make-random-grid): Allow other movement than flipping.
6655
6656 2011-05-23 Kevin Ryde <user42@zip.com.au>
6657
6658 * emacs-lisp/advice.el (ad-read-advised-function):
6659 Use `function-called-at-point' as the default default, if it has
6660 advice and passes PREDICATE.
6661
6662 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6663
6664 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6665 byte-compile-lambda if it's actually a lambda.
6666
6667 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6668 Fix function quoting. Use backquote better.
6669
6670 2011-05-22 Yuanle Song <sylecn@gmail.com>
6671
6672 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6673 matching (Bug#8516).
6674
6675 2011-01-22 Jari Aalto <jari.aalto@cante.net>
6676
6677 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6678 different face (Bug#8178).
6679
6680 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
6681
6682 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6683 defface (Bug#8144).
6684
6685 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6688 funcall as well (bug#8712). Warn when performing those conversions.
6689 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6690
6691 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6692
6693 2011-05-22 Glenn Morris <rgm@gnu.org>
6694
6695 * files.el (hack-local-variables-prop-line): Small simplifications.
6696 (hack-local-variables, hack-local-variables-prop-line):
6697 If MODE-ONLY, return the mode, rather than just `t'.
6698
6699 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6702
6703 2011-05-21 Glenn Morris <rgm@gnu.org>
6704
6705 * files.el (hack-local-variables-prop-line, hack-local-variables):
6706 If only interested in the mode, don't bother doing the other stuff.
6707
6708 * image-mode.el (image-after-revert-hook):
6709 Redraw all frames on which the image is visible. (Bug#8567)
6710
6711 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6712
6713 * wid-edit.el (widget-checklist-match-inline):
6714 Fix 2011-04-19 change. (Bug#8649)
6715
6716 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6717
6718 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6719 Also allow singlespace after single-letter capitals followed by a dot.
6720
6721 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6722 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6723
6724 2011-05-20 Nix <nix@esperi.org.uk>
6725
6726 * files.el (basic-save-buffer-2):
6727 Fix handling of break-hardlink-on-save with non-existent files.
6728
6729 2011-05-19 Deniz Dogan <deniz@dogan.se>
6730
6731 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
6732 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
6733
6734 2011-05-19 Glenn Morris <rgm@gnu.org>
6735
6736 * progmodes/f90.el (f90-type-def-re):
6737 Handle "type, bind(c)". (Bug#8691)
6738
6739 * emacs-lisp/autoload.el (batch-update-autoloads):
6740 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6741
6742 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
6743
6744 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6745 property for the correct connection in case of multihops.
6746
6747 2011-05-18 Glenn Morris <rgm@gnu.org>
6748
6749 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
6750 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6751
6752 Rationalize calendar handling of day and month abbrev-arrays.
6753 * calendar/calendar.el (calendar-customized-p): New function.
6754 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6755 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6756 Add :set function.
6757 (calendar-abbrev-length, calendar-day-abbrev-array)
6758 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6759 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6760 Elements may no longer be nil.
6761 (calendar-day-name, calendar-month-name):
6762 Update for changed nature of abbrev arrays.
6763 * calendar/diary-lib.el (diary-name-pattern):
6764 Update for changed nature of abbrev arrays.
6765 (diary-mark-entries-1): Update calendar-make-alist calls.
6766 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6767 * calendar/cal-html.el (cal-html-day-abbrev-array):
6768 Simply inherit from calendar-day-abbrev-array.
6769
6770 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * progmodes/grep.el (grep-mode): Disable default
6773 compilation-directory-matcher setting (bug#8684).
6774
6775 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
6776
6777 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6778 instead of "head" and "tail". There were problems with SunOS 5.9,
6779 and it performs better.
6780
6781 2011-05-17 Glenn Morris <rgm@gnu.org>
6782
6783 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6784
6785 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6786 Replace obsolete function.
6787
6788 * shell.el (pcomplete-parse-arguments-function): Declare.
6789
6790 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6791 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6792 (appt-check): Doc fixes.
6793 (appt-disp-window-function, appt-delete-window-function):
6794 Remove needless special case in custom :type.
6795 (appt-display-count): Default to 0, not nil.
6796 (appt-check): Reset appt-display-count to 0, not nil.
6797
6798 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
6799
6800 * progmodes/python.el (python-font-lock-keywords):
6801 Add the Python 3.X keyword "nonlocal" (bug#8639).
6802
6803 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6806
6807 2011-05-16 Kevin Ryde <user42@zip.com.au>
6808
6809 * info-look.el (makefile-automake-mode): New setups, looking in
6810 automake manual, then makefile-mode.
6811 (makefile-mode): Remove automake manual, have it just in
6812 makefile-automake-mode since there's various things different or
6813 not relevant to plain make.
6814 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6815 believe a hypothetical automake-mode would go to makefile-mode,
6816 not the other way around.
6817
6818 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
6819
6820 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6821 hunk-end tags (Bug#8672).
6822
6823 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6824 vc-annotate-show-diff-revision-at-line (Bug#8671).
6825
6826 2011-05-14 Glenn Morris <rgm@gnu.org>
6827
6828 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6829 in the middle of an existing one with multiple authors. (Bug#8645)
6830 (change-log-font-lock-keywords): Also handle multiple author lines
6831 with leading tabs. (Bug#8644)
6832
6833 * calendar/appt.el (appt-check): Rename some local variables.
6834 Some simplification/reordering.
6835
6836 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6837 (feedmail-sendmail-f-doesnt-sell-me-out)
6838 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6839 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6840 (feedmail-queue-runner-message-sender): Set :version.
6841 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6842 (bbdb-dwim-net-address, vm-mail): Declare.
6843 (feedmail-binmail-gnulinuxish-template):
6844 Rename from feedmail-binmail-linuxish-template.
6845 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6846 Use insert-buffer-substring.
6847
6848 2011-05-14 Bill Carpenter <bill@carpenter.org>
6849
6850 * mail/feedmail.el (feedmail-patch-level): Increase.
6851 (feedmail-debug): New custom group.
6852 (feedmail-confirm-outgoing-timeout)
6853 (feedmail-sendmail-f-doesnt-sell-me-out)
6854 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6855 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6856 (feedmail-sender-line, feedmail-from-line)
6857 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
6858 (feedmail-spray-this-address)
6859 (feedmail-spray-address-fiddle-plex-list)
6860 (feedmail-queue-use-send-time-for-date)
6861 (feedmail-queue-use-send-time-for-message-id)
6862 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6863 (feedmail-buffer-eating-function):
6864 Doc fixes.
6865 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6866 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6867 (feedmail-message-action-scroll-down): New functions.
6868 (feedmail-queue-directory, feedmail-queue-draft-directory):
6869 Use expand-file-name.
6870 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6871 Remove C-v help entry.
6872 (feedmail-queue-buffer-file-name): New variable.
6873 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6874 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6875 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6876 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6877 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6878 (feedmail-message-action-toggle-spray)
6879 (feedmail-run-the-queue-no-prompts)
6880 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6881 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6882 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6883 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6884 (feedmail-envelope-deducer, feedmail-fiddle-from)
6885 (feedmail-fiddle-sender, feedmail-default-date-generator)
6886 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6887 (feedmail-fiddle-spray-address)
6888 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6889 (feedmail-fiddle-list-of-fiddle-plexes)
6890 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6891 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6892 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6893 Change default. Doc fix.
6894 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6895 (feedmail-binmail-linuxish-template): New constant.
6896 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6897 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6898 (feedmail-send-it): Add debug call.
6899 Use feedmail-queue-buffer-file-name, and
6900 feedmail-send-it-immediately-wrapper.
6901 (feedmail-message-action-send): Add debug call.
6902 Use feedmail-send-it-immediately-wrapper.
6903 (feedmail-queue-express-to-queue): Add debug call.
6904 Run feedmail-queue-express-hook.
6905 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6906 (feedmail-message-action-help-blat):
6907 Rename from feedmail-queue-send-edit-prompt-help-first.
6908 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6909 Check line-endings. Handle errors better.
6910 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6911 Doc fix. Add debug call.
6912 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6913 Use feedmail-queue-send-edit-prompt-inner.
6914 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6915 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6916 from feedmail-queue-send-edit-prompt.
6917 (feedmail-queue-send-edit-prompt-help)
6918 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6919 (feedmail-tidy-up-slug): Add debug call.
6920 Respect feedmail-queue-slug-suspect-regexp.
6921 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6922 (feedmail-dump-message-to-queue): Add debug call.
6923 Expand queue-directory.
6924 (feedmail-dump-message-to-queue): Change message slightly.
6925 Use feedmail-say-chatter.
6926 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6927 (feedmail-send-it-immediately-wrapper): New function.
6928 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6929 Insert empty string rather than newline. Handle full-frame case.
6930 Use catch/throw. Use feedmail-say-chatter.
6931 (feedmail-fiddle-from): Try mail-host-address.
6932 (feedmail-default-message-id-generator): Doc fix.
6933 Bind system-time-locale. Handle missing end.
6934 (feedmail-fiddle-x-mailer): Add debug call.
6935 Handle feedmail-x-mailer-line being nil.
6936 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6937 Add debug call. Use buffer-substring-no-properties.
6938 (feedmail-say-debug, feedmail-say-chatter): New functions.
6939 (feedmail-find-eoh): Give an explicit error.
6940
6941 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
6942
6943 * net/newst-treeview.el (newsticker-treeview-face): Change default
6944 family from helvetica to sans.
6945 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
6946 etc/images/newsticker.
6947
6948 * net/newst-reader.el (newsticker-feed-face): Change default
6949 family from helvetica to sans.
6950
6951 * net/newst-plainview.el (newsticker-new-item-face)
6952 (newsticker-old-item-face, newsticker-immortal-item-face)
6953 (newsticker-obsolete-item-face, newsticker-date-face)
6954 (newsticker-statistics-face): Change default family from
6955 helvetica to sans.
6956 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
6957 etc/images/newsticker.
6958
6959 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6960 (newsticker--process-auto-mark-filter-match): : Tell user about
6961 auto-marking.
6962
6963 2011-05-13 Didier Verna <didier@xemacs.org>
6964
6965 Common Lisp indentation improvements on defmethod and lambda-lists.
6966 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6967 TODO entries.
6968 (lisp-lambda-list-keyword-parameter-indentation)
6969 (lisp-lambda-list-keyword-parameter-alignment)
6970 (lisp-lambda-list-keyword-alignment): New customizable user options.
6971 (lisp-indent-defun-method): Improve docstring.
6972 (extended-loop-p): Fix comment.
6973 (lisp-indent-lambda-list-keywords-regexp): New variable.
6974 (lisp-indent-lambda-list): New function.
6975 (lisp-indent-259): Use it.
6976 (lisp-indent-defmethod): Support for more than one
6977 method qualifier and properly indent methods lambda-lists.
6978 (defgeneric): Provide a missing common-lisp-indent-function property.
6979
6980 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6983 bounds for the empty string (bug#8667).
6984
6985 2011-05-13 Glenn Morris <rgm@gnu.org>
6986
6987 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6988
6989 * mail/sendmail.el (sendmail-program): Try executable-find first.
6990 (sendmail-send-it): `sendmail-program' cannot be unbound.
6991
6992 * calendar/appt.el (appt-make-list): Simplify.
6993 (appt-time-msg-list): Doc fix.
6994 (appt-check): Change mode-line message at the time of the appointment.
6995
6996 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6997
6998 * progmodes/ld-script.el (ld-script-keywords)
6999 (ld-script-builtins): Update keywords list.
7000
7001 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7002
7003 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7004
7005 * shell.el (shell-completion-vars): New function.
7006 (shell-mode):
7007 * simple.el (read-shell-command): Use it.
7008 (blink-matching-open): No need for " [...]" in minibuffer-message.
7009
7010 2011-05-12 Glenn Morris <rgm@gnu.org>
7011
7012 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7013 (appt-check): Simplify.
7014
7015 2011-05-12 Eli Zaretskii <eliz@gnu.org>
7016
7017 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
7018 literal "/dev/null".
7019
7020 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7021
7022 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7023 Fix typo.
7024
7025 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
7026
7027 * progmodes/which-func.el (which-function):
7028 Use add-log-current-defun instead of add-log-current-defun-function,
7029 which might not be defined (Bug#8260).
7030
7031 2011-05-12 Glenn Morris <rgm@gnu.org>
7032
7033 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7034 Let byte-compile-initial-macro-environment always take precedence.
7035
7036 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7037
7038 * net/rcirc.el: Add support for SSL/TLS connections.
7039 (rcirc-server-alist): New field `encryption'.
7040 (rcirc): Check `encryption' settings.
7041 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7042 Merge make-local-variable into `set'.
7043 (rcirc--connection-open-p): New function.
7044 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7045 the process is not a network process (e.g. running gnutls-cli).
7046 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7047 Make rcirc-(en|de)code-coding-system local here.
7048 (rcirc-mode): Merge make-local-variable into `set'.
7049 (rcirc-parent-buffer): Make permanent buffer-local.
7050 (rcirc-multiline-minor-mode): Don't do it here.
7051 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7052 there's no server buffer.
7053
7054 2011-05-11 Glenn Morris <rgm@gnu.org>
7055
7056 * newcomment.el (comment-kill): Prefix "unused" local.
7057
7058 * term/w32console.el (get-screen-color): Declare.
7059
7060 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7061 Handle symbol elements of byte-compile-initial-macro-environment.
7062
7063 2011-05-10 Leo Liu <sdl.web@gmail.com>
7064
7065 * bookmark.el (bookmark-bmenu-mode-map):
7066 Bind bookmark-bmenu-search to `/'.
7067
7068 * mail/footnote.el: Convert to utf-8 encoding.
7069 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7070 (Footnote-unicode): New function.
7071 (footnote-style-alist): Add unicode style to the list.
7072 (footnote-style): Doc fix.
7073
7074 2011-05-10 Jim Meyering <meyering@redhat.com>
7075
7076 Fix doubled-word typos.
7077 * international/quail.el (quail-insert-kbd-layout): and and -> and
7078 * kermit.el: and and -> and
7079 * net/ldap.el (ldap-search-internal): to to -> to
7080 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7081 * progmodes/js.el (js-mode): and and -> and
7082 * textmodes/artist.el (artist-move-to-xy): at at -> at
7083 (artist-draw-region-trim-line-endings): if if -> if
7084 And Safetyc -> Safety.
7085 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7086
7087 2011-05-10 Glenn Morris <rgm@gnu.org>
7088 Stefan Monnier <monnier@iro.umontreal.ca>
7089
7090 * files.el (hack-one-local-variable-eval-safep):
7091 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7092
7093 2011-05-10 Glenn Morris <rgm@gnu.org>
7094
7095 * calendar/diary-lib.el (diary-list-entries-hook)
7096 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7097 (diary-nongregorian-marking-hook, diary-list-entries)
7098 (diary-include-other-diary-files, diary-mark-entries)
7099 (diary-mark-included-diary-files): Doc fixes.
7100
7101 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
7102
7103 * misc.el: Require tabulated-list.el during compilation.
7104
7105 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
7106
7107 * progmodes/compile.el (compilation-start):
7108 Run compilation-filter-hook for the async case too.
7109 (compilation-filter-hook): Doc fix.
7110
7111 2011-05-09 Deniz Dogan <deniz@dogan.se>
7112
7113 * wdired.el: Remove outdated installation comment. Fix usage
7114 comment.
7115
7116 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
7117
7118 * misc.el: Implement new command `list-dynamic-libraries'.
7119 (list-dynamic-libraries--loaded-only-p): New variable.
7120 (list-dynamic-libraries--refresh): New function.
7121 (list-dynamic-libraries): New command.
7122
7123 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
7124
7125 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7126 Fix the ant regexp to handle end-line and end-column info from jikes.
7127 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7128 higher priority to avoid clobbering by gnu.
7129
7130 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
7131
7132 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7133 if the face has existing theme settings (Bug#8454).
7134
7135 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7136
7137 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7138 Only match variables declared via `my' or `our' (Bug#8261).
7139
7140 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7141 special file names `.' and `..' (Bug#8259).
7142
7143 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
7144
7145 * progmodes/grep.el (grep-mode-font-lock-keywords):
7146 Remove buffer-changing entries.
7147 (grep-filter): New function.
7148 (grep-mode): Add it to compilation-filter-hook.
7149
7150 * progmodes/compile.el (compilation-filter-hook)
7151 (compilation-filter-start): New defvars.
7152 (compilation-filter): Call compilation-filter-hook prior to
7153 updating the process mark.
7154
7155 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7156
7157 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7158
7159 2011-05-07 Eli Zaretskii <eliz@gnu.org>
7160
7161 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7162 mailclient-send-it even if window-system is nil. (Bug#8595)
7163
7164 * term/w32console.el (terminal-init-w32console):
7165 Call get-screen-color and use its output to set the frame
7166 background-mode. (Bug#8597)
7167
7168 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7169
7170 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7171 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7172 New functions.
7173 (defgeneric, eieio--defmethod): Use them.
7174 (eieio-defgeneric): Remove.
7175 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7176
7177 2011-05-07 Glenn Morris <rgm@gnu.org>
7178
7179 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7180 Use let rather than let*.
7181 (timeclock-find-discrep): Remove unused local.
7182
7183 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7184
7185 * calendar/appt.el (appt-time-msg-list): Doc fix.
7186
7187 2011-05-06 Noah Friedman <friedman@splode.com>
7188
7189 * apropos.el (apropos-print-doc): Only use
7190 emacs-lisp-docstring-fill-column when it is bound to an integer,
7191 per that variable's documentation.
7192
7193 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7194
7195 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
7196 and warnings are not silently discarded (e.g. use -d instead of -P).
7197
7198 2011-05-06 Glenn Morris <rgm@gnu.org>
7199
7200 * calendar/appt.el (appt-message-warning-time): Doc fix.
7201 (appt-warning-time-regexp): New option.
7202 (appt-make-list): Respect appt-message-warning-time.
7203
7204 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7205 New options.
7206 (diary-add-to-list): Strip comments from the displayed string.
7207 (diary-mode): Set comment-start and comment-end.
7208
7209 * vc/diff-mode.el (smerge-refine-subst): Declare.
7210 (diff-refine-hunk): Don't require smerge-mode when compiling.
7211
7212 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
7213
7214 * simple.el (list-processes): Return nil as the docstring says.
7215
7216 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
7217
7218 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7219 to "".
7220 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7221 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7222 determining of binary transfer. (Bug#7383)
7223
7224 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
7225
7226 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7227 Fix port computation bug. (Bug#8618)
7228
7229 2011-05-05 Glenn Morris <rgm@gnu.org>
7230
7231 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7232
7233 * simple.el (shell-dynamic-complete-functions)
7234 (comint-dynamic-complete-functions): Declare.
7235
7236 * net/network-stream.el (gnutls-negotiate):
7237 * simple.el (tabulated-list-print): Fix declarations.
7238
7239 * progmodes/gud.el (syntax-symbol, syntax-point):
7240 Remove unnecessary and incorrect declarations.
7241
7242 * emacs-lisp/check-declare.el (check-declare-scan):
7243 Handle byte-compile-initial-macro-environment in bytecomp.el
7244
7245 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 Fix earlier half-done eieio-defmethod change (bug#8338).
7248 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7249 Streamline and change calling convention.
7250 (defmethod): Adjust accordingly and simplify.
7251 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7252 new eieio--defmethod.
7253 (slot-boundp): Minor CSE simplification.
7254
7255 2011-05-05 Milan Zamazal <pdm@zamazal.org>
7256
7257 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7258 (glasses-make-readable): Use glasses-separate-capital-groups.
7259
7260 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
7261
7262 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7263 (warning-series): Doc fix.
7264 (display-warning): Don't try to create the buffer if we just found it.
7265
7266 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
7267
7268 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7269 (autoload-find-generated-file): New function.
7270 (generate-file-autoloads): Bind generated-autoload-file to
7271 buffer-file-name.
7272 (update-file-autoloads, update-directory-autoloads):
7273 Use autoload-find-generated-file. If called interactively, prompt for
7274 output file (Bug#7989).
7275 (batch-update-autoloads): Doc fix.
7276
7277 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
7278
7279 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7280
7281 2011-05-04 Glenn Morris <rgm@gnu.org>
7282
7283 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7284 function, so it follows changes in calendar-date-style.
7285 (diary-fancy-date-matcher): New function.
7286 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7287 (diary-fancy-font-lock-fontify-region-function):
7288 Use diary-fancy-date-pattern as a function.
7289
7290 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7291 non-numbers for `year' etc pseudo-variables. (Bug#8583)
7292
7293 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
7294
7295 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7296 instead of positional arguments. Allow :keylist and :crlfiles
7297 arguments.
7298 (open-gnutls-stream): Call it.
7299
7300 * net/network-stream.el (network-stream-open-starttls): Adjust to
7301 call `gnutls-negotiate' with :process and :hostname arguments.
7302
7303 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7304
7305 * minibuffer.el (completion--message): New function.
7306 (completion--do-completion, minibuffer-complete)
7307 (minibuffer-force-complete, minibuffer-complete-word): Use it.
7308 (completion--do-completion): Don't ignore completion-auto-help when in
7309 icomplete-mode.
7310
7311 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
7312 internal encoding (e.g. tibetan zero is not whitespace).
7313 (global-whitespace-mode): Prefer save-current-buffer.
7314 (whitespace-trailing-regexp): Remove useless save-match-data.
7315 (whitespace-empty-at-bob-regexp): Minor simplification.
7316
7317 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
7318
7319 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
7320
7321 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7322
7323 * textmodes/ispell.el (ispell-add-per-file-word-list):
7324 Use `concat' to create string for insertion.
7325
7326 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7327
7328 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
7329 Avoid open-line which runs post-self-insert-hook.
7330 (bibtex-fill-entry): Remove unused `end' var.
7331
7332 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
7333
7334 * textmodes/ispell.el (ispell-add-per-file-word-list):
7335 Protect against `nil' value of `comment-start' (Bug#8579).
7336
7337 2011-05-03 Leo Liu <sdl.web@gmail.com>
7338
7339 * isearch.el (isearch-yank-pop): New command.
7340 (isearch-mode-map): Bind it to `M-y'.
7341 (isearch-forward): Mention it.
7342
7343 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7344
7345 * simple.el (minibuffer-complete-shell-command): Remove.
7346 (minibuffer-local-shell-command-map): Use completion-at-point.
7347 (read-shell-command): Setup completion vars here instead.
7348 (read-expression-map): Bind TAB to symbol completion.
7349
7350 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
7351 error directly rather via storing it into `results'.
7352
7353 2011-05-02 Leo Liu <sdl.web@gmail.com>
7354
7355 * vc/diff.el: Fix description.
7356
7357 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7358
7359 * server.el (server-eval-at): New function.
7360
7361 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7362
7363 * net/network-stream.el (open-network-stream): Take a :nowait
7364 parameter and pass it on to `make-network-process'.
7365 (network-stream-open-plain): Ditto.
7366
7367 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
7368
7369 * faces.el (face-spec-set-match-display): Don't match toolkit
7370 options on terminal frames.
7371
7372 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7373
7374 * progmodes/pascal.el: Use lexical binding.
7375 (pascal-mode-map): Remove author preferences.
7376
7377 * pcomplete.el (pcomplete-std-complete): Don't abuse
7378 completion-at-point.
7379
7380 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
7381
7382 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7383 removing code that has been dead since 1991 or so.
7384
7385 * startup.el (command-line): When warning about "_emacs", use a
7386 delayed warning to allow the user to filter it out.
7387
7388 2011-04-28 Deniz Dogan <deniz@dogan.se>
7389
7390 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7391 user has not joined.
7392
7393 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7394
7395 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7396 aren't any completions at point.
7397
7398 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
7399
7400 * subr.el (display-delayed-warnings): New function.
7401 (delayed-warnings-hook): New variable.
7402
7403 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7404
7405 * minibuffer.el (completion-at-point, completion-help-at-point):
7406 Don't presume that a given completion-at-point-function will always
7407 use the same calling convention.
7408
7409 * pcomplete.el (pcomplete-completions-at-point):
7410 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
7411 pcomplete-seen is non-nil.
7412 (pcomplete-comint-setup): Also recognize the new comint/shell
7413 completion functions.
7414 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7415 pcomplete-seen is non-nil.
7416
7417 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
7418
7419 * calendar/icalendar.el (diary-lib): Add require statement.
7420 (icalendar--create-uid): Read out a uid from a text-property on
7421 the first character in the entry. This allows for code to add its
7422 own uid to the entry.
7423 (icalendar--convert-float-to-ical): Add export of
7424 `diary-float'-entries save for those with the optional DAY
7425 argument.
7426
7427 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
7428
7429 * subr.el (shell-quote-argument): Use alternate escaping strategy
7430 when we spot a variable reference in a string.
7431
7432 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7433
7434 * cus-start.el (all): Define customization for debug-on-event.
7435
7436 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7437
7438 * subr.el (shell-quote-argument): Escape correctly under Windows.
7439
7440 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7441
7442 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7443
7444 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
7445
7446 * net/tramp.el (tramp-process-actions): Add POS argument.
7447 Delete region between POS and (pos).
7448
7449 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7450 Use `nil' position in `tramp-process-actions' call.
7451 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7452
7453 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7454 position in `tramp-process-actions' call.
7455
7456 * net/trampver.el: Update release number.
7457
7458 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7459
7460 * custom.el (defcustom): Obey lexical-binding.
7461
7462 Fix octave-inf completion problems reported by Alexander Klimov.
7463 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7464 Inherit from octave-mode-syntax-table.
7465 (inferior-octave-mode): Set info-lookup-mode.
7466 (inferior-octave-completion-at-point): New function.
7467 (inferior-octave-complete): Use it and completion-in-region.
7468 (inferior-octave-dynamic-complete-functions): Use it as well, and use
7469 comint-filename-completion.
7470 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7471 symbol elements which shouldn't be word elements.
7472 (octave-font-lock-keywords, octave-beginning-of-defun)
7473 (octave-function-header-regexp): Adjust regexps accordingly.
7474 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7475
7476 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
7477
7478 * net/gnutls.el (gnutls-errorp): Declare before first use.
7479
7480 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7481
7482 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7483 verify-error, and verify-hostname-error parameters. Check whether
7484 default trustfile exists before going to use it. Add missing
7485 argument to gnutls-message-maybe call. Return return value.
7486 Reported by Claudio Bley <claudio.bley@gmail.com>.
7487 (open-gnutls-stream): Add usage example.
7488
7489 * net/network-stream.el (network-stream-open-starttls): Give host
7490 parameter to `gnutls-negotiate'.
7491 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
7492 * subr.el (shell-quote-argument): Escape correctly under Windows.
7493
7494 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
7495
7496 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7497 Use correct match group (bug#8438).
7498
7499 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
7500
7501 * emacs-lisp/package.el (package-built-in-p): Fix typo.
7502 (package-menu--generate): New arg specifying packages to show.
7503 (package-menu-refresh, package-menu-execute, list-packages):
7504 Callers changed.
7505 (package-show-package-list): New function, replacing deleted
7506 package--list-packages (renamed because it is non-internal).
7507
7508 * finder.el (finder-list-matches): Use package-show-package-list
7509 instead of deleted package--list-packages.
7510
7511 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7512 Based on a previous implementation by Juanma Barranquero (Bug#8366).
7513 (vc-annotate-mode-map): Bind it to RET.
7514
7515 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7516
7517 * progmodes/etags.el (next-file): Don't use set-buffer to change
7518 buffers (Bug#8478).
7519
7520 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
7521
7522 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7523
7524 * apropos.el (apropos-label-face): Avoid variable-pitch face.
7525 (apropos-accumulator): Doc fix.
7526 (apropos-function, apropos-macro, apropos-command)
7527 (apropos-variable, apropos-face, apropos-group, apropos-widget)
7528 (apropos-plist): Add face property.
7529 (apropos-symbols-internal): Fix indentation.
7530 (apropos-print): Simplify help, and recognize apropos-multi-type.
7531 (apropos-print-doc): Use button-type-get to extract the button's
7532 face property. Fill docstring (Bug#8352).
7533
7534 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
7535
7536 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7537
7538 * play/mpuz.el (mpuz-silent): Doc fix.
7539 (mpuz-mode-map): Use mapc.
7540 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7541 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7542 Fix typos in docstrings.
7543
7544 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7545 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7546
7547 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7548
7549 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
7550
7551 * minibuffer.el (completion--do-completion): Avoid the "Next char
7552 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7553
7554 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7555 mouse-2 into unread-command-events, it is interpreted correctly.
7556
7557 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
7558 (image-toggle-display): Doc fix.
7559
7560 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
7561
7562 * textmodes/page.el (what-page): Use line-number-at-pos to
7563 calculate line number (Bug#6825).
7564
7565 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
7566
7567 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7568 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7569 Pass argument NO-DEFAULT to `find-tag-interactive'.
7570
7571 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
7572
7573 Lexical-binding cleanup.
7574
7575 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7576 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7577 * progmodes/ada-prj.el (ada-prj-initialize-values)
7578 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7579 (ada-prj-show-value):
7580 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7581 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7582 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7583 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7584 * progmodes/bug-reference.el (bug-reference-push-button):
7585 * progmodes/fortran.el (fortran-line-length):
7586 * progmodes/glasses.el (glasses-change):
7587 * progmodes/octave-mod.el (octave-fill-paragraph):
7588 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7589 (python-pdbtrack-grub-for-buffer, python-sentinel):
7590 * progmodes/sql.el (sql-save-connection):
7591 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7592 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7593 Mark unused parameters.
7594
7595 * progmodes/compile.el (compilation--flush-directory-cache)
7596 (compilation--flush-parse, compile-internal): Mark unused parameters.
7597 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7598 (compilation-next-error-function): Remove unused variable `timestamp'.
7599
7600 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7601 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7602
7603 * progmodes/dcl-mode.el (dcl-end-of-command):
7604 Remove unused variable `start'.
7605 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7606 (dcl-option-value-basic, dcl-option-value-offset)
7607 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7608 Mark unused parameters.
7609 (dcl-save-local-variable): Remove unused variable `val'.
7610 (mode): Declare.
7611
7612 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7613 Mark unused parameters.
7614 (delphi-ignore-changes): Move before first use.
7615 (delphi-charset-token-at): Remove unused variable `start'.
7616 (delphi-else-start): Remove unused variable `if-count'.
7617 (delphi-comment-block-start, delphi-comment-block-end):
7618 Remove unused variable `kind'.
7619 (delphi-indent-line): Remove unused variable `new-point'.
7620
7621 * progmodes/ebrowse.el (ebrowse-files-list)
7622 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7623 Mark unused parameters. Don't quote `lambda'.
7624 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7625 Don't quote `lambda'.
7626 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7627 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7628 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7629 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7630 Use `ignore-errors'.
7631 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7632 (ebrowse-view/find-file-and-search-pattern)
7633 (ebrowse-view/find-member-declaration/definition):
7634 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7635 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7636 Rename parameter PREFIX-ARG to PREFIX.
7637 (ebrowse-tags-read-name): Remove unused variables `start' and
7638 `member-info'.
7639 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7640 to `tags-file'.
7641
7642 * progmodes/etags.el (local-find-tag-hook): Declare.
7643 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7644 Mark unused parameters.
7645
7646 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7647 (executable-interpret): Mark unused parameter.
7648
7649 * progmodes/flymake.el (flymake-process-sentinel)
7650 (flymake-after-change-function)
7651 (flymake-create-temp-with-folder-structure)
7652 (flymake-get-include-dirs-dot): Mark unused parameters.
7653 (flymake-safe-delete-directory): Remove unused variable `err'.
7654
7655 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7656 (speedbar-timer-fn, speedbar-line-text)
7657 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7658 (speedbar-center-buffer-smartly): Declare functions.
7659 (gdb-find-watch-expression): Remove unused variable `array'.
7660 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7661 (gdb-starting): Mark unused parameters.
7662 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7663 (gdb-table-string): Remove unused variable `res'.
7664 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7665 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7666 (gdb-display-buffer): Remove unused variable `cur-size'.
7667
7668 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7669 allow lexical-binding compilation.
7670 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7671 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7672 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7673 Mark unused parameters.
7674 (gud-gdb-marker-filter): Remove unused variable `match'.
7675 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7676 lambda expressions and funcall them, instead of using `fset'.
7677
7678 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7679 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7680
7681 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7682 variable `header-beg'; use `let'.
7683
7684 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7685 `restart', `last-sexp' and `at-do'.
7686
7687 * progmodes/js.el (js--debug): Mark unused parameter.
7688 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7689 (js--splice-into-items): Remove unused variable `item'.
7690 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7691
7692 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7693 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7694 (makefile-complete): Remove unused variable `try'.
7695 (makefile-fill-paragraph, makefile-match-function-end):
7696 Mark unused parameters.
7697
7698 * progmodes/octave-inf.el (inferior-octave-complete):
7699 Remove unused variable `proc'.
7700 (inferior-octave-output-digest): Mark unused parameter.
7701
7702 * progmodes/perl-mode.el (perl-calculate-indent):
7703 Remove unused variable `err'.
7704
7705 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7706 (prolog-indent-line): Mark unused parameters.
7707 (prolog-indent-line): Remove unused variable `beg'.
7708
7709 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7710 (reporter-dont-compact-list): Declare.
7711
7712 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7713 Remove unused variable `char'.
7714 (sh-debug): Mark unused parameter.
7715 (sh-get-indent-info): Remove unused variable `start'.
7716 (sh-calculate-indent): Remove unused variable `var'.
7717
7718 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7719 (simula-electric-keyword): Remove unused variable `null'.
7720 (simula-search-backward, simula-search-forward): Remove unused
7721 variables `begin' and `end'.
7722
7723 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7724 Remove unused variable `pos'.
7725 (vera-electric-tab, vera-comment-uncomment-region):
7726 Mark unused parameters.
7727 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7728
7729 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
7730
7731 * emacs-lisp/package.el (package--builtins, package-alist)
7732 (package-load-descriptor, package-built-in-p, package-activate)
7733 (define-package, package-installed-p)
7734 (package-compute-transaction, package-buffer-info)
7735 (package--push): Doc fix. Distinguish more clearly between
7736 version strings and version lists.
7737
7738 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
7739
7740 Lexical-binding cleanup.
7741
7742 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7743 (5x5-make-mutate-best):
7744 * play/fortune.el (fortune-in-buffer):
7745 * play/gomoku.el (gomoku-init-display):
7746 * play/solitaire.el (solitaire, solitaire-do-check):
7747 * play/tetris.el (tetris-default-update-speed-function):
7748 Mark unused parameters.
7749
7750 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7751 (bubbles--shift): Remove unused variable `char-org'.
7752 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7753 (bubbles--show-images): Remove unused variable `char'.
7754
7755 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7756 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7757 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7758 (decipher-analyze-buffer): Use ?\s.
7759 (decipher-make-checkpoint): Remove unused variable `mapping'.
7760
7761 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7762
7763 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7764 Remove unused variable `result'; use `let'.
7765
7766 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7767 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7768 (gametree-children-shown-p, gametree-compute-reduced-score):
7769 Use `ignore-errors'.
7770
7771 * play/handwrite.el (ps-lpr-switches): Declare.
7772 (handwrite): Remove unused variables `pmin' and `lastp'.
7773
7774 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7775
7776 * play/landmark.el (landmark-init-display)
7777 (landmark-update-naught-weights): Mark unused parameters.
7778 (landmark-y): Remove unused variable `noise'. Simplify.
7779 (landmark-human-plays): Remove unused variable `score'.
7780
7781 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7782 (mpuz-try-proposal): Remove unused variable `game'.
7783
7784 * play/zone.el (life-patterns): Declare.
7785
7786 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
7787
7788 * vc/vc.el (ediff-vc-internal): Declare function.
7789
7790 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * shell.el: Use lexical-binding and std completion UI.
7793 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7794 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7795 comint-preoutput-filter-functions rather than on
7796 comint-output-filter-functions.
7797 (shell-command-completion, shell--command-completion-data)
7798 (shell-filename-completion, shell-environment-variable-completion)
7799 (shell-c-a-p-replace-by-expanded-directory): New functions.
7800 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7801 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7802 (shell-dynamic-complete-environment-variable): Use them.
7803 (shell-dynamic-complete-as-environment-variable)
7804 (shell-dynamic-complete-as-command): Remove.
7805 (shell-match-partial-variable): Match past point.
7806 * comint.el: Clean up use of completion-at-point-functions.
7807 (comint-completion-at-point): New function.
7808 (comint-mode): Use it completion-at-point-functions.
7809 (comint-dynamic-complete): Make it obsolete.
7810 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7811 (comint-c-a-p-replace-by-expanded-history): New function.
7812 (comint-dynamic-complete-functions)
7813 (comint-replace-by-expanded-history): Use it.
7814 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7815 termination strings. Try harder to avoid second try-completion.
7816 (completion-in-region-mode-map): Disable bindings that don't work yet.
7817
7818 * comint.el: Use lexical-binding. Require CL.
7819 (comint-dynamic-complete-functions): Use comint-filename-completion.
7820 (comint-completion-addsuffix): Tweak custom type.
7821 (comint-filename-completion, comint--common-suffix)
7822 (comint--common-quoted-suffix, comint--table-subvert)
7823 (comint--complete-file-name-data): New functions.
7824 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7825 (comint-dynamic-list-filename-completions): Use them.
7826 (comint-dynamic-simple-complete): Make obsolete.
7827
7828 * minibuffer.el (completion-in-region-mode):
7829 Keep completion-in-region-mode--predicate global.
7830 (completion-in-region--postch):
7831 Assume completion-in-region-mode--predicate is not null.
7832
7833 * progmodes/flymake.el (flymake-start-syntax-check-process):
7834 Obey `dir'. Simplify.
7835
7836 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7837 we're in VC after all.
7838
7839 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7840
7841 * vc/vc.el (vc-diff-build-argument-list-internal)
7842 (vc-version-ediff, vc-ediff): New commands.
7843 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7844
7845 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7846
7847 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7848 add sanity check.
7849
7850 * obsolete/erc-hecomplete.el: Make obsolete.
7851 * obsolete/: Standardize obsolescence info in the header.
7852
7853 2011-04-20 Glenn Morris <rgm@gnu.org>
7854
7855 * calendar/solar.el (solar-horizontal-coordinates):
7856 Use the longitude argument rather than `calendar-longitude'.
7857 (solar-date-next-longitude): Remove unused locals.
7858
7859 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7860
7861 * whitespace.el: New version 13.2.1.
7862
7863 2011-04-20 felix <EmacsWiki> (tiny change)
7864
7865 * whitespace.el (global-whitespace-mode): Keep highlight when
7866 switching between major modes on a file.
7867
7868 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7869
7870 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7871 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7872 multi-line comments as well.
7873
7874 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
7875
7876 Lexical-binding cleanup.
7877
7878 * arc-mode.el (archive-mode-revert):
7879 * cmuscheme.el (scheme-interactively-start-process):
7880 * custom.el (custom-initialize-delay):
7881 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7882 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7883 * emacs-lock.el (emacs-lock-clear-sentinel):
7884 * ezimage.el (defezimage):
7885 * follow.el (follow-avoid-tail-recenter):
7886 * fringe.el (set-fringe-mode-1):
7887 * generic-x.el (bat-generic-mode-compile):
7888 * help-mode.el (help-info-variable, help-do-xref)
7889 (help-mode-revert-buffer):
7890 * help.el (view-emacs-todo):
7891 * iswitchb.el (iswitchb-completion-help):
7892 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7893 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7894 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7895 * locate.el (locate-update):
7896 * longlines.el (longlines-encode-region)
7897 (longlines-after-change-function):
7898 * outline.el (outline-isearch-open-invisible):
7899 * ps-def.el (declare-function, charset-dimension, char-width)
7900 (encode-char):
7901 * ps-mule.el (ps-mule-plot-string):
7902 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7903 (recentf-edit-list-select, recentf-edit-list-validate)
7904 (recentf-open-files-action):
7905 * rect.el (delete-whitespace-rectangle-line)
7906 (rectangle-number-line-callback):
7907 * register.el (window-configuration-to-register)
7908 (frame-configuration-to-register):
7909 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7910 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7911 (xselect-convert-to-targets, xselect-convert-to-delete)
7912 (xselect-convert-to-filename, xselect-convert-to-charpos)
7913 (xselect-convert-to-lineno, xselect-convert-to-colno)
7914 (xselect-convert-to-os, xselect-convert-to-host)
7915 (xselect-convert-to-user, xselect-convert-to-class)
7916 (xselect-convert-to-name, xselect-convert-to-integer)
7917 (xselect-convert-to-atom, xselect-convert-to-identity):
7918 * subr.el (declare, ignore, process-kill-without-query)
7919 (text-clone-maintain):
7920 * terminal.el (te-get-char, te-tic-sentinel):
7921 * tool-bar.el (tool-bar-make-keymap):
7922 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7923 * type-break.el (type-break-mode, type-break-noninteractive-query):
7924 * view.el (View-back-to-mark):
7925 * wid-browse.el (widget-browse-action, widget-browse-widget)
7926 (widget-browse-widgets, widget-browse-sexp):
7927 * widget.el (define-widget-keywords):
7928 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7929 Mark unused parameters.
7930
7931 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7932 (align-areas): Remove unused variable `look'.
7933 (align-region): Remove unused variables `real-end' and `pos-list'.
7934
7935 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7936
7937 * bindings.el (mode-line-modified, mode-line-remote):
7938 Mark unused parameters.
7939 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7940
7941 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7942 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7943
7944 * comint.el (comint-history-isearch-pop-state)
7945 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7946 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7947 (comint-substitute-in-file-name): Doc fix.
7948
7949 * completion.el (cmpl-statistics-block): Mark unused parameter.
7950 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7951 (save-completions-to-file, load-completions-from-file):
7952 Remove unused local variable `e'.
7953
7954 * composite.el (compose-chars): Remove unused variable `len'.
7955 (lgstring-insert-glyph): Remove unused variable `g'.
7956 (compose-glyph-string): Remove unused variables `ascent',
7957 `descent', `lbearing' and `rbearing'.
7958 (compose-glyph-string-relative): Remove unused variables
7959 `lbearing', `rbearing' and `wadjust'.
7960 (compose-gstring-for-graphic): Remove unused variables `header',
7961 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7962 (compose-gstring-for-terminal): Remove unused variables `header'
7963 and `nchars'. Use `let', not `let*'.
7964
7965 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7966 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7967 (Custom-buffer-done, custom-buffer-create-internal)
7968 (custom-browse-visibility-action, custom-browse-group-tag-action)
7969 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7970 (widget-magic-mouse-down-action, custom-toggle-parent)
7971 (custom-add-parent-links, custom-toggle-hide-variable)
7972 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7973 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7974 (custom-face-menu-create, custom-variable-menu-create, get)
7975 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7976 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7977 (customize-apropos): Remove unused variable `tests'.
7978 (custom-group-value-create): Remove unused variable `hidden-p'.
7979 (sort-fold-case): Declare.
7980
7981 * cus-theme.el (custom-reset-standard-faces-list)
7982 (custom-reset-standard-variables-list): Declare.
7983 (customize-create-theme, custom-theme-revert, custom-theme-write)
7984 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7985 Mark unused parameters.
7986
7987 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7988
7989 * delim-col.el (delimit-columns-max): Move defvar before first use.
7990
7991 * descr-text.el (describe-char-categories): Don't quote `lambda'.
7992 (describe-char): Don't quote `lambda'. Mark unused parameter.
7993
7994 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7995 (auto-insert): Declare.
7996 (desktop-restore-file-buffer): Rename desktop-* parameters;
7997 mark unused ones.
7998 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7999 (desktop-buffer): Rename desktop-* parameters.
8000
8001 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8002 (dframe-reposition-frame-xemacs, dframe-help-echo)
8003 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8004 Mark unused parameters.
8005
8006 * dired-aux.el (backup-extract-version-start, overwrite-query)
8007 (overwrite-backup-query, rename-regexp-query)
8008 (rename-non-directory-query): Declare.
8009 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8010 (dired-add-entry): Remove unused variable `orig-file-name'.
8011 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8012 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8013 `dired-copy-preserve-time' directly.
8014 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8015 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8016
8017 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8018 (dired-virtual-revert, dired-make-relative-symlink):
8019 Mark unused parameters.
8020 (manual-program): Declare.
8021 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8022 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8023 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8024
8025 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8026
8027 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8028
8029 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8030 Declare.
8031
8032 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8033
8034 * electric.el (Electric-command-loop): Rename parameter
8035 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8036
8037 * expand.el (expand-in-literal): Remove unused variable `here'.
8038
8039 * facemenu.el (facemenu-add-new-color):
8040 Remove unused variable `docstring'.
8041
8042 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8043 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8044 (face-attr-construct): Mark unused parameter. Doc fix.
8045 (read-color): Remove unused variable `hex-string'.
8046
8047 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8048 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8049 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8050 (display-buffer-other-frame): Remove unused variable `old-window'.
8051 (kill-buffer-hook): Declare.
8052 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8053 Mark unused parameters.
8054 (after-find-file): Pass 1 to `auto-save-mode', not t.
8055
8056 * files-x.el (auto-insert): Declare.
8057 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8058
8059 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
8060 variable `buf'. Mark unused parameter.
8061 (find-lisp-insert-directory): Mark unused parameter.
8062
8063 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8064 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8065 (format-common-tail): Remove, unused.
8066 (format-deannotate-region): Remove unused variable `loc'.
8067 (format-annotate-region): Remove unused variable `p'.
8068 (format-annotate-single-property-change): Remove unused variables
8069 `default' and `tail'.
8070
8071 * forms.el (read-file-filter): Declare.
8072 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8073
8074 * frame.el (frame-creation-function-alist): Mark unused parameter.
8075 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8076
8077 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8078 Remove unused parameters.
8079 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8080 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8081
8082 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8083 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8084 (hfy-prepare-tag-map): Mark unused parameters.
8085 (htmlfontify-buffer): Use `called-interactively-p'.
8086
8087 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8088 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8089 (ibuffer-do-occur): Mark unused parameters.
8090 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8091 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8092
8093 * ibuffer.el: Don't quote `lambda'.
8094 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8095 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8096 Mark unused parameters.
8097
8098 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8099 (ido-completing-read): Mark unused parameters.
8100 (ido-copy-current-word): Mark unused parameters;
8101 remove unused variable `name'.
8102 (ido-sort-merged-list): Remove unused parameter `dirs'.
8103
8104 * ielm.el (ielm-input-sender): Mark unused parameter.
8105 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8106 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8107 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8108 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8109 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8110
8111 * image-dired.el (image-dired-display-thumbs): Remove unused
8112 variables `curr-file' and `count'.
8113 (image-dired-remove-tag): Remove unused variable `start'.
8114 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8115 variable `curr-file'
8116 (image-dired-rotate-original): Remove unused variable `temp-file'.
8117 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8118 Remove unused variable `file'.
8119 (image-dired-gallery-generate): Remove unused variable `curr'.
8120 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8121
8122 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8123
8124 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8125
8126 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8127
8128 * isearch.el (minibuffer-history-symbol): Declare.
8129 (isearch-edit-string): Remove unused variable `err'.
8130 (isearch-message-prefix, isearch-message-suffix):
8131 Mark unused parameters.
8132
8133 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8134
8135 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8136
8137 * makesum.el (double-column): Remove unused variable `cnt'.
8138
8139 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8140 (ido-ignore-item-temp-list): Declare.
8141
8142 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8143 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8144 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8145 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8146 `mouse-col-delta'.
8147
8148 * mouse-sel.el (mouse-extend-internal):
8149 Remove unused variable `orig-window-frame'.
8150
8151 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8152 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8153 Move declarations before first use.
8154 (pcomplete-opt): Mark unused parameters; doc fix.
8155
8156 * proced.el (proced-revert): Mark unused parameter.
8157 (proced-send-signal): Remove unused variable `err'.
8158
8159 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8160 Rename parameter PREFIX-ARG to ARG.
8161 (ps-basic-plot-string, ps-basic-plot-whitespace):
8162 Mark unused parameters.
8163
8164 * replace.el (replace-count): Define.
8165 (occur-revert-function): Mark unused parameters.
8166 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8167 (isearch-case-fold-search, isearch-string): Declare.
8168 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8169 bind `case-fold-search'. Remove unused variables `beg' and `end',
8170 and simplify.
8171 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8172 COUNT and bind `replace-count'.
8173 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8174 to COUNT.
8175
8176 * savehist.el (print-readably, print-string-length): Declare.
8177
8178 * shadowfile.el (shadow-expand-cluster-in-file-name):
8179 Remove unused variable `cluster'.
8180 (shadow-copy-file): Remove unused variable `i'.
8181 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8182 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8183 (shadow-define-literal-group, shadow-define-regexp-group)
8184 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8185
8186 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8187 (shell): Use `called-interactively-p'.
8188 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8189
8190 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8191 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8192 (delete-backward-char): Remove unused variable `ocol'.
8193 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8194 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8195 (event-apply-hyper-modifier, event-apply-shift-modifier)
8196 (event-apply-control-modifier, event-apply-meta-modifier):
8197 Mark unused parameters.
8198 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8199 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8200
8201 * speedbar.el (speedbar-ignored-directory-expressions)
8202 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8203 (speedbar-find-file, speedbar-dir-follow)
8204 (speedbar-directory-buttons-follow, speedbar-tag-find)
8205 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8206 (speedbar-buffers-line-directory, speedbar-buffer-click):
8207 Mark unused parameters.
8208 (speedbar-tag-file): Remove unused variable `mode'.
8209 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8210
8211 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8212
8213 * talk.el (talk): Remove unused variable `display'.
8214
8215 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8216 (tar-write-region-annotate): Mark unused parameter.
8217
8218 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8219 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8220 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8221 warning by another.
8222
8223 * time-stamp.el (time-stamp-string-preprocess):
8224 Remove unused variable `require-padding'.
8225
8226 * tree-widget.el (widget-glyph-enable): Declare.
8227 (tree-widget-action): Mark unused parameter.
8228
8229 * w32-fns.el (x-get-selection): Mark unused parameter.
8230 (autoload-make-program, generated-autoload-file): Declare.
8231
8232 * wdired.el (wdired-revert): Mark unused parameters.
8233 (wdired-xcase-word): Remove unused variable `err'.
8234
8235 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8236 (whitespace-help-scroll): Remove unused variable `data-help'.
8237
8238 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8239 (widget-image-insert, widget-after-change, default)
8240 (widget-default-format-handler, widget-default-notify)
8241 (widget-default-prompt-value, widget-info-link-action)
8242 (widget-url-link-action, widget-function-link-action)
8243 (widget-variable-link-action, widget-file-link-action)
8244 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8245 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8246 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8247 (widget-insert-button-action, widget-delete-button-action, visibility)
8248 (widget-documentation-link-action, widget-documentation-string-action)
8249 (widget-const-prompt-value, widget-regexp-match, symbol)
8250 (widget-coding-system-prompt-value)
8251 (widget-key-sequence-value-to-external, sexp)
8252 (widget-sexp-value-to-internal, character, vector, cons)
8253 (widget-choice-prompt-value, widget-boolean-prompt-value)
8254 (widget-color--choose-action): Mark unused parameters.
8255 (widget-item-match-inline, widget-choice-match-inline)
8256 (widget-checklist-match, widget-checklist-match-inline)
8257 (widget-group-match): Rename parameter VALUES to VALS.
8258 (widget-field-value-set): Remove unused variable `size'.
8259 (widget-color-action): Remove unused variables `value' and `start'.
8260
8261 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
8262 variable `dir'. Doc fix.
8263 (windmove-find-other-window): Don't pass it.
8264
8265 * window.el (count-windows): Mark unused parameter.
8266 (bw-adjust-window): Remove unused variable `err'.
8267
8268 * woman.el (woman-file-name): Remove unused variable `default'.
8269 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8270 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8271 (global-font-lock-mode): Declare.
8272 (woman-decode-region): Mark unused parameter.
8273 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8274
8275 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8276 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8277 (x-dnd-handle-moz-url): Remove unused variable `title'.
8278 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8279
8280 * xml.el (xml-parse-tag, xml-parse-attlist):
8281 Remove unused variable `pos'.
8282
8283 2011-04-19 Glenn Morris <rgm@gnu.org>
8284
8285 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8286 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8287 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8288 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8289 * calendar/cal-html.el (cal-html-insert-minical):
8290 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8291 (calendar-mark-date-pattern):
8292 Prefix "unused" locals.
8293
8294 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8295 optional argument `style'.
8296
8297 * calendar/appt.el (appt-make-list):
8298 * calendar/cal-china.el (calendar-chinese-date-string):
8299 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8300 (diary-hebrew-yahrzeit):
8301 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8302 * calendar/calendar.el (calendar-generate-window):
8303 * calendar/time-date.el (time-to-days):
8304 Remove unused local variables.
8305
8306 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
8307
8308 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8309 glyphless-char-display table.
8310 (tabulated-list-glyphless-char-display): New var.
8311
8312 2011-04-18 Sam Steingold <sds@gnu.org>
8313
8314 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
8315 to acknowledgments.
8316
8317 2011-04-17 Glenn Morris <rgm@gnu.org>
8318
8319 * calendar/diary-lib.el (diary-sexp-entry):
8320 * calendar/holidays.el (holiday-sexp):
8321 Set debug-on-error rather than the removed stack-trace-on-error.
8322
8323 2011-04-16 Glenn Morris <rgm@gnu.org>
8324
8325 * progmodes/f90.el: Use lexical-binding.
8326 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
8327
8328 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8329
8330 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
8331 (mail-mode): Setup mailalias completion here instead.
8332 * mail/mailalias.el: Use lexical-binding.
8333 (pattern, mailalias-done): Declare dynamic.
8334 (mail-completion-at-point-function): New function, from mail-complete.
8335 (mail-complete): Use it.
8336 (mail-completion-expand): New function.
8337 (mail-get-names): Use it.
8338 (mail-directory, mail-directory-process, mail-directory-stream):
8339 Don't use `pattern' for lexically bound arg.
8340
8341 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
8342
8343 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
8344 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
8345 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
8346
8347 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
8348 (byte-save-window-excursion, byte-temp-output-buffer-setup)
8349 (byte-interactive-p): Define them again, for use when inlining
8350 old code.
8351
8352 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
8353
8354 * loadup.el: Use `string-to-number', not `string-to-int'.
8355
8356 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8357
8358 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8359 gud-gdb-complete-command.
8360 (gud-gdb-completions): New function, from gud-gdb-complete-command.
8361 (gud-gdb-completion-at-point): New function.
8362 (gud-gdb-completions): Remove.
8363
8364 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
8365
8366 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8367 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
8368 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8369 whether `executable-find' is bound.
8370
8371 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8372
8373 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8374
8375 * minibuffer.el (completion-in-region-mode-predicate)
8376 (completion-in-region-mode--predicate): New vars.
8377 (completion-in-region, completion-in-region--postch)
8378 (completion-in-region-mode): Use them.
8379 (completion--capf-wrapper): Also return the hook function.
8380 (completion-at-point, completion-help-at-point):
8381 Adjust and provide a predicate.
8382
8383 Preserve arg names for advice of subr and lexical functions (bug#8457).
8384 * help-fns.el (help-function-arglist): Consolidate the subr and
8385 new-byte-code cases. Add argument `preserve-names' to extract names
8386 from the docstring when needed.
8387 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8388 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8389 (ad-arglist): Use help-function-arglist's new arg.
8390 (ad-definition-type): Use cond.
8391
8392 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
8393
8394 * autorevert.el (auto-revert-handler):
8395 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8396 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8397 Don't quote lambda.
8398
8399 * image-mode.el (image-transform-set-scale):
8400 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8401
8402 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8403
8404 * net/network-stream.el (network-stream-open-starttls): Only do
8405 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
8406 Upgrades via gnutls-cli are too slow to be done opportunistically.
8407
8408 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
8409
8410 * dframe.el (dframe-current-frame): Remove spurious quote.
8411
8412 2011-04-12 Glenn Morris <rgm@gnu.org>
8413
8414 * calendar/cal-tex.el (cal-tex-end-document):
8415 Try to automatically use latin1 input if needed.
8416
8417 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8418 Don't try to cons a mark onto an empty element.
8419
8420 2011-04-11 Leo Liu <sdl.web@gmail.com>
8421
8422 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8423 buffers.
8424 (ido-kill-buffer-at-head): Support killing virtual buffers.
8425
8426 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
8427
8428 * minibuffer.el (completion-show-inline-help): New var.
8429 (completion--do-completion, minibuffer-complete)
8430 (minibuffer-force-complete, minibuffer-complete-word):
8431 Inhibit minibuffer messages if completion-show-inline-help is nil.
8432
8433 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8434 to avoid interference from inline help (Bug#5849).
8435
8436 2011-04-10 Leo Liu <sdl.web@gmail.com>
8437
8438 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8439 Fix typo.
8440
8441 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
8442
8443 * image-mode.el (image-toggle-display-image): Signal an error if
8444 not in Image mode.
8445 (image-transform-mode, image-transform-resize)
8446 (image-transform-set-rotation): Doc fix.
8447 (image-transform-set-resize): Delete.
8448 (image-transform-set-scale, image-transform-fit-to-height)
8449 (image-transform-fit-to-width): Handle image-toggle-display-image
8450 and image-transform-resize directly.
8451
8452 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
8453
8454 * doc-view.el (doc-view-fit-width-to-window)
8455 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8456 New functions for fitting the shown image to the Emacs window size.
8457 (doc-view-mode-map): Add bindings for the new functions.
8458
8459 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
8460
8461 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
8462 Fix typo in docstring.
8463
8464 2011-04-08 Eli Zaretskii <eliz@gnu.org>
8465
8466 * files.el (file-size-human-readable): Produce one digit after
8467 decimal, like "ls -lh" does.
8468
8469 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8470 the file size representation.
8471
8472 * simple.el (list-processes): If async subprocesses are not
8473 available, error out with a clear error message.
8474
8475 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
8476
8477 * help.el (help-form-show): New function, to be called from C.
8478 Put help-form output in a buffer named differently than *Help*.
8479
8480 2011-04-08 Eli Zaretskii <eliz@gnu.org>
8481
8482 * files.el (file-size-human-readable): New function.
8483
8484 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8485 computing the representation inline. Don't require `cl'.
8486
8487 2011-04-08 Glenn Morris <rgm@gnu.org>
8488
8489 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8490
8491 * net/browse-url.el (browse-url-firefox):
8492 Test system-type, not system-configuration.
8493
8494 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8495 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8496 Use log-edit-empty-buffer-p. (Bug#7598)
8497
8498 * net/rlogin.el (rlogin-process-connection-type): Simplify.
8499 (rlogin-mode-map): Initialize in the defvar.
8500 (rlogin): Use ignore-errors.
8501
8502 * replace.el (occur-mode-map): Some fixes for menu items.
8503
8504 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8505
8506 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
8507
8508 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
8509
8510 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8511 issuing unused warnings.
8512
8513 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8514 macro directly.
8515
8516 * simple.el: Lisp reimplement of list-processes. Based on an
8517 earlier reimplementation by Leo Liu, but using tabulated-list.el.
8518 (process-menu-mode): New major mode.
8519 (list-processes--refresh, list-processes):
8520 (process-menu-visit-buffer): New functions.
8521
8522 * files.el (save-buffers-kill-emacs): Don't assume any return
8523 value of list-processes, which is undocumented anyway.
8524
8525 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
8526
8527 * emacs-lisp/tabulated-list.el: New file.
8528
8529 * emacs-lisp/package.el: Use Tabulated List mode.
8530 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8531 (package-menu-mode): Derive from tabulated-list-mode. Set up the
8532 table format using Tabulated List mode variables.
8533 (package--push): New macro, replacing package-list-maybe-add.
8534 (package-menu--generate): Use package--push. Renamed from
8535 package--generate-package-list.
8536 (package-menu-refresh, list-packages): Use it.
8537 (package-menu--print-info): Rename from package-print-package.
8538 Return insertion data instead of inserting it directly.
8539 (package-menu-describe-package, package-menu-execute):
8540 Use tabulated-list-get-id.
8541 (package-menu-mark-delete, package-menu-mark-install)
8542 (package-menu-mark-unmark, package-menu-backup-unmark)
8543 (package-menu-mark-obsolete-for-deletion):
8544 Use tabulated-list-put-tag.
8545 (package--list-packages, package-menu-revert)
8546 (package-menu-get-package, package-menu-get-version)
8547 (package-menu-sort-by-column): Functions deleted.
8548 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8549 (package-menu--status-predicate, package-menu--version-predicate)
8550 (package-menu--name-predicate)
8551 (package-menu--description-predicate): Handle arguments in the
8552 Tabulated List format.
8553 (package-list-packages-no-fetch): Call list-packages.
8554
8555 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
8556
8557 * files.el (after-find-file-from-revert-buffer): Remove variable.
8558 (after-find-file): Don't bind it.
8559 (revert-buffer-in-progress-p): New variable.
8560 (revert-buffer): Bind it.
8561 Pass nil for `after-find-file-from-revert-buffer'.
8562
8563 * saveplace.el (save-place-find-file-hook): Use new variable
8564 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8565
8566 2011-04-06 Glenn Morris <rgm@gnu.org>
8567
8568 * Makefile.in (AUTOGEN_VCS): New variable.
8569 (autoloads): Use $AUTOGEN_VCS.
8570
8571 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8572 * calendar/calendar.el (calendar-mode-map):
8573 Check for toolkit scroll bars. (Bug#8305)
8574
8575 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
8576
8577 * minibuffer.el (completion-in-region--postch)
8578 (completion-in-region-mode): Remove unnecessary messages.
8579
8580 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
8581
8582 * font-lock.el (font-lock-refresh-defaults):
8583 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8584 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8585
8586 * info.el (Info-directory-list, Info-read-node-name-2)
8587 (Info-split-parameter-string): Doc fixes.
8588 (Info-virtual-nodes): Reflow docstring.
8589 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8590 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8591 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8592 Fix typos in docstrings.
8593 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8594 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8595 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8596 (Info-restore-desktop-buffer): Mark unused parameters.
8597 (Info-directory-find-file, Info-directory-find-node)
8598 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8599 (Info-virtual-index-find-node, Info-apropos-find-file)
8600 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
8601 Mark unused parameters; fix typos in docstrings.
8602 (Info-virtual-index): Remove unused local variable `nodename'.
8603
8604 2011-04-05 Deniz Dogan <deniz@dogan.se>
8605
8606 * net/rcirc.el: Update my e-mail address.
8607 (rcirc-mode-map): Remove M-o binding.
8608
8609 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
8610
8611 * startup.el (command-line): Save the cursor's theme-face
8612 directly, instead of using face-override-spec.
8613
8614 * custom.el (load-theme): Minor optimization in assigning faces.
8615
8616 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
8617
8618 * help-fns.el (describe-variable): Complete all variables having
8619 documentation, including keywords.
8620 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8621
8622 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
8623
8624 Convert to lexical-binding.
8625
8626 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8627 (bs--get-marked-string, bs--get-modified-string)
8628 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8629 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8630 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8631
8632 * ehelp.el (electric-help-execute-extended)
8633 (electric-help-ctrl-x-prefix):
8634 * hexl.el (hexl-revert-buffer-function):
8635 * linum.el (linum-after-change, linum-after-scroll):
8636 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8637
8638 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8639
8640 2011-04-04 Daiki Ueno <ueno@unixuser.org>
8641
8642 * epa-dired.el:
8643 * epa-mail.el:
8644 * epa-hook.el:
8645 * epa-file.el:
8646 * epa.el:
8647 * epg.el: Use lexical binding.
8648
8649 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
8650
8651 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8652
8653 * textmodes/flyspell.el (flyspell-word): Recognize default
8654 dictionary case for flyspell-mark-duplications-exceptions.
8655 Use regexp matching for languages.
8656 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8657 default dictionary (Bug#7926).
8658
8659 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
8660
8661 * emacs-lisp/package.el (package--with-work-buffer):
8662 Recognize https URLs.
8663
8664 * net/network-stream.el: Move from gnus/proto-stream.el.
8665 Change prefix to network-stream throughout.
8666 (open-protocol-stream): Merge into open-network-stream, leaving
8667 open-protocol-stream as an alias. Handle nil BUFFER args.
8668
8669 * subr.el (open-network-stream): Move to net/network-stream.el.
8670
8671 2011-04-02 Glenn Morris <rgm@gnu.org>
8672
8673 * find-dired.el (find-exec-terminator): New option.
8674 (find-ls-option): Test for -ls support.
8675 (find-ls-subdir-switches): Test for -b in find-ls-option.
8676 (find-dired, find-grep-dired): Doc fixes.
8677 (find-dired): Use find-exec-terminator.
8678
8679 * find-dired.el (find-ls-option, find-ls-subdir-switches)
8680 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8681 (find-name-arg): Remove purecopy.
8682
8683 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8684 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8685 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8686 accordingly. Don't add the null-device if not needed.
8687
8688 * files.el (save-some-buffers): Doc fix.
8689
8690 2011-04-02 Eli Zaretskii <eliz@gnu.org>
8691
8692 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8693
8694 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
8695
8696 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8697 Use `dolist' rather than `mapcar'.
8698
8699 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 Add lexical binding.
8702
8703 * subr.el (apply-partially): Use new closures rather than CL.
8704 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8705 (dolist, dotimes): Use slightly different expansion for lexical code.
8706 (functionp): Move to C.
8707 (letrec): New macro.
8708 (with-wrapper-hook): Use it and apply-partially instead of CL.
8709 (eval-after-load): Preserve lexical-binding.
8710 (save-window-excursion, with-output-to-temp-buffer): Turn them
8711 into macros.
8712
8713 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8714
8715 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8716 than the arglist.
8717 (help-add-fundoc-usage): Don't add `Not documented'.
8718 (help-function-arglist): Handle closures, subroutines, and new
8719 byte-code-functions.
8720 (help-make-usage): Remove leading underscores.
8721 (describe-function-1): Handle closures.
8722 (describe-variable): Use special-variable-p for completion.
8723
8724 * files.el (lexical-binding): Declare safe.
8725
8726 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8727 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8728 (pcase): Add `let' pattern.
8729 Change memoization so it actually works.
8730 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8731 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8732 <let>: New case.
8733
8734 * emacs-lisp/macroexp.el: Use lexical binding.
8735 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8736 Don't convert ' to #' without checking that it's indeed quoting
8737 a lambda.
8738
8739 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
8740 Use eval-sexp-add-defvars.
8741 (eval-sexp-add-defvars): New fun.
8742
8743 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8744
8745 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8746 Don't autoload.
8747 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8748 than the internal `byte-compile-lambda'.
8749 (defmethod): Don't hide code under quotes.
8750 (eieio-defmethod): New `code' argument.
8751
8752 * emacs-lisp/eieio-comp.el: Remove.
8753
8754 * emacs-lisp/edebug.el (edebug-eval-defun)
8755 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8756 (edebug-toggle): Avoid `eval'.
8757
8758 * emacs-lisp/disass.el (disassemble-internal): Handle new
8759 `closure' objects.
8760 (disassemble-1): Handle new byte codes.
8761
8762 * emacs-lisp/cl.el (pushnew): Silence warning.
8763
8764 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8765 (cl-byte-compile-throw): Remove.
8766 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8767
8768 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8769 closures.
8770
8771 * emacs-lisp/cconv.el: New file.
8772
8773 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8774 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8775 (byte-compile-initial-macro-environment):
8776 Handle declare-function here.
8777 (byte-compile--lexical-environment): New var.
8778 (byte-stack-ref, byte-stack-set, byte-discardN)
8779 (byte-discardN-preserve-tos): New lap codes.
8780 (byte-interactive-p): Don't use any more.
8781 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8782 New macros.
8783 (byte-compile-lapcode): Use them and handle new lap codes.
8784 (byte-compile-obsolete): Remove.
8785 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8786 (byte-compile-arglist-warn): Check late def of inlinable funs.
8787 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8788 since they should have been expanded by now.
8789 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8790 (byte-compile-from-buffer): Remove unused second arg.
8791 (byte-compile-preprocess): New function.
8792 (byte-compile-toplevel-file-form): New function to distinguish
8793 file-form calls from outside from file-form calls from hunk-handlers.
8794 (byte-compile-file-form): Simplify.
8795 (byte-compile-file-form-defsubst): Remove.
8796 (byte-compile-file-form-defmumble): Simplify now that
8797 byte-compile-lambda always returns a byte-code-function.
8798 (byte-compile): Preprocess.
8799 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8800 Remove, not used any more.
8801 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8802 (byte-compile-make-args-desc): New funs.
8803 (byte-compile-lambda): Handle lexical functions. Always return
8804 a byte-code-function.
8805 (byte-compile-reserved-constants): New var, to make up room for
8806 closed-over variables.
8807 (byte-compile-constants-vector): Obey it.
8808 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8809 (byte-compile-macroexpand-declare-function): New function.
8810 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8811 byte-code-functions.
8812 (byte-compile-form): Check obsolescence here.
8813 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8814 (byte-compile-variable-ref): Remove.
8815 (byte-compile-dynamic-variable-op): New fun.
8816 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8817 (byte-compile-variable-set): New funs.
8818 (byte-compile-discard): Add 2 args.
8819 (byte-compile-stack-ref, byte-compile-stack-set)
8820 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8821 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8822 macroexpand-all instead.
8823 (byte-compile-quote-form): Remove.
8824 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8825 (byte-compile-bind, byte-compile-unbind): New funs.
8826 (byte-compile-let): Handle let* and lexical binding.
8827 (byte-compile-let*): Remove.
8828 (byte-compile-catch, byte-compile-unwind-protect)
8829 (byte-compile-track-mouse, byte-compile-condition-case):
8830 Handle a new :fun-body form, used for lexical scoping.
8831 (byte-compile-save-window-excursion)
8832 (byte-compile-with-output-to-temp-buffer): Remove.
8833 (byte-compile-defun): Simplify.
8834 (byte-compile-stack-adjustment): New fun.
8835 (byte-compile-out): Use it.
8836 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8837
8838 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8839 handler any more.
8840
8841 * emacs-lisp/byte-opt.el: Use lexical binding.
8842 (byte-inline-lapcode): Remove (to bytecomp).
8843 (byte-compile-inline-expand): Pay attention to inlining to/from
8844 lexically bound code.
8845 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8846 any more.
8847 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8848 any more and don't call compiler-macros.
8849 (byte-compile-splice-in-already-compiled-code): Remove.
8850 (byte-code): Don't inline any more.
8851 (disassemble-offset): Receive `bytes' as argument rather than via
8852 dynamic scoping.
8853 (byte-compile-tag-number): Declare before first use.
8854 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8855 `return' even if make-spliceable.
8856 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8857 obsolete interactive-p.
8858 (byte-optimize-lapcode): Optimize new lap-codes.
8859 Don't trip up on new form of `byte-constant' lap code.
8860
8861 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8862
8863 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8864
8865 * custom.el (custom-initialize-default, custom-declare-variable):
8866 Use `defvar'.
8867
8868 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8869 New variables.
8870 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8871 (COMPILE_FIRST): Add macroexp and cconv.
8872 * makefile.w32-in: Mirror changes in Makefile.in.
8873
8874 * vc/cvs-status.el:
8875 * vc/diff-mode.el:
8876 * vc/log-edit.el:
8877 * vc/log-view.el:
8878 * vc/smerge-mode.el:
8879 * textmodes/bibtex-style.el:
8880 * textmodes/css.el:
8881 * startup.el:
8882 * uniquify.el:
8883 * minibuffer.el:
8884 * newcomment.el:
8885 * reveal.el:
8886 * server.el:
8887 * mpc.el:
8888 * emacs-lisp/smie.el:
8889 * doc-view.el:
8890 * dired.el:
8891 * abbrev.el: Use lexical binding.
8892
8893 2011-04-01 Eli Zaretskii <eliz@gnu.org>
8894
8895 * info.el (info-display-manual): New function.
8896
8897 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8900
8901 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8902
8903 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
8904 an entry for that server in rcirc-authinfo. (Bug#8385)
8905
8906 2011-03-31 Glenn Morris <rgm@gnu.org>
8907
8908 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8909
8910 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8911
8912 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8913
8914 * progmodes/python.el (python-default-interpreter)
8915 (python-python-command-args, python-jython-command-args)
8916 (python-which-shell, python-which-args, python-which-bufname)
8917 (python-file-queue, python-comint-output-filter-function)
8918 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8919 variables and functions.
8920
8921 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8922
8923 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8924 (completion-in-region-mode): New minor mode.
8925 (completion-in-region): Use it.
8926 (completion-in-region--data, completion-in-region-mode-map): New vars.
8927 (completion-in-region--postch): New function.
8928 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8929 New vars.
8930 (completion--capf-wrapper): New function.
8931 (completion-at-point): Use it to track well-behavedness of
8932 hook functions.
8933 (completion-help-at-point): New command.
8934
8935 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8936
8937 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8938 syntax class to search for whitespace on a single line
8939 (Message-ID: <4D938140.4030905@redhat.com>).
8940
8941 2011-03-30 Leo Liu <sdl.web@gmail.com>
8942
8943 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8944 New commands.
8945 (edit-abbrevs-map): Bind them here.
8946 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8947
8948 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8949
8950 * allout.el (allout-hide-by-annotation, allout-flag-region):
8951 Reduce possibility of overlay leakage by making them volatile.
8952
8953 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8954 hash is not shared between buffers. Mode initialization is
8955 responsible for giving it a useful starting value.
8956 (allout-item-span): Reduce possibility of overlay leakage by
8957 making them volatile.
8958 (allout-widgets-count-buttons-in-region): Add diagnostic function
8959 for tracking down button overlay leaks.
8960
8961 2011-03-29 Leo Liu <sdl.web@gmail.com>
8962
8963 * ido.el (ido-read-internal): Use the default history var
8964 minibuffer-history if no HISTORY is specified.
8965
8966 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8967
8968 * net/imap.el (imap-shell-open, imap-process-connection-type):
8969 Use imap-process-connection-type for 'shell' streams as well as
8970 Kerberos, SSL, other subprocesses.
8971
8972 2011-03-28 Leo Liu <sdl.web@gmail.com>
8973
8974 * abbrev.el (abbrev-table-empty-p): New function.
8975 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8976 nonempty ones. (Bug#5937)
8977
8978 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8979
8980 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8981
8982 2011-03-27 Leo Liu <sdl.web@gmail.com>
8983
8984 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8985 for foreground and background colors.
8986 (ansi-color-make-color-map): Adapt.
8987
8988 2011-03-25 Leo Liu <sdl.web@gmail.com>
8989
8990 * midnight.el (midnight-time-float): Remove. Note it calculates
8991 the microsecond component incorrectly and seconds-to-time does the
8992 same job.
8993 Remove redundant (require 'timer).
8994
8995 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8996 (ido-completions): Remove unused arguments. (Bug#8329)
8997
8998 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8999
9000 * minibuffer.el (completion--flush-all-sorted-completions):
9001 Remove itself from hook.
9002 (completion-at-point): Let the functions perform the completion
9003 immediately and return nil or t.
9004 * comint.el (comint-dynamic-complete-functions): Now identical to
9005 completion-at-point-functions.
9006 (comint-dynamic-list-input-ring): Remove unused var `index'.
9007 (comint--match-partial-filename, comint--unquote&expand-filename):
9008 New funs, split from comint-match-partial-filename.
9009 (comint-dynamic-complete): Use completion-at-point.
9010 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9011
9012 2011-03-24 Drew Adams <drew.adams@oracle.com>
9013
9014 * thingatpt.el: Support `defun'.
9015
9016 2011-03-23 Leo Liu <sdl.web@gmail.com>
9017
9018 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9019
9020 * help-mode.el (help-mode-finish): Tweak regexp.
9021
9022 2011-03-23 Glenn Morris <rgm@gnu.org>
9023
9024 * eshell/esh-opt.el (eshell-eval-using-options):
9025 Do not bind unused local variable `eshell-option-stub'.
9026
9027 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9028
9029 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
9030
9031 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9032 keymap variable in `with-no-warnings' to avoid a warning when the
9033 keymap has been already `defconst'ed.
9034
9035 2011-03-22 Leo Liu <sdl.web@gmail.com>
9036
9037 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9038 encode all chars in abbrevs; otherwise use emacs-mule or
9039 utf-8-emacs. (Bug#8308)
9040
9041 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
9042
9043 * simple.el (backward-delete-char-untabify):
9044 Avoid warning about using `delete-backward-char'.
9045
9046 * image.el (image-type-file-name-regexps): Make it variable.
9047 `imagemagick-register-types' modifies it, and the user may want
9048 to add new extensions for known image types.
9049 (imagemagick-register-types): Throw error if not using ImageMagick.
9050
9051 2011-03-22 Leo Liu <sdl.web@gmail.com>
9052
9053 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9054 located before rcirc-prompt-end-marker.
9055 (rcirc-complete): Error if point is not after rcirc prompt.
9056 Handle the case when table is nil.
9057 (rcirc-user-authenticated): Define to fix compiler warning.
9058
9059 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
9060
9061 * custom.el (custom--inhibit-theme-enable): Make it affect only
9062 custom-theme-set-variables and custom-theme-set-faces.
9063 (provide-theme): Ignore custom--inhibit-theme-enable.
9064 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9065 (custom-enabling-themes): Delete variable.
9066 (enable-theme): Accept only loaded themes as arguments.
9067 Ignore the special custom-enabled-themes variable.
9068 (custom-enabled-themes): Forbid themes from setting this.
9069 Eliminate use of custom-enabling-themes.
9070 (custom-push-theme): Quote "changed" custom var entry.
9071
9072 2011-03-21 Leo Liu <sdl.web@gmail.com>
9073
9074 * ido.el (ido-read-internal): Add ido-selected to history instead
9075 of user input.
9076
9077 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9078
9079 * subr.el (deferred-action-list, deferred-action-function):
9080 Mark obsolete.
9081
9082 2011-03-21 Leo Liu <sdl.web@gmail.com>
9083
9084 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9085 change on 2011-02-13 (bug#8309).
9086
9087 * minibuffer.el (read-file-name-function): Change default value.
9088 (read-file-name--defaults): Rename from read-file-name-defaults.
9089 (read-file-name-default): Rename from read-file-name.
9090 (read-file-name): Call read-file-name-function.
9091
9092 2011-03-21 Glenn Morris <rgm@gnu.org>
9093
9094 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9095 Doc fixes.
9096
9097 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
9098
9099 * cus-theme.el: Add missing provide statement.
9100 (customize-create-theme): Extract theme value correctly.
9101 (custom-theme-visit-theme): Autoload.
9102 (customize-create-theme): Prompt before inserting default faces.
9103
9104 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9105
9106 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9107 units and musical notes.
9108
9109 2011-03-20 Leo <sdl.web@gmail.com>
9110
9111 * ido.el (ido-read-internal): Use completing-read-default.
9112 (ido-completing-read): Fix compatibility with completing-read.
9113
9114 2011-03-20 Christian Ohler <ohler@gnu.org>
9115
9116 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9117 (ert-delete-all-tests): Use `called-interactively-p' rather than
9118 `interactive-p'.
9119 (ert--make-xrefs-region): Respect END.
9120
9121 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
9122
9123 * dired-aux.el (dired-create-directory): Signal an error if the
9124 directory already exists (Bug#8246).
9125
9126 * facemenu.el (list-colors-display): Call list-faces-display
9127 inside with-help-window.
9128 (list-colors-print): Use display property to align the final
9129 column, instead of checking window-width.
9130
9131 2011-03-19 Eli Zaretskii <eliz@gnu.org>
9132
9133 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
9134 windows-nt systems.
9135 (emerge-protect-metachars): Quote correctly for ms-dos and
9136 windows-nt systems.
9137
9138 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
9139
9140 * info.el (info-initialize): Replace all uses of `:' with
9141 path-separator for compatibility with non-Unix systems.
9142 Cache quoting of path-separator. (Bug#8258)
9143
9144 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
9145
9146 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9147 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9148 (mouse-avoidance-mode): Fix typos in docstrings.
9149
9150 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
9151
9152 * startup.el (package-subdirectory-regexp): Move from package.el.
9153 Omit \\` and \\', and let callers add them.
9154
9155 * emacs-lisp/package.el (package-strip-version)
9156 (package-load-all-descriptors): Add \\` and \\' to
9157 package-subdirectory-regexp before using it.
9158 (package-untar-buffer): New arg DIR; ensure that file untars only
9159 into this expected directory. Remove superfluous delete-region.
9160 (package-unpack): Caller changed.
9161 (package-tar-file-info): Use package-subdirectory-regexp.
9162
9163 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9164
9165 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9166 diff-mode-shared-map (bug#8284).
9167 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
9168
9169 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9170
9171 * calendar/time-date.el (format-seconds): Use assoc instead of
9172 assoc-string, since assoc-string doesn't exist in XEmacs.
9173
9174 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
9175
9176 * custom.el (custom-known-themes): Reflow docstring.
9177 (custom-theme-load-path): Fix typo in docstring.
9178 (load-theme): Fix typo in error message.
9179 (custom-available-themes, custom-variable-theme-value):
9180 Use `let', not `let*'.
9181
9182 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9183
9184 * calc/README: Mention inclusion of musical notes.
9185
9186 * calc/calc-units.el (calc-lu-quant): Rename from
9187 `calc-logunits-quantity'.
9188 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9189 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9190 (calc-db): Rename from `calc-dblevel'.
9191 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9192 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9193 (calc-np): Rename from `calc-nplevel'.
9194 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9195 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9196 (calc-lu-plus): Rename from `calc-logunits-add'.
9197 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9198 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9199 (calc-lu-minus): Rename from `calc-logunits-sub'.
9200 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9201 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9202 (calc-lu-times): Rename from `calc-logunits-mul'.
9203 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9204 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9205 (calc-lu-divide): Rename from `calc-logunits-div'.
9206 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9207 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9208
9209 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9210 functions being autoloaded.
9211
9212 * calc/calc.el (calc-lu-power-reference): Rename from
9213 `calc-logunits-power-reference'.
9214 (calc-lu-field-reference): Rename from
9215 `calc-logunits-field-reference'.
9216
9217 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9218
9219 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9220
9221 * minibuffer.el (completion-all-sorted-completions):
9222 Use :completion-cycle-penalty text property if present.
9223
9224 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9225
9226 * allout.el (allout-yank-processing): Adjust for new rebulleting
9227 regime so bullet being yanked is used without prompting the user
9228 for a choice.
9229
9230 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
9231
9232 * startup.el (command-line): Warn the user that _emacs is deprecated.
9233
9234 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
9235
9236 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9237 (delphi-verbose, delphi-comment-face, delphi-string-face)
9238 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9239 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9240 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9241 (delphi-new-comment-line, delphi-font-lock-defaults)
9242 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9243 Fix typos in docstrings.
9244
9245 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9246
9247 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
9248 Invert the roles of character and string values for INSTEAD, so a
9249 string is used for the more common case of a defaulting prompt.
9250
9251 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 * progmodes/ruby-mode.el (ruby-backward-sexp):
9254 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9255 * play/gamegrid.el (gamegrid-make-face):
9256 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9257 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9258 * notifications.el (notifications-notify):
9259 * net/xesam.el (xesam-search-engines):
9260 * net/quickurl.el (quickurl-list-insert):
9261 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9262
9263 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
9264
9265 * startup.el (command-line): Update package subdirectory regexp.
9266
9267 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9268
9269 * allout.el (allout-abbreviate-flattened-numbering)
9270 (allout-mode-deactivate-hook): Fix up obsolescence "date".
9271
9272 * subr.el (read-char-choice): Only show the cursor after the prompt,
9273 not after the answer.
9274
9275 2011-03-15 Kevin Ryde <user42@zip.com.au>
9276
9277 * help-fns.el (variable-at-point): Skip leading quotes, if any
9278 (bug#8253).
9279
9280 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9281
9282 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9283 warning message.
9284
9285 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
9286
9287 * shell.el (shell): When called interactively, offer to change the
9288 shell file name on remote hosts.
9289
9290 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
9291
9292 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9293 integration for LDAP parameters. The host, base, user or binddn,
9294 and secret tokens can be specified in a netrc file, for instance.
9295 This is optional because an `auth-source' parameter must be
9296 specified in the search attributes.
9297
9298 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
9299
9300 * help.el (describe-mode): Link to the mode's definition (bug#8185).
9301
9302 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9303
9304 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9305 into declaration. Remove redundant and harmful binding.
9306
9307 2011-03-12 Eli Zaretskii <eliz@gnu.org>
9308
9309 * files.el (file-ownership-preserved-p): Pass `integer' as an
9310 explicit 2nd argument to `file-attributes'. If the file's owner
9311 is the Administrators group on Windows, and the current user is
9312 Administrator, consider that a match.
9313
9314 * server.el (server-ensure-safe-dir): Consider server directory
9315 safe on MS-Windows if its owner is the Administrators group while
9316 the current Emacs user is Administrator. Use `=' to compare
9317 numerical UIDs, since they could be integers or floats.
9318
9319 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
9320
9321 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
9322
9323 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
9324
9325 Sync with Tramp 2.2.1.
9326
9327 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
9328
9329 * net/trampver.el: Update release number.
9330
9331 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9332
9333 * progmodes/compile.el (compilation--previous-directory): Fix up
9334 various nil/dead-marker mismatches (bug#8014).
9335 (compilation-directory-properties, compilation-error-properties):
9336 Don't call it at a position past the one we're about to change.
9337
9338 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
9339 Disable obsolescence warnings in the file that declares it.
9340
9341 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
9342
9343 * allout-widgets.el (allout-widgets-tally):
9344 Initialize allout-widgets-tally as a hash table rather than nil to
9345 prevent mode-line redisplay warnings. Also, clarify the module
9346 description and fix a comment typo.
9347
9348 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
9349
9350 * help-fns.el (describe-variable): Don't complete keywords.
9351 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
9352
9353 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
9354
9355 * emacs-lisp/package.el (package-version-join): Impose a standard
9356 string representation for pre/alpha/beta version lists.
9357 (package-unpack-single): Standardize the directory name by passing
9358 it through package-version-join.
9359 (package-strip-rcs-id): Accept any version string that does not
9360 signal an error in version-to-list.
9361
9362 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
9363
9364 * simple.el (delete-trailing-whitespace): Return nil for the
9365 benefit of `write-file-functions'.
9366
9367 2011-03-10 Glenn Morris <rgm@gnu.org>
9368
9369 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9370
9371 * vc/vc-git.el (vc-git-program): New option.
9372 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9373 (vc-git--call): Use it.
9374
9375 * eshell/esh-util.el (eshell-condition-case): Doc fix.
9376
9377 * cus-edit.el (Custom-newline): If no button at point, look
9378 for a subgroup button at start-of-line. (Bug#2298)
9379
9380 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9381
9382 2011-03-10 Julien Danjou <julien@danjou.info>
9383
9384 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9385 `cursor-type' is nil.
9386
9387 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
9388
9389 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9390
9391 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
9392
9393 * allout.el Summary: Change so yank of distinctive-bullet items
9394 preserves the existing header prefix, rebulleting it if necessary,
9395 rather than replacing it. This is necessary for proper operation
9396 of cooperative addons like allout-widgets.
9397 (allout-make-topic-prefix, allout-rebullet-heading): Change
9398 SOLICIT arg to INSTEAD, and interpret additionally a string value
9399 as alternate bullet to be used, instead of prompting the user for
9400 a bullet character.
9401
9402 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
9403
9404 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9405 Do not use `tramp-file-name-port', because this returns also
9406 `tramp-default-port'.
9407
9408 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9409
9410 * net/rcirc.el (rcirc-handler-001): Remove useless
9411 with-rcirc-process-buffer.
9412 (rcirc-check-auth-status): Swap arguments to string-match.
9413
9414 2011-03-09 Glenn Morris <rgm@gnu.org>
9415
9416 * shell.el (shell-mode):
9417 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
9418
9419 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9420 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
9421
9422 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
9423
9424 * emacs-lisp/package.el (package-refresh-contents)
9425 (package-menu-execute): Use condition-case-no-debug.
9426
9427 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
9428
9429 * simple.el (shell-command-to-string): Use `process-file'.
9430
9431 * emacs-lisp/package.el (package-tar-file-info): Handle also
9432 remote files.
9433
9434 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9435 Use `equal' for upload base check.
9436
9437 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
9438
9439 * textmodes/texinfo.el (texinfo-environments):
9440 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
9441
9442 2011-03-08 Glenn Morris <rgm@gnu.org>
9443
9444 * cus-start.el (cursor-in-non-selected-windows):
9445 Fix :set quoting oddness. (Bug#8192)
9446
9447 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9448 in some setf expressions. (Bug#2159)
9449
9450 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
9451
9452 * custom.el (custom-available-themes): Return themes in
9453 alphabetical order.
9454
9455 See ChangeLog.15 for earlier changes.
9456
9457 ;; Local Variables:
9458 ;; coding: utf-8
9459 ;; End:
9460
9461 Copyright (C) 2011 Free Software Foundation, Inc.
9462
9463 This file is part of GNU Emacs.
9464
9465 GNU Emacs is free software: you can redistribute it and/or modify
9466 it under the terms of the GNU General Public License as published by
9467 the Free Software Foundation, either version 3 of the License, or
9468 (at your option) any later version.
9469
9470 GNU Emacs is distributed in the hope that it will be useful,
9471 but WITHOUT ANY WARRANTY; without even the implied warranty of
9472 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9473 GNU General Public License for more details.
9474
9475 You should have received a copy of the GNU General Public License
9476 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.