Change `wordify' to `word-search-regexp'.
[bpt/emacs.git] / lisp / ChangeLog
1 2011-12-02 Juri Linkov <juri@jurta.org>
2
3 * isearch.el (isearch-occur): Use `word-search-regexp' for
4 `isearch-word'.
5 (isearch-search-and-update): Add condition for `isearch-word' and
6 call `word-search-regexp'. (Bug#10145)
7
8 2011-12-01 Glenn Morris <rgm@gnu.org>
9
10 * eshell/em-hist.el (eshell-hist-initialize):
11 Handle eshell-history-size nil and HISTSIZE set or unset.
12 (eshell-history-file-name, eshell-history-size): Fix custom type.
13
14 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17
18 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
19
20 * progmodes/verilog-mode.el (verilog-pretty-expr):
21 Rework verilog-pretty-expr to handle new assignment operators in system
22 verilog, such as += *= and the like.
23 (verilog-assignment-operator-re): Regular expression to find the
24 assigment operator in a verilog assignment.
25 (verilog-assignment-operation-re): Regular expression to find an
26 assignment statement for pretty-expr.
27 (verilog-in-attribute-p): Query returns true if point is in an
28 attribute context; used to skip these for expression line up from
29 pretty-expr.
30 (verilog-in-parameter-p): Query returns true if point is in an
31 parameter definition context; used to skip these for expression
32 line up from pretty-expr.
33 (verilog-in-parenthesis-p): Query returns true if point is in a
34 parenthetical expression, specifically ( ) but not [ ] or { };
35 used by pretty-expr.
36 (verilog-just-one-space): If there is no space, don't add one.
37 (verilog-get-lineup-indent-2): Specifically skip just attribute
38 contexts for expression lineup, rather than skipping all
39 parenthetical expressions.
40 (verilog-calculate-indent): Fix comment, and fix indent.
41 (verilog-do-indent): Indent declarations in lists (suggested by
42 Joachim Lechner).
43 (verilog-mode-abbrev-table): Populate abbrev mode with the various
44 skeleton items.
45 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
46 by Alain Mellan).
47
48 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
49
50 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
51 parameters with embedded comments. Reported by Ray Stevens.
52 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
53 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
54 Reported by Tim Holt.
55 (verilog-auto): Fix AUTOing a upper module then AUTOing module
56 instantiated by upper module causing wrong expansion until AUTOed a
57 second time. Reported by K C Buckenmaier.
58 (verilog-diff-auto): Fix showing .* as a difference when
59 `verilog-auto-star-save' off. Reported by Dan Dever.
60 (verilog-auto-reset, verilog-read-always-signals)
61 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
62 temporary signals in reset list if
63 verilog-auto-reset-blocking-in-non is nil, and match assignment
64 style to each signal's assignment type, bug381.
65 Reported by Thomas Esposito.
66 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
67 (verilog-uvm-statement-re): Support UVM indentation and
68 highlighting, with old OVM keywords only.
69 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
70 Support AUTOTIEOFF creating non-wire data types. Suggested by Jonathan
71 Greenlaw.
72 (verilog-auto-insert-lisp, verilog-delete-to-paren)
73 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
74 (verilog-inject-sense, verilog-read-inst-pins)
75 (verilog-read-sub-decls, verilog-read-sub-decls-line):
76 Fix mismatching parenthesis inside commented out code when deleting
77 AUTOINST, bug383. Reported by Jonathan Greenlaw.
78 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
79 non-numeric vector width. Reported by Alex Reed.
80 (verilog-auto-ascii-enum): Add "onehot" option to work around not
81 detecting signals with parameter widths. Reported by Alex Reed.
82 (verilog-auto-delete-trailing-whitespace):
83 With `verilog-auto-delete-trailing-whitespace' remove trailing
84 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
85 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
86 Fix verilog-scan-cache corruption when running user AUTO expansion
87 hooks that call indentation routines.
88 (verilog-simplify-range-expression): Fix typo ignoring lower case
89 identifiers.
90 (verilog-delete-auto): Fix delete-autos to also remove user created
91 automatics, as long as they start with AUTO.
92 (verilog-batch-diff-auto, verilog-diff-auto)
93 (verilog-diff-function): Add `verilog-diff-auto' and bind to
94 "C-c?" to report differences in AUTO expansion, ignoring spaces.
95 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
96 (verilog-in-paren-quick, verilog-re-search-backward-quick)
97 (verilog-re-search-forward-quick, verilog-syntax-ppss):
98 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
99 is disabled and its cache will get corrupt, causing AUTOS not to
100 expand. Instead use only -quick functions.
101 (verilog-scan-region): Fix scanning over escaped quotes.
102 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
103 (verilog-re-search-backward-quick)
104 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
105 related functions now ignore strings, to fix misparsing of strings
106 with magic comments embedded in them.
107 (verilog-read-auto-template):
108 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
109 Reported by Brad Dobbie.
110 (verilog-read-auto-template):
111 Fix 'verilog-auto-inst-template-numbers' with comments.
112 Reported by Brad Dobbie.
113 (verilog-auto-inst, verilog-auto-inst-param)
114 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
115 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
116 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
117 debugging templates without merge conflicts, bug357.
118 Reported by Brad Dobbie.
119 (verilog-read-auto-template):
120 Fix verilog-auto-inst-template-numbers with multiple templates.
121 Reported by Brad Dobbie.
122 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
123 abbrevs so user won't be asked to save.
124 (verilog-read-auto-lisp-present): Fix to start at beginning of
125 buffer in case called outside of verilog-auto.
126 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
127 to "X-2". Reported by Matthew Myers.
128 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
129 all inputs from module templates. Reported by Leith Johnson.
130 (verilog-module-inside-filename-p): Fix locating programs as with
131 modules.
132 (verilog-auto-inst-port): Fix vl-width expressions when using
133 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
134 (verilog-decls-get-regs, verilog-decls-get-signals,
135 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
136 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
137 verilog-read-decls): Combine reg and wire structures into one var
138 structure to represent SystemVerilog concepts.
139 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
140 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
141 (verilog-auto-wire-type, verilog-insert-definition):
142 Add verilog-auto-wire-type and AUTOLOGIC to support using
143 SystemVerilog "logic" keyword instead of "wire"/"reg".
144 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
145 to declares outputs that also have assignments (presumably in an
146 ifdef or generate if so there's not a driver conflict).
147 Reported by Matthew Myers.
148 (verilog-auto-declare-nettype, verilog-insert-definition):
149 Add verilog-auto-declare-nettype to fix declarations using
150 `default_nettype none. Reported by Julian Gorfajn.
151 (verilog-read-always-signals-recurse, verilog-read-decls)
152 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
153 malformed end statement, bug325. Reported by Joshua Wise and
154 Andrew Drake.
155 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
156 (verilog-inst-comment-re): Fix not deleting Interfaced comment
157 when expanding .* in interfaces, bug320. Reported by Pierre-David
158 Pfister.
159 (verilog-read-module-name): Fix import statements between module
160 name and open parenthesis, bug317. Reported by Pierre-David
161 Pfister.
162 (verilog-simplify-range-expression): Fix simplification of
163 multiplications inside AUTOWIRE connections, bug303.
164 (verilog-auto-inst-port): Support parameter expansion in
165 multidimensional arrays.
166 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
167 after "assert property". Reported by Julian Gorfajn.
168 (verilog-simplify-range-expression): Fix "couldn't merge" errors
169 with multiplication, bug303.
170 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
171 Reported by Jan Frode Lonnum.
172
173 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
174
175 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
176 (hfy-shell-file-name, hfy-shell):
177 * international/fontset.el (x-decompose-font-name): Fix typos.
178
179 2011-11-29 Ken Brown <kbrown@cornell.edu>
180
181 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
182 (gdb-version): Remove defvar.
183 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
184 (gdb-gud-context-command, gdb-non-stop-handler)
185 (gdb-current-context-command, gdb-stopped): Use it.
186 (gdb-init-1): Enable pretty printing here.
187 (gdb-non-stop-handler): Don't enable pretty-printing here. Check
188 to see if the target supports non-stop mode; if not, turn off
189 non-stop mode. Use the following.
190 (gdb-check-target-async): New defun.
191 (gud-watch, gdb-stopped): Fix whitespace.
192 (gdb-get-source-file): Don't try to display the source file if
193 `gdb-main-file' is nil.
194
195 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
196
197 * align.el: Try to generate fewer markers (bug#10047).
198 (align--set-marker): New macro.
199 (align-region): Use it.
200
201 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
202
203 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
204
205 2011-11-29 Chong Yidong <cyd@gnu.org>
206
207 * indent.el (indent-for-tab-command, indent-according-to-mode):
208 Doc fix.
209 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
210
211 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
212
213 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
214 aware of remote file names. (Bug#10124)
215
216 2011-11-29 Chong Yidong <cyd@gnu.org>
217
218 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
219
220 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
221
222 * files.el (find-file): Don't use force-same-window (bug#10144).
223 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
224 use pop-to-buffer if the selected window can't be used.
225 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
226
227 2011-11-28 Eli Zaretskii <eliz@gnu.org>
228
229 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
230 special-mode-map.
231
232 2011-11-28 Chong Yidong <cyd@gnu.org>
233
234 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
235
236 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
237
238 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
239 gdb-get-source-file-list on gdb-create-source-file-list.
240
241 2011-11-26 Eli Zaretskii <eliz@gnu.org>
242
243 * whitespace.el (whitespace-newline): Use a different foreground
244 color for 16-color light-background displays.
245
246 2011-11-24 Chong Yidong <cyd@gnu.org>
247
248 * window.el (display-buffer--special-action): Doc fix.
249
250 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
251
252 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
253 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
254 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
255 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
256 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
257 (avl-tree-stack-first):
258 * emacs-lisp/cconv.el (cconv--analyse-use):
259 * net/gnutls.el (gnutls-negotiate): Fix typos.
260
261 2011-11-24 Glenn Morris <rgm@gnu.org>
262
263 * lpr.el (lpr-windows-system, lpr-lp-system):
264 * mail/binhex.el (binhex-begin-line):
265 * progmodes/grep.el (grep-history, grep-find-history):
266 * textmodes/flyspell.el:
267 * vc/pcvs-defs.el (cvs-global-menu):
268 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
269 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
270 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
271
272 * net/tls.el: Fix case of "GnuTLS".
273
274 * paths.el (rmail-file-name): Format doc-string for make-docfile.
275
276 * version.el (emacs-build-system): Give it a doc-string.
277
278 2011-11-24 Juri Linkov <juri@jurta.org>
279
280 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
281
282 2011-11-24 Glenn Morris <rgm@gnu.org>
283
284 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
285 if called on a non-mime message just toggle the headers. (Bug#8006)
286
287 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
288
289 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
290 (allout-lead-with-comment-string, allout-structure-deleted-hook)
291 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
292 (allout-rebullet-heading, allout-open-sibtopic)
293 (allout-toggle-current-subtree-encryption)
294 (allout-toggle-subtree-encryption, allout-encrypt-string)
295 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
296 (allout-distinctive-bullets-string, allout-auto-activation):
297 * window.el (window-normalize-buffer-to-display):
298 * progmodes/verilog-mode.el (verilog-batch-indent):
299 * textmodes/bibtex.el (bibtex-field-braces-opt)
300 (bibtex-field-strings-opt):
301 * vc/cvs-status.el (cvs-tree-merge):
302 Fix typos.
303
304 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
305
306 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
307 `non-essential' to t, in order to avoid remote connections.
308
309 2011-11-23 Eli Zaretskii <eliz@gnu.org>
310
311 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
312 On MS-DOS and MS-Windows, compare with loaddefs.el
313 case-insensitively.
314
315 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
316
317 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
318
319 2011-11-23 Glenn Morris <rgm@gnu.org>
320
321 * paths.el (rmail-file-name): Reformat the doc-string so that it
322 is picked up.
323
324 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
325 (rmail-auto-file): Ignore case in the "special" field names,
326 as mail-fetch-field does for all others.
327
328 * mail/rmail.el (rmail-forward):
329 * mail/rmailkwd.el (rmail-set-label):
330 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
331 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
332
333 * mail/rmail.el (rmail-current-message): Doc fix.
334
335 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
336
337 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * server.el (server-eval-and-print): Allow C-g (bug#6585).
340
341 2011-11-22 Glenn Morris <rgm@gnu.org>
342
343 * mail/rmailmm.el (test-rmail-mime-handler)
344 (test-rmail-mime-bulk-handler)
345 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
346
347 2011-11-21 Juri Linkov <juri@jurta.org>
348
349 * calc/calc.el (calc-read-key-sequence): Let-bind `input-method-function'
350 to nil. (Bug#10018)
351
352 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
353
354 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
355 Tell the caller that the next line needs recomputation, even
356 though it doesn't start a sexp (bug#10094).
357
358 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
359
360 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
361
362 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
363
364 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
365 Use force-same-window.
366
367 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
368
369 * descr-text.el (describe-char-unicode-data):
370 * json.el (json-string-escape):
371 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
372 (Footnote-unicode, Footnote-style-p):
373 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
374
375 2011-11-20 Chong Yidong <cyd@gnu.org>
376
377 * window.el (replace-buffer-in-windows): Restore interactive spec.
378
379 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 * electric.el (electric-indent-mode): Fix last change (too optimistic).
382
383 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
384 (byte-compile-global-not-obsolete-vars): New var.
385 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
386 Use it.
387 (byte-compile-warn-obsolete): Align text with the one in *Help*.
388
389 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
390
391 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
392 * progmodes/pascal.el (electric-pascal-equal):
393 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
394 * xml.el (xml-substitute-special): Fix typos.
395
396 2011-11-20 Glenn Morris <rgm@gnu.org>
397
398 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
399 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
400 Doc fixes.
401 (rmail-decode-mime-charset): Mark as obsolete.
402
403 * mail/rmailsum.el (rmail-message-regexp-p-1):
404 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
405 Before using mime functions, check they are set. (Bug#10077)
406
407 2011-11-19 Juri Linkov <juri@jurta.org>
408
409 * info.el (Info-finder-find-node): Use `package--builtins' instead
410 of `package-alist'. Use node names formed by the pattern "Keyword "
411 and the keyword name.
412
413 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
414
415 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
416 bash.
417
418 2011-11-19 Juri Linkov <juri@jurta.org>
419
420 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
421 that calls `revert-buffer' on all Info buffers. (Bug#9915)
422 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
423 `old-history', `old-history-forward'. Add let-binding
424 `window-selected'. Remove calls to `kill-buffer',
425 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
426 before calling `Info-find-node', so `Info-find-node-2' will reread
427 the Info file. Restore window positions only when `window-selected'
428 is non-nil.
429
430 2011-11-19 Juri Linkov <juri@jurta.org>
431
432 * isearch.el (isearch-lazy-highlight-new-loop):
433 Remove condition `(not isearch-error)'. (Bug#9918)
434
435 * misearch.el (multi-isearch-search-fun): Add condition
436 `(not bound)' to ignore lazy-highlighting search.
437 Add the search-failed message "end of multi" when the end of
438 multi-sequence is reached. Uncapitalize the search-failed
439 message "Repeat for next buffer".
440
441 * info.el (Info-search): Add the search-failed message
442 "end of the manual" when the end of the manual is reached
443 in Isearch mode.
444
445 2011-11-19 Juri Linkov <juri@jurta.org>
446
447 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
448 Use non-destructive `remove' instead of `delete' because
449 `Info-history-list' stored to `Info-isearch-initial-history-list' in
450 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
451
452 2011-11-19 Juri Linkov <juri@jurta.org>
453
454 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
455 to nil instead of binding `search-ring' and `regexp-search-ring'.
456 (Bug#9185)
457
458 2011-11-19 Eli Zaretskii <eliz@gnu.org>
459
460 * simple.el (line-move): Force movement by logical lines for any
461 hscrolled window, not only when auto-hscroll-mode is on.
462 (line-move-visual): Update doc string to that effect. (Bug#10076)
463
464 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
465
466 * language/european.el (macintosh): Define as alias for mac-roman.
467
468 2011-11-19 Eli Zaretskii <eliz@gnu.org>
469
470 * mail/rmailmm.el (rmail-mime-display-header)
471 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
472 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
473 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
474 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
475 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
476 of a raw aref.
477 (rmail-mime-entity-segment): To get past the tagline, move forward
478 2 more lines, to account for the 2 empty lines that precede and
479 follow the line with the buttons.
480 (rmail-mime-update-tagline): Move one more line, to get past the
481 empty line that follows the buttons in the tagline. (Bug#9520)
482
483 2011-11-19 Martin Rudalics <rudalics@gmx.at>
484
485 * window.el (window-max-delta-1, window-min-delta-1)
486 (window-min-size-1, window-state-get-1, window-state-put-1)
487 (window-state-put-2): Use "window--" prefix.
488
489 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
490
491 * emacs-lisp/smie.el: Improve warnings and conflict detection.
492 (smie-warning-count): New var.
493 (smie-set-prec2tab): Use it.
494 (smie-bnf->prec2): Improve warnings. Add docstring.
495 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
496 (smie-bnf--set-class): New function.
497 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
498 corner case.
499
500 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
501 (compilation-error-properties, compilation-move-to-column):
502 Handle compilation-first-column while in the target buffer.
503
504 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
505 Don't hardcode point-min==1.
506
507 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
508 (eshell-rewrite-for-command): Remove workaround.
509 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
510 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
511 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
512
513 * files-x.el (modify-file-local-variable): Obey commenting conventions.
514
515 2011-11-17 Glenn Morris <rgm@gnu.org>
516
517 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
518 Ignore buffer-local generated-autoload-file if it is the same
519 as the global value. (Bug#10049)
520
521 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
522
523 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
524 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
525 (reftex-toc-previous-heading, reftex-toc-max-level)
526 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
527 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
528 (reftex-toc-do-promote, reftex-toc-promote-prepare)
529 (reftex-toc-promote-action, reftex-toc-extract-section-number)
530 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
531 (reftex-toc-rename-label, reftex-toc-visit-location)
532 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
533 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
534 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
535 leaving "*toc*" only for references to the buffer.
536
537 2011-11-17 Martin Rudalics <rudalics@gmx.at>
538
539 * window.el (window-resize, delete-window, split-window):
540 Replace window-splits by window-combination-resize.
541 * cus-start.el (window-splits): Replace by
542 window-combination-resize.
543
544 2011-11-17 Glenn Morris <rgm@gnu.org>
545
546 * progmodes/sh-script.el (sh-font-lock-keywords-var):
547 Make bash entry derive from sh entry, not shell entry.
548
549 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
550
551 * net/tramp-cache.el (tramp-flush-file-property): Flush also
552 properties of linked files. (Bug#9879)
553
554 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
555 local file name.
556
557 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
558
559 * menu-bar.el (menu-bar-file-menu):
560 * printing.el (pr-ps-utility):
561 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
562 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
563 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
564 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
565 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
566 (icalendar--convert-cyclic-to-ical)
567 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
568 (icalendar--convert-ical-to-diary)
569 (icalendar--convert-recurring-to-diary)
570 (icalendar--convert-non-recurring-all-day-to-diary)
571 (icalendar-import-format-sample):
572 * progmodes/idlw-shell.el (idlwave-shell-mode):
573 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
574 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
575 (vhdl-ps-print-init): Fix typos.
576
577 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
578
579 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
580 FSF and collapse date sequence, obscure author/maintainer email address
581 better, remove extra version line, track relocation of author's webpage.
582
583 * progmodes/python.el (python-pdbtrack-input-prompt)
584 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
585 regular python pdb prompts. Adjustments shamelessly taken exactly as
586 suggested in EmacsWiki page (tiny change):
587 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
588
589 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
590
591 * expand.el (expand-pos, expand-index, expand-point):
592 Remove redundant info from docstring.
593 (expand-add-abbrevs): Doc fix.
594 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
595 (expand-sample-perl-mode-expand-list): Fix typos.
596
597 * net/dbus.el (dbus-event-member-name):
598 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
599 * term/pc-win.el (msdos-create-frame-with-faces):
600 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
601
602 2011-11-16 Martin Rudalics <rudalics@gmx.at>
603
604 * window.el (split-window, window-state-get-1)
605 (window-state-put-1, window-state-put-2): Rename occurrences of
606 window-nest to window-combination-limit.
607 * cus-start.el (window-nest): Rename to
608 window-combination-limit.
609
610 2011-11-16 Chong Yidong <cyd@gnu.org>
611
612 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
613 regexp (Bug#10033).
614
615 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
616
617 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
618 `completing-read' will remove *Completions* and will preserve
619 current-buffer for us.
620 (tmm-add-prompt): Users of *Completions* will always (re)set its
621 major mode.
622 (tmm-old-comp-map): Remove.
623
624 2011-11-16 Glenn Morris <rgm@gnu.org>
625
626 * mail/rmailedit.el: Require rmailmm when compiling.
627 (rmail-old-mime-state): New declaration.
628 (rmail-edit-current-message): If editing a mime message,
629 edit the "raw" message from the mbox buffer.
630 (rmail-cease-edit): Handle mime messages. (Bug#9840)
631
632 2011-11-15 Glenn Morris <rgm@gnu.org>
633
634 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
635 which wasn't being used. Add optional arg to force given state.
636 (rmail-mime): Add optional arg to force given state.
637
638 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
639
640 * allout.el (allout-encryption-plaintext-sanitization-regexps):
641 * frame.el (display-mm-dimensions-alist):
642 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
643 (outline-move-subtree-down):
644 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
645 (newsticker--treeview-do-get-node):
646 * net/quickurl.el (quickurl-list-buffer-name):
647 * progmodes/dcl-mode.el (dcl-mode):
648 * progmodes/gdb-mi.el (gdb-mapcar*):
649 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
650
651 2011-11-15 Glenn Morris <rgm@gnu.org>
652
653 * mail/rmail.el (rmail-file-coding-system): It's only ever used
654 in a boolean sense, so just make it a boolean, and fix the doc.
655 (rmail-show-mime-function, rmail-mime-feature)
656 (rmail-require-mime-maybe): Doc fixes.
657 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
658
659 * mail/rmailmm.el (rmail-show-mime): Doc fix.
660
661 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
662
663 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
664 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
665 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
666 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
667
668 2011-11-15 Glenn Morris <rgm@gnu.org>
669
670 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
671 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
672 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
673 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
674 (rmail-mime, rmail-show-mime): Doc fixes.
675
676 * term/ns-win.el (mode-line-frame-identification):
677 Leave it alone. (Bug#10051)
678
679 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
680
681 * mail/rmailout.el (rmail-output-to-rmail-buffer):
682 Handle empty buffers. (Bug#9978)
683
684 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
685
686 * international/mule.el (define-charset):
687 * mail/rmailmm.el (rmail-mime-find-header-encoding):
688 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
689 * progmodes/verilog-mode.el (verilog-backward-token):
690 * textmodes/ispell.el (lookup-words):
691 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
692
693 2011-11-14 Glenn Morris <rgm@gnu.org>
694
695 * progmodes/executable.el
696 (executable-make-buffer-file-executable-if-script-p):
697 Handle file-modes returning nil.
698
699 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
700 message - not necessary, and causes problems. (Bug#9831)
701
702 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
703
704 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
705
706 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
707 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
708 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
709
710 2011-11-12 Martin Rudalics <rudalics@gmx.at>
711
712 * window.el (window-resize, delete-window): Use window-splits
713 variable instead of function.
714 (window-state-get-1, window-state-put-2, window-state-put):
715 Don't deal with windows' splits status.
716
717 2011-11-12 Glenn Morris <rgm@gnu.org>
718
719 * apropos.el (apropos-do-all, apropos-library, apropos-value)
720 (apropos-documentation): Doc fixes.
721
722 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
723
724 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
725 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
726
727 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * electric.el (electric-indent-post-self-insert-function): Make it
730 possible for a char to only indent in some circumstances.
731 (electric-indent-mode): Simplify.
732
733 2011-11-11 Martin Rudalics <rudalics@gmx.at>
734
735 * window.el (windows-with-parameter): Remove unused function.
736 (windows-at-side): Rename to window-at-side-list.
737 (window-check, window-atom-check, window-atom-check-1)
738 (window-side-check, window-size-ignore, window-size-fixed-1)
739 (window-in-direction-2): Prefix with "window--".
740 (window-tree-1): Rename to window--subtree, fix doc-string.
741
742 2011-11-11 Glenn Morris <rgm@gnu.org>
743
744 * subr.el (eval-after-load): If FILE is already loaded,
745 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
746
747 2011-11-10 Glenn Morris <rgm@gnu.org>
748
749 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
750 Call svn via vc-svn-command rather than vc-do-command.
751 (vc-svn-command): Add --non-interactive. (Bug#9993)
752 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
753
754 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
755 Add toggle-read-only. (Bug#7292)
756 * files.el (toggle-read-only): Mention that it should only
757 be used interactively. (Bug#10006)
758
759 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * progmodes/compile.el (compilation-error-regexp-alist-alist):
762 Adjust regexp for OCaml warnings.
763
764 * electric.el (electric-pair-post-self-insert-function): Let user
765 turn it off buffer-locally (bug#9932).
766
767 * progmodes/python.el (python-beginning-of-statement):
768 Rewrite (bug#2703).
769
770 * progmodes/compile.el: Better handle TABs (bug#9749).
771 (compilation-internal-error-properties)
772 (compilation-next-error-function): Obey the target buffer's
773 compilation-error-screen-columns.
774
775 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
776
777 * progmodes/meta-mode.el: Remove obsolete comments.
778 (meta-right-comment-regexp, meta-ignore-comment-regexp):
779 Fix typos in docstrings.
780
781 2011-11-09 Martin Rudalics <rudalics@gmx.at>
782
783 * window.el (window-size-fixed-p): Rewrite doc-string.
784 (window-resizable-p): Rename to window--resizable-p. Update callers.
785 (window--resizable): New function. Make all callers of
786 window-resizable call window--resizable instead.
787 (window-resizable): Rewrite in terms of window--resizable.
788
789 2011-11-08 Glenn Morris <rgm@gnu.org>
790
791 * progmodes/delphi.el (delphi-mode-syntax-table):
792 Let define-derived-mode define a proper syntax table. (Bug#9994)
793
794 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
795
796 * window.el: Stay away from defsubst.
797 (window-list-no-nils): Remove.
798 (window-state-get-1, window-state-get): Use backquote instead.
799
800 2011-11-08 thierry <thierry.volpiatto@gmail.com>
801
802 * emacs-lisp/find-func.el (find-function-read):
803 Fix incorrect use of default argument in `completing-read'.
804
805 2011-11-08 Martin Rudalics <rudalics@gmx.at>
806
807 * window.el (display-buffer-function, special-display-function):
808 Mention display-buffer-record-window but do not mention
809 help-setup parameter in doc-strings.
810 (window-min-delta): Fix doc-string typo.
811
812 2011-11-08 Chong Yidong <cyd@gnu.org>
813
814 * window.el (window-total-height, window-total-width): Doc fix.
815 (window-body-size): Move from C.
816 (window-body-height, window-body-width): Move to C.
817
818 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * window.el: Make special-display like display-buffer-alist (bug#9532).
821 (display-buffer--special-action): New function, morphed
822 from display-buffer--special.
823 (display-buffer): Use it to handle special-display-buffers at higher
824 priority (just after display-buffer-alist).
825 (display-buffer-fallback-action, display-buffer--other-frame-action)
826 (pop-to-buffer-same-window): Remove display-buffer--special.
827
828 2011-11-07 Glenn Morris <rgm@gnu.org>
829
830 * calendar/cal-menu.el (cal-menu-set-date-title):
831 Do nothing if not in a calendar. (Bug#9976)
832
833 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
834
835 * files.el (find-file): Always use selected-window.
836
837 2011-11-07 Martin Rudalics <rudalics@gmx.at>
838
839 * window.el (window-combinations): Make WINDOW argument
840 mandatory. Rewrite doc-string.
841 (walk-window-subtree, window-atom-check, window-min-delta)
842 (window-max-delta, window--resize-this-window)
843 (window--resize-root-window-vertically, window-tree)
844 (balance-windows, window-state-put): Rewrite doc-strings as to
845 not mention the term "subwindow".
846 (window--resize-subwindows-skip-p): Rename to
847 window--resize-child-windows-skip-p.
848 (window--resize-subwindows-normal): Rename to
849 window--resize-child-windows-normal.
850 (window--resize-subwindows): Rename to
851 window--resize-child-windows.
852 (window-or-subwindow-p): Rename to window--in-subtree-p.
853
854 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
855
856 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
857 Ensure that mbox format messages end in two newlines (Bug#9974).
858
859 2011-11-06 Chong Yidong <cyd@gnu.org>
860
861 * window.el (window-combination-p): Function deleted; its
862 side-effect is not used in any existing code.
863 (window-combinations, window-combined-p): Call window-*-child
864 directly.
865
866 2011-11-05 Chong Yidong <cyd@gnu.org>
867
868 * window.el (window-valid-p): Rename from window-any-p.
869 (window-size-ignore, window-state-get): Callers changed.
870 (window-normalize-window): Rename from window-normalize-any-window.
871 New arg LIVE-ONLY, replacing window-normalize-live-window.
872 (window-normalize-live-window): Delete.
873 (window-combination-p, window-combined-p, window-combinations)
874 (walk-window-subtree, window-atom-root, window-min-size)
875 (window-sizable, window-sizable-p, window-size-fixed-p)
876 (window-min-delta, window-max-delta, window-resizable)
877 (window-resizable-p, window-full-height-p, window-full-width-p)
878 (window-current-scroll-bars, window-point-1, set-window-point-1)
879 (window-at-side-p, window-in-direction, window-resize)
880 (adjust-window-trailing-edge, maximize-window, minimize-window)
881 (window-deletable-p, delete-window, delete-other-windows)
882 (record-window-buffer, unrecord-window-buffer)
883 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
884 (quit-window, split-window, window-state-put)
885 (set-window-text-height, fit-window-to-buffer)
886 (shrink-window-if-larger-than-buffer): Callers changed.
887
888 2011-11-04 Eli Zaretskii <eliz@gnu.org>
889
890 * mail/rmail.el (rmail-simplified-subject): Decode subject with
891 rfc2047-decode-string.
892 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
893 warnings.
894
895 * window.el (window-body-height, window-body-width): Mention in
896 the doc string that the return values are in frame's canonical
897 units. (Bug#9949)
898
899 2011-11-03 Alan Mackenzie <acm@muc.de>
900
901 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
902 change in cc-engine.el.
903
904 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * window.el (switch-to-buffer): Use `force-same-window' interactively.
907
908 2011-11-02 Martin Rudalics <rudalics@gmx.at>
909
910 * window.el (quit-window): Call unrecord-window-buffer after
911 showing another buffer in the window. (Bug#9937)
912 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
913
914 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
915
916 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
917 Accept status with more than 9 shelves. (Bug#9935)
918 Reported by Colin D Bennett <colin@gibibit.com>.
919
920 2011-11-01 Martin Rudalics <rudalics@gmx.at>
921
922 * help.el (with-help-window): Don't reference
923 temp-buffer-show-specifiers in doc-string.
924
925 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
926
927 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
928 menu-item.
929
930 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
931
932 * whitespace.el: New version 13.2.2.
933 (whitespace-newline-mode): Disable properly. Reported by Sarah
934 <EmacsWiki>.
935
936 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
937
938 * net/newst-treeview.el: Remove "Time-stamp".
939 (newsticker--group-manage-orphan-feeds): Do not call
940 newsticker--treeview-tree-update.
941 (newsticker-treeview-update, newsticker-treeview):
942 Call newsticker--treeview-tree-update if necessary.
943
944 2011-10-30 Martin Rudalics <rudalics@gmx.at>
945
946 * window.el (window-iso-combination-p, window-iso-combined-p)
947 (window-iso-combinations): Remove "iso-" infix.
948 Suggested by Chong Yidong.
949 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
950 (window-max-delta-1, window-resize, window--resize-siblings)
951 (window--resize-this-window, adjust-window-trailing-edge)
952 (split-window, balance-windows-1)
953 (shrink-window-if-larger-than-buffer):
954 * calendar/calendar.el (calendar-generate-window):
955 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
956
957 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
960 in place (bug#9907).
961 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
962 (eshell-rewrite-if-command, eshell-rewrite-for-command)
963 (eshell-structure-basic-command, eshell-rewrite-while-command)
964 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
965 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
966 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
967 (eshell-do-pipelines-synchronously, eshell-eval-command):
968 Use backquotes and prefer setq to set.
969 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
970 (eshell-macrop): Use functionp.
971 (eshell-do-eval): Handle multiple expressions in `while' body.
972
973 2011-10-30 Chong Yidong <cyd@gnu.org>
974
975 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
976 instead of set-mark (Bug#9810).
977
978 2011-10-30 Chong Yidong <cyd@gnu.org>
979
980 * window.el (split-window-below, split-window-right): Rename from
981 split-window-above-each-other and split-window-side-by-side
982 respectively. All callers changed.
983 (split-window-sensibly, split-window-sensibly): Use them.
984 (split-window-keep-point): Doc fix.
985
986 * isearch.el: Add isearch-scroll property to split-window-below
987 and split-window-right.
988
989 * follow.el (follow-mode):
990 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
991 * progmodes/ada-xref.el (ada-gdb-application):
992 * emulation/vip.el (vip-buffer-in-two-windows):
993 * image-dired.el (image-dired-dired-with-window-configuration):
994 * dired-x.el (dired-do-find-marked-files):
995 * dired.el (dired-pop-to-buffer):
996 * bs.el (bs--show-with-configuration):
997 * vc/emerge.el (emerge-setup-windows):
998 * textmodes/two-column.el (2C-two-columns):
999 * textmodes/reftex-toc.el (reftex-toc):
1000 * progmodes/gdb-mi.el (gdb-setup-windows):
1001 * progmodes/fortran.el (fortran-window-create):
1002 * net/newst-treeview.el (newsticker--treeview-window-init):
1003 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1004 * emulation/tpu-edt.el (tpu-gold-map):
1005 * emulation/crisp.el (crisp-mode-map):
1006 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1007
1008 2011-10-29 Chong Yidong <cyd@gnu.org>
1009
1010 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1011
1012 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1013
1014 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1015 forged Ispell output (Bug#7904).
1016
1017 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1018
1019 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * doc-view.el: Avoid ugly errors about not finding nil.
1022 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1023 (doc-view-dvipdf-program, doc-view-unoconv-program)
1024 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1025 Avoid nil or absolute file name as default value.
1026 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1027
1028 2011-10-28 Alan Mackenzie <acm@muc.de>
1029
1030 * progmodes/cc-defs.el (c-version): -> 5.32.2.
1031
1032 2011-10-28 Alan Mackenzie <acm@muc.de>
1033
1034 Amend the handling of c-beginning/end-of-defun in nested declaration
1035 scopes.
1036
1037 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1038 cc-langs.el. Change it to a defcustom.
1039
1040 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1041 cc-vars.el.
1042
1043 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1044 Prevent "class foo : bar" being spuriously recognized as a label.
1045
1046 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
1047 Add parameter `inclusive' (to include enclosing braces in the region).
1048 (c-widen-to-enclosing-decl-scope): New function.
1049 (c-while-widening-to-decl-block): New macro.
1050 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1051 outward for defun boundaries, and correspondingly change symbol
1052 `respect-enclosure' to `go-outward'.
1053 (c-declaration-limits): Change algorithm to report only the "innermost"
1054 defun's boundaries.
1055
1056 2011-10-28 Deniz Dogan <deniz@dogan.se>
1057
1058 * net/rcirc.el (rcirc-mode): Use hard newlines.
1059
1060 2011-10-28 Alan Mackenzie <acm@muc.de>
1061
1062 Amend to indent and fontify macros "which include their own semicolon"
1063 correctly, using the "virtual semicolon" mechanism.
1064
1065 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
1066
1067 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1068 Recode to scan one line at a time rather than having \n and \r
1069 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
1070 (c-forward-label): Amend for virtual semicolons.
1071 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
1072
1073 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1074 of the new C macros.
1075
1076 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
1077 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1078 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
1079 (c-opt-cpp-macro-define): Make into a full language variable.
1080 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1081 AWK Mode (including \n, \r) removed, no longer needed.
1082
1083 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1084 Invoke c-make-macro-with-semi-re.
1085
1086 * progmodes/cc-vars.el (c-macro-with-semi-re):
1087 (c-macro-names-with-semicolon): New variables.
1088 (c-make-macro-with-semi-re): New function.
1089
1090 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1091
1092 * vc/log-edit.el: Fill empty field rather than adding new one.
1093 (log-edit-add-field): New function.
1094 (log-edit-insert-changelog): Use it.
1095
1096 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1097
1098 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1099
1100 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1103 (gdb--check-interpreter): New function.
1104 (gdb): Use it.
1105
1106 2011-10-27 Glenn Morris <rgm@gnu.org>
1107
1108 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1109 (least-positive-float, least-negative-float)
1110 (least-positive-normalized-float, least-negative-normalized-float)
1111 (float-epsilon, float-negative-epsilon):
1112 Remove unnecessary declarations.
1113
1114 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1115 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1116 (least-positive-float, least-negative-float)
1117 (least-positive-normalized-float, least-negative-normalized-float)
1118 (float-epsilon, float-negative-epsilon): Add doc-strings,
1119 based on those in cl.texi.
1120
1121 * files.el (set-visited-file-name): If the major-mode changed,
1122 reload the local variables. (Bug#9796)
1123
1124 2011-10-27 Chong Yidong <cyd@gnu.org>
1125
1126 * subr.el (change-major-mode-after-body-hook): New hook.
1127 (run-mode-hooks): Run it.
1128
1129 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1130 Use change-major-mode-before-body-hook.
1131
1132 * simple.el (fundamental-mode):
1133 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1134 change introducing fundamental-mode-hook.
1135
1136 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
1137
1138 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
1139
1140 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
1141
1142 * ido.el (ido-file-name-all-completions-1): Do not require
1143 tramp.el explicitly. (Bug#7583)
1144
1145 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1146
1147 * progmodes/octave-mod.el:
1148 * progmodes/octave-inf.el: Update maintainer.
1149
1150 2011-10-26 Chong Yidong <cyd@gnu.org>
1151
1152 * subr.el (with-wrapper-hook): Rewrite doc.
1153
1154 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
1155
1156 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
1157 filenames "/method:foo:". (Bug#9793)
1158
1159 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1162 (bug#9865).
1163
1164 2011-10-24 Glenn Morris <rgm@gnu.org>
1165
1166 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
1167
1168 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
1169
1170 * notifications.el: Add the requirement of a running D-Bus session
1171 bus to the Commentary.
1172
1173 2011-10-24 Juri Linkov <juri@jurta.org>
1174
1175 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1176 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1177 (Bug#9364)
1178
1179 2011-10-24 Juri Linkov <juri@jurta.org>
1180
1181 * info.el (Info-following-node-name-re): Add newline to the list
1182 of allowed characters for leading space. (Bug#9824)
1183
1184 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * progmodes/octave-inf.el (inferior-octave-mode-map):
1187 Fix C-c C-h binding.
1188 * progmodes/octave-mod.el (octave-help): Remove.
1189
1190 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
1191
1192 Sync with Tramp 2.2.3.
1193
1194 * net/tramp-cache.el (top): Pacify byte-compiler using
1195 `init-file-user' and `site-run-file'.
1196
1197 * net/trampver.el: Update release number.
1198
1199 2011-10-23 Chong Yidong <cyd@gnu.org>
1200
1201 * files.el (toggle-read-only): Remove obsolete comment about
1202 version control.
1203
1204 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
1205 for toggle-read-only. Note that this hasn't called vc-next-action
1206 since 2008-05-02, though it wasn't documented at the time.
1207
1208 * vc/ediff-init.el (ediff-toggle-read-only-function):
1209 Use toggle-read-only.
1210
1211 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
1212
1213 Fix bug #9560, sporadic wrong indentation; improve instrumentation
1214 of c-parse-state.
1215
1216 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1217 correct faulty logical expression.
1218 (c-parse-state-state, c-record-parse-state-state):
1219 (c-replay-parse-state-state): New defvar/defuns.
1220 (c-debug-parse-state): Use new functions.
1221
1222 2011-10-22 Martin Rudalics <rudalics@gmx.at>
1223
1224 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
1225 last fix. Use window-in-direction correctly.
1226
1227 2011-10-21 Chong Yidong <cyd@gnu.org>
1228
1229 * progmodes/idlwave.el (idlwave-mode):
1230 * progmodes/vera-mode.el (vera-mode): No need to set
1231 require-final-newline; that's done in prog-mode.
1232 Suggested by Stefan Monnier.
1233
1234 2011-10-21 Martin Rudalics <rudalics@gmx.at>
1235
1236 * mouse.el (mouse-drag-window-above)
1237 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1238 (mouse-drag-mode-line-1, mouse-drag-header-line)
1239 (mouse-drag-vertical-line-rightward-window): Remove.
1240 (mouse-drag-line): New function.
1241 (mouse-drag-mode-line, mouse-drag-header-line)
1242 (mouse-drag-vertical-line): Call mouse-drag-line.
1243 * window.el (window-at-side-p, windows-at-side): New functions.
1244
1245 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
1246
1247 * tar-mode.el (tar-grind-file-mode):
1248 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
1249
1250 2011-10-21 Chong Yidong <cyd@gnu.org>
1251
1252 * progmodes/idlwave.el (idlwave-mode):
1253 * progmodes/vera-mode.el (vera-mode):
1254 Use mode-require-final-newline.
1255
1256 2011-10-20 Glenn Morris <rgm@gnu.org>
1257
1258 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
1259
1260 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
1261
1262 * emulation/cua-base.el (cua-set-mark): Fix case of string.
1263
1264 2011-10-20 Chong Yidong <cyd@gnu.org>
1265
1266 * emulation/cua-base.el (cua-mode):
1267 * mail/footnote.el (footnote-mode):
1268 * mail/mailabbrev.el (mail-abbrevs-mode):
1269 * net/xesam.el (xesam-minor-mode):
1270 * progmodes/bug-reference.el (bug-reference-mode):
1271 * progmodes/cap-words.el (capitalized-words-mode):
1272 * progmodes/compile.el (compilation-minor-mode)
1273 (compilation-shell-minor-mode):
1274 * progmodes/gud.el (gud-tooltip-mode):
1275 * progmodes/hideif.el (hide-ifdef-mode):
1276 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1277 * progmodes/subword.el (subword-mode):
1278 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1279 * progmodes/which-func.el (which-function-mode):
1280 * term/tvi970.el (tvi970-set-keypad-mode):
1281 * term/vt100.el (vt100-wide-mode):
1282 * textmodes/flyspell.el (flyspell-mode):
1283 * textmodes/ispell.el (ispell-minor-mode):
1284 * textmodes/nroff-mode.el (nroff-electric-mode):
1285 * textmodes/paragraphs.el (use-hard-newlines):
1286 * textmodes/refill.el (refill-mode):
1287 * textmodes/reftex.el (reftex-mode):
1288 * textmodes/rst.el (rst-minor-mode):
1289 * textmodes/sgml-mode.el (html-autoview-mode)
1290 (sgml-electric-tag-pair-mode):
1291 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1292 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1293 * emulation/crisp.el (crisp-mode):
1294 * emacs-lisp/eldoc.el (eldoc-mode):
1295 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1296 minor mode behavior.
1297
1298 2011-10-19 Juri Linkov <juri@jurta.org>
1299
1300 * descr-text.el (describe-char): Add #x2010 and #x2011 to
1301 the list of hard-coded chars with escape-glyph face.
1302
1303 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1304
1305 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1306
1307 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
1308
1309 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1310 running process.
1311
1312 2011-10-19 Glenn Morris <rgm@gnu.org>
1313
1314 * vc/vc-bzr.el (vc-bzr-after-dir-status):
1315 Ignore ignored files. (Bug#9726)
1316
1317 2011-10-19 Chong Yidong <cyd@gnu.org>
1318
1319 Doc fix for minor modes, stating that an omitted argument enables
1320 the mode unconditionally when called from Lisp.
1321
1322 * abbrev.el (abbrev-mode):
1323 * allout.el (allout-mode):
1324 * autoinsert.el (auto-insert-mode):
1325 * autoarg.el (autoarg-mode, autoarg-kp-mode):
1326 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1327 (global-auto-revert-mode):
1328 * battery.el (display-battery-mode):
1329 * composite.el (global-auto-composition-mode)
1330 (auto-composition-mode):
1331 * delsel.el (delete-selection-mode):
1332 * desktop.el (desktop-save-mode):
1333 * dired-x.el (dired-omit-mode):
1334 * dirtrack.el (dirtrack-mode):
1335 * doc-view.el (doc-view-minor-mode):
1336 * double.el (double-mode):
1337 * electric.el (electric-indent-mode, electric-pair-mode):
1338 * emacs-lock.el (emacs-lock-mode):
1339 * epa-hook.el (auto-encryption-mode):
1340 * follow.el (follow-mode):
1341 * font-core.el (font-lock-mode):
1342 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1343 * help.el (temp-buffer-resize-mode):
1344 * hilit-chg.el (highlight-changes-mode)
1345 (highlight-changes-visible-mode):
1346 * hi-lock.el (hi-lock-mode):
1347 * hl-line.el (hl-line-mode, global-hl-line-mode):
1348 * icomplete.el (icomplete-mode):
1349 * ido.el (ido-everywhere):
1350 * image-file.el (auto-image-file-mode):
1351 * image-mode.el (image-minor-mode):
1352 * iswitchb.el (iswitchb-mode):
1353 * jka-cmpr-hook.el (auto-compression-mode):
1354 * linum.el (linum-mode):
1355 * longlines.el (longlines-mode):
1356 * master.el (master-mode):
1357 * mb-depth.el (minibuffer-depth-indicate-mode):
1358 * menu-bar.el (menu-bar-mode):
1359 * minibuf-eldef.el (minibuffer-electric-default-mode):
1360 * mouse-sel.el (mouse-sel-mode):
1361 * msb.el (msb-mode):
1362 * mwheel.el (mouse-wheel-mode):
1363 * outline.el (outline-minor-mode):
1364 * paren.el (show-paren-mode):
1365 * recentf.el (recentf-mode):
1366 * reveal.el (reveal-mode, global-reveal-mode):
1367 * rfn-eshadow.el (file-name-shadow-mode):
1368 * ruler-mode.el (ruler-mode):
1369 * savehist.el (savehist-mode):
1370 * scroll-all.el (scroll-all-mode):
1371 * scroll-bar.el (scroll-bar-mode):
1372 * server.el (server-mode):
1373 * shell.el (shell-dirtrack-mode):
1374 * simple.el (auto-fill-mode, transient-mark-mode)
1375 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1376 (line-number-mode, column-number-mode, size-indication-mode)
1377 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1378 * strokes.el (strokes-mode):
1379 * time.el (display-time-mode):
1380 * t-mouse.el (gpm-mouse-mode):
1381 * tool-bar.el (tool-bar-mode):
1382 * tooltip.el (tooltip-mode):
1383 * type-break.el (type-break-mode-line-message-mode)
1384 (type-break-query-mode):
1385 * view.el (view-mode):
1386 * whitespace.el (whitespace-mode, whitespace-newline-mode)
1387 (global-whitespace-mode, global-whitespace-newline-mode):
1388 * xt-mouse.el (xterm-mouse-mode): Doc fix.
1389
1390 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1391 Fix autogenerated docstring.
1392
1393 2011-10-19 Juri Linkov <juri@jurta.org>
1394
1395 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1396 by checking environment variables "DESKTOP_SESSION" and
1397 "XDG_CURRENT_DESKTOP". (Bug#9779)
1398
1399 2011-10-19 Juri Linkov <juri@jurta.org>
1400
1401 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1402 (browse-url-chromium-program, browse-url-chromium-arguments):
1403 New defcustoms.
1404 (browse-url-default-browser): Check for `browse-url-chromium' and
1405 call `browse-url-chromium-program'.
1406 (browse-url-chromium): New command. (Bug#9779)
1407
1408 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
1409
1410 * facemenu.el (list-colors-duplicates): On Windows, detect more
1411 duplicates by assuming that only colors matching "^System" are
1412 special "system colors". (Bug#9722)
1413
1414 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1415
1416 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1417 to distinguish the author from the committer.
1418
1419 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
1420
1421 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1422
1423 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1424
1425 * international/mule.el (sgml-html-meta-auto-coding-function):
1426 Add support for detecting encoding in HTML5 specified only as
1427 <meta charset="UTF-8">. Implementation just makes http-equiv and
1428 content-type parts from HTML4 encoding string optional. (Bug#9716)
1429
1430 2011-10-18 Glenn Morris <rgm@gnu.org>
1431
1432 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1433
1434 2011-10-18 Chong Yidong <cyd@gnu.org>
1435
1436 * faces.el (cursor): Doc fix.
1437
1438 2011-10-17 Chong Yidong <cyd@gnu.org>
1439
1440 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1441
1442 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
1443
1444 * dirtrack.el (dirtrack): Support shell buffers with path
1445 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1446
1447 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1448
1449 * json.el: Bump version to 1.3 and note change in History.
1450 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1451
1452 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * comint.el (comint-insert-input, comint-send-input)
1455 (comint-get-old-input-default, comint-backward-matching-input)
1456 (comint-next-prompt): Use nil instead of `input' for field property of
1457 past user input (bug#114).
1458
1459 * minibuffer.el (completion--replace): Inherit surrounding properties
1460 (bug#114).
1461 (minibuffer-complete-and-exit): Use it.
1462
1463 * comint.el (comint--table-subvert): Quote the all-completions output
1464 (bug#9160).
1465
1466 2011-10-17 Martin Rudalics <rudalics@gmx.at>
1467
1468 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
1469
1470 * menu-bar.el (menu-bar-file-menu): Add entry for making new
1471 window on right of selected. (Bug#9350) Reword other window
1472 entries and separate them from frame entries.
1473
1474 2011-10-15 Glenn Morris <rgm@gnu.org>
1475
1476 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1477 Doc fixes.
1478
1479 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
1480
1481 * net/network-stream.el (network-stream-open-starttls):
1482 Improve detection of failure due to lack of TLS support.
1483
1484 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1485 putting the input text in front and in bold.
1486
1487 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1490
1491 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1492 empty buffer.
1493
1494 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1495 unread-command-events rather than pushing yet-another event.
1496
1497 2011-10-14 Eli Zaretskii <eliz@gnu.org>
1498
1499 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1500 the explanation of the possible choices. Make the options passed
1501 to completing-read shorter.
1502
1503 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1504
1505 * textmodes/flyspell.el (flyspell-large-region): Make sure
1506 extended character mode is used if defined (Bug#1339).
1507
1508 2011-10-13 Eli Zaretskii <eliz@gnu.org>
1509
1510 * simple.el (what-cursor-position): Fix the display of the
1511 character info for LRE, LRO, RLE, and RLO characters by appending
1512 an invisible PDF.
1513
1514 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1515
1516 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1517 even in case of error; add debug spec; simplify data flow.
1518 (with-timeout-handler): Remove.
1519
1520 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
1521
1522 Fix Bug#6019, Bug#9315.
1523
1524 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1525 complete `buffer-file-name', the local file name part could look
1526 remotely (for example on VMS).
1527
1528 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1529 `tramp-run-real-handler'.
1530 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1531 already quoted by '"'.
1532
1533 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1534 Let `file-name-handler-alist' be nil, the local file name part
1535 could look remotely (for example on VMS).
1536
1537 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1540 from here...
1541 (flyspell-post-command-hook): ...to here.
1542
1543 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1544
1545 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1546 if not needed.
1547 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1548 using completion. Protect against "slow" callers.
1549 Remove the "message hack".
1550
1551 2011-10-11 Juri Linkov <juri@jurta.org>
1552
1553 * isearch.el (isearch-lazy-highlight-word): New variable.
1554 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1555 Use it. (Bug#9727)
1556
1557 2011-10-11 Glenn Morris <rgm@gnu.org>
1558
1559 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1560 like f90-previous-statement does.
1561
1562 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1563
1564 * eshell/eshell.el (eshell-command): History should be saved
1565 only in interactive use, to avoid error.
1566
1567 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * minibuffer.el (completion-file-name-table): Fix last change,
1570 i.e. ignore normal errors but not the other ones.
1571
1572 2011-10-10 Martin Rudalics <rudalics@gmx.at>
1573
1574 * window.el (special-display-buffer-names)
1575 (special-display-regexps): Remove some remnants of earlier
1576 changes from doc-strings.
1577 (quit-windows-on): New function.
1578
1579 * vc/vc.el (vc-revert, vc-rollback):
1580 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1581 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
1582 (Bug#6183) (Bug#7074) (Bug#7447)
1583
1584 2011-10-09 Martin Rudalics <rudalics@gmx.at>
1585
1586 * window.el (frame-auto-hide-function): Add version tag.
1587 (Bug#9699)
1588
1589 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
1590
1591 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1592 condition.
1593
1594 2011-10-09 Leo Liu <sdl.web@gmail.com>
1595
1596 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1597 (Bug#9701)
1598
1599 2011-10-08 Glenn Morris <rgm@gnu.org>
1600
1601 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1602 before the first code statement zero indent. (Bug#9690)
1603
1604 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
1605
1606 * simple.el (count-words-region): Always count in the region.
1607 Report the number of lines and characters too.
1608 (count-words): New command, which counts in the buffer if the
1609 region is inactive, as count-words-region used to.
1610 (count-words--message): New function. Handle plurals.
1611 (count-lines-region): Make it an alias for count-words-region.
1612
1613 * bindings.el (esc-map): Replace count-lines-region with
1614 count-words-region.
1615
1616 2011-10-08 Martin Rudalics <rudalics@gmx.at>
1617
1618 * window.el (window--delete): Delete dedicated frame
1619 unconditionally when argument KILL is non-nil. (Bug#9699)
1620 (switch-to-buffer): Fix doc-string typo.
1621
1622 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1623
1624 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1625
1626 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
1627
1628 * bindings.el ([M-left],[M-right]): Bind to left-word and
1629 right-word respectively.
1630
1631 2011-10-07 Glenn Morris <rgm@gnu.org>
1632
1633 * cus-start.el (debug-on-quit): Fix custom type.
1634
1635 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1636
1637 * subr.el (define-key-after): Clarify that the function is not
1638 useful for non-menu keymaps.
1639
1640 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1641
1642 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1643
1644 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
1645 in current minibuffer (Fix bug with recursive minibuffers).
1646
1647 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
1648
1649 * progmodes/gdb-mi.el (gdb): Doc fix.
1650
1651 2011-10-05 Martin Rudalics <rudalics@gmx.at>
1652
1653 * window.el (frame-auto-hide-function): New option replacing
1654 frame-auto-delete. Suggested by Stefan Monnier.
1655 (window--delete): Call frame-auto-hide-function instead of
1656 investigating frame-auto-delete.
1657 (window-point-1, set-window-point-1): New functions.
1658 (window-in-direction, record-window-buffer, window-state-get-1)
1659 (display-buffer-record-window): Use window-point-1 instead of
1660 window-point.
1661 (set-window-buffer-start-and-point): Use set-window-point-1.
1662
1663 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1664
1665 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1666
1667 2011-10-05 Glenn Morris <rgm@gnu.org>
1668
1669 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1670 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1671
1672 2011-10-05 Leo Liu <sdl.web@gmail.com>
1673
1674 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1675 works with buffer object.
1676
1677 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1678
1679 * mpc.el (mpc-tool-bar-map): Add labels.
1680
1681 2011-10-04 Glenn Morris <rgm@gnu.org>
1682
1683 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1684
1685 2011-10-04 Martin Rudalics <rudalics@gmx.at>
1686
1687 * window.el (window--delete): New function.
1688 (frame-auto-delete): Resuscitate option.
1689 (bury-buffer, replace-buffer-in-windows)
1690 (quit-window): Rewrite using window--delete.
1691 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1692 Pass display-buffer-mark-dedicated to window--display-buffer-2
1693 (Bug#9639).
1694
1695 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1696
1697 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1698 returns a list (bug#9554). Add remote file name completion.
1699 * comint.el (comint--table-subvert): Curry and get quote&unquote
1700 functions as arguments.
1701 (comint--complete-file-name-data): Adjust call accordingly.
1702 * pcomplete.el (pcomplete--table-subvert): Remove.
1703 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1704
1705 * minibuffer.el (completion-table-case-fold): Use currying.
1706 (completion--styles-type, completion--cycling-threshold-type):
1707 New constants.
1708 (completion-styles, completion-category-overrides)
1709 (completion-cycle-threshold): Use them.
1710 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1711 completion-table-case-fold.
1712
1713 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
1714
1715 * minibuffer.el (completion-category-overrides): Fix type of styles
1716 and add more user friendly tags (bug#9660).
1717
1718 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1721 (mule-input-method-string): New widget.
1722 (default-input-method, language-info-custom-alist): Use it.
1723
1724 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * pcomplete.el: Require comint.
1727 (pcomplete--common-suffix): Remove.
1728 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1729 (pcomplete--table-subvert): Sync with comint--table-subvert.
1730 (pcomplete--entries): Use comint-completion-file-name-table.
1731 * comint.el (comint-unquote-filename): Simplify.
1732 (comint-completion-file-name-table): New function (bug#9616).
1733 (comint--complete-file-name-data): Use it.
1734
1735 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1736 (pcmpl-gnu-tar-buffer): Remove.
1737 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
1738 around. Make sure pcomplete-suffix-list is only changed temporarily.
1739 Don't look inside the tar's file if it's too large.
1740
1741 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
1742
1743 * cus-edit.el (custom-mode-map):
1744 * epa.el (epa-key-list-mode-map):
1745 * man.el (Man-mode-map):
1746 * startup.el (splash-screen-keymap):
1747 * simple.el (special-mode-map): Use scroll-up-command and
1748 scroll-down-command.
1749
1750 * progmodes/idlw-help.el (idlwave-help-mode-map):
1751 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1752 * net/newst-plainview.el (newsticker-mode-map):
1753 * emulation/ws-mode.el (wordstar-mode-map):
1754 * emulation/vi.el (vi-com-map):
1755 * calc/calc-graph.el (calc-graph-show-dumb):
1756 * term/sun.el (terminal-init-sun):
1757 * term/ns-win.el (global-map):
1758 * progmodes/grep.el (grep-mode-map):
1759 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1760 * mail/rmail.el (rmail-mode-map):
1761 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1762
1763 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1764 custom-safe-themes as special.
1765
1766 2011-10-01 Julien Danjou <julien@danjou.info>
1767
1768 * notifications.el (notifications-notify): Fix docstring.
1769
1770 2011-10-01 Per Starbäck <per@starback.se>
1771
1772 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1773
1774 2011-09-30 Martin Rudalics <rudalics@gmx.at>
1775
1776 * startup.el (command-line-1): Fix last fix by inserting
1777 initial-scratch-message into *scratch* before displaying it.
1778 (Bug#9605) and (Bug#9636)
1779
1780 2011-09-29 Eli Zaretskii <eliz@gnu.org>
1781
1782 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1783 window is hscrolled, move by logical lines. (Bug#9607)
1784 (line-move-visual): Update the doc string to the above effect.
1785
1786 2011-09-29 Martin Rudalics <rudalics@gmx.at>
1787
1788 * window.el (display-buffer-record-window): When WINDOW is the
1789 selected window use `point' instead of `window-point'. (Bug#9626)
1790
1791 * startup.el (command-line-1): Use insert-before-markers when
1792 inserting initial-scratch-message. (Bug#9605)
1793
1794 * help.el (help-window): Remove variable.
1795
1796 2011-09-29 Glenn Morris <rgm@gnu.org>
1797
1798 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1799
1800 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
1801
1802 * descr-text.el (describe-char-categories): Accept category
1803 descriptions more than one line long.
1804
1805 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * simple.el (delete-trailing-whitespace): Fix last change.
1808
1809 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1810 Don't confuse "y => 3" as the beginning of a `y' operation.
1811
1812 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1813 object has more than 4 slots (bug#9613).
1814
1815 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
1816
1817 * subr.el (with-output-to-temp-buffer):
1818 * net/quickurl.el (quickurl, quickurl-browse-url):
1819 Fix typos in docstrings.
1820
1821 2011-09-27 Eli Zaretskii <eliz@gnu.org>
1822
1823 * minibuffer.el (completion-styles)
1824 (completion-category-overrides): Cross reference each other in doc
1825 strings.
1826
1827 2011-09-27 Glenn Morris <rgm@gnu.org>
1828
1829 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1830 to split-string. (Bug#9606)
1831
1832 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1833
1834 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1835 (bug#9615).
1836
1837 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
1838
1839 * emacs-lisp/package.el (list-packages): Fix echo area message.
1840
1841 2011-09-27 Leo Liu <sdl.web@gmail.com>
1842
1843 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1844
1845 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
1846
1847 * net/dbus.el (dbus-unregister-object): Don't release services for
1848 registered signals. (Bug#9581)
1849
1850 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1851
1852 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1853 function that picks between cfengine 2 and 3 support
1854 automatically. Update docs accordingly.
1855
1856 2011-09-22 Kenichi Handa <handa@m17n.org>
1857
1858 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1859 ZERO.
1860 (indian-itrans-v5-table-for-tamil): New variable.
1861 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1862
1863 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1864
1865 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1866 that's true if the current command involved collapsing of text.
1867 It's reset to false at the beginning of the next command.
1868 (allout-post-command-business): Move the cursor to the beginning
1869 of entry if the cursor is hidden and collapsing activity just
1870 happened.
1871
1872 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
1873
1874 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1875 tracking (Bug#9541).
1876
1877 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
1878
1879 * net/newst-reader.el (newsticker-html-renderer)
1880 (newsticker-show-news): Automatically
1881 load html rendering package if newsticker-html-renderer is set.
1882 Fixes "Warning: defvar ignored because w3m-fill-column is
1883 let-bound" and the error "Symbol's value as variable is void:
1884 w3m-fill-column".
1885
1886 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
1887
1888 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1889 Release services only if they are defined. (Bug#9581)
1890
1891 2011-09-23 Richard Stallman <rms@gnu.org>
1892
1893 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1894 distinguish start of paragraph from start of its text.
1895
1896 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1897
1898 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1899 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1900 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1901
1902 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1903
1904 * international/mule-diag.el (mule-diag): Insert a newline after
1905 each fontset description.
1906
1907 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1908
1909 * simple.el (delete-trailing-whitespace):
1910 Document last change; simplify.
1911
1912 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1913
1914 * simple.el (delete-trailing-whitespace): Also delete
1915 extra newlines at the end of the buffer.
1916
1917 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1918 (picture-newline): Use forward-line so as to ignore fields.
1919
1920 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * subr.el (with-wrapper-hook): Fix edebug spec.
1923
1924 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1925
1926 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1927 (bug#4538).
1928
1929 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
1930
1931 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1932 Fix nasty bug using wrong cached values.
1933
1934 2011-09-23 Alan Mackenzie <acm@muc.de>
1935
1936 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1937
1938 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
1939
1940 * window.el (pop-to-buffer): Ensure right window is selected if we
1941 chose another frame.
1942
1943 2011-09-22 Eli Zaretskii <eliz@gnu.org>
1944
1945 * simple.el (what-cursor-position): Use get-char-property-change
1946 and next-single-char-property-change, to be able to show display
1947 properties that come from overlays as well as text properties.
1948
1949 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
1950
1951 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1952
1953 * cmuscheme.el (run-scheme, switch-to-scheme):
1954 * cus-edit.el (customize-group, custom-buffer-create)
1955 (customize-browse):
1956 * info.el (info):
1957 * shell.el (shell):
1958 * mail/sendmail.el (mail):
1959 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1960
1961 2011-09-22 Richard Stallman <rms@gnu.org>
1962
1963 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1964 move back only to line beg, don't move back over blank lines.
1965
1966 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
1967
1968 * files.el (copy-directory): Set directory attributes only in case
1969 they could be retrieved from the source directory. (Bug#9565)
1970
1971 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1972
1973 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1974 (hs-find-block-beginning, hs-hide-level-recursive):
1975 Ignore strings as well as comments. (Bug#9502)
1976
1977 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1978
1979 * progmodes/sql.el (sql-comint-postgres):
1980 Convert port number to a string. (Bug#9566)
1981
1982 2011-09-22 Martin Rudalics <rudalics@gmx.at>
1983
1984 * window.el (quit-window): Undedicate window when switching to
1985 previous buffer. Reported by Thierry Volpiatto
1986 <thierry.volpiatto@gmail.com>.
1987 (special-display-popup-frame): When popping up a new frame reset
1988 its previous buffers to nil. Simplify code.
1989
1990 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
1991
1992 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1993 and process filter, as done also in `shell-command'.
1994
1995 2011-09-21 Martin Rudalics <rudalics@gmx.at>
1996
1997 * window.el (set-window-buffer-start-and-point):
1998 Call set-window-start with NOFORCE argument t. Suggested by Thierry
1999 Volpiatto <thierry.volpiatto@gmail.com>.
2000 (quit-window): Reword doc-string. Handle new format of
2001 quit-restore parameter. Don't delete window if it has a
2002 previous buffer we can show instead of the present one.
2003 (display-buffer-record-window): Rewrite using a new format for
2004 the quit-restore window parameter
2005 (special-display-popup-frame, display-buffer-same-window)
2006 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2007 (display-buffer-pop-up-window, display-buffer-use-some-window):
2008 Adapt symbol passed to display-buffer-record-window.
2009 * help.el (help-window-setup): Handle new format of quit-restore
2010 parameter.
2011
2012 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2013
2014 * faces.el (face-list): Fix docstring (bug#9564).
2015
2016 * window.el (display-buffer--action-function-custom-type):
2017 Don't include internal functions in the Custom interface.
2018
2019 2011-09-20 Juri Linkov <juri@jurta.org>
2020
2021 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2022 (Info-forward-node, Info-backward-node, Info-next-preorder)
2023 (Info-last-preorder): Use it. (Bug#9528)
2024
2025 2011-09-20 Juri Linkov <juri@jurta.org>
2026
2027 * info.el (Info-last-preorder): Visit last menu item only when
2028 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2029
2030 2011-09-20 Julien Danjou <julien@danjou.info>
2031
2032 * password-cache.el (password-cache-remove): Remove entries even if the
2033 value is nil, so that password with a nil value (negative caching) is
2034 possible to invalidate.
2035
2036 2011-09-20 Lawrence Mitchell <wence@gmx.li>
2037
2038 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2039 all whitespace around breakpoint. (Bug#9553)
2040 (f90-find-breakpoint): Only break at whitespace inside a comment.
2041
2042 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2043
2044 * minibuffer.el (completion-file-name-table): Keep track of errors.
2045 (completion-table-with-predicate): Handle the case where pred1 is nil.
2046 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2047
2048 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2049
2050 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2051 (debugger-return-value): Signal an error if the debugging context does
2052 not await any return value.
2053
2054 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2055 * image-mode.el (image-toggle-display-text)
2056 (image-toggle-display-image): Stay away from evil `intangible'.
2057
2058 2011-09-19 Leo Liu <sdl.web@gmail.com>
2059
2060 * replace.el (occur-revert-arguments): Make it permanent-local.
2061 (occur-mode): Don't call font-lock-defontify.
2062
2063 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
2064
2065 * net/ldap.el (ldap-search-internal): Don't push empty search
2066 result (Bug#9508).
2067
2068 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2069
2070 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2071
2072 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
2073
2074 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2075 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2076
2077 2011-09-18 Juri Linkov <juri@jurta.org>
2078
2079 * buff-menu.el (Buffer-menu-mode-map):
2080 * dired.el (dired-mode-map):
2081 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2082 (lisp-interaction-mode-map):
2083 * emacs-lisp/package.el (package-menu-mode-map):
2084 * epa.el (epa-key-list-mode-map):
2085 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2086 (menu-bar-options-menu):
2087 * outline.el (outline-mode-menu-bar-map):
2088 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2089 * vc/vc-dir.el (vc-dir-menu-map):
2090 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2091 Capitalize non-function content words in menu item strings.
2092
2093 * dired.el (dired-mode-map): Add menu item for
2094 `image-dired-dired-toggle-marked-thumbs'.
2095
2096 2011-09-18 Juri Linkov <juri@jurta.org>
2097
2098 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2099 to `isearch-case-fold-search' and restore its original value
2100 after the `isearch-mode' call.
2101
2102 2011-09-18 Juri Linkov <juri@jurta.org>
2103
2104 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2105 because `zgrep' returns 1 for successful matches (bug#9226).
2106
2107 2011-09-18 Juri Linkov <juri@jurta.org>
2108
2109 * info.el (Info-extract-menu-node-name): Check the second match
2110 for empty string (second test-case of bug#9528).
2111 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2112 intermediate nodes to the history (first test-case of bug#9528).
2113
2114 2011-09-18 Juri Linkov <juri@jurta.org>
2115
2116 * info.el (Info-mode-syntax-table): New variable.
2117 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
2118
2119 2011-09-18 Juri Linkov <juri@jurta.org>
2120
2121 * info.el (Info-file-supports-index-cookies): Increment
2122 line-beginning-position's arg from 3 to 4 because makeinfo outputs
2123 one more line for long file names (bug#4142).
2124
2125 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
2126
2127 * newcomment.el (comment-normalize-vars): If prompting for
2128 comment-start, set comment-start-skip too (Bug#8424).
2129
2130 2011-09-18 Johan Bockgård <bojohan@gnu.org>
2131
2132 * icomplete.el: Fix previous fix of Bug#5849.
2133 (icomplete-mode): Don't set completion-show-inline-help.
2134 (icomplete-minibuffer-setup): Set completion-show-inline-help
2135 locally during icompletion.
2136
2137 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
2138
2139 * woman.el (woman2-process-escapes): Don't delete unrecognized
2140 escapes (Bug#7843).
2141
2142 * files.el (inhibit-first-line-modes-regexps): Add image files.
2143 (hack-local-variables-prop-line): Return nil for malformed
2144 prop-lines (Bug#9044).
2145
2146 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
2147
2148 * net/tramp.el (top): Don't require 'shell.
2149 (tramp-methods): Fix docstring.
2150 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
2151 Return complete remote file name. Handle "smb" case.
2152 Use `tramp-tmpdir', if defined for the respective method.
2153 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2154
2155 * net/tramp-compat.el (top): Require 'shell.
2156
2157 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2158 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2159 `tramp-current-host'.
2160 (tramp-get-remote-tmpdir): Remove.
2161
2162 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2163 `tramp-tmpdir' entries.
2164 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2165 (tramp-smb-handle-file-attributes): Ignore errors.
2166 (tramp-smb-wait-for-output): Check also for process end.
2167
2168 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2169
2170 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2171 when sending QUIT (bug#9312).
2172
2173 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
2174
2175 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2176 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2177 occur-mode-display-occurrence.
2178 (occur-edit-mode): Add usage message.
2179 (occur-cease-edit): New command.
2180 (occur-after-change-function): Use text properties to find the
2181 position of the prefix text.
2182 (occur-engine): Set stickiness of prefix text properties.
2183
2184 2011-09-17 Glenn Morris <rgm@gnu.org>
2185
2186 * progmodes/etags.el (complete-tag):
2187 Fix call to completion-in-region. (Bug#9526)
2188
2189 2011-09-17 Juri Linkov <juri@jurta.org>
2190
2191 * textmodes/ispell.el (ispell-word): Add to the error message
2192 the word, ispell program name and current dictionary (bug#9121).
2193 (ispell-tex-arg-end): Capitalize "error" in the error message.
2194
2195 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
2196
2197 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
2198 check. (Bug#4251)
2199
2200 2011-09-17 Juri Linkov <juri@jurta.org>
2201
2202 * window.el (window-safe-min-height, window-safe-min-width):
2203 Fix typos (followup to bug#9522).
2204
2205 2011-09-17 Sven Joachim <svenjoac@gmx.de>
2206
2207 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
2208
2209 2011-09-16 Eli Zaretskii <eliz@gnu.org>
2210
2211 * simple.el (line-move): If goal-column is set, move by logical
2212 lines, not by display lines. (Bug#971)
2213 (next-line, previous-line, goal-column, line-move-visual): Doc fix
2214 to reflect the above change.
2215
2216 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2217
2218 * image.el (imagemagick-register-types): Use regexp-opt.
2219
2220 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
2221
2222 * window.el (display-buffer-base-action): Rename from
2223 display-buffer-default-action. Make default value empty.
2224 (display-buffer-overriding-action): Convert to defvar.
2225 (display-buffer-fallback-action): New var.
2226
2227 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
2228
2229 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
2230 declaration.
2231 (package--add-to-archive-contents): If there is a duplicate entry
2232 with an older version, remove it.
2233 (package-menu-mark-delete, package-menu-mark-install)
2234 (package-menu-mark-unmark): Make unused args optional.
2235 (package-menu-mark-obsolete-for-deletion):
2236 Use package-menu-get-status instead of a regexp search.
2237 (package-menu-get-status): Use tabulated-list-entry.
2238 (package-menu-mark-upgrades): New command.
2239 (package-menu-mode-map): Bind it to U. Add it to menu bar.
2240 (package-menu-execute): Do installation before deletion.
2241 (package-menu-refresh, package-menu-execute): Use derived-mode-p
2242 instead of checking major-mode.
2243 (package-menu--find-upgrades): New function.
2244
2245 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2246
2247 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2248 passwords in the log buffer.
2249 (smtpmail-process-filter): Update the process marker so that the
2250 "broken by peer" status message is inserted in the right place.
2251
2252 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2253
2254 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2255 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2256 bibtex-completion-at-point-function.
2257 (bibtex-completion-at-point-function): Use them.
2258
2259 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2260
2261 * mpc.el (mpc-constraints-tag-lookup): New function.
2262 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2263 also to browser "album|playlist".
2264
2265 2011-09-14 Juri Linkov <juri@jurta.org>
2266
2267 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
2268 (isearch-edit-string): Use length of `isearch-string' when
2269 `isearch-fail-pos' returns nil.
2270 (isearch-message): Remove duplicate code and call
2271 `isearch-fail-pos' with arg `t'.
2272
2273 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
2274
2275 * replace.el (occur-mode-goto-occurrence): Don't force using other
2276 window (Bug#9499).
2277
2278 * dired-aux.el (dired-do-chmod): Don't provide initial input.
2279
2280 2011-09-14 Martin Rudalics <rudalics@gmx.at>
2281
2282 * window.el (display-buffer-window): Remove.
2283 (display-buffer-record-window): Use help-setup window parameter
2284 instead of variable display-buffer-window.
2285 (display-buffer-function, special-display-buffer-names)
2286 (special-display-function): Mention help-setup parameter instead
2287 of display-buffer-window in doc-string.
2288 * help.el (help-window-setup): New argument help-window.
2289 Use help-window-setup parameter instead of display-buffer-window.
2290 Reword some messages.
2291 (with-help-window): Pass window used for displaying the buffer
2292 to help-window-setup. Don't set display-buffer-window.
2293
2294 2011-09-13 Glenn Morris <rgm@gnu.org>
2295
2296 * emacs-lisp/debug.el (debugger-make-xrefs):
2297 Preserve point. (Bug#9462)
2298
2299 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
2300
2301 * window.el (window-deletable-p): Use next-frame.
2302
2303 2011-09-13 Martin Rudalics <rudalics@gmx.at>
2304
2305 * window.el (window-auto-delete): Remove.
2306 (window-deletable-p): Remove argument FORCE. Don't deal with
2307 dedication and previous buffers.
2308 (switch-to-prev-buffer): Don't delete window.
2309 (delete-windows-on): Delete a window's frame if and only if the
2310 window is dedicated.
2311 (replace-buffer-in-windows): Delete buffer's window or frame if
2312 and only if window is dedicated.
2313 (quit-window): Handle quit-restore as before last change.
2314 (bury-buffer): Delete window only if window-deletable-p returns t.
2315
2316 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
2317
2318 * window.el (window-deletable-p): Never delete the last frame on a
2319 given terminal.
2320
2321 2011-09-13 Glenn Morris <rgm@gnu.org>
2322
2323 * help.el (describe-key-briefly): Copy previous standard-output change.
2324
2325 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
2326
2327 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
2328
2329 2011-09-13 Glenn Morris <rgm@gnu.org>
2330
2331 * emacs-lisp/lisp-mode.el (lisp-indent-function):
2332 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2333
2334 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
2335
2336 * dired-aux.el (dired-mark-read-string): Don't return default
2337 value on empty input (Bug#9361).
2338 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2339 Omit initial minibuffer contents.
2340 (dired-do-chmod): Signal an error on empty input.
2341 (dired-mark-read-string): Don't return default on empty input.
2342
2343 * files.el (file-modes-symbolic-to-number): Doc fix.
2344
2345 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * international/mule-cmds.el (ucs-completions): Remove.
2348 (read-char-by-name): Use complete-with-action instead; add metadata.
2349
2350 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
2351
2352 * window.el (display-buffer--action-function-custom-type)
2353 (display-buffer--action-custom-type): New vars.
2354 (display-buffer-alist, display-buffer-default-action)
2355 (display-buffer-overriding-action): Add defcustom types.
2356
2357 * frame.el (delete-other-frames): Doc fix (Bug#276).
2358
2359 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2360
2361 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2362
2363 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
2364
2365 Change modes that used same-window-* vars to use switch-to-buffer.
2366
2367 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2368 Use switch-to-buffer.
2369
2370 * cus-edit.el (customize-group, custom-buffer-create)
2371 (customize-browse, custom-buffer-create-other-window):
2372 Use switch-to-buffer or switch-to-buffer-other-window.
2373
2374 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2375 (Info-prev, Info-up, Info-speedbar-goto-node)
2376 (info-display-manual): Use switch-to-buffer.
2377 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2378
2379 * mail/sendmail.el (mail): Use switch-to-buffer.
2380 (mail-recover): Use switch-to-buffer-other-window.
2381
2382 * cmuscheme.el (run-scheme, switch-to-scheme):
2383 * ielm.el (ielm):
2384 * shell.el (shell):
2385 * net/rlogin.el (rlogin):
2386 * net/telnet.el (telnet, rsh):
2387 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2388
2389 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2390
2391 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2392
2393 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2394
2395 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2396 so don't mention it (bug#9301).
2397 (dired-sort-toggle-or-edit): Clarify string further.
2398
2399 * faces.el (face-spec-set-match-display): Make `(type graphic)'
2400 match `x', `w32' and `ns', like the manual says (bug#9029).
2401
2402 * subr.el (eval-after-load): Doc string clarification (bug#9125).
2403 (process-kill-buffer-query-function): Mention the buffer name in
2404 the query.
2405
2406 * image-mode.el (image-next-line): The line parameter is mandatory
2407 (bug#9258).
2408
2409 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2410 which can be useful (bug#9301).
2411
2412 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2413
2414 * subr.el (match-string): Mention that the current buffer should
2415 be the same as the search was done in (bug#9282).
2416
2417 * facemenu.el: Disable the remove-* commands if the mark isn't
2418 active (bug#9162).
2419
2420 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
2421
2422 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2423 of display-buffer.
2424 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2425
2426 * replace.el (occur-mode-goto-occurrence)
2427 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2428 and display-buffer.
2429
2430 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2431 display-buffer.
2432
2433 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2434 special-display and same-window variables.
2435 (mail-other-window): Use switch-to-buffer-other-window.
2436 (mail-other-frame): USe switch-to-buffer-other-frame.
2437
2438 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2439 Use display-buffer-other-frame.
2440 (gdb-display-gdb-buffer): Use pop-to-buffer.
2441
2442 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2443
2444 * progmodes/python.el: Don't set same-window-buffer-names.
2445
2446 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2447
2448 * window.el (display-buffer-alist): Add *Python*.
2449
2450 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
2451
2452 * window.el (display-buffer-alist): Add entry for buffers
2453 previously handled same-window-*.
2454 (display-buffer-alist, display-buffer-default-action)
2455 (display-buffer-overriding-action): Mark as risky.
2456 (display-buffer-alist): Document action function changes.
2457 (display-buffer--same-window-action)
2458 (display-buffer--other-frame-action): New variables.
2459 (switch-to-buffer, display-buffer-other-frame): Use them.
2460 (display-buffer): Rename reuse-frame entry to reusable-frames.
2461 (display-buffer-reuse-selected-window): Function deleted.
2462 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2463 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2464 (display-buffer-special): New function.
2465 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2466 display-buffer-reuse-or-pop-window. Split off special-display
2467 part into display-buffer-special.
2468 (display-buffer-use-some-window): Don't perform any special
2469 pop-up-frames handling.
2470 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
2471 (display-buffer--maybe-same-window): Rename from
2472 display-buffer-maybe-same-window.
2473
2474 * info.el: Don't set same-window-regexps.
2475 (info-setup): New function.
2476 (info-other-window, info): Call it.
2477
2478 * cus-edit.el: Don't set same-window-regexps.
2479 (customize-group): New argument.
2480 (customize-group-other-window): Use it.
2481 (customize-face, customize-face-other-window): Likewise.
2482 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2483
2484 * net/rlogin.el:
2485 * net/telnet.el:
2486 * progmodes/gud.el: Don't set same-window-regexps.
2487
2488 * cmuscheme.el:
2489 * ielm.el:
2490 * shell.el:
2491 * mail/sendmail.el:
2492 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2493
2494 2011-09-10 Juri Linkov <juri@jurta.org>
2495
2496 * isearch.el (isearch-edit-string): Remove obsolete mention of
2497 `C-w' (`isearch-yank-word-or-char') from docstring.
2498 (isearch-query-replace): Fix typo in docstring (bug#9466).
2499
2500 2011-09-10 Juri Linkov <juri@jurta.org>
2501
2502 * paren.el (show-paren-function): Don't show escaped parens.
2503 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2504
2505 2011-09-10 Eli Zaretskii <eliz@gnu.org>
2506
2507 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2508 (mm-default-file-encoding): Remove autoload forms, they are
2509 replaced with autoload cookies in mml.el and mm-encode.el.
2510 (mail-add-attachment): New command.
2511 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2512 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2513 the doc string.
2514 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2515
2516 2011-09-10 Reuben Thomas <rrt@sc3d.org>
2517
2518 * simple.el (count-words-region): Use buffer if there's no region
2519 (bug#9429).
2520
2521 2011-09-09 Juri Linkov <juri@jurta.org>
2522
2523 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2524 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2525 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2526
2527 2011-09-09 Alan Mackenzie <acm@muc.de>
2528
2529 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2530 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2531
2532 2011-09-09 Eli Zaretskii <eliz@gnu.org>
2533
2534 Fix for Savannah bug#9392.
2535 * simple.el (mail-encode-mml): New defvar.
2536
2537 * mail/rmail.el (mail-encode-mml): Add a defvar.
2538 (rmail-enable-mime-composing): Default to t.
2539 (rmail-forward): Use MIME method of forwarding only if both
2540 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2541 Set mail-encode-mml non-nil if the MIME method was used.
2542
2543 * mail/sendmail.el (mml-to-mime): Add autoload form.
2544 (mail-encode-mml): Add a defvar.
2545 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2546 to nil.
2547 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2548 message through mml-to-mime, and reset mail-encode-mml to nil.
2549
2550 2011-09-09 Glenn Morris <rgm@gnu.org>
2551
2552 * woman.el (woman-if-body): When processing an .el block,
2553 do not delete the next .el block as well. (Bug#9447)
2554 (woman-special-characters): Add oq, cq, and hy characters.
2555
2556 2011-09-08 Martin Rudalics <rudalics@gmx.at>
2557
2558 * window.el (window-deletable-p): Make sure window is live before
2559 invoking window-prev-buffers.
2560
2561 2011-09-08 Leo Liu <sdl.web@gmail.com>
2562
2563 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2564
2565 2011-09-08 Juri Linkov <juri@jurta.org>
2566
2567 * progmodes/compile.el (compilation-environment): Make it
2568 a defcustom (bug#8340).
2569
2570 2011-09-08 Martin Rudalics <rudalics@gmx.at>
2571
2572 * window.el (frame-auto-delete): Rename to window-auto-delete.
2573 Make it control auto-deletion of windows and/or frames.
2574 (window-deletable-p): New argument FORCE. Rewrite conditions
2575 for deleting window/frame. (Bug#9419)
2576 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2577 Rewrite handling of case when window/frame can be deleted.
2578 (delete-windows-on): Call window-deletable-p with new FORCE
2579 argument t. (Bug#9456)
2580
2581 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
2582
2583 * help-mode.el (help-mode): Restore autoload.
2584
2585 2011-09-07 Juri Linkov <juri@jurta.org>
2586
2587 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2588 `compilation-environment'. Set buffer-local
2589 `compilation-environment' to `thisenv' later after (funcall mode).
2590 (Bug#8340)
2591
2592 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2593 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2594 instead of replacing its value. (Bug#8340)
2595
2596 2011-09-07 Juri Linkov <juri@jurta.org>
2597
2598 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2599 based on text properties put by `grep-filter' instead of matching
2600 escape sequences.
2601 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2602 to the value of `grep-error-screen-columns' (bug#9438).
2603
2604 2011-09-07 Juri Linkov <juri@jurta.org>
2605
2606 * simple.el (next-error-highlight, next-error-highlight-no-select):
2607 Doc fix (bug#9432).
2608
2609 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2610
2611 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2612 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2613
2614 2011-09-07 Leo Liu <sdl.web@gmail.com>
2615
2616 * net/rcirc.el (rcirc-mode): Conditionally initialize
2617 rcirc-input-ring.
2618
2619 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2620
2621 * emacs-lisp/find-func.el (find-function-C-source): Only set
2622 find-function-C-source-directory after checking that we found a source
2623 file there (bug#9440).
2624
2625 2011-09-06 Alan Mackenzie <acm@muc.de>
2626
2627 * isearch.el (isearch-other-meta-char): Wherever a key list is
2628 unread, "unread" the prefix arg, too. This fixes bug #8901.
2629
2630 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2631
2632 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2633
2634 2011-09-05 Juri Linkov <juri@jurta.org>
2635
2636 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2637
2638 2011-09-05 Juri Linkov <juri@jurta.org>
2639
2640 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2641 keeping point where processing of grep matches begins, and
2642 continue to delete remaining escape sequences from the same point.
2643 (grep-filter): Make leading zero optional in "0?1;31m" because
2644 git-grep emits "\033[1;31m" escape sequences unlike expected
2645 "\033[01;31m" as GNU Grep does (bug#9408).
2646 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2647
2648 2011-09-05 Juri Linkov <juri@jurta.org>
2649
2650 * subr.el (y-or-n-p): Capitalize "yes".
2651
2652 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
2653
2654 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2655 `tramp-cache-unload-hook' where appropriate.
2656 (tramp-methods): Rename `tramp-remote-sh' to
2657 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2658 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2659
2660 * net/tramp-sh.el (top): Don't require 'shell.
2661 (tramp-methods): Add `tramp-remote-shell' and
2662 `tramp-remote-shell-args' entries.
2663 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2664 (tramp-sh-handle-shell-command): Remove.
2665 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2666 Use `tramp-remote-shell'.
2667
2668 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
2669
2670 * mail/sendmail.el (sendmail-query-once-function): Delete.
2671 (sendmail-query-once): Save directly to send-mail-function.
2672 Update message-send-mail-function too.
2673
2674 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2675
2676 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2677
2678 * progmodes/python.el (python-mode-map): Use correct function to
2679 start python interpreter from menu-bar (as reported by Geert
2680 Kloosterman).
2681 (inferior-python-mode-map): Fix typo.
2682 (python-shell-map): Remove.
2683
2684 2011-09-03 Deniz Dogan <deniz@dogan.se>
2685
2686 * net/rcirc.el (rcirc-print): Simplify code for
2687 rcirc-scroll-show-maximum-output. There is no need to walk
2688 through all windows to find the right one.
2689
2690 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2691
2692 * help.el (help-return-method): Doc fix.
2693
2694 2011-09-03 Martin Rudalics <rudalics@gmx.at>
2695
2696 * window.el (window-deletable-p): Don't return a non-nil value
2697 when there's a buffer that was shown in the window before.
2698 (Bug#9419)
2699 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2700 Set window's previous buffers to nil.
2701
2702 2011-09-03 Eli Zaretskii <eliz@gnu.org>
2703
2704 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2705 newline before and after the tag line, so it doesn't interfere
2706 with determining the paragraph direction of bidirectional text.
2707
2708 2011-09-03 Leo Liu <sdl.web@gmail.com>
2709
2710 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2711
2712 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
2713
2714 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
2715 (pop-to-buffer): Change interactive spec. Pass second argument
2716 directly to display-buffer.
2717 (display-buffer): Fix interactive spec. Use functionp to
2718 distinguish between a function and a list of functions.
2719
2720 * abbrev.el (edit-abbrevs):
2721 * arc-mode.el (archive-extract):
2722 * autoinsert.el (auto-insert):
2723 * bookmark.el (bookmark-bmenu-list):
2724 * files.el (find-file):
2725 * view.el (view-buffer):
2726 * progmodes/compile.el (compilation-goto-locus):
2727 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2728
2729 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
2730
2731 * window.el (display-buffer-alist): Doc fix.
2732 (display-buffer): Add docstring. Don't treat
2733 display-buffer-default specially.
2734 (display-buffer-reuse-selected-window)
2735 (display-buffer-same-window, display-buffer-maybe-same-window)
2736 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2737 (display-buffer-pop-up-window)
2738 (display-buffer-reuse-or-pop-window)
2739 (display-buffer-use-some-window): New functions.
2740 (display-buffer-default-action): Use them.
2741 (display-buffer-default): Delete.
2742 (pop-to-buffer-1): Fix choice of actions.
2743
2744 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2745
2746 * minibuffer.el (completion--insert-strings): Don't get confused by
2747 completion entries that end with an LF char.
2748
2749 2011-09-01 Eli Zaretskii <eliz@gnu.org>
2750
2751 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2752
2753 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
2754
2755 * window.el (display-buffer): Restore interactive spec.
2756 (display-buffer-same-window, display-buffer-other-window):
2757 New functions.
2758 (pop-to-buffer-1): New function. Use the above.
2759 (pop-to-buffer, pop-to-buffer-same-window): Use it.
2760 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
2761
2762 * view.el (view-buffer-other-window, view-buffer-other-frame):
2763 Just use pop-to-buffer.
2764
2765 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2766
2767 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2768
2769 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2770
2771 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2772
2773 2011-08-31 Richard Stallman <rms@gnu.org>
2774
2775 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2776 of the separation of rmail-view-buffer from rmail-buffer.
2777 If you say no to "replace original", the decrypt is in the
2778 view buffer. If you say yes, the decrypt goes into the
2779 rmail buffer also.
2780
2781 2011-08-31 Martin Rudalics <rudalics@gmx.at>
2782
2783 * window.el (display-buffer-window): Rewrite doc-string.
2784 (display-buffer-record-window): New function.
2785 (display-buffer-macro-specifiers)
2786 (display-buffer-even-window-sizes, display-buffer-set-height)
2787 (display-buffer-set-width, display-buffer-in-window)
2788 (display-buffer-reuse-window, display-buffer-split-specifiers)
2789 (display-buffer-side-specifiers, display-buffer-split-window-1)
2790 (display-buffer-split-window, display-buffer-split-atom-window)
2791 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2792 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2793 (display-buffer-other-window-means-other-frame)
2794 (display-buffer-normalize-special)
2795 (display-buffer-normalize-default)
2796 (display-buffer-normalize-argument)
2797 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2798 (display-buffer-normalize-specifiers, display-buffer-frame)
2799 (display-buffer-same-window, display-buffer-same-frame)
2800 (display-buffer-other-window)
2801 (display-buffer-same-frame-other-window)
2802 (display-buffer-other-frame, pop-to-buffer-same-window)
2803 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2804 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2805 (switch-to-buffer-same-frame)
2806 (switch-to-buffer-other-window-same-frame)
2807 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2808 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2809 (display-buffer-alist-set): Remove.
2810 (display-buffer-function, special-display-buffer-names)
2811 (special-display-regexps, special-display-function):
2812 In doc-string refer to display-buffer-window and quit-restore
2813 parameter.
2814 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2815 (special-display-frame-alist, special-display-popup-frame)
2816 (same-window-buffer-names, same-window-regexps, same-window-p)
2817 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2818 (split-window-preferred-function, split-height-threshold)
2819 (split-width-threshold, window-splittable-p)
2820 (split-window-sensibly, window--try-to-split-window)
2821 (window--frame-usable-p, even-window-heights)
2822 (window--even-window-heights, window--display-buffer-1)
2823 (window--display-buffer-2, display-buffer-other-frame):
2824 Restore old Emacs 23 code, order and doc-strings where applicable.
2825 (display-buffer-default, display-buffer-assq-regexp): New functions.
2826 (display-buffer-alist): Rewrite doc-string.
2827 (display-buffer-default-action)
2828 (display-buffer-overriding-action): New variables.
2829 (display-buffer, switch-to-buffer): Rewrite.
2830 (pop-to-buffer): Restore Emacs 23 behavior but use
2831 window-normalize-buffer-to-display.
2832 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2833 Restore Emacs 23 behavior but use
2834 window-normalize-buffer-to-switch-to.
2835 (pop-to-buffer-same-window): Rewrite.
2836 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2837 Rewrite using Emacs 23 options.
2838
2839 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
2840
2841 * net/tramp.el (tramp-root-regexp): Remove.
2842 (tramp-completion-file-name-regexp-unified)
2843 (tramp-completion-file-name-regexp-separate)
2844 (tramp-completion-file-name-regexp-url): Don't use leading volume
2845 letter on win32 systems. (Bug#5303, Bug#9311)
2846 (tramp-drop-volume-letter): Simplify definition.
2847 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2848
2849 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2852 (bug#9356).
2853
2854 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2855
2856 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
2857
2858 2011-08-29 Juri Linkov <juri@jurta.org>
2859
2860 * isearch.el (isearch-done): Don't display message "Mark saved"
2861 when arg `edit' is non-nil to prevent its flicker in the echo area.
2862
2863 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
2864
2865 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2866 obsolete packages for deletion.
2867
2868 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2869
2870 * help-mode.el (help-mode-map): Add special-mode-map to parent.
2871 (help-mode): Derive help-mode from special-mode. Don't invoke
2872 view-mode from help-mode.
2873 (help-xref-override-view-map): Remove.
2874 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2875 view-mode is not used anymore.
2876
2877 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
2878
2879 * server.el (server-port): Doc fix.
2880
2881 * cus-theme.el (custom-theme-choose-mode): Inherit from
2882 special-mode (Bug#9124).
2883 (custom-theme-choose-mode-map): Add special-mode to parent.
2884
2885 2011-08-28 Alan Mackenzie <acm@muc.de>
2886
2887 * progmodes/cc-fonts.el
2888 (c-make-font-lock-BO-decl-search-function): New function.
2889 (c-basic-matchers-after - "Fontify the clauses after various
2890 keywords"): Extract the three keyword lists for the 3 erroneous
2891 constructs from the list of four, and use the new function above
2892 in place of an old one.
2893
2894 2011-08-28 Deniz Dogan <deniz@dogan.se>
2895
2896 * net/rcirc.el (rcirc-insert-prev-input)
2897 (rcirc-insert-next-input): Remove unused argument.
2898
2899 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2900
2901 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2902
2903 2011-08-27 Alan Mackenzie <acm@muc.de>
2904
2905 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2906 handle function pointer parameters properly.
2907
2908 2011-08-27 Martin Rudalics <rudalics@gmx.at>
2909
2910 * window.el (display-buffer-reuse-window): Fix case where
2911 selected window was reused with non-nil OTHER-WINDOW argument.
2912 (Bug#9381)
2913
2914 2011-08-27 Deniz Dogan <deniz@dogan.se>
2915
2916 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2917 oftc's NickServ messages.
2918
2919 2011-08-27 Glenn Morris <rgm@gnu.org>
2920
2921 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2922
2923 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
2924
2925 * emacs-lisp/package.el (package-install): Call package-initialize
2926 if called interactively.
2927
2928 2011-08-26 Leo Liu <sdl.web@gmail.com>
2929
2930 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2931
2932 2011-08-25 Juri Linkov <juri@jurta.org>
2933
2934 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2935 `search-whitespace-regexp' (bug#9364).
2936
2937 2011-08-25 Juri Linkov <juri@jurta.org>
2938
2939 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2940 `regexp-search-ring' to their global values to protect from
2941 updating by `read-from-minibuffer' (bug#9185).
2942
2943 2011-08-25 Juri Linkov <juri@jurta.org>
2944
2945 * textmodes/ispell.el (ispell-command-loop): Add newline
2946 at the end of the "Use option `i'..." line.
2947
2948 2011-08-25 Juri Linkov <juri@jurta.org>
2949
2950 * battery.el (display-battery-mode): If `battery-status-function'
2951 or `battery-mode-line-format' is nil, display the message and set
2952 `display-battery-mode' to nil (bug#9363).
2953
2954 2011-08-25 Eli Zaretskii <eliz@gnu.org>
2955
2956 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2957 bidi-string-mark-left-to-right; they are unnecessary now.
2958
2959 2011-08-25 Deniz Dogan <deniz@dogan.se>
2960
2961 * net/quickurl.el: Documentation typo fixes.
2962
2963 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
2964
2965 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2966
2967 2011-08-25 Glenn Morris <rgm@gnu.org>
2968
2969 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2970
2971 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2972 (smtpmail-via-smtp): Handle nil response from smtp.
2973
2974 2011-08-24 Juri Linkov <juri@jurta.org>
2975
2976 * proced.el (proced-marked): Inherit from `error' instead of
2977 `font-lock-warning-face'.
2978
2979 * ibuffer.el (ibuffer-marked-face): Change default face from
2980 `font-lock-warning-face' to `warning'.
2981 (ibuffer-deletion-face): Change default face from
2982 `font-lock-type-face' to `error'.
2983
2984 * battery.el (battery-update): Use the face `error' instead of
2985 `font-lock-warning-face' (bug#6117).
2986
2987 2011-08-24 Juri Linkov <juri@jurta.org>
2988
2989 * faces.el (success): Change face color from "Green3" to
2990 "ForestGreen" on light background (bug#9353).
2991
2992 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
2993
2994 * window.el (quit-window): Rename from quit-restore-window.
2995 Use same arglist as old quit-window.
2996 (frame-auto-delete): Doc fix.
2997
2998 * view.el (view-mode-exit): Use quit-window.
2999
3000 2011-08-24 Juri Linkov <juri@jurta.org>
3001
3002 * isearch.el (isearch-ring-adjust1): Start visiting previous
3003 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3004 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3005 for empty search string (when the last search string is reused
3006 automatically) to adjust the isearch ring to the last element and
3007 prepare the correct index for further M-p commands (bug#9185).
3008
3009 2011-08-24 Kenichi Handa <handa@m17n.org>
3010
3011 * international/ucs-normalize.el: If decomposition property of
3012 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3013 nil.
3014 (nfd, nfkd): Likewise.
3015
3016 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3019 from process filters aren't reliably transmitted to the surrounding
3020 accept-process-output.
3021 (mpc-proc-check): New function.
3022 (mpc-proc-sync): Use it (bug#8293)
3023
3024 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3027 Add compatibility functions (bug#9313).
3028
3029 2011-08-23 Eli Zaretskii <eliz@gnu.org>
3030
3031 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3032
3033 * international/uni-bidi.el: Regenerated.
3034
3035 2011-08-23 Kenichi Handa <handa@m17n.org>
3036
3037 * international/charprop.el:
3038 * international/uni-bidi.el:
3039 * international/uni-category.el:
3040 * international/uni-combining.el:
3041 * international/uni-comment.el:
3042 * international/uni-decimal.el:
3043 * international/uni-decomposition.el:
3044 * international/uni-digit.el:
3045 * international/uni-lowercase.el:
3046 * international/uni-mirrored.el:
3047 * international/uni-name.el:
3048 * international/uni-numeric.el:
3049 * international/uni-old-name.el:
3050 * international/uni-titlecase.el:
3051 * international/uni-uppercase.el: Regenerate.
3052
3053 2011-08-23 Martin Rudalics <rudalics@gmx.at>
3054
3055 * help.el (help-window-setup): Fix message displayed when other
3056 window is reused. (Bug#9341)
3057
3058 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3061 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3062
3063 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3064 Mark obsolete.
3065 * shell.el (shell-parse-pcomplete-arguments): New function.
3066 (shell-completion-vars): Use it instead (bug#9160).
3067
3068 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3071 strings and comments (bug#9333).
3072
3073 * emacs-lisp/debug.el (debug-arglist): New function.
3074 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3075 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3076
3077 2011-08-22 Juri Linkov <juri@jurta.org>
3078
3079 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3080 Revert regexp that highlights output switches to its old
3081 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3082
3083 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3084 to check for empty output (bug#9226).
3085
3086 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
3087
3088 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3089 symbol-constituent as the default, as that stops font-lock from
3090 working properly (Bug#8843).
3091
3092 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3093
3094 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3095 `coding-system-for-*' around the process open call to avoid
3096 auth-source side effects.
3097 (smtpmail-try-auth-methods): Expand the secret password.
3098 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3099 probe hangs.
3100
3101 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
3102
3103 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3104
3105 * emacs-lisp/find-func.el (find-function-noselect): New arg
3106 lisp-only.
3107
3108 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3109 signal an error for built-in functions (Bug#6664).
3110
3111 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3112
3113 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3114 (smtpmail-try-auth-methods): Use it.
3115
3116 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
3117
3118 * font-lock.el (font-lock-fontify-region)
3119 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3120 (font-lock-default-unfontify-buffer)
3121 (font-lock-default-fontify-region)
3122 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3123
3124 * progmodes/compile.el (compilation-error-properties):
3125 Fix confusion between file struct and message struct (Bug#9319).
3126 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3127 `ant' regexp.
3128
3129 * net/browse-url.el (browse-url-firefox): Don't call
3130 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3131
3132 2011-08-20 Glenn Morris <rgm@gnu.org>
3133
3134 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3135
3136 * tutorial.el (tutorial--default-keys): Update some default bindings.
3137
3138 * files.el (hack-local-variables): Fully ignore case for "mode:".
3139
3140 2011-08-20 Alan Mackenzie <acm@muc.de>
3141
3142 Resolve invalid use of a regexp in regexp-opt.
3143
3144 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3145 detection for a java annotation.
3146
3147 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
3148 detection for a java annotation.
3149
3150 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3151 handling for java.
3152 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3153
3154 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
3155
3156 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3157 (Bug#9274).
3158
3159 2011-08-20 Alan Mackenzie <acm@muc.de>
3160
3161 Fontify CPP expressions correctly when starting in the middle of
3162 such a construct. Mainly for when jit-lock etc. starts a chunk
3163 here.
3164
3165 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
3166 variable.
3167 (c-make-font-lock-search-form): New function, extracted from
3168 c-make-font-lock-search-function.
3169 (c-make-font-lock-search-function): Use the above function.
3170 (c-make-font-lock-context-search-function): New function.
3171 (c-cpp-matchers): Enhance the preprocessor expression case with
3172 the above function
3173 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3174 which takes an expression.
3175
3176 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3177
3178 2011-08-20 Martin Rudalics <rudalics@gmx.at>
3179
3180 * window.el (display-buffer-reuse-window)
3181 (display-buffer-pop-up-window): Don't reuse or split a side
3182 window.
3183
3184 2011-08-19 Glenn Morris <rgm@gnu.org>
3185
3186 * files.el (hack-local-variables-prop-line, hack-local-variables):
3187 Downcase "Mode:". (Bug#9331)
3188
3189 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
3190
3191 * international/characters.el: Add L and R categories.
3192
3193 * subr.el (bidi-string-mark-left-to-right): Rename from
3194 string-mark-left-to-right. Use category search.
3195
3196 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
3197
3198 2011-08-18 Juri Linkov <juri@jurta.org>
3199
3200 * faces.el (error, warning, success): New faces with definitions
3201 copied from old default values of `font-lock-warning-face',
3202 `compilation-warning', `compilation-info' (bug#6117).
3203
3204 * font-lock.el (font-lock-warning-face): Inherit from `error'.
3205
3206 * progmodes/compile.el (compilation-error): Inherit from `error'.
3207 (compilation-warning): Inherit from `warning'.
3208 (compilation-info): Inherit from `success'.
3209
3210 * dired.el (dired-marked): Inherit from `warning'.
3211 (dired-flagged): Inherit from `error'.
3212
3213 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3214
3215 * mail/smtpmail.el (auth-source): Require to avoid problems with
3216 binding variables (bug#9298). Also clean up some unused
3217 autoloads.
3218
3219 * net/network-stream.el (network-stream-open-starttls):
3220 Support using starttls.el without using gnutls-cli.
3221
3222 2011-08-17 Juri Linkov <juri@jurta.org>
3223
3224 * progmodes/grep.el (rgrep): Handle the case when
3225 `grep-find-command' is a cons cell (bug#9278).
3226
3227 2011-08-17 Martin Rudalics <rudalics@gmx.at>
3228
3229 * window.el (display-buffer-pop-up-frame): Run frame creation
3230 function with BUFFER current (as special-display-popup-frame
3231 does). Reported by Drew Adams.
3232
3233 2011-08-17 Daiki Ueno <ueno@unixuser.org>
3234
3235 * epa-mail.el: Simplify GnuPG group expansion using
3236 epg-expand-group.
3237 (epa-mail-group-alist, epa-mail-group-modtime)
3238 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3239 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3240 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3241 Remove.
3242
3243 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
3244
3245 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3246
3247 2011-08-16 Alan Mackenzie <acm@muc.de>
3248
3249 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3250 Correct, to avoid the inside of macros.
3251
3252 2011-08-16 Richard Stallman <rms@gnu.org>
3253
3254 * epa-mail.el: Handle GnuPG group definitions.
3255 (epa-mail-group-alist, epa-mail-group-modtime)
3256 (epa-mail-gnupg-conf-file): New variables.
3257 (epa-mail-parse-groups, epa-mail-sync-groups)
3258 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3259 (epa-mail-expand-recipients): New functions.
3260 (epa-mail-encrypt): Call epa-mail-expand-recipients.
3261
3262 * mail/rmail.el (rmail-epa-decrypt): New command.
3263
3264 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3265 Don't bind buffer-read-only, just inhibit-read-only.
3266 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3267 (epa-decrypt-armor-in-region): Make error message clearer.
3268
3269 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3270
3271 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3272 and "a2b" to "ab" for `prefix'.
3273
3274 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
3275
3276 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3277 filter groups.
3278 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
3279 Fourquet (Bug#8804).
3280
3281 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
3282
3283 * startup.el (argi): Declare as global variable (bug#9275).
3284
3285 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
3286
3287 * subr.el (string-mark-left-to-right): Search the entire string
3288 for RTL script, not just the terminating character. Doc fix.
3289
3290 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3291
3292 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3293 New function.
3294 (js--regexp-literal, js-syntax-propertize-function): Remove.
3295 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3296 (js-mode-map): Don't rebind electric keys.
3297 (js-insert-and-indent): Remove.
3298 (js-mode): Setup electric-layout and electric-indent instead.
3299
3300 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3301
3302 2011-08-12 Daiki Ueno <ueno@unixuser.org>
3303
3304 * epa.el (epa-progress-callback-function): Fix the logic of
3305 displaying progress.
3306 * epa-file.el (epa-file-insert-file-contents): Make progress
3307 display more user-friendly.
3308 (epa-file-write-region): Ditto.
3309
3310 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
3311
3312 * subr.el (string-mark-left-to-right): New function.
3313
3314 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3315 Use string-mark-left-to-right.
3316 (list-buffers-noselect): Caller changed.
3317
3318 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3319 Use string-mark-left-to-right.
3320 (tabulated-list-print): Recenter after moving point.
3321
3322 2011-08-10 Juri Linkov <juri@jurta.org>
3323
3324 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3325 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3326 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3327
3328 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
3329
3330 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3331 (Bug#7554).
3332
3333 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
3334
3335 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3336 character. (Bug#6594)
3337
3338 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
3339
3340 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3341 (image-dired--with-db-file): New macro.
3342 (image-dired-write-tags, image-dired-remove-tag)
3343 (image-dired-create-gallery-lists, image-dired-write-comments)
3344 (image-dired-get-comment, image-dired-mark-tagged-files)
3345 (image-dired-list-tags, image-dired-gallery-generate): Use it.
3346 (image-dired-gallery-generate): Use insert-file-contents.
3347
3348 * time.el (display-time-world-list, display-time-world-display):
3349 * time-stamp.el (time-stamp-string):
3350 * vc/add-log.el (add-change-log-entry): Use setenv instead of
3351 set-time-zone-rule (Bug#7337).
3352
3353 2011-08-08 Daiki Ueno <ueno@unixuser.org>
3354
3355 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3356 (epg-error-to-string, epg-errors-to-string): New function.
3357 (epg-wait-for-completion): Reverse errors list.
3358 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3359 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3360 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3361 (epg-sign-keys, epg-generate-key-from-file)
3362 (epg-generate-key-from-string): Format errors by using
3363 epg-errors-to-string (bug#9255).
3364 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3365
3366 2011-08-07 Juri Linkov <juri@jurta.org>
3367
3368 * faces.el (list-faces-display): Remove extra angle bracket
3369 from `help-mode-map'.
3370
3371 * info.el (Info-history-toc-nodes): Doc fix.
3372
3373 * longlines.el (longlines-mode): Doc fix.
3374
3375 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3376
3377 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3378 of statements and in a few more cases (bug#9183).
3379
3380 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3381 New functions.
3382 (cl-transform-lambda): Use them (bug#9239).
3383
3384 2011-08-05 Martin Rudalics <rudalics@gmx.at>
3385
3386 * window.el (display-buffer-same-window)
3387 (display-buffer-same-frame, display-buffer-other-window)
3388 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3389 (pop-to-buffer-other-window)
3390 (pop-to-buffer-same-frame-other-window)
3391 (pop-to-buffer-other-frame): Make them defuns.
3392 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3393
3394 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * subr.el (make-composed-keymap): Move from C. Change calling
3397 convention, and improve docstring to bring attention to a subtle point.
3398 * minibuffer.el (completing-read-default): Adjust accordingly.
3399
3400 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
3401
3402 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3403 (tramp-open-shell): Use `tramp-shell-quote-argument'.
3404
3405 * net/trampver.el: Update release number.
3406
3407 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3408
3409 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3410 "in" (bug#9190).
3411
3412 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3413
3414 * mail/sendmail.el (sendmail-query-once): Restore the current
3415 buffer after querying (bug#9074).
3416
3417 * dired.el (dired-flagged): Use different faces for marked and
3418 flagged files (bug#6117).
3419
3420 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3421 (bug#4433).
3422
3423 * ido.el (ido-mode): Switch off the message if called
3424 non-interactively.
3425
3426 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3427 before 587, since it appears that that's more likely to work for
3428 more people.
3429
3430 * cus-edit.el (custom-file): When running under emacs -q, always
3431 refuse to save the customizations, even if the .emacs file doesn't
3432 exist.
3433
3434 * info.el: Remove the `Info-beginning-of-buffer' function
3435 (bug#8325).
3436
3437 * net/network-stream.el (network-stream-open-starttls):
3438 Use `starttls-available-p' to see whether starttls.el can be used.
3439
3440 2011-08-01 Martin Rudalics <rudalics@gmx.at>
3441
3442 * window.el (display-buffer-in-window): Don't set dedicated status
3443 of window here (Bug#9215).
3444 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3445 (display-buffer-pop-up-side-window)
3446 (display-buffer-in-side-window): Set dedicated status of window here.
3447
3448 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3451 before binding generated-autoload-file.
3452
3453 2011-08-01 Deniz Dogan <deniz@dogan.se>
3454
3455 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3456
3457 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
3458
3459 Sync with Tramp 2.2.2.
3460
3461 * net/trampver.el: Update release number.
3462
3463 2011-07-30 Juri Linkov <juri@jurta.org>
3464
3465 * dired-aux.el (dired-touch-initial): Remove function.
3466 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3467 current time, and `default' to the last modification time of the
3468 current marked file (bug#6887).
3469
3470 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3471
3472 * simple.el (goto-line): Use string-to-number to provide a
3473 numeric argument to read-number (bug#9163).
3474
3475 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
3476
3477 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3478 connection process, it could be nil.
3479
3480 2011-07-27 Leo Liu <sdl.web@gmail.com>
3481
3482 Simplify url handling in rcirc-mode.
3483
3484 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3485 (rcirc-browse-url-at-mouse): Remove.
3486 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3487
3488 2011-07-26 Alan Mackenzie <acm@muc.de>
3489
3490 Fontify bitfield declarations properly.
3491
3492 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3493 (c-symbol-chars): Now exported as a lang variable.
3494 (c-not-primitive-type-keywords): New lang variable.
3495
3496 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3497 QT keyword "more" to prevent "more slots: ...." being spuriously
3498 parsed as a bitfield declaration.
3499
3500 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3501 Refactor and enhance to handle bitfield declarations.
3502 (c-punctuation-in): New function.
3503 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3504 declarations properly.
3505
3506 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
3507
3508 * calendar/icalendar.el (icalendar--all-events): Take care of
3509 multiple vcalendars in a single file.
3510 (icalendar--convert-float-to-ical): Checkdoc fixes.
3511
3512 2011-07-25 Deniz Dogan <deniz@dogan.se>
3513
3514 * image.el (insert-image): Clarifying docstring.
3515
3516 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
3517
3518 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3519 `tramp-send-command-and-check' if there is no error.
3520 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3521
3522 2011-07-22 Alan Mackenzie <acm@muc.de>
3523
3524 Prevent cc-langs.elc being loaded at run time.
3525
3526 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3527 cc-langs.
3528
3529 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
3530 "(require 'cc-langs)". Quote a form so it will evaluate at
3531 (cc-mode's) compilation time.
3532
3533 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
3534
3535 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3536 loading. (Bug#9114)
3537
3538 2011-07-21 Martin Rudalics <rudalics@gmx.at>
3539
3540 * window.el (display-buffer-pop-up-window)
3541 (display-buffer-pop-up-side-window)
3542 (display-buffer-in-side-window): Call display-buffer-set-height
3543 and display-buffer-set-width after setting the new window's
3544 buffer so `fit-window-to-buffer' and friends work on the right buffer.
3545
3546 2011-07-20 Sam Steingold <sds@gnu.org>
3547
3548 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3549 (etags-tags-included-tables): Call `convert-standard-filename' on
3550 the file names contained in TAGS so that windows Emacs can handle
3551 TAGS files created by cygwin ctags.
3552
3553 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3554
3555 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3556 which apparently didn't work.
3557
3558 2011-07-19 Roland Winkler <winkler@gnu.org>
3559
3560 * proced.el (proced-send-signal): For *Marked Processes* buffer
3561 put point at beginning of buffer.
3562
3563 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
3564
3565 * proced.el (proced-format): Make header lines align with the text
3566 (bug#1779).
3567
3568 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3569
3570 * view.el (view-buffer): Allow running in `special' modes if we're
3571 visiting a file (bug#8615).
3572
3573 2011-07-19 Martin Rudalics <rudalics@gmx.at>
3574
3575 * window.el (display-buffer-alist-of-strings-p)
3576 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3577 New functions.
3578 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3579 more accurately.
3580
3581 2011-07-18 Alan Mackenzie <acm@muc.de>
3582
3583 Fontify declarators properly when, e.g., a jit-lock chunk begins
3584 inside a declaration.
3585
3586 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3587
3588 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3589 New function.
3590 (c-complex-decl-matchers): Insert reference to
3591 c-font-lock-enclosing-decls.
3592
3593 * progmodes/cc-engine.el (c-backward-single-comment):
3594 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3595 to nil around calls to (forward-comment -1).
3596
3597 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3598
3599 * image.el (put-image): Doc typo fix.
3600
3601 * progmodes/etags.el (tags-search): Doc typo fix.
3602
3603 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3604 password if we get errors 550 to 554.
3605
3606 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3607
3608 * net/gnutls.el (gnutls-log-level): Remove.
3609
3610 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3611 indentation character (bug#6380).
3612
3613 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3614
3615 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3616 to clarify what the problem is (bug#4291).
3617
3618 * simple.el (current-kill): Clarify what
3619 `interprogram-paste-function' does (bug#7500).
3620 (auto-fill-mode): Document `auto-fill-function' in relation to
3621 `auto-fill-mode' (bug#2470).
3622
3623 2011-07-16 Lawrence Mitchell <wence@gmx.li>
3624
3625 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3626 method if slot is read-only (bug#9035).
3627
3628 2011-07-16 Martin Rudalics <rudalics@gmx.at>
3629
3630 * frame.el (select-frame-set-input-focus): New argument NORECORD.
3631 * window.el (pop-to-buffer): Select window used even if it was
3632 selected before, see discussion of (Bug#8615), (Bug#6954).
3633 Pass argument NORECORD on to select-frame-set-input-focus.
3634
3635 2011-07-15 Glenn Morris <rgm@gnu.org>
3636
3637 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
3638 Respect help-form.
3639
3640 2011-07-09 Lawrence Mitchell <wence@gmx.li>
3641
3642 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3643 (gnutls-negotiate): Use it.
3644
3645 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3646
3647 * net/gnutls.el (gnutls-negotiate):
3648 Upcase `gnutls-algorithm-priority'.
3649
3650 2011-07-15 Glenn Morris <rgm@gnu.org>
3651
3652 * jka-compr.el (jka-compr-verbose): Move from here...
3653 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3654 Add missing :version tag.
3655 * info.el: No need to require jka-compr when compiling.
3656
3657 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3658
3659 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3660 (gnutls-negotiate): Use it.
3661
3662 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3663
3664 * info.el (Info-beginning-of-buffer): New command.
3665 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3666 announcing `b' as the key (bug#8325).
3667 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
3668
3669 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3670
3671 * international/mule-cmds.el
3672 (describe-specified-language-support): Make the error message
3673 clearer (bug#8905).
3674
3675 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3676
3677 * isearch.el (isearch-barrier): Add a doc string, since it's
3678 mentioned in a function doc string (bug#8678).
3679
3680 2011-07-15 Martin Rudalics <rudalics@gmx.at>
3681
3682 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3683 buffer argument (Bug#9083) and self-identifying label argument.
3684
3685 2011-07-15 Glenn Morris <rgm@gnu.org>
3686
3687 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3688
3689 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3690
3691 * man.el (Man-fontify-manpage): Fix message when formatting the
3692 man page (bug#7929).
3693
3694 2011-07-14 Eli Zaretskii <eliz@gnu.org>
3695
3696 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3697 argument LRM; if non-nil, append an invisible LRM character to the
3698 buffer name.
3699 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3700 last argument non-nil, when formatting buffer names.
3701 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3702 paragraph direction.
3703
3704 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3705
3706 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3707 the man page name (bug#7929).
3708
3709 * image.el (put-image): Mention the `put-image' overlay property
3710 (bug#7834).
3711
3712 * scroll-bar.el (set-scroll-bar-mode): Mention that
3713 `scroll-bar-mode' lists the values (bug#7772).
3714
3715 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3716 command (bug#7729).
3717
3718 * rect.el (apply-on-rectangle): Return the point after the last
3719 operation.
3720 (string-rectangle): Go to the point after the last operation
3721 (bug#7522).
3722
3723 * printing.el (pr-toggle-region): Clarify the documentation
3724 slightly (bug#7493).
3725
3726 * time.el (display-time-update):
3727 Allow `display-time-mail-function' to return nil (bug#7158).
3728 Fix suggested by Detlev Zundel.
3729
3730 * vc/diff.el (diff): Clarify the order the file names are read
3731 (bug#7111).
3732
3733 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3734 the doc string (bug#7015).
3735
3736 * font-lock.el (font-lock-maximum-decoration): Mention what
3737 numeric levels mean (bug#6935).
3738
3739 * startup.el (initial-buffer-choice): Don't mention the `none'
3740 selection, which is against policy.
3741
3742 2011-07-14 Martin Rudalics <rudalics@gmx.at>
3743
3744 * window.el (display-buffer-normalize-special):
3745 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
3746
3747 2011-07-14 Eli Zaretskii <eliz@gnu.org>
3748
3749 * subr.el (version<, version<=, version=): Mention "-CVS" and
3750 "-12345" alpha version numbers.
3751
3752 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
3753
3754 * bindings.el: Add advertised binding for set-mark-command
3755 (Bug#5772).
3756
3757 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
3758
3759 * bindings.el (mode-line-other-buffer):
3760 * bookmark.el (bookmark-bmenu-2-window):
3761 * bs.el (bs-cycle-next, bs-cycle-previous):
3762 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3763 switch-to-buffer.
3764
3765 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3766 Delete.
3767
3768 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
3769
3770 * follow.el (follow-debug-message, follow-redisplay):
3771 * jka-cmpr-hook.el (with-auto-compression-mode):
3772 Fix typos in docstrings.
3773
3774 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3775
3776 * subr.el (with-silent-modifications): Clarify somewhat what the
3777 macro inhibits (bug#6525).
3778
3779 * simple.el (eval-expression): Note what it does if called
3780 interactively (bug#6495).
3781
3782 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
3783
3784 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3785 Use pop-to-buffer buffer-or-name if it is nil.
3786
3787 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3788 Remove switch-to-buffer.
3789
3790 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3791
3792 * files.el (make-directory): Clarify that an error will be raised
3793 if there's an error (bug#6397).
3794
3795 * startup.el (initial-buffer-choice): Add `none' as a choice
3796 (bug#6234).
3797
3798 * subr.el (add-hook): Clarify section about buffer-local hooks
3799 (bug#6218).
3800
3801 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3802
3803 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
3804
3805 * tabify.el (untabify): Preserve the current column so that point
3806 doesn't move (bug#6032).
3807
3808 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3809
3810 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3811 Rewrite to avoid awkward possessive "s" (bug#5986).
3812
3813 2011-07-13 Glenn Morris <rgm@gnu.org>
3814
3815 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3816 (dired-insert-directory): Give a message the first time
3817 if ls is found not to support --dired.
3818
3819 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3820
3821 * simple.el (toggle-truncate-lines): Clarify what is toggled
3822 (bug#5580). Text by Drew Adams.
3823
3824 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
3825
3826 * simple.el (blink-matching-open): Make the error message from the
3827 last change less verbose.
3828
3829 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3830
3831 * font-lock.el (font-lock-comment-face): Use the high contrast
3832 "yellow" color for font-lock-comment-face on low color terminals
3833 using a dark background color (bug#4221).
3834
3835 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3836
3837 * dired.el (dired-insert-set-properties): Make the doc string
3838 reflect what it does now (bug#5325).
3839
3840 * simple.el (blink-matching-open): Say that we were unable to find
3841 the match within the limit, if we're limited (bug#5122).
3842
3843 * international/mule-cmds.el (prefer-coding-system): Add an
3844 example (bug#4869).
3845
3846 * progmodes/etags.el (tags-search): Document `file-list-form'
3847 (bug#4731).
3848
3849 2011-07-13 Lawrence Mitchell <wence@gmx.li>
3850
3851 * net/browse-url.el (browse-url-default-browser)
3852 (browse-url-browser-function): Make the default browser choice a
3853 bit more logical (bug#4300). Also clean up the doc string.
3854
3855 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
3856
3857 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3858 binary endings (bug#4440).
3859
3860 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3861
3862 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3863 which can be pretty annoying (bug#8971).
3864
3865 * jka-compr.el (jka-compr-verbose): New variable, and use
3866 throughout (bug#8971).
3867
3868 * info.el (Info-find-file): Fall back on the installation
3869 directory if we can't find the info node anywhere else.
3870
3871 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3872
3873 * vc/vc.el (vc-revert-file):
3874 Don't set file time-stamp in the past. (Bug#5181)
3875
3876 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3877
3878 * files.el (after-find-file): Give a better error message when
3879 trying to find a symlink that points to a file that doesn't exist
3880 (bug#4398).
3881
3882 * progmodes/cc-vars.el: Remove (probably) misleading comment
3883 (bug#4396).
3884
3885 2011-07-12 Johan Bockgård <bojohan@gnu.org>
3886
3887 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3888
3889 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
3890
3891 * mouse-sel.el: Hack restoring functionality, while keeping
3892 compatibility with 2010-07-03 changes to mouse selection.
3893 (mouse-sel-primary-overlay): New var.
3894 (mouse-sel-selection-alist): Use it.
3895 (mouse-sel-mode): Doc fix; remove points that are default features
3896 of mouse.el.
3897
3898 2011-07-12 Johan Bockgård <bojohan@gnu.org>
3899
3900 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3901 Fix previous fix (bug#2490).
3902
3903 2011-07-12 Roland Winkler <winkler@gnu.org>
3904
3905 * textmodes/bibtex.el (bibtex-initialize):
3906 Use pop-to-buffer-same-window.
3907 (bibtex-search-entries): Fix interactive call.
3908
3909 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3910
3911 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3912 Fontise bytecomp Error lines more correctly (bug#2490).
3913 Fix suggested by Johan Bockgård.
3914
3915 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3916
3917 * dired-x.el (dired-guess-default): Use `delete-dups'.
3918
3919 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
3920
3921 * dired.el (dired-mark-prompt):
3922 * dired-aux.el (dired-read-shell-command): Doc fix.
3923
3924 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3925
3926 * mail/sendmail.el (sendmail-query-once):
3927 Use `customize-save-variable' unconditionally, now that it works under
3928 emacs -Q.
3929
3930 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3931
3932 * cus-edit.el (custom-file): Take an optional no-error variable.
3933 (customize-save-variable): Set the variable, and give a warning if
3934 running under "emacs -q".
3935
3936 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
3937
3938 * loadhist.el (unload-feature-special-hooks):
3939 Add `auto-coding-functions', `fill-nobreak-predicate' and
3940 `find-directory-functions' (bug#5327).
3941
3942 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3943
3944 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3945
3946 * cus-edit.el (custom-guess-name-alist): -alist variables should
3947 use the `alist' type (bug#3120). Suggested by Drew Adams.
3948
3949 * printing.el: Add documentation to all the `pr-toggle-' commands.
3950
3951 2011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3952
3953 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3954 backends where it makes sense (bug#2623).
3955
3956 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3957
3958 * dired-x.el (dired-guess-default): Remove duplicate shell command
3959 entries (bug#2028).
3960 (dired-guess-default): Fix grammar in doc string (bug#2028).
3961 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
3962
3963 * subr.el (remove-duplicates): New conveniency function.
3964
3965 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3966
3967 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3968 (bug#1526).
3969
3970 2011-07-10 Martin Rudalics <rudalics@gmx.at>
3971
3972 * window.el (display-buffer-normalize-default): Don't invert
3973 meaning of even-window-heights. Reported by Eli Zaretskii
3974 <eliz@gnu.org>.
3975
3976 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3977
3978 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3979
3980 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
3981
3982 * window.el (display-buffer): Fix arguments to
3983 display-buffer-reuse-window in last change.
3984
3985 * faces.el (link): Use a less saturated blue on light backgrounds.
3986
3987 * startup.el (fancy-startup-text, fancy-about-text)
3988 (fancy-startup-tail): Use font-lock faces, for background safety.
3989
3990 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3991
3992 * emulation/viper-cmd.el (viper-change-state-to-vi):
3993 Limit triggering of abbrev expansion (Bug#9038).
3994
3995 2011-07-09 Martin Rudalics <rudalics@gmx.at>
3996
3997 * window.el (display-buffer-default-specifiers): Remove.
3998 (display-buffer-macro-specifiers): Remove default specifiers.
3999 (display-buffer-alist): Default to nil.
4000 (display-buffer-reuse-window): New optional argument other-window.
4001 (display-buffer-pop-up-window): Allow splitting internal
4002 windows. Check whether a live window was created.
4003 (display-buffer-other-window-means-other-frame)
4004 (display-buffer-normalize-arguments): Rename to
4005 display-buffer-normalize-argument and rewrite. Set the
4006 other-window specifier.
4007 (display-buffer-normalize-special): New function.
4008 (display-buffer-normalize-options): Rename to
4009 display-buffer-normalize-default and rewrite.
4010 (display-buffer-normalize-options-inhibit): Remove.
4011 (display-buffer-normalize-specifiers): Rewrite.
4012 (display-buffer): Process other-window specifier and call
4013 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4014 more faithfully.
4015 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4016 (display-buffer-alist-set): Don't handle 'unset default values.
4017 (display-buffer-in-window, display-buffer-alist-set):
4018 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4019 <tassilo@member.fsf.org>.
4020
4021 2011-07-09 Leo Liu <sdl.web@gmail.com>
4022
4023 * register.el (insert-register): Restore accidental change on
4024 2011-06-26. (Bug#9028)
4025
4026 2011-07-09 Glenn Morris <rgm@gnu.org>
4027
4028 * subr.el (remq): Handle the empty list. (Bug#9024)
4029
4030 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4031
4032 * mail/sendmail.el (send-mail-function): No longer delay custom
4033 initialization.
4034 * custom.el (custom-initialize-delay): Doc fix.
4035
4036 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4039
4040 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
4041
4042 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4043 human-friendly prompt.
4044
4045 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4048 provided by a particular plugin.
4049
4050 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4051
4052 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4053 save customizations (with "emacs -Q"), just set the variable
4054 instead of erroring out.
4055
4056 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4057
4058 2011-07-08 Juri Linkov <juri@jurta.org>
4059
4060 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4061 (archive-zip-update-case): Use 7z if found by `executable-find'.
4062 The order of searching the available programs is the same as in
4063 `archive-zip-extract' (bug#8968).
4064
4065 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
4066
4067 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4068 (menu-bar-options-menu): Tweak descriptions.
4069
4070 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4071
4072 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4073 menu items into verb phrases (bug#1421). Also refill to fit under
4074 80 columns.
4075
4076 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
4077
4078 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4079 (Info-read-node-name): Doc fix (Bug#1084).
4080
4081 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4082 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4083 (end-of-sexp, beginning-of-sexp)
4084 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4085 (forward-symbol, forward-same-syntax, word-at-point)
4086 (sentence-at-point): Doc fix (Bug#1144).
4087
4088 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4089
4090 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4091 should cover it (bug#1281).
4092
4093 * cus-edit.el (custom-show): Mark as obsolete.
4094
4095 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
4096 negotiation fails, then possibly try again with a non-encrypted
4097 connection (bug#9017).
4098
4099 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4100 be used.
4101
4102 2011-07-07 Richard Stallman <rms@gnu.org>
4103
4104 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4105 property, and handle its changed format.
4106 Look for the correct line number.
4107 Use file's line contents (but not past first =) to find
4108 correct line in message.
4109
4110 2011-07-07 Kenichi Handa <handa@m17n.org>
4111
4112 * international/characters.el (build-unicode-category-table):
4113 Delete it.
4114 (unicode-category-table): Set it by unicode-property-table-internal.
4115
4116 * international/mule-cmds.el (char-code-property-alist): Move to
4117 to src/chartab.c.
4118 (get-char-code-property): Call unicode-property-table-internal to
4119 load a file. Call get-unicode-property-internal where necessary.
4120 (put-char-code-property): Call unicode-property-table-internal to
4121 load a file. Call put-unicode-property-internal where necessary.
4122 put-unicode-property-internal where necessary.
4123 (char-code-property-description):
4124 Call unicode-property-table-internal to load a file.
4125
4126 * international/charprop.el:
4127 * international/uni-bidi.el:
4128 * international/uni-category.el:
4129 * international/uni-combining.el:
4130 * international/uni-comment.el:
4131 * international/uni-decimal.el:
4132 * international/uni-decomposition.el:
4133 * international/uni-digit.el:
4134 * international/uni-lowercase.el:
4135 * international/uni-mirrored.el:
4136 * international/uni-name.el:
4137 * international/uni-numeric.el:
4138 * international/uni-old-name.el:
4139 * international/uni-titlecase.el:
4140 * international/uni-uppercase.el: Regenerate.
4141
4142 * loadup.el: Load international/charprop.el before
4143 international/characters.
4144
4145 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
4146
4147 * window.el (next-buffer, previous-buffer): Signal an error if
4148 called from a minibuffer window.
4149
4150 * bindings.el: Revert 2011-07-04 change.
4151
4152 2011-07-06 Richard Stallman <rms@gnu.org>
4153
4154 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4155 (rmail-mime-insert-bulk, rmail-mime-insert-text):
4156 Treat markers like ints.
4157 (rmail-mime-entity): Doc fix.
4158
4159 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4160
4161 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4162 defcustom again for backwards compatibility.
4163
4164 * simple.el (shell-command-on-region): Fill.
4165
4166 * dired-aux.el (dired-kill-line): Add a doc string.
4167
4168 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4169 to "\\sw\\|\\s_" (bug#358).
4170
4171 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4172 (dired-unmark-backward): Ditto.
4173 (dired-flag-backup-files): Ditto.
4174
4175 * dired-x.el (dired-mark-sexp): Ditto.
4176
4177 2011-07-06 Richard Stallman <rms@gnu.org>
4178
4179 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4180 (rmail-mime-entity): New arg TRUNCATED.
4181 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4182 New functions.
4183 (rmail-mime-save): Warn if entity is truncated.
4184 (rmail-mime-toggle-hidden): Likewise, for showing.
4185 (rmail-mime-process-multipart): Record when an entity is truncated.
4186
4187 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
4188 if ENTITY is a string.
4189
4190 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4191
4192 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
4193 of faces when `M-C-x'-ing their definitions (bug#8378).
4194 Also clean up the code slightly.
4195
4196 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
4197 because that makes the colors go away.
4198
4199 * mail/sendmail.el (send-mail-function): Change the default to
4200 `sendmail-query-once'.
4201 (sendmail-query-once): Add an autoload cookie.
4202
4203 * net/network-stream.el (network-stream-open-starttls): Try using
4204 a plain connection even if the server offered STARTTLS, and we
4205 kinda wanted to use it, if Emacs doesn't have any STARTTLS
4206 capability. This should make smtpmail.el work in slightly more
4207 configurations.
4208
4209 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
4210
4211 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4212 New defun.
4213 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
4214
4215 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
4216
4217 * progmodes/sql.el: Version 3.0
4218 (sql-product-alist): Add product :completion-object,
4219 :completion-column, and :statement attributes.
4220 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
4221 (sql-mode-syntax-table): Mark all punctuation.
4222 (sql-font-lock-keywords-builder): Temporarily remove fallback on
4223 ansi keywords.
4224 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
4225 (sql-mode-oracle-font-lock-keywords): Improve.
4226 (sql-oracle-show-reserved-words): New function for development.
4227 (sql-product-font-lock): Simplify for source code buffers.
4228 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
4229 New functions.
4230 (sql-highlight-product): Set product specific syntax table.
4231 (sql-mode-map): Add statement movement functions.
4232 (sql-ansi-statement-starters, sql-oracle-statement-starters):
4233 New variable.
4234 (sql-statement-regexp, sql-beginning-of-statement)
4235 (sql-end-of-statement, sql-signum): New functions.
4236 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
4237 (sql-show-sqli-buffer): Bug fix.
4238 (sql-interactive-mode): Store connection data as buffer local.
4239 (sql-connect): Add NEW-NAME parameter. Redesign interaction
4240 with sql-interactive-mode.
4241 (sql-save-connection): Save buffer local settings.
4242 (sql-connection-menu-filter): Change menu entry name.
4243 (sql-product-interactive): Bug fix.
4244 (sql-preoutput-hold): New variable.
4245 (sql-interactive-remove-continuation-prompt): Bug fixes.
4246 (sql-debug-redirect): New variable.
4247 (sql-str-literal): New function.
4248 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
4249 Redesign.
4250 (sql-oracle-save-settings, sql-oracle-restore-settings)
4251 (sql-oracle-list-all, sql-oracle-list-table): New functions.
4252 (sql-completion-object, sql-completion-column)
4253 (sql-completion-sqlbuf): New variables.
4254 (sql-build-completions-1, sql-build-completions)
4255 (sql-try-completion): New functions.
4256 (sql-read-table-name): Use them.
4257 (sql-contains-names): New buffer local variable.
4258 (sql-list-all, sql-list-table): Use it.
4259 (sql-oracle-completion-types): New variable.
4260 (sql-oracle-completion-object, sql-sqlite-completion-object)
4261 (sql-postgres-completion-object): New functions.
4262
4263 2011-07-06 Glenn Morris <rgm@gnu.org>
4264
4265 * window.el (pop-to-buffer): Doc fix.
4266
4267 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
4268
4269 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4270
4271 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
4272
4273 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4274
4275 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
4276
4277 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
4278
4279 * button.el (button): Inherit from link face. Suggested by Dan
4280 Nicolaescu.
4281
4282 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 * progmodes/gdb-mi.el: Fit in 80 columns.
4285 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4286 switch-to-buffer.
4287
4288 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4289 if imenu is simply not configured (bug#8941).
4290
4291 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
4292
4293 * allout.el (allout-post-undo-hook): New allout outline-change
4294 event hook to signal undo activity.
4295 (allout-post-command-business): Run allout-post-undo-hook if an
4296 undo just occurred.
4297 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4298 * allout-widgets.el (allout-widgets-after-undo-function):
4299 Ensure the integrity of the current item's decoration after it has been
4300 in the vicinity of an undo.
4301 (allout-widgets-mode): Include allout-widgets-after-undo-function
4302 on the new allout-post-undo-hook.
4303
4304 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4305
4306 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4307 Let define-derived-mode define it.
4308 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4309 cycles of abbrev-table inheritance (bug#8998).
4310
4311 2011-07-05 Roland Winkler <winkler@gnu.org>
4312
4313 * textmodes/bibtex.el: Add support for biblatex.
4314 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4315 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4316 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4317 (bibtex-entry-alist, bibtex-field-alist): New variables.
4318 (bibtex-entry-field-alist): Obsolete alias for
4319 bibtex-BibTeX-entry-alist.
4320 (bibtex-entry-alist, bibtex-field-alist): New widgets.
4321 (bibtex-set-dialect): New command.
4322 (bibtex-entry-type, bibtex-entry-head)
4323 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4324 Bind via bibtex-set-dialect.
4325 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4326 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4327 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4328 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4329 Define via bibtex-set-dialect.
4330 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4331 Obey bibtex-no-opt-remove-re.
4332 (bibtex-vec-push, bibtex-vec-incr): New functions.
4333 (bibtex-format-entry, bibtex-field-list)
4334 (bibtex-print-help-message, bibtex-validate)
4335 (bibtex-search-entries): Use new format of bibtex-entry-alist.
4336
4337 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * progmodes/compile.el (compilation-goto-locus):
4340 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4341 * bs.el (bs-cycle-next, bs-cycle-previous):
4342 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4343 * bindings.el (mode-line-other-buffer):
4344 * autoinsert.el (auto-insert):
4345 * arc-mode.el (archive-extract):
4346 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4347
4348 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
4349
4350 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4351 Fix check of `emacs-lock-unlockable-modes'.
4352 Coerce true values of `emacs-lock--try-unlocking' to t.
4353
4354 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
4355
4356 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4357 * emacs-lock.el: New file.
4358
4359 2011-07-05 Julien Danjou <julien@danjou.info>
4360
4361 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4362 than `boundp' to check if face is set.
4363
4364 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
4365
4366 * register.el (registerv-make):
4367 * window.el (window-min-height): Fix typos in docstrings.
4368
4369 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4370
4371 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4372 Update doc string.
4373
4374 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
4375
4376 * server.el (server-execute): Catch quit and call
4377 `server-return-error' to pass the error back to emacsclient and
4378 close the connection (bug#8942).
4379
4380 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
4381
4382 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4383 insecure exception for current topic. Also note that auto-saves
4384 are handled differently.
4385
4386 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4387 State variables for tracking auto-save inhibition situation.
4388
4389 (allout-write-contents-hook-handler): Rename from
4390 'allout-write-file-hook-handler', and describe how it depends on
4391 write-contents-functions sensitivity to non-nil value to prevent
4392 file write.
4393
4394 (allout-auto-save-hook-handler): Remove. auto-save does not check
4395 this in individual buffers, only in the starting buffer, so this
4396 is not the right way for us to inhibit auto-save in a buffer
4397 according to its condition.
4398
4399 (allout-mode): Use new allout-write-contents-hook-handler, and
4400 only with write-contents-functions. Remove auto-save provisions -
4401 they're implemented elsewhere.
4402
4403 (allout-before-change-handler): If undo is in progress, note that
4404 for attention of allout-post-command-business.
4405
4406 (allout-post-command-business): If the command we're following was
4407 an undo, check for change in the status of encrypted items and
4408 adjust auto-save inhibitions accordingly.
4409
4410 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4411 according to whether there are or aren't any plain-text topics
4412 pending encryption.
4413
4414 (allout-inhibit-auto-save-info-for-decryption):
4415 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
4416 there are plain-text topics pending encryption.
4417
4418 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4419 buffer-saved-size and some allout state to not inhibit auto-saves
4420 if there are no longer any plain-text topics pending encryption.
4421
4422 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4423 No longer provide for exemption of the current topic.
4424
4425 2011-07-04 Juri Linkov <juri@jurta.org>
4426
4427 Add 7z operations to delete and save changed members (bug#8968).
4428 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4429 New defcustoms.
4430 (archive-7z-write-file-member): New function.
4431 (archive-7z-summarize): Fix the number of dashes in the
4432 listing output.
4433
4434 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4435
4436 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4437 (bug#8958).
4438
4439 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
4440
4441 * bindings.el: Ignore next-buffer and previous-buffer in
4442 minibuffer-local-map.
4443
4444 * font-lock.el (font-lock-builtin-face): Change light background
4445 color to dark slate blue (Bug#6693).
4446
4447 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4448
4449 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4450
4451 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4454 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4455 Add switch-to-buffer.
4456
4457 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4458
4459 * isearch.el (isearch-search-fun-function): Clarify further the
4460 meaning of the function returned.
4461
4462 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
4463
4464 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4465
4466 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4467 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4468 Use it.
4469 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4470 `tramp-default-remote-path' does not exist.
4471 (tramp-send-command-and-read): New optional argument NOERROR.
4472 (tramp-open-connection-setup-interactive-shell)
4473 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4474 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4475 (tramp-process-sentinel): Flush also process' connection property.
4476 (tramp-sh-handle-start-file-process): Do not set process
4477 sentinel. It is done now ...
4478 (tramp-maybe-open-connection): ... here. (Bug#8929)
4479
4480 2011-07-04 MON KEY <monkey@sandpframing.com>
4481
4482 * play/animate.el (animate-string): Doc fixes and allow changing
4483 the buffer name (bug#5417).
4484
4485 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4486
4487 * play/animate.el (animation-buffer-name): Rename from *animate*.
4488
4489 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4490
4491 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4492 This is simpler and helps future-proof the code.
4493 (timer-until): Use time-subtract and float-time.
4494 (timer--time-less-p): Use time-less-p.
4495
4496 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
4497
4498 * type-break.el (timep): Use the value of `float-time' to avoid a
4499 byte-compiler warning.
4500
4501 * server.el (server-eval-and-print): Return any result, even nil.
4502
4503 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4504
4505 * type-break.el: Accept time formats that the builtins accept.
4506 (timep, type-break-time-difference): Accept any format that
4507 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4508 This is simpler and helps future-proof the code.
4509 (type-break-time-difference): Round rather than ignoring
4510 subseconds components.
4511
4512 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4513
4514 * info.el (Info-apropos-matches): Make non-interactive, since it
4515 doesn't seem to do anything useful as a command (bug#8829).
4516
4517 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
4518
4519 * frame.el (frame-background-mode, frame-set-background-mode):
4520 Move from faces.el.
4521 (frame-default-terminal-background): New function.
4522
4523 * custom.el (custom-push-theme): Don't record faces in `changed'
4524 theme; this doesn't work correctly for per-frame face settings.
4525 (disable-theme): Use face-set-after-frame-default to reset faces.
4526 (custom--frame-color-default): New function.
4527
4528 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4529
4530 * dired.el (dired-flagging-regexp): Remove unused variable
4531 (bug#8769).
4532
4533 2011-03-29 Kevin Ryde <user42@zip.com.au>
4534
4535 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4536 `perl-Test2' extend to match possible "fail #N" rep count
4537 (bug#8377).
4538
4539 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4540
4541 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4542 `smtpmail-via-smtp' now returns the error instead of nil.
4543
4544 * isearch.el (isearch-search-fun-function): Clarify the doc string
4545 (bug#8101).
4546
4547 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
4548
4549 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4550 unnecessary spaces (bug#8987).
4551
4552 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4553
4554 * net/network-stream.el (open-network-stream): Use the
4555 :end-of-capability command thoughout.
4556
4557 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4558
4559 * net/network-stream.el (open-network-stream): Add the
4560 :end-of-capability command parameter, used by pop3.el.
4561
4562 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4563
4564 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4565
4566 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4567 for list)" (bug#6475).
4568
4569 * files.el (file-expand-wildcards): Ignore non-readable
4570 sub-directories while trying to find matches instead of signaling
4571 an error (bug#6297).
4572
4573 * man.el (Man-reference-regexp): Allow matching possible
4574 word-wrapped references (bug#6289).
4575
4576 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4577 for consistency with the other vc buffers (bug#6197).
4578 (vc-checkin): Ditto.
4579
4580 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4581
4582 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4583
4584 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4585
4586 * custom.el (defcustom): Clarify that :set is only used in the
4587 Customize user interface (bug#6089).
4588
4589 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4590 associated with a file, refuse to run instead of erroring out
4591 (bug#6084).
4592
4593 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4594 the doc string, since it appears that using `fill-column' always
4595 controls the width (bug#7845).
4596
4597 * simple.el (shell-command-on-region): Say where the error output
4598 went if `shell-command-default-error-buffer' is set (bug#6857).
4599
4600 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4601
4602 * allout.el (allout-yank-processing): Adjust cursor position for
4603 backwards-deleted space.
4604
4605 (allout-rebullet-heading): Register changes with
4606 allout-exposure-changed-hook, so the modified topic is properly
4607 decorated.
4608
4609 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4610
4611 * minibuffer.el (completion-in-region): Document PREDICATE
4612 (bug#7136).
4613
4614 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4615 of keyword/argument pairs (bug#6904).
4616
4617 * replace.el (multi-occur):
4618 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
4619
4620 2011-07-02 Drew Adams <drew.adams@oracle.com>
4621
4622 * dired.el (dired-mark-if): Make the message about whether it's
4623 marking or unmarking clearer (bug#8523).
4624
4625 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4626
4627 * disp-table.el (display-table-print-array): New function.
4628 (describe-display-table): Use it to print the vectors more pretty
4629 (Bug#8859).
4630
4631 2011-07-02 Martin Rudalics <rudalics@gmx.at>
4632
4633 * window.el (window-state-get-1): Don't assign clone numbers.
4634 Add clone-of item to list of window parameters.
4635 (window-state-put-2): Don't process clone numbers.
4636 (display-buffer-alist): Fix doc-string.
4637
4638 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4639
4640 * subr.el (remq): Don't allocate if it's not needed.
4641 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4642 (keymap--merge-bindings): New functions.
4643 (keymap-canonicalize): Use them to refine the canonicalization.
4644 * minibuffer.el (minibuffer-local-completion-map)
4645 (minibuffer-local-must-match-map): Move initialization from C.
4646 (minibuffer-local-filename-completion-map): Move initialization from C;
4647 don't inherit from anything here.
4648 (minibuffer-local-filename-must-match-map): Make obsolete.
4649 (completing-read-default): Use make-composed-keymap to combine
4650 minibuffer-local-filename-completion-map with either
4651 minibuffer-local-must-match-map or
4652 minibuffer-local-filename-completion-map.
4653
4654 2011-07-01 Glenn Morris <rgm@gnu.org>
4655
4656 * type-break.el (type-break-time-sum): Use dolist.
4657
4658 * textmodes/flyspell.el (flyspell-word-search-backward):
4659 Replace CL function.
4660
4661 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4662
4663 * mouse.el (mouse--strip-first-event): New function.
4664 (function-key-map): Use it to map fringe clicks to normal clicks
4665 by default.
4666
4667 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4668 (vc-bzr-revision-completion-table): Add support for annotate and date.
4669
4670 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4671 inherit from parent.
4672
4673 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4674
4675 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
4676 (dired-show-file-type): Doc fixup (bug#8818).
4677
4678 * dired.el (dired-mode): Fix up the doc string as suggested by
4679 Drew Adams (bug#8817).
4680
4681 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4682 cookie, since the manual says that it should be possible to add
4683 this function to `find-file-hook' (bug#8709).
4684
4685 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4686
4687 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4688 here. Noted Ted Zlatanov as the maintainer.
4689 (cfengine-common-settings, cfengine-common-syntax): New functions
4690 to set up common things between `cfengine-mode' and
4691 `cfengine3-mode'.
4692 (cfengine3-mode): New mode.
4693 (cfengine3-defuns cfengine3-defuns-regex
4694 (cfengine3-class-selector-regex cfengine3-category-regex)
4695 (cfengine3-vartypes cfengine3-font-lock-keywords)
4696 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
4697 (cfengine3-indent-line): Add from cfengine3.el.
4698
4699 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
4700
4701 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4702
4703 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4704
4705 2011-07-01 Martin Rudalics <rudalics@gmx.at>
4706
4707 * window.el (same-window-buffer-names, same-window-regexps)
4708 (same-window-p, special-display-frame-alist)
4709 (special-display-popup-frame, special-display-function)
4710 (special-display-buffer-names, special-display-regexps)
4711 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4712 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4713 (split-window-preferred-function, split-height-threshold)
4714 (split-width-threshold, even-window-heights)
4715 (display-buffer-mark-dedicated, window-splittable-p)
4716 (split-window-sensibly, window-safely-shrinkable-p):
4717 Un-obsolete.
4718 (display-buffer): Don't spread args with function specifier
4719 because special-display-popup-frame won't like it.
4720
4721 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4722
4723 Time-stamp simplifications and fixes.
4724 These improve accuracy slightly, and future-proof the code
4725 against some potential changes to current-time format.
4726
4727 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4728 by using time-since and float-time.
4729
4730 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4731 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4732 + NNN microseconds".
4733
4734 * type-break.el (type-break-time-sum): Rewrite using time-add.
4735
4736 * play/hanoi.el (hanoi-current-time-float): Remove.
4737 All uses replaced by float-time.
4738
4739 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4740 This yields a more-accurate answer.
4741 (rng-time-to-float): Remove; no longer needed.
4742
4743 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4744
4745 * calendar/timeclock.el (timeclock-seconds-to-time):
4746 Defalias to seconds-to-time, since they're the same thing.
4747
4748 * emacs-lisp/elp.el (elp-elapsed-time):
4749 * emacs-lisp/benchmark.el (benchmark-elapse):
4750 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4751
4752 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4753
4754 * window.el (bury-buffer): Don't iconify the only frame.
4755 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4756 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4757
4758 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
4759
4760 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4761 Add mouse-yank-primary.
4762
4763 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4764
4765 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4766
4767 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4768
4769 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4770 (find-library-name): Use it to find relative load names when provided
4771 absolute file name (bug#8803).
4772
4773 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4774
4775 * textmodes/flyspell.el (flyspell-word): Consider words that
4776 differ only in case as potential doublons (bug#5687).
4777
4778 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4779 Remove two rather uninteresting debugging-like messages to make
4780 debbugs.el more silent.
4781
4782 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4783 a password-like phrase.
4784
4785 2011-06-30 Mastake YAMATO <yamato@redhat.com>
4786
4787 * progmodes/cc-guess.el: New file.
4788
4789 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
4790
4791 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4792 derived from `c-basic-common-init'.
4793
4794 * progmodes/cc-mode.el (top-level): Require cc-guess.
4795 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4796
4797 2011-06-30 Lawrence Mitchell <wence@gmx.li>
4798
4799 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4800
4801 2011-06-30 Alan Mackenzie <acm@muc.de>
4802
4803 * progmodes/cc-engine.el (c-guess-continued-construct):
4804 Correct the handling of template-args-cont, particularly for when font
4805 lock is disabled. Name this case as "CASE G".
4806
4807 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4808
4809 * allout.el (allout-yank-processing): Fix injection of extra space
4810 between bullet and non-whitespace character in first topic when
4811 pasting, ensuring that the actual spacing in the pasted topic
4812 following the bullet char is preserved. This extra space was
4813 causing pasted encrypted topics to get a decrypted status even
4814 when the content was actually still encrypted. Now the decryption
4815 status from before the paste is preserved.
4816
4817 (allout-flag-region): Set all allout overlays so they evaporate
4818 when reduced to zero length (evanescent), to prevent overlay
4819 leakage.
4820
4821 2011-06-30 Glenn Morris <rgm@gnu.org>
4822
4823 * w32-fns.el (w32-charset-info-alist): Declare.
4824
4825 * find-dired.el (find-grep-options): Simplify.
4826
4827 * term/ns-win.el (ns-set-resource): Declare.
4828
4829 * ses.el (row, col): Declare dynamic variables honestly.
4830
4831 * textmodes/reftex-parse.el (index-tags): Declare.
4832
4833 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
4834
4835 * cus-edit.el (customize-push-and-save): New function.
4836
4837 * files.el (hack-local-variables-confirm): Use it.
4838
4839 * custom.el (load-theme): New arg NO-CONFIRM.
4840 Use customize-push-and-save (Bug#8720).
4841 (custom-enabled-themes): Doc fix.
4842
4843 * cus-theme.el (customize-create-theme)
4844 (custom-theme-merge-theme): Callers to load-theme changed.
4845
4846 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4847
4848 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4849 short URLs have at least one dot in them (bug #7614).
4850
4851 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4852 nil, because using a pty is apparently too slow (bug #895).
4853
4854 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4855
4856 * mail/sendmail.el (sendmail-query-once): New function.
4857 (sendmail-query-once-function): New variable.
4858
4859 2011-06-29 Glenn Morris <rgm@gnu.org>
4860
4861 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4862
4863 * ses.el (top-level): Require cl when compiling.
4864 (ses-set-localvars): Fix error statement.
4865 Call it at compile time to silence a storm of warnings.
4866
4867 2011-06-29 Martin Rudalics <rudalics@gmx.at>
4868
4869 * window.el (normalize-live-buffer): Rename to
4870 window-normalize-buffer.
4871 (normalize-live-frame): Rename to window-normalize-frame.
4872 (normalize-any-window): Rename to window-normalize-any-window.
4873 (normalize-live-window): Rename to window-normalize-live-window.
4874 (make-window-atom): Rename to window-make-atom.
4875 (window-resize-reset): Rename to window--resize-reset.
4876 (window-resize-reset-1): Rename to window--resize-reset-1.
4877 (resize-mini-window): Rename to window--resize-mini-window.
4878 (resize-subwindows-skip-p): Rename to
4879 window--resize-subwindows-skip-p.
4880 (resize-subwindows-normal): Rename to
4881 window--resize-subwindows-normal.
4882 (resize-subwindows): Rename to window--resize-subwindows.
4883 (resize-other-windows): Rename to window--resize-siblings.
4884 (resize-this-window): Rename to window--resize-this-window.
4885 (resize-root-window): Rename to window--resize-root-window.
4886 (resize-root-window-vertically): Rename to
4887 window--resize-root-window-vertically.
4888 (normalize-buffer-to-display): Rename to
4889 window-normalize-buffer-to-display.
4890 (normalize-buffer-to-switch-to): Rename to
4891 window-normalize-buffer-to-switch-to.
4892 Correspondingly update all callers of the functions listed
4893 above.
4894 (display-buffer-alist, display-buffer-normalize-arguments)
4895 (display-buffer-normalize-options, display-buffer)
4896 (display-buffer-alist-set): Use "function" instead of
4897 "fun-with-args".
4898
4899 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
4900
4901 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4902 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4903 debbugs.gnu.org. Mention acknowledgment email.
4904
4905 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4906
4907 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4908 buffer multibyteness, since it shouldn't matter.
4909
4910 2011-06-28 Martin Rudalics <rudalics@gmx.at>
4911
4912 * window.el (display-buffer-in-side-window): Handle dedicated
4913 windows as in display-buffer-reuse-window.
4914 (display-buffer-normalize-alist): Use value of override
4915 specifier.
4916 (display-buffer-normalize-specifiers): Use value of
4917 other-window-means-other-frame specifier.
4918 (display-buffer-alist): Rewrite some texts in widgets.
4919 (display-buffer): Spread arguments when calling function
4920 specified by fun-with-args.
4921
4922 2011-06-28 Deniz Dogan <deniz@dogan.se>
4923
4924 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4925 Unnest `let'.
4926
4927 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4928 selectors (Bug#5732).
4929 (css-proprietary-nmstart-re): Use `regexp-opt'.
4930
4931 2011-06-27 Jari Aalto <jari.aalto@cante.net>
4932
4933 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4934 (eshell-ls-date-format): New defcustom.
4935 (eshell-ls-file): Use it.
4936
4937 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4938
4939 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4940
4941 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4942
4943 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4944 (ange-ftp-make-tmp-name): New arg.
4945 (ange-ftp-file-local-copy): Use it.
4946
4947 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
4948
4949 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4950 no-conversion (Bug#8870).
4951
4952 2011-06-27 Martin Rudalics <rudalics@gmx.at>
4953
4954 * window.el (window-right, window-left, window-child)
4955 (window-child-count, window-last-child)
4956 (window-iso-combination-p, walk-window-tree-1)
4957 (window-atom-check-1, window-tree-1, delete-window)
4958 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4959 new naming conventions - window-vchild, window-hchild,
4960 window-next and window-prev are now called window-top-child,
4961 window-left-child, window-next-sibling and window-prev-sibling
4962 respectively.
4963 (resize-window-reset): Rename to window-resize-reset.
4964 (resize-window-reset-1): Rename to window-resize-reset-1.
4965 (resize-window): Rename to window-resize.
4966 (window-min-height, window-min-width)
4967 (resize-mini-window, resize-this-window, resize-root-window)
4968 (resize-root-window-vertically, adjust-window-trailing-edge)
4969 (enlarge-window, shrink-window, maximize-window)
4970 (minimize-window, delete-window, quit-restore-window)
4971 (split-window, balance-windows, balance-windows-area-adjust)
4972 (balance-windows-area, window-state-put-2)
4973 (display-buffer-even-window-sizes, display-buffer-set-height)
4974 (display-buffer-set-width, set-window-text-height)
4975 (fit-window-to-buffer): Rename all "resize-window" prefixed
4976 calls to use the "window-resize" prefix convention.
4977 (display-buffer-alist): Fix symbol for label specifier.
4978 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4979 corresponding specifier.
4980 Reported by Juanma Barranquero <lekktu@gmail.com>.
4981
4982 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4983
4984 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4985 convention.
4986 (ses-call-printer): Does not pass an empty string to formatter when the
4987 cell is empty to keep from barking printer Calc math-format-value.
4988
4989 2011-06-27 Richard Stallman <rms@gnu.org>
4990
4991 * battery.el (battery-mode-line-limit): New variable.
4992 (battery-update): Handle it.
4993
4994 * mail/rmailmm.el (rmail-mime-process-multipart):
4995 Handle truncated messages.
4996
4997 2011-06-27 Glenn Morris <rgm@gnu.org>
4998
4999 * progmodes/flymake.el (flymake-err-line-patterns):
5000 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5001
5002 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5003
5004 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
5005 (ses--clean-!, ses--clean-_): New functions.
5006 (ses-range): Add configurability of readout order, and conversion
5007 to Calc vector.
5008
5009 * ses.el (ses-repair-cell-reference-all): New function.
5010 (ses-cell-symbol): Set macro as safe, so that it can be used in
5011 formulas.
5012
5013 * ses.el: Update cycle detection algorithm.
5014 (ses-localvars): Add ses--Dijkstra-attempt-nb and
5015 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
5016 (ses-set-localvars): New function.
5017 (ses-make-cell): Add property-list as a cell element.
5018 (ses-cell-property-get-fun, ses-cell-property-get)
5019 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
5020 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5021 New functions.
5022 (ses-cell-property-set, ses-cell-property-pop)
5023 (ses-cell-property-get-handle): New macro.
5024 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5025 New aliases, used for code readability.
5026 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5027 cycle detection.
5028 (ses-self-reference-early-detection): New defcustom.
5029 (ses-formula-references): Robustify against self-refering cells.
5030 (ses-mode): Use ses-set-localvars.
5031 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5032 before lauching the update processing.
5033 (ses-initialize-Dijkstra-attempt): New function.
5034 (ses-recalculate-cell): Update for cycle detection based on
5035 Dijkstra algorithm.
5036
5037 * ses.el: Fix commenting and indenting convention.
5038
5039 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5040
5041 * bs.el (bs-cycle-next): Complete last change.
5042
5043 2011-06-27 Drew Adams <drew.adams@oracle.com>
5044
5045 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5046
5047 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5048
5049 * net/network-stream.el (network-stream-open-starttls):
5050 Don't re-get capabilities unless we've reestablished connection.
5051 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5052
5053 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5054 to binary to possibly avoid line encoding issues on Windows (among
5055 other things).
5056
5057 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5058
5059 * net/network-stream.el (open-network-stream): Return an :error
5060 saying what the problem was, if possible.
5061
5062 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5063 server.
5064
5065 * net/network-stream.el (network-stream-open-starttls): If we
5066 wanted to use STARTTLS, and the server offered it, but we weren't
5067 able to because we had no STARTTLS support, then close the connection.
5068 (open-network-stream): Return an :error element, if present.
5069
5070 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
5071
5072 * hl-line.el (hl-line-sticky-flag): Doc fix.
5073 (global-hl-line-sticky-flag): New option (Bug#8323).
5074 (global-hl-line-highlight): Obey it.
5075
5076 * vc/vc.el (vc-revert-show-diff): Default to t.
5077
5078 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5079
5080 * allout-widgets.el (allout-widgets-post-command-business):
5081 Stop decorating intermediate isearch matches. They're not being
5082 undecorated when an isearch is continued past, and isearch
5083 automatically collapses them. This leads to "widget leaks", where
5084 decorated items accumulate in collapsed areas. Lines with lots of
5085 hidden widgets can slow down cursor travel, substantially.
5086 Too much complicated machinery would be needed to ensure undecoration,
5087 so we're doing without this nicety.
5088
5089 (allout-widgets-tally-string): Don't try to do a hash-table-count
5090 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5091 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5092 *Messages* when allout-widgets-maintain-tally is t.
5093
5094 2011-06-26 Martin Rudalics <rudalics@gmx.at>
5095
5096 * window.el (display-buffer-normalize-argument): Rename to
5097 display-buffer-normalize-arguments. Handle special meaning of
5098 LABEL argument. Respect special-display-function when popping up
5099 a new frame. Fix code searching for a window showing the buffer
5100 on another frame.
5101 (display-buffer-normalize-specifiers):
5102 Call display-buffer-normalize-arguments.
5103 (display-buffer-in-window): Don't undedicate the window if its
5104 buffer remains the same.
5105 Reported by Drew Adams <drew.adams@oracle.com>.
5106 (display-buffer-alist): Add choice for same-window macro
5107 specfier.
5108 (display-buffer): Mention special meaning of LABEL argument in
5109 doc-string. Fix quoting. Don't pop up a new frame even as
5110 fallback.
5111
5112 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
5113
5114 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5115 avoid deleting the current window in some cases (bug#8911).
5116
5117 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5118
5119 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5120 (Bug#8934)
5121
5122 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5123
5124 * net/network-stream.el (network-stream-open-starttls):
5125 Use built-in TLS support if `gnutls-available-p' is true.
5126 (network-stream-open-tls): Ditto.
5127
5128 2011-06-26 Leo Liu <sdl.web@gmail.com>
5129
5130 * register.el (registerv): New struct.
5131 (registerv-make): New function.
5132 (jump-to-register, describe-register-1, insert-register):
5133 Support the jump-func, print-func and insert-func slot of a registerv
5134 struct. (Bug#8415)
5135
5136 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
5137
5138 * vc/vc.el (vc-revert-show-diff): New defcustom.
5139 (vc-diff-internal): New arg specifying diff buffer.
5140 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5141 reuse an existing *vc-diff* buffer (Bug#8927).
5142
5143 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5144
5145 2011-06-26 Glenn Morris <rgm@gnu.org>
5146
5147 * progmodes/f90.el (f90-critical-indent): New option.
5148 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5149 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5150 (f90-mode): Doc fix.
5151 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5152 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5153 (f90-beginning-of-block, f90-next-block, f90-indent-region)
5154 (f90-match-end): Handle block, critical.
5155
5156 2011-06-25 Glenn Morris <rgm@gnu.org>
5157
5158 * calendar/diary-lib.el (diary-included-files): Doc fix.
5159 (diary-include-files): New function, extracted from
5160 diary-include-other-diary-files and diary-mark-included-diary-files.
5161 (diary-include-other-diary-files, diary-mark-included-diary-files):
5162 Just call diary-include-files.
5163 (diary-mark-entries): Reset diary-included-files on first call.
5164
5165 * calendar/diary-lib.el (diary-mark-entries)
5166 (diary-mark-included-diary-files):
5167 Visit included diary-files in temp buffers.
5168
5169 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5170 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5171 (f90-start-block-re, f90-imenu-generic-expression)
5172 (f90-looking-at-program-block-start, f90-no-block-limit):
5173 Add support for submodules.
5174
5175 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5176 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
5177
5178 2011-06-25 Eli Zaretskii <eliz@gnu.org>
5179
5180 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5181 buffer-file-type before setting its value, to avoid disastrous
5182 global effects on decoding files for DOS/Windows systems. (Bug#8780)
5183
5184 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
5185
5186 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5187
5188 * ses.el (ses-unload-function):
5189 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
5190
5191 * proced.el (proced-unload-function):
5192 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
5193
5194 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
5195
5196 * server.el (server-create-window-system-frame): Add parameters arg.
5197 (server-process-filter): Doc fix. Handle frame-parameters.
5198
5199 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
5200
5201 Fix bug#8730, bug#8781.
5202
5203 * loadhist.el (unload--set-major-mode): New function.
5204 (unload-feature): Use it.
5205
5206 * progmodes/python.el (python-after-info-look): Add autoload cookie.
5207 (python-unload-function): New function.
5208
5209 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5210
5211 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
5212
5213 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
5214
5215 * net/browse-url.el (browse-url-firefox-program): Add icecat to
5216 the candidates list.
5217
5218 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
5219
5220 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
5221
5222 2011-06-23 Richard Stallman <rms@gnu.org>
5223
5224 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
5225 (rmail-variables): Set next-error-move-function.
5226 (rmail-what-message): Take argument POS.
5227 (rmail-next-error-move): New function.
5228
5229 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5230
5231 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
5232 messages for adjacent non-terminals.
5233
5234 2011-06-23 Richard Stallman <rms@gnu.org>
5235
5236 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
5237 (rmail-show-message-1): Preserve buffer modified flag.
5238 (rmail-start-mail): Don't specify use of rmail-mail-return;
5239 that's done by mail-bury now.
5240 (rmail-mail-return): Handle arg NEWBUF.
5241
5242 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
5243
5244 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5245 SIZE is a number.
5246
5247 2011-06-23 Martin Rudalics <rudalics@gmx.at>
5248
5249 * window.el (get-lru-window, get-mru-window)
5250 (get-largest-window): Never return a minibuffer window.
5251 (display-buffer-pop-up-window): Fix a bug that could lead to
5252 reusing the minibuffer window.
5253 (display-buffer): Pass original specifier argument to
5254 display-buffer-function instead of the normalized one.
5255 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5256
5257 2011-06-22 Leo Liu <sdl.web@gmail.com>
5258
5259 * minibuffer.el (completing-read-function)
5260 (completing-read-default): Move from minibuf.c
5261
5262 2011-06-22 Richard Stallman <rms@gnu.org>
5263
5264 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5265 to Rmail even if not started by a special Rmail command.
5266
5267 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5268 Copy the buffer currently showing just one message.
5269
5270 2011-06-22 Roland Winkler <winkler@gnu.org>
5271
5272 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5273 (bibtex-clean-entry): First delete the old key so that a
5274 customized algorithm for generating the new key does not get
5275 confused by the old key.
5276 (bibtex-url): Obey regexp of first step.
5277 (bibtex-search-entries): Do not use add-to-list with local
5278 list-var.
5279
5280 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5281
5282 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5283 stored a user name, then query for the password first, instead of
5284 waiting for SMTP to give an error message and the trying again.
5285
5286 2011-06-22 Lawrence Mitchell <wence@gmx.li>
5287
5288 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5289 BUFFER in call-process.
5290
5291 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5292
5293 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5294 QUIT twice.
5295 (smtpmail-try-auth-methods): Require user name and password from
5296 auth-source.
5297
5298 2011-06-22 Martin Rudalics <rudalics@gmx.at>
5299
5300 * window.el (display-buffer-default-specifiers)
5301 (display-buffer-alist): Remove entries for pop-up-frame-alist.
5302 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
5303 (split-window): Normalize SIDE argument (Bug#8916).
5304
5305 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5306 (special-display-frame-alist, special-display-popup-frame):
5307 Remove duplicate declarations. These are now in window.el.
5308
5309 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5310
5311 * mail/smtpmail.el (smtpmail-via-smtp):
5312 Set :use-starttls-if-possible so that we always use STARTTLS if the
5313 server supports it. SMTP servers that support STARTTLS commonly
5314 require it.
5315
5316 * net/network-stream.el (network-stream-open-starttls): Support
5317 upgrading to STARTTLS always, even if we don't have built-in support.
5318 (open-network-stream): Add the :always-query-capabilies keyword.
5319
5320 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5321 upgrades with `open-network-stream', and rely solely on
5322 auth-source for all credentials. Big changes throughout the file,
5323 but in particular:
5324 (smtpmail-auth-credentials): Remove.
5325 (smtpmail-starttls-credentials): Remove.
5326 (smtpmail-via-smtp): Check for servers saying they want AUTH after
5327 MAIL FROM, too.
5328
5329 * net/network-stream.el (network-stream-open-starttls):
5330 Provide support for client certificates both for external and built-in
5331 STARTTLS.
5332 (auth-source): Require.
5333 (open-network-stream): Document the :client-certificate keyword.
5334 (network-stream-certificate): Change cert-cert to cert and
5335 cert-key to key.
5336
5337 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
5338
5339 * net/tramp-cache.el (top): Don't load the persistency file when
5340 "emacs -Q" has been called.
5341
5342 2011-06-21 Tim Harper <timcharper@gmail.com>
5343
5344 * term/ns-win.el (ns-initialize-window-system):
5345 Set application-specific `ApplePressAndHoldEnabled' system
5346 resource to NO as it is not yet supported by the NS port.
5347
5348 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
5349
5350 * misc.el (list-dynamic-libraries--refresh): Compute header here...
5351 (list-dynamic-libraries): ...not here.
5352
5353 2011-06-21 Leo Liu <sdl.web@gmail.com>
5354
5355 * subr.el (sha1): Implement sha1 using secure-hash.
5356
5357 2011-06-21 Martin Rudalics <rudalics@gmx.at>
5358
5359 * window.el (display-buffer-alist): In default value do not
5360 enforce searching a window on any but the selected frame.
5361 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5362 (display-buffer-select-window): Remove function.
5363 (display-buffer-in-window): When a window on another frame gets
5364 reused, do not select it any more but just raise its frame if
5365 necessary (Bug#8851) and (Bug#8856).
5366 (display-buffer-normalize-options): Handle pop-up-frames related
5367 options more faithfully.
5368 (pop-to-buffer): Don't rely on `display-buffer' selecting the
5369 window if it is on another frame.
5370 (display-buffer-alist, display-buffer-default-specifiers):
5371 Don't make new frame unsplittable by default.
5372 (display-buffer-normalize-argument): Fix doc-string typo and use
5373 'same-frame-other-window instead of 'other-window when associating
5374 with display-buffer-macro-specifiers.
5375
5376 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
5377
5378 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5379 New functions.
5380 (5x5-mode-map, 5x5-mode-menu): Bind them.
5381 (5x5-draw-grid): Tweak the solver's rendering.
5382
5383 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5386 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
5387
5388 2011-06-21 Drew Adams <drew.adams@oracle.com>
5389
5390 * menu-bar.el: Use function variable instead of switch-to-buffer.
5391 (menu-bar-select-buffer-function): New variable.
5392 (menu-bar-update-buffers): Use it (bug#8876).
5393
5394 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5395
5396 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5397 variable's status.
5398
5399 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
5400
5401 * x-dnd.el (x-dnd-version-from-flags)
5402 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5403 and long as number (Bug#8899).
5404 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5405
5406 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5407
5408 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
5409 (completion-try-completion, completion-all-completions): Compute the
5410 metadata argument if it's missing; make it optional (bug#8795).
5411
5412 * wid-edit.el: Use lex-bind and move towards completion-at-point.
5413 (widget-complete): Use new :completion-function property.
5414 (widget-completions-at-point): New function.
5415 (default): Use :completion-function instead of :complete.
5416 (widget-default-completions): Rename from widget-default-complete;
5417 Rewrite.
5418 (widget-string-complete, widget-file-complete, widget-color-complete):
5419 Remove functions.
5420 (file, symbol, function, variable, coding-system, color):
5421 * international/mule-cmds.el (default-input-method, charset)
5422 (language-info-custom-alist):
5423 * cus-edit.el (face): Use new property :completions.
5424
5425 * progmodes/pascal.el (pascal-completions-at-point): New function.
5426 (pascal-mode): Use it.
5427 (pascal-mode-map): Use completion-at-point.
5428 (pascal-toggle-completions): Make obsolete.
5429 (pascal-complete-word, pascal-show-completions):
5430 * progmodes/octave-mod.el (octave-complete-symbol):
5431 Redefine as obsolete alias.
5432 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5433 Signal absence of completion info for old Octave,
5434 (inferior-octave-complete): Redefine as obsolete alias.
5435 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5436 (meta-completions-at-point): Rename from meta-complete-symbol and
5437 adapt it for use on completion-at-point-functions.
5438 (meta-common-mode): Use it.
5439 (meta-looking-at-backward, meta-match-buffer): Remove.
5440 (meta-complete-symbol): Redefine as obsolete alias.
5441 (meta-common-mode-map): Use completion-at-point.
5442 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5443 (makefile-mode-map): Use completion-at-point.
5444 (makefile-completions-at-point): Rename from makefile-complete and
5445 adapt it for use on completion-at-point-functions.
5446 (makefile-mode): Use it.
5447 (makefile-complete): Redefine as obsolete alias.
5448
5449 2011-06-20 Deniz Dogan <deniz@dogan.se>
5450
5451 * net/rcirc.el: Delete trailing whitespaces once and for all.
5452
5453 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5454
5455 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5456
5457 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
5458
5459 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5460
5461 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5462
5463 2011-06-19 Martin Rudalics <rudalics@gmx.at>
5464
5465 * window.el (display-buffer-other-window-means-other-frame):
5466 Call display-buffer-normalize-alist.
5467 (display-buffer-normalize-specifiers-1): Rename to
5468 display-buffer-normalize-argument. New argument other-frame.
5469 Rewrite.
5470 (display-buffer-normalize-specifiers-2): Rename to
5471 display-buffer-normalize-options.
5472 (display-buffer-normalize-alist-1): New function.
5473 (display-buffer-normalize-specifiers-3): Rename to
5474 display-buffer-normalize-alist.
5475 Call display-buffer-normalize-alist-1.
5476 (display-buffer-normalize-options-inhibit): New variable.
5477 (display-buffer-normalize-specifiers): Rewrite calling
5478 display-buffer-normalize-alist,
5479 display-buffer-normalize-argument, and
5480 display-buffer-normalize-options. Don't call the latter if
5481 display-buffer-normalize-options-inhibit is non-nil.
5482 (frame-auto-delete): New option.
5483 (window-deletable-p): Use frame-auto-delete.
5484 (window-list-no-nils, window-state-ignored-parameters)
5485 (window-state-get-1, window-state-get, window-state-put-list)
5486 (window-state-put-1, window-state-put-2, window-state-put):
5487 New functions.
5488 (display-buffer-normalize-options): Move special-display-p group
5489 after pop-up-frame group (Bug#8851) and (Bug#8856).
5490
5491 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
5492
5493 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5494 groups (Bug#8776).
5495 (rx-submatch-n): New function.
5496 (rx): Document it.
5497
5498 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5499 (Bug#8768).
5500
5501 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5502
5503 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5504
5505 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5506 anytime existing face settings are present (Bug#8889).
5507
5508 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5509 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5510 Remove unused argument.
5511
5512 2011-06-18 Martin Rudalics <rudalics@gmx.at>
5513
5514 * window.el (display-buffer-default-specifiers):
5515 Remove pop-up-frame. Add pop-up-window-min-height,
5516 pop-up-window-min-width, and another reuse-window specifier
5517 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
5518 (display-buffer-normalize-specifiers-2):
5519 Handle split-height-threshold and split-width-threshold also when
5520 pop-up-windows is unset. Add a reuse-window specifier for the
5521 case popping up a new window fails.
5522 (special-display-popup-frame): Remove double quoting.
5523 (display-buffer-normalize-specifiers-1): Fix thinko.
5524
5525 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5526
5527 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5528 according to comint-completion-addsuffix.
5529
5530 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5531 (pcomplete-suffix-list): Mark as obsolete.
5532 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5533 pcomplete-seen in the closure.
5534 (pcomplete-comint-setup): Setup completion-at-point as well.
5535 (pcomplete--entries): New function.
5536 (pcomplete--env-regexp): New var.
5537 (pcomplete-entries): Rewrite to work with partial-completion and
5538 without relying on pcomplete-suffix-list.
5539 (pcomplete-pare-list): Remove, unused.
5540
5541 2011-06-17 Martin Rudalics <rudalics@gmx.at>
5542
5543 * window.el (display-buffer-alist): Set pop-up-window-min-height
5544 and pop-up-window-min-width in default value. Reported by
5545 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5546 other-window-means-other-frame.
5547 (display-buffer-macro-specifiers): Comment out entry for
5548 other-window specifier.
5549 (display-buffer-other-window-means-other-frame): New function.
5550 (display-buffer-normalize-specifiers-1): New arguments
5551 buffer-name and label. Treat other-window case specially.
5552 (display-buffer-normalize-specifiers-2): Treat other-window case
5553 specially.
5554 (display-buffer-normalize-specifiers-3): New function.
5555 (display-buffer-normalize-specifiers):
5556 Call display-buffer-normalize-specifiers-3.
5557
5558 2011-06-17 Martin Rudalics <rudalics@gmx.at>
5559
5560 * window.el (same-window-p): Fix two typos introduced when
5561 adding with-no-warnings.
5562 (display-buffer-normalize-specifiers-1): Don't check
5563 pop-up-frames for 'unset initialization.
5564 (display-buffer-normalize-specifiers-2): Major rewrite using
5565 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5566 (pop-up-frames, display-buffer-reuse-frames)
5567 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5568 Suggested by David Engster <deng@randomsample.de>.
5569 (even-window-heights): Initialize to 'unset.
5570 (display-buffer-alist-set): Handle new 'unset initializations.
5571 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5572 other window case.
5573
5574 2011-06-16 Martin Rudalics <rudalics@gmx.at>
5575
5576 * window.el (display-buffer-normalize-specifiers-1):
5577 Respect current value of pop-up-frames for most reasonable values of
5578 second argument of display-buffer (Bug#8865).
5579 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5580 (switch-to-buffer-other-window-same-frame)
5581 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5582 Adams (Bug#8875).
5583 (display-buffer): Don't check noninteractive when calling
5584 display-buffer-pop-up-frame.
5585 (display-buffer-pop-up-frame): Never pop up a frame in
5586 noninteractive mode (Bug#8857).
5587 (enlarge-window, shrink-window): Don't report an error when the
5588 window can't be resized as requested (Bug#8862).
5589
5590 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5591
5592 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5593
5594 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5595
5596 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5597
5598 2011-06-15 Alan Mackenzie <acm@muc.de>
5599
5600 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5601 for declarators, disable knr checking to speed up for normal files.
5602 2: Refactor, replacing a sequence of nested if forms by a cond form.
5603
5604 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5605
5606 * net/network-stream.el (open-network-stream): Add the keyword
5607 :always-query-capabilities for the case where you want to force a
5608 `plain' network connection, but the protocol still requires the
5609 capabilitiy command (i.e., SMTP and EHLO).
5610
5611 * subr.el (process-live-p): Rename from `process-alive-p' for
5612 consistency with other `-live-p' functions.
5613
5614 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * window.el (same-window-buffer-names, same-window-regexps)
5617 (special-display-frame-alist, special-display-popup-frame)
5618 (special-display-function, special-display-buffer-names)
5619 (special-display-regexps, pop-up-frame-alist)
5620 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5621 (pop-up-windows, split-window-preferred-function)
5622 (split-height-threshold, split-width-threshold, even-window-heights)
5623 (display-buffer-mark-dedicated): Don't encourage the use of
5624 display-buffer-alist from Elisp code.
5625
5626 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5627
5628 * progmodes/python.el (python-mode): Derive from prog-mode.
5629 * progmodes/ps-mode.el (ps-mode):
5630 * progmodes/mixal-mode.el (mixal-mode):
5631 * progmodes/cfengine.el (cfengine-mode):
5632 * progmodes/ld-script.el (ld-script-mode): Likewise.
5633
5634 2011-06-15 Martin Rudalics <rudalics@gmx.at>
5635
5636 * window.el (display-buffer-alist): Trim default value to avoid
5637 popping up a new frame (Bug#8857) or reusing an arbitrary window
5638 on another frame.
5639 (display-buffer): Do not fall back on popping up a new frame in
5640 batch mode (Bug#8857).
5641
5642 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
5643
5644 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5645 (custom-theme-summary): New function.
5646 (customize-themes): Use it.
5647
5648 2011-06-13 Glenn Morris <rgm@gnu.org>
5649
5650 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5651
5652 2011-06-13 Martin Rudalics <rudalics@gmx.at>
5653
5654 * help.el (help-window): Remove variable.
5655 (help-window-point-marker, temp-buffer-max-height)
5656 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5657 (help-print-return-message): Don't set help-window.
5658 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5659 (help-window-setup-finish): Remove.
5660 (help-window-display-message, help-window-setup)
5661 (with-help-window): Major rewrite based on new
5662 display-buffer-window variable.
5663
5664 * help-mode.el (help-mode-finish): Remove help-window related
5665 code.
5666
5667 * view.el (view-exits-all-viewing-windows): Remove reference to
5668 view-return-to-alist in doc-string.
5669 (view-return-to-alist): Make obsolete.
5670 (view-buffer): Call pop-to-buffer-same-window and remove
5671 undo-window code.
5672 (view-buffer-other-window): Call pop-to-buffer-other-window and
5673 simplify code. Ignore second argument.
5674 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5675 simplify code. Ignore second argument.
5676 (view-return-to-alist-update): Make obsolete.
5677 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5678 Rewrite using quit-restore window parameters.
5679 (view-mode-exit): Rename second argument to EXIT-ONLY.
5680 Rewrite using quit-restore-window.
5681 (View-exit, View-exit-and-edit, View-leave, View-quit)
5682 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5683 appropriate arguments.
5684 (view-end-message): Use quit-restore window parameter.
5685
5686 * window.el (display-buffer-function): Rewrite doc-string.
5687 (display-buffer-window, display-buffer-alist): New variables.
5688 (display-buffer-split-specifiers)
5689 (display-buffer-side-specifiers)
5690 (display-buffer-macro-specifiers): New constants.
5691 (display-buffer-even-window-sizes, display-buffer-set-height)
5692 (display-buffer-set-width, display-buffer-select-window)
5693 (display-buffer-in-window, display-buffer-reuse-window)
5694 (display-buffer-split-window-1, display-buffer-split-window)
5695 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5696 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5697 (display-buffer-in-side-window, normalize-buffer-to-display)
5698 (display-buffer-normalize-specifiers-1)
5699 (display-buffer-normalize-specifiers-2)
5700 (display-buffer-normalize-specifiers, display-buffer-frame):
5701 New functions.
5702 (display-buffer): Major rewrite.
5703 (display-buffer-other-window, display-buffer-other-frame)
5704 (pop-to-buffer, switch-to-buffer-other-window)
5705 (switch-to-buffer-other-frame): Rewrite.
5706 (display-buffer-same-window, display-buffer-same-frame)
5707 (display-buffer-same-frame-other-window)
5708 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5709 (pop-to-buffer-other-window)
5710 (pop-to-buffer-same-frame-other-window)
5711 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5712 (switch-to-buffer-other-window-same-frame): New functions.
5713 (same-window-p, special-display-p): Rewrite disabling warnings.
5714 Make obsolete.
5715 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5716 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5717 Make obsolete
5718 (same-window-buffer-names, same-window-regexps)
5719 (special-display-frame-alist, special-display-popup-frame)
5720 (special-display-function, special-display-buffer-names)
5721 (special-display-regexps, pop-up-frame-alist)
5722 (pop-up-frame-function, split-window-preferred-function)
5723 (split-height-threshold, split-width-threshold)
5724 (even-window-heights): Make obsolete.
5725
5726 2011-06-12 Glenn Morris <rgm@gnu.org>
5727
5728 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
5729 Misc simplifications.
5730
5731 2011-06-12 Martin Rudalics <rudalics@gmx.at>
5732
5733 * window.el (window-safely-shrinkable-p): Restore function which
5734 was inadvertently removed in change from 2011-06-11. Declare as
5735 obsolete.
5736
5737 * calendar/calendar.el (calendar-generate-window):
5738 Use window-iso-combined-p instead of combination of one-window-p and
5739 window-safely-shrinkable-p.
5740
5741 2011-06-12 Glenn Morris <rgm@gnu.org>
5742
5743 * progmodes/fortran.el (fortran-mode-syntax-table):
5744 * progmodes/f90.el (f90-mode-syntax-table):
5745 Set % to punctuation. (Bug#8820)
5746 (f90-find-tag-default): Remove, no longer needed.
5747
5748 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5749
5750 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5751
5752 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
5753
5754 * image.el (image-animated-p): Return animation delay in seconds.
5755 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5756 (image-animate-timeout): Remove DELAY argument. Don't assume
5757 every subimage has the same delay; get it from image-animated-p.
5758 (image-animate): Caller changed.
5759
5760 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
5761
5762 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5763 to ignored backtrace functions.
5764
5765 2011-06-11 Glenn Morris <rgm@gnu.org>
5766
5767 * calendar/appt.el (appt-disp-window-function): Doc fix.
5768 (appt-check): Handle overlapping appointments. (Bug#8337)
5769
5770 2011-06-11 Martin Rudalics <rudalics@gmx.at>
5771
5772 * window.el (window-tree-1, window-tree): New functions, moving
5773 the latter to window.el.
5774 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5775 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5776 (bw-refresh-edges): Remove.
5777 (balance-windows-1, balance-windows-2): New functions.
5778 (balance-windows): Rewrite in terms of window tree functions,
5779 balance-windows-1 and balance-windows-2.
5780 (bw-adjust-window): Remove.
5781 (balance-windows-area-adjust): New function with functionality of
5782 bw-adjust-window but using resize-window.
5783 (set-window-text-height): Rewrite doc-string.
5784 Use normalize-live-window and resize-window.
5785 (enlarge-window-horizontally, shrink-window-horizontally):
5786 Rename argument to DELTA.
5787 (window-buffer-height): New function.
5788 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5789 Rewrite using new window resize routines.
5790 (kill-buffer-and-window, mouse-autoselect-window-select):
5791 Use ignore-errors instead of condition-case.
5792 (quit-window): Call delete-frame instead of delete-windows-on
5793 for the only buffer on frame.
5794
5795 2011-06-10 Martin Rudalics <rudalics@gmx.at>
5796
5797 * loadup.el (top-level): Load window before files for the sake
5798 of replace-buffer-in-windows.
5799
5800 * files.el (read-buffer-to-switch)
5801 (switch-to-buffer-other-window)
5802 (switch-to-buffer-other-frame, display-buffer-other-frame):
5803 Move to window.el.
5804
5805 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5806 (previous-buffer): Move to window.el.
5807
5808 * bindings.el (unbury-buffer): Move to window.el.
5809
5810 * window.el (delete-other-windows-vertically): Move after
5811 definition of delete-other-windows.
5812 (other-window, delete-windows-on, replace-buffer-in-windows):
5813 Move here from window.c.
5814 (record-window-buffer, unrecord-window-buffer)
5815 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5816 (switch-to-next-buffer): New functions.
5817 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5818 from simple.el. Call switch-to-next-buffer.
5819 (previous-buffer): Move here from simple.el.
5820 Call switch-to-prev-buffer.
5821 (bury-buffer): Move here from buffer.c. Switch to previous
5822 buffer when window cannot be deleted.
5823 (unbury-buffer): Move here from bindings.el.
5824 (ctl-x-map): Move binding for other-window from window.c to
5825 here.
5826 (read-buffer-to-switch, switch-to-buffer-other-window)
5827 (switch-to-buffer-other-frame): Move here from files.el.
5828 (normalize-buffer-to-switch-to): New functions.
5829 (switch-to-buffer): Move here from buffer.c.
5830 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
5831
5832 2011-06-10 Martin Rudalics <rudalics@gmx.at>
5833
5834 * window.el (window-min-height, window-min-width): Move here
5835 from window.c. Add defcustoms and rewrite doc-strings.
5836 (resize-mini-window, resize-window): New functions.
5837 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5838 Move here from window.c.
5839 (maximize-window, minimize-window): New functions.
5840 (delete-window, delete-other-windows, split-window): Move here
5841 from window.c.
5842 (window-split-min-size): New function.
5843 (split-window-keep-point): Mention split-window-above-each-other
5844 instead of split-window-vertically.
5845 (split-window-above-each-other, split-window-vertically):
5846 Rename split-window-vertically to split-window-above-each-other and
5847 provide defalias for old definition.
5848 (split-window-side-by-side, split-window-horizontally): Rename
5849 split-window-horizontally to split-window-side-by-side and provide
5850 defalias for the old definition.
5851 (ctl-x-map): Move bindings for delete-window,
5852 delete-other-windows and enlarge-window here from window.c.
5853 Replace bindings for split-window-vertically and
5854 split-window-horizontally by bindings for
5855 split-window-above-each-other and split-window-side-by-side.
5856
5857 * cus-start.el (all): Remove entries for window-min-height and
5858 window-min-width. Add entries for window-splits and
5859 window-nest.
5860
5861 2011-06-09 Glenn Morris <rgm@gnu.org>
5862
5863 * calendar/appt.el (appt-mode-line): New function.
5864 (appt-check, appt-disp-window): Use it.
5865
5866 * files.el (hack-one-local-variable-eval-safep):
5867 Allow minor-modes with explicit +/-1 arguments.
5868
5869 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5870
5871 * term/xterm.el (xterm): Add defgroup.
5872 (xterm-extra-capabilities): Add defcustom to supply known xterm
5873 capabilities, skip querying them, or query them (default).
5874 (terminal-init-xterm): Use it.
5875 (terminal-init-xterm-modify-other-keys): New function to set up
5876 modifyOtherKeys support to simplify `terminal-init-xterm'.
5877
5878 2011-06-09 Martin Rudalics <rudalics@gmx.at>
5879
5880 * window.el (resize-window-reset, resize-window-reset-1)
5881 (resize-subwindows-skip-p, resize-subwindows-normal)
5882 (resize-subwindows, resize-other-windows, resize-this-window)
5883 (resize-root-window, resize-root-window-vertically)
5884 (window-deletable-p, window-or-subwindow-p)
5885 (frame-root-window-p): New functions.
5886
5887 2011-06-09 Glenn Morris <rgm@gnu.org>
5888
5889 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5890 (ange-ftp-get-files): Use it.
5891
5892 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5893
5894 * mail/sendmail.el (mail-recover-1, mail-recover):
5895 * files.el (recover-file, recover-session):
5896 Handle dired-listing-switches not being just a single short option.
5897
5898 2011-06-09 Glenn Morris <rgm@gnu.org>
5899
5900 * calendar/appt.el (appt-display-message, appt-disp-window):
5901 Handle lists of appointments.
5902
5903 2011-06-08 Martin Rudalics <rudalics@gmx.at>
5904
5905 * window.el (one-window-p): Move down in code.
5906 Rewrite doc-string.
5907 (window-current-scroll-bars): Rewrite doc-string.
5908 Normalize live window argument.
5909 (walk-windows, get-window-with-predicate, count-windows):
5910 Rewrite doc-string. Use window-list-1.
5911 (window-in-direction-2, window-in-direction, get-mru-window):
5912 New functions.
5913
5914 2011-06-08 Reuben Thomas <rrt@sc3d.org>
5915
5916 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5917 Doc fix (Bug#8713).
5918
5919 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
5920
5921 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5922
5923 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
5924
5925 * loadhist.el (unload-feature-special-hooks):
5926 Add `comint-output-filter-functions'.
5927
5928 2011-06-08 Ivan Kanis <gnu@kanis.fr>
5929
5930 * calendar/appt.el (appt-check): Move some initializations into the let.
5931
5932 2011-06-08 Martin Rudalics <rudalics@gmx.at>
5933
5934 * window.el (window-height): Defalias to window-total-height.
5935 (window-width): Defalias to window-body-width.
5936
5937 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
5938
5939 * image-mode.el (image-toggle-animation): New command.
5940 (image-mode-map): Bind it to RET.
5941 (image-mode): Update message.
5942 (image-toggle-display-image): Avoid a spurious cache flush.
5943 (image-transform-rotation): Doc fix.
5944 (image-transform-properties): Return quickly in the normal case.
5945 (image-animate-loop): Rename from image-animate-max-time.
5946
5947 * image.el (image-animate-max-time): Move to image-mode.el.
5948 (create-animated-image): Remove unnecessary function.
5949 (image-animate): Rename from image-animate-start. New arg.
5950 (image-animate-stop): Remove; just use image-animate-timer.
5951 (image-animate-timer): Use car-safe.
5952 (image-animate-timeout): Rename argument.
5953
5954 2011-06-07 Martin Rudalics <rudalics@gmx.at>
5955
5956 * window.el (get-lru-window, get-largest-window): Move here from
5957 window.c. Rename first argument to ALL-FRAMES.
5958 Rephrase doc-strings.
5959 (get-buffer-window-list): Rewrite using window-list-1.
5960 Rephrase doc-string.
5961 (window-safe-min-height, window-safe-min-width): New constants.
5962 (window-size-ignore, window-min-size, window-min-size-1)
5963 (window-sizable, window-sizable-p, window-size-fixed-1)
5964 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5965 (window-max-delta-1, window-max-delta, window-resizable)
5966 (window-resizable-p, window-total-height, window-total-width)
5967 (window-body-width): New functions.
5968 (window-full-height-p, window-full-width-p): Rewrite using
5969 window-total-size.
5970 (window-body-height): Rewrite using window-body-size.
5971
5972 2011-06-06 Martin Rudalics <rudalics@gmx.at>
5973
5974 * window.el (window-right, window-left, window-child)
5975 (window-child-count, window-last-child, window-any-p)
5976 (normalize-live-buffer, normalize-live-frame)
5977 (normalize-any-window, normalize-live-window)
5978 (window-iso-combination-p, window-iso-combined-p)
5979 (window-iso-combinations)
5980 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5981 (windows-with-parameter, window-with-parameter)
5982 (window-atom-root, make-window-atom, window-atom-check-1)
5983 (window-atom-check, window-side-check, window-check):
5984 New functions.
5985 (ignore-window-parameters, window-sides, window-sides-vertical)
5986 (window-sides-slots): New variables.
5987 (window-size-fixed): Move down in code. Minor doc-string fix.
5988
5989 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5990
5991 * comint.el (comint-dynamic-complete-as-filename)
5992 (comint-dynamic-complete-filename): Correctly call
5993 completion-in-region.
5994
5995 2011-06-05 Deniz Dogan <deniz@dogan.se>
5996
5997 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5998 in last change.
5999
6000 2011-06-05 Deniz Dogan <deniz@dogan.se>
6001
6002 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6003 (rcirc): Use it to prompt for encryption.
6004
6005 2011-06-05 Roland Winkler <winkler@gnu.org>
6006
6007 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6008 (bibtex-search-entries): New command bound to C-c C-a.
6009 (bibtex-display-entries): New function.
6010
6011 2011-06-05 Roland Winkler <winkler@gnu.org>
6012
6013 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6014 (bibtex-insert-kill): After yanking insert newline if necessary.
6015 (bibtex-initialize): Call bibtex-string-files-init only once.
6016 (bibtex-mode): Do not call easy-menu-add.
6017 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6018 (bibtex-yank): Set arg properly if nil.
6019
6020 2011-06-05 Roland Winkler <winkler@gnu.org>
6021
6022 * textmodes/bibtex.el (bibtex-search-entry-globally):
6023 New variable.
6024 (bibtex-search-entry): Use it.
6025
6026 2011-06-05 Roland Winkler <winkler@gnu.org>
6027
6028 * textmodes/bibtex.el (bibtex-entry-format): New option
6029 sort-fields.
6030 (bibtex-format-entry, bibtex-reformat): Honor this option.
6031 (bibtex-parse-entry): Return fields in proper order.
6032
6033 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
6034
6035 * doc-view.el (doc-view-remove-if): Move computation of result out
6036 of `dolist' to silence misleading lexical-binding warning.
6037
6038 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
6039
6040 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6041 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6042
6043 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
6044
6045 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6046 "SunOS 5.10".
6047
6048 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
6049
6050 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6051 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6052 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6053 (tramp-parse-putty):
6054 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6055 (tramp-completion-function-alist-ssh)
6056 (tramp-completion-function-alist-telnet)
6057 (tramp-completion-function-alist-su)
6058 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6059 cookie.
6060
6061 * net/tramp-ftp.el:
6062 * net/tramp-sh.el:
6063 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6064 load "tramp.el" `tramp-set-completion-function'.
6065
6066 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 * shell.el: Require and use pcomplete.
6069 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6070 (shell-completion-vars): Set pcomplete-default-completion-function.
6071
6072 2011-06-04 Deniz Dogan <deniz@dogan.se>
6073
6074 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6075 `memq' (Bug#8799).
6076
6077 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6080
6081 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
6082
6083 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6084 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6085 * vc/log-view.el (log-view-beginning-of-defun):
6086 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6087 (smerge-refine-forward, smerge-refine-chopup-region):
6088 Silence warning for unused `dotimes' counter variables.
6089
6090 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6091
6092 * net/tramp.el (tramp-with-progress-reporter): Rename from
6093 with-progress-reporter. Use `declare'.
6094 * net/tramp-smb.el:
6095 * net/tramp-sh.el:
6096 * net/tramp-gvfs.el: Update all uses.
6097
6098 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6099
6100 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6101 buffer isn't killed before making it current.
6102
6103 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6104
6105 Silence various byte-compiler warnings.
6106 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6107 `access-type' and new obsolescence format.
6108 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6109 new format.
6110 (byte-compile-check-variable): New `access-type' argument.
6111 Only warn if the access-type is obsolete.
6112 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6113 (byte-compile-variable-set): Adjust callers.
6114 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6115 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6116 setting it as obsolete.
6117 * simple.el (minibuffer-completing-symbol):
6118 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6119 access as obsolete.
6120 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6121 obsolete yet.
6122 * international/quail.el (quail-mouse-choose-completion): Remove unused
6123 code referring to obsolete var.
6124 (quail-choose-completion-string): Remove.
6125 * server.el (server-clients-with, server-kill-buffer-query-function)
6126 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6127 * proced.el (proced-send-signal):
6128 * emacs-lisp/lisp.el (lisp-complete-symbol):
6129 Replace completion-annotate-function with completion-extra-properties.
6130
6131 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6132
6133 * simple.el (goto-line): Use read-number.
6134 (overriding-map-is-bound): Remove.
6135 (saved-overriding-map): Change default.
6136 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6137 Take the map as argument.
6138 (universal-argument, negative-argument, digit-argument): Use it.
6139 (restore-overriding-map): Adjust.
6140 (do-auto-fill): Use fill-forward-paragraph.
6141 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6142
6143 * minibuffer.el (minibuffer-inactive-mode-map): New var.
6144 (minibuffer-inactive-mode): New major mode.
6145 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6146 the *Messages* buffer" hack.
6147 (mouse-popup-menubar): Don't burp if the event is a normal key.
6148
6149 Miscellaneous tweaks.
6150 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6151 lexical scoping as in subr.el's dolist and dotimes.
6152 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6153 Silence compiler warning.
6154 * thingatpt.el (forward-whitespace): Trivial coding style fix.
6155 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6156 * international/ccl.el (ccl-compile): Trivial simplification.
6157 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6158 * emacs-lisp/testcover.el (testcover-end): Remove spurious
6159 `printflag' argument.
6160 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6161 Purecopy the whole obsolescence data.
6162
6163 2011-06-01 Leo Liu <sdl.web@gmail.com>
6164
6165 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6166 improve doc-string as suggested by Marco Pessotto
6167 <melmothx@gmail.com>.
6168 (rcirc-print): Fix last change.
6169
6170 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6171
6172 * minibuffer.el (complete-with-action): Return nil for the metadata and
6173 boundaries of non-functional tables.
6174 (completion-table-dynamic): Return nil for the metadata.
6175 (completion-table-with-terminator): Add default case, using
6176 complete-with-action.
6177 (completion--metadata): New function.
6178 (completion-all-sorted-completions, minibuffer-completion-help): Use it
6179 to try and avoid pathological performance problems.
6180 (completion--embedded-envvar-table): Return `category' metadata.
6181
6182 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
6183
6184 * subr.el (process-alive-p): New tiny convenience function.
6185
6186 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6187
6188 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
6189 content but also its previous major mode.
6190
6191 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
6192
6193 * emacs-lisp/debug.el (debug): Restore the previous content of the
6194 *Backtrace* buffer when we exit with C-M-c.
6195
6196 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 * minibuffer.el: Add metadata method to completion tables.
6199 (completion-category-overrides): New defcustom.
6200 (completion-metadata, completion--field-metadata)
6201 (completion-metadata-get, completion--styles)
6202 (completion--cycle-threshold): New functions.
6203 (completion-try-completion, completion-all-completions):
6204 Add `metadata' argument to choose completion-styles.
6205 (completion--do-completion): Use metadata to choose cycling.
6206 (completion-all-sorted-completions): Use metadata for sorting.
6207 Remove :completion-cycle-penalty which is not needed any more.
6208 (completion--try-word-completion): Add `metadata' argument.
6209 (minibuffer-completion-help): Check metadata for annotation function
6210 and sorting.
6211 (completion-file-name-table): Return `category' metadata.
6212 (minibuffer-completing-file-name): Make obsolete.
6213 * simple.el (minibuffer-completing-symbol): Make obsolete.
6214 * icomplete.el (icomplete-completions): Pass new `metadata' param to
6215 completion-try-completion.
6216
6217 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6218
6219 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
6220
6221 2011-05-30 Leo Liu <sdl.web@gmail.com>
6222
6223 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
6224 (rcirc-print): Decode all incoming messages (bug#8744).
6225 (rcirc-decode-coding-system): Allow value nil for automatic coding
6226 system detection.
6227
6228 2011-06-01 Glenn Morris <rgm@gnu.org>
6229
6230 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
6231
6232 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
6233
6234 * image.el (image-animate-max-time): Allow nil and t values.
6235 Default to nil.
6236 (create-animated-image): Doc fix.
6237 (image-animate-start): Remove second arg; just use
6238 image-animate-max-time.
6239 (image-animate-timeout): Doc fix. Args changed.
6240
6241 * image-mode.el (image-toggle-display-image): Ensure that the
6242 image spec passed to the animate timer is the same object as in
6243 the buffer's display property (Bug#6981).
6244 (image-transform-properties): Doc fix.
6245
6246 * image.el (image-animate-max-time): Default to nil.
6247
6248 2011-05-29 Martin Rudalics <rudalics@gmx.at>
6249
6250 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6251 entire buffer list (Bug#8184).
6252
6253 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
6254
6255 * image.el (imagemagick-types-inhibit)
6256 (imagemagick-register-types): Doc fix.
6257
6258 2011-05-29 Deniz Dogan <deniz@dogan.se>
6259
6260 * net/rcirc.el (rcirc): Use the user's stored encryption method by
6261 default.
6262
6263 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
6264
6265 * select.el: Don't perform clipboard-manager saving in hooks;
6266 leave the hooks empty.
6267
6268 2011-05-28 Leo Liu <sdl.web@gmail.com>
6269
6270 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6271 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
6272 (occur-edit-mode): New major mode (Bug#8463).
6273 (occur-after-change-function): New function.
6274 (occur-engine): Give Occur tags a read-only property.
6275
6276 2011-05-28 Kevin Ryde <user42@zip.com.au>
6277
6278 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6279
6280 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
6281
6282 * bindings.el (help-echo): Make the initial non-indicator dash
6283 empty on graphical terminals (Bug#7295).
6284
6285 * files.el (auto-mode-alist): Move config rule after the
6286 in-stripping one (Bug#8547).
6287
6288 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6289
6290 * startup.el (normal-splash-screen): Remove gratuitous mode-line
6291 setting (Bug#8740).
6292
6293 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
6294
6295 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6296 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6297 (Bug#8539).
6298
6299 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
6300
6301 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6302
6303 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
6304
6305 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6306 (hs-hide-block-at-point, hs-find-block-beginning)
6307 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6308 (Bug#8279).
6309
6310 2011-05-28 Glenn Morris <rgm@gnu.org>
6311
6312 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
6313
6314 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
6315
6316 * help-fns.el (describe-function-1): If the function is a derived
6317 major mode, print the parent mode.
6318
6319 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6320 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6321
6322 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * minibuffer.el (completion--capf-wrapper): Check applicability before
6325 returning non-nil for non-exclusive completion data.
6326 * progmodes/etags.el (tags-completion-at-point-function):
6327 * info-look.el (info-lookup-completions-at-point): Mark as
6328 non-exclusive.
6329 (info-complete): Adjust accordingly.
6330
6331 * info-look.el: Convert to lexical-binding and completion-at-point.
6332 (info-lookup-completions-at-point): New function.
6333 (info-complete): Use it and completion-in-region.
6334
6335 2011-05-28 Drew Adams <drew.adams@oracle.com>
6336
6337 * isearch.el: Let M-e start with point at the first mismatched char.
6338 (isearch-fail-pos): New function.
6339 (isearch-edit-string): Use it.
6340
6341 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6342
6343 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6344
6345 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6346
6347 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
6348 traversal functions for avl-trees.
6349 (avl-tree--stack): New struct.
6350 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6351 (avl-tree-enter): Add optional `updatefun' arg.
6352 (avl-tree--do-enter): Add optional `updatefun' arg.
6353 Change return value.
6354 (avl-tree-delete): Add optional `test' and `nilflag' args.
6355 (avl-tree--do-delete): Add `test' and `nilflag' args.
6356 Change return value.
6357 (avl-tree-member): Add optional `nilflag'
6358 (avl-tree-member-p): New function.
6359 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6360 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6361 (avl-tree-stack-empty-p): New functions.
6362
6363 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6364
6365 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6366 avl-tree--del-balance1 and make it work both ways.
6367 (avl-tree--del-balance2): Remove.
6368 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6369 make it work both ways.
6370 (avl-tree--enter-balance2): Remove.
6371 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6372 New macros.
6373 (avl-tree--mapc, avl-tree-map): Add direction argument.
6374
6375 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
6376
6377 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6378
6379 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
6380
6381 * select.el: Support clipboard managers with built-in function
6382 x-clipboard-manager-save, via delete-frame-functions and
6383 kill-emacs-hook.
6384 (xselect-convert-to-targets): Add MULTIPLE target to list.
6385 (xselect-convert-to-save-targets): New function.
6386
6387 2011-05-27 Kenichi Handa <handa@m17n.org>
6388
6389 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6390 let-binding rfc2047-encode-encoded-words to nil.
6391
6392 2011-05-27 Glenn Morris <rgm@gnu.org>
6393
6394 * mail/emacsbug.el: Don't require url-util.
6395
6396 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
6397
6398 * files.el (set-auto-mode):
6399 Also respect mode: entries at the end of the file. (Bug#8586)
6400
6401 2011-05-26 Glenn Morris <rgm@gnu.org>
6402
6403 * files.el (hack-local-variables-prop-line, hack-local-variables):
6404 Downcase mode names, as seems to be traditional.
6405 (hack-local-variables, hack-local-variables-apply): Doc fixes.
6406
6407 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6408 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
6409
6410 2011-05-25 Julien Danjou <julien@danjou.info>
6411
6412 * textmodes/rst.el (rst-define-level-faces): Do not define face
6413 symbol if it is already defined.
6414
6415 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6416
6417 * play/5x5.el (5x5-new-game, 5x5-randomize):
6418 Reset 5x5-solver-output to nil when a new grid is cast.
6419 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6420 these debugging traces, as defmacro breaks the compiled code.
6421
6422 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6423
6424 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6425
6426 2011-05-24 Leo Liu <sdl.web@gmail.com>
6427
6428 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6429 (vc-bzr-sha1): Adapt.
6430
6431 * sha1.el: Remove. Function `sha1' is now builtin.
6432
6433 * bindings.el: Provide sha1 feature.
6434
6435 2011-05-24 Kenichi Handa <handa@m17n.org>
6436
6437 * mail/sendmail.el: Require `rfc2047'.
6438 (mail-insert-from-field): Do not perform RFC2047 encoding.
6439 (mail-encode-header): New function.
6440 (sendmail-send-it): Set buffer-file-coding-system of the work
6441 buffer to the return value of select-message-coding-system.
6442 Call mail-encode-header.
6443
6444 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6445
6446 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
6447
6448 * mail/supercite.el (sc-default-cite-frame):
6449 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
6450
6451 2011-05-24 Glenn Morris <rgm@gnu.org>
6452
6453 * progmodes/python.el (brm-menu): Declare.
6454
6455 * emulation/viper.el (viper-set-hooks): Declare.
6456
6457 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6458 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6459 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6460 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6461 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6462 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6463
6464 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6465
6466 Add an :exit-function for completion-at-point.
6467
6468 * minibuffer.el (completion--done): New fun.
6469 (completion--do-completion): Use it. New arg `expect-exact'.
6470 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6471 since completion--do-completion does it for us now.
6472 (minibuffer-force-complete): Use completion--done and
6473 completion--replace. Handle sole-completion case with more care.
6474 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6475 (completion-extra-properties): New var.
6476 (completion-annotate-function): Make obsolete.
6477 (minibuffer-completion-help): Adjust accordingly.
6478 Use completion-list-insert-choice-function.
6479 (completion-at-point, completion-help-at-point):
6480 Bind completion-extra-properties.
6481 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6482 * simple.el (completion-list-insert-choice-function): New var.
6483 (completion-setup-function): Preserve it.
6484 (choose-completion): Pay attention to it, shuffle the code a bit.
6485 (choose-completion-string): New arg `insert-function'.
6486
6487 * textmodes/bibtex.el: Convert to lexical binding.
6488 (bibtex-mode-map): Use completion-at-point.
6489 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6490 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6491 (bibtex-complete): Define as obsolete alias.
6492 (bibtex-complete-internal): Remove.
6493 (bibtex-format-entry): Remove unused sub-group in regexp.
6494 * shell.el (shell--command-completion-data)
6495 (shell-environment-variable-completion):
6496 * pcomplete.el (pcomplete-completions-at-point):
6497 * comint.el (comint--complete-file-name-data): Use :exit-function
6498 instead of completion-table-with-terminator so it also works for
6499 choose-completion.
6500
6501 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6504
6505 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6506 (bug#8710).
6507
6508 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6509
6510 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6511
6512 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6513 customization variable and implement: If non-nil, auto-fill will
6514 be inhibited while on topic's header line.
6515
6516 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6517
6518 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
6519 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
6520 always have a solution in grid size = 5 cases.
6521 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6522 (5x5-solver-output, 5x5-log-buffer): New vars.
6523 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6524 Make these variables buffer local to achieve 5x5 multi-session-ness.
6525 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6526 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6527 (5x5-solve-suggest): New funs.
6528 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6529 randomize a grid so that we ensure that there is always a solution.
6530 (5x5-make-random-grid): Allow other movement than flipping.
6531
6532 2011-05-23 Kevin Ryde <user42@zip.com.au>
6533
6534 * emacs-lisp/advice.el (ad-read-advised-function):
6535 Use `function-called-at-point' as the default default, if it has
6536 advice and passes PREDICATE.
6537
6538 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6541 byte-compile-lambda if it's actually a lambda.
6542
6543 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6544 Fix function quoting. Use backquote better.
6545
6546 2011-05-22 Yuanle Song <sylecn@gmail.com>
6547
6548 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6549 matching (Bug#8516).
6550
6551 2011-01-22 Jari Aalto <jari.aalto@cante.net>
6552
6553 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6554 different face (Bug#8178).
6555
6556 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
6557
6558 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6559 defface (Bug#8144).
6560
6561 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6562
6563 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6564 funcall as well (bug#8712). Warn when performing those conversions.
6565 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6566
6567 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6568
6569 2011-05-22 Glenn Morris <rgm@gnu.org>
6570
6571 * files.el (hack-local-variables-prop-line): Small simplifications.
6572 (hack-local-variables, hack-local-variables-prop-line):
6573 If MODE-ONLY, return the mode, rather than just `t'.
6574
6575 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6576
6577 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6578
6579 2011-05-21 Glenn Morris <rgm@gnu.org>
6580
6581 * files.el (hack-local-variables-prop-line, hack-local-variables):
6582 If only interested in the mode, don't bother doing the other stuff.
6583
6584 * image-mode.el (image-after-revert-hook):
6585 Redraw all frames on which the image is visible. (Bug#8567)
6586
6587 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6588
6589 * wid-edit.el (widget-checklist-match-inline):
6590 Fix 2011-04-19 change. (Bug#8649)
6591
6592 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6593
6594 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6595 Also allow singlespace after single-letter capitals followed by a dot.
6596
6597 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6598 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6599
6600 2011-05-20 Nix <nix@esperi.org.uk>
6601
6602 * files.el (basic-save-buffer-2):
6603 Fix handling of break-hardlink-on-save with non-existent files.
6604
6605 2011-05-19 Deniz Dogan <deniz@dogan.se>
6606
6607 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
6608 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
6609
6610 2011-05-19 Glenn Morris <rgm@gnu.org>
6611
6612 * progmodes/f90.el (f90-type-def-re):
6613 Handle "type, bind(c)". (Bug#8691)
6614
6615 * emacs-lisp/autoload.el (batch-update-autoloads):
6616 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6617
6618 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
6619
6620 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6621 property for the correct connection in case of multihops.
6622
6623 2011-05-18 Glenn Morris <rgm@gnu.org>
6624
6625 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
6626 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6627
6628 Rationalize calendar handling of day and month abbrev-arrays.
6629 * calendar/calendar.el (calendar-customized-p): New function.
6630 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6631 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6632 Add :set function.
6633 (calendar-abbrev-length, calendar-day-abbrev-array)
6634 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6635 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6636 Elements may no longer be nil.
6637 (calendar-day-name, calendar-month-name):
6638 Update for changed nature of abbrev arrays.
6639 * calendar/diary-lib.el (diary-name-pattern):
6640 Update for changed nature of abbrev arrays.
6641 (diary-mark-entries-1): Update calendar-make-alist calls.
6642 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6643 * calendar/cal-html.el (cal-html-day-abbrev-array):
6644 Simply inherit from calendar-day-abbrev-array.
6645
6646 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6647
6648 * progmodes/grep.el (grep-mode): Disable default
6649 compilation-directory-matcher setting (bug#8684).
6650
6651 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
6652
6653 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6654 instead of "head" and "tail". There were problems with SunOS 5.9,
6655 and it performs better.
6656
6657 2011-05-17 Glenn Morris <rgm@gnu.org>
6658
6659 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6660
6661 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6662 Replace obsolete function.
6663
6664 * shell.el (pcomplete-parse-arguments-function): Declare.
6665
6666 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6667 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6668 (appt-check): Doc fixes.
6669 (appt-disp-window-function, appt-delete-window-function):
6670 Remove needless special case in custom :type.
6671 (appt-display-count): Default to 0, not nil.
6672 (appt-check): Reset appt-display-count to 0, not nil.
6673
6674 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
6675
6676 * progmodes/python.el (python-font-lock-keywords):
6677 Add the Python 3.X keyword "nonlocal" (bug#8639).
6678
6679 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6680
6681 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6682
6683 2011-05-16 Kevin Ryde <user42@zip.com.au>
6684
6685 * info-look.el (makefile-automake-mode): New setups, looking in
6686 automake manual, then makefile-mode.
6687 (makefile-mode): Remove automake manual, have it just in
6688 makefile-automake-mode since there's various things different or
6689 not relevant to plain make.
6690 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6691 believe a hypothetical automake-mode would go to makefile-mode,
6692 not the other way around.
6693
6694 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
6695
6696 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6697 hunk-end tags (Bug#8672).
6698
6699 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6700 vc-annotate-show-diff-revision-at-line (Bug#8671).
6701
6702 2011-05-14 Glenn Morris <rgm@gnu.org>
6703
6704 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6705 in the middle of an existing one with multiple authors. (Bug#8645)
6706 (change-log-font-lock-keywords): Also handle multiple author lines
6707 with leading tabs. (Bug#8644)
6708
6709 * calendar/appt.el (appt-check): Rename some local variables.
6710 Some simplification/reordering.
6711
6712 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6713 (feedmail-sendmail-f-doesnt-sell-me-out)
6714 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6715 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6716 (feedmail-queue-runner-message-sender): Set :version.
6717 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6718 (bbdb-dwim-net-address, vm-mail): Declare.
6719 (feedmail-binmail-gnulinuxish-template):
6720 Rename from feedmail-binmail-linuxish-template.
6721 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6722 Use insert-buffer-substring.
6723
6724 2011-05-14 Bill Carpenter <bill@carpenter.org>
6725
6726 * mail/feedmail.el (feedmail-patch-level): Increase.
6727 (feedmail-debug): New custom group.
6728 (feedmail-confirm-outgoing-timeout)
6729 (feedmail-sendmail-f-doesnt-sell-me-out)
6730 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6731 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6732 (feedmail-sender-line, feedmail-from-line)
6733 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
6734 (feedmail-spray-this-address)
6735 (feedmail-spray-address-fiddle-plex-list)
6736 (feedmail-queue-use-send-time-for-date)
6737 (feedmail-queue-use-send-time-for-message-id)
6738 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6739 (feedmail-buffer-eating-function):
6740 Doc fixes.
6741 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6742 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6743 (feedmail-message-action-scroll-down): New functions.
6744 (feedmail-queue-directory, feedmail-queue-draft-directory):
6745 Use expand-file-name.
6746 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6747 Remove C-v help entry.
6748 (feedmail-queue-buffer-file-name): New variable.
6749 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6750 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6751 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6752 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6753 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6754 (feedmail-message-action-toggle-spray)
6755 (feedmail-run-the-queue-no-prompts)
6756 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6757 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6758 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6759 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6760 (feedmail-envelope-deducer, feedmail-fiddle-from)
6761 (feedmail-fiddle-sender, feedmail-default-date-generator)
6762 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6763 (feedmail-fiddle-spray-address)
6764 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6765 (feedmail-fiddle-list-of-fiddle-plexes)
6766 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6767 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6768 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6769 Change default. Doc fix.
6770 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6771 (feedmail-binmail-linuxish-template): New constant.
6772 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6773 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6774 (feedmail-send-it): Add debug call.
6775 Use feedmail-queue-buffer-file-name, and
6776 feedmail-send-it-immediately-wrapper.
6777 (feedmail-message-action-send): Add debug call.
6778 Use feedmail-send-it-immediately-wrapper.
6779 (feedmail-queue-express-to-queue): Add debug call.
6780 Run feedmail-queue-express-hook.
6781 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6782 (feedmail-message-action-help-blat):
6783 Rename from feedmail-queue-send-edit-prompt-help-first.
6784 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6785 Check line-endings. Handle errors better.
6786 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6787 Doc fix. Add debug call.
6788 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6789 Use feedmail-queue-send-edit-prompt-inner.
6790 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6791 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6792 from feedmail-queue-send-edit-prompt.
6793 (feedmail-queue-send-edit-prompt-help)
6794 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6795 (feedmail-tidy-up-slug): Add debug call.
6796 Respect feedmail-queue-slug-suspect-regexp.
6797 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6798 (feedmail-dump-message-to-queue): Add debug call.
6799 Expand queue-directory.
6800 (feedmail-dump-message-to-queue): Change message slightly.
6801 Use feedmail-say-chatter.
6802 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6803 (feedmail-send-it-immediately-wrapper): New function.
6804 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6805 Insert empty string rather than newline. Handle full-frame case.
6806 Use catch/throw. Use feedmail-say-chatter.
6807 (feedmail-fiddle-from): Try mail-host-address.
6808 (feedmail-default-message-id-generator): Doc fix.
6809 Bind system-time-locale. Handle missing end.
6810 (feedmail-fiddle-x-mailer): Add debug call.
6811 Handle feedmail-x-mailer-line being nil.
6812 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6813 Add debug call. Use buffer-substring-no-properties.
6814 (feedmail-say-debug, feedmail-say-chatter): New functions.
6815 (feedmail-find-eoh): Give an explicit error.
6816
6817 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
6818
6819 * net/newst-treeview.el (newsticker-treeview-face): Change default
6820 family from helvetica to sans.
6821 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
6822 etc/images/newsticker.
6823
6824 * net/newst-reader.el (newsticker-feed-face): Change default
6825 family from helvetica to sans.
6826
6827 * net/newst-plainview.el (newsticker-new-item-face)
6828 (newsticker-old-item-face, newsticker-immortal-item-face)
6829 (newsticker-obsolete-item-face, newsticker-date-face)
6830 (newsticker-statistics-face): Change default family from
6831 helvetica to sans.
6832 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
6833 etc/images/newsticker.
6834
6835 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6836 (newsticker--process-auto-mark-filter-match): : Tell user about
6837 auto-marking.
6838
6839 2011-05-13 Didier Verna <didier@xemacs.org>
6840
6841 Common Lisp indentation improvements on defmethod and lambda-lists.
6842 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6843 TODO entries.
6844 (lisp-lambda-list-keyword-parameter-indentation)
6845 (lisp-lambda-list-keyword-parameter-alignment)
6846 (lisp-lambda-list-keyword-alignment): New customizable user options.
6847 (lisp-indent-defun-method): Improve docstring.
6848 (extended-loop-p): Fix comment.
6849 (lisp-indent-lambda-list-keywords-regexp): New variable.
6850 (lisp-indent-lambda-list): New function.
6851 (lisp-indent-259): Use it.
6852 (lisp-indent-defmethod): Support for more than one
6853 method qualifier and properly indent methods lambda-lists.
6854 (defgeneric): Provide a missing common-lisp-indent-function property.
6855
6856 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6857
6858 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6859 bounds for the empty string (bug#8667).
6860
6861 2011-05-13 Glenn Morris <rgm@gnu.org>
6862
6863 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6864
6865 * mail/sendmail.el (sendmail-program): Try executable-find first.
6866 (sendmail-send-it): `sendmail-program' cannot be unbound.
6867
6868 * calendar/appt.el (appt-make-list): Simplify.
6869 (appt-time-msg-list): Doc fix.
6870 (appt-check): Change mode-line message at the time of the appointment.
6871
6872 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6873
6874 * progmodes/ld-script.el (ld-script-keywords)
6875 (ld-script-builtins): Update keywords list.
6876
6877 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6878
6879 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6880
6881 * shell.el (shell-completion-vars): New function.
6882 (shell-mode):
6883 * simple.el (read-shell-command): Use it.
6884 (blink-matching-open): No need for " [...]" in minibuffer-message.
6885
6886 2011-05-12 Glenn Morris <rgm@gnu.org>
6887
6888 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6889 (appt-check): Simplify.
6890
6891 2011-05-12 Eli Zaretskii <eliz@gnu.org>
6892
6893 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
6894 literal "/dev/null".
6895
6896 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6897
6898 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6899 Fix typo.
6900
6901 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6902
6903 * progmodes/which-func.el (which-function):
6904 Use add-log-current-defun instead of add-log-current-defun-function,
6905 which might not be defined (Bug#8260).
6906
6907 2011-05-12 Glenn Morris <rgm@gnu.org>
6908
6909 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6910 Let byte-compile-initial-macro-environment always take precedence.
6911
6912 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * net/rcirc.el: Add support for SSL/TLS connections.
6915 (rcirc-server-alist): New field `encryption'.
6916 (rcirc): Check `encryption' settings.
6917 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6918 Merge make-local-variable into `set'.
6919 (rcirc--connection-open-p): New function.
6920 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6921 the process is not a network process (e.g. running gnutls-cli).
6922 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6923 Make rcirc-(en|de)code-coding-system local here.
6924 (rcirc-mode): Merge make-local-variable into `set'.
6925 (rcirc-parent-buffer): Make permanent buffer-local.
6926 (rcirc-multiline-minor-mode): Don't do it here.
6927 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6928 there's no server buffer.
6929
6930 2011-05-11 Glenn Morris <rgm@gnu.org>
6931
6932 * newcomment.el (comment-kill): Prefix "unused" local.
6933
6934 * term/w32console.el (get-screen-color): Declare.
6935
6936 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6937 Handle symbol elements of byte-compile-initial-macro-environment.
6938
6939 2011-05-10 Leo Liu <sdl.web@gmail.com>
6940
6941 * bookmark.el (bookmark-bmenu-mode-map):
6942 Bind bookmark-bmenu-search to `/'.
6943
6944 * mail/footnote.el: Convert to utf-8 encoding.
6945 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6946 (Footnote-unicode): New function.
6947 (footnote-style-alist): Add unicode style to the list.
6948 (footnote-style): Doc fix.
6949
6950 2011-05-10 Jim Meyering <meyering@redhat.com>
6951
6952 Fix doubled-word typos.
6953 * international/quail.el (quail-insert-kbd-layout): and and -> and
6954 * kermit.el: and and -> and
6955 * net/ldap.el (ldap-search-internal): to to -> to
6956 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6957 * progmodes/js.el (js-mode): and and -> and
6958 * textmodes/artist.el (artist-move-to-xy): at at -> at
6959 (artist-draw-region-trim-line-endings): if if -> if
6960 And Safetyc -> Safety.
6961 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6962
6963 2011-05-10 Glenn Morris <rgm@gnu.org>
6964 Stefan Monnier <monnier@iro.umontreal.ca>
6965
6966 * files.el (hack-one-local-variable-eval-safep):
6967 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6968
6969 2011-05-10 Glenn Morris <rgm@gnu.org>
6970
6971 * calendar/diary-lib.el (diary-list-entries-hook)
6972 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6973 (diary-nongregorian-marking-hook, diary-list-entries)
6974 (diary-include-other-diary-files, diary-mark-entries)
6975 (diary-mark-included-diary-files): Doc fixes.
6976
6977 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
6978
6979 * misc.el: Require tabulated-list.el during compilation.
6980
6981 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
6982
6983 * progmodes/compile.el (compilation-start):
6984 Run compilation-filter-hook for the async case too.
6985 (compilation-filter-hook): Doc fix.
6986
6987 2011-05-09 Deniz Dogan <deniz@dogan.se>
6988
6989 * wdired.el: Remove outdated installation comment. Fix usage
6990 comment.
6991
6992 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
6993
6994 * misc.el: Implement new command `list-dynamic-libraries'.
6995 (list-dynamic-libraries--loaded-only-p): New variable.
6996 (list-dynamic-libraries--refresh): New function.
6997 (list-dynamic-libraries): New command.
6998
6999 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
7000
7001 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7002 Fix the ant regexp to handle end-line and end-column info from jikes.
7003 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7004 higher priority to avoid clobbering by gnu.
7005
7006 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
7007
7008 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7009 if the face has existing theme settings (Bug#8454).
7010
7011 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7012
7013 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7014 Only match variables declared via `my' or `our' (Bug#8261).
7015
7016 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7017 special file names `.' and `..' (Bug#8259).
7018
7019 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
7020
7021 * progmodes/grep.el (grep-mode-font-lock-keywords):
7022 Remove buffer-changing entries.
7023 (grep-filter): New function.
7024 (grep-mode): Add it to compilation-filter-hook.
7025
7026 * progmodes/compile.el (compilation-filter-hook)
7027 (compilation-filter-start): New defvars.
7028 (compilation-filter): Call compilation-filter-hook prior to
7029 updating the process mark.
7030
7031 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7032
7033 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7034
7035 2011-05-07 Eli Zaretskii <eliz@gnu.org>
7036
7037 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7038 mailclient-send-it even if window-system is nil. (Bug#8595)
7039
7040 * term/w32console.el (terminal-init-w32console):
7041 Call get-screen-color and use its output to set the frame
7042 background-mode. (Bug#8597)
7043
7044 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7045
7046 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7047 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7048 New functions.
7049 (defgeneric, eieio--defmethod): Use them.
7050 (eieio-defgeneric): Remove.
7051 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7052
7053 2011-05-07 Glenn Morris <rgm@gnu.org>
7054
7055 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7056 Use let rather than let*.
7057 (timeclock-find-discrep): Remove unused local.
7058
7059 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7060
7061 * calendar/appt.el (appt-time-msg-list): Doc fix.
7062
7063 2011-05-06 Noah Friedman <friedman@splode.com>
7064
7065 * apropos.el (apropos-print-doc): Only use
7066 emacs-lisp-docstring-fill-column when it is bound to an integer,
7067 per that variable's documentation.
7068
7069 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
7072 and warnings are not silently discarded (e.g. use -d instead of -P).
7073
7074 2011-05-06 Glenn Morris <rgm@gnu.org>
7075
7076 * calendar/appt.el (appt-message-warning-time): Doc fix.
7077 (appt-warning-time-regexp): New option.
7078 (appt-make-list): Respect appt-message-warning-time.
7079
7080 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7081 New options.
7082 (diary-add-to-list): Strip comments from the displayed string.
7083 (diary-mode): Set comment-start and comment-end.
7084
7085 * vc/diff-mode.el (smerge-refine-subst): Declare.
7086 (diff-refine-hunk): Don't require smerge-mode when compiling.
7087
7088 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
7089
7090 * simple.el (list-processes): Return nil as the docstring says.
7091
7092 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
7093
7094 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7095 to "".
7096 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7097 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7098 determining of binary transfer. (Bug#7383)
7099
7100 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
7101
7102 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7103 Fix port computation bug. (Bug#8618)
7104
7105 2011-05-05 Glenn Morris <rgm@gnu.org>
7106
7107 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7108
7109 * simple.el (shell-dynamic-complete-functions)
7110 (comint-dynamic-complete-functions): Declare.
7111
7112 * net/network-stream.el (gnutls-negotiate):
7113 * simple.el (tabulated-list-print): Fix declarations.
7114
7115 * progmodes/gud.el (syntax-symbol, syntax-point):
7116 Remove unnecessary and incorrect declarations.
7117
7118 * emacs-lisp/check-declare.el (check-declare-scan):
7119 Handle byte-compile-initial-macro-environment in bytecomp.el
7120
7121 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7122
7123 Fix earlier half-done eieio-defmethod change (bug#8338).
7124 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7125 Streamline and change calling convention.
7126 (defmethod): Adjust accordingly and simplify.
7127 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7128 new eieio--defmethod.
7129 (slot-boundp): Minor CSE simplification.
7130
7131 2011-05-05 Milan Zamazal <pdm@zamazal.org>
7132
7133 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7134 (glasses-make-readable): Use glasses-separate-capital-groups.
7135
7136 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
7137
7138 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7139 (warning-series): Doc fix.
7140 (display-warning): Don't try to create the buffer if we just found it.
7141
7142 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
7143
7144 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7145 (autoload-find-generated-file): New function.
7146 (generate-file-autoloads): Bind generated-autoload-file to
7147 buffer-file-name.
7148 (update-file-autoloads, update-directory-autoloads):
7149 Use autoload-find-generated-file. If called interactively, prompt for
7150 output file (Bug#7989).
7151 (batch-update-autoloads): Doc fix.
7152
7153 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
7154
7155 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7156
7157 2011-05-04 Glenn Morris <rgm@gnu.org>
7158
7159 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7160 function, so it follows changes in calendar-date-style.
7161 (diary-fancy-date-matcher): New function.
7162 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7163 (diary-fancy-font-lock-fontify-region-function):
7164 Use diary-fancy-date-pattern as a function.
7165
7166 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7167 non-numbers for `year' etc pseudo-variables. (Bug#8583)
7168
7169 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
7170
7171 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7172 instead of positional arguments. Allow :keylist and :crlfiles
7173 arguments.
7174 (open-gnutls-stream): Call it.
7175
7176 * net/network-stream.el (network-stream-open-starttls): Adjust to
7177 call `gnutls-negotiate' with :process and :hostname arguments.
7178
7179 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7180
7181 * minibuffer.el (completion--message): New function.
7182 (completion--do-completion, minibuffer-complete)
7183 (minibuffer-force-complete, minibuffer-complete-word): Use it.
7184 (completion--do-completion): Don't ignore completion-auto-help when in
7185 icomplete-mode.
7186
7187 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
7188 internal encoding (e.g. tibetan zero is not whitespace).
7189 (global-whitespace-mode): Prefer save-current-buffer.
7190 (whitespace-trailing-regexp): Remove useless save-match-data.
7191 (whitespace-empty-at-bob-regexp): Minor simplification.
7192
7193 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
7194
7195 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
7196
7197 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7198
7199 * textmodes/ispell.el (ispell-add-per-file-word-list):
7200 Use `concat' to create string for insertion.
7201
7202 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7203
7204 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
7205 Avoid open-line which runs post-self-insert-hook.
7206 (bibtex-fill-entry): Remove unused `end' var.
7207
7208 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
7209
7210 * textmodes/ispell.el (ispell-add-per-file-word-list):
7211 Protect against `nil' value of `comment-start' (Bug#8579).
7212
7213 2011-05-03 Leo Liu <sdl.web@gmail.com>
7214
7215 * isearch.el (isearch-yank-pop): New command.
7216 (isearch-mode-map): Bind it to `M-y'.
7217 (isearch-forward): Mention it.
7218
7219 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * simple.el (minibuffer-complete-shell-command): Remove.
7222 (minibuffer-local-shell-command-map): Use completion-at-point.
7223 (read-shell-command): Setup completion vars here instead.
7224 (read-expression-map): Bind TAB to symbol completion.
7225
7226 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
7227 error directly rather via storing it into `results'.
7228
7229 2011-05-02 Leo Liu <sdl.web@gmail.com>
7230
7231 * vc/diff.el: Fix description.
7232
7233 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7234
7235 * server.el (server-eval-at): New function.
7236
7237 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7238
7239 * net/network-stream.el (open-network-stream): Take a :nowait
7240 parameter and pass it on to `make-network-process'.
7241 (network-stream-open-plain): Ditto.
7242
7243 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
7244
7245 * faces.el (face-spec-set-match-display): Don't match toolkit
7246 options on terminal frames.
7247
7248 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * progmodes/pascal.el: Use lexical binding.
7251 (pascal-mode-map): Remove author preferences.
7252
7253 * pcomplete.el (pcomplete-std-complete): Don't abuse
7254 completion-at-point.
7255
7256 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
7257
7258 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7259 removing code that has been dead since 1991 or so.
7260
7261 * startup.el (command-line): When warning about "_emacs", use a
7262 delayed warning to allow the user to filter it out.
7263
7264 2011-04-28 Deniz Dogan <deniz@dogan.se>
7265
7266 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7267 user has not joined.
7268
7269 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7270
7271 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7272 aren't any completions at point.
7273
7274 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
7275
7276 * subr.el (display-delayed-warnings): New function.
7277 (delayed-warnings-hook): New variable.
7278
7279 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7280
7281 * minibuffer.el (completion-at-point, completion-help-at-point):
7282 Don't presume that a given completion-at-point-function will always
7283 use the same calling convention.
7284
7285 * pcomplete.el (pcomplete-completions-at-point):
7286 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
7287 pcomplete-seen is non-nil.
7288 (pcomplete-comint-setup): Also recognize the new comint/shell
7289 completion functions.
7290 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7291 pcomplete-seen is non-nil.
7292
7293 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
7294
7295 * calendar/icalendar.el (diary-lib): Add require statement.
7296 (icalendar--create-uid): Read out a uid from a text-property on
7297 the first character in the entry. This allows for code to add its
7298 own uid to the entry.
7299 (icalendar--convert-float-to-ical): Add export of
7300 `diary-float'-entries save for those with the optional DAY
7301 argument.
7302
7303 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
7304
7305 * subr.el (shell-quote-argument): Use alternate escaping strategy
7306 when we spot a variable reference in a string.
7307
7308 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7309
7310 * cus-start.el (all): Define customization for debug-on-event.
7311
7312 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7313
7314 * subr.el (shell-quote-argument): Escape correctly under Windows.
7315
7316 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7317
7318 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7319
7320 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
7321
7322 * net/tramp.el (tramp-process-actions): Add POS argument.
7323 Delete region between POS and (pos).
7324
7325 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7326 Use `nil' position in `tramp-process-actions' call.
7327 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7328
7329 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7330 position in `tramp-process-actions' call.
7331
7332 * net/trampver.el: Update release number.
7333
7334 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7335
7336 * custom.el (defcustom): Obey lexical-binding.
7337
7338 Fix octave-inf completion problems reported by Alexander Klimov.
7339 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7340 Inherit from octave-mode-syntax-table.
7341 (inferior-octave-mode): Set info-lookup-mode.
7342 (inferior-octave-completion-at-point): New function.
7343 (inferior-octave-complete): Use it and completion-in-region.
7344 (inferior-octave-dynamic-complete-functions): Use it as well, and use
7345 comint-filename-completion.
7346 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7347 symbol elements which shouldn't be word elements.
7348 (octave-font-lock-keywords, octave-beginning-of-defun)
7349 (octave-function-header-regexp): Adjust regexps accordingly.
7350 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7351
7352 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
7353
7354 * net/gnutls.el (gnutls-errorp): Declare before first use.
7355
7356 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7357
7358 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7359 verify-error, and verify-hostname-error parameters. Check whether
7360 default trustfile exists before going to use it. Add missing
7361 argument to gnutls-message-maybe call. Return return value.
7362 Reported by Claudio Bley <claudio.bley@gmail.com>.
7363 (open-gnutls-stream): Add usage example.
7364
7365 * net/network-stream.el (network-stream-open-starttls): Give host
7366 parameter to `gnutls-negotiate'.
7367 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
7368 * subr.el (shell-quote-argument): Escape correctly under Windows.
7369
7370 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
7371
7372 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7373 Use correct match group (bug#8438).
7374
7375 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
7376
7377 * emacs-lisp/package.el (package-built-in-p): Fix typo.
7378 (package-menu--generate): New arg specifying packages to show.
7379 (package-menu-refresh, package-menu-execute, list-packages):
7380 Callers changed.
7381 (package-show-package-list): New function, replacing deleted
7382 package--list-packages (renamed because it is non-internal).
7383
7384 * finder.el (finder-list-matches): Use package-show-package-list
7385 instead of deleted package--list-packages.
7386
7387 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7388 Based on a previous implementation by Juanma Barranquero (Bug#8366).
7389 (vc-annotate-mode-map): Bind it to RET.
7390
7391 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7392
7393 * progmodes/etags.el (next-file): Don't use set-buffer to change
7394 buffers (Bug#8478).
7395
7396 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
7397
7398 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7399
7400 * apropos.el (apropos-label-face): Avoid variable-pitch face.
7401 (apropos-accumulator): Doc fix.
7402 (apropos-function, apropos-macro, apropos-command)
7403 (apropos-variable, apropos-face, apropos-group, apropos-widget)
7404 (apropos-plist): Add face property.
7405 (apropos-symbols-internal): Fix indentation.
7406 (apropos-print): Simplify help, and recognize apropos-multi-type.
7407 (apropos-print-doc): Use button-type-get to extract the button's
7408 face property. Fill docstring (Bug#8352).
7409
7410 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
7411
7412 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7413
7414 * play/mpuz.el (mpuz-silent): Doc fix.
7415 (mpuz-mode-map): Use mapc.
7416 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7417 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7418 Fix typos in docstrings.
7419
7420 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7421 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7422
7423 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7424
7425 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
7426
7427 * minibuffer.el (completion--do-completion): Avoid the "Next char
7428 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7429
7430 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7431 mouse-2 into unread-command-events, it is interpreted correctly.
7432
7433 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
7434 (image-toggle-display): Doc fix.
7435
7436 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
7437
7438 * textmodes/page.el (what-page): Use line-number-at-pos to
7439 calculate line number (Bug#6825).
7440
7441 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
7442
7443 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7444 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7445 Pass argument NO-DEFAULT to `find-tag-interactive'.
7446
7447 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
7448
7449 Lexical-binding cleanup.
7450
7451 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7452 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7453 * progmodes/ada-prj.el (ada-prj-initialize-values)
7454 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7455 (ada-prj-show-value):
7456 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7457 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7458 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7459 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7460 * progmodes/bug-reference.el (bug-reference-push-button):
7461 * progmodes/fortran.el (fortran-line-length):
7462 * progmodes/glasses.el (glasses-change):
7463 * progmodes/octave-mod.el (octave-fill-paragraph):
7464 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7465 (python-pdbtrack-grub-for-buffer, python-sentinel):
7466 * progmodes/sql.el (sql-save-connection):
7467 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7468 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7469 Mark unused parameters.
7470
7471 * progmodes/compile.el (compilation--flush-directory-cache)
7472 (compilation--flush-parse, compile-internal): Mark unused parameters.
7473 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7474 (compilation-next-error-function): Remove unused variable `timestamp'.
7475
7476 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7477 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7478
7479 * progmodes/dcl-mode.el (dcl-end-of-command):
7480 Remove unused variable `start'.
7481 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7482 (dcl-option-value-basic, dcl-option-value-offset)
7483 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7484 Mark unused parameters.
7485 (dcl-save-local-variable): Remove unused variable `val'.
7486 (mode): Declare.
7487
7488 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7489 Mark unused parameters.
7490 (delphi-ignore-changes): Move before first use.
7491 (delphi-charset-token-at): Remove unused variable `start'.
7492 (delphi-else-start): Remove unused variable `if-count'.
7493 (delphi-comment-block-start, delphi-comment-block-end):
7494 Remove unused variable `kind'.
7495 (delphi-indent-line): Remove unused variable `new-point'.
7496
7497 * progmodes/ebrowse.el (ebrowse-files-list)
7498 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7499 Mark unused parameters. Don't quote `lambda'.
7500 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7501 Don't quote `lambda'.
7502 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7503 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7504 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7505 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7506 Use `ignore-errors'.
7507 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7508 (ebrowse-view/find-file-and-search-pattern)
7509 (ebrowse-view/find-member-declaration/definition):
7510 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7511 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7512 Rename parameter PREFIX-ARG to PREFIX.
7513 (ebrowse-tags-read-name): Remove unused variables `start' and
7514 `member-info'.
7515 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7516 to `tags-file'.
7517
7518 * progmodes/etags.el (local-find-tag-hook): Declare.
7519 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7520 Mark unused parameters.
7521
7522 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7523 (executable-interpret): Mark unused parameter.
7524
7525 * progmodes/flymake.el (flymake-process-sentinel)
7526 (flymake-after-change-function)
7527 (flymake-create-temp-with-folder-structure)
7528 (flymake-get-include-dirs-dot): Mark unused parameters.
7529 (flymake-safe-delete-directory): Remove unused variable `err'.
7530
7531 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7532 (speedbar-timer-fn, speedbar-line-text)
7533 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7534 (speedbar-center-buffer-smartly): Declare functions.
7535 (gdb-find-watch-expression): Remove unused variable `array'.
7536 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7537 (gdb-starting): Mark unused parameters.
7538 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7539 (gdb-table-string): Remove unused variable `res'.
7540 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7541 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7542 (gdb-display-buffer): Remove unused variable `cur-size'.
7543
7544 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7545 allow lexical-binding compilation.
7546 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7547 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7548 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7549 Mark unused parameters.
7550 (gud-gdb-marker-filter): Remove unused variable `match'.
7551 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7552 lambda expressions and funcall them, instead of using `fset'.
7553
7554 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7555 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7556
7557 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7558 variable `header-beg'; use `let'.
7559
7560 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7561 `restart', `last-sexp' and `at-do'.
7562
7563 * progmodes/js.el (js--debug): Mark unused parameter.
7564 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7565 (js--splice-into-items): Remove unused variable `item'.
7566 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7567
7568 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7569 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7570 (makefile-complete): Remove unused variable `try'.
7571 (makefile-fill-paragraph, makefile-match-function-end):
7572 Mark unused parameters.
7573
7574 * progmodes/octave-inf.el (inferior-octave-complete):
7575 Remove unused variable `proc'.
7576 (inferior-octave-output-digest): Mark unused parameter.
7577
7578 * progmodes/perl-mode.el (perl-calculate-indent):
7579 Remove unused variable `err'.
7580
7581 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7582 (prolog-indent-line): Mark unused parameters.
7583 (prolog-indent-line): Remove unused variable `beg'.
7584
7585 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7586 (reporter-dont-compact-list): Declare.
7587
7588 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7589 Remove unused variable `char'.
7590 (sh-debug): Mark unused parameter.
7591 (sh-get-indent-info): Remove unused variable `start'.
7592 (sh-calculate-indent): Remove unused variable `var'.
7593
7594 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7595 (simula-electric-keyword): Remove unused variable `null'.
7596 (simula-search-backward, simula-search-forward): Remove unused
7597 variables `begin' and `end'.
7598
7599 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7600 Remove unused variable `pos'.
7601 (vera-electric-tab, vera-comment-uncomment-region):
7602 Mark unused parameters.
7603 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7604
7605 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
7606
7607 * emacs-lisp/package.el (package--builtins, package-alist)
7608 (package-load-descriptor, package-built-in-p, package-activate)
7609 (define-package, package-installed-p)
7610 (package-compute-transaction, package-buffer-info)
7611 (package--push): Doc fix. Distinguish more clearly between
7612 version strings and version lists.
7613
7614 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
7615
7616 Lexical-binding cleanup.
7617
7618 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7619 (5x5-make-mutate-best):
7620 * play/fortune.el (fortune-in-buffer):
7621 * play/gomoku.el (gomoku-init-display):
7622 * play/solitaire.el (solitaire, solitaire-do-check):
7623 * play/tetris.el (tetris-default-update-speed-function):
7624 Mark unused parameters.
7625
7626 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7627 (bubbles--shift): Remove unused variable `char-org'.
7628 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7629 (bubbles--show-images): Remove unused variable `char'.
7630
7631 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7632 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7633 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7634 (decipher-analyze-buffer): Use ?\s.
7635 (decipher-make-checkpoint): Remove unused variable `mapping'.
7636
7637 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7638
7639 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7640 Remove unused variable `result'; use `let'.
7641
7642 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7643 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7644 (gametree-children-shown-p, gametree-compute-reduced-score):
7645 Use `ignore-errors'.
7646
7647 * play/handwrite.el (ps-lpr-switches): Declare.
7648 (handwrite): Remove unused variables `pmin' and `lastp'.
7649
7650 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7651
7652 * play/landmark.el (landmark-init-display)
7653 (landmark-update-naught-weights): Mark unused parameters.
7654 (landmark-y): Remove unused variable `noise'. Simplify.
7655 (landmark-human-plays): Remove unused variable `score'.
7656
7657 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7658 (mpuz-try-proposal): Remove unused variable `game'.
7659
7660 * play/zone.el (life-patterns): Declare.
7661
7662 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
7663
7664 * vc/vc.el (ediff-vc-internal): Declare function.
7665
7666 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * shell.el: Use lexical-binding and std completion UI.
7669 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7670 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7671 comint-preoutput-filter-functions rather than on
7672 comint-output-filter-functions.
7673 (shell-command-completion, shell--command-completion-data)
7674 (shell-filename-completion, shell-environment-variable-completion)
7675 (shell-c-a-p-replace-by-expanded-directory): New functions.
7676 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7677 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7678 (shell-dynamic-complete-environment-variable): Use them.
7679 (shell-dynamic-complete-as-environment-variable)
7680 (shell-dynamic-complete-as-command): Remove.
7681 (shell-match-partial-variable): Match past point.
7682 * comint.el: Clean up use of completion-at-point-functions.
7683 (comint-completion-at-point): New function.
7684 (comint-mode): Use it completion-at-point-functions.
7685 (comint-dynamic-complete): Make it obsolete.
7686 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7687 (comint-c-a-p-replace-by-expanded-history): New function.
7688 (comint-dynamic-complete-functions)
7689 (comint-replace-by-expanded-history): Use it.
7690 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7691 termination strings. Try harder to avoid second try-completion.
7692 (completion-in-region-mode-map): Disable bindings that don't work yet.
7693
7694 * comint.el: Use lexical-binding. Require CL.
7695 (comint-dynamic-complete-functions): Use comint-filename-completion.
7696 (comint-completion-addsuffix): Tweak custom type.
7697 (comint-filename-completion, comint--common-suffix)
7698 (comint--common-quoted-suffix, comint--table-subvert)
7699 (comint--complete-file-name-data): New functions.
7700 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7701 (comint-dynamic-list-filename-completions): Use them.
7702 (comint-dynamic-simple-complete): Make obsolete.
7703
7704 * minibuffer.el (completion-in-region-mode):
7705 Keep completion-in-region-mode--predicate global.
7706 (completion-in-region--postch):
7707 Assume completion-in-region-mode--predicate is not null.
7708
7709 * progmodes/flymake.el (flymake-start-syntax-check-process):
7710 Obey `dir'. Simplify.
7711
7712 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7713 we're in VC after all.
7714
7715 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7716
7717 * vc/vc.el (vc-diff-build-argument-list-internal)
7718 (vc-version-ediff, vc-ediff): New commands.
7719 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7720
7721 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7724 add sanity check.
7725
7726 * obsolete/erc-hecomplete.el: Make obsolete.
7727 * obsolete/: Standardize obsolescence info in the header.
7728
7729 2011-04-20 Glenn Morris <rgm@gnu.org>
7730
7731 * calendar/solar.el (solar-horizontal-coordinates):
7732 Use the longitude argument rather than `calendar-longitude'.
7733 (solar-date-next-longitude): Remove unused locals.
7734
7735 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7736
7737 * whitespace.el: New version 13.2.1.
7738
7739 2011-04-20 felix <EmacsWiki> (tiny change)
7740
7741 * whitespace.el (global-whitespace-mode): Keep highlight when
7742 switching between major modes on a file.
7743
7744 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7745
7746 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7747 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7748 multi-line comments as well.
7749
7750 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
7751
7752 Lexical-binding cleanup.
7753
7754 * arc-mode.el (archive-mode-revert):
7755 * cmuscheme.el (scheme-interactively-start-process):
7756 * custom.el (custom-initialize-delay):
7757 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7758 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7759 * emacs-lock.el (emacs-lock-clear-sentinel):
7760 * ezimage.el (defezimage):
7761 * follow.el (follow-avoid-tail-recenter):
7762 * fringe.el (set-fringe-mode-1):
7763 * generic-x.el (bat-generic-mode-compile):
7764 * help-mode.el (help-info-variable, help-do-xref)
7765 (help-mode-revert-buffer):
7766 * help.el (view-emacs-todo):
7767 * iswitchb.el (iswitchb-completion-help):
7768 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7769 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7770 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7771 * locate.el (locate-update):
7772 * longlines.el (longlines-encode-region)
7773 (longlines-after-change-function):
7774 * outline.el (outline-isearch-open-invisible):
7775 * ps-def.el (declare-function, charset-dimension, char-width)
7776 (encode-char):
7777 * ps-mule.el (ps-mule-plot-string):
7778 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7779 (recentf-edit-list-select, recentf-edit-list-validate)
7780 (recentf-open-files-action):
7781 * rect.el (delete-whitespace-rectangle-line)
7782 (rectangle-number-line-callback):
7783 * register.el (window-configuration-to-register)
7784 (frame-configuration-to-register):
7785 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7786 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7787 (xselect-convert-to-targets, xselect-convert-to-delete)
7788 (xselect-convert-to-filename, xselect-convert-to-charpos)
7789 (xselect-convert-to-lineno, xselect-convert-to-colno)
7790 (xselect-convert-to-os, xselect-convert-to-host)
7791 (xselect-convert-to-user, xselect-convert-to-class)
7792 (xselect-convert-to-name, xselect-convert-to-integer)
7793 (xselect-convert-to-atom, xselect-convert-to-identity):
7794 * subr.el (declare, ignore, process-kill-without-query)
7795 (text-clone-maintain):
7796 * terminal.el (te-get-char, te-tic-sentinel):
7797 * tool-bar.el (tool-bar-make-keymap):
7798 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7799 * type-break.el (type-break-mode, type-break-noninteractive-query):
7800 * view.el (View-back-to-mark):
7801 * wid-browse.el (widget-browse-action, widget-browse-widget)
7802 (widget-browse-widgets, widget-browse-sexp):
7803 * widget.el (define-widget-keywords):
7804 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7805 Mark unused parameters.
7806
7807 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7808 (align-areas): Remove unused variable `look'.
7809 (align-region): Remove unused variables `real-end' and `pos-list'.
7810
7811 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7812
7813 * bindings.el (mode-line-modified, mode-line-remote):
7814 Mark unused parameters.
7815 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7816
7817 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7818 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7819
7820 * comint.el (comint-history-isearch-pop-state)
7821 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7822 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7823 (comint-substitute-in-file-name): Doc fix.
7824
7825 * completion.el (cmpl-statistics-block): Mark unused parameter.
7826 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7827 (save-completions-to-file, load-completions-from-file):
7828 Remove unused local variable `e'.
7829
7830 * composite.el (compose-chars): Remove unused variable `len'.
7831 (lgstring-insert-glyph): Remove unused variable `g'.
7832 (compose-glyph-string): Remove unused variables `ascent',
7833 `descent', `lbearing' and `rbearing'.
7834 (compose-glyph-string-relative): Remove unused variables
7835 `lbearing', `rbearing' and `wadjust'.
7836 (compose-gstring-for-graphic): Remove unused variables `header',
7837 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7838 (compose-gstring-for-terminal): Remove unused variables `header'
7839 and `nchars'. Use `let', not `let*'.
7840
7841 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7842 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7843 (Custom-buffer-done, custom-buffer-create-internal)
7844 (custom-browse-visibility-action, custom-browse-group-tag-action)
7845 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7846 (widget-magic-mouse-down-action, custom-toggle-parent)
7847 (custom-add-parent-links, custom-toggle-hide-variable)
7848 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7849 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7850 (custom-face-menu-create, custom-variable-menu-create, get)
7851 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7852 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7853 (customize-apropos): Remove unused variable `tests'.
7854 (custom-group-value-create): Remove unused variable `hidden-p'.
7855 (sort-fold-case): Declare.
7856
7857 * cus-theme.el (custom-reset-standard-faces-list)
7858 (custom-reset-standard-variables-list): Declare.
7859 (customize-create-theme, custom-theme-revert, custom-theme-write)
7860 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7861 Mark unused parameters.
7862
7863 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7864
7865 * delim-col.el (delimit-columns-max): Move defvar before first use.
7866
7867 * descr-text.el (describe-char-categories): Don't quote `lambda'.
7868 (describe-char): Don't quote `lambda'. Mark unused parameter.
7869
7870 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7871 (auto-insert): Declare.
7872 (desktop-restore-file-buffer): Rename desktop-* parameters;
7873 mark unused ones.
7874 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7875 (desktop-buffer): Rename desktop-* parameters.
7876
7877 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7878 (dframe-reposition-frame-xemacs, dframe-help-echo)
7879 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7880 Mark unused parameters.
7881
7882 * dired-aux.el (backup-extract-version-start, overwrite-query)
7883 (overwrite-backup-query, rename-regexp-query)
7884 (rename-non-directory-query): Declare.
7885 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7886 (dired-add-entry): Remove unused variable `orig-file-name'.
7887 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7888 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7889 `dired-copy-preserve-time' directly.
7890 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7891 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7892
7893 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7894 (dired-virtual-revert, dired-make-relative-symlink):
7895 Mark unused parameters.
7896 (manual-program): Declare.
7897 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7898 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7899 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7900
7901 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7902
7903 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7904
7905 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7906 Declare.
7907
7908 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7909
7910 * electric.el (Electric-command-loop): Rename parameter
7911 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7912
7913 * expand.el (expand-in-literal): Remove unused variable `here'.
7914
7915 * facemenu.el (facemenu-add-new-color):
7916 Remove unused variable `docstring'.
7917
7918 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7919 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7920 (face-attr-construct): Mark unused parameter. Doc fix.
7921 (read-color): Remove unused variable `hex-string'.
7922
7923 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7924 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7925 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7926 (display-buffer-other-frame): Remove unused variable `old-window'.
7927 (kill-buffer-hook): Declare.
7928 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7929 Mark unused parameters.
7930 (after-find-file): Pass 1 to `auto-save-mode', not t.
7931
7932 * files-x.el (auto-insert): Declare.
7933 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7934
7935 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
7936 variable `buf'. Mark unused parameter.
7937 (find-lisp-insert-directory): Mark unused parameter.
7938
7939 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7940 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7941 (format-common-tail): Remove, unused.
7942 (format-deannotate-region): Remove unused variable `loc'.
7943 (format-annotate-region): Remove unused variable `p'.
7944 (format-annotate-single-property-change): Remove unused variables
7945 `default' and `tail'.
7946
7947 * forms.el (read-file-filter): Declare.
7948 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7949
7950 * frame.el (frame-creation-function-alist): Mark unused parameter.
7951 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7952
7953 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7954 Remove unused parameters.
7955 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7956 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7957
7958 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7959 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7960 (hfy-prepare-tag-map): Mark unused parameters.
7961 (htmlfontify-buffer): Use `called-interactively-p'.
7962
7963 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7964 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7965 (ibuffer-do-occur): Mark unused parameters.
7966 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7967 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7968
7969 * ibuffer.el: Don't quote `lambda'.
7970 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7971 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7972 Mark unused parameters.
7973
7974 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7975 (ido-completing-read): Mark unused parameters.
7976 (ido-copy-current-word): Mark unused parameters;
7977 remove unused variable `name'.
7978 (ido-sort-merged-list): Remove unused parameter `dirs'.
7979
7980 * ielm.el (ielm-input-sender): Mark unused parameter.
7981 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7982 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7983 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7984 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7985 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7986
7987 * image-dired.el (image-dired-display-thumbs): Remove unused
7988 variables `curr-file' and `count'.
7989 (image-dired-remove-tag): Remove unused variable `start'.
7990 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7991 variable `curr-file'
7992 (image-dired-rotate-original): Remove unused variable `temp-file'.
7993 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7994 Remove unused variable `file'.
7995 (image-dired-gallery-generate): Remove unused variable `curr'.
7996 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7997
7998 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7999
8000 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8001
8002 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8003
8004 * isearch.el (minibuffer-history-symbol): Declare.
8005 (isearch-edit-string): Remove unused variable `err'.
8006 (isearch-message-prefix, isearch-message-suffix):
8007 Mark unused parameters.
8008
8009 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8010
8011 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8012
8013 * makesum.el (double-column): Remove unused variable `cnt'.
8014
8015 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8016 (ido-ignore-item-temp-list): Declare.
8017
8018 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8019 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8020 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8021 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8022 `mouse-col-delta'.
8023
8024 * mouse-sel.el (mouse-extend-internal):
8025 Remove unused variable `orig-window-frame'.
8026
8027 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8028 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8029 Move declarations before first use.
8030 (pcomplete-opt): Mark unused parameters; doc fix.
8031
8032 * proced.el (proced-revert): Mark unused parameter.
8033 (proced-send-signal): Remove unused variable `err'.
8034
8035 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8036 Rename parameter PREFIX-ARG to ARG.
8037 (ps-basic-plot-string, ps-basic-plot-whitespace):
8038 Mark unused parameters.
8039
8040 * replace.el (replace-count): Define.
8041 (occur-revert-function): Mark unused parameters.
8042 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8043 (isearch-case-fold-search, isearch-string): Declare.
8044 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8045 bind `case-fold-search'. Remove unused variables `beg' and `end',
8046 and simplify.
8047 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8048 COUNT and bind `replace-count'.
8049 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8050 to COUNT.
8051
8052 * savehist.el (print-readably, print-string-length): Declare.
8053
8054 * shadowfile.el (shadow-expand-cluster-in-file-name):
8055 Remove unused variable `cluster'.
8056 (shadow-copy-file): Remove unused variable `i'.
8057 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8058 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8059 (shadow-define-literal-group, shadow-define-regexp-group)
8060 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8061
8062 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8063 (shell): Use `called-interactively-p'.
8064 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8065
8066 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8067 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8068 (delete-backward-char): Remove unused variable `ocol'.
8069 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8070 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8071 (event-apply-hyper-modifier, event-apply-shift-modifier)
8072 (event-apply-control-modifier, event-apply-meta-modifier):
8073 Mark unused parameters.
8074 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8075 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8076
8077 * speedbar.el (speedbar-ignored-directory-expressions)
8078 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8079 (speedbar-find-file, speedbar-dir-follow)
8080 (speedbar-directory-buttons-follow, speedbar-tag-find)
8081 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8082 (speedbar-buffers-line-directory, speedbar-buffer-click):
8083 Mark unused parameters.
8084 (speedbar-tag-file): Remove unused variable `mode'.
8085 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8086
8087 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8088
8089 * talk.el (talk): Remove unused variable `display'.
8090
8091 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8092 (tar-write-region-annotate): Mark unused parameter.
8093
8094 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8095 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8096 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8097 warning by another.
8098
8099 * time-stamp.el (time-stamp-string-preprocess):
8100 Remove unused variable `require-padding'.
8101
8102 * tree-widget.el (widget-glyph-enable): Declare.
8103 (tree-widget-action): Mark unused parameter.
8104
8105 * w32-fns.el (x-get-selection): Mark unused parameter.
8106 (autoload-make-program, generated-autoload-file): Declare.
8107
8108 * wdired.el (wdired-revert): Mark unused parameters.
8109 (wdired-xcase-word): Remove unused variable `err'.
8110
8111 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8112 (whitespace-help-scroll): Remove unused variable `data-help'.
8113
8114 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8115 (widget-image-insert, widget-after-change, default)
8116 (widget-default-format-handler, widget-default-notify)
8117 (widget-default-prompt-value, widget-info-link-action)
8118 (widget-url-link-action, widget-function-link-action)
8119 (widget-variable-link-action, widget-file-link-action)
8120 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8121 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8122 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8123 (widget-insert-button-action, widget-delete-button-action, visibility)
8124 (widget-documentation-link-action, widget-documentation-string-action)
8125 (widget-const-prompt-value, widget-regexp-match, symbol)
8126 (widget-coding-system-prompt-value)
8127 (widget-key-sequence-value-to-external, sexp)
8128 (widget-sexp-value-to-internal, character, vector, cons)
8129 (widget-choice-prompt-value, widget-boolean-prompt-value)
8130 (widget-color--choose-action): Mark unused parameters.
8131 (widget-item-match-inline, widget-choice-match-inline)
8132 (widget-checklist-match, widget-checklist-match-inline)
8133 (widget-group-match): Rename parameter VALUES to VALS.
8134 (widget-field-value-set): Remove unused variable `size'.
8135 (widget-color-action): Remove unused variables `value' and `start'.
8136
8137 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
8138 variable `dir'. Doc fix.
8139 (windmove-find-other-window): Don't pass it.
8140
8141 * window.el (count-windows): Mark unused parameter.
8142 (bw-adjust-window): Remove unused variable `err'.
8143
8144 * woman.el (woman-file-name): Remove unused variable `default'.
8145 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8146 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8147 (global-font-lock-mode): Declare.
8148 (woman-decode-region): Mark unused parameter.
8149 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8150
8151 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8152 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8153 (x-dnd-handle-moz-url): Remove unused variable `title'.
8154 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8155
8156 * xml.el (xml-parse-tag, xml-parse-attlist):
8157 Remove unused variable `pos'.
8158
8159 2011-04-19 Glenn Morris <rgm@gnu.org>
8160
8161 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8162 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8163 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8164 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8165 * calendar/cal-html.el (cal-html-insert-minical):
8166 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8167 (calendar-mark-date-pattern):
8168 Prefix "unused" locals.
8169
8170 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8171 optional argument `style'.
8172
8173 * calendar/appt.el (appt-make-list):
8174 * calendar/cal-china.el (calendar-chinese-date-string):
8175 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8176 (diary-hebrew-yahrzeit):
8177 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8178 * calendar/calendar.el (calendar-generate-window):
8179 * calendar/time-date.el (time-to-days):
8180 Remove unused local variables.
8181
8182 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
8183
8184 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8185 glyphless-char-display table.
8186 (tabulated-list-glyphless-char-display): New var.
8187
8188 2011-04-18 Sam Steingold <sds@gnu.org>
8189
8190 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
8191 to acknowledgments.
8192
8193 2011-04-17 Glenn Morris <rgm@gnu.org>
8194
8195 * calendar/diary-lib.el (diary-sexp-entry):
8196 * calendar/holidays.el (holiday-sexp):
8197 Set debug-on-error rather than the removed stack-trace-on-error.
8198
8199 2011-04-16 Glenn Morris <rgm@gnu.org>
8200
8201 * progmodes/f90.el: Use lexical-binding.
8202 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
8203
8204 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8205
8206 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
8207 (mail-mode): Setup mailalias completion here instead.
8208 * mail/mailalias.el: Use lexical-binding.
8209 (pattern, mailalias-done): Declare dynamic.
8210 (mail-completion-at-point-function): New function, from mail-complete.
8211 (mail-complete): Use it.
8212 (mail-completion-expand): New function.
8213 (mail-get-names): Use it.
8214 (mail-directory, mail-directory-process, mail-directory-stream):
8215 Don't use `pattern' for lexically bound arg.
8216
8217 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
8218
8219 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
8220 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
8221 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
8222
8223 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
8224 (byte-save-window-excursion, byte-temp-output-buffer-setup)
8225 (byte-interactive-p): Define them again, for use when inlining
8226 old code.
8227
8228 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
8229
8230 * loadup.el: Use `string-to-number', not `string-to-int'.
8231
8232 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8233
8234 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8235 gud-gdb-complete-command.
8236 (gud-gdb-completions): New function, from gud-gdb-complete-command.
8237 (gud-gdb-completion-at-point): New function.
8238 (gud-gdb-completions): Remove.
8239
8240 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
8241
8242 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8243 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
8244 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8245 whether `executable-find' is bound.
8246
8247 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8248
8249 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8250
8251 * minibuffer.el (completion-in-region-mode-predicate)
8252 (completion-in-region-mode--predicate): New vars.
8253 (completion-in-region, completion-in-region--postch)
8254 (completion-in-region-mode): Use them.
8255 (completion--capf-wrapper): Also return the hook function.
8256 (completion-at-point, completion-help-at-point):
8257 Adjust and provide a predicate.
8258
8259 Preserve arg names for advice of subr and lexical functions (bug#8457).
8260 * help-fns.el (help-function-arglist): Consolidate the subr and
8261 new-byte-code cases. Add argument `preserve-names' to extract names
8262 from the docstring when needed.
8263 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8264 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8265 (ad-arglist): Use help-function-arglist's new arg.
8266 (ad-definition-type): Use cond.
8267
8268 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
8269
8270 * autorevert.el (auto-revert-handler):
8271 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8272 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8273 Don't quote lambda.
8274
8275 * image-mode.el (image-transform-set-scale):
8276 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8277
8278 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8279
8280 * net/network-stream.el (network-stream-open-starttls): Only do
8281 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
8282 Upgrades via gnutls-cli are too slow to be done opportunistically.
8283
8284 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
8285
8286 * dframe.el (dframe-current-frame): Remove spurious quote.
8287
8288 2011-04-12 Glenn Morris <rgm@gnu.org>
8289
8290 * calendar/cal-tex.el (cal-tex-end-document):
8291 Try to automatically use latin1 input if needed.
8292
8293 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8294 Don't try to cons a mark onto an empty element.
8295
8296 2011-04-11 Leo Liu <sdl.web@gmail.com>
8297
8298 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8299 buffers.
8300 (ido-kill-buffer-at-head): Support killing virtual buffers.
8301
8302 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
8303
8304 * minibuffer.el (completion-show-inline-help): New var.
8305 (completion--do-completion, minibuffer-complete)
8306 (minibuffer-force-complete, minibuffer-complete-word):
8307 Inhibit minibuffer messages if completion-show-inline-help is nil.
8308
8309 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8310 to avoid interference from inline help (Bug#5849).
8311
8312 2011-04-10 Leo Liu <sdl.web@gmail.com>
8313
8314 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8315 Fix typo.
8316
8317 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
8318
8319 * image-mode.el (image-toggle-display-image): Signal an error if
8320 not in Image mode.
8321 (image-transform-mode, image-transform-resize)
8322 (image-transform-set-rotation): Doc fix.
8323 (image-transform-set-resize): Delete.
8324 (image-transform-set-scale, image-transform-fit-to-height)
8325 (image-transform-fit-to-width): Handle image-toggle-display-image
8326 and image-transform-resize directly.
8327
8328 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
8329
8330 * doc-view.el (doc-view-fit-width-to-window)
8331 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8332 New functions for fitting the shown image to the Emacs window size.
8333 (doc-view-mode-map): Add bindings for the new functions.
8334
8335 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
8336
8337 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
8338 Fix typo in docstring.
8339
8340 2011-04-08 Eli Zaretskii <eliz@gnu.org>
8341
8342 * files.el (file-size-human-readable): Produce one digit after
8343 decimal, like "ls -lh" does.
8344
8345 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8346 the file size representation.
8347
8348 * simple.el (list-processes): If async subprocesses are not
8349 available, error out with a clear error message.
8350
8351 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
8352
8353 * help.el (help-form-show): New function, to be called from C.
8354 Put help-form output in a buffer named differently than *Help*.
8355
8356 2011-04-08 Eli Zaretskii <eliz@gnu.org>
8357
8358 * files.el (file-size-human-readable): New function.
8359
8360 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8361 computing the representation inline. Don't require `cl'.
8362
8363 2011-04-08 Glenn Morris <rgm@gnu.org>
8364
8365 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8366
8367 * net/browse-url.el (browse-url-firefox):
8368 Test system-type, not system-configuration.
8369
8370 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8371 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8372 Use log-edit-empty-buffer-p. (Bug#7598)
8373
8374 * net/rlogin.el (rlogin-process-connection-type): Simplify.
8375 (rlogin-mode-map): Initialize in the defvar.
8376 (rlogin): Use ignore-errors.
8377
8378 * replace.el (occur-mode-map): Some fixes for menu items.
8379
8380 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8381
8382 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
8383
8384 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
8385
8386 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8387 issuing unused warnings.
8388
8389 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8390 macro directly.
8391
8392 * simple.el: Lisp reimplement of list-processes. Based on an
8393 earlier reimplementation by Leo Liu, but using tabulated-list.el.
8394 (process-menu-mode): New major mode.
8395 (list-processes--refresh, list-processes):
8396 (process-menu-visit-buffer): New functions.
8397
8398 * files.el (save-buffers-kill-emacs): Don't assume any return
8399 value of list-processes, which is undocumented anyway.
8400
8401 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
8402
8403 * emacs-lisp/tabulated-list.el: New file.
8404
8405 * emacs-lisp/package.el: Use Tabulated List mode.
8406 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8407 (package-menu-mode): Derive from tabulated-list-mode. Set up the
8408 table format using Tabulated List mode variables.
8409 (package--push): New macro, replacing package-list-maybe-add.
8410 (package-menu--generate): Use package--push. Renamed from
8411 package--generate-package-list.
8412 (package-menu-refresh, list-packages): Use it.
8413 (package-menu--print-info): Rename from package-print-package.
8414 Return insertion data instead of inserting it directly.
8415 (package-menu-describe-package, package-menu-execute):
8416 Use tabulated-list-get-id.
8417 (package-menu-mark-delete, package-menu-mark-install)
8418 (package-menu-mark-unmark, package-menu-backup-unmark)
8419 (package-menu-mark-obsolete-for-deletion):
8420 Use tabulated-list-put-tag.
8421 (package--list-packages, package-menu-revert)
8422 (package-menu-get-package, package-menu-get-version)
8423 (package-menu-sort-by-column): Functions deleted.
8424 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8425 (package-menu--status-predicate, package-menu--version-predicate)
8426 (package-menu--name-predicate)
8427 (package-menu--description-predicate): Handle arguments in the
8428 Tabulated List format.
8429 (package-list-packages-no-fetch): Call list-packages.
8430
8431 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
8432
8433 * files.el (after-find-file-from-revert-buffer): Remove variable.
8434 (after-find-file): Don't bind it.
8435 (revert-buffer-in-progress-p): New variable.
8436 (revert-buffer): Bind it.
8437 Pass nil for `after-find-file-from-revert-buffer'.
8438
8439 * saveplace.el (save-place-find-file-hook): Use new variable
8440 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8441
8442 2011-04-06 Glenn Morris <rgm@gnu.org>
8443
8444 * Makefile.in (AUTOGEN_VCS): New variable.
8445 (autoloads): Use $AUTOGEN_VCS.
8446
8447 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8448 * calendar/calendar.el (calendar-mode-map):
8449 Check for toolkit scroll bars. (Bug#8305)
8450
8451 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
8452
8453 * minibuffer.el (completion-in-region--postch)
8454 (completion-in-region-mode): Remove unnecessary messages.
8455
8456 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
8457
8458 * font-lock.el (font-lock-refresh-defaults):
8459 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8460 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8461
8462 * info.el (Info-directory-list, Info-read-node-name-2)
8463 (Info-split-parameter-string): Doc fixes.
8464 (Info-virtual-nodes): Reflow docstring.
8465 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8466 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8467 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8468 Fix typos in docstrings.
8469 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8470 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8471 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8472 (Info-restore-desktop-buffer): Mark unused parameters.
8473 (Info-directory-find-file, Info-directory-find-node)
8474 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8475 (Info-virtual-index-find-node, Info-apropos-find-file)
8476 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
8477 Mark unused parameters; fix typos in docstrings.
8478 (Info-virtual-index): Remove unused local variable `nodename'.
8479
8480 2011-04-05 Deniz Dogan <deniz@dogan.se>
8481
8482 * net/rcirc.el: Update my e-mail address.
8483 (rcirc-mode-map): Remove M-o binding.
8484
8485 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
8486
8487 * startup.el (command-line): Save the cursor's theme-face
8488 directly, instead of using face-override-spec.
8489
8490 * custom.el (load-theme): Minor optimization in assigning faces.
8491
8492 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
8493
8494 * help-fns.el (describe-variable): Complete all variables having
8495 documentation, including keywords.
8496 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8497
8498 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
8499
8500 Convert to lexical-binding.
8501
8502 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8503 (bs--get-marked-string, bs--get-modified-string)
8504 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8505 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8506 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8507
8508 * ehelp.el (electric-help-execute-extended)
8509 (electric-help-ctrl-x-prefix):
8510 * hexl.el (hexl-revert-buffer-function):
8511 * linum.el (linum-after-change, linum-after-scroll):
8512 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8513
8514 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8515
8516 2011-04-04 Daiki Ueno <ueno@unixuser.org>
8517
8518 * epa-dired.el:
8519 * epa-mail.el:
8520 * epa-hook.el:
8521 * epa-file.el:
8522 * epa.el:
8523 * epg.el: Use lexical binding.
8524
8525 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
8526
8527 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8528
8529 * textmodes/flyspell.el (flyspell-word): Recognize default
8530 dictionary case for flyspell-mark-duplications-exceptions.
8531 Use regexp matching for languages.
8532 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8533 default dictionary (Bug#7926).
8534
8535 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
8536
8537 * emacs-lisp/package.el (package--with-work-buffer):
8538 Recognize https URLs.
8539
8540 * net/network-stream.el: Move from gnus/proto-stream.el.
8541 Change prefix to network-stream throughout.
8542 (open-protocol-stream): Merge into open-network-stream, leaving
8543 open-protocol-stream as an alias. Handle nil BUFFER args.
8544
8545 * subr.el (open-network-stream): Move to net/network-stream.el.
8546
8547 2011-04-02 Glenn Morris <rgm@gnu.org>
8548
8549 * find-dired.el (find-exec-terminator): New option.
8550 (find-ls-option): Test for -ls support.
8551 (find-ls-subdir-switches): Test for -b in find-ls-option.
8552 (find-dired, find-grep-dired): Doc fixes.
8553 (find-dired): Use find-exec-terminator.
8554
8555 * find-dired.el (find-ls-option, find-ls-subdir-switches)
8556 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8557 (find-name-arg): Remove purecopy.
8558
8559 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8560 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8561 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8562 accordingly. Don't add the null-device if not needed.
8563
8564 * files.el (save-some-buffers): Doc fix.
8565
8566 2011-04-02 Eli Zaretskii <eliz@gnu.org>
8567
8568 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8569
8570 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
8571
8572 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8573 Use `dolist' rather than `mapcar'.
8574
8575 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8576
8577 Add lexical binding.
8578
8579 * subr.el (apply-partially): Use new closures rather than CL.
8580 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8581 (dolist, dotimes): Use slightly different expansion for lexical code.
8582 (functionp): Move to C.
8583 (letrec): New macro.
8584 (with-wrapper-hook): Use it and apply-partially instead of CL.
8585 (eval-after-load): Preserve lexical-binding.
8586 (save-window-excursion, with-output-to-temp-buffer): Turn them
8587 into macros.
8588
8589 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8590
8591 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8592 than the arglist.
8593 (help-add-fundoc-usage): Don't add `Not documented'.
8594 (help-function-arglist): Handle closures, subroutines, and new
8595 byte-code-functions.
8596 (help-make-usage): Remove leading underscores.
8597 (describe-function-1): Handle closures.
8598 (describe-variable): Use special-variable-p for completion.
8599
8600 * files.el (lexical-binding): Declare safe.
8601
8602 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8603 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8604 (pcase): Add `let' pattern.
8605 Change memoization so it actually works.
8606 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8607 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8608 <let>: New case.
8609
8610 * emacs-lisp/macroexp.el: Use lexical binding.
8611 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8612 Don't convert ' to #' without checking that it's indeed quoting
8613 a lambda.
8614
8615 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
8616 Use eval-sexp-add-defvars.
8617 (eval-sexp-add-defvars): New fun.
8618
8619 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8620
8621 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8622 Don't autoload.
8623 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8624 than the internal `byte-compile-lambda'.
8625 (defmethod): Don't hide code under quotes.
8626 (eieio-defmethod): New `code' argument.
8627
8628 * emacs-lisp/eieio-comp.el: Remove.
8629
8630 * emacs-lisp/edebug.el (edebug-eval-defun)
8631 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8632 (edebug-toggle): Avoid `eval'.
8633
8634 * emacs-lisp/disass.el (disassemble-internal): Handle new
8635 `closure' objects.
8636 (disassemble-1): Handle new byte codes.
8637
8638 * emacs-lisp/cl.el (pushnew): Silence warning.
8639
8640 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8641 (cl-byte-compile-throw): Remove.
8642 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8643
8644 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8645 closures.
8646
8647 * emacs-lisp/cconv.el: New file.
8648
8649 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8650 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8651 (byte-compile-initial-macro-environment):
8652 Handle declare-function here.
8653 (byte-compile--lexical-environment): New var.
8654 (byte-stack-ref, byte-stack-set, byte-discardN)
8655 (byte-discardN-preserve-tos): New lap codes.
8656 (byte-interactive-p): Don't use any more.
8657 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8658 New macros.
8659 (byte-compile-lapcode): Use them and handle new lap codes.
8660 (byte-compile-obsolete): Remove.
8661 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8662 (byte-compile-arglist-warn): Check late def of inlinable funs.
8663 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8664 since they should have been expanded by now.
8665 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8666 (byte-compile-from-buffer): Remove unused second arg.
8667 (byte-compile-preprocess): New function.
8668 (byte-compile-toplevel-file-form): New function to distinguish
8669 file-form calls from outside from file-form calls from hunk-handlers.
8670 (byte-compile-file-form): Simplify.
8671 (byte-compile-file-form-defsubst): Remove.
8672 (byte-compile-file-form-defmumble): Simplify now that
8673 byte-compile-lambda always returns a byte-code-function.
8674 (byte-compile): Preprocess.
8675 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8676 Remove, not used any more.
8677 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8678 (byte-compile-make-args-desc): New funs.
8679 (byte-compile-lambda): Handle lexical functions. Always return
8680 a byte-code-function.
8681 (byte-compile-reserved-constants): New var, to make up room for
8682 closed-over variables.
8683 (byte-compile-constants-vector): Obey it.
8684 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8685 (byte-compile-macroexpand-declare-function): New function.
8686 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8687 byte-code-functions.
8688 (byte-compile-form): Check obsolescence here.
8689 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8690 (byte-compile-variable-ref): Remove.
8691 (byte-compile-dynamic-variable-op): New fun.
8692 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8693 (byte-compile-variable-set): New funs.
8694 (byte-compile-discard): Add 2 args.
8695 (byte-compile-stack-ref, byte-compile-stack-set)
8696 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8697 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8698 macroexpand-all instead.
8699 (byte-compile-quote-form): Remove.
8700 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8701 (byte-compile-bind, byte-compile-unbind): New funs.
8702 (byte-compile-let): Handle let* and lexical binding.
8703 (byte-compile-let*): Remove.
8704 (byte-compile-catch, byte-compile-unwind-protect)
8705 (byte-compile-track-mouse, byte-compile-condition-case):
8706 Handle a new :fun-body form, used for lexical scoping.
8707 (byte-compile-save-window-excursion)
8708 (byte-compile-with-output-to-temp-buffer): Remove.
8709 (byte-compile-defun): Simplify.
8710 (byte-compile-stack-adjustment): New fun.
8711 (byte-compile-out): Use it.
8712 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8713
8714 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8715 handler any more.
8716
8717 * emacs-lisp/byte-opt.el: Use lexical binding.
8718 (byte-inline-lapcode): Remove (to bytecomp).
8719 (byte-compile-inline-expand): Pay attention to inlining to/from
8720 lexically bound code.
8721 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8722 any more.
8723 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8724 any more and don't call compiler-macros.
8725 (byte-compile-splice-in-already-compiled-code): Remove.
8726 (byte-code): Don't inline any more.
8727 (disassemble-offset): Receive `bytes' as argument rather than via
8728 dynamic scoping.
8729 (byte-compile-tag-number): Declare before first use.
8730 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8731 `return' even if make-spliceable.
8732 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8733 obsolete interactive-p.
8734 (byte-optimize-lapcode): Optimize new lap-codes.
8735 Don't trip up on new form of `byte-constant' lap code.
8736
8737 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8738
8739 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8740
8741 * custom.el (custom-initialize-default, custom-declare-variable):
8742 Use `defvar'.
8743
8744 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8745 New variables.
8746 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8747 (COMPILE_FIRST): Add macroexp and cconv.
8748 * makefile.w32-in: Mirror changes in Makefile.in.
8749
8750 * vc/cvs-status.el:
8751 * vc/diff-mode.el:
8752 * vc/log-edit.el:
8753 * vc/log-view.el:
8754 * vc/smerge-mode.el:
8755 * textmodes/bibtex-style.el:
8756 * textmodes/css.el:
8757 * startup.el:
8758 * uniquify.el:
8759 * minibuffer.el:
8760 * newcomment.el:
8761 * reveal.el:
8762 * server.el:
8763 * mpc.el:
8764 * emacs-lisp/smie.el:
8765 * doc-view.el:
8766 * dired.el:
8767 * abbrev.el: Use lexical binding.
8768
8769 2011-04-01 Eli Zaretskii <eliz@gnu.org>
8770
8771 * info.el (info-display-manual): New function.
8772
8773 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8774
8775 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8776
8777 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8778
8779 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
8780 an entry for that server in rcirc-authinfo. (Bug#8385)
8781
8782 2011-03-31 Glenn Morris <rgm@gnu.org>
8783
8784 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8785
8786 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8787
8788 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8789
8790 * progmodes/python.el (python-default-interpreter)
8791 (python-python-command-args, python-jython-command-args)
8792 (python-which-shell, python-which-args, python-which-bufname)
8793 (python-file-queue, python-comint-output-filter-function)
8794 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8795 variables and functions.
8796
8797 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8798
8799 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8800 (completion-in-region-mode): New minor mode.
8801 (completion-in-region): Use it.
8802 (completion-in-region--data, completion-in-region-mode-map): New vars.
8803 (completion-in-region--postch): New function.
8804 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8805 New vars.
8806 (completion--capf-wrapper): New function.
8807 (completion-at-point): Use it to track well-behavedness of
8808 hook functions.
8809 (completion-help-at-point): New command.
8810
8811 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8812
8813 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8814 syntax class to search for whitespace on a single line
8815 (Message-ID: <4D938140.4030905@redhat.com>).
8816
8817 2011-03-30 Leo Liu <sdl.web@gmail.com>
8818
8819 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8820 New commands.
8821 (edit-abbrevs-map): Bind them here.
8822 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8823
8824 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8825
8826 * allout.el (allout-hide-by-annotation, allout-flag-region):
8827 Reduce possibility of overlay leakage by making them volatile.
8828
8829 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8830 hash is not shared between buffers. Mode initialization is
8831 responsible for giving it a useful starting value.
8832 (allout-item-span): Reduce possibility of overlay leakage by
8833 making them volatile.
8834 (allout-widgets-count-buttons-in-region): Add diagnostic function
8835 for tracking down button overlay leaks.
8836
8837 2011-03-29 Leo Liu <sdl.web@gmail.com>
8838
8839 * ido.el (ido-read-internal): Use the default history var
8840 minibuffer-history if no HISTORY is specified.
8841
8842 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8843
8844 * net/imap.el (imap-shell-open, imap-process-connection-type):
8845 Use imap-process-connection-type for 'shell' streams as well as
8846 Kerberos, SSL, other subprocesses.
8847
8848 2011-03-28 Leo Liu <sdl.web@gmail.com>
8849
8850 * abbrev.el (abbrev-table-empty-p): New function.
8851 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8852 nonempty ones. (Bug#5937)
8853
8854 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8855
8856 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8857
8858 2011-03-27 Leo Liu <sdl.web@gmail.com>
8859
8860 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8861 for foreground and background colors.
8862 (ansi-color-make-color-map): Adapt.
8863
8864 2011-03-25 Leo Liu <sdl.web@gmail.com>
8865
8866 * midnight.el (midnight-time-float): Remove. Note it calculates
8867 the microsecond component incorrectly and seconds-to-time does the
8868 same job.
8869 Remove redundant (require 'timer).
8870
8871 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8872 (ido-completions): Remove unused arguments. (Bug#8329)
8873
8874 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8875
8876 * minibuffer.el (completion--flush-all-sorted-completions):
8877 Remove itself from hook.
8878 (completion-at-point): Let the functions perform the completion
8879 immediately and return nil or t.
8880 * comint.el (comint-dynamic-complete-functions): Now identical to
8881 completion-at-point-functions.
8882 (comint-dynamic-list-input-ring): Remove unused var `index'.
8883 (comint--match-partial-filename, comint--unquote&expand-filename):
8884 New funs, split from comint-match-partial-filename.
8885 (comint-dynamic-complete): Use completion-at-point.
8886 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8887
8888 2011-03-24 Drew Adams <drew.adams@oracle.com>
8889
8890 * thingatpt.el: Support `defun'.
8891
8892 2011-03-23 Leo Liu <sdl.web@gmail.com>
8893
8894 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8895
8896 * help-mode.el (help-mode-finish): Tweak regexp.
8897
8898 2011-03-23 Glenn Morris <rgm@gnu.org>
8899
8900 * eshell/esh-opt.el (eshell-eval-using-options):
8901 Do not bind unused local variable `eshell-option-stub'.
8902
8903 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8904
8905 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
8906
8907 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8908 keymap variable in `with-no-warnings' to avoid a warning when the
8909 keymap has been already `defconst'ed.
8910
8911 2011-03-22 Leo Liu <sdl.web@gmail.com>
8912
8913 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8914 encode all chars in abbrevs; otherwise use emacs-mule or
8915 utf-8-emacs. (Bug#8308)
8916
8917 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
8918
8919 * simple.el (backward-delete-char-untabify):
8920 Avoid warning about using `delete-backward-char'.
8921
8922 * image.el (image-type-file-name-regexps): Make it variable.
8923 `imagemagick-register-types' modifies it, and the user may want
8924 to add new extensions for known image types.
8925 (imagemagick-register-types): Throw error if not using ImageMagick.
8926
8927 2011-03-22 Leo Liu <sdl.web@gmail.com>
8928
8929 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8930 located before rcirc-prompt-end-marker.
8931 (rcirc-complete): Error if point is not after rcirc prompt.
8932 Handle the case when table is nil.
8933 (rcirc-user-authenticated): Define to fix compiler warning.
8934
8935 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
8936
8937 * custom.el (custom--inhibit-theme-enable): Make it affect only
8938 custom-theme-set-variables and custom-theme-set-faces.
8939 (provide-theme): Ignore custom--inhibit-theme-enable.
8940 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8941 (custom-enabling-themes): Delete variable.
8942 (enable-theme): Accept only loaded themes as arguments.
8943 Ignore the special custom-enabled-themes variable.
8944 (custom-enabled-themes): Forbid themes from setting this.
8945 Eliminate use of custom-enabling-themes.
8946 (custom-push-theme): Quote "changed" custom var entry.
8947
8948 2011-03-21 Leo Liu <sdl.web@gmail.com>
8949
8950 * ido.el (ido-read-internal): Add ido-selected to history instead
8951 of user input.
8952
8953 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8954
8955 * subr.el (deferred-action-list, deferred-action-function):
8956 Mark obsolete.
8957
8958 2011-03-21 Leo Liu <sdl.web@gmail.com>
8959
8960 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8961 change on 2011-02-13 (bug#8309).
8962
8963 * minibuffer.el (read-file-name-function): Change default value.
8964 (read-file-name--defaults): Rename from read-file-name-defaults.
8965 (read-file-name-default): Rename from read-file-name.
8966 (read-file-name): Call read-file-name-function.
8967
8968 2011-03-21 Glenn Morris <rgm@gnu.org>
8969
8970 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8971 Doc fixes.
8972
8973 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
8974
8975 * cus-theme.el: Add missing provide statement.
8976 (customize-create-theme): Extract theme value correctly.
8977 (custom-theme-visit-theme): Autoload.
8978 (customize-create-theme): Prompt before inserting default faces.
8979
8980 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8981
8982 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8983 units and musical notes.
8984
8985 2011-03-20 Leo <sdl.web@gmail.com>
8986
8987 * ido.el (ido-read-internal): Use completing-read-default.
8988 (ido-completing-read): Fix compatibility with completing-read.
8989
8990 2011-03-20 Christian Ohler <ohler@gnu.org>
8991
8992 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8993 (ert-delete-all-tests): Use `called-interactively-p' rather than
8994 `interactive-p'.
8995 (ert--make-xrefs-region): Respect END.
8996
8997 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
8998
8999 * dired-aux.el (dired-create-directory): Signal an error if the
9000 directory already exists (Bug#8246).
9001
9002 * facemenu.el (list-colors-display): Call list-faces-display
9003 inside with-help-window.
9004 (list-colors-print): Use display property to align the final
9005 column, instead of checking window-width.
9006
9007 2011-03-19 Eli Zaretskii <eliz@gnu.org>
9008
9009 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
9010 windows-nt systems.
9011 (emerge-protect-metachars): Quote correctly for ms-dos and
9012 windows-nt systems.
9013
9014 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
9015
9016 * info.el (info-initialize): Replace all uses of `:' with
9017 path-separator for compatibility with non-Unix systems.
9018 Cache quoting of path-separator. (Bug#8258)
9019
9020 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
9021
9022 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9023 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9024 (mouse-avoidance-mode): Fix typos in docstrings.
9025
9026 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
9027
9028 * startup.el (package-subdirectory-regexp): Move from package.el.
9029 Omit \\` and \\', and let callers add them.
9030
9031 * emacs-lisp/package.el (package-strip-version)
9032 (package-load-all-descriptors): Add \\` and \\' to
9033 package-subdirectory-regexp before using it.
9034 (package-untar-buffer): New arg DIR; ensure that file untars only
9035 into this expected directory. Remove superfluous delete-region.
9036 (package-unpack): Caller changed.
9037 (package-tar-file-info): Use package-subdirectory-regexp.
9038
9039 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9040
9041 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9042 diff-mode-shared-map (bug#8284).
9043 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
9044
9045 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9046
9047 * calendar/time-date.el (format-seconds): Use assoc instead of
9048 assoc-string, since assoc-string doesn't exist in XEmacs.
9049
9050 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
9051
9052 * custom.el (custom-known-themes): Reflow docstring.
9053 (custom-theme-load-path): Fix typo in docstring.
9054 (load-theme): Fix typo in error message.
9055 (custom-available-themes, custom-variable-theme-value):
9056 Use `let', not `let*'.
9057
9058 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9059
9060 * calc/README: Mention inclusion of musical notes.
9061
9062 * calc/calc-units.el (calc-lu-quant): Rename from
9063 `calc-logunits-quantity'.
9064 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9065 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9066 (calc-db): Rename from `calc-dblevel'.
9067 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9068 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9069 (calc-np): Rename from `calc-nplevel'.
9070 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9071 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9072 (calc-lu-plus): Rename from `calc-logunits-add'.
9073 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9074 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9075 (calc-lu-minus): Rename from `calc-logunits-sub'.
9076 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9077 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9078 (calc-lu-times): Rename from `calc-logunits-mul'.
9079 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9080 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9081 (calc-lu-divide): Rename from `calc-logunits-div'.
9082 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9083 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9084
9085 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9086 functions being autoloaded.
9087
9088 * calc/calc.el (calc-lu-power-reference): Rename from
9089 `calc-logunits-power-reference'.
9090 (calc-lu-field-reference): Rename from
9091 `calc-logunits-field-reference'.
9092
9093 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9094
9095 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9096
9097 * minibuffer.el (completion-all-sorted-completions):
9098 Use :completion-cycle-penalty text property if present.
9099
9100 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9101
9102 * allout.el (allout-yank-processing): Adjust for new rebulleting
9103 regime so bullet being yanked is used without prompting the user
9104 for a choice.
9105
9106 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
9107
9108 * startup.el (command-line): Warn the user that _emacs is deprecated.
9109
9110 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
9111
9112 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9113 (delphi-verbose, delphi-comment-face, delphi-string-face)
9114 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9115 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9116 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9117 (delphi-new-comment-line, delphi-font-lock-defaults)
9118 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9119 Fix typos in docstrings.
9120
9121 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9122
9123 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
9124 Invert the roles of character and string values for INSTEAD, so a
9125 string is used for the more common case of a defaulting prompt.
9126
9127 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9128
9129 * progmodes/ruby-mode.el (ruby-backward-sexp):
9130 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9131 * play/gamegrid.el (gamegrid-make-face):
9132 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9133 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9134 * notifications.el (notifications-notify):
9135 * net/xesam.el (xesam-search-engines):
9136 * net/quickurl.el (quickurl-list-insert):
9137 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9138
9139 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
9140
9141 * startup.el (command-line): Update package subdirectory regexp.
9142
9143 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * allout.el (allout-abbreviate-flattened-numbering)
9146 (allout-mode-deactivate-hook): Fix up obsolescence "date".
9147
9148 * subr.el (read-char-choice): Only show the cursor after the prompt,
9149 not after the answer.
9150
9151 2011-03-15 Kevin Ryde <user42@zip.com.au>
9152
9153 * help-fns.el (variable-at-point): Skip leading quotes, if any
9154 (bug#8253).
9155
9156 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9157
9158 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9159 warning message.
9160
9161 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
9162
9163 * shell.el (shell): When called interactively, offer to change the
9164 shell file name on remote hosts.
9165
9166 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
9167
9168 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9169 integration for LDAP parameters. The host, base, user or binddn,
9170 and secret tokens can be specified in a netrc file, for instance.
9171 This is optional because an `auth-source' parameter must be
9172 specified in the search attributes.
9173
9174 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
9175
9176 * help.el (describe-mode): Link to the mode's definition (bug#8185).
9177
9178 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9179
9180 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9181 into declaration. Remove redundant and harmful binding.
9182
9183 2011-03-12 Eli Zaretskii <eliz@gnu.org>
9184
9185 * files.el (file-ownership-preserved-p): Pass `integer' as an
9186 explicit 2nd argument to `file-attributes'. If the file's owner
9187 is the Administrators group on Windows, and the current user is
9188 Administrator, consider that a match.
9189
9190 * server.el (server-ensure-safe-dir): Consider server directory
9191 safe on MS-Windows if its owner is the Administrators group while
9192 the current Emacs user is Administrator. Use `=' to compare
9193 numerical UIDs, since they could be integers or floats.
9194
9195 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
9196
9197 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
9198
9199 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
9200
9201 Sync with Tramp 2.2.1.
9202
9203 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
9204
9205 * net/trampver.el: Update release number.
9206
9207 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9208
9209 * progmodes/compile.el (compilation--previous-directory): Fix up
9210 various nil/dead-marker mismatches (bug#8014).
9211 (compilation-directory-properties, compilation-error-properties):
9212 Don't call it at a position past the one we're about to change.
9213
9214 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
9215 Disable obsolescence warnings in the file that declares it.
9216
9217 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
9218
9219 * allout-widgets.el (allout-widgets-tally):
9220 Initialize allout-widgets-tally as a hash table rather than nil to
9221 prevent mode-line redisplay warnings. Also, clarify the module
9222 description and fix a comment typo.
9223
9224 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
9225
9226 * help-fns.el (describe-variable): Don't complete keywords.
9227 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
9228
9229 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
9230
9231 * emacs-lisp/package.el (package-version-join): Impose a standard
9232 string representation for pre/alpha/beta version lists.
9233 (package-unpack-single): Standardize the directory name by passing
9234 it through package-version-join.
9235 (package-strip-rcs-id): Accept any version string that does not
9236 signal an error in version-to-list.
9237
9238 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
9239
9240 * simple.el (delete-trailing-whitespace): Return nil for the
9241 benefit of `write-file-functions'.
9242
9243 2011-03-10 Glenn Morris <rgm@gnu.org>
9244
9245 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9246
9247 * vc/vc-git.el (vc-git-program): New option.
9248 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9249 (vc-git--call): Use it.
9250
9251 * eshell/esh-util.el (eshell-condition-case): Doc fix.
9252
9253 * cus-edit.el (Custom-newline): If no button at point, look
9254 for a subgroup button at start-of-line. (Bug#2298)
9255
9256 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9257
9258 2011-03-10 Julien Danjou <julien@danjou.info>
9259
9260 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9261 `cursor-type' is nil.
9262
9263 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
9264
9265 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9266
9267 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
9268
9269 * allout.el Summary: Change so yank of distinctive-bullet items
9270 preserves the existing header prefix, rebulleting it if necessary,
9271 rather than replacing it. This is necessary for proper operation
9272 of cooperative addons like allout-widgets.
9273 (allout-make-topic-prefix, allout-rebullet-heading): Change
9274 SOLICIT arg to INSTEAD, and interpret additionally a string value
9275 as alternate bullet to be used, instead of prompting the user for
9276 a bullet character.
9277
9278 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
9279
9280 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9281 Do not use `tramp-file-name-port', because this returns also
9282 `tramp-default-port'.
9283
9284 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9285
9286 * net/rcirc.el (rcirc-handler-001): Remove useless
9287 with-rcirc-process-buffer.
9288 (rcirc-check-auth-status): Swap arguments to string-match.
9289
9290 2011-03-09 Glenn Morris <rgm@gnu.org>
9291
9292 * shell.el (shell-mode):
9293 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
9294
9295 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9296 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
9297
9298 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
9299
9300 * emacs-lisp/package.el (package-refresh-contents)
9301 (package-menu-execute): Use condition-case-no-debug.
9302
9303 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
9304
9305 * simple.el (shell-command-to-string): Use `process-file'.
9306
9307 * emacs-lisp/package.el (package-tar-file-info): Handle also
9308 remote files.
9309
9310 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9311 Use `equal' for upload base check.
9312
9313 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
9314
9315 * textmodes/texinfo.el (texinfo-environments):
9316 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
9317
9318 2011-03-08 Glenn Morris <rgm@gnu.org>
9319
9320 * cus-start.el (cursor-in-non-selected-windows):
9321 Fix :set quoting oddness. (Bug#8192)
9322
9323 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9324 in some setf expressions. (Bug#2159)
9325
9326 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
9327
9328 * custom.el (custom-available-themes): Return themes in
9329 alphabetical order.
9330
9331 See ChangeLog.15 for earlier changes.
9332
9333 ;; Local Variables:
9334 ;; coding: utf-8
9335 ;; End:
9336
9337 Copyright (C) 2011 Free Software Foundation, Inc.
9338
9339 This file is part of GNU Emacs.
9340
9341 GNU Emacs is free software: you can redistribute it and/or modify
9342 it under the terms of the GNU General Public License as published by
9343 the Free Software Foundation, either version 3 of the License, or
9344 (at your option) any later version.
9345
9346 GNU Emacs is distributed in the hope that it will be useful,
9347 but WITHOUT ANY WARRANTY; without even the implied warranty of
9348 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9349 GNU General Public License for more details.
9350
9351 You should have received a copy of the GNU General Public License
9352 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.