More updates to Modes chapter of Emacs manual.
[bpt/emacs.git] / lisp / ChangeLog
... / ...
CommitLineData
12011-11-27 Nick Roberts <nickrob@snap.net.nz>
2
3 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4 gdb-get-source-file-list on gdb-create-source-file-list.
5
62011-11-26 Eli Zaretskii <eliz@gnu.org>
7
8 * whitespace.el (whitespace-newline): Use a different foreground
9 color for 16-color light-background displays.
10
112011-11-24 Chong Yidong <cyd@gnu.org>
12
13 * window.el (display-buffer--special-action): Doc fix.
14
152011-11-25 Juanma Barranquero <lekktu@gmail.com>
16
17 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
19 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
20 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
21 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
22 (avl-tree-stack-first):
23 * emacs-lisp/cconv.el (cconv--analyse-use):
24 * net/gnutls.el (gnutls-negotiate): Fix typos.
25
262011-11-24 Glenn Morris <rgm@gnu.org>
27
28 * lpr.el (lpr-windows-system, lpr-lp-system):
29 * mail/binhex.el (binhex-begin-line):
30 * progmodes/grep.el (grep-history, grep-find-history):
31 * textmodes/flyspell.el:
32 * vc/pcvs-defs.el (cvs-global-menu):
33 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
34 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
35 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
36
37 * net/tls.el: Fix case of "GnuTLS".
38
39 * paths.el (rmail-file-name): Format doc-string for make-docfile.
40
41 * version.el (emacs-build-system): Give it a doc-string.
42
432011-11-24 Juri Linkov <juri@jurta.org>
44
45 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
46
472011-11-24 Glenn Morris <rgm@gnu.org>
48
49 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
50 if called on a non-mime message just toggle the headers. (Bug#8006)
51
522011-11-24 Juanma Barranquero <lekktu@gmail.com>
53
54 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
55 (allout-lead-with-comment-string, allout-structure-deleted-hook)
56 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
57 (allout-rebullet-heading, allout-open-sibtopic)
58 (allout-toggle-current-subtree-encryption)
59 (allout-toggle-subtree-encryption, allout-encrypt-string)
60 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
61 (allout-distinctive-bullets-string, allout-auto-activation):
62 * window.el (window-normalize-buffer-to-display):
63 * progmodes/verilog-mode.el (verilog-batch-indent):
64 * textmodes/bibtex.el (bibtex-field-braces-opt)
65 (bibtex-field-strings-opt):
66 * vc/cvs-status.el (cvs-tree-merge):
67 Fix typos.
68
692011-11-23 Michael Albinus <michael.albinus@gmx.de>
70
71 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
72 `non-essential' to t, in order to avoid remote connections.
73
742011-11-23 Eli Zaretskii <eliz@gnu.org>
75
76 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): On
77 MS-DOS and MS-Windows, compare with loaddefs.el
78 case-insensitively.
79
802011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
81
82 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
83
842011-11-23 Glenn Morris <rgm@gnu.org>
85
86 * paths.el (rmail-file-name): Reformat the doc-string so that it
87 is picked up.
88
89 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
90 (rmail-auto-file): Ignore case in the "special" field names,
91 as mail-fetch-field does for all others.
92
93 * mail/rmail.el (rmail-forward):
94 * mail/rmailkwd.el (rmail-set-label):
95 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
96 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
97
98 * mail/rmail.el (rmail-current-message): Doc fix.
99
100 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
101
1022011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
103
104 * server.el (server-eval-and-print): Allow C-g (bug#6585).
105
1062011-11-22 Glenn Morris <rgm@gnu.org>
107
108 * mail/rmailmm.el (test-rmail-mime-handler)
109 (test-rmail-mime-bulk-handler)
110 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
111
1122011-11-21 Juri Linkov <juri@jurta.org>
113
114 * calc/calc.el (calc-read-key-sequence): Let-bind `input-method-function'
115 to nil. (Bug#10018)
116
1172011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
118
119 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
120 Tell the caller that the next line needs recomputation, even
121 though it doesn't start a sexp (bug#10094).
122
1232011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
124
125 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
126
1272011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
130 Use force-same-window.
131
1322011-11-20 Juanma Barranquero <lekktu@gmail.com>
133
134 * descr-text.el (describe-char-unicode-data):
135 * json.el (json-string-escape):
136 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
137 (Footnote-unicode, Footnote-style-p):
138 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
139
1402011-11-20 Chong Yidong <cyd@gnu.org>
141
142 * window.el (replace-buffer-in-windows): Restore interactive spec.
143
1442011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * electric.el (electric-indent-mode): Fix last change (too optimistic).
147
148 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
149 (byte-compile-global-not-obsolete-vars): New var.
150 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
151 Use it.
152 (byte-compile-warn-obsolete): Align text with the one in *Help*.
153
1542011-11-20 Juanma Barranquero <lekktu@gmail.com>
155
156 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
157 * progmodes/pascal.el (electric-pascal-equal):
158 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
159 * xml.el (xml-substitute-special): Fix typos.
160
1612011-11-20 Glenn Morris <rgm@gnu.org>
162
163 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
164 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
165 Doc fixes.
166 (rmail-decode-mime-charset): Mark as obsolete.
167
168 * mail/rmailsum.el (rmail-message-regexp-p-1):
169 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
170 Before using mime functions, check they are set. (Bug#10077)
171
1722011-11-19 Juri Linkov <juri@jurta.org>
173
174 * info.el (Info-finder-find-node): Use `package--builtins' instead
175 of `package-alist'. Use node names formed by the pattern "Keyword "
176 and the keyword name.
177
1782011-11-19 Andreas Schwab <schwab@linux-m68k.org>
179
180 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
181 bash.
182
1832011-11-19 Juri Linkov <juri@jurta.org>
184
185 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
186 that calls `revert-buffer' on all Info buffers. (Bug#9915)
187 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
188 `old-history', `old-history-forward'. Add let-binding
189 `window-selected'. Remove calls to `kill-buffer',
190 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
191 before calling `Info-find-node', so `Info-find-node-2' will reread
192 the Info file. Restore window positions only when `window-selected'
193 is non-nil.
194
1952011-11-19 Juri Linkov <juri@jurta.org>
196
197 * isearch.el (isearch-lazy-highlight-new-loop):
198 Remove condition `(not isearch-error)'. (Bug#9918)
199
200 * misearch.el (multi-isearch-search-fun): Add condition
201 `(not bound)' to ignore lazy-highlighting search.
202 Add the search-failed message "end of multi" when the end of
203 multi-sequence is reached. Uncapitalize the search-failed
204 message "Repeat for next buffer".
205
206 * info.el (Info-search): Add the search-failed message
207 "end of the manual" when the end of the manual is reached
208 in Isearch mode.
209
2102011-11-19 Juri Linkov <juri@jurta.org>
211
212 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
213 Use non-destructive `remove' instead of `delete' because
214 `Info-history-list' stored to `Info-isearch-initial-history-list' in
215 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
216
2172011-11-19 Juri Linkov <juri@jurta.org>
218
219 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
220 to nil instead of binding `search-ring' and `regexp-search-ring'.
221 (Bug#9185)
222
2232011-11-19 Eli Zaretskii <eliz@gnu.org>
224
225 * simple.el (line-move): Force movement by logical lines for any
226 hscrolled window, not only when auto-hscroll-mode is on.
227 (line-move-visual): Update doc string to that effect. (Bug#10076)
228
2292011-11-19 Andreas Schwab <schwab@linux-m68k.org>
230
231 * language/european.el (macintosh): Define as alias for mac-roman.
232
2332011-11-19 Eli Zaretskii <eliz@gnu.org>
234
235 * mail/rmailmm.el (rmail-mime-display-header)
236 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
237 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
238 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
239 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
240 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
241 of a raw aref.
242 (rmail-mime-entity-segment): To get past the tagline, move forward
243 2 more lines, to account for the 2 empty lines that precede and
244 follow the line with the buttons.
245 (rmail-mime-update-tagline): Move one more line, to get past the
246 empty line that follows the buttons in the tagline. (Bug#9520)
247
2482011-11-19 Martin Rudalics <rudalics@gmx.at>
249
250 * window.el (window-max-delta-1, window-min-delta-1)
251 (window-min-size-1, window-state-get-1, window-state-put-1)
252 (window-state-put-2): Use "window--" prefix.
253
2542011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
255
256 * emacs-lisp/smie.el: Improve warnings and conflict detection.
257 (smie-warning-count): New var.
258 (smie-set-prec2tab): Use it.
259 (smie-bnf->prec2): Improve warnings. Add docstring.
260 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
261 (smie-bnf--set-class): New function.
262 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
263 corner case.
264
265 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
266 (compilation-error-properties, compilation-move-to-column):
267 Handle compilation-first-column while in the target buffer.
268
269 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
270 Don't hardcode point-min==1.
271
272 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
273 (eshell-rewrite-for-command): Remove workaround.
274 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
275 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
276 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
277
278 * files-x.el (modify-file-local-variable): Obey commenting conventions.
279
2802011-11-17 Glenn Morris <rgm@gnu.org>
281
282 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
283 Ignore buffer-local generated-autoload-file if it is the same
284 as the global value. (Bug#10049)
285
2862011-11-17 Juanma Barranquero <lekktu@gmail.com>
287
288 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
289 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
290 (reftex-toc-previous-heading, reftex-toc-max-level)
291 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
292 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
293 (reftex-toc-do-promote, reftex-toc-promote-prepare)
294 (reftex-toc-promote-action, reftex-toc-extract-section-number)
295 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
296 (reftex-toc-rename-label, reftex-toc-visit-location)
297 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
298 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
299 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
300 leaving "*toc*" only for references to the buffer.
301
3022011-11-17 Martin Rudalics <rudalics@gmx.at>
303
304 * window.el (window-resize, delete-window, split-window):
305 Replace window-splits by window-combination-resize.
306 * cus-start.el (window-splits): Replace by
307 window-combination-resize.
308
3092011-11-17 Glenn Morris <rgm@gnu.org>
310
311 * progmodes/sh-script.el (sh-font-lock-keywords-var):
312 Make bash entry derive from sh entry, not shell entry.
313
3142011-11-16 Michael Albinus <michael.albinus@gmx.de>
315
316 * net/tramp-cache.el (tramp-flush-file-property): Flush also
317 properties of linked files. (Bug#9879)
318
319 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
320 local file name.
321
3222011-11-16 Juanma Barranquero <lekktu@gmail.com>
323
324 * menu-bar.el (menu-bar-file-menu):
325 * printing.el (pr-ps-utility):
326 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
327 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
328 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
329 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
330 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
331 (icalendar--convert-cyclic-to-ical)
332 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
333 (icalendar--convert-ical-to-diary)
334 (icalendar--convert-recurring-to-diary)
335 (icalendar--convert-non-recurring-all-day-to-diary)
336 (icalendar-import-format-sample):
337 * progmodes/idlw-shell.el (idlwave-shell-mode):
338 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
339 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
340 (vhdl-ps-print-init): Fix typos.
341
3422011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
343
344 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
345 FSF and collapse date sequence, obscure author/maintainer email address
346 better, remove extra version line, track relocation of author's webpage.
347
348 * progmodes/python.el (python-pdbtrack-input-prompt)
349 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
350 regular python pdb prompts. Adjustments shamelessly taken exactly as
351 suggested in EmacsWiki page (tiny change):
352 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
353
3542011-11-16 Juanma Barranquero <lekktu@gmail.com>
355
356 * expand.el (expand-pos, expand-index, expand-point):
357 Remove redundant info from docstring.
358 (expand-add-abbrevs): Doc fix.
359 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
360 (expand-sample-perl-mode-expand-list): Fix typos.
361
362 * net/dbus.el (dbus-event-member-name):
363 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
364 * term/pc-win.el (msdos-create-frame-with-faces):
365 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
366
3672011-11-16 Martin Rudalics <rudalics@gmx.at>
368
369 * window.el (split-window, window-state-get-1)
370 (window-state-put-1, window-state-put-2): Rename occurrences of
371 window-nest to window-combination-limit.
372 * cus-start.el (window-nest): Rename to
373 window-combination-limit.
374
3752011-11-16 Chong Yidong <cyd@gnu.org>
376
377 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
378 regexp (Bug#10033).
379
3802011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
383 `completing-read' will remove *Completions* and will preserve
384 current-buffer for us.
385 (tmm-add-prompt): Users of *Completions* will always (re)set its
386 major mode.
387 (tmm-old-comp-map): Remove.
388
3892011-11-16 Glenn Morris <rgm@gnu.org>
390
391 * mail/rmailedit.el: Require rmailmm when compiling.
392 (rmail-old-mime-state): New declaration.
393 (rmail-edit-current-message): If editing a mime message,
394 edit the "raw" message from the mbox buffer.
395 (rmail-cease-edit): Handle mime messages. (Bug#9840)
396
3972011-11-15 Glenn Morris <rgm@gnu.org>
398
399 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
400 which wasn't being used. Add optional arg to force given state.
401 (rmail-mime): Add optional arg to force given state.
402
4032011-11-15 Juanma Barranquero <lekktu@gmail.com>
404
405 * allout.el (allout-encryption-plaintext-sanitization-regexps):
406 * frame.el (display-mm-dimensions-alist):
407 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
408 (outline-move-subtree-down):
409 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
410 (newsticker--treeview-do-get-node):
411 * net/quickurl.el (quickurl-list-buffer-name):
412 * progmodes/dcl-mode.el (dcl-mode):
413 * progmodes/gdb-mi.el (gdb-mapcar*):
414 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
415
4162011-11-15 Glenn Morris <rgm@gnu.org>
417
418 * mail/rmail.el (rmail-file-coding-system): It's only ever used
419 in a boolean sense, so just make it a boolean, and fix the doc.
420 (rmail-show-mime-function, rmail-mime-feature)
421 (rmail-require-mime-maybe): Doc fixes.
422 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
423
424 * mail/rmailmm.el (rmail-show-mime): Doc fix.
425
4262011-11-15 Juanma Barranquero <lekktu@gmail.com>
427
428 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
429 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
430 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
431 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
432
4332011-11-15 Glenn Morris <rgm@gnu.org>
434
435 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
436 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
437 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
438 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
439 (rmail-mime, rmail-show-mime): Doc fixes.
440
441 * term/ns-win.el (mode-line-frame-identification):
442 Leave it alone. (Bug#10051)
443
444 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
445
446 * mail/rmailout.el (rmail-output-to-rmail-buffer):
447 Handle empty buffers. (Bug#9978)
448
4492011-11-14 Juanma Barranquero <lekktu@gmail.com>
450
451 * international/mule.el (define-charset):
452 * mail/rmailmm.el (rmail-mime-find-header-encoding):
453 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
454 * progmodes/verilog-mode.el (verilog-backward-token):
455 * textmodes/ispell.el (lookup-words):
456 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
457
4582011-11-14 Glenn Morris <rgm@gnu.org>
459
460 * progmodes/executable.el
461 (executable-make-buffer-file-executable-if-script-p):
462 Handle file-modes returning nil.
463
464 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
465 message - not necessary, and causes problems. (Bug#9831)
466
467 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
468
469 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
470
471 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
472 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
473 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
474
4752011-11-12 Martin Rudalics <rudalics@gmx.at>
476
477 * window.el (window-resize, delete-window): Use window-splits
478 variable instead of function.
479 (window-state-get-1, window-state-put-2, window-state-put):
480 Don't deal with windows' splits status.
481
4822011-11-12 Glenn Morris <rgm@gnu.org>
483
484 * apropos.el (apropos-do-all, apropos-library, apropos-value)
485 (apropos-documentation): Doc fixes.
486
4872011-11-11 Juanma Barranquero <lekktu@gmail.com>
488
489 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
490 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
491
4922011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 * electric.el (electric-indent-post-self-insert-function): Make it
495 possible for a char to only indent in some circumstances.
496 (electric-indent-mode): Simplify.
497
4982011-11-11 Martin Rudalics <rudalics@gmx.at>
499
500 * window.el (windows-with-parameter): Remove unused function.
501 (windows-at-side): Rename to window-at-side-list.
502 (window-check, window-atom-check, window-atom-check-1)
503 (window-side-check, window-size-ignore, window-size-fixed-1)
504 (window-in-direction-2): Prefix with "window--".
505 (window-tree-1): Rename to window--subtree, fix doc-string.
506
5072011-11-11 Glenn Morris <rgm@gnu.org>
508
509 * subr.el (eval-after-load): If FILE is already loaded,
510 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
511
5122011-11-10 Glenn Morris <rgm@gnu.org>
513
514 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
515 Call svn via vc-svn-command rather than vc-do-command.
516 (vc-svn-command): Add --non-interactive. (Bug#9993)
517 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
518
519 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
520 Add toggle-read-only. (Bug#7292)
521 * files.el (toggle-read-only): Mention that it should only
522 be used interactively. (Bug#10006)
523
5242011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * progmodes/compile.el (compilation-error-regexp-alist-alist):
527 Adjust regexp for OCaml warnings.
528
529 * electric.el (electric-pair-post-self-insert-function): Let user
530 turn it off buffer-locally (bug#9932).
531
532 * progmodes/python.el (python-beginning-of-statement):
533 Rewrite (bug#2703).
534
535 * progmodes/compile.el: Better handle TABs (bug#9749).
536 (compilation-internal-error-properties)
537 (compilation-next-error-function): Obey the target buffer's
538 compilation-error-screen-columns.
539
5402011-11-09 Juanma Barranquero <lekktu@gmail.com>
541
542 * progmodes/meta-mode.el: Remove obsolete comments.
543 (meta-right-comment-regexp, meta-ignore-comment-regexp):
544 Fix typos in docstrings.
545
5462011-11-09 Martin Rudalics <rudalics@gmx.at>
547
548 * window.el (window-size-fixed-p): Rewrite doc-string.
549 (window-resizable-p): Rename to window--resizable-p. Update callers.
550 (window--resizable): New function. Make all callers of
551 window-resizable call window--resizable instead.
552 (window-resizable): Rewrite in terms of window--resizable.
553
5542011-11-08 Glenn Morris <rgm@gnu.org>
555
556 * progmodes/delphi.el (delphi-mode-syntax-table):
557 Let define-derived-mode define a proper syntax table. (Bug#9994)
558
5592011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
560
561 * window.el: Stay away from defsubst.
562 (window-list-no-nils): Remove.
563 (window-state-get-1, window-state-get): Use backquote instead.
564
5652011-11-08 thierry <thierry.volpiatto@gmail.com>
566
567 * emacs-lisp/find-func.el (find-function-read):
568 Fix incorrect use of default argument in `completing-read'.
569
5702011-11-08 Martin Rudalics <rudalics@gmx.at>
571
572 * window.el (display-buffer-function, special-display-function):
573 Mention display-buffer-record-window but do not mention
574 help-setup parameter in doc-strings.
575 (window-min-delta): Fix doc-string typo.
576
5772011-11-08 Chong Yidong <cyd@gnu.org>
578
579 * window.el (window-total-height, window-total-width): Doc fix.
580 (window-body-size): Move from C.
581 (window-body-height, window-body-width): Move to C.
582
5832011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
584
585 * window.el: Make special-display like display-buffer-alist (bug#9532).
586 (display-buffer--special-action): New function, morphed
587 from display-buffer--special.
588 (display-buffer): Use it to handle special-display-buffers at higher
589 priority (just after display-buffer-alist).
590 (display-buffer-fallback-action, display-buffer--other-frame-action)
591 (pop-to-buffer-same-window): Remove display-buffer--special.
592
5932011-11-07 Glenn Morris <rgm@gnu.org>
594
595 * calendar/cal-menu.el (cal-menu-set-date-title):
596 Do nothing if not in a calendar. (Bug#9976)
597
5982011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
599
600 * files.el (find-file): Always use selected-window.
601
6022011-11-07 Martin Rudalics <rudalics@gmx.at>
603
604 * window.el (window-combinations): Make WINDOW argument
605 mandatory. Rewrite doc-string.
606 (walk-window-subtree, window-atom-check, window-min-delta)
607 (window-max-delta, window--resize-this-window)
608 (window--resize-root-window-vertically, window-tree)
609 (balance-windows, window-state-put): Rewrite doc-strings as to
610 not mention the term "subwindow".
611 (window--resize-subwindows-skip-p): Rename to
612 window--resize-child-windows-skip-p.
613 (window--resize-subwindows-normal): Rename to
614 window--resize-child-windows-normal.
615 (window--resize-subwindows): Rename to
616 window--resize-child-windows.
617 (window-or-subwindow-p): Rename to window--in-subtree-p.
618
6192011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
620
621 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
622 Ensure that mbox format messages end in two newlines (Bug#9974).
623
6242011-11-06 Chong Yidong <cyd@gnu.org>
625
626 * window.el (window-combination-p): Function deleted; its
627 side-effect is not used in any existing code.
628 (window-combinations, window-combined-p): Call window-*-child
629 directly.
630
6312011-11-05 Chong Yidong <cyd@gnu.org>
632
633 * window.el (window-valid-p): Rename from window-any-p.
634 (window-size-ignore, window-state-get): Callers changed.
635 (window-normalize-window): Rename from window-normalize-any-window.
636 New arg LIVE-ONLY, replacing window-normalize-live-window.
637 (window-normalize-live-window): Delete.
638 (window-combination-p, window-combined-p, window-combinations)
639 (walk-window-subtree, window-atom-root, window-min-size)
640 (window-sizable, window-sizable-p, window-size-fixed-p)
641 (window-min-delta, window-max-delta, window-resizable)
642 (window-resizable-p, window-full-height-p, window-full-width-p)
643 (window-current-scroll-bars, window-point-1, set-window-point-1)
644 (window-at-side-p, window-in-direction, window-resize)
645 (adjust-window-trailing-edge, maximize-window, minimize-window)
646 (window-deletable-p, delete-window, delete-other-windows)
647 (record-window-buffer, unrecord-window-buffer)
648 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
649 (quit-window, split-window, window-state-put)
650 (set-window-text-height, fit-window-to-buffer)
651 (shrink-window-if-larger-than-buffer): Callers changed.
652
6532011-11-04 Eli Zaretskii <eliz@gnu.org>
654
655 * mail/rmail.el (rmail-simplified-subject): Decode subject with
656 rfc2047-decode-string.
657 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
658 warnings.
659
660 * window.el (window-body-height, window-body-width): Mention in
661 the doc string that the return values are in frame's canonical
662 units. (Bug#9949)
663
6642011-11-03 Alan Mackenzie <acm@muc.de>
665
666 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
667 change in cc-engine.el.
668
6692011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * window.el (switch-to-buffer): Use `force-same-window' interactively.
672
6732011-11-02 Martin Rudalics <rudalics@gmx.at>
674
675 * window.el (quit-window): Call unrecord-window-buffer after
676 showing another buffer in the window. (Bug#9937)
677 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
678
6792011-11-02 Juanma Barranquero <lekktu@gmail.com>
680
681 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
682 Accept status with more than 9 shelves. (Bug#9935)
683 Reported by Colin D Bennett <colin@gibibit.com>.
684
6852011-11-01 Martin Rudalics <rudalics@gmx.at>
686
687 * help.el (with-help-window): Don't reference
688 temp-buffer-show-specifiers in doc-string.
689
6902011-10-31 Andreas Schwab <schwab@linux-m68k.org>
691
692 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
693 menu-item.
694
6952011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
696
697 * whitespace.el: New version 13.2.2.
698 (whitespace-newline-mode): Disable properly. Reported by Sarah
699 <EmacsWiki>.
700
7012011-10-30 Ulf Jasper <ulf.jasper@web.de>
702
703 * net/newst-treeview.el: Remove "Time-stamp".
704 (newsticker--group-manage-orphan-feeds): Do not call
705 newsticker--treeview-tree-update.
706 (newsticker-treeview-update, newsticker-treeview):
707 Call newsticker--treeview-tree-update if necessary.
708
7092011-10-30 Martin Rudalics <rudalics@gmx.at>
710
711 * window.el (window-iso-combination-p, window-iso-combined-p)
712 (window-iso-combinations): Remove "iso-" infix.
713 Suggested by Chong Yidong.
714 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
715 (window-max-delta-1, window-resize, window--resize-siblings)
716 (window--resize-this-window, adjust-window-trailing-edge)
717 (split-window, balance-windows-1)
718 (shrink-window-if-larger-than-buffer):
719 * calendar/calendar.el (calendar-generate-window):
720 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
721
7222011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
725 in place (bug#9907).
726 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
727 (eshell-rewrite-if-command, eshell-rewrite-for-command)
728 (eshell-structure-basic-command, eshell-rewrite-while-command)
729 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
730 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
731 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
732 (eshell-do-pipelines-synchronously, eshell-eval-command):
733 Use backquotes and prefer setq to set.
734 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
735 (eshell-macrop): Use functionp.
736 (eshell-do-eval): Handle multiple expressions in `while' body.
737
7382011-10-30 Chong Yidong <cyd@gnu.org>
739
740 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
741 instead of set-mark (Bug#9810).
742
7432011-10-30 Chong Yidong <cyd@gnu.org>
744
745 * window.el (split-window-below, split-window-right): Rename from
746 split-window-above-each-other and split-window-side-by-side
747 respectively. All callers changed.
748 (split-window-sensibly, split-window-sensibly): Use them.
749 (split-window-keep-point): Doc fix.
750
751 * isearch.el: Add isearch-scroll property to split-window-below
752 and split-window-right.
753
754 * follow.el (follow-mode):
755 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
756 * progmodes/ada-xref.el (ada-gdb-application):
757 * emulation/vip.el (vip-buffer-in-two-windows):
758 * image-dired.el (image-dired-dired-with-window-configuration):
759 * dired-x.el (dired-do-find-marked-files):
760 * dired.el (dired-pop-to-buffer):
761 * bs.el (bs--show-with-configuration):
762 * vc/emerge.el (emerge-setup-windows):
763 * textmodes/two-column.el (2C-two-columns):
764 * textmodes/reftex-toc.el (reftex-toc):
765 * progmodes/gdb-mi.el (gdb-setup-windows):
766 * progmodes/fortran.el (fortran-window-create):
767 * net/newst-treeview.el (newsticker--treeview-window-init):
768 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
769 * emulation/tpu-edt.el (tpu-gold-map):
770 * emulation/crisp.el (crisp-mode-map):
771 * calendar/calendar.el (calendar-basic-setup): Callers changed.
772
7732011-10-29 Chong Yidong <cyd@gnu.org>
774
775 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
776
777 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
778
779 * textmodes/flyspell.el (flyspell-word): Fix char offset for
780 forged Ispell output (Bug#7904).
781
782 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
783
7842011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * doc-view.el: Avoid ugly errors about not finding nil.
787 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
788 (doc-view-dvipdf-program, doc-view-unoconv-program)
789 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
790 Avoid nil or absolute file name as default value.
791 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
792
7932011-10-28 Alan Mackenzie <acm@muc.de>
794
795 * progmodes/cc-defs.el (c-version): -> 5.32.2.
796
7972011-10-28 Alan Mackenzie <acm@muc.de>
798
799 Amend the handling of c-beginning/end-of-defun in nested declaration
800 scopes.
801
802 * progmodes/cc-vars.el (c-defun-tactic): Move here from
803 cc-langs.el. Change it to a defcustom.
804
805 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
806 cc-vars.el.
807
808 * progmodes/cc-engine.el (c-beginning-of-statement-1):
809 Prevent "class foo : bar" being spuriously recognized as a label.
810
811 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
812 Add parameter `inclusive' (to include enclosing braces in the region).
813 (c-widen-to-enclosing-decl-scope): New function.
814 (c-while-widening-to-decl-block): New macro.
815 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
816 outward for defun boundaries, and correspondingly change symbol
817 `respect-enclosure' to `go-outward'.
818 (c-declaration-limits): Change algorithm to report only the "innermost"
819 defun's boundaries.
820
8212011-10-28 Deniz Dogan <deniz@dogan.se>
822
823 * net/rcirc.el (rcirc-mode): Use hard newlines.
824
8252011-10-28 Alan Mackenzie <acm@muc.de>
826
827 Amend to indent and fontify macros "which include their own semicolon"
828 correctly, using the "virtual semicolon" mechanism.
829
830 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
831
832 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
833 Recode to scan one line at a time rather than having \n and \r
834 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
835 (c-forward-label): Amend for virtual semicolons.
836 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
837
838 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
839 of the new C macros.
840
841 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
842 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
843 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
844 (c-opt-cpp-macro-define): Make into a full language variable.
845 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
846 AWK Mode (including \n, \r) removed, no longer needed.
847
848 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
849 Invoke c-make-macro-with-semi-re.
850
851 * progmodes/cc-vars.el (c-macro-with-semi-re):
852 (c-macro-names-with-semicolon): New variables.
853 (c-make-macro-with-semi-re): New function.
854
8552011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * vc/log-edit.el: Fill empty field rather than adding new one.
858 (log-edit-add-field): New function.
859 (log-edit-insert-changelog): Use it.
860
8612011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
862
863 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
864
8652011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
868 (gdb--check-interpreter): New function.
869 (gdb): Use it.
870
8712011-10-27 Glenn Morris <rgm@gnu.org>
872
873 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
874 (least-positive-float, least-negative-float)
875 (least-positive-normalized-float, least-negative-normalized-float)
876 (float-epsilon, float-negative-epsilon):
877 Remove unnecessary declarations.
878
879 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
880 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
881 (least-positive-float, least-negative-float)
882 (least-positive-normalized-float, least-negative-normalized-float)
883 (float-epsilon, float-negative-epsilon): Add doc-strings,
884 based on those in cl.texi.
885
886 * files.el (set-visited-file-name): If the major-mode changed,
887 reload the local variables. (Bug#9796)
888
8892011-10-27 Chong Yidong <cyd@gnu.org>
890
891 * subr.el (change-major-mode-after-body-hook): New hook.
892 (run-mode-hooks): Run it.
893
894 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
895 Use change-major-mode-before-body-hook.
896
897 * simple.el (fundamental-mode):
898 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
899 change introducing fundamental-mode-hook.
900
9012011-10-26 Juanma Barranquero <lekktu@gmail.com>
902
903 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
904
9052011-10-26 Michael Albinus <michael.albinus@gmx.de>
906
907 * ido.el (ido-file-name-all-completions-1): Do not require
908 tramp.el explicitly. (Bug#7583)
909
9102011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
911
912 * progmodes/octave-mod.el:
913 * progmodes/octave-inf.el: Update maintainer.
914
9152011-10-26 Chong Yidong <cyd@gnu.org>
916
917 * subr.el (with-wrapper-hook): Rewrite doc.
918
9192011-10-25 Michael Albinus <michael.albinus@gmx.de>
920
921 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
922 filenames "/method:foo:". (Bug#9793)
923
9242011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
925
926 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
927 (bug#9865).
928
9292011-10-24 Glenn Morris <rgm@gnu.org>
930
931 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
932
9332011-10-24 Michael Albinus <michael.albinus@gmx.de>
934
935 * notifications.el: Add the requirement of a running D-Bus session
936 bus to the Commentary.
937
9382011-10-24 Juri Linkov <juri@jurta.org>
939
940 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
941 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
942 (Bug#9364)
943
9442011-10-24 Juri Linkov <juri@jurta.org>
945
946 * info.el (Info-following-node-name-re): Add newline to the list
947 of allowed characters for leading space. (Bug#9824)
948
9492011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * progmodes/octave-inf.el (inferior-octave-mode-map):
952 Fix C-c C-h binding.
953 * progmodes/octave-mod.el (octave-help): Remove.
954
9552011-10-23 Michael Albinus <michael.albinus@gmx.de>
956
957 Sync with Tramp 2.2.3.
958
959 * net/tramp-cache.el (top): Pacify byte-compiler using
960 `init-file-user' and `site-run-file'.
961
962 * net/trampver.el: Update release number.
963
9642011-10-23 Chong Yidong <cyd@gnu.org>
965
966 * files.el (toggle-read-only): Remove obsolete comment about
967 version control.
968
969 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
970 for toggle-read-only. Note that this hasn't called vc-next-action
971 since 2008-05-02, though it wasn't documented at the time.
972
973 * vc/ediff-init.el (ediff-toggle-read-only-function):
974 Use toggle-read-only.
975
9762011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
977
978 Fix bug #9560, sporadic wrong indentation; improve instrumentation
979 of c-parse-state.
980
981 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
982 correct faulty logical expression.
983 (c-parse-state-state, c-record-parse-state-state):
984 (c-replay-parse-state-state): New defvar/defuns.
985 (c-debug-parse-state): Use new functions.
986
9872011-10-22 Martin Rudalics <rudalics@gmx.at>
988
989 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
990 last fix. Use window-in-direction correctly.
991
9922011-10-21 Chong Yidong <cyd@gnu.org>
993
994 * progmodes/idlwave.el (idlwave-mode):
995 * progmodes/vera-mode.el (vera-mode): No need to set
996 require-final-newline; that's done in prog-mode.
997 Suggested by Stefan Monnier.
998
9992011-10-21 Martin Rudalics <rudalics@gmx.at>
1000
1001 * mouse.el (mouse-drag-window-above)
1002 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1003 (mouse-drag-mode-line-1, mouse-drag-header-line)
1004 (mouse-drag-vertical-line-rightward-window): Remove.
1005 (mouse-drag-line): New function.
1006 (mouse-drag-mode-line, mouse-drag-header-line)
1007 (mouse-drag-vertical-line): Call mouse-drag-line.
1008 * window.el (window-at-side-p, windows-at-side): New functions.
1009
10102011-10-21 Ulrich Mueller <ulm@gentoo.org>
1011
1012 * tar-mode.el (tar-grind-file-mode):
1013 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
1014
10152011-10-21 Chong Yidong <cyd@gnu.org>
1016
1017 * progmodes/idlwave.el (idlwave-mode):
1018 * progmodes/vera-mode.el (vera-mode):
1019 Use mode-require-final-newline.
1020
10212011-10-20 Glenn Morris <rgm@gnu.org>
1022
1023 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
1024
10252011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
1026
1027 * emulation/cua-base.el (cua-set-mark): Fix case of string.
1028
10292011-10-20 Chong Yidong <cyd@gnu.org>
1030
1031 * emulation/cua-base.el (cua-mode):
1032 * mail/footnote.el (footnote-mode):
1033 * mail/mailabbrev.el (mail-abbrevs-mode):
1034 * net/xesam.el (xesam-minor-mode):
1035 * progmodes/bug-reference.el (bug-reference-mode):
1036 * progmodes/cap-words.el (capitalized-words-mode):
1037 * progmodes/compile.el (compilation-minor-mode)
1038 (compilation-shell-minor-mode):
1039 * progmodes/gud.el (gud-tooltip-mode):
1040 * progmodes/hideif.el (hide-ifdef-mode):
1041 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1042 * progmodes/subword.el (subword-mode):
1043 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1044 * progmodes/which-func.el (which-function-mode):
1045 * term/tvi970.el (tvi970-set-keypad-mode):
1046 * term/vt100.el (vt100-wide-mode):
1047 * textmodes/flyspell.el (flyspell-mode):
1048 * textmodes/ispell.el (ispell-minor-mode):
1049 * textmodes/nroff-mode.el (nroff-electric-mode):
1050 * textmodes/paragraphs.el (use-hard-newlines):
1051 * textmodes/refill.el (refill-mode):
1052 * textmodes/reftex.el (reftex-mode):
1053 * textmodes/rst.el (rst-minor-mode):
1054 * textmodes/sgml-mode.el (html-autoview-mode)
1055 (sgml-electric-tag-pair-mode):
1056 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1057 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1058 * emulation/crisp.el (crisp-mode):
1059 * emacs-lisp/eldoc.el (eldoc-mode):
1060 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1061 minor mode behavior.
1062
10632011-10-19 Juri Linkov <juri@jurta.org>
1064
1065 * descr-text.el (describe-char): Add #x2010 and #x2011 to
1066 the list of hard-coded chars with escape-glyph face.
1067
10682011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1071
10722011-10-19 Michael Albinus <michael.albinus@gmx.de>
1073
1074 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1075 running process.
1076
10772011-10-19 Glenn Morris <rgm@gnu.org>
1078
1079 * vc/vc-bzr.el (vc-bzr-after-dir-status):
1080 Ignore ignored files. (Bug#9726)
1081
10822011-10-19 Chong Yidong <cyd@gnu.org>
1083
1084 Doc fix for minor modes, stating that an omitted argument enables
1085 the mode unconditionally when called from Lisp.
1086
1087 * abbrev.el (abbrev-mode):
1088 * allout.el (allout-mode):
1089 * autoinsert.el (auto-insert-mode):
1090 * autoarg.el (autoarg-mode, autoarg-kp-mode):
1091 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1092 (global-auto-revert-mode):
1093 * battery.el (display-battery-mode):
1094 * composite.el (global-auto-composition-mode)
1095 (auto-composition-mode):
1096 * delsel.el (delete-selection-mode):
1097 * desktop.el (desktop-save-mode):
1098 * dired-x.el (dired-omit-mode):
1099 * dirtrack.el (dirtrack-mode):
1100 * doc-view.el (doc-view-minor-mode):
1101 * double.el (double-mode):
1102 * electric.el (electric-indent-mode, electric-pair-mode):
1103 * emacs-lock.el (emacs-lock-mode):
1104 * epa-hook.el (auto-encryption-mode):
1105 * follow.el (follow-mode):
1106 * font-core.el (font-lock-mode):
1107 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1108 * help.el (temp-buffer-resize-mode):
1109 * hilit-chg.el (highlight-changes-mode)
1110 (highlight-changes-visible-mode):
1111 * hi-lock.el (hi-lock-mode):
1112 * hl-line.el (hl-line-mode, global-hl-line-mode):
1113 * icomplete.el (icomplete-mode):
1114 * ido.el (ido-everywhere):
1115 * image-file.el (auto-image-file-mode):
1116 * image-mode.el (image-minor-mode):
1117 * iswitchb.el (iswitchb-mode):
1118 * jka-cmpr-hook.el (auto-compression-mode):
1119 * linum.el (linum-mode):
1120 * longlines.el (longlines-mode):
1121 * master.el (master-mode):
1122 * mb-depth.el (minibuffer-depth-indicate-mode):
1123 * menu-bar.el (menu-bar-mode):
1124 * minibuf-eldef.el (minibuffer-electric-default-mode):
1125 * mouse-sel.el (mouse-sel-mode):
1126 * msb.el (msb-mode):
1127 * mwheel.el (mouse-wheel-mode):
1128 * outline.el (outline-minor-mode):
1129 * paren.el (show-paren-mode):
1130 * recentf.el (recentf-mode):
1131 * reveal.el (reveal-mode, global-reveal-mode):
1132 * rfn-eshadow.el (file-name-shadow-mode):
1133 * ruler-mode.el (ruler-mode):
1134 * savehist.el (savehist-mode):
1135 * scroll-all.el (scroll-all-mode):
1136 * scroll-bar.el (scroll-bar-mode):
1137 * server.el (server-mode):
1138 * shell.el (shell-dirtrack-mode):
1139 * simple.el (auto-fill-mode, transient-mark-mode)
1140 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1141 (line-number-mode, column-number-mode, size-indication-mode)
1142 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1143 * strokes.el (strokes-mode):
1144 * time.el (display-time-mode):
1145 * t-mouse.el (gpm-mouse-mode):
1146 * tool-bar.el (tool-bar-mode):
1147 * tooltip.el (tooltip-mode):
1148 * type-break.el (type-break-mode-line-message-mode)
1149 (type-break-query-mode):
1150 * view.el (view-mode):
1151 * whitespace.el (whitespace-mode, whitespace-newline-mode)
1152 (global-whitespace-mode, global-whitespace-newline-mode):
1153 * xt-mouse.el (xterm-mouse-mode): Doc fix.
1154
1155 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1156 Fix autogenerated docstring.
1157
11582011-10-19 Juri Linkov <juri@jurta.org>
1159
1160 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1161 by checking environment variables "DESKTOP_SESSION" and
1162 "XDG_CURRENT_DESKTOP". (Bug#9779)
1163
11642011-10-19 Juri Linkov <juri@jurta.org>
1165
1166 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1167 (browse-url-chromium-program, browse-url-chromium-arguments):
1168 New defcustoms.
1169 (browse-url-default-browser): Check for `browse-url-chromium' and
1170 call `browse-url-chromium-program'.
1171 (browse-url-chromium): New command. (Bug#9779)
1172
11732011-10-18 Juanma Barranquero <lekktu@gmail.com>
1174
1175 * facemenu.el (list-colors-duplicates): On Windows, detect more
1176 duplicates by assuming that only colors matching "^System" are
1177 special "system colors". (Bug#9722)
1178
11792011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1180
1181 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1182 to distinguish the author from the committer.
1183
11842011-10-18 Michael Albinus <michael.albinus@gmx.de>
1185
1186 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1187
11882011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1189
1190 * international/mule.el (sgml-html-meta-auto-coding-function):
1191 Add support for detecting encoding in HTML5 specified only as
1192 <meta charset="UTF-8">. Implementation just makes http-equiv and
1193 content-type parts from HTML4 encoding string optional. (Bug#9716)
1194
11952011-10-18 Glenn Morris <rgm@gnu.org>
1196
1197 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1198
11992011-10-18 Chong Yidong <cyd@gnu.org>
1200
1201 * faces.el (cursor): Doc fix.
1202
12032011-10-17 Chong Yidong <cyd@gnu.org>
1204
1205 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1206
12072011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
1208
1209 * dirtrack.el (dirtrack): Support shell buffers with path
1210 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1211
12122011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1213
1214 * json.el: Bump version to 1.3 and note change in History.
1215 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1216
12172011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1218
1219 * comint.el (comint-insert-input, comint-send-input)
1220 (comint-get-old-input-default, comint-backward-matching-input)
1221 (comint-next-prompt): Use nil instead of `input' for field property of
1222 past user input (bug#114).
1223
1224 * minibuffer.el (completion--replace): Inherit surrounding properties
1225 (bug#114).
1226 (minibuffer-complete-and-exit): Use it.
1227
1228 * comint.el (comint--table-subvert): Quote the all-completions output
1229 (bug#9160).
1230
12312011-10-17 Martin Rudalics <rudalics@gmx.at>
1232
1233 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
1234
1235 * menu-bar.el (menu-bar-file-menu): Add entry for making new
1236 window on right of selected. (Bug#9350) Reword other window
1237 entries and separate them from frame entries.
1238
12392011-10-15 Glenn Morris <rgm@gnu.org>
1240
1241 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1242 Doc fixes.
1243
12442011-10-15 Chong Yidong <cyd@stupidchicken.com>
1245
1246 * net/network-stream.el (network-stream-open-starttls):
1247 Improve detection of failure due to lack of TLS support.
1248
1249 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1250 putting the input text in front and in bold.
1251
12522011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1253
1254 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1255
1256 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1257 empty buffer.
1258
1259 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1260 unread-command-events rather than pushing yet-another event.
1261
12622011-10-14 Eli Zaretskii <eliz@gnu.org>
1263
1264 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1265 the explanation of the possible choices. Make the options passed
1266 to completing-read shorter.
1267
12682011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1269
1270 * textmodes/flyspell.el (flyspell-large-region): Make sure
1271 extended character mode is used if defined (Bug#1339).
1272
12732011-10-13 Eli Zaretskii <eliz@gnu.org>
1274
1275 * simple.el (what-cursor-position): Fix the display of the
1276 character info for LRE, LRO, RLE, and RLO characters by appending
1277 an invisible PDF.
1278
12792011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1282 even in case of error; add debug spec; simplify data flow.
1283 (with-timeout-handler): Remove.
1284
12852011-10-12 Michael Albinus <michael.albinus@gmx.de>
1286
1287 Fix Bug#6019, Bug#9315.
1288
1289 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1290 complete `buffer-file-name', the local file name part could look
1291 remotely (for example on VMS).
1292
1293 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1294 `tramp-run-real-handler'.
1295 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1296 already quoted by '"'.
1297
1298 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1299 Let `file-name-handler-alist' be nil, the local file name part
1300 could look remotely (for example on VMS).
1301
13022011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1305 from here...
1306 (flyspell-post-command-hook): ...to here.
1307
13082011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1311 if not needed.
1312 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1313 using completion. Protect against "slow" callers.
1314 Remove the "message hack".
1315
13162011-10-11 Juri Linkov <juri@jurta.org>
1317
1318 * isearch.el (isearch-lazy-highlight-word): New variable.
1319 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1320 Use it. (Bug#9727)
1321
13222011-10-11 Glenn Morris <rgm@gnu.org>
1323
1324 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1325 like f90-previous-statement does.
1326
13272011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1328
1329 * eshell/eshell.el (eshell-command): History should be saved
1330 only in interactive use, to avoid error.
1331
13322011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * minibuffer.el (completion-file-name-table): Fix last change,
1335 i.e. ignore normal errors but not the other ones.
1336
13372011-10-10 Martin Rudalics <rudalics@gmx.at>
1338
1339 * window.el (special-display-buffer-names)
1340 (special-display-regexps): Remove some remnants of earlier
1341 changes from doc-strings.
1342 (quit-windows-on): New function.
1343
1344 * vc/vc.el (vc-revert, vc-rollback):
1345 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1346 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
1347 (Bug#6183) (Bug#7074) (Bug#7447)
1348
13492011-10-09 Martin Rudalics <rudalics@gmx.at>
1350
1351 * window.el (frame-auto-hide-function): Add version tag.
1352 (Bug#9699)
1353
13542011-10-09 Michael Albinus <michael.albinus@gmx.de>
1355
1356 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1357 condition.
1358
13592011-10-09 Leo Liu <sdl.web@gmail.com>
1360
1361 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1362 (Bug#9701)
1363
13642011-10-08 Glenn Morris <rgm@gnu.org>
1365
1366 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1367 before the first code statement zero indent. (Bug#9690)
1368
13692011-10-08 Chong Yidong <cyd@stupidchicken.com>
1370
1371 * simple.el (count-words-region): Always count in the region.
1372 Report the number of lines and characters too.
1373 (count-words): New command, which counts in the buffer if the
1374 region is inactive, as count-words-region used to.
1375 (count-words--message): New function. Handle plurals.
1376 (count-lines-region): Make it an alias for count-words-region.
1377
1378 * bindings.el (esc-map): Replace count-lines-region with
1379 count-words-region.
1380
13812011-10-08 Martin Rudalics <rudalics@gmx.at>
1382
1383 * window.el (window--delete): Delete dedicated frame
1384 unconditionally when argument KILL is non-nil. (Bug#9699)
1385 (switch-to-buffer): Fix doc-string typo.
1386
13872011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1388
1389 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1390
13912011-10-07 Chong Yidong <cyd@stupidchicken.com>
1392
1393 * bindings.el ([M-left],[M-right]): Bind to left-word and
1394 right-word respectively.
1395
13962011-10-07 Glenn Morris <rgm@gnu.org>
1397
1398 * cus-start.el (debug-on-quit): Fix custom type.
1399
14002011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1401
1402 * subr.el (define-key-after): Clarify that the function is not
1403 useful for non-menu keymaps.
1404
1405 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1406
14072011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1408
1409 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
1410 in current minibuffer (Fix bug with recursive minibuffers).
1411
14122011-10-06 Chong Yidong <cyd@stupidchicken.com>
1413
1414 * progmodes/gdb-mi.el (gdb): Doc fix.
1415
14162011-10-05 Martin Rudalics <rudalics@gmx.at>
1417
1418 * window.el (frame-auto-hide-function): New option replacing
1419 frame-auto-delete. Suggested by Stefan Monnier.
1420 (window--delete): Call frame-auto-hide-function instead of
1421 investigating frame-auto-delete.
1422 (window-point-1, set-window-point-1): New functions.
1423 (window-in-direction, record-window-buffer, window-state-get-1)
1424 (display-buffer-record-window): Use window-point-1 instead of
1425 window-point.
1426 (set-window-buffer-start-and-point): Use set-window-point-1.
1427
14282011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1431
14322011-10-05 Glenn Morris <rgm@gnu.org>
1433
1434 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1435 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1436
14372011-10-05 Leo Liu <sdl.web@gmail.com>
1438
1439 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1440 works with buffer object.
1441
14422011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * mpc.el (mpc-tool-bar-map): Add labels.
1445
14462011-10-04 Glenn Morris <rgm@gnu.org>
1447
1448 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1449
14502011-10-04 Martin Rudalics <rudalics@gmx.at>
1451
1452 * window.el (window--delete): New function.
1453 (frame-auto-delete): Resuscitate option.
1454 (bury-buffer, replace-buffer-in-windows)
1455 (quit-window): Rewrite using window--delete.
1456 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1457 Pass display-buffer-mark-dedicated to window--display-buffer-2
1458 (Bug#9639).
1459
14602011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1461
1462 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1463 returns a list (bug#9554). Add remote file name completion.
1464 * comint.el (comint--table-subvert): Curry and get quote&unquote
1465 functions as arguments.
1466 (comint--complete-file-name-data): Adjust call accordingly.
1467 * pcomplete.el (pcomplete--table-subvert): Remove.
1468 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1469
1470 * minibuffer.el (completion-table-case-fold): Use currying.
1471 (completion--styles-type, completion--cycling-threshold-type):
1472 New constants.
1473 (completion-styles, completion-category-overrides)
1474 (completion-cycle-threshold): Use them.
1475 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1476 completion-table-case-fold.
1477
14782011-10-03 Stephen Berman <stephen.berman@gmx.net>
1479
1480 * minibuffer.el (completion-category-overrides): Fix type of styles
1481 and add more user friendly tags (bug#9660).
1482
14832011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1486 (mule-input-method-string): New widget.
1487 (default-input-method, language-info-custom-alist): Use it.
1488
14892011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * pcomplete.el: Require comint.
1492 (pcomplete--common-suffix): Remove.
1493 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1494 (pcomplete--table-subvert): Sync with comint--table-subvert.
1495 (pcomplete--entries): Use comint-completion-file-name-table.
1496 * comint.el (comint-unquote-filename): Simplify.
1497 (comint-completion-file-name-table): New function (bug#9616).
1498 (comint--complete-file-name-data): Use it.
1499
1500 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1501 (pcmpl-gnu-tar-buffer): Remove.
1502 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
1503 around. Make sure pcomplete-suffix-list is only changed temporarily.
1504 Don't look inside the tar's file if it's too large.
1505
15062011-10-01 Chong Yidong <cyd@stupidchicken.com>
1507
1508 * cus-edit.el (custom-mode-map):
1509 * epa.el (epa-key-list-mode-map):
1510 * man.el (Man-mode-map):
1511 * startup.el (splash-screen-keymap):
1512 * simple.el (special-mode-map): Use scroll-up-command and
1513 scroll-down-command.
1514
1515 * progmodes/idlw-help.el (idlwave-help-mode-map):
1516 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1517 * net/newst-plainview.el (newsticker-mode-map):
1518 * emulation/ws-mode.el (wordstar-mode-map):
1519 * emulation/vi.el (vi-com-map):
1520 * calc/calc-graph.el (calc-graph-show-dumb):
1521 * term/sun.el (terminal-init-sun):
1522 * term/ns-win.el (global-map):
1523 * progmodes/grep.el (grep-mode-map):
1524 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1525 * mail/rmail.el (rmail-mode-map):
1526 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1527
1528 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1529 custom-safe-themes as special.
1530
15312011-10-01 Julien Danjou <julien@danjou.info>
1532
1533 * notifications.el (notifications-notify): Fix docstring.
1534
15352011-10-01 Per Starbäck <per@starback.se>
1536
1537 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1538
15392011-09-30 Martin Rudalics <rudalics@gmx.at>
1540
1541 * startup.el (command-line-1): Fix last fix by inserting
1542 initial-scratch-message into *scratch* before displaying it.
1543 (Bug#9605) and (Bug#9636)
1544
15452011-09-29 Eli Zaretskii <eliz@gnu.org>
1546
1547 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1548 window is hscrolled, move by logical lines. (Bug#9607)
1549 (line-move-visual): Update the doc string to the above effect.
1550
15512011-09-29 Martin Rudalics <rudalics@gmx.at>
1552
1553 * window.el (display-buffer-record-window): When WINDOW is the
1554 selected window use `point' instead of `window-point'. (Bug#9626)
1555
1556 * startup.el (command-line-1): Use insert-before-markers when
1557 inserting initial-scratch-message. (Bug#9605)
1558
1559 * help.el (help-window): Remove variable.
1560
15612011-09-29 Glenn Morris <rgm@gnu.org>
1562
1563 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1564
15652011-09-29 Juanma Barranquero <lekktu@gmail.com>
1566
1567 * descr-text.el (describe-char-categories): Accept category
1568 descriptions more than one line long.
1569
15702011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * simple.el (delete-trailing-whitespace): Fix last change.
1573
1574 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1575 Don't confuse "y => 3" as the beginning of a `y' operation.
1576
1577 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1578 object has more than 4 slots (bug#9613).
1579
15802011-09-28 Juanma Barranquero <lekktu@gmail.com>
1581
1582 * subr.el (with-output-to-temp-buffer):
1583 * net/quickurl.el (quickurl, quickurl-browse-url):
1584 Fix typos in docstrings.
1585
15862011-09-27 Eli Zaretskii <eliz@gnu.org>
1587
1588 * minibuffer.el (completion-styles)
1589 (completion-category-overrides): Cross reference each other in doc
1590 strings.
1591
15922011-09-27 Glenn Morris <rgm@gnu.org>
1593
1594 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1595 to split-string. (Bug#9606)
1596
15972011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1598
1599 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1600 (bug#9615).
1601
16022011-09-27 Chong Yidong <cyd@stupidchicken.com>
1603
1604 * emacs-lisp/package.el (list-packages): Fix echo area message.
1605
16062011-09-27 Leo Liu <sdl.web@gmail.com>
1607
1608 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1609
16102011-09-25 Michael Albinus <michael.albinus@gmx.de>
1611
1612 * net/dbus.el (dbus-unregister-object): Don't release services for
1613 registered signals. (Bug#9581)
1614
16152011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1616
1617 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1618 function that picks between cfengine 2 and 3 support
1619 automatically. Update docs accordingly.
1620
16212011-09-22 Kenichi Handa <handa@m17n.org>
1622
1623 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1624 ZERO.
1625 (indian-itrans-v5-table-for-tamil): New variable.
1626 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1627
16282011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1629
1630 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1631 that's true if the current command involved collapsing of text.
1632 It's reset to false at the beginning of the next command.
1633 (allout-post-command-business): Move the cursor to the beginning
1634 of entry if the cursor is hidden and collapsing activity just
1635 happened.
1636
16372011-09-24 Chong Yidong <cyd@stupidchicken.com>
1638
1639 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1640 tracking (Bug#9541).
1641
16422011-09-24 Ulf Jasper <ulf.jasper@web.de>
1643
1644 * net/newst-reader.el (newsticker-html-renderer)
1645 (newsticker-show-news): Automatically
1646 load html rendering package if newsticker-html-renderer is set.
1647 Fixes "Warning: defvar ignored because w3m-fill-column is
1648 let-bound" and the error "Symbol's value as variable is void:
1649 w3m-fill-column".
1650
16512011-09-24 Michael Albinus <michael.albinus@gmx.de>
1652
1653 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1654 Release services only if they are defined. (Bug#9581)
1655
16562011-09-23 Richard Stallman <rms@gnu.org>
1657
1658 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1659 distinguish start of paragraph from start of its text.
1660
1661 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1662
1663 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1664 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1665 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1666
16672011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1668
1669 * international/mule-diag.el (mule-diag): Insert a newline after
1670 each fontset description.
1671
16722011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1673
1674 * simple.el (delete-trailing-whitespace):
1675 Document last change; simplify.
1676
16772011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1678
1679 * simple.el (delete-trailing-whitespace): Also delete
1680 extra newlines at the end of the buffer.
1681
1682 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1683 (picture-newline): Use forward-line so as to ignore fields.
1684
16852011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * subr.el (with-wrapper-hook): Fix edebug spec.
1688
16892011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1690
1691 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1692 (bug#4538).
1693
16942011-09-23 Michael Albinus <michael.albinus@gmx.de>
1695
1696 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1697 Fix nasty bug using wrong cached values.
1698
16992011-09-23 Alan Mackenzie <acm@muc.de>
1700
1701 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1702
17032011-09-23 Chong Yidong <cyd@stupidchicken.com>
1704
1705 * window.el (pop-to-buffer): Ensure right window is selected if we
1706 chose another frame.
1707
17082011-09-22 Eli Zaretskii <eliz@gnu.org>
1709
1710 * simple.el (what-cursor-position): Use get-char-property-change
1711 and next-single-char-property-change, to be able to show display
1712 properties that come from overlays as well as text properties.
1713
17142011-09-22 Chong Yidong <cyd@stupidchicken.com>
1715
1716 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1717
1718 * cmuscheme.el (run-scheme, switch-to-scheme):
1719 * cus-edit.el (customize-group, custom-buffer-create)
1720 (customize-browse):
1721 * info.el (info):
1722 * shell.el (shell):
1723 * mail/sendmail.el (mail):
1724 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1725
17262011-09-22 Richard Stallman <rms@gnu.org>
1727
1728 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1729 move back only to line beg, don't move back over blank lines.
1730
17312011-09-22 Michael Albinus <michael.albinus@gmx.de>
1732
1733 * files.el (copy-directory): Set directory attributes only in case
1734 they could be retrieved from the source directory. (Bug#9565)
1735
17362011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1737
1738 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1739 (hs-find-block-beginning, hs-hide-level-recursive):
1740 Ignore strings as well as comments. (Bug#9502)
1741
17422011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1743
1744 * progmodes/sql.el (sql-comint-postgres):
1745 Convert port number to a string. (Bug#9566)
1746
17472011-09-22 Martin Rudalics <rudalics@gmx.at>
1748
1749 * window.el (quit-window): Undedicate window when switching to
1750 previous buffer. Reported by Thierry Volpiatto
1751 <thierry.volpiatto@gmail.com>.
1752 (special-display-popup-frame): When popping up a new frame reset
1753 its previous buffers to nil. Simplify code.
1754
17552011-09-21 Michael Albinus <michael.albinus@gmx.de>
1756
1757 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1758 and process filter, as done also in `shell-command'.
1759
17602011-09-21 Martin Rudalics <rudalics@gmx.at>
1761
1762 * window.el (set-window-buffer-start-and-point):
1763 Call set-window-start with NOFORCE argument t. Suggested by Thierry
1764 Volpiatto <thierry.volpiatto@gmail.com>.
1765 (quit-window): Reword doc-string. Handle new format of
1766 quit-restore parameter. Don't delete window if it has a
1767 previous buffer we can show instead of the present one.
1768 (display-buffer-record-window): Rewrite using a new format for
1769 the quit-restore window parameter
1770 (special-display-popup-frame, display-buffer-same-window)
1771 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1772 (display-buffer-pop-up-window, display-buffer-use-some-window):
1773 Adapt symbol passed to display-buffer-record-window.
1774 * help.el (help-window-setup): Handle new format of quit-restore
1775 parameter.
1776
17772011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1778
1779 * faces.el (face-list): Fix docstring (bug#9564).
1780
1781 * window.el (display-buffer--action-function-custom-type):
1782 Don't include internal functions in the Custom interface.
1783
17842011-09-20 Juri Linkov <juri@jurta.org>
1785
1786 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1787 (Info-forward-node, Info-backward-node, Info-next-preorder)
1788 (Info-last-preorder): Use it. (Bug#9528)
1789
17902011-09-20 Juri Linkov <juri@jurta.org>
1791
1792 * info.el (Info-last-preorder): Visit last menu item only when
1793 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1794
17952011-09-20 Julien Danjou <julien@danjou.info>
1796
1797 * password-cache.el (password-cache-remove): Remove entries even if the
1798 value is nil, so that password with a nil value (negative caching) is
1799 possible to invalidate.
1800
18012011-09-20 Lawrence Mitchell <wence@gmx.li>
1802
1803 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1804 all whitespace around breakpoint. (Bug#9553)
1805 (f90-find-breakpoint): Only break at whitespace inside a comment.
1806
18072011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1808
1809 * minibuffer.el (completion-file-name-table): Keep track of errors.
1810 (completion-table-with-predicate): Handle the case where pred1 is nil.
1811 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1812
18132011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1816 (debugger-return-value): Signal an error if the debugging context does
1817 not await any return value.
1818
1819 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1820 * image-mode.el (image-toggle-display-text)
1821 (image-toggle-display-image): Stay away from evil `intangible'.
1822
18232011-09-19 Leo Liu <sdl.web@gmail.com>
1824
1825 * replace.el (occur-revert-arguments): Make it permanent-local.
1826 (occur-mode): Don't call font-lock-defontify.
1827
18282011-09-19 Chong Yidong <cyd@stupidchicken.com>
1829
1830 * net/ldap.el (ldap-search-internal): Don't push empty search
1831 result (Bug#9508).
1832
18332011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1836
18372011-09-19 Michael Albinus <michael.albinus@gmx.de>
1838
1839 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1840 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1841
18422011-09-18 Juri Linkov <juri@jurta.org>
1843
1844 * buff-menu.el (Buffer-menu-mode-map):
1845 * dired.el (dired-mode-map):
1846 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1847 (lisp-interaction-mode-map):
1848 * emacs-lisp/package.el (package-menu-mode-map):
1849 * epa.el (epa-key-list-mode-map):
1850 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1851 (menu-bar-options-menu):
1852 * outline.el (outline-mode-menu-bar-map):
1853 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1854 * vc/vc-dir.el (vc-dir-menu-map):
1855 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1856 Capitalize non-function content words in menu item strings.
1857
1858 * dired.el (dired-mode-map): Add menu item for
1859 `image-dired-dired-toggle-marked-thumbs'.
1860
18612011-09-18 Juri Linkov <juri@jurta.org>
1862
1863 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1864 to `isearch-case-fold-search' and restore its original value
1865 after the `isearch-mode' call.
1866
18672011-09-18 Juri Linkov <juri@jurta.org>
1868
1869 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1870 because `zgrep' returns 1 for successful matches (bug#9226).
1871
18722011-09-18 Juri Linkov <juri@jurta.org>
1873
1874 * info.el (Info-extract-menu-node-name): Check the second match
1875 for empty string (second test-case of bug#9528).
1876 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1877 intermediate nodes to the history (first test-case of bug#9528).
1878
18792011-09-18 Juri Linkov <juri@jurta.org>
1880
1881 * info.el (Info-mode-syntax-table): New variable.
1882 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1883
18842011-09-18 Juri Linkov <juri@jurta.org>
1885
1886 * info.el (Info-file-supports-index-cookies): Increment
1887 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1888 one more line for long file names (bug#4142).
1889
18902011-09-18 Chong Yidong <cyd@stupidchicken.com>
1891
1892 * newcomment.el (comment-normalize-vars): If prompting for
1893 comment-start, set comment-start-skip too (Bug#8424).
1894
18952011-09-18 Johan Bockgård <bojohan@gnu.org>
1896
1897 * icomplete.el: Fix previous fix of Bug#5849.
1898 (icomplete-mode): Don't set completion-show-inline-help.
1899 (icomplete-minibuffer-setup): Set completion-show-inline-help
1900 locally during icompletion.
1901
19022011-09-18 Chong Yidong <cyd@stupidchicken.com>
1903
1904 * woman.el (woman2-process-escapes): Don't delete unrecognized
1905 escapes (Bug#7843).
1906
1907 * files.el (inhibit-first-line-modes-regexps): Add image files.
1908 (hack-local-variables-prop-line): Return nil for malformed
1909 prop-lines (Bug#9044).
1910
19112011-09-18 Michael Albinus <michael.albinus@gmx.de>
1912
1913 * net/tramp.el (top): Don't require 'shell.
1914 (tramp-methods): Fix docstring.
1915 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
1916 Return complete remote file name. Handle "smb" case.
1917 Use `tramp-tmpdir', if defined for the respective method.
1918 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1919
1920 * net/tramp-compat.el (top): Require 'shell.
1921
1922 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1923 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1924 `tramp-current-host'.
1925 (tramp-get-remote-tmpdir): Remove.
1926
1927 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1928 `tramp-tmpdir' entries.
1929 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1930 (tramp-smb-handle-file-attributes): Ignore errors.
1931 (tramp-smb-wait-for-output): Check also for process end.
1932
19332011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1934
1935 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1936 when sending QUIT (bug#9312).
1937
19382011-09-17 Chong Yidong <cyd@stupidchicken.com>
1939
1940 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1941 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1942 occur-mode-display-occurrence.
1943 (occur-edit-mode): Add usage message.
1944 (occur-cease-edit): New command.
1945 (occur-after-change-function): Use text properties to find the
1946 position of the prefix text.
1947 (occur-engine): Set stickiness of prefix text properties.
1948
19492011-09-17 Glenn Morris <rgm@gnu.org>
1950
1951 * progmodes/etags.el (complete-tag):
1952 Fix call to completion-in-region. (Bug#9526)
1953
19542011-09-17 Juri Linkov <juri@jurta.org>
1955
1956 * textmodes/ispell.el (ispell-word): Add to the error message
1957 the word, ispell program name and current dictionary (bug#9121).
1958 (ispell-tex-arg-end): Capitalize "error" in the error message.
1959
19602011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1961
1962 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1963 check. (Bug#4251)
1964
19652011-09-17 Juri Linkov <juri@jurta.org>
1966
1967 * window.el (window-safe-min-height, window-safe-min-width):
1968 Fix typos (followup to bug#9522).
1969
19702011-09-17 Sven Joachim <svenjoac@gmx.de>
1971
1972 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1973
19742011-09-16 Eli Zaretskii <eliz@gnu.org>
1975
1976 * simple.el (line-move): If goal-column is set, move by logical
1977 lines, not by display lines. (Bug#971)
1978 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1979 to reflect the above change.
1980
19812011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * image.el (imagemagick-register-types): Use regexp-opt.
1984
19852011-09-15 Chong Yidong <cyd@stupidchicken.com>
1986
1987 * window.el (display-buffer-base-action): Rename from
1988 display-buffer-default-action. Make default value empty.
1989 (display-buffer-overriding-action): Convert to defvar.
1990 (display-buffer-fallback-action): New var.
1991
19922011-09-15 Chong Yidong <cyd@stupidchicken.com>
1993
1994 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1995 declaration.
1996 (package--add-to-archive-contents): If there is a duplicate entry
1997 with an older version, remove it.
1998 (package-menu-mark-delete, package-menu-mark-install)
1999 (package-menu-mark-unmark): Make unused args optional.
2000 (package-menu-mark-obsolete-for-deletion):
2001 Use package-menu-get-status instead of a regexp search.
2002 (package-menu-get-status): Use tabulated-list-entry.
2003 (package-menu-mark-upgrades): New command.
2004 (package-menu-mode-map): Bind it to U. Add it to menu bar.
2005 (package-menu-execute): Do installation before deletion.
2006 (package-menu-refresh, package-menu-execute): Use derived-mode-p
2007 instead of checking major-mode.
2008 (package-menu--find-upgrades): New function.
2009
20102011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2011
2012 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2013 passwords in the log buffer.
2014 (smtpmail-process-filter): Update the process marker so that the
2015 "broken by peer" status message is inserted in the right place.
2016
20172011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2020 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2021 bibtex-completion-at-point-function.
2022 (bibtex-completion-at-point-function): Use them.
2023
2024 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2025
2026 * mpc.el (mpc-constraints-tag-lookup): New function.
2027 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2028 also to browser "album|playlist".
2029
20302011-09-14 Juri Linkov <juri@jurta.org>
2031
2032 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
2033 (isearch-edit-string): Use length of `isearch-string' when
2034 `isearch-fail-pos' returns nil.
2035 (isearch-message): Remove duplicate code and call
2036 `isearch-fail-pos' with arg `t'.
2037
20382011-09-14 Chong Yidong <cyd@stupidchicken.com>
2039
2040 * replace.el (occur-mode-goto-occurrence): Don't force using other
2041 window (Bug#9499).
2042
2043 * dired-aux.el (dired-do-chmod): Don't provide initial input.
2044
20452011-09-14 Martin Rudalics <rudalics@gmx.at>
2046
2047 * window.el (display-buffer-window): Remove.
2048 (display-buffer-record-window): Use help-setup window parameter
2049 instead of variable display-buffer-window.
2050 (display-buffer-function, special-display-buffer-names)
2051 (special-display-function): Mention help-setup parameter instead
2052 of display-buffer-window in doc-string.
2053 * help.el (help-window-setup): New argument help-window.
2054 Use help-window-setup parameter instead of display-buffer-window.
2055 Reword some messages.
2056 (with-help-window): Pass window used for displaying the buffer
2057 to help-window-setup. Don't set display-buffer-window.
2058
20592011-09-13 Glenn Morris <rgm@gnu.org>
2060
2061 * emacs-lisp/debug.el (debugger-make-xrefs):
2062 Preserve point. (Bug#9462)
2063
20642011-09-13 Chong Yidong <cyd@stupidchicken.com>
2065
2066 * window.el (window-deletable-p): Use next-frame.
2067
20682011-09-13 Martin Rudalics <rudalics@gmx.at>
2069
2070 * window.el (window-auto-delete): Remove.
2071 (window-deletable-p): Remove argument FORCE. Don't deal with
2072 dedication and previous buffers.
2073 (switch-to-prev-buffer): Don't delete window.
2074 (delete-windows-on): Delete a window's frame if and only if the
2075 window is dedicated.
2076 (replace-buffer-in-windows): Delete buffer's window or frame if
2077 and only if window is dedicated.
2078 (quit-window): Handle quit-restore as before last change.
2079 (bury-buffer): Delete window only if window-deletable-p returns t.
2080
20812011-09-13 Chong Yidong <cyd@stupidchicken.com>
2082
2083 * window.el (window-deletable-p): Never delete the last frame on a
2084 given terminal.
2085
20862011-09-13 Glenn Morris <rgm@gnu.org>
2087
2088 * help.el (describe-key-briefly): Copy previous standard-output change.
2089
20902011-09-13 PJ Weisberg <pj@irregularexpressions.net>
2091
2092 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
2093
20942011-09-13 Glenn Morris <rgm@gnu.org>
2095
2096 * emacs-lisp/lisp-mode.el (lisp-indent-function):
2097 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2098
20992011-09-12 Chong Yidong <cyd@stupidchicken.com>
2100
2101 * dired-aux.el (dired-mark-read-string): Don't return default
2102 value on empty input (Bug#9361).
2103 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2104 Omit initial minibuffer contents.
2105 (dired-do-chmod): Signal an error on empty input.
2106 (dired-mark-read-string): Don't return default on empty input.
2107
2108 * files.el (file-modes-symbolic-to-number): Doc fix.
2109
21102011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2111
2112 * international/mule-cmds.el (ucs-completions): Remove.
2113 (read-char-by-name): Use complete-with-action instead; add metadata.
2114
21152011-09-11 Chong Yidong <cyd@stupidchicken.com>
2116
2117 * window.el (display-buffer--action-function-custom-type)
2118 (display-buffer--action-custom-type): New vars.
2119 (display-buffer-alist, display-buffer-default-action)
2120 (display-buffer-overriding-action): Add defcustom types.
2121
2122 * frame.el (delete-other-frames): Doc fix (Bug#276).
2123
21242011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2125
2126 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2127
21282011-09-11 Chong Yidong <cyd@stupidchicken.com>
2129
2130 Change modes that used same-window-* vars to use switch-to-buffer.
2131
2132 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2133 Use switch-to-buffer.
2134
2135 * cus-edit.el (customize-group, custom-buffer-create)
2136 (customize-browse, custom-buffer-create-other-window):
2137 Use switch-to-buffer or switch-to-buffer-other-window.
2138
2139 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2140 (Info-prev, Info-up, Info-speedbar-goto-node)
2141 (info-display-manual): Use switch-to-buffer.
2142 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2143
2144 * mail/sendmail.el (mail): Use switch-to-buffer.
2145 (mail-recover): Use switch-to-buffer-other-window.
2146
2147 * cmuscheme.el (run-scheme, switch-to-scheme):
2148 * ielm.el (ielm):
2149 * shell.el (shell):
2150 * net/rlogin.el (rlogin):
2151 * net/telnet.el (telnet, rsh):
2152 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2153
21542011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2155
2156 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2157
21582011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2159
2160 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2161 so don't mention it (bug#9301).
2162 (dired-sort-toggle-or-edit): Clarify string further.
2163
2164 * faces.el (face-spec-set-match-display): Make `(type graphic)'
2165 match `x', `w32' and `ns', like the manual says (bug#9029).
2166
2167 * subr.el (eval-after-load): Doc string clarification (bug#9125).
2168 (process-kill-buffer-query-function): Mention the buffer name in
2169 the query.
2170
2171 * image-mode.el (image-next-line): The line parameter is mandatory
2172 (bug#9258).
2173
2174 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2175 which can be useful (bug#9301).
2176
2177 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2178
2179 * subr.el (match-string): Mention that the current buffer should
2180 be the same as the search was done in (bug#9282).
2181
2182 * facemenu.el: Disable the remove-* commands if the mark isn't
2183 active (bug#9162).
2184
21852011-09-10 Chong Yidong <cyd@stupidchicken.com>
2186
2187 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2188 of display-buffer.
2189 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2190
2191 * replace.el (occur-mode-goto-occurrence)
2192 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2193 and display-buffer.
2194
2195 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2196 display-buffer.
2197
2198 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2199 special-display and same-window variables.
2200 (mail-other-window): Use switch-to-buffer-other-window.
2201 (mail-other-frame): USe switch-to-buffer-other-frame.
2202
2203 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2204 Use display-buffer-other-frame.
2205 (gdb-display-gdb-buffer): Use pop-to-buffer.
2206
2207 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2208
2209 * progmodes/python.el: Don't set same-window-buffer-names.
2210
2211 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2212
2213 * window.el (display-buffer-alist): Add *Python*.
2214
22152011-09-10 Chong Yidong <cyd@stupidchicken.com>
2216
2217 * window.el (display-buffer-alist): Add entry for buffers
2218 previously handled same-window-*.
2219 (display-buffer-alist, display-buffer-default-action)
2220 (display-buffer-overriding-action): Mark as risky.
2221 (display-buffer-alist): Document action function changes.
2222 (display-buffer--same-window-action)
2223 (display-buffer--other-frame-action): New variables.
2224 (switch-to-buffer, display-buffer-other-frame): Use them.
2225 (display-buffer): Rename reuse-frame entry to reusable-frames.
2226 (display-buffer-reuse-selected-window): Function deleted.
2227 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2228 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2229 (display-buffer-special): New function.
2230 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2231 display-buffer-reuse-or-pop-window. Split off special-display
2232 part into display-buffer-special.
2233 (display-buffer-use-some-window): Don't perform any special
2234 pop-up-frames handling.
2235 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
2236 (display-buffer--maybe-same-window): Rename from
2237 display-buffer-maybe-same-window.
2238
2239 * info.el: Don't set same-window-regexps.
2240 (info-setup): New function.
2241 (info-other-window, info): Call it.
2242
2243 * cus-edit.el: Don't set same-window-regexps.
2244 (customize-group): New argument.
2245 (customize-group-other-window): Use it.
2246 (customize-face, customize-face-other-window): Likewise.
2247 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2248
2249 * net/rlogin.el:
2250 * net/telnet.el:
2251 * progmodes/gud.el: Don't set same-window-regexps.
2252
2253 * cmuscheme.el:
2254 * ielm.el:
2255 * shell.el:
2256 * mail/sendmail.el:
2257 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2258
22592011-09-10 Juri Linkov <juri@jurta.org>
2260
2261 * isearch.el (isearch-edit-string): Remove obsolete mention of
2262 `C-w' (`isearch-yank-word-or-char') from docstring.
2263 (isearch-query-replace): Fix typo in docstring (bug#9466).
2264
22652011-09-10 Juri Linkov <juri@jurta.org>
2266
2267 * paren.el (show-paren-function): Don't show escaped parens.
2268 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2269
22702011-09-10 Eli Zaretskii <eliz@gnu.org>
2271
2272 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2273 (mm-default-file-encoding): Remove autoload forms, they are
2274 replaced with autoload cookies in mml.el and mm-encode.el.
2275 (mail-add-attachment): New command.
2276 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2277 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2278 the doc string.
2279 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2280
22812011-09-10 Reuben Thomas <rrt@sc3d.org>
2282
2283 * simple.el (count-words-region): Use buffer if there's no region
2284 (bug#9429).
2285
22862011-09-09 Juri Linkov <juri@jurta.org>
2287
2288 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2289 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2290 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2291
22922011-09-09 Alan Mackenzie <acm@muc.de>
2293
2294 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2295 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2296
22972011-09-09 Eli Zaretskii <eliz@gnu.org>
2298
2299 Fix for Savannah bug#9392.
2300 * simple.el (mail-encode-mml): New defvar.
2301
2302 * mail/rmail.el (mail-encode-mml): Add a defvar.
2303 (rmail-enable-mime-composing): Default to t.
2304 (rmail-forward): Use MIME method of forwarding only if both
2305 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2306 Set mail-encode-mml non-nil if the MIME method was used.
2307
2308 * mail/sendmail.el (mml-to-mime): Add autoload form.
2309 (mail-encode-mml): Add a defvar.
2310 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2311 to nil.
2312 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2313 message through mml-to-mime, and reset mail-encode-mml to nil.
2314
23152011-09-09 Glenn Morris <rgm@gnu.org>
2316
2317 * woman.el (woman-if-body): When processing an .el block,
2318 do not delete the next .el block as well. (Bug#9447)
2319 (woman-special-characters): Add oq, cq, and hy characters.
2320
23212011-09-08 Martin Rudalics <rudalics@gmx.at>
2322
2323 * window.el (window-deletable-p): Make sure window is live before
2324 invoking window-prev-buffers.
2325
23262011-09-08 Leo Liu <sdl.web@gmail.com>
2327
2328 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2329
23302011-09-08 Juri Linkov <juri@jurta.org>
2331
2332 * progmodes/compile.el (compilation-environment): Make it
2333 a defcustom (bug#8340).
2334
23352011-09-08 Martin Rudalics <rudalics@gmx.at>
2336
2337 * window.el (frame-auto-delete): Rename to window-auto-delete.
2338 Make it control auto-deletion of windows and/or frames.
2339 (window-deletable-p): New argument FORCE. Rewrite conditions
2340 for deleting window/frame. (Bug#9419)
2341 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2342 Rewrite handling of case when window/frame can be deleted.
2343 (delete-windows-on): Call window-deletable-p with new FORCE
2344 argument t. (Bug#9456)
2345
23462011-09-07 Chong Yidong <cyd@stupidchicken.com>
2347
2348 * help-mode.el (help-mode): Restore autoload.
2349
23502011-09-07 Juri Linkov <juri@jurta.org>
2351
2352 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2353 `compilation-environment'. Set buffer-local
2354 `compilation-environment' to `thisenv' later after (funcall mode).
2355 (Bug#8340)
2356
2357 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2358 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2359 instead of replacing its value. (Bug#8340)
2360
23612011-09-07 Juri Linkov <juri@jurta.org>
2362
2363 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2364 based on text properties put by `grep-filter' instead of matching
2365 escape sequences.
2366 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2367 to the value of `grep-error-screen-columns' (bug#9438).
2368
23692011-09-07 Juri Linkov <juri@jurta.org>
2370
2371 * simple.el (next-error-highlight, next-error-highlight-no-select):
2372 Doc fix (bug#9432).
2373
23742011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2375
2376 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2377 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2378
23792011-09-07 Leo Liu <sdl.web@gmail.com>
2380
2381 * net/rcirc.el (rcirc-mode): Conditionally initialize
2382 rcirc-input-ring.
2383
23842011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2385
2386 * emacs-lisp/find-func.el (find-function-C-source): Only set
2387 find-function-C-source-directory after checking that we found a source
2388 file there (bug#9440).
2389
23902011-09-06 Alan Mackenzie <acm@muc.de>
2391
2392 * isearch.el (isearch-other-meta-char): Wherever a key list is
2393 unread, "unread" the prefix arg, too. This fixes bug #8901.
2394
23952011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2396
2397 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2398
23992011-09-05 Juri Linkov <juri@jurta.org>
2400
2401 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2402
24032011-09-05 Juri Linkov <juri@jurta.org>
2404
2405 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2406 keeping point where processing of grep matches begins, and
2407 continue to delete remaining escape sequences from the same point.
2408 (grep-filter): Make leading zero optional in "0?1;31m" because
2409 git-grep emits "\033[1;31m" escape sequences unlike expected
2410 "\033[01;31m" as GNU Grep does (bug#9408).
2411 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2412
24132011-09-05 Juri Linkov <juri@jurta.org>
2414
2415 * subr.el (y-or-n-p): Capitalize "yes".
2416
24172011-09-04 Michael Albinus <michael.albinus@gmx.de>
2418
2419 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2420 `tramp-cache-unload-hook' where appropriate.
2421 (tramp-methods): Rename `tramp-remote-sh' to
2422 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2423 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2424
2425 * net/tramp-sh.el (top): Don't require 'shell.
2426 (tramp-methods): Add `tramp-remote-shell' and
2427 `tramp-remote-shell-args' entries.
2428 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2429 (tramp-sh-handle-shell-command): Remove.
2430 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2431 Use `tramp-remote-shell'.
2432
24332011-09-03 Chong Yidong <cyd@stupidchicken.com>
2434
2435 * mail/sendmail.el (sendmail-query-once-function): Delete.
2436 (sendmail-query-once): Save directly to send-mail-function.
2437 Update message-send-mail-function too.
2438
2439 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2440
24412011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2442
2443 * progmodes/python.el (python-mode-map): Use correct function to
2444 start python interpreter from menu-bar (as reported by Geert
2445 Kloosterman).
2446 (inferior-python-mode-map): Fix typo.
2447 (python-shell-map): Remove.
2448
24492011-09-03 Deniz Dogan <deniz@dogan.se>
2450
2451 * net/rcirc.el (rcirc-print): Simplify code for
2452 rcirc-scroll-show-maximum-output. There is no need to walk
2453 through all windows to find the right one.
2454
24552011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2456
2457 * help.el (help-return-method): Doc fix.
2458
24592011-09-03 Martin Rudalics <rudalics@gmx.at>
2460
2461 * window.el (window-deletable-p): Don't return a non-nil value
2462 when there's a buffer that was shown in the window before.
2463 (Bug#9419)
2464 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2465 Set window's previous buffers to nil.
2466
24672011-09-03 Eli Zaretskii <eliz@gnu.org>
2468
2469 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2470 newline before and after the tag line, so it doesn't interfere
2471 with determining the paragraph direction of bidirectional text.
2472
24732011-09-03 Leo Liu <sdl.web@gmail.com>
2474
2475 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2476
24772011-09-02 Chong Yidong <cyd@stupidchicken.com>
2478
2479 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
2480 (pop-to-buffer): Change interactive spec. Pass second argument
2481 directly to display-buffer.
2482 (display-buffer): Fix interactive spec. Use functionp to
2483 distinguish between a function and a list of functions.
2484
2485 * abbrev.el (edit-abbrevs):
2486 * arc-mode.el (archive-extract):
2487 * autoinsert.el (auto-insert):
2488 * bookmark.el (bookmark-bmenu-list):
2489 * files.el (find-file):
2490 * view.el (view-buffer):
2491 * progmodes/compile.el (compilation-goto-locus):
2492 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2493
24942011-09-02 Chong Yidong <cyd@stupidchicken.com>
2495
2496 * window.el (display-buffer-alist): Doc fix.
2497 (display-buffer): Add docstring. Don't treat
2498 display-buffer-default specially.
2499 (display-buffer-reuse-selected-window)
2500 (display-buffer-same-window, display-buffer-maybe-same-window)
2501 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2502 (display-buffer-pop-up-window)
2503 (display-buffer-reuse-or-pop-window)
2504 (display-buffer-use-some-window): New functions.
2505 (display-buffer-default-action): Use them.
2506 (display-buffer-default): Delete.
2507 (pop-to-buffer-1): Fix choice of actions.
2508
25092011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * minibuffer.el (completion--insert-strings): Don't get confused by
2512 completion entries that end with an LF char.
2513
25142011-09-01 Eli Zaretskii <eliz@gnu.org>
2515
2516 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2517
25182011-09-01 Chong Yidong <cyd@stupidchicken.com>
2519
2520 * window.el (display-buffer): Restore interactive spec.
2521 (display-buffer-same-window, display-buffer-other-window):
2522 New functions.
2523 (pop-to-buffer-1): New function. Use the above.
2524 (pop-to-buffer, pop-to-buffer-same-window): Use it.
2525 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
2526
2527 * view.el (view-buffer-other-window, view-buffer-other-frame):
2528 Just use pop-to-buffer.
2529
25302011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2531
2532 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2533
25342011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2535
2536 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2537
25382011-08-31 Richard Stallman <rms@gnu.org>
2539
2540 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2541 of the separation of rmail-view-buffer from rmail-buffer.
2542 If you say no to "replace original", the decrypt is in the
2543 view buffer. If you say yes, the decrypt goes into the
2544 rmail buffer also.
2545
25462011-08-31 Martin Rudalics <rudalics@gmx.at>
2547
2548 * window.el (display-buffer-window): Rewrite doc-string.
2549 (display-buffer-record-window): New function.
2550 (display-buffer-macro-specifiers)
2551 (display-buffer-even-window-sizes, display-buffer-set-height)
2552 (display-buffer-set-width, display-buffer-in-window)
2553 (display-buffer-reuse-window, display-buffer-split-specifiers)
2554 (display-buffer-side-specifiers, display-buffer-split-window-1)
2555 (display-buffer-split-window, display-buffer-split-atom-window)
2556 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2557 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2558 (display-buffer-other-window-means-other-frame)
2559 (display-buffer-normalize-special)
2560 (display-buffer-normalize-default)
2561 (display-buffer-normalize-argument)
2562 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2563 (display-buffer-normalize-specifiers, display-buffer-frame)
2564 (display-buffer-same-window, display-buffer-same-frame)
2565 (display-buffer-other-window)
2566 (display-buffer-same-frame-other-window)
2567 (display-buffer-other-frame, pop-to-buffer-same-window)
2568 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2569 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2570 (switch-to-buffer-same-frame)
2571 (switch-to-buffer-other-window-same-frame)
2572 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2573 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2574 (display-buffer-alist-set): Remove.
2575 (display-buffer-function, special-display-buffer-names)
2576 (special-display-regexps, special-display-function):
2577 In doc-string refer to display-buffer-window and quit-restore
2578 parameter.
2579 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2580 (special-display-frame-alist, special-display-popup-frame)
2581 (same-window-buffer-names, same-window-regexps, same-window-p)
2582 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2583 (split-window-preferred-function, split-height-threshold)
2584 (split-width-threshold, window-splittable-p)
2585 (split-window-sensibly, window--try-to-split-window)
2586 (window--frame-usable-p, even-window-heights)
2587 (window--even-window-heights, window--display-buffer-1)
2588 (window--display-buffer-2, display-buffer-other-frame):
2589 Restore old Emacs 23 code, order and doc-strings where applicable.
2590 (display-buffer-default, display-buffer-assq-regexp): New functions.
2591 (display-buffer-alist): Rewrite doc-string.
2592 (display-buffer-default-action)
2593 (display-buffer-overriding-action): New variables.
2594 (display-buffer, switch-to-buffer): Rewrite.
2595 (pop-to-buffer): Restore Emacs 23 behavior but use
2596 window-normalize-buffer-to-display.
2597 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2598 Restore Emacs 23 behavior but use
2599 window-normalize-buffer-to-switch-to.
2600 (pop-to-buffer-same-window): Rewrite.
2601 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2602 Rewrite using Emacs 23 options.
2603
26042011-08-31 Michael Albinus <michael.albinus@gmx.de>
2605
2606 * net/tramp.el (tramp-root-regexp): Remove.
2607 (tramp-completion-file-name-regexp-unified)
2608 (tramp-completion-file-name-regexp-separate)
2609 (tramp-completion-file-name-regexp-url): Don't use leading volume
2610 letter on win32 systems. (Bug#5303, Bug#9311)
2611 (tramp-drop-volume-letter): Simplify definition.
2612 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2613
26142011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2615
2616 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2617 (bug#9356).
2618
26192011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2620
2621 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
2622
26232011-08-29 Juri Linkov <juri@jurta.org>
2624
2625 * isearch.el (isearch-done): Don't display message "Mark saved"
2626 when arg `edit' is non-nil to prevent its flicker in the echo area.
2627
26282011-08-28 Chong Yidong <cyd@stupidchicken.com>
2629
2630 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2631 obsolete packages for deletion.
2632
26332011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2634
2635 * help-mode.el (help-mode-map): Add special-mode-map to parent.
2636 (help-mode): Derive help-mode from special-mode. Don't invoke
2637 view-mode from help-mode.
2638 (help-xref-override-view-map): Remove.
2639 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2640 view-mode is not used anymore.
2641
26422011-08-28 Chong Yidong <cyd@stupidchicken.com>
2643
2644 * server.el (server-port): Doc fix.
2645
2646 * cus-theme.el (custom-theme-choose-mode): Inherit from
2647 special-mode (Bug#9124).
2648 (custom-theme-choose-mode-map): Add special-mode to parent.
2649
26502011-08-28 Alan Mackenzie <acm@muc.de>
2651
2652 * progmodes/cc-fonts.el
2653 (c-make-font-lock-BO-decl-search-function): New function.
2654 (c-basic-matchers-after - "Fontify the clauses after various
2655 keywords"): Extract the three keyword lists for the 3 erroneous
2656 constructs from the list of four, and use the new function above
2657 in place of an old one.
2658
26592011-08-28 Deniz Dogan <deniz@dogan.se>
2660
2661 * net/rcirc.el (rcirc-insert-prev-input)
2662 (rcirc-insert-next-input): Remove unused argument.
2663
26642011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2665
2666 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2667
26682011-08-27 Alan Mackenzie <acm@muc.de>
2669
2670 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2671 handle function pointer parameters properly.
2672
26732011-08-27 Martin Rudalics <rudalics@gmx.at>
2674
2675 * window.el (display-buffer-reuse-window): Fix case where
2676 selected window was reused with non-nil OTHER-WINDOW argument.
2677 (Bug#9381)
2678
26792011-08-27 Deniz Dogan <deniz@dogan.se>
2680
2681 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2682 oftc's NickServ messages.
2683
26842011-08-27 Glenn Morris <rgm@gnu.org>
2685
2686 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2687
26882011-08-26 Chong Yidong <cyd@stupidchicken.com>
2689
2690 * emacs-lisp/package.el (package-install): Call package-initialize
2691 if called interactively.
2692
26932011-08-26 Leo Liu <sdl.web@gmail.com>
2694
2695 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2696
26972011-08-25 Juri Linkov <juri@jurta.org>
2698
2699 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2700 `search-whitespace-regexp' (bug#9364).
2701
27022011-08-25 Juri Linkov <juri@jurta.org>
2703
2704 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2705 `regexp-search-ring' to their global values to protect from
2706 updating by `read-from-minibuffer' (bug#9185).
2707
27082011-08-25 Juri Linkov <juri@jurta.org>
2709
2710 * textmodes/ispell.el (ispell-command-loop): Add newline
2711 at the end of the "Use option `i'..." line.
2712
27132011-08-25 Juri Linkov <juri@jurta.org>
2714
2715 * battery.el (display-battery-mode): If `battery-status-function'
2716 or `battery-mode-line-format' is nil, display the message and set
2717 `display-battery-mode' to nil (bug#9363).
2718
27192011-08-25 Eli Zaretskii <eliz@gnu.org>
2720
2721 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2722 bidi-string-mark-left-to-right; they are unnecessary now.
2723
27242011-08-25 Deniz Dogan <deniz@dogan.se>
2725
2726 * net/quickurl.el: Documentation typo fixes.
2727
27282011-08-25 Chong Yidong <cyd@stupidchicken.com>
2729
2730 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2731
27322011-08-25 Glenn Morris <rgm@gnu.org>
2733
2734 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2735
2736 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2737 (smtpmail-via-smtp): Handle nil response from smtp.
2738
27392011-08-24 Juri Linkov <juri@jurta.org>
2740
2741 * proced.el (proced-marked): Inherit from `error' instead of
2742 `font-lock-warning-face'.
2743
2744 * ibuffer.el (ibuffer-marked-face): Change default face from
2745 `font-lock-warning-face' to `warning'.
2746 (ibuffer-deletion-face): Change default face from
2747 `font-lock-type-face' to `error'.
2748
2749 * battery.el (battery-update): Use the face `error' instead of
2750 `font-lock-warning-face' (bug#6117).
2751
27522011-08-24 Juri Linkov <juri@jurta.org>
2753
2754 * faces.el (success): Change face color from "Green3" to
2755 "ForestGreen" on light background (bug#9353).
2756
27572011-08-24 Chong Yidong <cyd@stupidchicken.com>
2758
2759 * window.el (quit-window): Rename from quit-restore-window.
2760 Use same arglist as old quit-window.
2761 (frame-auto-delete): Doc fix.
2762
2763 * view.el (view-mode-exit): Use quit-window.
2764
27652011-08-24 Juri Linkov <juri@jurta.org>
2766
2767 * isearch.el (isearch-ring-adjust1): Start visiting previous
2768 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2769 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2770 for empty search string (when the last search string is reused
2771 automatically) to adjust the isearch ring to the last element and
2772 prepare the correct index for further M-p commands (bug#9185).
2773
27742011-08-24 Kenichi Handa <handa@m17n.org>
2775
2776 * international/ucs-normalize.el: If decomposition property of
2777 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2778 nil.
2779 (nfd, nfkd): Likewise.
2780
27812011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2782
2783 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2784 from process filters aren't reliably transmitted to the surrounding
2785 accept-process-output.
2786 (mpc-proc-check): New function.
2787 (mpc-proc-sync): Use it (bug#8293)
2788
27892011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2792 Add compatibility functions (bug#9313).
2793
27942011-08-23 Eli Zaretskii <eliz@gnu.org>
2795
2796 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2797
2798 * international/uni-bidi.el: Regenerated.
2799
28002011-08-23 Kenichi Handa <handa@m17n.org>
2801
2802 * international/charprop.el:
2803 * international/uni-bidi.el:
2804 * international/uni-category.el:
2805 * international/uni-combining.el:
2806 * international/uni-comment.el:
2807 * international/uni-decimal.el:
2808 * international/uni-decomposition.el:
2809 * international/uni-digit.el:
2810 * international/uni-lowercase.el:
2811 * international/uni-mirrored.el:
2812 * international/uni-name.el:
2813 * international/uni-numeric.el:
2814 * international/uni-old-name.el:
2815 * international/uni-titlecase.el:
2816 * international/uni-uppercase.el: Regenerate.
2817
28182011-08-23 Martin Rudalics <rudalics@gmx.at>
2819
2820 * help.el (help-window-setup): Fix message displayed when other
2821 window is reused. (Bug#9341)
2822
28232011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2824
2825 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2826 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2827
2828 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2829 Mark obsolete.
2830 * shell.el (shell-parse-pcomplete-arguments): New function.
2831 (shell-completion-vars): Use it instead (bug#9160).
2832
28332011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2834
2835 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2836 strings and comments (bug#9333).
2837
2838 * emacs-lisp/debug.el (debug-arglist): New function.
2839 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2840 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2841
28422011-08-22 Juri Linkov <juri@jurta.org>
2843
2844 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2845 Revert regexp that highlights output switches to its old
2846 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2847
2848 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2849 to check for empty output (bug#9226).
2850
28512011-08-22 Chong Yidong <cyd@stupidchicken.com>
2852
2853 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2854 symbol-constituent as the default, as that stops font-lock from
2855 working properly (Bug#8843).
2856
28572011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2858
2859 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2860 `coding-system-for-*' around the process open call to avoid
2861 auth-source side effects.
2862 (smtpmail-try-auth-methods): Expand the secret password.
2863 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2864 probe hangs.
2865
28662011-08-21 Chong Yidong <cyd@stupidchicken.com>
2867
2868 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2869
2870 * emacs-lisp/find-func.el (find-function-noselect): New arg
2871 lisp-only.
2872
2873 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2874 signal an error for built-in functions (Bug#6664).
2875
28762011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2877
2878 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2879 (smtpmail-try-auth-methods): Use it.
2880
28812011-08-21 Chong Yidong <cyd@stupidchicken.com>
2882
2883 * font-lock.el (font-lock-fontify-region)
2884 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2885 (font-lock-default-unfontify-buffer)
2886 (font-lock-default-fontify-region)
2887 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2888
2889 * progmodes/compile.el (compilation-error-properties):
2890 Fix confusion between file struct and message struct (Bug#9319).
2891 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2892 `ant' regexp.
2893
2894 * net/browse-url.el (browse-url-firefox): Don't call
2895 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2896
28972011-08-20 Glenn Morris <rgm@gnu.org>
2898
2899 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2900
2901 * tutorial.el (tutorial--default-keys): Update some default bindings.
2902
2903 * files.el (hack-local-variables): Fully ignore case for "mode:".
2904
29052011-08-20 Alan Mackenzie <acm@muc.de>
2906
2907 Resolve invalid use of a regexp in regexp-opt.
2908
2909 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2910 detection for a java annotation.
2911
2912 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
2913 detection for a java annotation.
2914
2915 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2916 handling for java.
2917 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2918
29192011-08-20 Chong Yidong <cyd@stupidchicken.com>
2920
2921 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2922 (Bug#9274).
2923
29242011-08-20 Alan Mackenzie <acm@muc.de>
2925
2926 Fontify CPP expressions correctly when starting in the middle of
2927 such a construct. Mainly for when jit-lock etc. starts a chunk
2928 here.
2929
2930 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
2931 variable.
2932 (c-make-font-lock-search-form): New function, extracted from
2933 c-make-font-lock-search-function.
2934 (c-make-font-lock-search-function): Use the above function.
2935 (c-make-font-lock-context-search-function): New function.
2936 (c-cpp-matchers): Enhance the preprocessor expression case with
2937 the above function
2938 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2939 which takes an expression.
2940
2941 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2942
29432011-08-20 Martin Rudalics <rudalics@gmx.at>
2944
2945 * window.el (display-buffer-reuse-window)
2946 (display-buffer-pop-up-window): Don't reuse or split a side
2947 window.
2948
29492011-08-19 Glenn Morris <rgm@gnu.org>
2950
2951 * files.el (hack-local-variables-prop-line, hack-local-variables):
2952 Downcase "Mode:". (Bug#9331)
2953
29542011-08-18 Chong Yidong <cyd@stupidchicken.com>
2955
2956 * international/characters.el: Add L and R categories.
2957
2958 * subr.el (bidi-string-mark-left-to-right): Rename from
2959 string-mark-left-to-right. Use category search.
2960
2961 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2962
29632011-08-18 Juri Linkov <juri@jurta.org>
2964
2965 * faces.el (error, warning, success): New faces with definitions
2966 copied from old default values of `font-lock-warning-face',
2967 `compilation-warning', `compilation-info' (bug#6117).
2968
2969 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2970
2971 * progmodes/compile.el (compilation-error): Inherit from `error'.
2972 (compilation-warning): Inherit from `warning'.
2973 (compilation-info): Inherit from `success'.
2974
2975 * dired.el (dired-marked): Inherit from `warning'.
2976 (dired-flagged): Inherit from `error'.
2977
29782011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2979
2980 * mail/smtpmail.el (auth-source): Require to avoid problems with
2981 binding variables (bug#9298). Also clean up some unused
2982 autoloads.
2983
2984 * net/network-stream.el (network-stream-open-starttls):
2985 Support using starttls.el without using gnutls-cli.
2986
29872011-08-17 Juri Linkov <juri@jurta.org>
2988
2989 * progmodes/grep.el (rgrep): Handle the case when
2990 `grep-find-command' is a cons cell (bug#9278).
2991
29922011-08-17 Martin Rudalics <rudalics@gmx.at>
2993
2994 * window.el (display-buffer-pop-up-frame): Run frame creation
2995 function with BUFFER current (as special-display-popup-frame
2996 does). Reported by Drew Adams.
2997
29982011-08-17 Daiki Ueno <ueno@unixuser.org>
2999
3000 * epa-mail.el: Simplify GnuPG group expansion using
3001 epg-expand-group.
3002 (epa-mail-group-alist, epa-mail-group-modtime)
3003 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3004 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3005 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3006 Remove.
3007
30082011-08-16 Feng Li <fengli@gmail.com> (tiny change)
3009
3010 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3011
30122011-08-16 Alan Mackenzie <acm@muc.de>
3013
3014 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3015 Correct, to avoid the inside of macros.
3016
30172011-08-16 Richard Stallman <rms@gnu.org>
3018
3019 * epa-mail.el: Handle GnuPG group definitions.
3020 (epa-mail-group-alist, epa-mail-group-modtime)
3021 (epa-mail-gnupg-conf-file): New variables.
3022 (epa-mail-parse-groups, epa-mail-sync-groups)
3023 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3024 (epa-mail-expand-recipients): New functions.
3025 (epa-mail-encrypt): Call epa-mail-expand-recipients.
3026
3027 * mail/rmail.el (rmail-epa-decrypt): New command.
3028
3029 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3030 Don't bind buffer-read-only, just inhibit-read-only.
3031 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3032 (epa-decrypt-armor-in-region): Make error message clearer.
3033
30342011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3035
3036 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3037 and "a2b" to "ab" for `prefix'.
3038
30392011-08-14 Chong Yidong <cyd@stupidchicken.com>
3040
3041 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3042 filter groups.
3043 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
3044 Fourquet (Bug#8804).
3045
30462011-08-12 Juanma Barranquero <lekktu@gmail.com>
3047
3048 * startup.el (argi): Declare as global variable (bug#9275).
3049
30502011-08-12 Chong Yidong <cyd@stupidchicken.com>
3051
3052 * subr.el (string-mark-left-to-right): Search the entire string
3053 for RTL script, not just the terminating character. Doc fix.
3054
30552011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3058 New function.
3059 (js--regexp-literal, js-syntax-propertize-function): Remove.
3060 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3061 (js-mode-map): Don't rebind electric keys.
3062 (js-insert-and-indent): Remove.
3063 (js-mode): Setup electric-layout and electric-indent instead.
3064
3065 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3066
30672011-08-12 Daiki Ueno <ueno@unixuser.org>
3068
3069 * epa.el (epa-progress-callback-function): Fix the logic of
3070 displaying progress.
3071 * epa-file.el (epa-file-insert-file-contents): Make progress
3072 display more user-friendly.
3073 (epa-file-write-region): Ditto.
3074
30752011-08-10 Chong Yidong <cyd@stupidchicken.com>
3076
3077 * subr.el (string-mark-left-to-right): New function.
3078
3079 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3080 Use string-mark-left-to-right.
3081 (list-buffers-noselect): Caller changed.
3082
3083 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3084 Use string-mark-left-to-right.
3085 (tabulated-list-print): Recenter after moving point.
3086
30872011-08-10 Juri Linkov <juri@jurta.org>
3088
3089 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3090 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3091 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3092
30932011-08-09 Chong Yidong <cyd@stupidchicken.com>
3094
3095 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3096 (Bug#7554).
3097
30982011-08-09 Andreas Schwab <schwab@linux-m68k.org>
3099
3100 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3101 character. (Bug#6594)
3102
31032011-08-08 Chong Yidong <cyd@stupidchicken.com>
3104
3105 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3106 (image-dired--with-db-file): New macro.
3107 (image-dired-write-tags, image-dired-remove-tag)
3108 (image-dired-create-gallery-lists, image-dired-write-comments)
3109 (image-dired-get-comment, image-dired-mark-tagged-files)
3110 (image-dired-list-tags, image-dired-gallery-generate): Use it.
3111 (image-dired-gallery-generate): Use insert-file-contents.
3112
3113 * time.el (display-time-world-list, display-time-world-display):
3114 * time-stamp.el (time-stamp-string):
3115 * vc/add-log.el (add-change-log-entry): Use setenv instead of
3116 set-time-zone-rule (Bug#7337).
3117
31182011-08-08 Daiki Ueno <ueno@unixuser.org>
3119
3120 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3121 (epg-error-to-string, epg-errors-to-string): New function.
3122 (epg-wait-for-completion): Reverse errors list.
3123 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3124 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3125 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3126 (epg-sign-keys, epg-generate-key-from-file)
3127 (epg-generate-key-from-string): Format errors by using
3128 epg-errors-to-string (bug#9255).
3129 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3130
31312011-08-07 Juri Linkov <juri@jurta.org>
3132
3133 * faces.el (list-faces-display): Remove extra angle bracket
3134 from `help-mode-map'.
3135
3136 * info.el (Info-history-toc-nodes): Doc fix.
3137
3138 * longlines.el (longlines-mode): Doc fix.
3139
31402011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3143 of statements and in a few more cases (bug#9183).
3144
3145 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3146 New functions.
3147 (cl-transform-lambda): Use them (bug#9239).
3148
31492011-08-05 Martin Rudalics <rudalics@gmx.at>
3150
3151 * window.el (display-buffer-same-window)
3152 (display-buffer-same-frame, display-buffer-other-window)
3153 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3154 (pop-to-buffer-other-window)
3155 (pop-to-buffer-same-frame-other-window)
3156 (pop-to-buffer-other-frame): Make them defuns.
3157 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3158
31592011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3160
3161 * subr.el (make-composed-keymap): Move from C. Change calling
3162 convention, and improve docstring to bring attention to a subtle point.
3163 * minibuffer.el (completing-read-default): Adjust accordingly.
3164
31652011-08-03 Michael Albinus <michael.albinus@gmx.de>
3166
3167 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3168 (tramp-open-shell): Use `tramp-shell-quote-argument'.
3169
3170 * net/trampver.el: Update release number.
3171
31722011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3173
3174 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3175 "in" (bug#9190).
3176
31772011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3178
3179 * mail/sendmail.el (sendmail-query-once): Restore the current
3180 buffer after querying (bug#9074).
3181
3182 * dired.el (dired-flagged): Use different faces for marked and
3183 flagged files (bug#6117).
3184
3185 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3186 (bug#4433).
3187
3188 * ido.el (ido-mode): Switch off the message if called
3189 non-interactively.
3190
3191 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3192 before 587, since it appears that that's more likely to work for
3193 more people.
3194
3195 * cus-edit.el (custom-file): When running under emacs -q, always
3196 refuse to save the customizations, even if the .emacs file doesn't
3197 exist.
3198
3199 * info.el: Remove the `Info-beginning-of-buffer' function
3200 (bug#8325).
3201
3202 * net/network-stream.el (network-stream-open-starttls):
3203 Use `starttls-available-p' to see whether starttls.el can be used.
3204
32052011-08-01 Martin Rudalics <rudalics@gmx.at>
3206
3207 * window.el (display-buffer-in-window): Don't set dedicated status
3208 of window here (Bug#9215).
3209 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3210 (display-buffer-pop-up-side-window)
3211 (display-buffer-in-side-window): Set dedicated status of window here.
3212
32132011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3214
3215 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3216 before binding generated-autoload-file.
3217
32182011-08-01 Deniz Dogan <deniz@dogan.se>
3219
3220 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3221
32222011-07-30 Michael Albinus <michael.albinus@gmx.de>
3223
3224 Sync with Tramp 2.2.2.
3225
3226 * net/trampver.el: Update release number.
3227
32282011-07-30 Juri Linkov <juri@jurta.org>
3229
3230 * dired-aux.el (dired-touch-initial): Remove function.
3231 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3232 current time, and `default' to the last modification time of the
3233 current marked file (bug#6887).
3234
32352011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3236
3237 * simple.el (goto-line): Use string-to-number to provide a
3238 numeric argument to read-number (bug#9163).
3239
32402011-07-27 Michael Albinus <michael.albinus@gmx.de>
3241
3242 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3243 connection process, it could be nil.
3244
32452011-07-27 Leo Liu <sdl.web@gmail.com>
3246
3247 Simplify url handling in rcirc-mode.
3248
3249 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3250 (rcirc-browse-url-at-mouse): Remove.
3251 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3252
32532011-07-26 Alan Mackenzie <acm@muc.de>
3254
3255 Fontify bitfield declarations properly.
3256
3257 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3258 (c-symbol-chars): Now exported as a lang variable.
3259 (c-not-primitive-type-keywords): New lang variable.
3260
3261 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3262 QT keyword "more" to prevent "more slots: ...." being spuriously
3263 parsed as a bitfield declaration.
3264
3265 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3266 Refactor and enhance to handle bitfield declarations.
3267 (c-punctuation-in): New function.
3268 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3269 declarations properly.
3270
32712011-07-26 Ulf Jasper <ulf.jasper@web.de>
3272
3273 * calendar/icalendar.el (icalendar--all-events): Take care of
3274 multiple vcalendars in a single file.
3275 (icalendar--convert-float-to-ical): Checkdoc fixes.
3276
32772011-07-25 Deniz Dogan <deniz@dogan.se>
3278
3279 * image.el (insert-image): Clarifying docstring.
3280
32812011-07-24 Michael Albinus <michael.albinus@gmx.de>
3282
3283 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3284 `tramp-send-command-and-check' if there is no error.
3285 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3286
32872011-07-22 Alan Mackenzie <acm@muc.de>
3288
3289 Prevent cc-langs.elc being loaded at run time.
3290
3291 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3292 cc-langs.
3293
3294 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
3295 "(require 'cc-langs)". Quote a form so it will evaluate at
3296 (cc-mode's) compilation time.
3297
32982011-07-22 Michael Albinus <michael.albinus@gmx.de>
3299
3300 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3301 loading. (Bug#9114)
3302
33032011-07-21 Martin Rudalics <rudalics@gmx.at>
3304
3305 * window.el (display-buffer-pop-up-window)
3306 (display-buffer-pop-up-side-window)
3307 (display-buffer-in-side-window): Call display-buffer-set-height
3308 and display-buffer-set-width after setting the new window's
3309 buffer so `fit-window-to-buffer' and friends work on the right buffer.
3310
33112011-07-20 Sam Steingold <sds@gnu.org>
3312
3313 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3314 (etags-tags-included-tables): Call `convert-standard-filename' on
3315 the file names contained in TAGS so that windows Emacs can handle
3316 TAGS files created by cygwin ctags.
3317
33182011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3319
3320 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3321 which apparently didn't work.
3322
33232011-07-19 Roland Winkler <winkler@gnu.org>
3324
3325 * proced.el (proced-send-signal): For *Marked Processes* buffer
3326 put point at beginning of buffer.
3327
33282011-07-19 Stephen Berman <stephen.berman@gmx.net>
3329
3330 * proced.el (proced-format): Make header lines align with the text
3331 (bug#1779).
3332
33332011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3334
3335 * view.el (view-buffer): Allow running in `special' modes if we're
3336 visiting a file (bug#8615).
3337
33382011-07-19 Martin Rudalics <rudalics@gmx.at>
3339
3340 * window.el (display-buffer-alist-of-strings-p)
3341 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3342 New functions.
3343 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3344 more accurately.
3345
33462011-07-18 Alan Mackenzie <acm@muc.de>
3347
3348 Fontify declarators properly when, e.g., a jit-lock chunk begins
3349 inside a declaration.
3350
3351 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3352
3353 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3354 New function.
3355 (c-complex-decl-matchers): Insert reference to
3356 c-font-lock-enclosing-decls.
3357
3358 * progmodes/cc-engine.el (c-backward-single-comment):
3359 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3360 to nil around calls to (forward-comment -1).
3361
33622011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3363
3364 * image.el (put-image): Doc typo fix.
3365
3366 * progmodes/etags.el (tags-search): Doc typo fix.
3367
3368 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3369 password if we get errors 550 to 554.
3370
33712011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3372
3373 * net/gnutls.el (gnutls-log-level): Remove.
3374
3375 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3376 indentation character (bug#6380).
3377
3378 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3379
3380 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3381 to clarify what the problem is (bug#4291).
3382
3383 * simple.el (current-kill): Clarify what
3384 `interprogram-paste-function' does (bug#7500).
3385 (auto-fill-mode): Document `auto-fill-function' in relation to
3386 `auto-fill-mode' (bug#2470).
3387
33882011-07-16 Lawrence Mitchell <wence@gmx.li>
3389
3390 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3391 method if slot is read-only (bug#9035).
3392
33932011-07-16 Martin Rudalics <rudalics@gmx.at>
3394
3395 * frame.el (select-frame-set-input-focus): New argument NORECORD.
3396 * window.el (pop-to-buffer): Select window used even if it was
3397 selected before, see discussion of (Bug#8615), (Bug#6954).
3398 Pass argument NORECORD on to select-frame-set-input-focus.
3399
34002011-07-15 Glenn Morris <rgm@gnu.org>
3401
3402 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
3403 Respect help-form.
3404
34052011-07-09 Lawrence Mitchell <wence@gmx.li>
3406
3407 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3408 (gnutls-negotiate): Use it.
3409
34102011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3411
3412 * net/gnutls.el (gnutls-negotiate):
3413 Upcase `gnutls-algorithm-priority'.
3414
34152011-07-15 Glenn Morris <rgm@gnu.org>
3416
3417 * jka-compr.el (jka-compr-verbose): Move from here...
3418 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3419 Add missing :version tag.
3420 * info.el: No need to require jka-compr when compiling.
3421
34222011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3423
3424 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3425 (gnutls-negotiate): Use it.
3426
3427 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3428
3429 * info.el (Info-beginning-of-buffer): New command.
3430 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3431 announcing `b' as the key (bug#8325).
3432 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
3433
3434 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3435
3436 * international/mule-cmds.el
3437 (describe-specified-language-support): Make the error message
3438 clearer (bug#8905).
3439
3440 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3441
3442 * isearch.el (isearch-barrier): Add a doc string, since it's
3443 mentioned in a function doc string (bug#8678).
3444
34452011-07-15 Martin Rudalics <rudalics@gmx.at>
3446
3447 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3448 buffer argument (Bug#9083) and self-identifying label argument.
3449
34502011-07-15 Glenn Morris <rgm@gnu.org>
3451
3452 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3453
34542011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3455
3456 * man.el (Man-fontify-manpage): Fix message when formatting the
3457 man page (bug#7929).
3458
34592011-07-14 Eli Zaretskii <eliz@gnu.org>
3460
3461 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3462 argument LRM; if non-nil, append an invisible LRM character to the
3463 buffer name.
3464 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3465 last argument non-nil, when formatting buffer names.
3466 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3467 paragraph direction.
3468
34692011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3470
3471 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3472 the man page name (bug#7929).
3473
3474 * image.el (put-image): Mention the `put-image' overlay property
3475 (bug#7834).
3476
3477 * scroll-bar.el (set-scroll-bar-mode): Mention that
3478 `scroll-bar-mode' lists the values (bug#7772).
3479
3480 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3481 command (bug#7729).
3482
3483 * rect.el (apply-on-rectangle): Return the point after the last
3484 operation.
3485 (string-rectangle): Go to the point after the last operation
3486 (bug#7522).
3487
3488 * printing.el (pr-toggle-region): Clarify the documentation
3489 slightly (bug#7493).
3490
3491 * time.el (display-time-update):
3492 Allow `display-time-mail-function' to return nil (bug#7158).
3493 Fix suggested by Detlev Zundel.
3494
3495 * vc/diff.el (diff): Clarify the order the file names are read
3496 (bug#7111).
3497
3498 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3499 the doc string (bug#7015).
3500
3501 * font-lock.el (font-lock-maximum-decoration): Mention what
3502 numeric levels mean (bug#6935).
3503
3504 * startup.el (initial-buffer-choice): Don't mention the `none'
3505 selection, which is against policy.
3506
35072011-07-14 Martin Rudalics <rudalics@gmx.at>
3508
3509 * window.el (display-buffer-normalize-special):
3510 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
3511
35122011-07-14 Eli Zaretskii <eliz@gnu.org>
3513
3514 * subr.el (version<, version<=, version=): Mention "-CVS" and
3515 "-12345" alpha version numbers.
3516
35172011-07-14 Chong Yidong <cyd@stupidchicken.com>
3518
3519 * bindings.el: Add advertised binding for set-mark-command
3520 (Bug#5772).
3521
35222011-07-14 Chong Yidong <cyd@stupidchicken.com>
3523
3524 * bindings.el (mode-line-other-buffer):
3525 * bookmark.el (bookmark-bmenu-2-window):
3526 * bs.el (bs-cycle-next, bs-cycle-previous):
3527 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3528 switch-to-buffer.
3529
3530 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3531 Delete.
3532
35332011-07-14 Juanma Barranquero <lekktu@gmail.com>
3534
3535 * follow.el (follow-debug-message, follow-redisplay):
3536 * jka-cmpr-hook.el (with-auto-compression-mode):
3537 Fix typos in docstrings.
3538
35392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3540
3541 * subr.el (with-silent-modifications): Clarify somewhat what the
3542 macro inhibits (bug#6525).
3543
3544 * simple.el (eval-expression): Note what it does if called
3545 interactively (bug#6495).
3546
35472011-07-13 Chong Yidong <cyd@stupidchicken.com>
3548
3549 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3550 Use pop-to-buffer buffer-or-name if it is nil.
3551
3552 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3553 Remove switch-to-buffer.
3554
35552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3556
3557 * files.el (make-directory): Clarify that an error will be raised
3558 if there's an error (bug#6397).
3559
3560 * startup.el (initial-buffer-choice): Add `none' as a choice
3561 (bug#6234).
3562
3563 * subr.el (add-hook): Clarify section about buffer-local hooks
3564 (bug#6218).
3565
3566 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3567
35682011-07-13 Juanma Barranquero <lekktu@gmail.com>
3569
3570 * tabify.el (untabify): Preserve the current column so that point
3571 doesn't move (bug#6032).
3572
35732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3574
3575 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3576 Rewrite to avoid awkward possessive "s" (bug#5986).
3577
35782011-07-13 Glenn Morris <rgm@gnu.org>
3579
3580 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3581 (dired-insert-directory): Give a message the first time
3582 if ls is found not to support --dired.
3583
35842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3585
3586 * simple.el (toggle-truncate-lines): Clarify what is toggled
3587 (bug#5580). Text by Drew Adams.
3588
35892011-07-13 Chong Yidong <cyd@stupidchicken.com>
3590
3591 * simple.el (blink-matching-open): Make the error message from the
3592 last change less verbose.
3593
35942011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3595
3596 * font-lock.el (font-lock-comment-face): Use the high contrast
3597 "yellow" color for font-lock-comment-face on low color terminals
3598 using a dark background color (bug#4221).
3599
36002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3601
3602 * dired.el (dired-insert-set-properties): Make the doc string
3603 reflect what it does now (bug#5325).
3604
3605 * simple.el (blink-matching-open): Say that we were unable to find
3606 the match within the limit, if we're limited (bug#5122).
3607
3608 * international/mule-cmds.el (prefer-coding-system): Add an
3609 example (bug#4869).
3610
3611 * progmodes/etags.el (tags-search): Document `file-list-form'
3612 (bug#4731).
3613
36142011-07-13 Lawrence Mitchell <wence@gmx.li>
3615
3616 * net/browse-url.el (browse-url-default-browser)
3617 (browse-url-browser-function): Make the default browser choice a
3618 bit more logical (bug#4300). Also clean up the doc string.
3619
36202011-07-13 Juanma Barranquero <lekktu@gmail.com>
3621
3622 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3623 binary endings (bug#4440).
3624
36252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3626
3627 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3628 which can be pretty annoying (bug#8971).
3629
3630 * jka-compr.el (jka-compr-verbose): New variable, and use
3631 throughout (bug#8971).
3632
3633 * info.el (Info-find-file): Fall back on the installation
3634 directory if we can't find the info node anywhere else.
3635
36362011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3637
3638 * vc/vc.el (vc-revert-file):
3639 Don't set file time-stamp in the past. (Bug#5181)
3640
36412011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3642
3643 * files.el (after-find-file): Give a better error message when
3644 trying to find a symlink that points to a file that doesn't exist
3645 (bug#4398).
3646
3647 * progmodes/cc-vars.el: Remove (probably) misleading comment
3648 (bug#4396).
3649
36502011-07-12 Johan Bockgård <bojohan@gnu.org>
3651
3652 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3653
36542011-07-12 Chong Yidong <cyd@stupidchicken.com>
3655
3656 * mouse-sel.el: Hack restoring functionality, while keeping
3657 compatibility with 2010-07-03 changes to mouse selection.
3658 (mouse-sel-primary-overlay): New var.
3659 (mouse-sel-selection-alist): Use it.
3660 (mouse-sel-mode): Doc fix; remove points that are default features
3661 of mouse.el.
3662
36632011-07-12 Johan Bockgård <bojohan@gnu.org>
3664
3665 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3666 Fix previous fix (bug#2490).
3667
36682011-07-12 Roland Winkler <winkler@gnu.org>
3669
3670 * textmodes/bibtex.el (bibtex-initialize):
3671 Use pop-to-buffer-same-window.
3672 (bibtex-search-entries): Fix interactive call.
3673
36742011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3675
3676 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3677 Fontise bytecomp Error lines more correctly (bug#2490).
3678 Fix suggested by Johan Bockgård.
3679
3680 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3681
3682 * dired-x.el (dired-guess-default): Use `delete-dups'.
3683
36842011-07-12 Chong Yidong <cyd@stupidchicken.com>
3685
3686 * dired.el (dired-mark-prompt):
3687 * dired-aux.el (dired-read-shell-command): Doc fix.
3688
36892011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3690
3691 * mail/sendmail.el (sendmail-query-once):
3692 Use `customize-save-variable' unconditionally, now that it works under
3693 emacs -Q.
3694
3695 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3696
3697 * cus-edit.el (custom-file): Take an optional no-error variable.
3698 (customize-save-variable): Set the variable, and give a warning if
3699 running under "emacs -q".
3700
37012011-07-11 Juanma Barranquero <lekktu@gmail.com>
3702
3703 * loadhist.el (unload-feature-special-hooks):
3704 Add `auto-coding-functions', `fill-nobreak-predicate' and
3705 `find-directory-functions' (bug#5327).
3706
37072011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3708
3709 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3710
3711 * cus-edit.el (custom-guess-name-alist): -alist variables should
3712 use the `alist' type (bug#3120). Suggested by Drew Adams.
3713
3714 * printing.el: Add documentation to all the `pr-toggle-' commands.
3715
37162011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3717
3718 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3719 backends where it makes sense (bug#2623).
3720
37212011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3722
3723 * dired-x.el (dired-guess-default): Remove duplicate shell command
3724 entries (bug#2028).
3725 (dired-guess-default): Fix grammar in doc string (bug#2028).
3726 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
3727
3728 * subr.el (remove-duplicates): New conveniency function.
3729
37302011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3731
3732 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3733 (bug#1526).
3734
37352011-07-10 Martin Rudalics <rudalics@gmx.at>
3736
3737 * window.el (display-buffer-normalize-default): Don't invert
3738 meaning of even-window-heights. Reported by Eli Zaretskii
3739 <eliz@gnu.org>.
3740
37412011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3742
3743 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3744
37452011-07-10 Chong Yidong <cyd@stupidchicken.com>
3746
3747 * window.el (display-buffer): Fix arguments to
3748 display-buffer-reuse-window in last change.
3749
3750 * faces.el (link): Use a less saturated blue on light backgrounds.
3751
3752 * startup.el (fancy-startup-text, fancy-about-text)
3753 (fancy-startup-tail): Use font-lock faces, for background safety.
3754
37552011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3756
3757 * emulation/viper-cmd.el (viper-change-state-to-vi):
3758 Limit triggering of abbrev expansion (Bug#9038).
3759
37602011-07-09 Martin Rudalics <rudalics@gmx.at>
3761
3762 * window.el (display-buffer-default-specifiers): Remove.
3763 (display-buffer-macro-specifiers): Remove default specifiers.
3764 (display-buffer-alist): Default to nil.
3765 (display-buffer-reuse-window): New optional argument other-window.
3766 (display-buffer-pop-up-window): Allow splitting internal
3767 windows. Check whether a live window was created.
3768 (display-buffer-other-window-means-other-frame)
3769 (display-buffer-normalize-arguments): Rename to
3770 display-buffer-normalize-argument and rewrite. Set the
3771 other-window specifier.
3772 (display-buffer-normalize-special): New function.
3773 (display-buffer-normalize-options): Rename to
3774 display-buffer-normalize-default and rewrite.
3775 (display-buffer-normalize-options-inhibit): Remove.
3776 (display-buffer-normalize-specifiers): Rewrite.
3777 (display-buffer): Process other-window specifier and call
3778 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3779 more faithfully.
3780 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
3781 (display-buffer-alist-set): Don't handle 'unset default values.
3782 (display-buffer-in-window, display-buffer-alist-set):
3783 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
3784 <tassilo@member.fsf.org>.
3785
37862011-07-09 Leo Liu <sdl.web@gmail.com>
3787
3788 * register.el (insert-register): Restore accidental change on
3789 2011-06-26. (Bug#9028)
3790
37912011-07-09 Glenn Morris <rgm@gnu.org>
3792
3793 * subr.el (remq): Handle the empty list. (Bug#9024)
3794
37952011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3796
3797 * mail/sendmail.el (send-mail-function): No longer delay custom
3798 initialization.
3799 * custom.el (custom-initialize-delay): Doc fix.
3800
38012011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3802
3803 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3804
38052011-07-08 Michael Albinus <michael.albinus@gmx.de>
3806
3807 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3808 human-friendly prompt.
3809
38102011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3811
3812 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3813 provided by a particular plugin.
3814
38152011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3816
3817 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3818 save customizations (with "emacs -Q"), just set the variable
3819 instead of erroring out.
3820
3821 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3822
38232011-07-08 Juri Linkov <juri@jurta.org>
3824
3825 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3826 (archive-zip-update-case): Use 7z if found by `executable-find'.
3827 The order of searching the available programs is the same as in
3828 `archive-zip-extract' (bug#8968).
3829
38302011-07-07 Chong Yidong <cyd@stupidchicken.com>
3831
3832 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3833 (menu-bar-options-menu): Tweak descriptions.
3834
38352011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3836
3837 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3838 menu items into verb phrases (bug#1421). Also refill to fit under
3839 80 columns.
3840
38412011-07-07 Chong Yidong <cyd@stupidchicken.com>
3842
3843 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3844 (Info-read-node-name): Doc fix (Bug#1084).
3845
3846 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3847 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3848 (end-of-sexp, beginning-of-sexp)
3849 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3850 (forward-symbol, forward-same-syntax, word-at-point)
3851 (sentence-at-point): Doc fix (Bug#1144).
3852
38532011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3854
3855 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3856 should cover it (bug#1281).
3857
3858 * cus-edit.el (custom-show): Mark as obsolete.
3859
3860 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
3861 negotiation fails, then possibly try again with a non-encrypted
3862 connection (bug#9017).
3863
3864 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3865 be used.
3866
38672011-07-07 Richard Stallman <rms@gnu.org>
3868
3869 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3870 property, and handle its changed format.
3871 Look for the correct line number.
3872 Use file's line contents (but not past first =) to find
3873 correct line in message.
3874
38752011-07-07 Kenichi Handa <handa@m17n.org>
3876
3877 * international/characters.el (build-unicode-category-table):
3878 Delete it.
3879 (unicode-category-table): Set it by unicode-property-table-internal.
3880
3881 * international/mule-cmds.el (char-code-property-alist): Move to
3882 to src/chartab.c.
3883 (get-char-code-property): Call unicode-property-table-internal to
3884 load a file. Call get-unicode-property-internal where necessary.
3885 (put-char-code-property): Call unicode-property-table-internal to
3886 load a file. Call put-unicode-property-internal where necessary.
3887 put-unicode-property-internal where necessary.
3888 (char-code-property-description):
3889 Call unicode-property-table-internal to load a file.
3890
3891 * international/charprop.el:
3892 * international/uni-bidi.el:
3893 * international/uni-category.el:
3894 * international/uni-combining.el:
3895 * international/uni-comment.el:
3896 * international/uni-decimal.el:
3897 * international/uni-decomposition.el:
3898 * international/uni-digit.el:
3899 * international/uni-lowercase.el:
3900 * international/uni-mirrored.el:
3901 * international/uni-name.el:
3902 * international/uni-numeric.el:
3903 * international/uni-old-name.el:
3904 * international/uni-titlecase.el:
3905 * international/uni-uppercase.el: Regenerate.
3906
3907 * loadup.el: Load international/charprop.el before
3908 international/characters.
3909
39102011-07-07 Chong Yidong <cyd@stupidchicken.com>
3911
3912 * window.el (next-buffer, previous-buffer): Signal an error if
3913 called from a minibuffer window.
3914
3915 * bindings.el: Revert 2011-07-04 change.
3916
39172011-07-06 Richard Stallman <rms@gnu.org>
3918
3919 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3920 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3921 Treat markers like ints.
3922 (rmail-mime-entity): Doc fix.
3923
39242011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3925
3926 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3927 defcustom again for backwards compatibility.
3928
3929 * simple.el (shell-command-on-region): Fill.
3930
3931 * dired-aux.el (dired-kill-line): Add a doc string.
3932
3933 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3934 to "\\sw\\|\\s_" (bug#358).
3935
3936 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3937 (dired-unmark-backward): Ditto.
3938 (dired-flag-backup-files): Ditto.
3939
3940 * dired-x.el (dired-mark-sexp): Ditto.
3941
39422011-07-06 Richard Stallman <rms@gnu.org>
3943
3944 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3945 (rmail-mime-entity): New arg TRUNCATED.
3946 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3947 New functions.
3948 (rmail-mime-save): Warn if entity is truncated.
3949 (rmail-mime-toggle-hidden): Likewise, for showing.
3950 (rmail-mime-process-multipart): Record when an entity is truncated.
3951
3952 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3953 if ENTITY is a string.
3954
39552011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3956
3957 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
3958 of faces when `M-C-x'-ing their definitions (bug#8378).
3959 Also clean up the code slightly.
3960
3961 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3962 because that makes the colors go away.
3963
3964 * mail/sendmail.el (send-mail-function): Change the default to
3965 `sendmail-query-once'.
3966 (sendmail-query-once): Add an autoload cookie.
3967
3968 * net/network-stream.el (network-stream-open-starttls): Try using
3969 a plain connection even if the server offered STARTTLS, and we
3970 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3971 capability. This should make smtpmail.el work in slightly more
3972 configurations.
3973
39742011-07-06 Michael Albinus <michael.albinus@gmx.de>
3975
3976 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3977 New defun.
3978 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3979
39802011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3981
3982 * progmodes/sql.el: Version 3.0
3983 (sql-product-alist): Add product :completion-object,
3984 :completion-column, and :statement attributes.
3985 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
3986 (sql-mode-syntax-table): Mark all punctuation.
3987 (sql-font-lock-keywords-builder): Temporarily remove fallback on
3988 ansi keywords.
3989 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
3990 (sql-mode-oracle-font-lock-keywords): Improve.
3991 (sql-oracle-show-reserved-words): New function for development.
3992 (sql-product-font-lock): Simplify for source code buffers.
3993 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3994 New functions.
3995 (sql-highlight-product): Set product specific syntax table.
3996 (sql-mode-map): Add statement movement functions.
3997 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3998 New variable.
3999 (sql-statement-regexp, sql-beginning-of-statement)
4000 (sql-end-of-statement, sql-signum): New functions.
4001 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
4002 (sql-show-sqli-buffer): Bug fix.
4003 (sql-interactive-mode): Store connection data as buffer local.
4004 (sql-connect): Add NEW-NAME parameter. Redesign interaction
4005 with sql-interactive-mode.
4006 (sql-save-connection): Save buffer local settings.
4007 (sql-connection-menu-filter): Change menu entry name.
4008 (sql-product-interactive): Bug fix.
4009 (sql-preoutput-hold): New variable.
4010 (sql-interactive-remove-continuation-prompt): Bug fixes.
4011 (sql-debug-redirect): New variable.
4012 (sql-str-literal): New function.
4013 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
4014 Redesign.
4015 (sql-oracle-save-settings, sql-oracle-restore-settings)
4016 (sql-oracle-list-all, sql-oracle-list-table): New functions.
4017 (sql-completion-object, sql-completion-column)
4018 (sql-completion-sqlbuf): New variables.
4019 (sql-build-completions-1, sql-build-completions)
4020 (sql-try-completion): New functions.
4021 (sql-read-table-name): Use them.
4022 (sql-contains-names): New buffer local variable.
4023 (sql-list-all, sql-list-table): Use it.
4024 (sql-oracle-completion-types): New variable.
4025 (sql-oracle-completion-object, sql-sqlite-completion-object)
4026 (sql-postgres-completion-object): New functions.
4027
40282011-07-06 Glenn Morris <rgm@gnu.org>
4029
4030 * window.el (pop-to-buffer): Doc fix.
4031
40322011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
4033
4034 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4035
40362011-07-06 Chong Yidong <cyd@stupidchicken.com>
4037
4038 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4039
4040 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
4041
40422011-07-05 Chong Yidong <cyd@stupidchicken.com>
4043
4044 * button.el (button): Inherit from link face. Suggested by Dan
4045 Nicolaescu.
4046
40472011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * progmodes/gdb-mi.el: Fit in 80 columns.
4050 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4051 switch-to-buffer.
4052
4053 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4054 if imenu is simply not configured (bug#8941).
4055
40562011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
4057
4058 * allout.el (allout-post-undo-hook): New allout outline-change
4059 event hook to signal undo activity.
4060 (allout-post-command-business): Run allout-post-undo-hook if an
4061 undo just occurred.
4062 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4063 * allout-widgets.el (allout-widgets-after-undo-function):
4064 Ensure the integrity of the current item's decoration after it has been
4065 in the vicinity of an undo.
4066 (allout-widgets-mode): Include allout-widgets-after-undo-function
4067 on the new allout-post-undo-hook.
4068
40692011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4070
4071 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4072 Let define-derived-mode define it.
4073 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4074 cycles of abbrev-table inheritance (bug#8998).
4075
40762011-07-05 Roland Winkler <winkler@gnu.org>
4077
4078 * textmodes/bibtex.el: Add support for biblatex.
4079 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4080 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4081 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4082 (bibtex-entry-alist, bibtex-field-alist): New variables.
4083 (bibtex-entry-field-alist): Obsolete alias for
4084 bibtex-BibTeX-entry-alist.
4085 (bibtex-entry-alist, bibtex-field-alist): New widgets.
4086 (bibtex-set-dialect): New command.
4087 (bibtex-entry-type, bibtex-entry-head)
4088 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4089 Bind via bibtex-set-dialect.
4090 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4091 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4092 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4093 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4094 Define via bibtex-set-dialect.
4095 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4096 Obey bibtex-no-opt-remove-re.
4097 (bibtex-vec-push, bibtex-vec-incr): New functions.
4098 (bibtex-format-entry, bibtex-field-list)
4099 (bibtex-print-help-message, bibtex-validate)
4100 (bibtex-search-entries): Use new format of bibtex-entry-alist.
4101
41022011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4103
4104 * progmodes/compile.el (compilation-goto-locus):
4105 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4106 * bs.el (bs-cycle-next, bs-cycle-previous):
4107 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4108 * bindings.el (mode-line-other-buffer):
4109 * autoinsert.el (auto-insert):
4110 * arc-mode.el (archive-extract):
4111 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4112
41132011-07-05 Juanma Barranquero <lekktu@gmail.com>
4114
4115 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4116 Fix check of `emacs-lock-unlockable-modes'.
4117 Coerce true values of `emacs-lock--try-unlocking' to t.
4118
41192011-07-05 Juanma Barranquero <lekktu@gmail.com>
4120
4121 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4122 * emacs-lock.el: New file.
4123
41242011-07-05 Julien Danjou <julien@danjou.info>
4125
4126 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4127 than `boundp' to check if face is set.
4128
41292011-07-05 Juanma Barranquero <lekktu@gmail.com>
4130
4131 * register.el (registerv-make):
4132 * window.el (window-min-height): Fix typos in docstrings.
4133
41342011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4135
4136 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4137 Update doc string.
4138
41392011-07-04 Juanma Barranquero <lekktu@gmail.com>
4140
4141 * server.el (server-execute): Catch quit and call
4142 `server-return-error' to pass the error back to emacsclient and
4143 close the connection (bug#8942).
4144
41452011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
4146
4147 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4148 insecure exception for current topic. Also note that auto-saves
4149 are handled differently.
4150
4151 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4152 State variables for tracking auto-save inhibition situation.
4153
4154 (allout-write-contents-hook-handler): Rename from
4155 'allout-write-file-hook-handler', and describe how it depends on
4156 write-contents-functions sensitivity to non-nil value to prevent
4157 file write.
4158
4159 (allout-auto-save-hook-handler): Remove. auto-save does not check
4160 this in individual buffers, only in the starting buffer, so this
4161 is not the right way for us to inhibit auto-save in a buffer
4162 according to its condition.
4163
4164 (allout-mode): Use new allout-write-contents-hook-handler, and
4165 only with write-contents-functions. Remove auto-save provisions -
4166 they're implemented elsewhere.
4167
4168 (allout-before-change-handler): If undo is in progress, note that
4169 for attention of allout-post-command-business.
4170
4171 (allout-post-command-business): If the command we're following was
4172 an undo, check for change in the status of encrypted items and
4173 adjust auto-save inhibitions accordingly.
4174
4175 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4176 according to whether there are or aren't any plain-text topics
4177 pending encryption.
4178
4179 (allout-inhibit-auto-save-info-for-decryption):
4180 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
4181 there are plain-text topics pending encryption.
4182
4183 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4184 buffer-saved-size and some allout state to not inhibit auto-saves
4185 if there are no longer any plain-text topics pending encryption.
4186
4187 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4188 No longer provide for exemption of the current topic.
4189
41902011-07-04 Juri Linkov <juri@jurta.org>
4191
4192 Add 7z operations to delete and save changed members (bug#8968).
4193 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4194 New defcustoms.
4195 (archive-7z-write-file-member): New function.
4196 (archive-7z-summarize): Fix the number of dashes in the
4197 listing output.
4198
41992011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4200
4201 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4202 (bug#8958).
4203
42042011-07-04 Chong Yidong <cyd@stupidchicken.com>
4205
4206 * bindings.el: Ignore next-buffer and previous-buffer in
4207 minibuffer-local-map.
4208
4209 * font-lock.el (font-lock-builtin-face): Change light background
4210 color to dark slate blue (Bug#6693).
4211
42122011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4213
4214 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4215
42162011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4217
4218 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4219 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4220 Add switch-to-buffer.
4221
42222011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4223
4224 * isearch.el (isearch-search-fun-function): Clarify further the
4225 meaning of the function returned.
4226
42272011-07-04 Michael Albinus <michael.albinus@gmx.de>
4228
4229 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4230
4231 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4232 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4233 Use it.
4234 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4235 `tramp-default-remote-path' does not exist.
4236 (tramp-send-command-and-read): New optional argument NOERROR.
4237 (tramp-open-connection-setup-interactive-shell)
4238 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4239 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4240 (tramp-process-sentinel): Flush also process' connection property.
4241 (tramp-sh-handle-start-file-process): Do not set process
4242 sentinel. It is done now ...
4243 (tramp-maybe-open-connection): ... here. (Bug#8929)
4244
42452011-07-04 MON KEY <monkey@sandpframing.com>
4246
4247 * play/animate.el (animate-string): Doc fixes and allow changing
4248 the buffer name (bug#5417).
4249
42502011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4251
4252 * play/animate.el (animation-buffer-name): Rename from *animate*.
4253
42542011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4255
4256 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4257 This is simpler and helps future-proof the code.
4258 (timer-until): Use time-subtract and float-time.
4259 (timer--time-less-p): Use time-less-p.
4260
42612011-07-04 Juanma Barranquero <lekktu@gmail.com>
4262
4263 * type-break.el (timep): Use the value of `float-time' to avoid a
4264 byte-compiler warning.
4265
4266 * server.el (server-eval-and-print): Return any result, even nil.
4267
42682011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4269
4270 * type-break.el: Accept time formats that the builtins accept.
4271 (timep, type-break-time-difference): Accept any format that
4272 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4273 This is simpler and helps future-proof the code.
4274 (type-break-time-difference): Round rather than ignoring
4275 subseconds components.
4276
42772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4278
4279 * info.el (Info-apropos-matches): Make non-interactive, since it
4280 doesn't seem to do anything useful as a command (bug#8829).
4281
42822011-07-03 Chong Yidong <cyd@stupidchicken.com>
4283
4284 * frame.el (frame-background-mode, frame-set-background-mode):
4285 Move from faces.el.
4286 (frame-default-terminal-background): New function.
4287
4288 * custom.el (custom-push-theme): Don't record faces in `changed'
4289 theme; this doesn't work correctly for per-frame face settings.
4290 (disable-theme): Use face-set-after-frame-default to reset faces.
4291 (custom--frame-color-default): New function.
4292
42932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4294
4295 * dired.el (dired-flagging-regexp): Remove unused variable
4296 (bug#8769).
4297
42982011-03-29 Kevin Ryde <user42@zip.com.au>
4299
4300 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4301 `perl-Test2' extend to match possible "fail #N" rep count
4302 (bug#8377).
4303
43042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4305
4306 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4307 `smtpmail-via-smtp' now returns the error instead of nil.
4308
4309 * isearch.el (isearch-search-fun-function): Clarify the doc string
4310 (bug#8101).
4311
43122011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
4313
4314 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4315 unnecessary spaces (bug#8987).
4316
43172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4318
4319 * net/network-stream.el (open-network-stream): Use the
4320 :end-of-capability command thoughout.
4321
43222011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4323
4324 * net/network-stream.el (open-network-stream): Add the
4325 :end-of-capability command parameter, used by pop3.el.
4326
43272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4328
4329 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4330
4331 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4332 for list)" (bug#6475).
4333
4334 * files.el (file-expand-wildcards): Ignore non-readable
4335 sub-directories while trying to find matches instead of signaling
4336 an error (bug#6297).
4337
4338 * man.el (Man-reference-regexp): Allow matching possible
4339 word-wrapped references (bug#6289).
4340
4341 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4342 for consistency with the other vc buffers (bug#6197).
4343 (vc-checkin): Ditto.
4344
4345 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4346
4347 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4348
43492011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4350
4351 * custom.el (defcustom): Clarify that :set is only used in the
4352 Customize user interface (bug#6089).
4353
4354 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4355 associated with a file, refuse to run instead of erroring out
4356 (bug#6084).
4357
4358 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4359 the doc string, since it appears that using `fill-column' always
4360 controls the width (bug#7845).
4361
4362 * simple.el (shell-command-on-region): Say where the error output
4363 went if `shell-command-default-error-buffer' is set (bug#6857).
4364
43652011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4366
4367 * allout.el (allout-yank-processing): Adjust cursor position for
4368 backwards-deleted space.
4369
4370 (allout-rebullet-heading): Register changes with
4371 allout-exposure-changed-hook, so the modified topic is properly
4372 decorated.
4373
43742011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4375
4376 * minibuffer.el (completion-in-region): Document PREDICATE
4377 (bug#7136).
4378
4379 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4380 of keyword/argument pairs (bug#6904).
4381
4382 * replace.el (multi-occur):
4383 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
4384
43852011-07-02 Drew Adams <drew.adams@oracle.com>
4386
4387 * dired.el (dired-mark-if): Make the message about whether it's
4388 marking or unmarking clearer (bug#8523).
4389
43902011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4391
4392 * disp-table.el (display-table-print-array): New function.
4393 (describe-display-table): Use it to print the vectors more pretty
4394 (Bug#8859).
4395
43962011-07-02 Martin Rudalics <rudalics@gmx.at>
4397
4398 * window.el (window-state-get-1): Don't assign clone numbers.
4399 Add clone-of item to list of window parameters.
4400 (window-state-put-2): Don't process clone numbers.
4401 (display-buffer-alist): Fix doc-string.
4402
44032011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 * subr.el (remq): Don't allocate if it's not needed.
4406 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4407 (keymap--merge-bindings): New functions.
4408 (keymap-canonicalize): Use them to refine the canonicalization.
4409 * minibuffer.el (minibuffer-local-completion-map)
4410 (minibuffer-local-must-match-map): Move initialization from C.
4411 (minibuffer-local-filename-completion-map): Move initialization from C;
4412 don't inherit from anything here.
4413 (minibuffer-local-filename-must-match-map): Make obsolete.
4414 (completing-read-default): Use make-composed-keymap to combine
4415 minibuffer-local-filename-completion-map with either
4416 minibuffer-local-must-match-map or
4417 minibuffer-local-filename-completion-map.
4418
44192011-07-01 Glenn Morris <rgm@gnu.org>
4420
4421 * type-break.el (type-break-time-sum): Use dolist.
4422
4423 * textmodes/flyspell.el (flyspell-word-search-backward):
4424 Replace CL function.
4425
44262011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 * mouse.el (mouse--strip-first-event): New function.
4429 (function-key-map): Use it to map fringe clicks to normal clicks
4430 by default.
4431
4432 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4433 (vc-bzr-revision-completion-table): Add support for annotate and date.
4434
4435 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4436 inherit from parent.
4437
44382011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4439
4440 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
4441 (dired-show-file-type): Doc fixup (bug#8818).
4442
4443 * dired.el (dired-mode): Fix up the doc string as suggested by
4444 Drew Adams (bug#8817).
4445
4446 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4447 cookie, since the manual says that it should be possible to add
4448 this function to `find-file-hook' (bug#8709).
4449
44502011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4451
4452 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4453 here. Noted Ted Zlatanov as the maintainer.
4454 (cfengine-common-settings, cfengine-common-syntax): New functions
4455 to set up common things between `cfengine-mode' and
4456 `cfengine3-mode'.
4457 (cfengine3-mode): New mode.
4458 (cfengine3-defuns cfengine3-defuns-regex
4459 (cfengine3-class-selector-regex cfengine3-category-regex)
4460 (cfengine3-vartypes cfengine3-font-lock-keywords)
4461 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
4462 (cfengine3-indent-line): Add from cfengine3.el.
4463
44642011-07-01 Michael Albinus <michael.albinus@gmx.de>
4465
4466 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4467
4468 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4469
44702011-07-01 Martin Rudalics <rudalics@gmx.at>
4471
4472 * window.el (same-window-buffer-names, same-window-regexps)
4473 (same-window-p, special-display-frame-alist)
4474 (special-display-popup-frame, special-display-function)
4475 (special-display-buffer-names, special-display-regexps)
4476 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4477 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4478 (split-window-preferred-function, split-height-threshold)
4479 (split-width-threshold, even-window-heights)
4480 (display-buffer-mark-dedicated, window-splittable-p)
4481 (split-window-sensibly, window-safely-shrinkable-p):
4482 Un-obsolete.
4483 (display-buffer): Don't spread args with function specifier
4484 because special-display-popup-frame won't like it.
4485
44862011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4487
4488 Time-stamp simplifications and fixes.
4489 These improve accuracy slightly, and future-proof the code
4490 against some potential changes to current-time format.
4491
4492 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4493 by using time-since and float-time.
4494
4495 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4496 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4497 + NNN microseconds".
4498
4499 * type-break.el (type-break-time-sum): Rewrite using time-add.
4500
4501 * play/hanoi.el (hanoi-current-time-float): Remove.
4502 All uses replaced by float-time.
4503
4504 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4505 This yields a more-accurate answer.
4506 (rng-time-to-float): Remove; no longer needed.
4507
4508 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4509
4510 * calendar/timeclock.el (timeclock-seconds-to-time):
4511 Defalias to seconds-to-time, since they're the same thing.
4512
4513 * emacs-lisp/elp.el (elp-elapsed-time):
4514 * emacs-lisp/benchmark.el (benchmark-elapse):
4515 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4516
45172011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * window.el (bury-buffer): Don't iconify the only frame.
4520 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4521 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4522
45232011-07-01 Chong Yidong <cyd@stupidchicken.com>
4524
4525 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4526 Add mouse-yank-primary.
4527
45282011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4529
4530 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4531
45322011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4534 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4535 (find-library-name): Use it to find relative load names when provided
4536 absolute file name (bug#8803).
4537
45382011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4539
4540 * textmodes/flyspell.el (flyspell-word): Consider words that
4541 differ only in case as potential doublons (bug#5687).
4542
4543 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4544 Remove two rather uninteresting debugging-like messages to make
4545 debbugs.el more silent.
4546
4547 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4548 a password-like phrase.
4549
45502011-06-30 Mastake YAMATO <yamato@redhat.com>
4551
4552 * progmodes/cc-guess.el: New file.
4553
4554 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
4555
4556 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4557 derived from `c-basic-common-init'.
4558
4559 * progmodes/cc-mode.el (top-level): Require cc-guess.
4560 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4561
45622011-06-30 Lawrence Mitchell <wence@gmx.li>
4563
4564 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4565
45662011-06-30 Alan Mackenzie <acm@muc.de>
4567
4568 * progmodes/cc-engine.el (c-guess-continued-construct):
4569 Correct the handling of template-args-cont, particularly for when font
4570 lock is disabled. Name this case as "CASE G".
4571
45722011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4573
4574 * allout.el (allout-yank-processing): Fix injection of extra space
4575 between bullet and non-whitespace character in first topic when
4576 pasting, ensuring that the actual spacing in the pasted topic
4577 following the bullet char is preserved. This extra space was
4578 causing pasted encrypted topics to get a decrypted status even
4579 when the content was actually still encrypted. Now the decryption
4580 status from before the paste is preserved.
4581
4582 (allout-flag-region): Set all allout overlays so they evaporate
4583 when reduced to zero length (evanescent), to prevent overlay
4584 leakage.
4585
45862011-06-30 Glenn Morris <rgm@gnu.org>
4587
4588 * w32-fns.el (w32-charset-info-alist): Declare.
4589
4590 * find-dired.el (find-grep-options): Simplify.
4591
4592 * term/ns-win.el (ns-set-resource): Declare.
4593
4594 * ses.el (row, col): Declare dynamic variables honestly.
4595
4596 * textmodes/reftex-parse.el (index-tags): Declare.
4597
45982011-06-30 Chong Yidong <cyd@stupidchicken.com>
4599
4600 * cus-edit.el (customize-push-and-save): New function.
4601
4602 * files.el (hack-local-variables-confirm): Use it.
4603
4604 * custom.el (load-theme): New arg NO-CONFIRM.
4605 Use customize-push-and-save (Bug#8720).
4606 (custom-enabled-themes): Doc fix.
4607
4608 * cus-theme.el (customize-create-theme)
4609 (custom-theme-merge-theme): Callers to load-theme changed.
4610
46112011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4612
4613 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4614 short URLs have at least one dot in them (bug #7614).
4615
4616 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4617 nil, because using a pty is apparently too slow (bug #895).
4618
46192011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4620
4621 * mail/sendmail.el (sendmail-query-once): New function.
4622 (sendmail-query-once-function): New variable.
4623
46242011-06-29 Glenn Morris <rgm@gnu.org>
4625
4626 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4627
4628 * ses.el (top-level): Require cl when compiling.
4629 (ses-set-localvars): Fix error statement.
4630 Call it at compile time to silence a storm of warnings.
4631
46322011-06-29 Martin Rudalics <rudalics@gmx.at>
4633
4634 * window.el (normalize-live-buffer): Rename to
4635 window-normalize-buffer.
4636 (normalize-live-frame): Rename to window-normalize-frame.
4637 (normalize-any-window): Rename to window-normalize-any-window.
4638 (normalize-live-window): Rename to window-normalize-live-window.
4639 (make-window-atom): Rename to window-make-atom.
4640 (window-resize-reset): Rename to window--resize-reset.
4641 (window-resize-reset-1): Rename to window--resize-reset-1.
4642 (resize-mini-window): Rename to window--resize-mini-window.
4643 (resize-subwindows-skip-p): Rename to
4644 window--resize-subwindows-skip-p.
4645 (resize-subwindows-normal): Rename to
4646 window--resize-subwindows-normal.
4647 (resize-subwindows): Rename to window--resize-subwindows.
4648 (resize-other-windows): Rename to window--resize-siblings.
4649 (resize-this-window): Rename to window--resize-this-window.
4650 (resize-root-window): Rename to window--resize-root-window.
4651 (resize-root-window-vertically): Rename to
4652 window--resize-root-window-vertically.
4653 (normalize-buffer-to-display): Rename to
4654 window-normalize-buffer-to-display.
4655 (normalize-buffer-to-switch-to): Rename to
4656 window-normalize-buffer-to-switch-to.
4657 Correspondingly update all callers of the functions listed
4658 above.
4659 (display-buffer-alist, display-buffer-normalize-arguments)
4660 (display-buffer-normalize-options, display-buffer)
4661 (display-buffer-alist-set): Use "function" instead of
4662 "fun-with-args".
4663
46642011-06-28 Chong Yidong <cyd@stupidchicken.com>
4665
4666 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4667 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4668 debbugs.gnu.org. Mention acknowledgment email.
4669
46702011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4671
4672 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4673 buffer multibyteness, since it shouldn't matter.
4674
46752011-06-28 Martin Rudalics <rudalics@gmx.at>
4676
4677 * window.el (display-buffer-in-side-window): Handle dedicated
4678 windows as in display-buffer-reuse-window.
4679 (display-buffer-normalize-alist): Use value of override
4680 specifier.
4681 (display-buffer-normalize-specifiers): Use value of
4682 other-window-means-other-frame specifier.
4683 (display-buffer-alist): Rewrite some texts in widgets.
4684 (display-buffer): Spread arguments when calling function
4685 specified by fun-with-args.
4686
46872011-06-28 Deniz Dogan <deniz@dogan.se>
4688
4689 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4690 Unnest `let'.
4691
4692 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4693 selectors (Bug#5732).
4694 (css-proprietary-nmstart-re): Use `regexp-opt'.
4695
46962011-06-27 Jari Aalto <jari.aalto@cante.net>
4697
4698 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4699 (eshell-ls-date-format): New defcustom.
4700 (eshell-ls-file): Use it.
4701
47022011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4703
4704 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4705
47062011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4707
4708 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4709 (ange-ftp-make-tmp-name): New arg.
4710 (ange-ftp-file-local-copy): Use it.
4711
47122011-06-27 Jambunathan K <kjambunathan@gmail.com>
4713
4714 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4715 no-conversion (Bug#8870).
4716
47172011-06-27 Martin Rudalics <rudalics@gmx.at>
4718
4719 * window.el (window-right, window-left, window-child)
4720 (window-child-count, window-last-child)
4721 (window-iso-combination-p, walk-window-tree-1)
4722 (window-atom-check-1, window-tree-1, delete-window)
4723 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4724 new naming conventions - window-vchild, window-hchild,
4725 window-next and window-prev are now called window-top-child,
4726 window-left-child, window-next-sibling and window-prev-sibling
4727 respectively.
4728 (resize-window-reset): Rename to window-resize-reset.
4729 (resize-window-reset-1): Rename to window-resize-reset-1.
4730 (resize-window): Rename to window-resize.
4731 (window-min-height, window-min-width)
4732 (resize-mini-window, resize-this-window, resize-root-window)
4733 (resize-root-window-vertically, adjust-window-trailing-edge)
4734 (enlarge-window, shrink-window, maximize-window)
4735 (minimize-window, delete-window, quit-restore-window)
4736 (split-window, balance-windows, balance-windows-area-adjust)
4737 (balance-windows-area, window-state-put-2)
4738 (display-buffer-even-window-sizes, display-buffer-set-height)
4739 (display-buffer-set-width, set-window-text-height)
4740 (fit-window-to-buffer): Rename all "resize-window" prefixed
4741 calls to use the "window-resize" prefix convention.
4742 (display-buffer-alist): Fix symbol for label specifier.
4743 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4744 corresponding specifier.
4745 Reported by Juanma Barranquero <lekktu@gmail.com>.
4746
47472011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4748
4749 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4750 convention.
4751 (ses-call-printer): Does not pass an empty string to formatter when the
4752 cell is empty to keep from barking printer Calc math-format-value.
4753
47542011-06-27 Richard Stallman <rms@gnu.org>
4755
4756 * battery.el (battery-mode-line-limit): New variable.
4757 (battery-update): Handle it.
4758
4759 * mail/rmailmm.el (rmail-mime-process-multipart):
4760 Handle truncated messages.
4761
47622011-06-27 Glenn Morris <rgm@gnu.org>
4763
4764 * progmodes/flymake.el (flymake-err-line-patterns):
4765 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4766
47672011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4768
4769 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
4770 (ses--clean-!, ses--clean-_): New functions.
4771 (ses-range): Add configurability of readout order, and conversion
4772 to Calc vector.
4773
4774 * ses.el (ses-repair-cell-reference-all): New function.
4775 (ses-cell-symbol): Set macro as safe, so that it can be used in
4776 formulas.
4777
4778 * ses.el: Update cycle detection algorithm.
4779 (ses-localvars): Add ses--Dijkstra-attempt-nb and
4780 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
4781 (ses-set-localvars): New function.
4782 (ses-make-cell): Add property-list as a cell element.
4783 (ses-cell-property-get-fun, ses-cell-property-get)
4784 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
4785 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4786 New functions.
4787 (ses-cell-property-set, ses-cell-property-pop)
4788 (ses-cell-property-get-handle): New macro.
4789 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4790 New aliases, used for code readability.
4791 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4792 cycle detection.
4793 (ses-self-reference-early-detection): New defcustom.
4794 (ses-formula-references): Robustify against self-refering cells.
4795 (ses-mode): Use ses-set-localvars.
4796 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4797 before lauching the update processing.
4798 (ses-initialize-Dijkstra-attempt): New function.
4799 (ses-recalculate-cell): Update for cycle detection based on
4800 Dijkstra algorithm.
4801
4802 * ses.el: Fix commenting and indenting convention.
4803
48042011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4805
4806 * bs.el (bs-cycle-next): Complete last change.
4807
48082011-06-27 Drew Adams <drew.adams@oracle.com>
4809
4810 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4811
48122011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4813
4814 * net/network-stream.el (network-stream-open-starttls):
4815 Don't re-get capabilities unless we've reestablished connection.
4816 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4817
4818 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4819 to binary to possibly avoid line encoding issues on Windows (among
4820 other things).
4821
48222011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4823
4824 * net/network-stream.el (open-network-stream): Return an :error
4825 saying what the problem was, if possible.
4826
4827 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4828 server.
4829
4830 * net/network-stream.el (network-stream-open-starttls): If we
4831 wanted to use STARTTLS, and the server offered it, but we weren't
4832 able to because we had no STARTTLS support, then close the connection.
4833 (open-network-stream): Return an :error element, if present.
4834
48352011-06-26 Chong Yidong <cyd@stupidchicken.com>
4836
4837 * hl-line.el (hl-line-sticky-flag): Doc fix.
4838 (global-hl-line-sticky-flag): New option (Bug#8323).
4839 (global-hl-line-highlight): Obey it.
4840
4841 * vc/vc.el (vc-revert-show-diff): Default to t.
4842
48432011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4844
4845 * allout-widgets.el (allout-widgets-post-command-business):
4846 Stop decorating intermediate isearch matches. They're not being
4847 undecorated when an isearch is continued past, and isearch
4848 automatically collapses them. This leads to "widget leaks", where
4849 decorated items accumulate in collapsed areas. Lines with lots of
4850 hidden widgets can slow down cursor travel, substantially.
4851 Too much complicated machinery would be needed to ensure undecoration,
4852 so we're doing without this nicety.
4853
4854 (allout-widgets-tally-string): Don't try to do a hash-table-count
4855 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4856 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4857 *Messages* when allout-widgets-maintain-tally is t.
4858
48592011-06-26 Martin Rudalics <rudalics@gmx.at>
4860
4861 * window.el (display-buffer-normalize-argument): Rename to
4862 display-buffer-normalize-arguments. Handle special meaning of
4863 LABEL argument. Respect special-display-function when popping up
4864 a new frame. Fix code searching for a window showing the buffer
4865 on another frame.
4866 (display-buffer-normalize-specifiers):
4867 Call display-buffer-normalize-arguments.
4868 (display-buffer-in-window): Don't undedicate the window if its
4869 buffer remains the same.
4870 Reported by Drew Adams <drew.adams@oracle.com>.
4871 (display-buffer-alist): Add choice for same-window macro
4872 specfier.
4873 (display-buffer): Mention special meaning of LABEL argument in
4874 doc-string. Fix quoting. Don't pop up a new frame even as
4875 fallback.
4876
48772011-06-26 Juanma Barranquero <lekktu@gmail.com>
4878
4879 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4880 avoid deleting the current window in some cases (bug#8911).
4881
48822011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4883
4884 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4885 (Bug#8934)
4886
48872011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4888
4889 * net/network-stream.el (network-stream-open-starttls):
4890 Use built-in TLS support if `gnutls-available-p' is true.
4891 (network-stream-open-tls): Ditto.
4892
48932011-06-26 Leo Liu <sdl.web@gmail.com>
4894
4895 * register.el (registerv): New struct.
4896 (registerv-make): New function.
4897 (jump-to-register, describe-register-1, insert-register):
4898 Support the jump-func, print-func and insert-func slot of a registerv
4899 struct. (Bug#8415)
4900
49012011-06-26 Chong Yidong <cyd@stupidchicken.com>
4902
4903 * vc/vc.el (vc-revert-show-diff): New defcustom.
4904 (vc-diff-internal): New arg specifying diff buffer.
4905 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4906 reuse an existing *vc-diff* buffer (Bug#8927).
4907
4908 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4909
49102011-06-26 Glenn Morris <rgm@gnu.org>
4911
4912 * progmodes/f90.el (f90-critical-indent): New option.
4913 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4914 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4915 (f90-mode): Doc fix.
4916 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4917 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4918 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4919 (f90-match-end): Handle block, critical.
4920
49212011-06-25 Glenn Morris <rgm@gnu.org>
4922
4923 * calendar/diary-lib.el (diary-included-files): Doc fix.
4924 (diary-include-files): New function, extracted from
4925 diary-include-other-diary-files and diary-mark-included-diary-files.
4926 (diary-include-other-diary-files, diary-mark-included-diary-files):
4927 Just call diary-include-files.
4928 (diary-mark-entries): Reset diary-included-files on first call.
4929
4930 * calendar/diary-lib.el (diary-mark-entries)
4931 (diary-mark-included-diary-files):
4932 Visit included diary-files in temp buffers.
4933
4934 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4935 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4936 (f90-start-block-re, f90-imenu-generic-expression)
4937 (f90-looking-at-program-block-start, f90-no-block-limit):
4938 Add support for submodules.
4939
4940 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4941 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
4942
49432011-06-25 Eli Zaretskii <eliz@gnu.org>
4944
4945 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4946 buffer-file-type before setting its value, to avoid disastrous
4947 global effects on decoding files for DOS/Windows systems. (Bug#8780)
4948
49492011-06-25 Juanma Barranquero <lekktu@gmail.com>
4950
4951 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4952
4953 * ses.el (ses-unload-function):
4954 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4955
4956 * proced.el (proced-unload-function):
4957 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4958
49592011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4960
4961 * server.el (server-create-window-system-frame): Add parameters arg.
4962 (server-process-filter): Doc fix. Handle frame-parameters.
4963
49642011-06-25 Juanma Barranquero <lekktu@gmail.com>
4965
4966 Fix bug#8730, bug#8781.
4967
4968 * loadhist.el (unload--set-major-mode): New function.
4969 (unload-feature): Use it.
4970
4971 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4972 (python-unload-function): New function.
4973
49742011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4975
4976 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4977
49782011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4979
4980 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4981 the candidates list.
4982
49832011-06-24 Juanma Barranquero <lekktu@gmail.com>
4984
4985 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4986
49872011-06-23 Richard Stallman <rms@gnu.org>
4988
4989 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4990 (rmail-variables): Set next-error-move-function.
4991 (rmail-what-message): Take argument POS.
4992 (rmail-next-error-move): New function.
4993
49942011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4995
4996 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4997 messages for adjacent non-terminals.
4998
49992011-06-23 Richard Stallman <rms@gnu.org>
5000
5001 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
5002 (rmail-show-message-1): Preserve buffer modified flag.
5003 (rmail-start-mail): Don't specify use of rmail-mail-return;
5004 that's done by mail-bury now.
5005 (rmail-mail-return): Handle arg NEWBUF.
5006
50072011-06-23 Michael Albinus <michael.albinus@gmx.de>
5008
5009 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5010 SIZE is a number.
5011
50122011-06-23 Martin Rudalics <rudalics@gmx.at>
5013
5014 * window.el (get-lru-window, get-mru-window)
5015 (get-largest-window): Never return a minibuffer window.
5016 (display-buffer-pop-up-window): Fix a bug that could lead to
5017 reusing the minibuffer window.
5018 (display-buffer): Pass original specifier argument to
5019 display-buffer-function instead of the normalized one.
5020 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5021
50222011-06-22 Leo Liu <sdl.web@gmail.com>
5023
5024 * minibuffer.el (completing-read-function)
5025 (completing-read-default): Move from minibuf.c
5026
50272011-06-22 Richard Stallman <rms@gnu.org>
5028
5029 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5030 to Rmail even if not started by a special Rmail command.
5031
5032 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5033 Copy the buffer currently showing just one message.
5034
50352011-06-22 Roland Winkler <winkler@gnu.org>
5036
5037 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5038 (bibtex-clean-entry): First delete the old key so that a
5039 customized algorithm for generating the new key does not get
5040 confused by the old key.
5041 (bibtex-url): Obey regexp of first step.
5042 (bibtex-search-entries): Do not use add-to-list with local
5043 list-var.
5044
50452011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5046
5047 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5048 stored a user name, then query for the password first, instead of
5049 waiting for SMTP to give an error message and the trying again.
5050
50512011-06-22 Lawrence Mitchell <wence@gmx.li>
5052
5053 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5054 BUFFER in call-process.
5055
50562011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5057
5058 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5059 QUIT twice.
5060 (smtpmail-try-auth-methods): Require user name and password from
5061 auth-source.
5062
50632011-06-22 Martin Rudalics <rudalics@gmx.at>
5064
5065 * window.el (display-buffer-default-specifiers)
5066 (display-buffer-alist): Remove entries for pop-up-frame-alist.
5067 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
5068 (split-window): Normalize SIDE argument (Bug#8916).
5069
5070 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5071 (special-display-frame-alist, special-display-popup-frame):
5072 Remove duplicate declarations. These are now in window.el.
5073
50742011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5075
5076 * mail/smtpmail.el (smtpmail-via-smtp):
5077 Set :use-starttls-if-possible so that we always use STARTTLS if the
5078 server supports it. SMTP servers that support STARTTLS commonly
5079 require it.
5080
5081 * net/network-stream.el (network-stream-open-starttls): Support
5082 upgrading to STARTTLS always, even if we don't have built-in support.
5083 (open-network-stream): Add the :always-query-capabilies keyword.
5084
5085 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5086 upgrades with `open-network-stream', and rely solely on
5087 auth-source for all credentials. Big changes throughout the file,
5088 but in particular:
5089 (smtpmail-auth-credentials): Remove.
5090 (smtpmail-starttls-credentials): Remove.
5091 (smtpmail-via-smtp): Check for servers saying they want AUTH after
5092 MAIL FROM, too.
5093
5094 * net/network-stream.el (network-stream-open-starttls):
5095 Provide support for client certificates both for external and built-in
5096 STARTTLS.
5097 (auth-source): Require.
5098 (open-network-stream): Document the :client-certificate keyword.
5099 (network-stream-certificate): Change cert-cert to cert and
5100 cert-key to key.
5101
51022011-06-21 Michael Albinus <michael.albinus@gmx.de>
5103
5104 * net/tramp-cache.el (top): Don't load the persistency file when
5105 "emacs -Q" has been called.
5106
51072011-06-21 Tim Harper <timcharper@gmail.com>
5108
5109 * term/ns-win.el (ns-initialize-window-system):
5110 Set application-specific `ApplePressAndHoldEnabled' system
5111 resource to NO as it is not yet supported by the NS port.
5112
51132011-06-21 Juanma Barranquero <lekktu@gmail.com>
5114
5115 * misc.el (list-dynamic-libraries--refresh): Compute header here...
5116 (list-dynamic-libraries): ...not here.
5117
51182011-06-21 Leo Liu <sdl.web@gmail.com>
5119
5120 * subr.el (sha1): Implement sha1 using secure-hash.
5121
51222011-06-21 Martin Rudalics <rudalics@gmx.at>
5123
5124 * window.el (display-buffer-alist): In default value do not
5125 enforce searching a window on any but the selected frame.
5126 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5127 (display-buffer-select-window): Remove function.
5128 (display-buffer-in-window): When a window on another frame gets
5129 reused, do not select it any more but just raise its frame if
5130 necessary (Bug#8851) and (Bug#8856).
5131 (display-buffer-normalize-options): Handle pop-up-frames related
5132 options more faithfully.
5133 (pop-to-buffer): Don't rely on `display-buffer' selecting the
5134 window if it is on another frame.
5135 (display-buffer-alist, display-buffer-default-specifiers):
5136 Don't make new frame unsplittable by default.
5137 (display-buffer-normalize-argument): Fix doc-string typo and use
5138 'same-frame-other-window instead of 'other-window when associating
5139 with display-buffer-macro-specifiers.
5140
51412011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
5142
5143 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5144 New functions.
5145 (5x5-mode-map, 5x5-mode-menu): Bind them.
5146 (5x5-draw-grid): Tweak the solver's rendering.
5147
51482011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5149
5150 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5151 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
5152
51532011-06-21 Drew Adams <drew.adams@oracle.com>
5154
5155 * menu-bar.el: Use function variable instead of switch-to-buffer.
5156 (menu-bar-select-buffer-function): New variable.
5157 (menu-bar-update-buffers): Use it (bug#8876).
5158
51592011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5160
5161 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5162 variable's status.
5163
51642011-06-20 Jan Djärv <jan.h.d@swipnet.se>
5165
5166 * x-dnd.el (x-dnd-version-from-flags)
5167 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5168 and long as number (Bug#8899).
5169 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5170
51712011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5172
5173 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
5174 (completion-try-completion, completion-all-completions): Compute the
5175 metadata argument if it's missing; make it optional (bug#8795).
5176
5177 * wid-edit.el: Use lex-bind and move towards completion-at-point.
5178 (widget-complete): Use new :completion-function property.
5179 (widget-completions-at-point): New function.
5180 (default): Use :completion-function instead of :complete.
5181 (widget-default-completions): Rename from widget-default-complete;
5182 Rewrite.
5183 (widget-string-complete, widget-file-complete, widget-color-complete):
5184 Remove functions.
5185 (file, symbol, function, variable, coding-system, color):
5186 * international/mule-cmds.el (default-input-method, charset)
5187 (language-info-custom-alist):
5188 * cus-edit.el (face): Use new property :completions.
5189
5190 * progmodes/pascal.el (pascal-completions-at-point): New function.
5191 (pascal-mode): Use it.
5192 (pascal-mode-map): Use completion-at-point.
5193 (pascal-toggle-completions): Make obsolete.
5194 (pascal-complete-word, pascal-show-completions):
5195 * progmodes/octave-mod.el (octave-complete-symbol):
5196 Redefine as obsolete alias.
5197 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5198 Signal absence of completion info for old Octave,
5199 (inferior-octave-complete): Redefine as obsolete alias.
5200 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5201 (meta-completions-at-point): Rename from meta-complete-symbol and
5202 adapt it for use on completion-at-point-functions.
5203 (meta-common-mode): Use it.
5204 (meta-looking-at-backward, meta-match-buffer): Remove.
5205 (meta-complete-symbol): Redefine as obsolete alias.
5206 (meta-common-mode-map): Use completion-at-point.
5207 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5208 (makefile-mode-map): Use completion-at-point.
5209 (makefile-completions-at-point): Rename from makefile-complete and
5210 adapt it for use on completion-at-point-functions.
5211 (makefile-mode): Use it.
5212 (makefile-complete): Redefine as obsolete alias.
5213
52142011-06-20 Deniz Dogan <deniz@dogan.se>
5215
5216 * net/rcirc.el: Delete trailing whitespaces once and for all.
5217
52182011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5219
5220 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5221
52222011-06-19 Chong Yidong <cyd@stupidchicken.com>
5223
5224 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5225
5226 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5227
52282011-06-19 Martin Rudalics <rudalics@gmx.at>
5229
5230 * window.el (display-buffer-other-window-means-other-frame):
5231 Call display-buffer-normalize-alist.
5232 (display-buffer-normalize-specifiers-1): Rename to
5233 display-buffer-normalize-argument. New argument other-frame.
5234 Rewrite.
5235 (display-buffer-normalize-specifiers-2): Rename to
5236 display-buffer-normalize-options.
5237 (display-buffer-normalize-alist-1): New function.
5238 (display-buffer-normalize-specifiers-3): Rename to
5239 display-buffer-normalize-alist.
5240 Call display-buffer-normalize-alist-1.
5241 (display-buffer-normalize-options-inhibit): New variable.
5242 (display-buffer-normalize-specifiers): Rewrite calling
5243 display-buffer-normalize-alist,
5244 display-buffer-normalize-argument, and
5245 display-buffer-normalize-options. Don't call the latter if
5246 display-buffer-normalize-options-inhibit is non-nil.
5247 (frame-auto-delete): New option.
5248 (window-deletable-p): Use frame-auto-delete.
5249 (window-list-no-nils, window-state-ignored-parameters)
5250 (window-state-get-1, window-state-get, window-state-put-list)
5251 (window-state-put-1, window-state-put-2, window-state-put):
5252 New functions.
5253 (display-buffer-normalize-options): Move special-display-p group
5254 after pop-up-frame group (Bug#8851) and (Bug#8856).
5255
52562011-06-18 Chong Yidong <cyd@stupidchicken.com>
5257
5258 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5259 groups (Bug#8776).
5260 (rx-submatch-n): New function.
5261 (rx): Document it.
5262
5263 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5264 (Bug#8768).
5265
5266 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5267
5268 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5269
5270 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5271 anytime existing face settings are present (Bug#8889).
5272
5273 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5274 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5275 Remove unused argument.
5276
52772011-06-18 Martin Rudalics <rudalics@gmx.at>
5278
5279 * window.el (display-buffer-default-specifiers):
5280 Remove pop-up-frame. Add pop-up-window-min-height,
5281 pop-up-window-min-width, and another reuse-window specifier
5282 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
5283 (display-buffer-normalize-specifiers-2):
5284 Handle split-height-threshold and split-width-threshold also when
5285 pop-up-windows is unset. Add a reuse-window specifier for the
5286 case popping up a new window fails.
5287 (special-display-popup-frame): Remove double quoting.
5288 (display-buffer-normalize-specifiers-1): Fix thinko.
5289
52902011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5291
5292 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5293 according to comint-completion-addsuffix.
5294
5295 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5296 (pcomplete-suffix-list): Mark as obsolete.
5297 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5298 pcomplete-seen in the closure.
5299 (pcomplete-comint-setup): Setup completion-at-point as well.
5300 (pcomplete--entries): New function.
5301 (pcomplete--env-regexp): New var.
5302 (pcomplete-entries): Rewrite to work with partial-completion and
5303 without relying on pcomplete-suffix-list.
5304 (pcomplete-pare-list): Remove, unused.
5305
53062011-06-17 Martin Rudalics <rudalics@gmx.at>
5307
5308 * window.el (display-buffer-alist): Set pop-up-window-min-height
5309 and pop-up-window-min-width in default value. Reported by
5310 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5311 other-window-means-other-frame.
5312 (display-buffer-macro-specifiers): Comment out entry for
5313 other-window specifier.
5314 (display-buffer-other-window-means-other-frame): New function.
5315 (display-buffer-normalize-specifiers-1): New arguments
5316 buffer-name and label. Treat other-window case specially.
5317 (display-buffer-normalize-specifiers-2): Treat other-window case
5318 specially.
5319 (display-buffer-normalize-specifiers-3): New function.
5320 (display-buffer-normalize-specifiers):
5321 Call display-buffer-normalize-specifiers-3.
5322
53232011-06-17 Martin Rudalics <rudalics@gmx.at>
5324
5325 * window.el (same-window-p): Fix two typos introduced when
5326 adding with-no-warnings.
5327 (display-buffer-normalize-specifiers-1): Don't check
5328 pop-up-frames for 'unset initialization.
5329 (display-buffer-normalize-specifiers-2): Major rewrite using
5330 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5331 (pop-up-frames, display-buffer-reuse-frames)
5332 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5333 Suggested by David Engster <deng@randomsample.de>.
5334 (even-window-heights): Initialize to 'unset.
5335 (display-buffer-alist-set): Handle new 'unset initializations.
5336 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5337 other window case.
5338
53392011-06-16 Martin Rudalics <rudalics@gmx.at>
5340
5341 * window.el (display-buffer-normalize-specifiers-1):
5342 Respect current value of pop-up-frames for most reasonable values of
5343 second argument of display-buffer (Bug#8865).
5344 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5345 (switch-to-buffer-other-window-same-frame)
5346 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5347 Adams (Bug#8875).
5348 (display-buffer): Don't check noninteractive when calling
5349 display-buffer-pop-up-frame.
5350 (display-buffer-pop-up-frame): Never pop up a frame in
5351 noninteractive mode (Bug#8857).
5352 (enlarge-window, shrink-window): Don't report an error when the
5353 window can't be resized as requested (Bug#8862).
5354
53552011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5356
5357 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5358
5359 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5360
5361 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5362
53632011-06-15 Alan Mackenzie <acm@muc.de>
5364
5365 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5366 for declarators, disable knr checking to speed up for normal files.
5367 2: Refactor, replacing a sequence of nested if forms by a cond form.
5368
53692011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5370
5371 * net/network-stream.el (open-network-stream): Add the keyword
5372 :always-query-capabilities for the case where you want to force a
5373 `plain' network connection, but the protocol still requires the
5374 capabilitiy command (i.e., SMTP and EHLO).
5375
5376 * subr.el (process-live-p): Rename from `process-alive-p' for
5377 consistency with other `-live-p' functions.
5378
53792011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * window.el (same-window-buffer-names, same-window-regexps)
5382 (special-display-frame-alist, special-display-popup-frame)
5383 (special-display-function, special-display-buffer-names)
5384 (special-display-regexps, pop-up-frame-alist)
5385 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5386 (pop-up-windows, split-window-preferred-function)
5387 (split-height-threshold, split-width-threshold, even-window-heights)
5388 (display-buffer-mark-dedicated): Don't encourage the use of
5389 display-buffer-alist from Elisp code.
5390
53912011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5392
5393 * progmodes/python.el (python-mode): Derive from prog-mode.
5394 * progmodes/ps-mode.el (ps-mode):
5395 * progmodes/mixal-mode.el (mixal-mode):
5396 * progmodes/cfengine.el (cfengine-mode):
5397 * progmodes/ld-script.el (ld-script-mode): Likewise.
5398
53992011-06-15 Martin Rudalics <rudalics@gmx.at>
5400
5401 * window.el (display-buffer-alist): Trim default value to avoid
5402 popping up a new frame (Bug#8857) or reusing an arbitrary window
5403 on another frame.
5404 (display-buffer): Do not fall back on popping up a new frame in
5405 batch mode (Bug#8857).
5406
54072011-06-14 Chong Yidong <cyd@stupidchicken.com>
5408
5409 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5410 (custom-theme-summary): New function.
5411 (customize-themes): Use it.
5412
54132011-06-13 Glenn Morris <rgm@gnu.org>
5414
5415 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5416
54172011-06-13 Martin Rudalics <rudalics@gmx.at>
5418
5419 * help.el (help-window): Remove variable.
5420 (help-window-point-marker, temp-buffer-max-height)
5421 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5422 (help-print-return-message): Don't set help-window.
5423 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5424 (help-window-setup-finish): Remove.
5425 (help-window-display-message, help-window-setup)
5426 (with-help-window): Major rewrite based on new
5427 display-buffer-window variable.
5428
5429 * help-mode.el (help-mode-finish): Remove help-window related
5430 code.
5431
5432 * view.el (view-exits-all-viewing-windows): Remove reference to
5433 view-return-to-alist in doc-string.
5434 (view-return-to-alist): Make obsolete.
5435 (view-buffer): Call pop-to-buffer-same-window and remove
5436 undo-window code.
5437 (view-buffer-other-window): Call pop-to-buffer-other-window and
5438 simplify code. Ignore second argument.
5439 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5440 simplify code. Ignore second argument.
5441 (view-return-to-alist-update): Make obsolete.
5442 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5443 Rewrite using quit-restore window parameters.
5444 (view-mode-exit): Rename second argument to EXIT-ONLY.
5445 Rewrite using quit-restore-window.
5446 (View-exit, View-exit-and-edit, View-leave, View-quit)
5447 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5448 appropriate arguments.
5449 (view-end-message): Use quit-restore window parameter.
5450
5451 * window.el (display-buffer-function): Rewrite doc-string.
5452 (display-buffer-window, display-buffer-alist): New variables.
5453 (display-buffer-split-specifiers)
5454 (display-buffer-side-specifiers)
5455 (display-buffer-macro-specifiers): New constants.
5456 (display-buffer-even-window-sizes, display-buffer-set-height)
5457 (display-buffer-set-width, display-buffer-select-window)
5458 (display-buffer-in-window, display-buffer-reuse-window)
5459 (display-buffer-split-window-1, display-buffer-split-window)
5460 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5461 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5462 (display-buffer-in-side-window, normalize-buffer-to-display)
5463 (display-buffer-normalize-specifiers-1)
5464 (display-buffer-normalize-specifiers-2)
5465 (display-buffer-normalize-specifiers, display-buffer-frame):
5466 New functions.
5467 (display-buffer): Major rewrite.
5468 (display-buffer-other-window, display-buffer-other-frame)
5469 (pop-to-buffer, switch-to-buffer-other-window)
5470 (switch-to-buffer-other-frame): Rewrite.
5471 (display-buffer-same-window, display-buffer-same-frame)
5472 (display-buffer-same-frame-other-window)
5473 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5474 (pop-to-buffer-other-window)
5475 (pop-to-buffer-same-frame-other-window)
5476 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5477 (switch-to-buffer-other-window-same-frame): New functions.
5478 (same-window-p, special-display-p): Rewrite disabling warnings.
5479 Make obsolete.
5480 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5481 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5482 Make obsolete
5483 (same-window-buffer-names, same-window-regexps)
5484 (special-display-frame-alist, special-display-popup-frame)
5485 (special-display-function, special-display-buffer-names)
5486 (special-display-regexps, pop-up-frame-alist)
5487 (pop-up-frame-function, split-window-preferred-function)
5488 (split-height-threshold, split-width-threshold)
5489 (even-window-heights): Make obsolete.
5490
54912011-06-12 Glenn Morris <rgm@gnu.org>
5492
5493 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
5494 Misc simplifications.
5495
54962011-06-12 Martin Rudalics <rudalics@gmx.at>
5497
5498 * window.el (window-safely-shrinkable-p): Restore function which
5499 was inadvertently removed in change from 2011-06-11. Declare as
5500 obsolete.
5501
5502 * calendar/calendar.el (calendar-generate-window):
5503 Use window-iso-combined-p instead of combination of one-window-p and
5504 window-safely-shrinkable-p.
5505
55062011-06-12 Glenn Morris <rgm@gnu.org>
5507
5508 * progmodes/fortran.el (fortran-mode-syntax-table):
5509 * progmodes/f90.el (f90-mode-syntax-table):
5510 Set % to punctuation. (Bug#8820)
5511 (f90-find-tag-default): Remove, no longer needed.
5512
55132011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5514
5515 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5516
55172011-06-11 Chong Yidong <cyd@stupidchicken.com>
5518
5519 * image.el (image-animated-p): Return animation delay in seconds.
5520 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5521 (image-animate-timeout): Remove DELAY argument. Don't assume
5522 every subimage has the same delay; get it from image-animated-p.
5523 (image-animate): Caller changed.
5524
55252011-06-11 Michael Albinus <michael.albinus@gmx.de>
5526
5527 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5528 to ignored backtrace functions.
5529
55302011-06-11 Glenn Morris <rgm@gnu.org>
5531
5532 * calendar/appt.el (appt-disp-window-function): Doc fix.
5533 (appt-check): Handle overlapping appointments. (Bug#8337)
5534
55352011-06-11 Martin Rudalics <rudalics@gmx.at>
5536
5537 * window.el (window-tree-1, window-tree): New functions, moving
5538 the latter to window.el.
5539 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5540 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5541 (bw-refresh-edges): Remove.
5542 (balance-windows-1, balance-windows-2): New functions.
5543 (balance-windows): Rewrite in terms of window tree functions,
5544 balance-windows-1 and balance-windows-2.
5545 (bw-adjust-window): Remove.
5546 (balance-windows-area-adjust): New function with functionality of
5547 bw-adjust-window but using resize-window.
5548 (set-window-text-height): Rewrite doc-string.
5549 Use normalize-live-window and resize-window.
5550 (enlarge-window-horizontally, shrink-window-horizontally):
5551 Rename argument to DELTA.
5552 (window-buffer-height): New function.
5553 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5554 Rewrite using new window resize routines.
5555 (kill-buffer-and-window, mouse-autoselect-window-select):
5556 Use ignore-errors instead of condition-case.
5557 (quit-window): Call delete-frame instead of delete-windows-on
5558 for the only buffer on frame.
5559
55602011-06-10 Martin Rudalics <rudalics@gmx.at>
5561
5562 * loadup.el (top-level): Load window before files for the sake
5563 of replace-buffer-in-windows.
5564
5565 * files.el (read-buffer-to-switch)
5566 (switch-to-buffer-other-window)
5567 (switch-to-buffer-other-frame, display-buffer-other-frame):
5568 Move to window.el.
5569
5570 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5571 (previous-buffer): Move to window.el.
5572
5573 * bindings.el (unbury-buffer): Move to window.el.
5574
5575 * window.el (delete-other-windows-vertically): Move after
5576 definition of delete-other-windows.
5577 (other-window, delete-windows-on, replace-buffer-in-windows):
5578 Move here from window.c.
5579 (record-window-buffer, unrecord-window-buffer)
5580 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5581 (switch-to-next-buffer): New functions.
5582 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5583 from simple.el. Call switch-to-next-buffer.
5584 (previous-buffer): Move here from simple.el.
5585 Call switch-to-prev-buffer.
5586 (bury-buffer): Move here from buffer.c. Switch to previous
5587 buffer when window cannot be deleted.
5588 (unbury-buffer): Move here from bindings.el.
5589 (ctl-x-map): Move binding for other-window from window.c to
5590 here.
5591 (read-buffer-to-switch, switch-to-buffer-other-window)
5592 (switch-to-buffer-other-frame): Move here from files.el.
5593 (normalize-buffer-to-switch-to): New functions.
5594 (switch-to-buffer): Move here from buffer.c.
5595 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
5596
55972011-06-10 Martin Rudalics <rudalics@gmx.at>
5598
5599 * window.el (window-min-height, window-min-width): Move here
5600 from window.c. Add defcustoms and rewrite doc-strings.
5601 (resize-mini-window, resize-window): New functions.
5602 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5603 Move here from window.c.
5604 (maximize-window, minimize-window): New functions.
5605 (delete-window, delete-other-windows, split-window): Move here
5606 from window.c.
5607 (window-split-min-size): New function.
5608 (split-window-keep-point): Mention split-window-above-each-other
5609 instead of split-window-vertically.
5610 (split-window-above-each-other, split-window-vertically):
5611 Rename split-window-vertically to split-window-above-each-other and
5612 provide defalias for old definition.
5613 (split-window-side-by-side, split-window-horizontally): Rename
5614 split-window-horizontally to split-window-side-by-side and provide
5615 defalias for the old definition.
5616 (ctl-x-map): Move bindings for delete-window,
5617 delete-other-windows and enlarge-window here from window.c.
5618 Replace bindings for split-window-vertically and
5619 split-window-horizontally by bindings for
5620 split-window-above-each-other and split-window-side-by-side.
5621
5622 * cus-start.el (all): Remove entries for window-min-height and
5623 window-min-width. Add entries for window-splits and
5624 window-nest.
5625
56262011-06-09 Glenn Morris <rgm@gnu.org>
5627
5628 * calendar/appt.el (appt-mode-line): New function.
5629 (appt-check, appt-disp-window): Use it.
5630
5631 * files.el (hack-one-local-variable-eval-safep):
5632 Allow minor-modes with explicit +/-1 arguments.
5633
56342011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5635
5636 * term/xterm.el (xterm): Add defgroup.
5637 (xterm-extra-capabilities): Add defcustom to supply known xterm
5638 capabilities, skip querying them, or query them (default).
5639 (terminal-init-xterm): Use it.
5640 (terminal-init-xterm-modify-other-keys): New function to set up
5641 modifyOtherKeys support to simplify `terminal-init-xterm'.
5642
56432011-06-09 Martin Rudalics <rudalics@gmx.at>
5644
5645 * window.el (resize-window-reset, resize-window-reset-1)
5646 (resize-subwindows-skip-p, resize-subwindows-normal)
5647 (resize-subwindows, resize-other-windows, resize-this-window)
5648 (resize-root-window, resize-root-window-vertically)
5649 (window-deletable-p, window-or-subwindow-p)
5650 (frame-root-window-p): New functions.
5651
56522011-06-09 Glenn Morris <rgm@gnu.org>
5653
5654 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5655 (ange-ftp-get-files): Use it.
5656
56572011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5658
5659 * mail/sendmail.el (mail-recover-1, mail-recover):
5660 * files.el (recover-file, recover-session):
5661 Handle dired-listing-switches not being just a single short option.
5662
56632011-06-09 Glenn Morris <rgm@gnu.org>
5664
5665 * calendar/appt.el (appt-display-message, appt-disp-window):
5666 Handle lists of appointments.
5667
56682011-06-08 Martin Rudalics <rudalics@gmx.at>
5669
5670 * window.el (one-window-p): Move down in code.
5671 Rewrite doc-string.
5672 (window-current-scroll-bars): Rewrite doc-string.
5673 Normalize live window argument.
5674 (walk-windows, get-window-with-predicate, count-windows):
5675 Rewrite doc-string. Use window-list-1.
5676 (window-in-direction-2, window-in-direction, get-mru-window):
5677 New functions.
5678
56792011-06-08 Reuben Thomas <rrt@sc3d.org>
5680
5681 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5682 Doc fix (Bug#8713).
5683
56842011-06-08 Chong Yidong <cyd@stupidchicken.com>
5685
5686 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5687
56882011-06-08 Juanma Barranquero <lekktu@gmail.com>
5689
5690 * loadhist.el (unload-feature-special-hooks):
5691 Add `comint-output-filter-functions'.
5692
56932011-06-08 Ivan Kanis <gnu@kanis.fr>
5694
5695 * calendar/appt.el (appt-check): Move some initializations into the let.
5696
56972011-06-08 Martin Rudalics <rudalics@gmx.at>
5698
5699 * window.el (window-height): Defalias to window-total-height.
5700 (window-width): Defalias to window-body-width.
5701
57022011-06-07 Chong Yidong <cyd@stupidchicken.com>
5703
5704 * image-mode.el (image-toggle-animation): New command.
5705 (image-mode-map): Bind it to RET.
5706 (image-mode): Update message.
5707 (image-toggle-display-image): Avoid a spurious cache flush.
5708 (image-transform-rotation): Doc fix.
5709 (image-transform-properties): Return quickly in the normal case.
5710 (image-animate-loop): Rename from image-animate-max-time.
5711
5712 * image.el (image-animate-max-time): Move to image-mode.el.
5713 (create-animated-image): Remove unnecessary function.
5714 (image-animate): Rename from image-animate-start. New arg.
5715 (image-animate-stop): Remove; just use image-animate-timer.
5716 (image-animate-timer): Use car-safe.
5717 (image-animate-timeout): Rename argument.
5718
57192011-06-07 Martin Rudalics <rudalics@gmx.at>
5720
5721 * window.el (get-lru-window, get-largest-window): Move here from
5722 window.c. Rename first argument to ALL-FRAMES.
5723 Rephrase doc-strings.
5724 (get-buffer-window-list): Rewrite using window-list-1.
5725 Rephrase doc-string.
5726 (window-safe-min-height, window-safe-min-width): New constants.
5727 (window-size-ignore, window-min-size, window-min-size-1)
5728 (window-sizable, window-sizable-p, window-size-fixed-1)
5729 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5730 (window-max-delta-1, window-max-delta, window-resizable)
5731 (window-resizable-p, window-total-height, window-total-width)
5732 (window-body-width): New functions.
5733 (window-full-height-p, window-full-width-p): Rewrite using
5734 window-total-size.
5735 (window-body-height): Rewrite using window-body-size.
5736
57372011-06-06 Martin Rudalics <rudalics@gmx.at>
5738
5739 * window.el (window-right, window-left, window-child)
5740 (window-child-count, window-last-child, window-any-p)
5741 (normalize-live-buffer, normalize-live-frame)
5742 (normalize-any-window, normalize-live-window)
5743 (window-iso-combination-p, window-iso-combined-p)
5744 (window-iso-combinations)
5745 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5746 (windows-with-parameter, window-with-parameter)
5747 (window-atom-root, make-window-atom, window-atom-check-1)
5748 (window-atom-check, window-side-check, window-check):
5749 New functions.
5750 (ignore-window-parameters, window-sides, window-sides-vertical)
5751 (window-sides-slots): New variables.
5752 (window-size-fixed): Move down in code. Minor doc-string fix.
5753
57542011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5755
5756 * comint.el (comint-dynamic-complete-as-filename)
5757 (comint-dynamic-complete-filename): Correctly call
5758 completion-in-region.
5759
57602011-06-05 Deniz Dogan <deniz@dogan.se>
5761
5762 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5763 in last change.
5764
57652011-06-05 Deniz Dogan <deniz@dogan.se>
5766
5767 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5768 (rcirc): Use it to prompt for encryption.
5769
57702011-06-05 Roland Winkler <winkler@gnu.org>
5771
5772 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5773 (bibtex-search-entries): New command bound to C-c C-a.
5774 (bibtex-display-entries): New function.
5775
57762011-06-05 Roland Winkler <winkler@gnu.org>
5777
5778 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5779 (bibtex-insert-kill): After yanking insert newline if necessary.
5780 (bibtex-initialize): Call bibtex-string-files-init only once.
5781 (bibtex-mode): Do not call easy-menu-add.
5782 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5783 (bibtex-yank): Set arg properly if nil.
5784
57852011-06-05 Roland Winkler <winkler@gnu.org>
5786
5787 * textmodes/bibtex.el (bibtex-search-entry-globally):
5788 New variable.
5789 (bibtex-search-entry): Use it.
5790
57912011-06-05 Roland Winkler <winkler@gnu.org>
5792
5793 * textmodes/bibtex.el (bibtex-entry-format): New option
5794 sort-fields.
5795 (bibtex-format-entry, bibtex-reformat): Honor this option.
5796 (bibtex-parse-entry): Return fields in proper order.
5797
57982011-06-05 Juanma Barranquero <lekktu@gmail.com>
5799
5800 * doc-view.el (doc-view-remove-if): Move computation of result out
5801 of `dolist' to silence misleading lexical-binding warning.
5802
58032011-06-04 Chong Yidong <cyd@stupidchicken.com>
5804
5805 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5806 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5807
58082011-06-04 Michael Albinus <michael.albinus@gmx.de>
5809
5810 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5811 "SunOS 5.10".
5812
58132011-06-04 Michael Albinus <michael.albinus@gmx.de>
5814
5815 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5816 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5817 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5818 (tramp-parse-putty):
5819 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5820 (tramp-completion-function-alist-ssh)
5821 (tramp-completion-function-alist-telnet)
5822 (tramp-completion-function-alist-su)
5823 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5824 cookie.
5825
5826 * net/tramp-ftp.el:
5827 * net/tramp-sh.el:
5828 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5829 load "tramp.el" `tramp-set-completion-function'.
5830
58312011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * shell.el: Require and use pcomplete.
5834 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5835 (shell-completion-vars): Set pcomplete-default-completion-function.
5836
58372011-06-04 Deniz Dogan <deniz@dogan.se>
5838
5839 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5840 `memq' (Bug#8799).
5841
58422011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5843
5844 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5845
58462011-06-02 Juanma Barranquero <lekktu@gmail.com>
5847
5848 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5849 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5850 * vc/log-view.el (log-view-beginning-of-defun):
5851 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5852 (smerge-refine-forward, smerge-refine-chopup-region):
5853 Silence warning for unused `dotimes' counter variables.
5854
58552011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 * net/tramp.el (tramp-with-progress-reporter): Rename from
5858 with-progress-reporter. Use `declare'.
5859 * net/tramp-smb.el:
5860 * net/tramp-sh.el:
5861 * net/tramp-gvfs.el: Update all uses.
5862
58632011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5864
5865 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5866 buffer isn't killed before making it current.
5867
58682011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 Silence various byte-compiler warnings.
5871 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5872 `access-type' and new obsolescence format.
5873 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5874 new format.
5875 (byte-compile-check-variable): New `access-type' argument.
5876 Only warn if the access-type is obsolete.
5877 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5878 (byte-compile-variable-set): Adjust callers.
5879 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5880 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5881 setting it as obsolete.
5882 * simple.el (minibuffer-completing-symbol):
5883 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5884 access as obsolete.
5885 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5886 obsolete yet.
5887 * international/quail.el (quail-mouse-choose-completion): Remove unused
5888 code referring to obsolete var.
5889 (quail-choose-completion-string): Remove.
5890 * server.el (server-clients-with, server-kill-buffer-query-function)
5891 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5892 * proced.el (proced-send-signal):
5893 * emacs-lisp/lisp.el (lisp-complete-symbol):
5894 Replace completion-annotate-function with completion-extra-properties.
5895
58962011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5897
5898 * simple.el (goto-line): Use read-number.
5899 (overriding-map-is-bound): Remove.
5900 (saved-overriding-map): Change default.
5901 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5902 Take the map as argument.
5903 (universal-argument, negative-argument, digit-argument): Use it.
5904 (restore-overriding-map): Adjust.
5905 (do-auto-fill): Use fill-forward-paragraph.
5906 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5907
5908 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5909 (minibuffer-inactive-mode): New major mode.
5910 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5911 the *Messages* buffer" hack.
5912 (mouse-popup-menubar): Don't burp if the event is a normal key.
5913
5914 Miscellaneous tweaks.
5915 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5916 lexical scoping as in subr.el's dolist and dotimes.
5917 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5918 Silence compiler warning.
5919 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5920 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5921 * international/ccl.el (ccl-compile): Trivial simplification.
5922 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5923 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5924 `printflag' argument.
5925 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5926 Purecopy the whole obsolescence data.
5927
59282011-06-01 Leo Liu <sdl.web@gmail.com>
5929
5930 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5931 improve doc-string as suggested by Marco Pessotto
5932 <melmothx@gmail.com>.
5933 (rcirc-print): Fix last change.
5934
59352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5936
5937 * minibuffer.el (complete-with-action): Return nil for the metadata and
5938 boundaries of non-functional tables.
5939 (completion-table-dynamic): Return nil for the metadata.
5940 (completion-table-with-terminator): Add default case, using
5941 complete-with-action.
5942 (completion--metadata): New function.
5943 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5944 to try and avoid pathological performance problems.
5945 (completion--embedded-envvar-table): Return `category' metadata.
5946
59472011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5948
5949 * subr.el (process-alive-p): New tiny convenience function.
5950
59512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5952
5953 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5954 content but also its previous major mode.
5955
59562011-05-31 Helmut Eller <eller.helmut@gmail.com>
5957
5958 * emacs-lisp/debug.el (debug): Restore the previous content of the
5959 *Backtrace* buffer when we exit with C-M-c.
5960
59612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5962
5963 * minibuffer.el: Add metadata method to completion tables.
5964 (completion-category-overrides): New defcustom.
5965 (completion-metadata, completion--field-metadata)
5966 (completion-metadata-get, completion--styles)
5967 (completion--cycle-threshold): New functions.
5968 (completion-try-completion, completion-all-completions):
5969 Add `metadata' argument to choose completion-styles.
5970 (completion--do-completion): Use metadata to choose cycling.
5971 (completion-all-sorted-completions): Use metadata for sorting.
5972 Remove :completion-cycle-penalty which is not needed any more.
5973 (completion--try-word-completion): Add `metadata' argument.
5974 (minibuffer-completion-help): Check metadata for annotation function
5975 and sorting.
5976 (completion-file-name-table): Return `category' metadata.
5977 (minibuffer-completing-file-name): Make obsolete.
5978 * simple.el (minibuffer-completing-symbol): Make obsolete.
5979 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5980 completion-try-completion.
5981
59822011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5984 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5985
59862011-05-30 Leo Liu <sdl.web@gmail.com>
5987
5988 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5989 (rcirc-print): Decode all incoming messages (bug#8744).
5990 (rcirc-decode-coding-system): Allow value nil for automatic coding
5991 system detection.
5992
59932011-06-01 Glenn Morris <rgm@gnu.org>
5994
5995 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5996
59972011-05-29 Chong Yidong <cyd@stupidchicken.com>
5998
5999 * image.el (image-animate-max-time): Allow nil and t values.
6000 Default to nil.
6001 (create-animated-image): Doc fix.
6002 (image-animate-start): Remove second arg; just use
6003 image-animate-max-time.
6004 (image-animate-timeout): Doc fix. Args changed.
6005
6006 * image-mode.el (image-toggle-display-image): Ensure that the
6007 image spec passed to the animate timer is the same object as in
6008 the buffer's display property (Bug#6981).
6009 (image-transform-properties): Doc fix.
6010
6011 * image.el (image-animate-max-time): Default to nil.
6012
60132011-05-29 Martin Rudalics <rudalics@gmx.at>
6014
6015 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6016 entire buffer list (Bug#8184).
6017
60182011-05-29 Chong Yidong <cyd@stupidchicken.com>
6019
6020 * image.el (imagemagick-types-inhibit)
6021 (imagemagick-register-types): Doc fix.
6022
60232011-05-29 Deniz Dogan <deniz@dogan.se>
6024
6025 * net/rcirc.el (rcirc): Use the user's stored encryption method by
6026 default.
6027
60282011-05-29 Chong Yidong <cyd@stupidchicken.com>
6029
6030 * select.el: Don't perform clipboard-manager saving in hooks;
6031 leave the hooks empty.
6032
60332011-05-28 Leo Liu <sdl.web@gmail.com>
6034
6035 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6036 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
6037 (occur-edit-mode): New major mode (Bug#8463).
6038 (occur-after-change-function): New function.
6039 (occur-engine): Give Occur tags a read-only property.
6040
60412011-05-28 Kevin Ryde <user42@zip.com.au>
6042
6043 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6044
60452011-05-28 Chong Yidong <cyd@stupidchicken.com>
6046
6047 * bindings.el (help-echo): Make the initial non-indicator dash
6048 empty on graphical terminals (Bug#7295).
6049
6050 * files.el (auto-mode-alist): Move config rule after the
6051 in-stripping one (Bug#8547).
6052
6053 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6054
6055 * startup.el (normal-splash-screen): Remove gratuitous mode-line
6056 setting (Bug#8740).
6057
60582011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
6059
6060 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6061 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6062 (Bug#8539).
6063
60642011-05-28 Chong Yidong <cyd@stupidchicken.com>
6065
6066 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6067
60682011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
6069
6070 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6071 (hs-hide-block-at-point, hs-find-block-beginning)
6072 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6073 (Bug#8279).
6074
60752011-05-28 Glenn Morris <rgm@gnu.org>
6076
6077 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
6078
60792011-05-28 Chong Yidong <cyd@stupidchicken.com>
6080
6081 * help-fns.el (describe-function-1): If the function is a derived
6082 major mode, print the parent mode.
6083
6084 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6085 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6086
60872011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * minibuffer.el (completion--capf-wrapper): Check applicability before
6090 returning non-nil for non-exclusive completion data.
6091 * progmodes/etags.el (tags-completion-at-point-function):
6092 * info-look.el (info-lookup-completions-at-point): Mark as
6093 non-exclusive.
6094 (info-complete): Adjust accordingly.
6095
6096 * info-look.el: Convert to lexical-binding and completion-at-point.
6097 (info-lookup-completions-at-point): New function.
6098 (info-complete): Use it and completion-in-region.
6099
61002011-05-28 Drew Adams <drew.adams@oracle.com>
6101
6102 * isearch.el: Let M-e start with point at the first mismatched char.
6103 (isearch-fail-pos): New function.
6104 (isearch-edit-string): Use it.
6105
61062011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6107
6108 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6109
61102009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6111
6112 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
6113 traversal functions for avl-trees.
6114 (avl-tree--stack): New struct.
6115 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6116 (avl-tree-enter): Add optional `updatefun' arg.
6117 (avl-tree--do-enter): Add optional `updatefun' arg.
6118 Change return value.
6119 (avl-tree-delete): Add optional `test' and `nilflag' args.
6120 (avl-tree--do-delete): Add `test' and `nilflag' args.
6121 Change return value.
6122 (avl-tree-member): Add optional `nilflag'
6123 (avl-tree-member-p): New function.
6124 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6125 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6126 (avl-tree-stack-empty-p): New functions.
6127
61282009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6129
6130 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6131 avl-tree--del-balance1 and make it work both ways.
6132 (avl-tree--del-balance2): Remove.
6133 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6134 make it work both ways.
6135 (avl-tree--enter-balance2): Remove.
6136 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6137 New macros.
6138 (avl-tree--mapc, avl-tree-map): Add direction argument.
6139
61402011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
6141
6142 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6143
61442011-05-27 Chong Yidong <cyd@stupidchicken.com>
6145
6146 * select.el: Support clipboard managers with built-in function
6147 x-clipboard-manager-save, via delete-frame-functions and
6148 kill-emacs-hook.
6149 (xselect-convert-to-targets): Add MULTIPLE target to list.
6150 (xselect-convert-to-save-targets): New function.
6151
61522011-05-27 Kenichi Handa <handa@m17n.org>
6153
6154 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6155 let-binding rfc2047-encode-encoded-words to nil.
6156
61572011-05-27 Glenn Morris <rgm@gnu.org>
6158
6159 * mail/emacsbug.el: Don't require url-util.
6160
6161 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
6162
6163 * files.el (set-auto-mode):
6164 Also respect mode: entries at the end of the file. (Bug#8586)
6165
61662011-05-26 Glenn Morris <rgm@gnu.org>
6167
6168 * files.el (hack-local-variables-prop-line, hack-local-variables):
6169 Downcase mode names, as seems to be traditional.
6170 (hack-local-variables, hack-local-variables-apply): Doc fixes.
6171
6172 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6173 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
6174
61752011-05-25 Julien Danjou <julien@danjou.info>
6176
6177 * textmodes/rst.el (rst-define-level-faces): Do not define face
6178 symbol if it is already defined.
6179
61802011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6181
6182 * play/5x5.el (5x5-new-game, 5x5-randomize):
6183 Reset 5x5-solver-output to nil when a new grid is cast.
6184 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6185 these debugging traces, as defmacro breaks the compiled code.
6186
61872011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6188
6189 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6190
61912011-05-24 Leo Liu <sdl.web@gmail.com>
6192
6193 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6194 (vc-bzr-sha1): Adapt.
6195
6196 * sha1.el: Remove. Function `sha1' is now builtin.
6197
6198 * bindings.el: Provide sha1 feature.
6199
62002011-05-24 Kenichi Handa <handa@m17n.org>
6201
6202 * mail/sendmail.el: Require `rfc2047'.
6203 (mail-insert-from-field): Do not perform RFC2047 encoding.
6204 (mail-encode-header): New function.
6205 (sendmail-send-it): Set buffer-file-coding-system of the work
6206 buffer to the return value of select-message-coding-system.
6207 Call mail-encode-header.
6208
6209 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6210
62112011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
6212
6213 * mail/supercite.el (sc-default-cite-frame):
6214 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
6215
62162011-05-24 Glenn Morris <rgm@gnu.org>
6217
6218 * progmodes/python.el (brm-menu): Declare.
6219
6220 * emulation/viper.el (viper-set-hooks): Declare.
6221
6222 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6223 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6224 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6225 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6226 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6227 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6228
62292011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6230
6231 Add an :exit-function for completion-at-point.
6232
6233 * minibuffer.el (completion--done): New fun.
6234 (completion--do-completion): Use it. New arg `expect-exact'.
6235 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6236 since completion--do-completion does it for us now.
6237 (minibuffer-force-complete): Use completion--done and
6238 completion--replace. Handle sole-completion case with more care.
6239 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6240 (completion-extra-properties): New var.
6241 (completion-annotate-function): Make obsolete.
6242 (minibuffer-completion-help): Adjust accordingly.
6243 Use completion-list-insert-choice-function.
6244 (completion-at-point, completion-help-at-point):
6245 Bind completion-extra-properties.
6246 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6247 * simple.el (completion-list-insert-choice-function): New var.
6248 (completion-setup-function): Preserve it.
6249 (choose-completion): Pay attention to it, shuffle the code a bit.
6250 (choose-completion-string): New arg `insert-function'.
6251
6252 * textmodes/bibtex.el: Convert to lexical binding.
6253 (bibtex-mode-map): Use completion-at-point.
6254 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6255 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6256 (bibtex-complete): Define as obsolete alias.
6257 (bibtex-complete-internal): Remove.
6258 (bibtex-format-entry): Remove unused sub-group in regexp.
6259 * shell.el (shell--command-completion-data)
6260 (shell-environment-variable-completion):
6261 * pcomplete.el (pcomplete-completions-at-point):
6262 * comint.el (comint--complete-file-name-data): Use :exit-function
6263 instead of completion-table-with-terminator so it also works for
6264 choose-completion.
6265
62662011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6268 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6269
6270 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6271 (bug#8710).
6272
6273 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6274
62752011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6276
6277 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6278 customization variable and implement: If non-nil, auto-fill will
6279 be inhibited while on topic's header line.
6280
62812011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6282
6283 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
6284 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
6285 always have a solution in grid size = 5 cases.
6286 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6287 (5x5-solver-output, 5x5-log-buffer): New vars.
6288 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6289 Make these variables buffer local to achieve 5x5 multi-session-ness.
6290 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6291 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6292 (5x5-solve-suggest): New funs.
6293 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6294 randomize a grid so that we ensure that there is always a solution.
6295 (5x5-make-random-grid): Allow other movement than flipping.
6296
62972011-05-23 Kevin Ryde <user42@zip.com.au>
6298
6299 * emacs-lisp/advice.el (ad-read-advised-function):
6300 Use `function-called-at-point' as the default default, if it has
6301 advice and passes PREDICATE.
6302
63032011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6304
6305 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6306 byte-compile-lambda if it's actually a lambda.
6307
6308 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6309 Fix function quoting. Use backquote better.
6310
63112011-05-22 Yuanle Song <sylecn@gmail.com>
6312
6313 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6314 matching (Bug#8516).
6315
63162011-01-22 Jari Aalto <jari.aalto@cante.net>
6317
6318 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6319 different face (Bug#8178).
6320
63212011-05-22 Chong Yidong <cyd@stupidchicken.com>
6322
6323 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6324 defface (Bug#8144).
6325
63262011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6327
6328 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6329 funcall as well (bug#8712). Warn when performing those conversions.
6330 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6331
6332 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6333
63342011-05-22 Glenn Morris <rgm@gnu.org>
6335
6336 * files.el (hack-local-variables-prop-line): Small simplifications.
6337 (hack-local-variables, hack-local-variables-prop-line):
6338 If MODE-ONLY, return the mode, rather than just `t'.
6339
63402011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6341
6342 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6343
63442011-05-21 Glenn Morris <rgm@gnu.org>
6345
6346 * files.el (hack-local-variables-prop-line, hack-local-variables):
6347 If only interested in the mode, don't bother doing the other stuff.
6348
6349 * image-mode.el (image-after-revert-hook):
6350 Redraw all frames on which the image is visible. (Bug#8567)
6351
6352 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6353
6354 * wid-edit.el (widget-checklist-match-inline):
6355 Fix 2011-04-19 change. (Bug#8649)
6356
63572011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6358
6359 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6360 Also allow singlespace after single-letter capitals followed by a dot.
6361
6362 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6363 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6364
63652011-05-20 Nix <nix@esperi.org.uk>
6366
6367 * files.el (basic-save-buffer-2):
6368 Fix handling of break-hardlink-on-save with non-existent files.
6369
63702011-05-19 Deniz Dogan <deniz@dogan.se>
6371
6372 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
6373 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
6374
63752011-05-19 Glenn Morris <rgm@gnu.org>
6376
6377 * progmodes/f90.el (f90-type-def-re):
6378 Handle "type, bind(c)". (Bug#8691)
6379
6380 * emacs-lisp/autoload.el (batch-update-autoloads):
6381 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6382
63832011-05-18 Michael Albinus <michael.albinus@gmx.de>
6384
6385 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6386 property for the correct connection in case of multihops.
6387
63882011-05-18 Glenn Morris <rgm@gnu.org>
6389
6390 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
6391 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6392
6393 Rationalize calendar handling of day and month abbrev-arrays.
6394 * calendar/calendar.el (calendar-customized-p): New function.
6395 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6396 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6397 Add :set function.
6398 (calendar-abbrev-length, calendar-day-abbrev-array)
6399 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6400 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6401 Elements may no longer be nil.
6402 (calendar-day-name, calendar-month-name):
6403 Update for changed nature of abbrev arrays.
6404 * calendar/diary-lib.el (diary-name-pattern):
6405 Update for changed nature of abbrev arrays.
6406 (diary-mark-entries-1): Update calendar-make-alist calls.
6407 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6408 * calendar/cal-html.el (cal-html-day-abbrev-array):
6409 Simply inherit from calendar-day-abbrev-array.
6410
64112011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * progmodes/grep.el (grep-mode): Disable default
6414 compilation-directory-matcher setting (bug#8684).
6415
64162011-05-17 Michael Albinus <michael.albinus@gmx.de>
6417
6418 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6419 instead of "head" and "tail". There were problems with SunOS 5.9,
6420 and it performs better.
6421
64222011-05-17 Glenn Morris <rgm@gnu.org>
6423
6424 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6425
6426 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6427 Replace obsolete function.
6428
6429 * shell.el (pcomplete-parse-arguments-function): Declare.
6430
6431 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6432 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6433 (appt-check): Doc fixes.
6434 (appt-disp-window-function, appt-delete-window-function):
6435 Remove needless special case in custom :type.
6436 (appt-display-count): Default to 0, not nil.
6437 (appt-check): Reset appt-display-count to 0, not nil.
6438
64392011-05-17 Juanma Barranquero <lekktu@gmail.com>
6440
6441 * progmodes/python.el (python-font-lock-keywords):
6442 Add the Python 3.X keyword "nonlocal" (bug#8639).
6443
64442011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6447
64482011-05-16 Kevin Ryde <user42@zip.com.au>
6449
6450 * info-look.el (makefile-automake-mode): New setups, looking in
6451 automake manual, then makefile-mode.
6452 (makefile-mode): Remove automake manual, have it just in
6453 makefile-automake-mode since there's various things different or
6454 not relevant to plain make.
6455 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6456 believe a hypothetical automake-mode would go to makefile-mode,
6457 not the other way around.
6458
64592011-05-15 Chong Yidong <cyd@stupidchicken.com>
6460
6461 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6462 hunk-end tags (Bug#8672).
6463
6464 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6465 vc-annotate-show-diff-revision-at-line (Bug#8671).
6466
64672011-05-14 Glenn Morris <rgm@gnu.org>
6468
6469 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6470 in the middle of an existing one with multiple authors. (Bug#8645)
6471 (change-log-font-lock-keywords): Also handle multiple author lines
6472 with leading tabs. (Bug#8644)
6473
6474 * calendar/appt.el (appt-check): Rename some local variables.
6475 Some simplification/reordering.
6476
6477 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6478 (feedmail-sendmail-f-doesnt-sell-me-out)
6479 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6480 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6481 (feedmail-queue-runner-message-sender): Set :version.
6482 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6483 (bbdb-dwim-net-address, vm-mail): Declare.
6484 (feedmail-binmail-gnulinuxish-template):
6485 Rename from feedmail-binmail-linuxish-template.
6486 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6487 Use insert-buffer-substring.
6488
64892011-05-14 Bill Carpenter <bill@carpenter.org>
6490
6491 * mail/feedmail.el (feedmail-patch-level): Increase.
6492 (feedmail-debug): New custom group.
6493 (feedmail-confirm-outgoing-timeout)
6494 (feedmail-sendmail-f-doesnt-sell-me-out)
6495 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6496 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6497 (feedmail-sender-line, feedmail-from-line)
6498 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
6499 (feedmail-spray-this-address)
6500 (feedmail-spray-address-fiddle-plex-list)
6501 (feedmail-queue-use-send-time-for-date)
6502 (feedmail-queue-use-send-time-for-message-id)
6503 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6504 (feedmail-buffer-eating-function):
6505 Doc fixes.
6506 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6507 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6508 (feedmail-message-action-scroll-down): New functions.
6509 (feedmail-queue-directory, feedmail-queue-draft-directory):
6510 Use expand-file-name.
6511 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6512 Remove C-v help entry.
6513 (feedmail-queue-buffer-file-name): New variable.
6514 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6515 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6516 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6517 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6518 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6519 (feedmail-message-action-toggle-spray)
6520 (feedmail-run-the-queue-no-prompts)
6521 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6522 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6523 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6524 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6525 (feedmail-envelope-deducer, feedmail-fiddle-from)
6526 (feedmail-fiddle-sender, feedmail-default-date-generator)
6527 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6528 (feedmail-fiddle-spray-address)
6529 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6530 (feedmail-fiddle-list-of-fiddle-plexes)
6531 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6532 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6533 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6534 Change default. Doc fix.
6535 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6536 (feedmail-binmail-linuxish-template): New constant.
6537 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6538 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6539 (feedmail-send-it): Add debug call.
6540 Use feedmail-queue-buffer-file-name, and
6541 feedmail-send-it-immediately-wrapper.
6542 (feedmail-message-action-send): Add debug call.
6543 Use feedmail-send-it-immediately-wrapper.
6544 (feedmail-queue-express-to-queue): Add debug call.
6545 Run feedmail-queue-express-hook.
6546 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6547 (feedmail-message-action-help-blat):
6548 Rename from feedmail-queue-send-edit-prompt-help-first.
6549 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6550 Check line-endings. Handle errors better.
6551 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6552 Doc fix. Add debug call.
6553 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6554 Use feedmail-queue-send-edit-prompt-inner.
6555 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6556 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6557 from feedmail-queue-send-edit-prompt.
6558 (feedmail-queue-send-edit-prompt-help)
6559 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6560 (feedmail-tidy-up-slug): Add debug call.
6561 Respect feedmail-queue-slug-suspect-regexp.
6562 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6563 (feedmail-dump-message-to-queue): Add debug call.
6564 Expand queue-directory.
6565 (feedmail-dump-message-to-queue): Change message slightly.
6566 Use feedmail-say-chatter.
6567 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6568 (feedmail-send-it-immediately-wrapper): New function.
6569 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6570 Insert empty string rather than newline. Handle full-frame case.
6571 Use catch/throw. Use feedmail-say-chatter.
6572 (feedmail-fiddle-from): Try mail-host-address.
6573 (feedmail-default-message-id-generator): Doc fix.
6574 Bind system-time-locale. Handle missing end.
6575 (feedmail-fiddle-x-mailer): Add debug call.
6576 Handle feedmail-x-mailer-line being nil.
6577 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6578 Add debug call. Use buffer-substring-no-properties.
6579 (feedmail-say-debug, feedmail-say-chatter): New functions.
6580 (feedmail-find-eoh): Give an explicit error.
6581
65822011-05-13 Ulf Jasper <ulf.jasper@web.de>
6583
6584 * net/newst-treeview.el (newsticker-treeview-face): Change default
6585 family from helvetica to sans.
6586 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
6587 etc/images/newsticker.
6588
6589 * net/newst-reader.el (newsticker-feed-face): Change default
6590 family from helvetica to sans.
6591
6592 * net/newst-plainview.el (newsticker-new-item-face)
6593 (newsticker-old-item-face, newsticker-immortal-item-face)
6594 (newsticker-obsolete-item-face, newsticker-date-face)
6595 (newsticker-statistics-face): Change default family from
6596 helvetica to sans.
6597 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
6598 etc/images/newsticker.
6599
6600 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6601 (newsticker--process-auto-mark-filter-match): : Tell user about
6602 auto-marking.
6603
66042011-05-13 Didier Verna <didier@xemacs.org>
6605
6606 Common Lisp indentation improvements on defmethod and lambda-lists.
6607 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6608 TODO entries.
6609 (lisp-lambda-list-keyword-parameter-indentation)
6610 (lisp-lambda-list-keyword-parameter-alignment)
6611 (lisp-lambda-list-keyword-alignment): New customizable user options.
6612 (lisp-indent-defun-method): Improve docstring.
6613 (extended-loop-p): Fix comment.
6614 (lisp-indent-lambda-list-keywords-regexp): New variable.
6615 (lisp-indent-lambda-list): New function.
6616 (lisp-indent-259): Use it.
6617 (lisp-indent-defmethod): Support for more than one
6618 method qualifier and properly indent methods lambda-lists.
6619 (defgeneric): Provide a missing common-lisp-indent-function property.
6620
66212011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6622
6623 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6624 bounds for the empty string (bug#8667).
6625
66262011-05-13 Glenn Morris <rgm@gnu.org>
6627
6628 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6629
6630 * mail/sendmail.el (sendmail-program): Try executable-find first.
6631 (sendmail-send-it): `sendmail-program' cannot be unbound.
6632
6633 * calendar/appt.el (appt-make-list): Simplify.
6634 (appt-time-msg-list): Doc fix.
6635 (appt-check): Change mode-line message at the time of the appointment.
6636
66372011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6638
6639 * progmodes/ld-script.el (ld-script-keywords)
6640 (ld-script-builtins): Update keywords list.
6641
66422011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6643
6644 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6645
6646 * shell.el (shell-completion-vars): New function.
6647 (shell-mode):
6648 * simple.el (read-shell-command): Use it.
6649 (blink-matching-open): No need for " [...]" in minibuffer-message.
6650
66512011-05-12 Glenn Morris <rgm@gnu.org>
6652
6653 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6654 (appt-check): Simplify.
6655
66562011-05-12 Eli Zaretskii <eliz@gnu.org>
6657
6658 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
6659 literal "/dev/null".
6660
66612011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6664 Fix typo.
6665
66662011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6667
6668 * progmodes/which-func.el (which-function):
6669 Use add-log-current-defun instead of add-log-current-defun-function,
6670 which might not be defined (Bug#8260).
6671
66722011-05-12 Glenn Morris <rgm@gnu.org>
6673
6674 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6675 Let byte-compile-initial-macro-environment always take precedence.
6676
66772011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6678
6679 * net/rcirc.el: Add support for SSL/TLS connections.
6680 (rcirc-server-alist): New field `encryption'.
6681 (rcirc): Check `encryption' settings.
6682 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6683 Merge make-local-variable into `set'.
6684 (rcirc--connection-open-p): New function.
6685 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6686 the process is not a network process (e.g. running gnutls-cli).
6687 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6688 Make rcirc-(en|de)code-coding-system local here.
6689 (rcirc-mode): Merge make-local-variable into `set'.
6690 (rcirc-parent-buffer): Make permanent buffer-local.
6691 (rcirc-multiline-minor-mode): Don't do it here.
6692 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6693 there's no server buffer.
6694
66952011-05-11 Glenn Morris <rgm@gnu.org>
6696
6697 * newcomment.el (comment-kill): Prefix "unused" local.
6698
6699 * term/w32console.el (get-screen-color): Declare.
6700
6701 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6702 Handle symbol elements of byte-compile-initial-macro-environment.
6703
67042011-05-10 Leo Liu <sdl.web@gmail.com>
6705
6706 * bookmark.el (bookmark-bmenu-mode-map):
6707 Bind bookmark-bmenu-search to `/'.
6708
6709 * mail/footnote.el: Convert to utf-8 encoding.
6710 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6711 (Footnote-unicode): New function.
6712 (footnote-style-alist): Add unicode style to the list.
6713 (footnote-style): Doc fix.
6714
67152011-05-10 Jim Meyering <meyering@redhat.com>
6716
6717 Fix doubled-word typos.
6718 * international/quail.el (quail-insert-kbd-layout): and and -> and
6719 * kermit.el: and and -> and
6720 * net/ldap.el (ldap-search-internal): to to -> to
6721 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6722 * progmodes/js.el (js-mode): and and -> and
6723 * textmodes/artist.el (artist-move-to-xy): at at -> at
6724 (artist-draw-region-trim-line-endings): if if -> if
6725 And Safetyc -> Safety.
6726 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6727
67282011-05-10 Glenn Morris <rgm@gnu.org>
6729 Stefan Monnier <monnier@iro.umontreal.ca>
6730
6731 * files.el (hack-one-local-variable-eval-safep):
6732 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6733
67342011-05-10 Glenn Morris <rgm@gnu.org>
6735
6736 * calendar/diary-lib.el (diary-list-entries-hook)
6737 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6738 (diary-nongregorian-marking-hook, diary-list-entries)
6739 (diary-include-other-diary-files, diary-mark-entries)
6740 (diary-mark-included-diary-files): Doc fixes.
6741
67422011-05-09 Juanma Barranquero <lekktu@gmail.com>
6743
6744 * misc.el: Require tabulated-list.el during compilation.
6745
67462011-05-09 Chong Yidong <cyd@stupidchicken.com>
6747
6748 * progmodes/compile.el (compilation-start):
6749 Run compilation-filter-hook for the async case too.
6750 (compilation-filter-hook): Doc fix.
6751
67522011-05-09 Deniz Dogan <deniz@dogan.se>
6753
6754 * wdired.el: Remove outdated installation comment. Fix usage
6755 comment.
6756
67572011-05-09 Juanma Barranquero <lekktu@gmail.com>
6758
6759 * misc.el: Implement new command `list-dynamic-libraries'.
6760 (list-dynamic-libraries--loaded-only-p): New variable.
6761 (list-dynamic-libraries--refresh): New function.
6762 (list-dynamic-libraries): New command.
6763
67642011-05-09 Chong Yidong <cyd@stupidchicken.com>
6765
6766 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6767 Fix the ant regexp to handle end-line and end-column info from jikes.
6768 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6769 higher priority to avoid clobbering by gnu.
6770
67712011-05-08 Chong Yidong <cyd@stupidchicken.com>
6772
6773 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6774 if the face has existing theme settings (Bug#8454).
6775
67762011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6777
6778 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6779 Only match variables declared via `my' or `our' (Bug#8261).
6780
6781 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6782 special file names `.' and `..' (Bug#8259).
6783
67842011-05-08 Chong Yidong <cyd@stupidchicken.com>
6785
6786 * progmodes/grep.el (grep-mode-font-lock-keywords):
6787 Remove buffer-changing entries.
6788 (grep-filter): New function.
6789 (grep-mode): Add it to compilation-filter-hook.
6790
6791 * progmodes/compile.el (compilation-filter-hook)
6792 (compilation-filter-start): New defvars.
6793 (compilation-filter): Call compilation-filter-hook prior to
6794 updating the process mark.
6795
67962011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6799
68002011-05-07 Eli Zaretskii <eliz@gnu.org>
6801
6802 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6803 mailclient-send-it even if window-system is nil. (Bug#8595)
6804
6805 * term/w32console.el (terminal-init-w32console):
6806 Call get-screen-color and use its output to set the frame
6807 background-mode. (Bug#8597)
6808
68092011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6810
6811 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6812 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6813 New functions.
6814 (defgeneric, eieio--defmethod): Use them.
6815 (eieio-defgeneric): Remove.
6816 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6817
68182011-05-07 Glenn Morris <rgm@gnu.org>
6819
6820 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6821 Use let rather than let*.
6822 (timeclock-find-discrep): Remove unused local.
6823
6824 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6825
6826 * calendar/appt.el (appt-time-msg-list): Doc fix.
6827
68282011-05-06 Noah Friedman <friedman@splode.com>
6829
6830 * apropos.el (apropos-print-doc): Only use
6831 emacs-lisp-docstring-fill-column when it is bound to an integer,
6832 per that variable's documentation.
6833
68342011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
6837 and warnings are not silently discarded (e.g. use -d instead of -P).
6838
68392011-05-06 Glenn Morris <rgm@gnu.org>
6840
6841 * calendar/appt.el (appt-message-warning-time): Doc fix.
6842 (appt-warning-time-regexp): New option.
6843 (appt-make-list): Respect appt-message-warning-time.
6844
6845 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6846 New options.
6847 (diary-add-to-list): Strip comments from the displayed string.
6848 (diary-mode): Set comment-start and comment-end.
6849
6850 * vc/diff-mode.el (smerge-refine-subst): Declare.
6851 (diff-refine-hunk): Don't require smerge-mode when compiling.
6852
68532011-05-06 Juanma Barranquero <lekktu@gmail.com>
6854
6855 * simple.el (list-processes): Return nil as the docstring says.
6856
68572011-05-05 Michael Albinus <michael.albinus@gmx.de>
6858
6859 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6860 to "".
6861 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6862 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6863 determining of binary transfer. (Bug#7383)
6864
68652011-05-05 Michael Albinus <michael.albinus@gmx.de>
6866
6867 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6868 Fix port computation bug. (Bug#8618)
6869
68702011-05-05 Glenn Morris <rgm@gnu.org>
6871
6872 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6873
6874 * simple.el (shell-dynamic-complete-functions)
6875 (comint-dynamic-complete-functions): Declare.
6876
6877 * net/network-stream.el (gnutls-negotiate):
6878 * simple.el (tabulated-list-print): Fix declarations.
6879
6880 * progmodes/gud.el (syntax-symbol, syntax-point):
6881 Remove unnecessary and incorrect declarations.
6882
6883 * emacs-lisp/check-declare.el (check-declare-scan):
6884 Handle byte-compile-initial-macro-environment in bytecomp.el
6885
68862011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6887
6888 Fix earlier half-done eieio-defmethod change (bug#8338).
6889 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6890 Streamline and change calling convention.
6891 (defmethod): Adjust accordingly and simplify.
6892 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6893 new eieio--defmethod.
6894 (slot-boundp): Minor CSE simplification.
6895
68962011-05-05 Milan Zamazal <pdm@zamazal.org>
6897
6898 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6899 (glasses-make-readable): Use glasses-separate-capital-groups.
6900
69012011-05-05 Juanma Barranquero <lekktu@gmail.com>
6902
6903 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6904 (warning-series): Doc fix.
6905 (display-warning): Don't try to create the buffer if we just found it.
6906
69072011-05-04 Chong Yidong <cyd@stupidchicken.com>
6908
6909 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6910 (autoload-find-generated-file): New function.
6911 (generate-file-autoloads): Bind generated-autoload-file to
6912 buffer-file-name.
6913 (update-file-autoloads, update-directory-autoloads):
6914 Use autoload-find-generated-file. If called interactively, prompt for
6915 output file (Bug#7989).
6916 (batch-update-autoloads): Doc fix.
6917
69182011-05-04 Juanma Barranquero <lekktu@gmail.com>
6919
6920 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6921
69222011-05-04 Glenn Morris <rgm@gnu.org>
6923
6924 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6925 function, so it follows changes in calendar-date-style.
6926 (diary-fancy-date-matcher): New function.
6927 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6928 (diary-fancy-font-lock-fontify-region-function):
6929 Use diary-fancy-date-pattern as a function.
6930
6931 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6932 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6933
69342011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6935
6936 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6937 instead of positional arguments. Allow :keylist and :crlfiles
6938 arguments.
6939 (open-gnutls-stream): Call it.
6940
6941 * net/network-stream.el (network-stream-open-starttls): Adjust to
6942 call `gnutls-negotiate' with :process and :hostname arguments.
6943
69442011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6945
6946 * minibuffer.el (completion--message): New function.
6947 (completion--do-completion, minibuffer-complete)
6948 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6949 (completion--do-completion): Don't ignore completion-auto-help when in
6950 icomplete-mode.
6951
6952 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6953 internal encoding (e.g. tibetan zero is not whitespace).
6954 (global-whitespace-mode): Prefer save-current-buffer.
6955 (whitespace-trailing-regexp): Remove useless save-match-data.
6956 (whitespace-empty-at-bob-regexp): Minor simplification.
6957
69582011-05-03 Chong Yidong <cyd@stupidchicken.com>
6959
6960 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6961
69622011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6963
6964 * textmodes/ispell.el (ispell-add-per-file-word-list):
6965 Use `concat' to create string for insertion.
6966
69672011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6968
6969 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6970 Avoid open-line which runs post-self-insert-hook.
6971 (bibtex-fill-entry): Remove unused `end' var.
6972
69732011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6974
6975 * textmodes/ispell.el (ispell-add-per-file-word-list):
6976 Protect against `nil' value of `comment-start' (Bug#8579).
6977
69782011-05-03 Leo Liu <sdl.web@gmail.com>
6979
6980 * isearch.el (isearch-yank-pop): New command.
6981 (isearch-mode-map): Bind it to `M-y'.
6982 (isearch-forward): Mention it.
6983
69842011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6985
6986 * simple.el (minibuffer-complete-shell-command): Remove.
6987 (minibuffer-local-shell-command-map): Use completion-at-point.
6988 (read-shell-command): Setup completion vars here instead.
6989 (read-expression-map): Bind TAB to symbol completion.
6990
6991 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6992 error directly rather via storing it into `results'.
6993
69942011-05-02 Leo Liu <sdl.web@gmail.com>
6995
6996 * vc/diff.el: Fix description.
6997
69982011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6999
7000 * server.el (server-eval-at): New function.
7001
70022011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7003
7004 * net/network-stream.el (open-network-stream): Take a :nowait
7005 parameter and pass it on to `make-network-process'.
7006 (network-stream-open-plain): Ditto.
7007
70082011-04-30 Andreas Schwab <schwab@linux-m68k.org>
7009
7010 * faces.el (face-spec-set-match-display): Don't match toolkit
7011 options on terminal frames.
7012
70132011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * progmodes/pascal.el: Use lexical binding.
7016 (pascal-mode-map): Remove author preferences.
7017
7018 * pcomplete.el (pcomplete-std-complete): Don't abuse
7019 completion-at-point.
7020
70212011-04-28 Juanma Barranquero <lekktu@gmail.com>
7022
7023 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7024 removing code that has been dead since 1991 or so.
7025
7026 * startup.el (command-line): When warning about "_emacs", use a
7027 delayed warning to allow the user to filter it out.
7028
70292011-04-28 Deniz Dogan <deniz@dogan.se>
7030
7031 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7032 user has not joined.
7033
70342011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7037 aren't any completions at point.
7038
70392011-04-28 Juanma Barranquero <lekktu@gmail.com>
7040
7041 * subr.el (display-delayed-warnings): New function.
7042 (delayed-warnings-hook): New variable.
7043
70442011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7045
7046 * minibuffer.el (completion-at-point, completion-help-at-point):
7047 Don't presume that a given completion-at-point-function will always
7048 use the same calling convention.
7049
7050 * pcomplete.el (pcomplete-completions-at-point):
7051 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
7052 pcomplete-seen is non-nil.
7053 (pcomplete-comint-setup): Also recognize the new comint/shell
7054 completion functions.
7055 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7056 pcomplete-seen is non-nil.
7057
70582011-04-27 Niels Giesen <niels.giesen@gmail.com>
7059
7060 * calendar/icalendar.el (diary-lib): Add require statement.
7061 (icalendar--create-uid): Read out a uid from a text-property on
7062 the first character in the entry. This allows for code to add its
7063 own uid to the entry.
7064 (icalendar--convert-float-to-ical): Add export of
7065 `diary-float'-entries save for those with the optional DAY
7066 argument.
7067
70682011-04-27 Daniel Colascione <dan.colascione@gmail.com>
7069
7070 * subr.el (shell-quote-argument): Use alternate escaping strategy
7071 when we spot a variable reference in a string.
7072
70732011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7074
7075 * cus-start.el (all): Define customization for debug-on-event.
7076
70772011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7078
7079 * subr.el (shell-quote-argument): Escape correctly under Windows.
7080
70812011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7084
70852011-04-25 Michael Albinus <michael.albinus@gmx.de>
7086
7087 * net/tramp.el (tramp-process-actions): Add POS argument.
7088 Delete region between POS and (pos).
7089
7090 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7091 Use `nil' position in `tramp-process-actions' call.
7092 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7093
7094 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7095 position in `tramp-process-actions' call.
7096
7097 * net/trampver.el: Update release number.
7098
70992011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7100
7101 * custom.el (defcustom): Obey lexical-binding.
7102
7103 Fix octave-inf completion problems reported by Alexander Klimov.
7104 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7105 Inherit from octave-mode-syntax-table.
7106 (inferior-octave-mode): Set info-lookup-mode.
7107 (inferior-octave-completion-at-point): New function.
7108 (inferior-octave-complete): Use it and completion-in-region.
7109 (inferior-octave-dynamic-complete-functions): Use it as well, and use
7110 comint-filename-completion.
7111 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7112 symbol elements which shouldn't be word elements.
7113 (octave-font-lock-keywords, octave-beginning-of-defun)
7114 (octave-function-header-regexp): Adjust regexps accordingly.
7115 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7116
71172011-04-25 Juanma Barranquero <lekktu@gmail.com>
7118
7119 * net/gnutls.el (gnutls-errorp): Declare before first use.
7120
71212011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7122
7123 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7124 verify-error, and verify-hostname-error parameters. Check whether
7125 default trustfile exists before going to use it. Add missing
7126 argument to gnutls-message-maybe call. Return return value.
7127 Reported by Claudio Bley <claudio.bley@gmail.com>.
7128 (open-gnutls-stream): Add usage example.
7129
7130 * net/network-stream.el (network-stream-open-starttls): Give host
7131 parameter to `gnutls-negotiate'.
7132 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
7133 * subr.el (shell-quote-argument): Escape correctly under Windows.
7134
71352011-04-24 Daniel Colascione <dan.colascione@gmail.com>
7136
7137 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7138 Use correct match group (bug#8438).
7139
71402011-04-24 Chong Yidong <cyd@stupidchicken.com>
7141
7142 * emacs-lisp/package.el (package-built-in-p): Fix typo.
7143 (package-menu--generate): New arg specifying packages to show.
7144 (package-menu-refresh, package-menu-execute, list-packages):
7145 Callers changed.
7146 (package-show-package-list): New function, replacing deleted
7147 package--list-packages (renamed because it is non-internal).
7148
7149 * finder.el (finder-list-matches): Use package-show-package-list
7150 instead of deleted package--list-packages.
7151
7152 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7153 Based on a previous implementation by Juanma Barranquero (Bug#8366).
7154 (vc-annotate-mode-map): Bind it to RET.
7155
71562011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7157
7158 * progmodes/etags.el (next-file): Don't use set-buffer to change
7159 buffers (Bug#8478).
7160
71612011-04-24 Chong Yidong <cyd@stupidchicken.com>
7162
7163 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7164
7165 * apropos.el (apropos-label-face): Avoid variable-pitch face.
7166 (apropos-accumulator): Doc fix.
7167 (apropos-function, apropos-macro, apropos-command)
7168 (apropos-variable, apropos-face, apropos-group, apropos-widget)
7169 (apropos-plist): Add face property.
7170 (apropos-symbols-internal): Fix indentation.
7171 (apropos-print): Simplify help, and recognize apropos-multi-type.
7172 (apropos-print-doc): Use button-type-get to extract the button's
7173 face property. Fill docstring (Bug#8352).
7174
71752011-04-23 Juanma Barranquero <lekktu@gmail.com>
7176
7177 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7178
7179 * play/mpuz.el (mpuz-silent): Doc fix.
7180 (mpuz-mode-map): Use mapc.
7181 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7182 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7183 Fix typos in docstrings.
7184
7185 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7186 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7187
7188 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7189
71902011-04-23 Chong Yidong <cyd@stupidchicken.com>
7191
7192 * minibuffer.el (completion--do-completion): Avoid the "Next char
7193 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7194
7195 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7196 mouse-2 into unread-command-events, it is interpreted correctly.
7197
7198 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
7199 (image-toggle-display): Doc fix.
7200
72012011-04-23 Stephen Berman <stephen.berman@gmx.net>
7202
7203 * textmodes/page.el (what-page): Use line-number-at-pos to
7204 calculate line number (Bug#6825).
7205
72062011-04-22 Juanma Barranquero <lekktu@gmail.com>
7207
7208 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7209 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7210 Pass argument NO-DEFAULT to `find-tag-interactive'.
7211
72122011-04-22 Juanma Barranquero <lekktu@gmail.com>
7213
7214 Lexical-binding cleanup.
7215
7216 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7217 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7218 * progmodes/ada-prj.el (ada-prj-initialize-values)
7219 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7220 (ada-prj-show-value):
7221 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7222 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7223 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7224 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7225 * progmodes/bug-reference.el (bug-reference-push-button):
7226 * progmodes/fortran.el (fortran-line-length):
7227 * progmodes/glasses.el (glasses-change):
7228 * progmodes/octave-mod.el (octave-fill-paragraph):
7229 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7230 (python-pdbtrack-grub-for-buffer, python-sentinel):
7231 * progmodes/sql.el (sql-save-connection):
7232 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7233 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7234 Mark unused parameters.
7235
7236 * progmodes/compile.el (compilation--flush-directory-cache)
7237 (compilation--flush-parse, compile-internal): Mark unused parameters.
7238 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7239 (compilation-next-error-function): Remove unused variable `timestamp'.
7240
7241 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7242 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7243
7244 * progmodes/dcl-mode.el (dcl-end-of-command):
7245 Remove unused variable `start'.
7246 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7247 (dcl-option-value-basic, dcl-option-value-offset)
7248 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7249 Mark unused parameters.
7250 (dcl-save-local-variable): Remove unused variable `val'.
7251 (mode): Declare.
7252
7253 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7254 Mark unused parameters.
7255 (delphi-ignore-changes): Move before first use.
7256 (delphi-charset-token-at): Remove unused variable `start'.
7257 (delphi-else-start): Remove unused variable `if-count'.
7258 (delphi-comment-block-start, delphi-comment-block-end):
7259 Remove unused variable `kind'.
7260 (delphi-indent-line): Remove unused variable `new-point'.
7261
7262 * progmodes/ebrowse.el (ebrowse-files-list)
7263 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7264 Mark unused parameters. Don't quote `lambda'.
7265 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7266 Don't quote `lambda'.
7267 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7268 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7269 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7270 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7271 Use `ignore-errors'.
7272 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7273 (ebrowse-view/find-file-and-search-pattern)
7274 (ebrowse-view/find-member-declaration/definition):
7275 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7276 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7277 Rename parameter PREFIX-ARG to PREFIX.
7278 (ebrowse-tags-read-name): Remove unused variables `start' and
7279 `member-info'.
7280 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7281 to `tags-file'.
7282
7283 * progmodes/etags.el (local-find-tag-hook): Declare.
7284 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7285 Mark unused parameters.
7286
7287 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7288 (executable-interpret): Mark unused parameter.
7289
7290 * progmodes/flymake.el (flymake-process-sentinel)
7291 (flymake-after-change-function)
7292 (flymake-create-temp-with-folder-structure)
7293 (flymake-get-include-dirs-dot): Mark unused parameters.
7294 (flymake-safe-delete-directory): Remove unused variable `err'.
7295
7296 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7297 (speedbar-timer-fn, speedbar-line-text)
7298 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7299 (speedbar-center-buffer-smartly): Declare functions.
7300 (gdb-find-watch-expression): Remove unused variable `array'.
7301 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7302 (gdb-starting): Mark unused parameters.
7303 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7304 (gdb-table-string): Remove unused variable `res'.
7305 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7306 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7307 (gdb-display-buffer): Remove unused variable `cur-size'.
7308
7309 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7310 allow lexical-binding compilation.
7311 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7312 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7313 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7314 Mark unused parameters.
7315 (gud-gdb-marker-filter): Remove unused variable `match'.
7316 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7317 lambda expressions and funcall them, instead of using `fset'.
7318
7319 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7320 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7321
7322 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7323 variable `header-beg'; use `let'.
7324
7325 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7326 `restart', `last-sexp' and `at-do'.
7327
7328 * progmodes/js.el (js--debug): Mark unused parameter.
7329 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7330 (js--splice-into-items): Remove unused variable `item'.
7331 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7332
7333 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7334 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7335 (makefile-complete): Remove unused variable `try'.
7336 (makefile-fill-paragraph, makefile-match-function-end):
7337 Mark unused parameters.
7338
7339 * progmodes/octave-inf.el (inferior-octave-complete):
7340 Remove unused variable `proc'.
7341 (inferior-octave-output-digest): Mark unused parameter.
7342
7343 * progmodes/perl-mode.el (perl-calculate-indent):
7344 Remove unused variable `err'.
7345
7346 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7347 (prolog-indent-line): Mark unused parameters.
7348 (prolog-indent-line): Remove unused variable `beg'.
7349
7350 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7351 (reporter-dont-compact-list): Declare.
7352
7353 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7354 Remove unused variable `char'.
7355 (sh-debug): Mark unused parameter.
7356 (sh-get-indent-info): Remove unused variable `start'.
7357 (sh-calculate-indent): Remove unused variable `var'.
7358
7359 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7360 (simula-electric-keyword): Remove unused variable `null'.
7361 (simula-search-backward, simula-search-forward): Remove unused
7362 variables `begin' and `end'.
7363
7364 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7365 Remove unused variable `pos'.
7366 (vera-electric-tab, vera-comment-uncomment-region):
7367 Mark unused parameters.
7368 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7369
73702011-04-22 Chong Yidong <cyd@stupidchicken.com>
7371
7372 * emacs-lisp/package.el (package--builtins, package-alist)
7373 (package-load-descriptor, package-built-in-p, package-activate)
7374 (define-package, package-installed-p)
7375 (package-compute-transaction, package-buffer-info)
7376 (package--push): Doc fix. Distinguish more clearly between
7377 version strings and version lists.
7378
73792011-04-21 Juanma Barranquero <lekktu@gmail.com>
7380
7381 Lexical-binding cleanup.
7382
7383 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7384 (5x5-make-mutate-best):
7385 * play/fortune.el (fortune-in-buffer):
7386 * play/gomoku.el (gomoku-init-display):
7387 * play/solitaire.el (solitaire, solitaire-do-check):
7388 * play/tetris.el (tetris-default-update-speed-function):
7389 Mark unused parameters.
7390
7391 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7392 (bubbles--shift): Remove unused variable `char-org'.
7393 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7394 (bubbles--show-images): Remove unused variable `char'.
7395
7396 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7397 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7398 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7399 (decipher-analyze-buffer): Use ?\s.
7400 (decipher-make-checkpoint): Remove unused variable `mapping'.
7401
7402 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7403
7404 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7405 Remove unused variable `result'; use `let'.
7406
7407 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7408 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7409 (gametree-children-shown-p, gametree-compute-reduced-score):
7410 Use `ignore-errors'.
7411
7412 * play/handwrite.el (ps-lpr-switches): Declare.
7413 (handwrite): Remove unused variables `pmin' and `lastp'.
7414
7415 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7416
7417 * play/landmark.el (landmark-init-display)
7418 (landmark-update-naught-weights): Mark unused parameters.
7419 (landmark-y): Remove unused variable `noise'. Simplify.
7420 (landmark-human-plays): Remove unused variable `score'.
7421
7422 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7423 (mpuz-try-proposal): Remove unused variable `game'.
7424
7425 * play/zone.el (life-patterns): Declare.
7426
74272011-04-20 Juanma Barranquero <lekktu@gmail.com>
7428
7429 * vc/vc.el (ediff-vc-internal): Declare function.
7430
74312011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7432
7433 * shell.el: Use lexical-binding and std completion UI.
7434 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7435 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7436 comint-preoutput-filter-functions rather than on
7437 comint-output-filter-functions.
7438 (shell-command-completion, shell--command-completion-data)
7439 (shell-filename-completion, shell-environment-variable-completion)
7440 (shell-c-a-p-replace-by-expanded-directory): New functions.
7441 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7442 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7443 (shell-dynamic-complete-environment-variable): Use them.
7444 (shell-dynamic-complete-as-environment-variable)
7445 (shell-dynamic-complete-as-command): Remove.
7446 (shell-match-partial-variable): Match past point.
7447 * comint.el: Clean up use of completion-at-point-functions.
7448 (comint-completion-at-point): New function.
7449 (comint-mode): Use it completion-at-point-functions.
7450 (comint-dynamic-complete): Make it obsolete.
7451 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7452 (comint-c-a-p-replace-by-expanded-history): New function.
7453 (comint-dynamic-complete-functions)
7454 (comint-replace-by-expanded-history): Use it.
7455 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7456 termination strings. Try harder to avoid second try-completion.
7457 (completion-in-region-mode-map): Disable bindings that don't work yet.
7458
7459 * comint.el: Use lexical-binding. Require CL.
7460 (comint-dynamic-complete-functions): Use comint-filename-completion.
7461 (comint-completion-addsuffix): Tweak custom type.
7462 (comint-filename-completion, comint--common-suffix)
7463 (comint--common-quoted-suffix, comint--table-subvert)
7464 (comint--complete-file-name-data): New functions.
7465 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7466 (comint-dynamic-list-filename-completions): Use them.
7467 (comint-dynamic-simple-complete): Make obsolete.
7468
7469 * minibuffer.el (completion-in-region-mode):
7470 Keep completion-in-region-mode--predicate global.
7471 (completion-in-region--postch):
7472 Assume completion-in-region-mode--predicate is not null.
7473
7474 * progmodes/flymake.el (flymake-start-syntax-check-process):
7475 Obey `dir'. Simplify.
7476
7477 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7478 we're in VC after all.
7479
74802011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7481
7482 * vc/vc.el (vc-diff-build-argument-list-internal)
7483 (vc-version-ediff, vc-ediff): New commands.
7484 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7485
74862011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7489 add sanity check.
7490
7491 * obsolete/erc-hecomplete.el: Make obsolete.
7492 * obsolete/: Standardize obsolescence info in the header.
7493
74942011-04-20 Glenn Morris <rgm@gnu.org>
7495
7496 * calendar/solar.el (solar-horizontal-coordinates):
7497 Use the longitude argument rather than `calendar-longitude'.
7498 (solar-date-next-longitude): Remove unused locals.
7499
75002011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7501
7502 * whitespace.el: New version 13.2.1.
7503
75042011-04-20 felix <EmacsWiki> (tiny change)
7505
7506 * whitespace.el (global-whitespace-mode): Keep highlight when
7507 switching between major modes on a file.
7508
75092011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7510
7511 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7512 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7513 multi-line comments as well.
7514
75152011-04-19 Juanma Barranquero <lekktu@gmail.com>
7516
7517 Lexical-binding cleanup.
7518
7519 * arc-mode.el (archive-mode-revert):
7520 * cmuscheme.el (scheme-interactively-start-process):
7521 * custom.el (custom-initialize-delay):
7522 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7523 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7524 * emacs-lock.el (emacs-lock-clear-sentinel):
7525 * ezimage.el (defezimage):
7526 * follow.el (follow-avoid-tail-recenter):
7527 * fringe.el (set-fringe-mode-1):
7528 * generic-x.el (bat-generic-mode-compile):
7529 * help-mode.el (help-info-variable, help-do-xref)
7530 (help-mode-revert-buffer):
7531 * help.el (view-emacs-todo):
7532 * iswitchb.el (iswitchb-completion-help):
7533 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7534 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7535 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7536 * locate.el (locate-update):
7537 * longlines.el (longlines-encode-region)
7538 (longlines-after-change-function):
7539 * outline.el (outline-isearch-open-invisible):
7540 * ps-def.el (declare-function, charset-dimension, char-width)
7541 (encode-char):
7542 * ps-mule.el (ps-mule-plot-string):
7543 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7544 (recentf-edit-list-select, recentf-edit-list-validate)
7545 (recentf-open-files-action):
7546 * rect.el (delete-whitespace-rectangle-line)
7547 (rectangle-number-line-callback):
7548 * register.el (window-configuration-to-register)
7549 (frame-configuration-to-register):
7550 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7551 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7552 (xselect-convert-to-targets, xselect-convert-to-delete)
7553 (xselect-convert-to-filename, xselect-convert-to-charpos)
7554 (xselect-convert-to-lineno, xselect-convert-to-colno)
7555 (xselect-convert-to-os, xselect-convert-to-host)
7556 (xselect-convert-to-user, xselect-convert-to-class)
7557 (xselect-convert-to-name, xselect-convert-to-integer)
7558 (xselect-convert-to-atom, xselect-convert-to-identity):
7559 * subr.el (declare, ignore, process-kill-without-query)
7560 (text-clone-maintain):
7561 * terminal.el (te-get-char, te-tic-sentinel):
7562 * tool-bar.el (tool-bar-make-keymap):
7563 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7564 * type-break.el (type-break-mode, type-break-noninteractive-query):
7565 * view.el (View-back-to-mark):
7566 * wid-browse.el (widget-browse-action, widget-browse-widget)
7567 (widget-browse-widgets, widget-browse-sexp):
7568 * widget.el (define-widget-keywords):
7569 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7570 Mark unused parameters.
7571
7572 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7573 (align-areas): Remove unused variable `look'.
7574 (align-region): Remove unused variables `real-end' and `pos-list'.
7575
7576 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7577
7578 * bindings.el (mode-line-modified, mode-line-remote):
7579 Mark unused parameters.
7580 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7581
7582 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7583 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7584
7585 * comint.el (comint-history-isearch-pop-state)
7586 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7587 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7588 (comint-substitute-in-file-name): Doc fix.
7589
7590 * completion.el (cmpl-statistics-block): Mark unused parameter.
7591 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7592 (save-completions-to-file, load-completions-from-file):
7593 Remove unused local variable `e'.
7594
7595 * composite.el (compose-chars): Remove unused variable `len'.
7596 (lgstring-insert-glyph): Remove unused variable `g'.
7597 (compose-glyph-string): Remove unused variables `ascent',
7598 `descent', `lbearing' and `rbearing'.
7599 (compose-glyph-string-relative): Remove unused variables
7600 `lbearing', `rbearing' and `wadjust'.
7601 (compose-gstring-for-graphic): Remove unused variables `header',
7602 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7603 (compose-gstring-for-terminal): Remove unused variables `header'
7604 and `nchars'. Use `let', not `let*'.
7605
7606 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7607 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7608 (Custom-buffer-done, custom-buffer-create-internal)
7609 (custom-browse-visibility-action, custom-browse-group-tag-action)
7610 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7611 (widget-magic-mouse-down-action, custom-toggle-parent)
7612 (custom-add-parent-links, custom-toggle-hide-variable)
7613 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7614 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7615 (custom-face-menu-create, custom-variable-menu-create, get)
7616 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7617 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7618 (customize-apropos): Remove unused variable `tests'.
7619 (custom-group-value-create): Remove unused variable `hidden-p'.
7620 (sort-fold-case): Declare.
7621
7622 * cus-theme.el (custom-reset-standard-faces-list)
7623 (custom-reset-standard-variables-list): Declare.
7624 (customize-create-theme, custom-theme-revert, custom-theme-write)
7625 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7626 Mark unused parameters.
7627
7628 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7629
7630 * delim-col.el (delimit-columns-max): Move defvar before first use.
7631
7632 * descr-text.el (describe-char-categories): Don't quote `lambda'.
7633 (describe-char): Don't quote `lambda'. Mark unused parameter.
7634
7635 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7636 (auto-insert): Declare.
7637 (desktop-restore-file-buffer): Rename desktop-* parameters;
7638 mark unused ones.
7639 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7640 (desktop-buffer): Rename desktop-* parameters.
7641
7642 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7643 (dframe-reposition-frame-xemacs, dframe-help-echo)
7644 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7645 Mark unused parameters.
7646
7647 * dired-aux.el (backup-extract-version-start, overwrite-query)
7648 (overwrite-backup-query, rename-regexp-query)
7649 (rename-non-directory-query): Declare.
7650 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7651 (dired-add-entry): Remove unused variable `orig-file-name'.
7652 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7653 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7654 `dired-copy-preserve-time' directly.
7655 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7656 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7657
7658 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7659 (dired-virtual-revert, dired-make-relative-symlink):
7660 Mark unused parameters.
7661 (manual-program): Declare.
7662 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7663 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7664 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7665
7666 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7667
7668 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7669
7670 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7671 Declare.
7672
7673 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7674
7675 * electric.el (Electric-command-loop): Rename parameter
7676 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7677
7678 * expand.el (expand-in-literal): Remove unused variable `here'.
7679
7680 * facemenu.el (facemenu-add-new-color):
7681 Remove unused variable `docstring'.
7682
7683 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7684 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7685 (face-attr-construct): Mark unused parameter. Doc fix.
7686 (read-color): Remove unused variable `hex-string'.
7687
7688 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7689 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7690 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7691 (display-buffer-other-frame): Remove unused variable `old-window'.
7692 (kill-buffer-hook): Declare.
7693 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7694 Mark unused parameters.
7695 (after-find-file): Pass 1 to `auto-save-mode', not t.
7696
7697 * files-x.el (auto-insert): Declare.
7698 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7699
7700 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
7701 variable `buf'. Mark unused parameter.
7702 (find-lisp-insert-directory): Mark unused parameter.
7703
7704 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7705 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7706 (format-common-tail): Remove, unused.
7707 (format-deannotate-region): Remove unused variable `loc'.
7708 (format-annotate-region): Remove unused variable `p'.
7709 (format-annotate-single-property-change): Remove unused variables
7710 `default' and `tail'.
7711
7712 * forms.el (read-file-filter): Declare.
7713 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7714
7715 * frame.el (frame-creation-function-alist): Mark unused parameter.
7716 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7717
7718 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7719 Remove unused parameters.
7720 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7721 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7722
7723 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7724 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7725 (hfy-prepare-tag-map): Mark unused parameters.
7726 (htmlfontify-buffer): Use `called-interactively-p'.
7727
7728 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7729 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7730 (ibuffer-do-occur): Mark unused parameters.
7731 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7732 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7733
7734 * ibuffer.el: Don't quote `lambda'.
7735 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7736 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7737 Mark unused parameters.
7738
7739 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7740 (ido-completing-read): Mark unused parameters.
7741 (ido-copy-current-word): Mark unused parameters;
7742 remove unused variable `name'.
7743 (ido-sort-merged-list): Remove unused parameter `dirs'.
7744
7745 * ielm.el (ielm-input-sender): Mark unused parameter.
7746 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7747 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7748 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7749 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7750 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7751
7752 * image-dired.el (image-dired-display-thumbs): Remove unused
7753 variables `curr-file' and `count'.
7754 (image-dired-remove-tag): Remove unused variable `start'.
7755 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7756 variable `curr-file'
7757 (image-dired-rotate-original): Remove unused variable `temp-file'.
7758 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7759 Remove unused variable `file'.
7760 (image-dired-gallery-generate): Remove unused variable `curr'.
7761 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7762
7763 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7764
7765 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7766
7767 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7768
7769 * isearch.el (minibuffer-history-symbol): Declare.
7770 (isearch-edit-string): Remove unused variable `err'.
7771 (isearch-message-prefix, isearch-message-suffix):
7772 Mark unused parameters.
7773
7774 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7775
7776 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7777
7778 * makesum.el (double-column): Remove unused variable `cnt'.
7779
7780 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7781 (ido-ignore-item-temp-list): Declare.
7782
7783 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7784 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7785 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7786 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7787 `mouse-col-delta'.
7788
7789 * mouse-sel.el (mouse-extend-internal):
7790 Remove unused variable `orig-window-frame'.
7791
7792 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7793 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7794 Move declarations before first use.
7795 (pcomplete-opt): Mark unused parameters; doc fix.
7796
7797 * proced.el (proced-revert): Mark unused parameter.
7798 (proced-send-signal): Remove unused variable `err'.
7799
7800 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7801 Rename parameter PREFIX-ARG to ARG.
7802 (ps-basic-plot-string, ps-basic-plot-whitespace):
7803 Mark unused parameters.
7804
7805 * replace.el (replace-count): Define.
7806 (occur-revert-function): Mark unused parameters.
7807 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7808 (isearch-case-fold-search, isearch-string): Declare.
7809 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7810 bind `case-fold-search'. Remove unused variables `beg' and `end',
7811 and simplify.
7812 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7813 COUNT and bind `replace-count'.
7814 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7815 to COUNT.
7816
7817 * savehist.el (print-readably, print-string-length): Declare.
7818
7819 * shadowfile.el (shadow-expand-cluster-in-file-name):
7820 Remove unused variable `cluster'.
7821 (shadow-copy-file): Remove unused variable `i'.
7822 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7823 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7824 (shadow-define-literal-group, shadow-define-regexp-group)
7825 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7826
7827 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7828 (shell): Use `called-interactively-p'.
7829 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7830
7831 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7832 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7833 (delete-backward-char): Remove unused variable `ocol'.
7834 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7835 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7836 (event-apply-hyper-modifier, event-apply-shift-modifier)
7837 (event-apply-control-modifier, event-apply-meta-modifier):
7838 Mark unused parameters.
7839 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7840 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7841
7842 * speedbar.el (speedbar-ignored-directory-expressions)
7843 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7844 (speedbar-find-file, speedbar-dir-follow)
7845 (speedbar-directory-buttons-follow, speedbar-tag-find)
7846 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7847 (speedbar-buffers-line-directory, speedbar-buffer-click):
7848 Mark unused parameters.
7849 (speedbar-tag-file): Remove unused variable `mode'.
7850 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7851
7852 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7853
7854 * talk.el (talk): Remove unused variable `display'.
7855
7856 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7857 (tar-write-region-annotate): Mark unused parameter.
7858
7859 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7860 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7861 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7862 warning by another.
7863
7864 * time-stamp.el (time-stamp-string-preprocess):
7865 Remove unused variable `require-padding'.
7866
7867 * tree-widget.el (widget-glyph-enable): Declare.
7868 (tree-widget-action): Mark unused parameter.
7869
7870 * w32-fns.el (x-get-selection): Mark unused parameter.
7871 (autoload-make-program, generated-autoload-file): Declare.
7872
7873 * wdired.el (wdired-revert): Mark unused parameters.
7874 (wdired-xcase-word): Remove unused variable `err'.
7875
7876 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7877 (whitespace-help-scroll): Remove unused variable `data-help'.
7878
7879 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7880 (widget-image-insert, widget-after-change, default)
7881 (widget-default-format-handler, widget-default-notify)
7882 (widget-default-prompt-value, widget-info-link-action)
7883 (widget-url-link-action, widget-function-link-action)
7884 (widget-variable-link-action, widget-file-link-action)
7885 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7886 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7887 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7888 (widget-insert-button-action, widget-delete-button-action, visibility)
7889 (widget-documentation-link-action, widget-documentation-string-action)
7890 (widget-const-prompt-value, widget-regexp-match, symbol)
7891 (widget-coding-system-prompt-value)
7892 (widget-key-sequence-value-to-external, sexp)
7893 (widget-sexp-value-to-internal, character, vector, cons)
7894 (widget-choice-prompt-value, widget-boolean-prompt-value)
7895 (widget-color--choose-action): Mark unused parameters.
7896 (widget-item-match-inline, widget-choice-match-inline)
7897 (widget-checklist-match, widget-checklist-match-inline)
7898 (widget-group-match): Rename parameter VALUES to VALS.
7899 (widget-field-value-set): Remove unused variable `size'.
7900 (widget-color-action): Remove unused variables `value' and `start'.
7901
7902 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
7903 variable `dir'. Doc fix.
7904 (windmove-find-other-window): Don't pass it.
7905
7906 * window.el (count-windows): Mark unused parameter.
7907 (bw-adjust-window): Remove unused variable `err'.
7908
7909 * woman.el (woman-file-name): Remove unused variable `default'.
7910 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7911 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7912 (global-font-lock-mode): Declare.
7913 (woman-decode-region): Mark unused parameter.
7914 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7915
7916 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7917 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7918 (x-dnd-handle-moz-url): Remove unused variable `title'.
7919 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7920
7921 * xml.el (xml-parse-tag, xml-parse-attlist):
7922 Remove unused variable `pos'.
7923
79242011-04-19 Glenn Morris <rgm@gnu.org>
7925
7926 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7927 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7928 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7929 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7930 * calendar/cal-html.el (cal-html-insert-minical):
7931 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7932 (calendar-mark-date-pattern):
7933 Prefix "unused" locals.
7934
7935 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7936 optional argument `style'.
7937
7938 * calendar/appt.el (appt-make-list):
7939 * calendar/cal-china.el (calendar-chinese-date-string):
7940 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7941 (diary-hebrew-yahrzeit):
7942 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7943 * calendar/calendar.el (calendar-generate-window):
7944 * calendar/time-date.el (time-to-days):
7945 Remove unused local variables.
7946
79472011-04-18 Chong Yidong <cyd@stupidchicken.com>
7948
7949 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7950 glyphless-char-display table.
7951 (tabulated-list-glyphless-char-display): New var.
7952
79532011-04-18 Sam Steingold <sds@gnu.org>
7954
7955 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7956 to acknowledgments.
7957
79582011-04-17 Glenn Morris <rgm@gnu.org>
7959
7960 * calendar/diary-lib.el (diary-sexp-entry):
7961 * calendar/holidays.el (holiday-sexp):
7962 Set debug-on-error rather than the removed stack-trace-on-error.
7963
79642011-04-16 Glenn Morris <rgm@gnu.org>
7965
7966 * progmodes/f90.el: Use lexical-binding.
7967 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7968
79692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7970
7971 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7972 (mail-mode): Setup mailalias completion here instead.
7973 * mail/mailalias.el: Use lexical-binding.
7974 (pattern, mailalias-done): Declare dynamic.
7975 (mail-completion-at-point-function): New function, from mail-complete.
7976 (mail-complete): Use it.
7977 (mail-completion-expand): New function.
7978 (mail-get-names): Use it.
7979 (mail-directory, mail-directory-process, mail-directory-stream):
7980 Don't use `pattern' for lexically bound arg.
7981
7982 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7983
7984 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7985 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7986 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7987
7988 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7989 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7990 (byte-interactive-p): Define them again, for use when inlining
7991 old code.
7992
79932011-04-15 Juanma Barranquero <lekktu@gmail.com>
7994
7995 * loadup.el: Use `string-to-number', not `string-to-int'.
7996
79972011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7998
7999 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8000 gud-gdb-complete-command.
8001 (gud-gdb-completions): New function, from gud-gdb-complete-command.
8002 (gud-gdb-completion-at-point): New function.
8003 (gud-gdb-completions): Remove.
8004
80052011-04-14 Michael Albinus <michael.albinus@gmx.de>
8006
8007 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8008 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
8009 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8010 whether `executable-find' is bound.
8011
8012 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8013
80142011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8015
8016 * minibuffer.el (completion-in-region-mode-predicate)
8017 (completion-in-region-mode--predicate): New vars.
8018 (completion-in-region, completion-in-region--postch)
8019 (completion-in-region-mode): Use them.
8020 (completion--capf-wrapper): Also return the hook function.
8021 (completion-at-point, completion-help-at-point):
8022 Adjust and provide a predicate.
8023
8024 Preserve arg names for advice of subr and lexical functions (bug#8457).
8025 * help-fns.el (help-function-arglist): Consolidate the subr and
8026 new-byte-code cases. Add argument `preserve-names' to extract names
8027 from the docstring when needed.
8028 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8029 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8030 (ad-arglist): Use help-function-arglist's new arg.
8031 (ad-definition-type): Use cond.
8032
80332011-04-13 Juanma Barranquero <lekktu@gmail.com>
8034
8035 * autorevert.el (auto-revert-handler):
8036 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8037 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8038 Don't quote lambda.
8039
8040 * image-mode.el (image-transform-set-scale):
8041 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8042
80432011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8044
8045 * net/network-stream.el (network-stream-open-starttls): Only do
8046 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
8047 Upgrades via gnutls-cli are too slow to be done opportunistically.
8048
80492011-04-12 Juanma Barranquero <lekktu@gmail.com>
8050
8051 * dframe.el (dframe-current-frame): Remove spurious quote.
8052
80532011-04-12 Glenn Morris <rgm@gnu.org>
8054
8055 * calendar/cal-tex.el (cal-tex-end-document):
8056 Try to automatically use latin1 input if needed.
8057
8058 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8059 Don't try to cons a mark onto an empty element.
8060
80612011-04-11 Leo Liu <sdl.web@gmail.com>
8062
8063 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8064 buffers.
8065 (ido-kill-buffer-at-head): Support killing virtual buffers.
8066
80672011-04-10 Chong Yidong <cyd@stupidchicken.com>
8068
8069 * minibuffer.el (completion-show-inline-help): New var.
8070 (completion--do-completion, minibuffer-complete)
8071 (minibuffer-force-complete, minibuffer-complete-word):
8072 Inhibit minibuffer messages if completion-show-inline-help is nil.
8073
8074 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8075 to avoid interference from inline help (Bug#5849).
8076
80772011-04-10 Leo Liu <sdl.web@gmail.com>
8078
8079 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8080 Fix typo.
8081
80822011-04-09 Chong Yidong <cyd@stupidchicken.com>
8083
8084 * image-mode.el (image-toggle-display-image): Signal an error if
8085 not in Image mode.
8086 (image-transform-mode, image-transform-resize)
8087 (image-transform-set-rotation): Doc fix.
8088 (image-transform-set-resize): Delete.
8089 (image-transform-set-scale, image-transform-fit-to-height)
8090 (image-transform-fit-to-width): Handle image-toggle-display-image
8091 and image-transform-resize directly.
8092
80932011-04-08 Sho Nakatani <lay.sakura@gmail.com>
8094
8095 * doc-view.el (doc-view-fit-width-to-window)
8096 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8097 New functions for fitting the shown image to the Emacs window size.
8098 (doc-view-mode-map): Add bindings for the new functions.
8099
81002011-04-08 Juanma Barranquero <lekktu@gmail.com>
8101
8102 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
8103 Fix typo in docstring.
8104
81052011-04-08 Eli Zaretskii <eliz@gnu.org>
8106
8107 * files.el (file-size-human-readable): Produce one digit after
8108 decimal, like "ls -lh" does.
8109
8110 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8111 the file size representation.
8112
8113 * simple.el (list-processes): If async subprocesses are not
8114 available, error out with a clear error message.
8115
81162011-04-08 Chong Yidong <cyd@stupidchicken.com>
8117
8118 * help.el (help-form-show): New function, to be called from C.
8119 Put help-form output in a buffer named differently than *Help*.
8120
81212011-04-08 Eli Zaretskii <eliz@gnu.org>
8122
8123 * files.el (file-size-human-readable): New function.
8124
8125 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8126 computing the representation inline. Don't require `cl'.
8127
81282011-04-08 Glenn Morris <rgm@gnu.org>
8129
8130 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8131
8132 * net/browse-url.el (browse-url-firefox):
8133 Test system-type, not system-configuration.
8134
8135 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8136 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8137 Use log-edit-empty-buffer-p. (Bug#7598)
8138
8139 * net/rlogin.el (rlogin-process-connection-type): Simplify.
8140 (rlogin-mode-map): Initialize in the defvar.
8141 (rlogin): Use ignore-errors.
8142
8143 * replace.el (occur-mode-map): Some fixes for menu items.
8144
81452011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8146
8147 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
8148
81492011-04-06 Chong Yidong <cyd@stupidchicken.com>
8150
8151 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8152 issuing unused warnings.
8153
8154 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8155 macro directly.
8156
8157 * simple.el: Lisp reimplement of list-processes. Based on an
8158 earlier reimplementation by Leo Liu, but using tabulated-list.el.
8159 (process-menu-mode): New major mode.
8160 (list-processes--refresh, list-processes):
8161 (process-menu-visit-buffer): New functions.
8162
8163 * files.el (save-buffers-kill-emacs): Don't assume any return
8164 value of list-processes, which is undocumented anyway.
8165
81662011-04-06 Chong Yidong <cyd@stupidchicken.com>
8167
8168 * emacs-lisp/tabulated-list.el: New file.
8169
8170 * emacs-lisp/package.el: Use Tabulated List mode.
8171 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8172 (package-menu-mode): Derive from tabulated-list-mode. Set up the
8173 table format using Tabulated List mode variables.
8174 (package--push): New macro, replacing package-list-maybe-add.
8175 (package-menu--generate): Use package--push. Renamed from
8176 package--generate-package-list.
8177 (package-menu-refresh, list-packages): Use it.
8178 (package-menu--print-info): Rename from package-print-package.
8179 Return insertion data instead of inserting it directly.
8180 (package-menu-describe-package, package-menu-execute):
8181 Use tabulated-list-get-id.
8182 (package-menu-mark-delete, package-menu-mark-install)
8183 (package-menu-mark-unmark, package-menu-backup-unmark)
8184 (package-menu-mark-obsolete-for-deletion):
8185 Use tabulated-list-put-tag.
8186 (package--list-packages, package-menu-revert)
8187 (package-menu-get-package, package-menu-get-version)
8188 (package-menu-sort-by-column): Functions deleted.
8189 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8190 (package-menu--status-predicate, package-menu--version-predicate)
8191 (package-menu--name-predicate)
8192 (package-menu--description-predicate): Handle arguments in the
8193 Tabulated List format.
8194 (package-list-packages-no-fetch): Call list-packages.
8195
81962011-04-06 Juanma Barranquero <lekktu@gmail.com>
8197
8198 * files.el (after-find-file-from-revert-buffer): Remove variable.
8199 (after-find-file): Don't bind it.
8200 (revert-buffer-in-progress-p): New variable.
8201 (revert-buffer): Bind it.
8202 Pass nil for `after-find-file-from-revert-buffer'.
8203
8204 * saveplace.el (save-place-find-file-hook): Use new variable
8205 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8206
82072011-04-06 Glenn Morris <rgm@gnu.org>
8208
8209 * Makefile.in (AUTOGEN_VCS): New variable.
8210 (autoloads): Use $AUTOGEN_VCS.
8211
8212 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8213 * calendar/calendar.el (calendar-mode-map):
8214 Check for toolkit scroll bars. (Bug#8305)
8215
82162011-04-05 Chong Yidong <cyd@stupidchicken.com>
8217
8218 * minibuffer.el (completion-in-region--postch)
8219 (completion-in-region-mode): Remove unnecessary messages.
8220
82212011-04-05 Juanma Barranquero <lekktu@gmail.com>
8222
8223 * font-lock.el (font-lock-refresh-defaults):
8224 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8225 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8226
8227 * info.el (Info-directory-list, Info-read-node-name-2)
8228 (Info-split-parameter-string): Doc fixes.
8229 (Info-virtual-nodes): Reflow docstring.
8230 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8231 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8232 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8233 Fix typos in docstrings.
8234 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8235 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8236 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8237 (Info-restore-desktop-buffer): Mark unused parameters.
8238 (Info-directory-find-file, Info-directory-find-node)
8239 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8240 (Info-virtual-index-find-node, Info-apropos-find-file)
8241 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
8242 Mark unused parameters; fix typos in docstrings.
8243 (Info-virtual-index): Remove unused local variable `nodename'.
8244
82452011-04-05 Deniz Dogan <deniz@dogan.se>
8246
8247 * net/rcirc.el: Update my e-mail address.
8248 (rcirc-mode-map): Remove M-o binding.
8249
82502011-04-05 Chong Yidong <cyd@stupidchicken.com>
8251
8252 * startup.el (command-line): Save the cursor's theme-face
8253 directly, instead of using face-override-spec.
8254
8255 * custom.el (load-theme): Minor optimization in assigning faces.
8256
82572011-04-04 Juanma Barranquero <lekktu@gmail.com>
8258
8259 * help-fns.el (describe-variable): Complete all variables having
8260 documentation, including keywords.
8261 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8262
82632011-04-04 Juanma Barranquero <lekktu@gmail.com>
8264
8265 Convert to lexical-binding.
8266
8267 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8268 (bs--get-marked-string, bs--get-modified-string)
8269 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8270 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8271 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8272
8273 * ehelp.el (electric-help-execute-extended)
8274 (electric-help-ctrl-x-prefix):
8275 * hexl.el (hexl-revert-buffer-function):
8276 * linum.el (linum-after-change, linum-after-scroll):
8277 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8278
8279 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8280
82812011-04-04 Daiki Ueno <ueno@unixuser.org>
8282
8283 * epa-dired.el:
8284 * epa-mail.el:
8285 * epa-hook.el:
8286 * epa-file.el:
8287 * epa.el:
8288 * epg.el: Use lexical binding.
8289
82902011-04-03 Chong Yidong <cyd@stupidchicken.com>
8291
8292 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8293
8294 * textmodes/flyspell.el (flyspell-word): Recognize default
8295 dictionary case for flyspell-mark-duplications-exceptions.
8296 Use regexp matching for languages.
8297 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8298 default dictionary (Bug#7926).
8299
83002011-04-02 Chong Yidong <cyd@stupidchicken.com>
8301
8302 * emacs-lisp/package.el (package--with-work-buffer):
8303 Recognize https URLs.
8304
8305 * net/network-stream.el: Move from gnus/proto-stream.el.
8306 Change prefix to network-stream throughout.
8307 (open-protocol-stream): Merge into open-network-stream, leaving
8308 open-protocol-stream as an alias. Handle nil BUFFER args.
8309
8310 * subr.el (open-network-stream): Move to net/network-stream.el.
8311
83122011-04-02 Glenn Morris <rgm@gnu.org>
8313
8314 * find-dired.el (find-exec-terminator): New option.
8315 (find-ls-option): Test for -ls support.
8316 (find-ls-subdir-switches): Test for -b in find-ls-option.
8317 (find-dired, find-grep-dired): Doc fixes.
8318 (find-dired): Use find-exec-terminator.
8319
8320 * find-dired.el (find-ls-option, find-ls-subdir-switches)
8321 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8322 (find-name-arg): Remove purecopy.
8323
8324 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8325 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8326 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8327 accordingly. Don't add the null-device if not needed.
8328
8329 * files.el (save-some-buffers): Doc fix.
8330
83312011-04-02 Eli Zaretskii <eliz@gnu.org>
8332
8333 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8334
83352011-04-01 Juanma Barranquero <lekktu@gmail.com>
8336
8337 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8338 Use `dolist' rather than `mapcar'.
8339
83402011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8341
8342 Add lexical binding.
8343
8344 * subr.el (apply-partially): Use new closures rather than CL.
8345 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8346 (dolist, dotimes): Use slightly different expansion for lexical code.
8347 (functionp): Move to C.
8348 (letrec): New macro.
8349 (with-wrapper-hook): Use it and apply-partially instead of CL.
8350 (eval-after-load): Preserve lexical-binding.
8351 (save-window-excursion, with-output-to-temp-buffer): Turn them
8352 into macros.
8353
8354 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8355
8356 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8357 than the arglist.
8358 (help-add-fundoc-usage): Don't add `Not documented'.
8359 (help-function-arglist): Handle closures, subroutines, and new
8360 byte-code-functions.
8361 (help-make-usage): Remove leading underscores.
8362 (describe-function-1): Handle closures.
8363 (describe-variable): Use special-variable-p for completion.
8364
8365 * files.el (lexical-binding): Declare safe.
8366
8367 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8368 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8369 (pcase): Add `let' pattern.
8370 Change memoization so it actually works.
8371 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8372 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8373 <let>: New case.
8374
8375 * emacs-lisp/macroexp.el: Use lexical binding.
8376 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8377 Don't convert ' to #' without checking that it's indeed quoting
8378 a lambda.
8379
8380 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
8381 Use eval-sexp-add-defvars.
8382 (eval-sexp-add-defvars): New fun.
8383
8384 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8385
8386 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8387 Don't autoload.
8388 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8389 than the internal `byte-compile-lambda'.
8390 (defmethod): Don't hide code under quotes.
8391 (eieio-defmethod): New `code' argument.
8392
8393 * emacs-lisp/eieio-comp.el: Remove.
8394
8395 * emacs-lisp/edebug.el (edebug-eval-defun)
8396 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8397 (edebug-toggle): Avoid `eval'.
8398
8399 * emacs-lisp/disass.el (disassemble-internal): Handle new
8400 `closure' objects.
8401 (disassemble-1): Handle new byte codes.
8402
8403 * emacs-lisp/cl.el (pushnew): Silence warning.
8404
8405 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8406 (cl-byte-compile-throw): Remove.
8407 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8408
8409 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8410 closures.
8411
8412 * emacs-lisp/cconv.el: New file.
8413
8414 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8415 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8416 (byte-compile-initial-macro-environment):
8417 Handle declare-function here.
8418 (byte-compile--lexical-environment): New var.
8419 (byte-stack-ref, byte-stack-set, byte-discardN)
8420 (byte-discardN-preserve-tos): New lap codes.
8421 (byte-interactive-p): Don't use any more.
8422 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8423 New macros.
8424 (byte-compile-lapcode): Use them and handle new lap codes.
8425 (byte-compile-obsolete): Remove.
8426 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8427 (byte-compile-arglist-warn): Check late def of inlinable funs.
8428 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8429 since they should have been expanded by now.
8430 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8431 (byte-compile-from-buffer): Remove unused second arg.
8432 (byte-compile-preprocess): New function.
8433 (byte-compile-toplevel-file-form): New function to distinguish
8434 file-form calls from outside from file-form calls from hunk-handlers.
8435 (byte-compile-file-form): Simplify.
8436 (byte-compile-file-form-defsubst): Remove.
8437 (byte-compile-file-form-defmumble): Simplify now that
8438 byte-compile-lambda always returns a byte-code-function.
8439 (byte-compile): Preprocess.
8440 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8441 Remove, not used any more.
8442 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8443 (byte-compile-make-args-desc): New funs.
8444 (byte-compile-lambda): Handle lexical functions. Always return
8445 a byte-code-function.
8446 (byte-compile-reserved-constants): New var, to make up room for
8447 closed-over variables.
8448 (byte-compile-constants-vector): Obey it.
8449 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8450 (byte-compile-macroexpand-declare-function): New function.
8451 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8452 byte-code-functions.
8453 (byte-compile-form): Check obsolescence here.
8454 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8455 (byte-compile-variable-ref): Remove.
8456 (byte-compile-dynamic-variable-op): New fun.
8457 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8458 (byte-compile-variable-set): New funs.
8459 (byte-compile-discard): Add 2 args.
8460 (byte-compile-stack-ref, byte-compile-stack-set)
8461 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8462 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8463 macroexpand-all instead.
8464 (byte-compile-quote-form): Remove.
8465 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8466 (byte-compile-bind, byte-compile-unbind): New funs.
8467 (byte-compile-let): Handle let* and lexical binding.
8468 (byte-compile-let*): Remove.
8469 (byte-compile-catch, byte-compile-unwind-protect)
8470 (byte-compile-track-mouse, byte-compile-condition-case):
8471 Handle a new :fun-body form, used for lexical scoping.
8472 (byte-compile-save-window-excursion)
8473 (byte-compile-with-output-to-temp-buffer): Remove.
8474 (byte-compile-defun): Simplify.
8475 (byte-compile-stack-adjustment): New fun.
8476 (byte-compile-out): Use it.
8477 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8478
8479 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8480 handler any more.
8481
8482 * emacs-lisp/byte-opt.el: Use lexical binding.
8483 (byte-inline-lapcode): Remove (to bytecomp).
8484 (byte-compile-inline-expand): Pay attention to inlining to/from
8485 lexically bound code.
8486 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8487 any more.
8488 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8489 any more and don't call compiler-macros.
8490 (byte-compile-splice-in-already-compiled-code): Remove.
8491 (byte-code): Don't inline any more.
8492 (disassemble-offset): Receive `bytes' as argument rather than via
8493 dynamic scoping.
8494 (byte-compile-tag-number): Declare before first use.
8495 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8496 `return' even if make-spliceable.
8497 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8498 obsolete interactive-p.
8499 (byte-optimize-lapcode): Optimize new lap-codes.
8500 Don't trip up on new form of `byte-constant' lap code.
8501
8502 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8503
8504 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8505
8506 * custom.el (custom-initialize-default, custom-declare-variable):
8507 Use `defvar'.
8508
8509 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8510 New variables.
8511 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8512 (COMPILE_FIRST): Add macroexp and cconv.
8513 * makefile.w32-in: Mirror changes in Makefile.in.
8514
8515 * vc/cvs-status.el:
8516 * vc/diff-mode.el:
8517 * vc/log-edit.el:
8518 * vc/log-view.el:
8519 * vc/smerge-mode.el:
8520 * textmodes/bibtex-style.el:
8521 * textmodes/css.el:
8522 * startup.el:
8523 * uniquify.el:
8524 * minibuffer.el:
8525 * newcomment.el:
8526 * reveal.el:
8527 * server.el:
8528 * mpc.el:
8529 * emacs-lisp/smie.el:
8530 * doc-view.el:
8531 * dired.el:
8532 * abbrev.el: Use lexical binding.
8533
85342011-04-01 Eli Zaretskii <eliz@gnu.org>
8535
8536 * info.el (info-display-manual): New function.
8537
85382011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8539
8540 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8541
85422011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8543
8544 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
8545 an entry for that server in rcirc-authinfo. (Bug#8385)
8546
85472011-03-31 Glenn Morris <rgm@gnu.org>
8548
8549 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8550
8551 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8552
85532011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8554
8555 * progmodes/python.el (python-default-interpreter)
8556 (python-python-command-args, python-jython-command-args)
8557 (python-which-shell, python-which-args, python-which-bufname)
8558 (python-file-queue, python-comint-output-filter-function)
8559 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8560 variables and functions.
8561
85622011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8565 (completion-in-region-mode): New minor mode.
8566 (completion-in-region): Use it.
8567 (completion-in-region--data, completion-in-region-mode-map): New vars.
8568 (completion-in-region--postch): New function.
8569 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8570 New vars.
8571 (completion--capf-wrapper): New function.
8572 (completion-at-point): Use it to track well-behavedness of
8573 hook functions.
8574 (completion-help-at-point): New command.
8575
85762011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8577
8578 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8579 syntax class to search for whitespace on a single line
8580 (Message-ID: <4D938140.4030905@redhat.com>).
8581
85822011-03-30 Leo Liu <sdl.web@gmail.com>
8583
8584 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8585 New commands.
8586 (edit-abbrevs-map): Bind them here.
8587 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8588
85892011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8590
8591 * allout.el (allout-hide-by-annotation, allout-flag-region):
8592 Reduce possibility of overlay leakage by making them volatile.
8593
8594 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8595 hash is not shared between buffers. Mode initialization is
8596 responsible for giving it a useful starting value.
8597 (allout-item-span): Reduce possibility of overlay leakage by
8598 making them volatile.
8599 (allout-widgets-count-buttons-in-region): Add diagnostic function
8600 for tracking down button overlay leaks.
8601
86022011-03-29 Leo Liu <sdl.web@gmail.com>
8603
8604 * ido.el (ido-read-internal): Use the default history var
8605 minibuffer-history if no HISTORY is specified.
8606
86072011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8608
8609 * net/imap.el (imap-shell-open, imap-process-connection-type):
8610 Use imap-process-connection-type for 'shell' streams as well as
8611 Kerberos, SSL, other subprocesses.
8612
86132011-03-28 Leo Liu <sdl.web@gmail.com>
8614
8615 * abbrev.el (abbrev-table-empty-p): New function.
8616 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8617 nonempty ones. (Bug#5937)
8618
86192011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8620
8621 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8622
86232011-03-27 Leo Liu <sdl.web@gmail.com>
8624
8625 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8626 for foreground and background colors.
8627 (ansi-color-make-color-map): Adapt.
8628
86292011-03-25 Leo Liu <sdl.web@gmail.com>
8630
8631 * midnight.el (midnight-time-float): Remove. Note it calculates
8632 the microsecond component incorrectly and seconds-to-time does the
8633 same job.
8634 Remove redundant (require 'timer).
8635
8636 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8637 (ido-completions): Remove unused arguments. (Bug#8329)
8638
86392011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8640
8641 * minibuffer.el (completion--flush-all-sorted-completions):
8642 Remove itself from hook.
8643 (completion-at-point): Let the functions perform the completion
8644 immediately and return nil or t.
8645 * comint.el (comint-dynamic-complete-functions): Now identical to
8646 completion-at-point-functions.
8647 (comint-dynamic-list-input-ring): Remove unused var `index'.
8648 (comint--match-partial-filename, comint--unquote&expand-filename):
8649 New funs, split from comint-match-partial-filename.
8650 (comint-dynamic-complete): Use completion-at-point.
8651 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8652
86532011-03-24 Drew Adams <drew.adams@oracle.com>
8654
8655 * thingatpt.el: Support `defun'.
8656
86572011-03-23 Leo Liu <sdl.web@gmail.com>
8658
8659 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8660
8661 * help-mode.el (help-mode-finish): Tweak regexp.
8662
86632011-03-23 Glenn Morris <rgm@gnu.org>
8664
8665 * eshell/esh-opt.el (eshell-eval-using-options):
8666 Do not bind unused local variable `eshell-option-stub'.
8667
8668 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8669
86702011-03-22 Juanma Barranquero <lekktu@gmail.com>
8671
8672 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8673 keymap variable in `with-no-warnings' to avoid a warning when the
8674 keymap has been already `defconst'ed.
8675
86762011-03-22 Leo Liu <sdl.web@gmail.com>
8677
8678 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8679 encode all chars in abbrevs; otherwise use emacs-mule or
8680 utf-8-emacs. (Bug#8308)
8681
86822011-03-22 Juanma Barranquero <lekktu@gmail.com>
8683
8684 * simple.el (backward-delete-char-untabify):
8685 Avoid warning about using `delete-backward-char'.
8686
8687 * image.el (image-type-file-name-regexps): Make it variable.
8688 `imagemagick-register-types' modifies it, and the user may want
8689 to add new extensions for known image types.
8690 (imagemagick-register-types): Throw error if not using ImageMagick.
8691
86922011-03-22 Leo Liu <sdl.web@gmail.com>
8693
8694 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8695 located before rcirc-prompt-end-marker.
8696 (rcirc-complete): Error if point is not after rcirc prompt.
8697 Handle the case when table is nil.
8698 (rcirc-user-authenticated): Define to fix compiler warning.
8699
87002011-03-22 Chong Yidong <cyd@stupidchicken.com>
8701
8702 * custom.el (custom--inhibit-theme-enable): Make it affect only
8703 custom-theme-set-variables and custom-theme-set-faces.
8704 (provide-theme): Ignore custom--inhibit-theme-enable.
8705 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8706 (custom-enabling-themes): Delete variable.
8707 (enable-theme): Accept only loaded themes as arguments.
8708 Ignore the special custom-enabled-themes variable.
8709 (custom-enabled-themes): Forbid themes from setting this.
8710 Eliminate use of custom-enabling-themes.
8711 (custom-push-theme): Quote "changed" custom var entry.
8712
87132011-03-21 Leo Liu <sdl.web@gmail.com>
8714
8715 * ido.el (ido-read-internal): Add ido-selected to history instead
8716 of user input.
8717
87182011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * subr.el (deferred-action-list, deferred-action-function):
8721 Mark obsolete.
8722
87232011-03-21 Leo Liu <sdl.web@gmail.com>
8724
8725 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8726 change on 2011-02-13 (bug#8309).
8727
8728 * minibuffer.el (read-file-name-function): Change default value.
8729 (read-file-name--defaults): Rename from read-file-name-defaults.
8730 (read-file-name-default): Rename from read-file-name.
8731 (read-file-name): Call read-file-name-function.
8732
87332011-03-21 Glenn Morris <rgm@gnu.org>
8734
8735 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8736 Doc fixes.
8737
87382011-03-21 Chong Yidong <cyd@stupidchicken.com>
8739
8740 * cus-theme.el: Add missing provide statement.
8741 (customize-create-theme): Extract theme value correctly.
8742 (custom-theme-visit-theme): Autoload.
8743 (customize-create-theme): Prompt before inserting default faces.
8744
87452011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8746
8747 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8748 units and musical notes.
8749
87502011-03-20 Leo <sdl.web@gmail.com>
8751
8752 * ido.el (ido-read-internal): Use completing-read-default.
8753 (ido-completing-read): Fix compatibility with completing-read.
8754
87552011-03-20 Christian Ohler <ohler@gnu.org>
8756
8757 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8758 (ert-delete-all-tests): Use `called-interactively-p' rather than
8759 `interactive-p'.
8760 (ert--make-xrefs-region): Respect END.
8761
87622011-03-19 Chong Yidong <cyd@stupidchicken.com>
8763
8764 * dired-aux.el (dired-create-directory): Signal an error if the
8765 directory already exists (Bug#8246).
8766
8767 * facemenu.el (list-colors-display): Call list-faces-display
8768 inside with-help-window.
8769 (list-colors-print): Use display property to align the final
8770 column, instead of checking window-width.
8771
87722011-03-19 Eli Zaretskii <eliz@gnu.org>
8773
8774 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
8775 windows-nt systems.
8776 (emerge-protect-metachars): Quote correctly for ms-dos and
8777 windows-nt systems.
8778
87792011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
8780
8781 * info.el (info-initialize): Replace all uses of `:' with
8782 path-separator for compatibility with non-Unix systems.
8783 Cache quoting of path-separator. (Bug#8258)
8784
87852011-03-19 Juanma Barranquero <lekktu@gmail.com>
8786
8787 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8788 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8789 (mouse-avoidance-mode): Fix typos in docstrings.
8790
87912011-03-19 Chong Yidong <cyd@stupidchicken.com>
8792
8793 * startup.el (package-subdirectory-regexp): Move from package.el.
8794 Omit \\` and \\', and let callers add them.
8795
8796 * emacs-lisp/package.el (package-strip-version)
8797 (package-load-all-descriptors): Add \\` and \\' to
8798 package-subdirectory-regexp before using it.
8799 (package-untar-buffer): New arg DIR; ensure that file untars only
8800 into this expected directory. Remove superfluous delete-region.
8801 (package-unpack): Caller changed.
8802 (package-tar-file-info): Use package-subdirectory-regexp.
8803
88042011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8805
8806 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8807 diff-mode-shared-map (bug#8284).
8808 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
8809
88102011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8811
8812 * calendar/time-date.el (format-seconds): Use assoc instead of
8813 assoc-string, since assoc-string doesn't exist in XEmacs.
8814
88152011-03-17 Juanma Barranquero <lekktu@gmail.com>
8816
8817 * custom.el (custom-known-themes): Reflow docstring.
8818 (custom-theme-load-path): Fix typo in docstring.
8819 (load-theme): Fix typo in error message.
8820 (custom-available-themes, custom-variable-theme-value):
8821 Use `let', not `let*'.
8822
88232011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8824
8825 * calc/README: Mention inclusion of musical notes.
8826
8827 * calc/calc-units.el (calc-lu-quant): Rename from
8828 `calc-logunits-quantity'.
8829 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8830 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8831 (calc-db): Rename from `calc-dblevel'.
8832 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8833 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8834 (calc-np): Rename from `calc-nplevel'.
8835 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8836 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8837 (calc-lu-plus): Rename from `calc-logunits-add'.
8838 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8839 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8840 (calc-lu-minus): Rename from `calc-logunits-sub'.
8841 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8842 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8843 (calc-lu-times): Rename from `calc-logunits-mul'.
8844 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8845 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8846 (calc-lu-divide): Rename from `calc-logunits-div'.
8847 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8848 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8849
8850 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8851 functions being autoloaded.
8852
8853 * calc/calc.el (calc-lu-power-reference): Rename from
8854 `calc-logunits-power-reference'.
8855 (calc-lu-field-reference): Rename from
8856 `calc-logunits-field-reference'.
8857
8858 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8859
88602011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8861
8862 * minibuffer.el (completion-all-sorted-completions):
8863 Use :completion-cycle-penalty text property if present.
8864
88652011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8866
8867 * allout.el (allout-yank-processing): Adjust for new rebulleting
8868 regime so bullet being yanked is used without prompting the user
8869 for a choice.
8870
88712011-03-16 Juanma Barranquero <lekktu@gmail.com>
8872
8873 * startup.el (command-line): Warn the user that _emacs is deprecated.
8874
88752011-03-16 Juanma Barranquero <lekktu@gmail.com>
8876
8877 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8878 (delphi-verbose, delphi-comment-face, delphi-string-face)
8879 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8880 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8881 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8882 (delphi-new-comment-line, delphi-font-lock-defaults)
8883 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8884 Fix typos in docstrings.
8885
88862011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8887
8888 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
8889 Invert the roles of character and string values for INSTEAD, so a
8890 string is used for the more common case of a defaulting prompt.
8891
88922011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8893
8894 * progmodes/ruby-mode.el (ruby-backward-sexp):
8895 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8896 * play/gamegrid.el (gamegrid-make-face):
8897 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8898 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8899 * notifications.el (notifications-notify):
8900 * net/xesam.el (xesam-search-engines):
8901 * net/quickurl.el (quickurl-list-insert):
8902 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8903
89042011-03-15 Chong Yidong <cyd@stupidchicken.com>
8905
8906 * startup.el (command-line): Update package subdirectory regexp.
8907
89082011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * allout.el (allout-abbreviate-flattened-numbering)
8911 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8912
8913 * subr.el (read-char-choice): Only show the cursor after the prompt,
8914 not after the answer.
8915
89162011-03-15 Kevin Ryde <user42@zip.com.au>
8917
8918 * help-fns.el (variable-at-point): Skip leading quotes, if any
8919 (bug#8253).
8920
89212011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8922
8923 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8924 warning message.
8925
89262011-03-14 Michael Albinus <michael.albinus@gmx.de>
8927
8928 * shell.el (shell): When called interactively, offer to change the
8929 shell file name on remote hosts.
8930
89312011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8932
8933 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8934 integration for LDAP parameters. The host, base, user or binddn,
8935 and secret tokens can be specified in a netrc file, for instance.
8936 This is optional because an `auth-source' parameter must be
8937 specified in the search attributes.
8938
89392011-03-13 Juanma Barranquero <lekktu@gmail.com>
8940
8941 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8942
89432011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8944
8945 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8946 into declaration. Remove redundant and harmful binding.
8947
89482011-03-12 Eli Zaretskii <eliz@gnu.org>
8949
8950 * files.el (file-ownership-preserved-p): Pass `integer' as an
8951 explicit 2nd argument to `file-attributes'. If the file's owner
8952 is the Administrators group on Windows, and the current user is
8953 Administrator, consider that a match.
8954
8955 * server.el (server-ensure-safe-dir): Consider server directory
8956 safe on MS-Windows if its owner is the Administrators group while
8957 the current Emacs user is Administrator. Use `=' to compare
8958 numerical UIDs, since they could be integers or floats.
8959
89602011-03-12 Juanma Barranquero <lekktu@gmail.com>
8961
8962 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8963
89642011-03-12 Michael Albinus <michael.albinus@gmx.de>
8965
8966 Sync with Tramp 2.2.1.
8967
8968 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8969
8970 * net/trampver.el: Update release number.
8971
89722011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * progmodes/compile.el (compilation--previous-directory): Fix up
8975 various nil/dead-marker mismatches (bug#8014).
8976 (compilation-directory-properties, compilation-error-properties):
8977 Don't call it at a position past the one we're about to change.
8978
8979 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8980 Disable obsolescence warnings in the file that declares it.
8981
89822011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8983
8984 * allout-widgets.el (allout-widgets-tally):
8985 Initialize allout-widgets-tally as a hash table rather than nil to
8986 prevent mode-line redisplay warnings. Also, clarify the module
8987 description and fix a comment typo.
8988
89892011-03-11 Juanma Barranquero <lekktu@gmail.com>
8990
8991 * help-fns.el (describe-variable): Don't complete keywords.
8992 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8993
89942011-03-10 Chong Yidong <cyd@stupidchicken.com>
8995
8996 * emacs-lisp/package.el (package-version-join): Impose a standard
8997 string representation for pre/alpha/beta version lists.
8998 (package-unpack-single): Standardize the directory name by passing
8999 it through package-version-join.
9000 (package-strip-rcs-id): Accept any version string that does not
9001 signal an error in version-to-list.
9002
90032011-03-10 Michael Albinus <michael.albinus@gmx.de>
9004
9005 * simple.el (delete-trailing-whitespace): Return nil for the
9006 benefit of `write-file-functions'.
9007
90082011-03-10 Glenn Morris <rgm@gnu.org>
9009
9010 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9011
9012 * vc/vc-git.el (vc-git-program): New option.
9013 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9014 (vc-git--call): Use it.
9015
9016 * eshell/esh-util.el (eshell-condition-case): Doc fix.
9017
9018 * cus-edit.el (Custom-newline): If no button at point, look
9019 for a subgroup button at start-of-line. (Bug#2298)
9020
9021 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9022
90232011-03-10 Julien Danjou <julien@danjou.info>
9024
9025 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9026 `cursor-type' is nil.
9027
90282011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
9029
9030 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9031
90322011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
9033
9034 * allout.el Summary: Change so yank of distinctive-bullet items
9035 preserves the existing header prefix, rebulleting it if necessary,
9036 rather than replacing it. This is necessary for proper operation
9037 of cooperative addons like allout-widgets.
9038 (allout-make-topic-prefix, allout-rebullet-heading): Change
9039 SOLICIT arg to INSTEAD, and interpret additionally a string value
9040 as alternate bullet to be used, instead of prompting the user for
9041 a bullet character.
9042
90432011-03-09 Michael Albinus <michael.albinus@gmx.de>
9044
9045 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9046 Do not use `tramp-file-name-port', because this returns also
9047 `tramp-default-port'.
9048
90492011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9050
9051 * net/rcirc.el (rcirc-handler-001): Remove useless
9052 with-rcirc-process-buffer.
9053 (rcirc-check-auth-status): Swap arguments to string-match.
9054
90552011-03-09 Glenn Morris <rgm@gnu.org>
9056
9057 * shell.el (shell-mode):
9058 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
9059
9060 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9061 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
9062
90632011-03-08 Chong Yidong <cyd@stupidchicken.com>
9064
9065 * emacs-lisp/package.el (package-refresh-contents)
9066 (package-menu-execute): Use condition-case-no-debug.
9067
90682011-03-08 Michael Albinus <michael.albinus@gmx.de>
9069
9070 * simple.el (shell-command-to-string): Use `process-file'.
9071
9072 * emacs-lisp/package.el (package-tar-file-info): Handle also
9073 remote files.
9074
9075 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9076 Use `equal' for upload base check.
9077
90782011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
9079
9080 * textmodes/texinfo.el (texinfo-environments):
9081 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
9082
90832011-03-08 Glenn Morris <rgm@gnu.org>
9084
9085 * cus-start.el (cursor-in-non-selected-windows):
9086 Fix :set quoting oddness. (Bug#8192)
9087
9088 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9089 in some setf expressions. (Bug#2159)
9090
90912011-03-08 Chong Yidong <cyd@stupidchicken.com>
9092
9093 * custom.el (custom-available-themes): Return themes in
9094 alphabetical order.
9095
9096See ChangeLog.15 for earlier changes.
9097
9098;; Local Variables:
9099;; coding: utf-8
9100;; End:
9101
9102 Copyright (C) 2011 Free Software Foundation, Inc.
9103
9104 This file is part of GNU Emacs.
9105
9106 GNU Emacs is free software: you can redistribute it and/or modify
9107 it under the terms of the GNU General Public License as published by
9108 the Free Software Foundation, either version 3 of the License, or
9109 (at your option) any later version.
9110
9111 GNU Emacs is distributed in the hope that it will be useful,
9112 but WITHOUT ANY WARRANTY; without even the implied warranty of
9113 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9114 GNU General Public License for more details.
9115
9116 You should have received a copy of the GNU General Public License
9117 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.