Fix typos.
[bpt/emacs.git] / lisp / ChangeLog
1 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
2
3 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4 * progmodes/pascal.el (electric-pascal-equal):
5 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6 * xml.el (xml-substitute-special): Fix typos.
7
8 2011-11-20 Glenn Morris <rgm@gnu.org>
9
10 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12 Doc fixes.
13 (rmail-decode-mime-charset): Mark as obsolete.
14
15 * mail/rmailsum.el (rmail-message-regexp-p-1):
16 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17 Before using mime functions, check they are set. (Bug#10077)
18
19 2011-11-19 Juri Linkov <juri@jurta.org>
20
21 * info.el (Info-finder-find-node): Use `package--builtins' instead
22 of `package-alist'. Use node names formed by the pattern "Keyword "
23 and the keyword name.
24
25 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
26
27 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
28 bash.
29
30 2011-11-19 Juri Linkov <juri@jurta.org>
31
32 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
33 that calls `revert-buffer' on all Info buffers. (Bug#9915)
34 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
35 `old-history', `old-history-forward'. Add let-binding
36 `window-selected'. Remove calls to `kill-buffer',
37 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
38 before calling `Info-find-node', so `Info-find-node-2' will reread
39 the Info file. Restore window positions only when `window-selected'
40 is non-nil.
41
42 2011-11-19 Juri Linkov <juri@jurta.org>
43
44 * isearch.el (isearch-lazy-highlight-new-loop):
45 Remove condition `(not isearch-error)'. (Bug#9918)
46
47 * misearch.el (multi-isearch-search-fun): Add condition
48 `(not bound)' to ignore lazy-highlighting search.
49 Add the search-failed message "end of multi" when the end of
50 multi-sequence is reached. Uncapitalize the search-failed
51 message "Repeat for next buffer".
52
53 * info.el (Info-search): Add the search-failed message
54 "end of the manual" when the end of the manual is reached
55 in Isearch mode.
56
57 2011-11-19 Juri Linkov <juri@jurta.org>
58
59 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
60 Use non-destructive `remove' instead of `delete' because
61 `Info-history-list' stored to `Info-isearch-initial-history-list' in
62 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
63
64 2011-11-19 Juri Linkov <juri@jurta.org>
65
66 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
67 to nil instead of binding `search-ring' and `regexp-search-ring'.
68 (Bug#9185)
69
70 2011-11-19 Eli Zaretskii <eliz@gnu.org>
71
72 * simple.el (line-move): Force movement by logical lines for any
73 hscrolled window, not only when auto-hscroll-mode is on.
74 (line-move-visual): Update doc string to that effect. (Bug#10076)
75
76 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
77
78 * language/european.el (macintosh): Define as alias for mac-roman.
79
80 2011-11-19 Eli Zaretskii <eliz@gnu.org>
81
82 * mail/rmailmm.el (rmail-mime-display-header)
83 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
84 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
85 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
86 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
87 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
88 of a raw aref.
89 (rmail-mime-entity-segment): To get past the tagline, move forward
90 2 more lines, to account for the 2 empty lines that precede and
91 follow the line with the buttons.
92 (rmail-mime-update-tagline): Move one more line, to get past the
93 empty line that follows the buttons in the tagline. (Bug#9520)
94
95 2011-11-19 Martin Rudalics <rudalics@gmx.at>
96
97 * window.el (window-max-delta-1, window-min-delta-1)
98 (window-min-size-1, window-state-get-1, window-state-put-1)
99 (window-state-put-2): Use "window--" prefix.
100
101 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
102
103 * emacs-lisp/smie.el: Improve warnings and conflict detection.
104 (smie-warning-count): New var.
105 (smie-set-prec2tab): Use it.
106 (smie-bnf->prec2): Improve warnings. Add docstring.
107 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
108 (smie-bnf--set-class): New function.
109 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
110 corner case.
111
112 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
113 (compilation-error-properties, compilation-move-to-column):
114 Handle compilation-first-column while in the target buffer.
115
116 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
117 Don't hardcode point-min==1.
118
119 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
120 (eshell-rewrite-for-command): Remove workaround.
121 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
122 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
123 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
124
125 * files-x.el (modify-file-local-variable): Obey commenting conventions.
126
127 2011-11-17 Glenn Morris <rgm@gnu.org>
128
129 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
130 Ignore buffer-local generated-autoload-file if it is the same
131 as the global value. (Bug#10049)
132
133 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
134
135 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
136 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
137 (reftex-toc-previous-heading, reftex-toc-max-level)
138 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
139 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
140 (reftex-toc-do-promote, reftex-toc-promote-prepare)
141 (reftex-toc-promote-action, reftex-toc-extract-section-number)
142 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
143 (reftex-toc-rename-label, reftex-toc-visit-location)
144 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
145 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
146 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
147 leaving "*toc*" only for references to the buffer.
148
149 2011-11-17 Martin Rudalics <rudalics@gmx.at>
150
151 * window.el (window-resize, delete-window, split-window):
152 Replace window-splits by window-combination-resize.
153 * cus-start.el (window-splits): Replace by
154 window-combination-resize.
155
156 2011-11-17 Glenn Morris <rgm@gnu.org>
157
158 * progmodes/sh-script.el (sh-font-lock-keywords-var):
159 Make bash entry derive from sh entry, not shell entry.
160
161 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
162
163 * net/tramp.el (tramp-handle-file-truename): Cache only the local
164 file name.
165
166 * net/tramp-cache.el (tramp-flush-file-property): Flush also
167 properties of linked files. (Bug#9879)
168
169 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
170
171 * menu-bar.el (menu-bar-file-menu):
172 * printing.el (pr-ps-utility):
173 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
174 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
175 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
176 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
177 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
178 (icalendar--convert-cyclic-to-ical)
179 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
180 (icalendar--convert-ical-to-diary)
181 (icalendar--convert-recurring-to-diary)
182 (icalendar--convert-non-recurring-all-day-to-diary)
183 (icalendar-import-format-sample):
184 * progmodes/idlw-shell.el (idlwave-shell-mode):
185 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
186 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
187 (vhdl-ps-print-init): Fix typos.
188
189 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
190
191 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
192 FSF and collapse date sequence, obscure author/maintainer email address
193 better, remove extra version line, track relocation of author's webpage.
194
195 * progmodes/python.el (python-pdbtrack-input-prompt)
196 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
197 regular python pdb prompts. Adjustments shamelessly taken exactly as
198 suggested in EmacsWiki page (tiny change):
199 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
200
201 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
202
203 * expand.el (expand-pos, expand-index, expand-point):
204 Remove redundant info from docstring.
205 (expand-add-abbrevs): Doc fix.
206 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
207 (expand-sample-perl-mode-expand-list): Fix typos.
208
209 * net/dbus.el (dbus-event-member-name):
210 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
211 * term/pc-win.el (msdos-create-frame-with-faces):
212 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
213
214 2011-11-16 Martin Rudalics <rudalics@gmx.at>
215
216 * window.el (split-window, window-state-get-1)
217 (window-state-put-1, window-state-put-2): Rename occurrences of
218 window-nest to window-combination-limit.
219 * cus-start.el (window-nest): Rename to
220 window-combination-limit.
221
222 2011-11-16 Chong Yidong <cyd@gnu.org>
223
224 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
225 regexp (Bug#10033).
226
227 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
230 `completing-read' will remove *Completions* and will preserve
231 current-buffer for us.
232 (tmm-add-prompt): Users of *Completions* will always (re)set its
233 major mode.
234 (tmm-old-comp-map): Remove.
235
236 2011-11-16 Glenn Morris <rgm@gnu.org>
237
238 * mail/rmailedit.el: Require rmailmm when compiling.
239 (rmail-old-mime-state): New declaration.
240 (rmail-edit-current-message): If editing a mime message,
241 edit the "raw" message from the mbox buffer.
242 (rmail-cease-edit): Handle mime messages. (Bug#9840)
243
244 2011-11-15 Glenn Morris <rgm@gnu.org>
245
246 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
247 which wasn't being used. Add optional arg to force given state.
248 (rmail-mime): Add optional arg to force given state.
249
250 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
251
252 * allout.el (allout-encryption-plaintext-sanitization-regexps):
253 * frame.el (display-mm-dimensions-alist):
254 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
255 (outline-move-subtree-down):
256 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
257 (newsticker--treeview-do-get-node):
258 * net/quickurl.el (quickurl-list-buffer-name):
259 * progmodes/dcl-mode.el (dcl-mode):
260 * progmodes/gdb-mi.el (gdb-mapcar*):
261 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
262
263 2011-11-15 Glenn Morris <rgm@gnu.org>
264
265 * mail/rmail.el (rmail-file-coding-system): It's only ever used
266 in a boolean sense, so just make it a boolean, and fix the doc.
267 (rmail-show-mime-function, rmail-mime-feature)
268 (rmail-require-mime-maybe): Doc fixes.
269 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
270
271 * mail/rmailmm.el (rmail-show-mime): Doc fix.
272
273 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
274
275 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
276 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
277 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
278 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
279
280 2011-11-15 Glenn Morris <rgm@gnu.org>
281
282 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
283 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
284 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
285 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
286 (rmail-mime, rmail-show-mime): Doc fixes.
287
288 * term/ns-win.el (mode-line-frame-identification):
289 Leave it alone. (Bug#10051)
290
291 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
292
293 * mail/rmailout.el (rmail-output-to-rmail-buffer):
294 Handle empty buffers. (Bug#9978)
295
296 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
297
298 * international/mule.el (define-charset):
299 * mail/rmailmm.el (rmail-mime-find-header-encoding):
300 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
301 * progmodes/verilog-mode.el (verilog-backward-token):
302 * textmodes/ispell.el (lookup-words):
303 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
304
305 2011-11-14 Glenn Morris <rgm@gnu.org>
306
307 * progmodes/executable.el
308 (executable-make-buffer-file-executable-if-script-p):
309 Handle file-modes returning nil.
310
311 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
312 message - not necessary, and causes problems. (Bug#9831)
313
314 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
315
316 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
317
318 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
319 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
320 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
321
322 2011-11-12 Martin Rudalics <rudalics@gmx.at>
323
324 * window.el (window-resize, delete-window): Use window-splits
325 variable instead of function.
326 (window-state-get-1, window-state-put-2, window-state-put):
327 Don't deal with windows' splits status.
328
329 2011-11-12 Glenn Morris <rgm@gnu.org>
330
331 * apropos.el (apropos-do-all, apropos-library, apropos-value)
332 (apropos-documentation): Doc fixes.
333
334 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
335
336 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
337 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
338
339 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
340
341 * electric.el (electric-indent-post-self-insert-function): Make it
342 possible for a char to only indent in some circumstances.
343 (electric-indent-mode): Simplify.
344
345 2011-11-11 Martin Rudalics <rudalics@gmx.at>
346
347 * window.el (windows-with-parameter): Remove unused function.
348 (windows-at-side): Rename to window-at-side-list.
349 (window-check, window-atom-check, window-atom-check-1)
350 (window-side-check, window-size-ignore, window-size-fixed-1)
351 (window-in-direction-2): Prefix with "window--".
352 (window-tree-1): Rename to window--subtree, fix doc-string.
353
354 2011-11-11 Glenn Morris <rgm@gnu.org>
355
356 * subr.el (eval-after-load): If FILE is already loaded,
357 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
358
359 2011-11-10 Glenn Morris <rgm@gnu.org>
360
361 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
362 Call svn via vc-svn-command rather than vc-do-command.
363 (vc-svn-command): Add --non-interactive. (Bug#9993)
364 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
365
366 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
367 Add toggle-read-only. (Bug#7292)
368 * files.el (toggle-read-only): Mention that it should only
369 be used interactively. (Bug#10006)
370
371 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
372
373 * progmodes/compile.el (compilation-error-regexp-alist-alist):
374 Adjust regexp for OCaml warnings.
375
376 * electric.el (electric-pair-post-self-insert-function): Let user
377 turn it off buffer-locally (bug#9932).
378
379 * progmodes/python.el (python-beginning-of-statement):
380 Rewrite (bug#2703).
381
382 * progmodes/compile.el: Better handle TABs (bug#9749).
383 (compilation-internal-error-properties)
384 (compilation-next-error-function): Obey the target buffer's
385 compilation-error-screen-columns.
386
387 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
388
389 * progmodes/meta-mode.el: Remove obsolete comments.
390 (meta-right-comment-regexp, meta-ignore-comment-regexp):
391 Fix typos in docstrings.
392
393 2011-11-09 Martin Rudalics <rudalics@gmx.at>
394
395 * window.el (window-size-fixed-p): Rewrite doc-string.
396 (window-resizable-p): Rename to window--resizable-p. Update callers.
397 (window--resizable): New function. Make all callers of
398 window-resizable call window--resizable instead.
399 (window-resizable): Rewrite in terms of window--resizable.
400
401 2011-11-08 Glenn Morris <rgm@gnu.org>
402
403 * progmodes/delphi.el (delphi-mode-syntax-table):
404 Let define-derived-mode define a proper syntax table. (Bug#9994)
405
406 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
407
408 * window.el: Stay away from defsubst.
409 (window-list-no-nils): Remove.
410 (window-state-get-1, window-state-get): Use backquote instead.
411
412 2011-11-08 thierry <thierry.volpiatto@gmail.com>
413
414 * emacs-lisp/find-func.el (find-function-read):
415 Fix incorrect use of default argument in `completing-read'.
416
417 2011-11-08 Martin Rudalics <rudalics@gmx.at>
418
419 * window.el (display-buffer-function, special-display-function):
420 Mention display-buffer-record-window but do not mention
421 help-setup parameter in doc-strings.
422 (window-min-delta): Fix doc-string typo.
423
424 2011-11-08 Chong Yidong <cyd@gnu.org>
425
426 * window.el (window-total-height, window-total-width): Doc fix.
427 (window-body-size): Move from C.
428 (window-body-height, window-body-width): Move to C.
429
430 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 * window.el: Make special-display like display-buffer-alist (bug#9532).
433 (display-buffer--special-action): New function, morphed
434 from display-buffer--special.
435 (display-buffer): Use it to handle special-display-buffers at higher
436 priority (just after display-buffer-alist).
437 (display-buffer-fallback-action, display-buffer--other-frame-action)
438 (pop-to-buffer-same-window): Remove display-buffer--special.
439
440 2011-11-07 Glenn Morris <rgm@gnu.org>
441
442 * calendar/cal-menu.el (cal-menu-set-date-title):
443 Do nothing if not in a calendar. (Bug#9976)
444
445 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
446
447 * files.el (find-file): Always use selected-window.
448
449 2011-11-07 Martin Rudalics <rudalics@gmx.at>
450
451 * window.el (window-combinations): Make WINDOW argument
452 mandatory. Rewrite doc-string.
453 (walk-window-subtree, window-atom-check, window-min-delta)
454 (window-max-delta, window--resize-this-window)
455 (window--resize-root-window-vertically, window-tree)
456 (balance-windows, window-state-put): Rewrite doc-strings as to
457 not mention the term "subwindow".
458 (window--resize-subwindows-skip-p): Rename to
459 window--resize-child-windows-skip-p.
460 (window--resize-subwindows-normal): Rename to
461 window--resize-child-windows-normal.
462 (window--resize-subwindows): Rename to
463 window--resize-child-windows.
464 (window-or-subwindow-p): Rename to window--in-subtree-p.
465
466 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
467
468 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
469 Ensure that mbox format messages end in two newlines (Bug#9974).
470
471 2011-11-06 Chong Yidong <cyd@gnu.org>
472
473 * window.el (window-combination-p): Function deleted; its
474 side-effect is not used in any existing code.
475 (window-combinations, window-combined-p): Call window-*-child
476 directly.
477
478 2011-11-05 Chong Yidong <cyd@gnu.org>
479
480 * window.el (window-valid-p): Rename from window-any-p.
481 (window-size-ignore, window-state-get): Callers changed.
482 (window-normalize-window): Rename from window-normalize-any-window.
483 New arg LIVE-ONLY, replacing window-normalize-live-window.
484 (window-normalize-live-window): Delete.
485 (window-combination-p, window-combined-p, window-combinations)
486 (walk-window-subtree, window-atom-root, window-min-size)
487 (window-sizable, window-sizable-p, window-size-fixed-p)
488 (window-min-delta, window-max-delta, window-resizable)
489 (window-resizable-p, window-full-height-p, window-full-width-p)
490 (window-current-scroll-bars, window-point-1, set-window-point-1)
491 (window-at-side-p, window-in-direction, window-resize)
492 (adjust-window-trailing-edge, maximize-window, minimize-window)
493 (window-deletable-p, delete-window, delete-other-windows)
494 (record-window-buffer, unrecord-window-buffer)
495 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
496 (quit-window, split-window, window-state-put)
497 (set-window-text-height, fit-window-to-buffer)
498 (shrink-window-if-larger-than-buffer): Callers changed.
499
500 2011-11-04 Eli Zaretskii <eliz@gnu.org>
501
502 * mail/rmail.el (rmail-simplified-subject): Decode subject with
503 rfc2047-decode-string.
504 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
505 warnings.
506
507 * window.el (window-body-height, window-body-width): Mention in
508 the doc string that the return values are in frame's canonical
509 units. (Bug#9949)
510
511 2011-11-03 Alan Mackenzie <acm@muc.de>
512
513 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
514 change in cc-engine.el.
515
516 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
517
518 * window.el (switch-to-buffer): Use `force-same-window' interactively.
519
520 2011-11-02 Martin Rudalics <rudalics@gmx.at>
521
522 * window.el (quit-window): Call unrecord-window-buffer after
523 showing another buffer in the window. (Bug#9937)
524 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
525
526 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
527
528 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
529 Accept status with more than 9 shelves. (Bug#9935)
530 Reported by Colin D Bennett <colin@gibibit.com>.
531
532 2011-11-01 Martin Rudalics <rudalics@gmx.at>
533
534 * help.el (with-help-window): Don't reference
535 temp-buffer-show-specifiers in doc-string.
536
537 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
538
539 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
540 menu-item.
541
542 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
543
544 * whitespace.el: New version 13.2.2.
545 (whitespace-newline-mode): Disable properly. Reported by Sarah
546 <EmacsWiki>.
547
548 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
549
550 * net/newst-treeview.el: Remove "Time-stamp".
551 (newsticker--group-manage-orphan-feeds): Do not call
552 newsticker--treeview-tree-update.
553 (newsticker-treeview-update, newsticker-treeview):
554 Call newsticker--treeview-tree-update if necessary.
555
556 2011-10-30 Martin Rudalics <rudalics@gmx.at>
557
558 * window.el (window-iso-combination-p, window-iso-combined-p)
559 (window-iso-combinations): Remove "iso-" infix.
560 Suggested by Chong Yidong.
561 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
562 (window-max-delta-1, window-resize, window--resize-siblings)
563 (window--resize-this-window, adjust-window-trailing-edge)
564 (split-window, balance-windows-1)
565 (shrink-window-if-larger-than-buffer):
566 * calendar/calendar.el (calendar-generate-window):
567 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
568
569 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
572 in place (bug#9907).
573 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
574 (eshell-rewrite-if-command, eshell-rewrite-for-command)
575 (eshell-structure-basic-command, eshell-rewrite-while-command)
576 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
577 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
578 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
579 (eshell-do-pipelines-synchronously, eshell-eval-command):
580 Use backquotes and prefer setq to set.
581 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
582 (eshell-macrop): Use functionp.
583 (eshell-do-eval): Handle multiple expressions in `while' body.
584
585 2011-10-30 Chong Yidong <cyd@gnu.org>
586
587 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
588 instead of set-mark (Bug#9810).
589
590 2011-10-30 Chong Yidong <cyd@gnu.org>
591
592 * window.el (split-window-below, split-window-right): Rename from
593 split-window-above-each-other and split-window-side-by-side
594 respectively. All callers changed.
595 (split-window-sensibly, split-window-sensibly): Use them.
596 (split-window-keep-point): Doc fix.
597
598 * isearch.el: Add isearch-scroll property to split-window-below
599 and split-window-right.
600
601 * follow.el (follow-mode):
602 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
603 * progmodes/ada-xref.el (ada-gdb-application):
604 * emulation/vip.el (vip-buffer-in-two-windows):
605 * image-dired.el (image-dired-dired-with-window-configuration):
606 * dired-x.el (dired-do-find-marked-files):
607 * dired.el (dired-pop-to-buffer):
608 * bs.el (bs--show-with-configuration):
609 * vc/emerge.el (emerge-setup-windows):
610 * textmodes/two-column.el (2C-two-columns):
611 * textmodes/reftex-toc.el (reftex-toc):
612 * progmodes/gdb-mi.el (gdb-setup-windows):
613 * progmodes/fortran.el (fortran-window-create):
614 * net/newst-treeview.el (newsticker--treeview-window-init):
615 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
616 * emulation/tpu-edt.el (tpu-gold-map):
617 * emulation/crisp.el (crisp-mode-map):
618 * calendar/calendar.el (calendar-basic-setup): Callers changed.
619
620 2011-10-29 Chong Yidong <cyd@gnu.org>
621
622 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
623
624 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
625
626 * textmodes/flyspell.el (flyspell-word): Fix char offset for
627 forged Ispell output (Bug#7904).
628
629 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
630
631 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
632
633 * doc-view.el: Avoid ugly errors about not finding nil.
634 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
635 (doc-view-dvipdf-program, doc-view-unoconv-program)
636 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
637 Avoid nil or absolute file name as default value.
638 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
639
640 2011-10-28 Alan Mackenzie <acm@muc.de>
641
642 * progmodes/cc-defs.el (c-version): -> 5.32.2.
643
644 2011-10-28 Alan Mackenzie <acm@muc.de>
645
646 Amend the handling of c-beginning/end-of-defun in nested declaration
647 scopes.
648
649 * progmodes/cc-vars.el (c-defun-tactic): Move here from
650 cc-langs.el. Change it to a defcustom.
651
652 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
653 cc-vars.el.
654
655 * progmodes/cc-engine.el (c-beginning-of-statement-1):
656 Prevent "class foo : bar" being spuriously recognized as a label.
657
658 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
659 Add parameter `inclusive' (to include enclosing braces in the region).
660 (c-widen-to-enclosing-decl-scope): New function.
661 (c-while-widening-to-decl-block): New macro.
662 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
663 outward for defun boundaries, and correspondingly change symbol
664 `respect-enclosure' to `go-outward'.
665 (c-declaration-limits): Change algorithm to report only the "innermost"
666 defun's boundaries.
667
668 2011-10-28 Deniz Dogan <deniz@dogan.se>
669
670 * net/rcirc.el (rcirc-mode): Use hard newlines.
671
672 2011-10-28 Alan Mackenzie <acm@muc.de>
673
674 Amend to indent and fontify macros "which include their own semicolon"
675 correctly, using the "virtual semicolon" mechanism.
676
677 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
678
679 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
680 Recode to scan one line at a time rather than having \n and \r
681 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
682 (c-forward-label): Amend for virtual semicolons.
683 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
684
685 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
686 of the new C macros.
687
688 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
689 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
690 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
691 (c-opt-cpp-macro-define): Make into a full language variable.
692 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
693 AWK Mode (including \n, \r) removed, no longer needed.
694
695 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
696 Invoke c-make-macro-with-semi-re.
697
698 * progmodes/cc-vars.el (c-macro-with-semi-re):
699 (c-macro-names-with-semicolon): New variables.
700 (c-make-macro-with-semi-re): New function.
701
702 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * vc/log-edit.el: Fill empty field rather than adding new one.
705 (log-edit-add-field): New function.
706 (log-edit-insert-changelog): Use it.
707
708 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
709
710 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
711
712 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
713
714 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
715 (gdb--check-interpreter): New function.
716 (gdb): Use it.
717
718 2011-10-27 Glenn Morris <rgm@gnu.org>
719
720 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
721 (least-positive-float, least-negative-float)
722 (least-positive-normalized-float, least-negative-normalized-float)
723 (float-epsilon, float-negative-epsilon):
724 Remove unnecessary declarations.
725
726 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
727 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
728 (least-positive-float, least-negative-float)
729 (least-positive-normalized-float, least-negative-normalized-float)
730 (float-epsilon, float-negative-epsilon): Add doc-strings,
731 based on those in cl.texi.
732
733 * files.el (set-visited-file-name): If the major-mode changed,
734 reload the local variables. (Bug#9796)
735
736 2011-10-27 Chong Yidong <cyd@gnu.org>
737
738 * subr.el (change-major-mode-after-body-hook): New hook.
739 (run-mode-hooks): Run it.
740
741 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
742 Use change-major-mode-before-body-hook.
743
744 * simple.el (fundamental-mode):
745 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
746 change introducing fundamental-mode-hook.
747
748 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
749
750 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
751
752 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
753
754 * ido.el (ido-file-name-all-completions-1): Do not require
755 tramp.el explicitly. (Bug#7583)
756
757 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
758
759 * progmodes/octave-mod.el:
760 * progmodes/octave-inf.el: Update maintainer.
761
762 2011-10-26 Chong Yidong <cyd@gnu.org>
763
764 * subr.el (with-wrapper-hook): Rewrite doc.
765
766 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
767
768 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
769 filenames "/method:foo:". (Bug#9793)
770
771 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
772
773 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
774 (bug#9865).
775
776 2011-10-24 Glenn Morris <rgm@gnu.org>
777
778 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
779
780 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
781
782 * notifications.el: Add the requirement of a running D-Bus session
783 bus to the Commentary.
784
785 2011-10-24 Juri Linkov <juri@jurta.org>
786
787 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
788 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
789 (Bug#9364)
790
791 2011-10-24 Juri Linkov <juri@jurta.org>
792
793 * info.el (Info-following-node-name-re): Add newline to the list
794 of allowed characters for leading space. (Bug#9824)
795
796 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
797
798 * progmodes/octave-inf.el (inferior-octave-mode-map):
799 Fix C-c C-h binding.
800 * progmodes/octave-mod.el (octave-help): Remove.
801
802 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
803
804 Sync with Tramp 2.2.3.
805
806 * net/tramp-cache.el (top): Pacify byte-compiler using
807 `init-file-user' and `site-run-file'.
808
809 * net/trampver.el: Update release number.
810
811 2011-10-23 Chong Yidong <cyd@gnu.org>
812
813 * files.el (toggle-read-only): Remove obsolete comment about
814 version control.
815
816 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
817 for toggle-read-only. Note that this hasn't called vc-next-action
818 since 2008-05-02, though it wasn't documented at the time.
819
820 * vc/ediff-init.el (ediff-toggle-read-only-function):
821 Use toggle-read-only.
822
823 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
824
825 Fix bug #9560, sporadic wrong indentation; improve instrumentation
826 of c-parse-state.
827
828 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
829 correct faulty logical expression.
830 (c-parse-state-state, c-record-parse-state-state):
831 (c-replay-parse-state-state): New defvar/defuns.
832 (c-debug-parse-state): Use new functions.
833
834 2011-10-22 Martin Rudalics <rudalics@gmx.at>
835
836 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
837 last fix. Use window-in-direction correctly.
838
839 2011-10-21 Chong Yidong <cyd@gnu.org>
840
841 * progmodes/idlwave.el (idlwave-mode):
842 * progmodes/vera-mode.el (vera-mode): No need to set
843 require-final-newline; that's done in prog-mode.
844 Suggested by Stefan Monnier.
845
846 2011-10-21 Martin Rudalics <rudalics@gmx.at>
847
848 * mouse.el (mouse-drag-window-above)
849 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
850 (mouse-drag-mode-line-1, mouse-drag-header-line)
851 (mouse-drag-vertical-line-rightward-window): Remove.
852 (mouse-drag-line): New function.
853 (mouse-drag-mode-line, mouse-drag-header-line)
854 (mouse-drag-vertical-line): Call mouse-drag-line.
855 * window.el (window-at-side-p, windows-at-side): New functions.
856
857 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
858
859 * tar-mode.el (tar-grind-file-mode):
860 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
861
862 2011-10-21 Chong Yidong <cyd@gnu.org>
863
864 * progmodes/idlwave.el (idlwave-mode):
865 * progmodes/vera-mode.el (vera-mode):
866 Use mode-require-final-newline.
867
868 2011-10-20 Glenn Morris <rgm@gnu.org>
869
870 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
871
872 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
873
874 * emulation/cua-base.el (cua-set-mark): Fix case of string.
875
876 2011-10-20 Chong Yidong <cyd@gnu.org>
877
878 * emulation/cua-base.el (cua-mode):
879 * mail/footnote.el (footnote-mode):
880 * mail/mailabbrev.el (mail-abbrevs-mode):
881 * net/xesam.el (xesam-minor-mode):
882 * progmodes/bug-reference.el (bug-reference-mode):
883 * progmodes/cap-words.el (capitalized-words-mode):
884 * progmodes/compile.el (compilation-minor-mode)
885 (compilation-shell-minor-mode):
886 * progmodes/gud.el (gud-tooltip-mode):
887 * progmodes/hideif.el (hide-ifdef-mode):
888 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
889 * progmodes/subword.el (subword-mode):
890 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
891 * progmodes/which-func.el (which-function-mode):
892 * term/tvi970.el (tvi970-set-keypad-mode):
893 * term/vt100.el (vt100-wide-mode):
894 * textmodes/flyspell.el (flyspell-mode):
895 * textmodes/ispell.el (ispell-minor-mode):
896 * textmodes/nroff-mode.el (nroff-electric-mode):
897 * textmodes/paragraphs.el (use-hard-newlines):
898 * textmodes/refill.el (refill-mode):
899 * textmodes/reftex.el (reftex-mode):
900 * textmodes/rst.el (rst-minor-mode):
901 * textmodes/sgml-mode.el (html-autoview-mode)
902 (sgml-electric-tag-pair-mode):
903 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
904 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
905 * emulation/crisp.el (crisp-mode):
906 * emacs-lisp/eldoc.el (eldoc-mode):
907 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
908 minor mode behavior.
909
910 2011-10-19 Juri Linkov <juri@jurta.org>
911
912 * descr-text.el (describe-char): Add #x2010 and #x2011 to
913 the list of hard-coded chars with escape-glyph face.
914
915 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
918
919 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
920
921 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
922 running process.
923
924 2011-10-19 Glenn Morris <rgm@gnu.org>
925
926 * vc/vc-bzr.el (vc-bzr-after-dir-status):
927 Ignore ignored files. (Bug#9726)
928
929 2011-10-19 Chong Yidong <cyd@gnu.org>
930
931 Doc fix for minor modes, stating that an omitted argument enables
932 the mode unconditionally when called from Lisp.
933
934 * abbrev.el (abbrev-mode):
935 * allout.el (allout-mode):
936 * autoinsert.el (auto-insert-mode):
937 * autoarg.el (autoarg-mode, autoarg-kp-mode):
938 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
939 (global-auto-revert-mode):
940 * battery.el (display-battery-mode):
941 * composite.el (global-auto-composition-mode)
942 (auto-composition-mode):
943 * delsel.el (delete-selection-mode):
944 * desktop.el (desktop-save-mode):
945 * dired-x.el (dired-omit-mode):
946 * dirtrack.el (dirtrack-mode):
947 * doc-view.el (doc-view-minor-mode):
948 * double.el (double-mode):
949 * electric.el (electric-indent-mode, electric-pair-mode):
950 * emacs-lock.el (emacs-lock-mode):
951 * epa-hook.el (auto-encryption-mode):
952 * follow.el (follow-mode):
953 * font-core.el (font-lock-mode):
954 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
955 * help.el (temp-buffer-resize-mode):
956 * hilit-chg.el (highlight-changes-mode)
957 (highlight-changes-visible-mode):
958 * hi-lock.el (hi-lock-mode):
959 * hl-line.el (hl-line-mode, global-hl-line-mode):
960 * icomplete.el (icomplete-mode):
961 * ido.el (ido-everywhere):
962 * image-file.el (auto-image-file-mode):
963 * image-mode.el (image-minor-mode):
964 * iswitchb.el (iswitchb-mode):
965 * jka-cmpr-hook.el (auto-compression-mode):
966 * linum.el (linum-mode):
967 * longlines.el (longlines-mode):
968 * master.el (master-mode):
969 * mb-depth.el (minibuffer-depth-indicate-mode):
970 * menu-bar.el (menu-bar-mode):
971 * minibuf-eldef.el (minibuffer-electric-default-mode):
972 * mouse-sel.el (mouse-sel-mode):
973 * msb.el (msb-mode):
974 * mwheel.el (mouse-wheel-mode):
975 * outline.el (outline-minor-mode):
976 * paren.el (show-paren-mode):
977 * recentf.el (recentf-mode):
978 * reveal.el (reveal-mode, global-reveal-mode):
979 * rfn-eshadow.el (file-name-shadow-mode):
980 * ruler-mode.el (ruler-mode):
981 * savehist.el (savehist-mode):
982 * scroll-all.el (scroll-all-mode):
983 * scroll-bar.el (scroll-bar-mode):
984 * server.el (server-mode):
985 * shell.el (shell-dirtrack-mode):
986 * simple.el (auto-fill-mode, transient-mark-mode)
987 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
988 (line-number-mode, column-number-mode, size-indication-mode)
989 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
990 * strokes.el (strokes-mode):
991 * time.el (display-time-mode):
992 * t-mouse.el (gpm-mouse-mode):
993 * tool-bar.el (tool-bar-mode):
994 * tooltip.el (tooltip-mode):
995 * type-break.el (type-break-mode-line-message-mode)
996 (type-break-query-mode):
997 * view.el (view-mode):
998 * whitespace.el (whitespace-mode, whitespace-newline-mode)
999 (global-whitespace-mode, global-whitespace-newline-mode):
1000 * xt-mouse.el (xterm-mouse-mode): Doc fix.
1001
1002 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1003 Fix autogenerated docstring.
1004
1005 2011-10-19 Juri Linkov <juri@jurta.org>
1006
1007 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1008 by checking environment variables "DESKTOP_SESSION" and
1009 "XDG_CURRENT_DESKTOP". (Bug#9779)
1010
1011 2011-10-19 Juri Linkov <juri@jurta.org>
1012
1013 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1014 (browse-url-chromium-program, browse-url-chromium-arguments):
1015 New defcustoms.
1016 (browse-url-default-browser): Check for `browse-url-chromium' and
1017 call `browse-url-chromium-program'.
1018 (browse-url-chromium): New command. (Bug#9779)
1019
1020 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
1021
1022 * facemenu.el (list-colors-duplicates): On Windows, detect more
1023 duplicates by assuming that only colors matching "^System" are
1024 special "system colors". (Bug#9722)
1025
1026 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1029 to distinguish the author from the committer.
1030
1031 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
1032
1033 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1034
1035 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1036
1037 * international/mule.el (sgml-html-meta-auto-coding-function):
1038 Add support for detecting encoding in HTML5 specified only as
1039 <meta charset="UTF-8">. Implementation just makes http-equiv and
1040 content-type parts from HTML4 encoding string optional. (Bug#9716)
1041
1042 2011-10-18 Glenn Morris <rgm@gnu.org>
1043
1044 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1045
1046 2011-10-18 Chong Yidong <cyd@gnu.org>
1047
1048 * faces.el (cursor): Doc fix.
1049
1050 2011-10-17 Chong Yidong <cyd@gnu.org>
1051
1052 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1053
1054 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
1055
1056 * dirtrack.el (dirtrack): Support shell buffers with path
1057 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1058
1059 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1060
1061 * json.el: Bump version to 1.3 and note change in History.
1062 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1063
1064 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1065
1066 * comint.el (comint-insert-input, comint-send-input)
1067 (comint-get-old-input-default, comint-backward-matching-input)
1068 (comint-next-prompt): Use nil instead of `input' for field property of
1069 past user input (bug#114).
1070
1071 * minibuffer.el (completion--replace): Inherit surrounding properties
1072 (bug#114).
1073 (minibuffer-complete-and-exit): Use it.
1074
1075 * comint.el (comint--table-subvert): Quote the all-completions output
1076 (bug#9160).
1077
1078 2011-10-17 Martin Rudalics <rudalics@gmx.at>
1079
1080 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
1081
1082 * menu-bar.el (menu-bar-file-menu): Add entry for making new
1083 window on right of selected. (Bug#9350) Reword other window
1084 entries and separate them from frame entries.
1085
1086 2011-10-15 Glenn Morris <rgm@gnu.org>
1087
1088 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1089 Doc fixes.
1090
1091 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
1092
1093 * net/network-stream.el (network-stream-open-starttls):
1094 Improve detection of failure due to lack of TLS support.
1095
1096 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1097 putting the input text in front and in bold.
1098
1099 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1100
1101 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1102
1103 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1104 empty buffer.
1105
1106 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1107 unread-command-events rather than pushing yet-another event.
1108
1109 2011-10-14 Eli Zaretskii <eliz@gnu.org>
1110
1111 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1112 the explanation of the possible choices. Make the options passed
1113 to completing-read shorter.
1114
1115 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1116
1117 * textmodes/flyspell.el (flyspell-large-region): Make sure
1118 extended character mode is used if defined (Bug#1339).
1119
1120 2011-10-13 Eli Zaretskii <eliz@gnu.org>
1121
1122 * simple.el (what-cursor-position): Fix the display of the
1123 character info for LRE, LRO, RLE, and RLO characters by appending
1124 an invisible PDF.
1125
1126 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1127
1128 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1129 even in case of error; add debug spec; simplify data flow.
1130 (with-timeout-handler): Remove.
1131
1132 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
1133
1134 Fix Bug#6019, Bug#9315.
1135
1136 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1137 complete `buffer-file-name', the local file name part could look
1138 remotely (for example on VMS).
1139
1140 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1141 `tramp-run-real-handler'.
1142 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1143 already quoted by '"'.
1144
1145 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1146 Let `file-name-handler-alist' be nil, the local file name part
1147 could look remotely (for example on VMS).
1148
1149 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1152 from here...
1153 (flyspell-post-command-hook): ...to here.
1154
1155 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1156
1157 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1158 if not needed.
1159 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1160 using completion. Protect against "slow" callers.
1161 Remove the "message hack".
1162
1163 2011-10-11 Juri Linkov <juri@jurta.org>
1164
1165 * isearch.el (isearch-lazy-highlight-word): New variable.
1166 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1167 Use it. (Bug#9727)
1168
1169 2011-10-11 Glenn Morris <rgm@gnu.org>
1170
1171 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1172 like f90-previous-statement does.
1173
1174 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1175
1176 * eshell/eshell.el (eshell-command): History should be saved
1177 only in interactive use, to avoid error.
1178
1179 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1180
1181 * minibuffer.el (completion-file-name-table): Fix last change,
1182 i.e. ignore normal errors but not the other ones.
1183
1184 2011-10-10 Martin Rudalics <rudalics@gmx.at>
1185
1186 * window.el (special-display-buffer-names)
1187 (special-display-regexps): Remove some remnants of earlier
1188 changes from doc-strings.
1189 (quit-windows-on): New function.
1190
1191 * vc/vc.el (vc-revert, vc-rollback):
1192 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1193 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
1194 (Bug#6183) (Bug#7074) (Bug#7447)
1195
1196 2011-10-09 Martin Rudalics <rudalics@gmx.at>
1197
1198 * window.el (frame-auto-hide-function): Add version tag.
1199 (Bug#9699)
1200
1201 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
1202
1203 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1204 condition.
1205
1206 2011-10-09 Leo Liu <sdl.web@gmail.com>
1207
1208 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1209 (Bug#9701)
1210
1211 2011-10-08 Glenn Morris <rgm@gnu.org>
1212
1213 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1214 before the first code statement zero indent. (Bug#9690)
1215
1216 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
1217
1218 * simple.el (count-words-region): Always count in the region.
1219 Report the number of lines and characters too.
1220 (count-words): New command, which counts in the buffer if the
1221 region is inactive, as count-words-region used to.
1222 (count-words--message): New function. Handle plurals.
1223 (count-lines-region): Make it an alias for count-words-region.
1224
1225 * bindings.el (esc-map): Replace count-lines-region with
1226 count-words-region.
1227
1228 2011-10-08 Martin Rudalics <rudalics@gmx.at>
1229
1230 * window.el (window--delete): Delete dedicated frame
1231 unconditionally when argument KILL is non-nil. (Bug#9699)
1232 (switch-to-buffer): Fix doc-string typo.
1233
1234 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1235
1236 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1237
1238 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
1239
1240 * bindings.el ([M-left],[M-right]): Bind to left-word and
1241 right-word respectively.
1242
1243 2011-10-07 Glenn Morris <rgm@gnu.org>
1244
1245 * cus-start.el (debug-on-quit): Fix custom type.
1246
1247 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1248
1249 * subr.el (define-key-after): Clarify that the function is not
1250 useful for non-menu keymaps.
1251
1252 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1253
1254 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1255
1256 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
1257 in current minibuffer (Fix bug with recursive minibuffers).
1258
1259 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
1260
1261 * progmodes/gdb-mi.el (gdb): Doc fix.
1262
1263 2011-10-05 Martin Rudalics <rudalics@gmx.at>
1264
1265 * window.el (frame-auto-hide-function): New option replacing
1266 frame-auto-delete. Suggested by Stefan Monnier.
1267 (window--delete): Call frame-auto-hide-function instead of
1268 investigating frame-auto-delete.
1269 (window-point-1, set-window-point-1): New functions.
1270 (window-in-direction, record-window-buffer, window-state-get-1)
1271 (display-buffer-record-window): Use window-point-1 instead of
1272 window-point.
1273 (set-window-buffer-start-and-point): Use set-window-point-1.
1274
1275 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1276
1277 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1278
1279 2011-10-05 Glenn Morris <rgm@gnu.org>
1280
1281 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1282 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1283
1284 2011-10-05 Leo Liu <sdl.web@gmail.com>
1285
1286 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1287 works with buffer object.
1288
1289 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * mpc.el (mpc-tool-bar-map): Add labels.
1292
1293 2011-10-04 Glenn Morris <rgm@gnu.org>
1294
1295 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1296
1297 2011-10-04 Martin Rudalics <rudalics@gmx.at>
1298
1299 * window.el (window--delete): New function.
1300 (frame-auto-delete): Resuscitate option.
1301 (bury-buffer, replace-buffer-in-windows)
1302 (quit-window): Rewrite using window--delete.
1303 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1304 Pass display-buffer-mark-dedicated to window--display-buffer-2
1305 (Bug#9639).
1306
1307 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1308
1309 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1310 returns a list (bug#9554). Add remote file name completion.
1311 * comint.el (comint--table-subvert): Curry and get quote&unquote
1312 functions as arguments.
1313 (comint--complete-file-name-data): Adjust call accordingly.
1314 * pcomplete.el (pcomplete--table-subvert): Remove.
1315 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1316
1317 * minibuffer.el (completion-table-case-fold): Use currying.
1318 (completion--styles-type, completion--cycling-threshold-type):
1319 New constants.
1320 (completion-styles, completion-category-overrides)
1321 (completion-cycle-threshold): Use them.
1322 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1323 completion-table-case-fold.
1324
1325 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
1326
1327 * minibuffer.el (completion-category-overrides): Fix type of styles
1328 and add more user friendly tags (bug#9660).
1329
1330 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1331
1332 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1333 (mule-input-method-string): New widget.
1334 (default-input-method, language-info-custom-alist): Use it.
1335
1336 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1337
1338 * pcomplete.el: Require comint.
1339 (pcomplete--common-suffix): Remove.
1340 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1341 (pcomplete--table-subvert): Sync with comint--table-subvert.
1342 (pcomplete--entries): Use comint-completion-file-name-table.
1343 * comint.el (comint-unquote-filename): Simplify.
1344 (comint-completion-file-name-table): New function (bug#9616).
1345 (comint--complete-file-name-data): Use it.
1346
1347 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1348 (pcmpl-gnu-tar-buffer): Remove.
1349 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
1350 around. Make sure pcomplete-suffix-list is only changed temporarily.
1351 Don't look inside the tar's file if it's too large.
1352
1353 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
1354
1355 * cus-edit.el (custom-mode-map):
1356 * epa.el (epa-key-list-mode-map):
1357 * man.el (Man-mode-map):
1358 * startup.el (splash-screen-keymap):
1359 * simple.el (special-mode-map): Use scroll-up-command and
1360 scroll-down-command.
1361
1362 * progmodes/idlw-help.el (idlwave-help-mode-map):
1363 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1364 * net/newst-plainview.el (newsticker-mode-map):
1365 * emulation/ws-mode.el (wordstar-mode-map):
1366 * emulation/vi.el (vi-com-map):
1367 * calc/calc-graph.el (calc-graph-show-dumb):
1368 * term/sun.el (terminal-init-sun):
1369 * term/ns-win.el (global-map):
1370 * progmodes/grep.el (grep-mode-map):
1371 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1372 * mail/rmail.el (rmail-mode-map):
1373 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1374
1375 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1376 custom-safe-themes as special.
1377
1378 2011-10-01 Julien Danjou <julien@danjou.info>
1379
1380 * notifications.el (notifications-notify): Fix docstring.
1381
1382 2011-10-01 Per Starbäck <per@starback.se>
1383
1384 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1385
1386 2011-09-30 Martin Rudalics <rudalics@gmx.at>
1387
1388 * startup.el (command-line-1): Fix last fix by inserting
1389 initial-scratch-message into *scratch* before displaying it.
1390 (Bug#9605) and (Bug#9636)
1391
1392 2011-09-29 Eli Zaretskii <eliz@gnu.org>
1393
1394 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1395 window is hscrolled, move by logical lines. (Bug#9607)
1396 (line-move-visual): Update the doc string to the above effect.
1397
1398 2011-09-29 Martin Rudalics <rudalics@gmx.at>
1399
1400 * window.el (display-buffer-record-window): When WINDOW is the
1401 selected window use `point' instead of `window-point'. (Bug#9626)
1402
1403 * startup.el (command-line-1): Use insert-before-markers when
1404 inserting initial-scratch-message. (Bug#9605)
1405
1406 * help.el (help-window): Remove variable.
1407
1408 2011-09-29 Glenn Morris <rgm@gnu.org>
1409
1410 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1411
1412 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
1413
1414 * descr-text.el (describe-char-categories): Accept category
1415 descriptions more than one line long.
1416
1417 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1418
1419 * simple.el (delete-trailing-whitespace): Fix last change.
1420
1421 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1422 Don't confuse "y => 3" as the beginning of a `y' operation.
1423
1424 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1425 object has more than 4 slots (bug#9613).
1426
1427 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
1428
1429 * subr.el (with-output-to-temp-buffer):
1430 * net/quickurl.el (quickurl, quickurl-browse-url):
1431 Fix typos in docstrings.
1432
1433 2011-09-27 Eli Zaretskii <eliz@gnu.org>
1434
1435 * minibuffer.el (completion-styles)
1436 (completion-category-overrides): Cross reference each other in doc
1437 strings.
1438
1439 2011-09-27 Glenn Morris <rgm@gnu.org>
1440
1441 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1442 to split-string. (Bug#9606)
1443
1444 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1445
1446 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1447 (bug#9615).
1448
1449 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
1450
1451 * emacs-lisp/package.el (list-packages): Fix echo area message.
1452
1453 2011-09-27 Leo Liu <sdl.web@gmail.com>
1454
1455 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1456
1457 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
1458
1459 * net/dbus.el (dbus-unregister-object): Don't release services for
1460 registered signals. (Bug#9581)
1461
1462 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1463
1464 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1465 function that picks between cfengine 2 and 3 support
1466 automatically. Update docs accordingly.
1467
1468 2011-09-22 Kenichi Handa <handa@m17n.org>
1469
1470 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1471 ZERO.
1472 (indian-itrans-v5-table-for-tamil): New variable.
1473 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1474
1475 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1476
1477 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1478 that's true if the current command involved collapsing of text.
1479 It's reset to false at the beginning of the next command.
1480 (allout-post-command-business): Move the cursor to the beginning
1481 of entry if the cursor is hidden and collapsing activity just
1482 happened.
1483
1484 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
1485
1486 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1487 tracking (Bug#9541).
1488
1489 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
1490
1491 * net/newst-reader.el (newsticker-html-renderer)
1492 (newsticker-show-news): Automatically
1493 load html rendering package if newsticker-html-renderer is set.
1494 Fixes "Warning: defvar ignored because w3m-fill-column is
1495 let-bound" and the error "Symbol's value as variable is void:
1496 w3m-fill-column".
1497
1498 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
1499
1500 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1501 Release services only if they are defined. (Bug#9581)
1502
1503 2011-09-23 Richard Stallman <rms@gnu.org>
1504
1505 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1506 distinguish start of paragraph from start of its text.
1507
1508 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1509
1510 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1511 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1512 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1513
1514 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1515
1516 * international/mule-diag.el (mule-diag): Insert a newline after
1517 each fontset description.
1518
1519 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1520
1521 * simple.el (delete-trailing-whitespace):
1522 Document last change; simplify.
1523
1524 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1525
1526 * simple.el (delete-trailing-whitespace): Also delete
1527 extra newlines at the end of the buffer.
1528
1529 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1530 (picture-newline): Use forward-line so as to ignore fields.
1531
1532 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1533
1534 * subr.el (with-wrapper-hook): Fix edebug spec.
1535
1536 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1537
1538 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1539 (bug#4538).
1540
1541 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
1542
1543 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1544 Fix nasty bug using wrong cached values.
1545
1546 2011-09-23 Alan Mackenzie <acm@muc.de>
1547
1548 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1549
1550 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
1551
1552 * window.el (pop-to-buffer): Ensure right window is selected if we
1553 chose another frame.
1554
1555 2011-09-22 Eli Zaretskii <eliz@gnu.org>
1556
1557 * simple.el (what-cursor-position): Use get-char-property-change
1558 and next-single-char-property-change, to be able to show display
1559 properties that come from overlays as well as text properties.
1560
1561 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
1562
1563 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1564
1565 * cmuscheme.el (run-scheme, switch-to-scheme):
1566 * cus-edit.el (customize-group, custom-buffer-create)
1567 (customize-browse):
1568 * info.el (info):
1569 * shell.el (shell):
1570 * mail/sendmail.el (mail):
1571 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1572
1573 2011-09-22 Richard Stallman <rms@gnu.org>
1574
1575 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1576 move back only to line beg, don't move back over blank lines.
1577
1578 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
1579
1580 * files.el (copy-directory): Set directory attributes only in case
1581 they could be retrieved from the source directory. (Bug#9565)
1582
1583 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1584
1585 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1586 (hs-find-block-beginning, hs-hide-level-recursive):
1587 Ignore strings as well as comments. (Bug#9502)
1588
1589 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1590
1591 * progmodes/sql.el (sql-comint-postgres):
1592 Convert port number to a string. (Bug#9566)
1593
1594 2011-09-22 Martin Rudalics <rudalics@gmx.at>
1595
1596 * window.el (quit-window): Undedicate window when switching to
1597 previous buffer. Reported by Thierry Volpiatto
1598 <thierry.volpiatto@gmail.com>.
1599 (special-display-popup-frame): When popping up a new frame reset
1600 its previous buffers to nil. Simplify code.
1601
1602 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
1603
1604 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1605 and process filter, as done also in `shell-command'.
1606
1607 2011-09-21 Martin Rudalics <rudalics@gmx.at>
1608
1609 * window.el (set-window-buffer-start-and-point):
1610 Call set-window-start with NOFORCE argument t. Suggested by Thierry
1611 Volpiatto <thierry.volpiatto@gmail.com>.
1612 (quit-window): Reword doc-string. Handle new format of
1613 quit-restore parameter. Don't delete window if it has a
1614 previous buffer we can show instead of the present one.
1615 (display-buffer-record-window): Rewrite using a new format for
1616 the quit-restore window parameter
1617 (special-display-popup-frame, display-buffer-same-window)
1618 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1619 (display-buffer-pop-up-window, display-buffer-use-some-window):
1620 Adapt symbol passed to display-buffer-record-window.
1621 * help.el (help-window-setup): Handle new format of quit-restore
1622 parameter.
1623
1624 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1625
1626 * faces.el (face-list): Fix docstring (bug#9564).
1627
1628 * window.el (display-buffer--action-function-custom-type):
1629 Don't include internal functions in the Custom interface.
1630
1631 2011-09-20 Juri Linkov <juri@jurta.org>
1632
1633 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1634 (Info-forward-node, Info-backward-node, Info-next-preorder)
1635 (Info-last-preorder): Use it. (Bug#9528)
1636
1637 2011-09-20 Juri Linkov <juri@jurta.org>
1638
1639 * info.el (Info-last-preorder): Visit last menu item only when
1640 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1641
1642 2011-09-20 Julien Danjou <julien@danjou.info>
1643
1644 * password-cache.el (password-cache-remove): Remove entries even if the
1645 value is nil, so that password with a nil value (negative caching) is
1646 possible to invalidate.
1647
1648 2011-09-20 Lawrence Mitchell <wence@gmx.li>
1649
1650 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1651 all whitespace around breakpoint. (Bug#9553)
1652 (f90-find-breakpoint): Only break at whitespace inside a comment.
1653
1654 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1655
1656 * minibuffer.el (completion-file-name-table): Keep track of errors.
1657 (completion-table-with-predicate): Handle the case where pred1 is nil.
1658 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1659
1660 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1661
1662 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1663 (debugger-return-value): Signal an error if the debugging context does
1664 not await any return value.
1665
1666 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1667 * image-mode.el (image-toggle-display-text)
1668 (image-toggle-display-image): Stay away from evil `intangible'.
1669
1670 2011-09-19 Leo Liu <sdl.web@gmail.com>
1671
1672 * replace.el (occur-revert-arguments): Make it permanent-local.
1673 (occur-mode): Don't call font-lock-defontify.
1674
1675 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
1676
1677 * net/ldap.el (ldap-search-internal): Don't push empty search
1678 result (Bug#9508).
1679
1680 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1683
1684 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
1685
1686 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1687 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1688
1689 2011-09-18 Juri Linkov <juri@jurta.org>
1690
1691 * buff-menu.el (Buffer-menu-mode-map):
1692 * dired.el (dired-mode-map):
1693 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1694 (lisp-interaction-mode-map):
1695 * emacs-lisp/package.el (package-menu-mode-map):
1696 * epa.el (epa-key-list-mode-map):
1697 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1698 (menu-bar-options-menu):
1699 * outline.el (outline-mode-menu-bar-map):
1700 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1701 * vc/vc-dir.el (vc-dir-menu-map):
1702 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1703 Capitalize non-function content words in menu item strings.
1704
1705 * dired.el (dired-mode-map): Add menu item for
1706 `image-dired-dired-toggle-marked-thumbs'.
1707
1708 2011-09-18 Juri Linkov <juri@jurta.org>
1709
1710 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1711 to `isearch-case-fold-search' and restore its original value
1712 after the `isearch-mode' call.
1713
1714 2011-09-18 Juri Linkov <juri@jurta.org>
1715
1716 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1717 because `zgrep' returns 1 for successful matches (bug#9226).
1718
1719 2011-09-18 Juri Linkov <juri@jurta.org>
1720
1721 * info.el (Info-extract-menu-node-name): Check the second match
1722 for empty string (second test-case of bug#9528).
1723 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1724 intermediate nodes to the history (first test-case of bug#9528).
1725
1726 2011-09-18 Juri Linkov <juri@jurta.org>
1727
1728 * info.el (Info-mode-syntax-table): New variable.
1729 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1730
1731 2011-09-18 Juri Linkov <juri@jurta.org>
1732
1733 * info.el (Info-file-supports-index-cookies): Increment
1734 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1735 one more line for long file names (bug#4142).
1736
1737 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
1738
1739 * newcomment.el (comment-normalize-vars): If prompting for
1740 comment-start, set comment-start-skip too (Bug#8424).
1741
1742 2011-09-18 Johan Bockgård <bojohan@gnu.org>
1743
1744 * icomplete.el: Fix previous fix of Bug#5849.
1745 (icomplete-mode): Don't set completion-show-inline-help.
1746 (icomplete-minibuffer-setup): Set completion-show-inline-help
1747 locally during icompletion.
1748
1749 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
1750
1751 * woman.el (woman2-process-escapes): Don't delete unrecognized
1752 escapes (Bug#7843).
1753
1754 * files.el (inhibit-first-line-modes-regexps): Add image files.
1755 (hack-local-variables-prop-line): Return nil for malformed
1756 prop-lines (Bug#9044).
1757
1758 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
1759
1760 * net/tramp.el (top): Don't require 'shell.
1761 (tramp-methods): Fix docstring.
1762 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
1763 Return complete remote file name. Handle "smb" case.
1764 Use `tramp-tmpdir', if defined for the respective method.
1765 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1766
1767 * net/tramp-compat.el (top): Require 'shell.
1768
1769 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1770 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1771 `tramp-current-host'.
1772 (tramp-get-remote-tmpdir): Remove.
1773
1774 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1775 `tramp-tmpdir' entries.
1776 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1777 (tramp-smb-handle-file-attributes): Ignore errors.
1778 (tramp-smb-wait-for-output): Check also for process end.
1779
1780 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1781
1782 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1783 when sending QUIT (bug#9312).
1784
1785 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
1786
1787 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1788 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1789 occur-mode-display-occurrence.
1790 (occur-edit-mode): Add usage message.
1791 (occur-cease-edit): New command.
1792 (occur-after-change-function): Use text properties to find the
1793 position of the prefix text.
1794 (occur-engine): Set stickiness of prefix text properties.
1795
1796 2011-09-17 Glenn Morris <rgm@gnu.org>
1797
1798 * progmodes/etags.el (complete-tag):
1799 Fix call to completion-in-region. (Bug#9526)
1800
1801 2011-09-17 Juri Linkov <juri@jurta.org>
1802
1803 * textmodes/ispell.el (ispell-word): Add to the error message
1804 the word, ispell program name and current dictionary (bug#9121).
1805 (ispell-tex-arg-end): Capitalize "error" in the error message.
1806
1807 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1808
1809 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1810 check. (Bug#4251)
1811
1812 2011-09-17 Juri Linkov <juri@jurta.org>
1813
1814 * window.el (window-safe-min-height, window-safe-min-width):
1815 Fix typos (followup to bug#9522).
1816
1817 2011-09-17 Sven Joachim <svenjoac@gmx.de>
1818
1819 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1820
1821 2011-09-16 Eli Zaretskii <eliz@gnu.org>
1822
1823 * simple.el (line-move): If goal-column is set, move by logical
1824 lines, not by display lines. (Bug#971)
1825 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1826 to reflect the above change.
1827
1828 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1829
1830 * image.el (imagemagick-register-types): Use regexp-opt.
1831
1832 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
1833
1834 * window.el (display-buffer-base-action): Rename from
1835 display-buffer-default-action. Make default value empty.
1836 (display-buffer-overriding-action): Convert to defvar.
1837 (display-buffer-fallback-action): New var.
1838
1839 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
1840
1841 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1842 declaration.
1843 (package--add-to-archive-contents): If there is a duplicate entry
1844 with an older version, remove it.
1845 (package-menu-mark-delete, package-menu-mark-install)
1846 (package-menu-mark-unmark): Make unused args optional.
1847 (package-menu-mark-obsolete-for-deletion):
1848 Use package-menu-get-status instead of a regexp search.
1849 (package-menu-get-status): Use tabulated-list-entry.
1850 (package-menu-mark-upgrades): New command.
1851 (package-menu-mode-map): Bind it to U. Add it to menu bar.
1852 (package-menu-execute): Do installation before deletion.
1853 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1854 instead of checking major-mode.
1855 (package-menu--find-upgrades): New function.
1856
1857 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1858
1859 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1860 passwords in the log buffer.
1861 (smtpmail-process-filter): Update the process marker so that the
1862 "broken by peer" status message is inserted in the right place.
1863
1864 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1867 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1868 bibtex-completion-at-point-function.
1869 (bibtex-completion-at-point-function): Use them.
1870
1871 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1872
1873 * mpc.el (mpc-constraints-tag-lookup): New function.
1874 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1875 also to browser "album|playlist".
1876
1877 2011-09-14 Juri Linkov <juri@jurta.org>
1878
1879 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1880 (isearch-edit-string): Use length of `isearch-string' when
1881 `isearch-fail-pos' returns nil.
1882 (isearch-message): Remove duplicate code and call
1883 `isearch-fail-pos' with arg `t'.
1884
1885 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
1886
1887 * replace.el (occur-mode-goto-occurrence): Don't force using other
1888 window (Bug#9499).
1889
1890 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1891
1892 2011-09-14 Martin Rudalics <rudalics@gmx.at>
1893
1894 * window.el (display-buffer-window): Remove.
1895 (display-buffer-record-window): Use help-setup window parameter
1896 instead of variable display-buffer-window.
1897 (display-buffer-function, special-display-buffer-names)
1898 (special-display-function): Mention help-setup parameter instead
1899 of display-buffer-window in doc-string.
1900 * help.el (help-window-setup): New argument help-window.
1901 Use help-window-setup parameter instead of display-buffer-window.
1902 Reword some messages.
1903 (with-help-window): Pass window used for displaying the buffer
1904 to help-window-setup. Don't set display-buffer-window.
1905
1906 2011-09-13 Glenn Morris <rgm@gnu.org>
1907
1908 * emacs-lisp/debug.el (debugger-make-xrefs):
1909 Preserve point. (Bug#9462)
1910
1911 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
1912
1913 * window.el (window-deletable-p): Use next-frame.
1914
1915 2011-09-13 Martin Rudalics <rudalics@gmx.at>
1916
1917 * window.el (window-auto-delete): Remove.
1918 (window-deletable-p): Remove argument FORCE. Don't deal with
1919 dedicatedness and previous buffers.
1920 (switch-to-prev-buffer): Don't delete window.
1921 (delete-windows-on): Delete a window's frame if and only if the
1922 window is dedicated.
1923 (replace-buffer-in-windows): Delete buffer's window or frame if
1924 and only if window is dedicated.
1925 (quit-window): Handle quit-restore as before last change.
1926 (bury-buffer): Delete window only if window-deletable-p returns t.
1927
1928 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
1929
1930 * window.el (window-deletable-p): Never delete the last frame on a
1931 given terminal.
1932
1933 2011-09-13 Glenn Morris <rgm@gnu.org>
1934
1935 * help.el (describe-key-briefly): Copy previous standard-output change.
1936
1937 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
1938
1939 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1940
1941 2011-09-13 Glenn Morris <rgm@gnu.org>
1942
1943 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1944 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1945
1946 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
1947
1948 * dired-aux.el (dired-mark-read-string): Don't return default
1949 value on empty input (Bug#9361).
1950 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1951 Omit initial minibuffer contents.
1952 (dired-do-chmod): Signal an error on empty input.
1953 (dired-mark-read-string): Don't return default on empty input.
1954
1955 * files.el (file-modes-symbolic-to-number): Doc fix.
1956
1957 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * international/mule-cmds.el (ucs-completions): Remove.
1960 (read-char-by-name): Use complete-with-action instead; add metadata.
1961
1962 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
1963
1964 * window.el (display-buffer--action-function-custom-type)
1965 (display-buffer--action-custom-type): New vars.
1966 (display-buffer-alist, display-buffer-default-action)
1967 (display-buffer-overriding-action): Add defcustom types.
1968
1969 * frame.el (delete-other-frames): Doc fix (Bug#276).
1970
1971 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1972
1973 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1974
1975 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
1976
1977 Change modes that used same-window-* vars to use switch-to-buffer.
1978
1979 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1980 Use switch-to-buffer.
1981
1982 * cus-edit.el (customize-group, custom-buffer-create)
1983 (customize-browse, custom-buffer-create-other-window):
1984 Use switch-to-buffer or switch-to-buffer-other-window.
1985
1986 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1987 (Info-prev, Info-up, Info-speedbar-goto-node)
1988 (info-display-manual): Use switch-to-buffer.
1989 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1990
1991 * mail/sendmail.el (mail): Use switch-to-buffer.
1992 (mail-recover): Use switch-to-buffer-other-window.
1993
1994 * cmuscheme.el (run-scheme, switch-to-scheme):
1995 * ielm.el (ielm):
1996 * shell.el (shell):
1997 * net/rlogin.el (rlogin):
1998 * net/telnet.el (telnet, rsh):
1999 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2000
2001 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2002
2003 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2004
2005 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2006
2007 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2008 so don't mention it (bug#9301).
2009 (dired-sort-toggle-or-edit): Clarify string further.
2010
2011 * faces.el (face-spec-set-match-display): Make `(type graphic)'
2012 match `x', `w32' and `ns', like the manual says (bug#9029).
2013
2014 * subr.el (eval-after-load): Doc string clarification (bug#9125).
2015 (process-kill-buffer-query-function): Mention the buffer name in
2016 the query.
2017
2018 * image-mode.el (image-next-line): The line parameter is mandatory
2019 (bug#9258).
2020
2021 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2022 which can be useful (bug#9301).
2023
2024 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2025
2026 * subr.el (match-string): Mention that the current buffer should
2027 be the same as the search was done in (bug#9282).
2028
2029 * facemenu.el: Disable the remove-* commands if the mark isn't
2030 active (bug#9162).
2031
2032 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
2033
2034 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2035 of display-buffer.
2036 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2037
2038 * replace.el (occur-mode-goto-occurrence)
2039 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2040 and display-buffer.
2041
2042 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2043 display-buffer.
2044
2045 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2046 special-display and same-window variables.
2047 (mail-other-window): Use switch-to-buffer-other-window.
2048 (mail-other-frame): USe switch-to-buffer-other-frame.
2049
2050 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2051 Use display-buffer-other-frame.
2052 (gdb-display-gdb-buffer): Use pop-to-buffer.
2053
2054 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2055
2056 * progmodes/python.el: Don't set same-window-buffer-names.
2057
2058 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2059
2060 * window.el (display-buffer-alist): Add *Python*.
2061
2062 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
2063
2064 * window.el (display-buffer-alist): Add entry for buffers
2065 previously handled same-window-*.
2066 (display-buffer-alist, display-buffer-default-action)
2067 (display-buffer-overriding-action): Mark as risky.
2068 (display-buffer-alist): Document action function changes.
2069 (display-buffer--same-window-action)
2070 (display-buffer--other-frame-action): New variables.
2071 (switch-to-buffer, display-buffer-other-frame): Use them.
2072 (display-buffer): Rename reuse-frame entry to reusable-frames.
2073 (display-buffer-reuse-selected-window): Function deleted.
2074 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2075 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2076 (display-buffer-special): New function.
2077 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2078 display-buffer-reuse-or-pop-window. Split off special-display
2079 part into display-buffer-special.
2080 (display-buffer-use-some-window): Don't perform any special
2081 pop-up-frames handling.
2082 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
2083 (display-buffer--maybe-same-window): Rename from
2084 display-buffer-maybe-same-window.
2085
2086 * info.el: Don't set same-window-regexps.
2087 (info-setup): New function.
2088 (info-other-window, info): Call it.
2089
2090 * cus-edit.el: Don't set same-window-regexps.
2091 (customize-group): New argument.
2092 (customize-group-other-window): Use it.
2093 (customize-face, customize-face-other-window): Likewise.
2094 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2095
2096 * net/rlogin.el:
2097 * net/telnet.el:
2098 * progmodes/gud.el: Don't set same-window-regexps.
2099
2100 * cmuscheme.el:
2101 * ielm.el:
2102 * shell.el:
2103 * mail/sendmail.el:
2104 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2105
2106 2011-09-10 Juri Linkov <juri@jurta.org>
2107
2108 * isearch.el (isearch-edit-string): Remove obsolete mention of
2109 `C-w' (`isearch-yank-word-or-char') from docstring.
2110 (isearch-query-replace): Fix typo in docstring (bug#9466).
2111
2112 2011-09-10 Juri Linkov <juri@jurta.org>
2113
2114 * paren.el (show-paren-function): Don't show escaped parens.
2115 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2116
2117 2011-09-10 Eli Zaretskii <eliz@gnu.org>
2118
2119 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2120 (mm-default-file-encoding): Remove autoload forms, they are
2121 replaced with autoload cookies in mml.el and mm-encode.el.
2122 (mail-add-attachment): New command.
2123 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2124 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2125 the doc string.
2126 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2127
2128 2011-09-10 Reuben Thomas <rrt@sc3d.org>
2129
2130 * simple.el (count-words-region): Use buffer if there's no region
2131 (bug#9429).
2132
2133 2011-09-09 Juri Linkov <juri@jurta.org>
2134
2135 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2136 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2137 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2138
2139 2011-09-09 Alan Mackenzie <acm@muc.de>
2140
2141 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2142 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2143
2144 2011-09-09 Eli Zaretskii <eliz@gnu.org>
2145
2146 Fix for Savannah bug#9392.
2147 * simple.el (mail-encode-mml): New defvar.
2148
2149 * mail/rmail.el (mail-encode-mml): Add a defvar.
2150 (rmail-enable-mime-composing): Default to t.
2151 (rmail-forward): Use MIME method of forwarding only if both
2152 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2153 Set mail-encode-mml non-nil if the MIME method was used.
2154
2155 * mail/sendmail.el (mml-to-mime): Add autoload form.
2156 (mail-encode-mml): Add a defvar.
2157 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2158 to nil.
2159 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2160 message through mml-to-mime, and reset mail-encode-mml to nil.
2161
2162 2011-09-09 Glenn Morris <rgm@gnu.org>
2163
2164 * woman.el (woman-if-body): When processing an .el block,
2165 do not delete the next .el block as well. (Bug#9447)
2166 (woman-special-characters): Add oq, cq, and hy characters.
2167
2168 2011-09-08 Martin Rudalics <rudalics@gmx.at>
2169
2170 * window.el (window-deletable-p): Make sure window is live before
2171 invoking window-prev-buffers.
2172
2173 2011-09-08 Leo Liu <sdl.web@gmail.com>
2174
2175 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2176
2177 2011-09-08 Juri Linkov <juri@jurta.org>
2178
2179 * progmodes/compile.el (compilation-environment): Make it
2180 a defcustom (bug#8340).
2181
2182 2011-09-08 Martin Rudalics <rudalics@gmx.at>
2183
2184 * window.el (frame-auto-delete): Rename to window-auto-delete.
2185 Make it control auto-deletion of windows and/or frames.
2186 (window-deletable-p): New argument FORCE. Rewrite conditions
2187 for deleting window/frame. (Bug#9419)
2188 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2189 Rewrite handling of case when window/frame can be deleted.
2190 (delete-windows-on): Call window-deletable-p with new FORCE
2191 argument t. (Bug#9456)
2192
2193 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
2194
2195 * help-mode.el (help-mode): Restore autoload.
2196
2197 2011-09-07 Juri Linkov <juri@jurta.org>
2198
2199 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2200 `compilation-environment'. Set buffer-local
2201 `compilation-environment' to `thisenv' later after (funcall mode).
2202 (Bug#8340)
2203
2204 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2205 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2206 instead of replacing its value. (Bug#8340)
2207
2208 2011-09-07 Juri Linkov <juri@jurta.org>
2209
2210 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2211 based on text properties put by `grep-filter' instead of matching
2212 escape sequences.
2213 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2214 to the value of `grep-error-screen-columns' (bug#9438).
2215
2216 2011-09-07 Juri Linkov <juri@jurta.org>
2217
2218 * simple.el (next-error-highlight, next-error-highlight-no-select):
2219 Doc fix (bug#9432).
2220
2221 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2222
2223 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2224 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2225
2226 2011-09-07 Leo Liu <sdl.web@gmail.com>
2227
2228 * net/rcirc.el (rcirc-mode): Conditionally initialize
2229 rcirc-input-ring.
2230
2231 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * emacs-lisp/find-func.el (find-function-C-source): Only set
2234 find-function-C-source-directory after checking that we found a source
2235 file there (bug#9440).
2236
2237 2011-09-06 Alan Mackenzie <acm@muc.de>
2238
2239 * isearch.el (isearch-other-meta-char): Wherever a key list is
2240 unread, "unread" the prefix arg, too. This fixes bug #8901.
2241
2242 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2243
2244 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2245
2246 2011-09-05 Juri Linkov <juri@jurta.org>
2247
2248 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2249
2250 2011-09-05 Juri Linkov <juri@jurta.org>
2251
2252 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2253 keeping point where processing of grep matches begins, and
2254 continue to delete remaining escape sequences from the same point.
2255 (grep-filter): Make leading zero optional in "0?1;31m" because
2256 git-grep emits "\033[1;31m" escape sequences unlike expected
2257 "\033[01;31m" as GNU Grep does (bug#9408).
2258 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2259
2260 2011-09-05 Juri Linkov <juri@jurta.org>
2261
2262 * subr.el (y-or-n-p): Capitalize "yes".
2263
2264 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
2265
2266 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2267 `tramp-cache-unload-hook' where appropriate.
2268 (tramp-methods): Rename `tramp-remote-sh' to
2269 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2270 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2271
2272 * net/tramp-sh.el (top): Don't require 'shell.
2273 (tramp-methods): Add `tramp-remote-shell' and
2274 `tramp-remote-shell-args' entries.
2275 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2276 (tramp-sh-handle-shell-command): Remove.
2277 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2278 Use `tramp-remote-shell'.
2279
2280 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
2281
2282 * mail/sendmail.el (sendmail-query-once-function): Delete.
2283 (sendmail-query-once): Save directly to send-mail-function.
2284 Update message-send-mail-function too.
2285
2286 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2287
2288 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2289
2290 * progmodes/python.el (python-mode-map): Use correct function to
2291 start python interpreter from menu-bar (as reported by Geert
2292 Kloosterman).
2293 (inferior-python-mode-map): Fix typo.
2294 (python-shell-map): Remove.
2295
2296 2011-09-03 Deniz Dogan <deniz@dogan.se>
2297
2298 * net/rcirc.el (rcirc-print): Simplify code for
2299 rcirc-scroll-show-maximum-output. There is no need to walk
2300 through all windows to find the right one.
2301
2302 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2303
2304 * help.el (help-return-method): Doc fix.
2305
2306 2011-09-03 Martin Rudalics <rudalics@gmx.at>
2307
2308 * window.el (window-deletable-p): Don't return a non-nil value
2309 when there's a buffer that was shown in the window before.
2310 (Bug#9419)
2311 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2312 Set window's previous buffers to nil.
2313
2314 2011-09-03 Eli Zaretskii <eliz@gnu.org>
2315
2316 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2317 newline before and after the tag line, so it doesn't interfere
2318 with determining the paragraph direction of bidirectional text.
2319
2320 2011-09-03 Leo Liu <sdl.web@gmail.com>
2321
2322 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2323
2324 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
2325
2326 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
2327 (pop-to-buffer): Change interactive spec. Pass second argument
2328 directly to display-buffer.
2329 (display-buffer): Fix interactive spec. Use functionp to
2330 distinguish between a function and a list of functions.
2331
2332 * abbrev.el (edit-abbrevs):
2333 * arc-mode.el (archive-extract):
2334 * autoinsert.el (auto-insert):
2335 * bookmark.el (bookmark-bmenu-list):
2336 * files.el (find-file):
2337 * view.el (view-buffer):
2338 * progmodes/compile.el (compilation-goto-locus):
2339 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2340
2341 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
2342
2343 * window.el (display-buffer-alist): Doc fix.
2344 (display-buffer): Add docstring. Don't treat
2345 display-buffer-default specially.
2346 (display-buffer-reuse-selected-window)
2347 (display-buffer-same-window, display-buffer-maybe-same-window)
2348 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2349 (display-buffer-pop-up-window)
2350 (display-buffer-reuse-or-pop-window)
2351 (display-buffer-use-some-window): New functions.
2352 (display-buffer-default-action): Use them.
2353 (display-buffer-default): Delete.
2354 (pop-to-buffer-1): Fix choice of actions.
2355
2356 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * minibuffer.el (completion--insert-strings): Don't get confused by
2359 completion entries that end with an LF char.
2360
2361 2011-09-01 Eli Zaretskii <eliz@gnu.org>
2362
2363 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2364
2365 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
2366
2367 * window.el (display-buffer): Restore interactive spec.
2368 (display-buffer-same-window, display-buffer-other-window):
2369 New functions.
2370 (pop-to-buffer-1): New function. Use the above.
2371 (pop-to-buffer, pop-to-buffer-same-window): Use it.
2372 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
2373
2374 * view.el (view-buffer-other-window, view-buffer-other-frame):
2375 Just use pop-to-buffer.
2376
2377 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2378
2379 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2380
2381 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2382
2383 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2384
2385 2011-08-31 Richard Stallman <rms@gnu.org>
2386
2387 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2388 of the separation of rmail-view-buffer from rmail-buffer.
2389 If you say no to "replace original", the decrypt is in the
2390 view buffer. If you say yes, the decrypt goes into the
2391 rmail buffer also.
2392
2393 2011-08-31 Martin Rudalics <rudalics@gmx.at>
2394
2395 * window.el (display-buffer-window): Rewrite doc-string.
2396 (display-buffer-record-window): New function.
2397 (display-buffer-macro-specifiers)
2398 (display-buffer-even-window-sizes, display-buffer-set-height)
2399 (display-buffer-set-width, display-buffer-in-window)
2400 (display-buffer-reuse-window, display-buffer-split-specifiers)
2401 (display-buffer-side-specifiers, display-buffer-split-window-1)
2402 (display-buffer-split-window, display-buffer-split-atom-window)
2403 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2404 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2405 (display-buffer-other-window-means-other-frame)
2406 (display-buffer-normalize-special)
2407 (display-buffer-normalize-default)
2408 (display-buffer-normalize-argument)
2409 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2410 (display-buffer-normalize-specifiers, display-buffer-frame)
2411 (display-buffer-same-window, display-buffer-same-frame)
2412 (display-buffer-other-window)
2413 (display-buffer-same-frame-other-window)
2414 (display-buffer-other-frame, pop-to-buffer-same-window)
2415 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2416 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2417 (switch-to-buffer-same-frame)
2418 (switch-to-buffer-other-window-same-frame)
2419 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2420 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2421 (display-buffer-alist-set): Remove.
2422 (display-buffer-function, special-display-buffer-names)
2423 (special-display-regexps, special-display-function):
2424 In doc-string refer to display-buffer-window and quit-restore
2425 parameter.
2426 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2427 (special-display-frame-alist, special-display-popup-frame)
2428 (same-window-buffer-names, same-window-regexps, same-window-p)
2429 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2430 (split-window-preferred-function, split-height-threshold)
2431 (split-width-threshold, window-splittable-p)
2432 (split-window-sensibly, window--try-to-split-window)
2433 (window--frame-usable-p, even-window-heights)
2434 (window--even-window-heights, window--display-buffer-1)
2435 (window--display-buffer-2, display-buffer-other-frame):
2436 Restore old Emacs 23 code, order and doc-strings where applicable.
2437 (display-buffer-default, display-buffer-assq-regexp): New functions.
2438 (display-buffer-alist): Rewrite doc-string.
2439 (display-buffer-default-action)
2440 (display-buffer-overriding-action): New variables.
2441 (display-buffer, switch-to-buffer): Rewrite.
2442 (pop-to-buffer): Restore Emacs 23 behavior but use
2443 window-normalize-buffer-to-display.
2444 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2445 Restore Emacs 23 behavior but use
2446 window-normalize-buffer-to-switch-to.
2447 (pop-to-buffer-same-window): Rewrite.
2448 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2449 Rewrite using Emacs 23 options.
2450
2451 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
2452
2453 * net/tramp.el (tramp-root-regexp): Remove.
2454 (tramp-completion-file-name-regexp-unified)
2455 (tramp-completion-file-name-regexp-separate)
2456 (tramp-completion-file-name-regexp-url): Don't use leading volume
2457 letter on win32 systems. (Bug#5303, Bug#9311)
2458 (tramp-drop-volume-letter): Simplify definition.
2459 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2460
2461 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2464 (bug#9356).
2465
2466 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2467
2468 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
2469
2470 2011-08-29 Juri Linkov <juri@jurta.org>
2471
2472 * isearch.el (isearch-done): Don't display message "Mark saved"
2473 when arg `edit' is non-nil to prevent its flicker in the echo area.
2474
2475 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
2476
2477 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2478 obsolete packages for deletion.
2479
2480 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2481
2482 * help-mode.el (help-mode-map): Add special-mode-map to parent.
2483 (help-mode): Derive help-mode from special-mode. Don't invoke
2484 view-mode from help-mode.
2485 (help-xref-override-view-map): Remove.
2486 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2487 view-mode is not used anymore.
2488
2489 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
2490
2491 * server.el (server-port): Doc fix.
2492
2493 * cus-theme.el (custom-theme-choose-mode): Inherit from
2494 special-mode (Bug#9124).
2495 (custom-theme-choose-mode-map): Add special-mode to parent.
2496
2497 2011-08-28 Alan Mackenzie <acm@muc.de>
2498
2499 * progmodes/cc-fonts.el
2500 (c-make-font-lock-BO-decl-search-function): New function.
2501 (c-basic-matchers-after - "Fontify the clauses after various
2502 keywords"): Extract the three keyword lists for the 3 erroneous
2503 constructs from the list of four, and use the new function above
2504 in place of an old one.
2505
2506 2011-08-28 Deniz Dogan <deniz@dogan.se>
2507
2508 * net/rcirc.el (rcirc-insert-prev-input)
2509 (rcirc-insert-next-input): Remove unused argument.
2510
2511 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2512
2513 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2514
2515 2011-08-27 Alan Mackenzie <acm@muc.de>
2516
2517 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2518 handle function pointer parameters properly.
2519
2520 2011-08-27 Martin Rudalics <rudalics@gmx.at>
2521
2522 * window.el (display-buffer-reuse-window): Fix case where
2523 selected window was reused with non-nil OTHER-WINDOW argument.
2524 (Bug#9381)
2525
2526 2011-08-27 Deniz Dogan <deniz@dogan.se>
2527
2528 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2529 oftc's NickServ messages.
2530
2531 2011-08-27 Glenn Morris <rgm@gnu.org>
2532
2533 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2534
2535 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
2536
2537 * emacs-lisp/package.el (package-install): Call package-initialize
2538 if called interactively.
2539
2540 2011-08-26 Leo Liu <sdl.web@gmail.com>
2541
2542 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2543
2544 2011-08-25 Juri Linkov <juri@jurta.org>
2545
2546 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2547 `search-whitespace-regexp' (bug#9364).
2548
2549 2011-08-25 Juri Linkov <juri@jurta.org>
2550
2551 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2552 `regexp-search-ring' to their global values to protect from
2553 updating by `read-from-minibuffer' (bug#9185).
2554
2555 2011-08-25 Juri Linkov <juri@jurta.org>
2556
2557 * textmodes/ispell.el (ispell-command-loop): Add newline
2558 at the end of the "Use option `i'..." line.
2559
2560 2011-08-25 Juri Linkov <juri@jurta.org>
2561
2562 * battery.el (display-battery-mode): If `battery-status-function'
2563 or `battery-mode-line-format' is nil, display the message and set
2564 `display-battery-mode' to nil (bug#9363).
2565
2566 2011-08-25 Eli Zaretskii <eliz@gnu.org>
2567
2568 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2569 bidi-string-mark-left-to-right; they are unnecessary now.
2570
2571 2011-08-25 Deniz Dogan <deniz@dogan.se>
2572
2573 * net/quickurl.el: Documentation typo fixes.
2574
2575 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
2576
2577 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2578
2579 2011-08-25 Glenn Morris <rgm@gnu.org>
2580
2581 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2582
2583 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2584 (smtpmail-via-smtp): Handle nil response from smtp.
2585
2586 2011-08-24 Juri Linkov <juri@jurta.org>
2587
2588 * proced.el (proced-marked): Inherit from `error' instead of
2589 `font-lock-warning-face'.
2590
2591 * ibuffer.el (ibuffer-marked-face): Change default face from
2592 `font-lock-warning-face' to `warning'.
2593 (ibuffer-deletion-face): Change default face from
2594 `font-lock-type-face' to `error'.
2595
2596 * battery.el (battery-update): Use the face `error' instead of
2597 `font-lock-warning-face' (bug#6117).
2598
2599 2011-08-24 Juri Linkov <juri@jurta.org>
2600
2601 * faces.el (success): Change face color from "Green3" to
2602 "ForestGreen" on light background (bug#9353).
2603
2604 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
2605
2606 * window.el (quit-window): Rename from quit-restore-window.
2607 Use same arglist as old quit-window.
2608 (frame-auto-delete): Doc fix.
2609
2610 * view.el (view-mode-exit): Use quit-window.
2611
2612 2011-08-24 Juri Linkov <juri@jurta.org>
2613
2614 * isearch.el (isearch-ring-adjust1): Start visiting previous
2615 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2616 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2617 for empty search string (when the last search string is reused
2618 automatically) to adjust the isearch ring to the last element and
2619 prepare the correct index for further M-p commands (bug#9185).
2620
2621 2011-08-24 Kenichi Handa <handa@m17n.org>
2622
2623 * international/ucs-normalize.el: If decomposition property of
2624 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2625 nil.
2626 (nfd, nfkd): Likewise.
2627
2628 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2631 from process filters aren't reliably transmitted to the surrounding
2632 accept-process-output.
2633 (mpc-proc-check): New function.
2634 (mpc-proc-sync): Use it (bug#8293)
2635
2636 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2637
2638 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2639 Add compatibility functions (bug#9313).
2640
2641 2011-08-23 Eli Zaretskii <eliz@gnu.org>
2642
2643 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2644
2645 * international/uni-bidi.el: Regenerated.
2646
2647 2011-08-23 Kenichi Handa <handa@m17n.org>
2648
2649 * international/charprop.el:
2650 * international/uni-bidi.el:
2651 * international/uni-category.el:
2652 * international/uni-combining.el:
2653 * international/uni-comment.el:
2654 * international/uni-decimal.el:
2655 * international/uni-decomposition.el:
2656 * international/uni-digit.el:
2657 * international/uni-lowercase.el:
2658 * international/uni-mirrored.el:
2659 * international/uni-name.el:
2660 * international/uni-numeric.el:
2661 * international/uni-old-name.el:
2662 * international/uni-titlecase.el:
2663 * international/uni-uppercase.el: Regenerate.
2664
2665 2011-08-23 Martin Rudalics <rudalics@gmx.at>
2666
2667 * help.el (help-window-setup): Fix message displayed when other
2668 window is reused. (Bug#9341)
2669
2670 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2673 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2674
2675 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2676 Mark obsolete.
2677 * shell.el (shell-parse-pcomplete-arguments): New function.
2678 (shell-completion-vars): Use it instead (bug#9160).
2679
2680 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2681
2682 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2683 strings and comments (bug#9333).
2684
2685 * emacs-lisp/debug.el (debug-arglist): New function.
2686 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2687 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2688
2689 2011-08-22 Juri Linkov <juri@jurta.org>
2690
2691 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2692 Revert regexp that highlights output switches to its old
2693 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2694
2695 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2696 to check for empty output (bug#9226).
2697
2698 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
2699
2700 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2701 symbol-constituent as the default, as that stops font-lock from
2702 working properly (Bug#8843).
2703
2704 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2705
2706 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2707 `coding-system-for-*' around the process open call to avoid
2708 auth-source side effects.
2709 (smtpmail-try-auth-methods): Expand the secret password.
2710 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2711 probe hangs.
2712
2713 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
2714
2715 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2716
2717 * emacs-lisp/find-func.el (find-function-noselect): New arg
2718 lisp-only.
2719
2720 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2721 signal an error for built-in functions (Bug#6664).
2722
2723 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2724
2725 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2726 (smtpmail-try-auth-methods): Use it.
2727
2728 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
2729
2730 * font-lock.el (font-lock-fontify-region)
2731 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2732 (font-lock-default-unfontify-buffer)
2733 (font-lock-default-fontify-region)
2734 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2735
2736 * progmodes/compile.el (compilation-error-properties):
2737 Fix confusion between file struct and message struct (Bug#9319).
2738 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2739 `ant' regexp.
2740
2741 * net/browse-url.el (browse-url-firefox): Don't call
2742 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2743
2744 2011-08-20 Glenn Morris <rgm@gnu.org>
2745
2746 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2747
2748 * tutorial.el (tutorial--default-keys): Update some default bindings.
2749
2750 * files.el (hack-local-variables): Fully ignore case for "mode:".
2751
2752 2011-08-20 Alan Mackenzie <acm@muc.de>
2753
2754 Resolve invalid use of a regexp in regexp-opt.
2755
2756 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2757 detection for a java annotation.
2758
2759 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
2760 detection for a java annotation.
2761
2762 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2763 handling for java.
2764 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2765
2766 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
2767
2768 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2769 (Bug#9274).
2770
2771 2011-08-20 Alan Mackenzie <acm@muc.de>
2772
2773 Fontify CPP expressions correctly when starting in the middle of
2774 such a construct. Mainly for when jit-lock etc. starts a chunk
2775 here.
2776
2777 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
2778 variable.
2779 (c-make-font-lock-search-form): New function, extracted from
2780 c-make-font-lock-search-function.
2781 (c-make-font-lock-search-function): Use the above function.
2782 (c-make-font-lock-context-search-function): New function.
2783 (c-cpp-matchers): Enhance the preprocessor expression case with
2784 the above function
2785 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2786 which takes an expression.
2787
2788 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2789
2790 2011-08-20 Martin Rudalics <rudalics@gmx.at>
2791
2792 * window.el (display-buffer-reuse-window)
2793 (display-buffer-pop-up-window): Don't reuse or split a side
2794 window.
2795
2796 2011-08-19 Glenn Morris <rgm@gnu.org>
2797
2798 * files.el (hack-local-variables-prop-line, hack-local-variables):
2799 Downcase "Mode:". (Bug#9331)
2800
2801 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
2802
2803 * international/characters.el: Add L and R categories.
2804
2805 * subr.el (bidi-string-mark-left-to-right): Rename from
2806 string-mark-left-to-right. Use category search.
2807
2808 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2809
2810 2011-08-18 Juri Linkov <juri@jurta.org>
2811
2812 * faces.el (error, warning, success): New faces with definitions
2813 copied from old default values of `font-lock-warning-face',
2814 `compilation-warning', `compilation-info' (bug#6117).
2815
2816 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2817
2818 * progmodes/compile.el (compilation-error): Inherit from `error'.
2819 (compilation-warning): Inherit from `warning'.
2820 (compilation-info): Inherit from `success'.
2821
2822 * dired.el (dired-marked): Inherit from `warning'.
2823 (dired-flagged): Inherit from `error'.
2824
2825 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2826
2827 * mail/smtpmail.el (auth-source): Require to avoid problems with
2828 binding variables (bug#9298). Also clean up some unused
2829 autoloads.
2830
2831 * net/network-stream.el (network-stream-open-starttls):
2832 Support using starttls.el without using gnutls-cli.
2833
2834 2011-08-17 Juri Linkov <juri@jurta.org>
2835
2836 * progmodes/grep.el (rgrep): Handle the case when
2837 `grep-find-command' is a cons cell (bug#9278).
2838
2839 2011-08-17 Martin Rudalics <rudalics@gmx.at>
2840
2841 * window.el (display-buffer-pop-up-frame): Run frame creation
2842 function with BUFFER current (as special-display-popup-frame
2843 does). Reported by Drew Adams.
2844
2845 2011-08-17 Daiki Ueno <ueno@unixuser.org>
2846
2847 * epa-mail.el: Simplify GnuPG group expansion using
2848 epg-expand-group.
2849 (epa-mail-group-alist, epa-mail-group-modtime)
2850 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2851 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2852 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2853 Remove.
2854
2855 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
2856
2857 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2858
2859 2011-08-16 Alan Mackenzie <acm@muc.de>
2860
2861 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2862 Correct, to avoid the inside of macros.
2863
2864 2011-08-16 Richard Stallman <rms@gnu.org>
2865
2866 * epa-mail.el: Handle GnuPG group definitions.
2867 (epa-mail-group-alist, epa-mail-group-modtime)
2868 (epa-mail-gnupg-conf-file): New variables.
2869 (epa-mail-parse-groups, epa-mail-sync-groups)
2870 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2871 (epa-mail-expand-recipients): New functions.
2872 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2873
2874 * mail/rmail.el (rmail-epa-decrypt): New command.
2875
2876 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2877 Don't bind buffer-read-only, just inhibit-read-only.
2878 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2879 (epa-decrypt-armor-in-region): Make error message clearer.
2880
2881 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2882
2883 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2884 and "a2b" to "ab" for `prefix'.
2885
2886 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
2887
2888 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2889 filter groups.
2890 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2891 Fourquet (Bug#8804).
2892
2893 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
2894
2895 * startup.el (argi): Declare as global variable (bug#9275).
2896
2897 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
2898
2899 * subr.el (string-mark-left-to-right): Search the entire string
2900 for RTL script, not just the terminating character. Doc fix.
2901
2902 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2903
2904 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2905 New function.
2906 (js--regexp-literal, js-syntax-propertize-function): Remove.
2907 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2908 (js-mode-map): Don't rebind electric keys.
2909 (js-insert-and-indent): Remove.
2910 (js-mode): Setup electric-layout and electric-indent instead.
2911
2912 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2913
2914 2011-08-12 Daiki Ueno <ueno@unixuser.org>
2915
2916 * epa.el (epa-progress-callback-function): Fix the logic of
2917 displaying progress.
2918 * epa-file.el (epa-file-insert-file-contents): Make progress
2919 display more user-friendly.
2920 (epa-file-write-region): Ditto.
2921
2922 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
2923
2924 * subr.el (string-mark-left-to-right): New function.
2925
2926 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2927 Use string-mark-left-to-right.
2928 (list-buffers-noselect): Caller changed.
2929
2930 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2931 Use string-mark-left-to-right.
2932 (tabulated-list-print): Recenter after moving point.
2933
2934 2011-08-10 Juri Linkov <juri@jurta.org>
2935
2936 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2937 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2938 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2939
2940 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
2941
2942 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2943 (Bug#7554).
2944
2945 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2946
2947 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2948 character. (Bug#6594)
2949
2950 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
2951
2952 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2953 (image-dired--with-db-file): New macro.
2954 (image-dired-write-tags, image-dired-remove-tag)
2955 (image-dired-create-gallery-lists, image-dired-write-comments)
2956 (image-dired-get-comment, image-dired-mark-tagged-files)
2957 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2958 (image-dired-gallery-generate): Use insert-file-contents.
2959
2960 * time.el (display-time-world-list, display-time-world-display):
2961 * time-stamp.el (time-stamp-string):
2962 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2963 set-time-zone-rule (Bug#7337).
2964
2965 2011-08-08 Daiki Ueno <ueno@unixuser.org>
2966
2967 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2968 (epg-error-to-string, epg-errors-to-string): New function.
2969 (epg-wait-for-completion): Reverse errors list.
2970 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2971 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2972 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2973 (epg-sign-keys, epg-generate-key-from-file)
2974 (epg-generate-key-from-string): Format errors by using
2975 epg-errors-to-string (bug#9255).
2976 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2977
2978 2011-08-07 Juri Linkov <juri@jurta.org>
2979
2980 * faces.el (list-faces-display): Remove extra angle bracket
2981 from `help-mode-map'.
2982
2983 * info.el (Info-history-toc-nodes): Doc fix.
2984
2985 * longlines.el (longlines-mode): Doc fix.
2986
2987 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2988
2989 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2990 of statements and in a few more cases (bug#9183).
2991
2992 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2993 New functions.
2994 (cl-transform-lambda): Use them (bug#9239).
2995
2996 2011-08-05 Martin Rudalics <rudalics@gmx.at>
2997
2998 * window.el (display-buffer-same-window)
2999 (display-buffer-same-frame, display-buffer-other-window)
3000 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3001 (pop-to-buffer-other-window)
3002 (pop-to-buffer-same-frame-other-window)
3003 (pop-to-buffer-other-frame): Make them defuns.
3004 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3005
3006 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3007
3008 * subr.el (make-composed-keymap): Move from C. Change calling
3009 convention, and improve docstring to bring attention to a subtle point.
3010 * minibuffer.el (completing-read-default): Adjust accordingly.
3011
3012 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
3013
3014 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3015 (tramp-open-shell): Use `tramp-shell-quote-argument'.
3016
3017 * net/trampver.el: Update release number.
3018
3019 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3020
3021 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3022 "in" (bug#9190).
3023
3024 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3025
3026 * mail/sendmail.el (sendmail-query-once): Restore the current
3027 buffer after querying (bug#9074).
3028
3029 * dired.el (dired-flagged): Use different faces for marked and
3030 flagged files (bug#6117).
3031
3032 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3033 (bug#4433).
3034
3035 * ido.el (ido-mode): Switch off the message if called
3036 non-interactively.
3037
3038 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3039 before 587, since it appears that that's more likely to work for
3040 more people.
3041
3042 * cus-edit.el (custom-file): When running under emacs -q, always
3043 refuse to save the customizations, even if the .emacs file doesn't
3044 exist.
3045
3046 * info.el: Remove the `Info-beginning-of-buffer' function
3047 (bug#8325).
3048
3049 * net/network-stream.el (network-stream-open-starttls):
3050 Use `starttls-available-p' to see whether starttls.el can be used.
3051
3052 2011-08-01 Martin Rudalics <rudalics@gmx.at>
3053
3054 * window.el (display-buffer-in-window): Don't set dedicated status
3055 of window here (Bug#9215).
3056 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3057 (display-buffer-pop-up-side-window)
3058 (display-buffer-in-side-window): Set dedicated status of window here.
3059
3060 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3061
3062 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3063 before binding generated-autoload-file.
3064
3065 2011-08-01 Deniz Dogan <deniz@dogan.se>
3066
3067 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3068
3069 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
3070
3071 Sync with Tramp 2.2.2.
3072
3073 * net/trampver.el: Update release number.
3074
3075 2011-07-30 Juri Linkov <juri@jurta.org>
3076
3077 * dired-aux.el (dired-touch-initial): Remove function.
3078 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3079 current time, and `default' to the last modification time of the
3080 current marked file (bug#6887).
3081
3082 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3083
3084 * simple.el (goto-line): Use string-to-number to provide a
3085 numeric argument to read-number (bug#9163).
3086
3087 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
3088
3089 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3090 connection process, it could be nil.
3091
3092 2011-07-27 Leo Liu <sdl.web@gmail.com>
3093
3094 Simplify url handling in rcirc-mode.
3095
3096 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3097 (rcirc-browse-url-at-mouse): Remove.
3098 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3099
3100 2011-07-26 Alan Mackenzie <acm@muc.de>
3101
3102 Fontify bitfield declarations properly.
3103
3104 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3105 (c-symbol-chars): Now exported as a lang variable.
3106 (c-not-primitive-type-keywords): New lang variable.
3107
3108 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3109 QT keyword "more" to prevent "more slots: ...." being spuriously
3110 parsed as a bitfield declaration.
3111
3112 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3113 Refactor and enhance to handle bitfield declarations.
3114 (c-punctuation-in): New function.
3115 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3116 declarations properly.
3117
3118 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
3119
3120 * calendar/icalendar.el (icalendar--all-events): Take care of
3121 multiple vcalendars in a single file.
3122 (icalendar--convert-float-to-ical): Checkdoc fixes.
3123
3124 2011-07-25 Deniz Dogan <deniz@dogan.se>
3125
3126 * image.el (insert-image): Clarifying docstring.
3127
3128 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
3129
3130 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3131 `tramp-send-command-and-check' if there is no error.
3132 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3133
3134 2011-07-22 Alan Mackenzie <acm@muc.de>
3135
3136 Prevent cc-langs.elc being loaded at run time.
3137
3138 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3139 cc-langs.
3140
3141 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
3142 "(require 'cc-langs)". Quote a form so it will evaluate at
3143 (cc-mode's) compilation time.
3144
3145 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
3146
3147 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3148 loading. (Bug#9114)
3149
3150 2011-07-21 Martin Rudalics <rudalics@gmx.at>
3151
3152 * window.el (display-buffer-pop-up-window)
3153 (display-buffer-pop-up-side-window)
3154 (display-buffer-in-side-window): Call display-buffer-set-height
3155 and display-buffer-set-width after setting the new window's
3156 buffer so `fit-window-to-buffer' and friends work on the right buffer.
3157
3158 2011-07-20 Sam Steingold <sds@gnu.org>
3159
3160 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3161 (etags-tags-included-tables): Call `convert-standard-filename' on
3162 the file names contained in TAGS so that windows Emacs can handle
3163 TAGS files created by cygwin ctags.
3164
3165 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3166
3167 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3168 which apparently didn't work.
3169
3170 2011-07-19 Roland Winkler <winkler@gnu.org>
3171
3172 * proced.el (proced-send-signal): For *Marked Processes* buffer
3173 put point at beginning of buffer.
3174
3175 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
3176
3177 * proced.el (proced-format): Make header lines align with the text
3178 (bug#1779).
3179
3180 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3181
3182 * view.el (view-buffer): Allow running in `special' modes if we're
3183 visiting a file (bug#8615).
3184
3185 2011-07-19 Martin Rudalics <rudalics@gmx.at>
3186
3187 * window.el (display-buffer-alist-of-strings-p)
3188 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3189 New functions.
3190 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3191 more accurately.
3192
3193 2011-07-18 Alan Mackenzie <acm@muc.de>
3194
3195 Fontify declarators properly when, e.g., a jit-lock chunk begins
3196 inside a declaration.
3197
3198 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3199
3200 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3201 New function.
3202 (c-complex-decl-matchers): Insert reference to
3203 c-font-lock-enclosing-decls.
3204
3205 * progmodes/cc-engine.el (c-backward-single-comment):
3206 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3207 to nil around calls to (forward-comment -1).
3208
3209 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3210
3211 * image.el (put-image): Doc typo fix.
3212
3213 * progmodes/etags.el (tags-search): Doc typo fix.
3214
3215 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3216 password if we get errors 550 to 554.
3217
3218 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3219
3220 * net/gnutls.el (gnutls-log-level): Remove.
3221
3222 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3223 indentation character (bug#6380).
3224
3225 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3226
3227 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3228 to clarify what the problem is (bug#4291).
3229
3230 * simple.el (current-kill): Clarify what
3231 `interprogram-paste-function' does (bug#7500).
3232 (auto-fill-mode): Document `auto-fill-function' in relation to
3233 `auto-fill-mode' (bug#2470).
3234
3235 2011-07-16 Lawrence Mitchell <wence@gmx.li>
3236
3237 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3238 method if slot is read-only (bug#9035).
3239
3240 2011-07-16 Martin Rudalics <rudalics@gmx.at>
3241
3242 * frame.el (select-frame-set-input-focus): New argument NORECORD.
3243 * window.el (pop-to-buffer): Select window used even if it was
3244 selected before, see discussion of (Bug#8615), (Bug#6954).
3245 Pass argument NORECORD on to select-frame-set-input-focus.
3246
3247 2011-07-15 Glenn Morris <rgm@gnu.org>
3248
3249 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
3250 Respect help-form.
3251
3252 2011-07-09 Lawrence Mitchell <wence@gmx.li>
3253
3254 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3255 (gnutls-negotiate): Use it.
3256
3257 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3258
3259 * net/gnutls.el (gnutls-negotiate):
3260 Upcase `gnutls-algorithm-priority'.
3261
3262 2011-07-15 Glenn Morris <rgm@gnu.org>
3263
3264 * jka-compr.el (jka-compr-verbose): Move from here...
3265 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3266 Add missing :version tag.
3267 * info.el: No need to require jka-compr when compiling.
3268
3269 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3270
3271 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3272 (gnutls-negotiate): Use it.
3273
3274 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3275
3276 * info.el (Info-beginning-of-buffer): New command.
3277 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3278 announcing `b' as the key (bug#8325).
3279 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
3280
3281 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3282
3283 * international/mule-cmds.el
3284 (describe-specified-language-support): Make the error message
3285 clearer (bug#8905).
3286
3287 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3288
3289 * isearch.el (isearch-barrier): Add a doc string, since it's
3290 mentioned in a function doc string (bug#8678).
3291
3292 2011-07-15 Martin Rudalics <rudalics@gmx.at>
3293
3294 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3295 buffer argument (Bug#9083) and self-identifying label argument.
3296
3297 2011-07-15 Glenn Morris <rgm@gnu.org>
3298
3299 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3300
3301 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3302
3303 * man.el (Man-fontify-manpage): Fix message when formatting the
3304 man page (bug#7929).
3305
3306 2011-07-14 Eli Zaretskii <eliz@gnu.org>
3307
3308 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3309 argument LRM; if non-nil, append an invisible LRM character to the
3310 buffer name.
3311 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3312 last argument non-nil, when formatting buffer names.
3313 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3314 paragraph direction.
3315
3316 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3317
3318 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3319 the man page name (bug#7929).
3320
3321 * image.el (put-image): Mention the `put-image' overlay property
3322 (bug#7834).
3323
3324 * scroll-bar.el (set-scroll-bar-mode): Mention that
3325 `scroll-bar-mode' lists the values (bug#7772).
3326
3327 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3328 command (bug#7729).
3329
3330 * rect.el (apply-on-rectangle): Return the point after the last
3331 operation.
3332 (string-rectangle): Go to the point after the last operation
3333 (bug#7522).
3334
3335 * printing.el (pr-toggle-region): Clarify the documentation
3336 slightly (bug#7493).
3337
3338 * time.el (display-time-update):
3339 Allow `display-time-mail-function' to return nil (bug#7158).
3340 Fix suggested by Detlev Zundel.
3341
3342 * vc/diff.el (diff): Clarify the order the file names are read
3343 (bug#7111).
3344
3345 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3346 the doc string (bug#7015).
3347
3348 * font-lock.el (font-lock-maximum-decoration): Mention what
3349 numeric levels mean (bug#6935).
3350
3351 * startup.el (initial-buffer-choice): Don't mention the `none'
3352 selection, which is against policy.
3353
3354 2011-07-14 Martin Rudalics <rudalics@gmx.at>
3355
3356 * window.el (display-buffer-normalize-special):
3357 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
3358
3359 2011-07-14 Eli Zaretskii <eliz@gnu.org>
3360
3361 * subr.el (version<, version<=, version=): Mention "-CVS" and
3362 "-12345" alpha version numbers.
3363
3364 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
3365
3366 * bindings.el: Add advertised binding for set-mark-command
3367 (Bug#5772).
3368
3369 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
3370
3371 * bindings.el (mode-line-other-buffer):
3372 * bookmark.el (bookmark-bmenu-2-window):
3373 * bs.el (bs-cycle-next, bs-cycle-previous):
3374 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3375 switch-to-buffer.
3376
3377 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3378 Delete.
3379
3380 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
3381
3382 * follow.el (follow-debug-message, follow-redisplay):
3383 * jka-cmpr-hook.el (with-auto-compression-mode):
3384 Fix typos in docstrings.
3385
3386 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3387
3388 * subr.el (with-silent-modifications): Clarify somewhat what the
3389 macro inhibits (bug#6525).
3390
3391 * simple.el (eval-expression): Note what it does if called
3392 interactively (bug#6495).
3393
3394 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
3395
3396 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3397 Use pop-to-buffer buffer-or-name if it is nil.
3398
3399 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3400 Remove switch-to-buffer.
3401
3402 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3403
3404 * files.el (make-directory): Clarify that an error will be raised
3405 if there's an error (bug#6397).
3406
3407 * startup.el (initial-buffer-choice): Add `none' as a choice
3408 (bug#6234).
3409
3410 * subr.el (add-hook): Clarify section about buffer-local hooks
3411 (bug#6218).
3412
3413 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3414
3415 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
3416
3417 * tabify.el (untabify): Preserve the current column so that point
3418 doesn't move (bug#6032).
3419
3420 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3421
3422 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3423 Rewrite to avoid awkward possessive "s" (bug#5986).
3424
3425 2011-07-13 Glenn Morris <rgm@gnu.org>
3426
3427 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3428 (dired-insert-directory): Give a message the first time
3429 if ls is found not to support --dired.
3430
3431 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3432
3433 * simple.el (toggle-truncate-lines): Clarify what is toggled
3434 (bug#5580). Text by Drew Adams.
3435
3436 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
3437
3438 * simple.el (blink-matching-open): Make the error message from the
3439 last change less verbose.
3440
3441 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3442
3443 * font-lock.el (font-lock-comment-face): Use the high contrast
3444 "yellow" color for font-lock-comment-face on low color terminals
3445 using a dark background color (bug#4221).
3446
3447 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3448
3449 * dired.el (dired-insert-set-properties): Make the doc string
3450 reflect what it does now (bug#5325).
3451
3452 * simple.el (blink-matching-open): Say that we were unable to find
3453 the match within the limit, if we're limited (bug#5122).
3454
3455 * international/mule-cmds.el (prefer-coding-system): Add an
3456 example (bug#4869).
3457
3458 * progmodes/etags.el (tags-search): Document `file-list-form'
3459 (bug#4731).
3460
3461 2011-07-13 Lawrence Mitchell <wence@gmx.li>
3462
3463 * net/browse-url.el (browse-url-default-browser)
3464 (browse-url-browser-function): Make the default browser choice a
3465 bit more logical (bug#4300). Also clean up the doc string.
3466
3467 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
3468
3469 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3470 binary endings (bug#4440).
3471
3472 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3473
3474 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3475 which can be pretty annoying (bug#8971).
3476
3477 * jka-compr.el (jka-compr-verbose): New variable, and use
3478 throughout (bug#8971).
3479
3480 * info.el (Info-find-file): Fall back on the installation
3481 directory if we can't find the info node anywhere else.
3482
3483 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3484
3485 * vc/vc.el (vc-revert-file):
3486 Don't set file time-stamp in the past. (Bug#5181)
3487
3488 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3489
3490 * files.el (after-find-file): Give a better error message when
3491 trying to find a symlink that points to a file that doesn't exist
3492 (bug#4398).
3493
3494 * progmodes/cc-vars.el: Remove (probably) misleading comment
3495 (bug#4396).
3496
3497 2011-07-12 Johan Bockgård <bojohan@gnu.org>
3498
3499 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3500
3501 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
3502
3503 * mouse-sel.el: Hack restoring functionality, while keeping
3504 compatibility with 2010-07-03 changes to mouse selection.
3505 (mouse-sel-primary-overlay): New var.
3506 (mouse-sel-selection-alist): Use it.
3507 (mouse-sel-mode): Doc fix; remove points that are default features
3508 of mouse.el.
3509
3510 2011-07-12 Johan Bockgård <bojohan@gnu.org>
3511
3512 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3513 Fix previous fix (bug#2490).
3514
3515 2011-07-12 Roland Winkler <winkler@gnu.org>
3516
3517 * textmodes/bibtex.el (bibtex-initialize):
3518 Use pop-to-buffer-same-window.
3519 (bibtex-search-entries): Fix interactive call.
3520
3521 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3522
3523 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3524 Fontise bytecomp Error lines more correctly (bug#2490).
3525 Fix suggested by Johan Bockgård.
3526
3527 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3528
3529 * dired-x.el (dired-guess-default): Use `delete-dups'.
3530
3531 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
3532
3533 * dired.el (dired-mark-prompt):
3534 * dired-aux.el (dired-read-shell-command): Doc fix.
3535
3536 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3537
3538 * mail/sendmail.el (sendmail-query-once):
3539 Use `customize-save-variable' unconditionally, now that it works under
3540 emacs -Q.
3541
3542 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3543
3544 * cus-edit.el (custom-file): Take an optional no-error variable.
3545 (customize-save-variable): Set the variable, and give a warning if
3546 running under "emacs -q".
3547
3548 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
3549
3550 * loadhist.el (unload-feature-special-hooks):
3551 Add `auto-coding-functions', `fill-nobreak-predicate' and
3552 `find-directory-functions' (bug#5327).
3553
3554 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3555
3556 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3557
3558 * cus-edit.el (custom-guess-name-alist): -alist variables should
3559 use the `alist' type (bug#3120). Suggested by Drew Adams.
3560
3561 * printing.el: Add documentation to all the `pr-toggle-' commands.
3562
3563 2011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3564
3565 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3566 backends where it makes sense (bug#2623).
3567
3568 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3569
3570 * dired-x.el (dired-guess-default): Remove duplicate shell command
3571 entries (bug#2028).
3572 (dired-guess-default): Fix grammar in doc string (bug#2028).
3573 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
3574
3575 * subr.el (remove-duplicates): New conveniency function.
3576
3577 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3578
3579 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3580 (bug#1526).
3581
3582 2011-07-10 Martin Rudalics <rudalics@gmx.at>
3583
3584 * window.el (display-buffer-normalize-default): Don't invert
3585 meaning of even-window-heights. Reported by Eli Zaretskii
3586 <eliz@gnu.org>.
3587
3588 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3589
3590 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3591
3592 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
3593
3594 * window.el (display-buffer): Fix arguments to
3595 display-buffer-reuse-window in last change.
3596
3597 * faces.el (link): Use a less saturated blue on light backgrounds.
3598
3599 * startup.el (fancy-startup-text, fancy-about-text)
3600 (fancy-startup-tail): Use font-lock faces, for background safety.
3601
3602 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3603
3604 * emulation/viper-cmd.el (viper-change-state-to-vi):
3605 Limit triggering of abbrev expansion (Bug#9038).
3606
3607 2011-07-09 Martin Rudalics <rudalics@gmx.at>
3608
3609 * window.el (display-buffer-default-specifiers): Remove.
3610 (display-buffer-macro-specifiers): Remove default specifiers.
3611 (display-buffer-alist): Default to nil.
3612 (display-buffer-reuse-window): New optional argument other-window.
3613 (display-buffer-pop-up-window): Allow splitting internal
3614 windows. Check whether a live window was created.
3615 (display-buffer-other-window-means-other-frame)
3616 (display-buffer-normalize-arguments): Rename to
3617 display-buffer-normalize-argument and rewrite. Set the
3618 other-window specifier.
3619 (display-buffer-normalize-special): New function.
3620 (display-buffer-normalize-options): Rename to
3621 display-buffer-normalize-default and rewrite.
3622 (display-buffer-normalize-options-inhibit): Remove.
3623 (display-buffer-normalize-specifiers): Rewrite.
3624 (display-buffer): Process other-window specifier and call
3625 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3626 more faithfully.
3627 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
3628 (display-buffer-alist-set): Don't handle 'unset default values.
3629 (display-buffer-in-window, display-buffer-alist-set):
3630 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
3631 <tassilo@member.fsf.org>.
3632
3633 2011-07-09 Leo Liu <sdl.web@gmail.com>
3634
3635 * register.el (insert-register): Restore accidental change on
3636 2011-06-26. (Bug#9028)
3637
3638 2011-07-09 Glenn Morris <rgm@gnu.org>
3639
3640 * subr.el (remq): Handle the empty list. (Bug#9024)
3641
3642 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3643
3644 * mail/sendmail.el (send-mail-function): No longer delay custom
3645 initialization.
3646 * custom.el (custom-initialize-delay): Doc fix.
3647
3648 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3651
3652 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
3653
3654 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3655 human-friendly prompt.
3656
3657 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3660 provided by a particular plugin.
3661
3662 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3663
3664 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3665 save customizations (with "emacs -Q"), just set the variable
3666 instead of erroring out.
3667
3668 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3669
3670 2011-07-08 Juri Linkov <juri@jurta.org>
3671
3672 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3673 (archive-zip-update-case): Use 7z if found by `executable-find'.
3674 The order of searching the available programs is the same as in
3675 `archive-zip-extract' (bug#8968).
3676
3677 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
3678
3679 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3680 (menu-bar-options-menu): Tweak descriptions.
3681
3682 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3683
3684 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3685 menu items into verb phrases (bug#1421). Also refill to fit under
3686 80 columns.
3687
3688 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
3689
3690 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3691 (Info-read-node-name): Doc fix (Bug#1084).
3692
3693 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3694 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3695 (end-of-sexp, beginning-of-sexp)
3696 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3697 (forward-symbol, forward-same-syntax, word-at-point)
3698 (sentence-at-point): Doc fix (Bug#1144).
3699
3700 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3701
3702 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3703 should cover it (bug#1281).
3704
3705 * cus-edit.el (custom-show): Mark as obsolete.
3706
3707 * net/network-stream.el (network-stream-open-starttls): If gnutls
3708 negotiation fails, then possibly try again with a non-encrypted
3709 connection (bug#9017).
3710
3711 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3712 be used.
3713
3714 2011-07-07 Richard Stallman <rms@gnu.org>
3715
3716 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3717 property, and handle its changed format.
3718 Look for the correct line number.
3719 Use file's line contents (but not past first =) to find
3720 correct line in message.
3721
3722 2011-07-07 Kenichi Handa <handa@m17n.org>
3723
3724 * international/characters.el (build-unicode-category-table):
3725 Delete it.
3726 (unicode-category-table): Set it by unicode-property-table-internal.
3727
3728 * international/mule-cmds.el (char-code-property-alist): Move to
3729 to src/chartab.c.
3730 (get-char-code-property): Call unicode-property-table-internal to
3731 load a file. Call get-unicode-property-internal where necessary.
3732 (put-char-code-property): Call unicode-property-table-internal to
3733 load a file. Call put-unicode-property-internal where necessary.
3734 put-unicode-property-internal where necessary.
3735 (char-code-property-description):
3736 Call unicode-property-table-internal to load a file.
3737
3738 * international/charprop.el:
3739 * international/uni-bidi.el:
3740 * international/uni-category.el:
3741 * international/uni-combining.el:
3742 * international/uni-comment.el:
3743 * international/uni-decimal.el:
3744 * international/uni-decomposition.el:
3745 * international/uni-digit.el:
3746 * international/uni-lowercase.el:
3747 * international/uni-mirrored.el:
3748 * international/uni-name.el:
3749 * international/uni-numeric.el:
3750 * international/uni-old-name.el:
3751 * international/uni-titlecase.el:
3752 * international/uni-uppercase.el: Regenerate.
3753
3754 * loadup.el: Load international/charprop.el before
3755 international/characters.
3756
3757 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
3758
3759 * window.el (next-buffer, previous-buffer): Signal an error if
3760 called from a minibuffer window.
3761
3762 * bindings.el: Revert 2011-07-04 change.
3763
3764 2011-07-06 Richard Stallman <rms@gnu.org>
3765
3766 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3767 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3768 Treat markers like ints.
3769 (rmail-mime-entity): Doc fix.
3770
3771 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3772
3773 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3774 defcustom again for backwards compatibility.
3775
3776 * simple.el (shell-command-on-region): Fill.
3777
3778 * dired-aux.el (dired-kill-line): Add a doc string.
3779
3780 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3781 to "\\sw\\|\\s_" (bug#358).
3782
3783 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3784 (dired-unmark-backward): Ditto.
3785 (dired-flag-backup-files): Ditto.
3786
3787 * dired-x.el (dired-mark-sexp): Ditto.
3788
3789 2011-07-06 Richard Stallman <rms@gnu.org>
3790
3791 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3792 (rmail-mime-entity): New arg TRUNCATED.
3793 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3794 New functions.
3795 (rmail-mime-save): Warn if entity is truncated.
3796 (rmail-mime-toggle-hidden): Likewise, for showing.
3797 (rmail-mime-process-multipart): Record when an entity is truncated.
3798
3799 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3800 if ENTITY is a string.
3801
3802 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3803
3804 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
3805 of faces when `M-C-x'-ing their definitions (bug#8378).
3806 Also clean up the code slightly.
3807
3808 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3809 because that makes the colors go away.
3810
3811 * mail/sendmail.el (send-mail-function): Change the default to
3812 `sendmail-query-once'.
3813 (sendmail-query-once): Add an autoload cookie.
3814
3815 * net/network-stream.el (network-stream-open-starttls): Try using
3816 a plain connection even if the server offered STARTTLS, and we
3817 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3818 capability. This should make smtpmail.el work in slightly more
3819 configurations.
3820
3821 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
3822
3823 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3824 New defun.
3825 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3826
3827 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3828
3829 * progmodes/sql.el: Version 3.0
3830 (sql-product-alist): Add product :completion-object,
3831 :completion-column, and :statement attributes.
3832 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
3833 (sql-mode-syntax-table): Mark all punctuation.
3834 (sql-font-lock-keywords-builder): Temporarily remove fallback on
3835 ansi keywords.
3836 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
3837 (sql-mode-oracle-font-lock-keywords): Improve.
3838 (sql-oracle-show-reserved-words): New function for development.
3839 (sql-product-font-lock): Simplify for source code buffers.
3840 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3841 New functions.
3842 (sql-highlight-product): Set product specific syntax table.
3843 (sql-mode-map): Add statement movement functions.
3844 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3845 New variable.
3846 (sql-statement-regexp, sql-beginning-of-statement)
3847 (sql-end-of-statement, sql-signum): New functions.
3848 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
3849 (sql-show-sqli-buffer): Bug fix.
3850 (sql-interactive-mode): Store connection data as buffer local.
3851 (sql-connect): Add NEW-NAME parameter. Redesign interaction
3852 with sql-interactive-mode.
3853 (sql-save-connection): Save buffer local settings.
3854 (sql-connection-menu-filter): Change menu entry name.
3855 (sql-product-interactive): Bug fix.
3856 (sql-preoutput-hold): New variable.
3857 (sql-interactive-remove-continuation-prompt): Bug fixes.
3858 (sql-debug-redirect): New variable.
3859 (sql-str-literal): New function.
3860 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
3861 Redesign.
3862 (sql-oracle-save-settings, sql-oracle-restore-settings)
3863 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3864 (sql-completion-object, sql-completion-column)
3865 (sql-completion-sqlbuf): New variables.
3866 (sql-build-completions-1, sql-build-completions)
3867 (sql-try-completion): New functions.
3868 (sql-read-table-name): Use them.
3869 (sql-contains-names): New buffer local variable.
3870 (sql-list-all, sql-list-table): Use it.
3871 (sql-oracle-completion-types): New variable.
3872 (sql-oracle-completion-object, sql-sqlite-completion-object)
3873 (sql-postgres-completion-object): New functions.
3874
3875 2011-07-06 Glenn Morris <rgm@gnu.org>
3876
3877 * window.el (pop-to-buffer): Doc fix.
3878
3879 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
3880
3881 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3882
3883 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
3884
3885 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3886
3887 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
3888
3889 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
3890
3891 * button.el (button): Inherit from link face. Suggested by Dan
3892 Nicolaescu.
3893
3894 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3895
3896 * progmodes/gdb-mi.el: Fit in 80 columns.
3897 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3898 switch-to-buffer.
3899
3900 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3901 if imenu is simply not configured (bug#8941).
3902
3903 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3904
3905 * allout.el (allout-post-undo-hook): New allout outline-change
3906 event hook to signal undo activity.
3907 (allout-post-command-business): Run allout-post-undo-hook if an
3908 undo just occurred.
3909 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3910 * allout-widgets.el (allout-widgets-after-undo-function):
3911 Ensure the integrity of the current item's decoration after it has been
3912 in the vicinity of an undo.
3913 (allout-widgets-mode): Include allout-widgets-after-undo-function
3914 on the new allout-post-undo-hook.
3915
3916 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3917
3918 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3919 Let define-derived-mode define it.
3920 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3921 cycles of abbrev-table inheritance (bug#8998).
3922
3923 2011-07-05 Roland Winkler <winkler@gnu.org>
3924
3925 * textmodes/bibtex.el: Add support for biblatex.
3926 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3927 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3928 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3929 (bibtex-entry-alist, bibtex-field-alist): New variables.
3930 (bibtex-entry-field-alist): Obsolete alias for
3931 bibtex-BibTeX-entry-alist.
3932 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3933 (bibtex-set-dialect): New command.
3934 (bibtex-entry-type, bibtex-entry-head)
3935 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3936 Bind via bibtex-set-dialect.
3937 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3938 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3939 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3940 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3941 Define via bibtex-set-dialect.
3942 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3943 Obey bibtex-no-opt-remove-re.
3944 (bibtex-vec-push, bibtex-vec-incr): New functions.
3945 (bibtex-format-entry, bibtex-field-list)
3946 (bibtex-print-help-message, bibtex-validate)
3947 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3948
3949 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3950
3951 * progmodes/compile.el (compilation-goto-locus):
3952 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3953 * bs.el (bs-cycle-next, bs-cycle-previous):
3954 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3955 * bindings.el (mode-line-other-buffer):
3956 * autoinsert.el (auto-insert):
3957 * arc-mode.el (archive-extract):
3958 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3959
3960 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
3961
3962 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3963 Fix check of `emacs-lock-unlockable-modes'.
3964 Coerce true values of `emacs-lock--try-unlocking' to t.
3965
3966 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
3967
3968 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3969 * emacs-lock.el: New file.
3970
3971 2011-07-05 Julien Danjou <julien@danjou.info>
3972
3973 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3974 than `boundp' to check if face is set.
3975
3976 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
3977
3978 * register.el (registerv-make):
3979 * window.el (window-min-height): Fix typos in docstrings.
3980
3981 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3982
3983 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3984 Update doc string.
3985
3986 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
3987
3988 * server.el (server-execute): Catch quit and call
3989 `server-return-error' to pass the error back to emacsclient and
3990 close the connection (bug#8942).
3991
3992 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3993
3994 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3995 insecure exception for current topic. Also note that auto-saves
3996 are handled differently.
3997
3998 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3999 State variables for tracking auto-save inhibition situation.
4000
4001 (allout-write-contents-hook-handler): Rename from
4002 'allout-write-file-hook-handler', and describe how it depends on
4003 write-contents-functions sensitivity to non-nil value to prevent
4004 file write.
4005
4006 (allout-auto-save-hook-handler): Remove. auto-save does not check
4007 this in individual buffers, only in the starting buffer, so this
4008 is not the right way for us to inhibit auto-save in a buffer
4009 according to its condition.
4010
4011 (allout-mode): Use new allout-write-contents-hook-handler, and
4012 only with write-contents-functions. Remove auto-save provisions -
4013 they're implemented elsewhere.
4014
4015 (allout-before-change-handler): If undo is in progress, note that
4016 for attention of allout-post-command-business.
4017
4018 (allout-post-command-business): If the command we're following was
4019 an undo, check for change in the status of encrypted items and
4020 adjust auto-save inhibitions accordingly.
4021
4022 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4023 according to whether there are or aren't any plain-text topics
4024 pending encryption.
4025
4026 (allout-inhibit-auto-save-info-for-decryption):
4027 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
4028 there are plain-text topics pending encryption.
4029
4030 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4031 buffer-saved-size and some allout state to not inhibit auto-saves
4032 if there are no longer any plain-text topics pending encryption.
4033
4034 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4035 No longer provide for exemption of the current topic.
4036
4037 2011-07-04 Juri Linkov <juri@jurta.org>
4038
4039 Add 7z operations to delete and save changed members (bug#8968).
4040 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4041 New defcustoms.
4042 (archive-7z-write-file-member): New function.
4043 (archive-7z-summarize): Fix the number of dashes in the
4044 listing output.
4045
4046 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4047
4048 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4049 (bug#8958).
4050
4051 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
4052
4053 * bindings.el: Ignore next-buffer and previous-buffer in
4054 minibuffer-local-map.
4055
4056 * font-lock.el (font-lock-builtin-face): Change light background
4057 color to dark slate blue (Bug#6693).
4058
4059 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4060
4061 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4062
4063 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4064
4065 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4066 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4067 Add switch-to-buffer.
4068
4069 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4070
4071 * isearch.el (isearch-search-fun-function): Clarify further the
4072 meaning of the function returned.
4073
4074 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
4075
4076 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4077
4078 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4079 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4080 Use it.
4081 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4082 `tramp-default-remote-path' does not exist.
4083 (tramp-send-command-and-read): New optional argument NOERROR.
4084 (tramp-open-connection-setup-interactive-shell)
4085 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4086 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4087 (tramp-process-sentinel): Flush also process' connection property.
4088 (tramp-sh-handle-start-file-process): Do not set process
4089 sentinel. It is done now ...
4090 (tramp-maybe-open-connection): ... here. (Bug#8929)
4091
4092 2011-07-04 MON KEY <monkey@sandpframing.com>
4093
4094 * play/animate.el (animate-string): Doc fixes and allow changing
4095 the buffer name (bug#5417).
4096
4097 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4098
4099 * play/animate.el (animation-buffer-name): Rename from *animate*.
4100
4101 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4102
4103 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4104 This is simpler and helps future-proof the code.
4105 (timer-until): Use time-subtract and float-time.
4106 (timer--time-less-p): Use time-less-p.
4107
4108 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
4109
4110 * type-break.el (timep): Use the value of `float-time' to avoid a
4111 byte-compiler warning.
4112
4113 * server.el (server-eval-and-print): Return any result, even nil.
4114
4115 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4116
4117 * type-break.el: Accept time formats that the builtins accept.
4118 (timep, type-break-time-difference): Accept any format that
4119 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4120 This is simpler and helps future-proof the code.
4121 (type-break-time-difference): Round rather than ignoring
4122 subseconds components.
4123
4124 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4125
4126 * info.el (Info-apropos-matches): Make non-interactive, since it
4127 doesn't seem to do anything useful as a command (bug#8829).
4128
4129 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
4130
4131 * frame.el (frame-background-mode, frame-set-background-mode):
4132 Move from faces.el.
4133 (frame-default-terminal-background): New function.
4134
4135 * custom.el (custom-push-theme): Don't record faces in `changed'
4136 theme; this doesn't work correctly for per-frame face settings.
4137 (disable-theme): Use face-set-after-frame-default to reset faces.
4138 (custom--frame-color-default): New function.
4139
4140 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4141
4142 * dired.el (dired-flagging-regexp): Remove unused variable
4143 (bug#8769).
4144
4145 2011-03-29 Kevin Ryde <user42@zip.com.au>
4146
4147 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4148 `perl-Test2' extend to match possible "fail #N" rep count
4149 (bug#8377).
4150
4151 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4152
4153 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4154 `smtpmail-via-smtp' now returns the error instead of nil.
4155
4156 * isearch.el (isearch-search-fun-function): Clarify the doc string
4157 (bug#8101).
4158
4159 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
4160
4161 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4162 unnecessary spaces (bug#8987).
4163
4164 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4165
4166 * net/network-stream.el (open-network-stream): Use the
4167 :end-of-capability command thoughout.
4168
4169 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4170
4171 * net/network-stream.el (open-network-stream): Add the
4172 :end-of-capability command parameter, used by pop3.el.
4173
4174 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4175
4176 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4177
4178 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4179 for list)" (bug#6475).
4180
4181 * files.el (file-expand-wildcards): Ignore non-readable
4182 sub-directories while trying to find matches instead of signaling
4183 an error (bug#6297).
4184
4185 * man.el (Man-reference-regexp): Allow matching possible
4186 word-wrapped references (bug#6289).
4187
4188 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4189 for consistency with the other vc buffers (bug#6197).
4190 (vc-checkin): Ditto.
4191
4192 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4193
4194 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4195
4196 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4197
4198 * custom.el (defcustom): Clarify that :set is only used in the
4199 Customize user interface (bug#6089).
4200
4201 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4202 associated with a file, refuse to run instead of erroring out
4203 (bug#6084).
4204
4205 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4206 the doc string, since it appears that using `fill-column' always
4207 controls the width (bug#7845).
4208
4209 * simple.el (shell-command-on-region): Say where the error output
4210 went if `shell-command-default-error-buffer' is set (bug#6857).
4211
4212 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4213
4214 * allout.el (allout-yank-processing): Adjust cursor position for
4215 backwards-deleted space.
4216
4217 (allout-rebullet-heading): Register changes with
4218 allout-exposure-changed-hook, so the modified topic is properly
4219 decorated.
4220
4221 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4222
4223 * minibuffer.el (completion-in-region): Document PREDICATE
4224 (bug#7136).
4225
4226 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4227 of keyword/argument pairs (bug#6904).
4228
4229 * replace.el (multi-occur):
4230 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
4231
4232 2011-07-02 Drew Adams <drew.adams@oracle.com>
4233
4234 * dired.el (dired-mark-if): Make the message about whether it's
4235 marking or unmarking clearer (bug#8523).
4236
4237 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4238
4239 * disp-table.el (display-table-print-array): New function.
4240 (describe-display-table): Use it to print the vectors more pretty
4241 (Bug#8859).
4242
4243 2011-07-02 Martin Rudalics <rudalics@gmx.at>
4244
4245 * window.el (window-state-get-1): Don't assign clone numbers.
4246 Add clone-of item to list of window parameters.
4247 (window-state-put-2): Don't process clone numbers.
4248 (display-buffer-alist): Fix doc-string.
4249
4250 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4251
4252 * subr.el (remq): Don't allocate if it's not needed.
4253 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4254 (keymap--merge-bindings): New functions.
4255 (keymap-canonicalize): Use them to refine the canonicalization.
4256 * minibuffer.el (minibuffer-local-completion-map)
4257 (minibuffer-local-must-match-map): Move initialization from C.
4258 (minibuffer-local-filename-completion-map): Move initialization from C;
4259 don't inherit from anything here.
4260 (minibuffer-local-filename-must-match-map): Make obsolete.
4261 (completing-read-default): Use make-composed-keymap to combine
4262 minibuffer-local-filename-completion-map with either
4263 minibuffer-local-must-match-map or
4264 minibuffer-local-filename-completion-map.
4265
4266 2011-07-01 Glenn Morris <rgm@gnu.org>
4267
4268 * type-break.el (type-break-time-sum): Use dolist.
4269
4270 * textmodes/flyspell.el (flyspell-word-search-backward):
4271 Replace CL function.
4272
4273 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4274
4275 * mouse.el (mouse--strip-first-event): New function.
4276 (function-key-map): Use it to map fringe clicks to normal clicks
4277 by default.
4278
4279 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4280 (vc-bzr-revision-completion-table): Add support for annotate and date.
4281
4282 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4283 inherit from parent.
4284
4285 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4286
4287 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
4288 (dired-show-file-type): Doc fixup (bug#8818).
4289
4290 * dired.el (dired-mode): Fix up the doc string as suggested by
4291 Drew Adams (bug#8817).
4292
4293 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4294 cookie, since the manual says that it should be possible to add
4295 this function to `find-file-hook' (bug#8709).
4296
4297 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4298
4299 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4300 here. Noted Ted Zlatanov as the maintainer.
4301 (cfengine-common-settings, cfengine-common-syntax): New functions
4302 to set up common things between `cfengine-mode' and
4303 `cfengine3-mode'.
4304 (cfengine3-mode): New mode.
4305 (cfengine3-defuns cfengine3-defuns-regex
4306 (cfengine3-class-selector-regex cfengine3-category-regex)
4307 (cfengine3-vartypes cfengine3-font-lock-keywords)
4308 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
4309 (cfengine3-indent-line): Add from cfengine3.el.
4310
4311 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
4312
4313 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4314
4315 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4316
4317 2011-07-01 Martin Rudalics <rudalics@gmx.at>
4318
4319 * window.el (same-window-buffer-names, same-window-regexps)
4320 (same-window-p, special-display-frame-alist)
4321 (special-display-popup-frame, special-display-function)
4322 (special-display-buffer-names, special-display-regexps)
4323 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4324 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4325 (split-window-preferred-function, split-height-threshold)
4326 (split-width-threshold, even-window-heights)
4327 (display-buffer-mark-dedicated, window-splittable-p)
4328 (split-window-sensibly, window-safely-shrinkable-p):
4329 Un-obsolete.
4330 (display-buffer): Don't spread args with function specifier
4331 because special-display-popup-frame won't like it.
4332
4333 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4334
4335 Time-stamp simplifications and fixes.
4336 These improve accuracy slightly, and future-proof the code
4337 against some potential changes to current-time format.
4338
4339 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4340 by using time-since and float-time.
4341
4342 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4343 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4344 + NNN microseconds".
4345
4346 * type-break.el (type-break-time-sum): Rewrite using time-add.
4347
4348 * play/hanoi.el (hanoi-current-time-float): Remove.
4349 All uses replaced by float-time.
4350
4351 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4352 This yields a more-accurate answer.
4353 (rng-time-to-float): Remove; no longer needed.
4354
4355 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4356
4357 * calendar/timeclock.el (timeclock-seconds-to-time):
4358 Defalias to seconds-to-time, since they're the same thing.
4359
4360 * emacs-lisp/elp.el (elp-elapsed-time):
4361 * emacs-lisp/benchmark.el (benchmark-elapse):
4362 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4363
4364 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4365
4366 * window.el (bury-buffer): Don't iconify the only frame.
4367 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4368 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4369
4370 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
4371
4372 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4373 Add mouse-yank-primary.
4374
4375 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4376
4377 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4378
4379 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4382 (find-library-name): Use it to find relative load names when provided
4383 absolute file name (bug#8803).
4384
4385 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4386
4387 * textmodes/flyspell.el (flyspell-word): Consider words that
4388 differ only in case as potential doublons (bug#5687).
4389
4390 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4391 Remove two rather uninteresting debugging-like messages to make
4392 debbugs.el more silent.
4393
4394 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4395 a password-like phrase.
4396
4397 2011-06-30 Mastake YAMATO <yamato@redhat.com>
4398
4399 * progmodes/cc-guess.el: New file.
4400
4401 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
4402
4403 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4404 derived from `c-basic-common-init'.
4405
4406 * progmodes/cc-mode.el (top-level): Require cc-guess.
4407 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4408
4409 2011-06-30 Lawrence Mitchell <wence@gmx.li>
4410
4411 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4412
4413 2011-06-30 Alan Mackenzie <acm@muc.de>
4414
4415 * progmodes/cc-engine.el (c-guess-continued-construct):
4416 Correct the handling of template-args-cont, particularly for when font
4417 lock is disabled. Name this case as "CASE G".
4418
4419 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4420
4421 * allout.el (allout-yank-processing): Fix injection of extra space
4422 between bullet and non-whitespace character in first topic when
4423 pasting, ensuring that the actual spacing in the pasted topic
4424 following the bullet char is preserved. This extra space was
4425 causing pasted encrypted topics to get a decrypted status even
4426 when the content was actually still encrypted. Now the decryption
4427 status from before the paste is preserved.
4428
4429 (allout-flag-region): Set all allout overlays so they evaporate
4430 when reduced to zero length (evanescent), to prevent overlay
4431 leakage.
4432
4433 2011-06-30 Glenn Morris <rgm@gnu.org>
4434
4435 * w32-fns.el (w32-charset-info-alist): Declare.
4436
4437 * find-dired.el (find-grep-options): Simplify.
4438
4439 * term/ns-win.el (ns-set-resource): Declare.
4440
4441 * ses.el (row, col): Declare dynamic variables honestly.
4442
4443 * textmodes/reftex-parse.el (index-tags): Declare.
4444
4445 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
4446
4447 * cus-edit.el (customize-push-and-save): New function.
4448
4449 * files.el (hack-local-variables-confirm): Use it.
4450
4451 * custom.el (load-theme): New arg NO-CONFIRM.
4452 Use customize-push-and-save (Bug#8720).
4453 (custom-enabled-themes): Doc fix.
4454
4455 * cus-theme.el (customize-create-theme)
4456 (custom-theme-merge-theme): Callers to load-theme changed.
4457
4458 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4459
4460 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4461 short URLs have at least one dot in them (bug #7614).
4462
4463 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4464 nil, because using a pty is apparently too slow (bug #895).
4465
4466 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4467
4468 * mail/sendmail.el (sendmail-query-once): New function.
4469 (sendmail-query-once-function): New variable.
4470
4471 2011-06-29 Glenn Morris <rgm@gnu.org>
4472
4473 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4474
4475 * ses.el (top-level): Require cl when compiling.
4476 (ses-set-localvars): Fix error statement.
4477 Call it at compile time to silence a storm of warnings.
4478
4479 2011-06-29 Martin Rudalics <rudalics@gmx.at>
4480
4481 * window.el (normalize-live-buffer): Rename to
4482 window-normalize-buffer.
4483 (normalize-live-frame): Rename to window-normalize-frame.
4484 (normalize-any-window): Rename to window-normalize-any-window.
4485 (normalize-live-window): Rename to window-normalize-live-window.
4486 (make-window-atom): Rename to window-make-atom.
4487 (window-resize-reset): Rename to window--resize-reset.
4488 (window-resize-reset-1): Rename to window--resize-reset-1.
4489 (resize-mini-window): Rename to window--resize-mini-window.
4490 (resize-subwindows-skip-p): Rename to
4491 window--resize-subwindows-skip-p.
4492 (resize-subwindows-normal): Rename to
4493 window--resize-subwindows-normal.
4494 (resize-subwindows): Rename to window--resize-subwindows.
4495 (resize-other-windows): Rename to window--resize-siblings.
4496 (resize-this-window): Rename to window--resize-this-window.
4497 (resize-root-window): Rename to window--resize-root-window.
4498 (resize-root-window-vertically): Rename to
4499 window--resize-root-window-vertically.
4500 (normalize-buffer-to-display): Rename to
4501 window-normalize-buffer-to-display.
4502 (normalize-buffer-to-switch-to): Rename to
4503 window-normalize-buffer-to-switch-to.
4504 Correspondingly update all callers of the functions listed
4505 above.
4506 (display-buffer-alist, display-buffer-normalize-arguments)
4507 (display-buffer-normalize-options, display-buffer)
4508 (display-buffer-alist-set): Use "function" instead of
4509 "fun-with-args".
4510
4511 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
4512
4513 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4514 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4515 debbugs.gnu.org. Mention acknowledgment email.
4516
4517 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4518
4519 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4520 buffer multibyteness, since it shouldn't matter.
4521
4522 2011-06-28 Martin Rudalics <rudalics@gmx.at>
4523
4524 * window.el (display-buffer-in-side-window): Handle dedicated
4525 windows as in display-buffer-reuse-window.
4526 (display-buffer-normalize-alist): Use value of override
4527 specifier.
4528 (display-buffer-normalize-specifiers): Use value of
4529 other-window-means-other-frame specifier.
4530 (display-buffer-alist): Rewrite some texts in widgets.
4531 (display-buffer): Spread arguments when calling function
4532 specified by fun-with-args.
4533
4534 2011-06-28 Deniz Dogan <deniz@dogan.se>
4535
4536 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4537 Unnest `let'.
4538
4539 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4540 selectors (Bug#5732).
4541 (css-proprietary-nmstart-re): Use `regexp-opt'.
4542
4543 2011-06-27 Jari Aalto <jari.aalto@cante.net>
4544
4545 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4546 (eshell-ls-date-format): New defcustom.
4547 (eshell-ls-file): Use it.
4548
4549 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4550
4551 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4552
4553 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4554
4555 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4556 (ange-ftp-make-tmp-name): New arg.
4557 (ange-ftp-file-local-copy): Use it.
4558
4559 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
4560
4561 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4562 no-conversion (Bug#8870).
4563
4564 2011-06-27 Martin Rudalics <rudalics@gmx.at>
4565
4566 * window.el (window-right, window-left, window-child)
4567 (window-child-count, window-last-child)
4568 (window-iso-combination-p, walk-window-tree-1)
4569 (window-atom-check-1, window-tree-1, delete-window)
4570 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4571 new naming conventions - window-vchild, window-hchild,
4572 window-next and window-prev are now called window-top-child,
4573 window-left-child, window-next-sibling and window-prev-sibling
4574 respectively.
4575 (resize-window-reset): Rename to window-resize-reset.
4576 (resize-window-reset-1): Rename to window-resize-reset-1.
4577 (resize-window): Rename to window-resize.
4578 (window-min-height, window-min-width)
4579 (resize-mini-window, resize-this-window, resize-root-window)
4580 (resize-root-window-vertically, adjust-window-trailing-edge)
4581 (enlarge-window, shrink-window, maximize-window)
4582 (minimize-window, delete-window, quit-restore-window)
4583 (split-window, balance-windows, balance-windows-area-adjust)
4584 (balance-windows-area, window-state-put-2)
4585 (display-buffer-even-window-sizes, display-buffer-set-height)
4586 (display-buffer-set-width, set-window-text-height)
4587 (fit-window-to-buffer): Rename all "resize-window" prefixed
4588 calls to use the "window-resize" prefix convention.
4589 (display-buffer-alist): Fix symbol for label specifier.
4590 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4591 corresponding specifier.
4592 Reported by Juanma Barranquero <lekktu@gmail.com>.
4593
4594 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4595
4596 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4597 convention.
4598 (ses-call-printer): Does not pass an empty string to formatter when the
4599 cell is empty to keep from barking printer Calc math-format-value.
4600
4601 2011-06-27 Richard Stallman <rms@gnu.org>
4602
4603 * battery.el (battery-mode-line-limit): New variable.
4604 (battery-update): Handle it.
4605
4606 * mail/rmailmm.el (rmail-mime-process-multipart):
4607 Handle truncated messages.
4608
4609 2011-06-27 Glenn Morris <rgm@gnu.org>
4610
4611 * progmodes/flymake.el (flymake-err-line-patterns):
4612 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4613
4614 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4615
4616 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
4617 (ses--clean-!, ses--clean-_): New functions.
4618 (ses-range): Add configurability of readout order, and conversion
4619 to Calc vector.
4620
4621 * ses.el (ses-repair-cell-reference-all): New function.
4622 (ses-cell-symbol): Set macro as safe, so that it can be used in
4623 formulas.
4624
4625 * ses.el: Update cycle detection algorithm.
4626 (ses-localvars): Add ses--Dijkstra-attempt-nb and
4627 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
4628 (ses-set-localvars): New function.
4629 (ses-make-cell): Add property-list as a cell element.
4630 (ses-cell-property-get-fun, ses-cell-property-get)
4631 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
4632 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4633 New functions.
4634 (ses-cell-property-set, ses-cell-property-pop)
4635 (ses-cell-property-get-handle): New macro.
4636 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4637 New aliases, used for code readability.
4638 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4639 cycle detection.
4640 (ses-self-reference-early-detection): New defcustom.
4641 (ses-formula-references): Robustify against self-refering cells.
4642 (ses-mode): Use ses-set-localvars.
4643 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4644 before lauching the update processing.
4645 (ses-initialize-Dijkstra-attempt): New function.
4646 (ses-recalculate-cell): Update for cycle detection based on
4647 Dijkstra algorithm.
4648
4649 * ses.el: Fix commenting and indenting convention.
4650
4651 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4652
4653 * bs.el (bs-cycle-next): Complete last change.
4654
4655 2011-06-27 Drew Adams <drew.adams@oracle.com>
4656
4657 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4658
4659 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4660
4661 * net/network-stream.el (network-stream-open-starttls):
4662 Don't re-get capabilities unless we've reestablished connection.
4663 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4664
4665 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4666 to binary to possibly avoid line encoding issues on Windows (among
4667 other things).
4668
4669 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4670
4671 * net/network-stream.el (open-network-stream): Return an :error
4672 saying what the problem was, if possible.
4673
4674 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4675 server.
4676
4677 * net/network-stream.el (network-stream-open-starttls): If we
4678 wanted to use STARTTLS, and the server offered it, but we weren't
4679 able to because we had no STARTTLS support, then close the connection.
4680 (open-network-stream): Return an :error element, if present.
4681
4682 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
4683
4684 * hl-line.el (hl-line-sticky-flag): Doc fix.
4685 (global-hl-line-sticky-flag): New option (Bug#8323).
4686 (global-hl-line-highlight): Obey it.
4687
4688 * vc/vc.el (vc-revert-show-diff): Default to t.
4689
4690 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4691
4692 * allout-widgets.el (allout-widgets-post-command-business):
4693 Stop decorating intermediate isearch matches. They're not being
4694 undecorated when an isearch is continued past, and isearch
4695 automatically collapses them. This leads to "widget leaks", where
4696 decorated items accumulate in collapsed areas. Lines with lots of
4697 hidden widgets can slow down cursor travel, substantially.
4698 Too much complicated machinery would be needed to ensure undecoration,
4699 so we're doing without this nicety.
4700
4701 (allout-widgets-tally-string): Don't try to do a hash-table-count
4702 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4703 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4704 *Messages* when allout-widgets-maintain-tally is t.
4705
4706 2011-06-26 Martin Rudalics <rudalics@gmx.at>
4707
4708 * window.el (display-buffer-normalize-argument): Rename to
4709 display-buffer-normalize-arguments. Handle special meaning of
4710 LABEL argument. Respect special-display-function when popping up
4711 a new frame. Fix code searching for a window showing the buffer
4712 on another frame.
4713 (display-buffer-normalize-specifiers):
4714 Call display-buffer-normalize-arguments.
4715 (display-buffer-in-window): Don't undedicate the window if its
4716 buffer remains the same.
4717 Reported by Drew Adams <drew.adams@oracle.com>.
4718 (display-buffer-alist): Add choice for same-window macro
4719 specfier.
4720 (display-buffer): Mention special meaning of LABEL argument in
4721 doc-string. Fix quoting. Don't pop up a new frame even as
4722 fallback.
4723
4724 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
4725
4726 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4727 avoid deleting the current window in some cases (bug#8911).
4728
4729 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4730
4731 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4732 (Bug#8934)
4733
4734 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4735
4736 * net/network-stream.el (network-stream-open-starttls):
4737 Use built-in TLS support if `gnutls-available-p' is true.
4738 (network-stream-open-tls): Ditto.
4739
4740 2011-06-26 Leo Liu <sdl.web@gmail.com>
4741
4742 * register.el (registerv): New struct.
4743 (registerv-make): New function.
4744 (jump-to-register, describe-register-1, insert-register):
4745 Support the jump-func, print-func and insert-func slot of a registerv
4746 struct. (Bug#8415)
4747
4748 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
4749
4750 * vc/vc.el (vc-revert-show-diff): New defcustom.
4751 (vc-diff-internal): New arg specifying diff buffer.
4752 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4753 reuse an existing *vc-diff* buffer (Bug#8927).
4754
4755 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4756
4757 2011-06-26 Glenn Morris <rgm@gnu.org>
4758
4759 * progmodes/f90.el (f90-critical-indent): New option.
4760 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4761 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4762 (f90-mode): Doc fix.
4763 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4764 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4765 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4766 (f90-match-end): Handle block, critical.
4767
4768 2011-06-25 Glenn Morris <rgm@gnu.org>
4769
4770 * calendar/diary-lib.el (diary-included-files): Doc fix.
4771 (diary-include-files): New function, extracted from
4772 diary-include-other-diary-files and diary-mark-included-diary-files.
4773 (diary-include-other-diary-files, diary-mark-included-diary-files):
4774 Just call diary-include-files.
4775 (diary-mark-entries): Reset diary-included-files on first call.
4776
4777 * calendar/diary-lib.el (diary-mark-entries)
4778 (diary-mark-included-diary-files):
4779 Visit included diary-files in temp buffers.
4780
4781 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4782 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4783 (f90-start-block-re, f90-imenu-generic-expression)
4784 (f90-looking-at-program-block-start, f90-no-block-limit):
4785 Add support for submodules.
4786
4787 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4788 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
4789
4790 2011-06-25 Eli Zaretskii <eliz@gnu.org>
4791
4792 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4793 buffer-file-type before setting its value, to avoid disastrous
4794 global effects on decoding files for DOS/Windows systems. (Bug#8780)
4795
4796 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
4797
4798 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4799
4800 * ses.el (ses-unload-function):
4801 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4802
4803 * proced.el (proced-unload-function):
4804 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4805
4806 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4807
4808 * server.el (server-create-window-system-frame): Add parameters arg.
4809 (server-process-filter): Doc fix. Handle frame-parameters.
4810
4811 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
4812
4813 Fix bug#8730, bug#8781.
4814
4815 * loadhist.el (unload--set-major-mode): New function.
4816 (unload-feature): Use it.
4817
4818 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4819 (python-unload-function): New function.
4820
4821 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4824
4825 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4826
4827 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4828 the candidates list.
4829
4830 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
4831
4832 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4833
4834 2011-06-23 Richard Stallman <rms@gnu.org>
4835
4836 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4837 (rmail-variables): Set next-error-move-function.
4838 (rmail-what-message): Take argument POS.
4839 (rmail-next-error-move): New function.
4840
4841 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4842
4843 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4844 messages for adjacent non-terminals.
4845
4846 2011-06-23 Richard Stallman <rms@gnu.org>
4847
4848 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
4849 (rmail-show-message-1): Preserve buffer modified flag.
4850 (rmail-start-mail): Don't specify use of rmail-mail-return;
4851 that's done by mail-bury now.
4852 (rmail-mail-return): Handle arg NEWBUF.
4853
4854 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
4855
4856 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4857 SIZE is a number.
4858
4859 2011-06-23 Martin Rudalics <rudalics@gmx.at>
4860
4861 * window.el (get-lru-window, get-mru-window)
4862 (get-largest-window): Never return a minibuffer window.
4863 (display-buffer-pop-up-window): Fix a bug that could lead to
4864 reusing the minibuffer window.
4865 (display-buffer): Pass original specifier argument to
4866 display-buffer-function instead of the normalized one.
4867 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4868
4869 2011-06-22 Leo Liu <sdl.web@gmail.com>
4870
4871 * minibuffer.el (completing-read-function)
4872 (completing-read-default): Move from minibuf.c
4873
4874 2011-06-22 Richard Stallman <rms@gnu.org>
4875
4876 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4877 to Rmail even if not started by a special Rmail command.
4878
4879 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4880 Copy the buffer currently showing just one message.
4881
4882 2011-06-22 Roland Winkler <winkler@gnu.org>
4883
4884 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4885 (bibtex-clean-entry): First delete the old key so that a
4886 customized algorithm for generating the new key does not get
4887 confused by the old key.
4888 (bibtex-url): Obey regexp of first step.
4889 (bibtex-search-entries): Do not use add-to-list with local
4890 list-var.
4891
4892 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4893
4894 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4895 stored a user name, then query for the password first, instead of
4896 waiting for SMTP to give an error message and the trying again.
4897
4898 2011-06-22 Lawrence Mitchell <wence@gmx.li>
4899
4900 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4901 BUFFER in call-process.
4902
4903 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4904
4905 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4906 QUIT twice.
4907 (smtpmail-try-auth-methods): Require user name and password from
4908 auth-source.
4909
4910 2011-06-22 Martin Rudalics <rudalics@gmx.at>
4911
4912 * window.el (display-buffer-default-specifiers)
4913 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4914 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
4915 (split-window): Normalize SIDE argument (Bug#8916).
4916
4917 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4918 (special-display-frame-alist, special-display-popup-frame):
4919 Remove duplicate declarations. These are now in window.el.
4920
4921 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4922
4923 * mail/smtpmail.el (smtpmail-via-smtp):
4924 Set :use-starttls-if-possible so that we always use STARTTLS if the
4925 server supports it. SMTP servers that support STARTTLS commonly
4926 require it.
4927
4928 * net/network-stream.el (network-stream-open-starttls): Support
4929 upgrading to STARTTLS always, even if we don't have built-in support.
4930 (open-network-stream): Add the :always-query-capabilies keyword.
4931
4932 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4933 upgrades with `open-network-stream', and rely solely on
4934 auth-source for all credentials. Big changes throughout the file,
4935 but in particular:
4936 (smtpmail-auth-credentials): Remove.
4937 (smtpmail-starttls-credentials): Remove.
4938 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4939 MAIL FROM, too.
4940
4941 * net/network-stream.el (network-stream-open-starttls):
4942 Provide support for client certificates both for external and built-in
4943 STARTTLS.
4944 (auth-source): Require.
4945 (open-network-stream): Document the :client-certificate keyword.
4946 (network-stream-certificate): Change cert-cert to cert and
4947 cert-key to key.
4948
4949 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
4950
4951 * net/tramp-cache.el (top): Don't load the persistency file when
4952 "emacs -Q" has been called.
4953
4954 2011-06-21 Tim Harper <timcharper@gmail.com>
4955
4956 * term/ns-win.el (ns-initialize-window-system):
4957 Set application-specific `ApplePressAndHoldEnabled' system
4958 resource to NO as it is not yet supported by the NS port.
4959
4960 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
4961
4962 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4963 (list-dynamic-libraries): ...not here.
4964
4965 2011-06-21 Leo Liu <sdl.web@gmail.com>
4966
4967 * subr.el (sha1): Implement sha1 using secure-hash.
4968
4969 2011-06-21 Martin Rudalics <rudalics@gmx.at>
4970
4971 * window.el (display-buffer-alist): In default value do not
4972 enforce searching a window on any but the selected frame.
4973 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4974 (display-buffer-select-window): Remove function.
4975 (display-buffer-in-window): When a window on another frame gets
4976 reused, do not select it any more but just raise its frame if
4977 necessary (Bug#8851) and (Bug#8856).
4978 (display-buffer-normalize-options): Handle pop-up-frames related
4979 options more faithfully.
4980 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4981 window if it is on another frame.
4982 (display-buffer-alist, display-buffer-default-specifiers):
4983 Don't make new frame unsplittable by default.
4984 (display-buffer-normalize-argument): Fix doc-string typo and use
4985 'same-frame-other-window instead of 'other-window when associating
4986 with display-buffer-macro-specifiers.
4987
4988 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4989
4990 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4991 New functions.
4992 (5x5-mode-map, 5x5-mode-menu): Bind them.
4993 (5x5-draw-grid): Tweak the solver's rendering.
4994
4995 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4996
4997 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4998 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4999
5000 2011-06-21 Drew Adams <drew.adams@oracle.com>
5001
5002 * menu-bar.el: Use function variable instead of switch-to-buffer.
5003 (menu-bar-select-buffer-function): New variable.
5004 (menu-bar-update-buffers): Use it (bug#8876).
5005
5006 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5007
5008 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5009 variable's status.
5010
5011 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
5012
5013 * x-dnd.el (x-dnd-version-from-flags)
5014 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5015 and long as number (Bug#8899).
5016 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5017
5018 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5019
5020 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
5021 (completion-try-completion, completion-all-completions): Compute the
5022 metadata argument if it's missing; make it optional (bug#8795).
5023
5024 * wid-edit.el: Use lex-bind and move towards completion-at-point.
5025 (widget-complete): Use new :completion-function property.
5026 (widget-completions-at-point): New function.
5027 (default): Use :completion-function instead of :complete.
5028 (widget-default-completions): Rename from widget-default-complete;
5029 Rewrite.
5030 (widget-string-complete, widget-file-complete, widget-color-complete):
5031 Remove functions.
5032 (file, symbol, function, variable, coding-system, color):
5033 * international/mule-cmds.el (default-input-method, charset)
5034 (language-info-custom-alist):
5035 * cus-edit.el (face): Use new property :completions.
5036
5037 * progmodes/pascal.el (pascal-completions-at-point): New function.
5038 (pascal-mode): Use it.
5039 (pascal-mode-map): Use completion-at-point.
5040 (pascal-toggle-completions): Make obsolete.
5041 (pascal-complete-word, pascal-show-completions):
5042 * progmodes/octave-mod.el (octave-complete-symbol):
5043 Redefine as obsolete alias.
5044 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5045 Signal absence of completion info for old Octave,
5046 (inferior-octave-complete): Redefine as obsolete alias.
5047 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5048 (meta-completions-at-point): Rename from meta-complete-symbol and
5049 adapt it for use on completion-at-point-functions.
5050 (meta-common-mode): Use it.
5051 (meta-looking-at-backward, meta-match-buffer): Remove.
5052 (meta-complete-symbol): Redefine as obsolete alias.
5053 (meta-common-mode-map): Use completion-at-point.
5054 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5055 (makefile-mode-map): Use completion-at-point.
5056 (makefile-completions-at-point): Rename from makefile-complete and
5057 adapt it for use on completion-at-point-functions.
5058 (makefile-mode): Use it.
5059 (makefile-complete): Redefine as obsolete alias.
5060
5061 2011-06-20 Deniz Dogan <deniz@dogan.se>
5062
5063 * net/rcirc.el: Delete trailing whitespaces once and for all.
5064
5065 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5066
5067 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5068
5069 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
5070
5071 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5072
5073 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5074
5075 2011-06-19 Martin Rudalics <rudalics@gmx.at>
5076
5077 * window.el (display-buffer-other-window-means-other-frame):
5078 Call display-buffer-normalize-alist.
5079 (display-buffer-normalize-specifiers-1): Rename to
5080 display-buffer-normalize-argument. New argument other-frame.
5081 Rewrite.
5082 (display-buffer-normalize-specifiers-2): Rename to
5083 display-buffer-normalize-options.
5084 (display-buffer-normalize-alist-1): New function.
5085 (display-buffer-normalize-specifiers-3): Rename to
5086 display-buffer-normalize-alist.
5087 Call display-buffer-normalize-alist-1.
5088 (display-buffer-normalize-options-inhibit): New variable.
5089 (display-buffer-normalize-specifiers): Rewrite calling
5090 display-buffer-normalize-alist,
5091 display-buffer-normalize-argument, and
5092 display-buffer-normalize-options. Don't call the latter if
5093 display-buffer-normalize-options-inhibit is non-nil.
5094 (frame-auto-delete): New option.
5095 (window-deletable-p): Use frame-auto-delete.
5096 (window-list-no-nils, window-state-ignored-parameters)
5097 (window-state-get-1, window-state-get, window-state-put-list)
5098 (window-state-put-1, window-state-put-2, window-state-put):
5099 New functions.
5100 (display-buffer-normalize-options): Move special-display-p group
5101 after pop-up-frame group (Bug#8851) and (Bug#8856).
5102
5103 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
5104
5105 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5106 groups (Bug#8776).
5107 (rx-submatch-n): New function.
5108 (rx): Document it.
5109
5110 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5111 (Bug#8768).
5112
5113 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5114
5115 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5116
5117 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5118 anytime existing face settings are present (Bug#8889).
5119
5120 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5121 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5122 Remove unused argument.
5123
5124 2011-06-18 Martin Rudalics <rudalics@gmx.at>
5125
5126 * window.el (display-buffer-default-specifiers):
5127 Remove pop-up-frame. Add pop-up-window-min-height,
5128 pop-up-window-min-width, and another reuse-window specifier
5129 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
5130 (display-buffer-normalize-specifiers-2):
5131 Handle split-height-threshold and split-width-threshold also when
5132 pop-up-windows is unset. Add a reuse-window specifier for the
5133 case popping up a new window fails.
5134 (special-display-popup-frame): Remove double quoting.
5135 (display-buffer-normalize-specifiers-1): Fix thinko.
5136
5137 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5138
5139 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5140 according to comint-completion-addsuffix.
5141
5142 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5143 (pcomplete-suffix-list): Mark as obsolete.
5144 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5145 pcomplete-seen in the closure.
5146 (pcomplete-comint-setup): Setup completion-at-point as well.
5147 (pcomplete--entries): New function.
5148 (pcomplete--env-regexp): New var.
5149 (pcomplete-entries): Rewrite to work with partial-completion and
5150 without relying on pcomplete-suffix-list.
5151 (pcomplete-pare-list): Remove, unused.
5152
5153 2011-06-17 Martin Rudalics <rudalics@gmx.at>
5154
5155 * window.el (display-buffer-alist): Set pop-up-window-min-height
5156 and pop-up-window-min-width in default value. Reported by
5157 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5158 other-window-means-other-frame.
5159 (display-buffer-macro-specifiers): Comment out entry for
5160 other-window specifier.
5161 (display-buffer-other-window-means-other-frame): New function.
5162 (display-buffer-normalize-specifiers-1): New arguments
5163 buffer-name and label. Treat other-window case specially.
5164 (display-buffer-normalize-specifiers-2): Treat other-window case
5165 specially.
5166 (display-buffer-normalize-specifiers-3): New function.
5167 (display-buffer-normalize-specifiers):
5168 Call display-buffer-normalize-specifiers-3.
5169
5170 2011-06-17 Martin Rudalics <rudalics@gmx.at>
5171
5172 * window.el (same-window-p): Fix two typos introduced when
5173 adding with-no-warnings.
5174 (display-buffer-normalize-specifiers-1): Don't check
5175 pop-up-frames for 'unset initialization.
5176 (display-buffer-normalize-specifiers-2): Major rewrite using
5177 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5178 (pop-up-frames, display-buffer-reuse-frames)
5179 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5180 Suggested by David Engster <deng@randomsample.de>.
5181 (even-window-heights): Initialize to 'unset.
5182 (display-buffer-alist-set): Handle new 'unset initializations.
5183 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5184 other window case.
5185
5186 2011-06-16 Martin Rudalics <rudalics@gmx.at>
5187
5188 * window.el (display-buffer-normalize-specifiers-1):
5189 Respect current value of pop-up-frames for most reasonable values of
5190 second argument of display-buffer (Bug#8865).
5191 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5192 (switch-to-buffer-other-window-same-frame)
5193 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5194 Adams (Bug#8875).
5195 (display-buffer): Don't check noninteractive when calling
5196 display-buffer-pop-up-frame.
5197 (display-buffer-pop-up-frame): Never pop up a frame in
5198 noninteractive mode (Bug#8857).
5199 (enlarge-window, shrink-window): Don't report an error when the
5200 window can't be resized as requested (Bug#8862).
5201
5202 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5205
5206 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5207
5208 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5209
5210 2011-06-15 Alan Mackenzie <acm@muc.de>
5211
5212 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5213 for declarators, disable knr checking to speed up for normal files.
5214 2: Refactor, replacing a sequence of nested if forms by a cond form.
5215
5216 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5217
5218 * net/network-stream.el (open-network-stream): Add the keyword
5219 :always-query-capabilities for the case where you want to force a
5220 `plain' network connection, but the protocol still requires the
5221 capabilitiy command (i.e., SMTP and EHLO).
5222
5223 * subr.el (process-live-p): Rename from `process-alive-p' for
5224 consistency with other `-live-p' functions.
5225
5226 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * window.el (same-window-buffer-names, same-window-regexps)
5229 (special-display-frame-alist, special-display-popup-frame)
5230 (special-display-function, special-display-buffer-names)
5231 (special-display-regexps, pop-up-frame-alist)
5232 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5233 (pop-up-windows, split-window-preferred-function)
5234 (split-height-threshold, split-width-threshold, even-window-heights)
5235 (display-buffer-mark-dedicated): Don't encourage the use of
5236 display-buffer-alist from Elisp code.
5237
5238 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5239
5240 * progmodes/python.el (python-mode): Derive from prog-mode.
5241 * progmodes/ps-mode.el (ps-mode):
5242 * progmodes/mixal-mode.el (mixal-mode):
5243 * progmodes/cfengine.el (cfengine-mode):
5244 * progmodes/ld-script.el (ld-script-mode): Likewise.
5245
5246 2011-06-15 Martin Rudalics <rudalics@gmx.at>
5247
5248 * window.el (display-buffer-alist): Trim default value to avoid
5249 popping up a new frame (Bug#8857) or reusing an arbitrary window
5250 on another frame.
5251 (display-buffer): Do not fall back on popping up a new frame in
5252 batch mode (Bug#8857).
5253
5254 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
5255
5256 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5257 (custom-theme-summary): New function.
5258 (customize-themes): Use it.
5259
5260 2011-06-13 Glenn Morris <rgm@gnu.org>
5261
5262 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5263
5264 2011-06-13 Martin Rudalics <rudalics@gmx.at>
5265
5266 * help.el (help-window): Remove variable.
5267 (help-window-point-marker, temp-buffer-max-height)
5268 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5269 (help-print-return-message): Don't set help-window.
5270 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5271 (help-window-setup-finish): Remove.
5272 (help-window-display-message, help-window-setup)
5273 (with-help-window): Major rewrite based on new
5274 display-buffer-window variable.
5275
5276 * help-mode.el (help-mode-finish): Remove help-window related
5277 code.
5278
5279 * view.el (view-exits-all-viewing-windows): Remove reference to
5280 view-return-to-alist in doc-string.
5281 (view-return-to-alist): Make obsolete.
5282 (view-buffer): Call pop-to-buffer-same-window and remove
5283 undo-window code.
5284 (view-buffer-other-window): Call pop-to-buffer-other-window and
5285 simplify code. Ignore second argument.
5286 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5287 simplify code. Ignore second argument.
5288 (view-return-to-alist-update): Make obsolete.
5289 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5290 Rewrite using quit-restore window parameters.
5291 (view-mode-exit): Rename second argument to EXIT-ONLY.
5292 Rewrite using quit-restore-window.
5293 (View-exit, View-exit-and-edit, View-leave, View-quit)
5294 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5295 appropriate arguments.
5296 (view-end-message): Use quit-restore window parameter.
5297
5298 * window.el (display-buffer-function): Rewrite doc-string.
5299 (display-buffer-window, display-buffer-alist): New variables.
5300 (display-buffer-split-specifiers)
5301 (display-buffer-side-specifiers)
5302 (display-buffer-macro-specifiers): New constants.
5303 (display-buffer-even-window-sizes, display-buffer-set-height)
5304 (display-buffer-set-width, display-buffer-select-window)
5305 (display-buffer-in-window, display-buffer-reuse-window)
5306 (display-buffer-split-window-1, display-buffer-split-window)
5307 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5308 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5309 (display-buffer-in-side-window, normalize-buffer-to-display)
5310 (display-buffer-normalize-specifiers-1)
5311 (display-buffer-normalize-specifiers-2)
5312 (display-buffer-normalize-specifiers, display-buffer-frame):
5313 New functions.
5314 (display-buffer): Major rewrite.
5315 (display-buffer-other-window, display-buffer-other-frame)
5316 (pop-to-buffer, switch-to-buffer-other-window)
5317 (switch-to-buffer-other-frame): Rewrite.
5318 (display-buffer-same-window, display-buffer-same-frame)
5319 (display-buffer-same-frame-other-window)
5320 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5321 (pop-to-buffer-other-window)
5322 (pop-to-buffer-same-frame-other-window)
5323 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5324 (switch-to-buffer-other-window-same-frame): New functions.
5325 (same-window-p, special-display-p): Rewrite disabling warnings.
5326 Make obsolete.
5327 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5328 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5329 Make obsolete
5330 (same-window-buffer-names, same-window-regexps)
5331 (special-display-frame-alist, special-display-popup-frame)
5332 (special-display-function, special-display-buffer-names)
5333 (special-display-regexps, pop-up-frame-alist)
5334 (pop-up-frame-function, split-window-preferred-function)
5335 (split-height-threshold, split-width-threshold)
5336 (even-window-heights): Make obsolete.
5337
5338 2011-06-12 Glenn Morris <rgm@gnu.org>
5339
5340 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
5341 Misc simplifications.
5342
5343 2011-06-12 Martin Rudalics <rudalics@gmx.at>
5344
5345 * window.el (window-safely-shrinkable-p): Restore function which
5346 was inadvertently removed in change from 2011-06-11. Declare as
5347 obsolete.
5348
5349 * calendar/calendar.el (calendar-generate-window):
5350 Use window-iso-combined-p instead of combination of one-window-p and
5351 window-safely-shrinkable-p.
5352
5353 2011-06-12 Glenn Morris <rgm@gnu.org>
5354
5355 * progmodes/fortran.el (fortran-mode-syntax-table):
5356 * progmodes/f90.el (f90-mode-syntax-table):
5357 Set % to punctuation. (Bug#8820)
5358 (f90-find-tag-default): Remove, no longer needed.
5359
5360 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5361
5362 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5363
5364 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
5365
5366 * image.el (image-animated-p): Return animation delay in seconds.
5367 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5368 (image-animate-timeout): Remove DELAY argument. Don't assume
5369 every subimage has the same delay; get it from image-animated-p.
5370 (image-animate): Caller changed.
5371
5372 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
5373
5374 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5375 to ignored backtrace functions.
5376
5377 2011-06-11 Glenn Morris <rgm@gnu.org>
5378
5379 * calendar/appt.el (appt-disp-window-function): Doc fix.
5380 (appt-check): Handle overlapping appointments. (Bug#8337)
5381
5382 2011-06-11 Martin Rudalics <rudalics@gmx.at>
5383
5384 * window.el (window-tree-1, window-tree): New functions, moving
5385 the latter to window.el.
5386 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5387 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5388 (bw-refresh-edges): Remove.
5389 (balance-windows-1, balance-windows-2): New functions.
5390 (balance-windows): Rewrite in terms of window tree functions,
5391 balance-windows-1 and balance-windows-2.
5392 (bw-adjust-window): Remove.
5393 (balance-windows-area-adjust): New function with functionality of
5394 bw-adjust-window but using resize-window.
5395 (set-window-text-height): Rewrite doc-string.
5396 Use normalize-live-window and resize-window.
5397 (enlarge-window-horizontally, shrink-window-horizontally):
5398 Rename argument to DELTA.
5399 (window-buffer-height): New function.
5400 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5401 Rewrite using new window resize routines.
5402 (kill-buffer-and-window, mouse-autoselect-window-select):
5403 Use ignore-errors instead of condition-case.
5404 (quit-window): Call delete-frame instead of delete-windows-on
5405 for the only buffer on frame.
5406
5407 2011-06-10 Martin Rudalics <rudalics@gmx.at>
5408
5409 * loadup.el (top-level): Load window before files for the sake
5410 of replace-buffer-in-windows.
5411
5412 * files.el (read-buffer-to-switch)
5413 (switch-to-buffer-other-window)
5414 (switch-to-buffer-other-frame, display-buffer-other-frame):
5415 Move to window.el.
5416
5417 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5418 (previous-buffer): Move to window.el.
5419
5420 * bindings.el (unbury-buffer): Move to window.el.
5421
5422 * window.el (delete-other-windows-vertically): Move after
5423 definition of delete-other-windows.
5424 (other-window, delete-windows-on, replace-buffer-in-windows):
5425 Move here from window.c.
5426 (record-window-buffer, unrecord-window-buffer)
5427 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5428 (switch-to-next-buffer): New functions.
5429 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5430 from simple.el. Call switch-to-next-buffer.
5431 (previous-buffer): Move here from simple.el.
5432 Call switch-to-prev-buffer.
5433 (bury-buffer): Move here from buffer.c. Switch to previous
5434 buffer when window cannot be deleted.
5435 (unbury-buffer): Move here from bindings.el.
5436 (ctl-x-map): Move binding for other-window from window.c to
5437 here.
5438 (read-buffer-to-switch, switch-to-buffer-other-window)
5439 (switch-to-buffer-other-frame): Move here from files.el.
5440 (normalize-buffer-to-switch-to): New functions.
5441 (switch-to-buffer): Move here from buffer.c.
5442 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
5443
5444 2011-06-10 Martin Rudalics <rudalics@gmx.at>
5445
5446 * window.el (window-min-height, window-min-width): Move here
5447 from window.c. Add defcustoms and rewrite doc-strings.
5448 (resize-mini-window, resize-window): New functions.
5449 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5450 Move here from window.c.
5451 (maximize-window, minimize-window): New functions.
5452 (delete-window, delete-other-windows, split-window): Move here
5453 from window.c.
5454 (window-split-min-size): New function.
5455 (split-window-keep-point): Mention split-window-above-each-other
5456 instead of split-window-vertically.
5457 (split-window-above-each-other, split-window-vertically):
5458 Rename split-window-vertically to split-window-above-each-other and
5459 provide defalias for old definition.
5460 (split-window-side-by-side, split-window-horizontally): Rename
5461 split-window-horizontally to split-window-side-by-side and provide
5462 defalias for the old definition.
5463 (ctl-x-map): Move bindings for delete-window,
5464 delete-other-windows and enlarge-window here from window.c.
5465 Replace bindings for split-window-vertically and
5466 split-window-horizontally by bindings for
5467 split-window-above-each-other and split-window-side-by-side.
5468
5469 * cus-start.el (all): Remove entries for window-min-height and
5470 window-min-width. Add entries for window-splits and
5471 window-nest.
5472
5473 2011-06-09 Glenn Morris <rgm@gnu.org>
5474
5475 * calendar/appt.el (appt-mode-line): New function.
5476 (appt-check, appt-disp-window): Use it.
5477
5478 * files.el (hack-one-local-variable-eval-safep):
5479 Allow minor-modes with explicit +/-1 arguments.
5480
5481 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5482
5483 * term/xterm.el (xterm): Add defgroup.
5484 (xterm-extra-capabilities): Add defcustom to supply known xterm
5485 capabilities, skip querying them, or query them (default).
5486 (terminal-init-xterm): Use it.
5487 (terminal-init-xterm-modify-other-keys): New function to set up
5488 modifyOtherKeys support to simplify `terminal-init-xterm'.
5489
5490 2011-06-09 Martin Rudalics <rudalics@gmx.at>
5491
5492 * window.el (resize-window-reset, resize-window-reset-1)
5493 (resize-subwindows-skip-p, resize-subwindows-normal)
5494 (resize-subwindows, resize-other-windows, resize-this-window)
5495 (resize-root-window, resize-root-window-vertically)
5496 (window-deletable-p, window-or-subwindow-p)
5497 (frame-root-window-p): New functions.
5498
5499 2011-06-09 Glenn Morris <rgm@gnu.org>
5500
5501 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5502 (ange-ftp-get-files): Use it.
5503
5504 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5505
5506 * mail/sendmail.el (mail-recover-1, mail-recover):
5507 * files.el (recover-file, recover-session):
5508 Handle dired-listing-switches not being just a single short option.
5509
5510 2011-06-09 Glenn Morris <rgm@gnu.org>
5511
5512 * calendar/appt.el (appt-display-message, appt-disp-window):
5513 Handle lists of appointments.
5514
5515 2011-06-08 Martin Rudalics <rudalics@gmx.at>
5516
5517 * window.el (one-window-p): Move down in code.
5518 Rewrite doc-string.
5519 (window-current-scroll-bars): Rewrite doc-string.
5520 Normalize live window argument.
5521 (walk-windows, get-window-with-predicate, count-windows):
5522 Rewrite doc-string. Use window-list-1.
5523 (window-in-direction-2, window-in-direction, get-mru-window):
5524 New functions.
5525
5526 2011-06-08 Reuben Thomas <rrt@sc3d.org>
5527
5528 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5529 Doc fix (Bug#8713).
5530
5531 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
5532
5533 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5534
5535 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
5536
5537 * loadhist.el (unload-feature-special-hooks):
5538 Add `comint-output-filter-functions'.
5539
5540 2011-06-08 Ivan Kanis <gnu@kanis.fr>
5541
5542 * calendar/appt.el (appt-check): Move some initializations into the let.
5543
5544 2011-06-08 Martin Rudalics <rudalics@gmx.at>
5545
5546 * window.el (window-height): Defalias to window-total-height.
5547 (window-width): Defalias to window-body-width.
5548
5549 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
5550
5551 * image-mode.el (image-toggle-animation): New command.
5552 (image-mode-map): Bind it to RET.
5553 (image-mode): Update message.
5554 (image-toggle-display-image): Avoid a spurious cache flush.
5555 (image-transform-rotation): Doc fix.
5556 (image-transform-properties): Return quickly in the normal case.
5557 (image-animate-loop): Rename from image-animate-max-time.
5558
5559 * image.el (image-animate-max-time): Move to image-mode.el.
5560 (create-animated-image): Remove unnecessary function.
5561 (image-animate): Rename from image-animate-start. New arg.
5562 (image-animate-stop): Remove; just use image-animate-timer.
5563 (image-animate-timer): Use car-safe.
5564 (image-animate-timeout): Rename argument.
5565
5566 2011-06-07 Martin Rudalics <rudalics@gmx.at>
5567
5568 * window.el (get-lru-window, get-largest-window): Move here from
5569 window.c. Rename first argument to ALL-FRAMES.
5570 Rephrase doc-strings.
5571 (get-buffer-window-list): Rewrite using window-list-1.
5572 Rephrase doc-string.
5573 (window-safe-min-height, window-safe-min-width): New constants.
5574 (window-size-ignore, window-min-size, window-min-size-1)
5575 (window-sizable, window-sizable-p, window-size-fixed-1)
5576 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5577 (window-max-delta-1, window-max-delta, window-resizable)
5578 (window-resizable-p, window-total-height, window-total-width)
5579 (window-body-width): New functions.
5580 (window-full-height-p, window-full-width-p): Rewrite using
5581 window-total-size.
5582 (window-body-height): Rewrite using window-body-size.
5583
5584 2011-06-06 Martin Rudalics <rudalics@gmx.at>
5585
5586 * window.el (window-right, window-left, window-child)
5587 (window-child-count, window-last-child, window-any-p)
5588 (normalize-live-buffer, normalize-live-frame)
5589 (normalize-any-window, normalize-live-window)
5590 (window-iso-combination-p, window-iso-combined-p)
5591 (window-iso-combinations)
5592 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5593 (windows-with-parameter, window-with-parameter)
5594 (window-atom-root, make-window-atom, window-atom-check-1)
5595 (window-atom-check, window-side-check, window-check):
5596 New functions.
5597 (ignore-window-parameters, window-sides, window-sides-vertical)
5598 (window-sides-slots): New variables.
5599 (window-size-fixed): Move down in code. Minor doc-string fix.
5600
5601 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5602
5603 * comint.el (comint-dynamic-complete-as-filename)
5604 (comint-dynamic-complete-filename): Correctly call
5605 completion-in-region.
5606
5607 2011-06-05 Deniz Dogan <deniz@dogan.se>
5608
5609 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5610 in last change.
5611
5612 2011-06-05 Deniz Dogan <deniz@dogan.se>
5613
5614 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5615 (rcirc): Use it to prompt for encryption.
5616
5617 2011-06-05 Roland Winkler <winkler@gnu.org>
5618
5619 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5620 (bibtex-search-entries): New command bound to C-c C-a.
5621 (bibtex-display-entries): New function.
5622
5623 2011-06-05 Roland Winkler <winkler@gnu.org>
5624
5625 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5626 (bibtex-insert-kill): After yanking insert newline if necessary.
5627 (bibtex-initialize): Call bibtex-string-files-init only once.
5628 (bibtex-mode): Do not call easy-menu-add.
5629 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5630 (bibtex-yank): Set arg properly if nil.
5631
5632 2011-06-05 Roland Winkler <winkler@gnu.org>
5633
5634 * textmodes/bibtex.el (bibtex-search-entry-globally):
5635 New variable.
5636 (bibtex-search-entry): Use it.
5637
5638 2011-06-05 Roland Winkler <winkler@gnu.org>
5639
5640 * textmodes/bibtex.el (bibtex-entry-format): New option
5641 sort-fields.
5642 (bibtex-format-entry, bibtex-reformat): Honor this option.
5643 (bibtex-parse-entry): Return fields in proper order.
5644
5645 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
5646
5647 * doc-view.el (doc-view-remove-if): Move computation of result out
5648 of `dolist' to silence misleading lexical-binding warning.
5649
5650 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
5651
5652 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5653 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5654
5655 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
5656
5657 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5658 "SunOS 5.10".
5659
5660 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
5661
5662 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5663 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5664 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5665 (tramp-parse-putty):
5666 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5667 (tramp-completion-function-alist-ssh)
5668 (tramp-completion-function-alist-telnet)
5669 (tramp-completion-function-alist-su)
5670 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5671 cookie.
5672
5673 * net/tramp-ftp.el:
5674 * net/tramp-sh.el:
5675 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5676 load "tramp.el" `tramp-set-completion-function'.
5677
5678 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5679
5680 * shell.el: Require and use pcomplete.
5681 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5682 (shell-completion-vars): Set pcomplete-default-completion-function.
5683
5684 2011-06-04 Deniz Dogan <deniz@dogan.se>
5685
5686 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5687 `memq' (Bug#8799).
5688
5689 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5690
5691 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5692
5693 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
5694
5695 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5696 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5697 * vc/log-view.el (log-view-beginning-of-defun):
5698 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5699 (smerge-refine-forward, smerge-refine-chopup-region):
5700 Silence warning for unused `dotimes' counter variables.
5701
5702 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * net/tramp.el (tramp-with-progress-reporter): Rename from
5705 with-progress-reporter. Use `declare'.
5706 * net/tramp-smb.el:
5707 * net/tramp-sh.el:
5708 * net/tramp-gvfs.el: Update all uses.
5709
5710 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5711
5712 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5713 buffer isn't killed before making it current.
5714
5715 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5716
5717 Silence various byte-compiler warnings.
5718 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5719 `access-type' and new obsolescence format.
5720 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5721 new format.
5722 (byte-compile-check-variable): New `access-type' argument.
5723 Only warn if the access-type is obsolete.
5724 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5725 (byte-compile-variable-set): Adjust callers.
5726 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5727 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5728 setting it as obsolete.
5729 * simple.el (minibuffer-completing-symbol):
5730 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5731 access as obsolete.
5732 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5733 obsolete yet.
5734 * international/quail.el (quail-mouse-choose-completion): Remove unused
5735 code referring to obsolete var.
5736 (quail-choose-completion-string): Remove.
5737 * server.el (server-clients-with, server-kill-buffer-query-function)
5738 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5739 * proced.el (proced-send-signal):
5740 * emacs-lisp/lisp.el (lisp-complete-symbol):
5741 Replace completion-annotate-function with completion-extra-properties.
5742
5743 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5744
5745 * simple.el (goto-line): Use read-number.
5746 (overriding-map-is-bound): Remove.
5747 (saved-overriding-map): Change default.
5748 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5749 Take the map as argument.
5750 (universal-argument, negative-argument, digit-argument): Use it.
5751 (restore-overriding-map): Adjust.
5752 (do-auto-fill): Use fill-forward-paragraph.
5753 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5754
5755 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5756 (minibuffer-inactive-mode): New major mode.
5757 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5758 the *Messages* buffer" hack.
5759 (mouse-popup-menubar): Don't burp if the event is a normal key.
5760
5761 Miscellaneous tweaks.
5762 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5763 lexical scoping as in subr.el's dolist and dotimes.
5764 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5765 Silence compiler warning.
5766 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5767 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5768 * international/ccl.el (ccl-compile): Trivial simplification.
5769 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5770 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5771 `printflag' argument.
5772 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5773 Purecopy the whole obsolescence data.
5774
5775 2011-06-01 Leo Liu <sdl.web@gmail.com>
5776
5777 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5778 improve doc-string as suggested by Marco Pessotto
5779 <melmothx@gmail.com>.
5780 (rcirc-print): Fix last change.
5781
5782 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * minibuffer.el (complete-with-action): Return nil for the metadata and
5785 boundaries of non-functional tables.
5786 (completion-table-dynamic): Return nil for the metadata.
5787 (completion-table-with-terminator): Add default case, using
5788 complete-with-action.
5789 (completion--metadata): New function.
5790 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5791 to try and avoid pathological performance problems.
5792 (completion--embedded-envvar-table): Return `category' metadata.
5793
5794 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5795
5796 * subr.el (process-alive-p): New tiny convenience function.
5797
5798 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5799
5800 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5801 content but also its previous major mode.
5802
5803 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
5804
5805 * emacs-lisp/debug.el (debug): Restore the previous content of the
5806 *Backtrace* buffer when we exit with C-M-c.
5807
5808 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5809
5810 * minibuffer.el: Add metadata method to completion tables.
5811 (completion-category-overrides): New defcustom.
5812 (completion-metadata, completion--field-metadata)
5813 (completion-metadata-get, completion--styles)
5814 (completion--cycle-threshold): New functions.
5815 (completion-try-completion, completion-all-completions):
5816 Add `metadata' argument to choose completion-styles.
5817 (completion--do-completion): Use metadata to choose cycling.
5818 (completion-all-sorted-completions): Use metadata for sorting.
5819 Remove :completion-cycle-penalty which is not needed any more.
5820 (completion--try-word-completion): Add `metadata' argument.
5821 (minibuffer-completion-help): Check metadata for annotation function
5822 and sorting.
5823 (completion-file-name-table): Return `category' metadata.
5824 (minibuffer-completing-file-name): Make obsolete.
5825 * simple.el (minibuffer-completing-symbol): Make obsolete.
5826 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5827 completion-try-completion.
5828
5829 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5830
5831 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5832
5833 2011-05-30 Leo Liu <sdl.web@gmail.com>
5834
5835 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5836 (rcirc-print): Decode all incoming messages (bug#8744).
5837 (rcirc-decode-coding-system): Allow value nil for automatic coding
5838 system detection.
5839
5840 2011-06-01 Glenn Morris <rgm@gnu.org>
5841
5842 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5843
5844 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
5845
5846 * image.el (image-animate-max-time): Allow nil and t values.
5847 Default to nil.
5848 (create-animated-image): Doc fix.
5849 (image-animate-start): Remove second arg; just use
5850 image-animate-max-time.
5851 (image-animate-timeout): Doc fix. Args changed.
5852
5853 * image-mode.el (image-toggle-display-image): Ensure that the
5854 image spec passed to the animate timer is the same object as in
5855 the buffer's display property (Bug#6981).
5856 (image-transform-properties): Doc fix.
5857
5858 * image.el (image-animate-max-time): Default to nil.
5859
5860 2011-05-29 Martin Rudalics <rudalics@gmx.at>
5861
5862 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5863 entire buffer list (Bug#8184).
5864
5865 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
5866
5867 * image.el (imagemagick-types-inhibit)
5868 (imagemagick-register-types): Doc fix.
5869
5870 2011-05-29 Deniz Dogan <deniz@dogan.se>
5871
5872 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5873 default.
5874
5875 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
5876
5877 * select.el: Don't perform clipboard-manager saving in hooks;
5878 leave the hooks empty.
5879
5880 2011-05-28 Leo Liu <sdl.web@gmail.com>
5881
5882 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5883 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5884 (occur-edit-mode): New major mode (Bug#8463).
5885 (occur-after-change-function): New function.
5886 (occur-engine): Give Occur tags a read-only property.
5887
5888 2011-05-28 Kevin Ryde <user42@zip.com.au>
5889
5890 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5891
5892 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
5893
5894 * bindings.el (help-echo): Make the initial non-indicator dash
5895 empty on graphical terminals (Bug#7295).
5896
5897 * files.el (auto-mode-alist): Move config rule after the
5898 in-stripping one (Bug#8547).
5899
5900 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5901
5902 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5903 setting (Bug#8740).
5904
5905 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5906
5907 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5908 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5909 (Bug#8539).
5910
5911 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
5912
5913 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5914
5915 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5916
5917 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5918 (hs-hide-block-at-point, hs-find-block-beginning)
5919 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5920 (Bug#8279).
5921
5922 2011-05-28 Glenn Morris <rgm@gnu.org>
5923
5924 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5925
5926 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
5927
5928 * help-fns.el (describe-function-1): If the function is a derived
5929 major mode, print the parent mode.
5930
5931 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5932 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5933
5934 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * minibuffer.el (completion--capf-wrapper): Check applicability before
5937 returning non-nil for non-exclusive completion data.
5938 * progmodes/etags.el (tags-completion-at-point-function):
5939 * info-look.el (info-lookup-completions-at-point): Mark as
5940 non-exclusive.
5941 (info-complete): Adjust accordingly.
5942
5943 * info-look.el: Convert to lexical-binding and completion-at-point.
5944 (info-lookup-completions-at-point): New function.
5945 (info-complete): Use it and completion-in-region.
5946
5947 2011-05-28 Drew Adams <drew.adams@oracle.com>
5948
5949 * isearch.el: Let M-e start with point at the first mismatched char.
5950 (isearch-fail-pos): New function.
5951 (isearch-edit-string): Use it.
5952
5953 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5954
5955 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5956
5957 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5958
5959 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5960 traversal functions for avl-trees.
5961 (avl-tree--stack): New struct.
5962 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5963 (avl-tree-enter): Add optional `updatefun' arg.
5964 (avl-tree--do-enter): Add optional `updatefun' arg.
5965 Change return value.
5966 (avl-tree-delete): Add optional `test' and `nilflag' args.
5967 (avl-tree--do-delete): Add `test' and `nilflag' args.
5968 Change return value.
5969 (avl-tree-member): Add optional `nilflag'
5970 (avl-tree-member-p): New function.
5971 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5972 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5973 (avl-tree-stack-empty-p): New functions.
5974
5975 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5976
5977 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5978 avl-tree--del-balance1 and make it work both ways.
5979 (avl-tree--del-balance2): Remove.
5980 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5981 make it work both ways.
5982 (avl-tree--enter-balance2): Remove.
5983 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5984 New macros.
5985 (avl-tree--mapc, avl-tree-map): Add direction argument.
5986
5987 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
5988
5989 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5990
5991 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
5992
5993 * select.el: Support clipboard managers with built-in function
5994 x-clipboard-manager-save, via delete-frame-functions and
5995 kill-emacs-hook.
5996 (xselect-convert-to-targets): Add MULTIPLE target to list.
5997 (xselect-convert-to-save-targets): New function.
5998
5999 2011-05-27 Kenichi Handa <handa@m17n.org>
6000
6001 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6002 let-binding rfc2047-encode-encoded-words to nil.
6003
6004 2011-05-27 Glenn Morris <rgm@gnu.org>
6005
6006 * mail/emacsbug.el: Don't require url-util.
6007
6008 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
6009
6010 * files.el (set-auto-mode):
6011 Also respect mode: entries at the end of the file. (Bug#8586)
6012
6013 2011-05-26 Glenn Morris <rgm@gnu.org>
6014
6015 * files.el (hack-local-variables-prop-line, hack-local-variables):
6016 Downcase mode names, as seems to be traditional.
6017 (hack-local-variables, hack-local-variables-apply): Doc fixes.
6018
6019 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6020 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
6021
6022 2011-05-25 Julien Danjou <julien@danjou.info>
6023
6024 * textmodes/rst.el (rst-define-level-faces): Do not define face
6025 symbol if it is already defined.
6026
6027 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6028
6029 * play/5x5.el (5x5-new-game, 5x5-randomize):
6030 Reset 5x5-solver-output to nil when a new grid is cast.
6031 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6032 these debugging traces, as defmacro breaks the compiled code.
6033
6034 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6035
6036 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6037
6038 2011-05-24 Leo Liu <sdl.web@gmail.com>
6039
6040 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6041 (vc-bzr-sha1): Adapt.
6042
6043 * sha1.el: Remove. Function `sha1' is now builtin.
6044
6045 * bindings.el: Provide sha1 feature.
6046
6047 2011-05-24 Kenichi Handa <handa@m17n.org>
6048
6049 * mail/sendmail.el: Require `rfc2047'.
6050 (mail-insert-from-field): Do not perform RFC2047 encoding.
6051 (mail-encode-header): New function.
6052 (sendmail-send-it): Set buffer-file-coding-system of the work
6053 buffer to the return value of select-message-coding-system.
6054 Call mail-encode-header.
6055
6056 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6057
6058 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
6059
6060 * mail/supercite.el (sc-default-cite-frame):
6061 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
6062
6063 2011-05-24 Glenn Morris <rgm@gnu.org>
6064
6065 * progmodes/python.el (brm-menu): Declare.
6066
6067 * emulation/viper.el (viper-set-hooks): Declare.
6068
6069 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6070 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6071 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6072 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6073 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6074 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6075
6076 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 Add an :exit-function for completion-at-point.
6079
6080 * minibuffer.el (completion--done): New fun.
6081 (completion--do-completion): Use it. New arg `expect-exact'.
6082 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6083 since completion--do-completion does it for us now.
6084 (minibuffer-force-complete): Use completion--done and
6085 completion--replace. Handle sole-completion case with more care.
6086 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6087 (completion-extra-properties): New var.
6088 (completion-annotate-function): Make obsolete.
6089 (minibuffer-completion-help): Adjust accordingly.
6090 Use completion-list-insert-choice-function.
6091 (completion-at-point, completion-help-at-point):
6092 Bind completion-extra-properties.
6093 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6094 * simple.el (completion-list-insert-choice-function): New var.
6095 (completion-setup-function): Preserve it.
6096 (choose-completion): Pay attention to it, shuffle the code a bit.
6097 (choose-completion-string): New arg `insert-function'.
6098
6099 * textmodes/bibtex.el: Convert to lexical binding.
6100 (bibtex-mode-map): Use completion-at-point.
6101 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6102 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6103 (bibtex-complete): Define as obsolete alias.
6104 (bibtex-complete-internal): Remove.
6105 (bibtex-format-entry): Remove unused sub-group in regexp.
6106 * shell.el (shell--command-completion-data)
6107 (shell-environment-variable-completion):
6108 * pcomplete.el (pcomplete-completions-at-point):
6109 * comint.el (comint--complete-file-name-data): Use :exit-function
6110 instead of completion-table-with-terminator so it also works for
6111 choose-completion.
6112
6113 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6114
6115 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6116
6117 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6118 (bug#8710).
6119
6120 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6121
6122 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6123
6124 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6125 customization variable and implement: If non-nil, auto-fill will
6126 be inhibited while on topic's header line.
6127
6128 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6129
6130 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
6131 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
6132 always have a solution in grid size = 5 cases.
6133 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6134 (5x5-solver-output, 5x5-log-buffer): New vars.
6135 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6136 Make these variables buffer local to achieve 5x5 multi-session-ness.
6137 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6138 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6139 (5x5-solve-suggest): New funs.
6140 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6141 randomize a grid so that we ensure that there is always a solution.
6142 (5x5-make-random-grid): Allow other movement than flipping.
6143
6144 2011-05-23 Kevin Ryde <user42@zip.com.au>
6145
6146 * emacs-lisp/advice.el (ad-read-advised-function):
6147 Use `function-called-at-point' as the default default, if it has
6148 advice and passes PREDICATE.
6149
6150 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6153 byte-compile-lambda if it's actually a lambda.
6154
6155 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6156 Fix function quoting. Use backquote better.
6157
6158 2011-05-22 Yuanle Song <sylecn@gmail.com>
6159
6160 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6161 matching (Bug#8516).
6162
6163 2011-01-22 Jari Aalto <jari.aalto@cante.net>
6164
6165 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6166 different face (Bug#8178).
6167
6168 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
6169
6170 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6171 defface (Bug#8144).
6172
6173 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6174
6175 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6176 funcall as well (bug#8712). Warn when performing those conversions.
6177 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6178
6179 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6180
6181 2011-05-22 Glenn Morris <rgm@gnu.org>
6182
6183 * files.el (hack-local-variables-prop-line): Small simplifications.
6184 (hack-local-variables, hack-local-variables-prop-line):
6185 If MODE-ONLY, return the mode, rather than just `t'.
6186
6187 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6188
6189 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6190
6191 2011-05-21 Glenn Morris <rgm@gnu.org>
6192
6193 * files.el (hack-local-variables-prop-line, hack-local-variables):
6194 If only interested in the mode, don't bother doing the other stuff.
6195
6196 * image-mode.el (image-after-revert-hook):
6197 Redraw all frames on which the image is visible. (Bug#8567)
6198
6199 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6200
6201 * wid-edit.el (widget-checklist-match-inline):
6202 Fix 2011-04-19 change. (Bug#8649)
6203
6204 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6205
6206 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6207 Also allow singlespace after single-letter capitals followed by a dot.
6208
6209 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6210 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6211
6212 2011-05-20 Nix <nix@esperi.org.uk>
6213
6214 * files.el (basic-save-buffer-2):
6215 Fix handling of break-hardlink-on-save with non-existent files.
6216
6217 2011-05-19 Deniz Dogan <deniz@dogan.se>
6218
6219 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
6220 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
6221
6222 2011-05-19 Glenn Morris <rgm@gnu.org>
6223
6224 * progmodes/f90.el (f90-type-def-re):
6225 Handle "type, bind(c)". (Bug#8691)
6226
6227 * emacs-lisp/autoload.el (batch-update-autoloads):
6228 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6229
6230 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
6231
6232 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6233 property for the correct connection in case of multihops.
6234
6235 2011-05-18 Glenn Morris <rgm@gnu.org>
6236
6237 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
6238 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6239
6240 Rationalize calendar handling of day and month abbrev-arrays.
6241 * calendar/calendar.el (calendar-customized-p): New function.
6242 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6243 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6244 Add :set function.
6245 (calendar-abbrev-length, calendar-day-abbrev-array)
6246 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6247 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6248 Elements may no longer be nil.
6249 (calendar-day-name, calendar-month-name):
6250 Update for changed nature of abbrev arrays.
6251 * calendar/diary-lib.el (diary-name-pattern):
6252 Update for changed nature of abbrev arrays.
6253 (diary-mark-entries-1): Update calendar-make-alist calls.
6254 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6255 * calendar/cal-html.el (cal-html-day-abbrev-array):
6256 Simply inherit from calendar-day-abbrev-array.
6257
6258 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6259
6260 * progmodes/grep.el (grep-mode): Disable default
6261 compilation-directory-matcher setting (bug#8684).
6262
6263 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
6264
6265 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6266 instead of "head" and "tail". There were problems with SunOS 5.9,
6267 and it performs better.
6268
6269 2011-05-17 Glenn Morris <rgm@gnu.org>
6270
6271 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6272
6273 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6274 Replace obsolete function.
6275
6276 * shell.el (pcomplete-parse-arguments-function): Declare.
6277
6278 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6279 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6280 (appt-check): Doc fixes.
6281 (appt-disp-window-function, appt-delete-window-function):
6282 Remove needless special case in custom :type.
6283 (appt-display-count): Default to 0, not nil.
6284 (appt-check): Reset appt-display-count to 0, not nil.
6285
6286 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
6287
6288 * progmodes/python.el (python-font-lock-keywords):
6289 Add the Python 3.X keyword "nonlocal" (bug#8639).
6290
6291 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6294
6295 2011-05-16 Kevin Ryde <user42@zip.com.au>
6296
6297 * info-look.el (makefile-automake-mode): New setups, looking in
6298 automake manual, then makefile-mode.
6299 (makefile-mode): Remove automake manual, have it just in
6300 makefile-automake-mode since there's various things different or
6301 not relevant to plain make.
6302 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6303 believe a hypothetical automake-mode would go to makefile-mode,
6304 not the other way around.
6305
6306 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
6307
6308 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6309 hunk-end tags (Bug#8672).
6310
6311 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6312 vc-annotate-show-diff-revision-at-line (Bug#8671).
6313
6314 2011-05-14 Glenn Morris <rgm@gnu.org>
6315
6316 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6317 in the middle of an existing one with multiple authors. (Bug#8645)
6318 (change-log-font-lock-keywords): Also handle multiple author lines
6319 with leading tabs. (Bug#8644)
6320
6321 * calendar/appt.el (appt-check): Rename some local variables.
6322 Some simplification/reordering.
6323
6324 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6325 (feedmail-sendmail-f-doesnt-sell-me-out)
6326 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6327 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6328 (feedmail-queue-runner-message-sender): Set :version.
6329 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6330 (bbdb-dwim-net-address, vm-mail): Declare.
6331 (feedmail-binmail-gnulinuxish-template):
6332 Rename from feedmail-binmail-linuxish-template.
6333 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6334 Use insert-buffer-substring.
6335
6336 2011-05-14 Bill Carpenter <bill@carpenter.org>
6337
6338 * mail/feedmail.el (feedmail-patch-level): Increase.
6339 (feedmail-debug): New custom group.
6340 (feedmail-confirm-outgoing-timeout)
6341 (feedmail-sendmail-f-doesnt-sell-me-out)
6342 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6343 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6344 (feedmail-sender-line, feedmail-from-line)
6345 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
6346 (feedmail-spray-this-address)
6347 (feedmail-spray-address-fiddle-plex-list)
6348 (feedmail-queue-use-send-time-for-date)
6349 (feedmail-queue-use-send-time-for-message-id)
6350 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6351 (feedmail-buffer-eating-function):
6352 Doc fixes.
6353 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6354 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6355 (feedmail-message-action-scroll-down): New functions.
6356 (feedmail-queue-directory, feedmail-queue-draft-directory):
6357 Use expand-file-name.
6358 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6359 Remove C-v help entry.
6360 (feedmail-queue-buffer-file-name): New variable.
6361 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6362 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6363 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6364 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6365 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6366 (feedmail-message-action-toggle-spray)
6367 (feedmail-run-the-queue-no-prompts)
6368 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6369 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6370 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6371 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6372 (feedmail-envelope-deducer, feedmail-fiddle-from)
6373 (feedmail-fiddle-sender, feedmail-default-date-generator)
6374 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6375 (feedmail-fiddle-spray-address)
6376 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6377 (feedmail-fiddle-list-of-fiddle-plexes)
6378 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6379 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6380 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6381 Change default. Doc fix.
6382 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6383 (feedmail-binmail-linuxish-template): New constant.
6384 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6385 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6386 (feedmail-send-it): Add debug call.
6387 Use feedmail-queue-buffer-file-name, and
6388 feedmail-send-it-immediately-wrapper.
6389 (feedmail-message-action-send): Add debug call.
6390 Use feedmail-send-it-immediately-wrapper.
6391 (feedmail-queue-express-to-queue): Add debug call.
6392 Run feedmail-queue-express-hook.
6393 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6394 (feedmail-message-action-help-blat):
6395 Rename from feedmail-queue-send-edit-prompt-help-first.
6396 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6397 Check line-endings. Handle errors better.
6398 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6399 Doc fix. Add debug call.
6400 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6401 Use feedmail-queue-send-edit-prompt-inner.
6402 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6403 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6404 from feedmail-queue-send-edit-prompt.
6405 (feedmail-queue-send-edit-prompt-help)
6406 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6407 (feedmail-tidy-up-slug): Add debug call.
6408 Respect feedmail-queue-slug-suspect-regexp.
6409 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6410 (feedmail-dump-message-to-queue): Add debug call.
6411 Expand queue-directory.
6412 (feedmail-dump-message-to-queue): Change message slightly.
6413 Use feedmail-say-chatter.
6414 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6415 (feedmail-send-it-immediately-wrapper): New function.
6416 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6417 Insert empty string rather than newline. Handle full-frame case.
6418 Use catch/throw. Use feedmail-say-chatter.
6419 (feedmail-fiddle-from): Try mail-host-address.
6420 (feedmail-default-message-id-generator): Doc fix.
6421 Bind system-time-locale. Handle missing end.
6422 (feedmail-fiddle-x-mailer): Add debug call.
6423 Handle feedmail-x-mailer-line being nil.
6424 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6425 Add debug call. Use buffer-substring-no-properties.
6426 (feedmail-say-debug, feedmail-say-chatter): New functions.
6427 (feedmail-find-eoh): Give an explicit error.
6428
6429 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
6430
6431 * net/newst-treeview.el (newsticker-treeview-face): Change default
6432 family from helvetica to sans.
6433 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
6434 etc/images/newsticker.
6435
6436 * net/newst-reader.el (newsticker-feed-face): Change default
6437 family from helvetica to sans.
6438
6439 * net/newst-plainview.el (newsticker-new-item-face)
6440 (newsticker-old-item-face, newsticker-immortal-item-face)
6441 (newsticker-obsolete-item-face, newsticker-date-face)
6442 (newsticker-statistics-face): Change default family from
6443 helvetica to sans.
6444 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
6445 etc/images/newsticker.
6446
6447 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6448 (newsticker--process-auto-mark-filter-match): : Tell user about
6449 auto-marking.
6450
6451 2011-05-13 Didier Verna <didier@xemacs.org>
6452
6453 Common Lisp indentation improvements on defmethod and lambda-lists.
6454 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6455 TODO entries.
6456 (lisp-lambda-list-keyword-parameter-indentation)
6457 (lisp-lambda-list-keyword-parameter-alignment)
6458 (lisp-lambda-list-keyword-alignment): New customizable user options.
6459 (lisp-indent-defun-method): Improve docstring.
6460 (extended-loop-p): Fix comment.
6461 (lisp-indent-lambda-list-keywords-regexp): New variable.
6462 (lisp-indent-lambda-list): New function.
6463 (lisp-indent-259): Use it.
6464 (lisp-indent-defmethod): Support for more than one
6465 method qualifier and properly indent methods lambda-lists.
6466 (defgeneric): Provide a missing common-lisp-indent-function property.
6467
6468 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6469
6470 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6471 bounds for the empty string (bug#8667).
6472
6473 2011-05-13 Glenn Morris <rgm@gnu.org>
6474
6475 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6476
6477 * mail/sendmail.el (sendmail-program): Try executable-find first.
6478 (sendmail-send-it): `sendmail-program' cannot be unbound.
6479
6480 * calendar/appt.el (appt-make-list): Simplify.
6481 (appt-time-msg-list): Doc fix.
6482 (appt-check): Change mode-line message at the time of the appointment.
6483
6484 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6485
6486 * progmodes/ld-script.el (ld-script-keywords)
6487 (ld-script-builtins): Update keywords list.
6488
6489 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6490
6491 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6492
6493 * shell.el (shell-completion-vars): New function.
6494 (shell-mode):
6495 * simple.el (read-shell-command): Use it.
6496 (blink-matching-open): No need for " [...]" in minibuffer-message.
6497
6498 2011-05-12 Glenn Morris <rgm@gnu.org>
6499
6500 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6501 (appt-check): Simplify.
6502
6503 2011-05-12 Eli Zaretskii <eliz@gnu.org>
6504
6505 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
6506 literal "/dev/null".
6507
6508 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6511 Fix typo.
6512
6513 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6514
6515 * progmodes/which-func.el (which-function):
6516 Use add-log-current-defun instead of add-log-current-defun-function,
6517 which might not be defined (Bug#8260).
6518
6519 2011-05-12 Glenn Morris <rgm@gnu.org>
6520
6521 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6522 Let byte-compile-initial-macro-environment always take precedence.
6523
6524 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * net/rcirc.el: Add support for SSL/TLS connections.
6527 (rcirc-server-alist): New field `encryption'.
6528 (rcirc): Check `encryption' settings.
6529 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6530 Merge make-local-variable into `set'.
6531 (rcirc--connection-open-p): New function.
6532 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6533 the process is not a network process (e.g. running gnutls-cli).
6534 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6535 Make rcirc-(en|de)code-coding-system local here.
6536 (rcirc-mode): Merge make-local-variable into `set'.
6537 (rcirc-parent-buffer): Make permanent buffer-local.
6538 (rcirc-multiline-minor-mode): Don't do it here.
6539 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6540 there's no server buffer.
6541
6542 2011-05-11 Glenn Morris <rgm@gnu.org>
6543
6544 * newcomment.el (comment-kill): Prefix "unused" local.
6545
6546 * term/w32console.el (get-screen-color): Declare.
6547
6548 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6549 Handle symbol elements of byte-compile-initial-macro-environment.
6550
6551 2011-05-10 Leo Liu <sdl.web@gmail.com>
6552
6553 * bookmark.el (bookmark-bmenu-mode-map):
6554 Bind bookmark-bmenu-search to `/'.
6555
6556 * mail/footnote.el: Convert to utf-8 encoding.
6557 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6558 (Footnote-unicode): New function.
6559 (footnote-style-alist): Add unicode style to the list.
6560 (footnote-style): Doc fix.
6561
6562 2011-05-10 Jim Meyering <meyering@redhat.com>
6563
6564 Fix doubled-word typos.
6565 * international/quail.el (quail-insert-kbd-layout): and and -> and
6566 * kermit.el: and and -> and
6567 * net/ldap.el (ldap-search-internal): to to -> to
6568 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6569 * progmodes/js.el (js-mode): and and -> and
6570 * textmodes/artist.el (artist-move-to-xy): at at -> at
6571 (artist-draw-region-trim-line-endings): if if -> if
6572 And Safetyc -> Safety.
6573 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6574
6575 2011-05-10 Glenn Morris <rgm@gnu.org>
6576 Stefan Monnier <monnier@iro.umontreal.ca>
6577
6578 * files.el (hack-one-local-variable-eval-safep):
6579 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6580
6581 2011-05-10 Glenn Morris <rgm@gnu.org>
6582
6583 * calendar/diary-lib.el (diary-list-entries-hook)
6584 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6585 (diary-nongregorian-marking-hook, diary-list-entries)
6586 (diary-include-other-diary-files, diary-mark-entries)
6587 (diary-mark-included-diary-files): Doc fixes.
6588
6589 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
6590
6591 * misc.el: Require tabulated-list.el during compilation.
6592
6593 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
6594
6595 * progmodes/compile.el (compilation-start):
6596 Run compilation-filter-hook for the async case too.
6597 (compilation-filter-hook): Doc fix.
6598
6599 2011-05-09 Deniz Dogan <deniz@dogan.se>
6600
6601 * wdired.el: Remove outdated installation comment. Fix usage
6602 comment.
6603
6604 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
6605
6606 * misc.el: Implement new command `list-dynamic-libraries'.
6607 (list-dynamic-libraries--loaded-only-p): New variable.
6608 (list-dynamic-libraries--refresh): New function.
6609 (list-dynamic-libraries): New command.
6610
6611 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
6612
6613 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6614 Fix the ant regexp to handle end-line and end-column info from jikes.
6615 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6616 higher priority to avoid clobbering by gnu.
6617
6618 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
6619
6620 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6621 if the face has existing theme settings (Bug#8454).
6622
6623 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6624
6625 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6626 Only match variables declared via `my' or `our' (Bug#8261).
6627
6628 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6629 special file names `.' and `..' (Bug#8259).
6630
6631 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
6632
6633 * progmodes/grep.el (grep-mode-font-lock-keywords):
6634 Remove buffer-changing entries.
6635 (grep-filter): New function.
6636 (grep-mode): Add it to compilation-filter-hook.
6637
6638 * progmodes/compile.el (compilation-filter-hook)
6639 (compilation-filter-start): New defvars.
6640 (compilation-filter): Call compilation-filter-hook prior to
6641 updating the process mark.
6642
6643 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6644
6645 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6646
6647 2011-05-07 Eli Zaretskii <eliz@gnu.org>
6648
6649 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6650 mailclient-send-it even if window-system is nil. (Bug#8595)
6651
6652 * term/w32console.el (terminal-init-w32console):
6653 Call get-screen-color and use its output to set the frame
6654 background-mode. (Bug#8597)
6655
6656 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6657
6658 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6659 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6660 New functions.
6661 (defgeneric, eieio--defmethod): Use them.
6662 (eieio-defgeneric): Remove.
6663 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6664
6665 2011-05-07 Glenn Morris <rgm@gnu.org>
6666
6667 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6668 Use let rather than let*.
6669 (timeclock-find-discrep): Remove unused local.
6670
6671 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6672
6673 * calendar/appt.el (appt-time-msg-list): Doc fix.
6674
6675 2011-05-06 Noah Friedman <friedman@splode.com>
6676
6677 * apropos.el (apropos-print-doc): Only use
6678 emacs-lisp-docstring-fill-column when it is bound to an integer,
6679 per that variable's documentation.
6680
6681 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
6684 and warnings are not silently discarded (e.g. use -d instead of -P).
6685
6686 2011-05-06 Glenn Morris <rgm@gnu.org>
6687
6688 * calendar/appt.el (appt-message-warning-time): Doc fix.
6689 (appt-warning-time-regexp): New option.
6690 (appt-make-list): Respect appt-message-warning-time.
6691
6692 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6693 New options.
6694 (diary-add-to-list): Strip comments from the displayed string.
6695 (diary-mode): Set comment-start and comment-end.
6696
6697 * vc/diff-mode.el (smerge-refine-subst): Declare.
6698 (diff-refine-hunk): Don't require smerge-mode when compiling.
6699
6700 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
6701
6702 * simple.el (list-processes): Return nil as the docstring says.
6703
6704 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
6705
6706 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6707 to "".
6708 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6709 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6710 determining of binary transfer. (Bug#7383)
6711
6712 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
6713
6714 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6715 Fix port computation bug. (Bug#8618)
6716
6717 2011-05-05 Glenn Morris <rgm@gnu.org>
6718
6719 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6720
6721 * simple.el (shell-dynamic-complete-functions)
6722 (comint-dynamic-complete-functions): Declare.
6723
6724 * net/network-stream.el (gnutls-negotiate):
6725 * simple.el (tabulated-list-print): Fix declarations.
6726
6727 * progmodes/gud.el (syntax-symbol, syntax-point):
6728 Remove unnecessary and incorrect declarations.
6729
6730 * emacs-lisp/check-declare.el (check-declare-scan):
6731 Handle byte-compile-initial-macro-environment in bytecomp.el
6732
6733 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6734
6735 Fix earlier half-done eieio-defmethod change (bug#8338).
6736 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6737 Streamline and change calling convention.
6738 (defmethod): Adjust accordingly and simplify.
6739 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6740 new eieio--defmethod.
6741 (slot-boundp): Minor CSE simplification.
6742
6743 2011-05-05 Milan Zamazal <pdm@zamazal.org>
6744
6745 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6746 (glasses-make-readable): Use glasses-separate-capital-groups.
6747
6748 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
6749
6750 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6751 (warning-series): Doc fix.
6752 (display-warning): Don't try to create the buffer if we just found it.
6753
6754 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
6755
6756 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6757 (autoload-find-generated-file): New function.
6758 (generate-file-autoloads): Bind generated-autoload-file to
6759 buffer-file-name.
6760 (update-file-autoloads, update-directory-autoloads):
6761 Use autoload-find-generated-file. If called interactively, prompt for
6762 output file (Bug#7989).
6763 (batch-update-autoloads): Doc fix.
6764
6765 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
6766
6767 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6768
6769 2011-05-04 Glenn Morris <rgm@gnu.org>
6770
6771 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6772 function, so it follows changes in calendar-date-style.
6773 (diary-fancy-date-matcher): New function.
6774 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6775 (diary-fancy-font-lock-fontify-region-function):
6776 Use diary-fancy-date-pattern as a function.
6777
6778 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6779 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6780
6781 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6782
6783 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6784 instead of positional arguments. Allow :keylist and :crlfiles
6785 arguments.
6786 (open-gnutls-stream): Call it.
6787
6788 * net/network-stream.el (network-stream-open-starttls): Adjust to
6789 call `gnutls-negotiate' with :process and :hostname arguments.
6790
6791 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * minibuffer.el (completion--message): New function.
6794 (completion--do-completion, minibuffer-complete)
6795 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6796 (completion--do-completion): Don't ignore completion-auto-help when in
6797 icomplete-mode.
6798
6799 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6800 internal encoding (e.g. tibetan zero is not whitespace).
6801 (global-whitespace-mode): Prefer save-current-buffer.
6802 (whitespace-trailing-regexp): Remove useless save-match-data.
6803 (whitespace-empty-at-bob-regexp): Minor simplification.
6804
6805 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
6806
6807 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6808
6809 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6810
6811 * textmodes/ispell.el (ispell-add-per-file-word-list):
6812 Use `concat' to create string for insertion.
6813
6814 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6815
6816 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6817 Avoid open-line which runs post-self-insert-hook.
6818 (bibtex-fill-entry): Remove unused `end' var.
6819
6820 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6821
6822 * textmodes/ispell.el (ispell-add-per-file-word-list):
6823 Protect against `nil' value of `comment-start' (Bug#8579).
6824
6825 2011-05-03 Leo Liu <sdl.web@gmail.com>
6826
6827 * isearch.el (isearch-yank-pop): New command.
6828 (isearch-mode-map): Bind it to `M-y'.
6829 (isearch-forward): Mention it.
6830
6831 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6832
6833 * simple.el (minibuffer-complete-shell-command): Remove.
6834 (minibuffer-local-shell-command-map): Use completion-at-point.
6835 (read-shell-command): Setup completion vars here instead.
6836 (read-expression-map): Bind TAB to symbol completion.
6837
6838 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6839 error directly rather via storing it into `results'.
6840
6841 2011-05-02 Leo Liu <sdl.web@gmail.com>
6842
6843 * vc/diff.el: Fix description.
6844
6845 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6846
6847 * server.el (server-eval-at): New function.
6848
6849 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6850
6851 * net/network-stream.el (open-network-stream): Take a :nowait
6852 parameter and pass it on to `make-network-process'.
6853 (network-stream-open-plain): Ditto.
6854
6855 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6856
6857 * faces.el (face-spec-set-match-display): Don't match toolkit
6858 options on terminal frames.
6859
6860 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6861
6862 * progmodes/pascal.el: Use lexical binding.
6863 (pascal-mode-map): Remove author preferences.
6864
6865 * pcomplete.el (pcomplete-std-complete): Don't abuse
6866 completion-at-point.
6867
6868 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
6869
6870 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6871 removing code that has been dead since 1991 or so.
6872
6873 * startup.el (command-line): When warning about "_emacs", use a
6874 delayed warning to allow the user to filter it out.
6875
6876 2011-04-28 Deniz Dogan <deniz@dogan.se>
6877
6878 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6879 user has not joined.
6880
6881 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6884 aren't any completions at point.
6885
6886 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
6887
6888 * subr.el (display-delayed-warnings): New function.
6889 (delayed-warnings-hook): New variable.
6890
6891 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6892
6893 * minibuffer.el (completion-at-point, completion-help-at-point):
6894 Don't presume that a given completion-at-point-function will always
6895 use the same calling convention.
6896
6897 * pcomplete.el (pcomplete-completions-at-point):
6898 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6899 pcomplete-seen is non-nil.
6900 (pcomplete-comint-setup): Also recognize the new comint/shell
6901 completion functions.
6902 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6903 pcomplete-seen is non-nil.
6904
6905 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
6906
6907 * calendar/icalendar.el (diary-lib): Add require statement.
6908 (icalendar--create-uid): Read out a uid from a text-property on
6909 the first character in the entry. This allows for code to add its
6910 own uid to the entry.
6911 (icalendar--convert-float-to-ical): Add export of
6912 `diary-float'-entries save for those with the optional DAY
6913 argument.
6914
6915 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6916
6917 * subr.el (shell-quote-argument): Use alternate escaping strategy
6918 when we spot a variable reference in a string.
6919
6920 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6921
6922 * cus-start.el (all): Define customization for debug-on-event.
6923
6924 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6925
6926 * subr.el (shell-quote-argument): Escape correctly under Windows.
6927
6928 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6929
6930 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6931
6932 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
6933
6934 * net/tramp.el (tramp-process-actions): Add POS argument.
6935 Delete region between POS and (pos).
6936
6937 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6938 Use `nil' position in `tramp-process-actions' call.
6939 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6940
6941 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6942 position in `tramp-process-actions' call.
6943
6944 * net/trampver.el: Update release number.
6945
6946 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6947
6948 * custom.el (defcustom): Obey lexical-binding.
6949
6950 Fix octave-inf completion problems reported by Alexander Klimov.
6951 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6952 Inherit from octave-mode-syntax-table.
6953 (inferior-octave-mode): Set info-lookup-mode.
6954 (inferior-octave-completion-at-point): New function.
6955 (inferior-octave-complete): Use it and completion-in-region.
6956 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6957 comint-filename-completion.
6958 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6959 symbol elements which shouldn't be word elements.
6960 (octave-font-lock-keywords, octave-beginning-of-defun)
6961 (octave-function-header-regexp): Adjust regexps accordingly.
6962 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6963
6964 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
6965
6966 * net/gnutls.el (gnutls-errorp): Declare before first use.
6967
6968 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6969
6970 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6971 verify-error, and verify-hostname-error parameters. Check whether
6972 default trustfile exists before going to use it. Add missing
6973 argument to gnutls-message-maybe call. Return return value.
6974 Reported by Claudio Bley <claudio.bley@gmail.com>.
6975 (open-gnutls-stream): Add usage example.
6976
6977 * net/network-stream.el (network-stream-open-starttls): Give host
6978 parameter to `gnutls-negotiate'.
6979 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
6980 * subr.el (shell-quote-argument): Escape correctly under Windows.
6981
6982 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
6983
6984 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6985 Use correct match group (bug#8438).
6986
6987 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
6988
6989 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6990 (package-menu--generate): New arg specifying packages to show.
6991 (package-menu-refresh, package-menu-execute, list-packages):
6992 Callers changed.
6993 (package-show-package-list): New function, replacing deleted
6994 package--list-packages (renamed because it is non-internal).
6995
6996 * finder.el (finder-list-matches): Use package-show-package-list
6997 instead of deleted package--list-packages.
6998
6999 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7000 Based on a previous implementation by Juanma Barranquero (Bug#8366).
7001 (vc-annotate-mode-map): Bind it to RET.
7002
7003 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7004
7005 * progmodes/etags.el (next-file): Don't use set-buffer to change
7006 buffers (Bug#8478).
7007
7008 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
7009
7010 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7011
7012 * apropos.el (apropos-label-face): Avoid variable-pitch face.
7013 (apropos-accumulator): Doc fix.
7014 (apropos-function, apropos-macro, apropos-command)
7015 (apropos-variable, apropos-face, apropos-group, apropos-widget)
7016 (apropos-plist): Add face property.
7017 (apropos-symbols-internal): Fix indentation.
7018 (apropos-print): Simplify help, and recognize apropos-multi-type.
7019 (apropos-print-doc): Use button-type-get to extract the button's
7020 face property. Fill docstring (Bug#8352).
7021
7022 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
7023
7024 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7025
7026 * play/mpuz.el (mpuz-silent): Doc fix.
7027 (mpuz-mode-map): Use mapc.
7028 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7029 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7030 Fix typos in docstrings.
7031
7032 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7033 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7034
7035 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7036
7037 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
7038
7039 * minibuffer.el (completion--do-completion): Avoid the "Next char
7040 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7041
7042 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7043 mouse-2 into unread-command-events, it is interpreted correctly.
7044
7045 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
7046 (image-toggle-display): Doc fix.
7047
7048 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
7049
7050 * textmodes/page.el (what-page): Use line-number-at-pos to
7051 calculate line number (Bug#6825).
7052
7053 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
7054
7055 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7056 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7057 Pass argument NO-DEFAULT to `find-tag-interactive'.
7058
7059 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
7060
7061 Lexical-binding cleanup.
7062
7063 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7064 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7065 * progmodes/ada-prj.el (ada-prj-initialize-values)
7066 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7067 (ada-prj-show-value):
7068 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7069 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7070 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7071 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7072 * progmodes/bug-reference.el (bug-reference-push-button):
7073 * progmodes/fortran.el (fortran-line-length):
7074 * progmodes/glasses.el (glasses-change):
7075 * progmodes/octave-mod.el (octave-fill-paragraph):
7076 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7077 (python-pdbtrack-grub-for-buffer, python-sentinel):
7078 * progmodes/sql.el (sql-save-connection):
7079 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7080 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7081 Mark unused parameters.
7082
7083 * progmodes/compile.el (compilation--flush-directory-cache)
7084 (compilation--flush-parse, compile-internal): Mark unused parameters.
7085 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7086 (compilation-next-error-function): Remove unused variable `timestamp'.
7087
7088 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7089 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7090
7091 * progmodes/dcl-mode.el (dcl-end-of-command):
7092 Remove unused variable `start'.
7093 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7094 (dcl-option-value-basic, dcl-option-value-offset)
7095 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7096 Mark unused parameters.
7097 (dcl-save-local-variable): Remove unused variable `val'.
7098 (mode): Declare.
7099
7100 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7101 Mark unused parameters.
7102 (delphi-ignore-changes): Move before first use.
7103 (delphi-charset-token-at): Remove unused variable `start'.
7104 (delphi-else-start): Remove unused variable `if-count'.
7105 (delphi-comment-block-start, delphi-comment-block-end):
7106 Remove unused variable `kind'.
7107 (delphi-indent-line): Remove unused variable `new-point'.
7108
7109 * progmodes/ebrowse.el (ebrowse-files-list)
7110 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7111 Mark unused parameters. Don't quote `lambda'.
7112 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7113 Don't quote `lambda'.
7114 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7115 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7116 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7117 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7118 Use `ignore-errors'.
7119 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7120 (ebrowse-view/find-file-and-search-pattern)
7121 (ebrowse-view/find-member-declaration/definition):
7122 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7123 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7124 Rename parameter PREFIX-ARG to PREFIX.
7125 (ebrowse-tags-read-name): Remove unused variables `start' and
7126 `member-info'.
7127 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7128 to `tags-file'.
7129
7130 * progmodes/etags.el (local-find-tag-hook): Declare.
7131 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7132 Mark unused parameters.
7133
7134 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7135 (executable-interpret): Mark unused parameter.
7136
7137 * progmodes/flymake.el (flymake-process-sentinel)
7138 (flymake-after-change-function)
7139 (flymake-create-temp-with-folder-structure)
7140 (flymake-get-include-dirs-dot): Mark unused parameters.
7141 (flymake-safe-delete-directory): Remove unused variable `err'.
7142
7143 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7144 (speedbar-timer-fn, speedbar-line-text)
7145 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7146 (speedbar-center-buffer-smartly): Declare functions.
7147 (gdb-find-watch-expression): Remove unused variable `array'.
7148 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7149 (gdb-starting): Mark unused parameters.
7150 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7151 (gdb-table-string): Remove unused variable `res'.
7152 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7153 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7154 (gdb-display-buffer): Remove unused variable `cur-size'.
7155
7156 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7157 allow lexical-binding compilation.
7158 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7159 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7160 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7161 Mark unused parameters.
7162 (gud-gdb-marker-filter): Remove unused variable `match'.
7163 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7164 lambda expressions and funcall them, instead of using `fset'.
7165
7166 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7167 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7168
7169 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7170 variable `header-beg'; use `let'.
7171
7172 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7173 `restart', `last-sexp' and `at-do'.
7174
7175 * progmodes/js.el (js--debug): Mark unused parameter.
7176 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7177 (js--splice-into-items): Remove unused variable `item'.
7178 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7179
7180 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7181 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7182 (makefile-complete): Remove unused variable `try'.
7183 (makefile-fill-paragraph, makefile-match-function-end):
7184 Mark unused parameters.
7185
7186 * progmodes/octave-inf.el (inferior-octave-complete):
7187 Remove unused variable `proc'.
7188 (inferior-octave-output-digest): Mark unused parameter.
7189
7190 * progmodes/perl-mode.el (perl-calculate-indent):
7191 Remove unused variable `err'.
7192
7193 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7194 (prolog-indent-line): Mark unused parameters.
7195 (prolog-indent-line): Remove unused variable `beg'.
7196
7197 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7198 (reporter-dont-compact-list): Declare.
7199
7200 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7201 Remove unused variable `char'.
7202 (sh-debug): Mark unused parameter.
7203 (sh-get-indent-info): Remove unused variable `start'.
7204 (sh-calculate-indent): Remove unused variable `var'.
7205
7206 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7207 (simula-electric-keyword): Remove unused variable `null'.
7208 (simula-search-backward, simula-search-forward): Remove unused
7209 variables `begin' and `end'.
7210
7211 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7212 Remove unused variable `pos'.
7213 (vera-electric-tab, vera-comment-uncomment-region):
7214 Mark unused parameters.
7215 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7216
7217 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
7218
7219 * emacs-lisp/package.el (package--builtins, package-alist)
7220 (package-load-descriptor, package-built-in-p, package-activate)
7221 (define-package, package-installed-p)
7222 (package-compute-transaction, package-buffer-info)
7223 (package--push): Doc fix. Distinguish more clearly between
7224 version strings and version lists.
7225
7226 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
7227
7228 Lexical-binding cleanup.
7229
7230 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7231 (5x5-make-mutate-best):
7232 * play/fortune.el (fortune-in-buffer):
7233 * play/gomoku.el (gomoku-init-display):
7234 * play/solitaire.el (solitaire, solitaire-do-check):
7235 * play/tetris.el (tetris-default-update-speed-function):
7236 Mark unused parameters.
7237
7238 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7239 (bubbles--shift): Remove unused variable `char-org'.
7240 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7241 (bubbles--show-images): Remove unused variable `char'.
7242
7243 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7244 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7245 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7246 (decipher-analyze-buffer): Use ?\s.
7247 (decipher-make-checkpoint): Remove unused variable `mapping'.
7248
7249 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7250
7251 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7252 Remove unused variable `result'; use `let'.
7253
7254 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7255 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7256 (gametree-children-shown-p, gametree-compute-reduced-score):
7257 Use `ignore-errors'.
7258
7259 * play/handwrite.el (ps-lpr-switches): Declare.
7260 (handwrite): Remove unused variables `pmin' and `lastp'.
7261
7262 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7263
7264 * play/landmark.el (landmark-init-display)
7265 (landmark-update-naught-weights): Mark unused parameters.
7266 (landmark-y): Remove unused variable `noise'. Simplify.
7267 (landmark-human-plays): Remove unused variable `score'.
7268
7269 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7270 (mpuz-try-proposal): Remove unused variable `game'.
7271
7272 * play/zone.el (life-patterns): Declare.
7273
7274 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
7275
7276 * vc/vc.el (ediff-vc-internal): Declare function.
7277
7278 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * shell.el: Use lexical-binding and std completion UI.
7281 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7282 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7283 comint-preoutput-filter-functions rather than on
7284 comint-output-filter-functions.
7285 (shell-command-completion, shell--command-completion-data)
7286 (shell-filename-completion, shell-environment-variable-completion)
7287 (shell-c-a-p-replace-by-expanded-directory): New functions.
7288 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7289 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7290 (shell-dynamic-complete-environment-variable): Use them.
7291 (shell-dynamic-complete-as-environment-variable)
7292 (shell-dynamic-complete-as-command): Remove.
7293 (shell-match-partial-variable): Match past point.
7294 * comint.el: Clean up use of completion-at-point-functions.
7295 (comint-completion-at-point): New function.
7296 (comint-mode): Use it completion-at-point-functions.
7297 (comint-dynamic-complete): Make it obsolete.
7298 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7299 (comint-c-a-p-replace-by-expanded-history): New function.
7300 (comint-dynamic-complete-functions)
7301 (comint-replace-by-expanded-history): Use it.
7302 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7303 termination strings. Try harder to avoid second try-completion.
7304 (completion-in-region-mode-map): Disable bindings that don't work yet.
7305
7306 * comint.el: Use lexical-binding. Require CL.
7307 (comint-dynamic-complete-functions): Use comint-filename-completion.
7308 (comint-completion-addsuffix): Tweak custom type.
7309 (comint-filename-completion, comint--common-suffix)
7310 (comint--common-quoted-suffix, comint--table-subvert)
7311 (comint--complete-file-name-data): New functions.
7312 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7313 (comint-dynamic-list-filename-completions): Use them.
7314 (comint-dynamic-simple-complete): Make obsolete.
7315
7316 * minibuffer.el (completion-in-region-mode):
7317 Keep completion-in-region-mode--predicate global.
7318 (completion-in-region--postch):
7319 Assume completion-in-region-mode--predicate is not null.
7320
7321 * progmodes/flymake.el (flymake-start-syntax-check-process):
7322 Obey `dir'. Simplify.
7323
7324 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7325 we're in VC after all.
7326
7327 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7328
7329 * vc/vc.el (vc-diff-build-argument-list-internal)
7330 (vc-version-ediff, vc-ediff): New commands.
7331 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7332
7333 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7334
7335 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7336 add sanity check.
7337
7338 * obsolete/erc-hecomplete.el: Make obsolete.
7339 * obsolete/: Standardize obsolescence info in the header.
7340
7341 2011-04-20 Glenn Morris <rgm@gnu.org>
7342
7343 * calendar/solar.el (solar-horizontal-coordinates):
7344 Use the longitude argument rather than `calendar-longitude'.
7345 (solar-date-next-longitude): Remove unused locals.
7346
7347 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7348
7349 * whitespace.el: New version 13.2.1.
7350
7351 2011-04-20 felix <EmacsWiki> (tiny change)
7352
7353 * whitespace.el (global-whitespace-mode): Keep highlight when
7354 switching between major modes on a file.
7355
7356 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7357
7358 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7359 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7360 multi-line comments as well.
7361
7362 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
7363
7364 Lexical-binding cleanup.
7365
7366 * arc-mode.el (archive-mode-revert):
7367 * cmuscheme.el (scheme-interactively-start-process):
7368 * custom.el (custom-initialize-delay):
7369 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7370 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7371 * emacs-lock.el (emacs-lock-clear-sentinel):
7372 * ezimage.el (defezimage):
7373 * follow.el (follow-avoid-tail-recenter):
7374 * fringe.el (set-fringe-mode-1):
7375 * generic-x.el (bat-generic-mode-compile):
7376 * help-mode.el (help-info-variable, help-do-xref)
7377 (help-mode-revert-buffer):
7378 * help.el (view-emacs-todo):
7379 * iswitchb.el (iswitchb-completion-help):
7380 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7381 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7382 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7383 * locate.el (locate-update):
7384 * longlines.el (longlines-encode-region)
7385 (longlines-after-change-function):
7386 * outline.el (outline-isearch-open-invisible):
7387 * ps-def.el (declare-function, charset-dimension, char-width)
7388 (encode-char):
7389 * ps-mule.el (ps-mule-plot-string):
7390 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7391 (recentf-edit-list-select, recentf-edit-list-validate)
7392 (recentf-open-files-action):
7393 * rect.el (delete-whitespace-rectangle-line)
7394 (rectangle-number-line-callback):
7395 * register.el (window-configuration-to-register)
7396 (frame-configuration-to-register):
7397 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7398 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7399 (xselect-convert-to-targets, xselect-convert-to-delete)
7400 (xselect-convert-to-filename, xselect-convert-to-charpos)
7401 (xselect-convert-to-lineno, xselect-convert-to-colno)
7402 (xselect-convert-to-os, xselect-convert-to-host)
7403 (xselect-convert-to-user, xselect-convert-to-class)
7404 (xselect-convert-to-name, xselect-convert-to-integer)
7405 (xselect-convert-to-atom, xselect-convert-to-identity):
7406 * subr.el (declare, ignore, process-kill-without-query)
7407 (text-clone-maintain):
7408 * terminal.el (te-get-char, te-tic-sentinel):
7409 * tool-bar.el (tool-bar-make-keymap):
7410 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7411 * type-break.el (type-break-mode, type-break-noninteractive-query):
7412 * view.el (View-back-to-mark):
7413 * wid-browse.el (widget-browse-action, widget-browse-widget)
7414 (widget-browse-widgets, widget-browse-sexp):
7415 * widget.el (define-widget-keywords):
7416 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7417 Mark unused parameters.
7418
7419 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7420 (align-areas): Remove unused variable `look'.
7421 (align-region): Remove unused variables `real-end' and `pos-list'.
7422
7423 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7424
7425 * bindings.el (mode-line-modified, mode-line-remote):
7426 Mark unused parameters.
7427 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7428
7429 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7430 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7431
7432 * comint.el (comint-history-isearch-pop-state)
7433 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7434 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7435 (comint-substitute-in-file-name): Doc fix.
7436
7437 * completion.el (cmpl-statistics-block): Mark unused parameter.
7438 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7439 (save-completions-to-file, load-completions-from-file):
7440 Remove unused local variable `e'.
7441
7442 * composite.el (compose-chars): Remove unused variable `len'.
7443 (lgstring-insert-glyph): Remove unused variable `g'.
7444 (compose-glyph-string): Remove unused variables `ascent',
7445 `descent', `lbearing' and `rbearing'.
7446 (compose-glyph-string-relative): Remove unused variables
7447 `lbearing', `rbearing' and `wadjust'.
7448 (compose-gstring-for-graphic): Remove unused variables `header',
7449 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7450 (compose-gstring-for-terminal): Remove unused variables `header'
7451 and `nchars'. Use `let', not `let*'.
7452
7453 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7454 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7455 (Custom-buffer-done, custom-buffer-create-internal)
7456 (custom-browse-visibility-action, custom-browse-group-tag-action)
7457 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7458 (widget-magic-mouse-down-action, custom-toggle-parent)
7459 (custom-add-parent-links, custom-toggle-hide-variable)
7460 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7461 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7462 (custom-face-menu-create, custom-variable-menu-create, get)
7463 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7464 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7465 (customize-apropos): Remove unused variable `tests'.
7466 (custom-group-value-create): Remove unused variable `hidden-p'.
7467 (sort-fold-case): Declare.
7468
7469 * cus-theme.el (custom-reset-standard-faces-list)
7470 (custom-reset-standard-variables-list): Declare.
7471 (customize-create-theme, custom-theme-revert, custom-theme-write)
7472 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7473 Mark unused parameters.
7474
7475 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7476
7477 * delim-col.el (delimit-columns-max): Move defvar before first use.
7478
7479 * descr-text.el (describe-char-categories): Don't quote `lambda'.
7480 (describe-char): Don't quote `lambda'. Mark unused parameter.
7481
7482 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7483 (auto-insert): Declare.
7484 (desktop-restore-file-buffer): Rename desktop-* parameters;
7485 mark unused ones.
7486 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7487 (desktop-buffer): Rename desktop-* parameters.
7488
7489 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7490 (dframe-reposition-frame-xemacs, dframe-help-echo)
7491 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7492 Mark unused parameters.
7493
7494 * dired-aux.el (backup-extract-version-start, overwrite-query)
7495 (overwrite-backup-query, rename-regexp-query)
7496 (rename-non-directory-query): Declare.
7497 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7498 (dired-add-entry): Remove unused variable `orig-file-name'.
7499 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7500 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7501 `dired-copy-preserve-time' directly.
7502 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7503 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7504
7505 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7506 (dired-virtual-revert, dired-make-relative-symlink):
7507 Mark unused parameters.
7508 (manual-program): Declare.
7509 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7510 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7511 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7512
7513 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7514
7515 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7516
7517 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7518 Declare.
7519
7520 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7521
7522 * electric.el (Electric-command-loop): Rename parameter
7523 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7524
7525 * expand.el (expand-in-literal): Remove unused variable `here'.
7526
7527 * facemenu.el (facemenu-add-new-color):
7528 Remove unused variable `docstring'.
7529
7530 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7531 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7532 (face-attr-construct): Mark unused parameter. Doc fix.
7533 (read-color): Remove unused variable `hex-string'.
7534
7535 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7536 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7537 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7538 (display-buffer-other-frame): Remove unused variable `old-window'.
7539 (kill-buffer-hook): Declare.
7540 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7541 Mark unused parameters.
7542 (after-find-file): Pass 1 to `auto-save-mode', not t.
7543
7544 * files-x.el (auto-insert): Declare.
7545 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7546
7547 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
7548 variable `buf'. Mark unused parameter.
7549 (find-lisp-insert-directory): Mark unused parameter.
7550
7551 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7552 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7553 (format-common-tail): Remove, unused.
7554 (format-deannotate-region): Remove unused variable `loc'.
7555 (format-annotate-region): Remove unused variable `p'.
7556 (format-annotate-single-property-change): Remove unused variables
7557 `default' and `tail'.
7558
7559 * forms.el (read-file-filter): Declare.
7560 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7561
7562 * frame.el (frame-creation-function-alist): Mark unused parameter.
7563 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7564
7565 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7566 Remove unused parameters.
7567 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7568 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7569
7570 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7571 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7572 (hfy-prepare-tag-map): Mark unused parameters.
7573 (htmlfontify-buffer): Use `called-interactively-p'.
7574
7575 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7576 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7577 (ibuffer-do-occur): Mark unused parameters.
7578 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7579 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7580
7581 * ibuffer.el: Don't quote `lambda'.
7582 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7583 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7584 Mark unused parameters.
7585
7586 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7587 (ido-completing-read): Mark unused parameters.
7588 (ido-copy-current-word): Mark unused parameters;
7589 remove unused variable `name'.
7590 (ido-sort-merged-list): Remove unused parameter `dirs'.
7591
7592 * ielm.el (ielm-input-sender): Mark unused parameter.
7593 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7594 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7595 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7596 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7597 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7598
7599 * image-dired.el (image-dired-display-thumbs): Remove unused
7600 variables `curr-file' and `count'.
7601 (image-dired-remove-tag): Remove unused variable `start'.
7602 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7603 variable `curr-file'
7604 (image-dired-rotate-original): Remove unused variable `temp-file'.
7605 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7606 Remove unused variable `file'.
7607 (image-dired-gallery-generate): Remove unused variable `curr'.
7608 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7609
7610 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7611
7612 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7613
7614 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7615
7616 * isearch.el (minibuffer-history-symbol): Declare.
7617 (isearch-edit-string): Remove unused variable `err'.
7618 (isearch-message-prefix, isearch-message-suffix):
7619 Mark unused parameters.
7620
7621 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7622
7623 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7624
7625 * makesum.el (double-column): Remove unused variable `cnt'.
7626
7627 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7628 (ido-ignore-item-temp-list): Declare.
7629
7630 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7631 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7632 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7633 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7634 `mouse-col-delta'.
7635
7636 * mouse-sel.el (mouse-extend-internal):
7637 Remove unused variable `orig-window-frame'.
7638
7639 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7640 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7641 Move declarations before first use.
7642 (pcomplete-opt): Mark unused parameters; doc fix.
7643
7644 * proced.el (proced-revert): Mark unused parameter.
7645 (proced-send-signal): Remove unused variable `err'.
7646
7647 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7648 Rename parameter PREFIX-ARG to ARG.
7649 (ps-basic-plot-string, ps-basic-plot-whitespace):
7650 Mark unused parameters.
7651
7652 * replace.el (replace-count): Define.
7653 (occur-revert-function): Mark unused parameters.
7654 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7655 (isearch-case-fold-search, isearch-string): Declare.
7656 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7657 bind `case-fold-search'. Remove unused variables `beg' and `end',
7658 and simplify.
7659 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7660 COUNT and bind `replace-count'.
7661 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7662 to COUNT.
7663
7664 * savehist.el (print-readably, print-string-length): Declare.
7665
7666 * shadowfile.el (shadow-expand-cluster-in-file-name):
7667 Remove unused variable `cluster'.
7668 (shadow-copy-file): Remove unused variable `i'.
7669 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7670 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7671 (shadow-define-literal-group, shadow-define-regexp-group)
7672 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7673
7674 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7675 (shell): Use `called-interactively-p'.
7676 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7677
7678 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7679 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7680 (delete-backward-char): Remove unused variable `ocol'.
7681 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7682 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7683 (event-apply-hyper-modifier, event-apply-shift-modifier)
7684 (event-apply-control-modifier, event-apply-meta-modifier):
7685 Mark unused parameters.
7686 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7687 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7688
7689 * speedbar.el (speedbar-ignored-directory-expressions)
7690 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7691 (speedbar-find-file, speedbar-dir-follow)
7692 (speedbar-directory-buttons-follow, speedbar-tag-find)
7693 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7694 (speedbar-buffers-line-directory, speedbar-buffer-click):
7695 Mark unused parameters.
7696 (speedbar-tag-file): Remove unused variable `mode'.
7697 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7698
7699 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7700
7701 * talk.el (talk): Remove unused variable `display'.
7702
7703 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7704 (tar-write-region-annotate): Mark unused parameter.
7705
7706 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7707 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7708 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7709 warning by another.
7710
7711 * time-stamp.el (time-stamp-string-preprocess):
7712 Remove unused variable `require-padding'.
7713
7714 * tree-widget.el (widget-glyph-enable): Declare.
7715 (tree-widget-action): Mark unused parameter.
7716
7717 * w32-fns.el (x-get-selection): Mark unused parameter.
7718 (autoload-make-program, generated-autoload-file): Declare.
7719
7720 * wdired.el (wdired-revert): Mark unused parameters.
7721 (wdired-xcase-word): Remove unused variable `err'.
7722
7723 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7724 (whitespace-help-scroll): Remove unused variable `data-help'.
7725
7726 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7727 (widget-image-insert, widget-after-change, default)
7728 (widget-default-format-handler, widget-default-notify)
7729 (widget-default-prompt-value, widget-info-link-action)
7730 (widget-url-link-action, widget-function-link-action)
7731 (widget-variable-link-action, widget-file-link-action)
7732 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7733 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7734 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7735 (widget-insert-button-action, widget-delete-button-action, visibility)
7736 (widget-documentation-link-action, widget-documentation-string-action)
7737 (widget-const-prompt-value, widget-regexp-match, symbol)
7738 (widget-coding-system-prompt-value)
7739 (widget-key-sequence-value-to-external, sexp)
7740 (widget-sexp-value-to-internal, character, vector, cons)
7741 (widget-choice-prompt-value, widget-boolean-prompt-value)
7742 (widget-color--choose-action): Mark unused parameters.
7743 (widget-item-match-inline, widget-choice-match-inline)
7744 (widget-checklist-match, widget-checklist-match-inline)
7745 (widget-group-match): Rename parameter VALUES to VALS.
7746 (widget-field-value-set): Remove unused variable `size'.
7747 (widget-color-action): Remove unused variables `value' and `start'.
7748
7749 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
7750 variable `dir'. Doc fix.
7751 (windmove-find-other-window): Don't pass it.
7752
7753 * window.el (count-windows): Mark unused parameter.
7754 (bw-adjust-window): Remove unused variable `err'.
7755
7756 * woman.el (woman-file-name): Remove unused variable `default'.
7757 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7758 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7759 (global-font-lock-mode): Declare.
7760 (woman-decode-region): Mark unused parameter.
7761 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7762
7763 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7764 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7765 (x-dnd-handle-moz-url): Remove unused variable `title'.
7766 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7767
7768 * xml.el (xml-parse-tag, xml-parse-attlist):
7769 Remove unused variable `pos'.
7770
7771 2011-04-19 Glenn Morris <rgm@gnu.org>
7772
7773 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7774 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7775 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7776 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7777 * calendar/cal-html.el (cal-html-insert-minical):
7778 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7779 (calendar-mark-date-pattern):
7780 Prefix "unused" locals.
7781
7782 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7783 optional argument `style'.
7784
7785 * calendar/appt.el (appt-make-list):
7786 * calendar/cal-china.el (calendar-chinese-date-string):
7787 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7788 (diary-hebrew-yahrzeit):
7789 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7790 * calendar/calendar.el (calendar-generate-window):
7791 * calendar/time-date.el (time-to-days):
7792 Remove unused local variables.
7793
7794 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
7795
7796 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7797 glyphless-char-display table.
7798 (tabulated-list-glyphless-char-display): New var.
7799
7800 2011-04-18 Sam Steingold <sds@gnu.org>
7801
7802 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7803 to acknowledgments.
7804
7805 2011-04-17 Glenn Morris <rgm@gnu.org>
7806
7807 * calendar/diary-lib.el (diary-sexp-entry):
7808 * calendar/holidays.el (holiday-sexp):
7809 Set debug-on-error rather than the removed stack-trace-on-error.
7810
7811 2011-04-16 Glenn Morris <rgm@gnu.org>
7812
7813 * progmodes/f90.el: Use lexical-binding.
7814 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7815
7816 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7817
7818 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7819 (mail-mode): Setup mailalias completion here instead.
7820 * mail/mailalias.el: Use lexical-binding.
7821 (pattern, mailalias-done): Declare dynamic.
7822 (mail-completion-at-point-function): New function, from mail-complete.
7823 (mail-complete): Use it.
7824 (mail-completion-expand): New function.
7825 (mail-get-names): Use it.
7826 (mail-directory, mail-directory-process, mail-directory-stream):
7827 Don't use `pattern' for lexically bound arg.
7828
7829 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7830
7831 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7832 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7833 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7834
7835 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7836 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7837 (byte-interactive-p): Define them again, for use when inlining
7838 old code.
7839
7840 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
7841
7842 * loadup.el: Use `string-to-number', not `string-to-int'.
7843
7844 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7845
7846 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7847 gud-gdb-complete-command.
7848 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7849 (gud-gdb-completion-at-point): New function.
7850 (gud-gdb-completions): Remove.
7851
7852 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
7853
7854 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7855 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7856 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7857 whether `executable-find' is bound.
7858
7859 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7860
7861 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7862
7863 * minibuffer.el (completion-in-region-mode-predicate)
7864 (completion-in-region-mode--predicate): New vars.
7865 (completion-in-region, completion-in-region--postch)
7866 (completion-in-region-mode): Use them.
7867 (completion--capf-wrapper): Also return the hook function.
7868 (completion-at-point, completion-help-at-point):
7869 Adjust and provide a predicate.
7870
7871 Preserve arg names for advice of subr and lexical functions (bug#8457).
7872 * help-fns.el (help-function-arglist): Consolidate the subr and
7873 new-byte-code cases. Add argument `preserve-names' to extract names
7874 from the docstring when needed.
7875 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7876 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7877 (ad-arglist): Use help-function-arglist's new arg.
7878 (ad-definition-type): Use cond.
7879
7880 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
7881
7882 * autorevert.el (auto-revert-handler):
7883 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7884 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7885 Don't quote lambda.
7886
7887 * image-mode.el (image-transform-set-scale):
7888 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7889
7890 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7891
7892 * net/network-stream.el (network-stream-open-starttls): Only do
7893 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7894 Upgrades via gnutls-cli are too slow to be done opportunistically.
7895
7896 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
7897
7898 * dframe.el (dframe-current-frame): Remove spurious quote.
7899
7900 2011-04-12 Glenn Morris <rgm@gnu.org>
7901
7902 * calendar/cal-tex.el (cal-tex-end-document):
7903 Try to automatically use latin1 input if needed.
7904
7905 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7906 Don't try to cons a mark onto an empty element.
7907
7908 2011-04-11 Leo Liu <sdl.web@gmail.com>
7909
7910 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7911 buffers.
7912 (ido-kill-buffer-at-head): Support killing virtual buffers.
7913
7914 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
7915
7916 * minibuffer.el (completion-show-inline-help): New var.
7917 (completion--do-completion, minibuffer-complete)
7918 (minibuffer-force-complete, minibuffer-complete-word):
7919 Inhibit minibuffer messages if completion-show-inline-help is nil.
7920
7921 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7922 to avoid interference from inline help (Bug#5849).
7923
7924 2011-04-10 Leo Liu <sdl.web@gmail.com>
7925
7926 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7927 Fix typo.
7928
7929 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
7930
7931 * image-mode.el (image-toggle-display-image): Signal an error if
7932 not in Image mode.
7933 (image-transform-mode, image-transform-resize)
7934 (image-transform-set-rotation): Doc fix.
7935 (image-transform-set-resize): Delete.
7936 (image-transform-set-scale, image-transform-fit-to-height)
7937 (image-transform-fit-to-width): Handle image-toggle-display-image
7938 and image-transform-resize directly.
7939
7940 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
7941
7942 * doc-view.el (doc-view-fit-width-to-window)
7943 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7944 New functions for fitting the shown image to the Emacs window size.
7945 (doc-view-mode-map): Add bindings for the new functions.
7946
7947 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
7948
7949 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
7950 Fix typo in docstring.
7951
7952 2011-04-08 Eli Zaretskii <eliz@gnu.org>
7953
7954 * files.el (file-size-human-readable): Produce one digit after
7955 decimal, like "ls -lh" does.
7956
7957 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7958 the file size representation.
7959
7960 * simple.el (list-processes): If async subprocesses are not
7961 available, error out with a clear error message.
7962
7963 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
7964
7965 * help.el (help-form-show): New function, to be called from C.
7966 Put help-form output in a buffer named differently than *Help*.
7967
7968 2011-04-08 Eli Zaretskii <eliz@gnu.org>
7969
7970 * files.el (file-size-human-readable): New function.
7971
7972 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7973 computing the representation inline. Don't require `cl'.
7974
7975 2011-04-08 Glenn Morris <rgm@gnu.org>
7976
7977 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7978
7979 * net/browse-url.el (browse-url-firefox):
7980 Test system-type, not system-configuration.
7981
7982 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7983 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7984 Use log-edit-empty-buffer-p. (Bug#7598)
7985
7986 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7987 (rlogin-mode-map): Initialize in the defvar.
7988 (rlogin): Use ignore-errors.
7989
7990 * replace.el (occur-mode-map): Some fixes for menu items.
7991
7992 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7993
7994 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7995
7996 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
7997
7998 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7999 issuing unused warnings.
8000
8001 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8002 macro directly.
8003
8004 * simple.el: Lisp reimplement of list-processes. Based on an
8005 earlier reimplementation by Leo Liu, but using tabulated-list.el.
8006 (process-menu-mode): New major mode.
8007 (list-processes--refresh, list-processes):
8008 (process-menu-visit-buffer): New functions.
8009
8010 * files.el (save-buffers-kill-emacs): Don't assume any return
8011 value of list-processes, which is undocumented anyway.
8012
8013 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
8014
8015 * emacs-lisp/tabulated-list.el: New file.
8016
8017 * emacs-lisp/package.el: Use Tabulated List mode.
8018 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8019 (package-menu-mode): Derive from tabulated-list-mode. Set up the
8020 table format using Tabulated List mode variables.
8021 (package--push): New macro, replacing package-list-maybe-add.
8022 (package-menu--generate): Use package--push. Renamed from
8023 package--generate-package-list.
8024 (package-menu-refresh, list-packages): Use it.
8025 (package-menu--print-info): Rename from package-print-package.
8026 Return insertion data instead of inserting it directly.
8027 (package-menu-describe-package, package-menu-execute):
8028 Use tabulated-list-get-id.
8029 (package-menu-mark-delete, package-menu-mark-install)
8030 (package-menu-mark-unmark, package-menu-backup-unmark)
8031 (package-menu-mark-obsolete-for-deletion):
8032 Use tabulated-list-put-tag.
8033 (package--list-packages, package-menu-revert)
8034 (package-menu-get-package, package-menu-get-version)
8035 (package-menu-sort-by-column): Functions deleted.
8036 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8037 (package-menu--status-predicate, package-menu--version-predicate)
8038 (package-menu--name-predicate)
8039 (package-menu--description-predicate): Handle arguments in the
8040 Tabulated List format.
8041 (package-list-packages-no-fetch): Call list-packages.
8042
8043 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
8044
8045 * files.el (after-find-file-from-revert-buffer): Remove variable.
8046 (after-find-file): Don't bind it.
8047 (revert-buffer-in-progress-p): New variable.
8048 (revert-buffer): Bind it.
8049 Pass nil for `after-find-file-from-revert-buffer'.
8050
8051 * saveplace.el (save-place-find-file-hook): Use new variable
8052 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8053
8054 2011-04-06 Glenn Morris <rgm@gnu.org>
8055
8056 * Makefile.in (AUTOGEN_VCS): New variable.
8057 (autoloads): Use $AUTOGEN_VCS.
8058
8059 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8060 * calendar/calendar.el (calendar-mode-map):
8061 Check for toolkit scroll bars. (Bug#8305)
8062
8063 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
8064
8065 * minibuffer.el (completion-in-region--postch)
8066 (completion-in-region-mode): Remove unnecessary messages.
8067
8068 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
8069
8070 * font-lock.el (font-lock-refresh-defaults):
8071 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8072 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8073
8074 * info.el (Info-directory-list, Info-read-node-name-2)
8075 (Info-split-parameter-string): Doc fixes.
8076 (Info-virtual-nodes): Reflow docstring.
8077 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8078 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8079 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8080 Fix typos in docstrings.
8081 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8082 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8083 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8084 (Info-restore-desktop-buffer): Mark unused parameters.
8085 (Info-directory-find-file, Info-directory-find-node)
8086 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8087 (Info-virtual-index-find-node, Info-apropos-find-file)
8088 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
8089 Mark unused parameters; fix typos in docstrings.
8090 (Info-virtual-index): Remove unused local variable `nodename'.
8091
8092 2011-04-05 Deniz Dogan <deniz@dogan.se>
8093
8094 * net/rcirc.el: Update my e-mail address.
8095 (rcirc-mode-map): Remove M-o binding.
8096
8097 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
8098
8099 * startup.el (command-line): Save the cursor's theme-face
8100 directly, instead of using face-override-spec.
8101
8102 * custom.el (load-theme): Minor optimization in assigning faces.
8103
8104 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
8105
8106 * help-fns.el (describe-variable): Complete all variables having
8107 documentation, including keywords.
8108 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8109
8110 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
8111
8112 Convert to lexical-binding.
8113
8114 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8115 (bs--get-marked-string, bs--get-modified-string)
8116 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8117 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8118 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8119
8120 * ehelp.el (electric-help-execute-extended)
8121 (electric-help-ctrl-x-prefix):
8122 * hexl.el (hexl-revert-buffer-function):
8123 * linum.el (linum-after-change, linum-after-scroll):
8124 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8125
8126 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8127
8128 2011-04-04 Daiki Ueno <ueno@unixuser.org>
8129
8130 * epa-dired.el:
8131 * epa-mail.el:
8132 * epa-hook.el:
8133 * epa-file.el:
8134 * epa.el:
8135 * epg.el: Use lexical binding.
8136
8137 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
8138
8139 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8140
8141 * textmodes/flyspell.el (flyspell-word): Recognize default
8142 dictionary case for flyspell-mark-duplications-exceptions.
8143 Use regexp matching for languages.
8144 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8145 default dictionary (Bug#7926).
8146
8147 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
8148
8149 * emacs-lisp/package.el (package--with-work-buffer):
8150 Recognize https URLs.
8151
8152 * net/network-stream.el: Move from gnus/proto-stream.el.
8153 Change prefix to network-stream throughout.
8154 (open-protocol-stream): Merge into open-network-stream, leaving
8155 open-protocol-stream as an alias. Handle nil BUFFER args.
8156
8157 * subr.el (open-network-stream): Move to net/network-stream.el.
8158
8159 2011-04-02 Glenn Morris <rgm@gnu.org>
8160
8161 * find-dired.el (find-exec-terminator): New option.
8162 (find-ls-option): Test for -ls support.
8163 (find-ls-subdir-switches): Test for -b in find-ls-option.
8164 (find-dired, find-grep-dired): Doc fixes.
8165 (find-dired): Use find-exec-terminator.
8166
8167 * find-dired.el (find-ls-option, find-ls-subdir-switches)
8168 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8169 (find-name-arg): Remove purecopy.
8170
8171 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8172 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8173 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8174 accordingly. Don't add the null-device if not needed.
8175
8176 * files.el (save-some-buffers): Doc fix.
8177
8178 2011-04-02 Eli Zaretskii <eliz@gnu.org>
8179
8180 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8181
8182 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
8183
8184 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8185 Use `dolist' rather than `mapcar'.
8186
8187 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8188
8189 Add lexical binding.
8190
8191 * subr.el (apply-partially): Use new closures rather than CL.
8192 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8193 (dolist, dotimes): Use slightly different expansion for lexical code.
8194 (functionp): Move to C.
8195 (letrec): New macro.
8196 (with-wrapper-hook): Use it and apply-partially instead of CL.
8197 (eval-after-load): Preserve lexical-binding.
8198 (save-window-excursion, with-output-to-temp-buffer): Turn them
8199 into macros.
8200
8201 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8202
8203 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8204 than the arglist.
8205 (help-add-fundoc-usage): Don't add `Not documented'.
8206 (help-function-arglist): Handle closures, subroutines, and new
8207 byte-code-functions.
8208 (help-make-usage): Remove leading underscores.
8209 (describe-function-1): Handle closures.
8210 (describe-variable): Use special-variable-p for completion.
8211
8212 * files.el (lexical-binding): Declare safe.
8213
8214 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8215 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8216 (pcase): Add `let' pattern.
8217 Change memoization so it actually works.
8218 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8219 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8220 <let>: New case.
8221
8222 * emacs-lisp/macroexp.el: Use lexical binding.
8223 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8224 Don't convert ' to #' without checking that it's indeed quoting
8225 a lambda.
8226
8227 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
8228 Use eval-sexp-add-defvars.
8229 (eval-sexp-add-defvars): New fun.
8230
8231 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8232
8233 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8234 Don't autoload.
8235 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8236 than the internal `byte-compile-lambda'.
8237 (defmethod): Don't hide code under quotes.
8238 (eieio-defmethod): New `code' argument.
8239
8240 * emacs-lisp/eieio-comp.el: Remove.
8241
8242 * emacs-lisp/edebug.el (edebug-eval-defun)
8243 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8244 (edebug-toggle): Avoid `eval'.
8245
8246 * emacs-lisp/disass.el (disassemble-internal): Handle new
8247 `closure' objects.
8248 (disassemble-1): Handle new byte codes.
8249
8250 * emacs-lisp/cl.el (pushnew): Silence warning.
8251
8252 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8253 (cl-byte-compile-throw): Remove.
8254 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8255
8256 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8257 closures.
8258
8259 * emacs-lisp/cconv.el: New file.
8260
8261 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8262 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8263 (byte-compile-initial-macro-environment):
8264 Handle declare-function here.
8265 (byte-compile--lexical-environment): New var.
8266 (byte-stack-ref, byte-stack-set, byte-discardN)
8267 (byte-discardN-preserve-tos): New lap codes.
8268 (byte-interactive-p): Don't use any more.
8269 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8270 New macros.
8271 (byte-compile-lapcode): Use them and handle new lap codes.
8272 (byte-compile-obsolete): Remove.
8273 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8274 (byte-compile-arglist-warn): Check late def of inlinable funs.
8275 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8276 since they should have been expanded by now.
8277 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8278 (byte-compile-from-buffer): Remove unused second arg.
8279 (byte-compile-preprocess): New function.
8280 (byte-compile-toplevel-file-form): New function to distinguish
8281 file-form calls from outside from file-form calls from hunk-handlers.
8282 (byte-compile-file-form): Simplify.
8283 (byte-compile-file-form-defsubst): Remove.
8284 (byte-compile-file-form-defmumble): Simplify now that
8285 byte-compile-lambda always returns a byte-code-function.
8286 (byte-compile): Preprocess.
8287 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8288 Remove, not used any more.
8289 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8290 (byte-compile-make-args-desc): New funs.
8291 (byte-compile-lambda): Handle lexical functions. Always return
8292 a byte-code-function.
8293 (byte-compile-reserved-constants): New var, to make up room for
8294 closed-over variables.
8295 (byte-compile-constants-vector): Obey it.
8296 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8297 (byte-compile-macroexpand-declare-function): New function.
8298 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8299 byte-code-functions.
8300 (byte-compile-form): Check obsolescence here.
8301 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8302 (byte-compile-variable-ref): Remove.
8303 (byte-compile-dynamic-variable-op): New fun.
8304 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8305 (byte-compile-variable-set): New funs.
8306 (byte-compile-discard): Add 2 args.
8307 (byte-compile-stack-ref, byte-compile-stack-set)
8308 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8309 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8310 macroexpand-all instead.
8311 (byte-compile-quote-form): Remove.
8312 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8313 (byte-compile-bind, byte-compile-unbind): New funs.
8314 (byte-compile-let): Handle let* and lexical binding.
8315 (byte-compile-let*): Remove.
8316 (byte-compile-catch, byte-compile-unwind-protect)
8317 (byte-compile-track-mouse, byte-compile-condition-case):
8318 Handle a new :fun-body form, used for lexical scoping.
8319 (byte-compile-save-window-excursion)
8320 (byte-compile-with-output-to-temp-buffer): Remove.
8321 (byte-compile-defun): Simplify.
8322 (byte-compile-stack-adjustment): New fun.
8323 (byte-compile-out): Use it.
8324 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8325
8326 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8327 handler any more.
8328
8329 * emacs-lisp/byte-opt.el: Use lexical binding.
8330 (byte-inline-lapcode): Remove (to bytecomp).
8331 (byte-compile-inline-expand): Pay attention to inlining to/from
8332 lexically bound code.
8333 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8334 any more.
8335 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8336 any more and don't call compiler-macros.
8337 (byte-compile-splice-in-already-compiled-code): Remove.
8338 (byte-code): Don't inline any more.
8339 (disassemble-offset): Receive `bytes' as argument rather than via
8340 dynamic scoping.
8341 (byte-compile-tag-number): Declare before first use.
8342 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8343 `return' even if make-spliceable.
8344 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8345 obsolete interactive-p.
8346 (byte-optimize-lapcode): Optimize new lap-codes.
8347 Don't trip up on new form of `byte-constant' lap code.
8348
8349 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8350
8351 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8352
8353 * custom.el (custom-initialize-default, custom-declare-variable):
8354 Use `defvar'.
8355
8356 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8357 New variables.
8358 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8359 (COMPILE_FIRST): Add macroexp and cconv.
8360 * makefile.w32-in: Mirror changes in Makefile.in.
8361
8362 * vc/cvs-status.el:
8363 * vc/diff-mode.el:
8364 * vc/log-edit.el:
8365 * vc/log-view.el:
8366 * vc/smerge-mode.el:
8367 * textmodes/bibtex-style.el:
8368 * textmodes/css.el:
8369 * startup.el:
8370 * uniquify.el:
8371 * minibuffer.el:
8372 * newcomment.el:
8373 * reveal.el:
8374 * server.el:
8375 * mpc.el:
8376 * emacs-lisp/smie.el:
8377 * doc-view.el:
8378 * dired.el:
8379 * abbrev.el: Use lexical binding.
8380
8381 2011-04-01 Eli Zaretskii <eliz@gnu.org>
8382
8383 * info.el (info-display-manual): New function.
8384
8385 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8388
8389 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8390
8391 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
8392 an entry for that server in rcirc-authinfo. (Bug#8385)
8393
8394 2011-03-31 Glenn Morris <rgm@gnu.org>
8395
8396 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8397
8398 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8399
8400 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8401
8402 * progmodes/python.el (python-default-interpreter)
8403 (python-python-command-args, python-jython-command-args)
8404 (python-which-shell, python-which-args, python-which-bufname)
8405 (python-file-queue, python-comint-output-filter-function)
8406 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8407 variables and functions.
8408
8409 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8412 (completion-in-region-mode): New minor mode.
8413 (completion-in-region): Use it.
8414 (completion-in-region--data, completion-in-region-mode-map): New vars.
8415 (completion-in-region--postch): New function.
8416 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8417 New vars.
8418 (completion--capf-wrapper): New function.
8419 (completion-at-point): Use it to track well-behavedness of
8420 hook functions.
8421 (completion-help-at-point): New command.
8422
8423 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8424
8425 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8426 syntax class to search for whitespace on a single line
8427 (Message-ID: <4D938140.4030905@redhat.com>).
8428
8429 2011-03-30 Leo Liu <sdl.web@gmail.com>
8430
8431 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8432 New commands.
8433 (edit-abbrevs-map): Bind them here.
8434 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8435
8436 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8437
8438 * allout.el (allout-hide-by-annotation, allout-flag-region):
8439 Reduce possibility of overlay leakage by making them volatile.
8440
8441 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8442 hash is not shared between buffers. Mode initialization is
8443 responsible for giving it a useful starting value.
8444 (allout-item-span): Reduce possibility of overlay leakage by
8445 making them volatile.
8446 (allout-widgets-count-buttons-in-region): Add diagnostic function
8447 for tracking down button overlay leaks.
8448
8449 2011-03-29 Leo Liu <sdl.web@gmail.com>
8450
8451 * ido.el (ido-read-internal): Use the default history var
8452 minibuffer-history if no HISTORY is specified.
8453
8454 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8455
8456 * net/imap.el (imap-shell-open, imap-process-connection-type):
8457 Use imap-process-connection-type for 'shell' streams as well as
8458 Kerberos, SSL, other subprocesses.
8459
8460 2011-03-28 Leo Liu <sdl.web@gmail.com>
8461
8462 * abbrev.el (abbrev-table-empty-p): New function.
8463 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8464 nonempty ones. (Bug#5937)
8465
8466 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8467
8468 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8469
8470 2011-03-27 Leo Liu <sdl.web@gmail.com>
8471
8472 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8473 for foreground and background colors.
8474 (ansi-color-make-color-map): Adapt.
8475
8476 2011-03-25 Leo Liu <sdl.web@gmail.com>
8477
8478 * midnight.el (midnight-time-float): Remove. Note it calculates
8479 the microsecond component incorrectly and seconds-to-time does the
8480 same job.
8481 Remove redundant (require 'timer).
8482
8483 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8484 (ido-completions): Remove unused arguments. (Bug#8329)
8485
8486 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * minibuffer.el (completion--flush-all-sorted-completions):
8489 Remove itself from hook.
8490 (completion-at-point): Let the functions perform the completion
8491 immediately and return nil or t.
8492 * comint.el (comint-dynamic-complete-functions): Now identical to
8493 completion-at-point-functions.
8494 (comint-dynamic-list-input-ring): Remove unused var `index'.
8495 (comint--match-partial-filename, comint--unquote&expand-filename):
8496 New funs, split from comint-match-partial-filename.
8497 (comint-dynamic-complete): Use completion-at-point.
8498 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8499
8500 2011-03-24 Drew Adams <drew.adams@oracle.com>
8501
8502 * thingatpt.el: Support `defun'.
8503
8504 2011-03-23 Leo Liu <sdl.web@gmail.com>
8505
8506 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8507
8508 * help-mode.el (help-mode-finish): Tweak regexp.
8509
8510 2011-03-23 Glenn Morris <rgm@gnu.org>
8511
8512 * eshell/esh-opt.el (eshell-eval-using-options):
8513 Do not bind unused local variable `eshell-option-stub'.
8514
8515 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8516
8517 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
8518
8519 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8520 keymap variable in `with-no-warnings' to avoid a warning when the
8521 keymap has been already `defconst'ed.
8522
8523 2011-03-22 Leo Liu <sdl.web@gmail.com>
8524
8525 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8526 encode all chars in abbrevs; otherwise use emacs-mule or
8527 utf-8-emacs. (Bug#8308)
8528
8529 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
8530
8531 * simple.el (backward-delete-char-untabify):
8532 Avoid warning about using `delete-backward-char'.
8533
8534 * image.el (image-type-file-name-regexps): Make it variable.
8535 `imagemagick-register-types' modifies it, and the user may want
8536 to add new extensions for known image types.
8537 (imagemagick-register-types): Throw error if not using ImageMagick.
8538
8539 2011-03-22 Leo Liu <sdl.web@gmail.com>
8540
8541 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8542 located before rcirc-prompt-end-marker.
8543 (rcirc-complete): Error if point is not after rcirc prompt.
8544 Handle the case when table is nil.
8545 (rcirc-user-authenticated): Define to fix compiler warning.
8546
8547 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
8548
8549 * custom.el (custom--inhibit-theme-enable): Make it affect only
8550 custom-theme-set-variables and custom-theme-set-faces.
8551 (provide-theme): Ignore custom--inhibit-theme-enable.
8552 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8553 (custom-enabling-themes): Delete variable.
8554 (enable-theme): Accept only loaded themes as arguments.
8555 Ignore the special custom-enabled-themes variable.
8556 (custom-enabled-themes): Forbid themes from setting this.
8557 Eliminate use of custom-enabling-themes.
8558 (custom-push-theme): Quote "changed" custom var entry.
8559
8560 2011-03-21 Leo Liu <sdl.web@gmail.com>
8561
8562 * ido.el (ido-read-internal): Add ido-selected to history instead
8563 of user input.
8564
8565 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8566
8567 * subr.el (deferred-action-list, deferred-action-function):
8568 Mark obsolete.
8569
8570 2011-03-21 Leo Liu <sdl.web@gmail.com>
8571
8572 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8573 change on 2011-02-13 (bug#8309).
8574
8575 * minibuffer.el (read-file-name-function): Change default value.
8576 (read-file-name--defaults): Rename from read-file-name-defaults.
8577 (read-file-name-default): Rename from read-file-name.
8578 (read-file-name): Call read-file-name-function.
8579
8580 2011-03-21 Glenn Morris <rgm@gnu.org>
8581
8582 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8583 Doc fixes.
8584
8585 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
8586
8587 * cus-theme.el: Add missing provide statement.
8588 (customize-create-theme): Extract theme value correctly.
8589 (custom-theme-visit-theme): Autoload.
8590 (customize-create-theme): Prompt before inserting default faces.
8591
8592 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8593
8594 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8595 units and musical notes.
8596
8597 2011-03-20 Leo <sdl.web@gmail.com>
8598
8599 * ido.el (ido-read-internal): Use completing-read-default.
8600 (ido-completing-read): Fix compatibility with completing-read.
8601
8602 2011-03-20 Christian Ohler <ohler@gnu.org>
8603
8604 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8605 (ert-delete-all-tests): Use `called-interactively-p' rather than
8606 `interactive-p'.
8607 (ert--make-xrefs-region): Respect END.
8608
8609 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
8610
8611 * dired-aux.el (dired-create-directory): Signal an error if the
8612 directory already exists (Bug#8246).
8613
8614 * facemenu.el (list-colors-display): Call list-faces-display
8615 inside with-help-window.
8616 (list-colors-print): Use display property to align the final
8617 column, instead of checking window-width.
8618
8619 2011-03-19 Eli Zaretskii <eliz@gnu.org>
8620
8621 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
8622 windows-nt systems.
8623 (emerge-protect-metachars): Quote correctly for ms-dos and
8624 windows-nt systems.
8625
8626 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
8627
8628 * info.el (info-initialize): Replace all uses of `:' with
8629 path-separator for compatibility with non-Unix systems.
8630 Cache quoting of path-separator. (Bug#8258)
8631
8632 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
8633
8634 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8635 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8636 (mouse-avoidance-mode): Fix typos in docstrings.
8637
8638 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
8639
8640 * startup.el (package-subdirectory-regexp): Move from package.el.
8641 Omit \\` and \\', and let callers add them.
8642
8643 * emacs-lisp/package.el (package-strip-version)
8644 (package-load-all-descriptors): Add \\` and \\' to
8645 package-subdirectory-regexp before using it.
8646 (package-untar-buffer): New arg DIR; ensure that file untars only
8647 into this expected directory. Remove superfluous delete-region.
8648 (package-unpack): Caller changed.
8649 (package-tar-file-info): Use package-subdirectory-regexp.
8650
8651 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8652
8653 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8654 diff-mode-shared-map (bug#8284).
8655 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
8656
8657 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8658
8659 * calendar/time-date.el (format-seconds): Use assoc instead of
8660 assoc-string, since assoc-string doesn't exist in XEmacs.
8661
8662 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
8663
8664 * custom.el (custom-known-themes): Reflow docstring.
8665 (custom-theme-load-path): Fix typo in docstring.
8666 (load-theme): Fix typo in error message.
8667 (custom-available-themes, custom-variable-theme-value):
8668 Use `let', not `let*'.
8669
8670 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8671
8672 * calc/README: Mention inclusion of musical notes.
8673
8674 * calc/calc-units.el (calc-lu-quant): Rename from
8675 `calc-logunits-quantity'.
8676 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8677 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8678 (calc-db): Rename from `calc-dblevel'.
8679 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8680 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8681 (calc-np): Rename from `calc-nplevel'.
8682 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8683 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8684 (calc-lu-plus): Rename from `calc-logunits-add'.
8685 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8686 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8687 (calc-lu-minus): Rename from `calc-logunits-sub'.
8688 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8689 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8690 (calc-lu-times): Rename from `calc-logunits-mul'.
8691 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8692 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8693 (calc-lu-divide): Rename from `calc-logunits-div'.
8694 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8695 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8696
8697 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8698 functions being autoloaded.
8699
8700 * calc/calc.el (calc-lu-power-reference): Rename from
8701 `calc-logunits-power-reference'.
8702 (calc-lu-field-reference): Rename from
8703 `calc-logunits-field-reference'.
8704
8705 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8706
8707 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8708
8709 * minibuffer.el (completion-all-sorted-completions):
8710 Use :completion-cycle-penalty text property if present.
8711
8712 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8713
8714 * allout.el (allout-yank-processing): Adjust for new rebulleting
8715 regime so bullet being yanked is used without prompting the user
8716 for a choice.
8717
8718 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
8719
8720 * startup.el (command-line): Warn the user that _emacs is deprecated.
8721
8722 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
8723
8724 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8725 (delphi-verbose, delphi-comment-face, delphi-string-face)
8726 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8727 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8728 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8729 (delphi-new-comment-line, delphi-font-lock-defaults)
8730 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8731 Fix typos in docstrings.
8732
8733 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8734
8735 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
8736 Invert the roles of character and string values for INSTEAD, so a
8737 string is used for the more common case of a defaulting prompt.
8738
8739 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8740
8741 * progmodes/ruby-mode.el (ruby-backward-sexp):
8742 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8743 * play/gamegrid.el (gamegrid-make-face):
8744 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8745 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8746 * notifications.el (notifications-notify):
8747 * net/xesam.el (xesam-search-engines):
8748 * net/quickurl.el (quickurl-list-insert):
8749 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8750
8751 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
8752
8753 * startup.el (command-line): Update package subdirectory regexp.
8754
8755 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8756
8757 * allout.el (allout-abbreviate-flattened-numbering)
8758 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8759
8760 * subr.el (read-char-choice): Only show the cursor after the prompt,
8761 not after the answer.
8762
8763 2011-03-15 Kevin Ryde <user42@zip.com.au>
8764
8765 * help-fns.el (variable-at-point): Skip leading quotes, if any
8766 (bug#8253).
8767
8768 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8769
8770 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8771 warning message.
8772
8773 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
8774
8775 * shell.el (shell): When called interactively, offer to change the
8776 shell file name on remote hosts.
8777
8778 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8779
8780 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8781 integration for LDAP parameters. The host, base, user or binddn,
8782 and secret tokens can be specified in a netrc file, for instance.
8783 This is optional because an `auth-source' parameter must be
8784 specified in the search attributes.
8785
8786 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
8787
8788 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8789
8790 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8791
8792 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8793 into declaration. Remove redundant and harmful binding.
8794
8795 2011-03-12 Eli Zaretskii <eliz@gnu.org>
8796
8797 * files.el (file-ownership-preserved-p): Pass `integer' as an
8798 explicit 2nd argument to `file-attributes'. If the file's owner
8799 is the Administrators group on Windows, and the current user is
8800 Administrator, consider that a match.
8801
8802 * server.el (server-ensure-safe-dir): Consider server directory
8803 safe on MS-Windows if its owner is the Administrators group while
8804 the current Emacs user is Administrator. Use `=' to compare
8805 numerical UIDs, since they could be integers or floats.
8806
8807 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
8808
8809 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8810
8811 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
8812
8813 Sync with Tramp 2.2.1.
8814
8815 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8816
8817 * net/trampver.el: Update release number.
8818
8819 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8820
8821 * progmodes/compile.el (compilation--previous-directory): Fix up
8822 various nil/dead-marker mismatches (bug#8014).
8823 (compilation-directory-properties, compilation-error-properties):
8824 Don't call it at a position past the one we're about to change.
8825
8826 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8827 Disable obsolescence warnings in the file that declares it.
8828
8829 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8830
8831 * allout-widgets.el (allout-widgets-tally):
8832 Initialize allout-widgets-tally as a hash table rather than nil to
8833 prevent mode-line redisplay warnings. Also, clarify the module
8834 description and fix a comment typo.
8835
8836 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
8837
8838 * help-fns.el (describe-variable): Don't complete keywords.
8839 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8840
8841 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
8842
8843 * emacs-lisp/package.el (package-version-join): Impose a standard
8844 string representation for pre/alpha/beta version lists.
8845 (package-unpack-single): Standardize the directory name by passing
8846 it through package-version-join.
8847 (package-strip-rcs-id): Accept any version string that does not
8848 signal an error in version-to-list.
8849
8850 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
8851
8852 * simple.el (delete-trailing-whitespace): Return nil for the
8853 benefit of `write-file-functions'.
8854
8855 2011-03-10 Glenn Morris <rgm@gnu.org>
8856
8857 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8858
8859 * vc/vc-git.el (vc-git-program): New option.
8860 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8861 (vc-git--call): Use it.
8862
8863 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8864
8865 * cus-edit.el (Custom-newline): If no button at point, look
8866 for a subgroup button at start-of-line. (Bug#2298)
8867
8868 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8869
8870 2011-03-10 Julien Danjou <julien@danjou.info>
8871
8872 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8873 `cursor-type' is nil.
8874
8875 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8876
8877 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8878
8879 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8880
8881 * allout.el Summary: Change so yank of distinctive-bullet items
8882 preserves the existing header prefix, rebulleting it if necessary,
8883 rather than replacing it. This is necessary for proper operation
8884 of cooperative addons like allout-widgets.
8885 (allout-make-topic-prefix, allout-rebullet-heading): Change
8886 SOLICIT arg to INSTEAD, and interpret additionally a string value
8887 as alternate bullet to be used, instead of prompting the user for
8888 a bullet character.
8889
8890 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
8891
8892 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8893 Do not use `tramp-file-name-port', because this returns also
8894 `tramp-default-port'.
8895
8896 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8897
8898 * net/rcirc.el (rcirc-handler-001): Remove useless
8899 with-rcirc-process-buffer.
8900 (rcirc-check-auth-status): Swap arguments to string-match.
8901
8902 2011-03-09 Glenn Morris <rgm@gnu.org>
8903
8904 * shell.el (shell-mode):
8905 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8906
8907 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8908 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8909
8910 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
8911
8912 * emacs-lisp/package.el (package-refresh-contents)
8913 (package-menu-execute): Use condition-case-no-debug.
8914
8915 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
8916
8917 * simple.el (shell-command-to-string): Use `process-file'.
8918
8919 * emacs-lisp/package.el (package-tar-file-info): Handle also
8920 remote files.
8921
8922 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8923 Use `equal' for upload base check.
8924
8925 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8926
8927 * textmodes/texinfo.el (texinfo-environments):
8928 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8929
8930 2011-03-08 Glenn Morris <rgm@gnu.org>
8931
8932 * cus-start.el (cursor-in-non-selected-windows):
8933 Fix :set quoting oddness. (Bug#8192)
8934
8935 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8936 in some setf expressions. (Bug#2159)
8937
8938 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
8939
8940 * custom.el (custom-available-themes): Return themes in
8941 alphabetical order.
8942
8943 See ChangeLog.15 for earlier changes.
8944
8945 ;; Local Variables:
8946 ;; coding: utf-8
8947 ;; End:
8948
8949 Copyright (C) 2011 Free Software Foundation, Inc.
8950
8951 This file is part of GNU Emacs.
8952
8953 GNU Emacs is free software: you can redistribute it and/or modify
8954 it under the terms of the GNU General Public License as published by
8955 the Free Software Foundation, either version 3 of the License, or
8956 (at your option) any later version.
8957
8958 GNU Emacs is distributed in the hope that it will be useful,
8959 but WITHOUT ANY WARRANTY; without even the implied warranty of
8960 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8961 GNU General Public License for more details.
8962
8963 You should have received a copy of the GNU General Public License
8964 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.