* lisp/progmodes/sh-script.el (sh-assignment-regexp): Add entry for
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e981b61f
AS
12011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2
3 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
4 bash.
5
3ffbc301
JL
62011-11-19 Juri Linkov <juri@jurta.org>
7
8 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11 `old-history', `old-history-forward'. Add let-binding
12 `window-selected'. Remove calls to `kill-buffer',
13 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14 before calling `Info-find-node', so `Info-find-node-2' will reread
15 the Info file. Restore window positions only when `window-selected'
16 is non-nil.
17
30c62133
JL
182011-11-19 Juri Linkov <juri@jurta.org>
19
20 * isearch.el (isearch-lazy-highlight-new-loop):
21 Remove condition `(not isearch-error)'. (Bug#9918)
22
23 * misearch.el (multi-isearch-search-fun): Add condition
24 `(not bound)' to ignore lazy-highlighting search.
25 Add the search-failed message "end of multi" when the end of
26 multi-sequence is reached. Uncapitalize the search-failed
27 message "Repeat for next buffer".
28
29 * info.el (Info-search): Add the search-failed message
30 "end of the manual" when the end of the manual is reached
31 in Isearch mode.
32
645ca9cf
JL
332011-11-19 Juri Linkov <juri@jurta.org>
34
35 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
36 Use non-destructive `remove' instead of `delete' because
37 `Info-history-list' stored to `Info-isearch-initial-history-list' in
38 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
39
df754f66
JL
402011-11-19 Juri Linkov <juri@jurta.org>
41
42 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
43 to nil instead of binding `search-ring' and `regexp-search-ring'.
44 (Bug#9185)
45
0e23d96a
EZ
462011-11-19 Eli Zaretskii <eliz@gnu.org>
47
48 * simple.el (line-move): Force movement by logical lines for any
49 hscrolled window, not only when auto-hscroll-mode is on.
50 (line-move-visual): Update doc string to that effect. (Bug#10076)
51
8a6ccb66
AS
522011-11-19 Andreas Schwab <schwab@linux-m68k.org>
53
54 * language/european.el (macintosh): Define as alias for mac-roman.
55
49ae5b39
EZ
562011-11-19 Eli Zaretskii <eliz@gnu.org>
57
58 * mail/rmailmm.el (rmail-mime-display-header)
59 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
60 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
61 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
62 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
63 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
64 of a raw aref.
65 (rmail-mime-entity-segment): To get past the tagline, move forward
66 2 more lines, to account for the 2 empty lines that precede and
67 follow the line with the buttons.
68 (rmail-mime-update-tagline): Move one more line, to get past the
69 empty line that follows the buttons in the tagline. (Bug#9520)
70
c56cad4a
MR
712011-11-19 Martin Rudalics <rudalics@gmx.at>
72
73 * window.el (window-max-delta-1, window-min-delta-1)
74 (window-min-size-1, window-state-get-1, window-state-put-1)
75 (window-state-put-2): Use "window--" prefix.
76
cbe71af3
SM
772011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
78
2ad52c60
SM
79 * emacs-lisp/smie.el: Improve warnings and conflict detection.
80 (smie-warning-count): New var.
81 (smie-set-prec2tab): Use it.
82 (smie-bnf->prec2): Improve warnings. Add docstring.
83 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
84 (smie-bnf--set-class): New function.
85 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
86 corner case.
87
6944dbc1
SM
88 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
89 (compilation-error-properties, compilation-move-to-column):
90 Handle compilation-first-column while in the target buffer.
91
c400c4d7
SM
92 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
93 Don't hardcode point-min==1.
94
6dbe3e96
SM
95 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
96 (eshell-rewrite-for-command): Remove workaround.
97 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
98 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
99 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
100
cbe71af3
SM
101 * files-x.el (modify-file-local-variable): Obey commenting conventions.
102
a8e1496d
GM
1032011-11-17 Glenn Morris <rgm@gnu.org>
104
105 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
106 Ignore buffer-local generated-autoload-file if it is the same
107 as the global value. (Bug#10049)
108
df85d315
JB
1092011-11-17 Juanma Barranquero <lekktu@gmail.com>
110
111 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
112 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
113 (reftex-toc-previous-heading, reftex-toc-max-level)
114 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
115 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
116 (reftex-toc-do-promote, reftex-toc-promote-prepare)
117 (reftex-toc-promote-action, reftex-toc-extract-section-number)
118 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
119 (reftex-toc-rename-label, reftex-toc-visit-location)
120 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
121 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
122 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
123 leaving "*toc*" only for references to the buffer.
124
a0c2d0ae
MR
1252011-11-17 Martin Rudalics <rudalics@gmx.at>
126
127 * window.el (window-resize, delete-window, split-window):
128 Replace window-splits by window-combination-resize.
129 * cus-start.el (window-splits): Replace by
130 window-combination-resize.
131
35c0bac8
GM
1322011-11-17 Glenn Morris <rgm@gnu.org>
133
134 * progmodes/sh-script.el (sh-font-lock-keywords-var):
135 Make bash entry derive from sh entry, not shell entry.
136
d0c8fc8a
MA
1372011-11-16 Michael Albinus <michael.albinus@gmx.de>
138
139 * net/tramp.el (tramp-handle-file-truename): Cache only the local
140 file name.
141
142 * net/tramp-cache.el (tramp-flush-file-property): Flush also
143 properties of linked files. (Bug#9879)
144
7877f373
JB
1452011-11-16 Juanma Barranquero <lekktu@gmail.com>
146
147 * menu-bar.el (menu-bar-file-menu):
148 * printing.el (pr-ps-utility):
149 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
150 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
151 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
152 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
153 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
154 (icalendar--convert-cyclic-to-ical)
155 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
156 (icalendar--convert-ical-to-diary)
157 (icalendar--convert-recurring-to-diary)
158 (icalendar--convert-non-recurring-all-day-to-diary)
159 (icalendar-import-format-sample):
160 * progmodes/idlw-shell.el (idlwave-shell-mode):
161 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
162 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
163 (vhdl-ps-print-init): Fix typos.
164
10649b82
KM
1652011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
166
9d0cfcd6
GM
167 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
168 FSF and collapse date sequence, obscure author/maintainer email address
169 better, remove extra version line, track relocation of author's webpage.
10649b82 170
9d0cfcd6
GM
171 * progmodes/python.el (python-pdbtrack-input-prompt)
172 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
173 regular python pdb prompts. Adjustments shamelessly taken exactly as
174 suggested in EmacsWiki page (tiny change):
175 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 176
58179cce
JB
1772011-11-16 Juanma Barranquero <lekktu@gmail.com>
178
179 * expand.el (expand-pos, expand-index, expand-point):
180 Remove redundant info from docstring.
181 (expand-add-abbrevs): Doc fix.
182 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
183 (expand-sample-perl-mode-expand-list): Fix typos.
184
185 * net/dbus.el (dbus-event-member-name):
186 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
187 * term/pc-win.el (msdos-create-frame-with-faces):
188 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
189
b6f67890
MR
1902011-11-16 Martin Rudalics <rudalics@gmx.at>
191
192 * window.el (split-window, window-state-get-1)
193 (window-state-put-1, window-state-put-2): Rename occurrences of
194 window-nest to window-combination-limit.
195 * cus-start.el (window-nest): Rename to
196 window-combination-limit.
197
ce7ddba0
CY
1982011-11-16 Chong Yidong <cyd@gnu.org>
199
200 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
201 regexp (Bug#10033).
202
3ae704f4
SM
2032011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
204
205 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
206 `completing-read' will remove *Completions* and will preserve
207 current-buffer for us.
208 (tmm-add-prompt): Users of *Completions* will always (re)set its
209 major mode.
210 (tmm-old-comp-map): Remove.
211
6ad1cdde
GM
2122011-11-16 Glenn Morris <rgm@gnu.org>
213
214 * mail/rmailedit.el: Require rmailmm when compiling.
215 (rmail-old-mime-state): New declaration.
216 (rmail-edit-current-message): If editing a mime message,
217 edit the "raw" message from the mbox buffer.
218 (rmail-cease-edit): Handle mime messages. (Bug#9840)
219
d20faa20
GM
2202011-11-15 Glenn Morris <rgm@gnu.org>
221
222 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
223 which wasn't being used. Add optional arg to force given state.
224 (rmail-mime): Add optional arg to force given state.
225
c7015153
JB
2262011-11-15 Juanma Barranquero <lekktu@gmail.com>
227
228 * allout.el (allout-encryption-plaintext-sanitization-regexps):
229 * frame.el (display-mm-dimensions-alist):
230 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
231 (outline-move-subtree-down):
232 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
233 (newsticker--treeview-do-get-node):
234 * net/quickurl.el (quickurl-list-buffer-name):
235 * progmodes/dcl-mode.el (dcl-mode):
236 * progmodes/gdb-mi.el (gdb-mapcar*):
237 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
238
45261b50
GM
2392011-11-15 Glenn Morris <rgm@gnu.org>
240
241 * mail/rmail.el (rmail-file-coding-system): It's only ever used
242 in a boolean sense, so just make it a boolean, and fix the doc.
243 (rmail-show-mime-function, rmail-mime-feature)
244 (rmail-require-mime-maybe): Doc fixes.
245 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
246
247 * mail/rmailmm.el (rmail-show-mime): Doc fix.
248
0d26e0b6
JB
2492011-11-15 Juanma Barranquero <lekktu@gmail.com>
250
251 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
252 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
253 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
254 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
255
447f30f6
GM
2562011-11-15 Glenn Morris <rgm@gnu.org>
257
672b871d
GM
258 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
259 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
260 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
261 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
262 (rmail-mime, rmail-show-mime): Doc fixes.
263
f6aa5bb1
GM
264 * term/ns-win.el (mode-line-frame-identification):
265 Leave it alone. (Bug#10051)
266
947cd66b
GM
267 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
268
447f30f6
GM
269 * mail/rmailout.el (rmail-output-to-rmail-buffer):
270 Handle empty buffers. (Bug#9978)
271
0b381c7e
JB
2722011-11-14 Juanma Barranquero <lekktu@gmail.com>
273
274 * international/mule.el (define-charset):
275 * mail/rmailmm.el (rmail-mime-find-header-encoding):
276 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
277 * progmodes/verilog-mode.el (verilog-backward-token):
278 * textmodes/ispell.el (lookup-words):
279 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
280
71e027ac
GM
2812011-11-14 Glenn Morris <rgm@gnu.org>
282
56632ce4
GM
283 * progmodes/executable.el
284 (executable-make-buffer-file-executable-if-script-p):
285 Handle file-modes returning nil.
286
40500957
GM
287 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
288 message - not necessary, and causes problems. (Bug#9831)
289
071c2340
GM
290 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
291
d3cfca60
GM
292 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
293
71e027ac
GM
294 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
295 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
296 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
297
89d61221
MR
2982011-11-12 Martin Rudalics <rudalics@gmx.at>
299
300 * window.el (window-resize, delete-window): Use window-splits
301 variable instead of function.
302 (window-state-get-1, window-state-put-2, window-state-put):
303 Don't deal with windows' splits status.
304
98282f6f
GM
3052011-11-12 Glenn Morris <rgm@gnu.org>
306
307 * apropos.el (apropos-do-all, apropos-library, apropos-value)
308 (apropos-documentation): Doc fixes.
309
40a8bdf6
JB
3102011-11-11 Juanma Barranquero <lekktu@gmail.com>
311
312 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
313 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
314
65bd19ff
SM
3152011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * electric.el (electric-indent-post-self-insert-function): Make it
318 possible for a char to only indent in some circumstances.
319 (electric-indent-mode): Simplify.
320
54f9154c
MR
3212011-11-11 Martin Rudalics <rudalics@gmx.at>
322
323 * window.el (windows-with-parameter): Remove unused function.
324 (windows-at-side): Rename to window-at-side-list.
325 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
326 (window-side-check, window-size-ignore, window-size-fixed-1)
327 (window-in-direction-2): Prefix with "window--".
328 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 329
68cbc58b
GM
3302011-11-11 Glenn Morris <rgm@gnu.org>
331
332 * subr.el (eval-after-load): If FILE is already loaded,
333 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
334
b2621720
GM
3352011-11-10 Glenn Morris <rgm@gnu.org>
336
9a4de110
GM
337 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
338 Call svn via vc-svn-command rather than vc-do-command.
339 (vc-svn-command): Add --non-interactive. (Bug#9993)
340 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
341
b2621720
GM
342 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
343 Add toggle-read-only. (Bug#7292)
344 * files.el (toggle-read-only): Mention that it should only
345 be used interactively. (Bug#10006)
346
1dce7193
SM
3472011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
348
d9ac1a1e
SM
349 * progmodes/compile.el (compilation-error-regexp-alist-alist):
350 Adjust regexp for OCaml warnings.
351
0c325082
SM
352 * electric.el (electric-pair-post-self-insert-function): Let user
353 turn it off buffer-locally (bug#9932).
354
90132c14
SM
355 * progmodes/python.el (python-beginning-of-statement):
356 Rewrite (bug#2703).
357
1dce7193
SM
358 * progmodes/compile.el: Better handle TABs (bug#9749).
359 (compilation-internal-error-properties)
360 (compilation-next-error-function): Obey the target buffer's
361 compilation-error-screen-columns.
362
c4e7c63a
JB
3632011-11-09 Juanma Barranquero <lekktu@gmail.com>
364
365 * progmodes/meta-mode.el: Remove obsolete comments.
366 (meta-right-comment-regexp, meta-ignore-comment-regexp):
367 Fix typos in docstrings.
368
2cffd681
MR
3692011-11-09 Martin Rudalics <rudalics@gmx.at>
370
371 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 372 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
373 (window--resizable): New function. Make all callers of
374 window-resizable call window--resizable instead.
375 (window-resizable): Rewrite in terms of window--resizable.
376
0edcba87
GM
3772011-11-08 Glenn Morris <rgm@gnu.org>
378
379 * progmodes/delphi.el (delphi-mode-syntax-table):
380 Let define-derived-mode define a proper syntax table. (Bug#9994)
381
4b0d61e3
SM
3822011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * window.el: Stay away from defsubst.
385 (window-list-no-nils): Remove.
386 (window-state-get-1, window-state-get): Use backquote instead.
387
fcbcac2e 3882011-11-08 thierry <thierry.volpiatto@gmail.com>
389
4b0d61e3 390 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 391 Fix incorrect use of default argument in `completing-read'.
392
e1c2c6f2
MR
3932011-11-08 Martin Rudalics <rudalics@gmx.at>
394
395 * window.el (display-buffer-function, special-display-function):
396 Mention display-buffer-record-window but do not mention
397 help-setup parameter in doc-strings.
b3f4a882 398 (window-min-delta): Fix doc-string typo.
e1c2c6f2 399
105216ed
CY
4002011-11-08 Chong Yidong <cyd@gnu.org>
401
402 * window.el (window-total-height, window-total-width): Doc fix.
403 (window-body-size): Move from C.
404 (window-body-height, window-body-width): Move to C.
405
0a9f9ab5
SM
4062011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
407
408 * window.el: Make special-display like display-buffer-alist (bug#9532).
409 (display-buffer--special-action): New function, morphed
410 from display-buffer--special.
411 (display-buffer): Use it to handle special-display-buffers at higher
412 priority (just after display-buffer-alist).
413 (display-buffer-fallback-action, display-buffer--other-frame-action)
414 (pop-to-buffer-same-window): Remove display-buffer--special.
415
a769dd15
GM
4162011-11-07 Glenn Morris <rgm@gnu.org>
417
418 * calendar/cal-menu.el (cal-menu-set-date-title):
419 Do nothing if not in a calendar. (Bug#9976)
420
05a61ee3
SM
4212011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 * files.el (find-file): Always use selected-window.
424
be7f5545
MR
4252011-11-07 Martin Rudalics <rudalics@gmx.at>
426
427 * window.el (window-combinations): Make WINDOW argument
428 mandatory. Rewrite doc-string.
429 (walk-window-subtree, window-atom-check, window-min-delta)
430 (window-max-delta, window--resize-this-window)
431 (window--resize-root-window-vertically, window-tree)
432 (balance-windows, window-state-put): Rewrite doc-strings as to
433 not mention the term "subwindow".
434 (window--resize-subwindows-skip-p): Rename to
435 window--resize-child-windows-skip-p.
436 (window--resize-subwindows-normal): Rename to
437 window--resize-child-windows-normal.
438 (window--resize-subwindows): Rename to
439 window--resize-child-windows.
440 (window-or-subwindow-p): Rename to window--in-subtree-p.
441
3c6702ef
ML
4422011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
443
444 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
445 Ensure that mbox format messages end in two newlines (Bug#9974).
446
49745b39
CY
4472011-11-06 Chong Yidong <cyd@gnu.org>
448
449 * window.el (window-combination-p): Function deleted; its
450 side-effect is not used in any existing code.
451 (window-combinations, window-combined-p): Call window-*-child
452 directly.
453
24300f5f
CY
4542011-11-05 Chong Yidong <cyd@gnu.org>
455
456 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
457 (window-size-ignore, window-state-get): Callers changed.
458 (window-normalize-window): Rename from window-normalize-any-window.
459 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 460 (window-normalize-live-window): Delete.
447f16b8
CY
461 (window-combination-p, window-combined-p, window-combinations)
462 (walk-window-subtree, window-atom-root, window-min-size)
463 (window-sizable, window-sizable-p, window-size-fixed-p)
464 (window-min-delta, window-max-delta, window-resizable)
465 (window-resizable-p, window-full-height-p, window-full-width-p)
466 (window-current-scroll-bars, window-point-1, set-window-point-1)
467 (window-at-side-p, window-in-direction, window-resize)
468 (adjust-window-trailing-edge, maximize-window, minimize-window)
469 (window-deletable-p, delete-window, delete-other-windows)
470 (record-window-buffer, unrecord-window-buffer)
471 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
472 (quit-window, split-window, window-state-put)
473 (set-window-text-height, fit-window-to-buffer)
474 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 475
89bd5ee1
EZ
4762011-11-04 Eli Zaretskii <eliz@gnu.org>
477
53479029
EZ
478 * mail/rmail.el (rmail-simplified-subject): Decode subject with
479 rfc2047-decode-string.
480 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
481 warnings.
482
89bd5ee1
EZ
483 * window.el (window-body-height, window-body-width): Mention in
484 the doc string that the return values are in frame's canonical
485 units. (Bug#9949)
486
bd17fdee
AM
4872011-11-03 Alan Mackenzie <acm@muc.de>
488
489 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
490 change in cc-engine.el.
491
acc825c5
SM
4922011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 * window.el (switch-to-buffer): Use `force-same-window' interactively.
495
1885e5b8
MR
4962011-11-02 Martin Rudalics <rudalics@gmx.at>
497
498 * window.el (quit-window): Call unrecord-window-buffer after
499 showing another buffer in the window. (Bug#9937)
acc825c5 500 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 501
ebe06da9
JB
5022011-11-02 Juanma Barranquero <lekktu@gmail.com>
503
504 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
505 Accept status with more than 9 shelves. (Bug#9935)
506 Reported by Colin D Bennett <colin@gibibit.com>.
507
4ee88440
MR
5082011-11-01 Martin Rudalics <rudalics@gmx.at>
509
510 * help.el (with-help-window): Don't reference
511 temp-buffer-show-specifiers in doc-string.
512
08e1d82c
AS
5132011-10-31 Andreas Schwab <schwab@linux-m68k.org>
514
515 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
516 menu-item.
517
84bd6e9e
VJL
5182011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
519
520 * whitespace.el: New version 13.2.2.
521 (whitespace-newline-mode): Disable properly. Reported by Sarah
522 <EmacsWiki>.
523
dba0634a
UJ
5242011-10-30 Ulf Jasper <ulf.jasper@web.de>
525
526 * net/newst-treeview.el: Remove "Time-stamp".
527 (newsticker--group-manage-orphan-feeds): Do not call
528 newsticker--treeview-tree-update.
db22a3c2
JB
529 (newsticker-treeview-update, newsticker-treeview):
530 Call newsticker--treeview-tree-update if necessary.
dba0634a 531
3d8daefe
MR
5322011-10-30 Martin Rudalics <rudalics@gmx.at>
533
534 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
535 (window-iso-combinations): Remove "iso-" infix.
536 Suggested by Chong Yidong.
3d8daefe
MR
537 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
538 (window-max-delta-1, window-resize, window--resize-siblings)
539 (window--resize-this-window, adjust-window-trailing-edge)
540 (split-window, balance-windows-1)
541 (shrink-window-if-larger-than-buffer):
542 * calendar/calendar.el (calendar-generate-window):
db22a3c2 543 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 544
1bc4c3ae
SM
5452011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
548 in place (bug#9907).
549 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
550 (eshell-rewrite-if-command, eshell-rewrite-for-command)
551 (eshell-structure-basic-command, eshell-rewrite-while-command)
552 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
553 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
554 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
555 (eshell-do-pipelines-synchronously, eshell-eval-command):
556 Use backquotes and prefer setq to set.
557 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
558 (eshell-macrop): Use functionp.
c1e2f5fa 559 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 560
30b65d9c
CY
5612011-10-30 Chong Yidong <cyd@gnu.org>
562
563 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
564 instead of set-mark (Bug#9810).
565
2d197ffb
CY
5662011-10-30 Chong Yidong <cyd@gnu.org>
567
568 * window.el (split-window-below, split-window-right): Rename from
569 split-window-above-each-other and split-window-side-by-side
570 respectively. All callers changed.
571 (split-window-sensibly, split-window-sensibly): Use them.
572 (split-window-keep-point): Doc fix.
573
574 * isearch.el: Add isearch-scroll property to split-window-below
575 and split-window-right.
576
577 * follow.el (follow-mode):
578 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
579 * progmodes/ada-xref.el (ada-gdb-application):
580 * emulation/vip.el (vip-buffer-in-two-windows):
581 * image-dired.el (image-dired-dired-with-window-configuration):
582 * dired-x.el (dired-do-find-marked-files):
583 * dired.el (dired-pop-to-buffer):
584 * bs.el (bs--show-with-configuration):
585 * vc/emerge.el (emerge-setup-windows):
586 * textmodes/two-column.el (2C-two-columns):
587 * textmodes/reftex-toc.el (reftex-toc):
588 * progmodes/gdb-mi.el (gdb-setup-windows):
589 * progmodes/fortran.el (fortran-window-create):
590 * net/newst-treeview.el (newsticker--treeview-window-init):
591 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
592 * emulation/tpu-edt.el (tpu-gold-map):
593 * emulation/crisp.el (crisp-mode-map):
594 * calendar/calendar.el (calendar-basic-setup): Callers changed.
595
38bb2ca8
CY
5962011-10-29 Chong Yidong <cyd@gnu.org>
597
aa4de341
CY
598 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
599
e1eb5385
CY
600 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
601
5d2ece3c
CY
602 * textmodes/flyspell.el (flyspell-word): Fix char offset for
603 forged Ispell output (Bug#7904).
604
38bb2ca8
CY
605 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
606
d0af9f77
SM
6072011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * doc-view.el: Avoid ugly errors about not finding nil.
610 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
611 (doc-view-dvipdf-program, doc-view-unoconv-program)
612 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
613 Avoid nil or absolute file name as default value.
614 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
615
52bedd34
AM
6162011-10-28 Alan Mackenzie <acm@muc.de>
617
db22a3c2 618 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 619
7e43cfa5
AM
6202011-10-28 Alan Mackenzie <acm@muc.de>
621
622 Amend the handling of c-beginning/end-of-defun in nested declaration
623 scopes.
624
52bedd34
AM
625 * progmodes/cc-vars.el (c-defun-tactic): Move here from
626 cc-langs.el. Change it to a defcustom.
7e43cfa5 627
52bedd34
AM
628 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
629 cc-vars.el.
7e43cfa5 630
d0af9f77
SM
631 * progmodes/cc-engine.el (c-beginning-of-statement-1):
632 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 633
52bedd34 634 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 635 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
636 (c-widen-to-enclosing-decl-scope): New function.
637 (c-while-widening-to-decl-block): New macro.
638 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
639 outward for defun boundaries, and correspondingly change symbol
640 `respect-enclosure' to `go-outward'.
641 (c-declaration-limits): Change algorithm to report only the "innermost"
642 defun's boundaries.
643
1a2ce9ee
DD
6442011-10-28 Deniz Dogan <deniz@dogan.se>
645
646 * net/rcirc.el (rcirc-mode): Use hard newlines.
647
bc97a826
AM
6482011-10-28 Alan Mackenzie <acm@muc.de>
649
650 Amend to indent and fontify macros "which include their own semicolon"
651 correctly, using the "virtual semicolon" mechanism.
652
52bedd34 653 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 654
d0af9f77 655 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 656 Recode to scan one line at a time rather than having \n and \r
58179cce 657 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 658 (c-forward-label): Amend for virtual semicolons.
58179cce 659 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 660
52bedd34
AM
661 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
662 of the new C macros.
bc97a826 663
52bedd34 664 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
665 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
666 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
667 (c-opt-cpp-macro-define): Make into a full language variable.
668 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
669 AWK Mode (including \n, \r) removed, no longer needed.
670
d0af9f77
SM
671 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
672 Invoke c-make-macro-with-semi-re.
bc97a826 673
52bedd34
AM
674 * progmodes/cc-vars.el (c-macro-with-semi-re):
675 (c-macro-names-with-semicolon): New variables.
58179cce 676 (c-make-macro-with-semi-re): New function.
bc97a826 677
7a6c0941
SM
6782011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
679
680 * vc/log-edit.el: Fill empty field rather than adding new one.
681 (log-edit-add-field): New function.
682 (log-edit-insert-changelog): Use it.
683
b0c4cdcf
ML
6842011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
685
686 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
687
ee1f1da9
SM
6882011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
691 (gdb--check-interpreter): New function.
692 (gdb): Use it.
693
51bc5f8b
GM
6942011-10-27 Glenn Morris <rgm@gnu.org>
695
416a2c45
GM
696 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
697 (least-positive-float, least-negative-float)
698 (least-positive-normalized-float, least-negative-normalized-float)
699 (float-epsilon, float-negative-epsilon):
700 Remove unnecessary declarations.
701
702 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
703 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
704 (least-positive-float, least-negative-float)
705 (least-positive-normalized-float, least-negative-normalized-float)
706 (float-epsilon, float-negative-epsilon): Add doc-strings,
707 based on those in cl.texi.
708
51bc5f8b
GM
709 * files.el (set-visited-file-name): If the major-mode changed,
710 reload the local variables. (Bug#9796)
711
15de15c6
CY
7122011-10-27 Chong Yidong <cyd@gnu.org>
713
714 * subr.el (change-major-mode-after-body-hook): New hook.
715 (run-mode-hooks): Run it.
716
ee1f1da9
SM
717 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
718 Use change-major-mode-before-body-hook.
15de15c6
CY
719
720 * simple.el (fundamental-mode):
721 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
722 change introducing fundamental-mode-hook.
723
5430d399
JB
7242011-10-26 Juanma Barranquero <lekktu@gmail.com>
725
acc825c5 726 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 727
ad74a69e
MA
7282011-10-26 Michael Albinus <michael.albinus@gmx.de>
729
730 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 731 tramp.el explicitly. (Bug#7583)
ad74a69e 732
71d4c2a5
SM
7332011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
734
735 * progmodes/octave-mod.el:
736 * progmodes/octave-inf.el: Update maintainer.
737
b1f6fa26
CY
7382011-10-26 Chong Yidong <cyd@gnu.org>
739
740 * subr.el (with-wrapper-hook): Rewrite doc.
741
3f04efd6
MA
7422011-10-25 Michael Albinus <michael.albinus@gmx.de>
743
744 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 745 filenames "/method:foo:". (Bug#9793)
3f04efd6 746
410488d3
SM
7472011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
750 (bug#9865).
751
c1ebb47e
GM
7522011-10-24 Glenn Morris <rgm@gnu.org>
753
754 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
755
7f5c46c7
MA
7562011-10-24 Michael Albinus <michael.albinus@gmx.de>
757
758 * notifications.el: Add the requirement of a running D-Bus session
759 bus to the Commentary.
760
db2440b6
JL
7612011-10-24 Juri Linkov <juri@jurta.org>
762
763 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
764 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
765 (Bug#9364)
766
feecf435
JL
7672011-10-24 Juri Linkov <juri@jurta.org>
768
769 * info.el (Info-following-node-name-re): Add newline to the list
770 of allowed characters for leading space. (Bug#9824)
771
a3839de2
SM
7722011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
773
acc825c5
SM
774 * progmodes/octave-inf.el (inferior-octave-mode-map):
775 Fix C-c C-h binding.
a3839de2
SM
776 * progmodes/octave-mod.el (octave-help): Remove.
777
09388e76
MA
7782011-10-23 Michael Albinus <michael.albinus@gmx.de>
779
780 Sync with Tramp 2.2.3.
781
782 * net/tramp-cache.el (top): Pacify byte-compiler using
783 `init-file-user' and `site-run-file'.
784
785 * net/trampver.el: Update release number.
786
86c60681
CY
7872011-10-23 Chong Yidong <cyd@gnu.org>
788
789 * files.el (toggle-read-only): Remove obsolete comment about
790 version control.
791
792 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
793 for toggle-read-only. Note that this hasn't called vc-next-action
794 since 2008-05-02, though it wasn't documented at the time.
795
a3839de2
SM
796 * vc/ediff-init.el (ediff-toggle-read-only-function):
797 Use toggle-read-only.
86c60681 798
cd5495ff
AM
7992011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
800
801 Fix bug #9560, sporadic wrong indentation; improve instrumentation
802 of c-parse-state.
803
00b77525 804 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 805 correct faulty logical expression.
cd5495ff
AM
806 (c-parse-state-state, c-record-parse-state-state):
807 (c-replay-parse-state-state): New defvar/defuns.
808 (c-debug-parse-state): Use new functions.
809
42ee24ed
MR
8102011-10-22 Martin Rudalics <rudalics@gmx.at>
811
812 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 813 last fix. Use window-in-direction correctly.
42ee24ed 814
a7dee7e7
CY
8152011-10-21 Chong Yidong <cyd@gnu.org>
816
817 * progmodes/idlwave.el (idlwave-mode):
818 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
819 require-final-newline; that's done in prog-mode.
820 Suggested by Stefan Monnier.
a7dee7e7 821
e07b9a6d
MR
8222011-10-21 Martin Rudalics <rudalics@gmx.at>
823
824 * mouse.el (mouse-drag-window-above)
825 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
826 (mouse-drag-mode-line-1, mouse-drag-header-line)
827 (mouse-drag-vertical-line-rightward-window): Remove.
828 (mouse-drag-line): New function.
829 (mouse-drag-mode-line, mouse-drag-header-line)
830 (mouse-drag-vertical-line): Call mouse-drag-line.
831 * window.el (window-at-side-p, windows-at-side): New functions.
832
7e1361d9
UM
8332011-10-21 Ulrich Mueller <ulm@gentoo.org>
834
835 * tar-mode.el (tar-grind-file-mode):
836 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
837
30fcaf3a
CY
8382011-10-21 Chong Yidong <cyd@gnu.org>
839
840 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
841 * progmodes/vera-mode.el (vera-mode):
842 Use mode-require-final-newline.
30fcaf3a 843
516eddb0
GM
8442011-10-20 Glenn Morris <rgm@gnu.org>
845
db22a3c2 846 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 847
10d5f513
CS
8482011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
849
850 * emulation/cua-base.el (cua-set-mark): Fix case of string.
851
ac6c8639
CY
8522011-10-20 Chong Yidong <cyd@gnu.org>
853
854 * emulation/cua-base.el (cua-mode):
855 * mail/footnote.el (footnote-mode):
856 * mail/mailabbrev.el (mail-abbrevs-mode):
857 * net/xesam.el (xesam-minor-mode):
858 * progmodes/bug-reference.el (bug-reference-mode):
859 * progmodes/cap-words.el (capitalized-words-mode):
860 * progmodes/compile.el (compilation-minor-mode)
861 (compilation-shell-minor-mode):
862 * progmodes/gud.el (gud-tooltip-mode):
863 * progmodes/hideif.el (hide-ifdef-mode):
864 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
865 * progmodes/subword.el (subword-mode):
866 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
867 * progmodes/which-func.el (which-function-mode):
868 * term/tvi970.el (tvi970-set-keypad-mode):
869 * term/vt100.el (vt100-wide-mode):
870 * textmodes/flyspell.el (flyspell-mode):
871 * textmodes/ispell.el (ispell-minor-mode):
872 * textmodes/nroff-mode.el (nroff-electric-mode):
873 * textmodes/paragraphs.el (use-hard-newlines):
874 * textmodes/refill.el (refill-mode):
875 * textmodes/reftex.el (reftex-mode):
876 * textmodes/rst.el (rst-minor-mode):
877 * textmodes/sgml-mode.el (html-autoview-mode)
878 (sgml-electric-tag-pair-mode):
879 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
880 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
881 * emulation/crisp.el (crisp-mode):
882 * emacs-lisp/eldoc.el (eldoc-mode):
883 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
884 minor mode behavior.
885
aa42ab43
JL
8862011-10-19 Juri Linkov <juri@jurta.org>
887
888 * descr-text.el (describe-char): Add #x2010 and #x2011 to
889 the list of hard-coded chars with escape-glyph face.
890
89400f1d
SM
8912011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
894
305c07f6
MA
8952011-10-19 Michael Albinus <michael.albinus@gmx.de>
896
897 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
898 running process.
899
13754b54
GM
9002011-10-19 Glenn Morris <rgm@gnu.org>
901
902 * vc/vc-bzr.el (vc-bzr-after-dir-status):
903 Ignore ignored files. (Bug#9726)
904
06e21633
CY
9052011-10-19 Chong Yidong <cyd@gnu.org>
906
907 Doc fix for minor modes, stating that an omitted argument enables
908 the mode unconditionally when called from Lisp.
909
910 * abbrev.el (abbrev-mode):
911 * allout.el (allout-mode):
912 * autoinsert.el (auto-insert-mode):
913 * autoarg.el (autoarg-mode, autoarg-kp-mode):
914 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
915 (global-auto-revert-mode):
916 * battery.el (display-battery-mode):
917 * composite.el (global-auto-composition-mode)
918 (auto-composition-mode):
919 * delsel.el (delete-selection-mode):
920 * desktop.el (desktop-save-mode):
921 * dired-x.el (dired-omit-mode):
922 * dirtrack.el (dirtrack-mode):
923 * doc-view.el (doc-view-minor-mode):
924 * double.el (double-mode):
925 * electric.el (electric-indent-mode, electric-pair-mode):
926 * emacs-lock.el (emacs-lock-mode):
927 * epa-hook.el (auto-encryption-mode):
928 * follow.el (follow-mode):
929 * font-core.el (font-lock-mode):
930 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
931 * help.el (temp-buffer-resize-mode):
932 * hilit-chg.el (highlight-changes-mode)
933 (highlight-changes-visible-mode):
934 * hi-lock.el (hi-lock-mode):
935 * hl-line.el (hl-line-mode, global-hl-line-mode):
936 * icomplete.el (icomplete-mode):
937 * ido.el (ido-everywhere):
938 * image-file.el (auto-image-file-mode):
939 * image-mode.el (image-minor-mode):
940 * iswitchb.el (iswitchb-mode):
941 * jka-cmpr-hook.el (auto-compression-mode):
942 * linum.el (linum-mode):
943 * longlines.el (longlines-mode):
944 * master.el (master-mode):
945 * mb-depth.el (minibuffer-depth-indicate-mode):
946 * menu-bar.el (menu-bar-mode):
947 * minibuf-eldef.el (minibuffer-electric-default-mode):
948 * mouse-sel.el (mouse-sel-mode):
949 * msb.el (msb-mode):
950 * mwheel.el (mouse-wheel-mode):
951 * outline.el (outline-minor-mode):
952 * paren.el (show-paren-mode):
953 * recentf.el (recentf-mode):
954 * reveal.el (reveal-mode, global-reveal-mode):
955 * rfn-eshadow.el (file-name-shadow-mode):
956 * ruler-mode.el (ruler-mode):
957 * savehist.el (savehist-mode):
958 * scroll-all.el (scroll-all-mode):
959 * scroll-bar.el (scroll-bar-mode):
960 * server.el (server-mode):
961 * shell.el (shell-dirtrack-mode):
962 * simple.el (auto-fill-mode, transient-mark-mode)
963 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
964 (line-number-mode, column-number-mode, size-indication-mode)
965 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
966 * strokes.el (strokes-mode):
967 * time.el (display-time-mode):
968 * t-mouse.el (gpm-mouse-mode):
969 * tool-bar.el (tool-bar-mode):
970 * tooltip.el (tooltip-mode):
971 * type-break.el (type-break-mode-line-message-mode)
972 (type-break-query-mode):
973 * view.el (view-mode):
974 * whitespace.el (whitespace-mode, whitespace-newline-mode)
975 (global-whitespace-mode, global-whitespace-newline-mode):
976 * xt-mouse.el (xterm-mouse-mode): Doc fix.
977
a3839de2
SM
978 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
979 Fix autogenerated docstring.
06e21633 980
5214e501
JL
9812011-10-19 Juri Linkov <juri@jurta.org>
982
983 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
984 by checking environment variables "DESKTOP_SESSION" and
985 "XDG_CURRENT_DESKTOP". (Bug#9779)
986
195f8db9
JL
9872011-10-19 Juri Linkov <juri@jurta.org>
988
989 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
990 (browse-url-chromium-program, browse-url-chromium-arguments):
991 New defcustoms.
992 (browse-url-default-browser): Check for `browse-url-chromium' and
993 call `browse-url-chromium-program'.
994 (browse-url-chromium): New command. (Bug#9779)
995
343a34ff
JB
9962011-10-18 Juanma Barranquero <lekktu@gmail.com>
997
998 * facemenu.el (list-colors-duplicates): On Windows, detect more
999 duplicates by assuming that only colors matching "^System" are
1000 special "system colors". (Bug#9722)
1001
6978a151
SM
10022011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1005 to distinguish the author from the committer.
1006
6a80b297
MA
10072011-10-18 Michael Albinus <michael.albinus@gmx.de>
1008
1009 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1010
b31a5677
JK
10112011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1012
1013 * international/mule.el (sgml-html-meta-auto-coding-function):
1014 Add support for detecting encoding in HTML5 specified only as
1015 <meta charset="UTF-8">. Implementation just makes http-equiv and
1016 content-type parts from HTML4 encoding string optional. (Bug#9716)
1017
80c6d77f
GM
10182011-10-18 Glenn Morris <rgm@gnu.org>
1019
1020 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1021
08b0fee8
CY
10222011-10-18 Chong Yidong <cyd@gnu.org>
1023
1024 * faces.el (cursor): Doc fix.
1025
67e729a5
CY
10262011-10-17 Chong Yidong <cyd@gnu.org>
1027
1028 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1029
343a34ff 10302011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
1031
1032 * dirtrack.el (dirtrack): Support shell buffers with path
1033 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1034
0bc06380
TZ
10352011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1036
1037 * json.el: Bump version to 1.3 and note change in History.
1038 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1039
8b79f3e0
SM
10402011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1041
5a7c536b
SM
1042 * comint.el (comint-insert-input, comint-send-input)
1043 (comint-get-old-input-default, comint-backward-matching-input)
1044 (comint-next-prompt): Use nil instead of `input' for field property of
1045 past user input (bug#114).
1046
96a8a0df
SM
1047 * minibuffer.el (completion--replace): Inherit surrounding properties
1048 (bug#114).
1049 (minibuffer-complete-and-exit): Use it.
1050
8b79f3e0
SM
1051 * comint.el (comint--table-subvert): Quote the all-completions output
1052 (bug#9160).
1053
b8f7ff0d
MR
10542011-10-17 Martin Rudalics <rudalics@gmx.at>
1055
8b79f3e0 1056 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 1057
b8f7ff0d 1058 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 1059 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
1060 entries and separate them from frame entries.
1061
c235b555
GM
10622011-10-15 Glenn Morris <rgm@gnu.org>
1063
1064 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1065 Doc fixes.
1066
6bbfa6e1
CY
10672011-10-15 Chong Yidong <cyd@stupidchicken.com>
1068
8b79f3e0
SM
1069 * net/network-stream.el (network-stream-open-starttls):
1070 Improve detection of failure due to lack of TLS support.
ec5c990d 1071
6bbfa6e1
CY
1072 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1073 putting the input text in front and in bold.
1074
98488977
SM
10752011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1076
3d1337be
SM
1077 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1078
ee0b45e4
SM
1079 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1080 empty buffer.
1081
98488977
SM
1082 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1083 unread-command-events rather than pushing yet-another event.
1084
186f4720
EZ
10852011-10-14 Eli Zaretskii <eliz@gnu.org>
1086
1087 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1088 the explanation of the possible choices. Make the options passed
1089 to completing-read shorter.
1090
8b7a997c
AM
10912011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1092
1093 * textmodes/flyspell.el (flyspell-large-region): Make sure
1094 extended character mode is used if defined (Bug#1339).
1095
12587bbb
EZ
10962011-10-13 Eli Zaretskii <eliz@gnu.org>
1097
1098 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
1099 character info for LRE, LRO, RLE, and RLO characters by appending
1100 an invisible PDF.
12587bbb 1101
bad41229
SM
11022011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1103
1104 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1105 even in case of error; add debug spec; simplify data flow.
1106 (with-timeout-handler): Remove.
1107
28dbc92f
MA
11082011-10-12 Michael Albinus <michael.albinus@gmx.de>
1109
1110 Fix Bug#6019, Bug#9315.
1111
1112 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1113 complete `buffer-file-name', the local file name part could look
1114 remotely (for example on VMS).
1115
1116 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1117 `tramp-run-real-handler'.
1118 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1119 already quoted by '"'.
1120
1121 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1122 Let `file-name-handler-alist' be nil, the local file name part
1123 could look remotely (for example on VMS).
1124
e1b0b23a
SM
11252011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1126
1127 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1128 from here...
1129 (flyspell-post-command-hook): ...to here.
1130
a120bde9
SM
11312011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1132
1133 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1134 if not needed.
1135 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1136 using completion. Protect against "slow" callers.
1137 Remove the "message hack".
1138
7ce7717b
JL
11392011-10-11 Juri Linkov <juri@jurta.org>
1140
1141 * isearch.el (isearch-lazy-highlight-word): New variable.
1142 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1143 Use it. (Bug#9727)
1144
c02ee9d6
GM
11452011-10-11 Glenn Morris <rgm@gnu.org>
1146
1147 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1148 like f90-previous-statement does.
1149
93e616fd 11502011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1151
1f190e73 1152 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
1153 only in interactive use, to avoid error.
1154
af7b6078
SM
11552011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1156
1157 * minibuffer.el (completion-file-name-table): Fix last change,
1158 i.e. ignore normal errors but not the other ones.
1159
0563dae9
MR
11602011-10-10 Martin Rudalics <rudalics@gmx.at>
1161
1162 * window.el (special-display-buffer-names)
1163 (special-display-regexps): Remove some remnants of earlier
1164 changes from doc-strings.
366ca7f3
MR
1165 (quit-windows-on): New function.
1166
1167 * vc/vc.el (vc-revert, vc-rollback):
1168 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1169 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 1170 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 1171
49677495
MR
11722011-10-09 Martin Rudalics <rudalics@gmx.at>
1173
1174 * window.el (frame-auto-hide-function): Add version tag.
1175 (Bug#9699)
1176
56f2d1e1
MA
11772011-10-09 Michael Albinus <michael.albinus@gmx.de>
1178
1179 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1180 condition.
1181
112a6592
LL
11822011-10-09 Leo Liu <sdl.web@gmail.com>
1183
1184 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1185 (Bug#9701)
1186
0812589b
GM
11872011-10-08 Glenn Morris <rgm@gnu.org>
1188
1189 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1190 before the first code statement zero indent. (Bug#9690)
1191
b2b0776e
CY
11922011-10-08 Chong Yidong <cyd@stupidchicken.com>
1193
1194 * simple.el (count-words-region): Always count in the region.
1195 Report the number of lines and characters too.
1196 (count-words): New command, which counts in the buffer if the
1197 region is inactive, as count-words-region used to.
1198 (count-words--message): New function. Handle plurals.
1199 (count-lines-region): Make it an alias for count-words-region.
1200
1201 * bindings.el (esc-map): Replace count-lines-region with
1202 count-words-region.
1203
c557cd6b
MR
12042011-10-08 Martin Rudalics <rudalics@gmx.at>
1205
1206 * window.el (window--delete): Delete dedicated frame
1207 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 1208 (switch-to-buffer): Fix doc-string typo.
c557cd6b 1209
61a57ef4 12102011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1211
1212 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1213
c3833279
CY
12142011-10-07 Chong Yidong <cyd@stupidchicken.com>
1215
1216 * bindings.el ([M-left],[M-right]): Bind to left-word and
1217 right-word respectively.
1218
21ce8245
GM
12192011-10-07 Glenn Morris <rgm@gnu.org>
1220
1221 * cus-start.el (debug-on-quit): Fix custom type.
1222
6d823bb2
LMI
12232011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1224
0181e193
LMI
1225 * subr.el (define-key-after): Clarify that the function is not
1226 useful for non-menu keymaps.
1227
6d823bb2
LMI
1228 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1229
8e3459ce 12302011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1231
21ce8245 1232 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 1233 in current minibuffer (Fix bug with recursive minibuffers).
1234
a1c2d21e
CY
12352011-10-06 Chong Yidong <cyd@stupidchicken.com>
1236
1237 * progmodes/gdb-mi.el (gdb): Doc fix.
1238
5a4cf282
MR
12392011-10-05 Martin Rudalics <rudalics@gmx.at>
1240
1241 * window.el (frame-auto-hide-function): New option replacing
1242 frame-auto-delete. Suggested by Stefan Monnier.
1243 (window--delete): Call frame-auto-hide-function instead of
1244 investigating frame-auto-delete.
c96111ea
MR
1245 (window-point-1, set-window-point-1): New functions.
1246 (window-in-direction, record-window-buffer, window-state-get-1)
1247 (display-buffer-record-window): Use window-point-1 instead of
1248 window-point.
1249 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 1250
9854542e
SM
12512011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1252
1253 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1254
8943cfb0
GM
12552011-10-05 Glenn Morris <rgm@gnu.org>
1256
1257 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1258 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1259
647ab967
LL
12602011-10-05 Leo Liu <sdl.web@gmail.com>
1261
1262 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1263 works with buffer object.
1264
3ddfbced
SM
12652011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * mpc.el (mpc-tool-bar-map): Add labels.
1268
bdfa5dd2
GM
12692011-10-04 Glenn Morris <rgm@gnu.org>
1270
1271 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1272
0e2070b5
MR
12732011-10-04 Martin Rudalics <rudalics@gmx.at>
1274
1275 * window.el (window--delete): New function.
1276 (frame-auto-delete): Resuscitate option.
1277 (bury-buffer, replace-buffer-in-windows)
1278 (quit-window): Rewrite using window--delete.
1279 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1280 Pass display-buffer-mark-dedicated to window--display-buffer-2
1281 (Bug#9639).
1282
3dc61a09
SM
12832011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1284
915a9b64
SM
1285 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1286 returns a list (bug#9554). Add remote file name completion.
1287 * comint.el (comint--table-subvert): Curry and get quote&unquote
1288 functions as arguments.
1289 (comint--complete-file-name-data): Adjust call accordingly.
1290 * pcomplete.el (pcomplete--table-subvert): Remove.
1291 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1292
3dc61a09
SM
1293 * minibuffer.el (completion-table-case-fold): Use currying.
1294 (completion--styles-type, completion--cycling-threshold-type):
1295 New constants.
1296 (completion-styles, completion-category-overrides)
1297 (completion-cycle-threshold): Use them.
1298 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1299 completion-table-case-fold.
1300
8ea0a993
SB
13012011-10-03 Stephen Berman <stephen.berman@gmx.net>
1302
1303 * minibuffer.el (completion-category-overrides): Fix type of styles
1304 and add more user friendly tags (bug#9660).
1305
8c24b7f6
SM
13062011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1309 (mule-input-method-string): New widget.
1310 (default-input-method, language-info-custom-alist): Use it.
1311
428fe61a
SM
13122011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1313
32c1fffd
SM
1314 * pcomplete.el: Require comint.
1315 (pcomplete--common-suffix): Remove.
1316 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1317 (pcomplete--table-subvert): Sync with comint--table-subvert.
1318 (pcomplete--entries): Use comint-completion-file-name-table.
1319 * comint.el (comint-unquote-filename): Simplify.
1320 (comint-completion-file-name-table): New function (bug#9616).
1321 (comint--complete-file-name-data): Use it.
1322
428fe61a
SM
1323 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1324 (pcmpl-gnu-tar-buffer): Remove.
1325 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
1326 around. Make sure pcomplete-suffix-list is only changed temporarily.
1327 Don't look inside the tar's file if it's too large.
428fe61a 1328
04c52e2f
CY
13292011-10-01 Chong Yidong <cyd@stupidchicken.com>
1330
ce3cefcc
CY
1331 * cus-edit.el (custom-mode-map):
1332 * epa.el (epa-key-list-mode-map):
1333 * man.el (Man-mode-map):
1334 * startup.el (splash-screen-keymap):
1335 * simple.el (special-mode-map): Use scroll-up-command and
1336 scroll-down-command.
1337
1338 * progmodes/idlw-help.el (idlwave-help-mode-map):
1339 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1340 * net/newst-plainview.el (newsticker-mode-map):
1341 * emulation/ws-mode.el (wordstar-mode-map):
1342 * emulation/vi.el (vi-com-map):
1343 * calc/calc-graph.el (calc-graph-show-dumb):
1344 * term/sun.el (terminal-init-sun):
1345 * term/ns-win.el (global-map):
1346 * progmodes/grep.el (grep-mode-map):
1347 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1348 * mail/rmail.el (rmail-mode-map):
1349 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1350
04c52e2f
CY
1351 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1352 custom-safe-themes as special.
1353
79adf8c8
JD
13542011-10-01 Julien Danjou <julien@danjou.info>
1355
1356 * notifications.el (notifications-notify): Fix docstring.
1357
63bd50d3
PS
13582011-10-01 Per Starbäck <per@starback.se>
1359
1360 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1361
199e4c7e
MR
13622011-09-30 Martin Rudalics <rudalics@gmx.at>
1363
1364 * startup.el (command-line-1): Fix last fix by inserting
1365 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 1366 (Bug#9605) and (Bug#9636)
199e4c7e 1367
fe5f08dd
EZ
13682011-09-29 Eli Zaretskii <eliz@gnu.org>
1369
1370 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1371 window is hscrolled, move by logical lines. (Bug#9607)
1372 (line-move-visual): Update the doc string to the above effect.
1373
b5516bbd
MR
13742011-09-29 Martin Rudalics <rudalics@gmx.at>
1375
ccee00c0
MR
1376 * window.el (display-buffer-record-window): When WINDOW is the
1377 selected window use `point' instead of `window-point'. (Bug#9626)
1378
b5516bbd
MR
1379 * startup.el (command-line-1): Use insert-before-markers when
1380 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1381
b5516bbd
MR
1382 * help.el (help-window): Remove variable.
1383
52aa0014
GM
13842011-09-29 Glenn Morris <rgm@gnu.org>
1385
1386 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1387
df9a7357
JB
13882011-09-29 Juanma Barranquero <lekktu@gmail.com>
1389
1390 * descr-text.el (describe-char-categories): Accept category
1391 descriptions more than one line long.
1392
a8406c20
SM
13932011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1394
88d9610c
SM
1395 * simple.el (delete-trailing-whitespace): Fix last change.
1396
a5daf810
SM
1397 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1398 Don't confuse "y => 3" as the beginning of a `y' operation.
1399
a8406c20
SM
1400 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1401 object has more than 4 slots (bug#9613).
1402
a239d4e9
JB
14032011-09-28 Juanma Barranquero <lekktu@gmail.com>
1404
1405 * subr.el (with-output-to-temp-buffer):
1406 * net/quickurl.el (quickurl, quickurl-browse-url):
1407 Fix typos in docstrings.
1408
693fbdb6
EZ
14092011-09-27 Eli Zaretskii <eliz@gnu.org>
1410
1411 * minibuffer.el (completion-styles)
1412 (completion-category-overrides): Cross reference each other in doc
1413 strings.
1414
8b457e28
GM
14152011-09-27 Glenn Morris <rgm@gnu.org>
1416
1417 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1418 to split-string. (Bug#9606)
1419
85a16208
LMI
14202011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1421
1422 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1423 (bug#9615).
1424
502f9ebd
CY
14252011-09-27 Chong Yidong <cyd@stupidchicken.com>
1426
1427 * emacs-lisp/package.el (list-packages): Fix echo area message.
1428
7690bdea
LL
14292011-09-27 Leo Liu <sdl.web@gmail.com>
1430
1431 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1432
e2ee6f30
MA
14332011-09-25 Michael Albinus <michael.albinus@gmx.de>
1434
1435 * net/dbus.el (dbus-unregister-object): Don't release services for
1436 registered signals. (Bug#9581)
1437
f3f98342
TZ
14382011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1439
1440 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1441 function that picks between cfengine 2 and 3 support
1442 automatically. Update docs accordingly.
1443
dd7aa8dd
KH
14442011-09-22 Kenichi Handa <handa@m17n.org>
1445
1446 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1447 ZERO.
1448 (indian-itrans-v5-table-for-tamil): New variable.
1449 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1450
3f2b07f8
KM
14512011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1452
1453 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1454 that's true if the current command involved collapsing of text.
1455 It's reset to false at the beginning of the next command.
1456 (allout-post-command-business): Move the cursor to the beginning
1457 of entry if the cursor is hidden and collapsing activity just
1458 happened.
1459
371d6a61
CY
14602011-09-24 Chong Yidong <cyd@stupidchicken.com>
1461
1462 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1463 tracking (Bug#9541).
1464
2ac2721a
UJ
14652011-09-24 Ulf Jasper <ulf.jasper@web.de>
1466
1467 * net/newst-reader.el (newsticker-html-renderer)
1468 (newsticker-show-news): Automatically
343a34ff
JB
1469 load html rendering package if newsticker-html-renderer is set.
1470 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1471 let-bound" and the error "Symbol's value as variable is void:
1472 w3m-fill-column".
1473
fac7ae53
MA
14742011-09-24 Michael Albinus <michael.albinus@gmx.de>
1475
1476 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1477 Release services only if they are defined. (Bug#9581)
1478
e08b633b
RS
14792011-09-23 Richard Stallman <rms@gnu.org>
1480
e488d29c
RS
1481 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1482 distinguish start of paragraph from start of its text.
1483
19c38752
RS
1484 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1485
e08b633b
RS
1486 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1487 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1488 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1489
0a39f27e
AS
14902011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1491
1492 * international/mule-diag.el (mule-diag): Insert a newline after
1493 each fontset description.
1494
db4e950d
SM
14952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1496
1497 * simple.el (delete-trailing-whitespace):
1498 Document last change; simplify.
1499
eca3f3ea
PW
15002011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1501
d68e189a
PW
1502 * simple.el (delete-trailing-whitespace): Also delete
1503 extra newlines at the end of the buffer.
1504
eca3f3ea
PW
1505 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1506 (picture-newline): Use forward-line so as to ignore fields.
1507
01c157cc
SM
15082011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1509
1510 * subr.el (with-wrapper-hook): Fix edebug spec.
1511
022de23e
LMI
15122011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1513
1514 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1515 (bug#4538).
1516
91683089
MA
15172011-09-23 Michael Albinus <michael.albinus@gmx.de>
1518
eca3f3ea
PW
1519 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1520 Fix nasty bug using wrong cached values.
91683089 1521
5bdd6fa4
AM
15222011-09-23 Alan Mackenzie <acm@muc.de>
1523
1524 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1525
97adfb97
CY
15262011-09-23 Chong Yidong <cyd@stupidchicken.com>
1527
1528 * window.el (pop-to-buffer): Ensure right window is selected if we
1529 chose another frame.
1530
d4ef2b50
EZ
15312011-09-22 Eli Zaretskii <eliz@gnu.org>
1532
1533 * simple.el (what-cursor-position): Use get-char-property-change
1534 and next-single-char-property-change, to be able to show display
1535 properties that come from overlays as well as text properties.
1536
72258fe5
CY
15372011-09-22 Chong Yidong <cyd@stupidchicken.com>
1538
1539 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1540
1541 * cmuscheme.el (run-scheme, switch-to-scheme):
1542 * cus-edit.el (customize-group, custom-buffer-create)
1543 (customize-browse):
1544 * info.el (info):
1545 * shell.el (shell):
1546 * mail/sendmail.el (mail):
1547 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1548
8f098516
RS
15492011-09-22 Richard Stallman <rms@gnu.org>
1550
1551 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1552 move back only to line beg, don't move back over blank lines.
1553
e74f1bb6
MA
15542011-09-22 Michael Albinus <michael.albinus@gmx.de>
1555
1556 * files.el (copy-directory): Set directory attributes only in case
1557 they could be retrieved from the source directory. (Bug#9565)
1558
bfeef8b6
DK
15592011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1560
1561 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1562 (hs-find-block-beginning, hs-hide-level-recursive):
1563 Ignore strings as well as comments. (Bug#9502)
1564
7e423bb8
AS
15652011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1566
1567 * progmodes/sql.el (sql-comint-postgres):
1568 Convert port number to a string. (Bug#9566)
1569
b4d72fcf
MR
15702011-09-22 Martin Rudalics <rudalics@gmx.at>
1571
1572 * window.el (quit-window): Undedicate window when switching to
1573 previous buffer. Reported by Thierry Volpiatto
1574 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1575 (special-display-popup-frame): When popping up a new frame reset
1576 its previous buffers to nil. Simplify code.
b4d72fcf 1577
a7b88dc6
MA
15782011-09-21 Michael Albinus <michael.albinus@gmx.de>
1579
1580 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1581 and process filter, as done also in `shell-command'.
1582
cf4eacfd
MR
15832011-09-21 Martin Rudalics <rudalics@gmx.at>
1584
eca3f3ea
PW
1585 * window.el (set-window-buffer-start-and-point):
1586 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1587 Volpiatto <thierry.volpiatto@gmail.com>.
1588 (quit-window): Reword doc-string. Handle new format of
1589 quit-restore parameter. Don't delete window if it has a
1590 previous buffer we can show instead of the present one.
1591 (display-buffer-record-window): Rewrite using a new format for
1592 the quit-restore window parameter
1593 (special-display-popup-frame, display-buffer-same-window)
1594 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1595 (display-buffer-pop-up-window, display-buffer-use-some-window):
1596 Adapt symbol passed to display-buffer-record-window.
1597 * help.el (help-window-setup): Handle new format of quit-restore
1598 parameter.
1599
8d28cb95
SM
16002011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1601
94ab793f
SM
1602 * faces.el (face-list): Fix docstring (bug#9564).
1603
8d28cb95
SM
1604 * window.el (display-buffer--action-function-custom-type):
1605 Don't include internal functions in the Custom interface.
1606
3820edeb
JL
16072011-09-20 Juri Linkov <juri@jurta.org>
1608
1609 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1610 (Info-forward-node, Info-backward-node, Info-next-preorder)
1611 (Info-last-preorder): Use it. (Bug#9528)
1612
5147931d
JL
16132011-09-20 Juri Linkov <juri@jurta.org>
1614
1615 * info.el (Info-last-preorder): Visit last menu item only when
1616 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1617
cf499a1a
JD
16182011-09-20 Julien Danjou <julien@danjou.info>
1619
1620 * password-cache.el (password-cache-remove): Remove entries even if the
1621 value is nil, so that password with a nil value (negative caching) is
1622 possible to invalidate.
1623
f84e2fe2
LM
16242011-09-20 Lawrence Mitchell <wence@gmx.li>
1625
1626 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1627 all whitespace around breakpoint. (Bug#9553)
1628 (f90-find-breakpoint): Only break at whitespace inside a comment.
1629
78054a46
SM
16302011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1631
1632 * minibuffer.el (completion-file-name-table): Keep track of errors.
1633 (completion-table-with-predicate): Handle the case where pred1 is nil.
1634 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1635
345083b2
SM
16362011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1637
e24e27be
SM
1638 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1639 (debugger-return-value): Signal an error if the debugging context does
1640 not await any return value.
1641
345083b2
SM
1642 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1643 * image-mode.el (image-toggle-display-text)
1644 (image-toggle-display-image): Stay away from evil `intangible'.
1645
08d355e3
LL
16462011-09-19 Leo Liu <sdl.web@gmail.com>
1647
1648 * replace.el (occur-revert-arguments): Make it permanent-local.
1649 (occur-mode): Don't call font-lock-defontify.
1650
f01da43f
CY
16512011-09-19 Chong Yidong <cyd@stupidchicken.com>
1652
1653 * net/ldap.el (ldap-search-internal): Don't push empty search
1654 result (Bug#9508).
1655
b6072fa6
SM
16562011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1657
1658 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1659
443d6696
MA
16602011-09-19 Michael Albinus <michael.albinus@gmx.de>
1661
1662 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1663 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1664
7cc6e154
JL
16652011-09-18 Juri Linkov <juri@jurta.org>
1666
1667 * buff-menu.el (Buffer-menu-mode-map):
1668 * dired.el (dired-mode-map):
1669 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1670 (lisp-interaction-mode-map):
1671 * emacs-lisp/package.el (package-menu-mode-map):
1672 * epa.el (epa-key-list-mode-map):
1673 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1674 (menu-bar-options-menu):
1675 * outline.el (outline-mode-menu-bar-map):
1676 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1677 * vc/vc-dir.el (vc-dir-menu-map):
1678 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1679 Capitalize non-function content words in menu item strings.
1680
1681 * dired.el (dired-mode-map): Add menu item for
1682 `image-dired-dired-toggle-marked-thumbs'.
1683
80302a81
JL
16842011-09-18 Juri Linkov <juri@jurta.org>
1685
1686 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1687 to `isearch-case-fold-search' and restore its original value
1688 after the `isearch-mode' call.
1689
46c5cf66
JL
16902011-09-18 Juri Linkov <juri@jurta.org>
1691
1692 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1693 because `zgrep' returns 1 for successful matches (bug#9226).
1694
d18b513b
JL
16952011-09-18 Juri Linkov <juri@jurta.org>
1696
1697 * info.el (Info-extract-menu-node-name): Check the second match
1698 for empty string (second test-case of bug#9528).
1699 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1700 intermediate nodes to the history (first test-case of bug#9528).
1701
72753f87
JL
17022011-09-18 Juri Linkov <juri@jurta.org>
1703
1704 * info.el (Info-mode-syntax-table): New variable.
1705 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1706
c9384295
JL
17072011-09-18 Juri Linkov <juri@jurta.org>
1708
1709 * info.el (Info-file-supports-index-cookies): Increment
1710 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1711 one more line for long file names (bug#4142).
1712
d473dce8
CY
17132011-09-18 Chong Yidong <cyd@stupidchicken.com>
1714
1715 * newcomment.el (comment-normalize-vars): If prompting for
1716 comment-start, set comment-start-skip too (Bug#8424).
1717
2176854d
JB
17182011-09-18 Johan Bockgård <bojohan@gnu.org>
1719
1720 * icomplete.el: Fix previous fix of Bug#5849.
1721 (icomplete-mode): Don't set completion-show-inline-help.
1722 (icomplete-minibuffer-setup): Set completion-show-inline-help
1723 locally during icompletion.
1724
3aace4e4
CY
17252011-09-18 Chong Yidong <cyd@stupidchicken.com>
1726
c940224f
CY
1727 * woman.el (woman2-process-escapes): Don't delete unrecognized
1728 escapes (Bug#7843).
1729
3aace4e4
CY
1730 * files.el (inhibit-first-line-modes-regexps): Add image files.
1731 (hack-local-variables-prop-line): Return nil for malformed
1732 prop-lines (Bug#9044).
1733
710dec63
MA
17342011-09-18 Michael Albinus <michael.albinus@gmx.de>
1735
1736 * net/tramp.el (top): Don't require 'shell.
1737 (tramp-methods): Fix docstring.
1738 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1739 Return complete remote file name. Handle "smb" case.
1740 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1741 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1742
1743 * net/tramp-compat.el (top): Require 'shell.
1744
1745 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1746 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1747 `tramp-current-host'.
1748 (tramp-get-remote-tmpdir): Remove.
1749
1750 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1751 `tramp-tmpdir' entries.
1752 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1753 (tramp-smb-handle-file-attributes): Ignore errors.
1754 (tramp-smb-wait-for-output): Check also for process end.
1755
5d5ac8ec
LMI
17562011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1757
1758 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1759 when sending QUIT (bug#9312).
1760
8c0f49f0
CY
17612011-09-17 Chong Yidong <cyd@stupidchicken.com>
1762
1763 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1764 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1765 occur-mode-display-occurrence.
1766 (occur-edit-mode): Add usage message.
1767 (occur-cease-edit): New command.
1768 (occur-after-change-function): Use text properties to find the
1769 position of the prefix text.
1770 (occur-engine): Set stickiness of prefix text properties.
1771
8f1383f7
GM
17722011-09-17 Glenn Morris <rgm@gnu.org>
1773
1774 * progmodes/etags.el (complete-tag):
1775 Fix call to completion-in-region. (Bug#9526)
1776
744ba0e3
JL
17772011-09-17 Juri Linkov <juri@jurta.org>
1778
1779 * textmodes/ispell.el (ispell-word): Add to the error message
1780 the word, ispell program name and current dictionary (bug#9121).
1781 (ispell-tex-arg-end): Capitalize "error" in the error message.
1782
d9bbf400
AS
17832011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1784
1785 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1786 check. (Bug#4251)
1787
8da11505
JL
17882011-09-17 Juri Linkov <juri@jurta.org>
1789
1790 * window.el (window-safe-min-height, window-safe-min-width):
1791 Fix typos (followup to bug#9522).
1792
a91adc7e
SJ
17932011-09-17 Sven Joachim <svenjoac@gmx.de>
1794
1795 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1796
064f328a
EZ
17972011-09-16 Eli Zaretskii <eliz@gnu.org>
1798
1799 * simple.el (line-move): If goal-column is set, move by logical
1800 lines, not by display lines. (Bug#971)
1801 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1802 to reflect the above change.
1803
e69df516
SM
18042011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1805
1806 * image.el (imagemagick-register-types): Use regexp-opt.
1807
cbb0f9ab
CY
18082011-09-15 Chong Yidong <cyd@stupidchicken.com>
1809
1810 * window.el (display-buffer-base-action): Rename from
1811 display-buffer-default-action. Make default value empty.
1812 (display-buffer-overriding-action): Convert to defvar.
1813 (display-buffer-fallback-action): New var.
1814
25322144
CY
18152011-09-15 Chong Yidong <cyd@stupidchicken.com>
1816
1817 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1818 declaration.
1819 (package--add-to-archive-contents): If there is a duplicate entry
1820 with an older version, remove it.
1821 (package-menu-mark-delete, package-menu-mark-install)
1822 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1823 (package-menu-mark-obsolete-for-deletion):
1824 Use package-menu-get-status instead of a regexp search.
25322144
CY
1825 (package-menu-get-status): Use tabulated-list-entry.
1826 (package-menu-mark-upgrades): New command.
d770725a 1827 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1828 (package-menu-execute): Do installation before deletion.
1829 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1830 instead of checking major-mode.
1831 (package-menu--find-upgrades): New function.
1832
7520339c
LMI
18332011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1834
1835 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1836 passwords in the log buffer.
65a046c4
LMI
1837 (smtpmail-process-filter): Update the process marker so that the
1838 "broken by peer" status message is inserted in the right place.
7520339c 1839
d3c30954
SM
18402011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1841
3fe48822
SM
1842 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1843 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1844 bibtex-completion-at-point-function.
1845 (bibtex-completion-at-point-function): Use them.
1846
1b8b3954
SM
1847 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1848
d3c30954
SM
1849 * mpc.el (mpc-constraints-tag-lookup): New function.
1850 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1851 also to browser "album|playlist".
1852
72779976
JL
18532011-09-14 Juri Linkov <juri@jurta.org>
1854
1855 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1856 (isearch-edit-string): Use length of `isearch-string' when
1857 `isearch-fail-pos' returns nil.
1858 (isearch-message): Remove duplicate code and call
1859 `isearch-fail-pos' with arg `t'.
1860
a0bf2bcd
CY
18612011-09-14 Chong Yidong <cyd@stupidchicken.com>
1862
17bb0a2d
CY
1863 * replace.el (occur-mode-goto-occurrence): Don't force using other
1864 window (Bug#9499).
1865
a0bf2bcd
CY
1866 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1867
f678e0b6
MR
18682011-09-14 Martin Rudalics <rudalics@gmx.at>
1869
1870 * window.el (display-buffer-window): Remove.
1871 (display-buffer-record-window): Use help-setup window parameter
1872 instead of variable display-buffer-window.
1873 (display-buffer-function, special-display-buffer-names)
1874 (special-display-function): Mention help-setup parameter instead
1875 of display-buffer-window in doc-string.
d3c30954
SM
1876 * help.el (help-window-setup): New argument help-window.
1877 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1878 Reword some messages.
1879 (with-help-window): Pass window used for displaying the buffer
1880 to help-window-setup. Don't set display-buffer-window.
1881
8e39b2e8
GM
18822011-09-13 Glenn Morris <rgm@gnu.org>
1883
1884 * emacs-lisp/debug.el (debugger-make-xrefs):
1885 Preserve point. (Bug#9462)
1886
85e9c04b
CY
18872011-09-13 Chong Yidong <cyd@stupidchicken.com>
1888
1889 * window.el (window-deletable-p): Use next-frame.
1890
1b36ed6a
MR
18912011-09-13 Martin Rudalics <rudalics@gmx.at>
1892
1893 * window.el (window-auto-delete): Remove.
1894 (window-deletable-p): Remove argument FORCE. Don't deal with
1895 dedicatedness and previous buffers.
1896 (switch-to-prev-buffer): Don't delete window.
1897 (delete-windows-on): Delete a window's frame if and only if the
1898 window is dedicated.
1899 (replace-buffer-in-windows): Delete buffer's window or frame if
1900 and only if window is dedicated.
1901 (quit-window): Handle quit-restore as before last change.
4d61f28d 1902 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1903
ef8ef9fb
CY
19042011-09-13 Chong Yidong <cyd@stupidchicken.com>
1905
1906 * window.el (window-deletable-p): Never delete the last frame on a
1907 given terminal.
1908
b2cba41e
GM
19092011-09-13 Glenn Morris <rgm@gnu.org>
1910
1911 * help.el (describe-key-briefly): Copy previous standard-output change.
1912
51553db6 19132011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1914
1915 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1916
b7556719
GM
19172011-09-13 Glenn Morris <rgm@gnu.org>
1918
1919 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1920 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1921
64b51947
CY
19222011-09-12 Chong Yidong <cyd@stupidchicken.com>
1923
1924 * dired-aux.el (dired-mark-read-string): Don't return default
1925 value on empty input (Bug#9361).
1926 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1927 Omit initial minibuffer contents.
1928 (dired-do-chmod): Signal an error on empty input.
1929 (dired-mark-read-string): Don't return default on empty input.
1930
1931 * files.el (file-modes-symbolic-to-number): Doc fix.
1932
393a301e
SM
19332011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1934
1935 * international/mule-cmds.el (ucs-completions): Remove.
1936 (read-char-by-name): Use complete-with-action instead; add metadata.
1937
fa5660f9
CY
19382011-09-11 Chong Yidong <cyd@stupidchicken.com>
1939
1940 * window.el (display-buffer--action-function-custom-type)
1941 (display-buffer--action-custom-type): New vars.
1942 (display-buffer-alist, display-buffer-default-action)
1943 (display-buffer-overriding-action): Add defcustom types.
1944
4a592f66
CY
1945 * frame.el (delete-other-frames): Doc fix (Bug#276).
1946
73d56dbd
LMI
19472011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1948
1949 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1950
37ac18a3
CY
19512011-09-11 Chong Yidong <cyd@stupidchicken.com>
1952
1953 Change modes that used same-window-* vars to use switch-to-buffer.
1954
1955 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1956 Use switch-to-buffer.
1957
1958 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1959 (customize-browse, custom-buffer-create-other-window):
1960 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1961
1962 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1963 (Info-prev, Info-up, Info-speedbar-goto-node)
1964 (info-display-manual): Use switch-to-buffer.
1965 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1966
1967 * mail/sendmail.el (mail): Use switch-to-buffer.
1968 (mail-recover): Use switch-to-buffer-other-window.
1969
1970 * cmuscheme.el (run-scheme, switch-to-scheme):
1971 * ielm.el (ielm):
1972 * shell.el (shell):
1973 * net/rlogin.el (rlogin):
1974 * net/telnet.el (telnet, rsh):
1975 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1976
10195bd6
AS
19772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1978
1979 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1980
b322f63a
LMI
19812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1982
39d7fed6
LMI
1983 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1984 so don't mention it (bug#9301).
ba5a81f1 1985 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1986
ee0e9f11
LMI
1987 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1988 match `x', `w32' and `ns', like the manual says (bug#9029).
1989
0b1c89c1 1990 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1991 (process-kill-buffer-query-function): Mention the buffer name in
1992 the query.
0b1c89c1 1993
77549ea8
LMI
1994 * image-mode.el (image-next-line): The line parameter is mandatory
1995 (bug#9258).
1996
803ef892
LMI
1997 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1998 which can be useful (bug#9301).
1999
12980837
LMI
2000 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2001
91054f8f
LMI
2002 * subr.el (match-string): Mention that the current buffer should
2003 be the same as the search was done in (bug#9282).
2004
b322f63a
LMI
2005 * facemenu.el: Disable the remove-* commands if the mark isn't
2006 active (bug#9162).
2007
3199b96f
CY
20082011-09-10 Chong Yidong <cyd@stupidchicken.com>
2009
2010 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2011 of display-buffer.
2012 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2013
2014 * replace.el (occur-mode-goto-occurrence)
2015 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2016 and display-buffer.
2017
2018 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2019 display-buffer.
2020
2021 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2022 special-display and same-window variables.
2023 (mail-other-window): Use switch-to-buffer-other-window.
2024 (mail-other-frame): USe switch-to-buffer-other-frame.
2025
393a301e
SM
2026 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2027 Use display-buffer-other-frame.
3199b96f
CY
2028 (gdb-display-gdb-buffer): Use pop-to-buffer.
2029
2030 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2031
2032 * progmodes/python.el: Don't set same-window-buffer-names.
2033
2034 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2035
2036 * window.el (display-buffer-alist): Add *Python*.
2037
8319e0bf
CY
20382011-09-10 Chong Yidong <cyd@stupidchicken.com>
2039
2040 * window.el (display-buffer-alist): Add entry for buffers
2041 previously handled same-window-*.
2042 (display-buffer-alist, display-buffer-default-action)
2043 (display-buffer-overriding-action): Mark as risky.
2044 (display-buffer-alist): Document action function changes.
2045 (display-buffer--same-window-action)
2046 (display-buffer--other-frame-action): New variables.
2047 (switch-to-buffer, display-buffer-other-frame): Use them.
2048 (display-buffer): Rename reuse-frame entry to reusable-frames.
2049 (display-buffer-reuse-selected-window): Function deleted.
2050 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2051 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2052 (display-buffer-special): New function.
2053 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2054 display-buffer-reuse-or-pop-window. Split off special-display
2055 part into display-buffer-special.
2056 (display-buffer-use-some-window): Don't perform any special
2057 pop-up-frames handling.
2058 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 2059 (display-buffer--maybe-same-window): Rename from
0d3ff375 2060 display-buffer-maybe-same-window.
8319e0bf 2061
919a69aa
CY
2062 * info.el: Don't set same-window-regexps.
2063 (info-setup): New function.
2064 (info-other-window, info): Call it.
2065
2066 * cus-edit.el: Don't set same-window-regexps.
2067 (customize-group): New argument.
2068 (customize-group-other-window): Use it.
2069 (customize-face, customize-face-other-window): Likewise.
2070 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2071
8319e0bf
CY
2072 * net/rlogin.el:
2073 * net/telnet.el:
2074 * progmodes/gud.el: Don't set same-window-regexps.
2075
2076 * cmuscheme.el:
2077 * ielm.el:
2078 * shell.el:
2079 * mail/sendmail.el:
2080 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2081
25173000
JL
20822011-09-10 Juri Linkov <juri@jurta.org>
2083
2084 * isearch.el (isearch-edit-string): Remove obsolete mention of
2085 `C-w' (`isearch-yank-word-or-char') from docstring.
2086 (isearch-query-replace): Fix typo in docstring (bug#9466).
2087
056e44ef
JL
20882011-09-10 Juri Linkov <juri@jurta.org>
2089
2090 * paren.el (show-paren-function): Don't show escaped parens.
2091 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2092
c3760c17
EZ
20932011-09-10 Eli Zaretskii <eliz@gnu.org>
2094
2095 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2096 (mm-default-file-encoding): Remove autoload forms, they are
2097 replaced with autoload cookies in mml.el and mm-encode.el.
2098 (mail-add-attachment): New command.
2099 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2100 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2101 the doc string.
2102 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2103
fece895e
RT
21042011-09-10 Reuben Thomas <rrt@sc3d.org>
2105
e69df516
SM
2106 * simple.el (count-words-region): Use buffer if there's no region
2107 (bug#9429).
fece895e 2108
5e68ce4a
JL
21092011-09-09 Juri Linkov <juri@jurta.org>
2110
2111 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2112 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2113 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2114
0a6b9622
AM
21152011-09-09 Alan Mackenzie <acm@muc.de>
2116
2117 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2118 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2119
14a29deb
EZ
21202011-09-09 Eli Zaretskii <eliz@gnu.org>
2121
2122 Fix for Savannah bug#9392.
2123 * simple.el (mail-encode-mml): New defvar.
2124
2125 * mail/rmail.el (mail-encode-mml): Add a defvar.
2126 (rmail-enable-mime-composing): Default to t.
2127 (rmail-forward): Use MIME method of forwarding only if both
2128 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2129 Set mail-encode-mml non-nil if the MIME method was used.
2130
2131 * mail/sendmail.el (mml-to-mime): Add autoload form.
2132 (mail-encode-mml): Add a defvar.
2133 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2134 to nil.
2135 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2136 message through mml-to-mime, and reset mail-encode-mml to nil.
2137
28c45130
GM
21382011-09-09 Glenn Morris <rgm@gnu.org>
2139
2140 * woman.el (woman-if-body): When processing an .el block,
2141 do not delete the next .el block as well. (Bug#9447)
69f4b618 2142 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 2143
9b1c252e
MR
21442011-09-08 Martin Rudalics <rudalics@gmx.at>
2145
2146 * window.el (window-deletable-p): Make sure window is live before
2147 invoking window-prev-buffers.
2148
567457e3
LL
21492011-09-08 Leo Liu <sdl.web@gmail.com>
2150
2151 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2152
97f05794
JL
21532011-09-08 Juri Linkov <juri@jurta.org>
2154
2155 * progmodes/compile.el (compilation-environment): Make it
2156 a defcustom (bug#8340).
2157
8b0874b5
MR
21582011-09-08 Martin Rudalics <rudalics@gmx.at>
2159
2160 * window.el (frame-auto-delete): Rename to window-auto-delete.
2161 Make it control auto-deletion of windows and/or frames.
2162 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 2163 for deleting window/frame. (Bug#9419)
8b0874b5
MR
2164 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2165 Rewrite handling of case when window/frame can be deleted.
2166 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 2167 argument t. (Bug#9456)
8b0874b5 2168
4feb6e73
CY
21692011-09-07 Chong Yidong <cyd@stupidchicken.com>
2170
2171 * help-mode.el (help-mode): Restore autoload.
2172
91ab9c13
JL
21732011-09-07 Juri Linkov <juri@jurta.org>
2174
2175 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2176 `compilation-environment'. Set buffer-local
2177 `compilation-environment' to `thisenv' later after (funcall mode).
2178 (Bug#8340)
2179
2180 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2181 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2182 instead of replacing its value. (Bug#8340)
2183
0527e251
JL
21842011-09-07 Juri Linkov <juri@jurta.org>
2185
2186 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2187 based on text properties put by `grep-filter' instead of matching
2188 escape sequences.
2189 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2190 to the value of `grep-error-screen-columns' (bug#9438).
2191
249f792c
JL
21922011-09-07 Juri Linkov <juri@jurta.org>
2193
2194 * simple.el (next-error-highlight, next-error-highlight-no-select):
2195 Doc fix (bug#9432).
2196
ff7271b9
OT
21972011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2198
2199 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2200 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2201
183fc730
LL
22022011-09-07 Leo Liu <sdl.web@gmail.com>
2203
2204 * net/rcirc.el (rcirc-mode): Conditionally initialize
2205 rcirc-input-ring.
2206
77694924
SM
22072011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2208
2209 * emacs-lisp/find-func.el (find-function-C-source): Only set
2210 find-function-C-source-directory after checking that we found a source
2211 file there (bug#9440).
2212
d809b8eb
AM
22132011-09-06 Alan Mackenzie <acm@muc.de>
2214
2215 * isearch.el (isearch-other-meta-char): Wherever a key list is
2216 unread, "unread" the prefix arg, too. This fixes bug #8901.
2217
453de99f
OG
22182011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2219
2220 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2221
90439906
JL
22222011-09-05 Juri Linkov <juri@jurta.org>
2223
2224 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2225
f62bd846
JL
22262011-09-05 Juri Linkov <juri@jurta.org>
2227
2228 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2229 keeping point where processing of grep matches begins, and
2230 continue to delete remaining escape sequences from the same point.
2231 (grep-filter): Make leading zero optional in "0?1;31m" because
2232 git-grep emits "\033[1;31m" escape sequences unlike expected
2233 "\033[01;31m" as GNU Grep does (bug#9408).
2234 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2235
045820ec
JL
22362011-09-05 Juri Linkov <juri@jurta.org>
2237
2238 * subr.el (y-or-n-p): Capitalize "yes".
2239
f5e29b9b
MA
22402011-09-04 Michael Albinus <michael.albinus@gmx.de>
2241
2242 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2243 `tramp-cache-unload-hook' where appropriate.
2244 (tramp-methods): Rename `tramp-remote-sh' to
2245 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2246 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2247
2248 * net/tramp-sh.el (top): Don't require 'shell.
2249 (tramp-methods): Add `tramp-remote-shell' and
2250 `tramp-remote-shell-args' entries.
2251 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2252 (tramp-sh-handle-shell-command): Remove.
2253 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2254 Use `tramp-remote-shell'.
2255
2784c434
CY
22562011-09-03 Chong Yidong <cyd@stupidchicken.com>
2257
393a301e 2258 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
2259 (sendmail-query-once): Save directly to send-mail-function.
2260 Update message-send-mail-function too.
2261
2262 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2263
464cdf56
CS
22642011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2265
2266 * progmodes/python.el (python-mode-map): Use correct function to
2267 start python interpreter from menu-bar (as reported by Geert
2268 Kloosterman).
2269 (inferior-python-mode-map): Fix typo.
393a301e 2270 (python-shell-map): Remove.
464cdf56 2271
d37e5c87
DD
22722011-09-03 Deniz Dogan <deniz@dogan.se>
2273
2274 * net/rcirc.el (rcirc-print): Simplify code for
2275 rcirc-scroll-show-maximum-output. There is no need to walk
2276 through all windows to find the right one.
2277
f3ada0ee
CS
22782011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2279
2280 * help.el (help-return-method): Doc fix.
2281
1f3c99ca
MR
22822011-09-03 Martin Rudalics <rudalics@gmx.at>
2283
2284 * window.el (window-deletable-p): Don't return a non-nil value
2285 when there's a buffer that was shown in the window before.
2286 (Bug#9419)
393a301e
SM
2287 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2288 Set window's previous buffers to nil.
1f3c99ca 2289
a3cf097f
EZ
22902011-09-03 Eli Zaretskii <eliz@gnu.org>
2291
2292 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2293 newline before and after the tag line, so it doesn't interfere
2294 with determining the paragraph direction of bidirectional text.
2295
3d03de90
LL
22962011-09-03 Leo Liu <sdl.web@gmail.com>
2297
2298 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2299
c3313451
CY
23002011-09-02 Chong Yidong <cyd@stupidchicken.com>
2301
393a301e 2302 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
2303 (pop-to-buffer): Change interactive spec. Pass second argument
2304 directly to display-buffer.
2305 (display-buffer): Fix interactive spec. Use functionp to
2306 distinguish between a function and a list of functions.
2307
2308 * abbrev.el (edit-abbrevs):
2309 * arc-mode.el (archive-extract):
2310 * autoinsert.el (auto-insert):
2311 * bookmark.el (bookmark-bmenu-list):
2312 * files.el (find-file):
2313 * view.el (view-buffer):
2314 * progmodes/compile.el (compilation-goto-locus):
2315 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2316
89894cd8
CY
23172011-09-02 Chong Yidong <cyd@stupidchicken.com>
2318
2319 * window.el (display-buffer-alist): Doc fix.
2320 (display-buffer): Add docstring. Don't treat
2321 display-buffer-default specially.
2322 (display-buffer-reuse-selected-window)
2323 (display-buffer-same-window, display-buffer-maybe-same-window)
2324 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2325 (display-buffer-pop-up-window)
2326 (display-buffer-reuse-or-pop-window)
2327 (display-buffer-use-some-window): New functions.
2328 (display-buffer-default-action): Use them.
393a301e 2329 (display-buffer-default): Delete.
89894cd8
CY
2330 (pop-to-buffer-1): Fix choice of actions.
2331
ae0bc9fb
SM
23322011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2333
2334 * minibuffer.el (completion--insert-strings): Don't get confused by
2335 completion entries that end with an LF char.
2336
e9d90883
EZ
23372011-09-01 Eli Zaretskii <eliz@gnu.org>
2338
2339 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2340
437014c8
CY
23412011-09-01 Chong Yidong <cyd@stupidchicken.com>
2342
2343 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
2344 (display-buffer-same-window, display-buffer-other-window):
2345 New functions.
437014c8
CY
2346 (pop-to-buffer-1): New function. Use the above.
2347 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 2348 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
2349
2350 * view.el (view-buffer-other-window, view-buffer-other-frame):
2351 Just use pop-to-buffer.
2352
a5e063d5
TV
23532011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2354
2355 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2356
793d32bb
WH
23572011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2358
2359 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2360
d65e4c15
RS
23612011-08-31 Richard Stallman <rms@gnu.org>
2362
2363 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2364 of the separation of rmail-view-buffer from rmail-buffer.
2365 If you say no to "replace original", the decrypt is in the
2366 view buffer. If you say yes, the decrypt goes into the
2367 rmail buffer also.
2368
f818cd2a
MR
23692011-08-31 Martin Rudalics <rudalics@gmx.at>
2370
2371 * window.el (display-buffer-window): Rewrite doc-string.
2372 (display-buffer-record-window): New function.
2373 (display-buffer-macro-specifiers)
2374 (display-buffer-even-window-sizes, display-buffer-set-height)
2375 (display-buffer-set-width, display-buffer-in-window)
2376 (display-buffer-reuse-window, display-buffer-split-specifiers)
2377 (display-buffer-side-specifiers, display-buffer-split-window-1)
2378 (display-buffer-split-window, display-buffer-split-atom-window)
2379 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2380 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2381 (display-buffer-other-window-means-other-frame)
2382 (display-buffer-normalize-special)
2383 (display-buffer-normalize-default)
2384 (display-buffer-normalize-argument)
2385 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2386 (display-buffer-normalize-specifiers, display-buffer-frame)
2387 (display-buffer-same-window, display-buffer-same-frame)
2388 (display-buffer-other-window)
2389 (display-buffer-same-frame-other-window)
2390 (display-buffer-other-frame, pop-to-buffer-same-window)
2391 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2392 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2393 (switch-to-buffer-same-frame)
2394 (switch-to-buffer-other-window-same-frame)
2395 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2396 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2397 (display-buffer-alist-set): Remove.
2398 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2399 (special-display-regexps, special-display-function):
2400 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2401 parameter.
2402 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2403 (special-display-frame-alist, special-display-popup-frame)
2404 (same-window-buffer-names, same-window-regexps, same-window-p)
2405 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2406 (split-window-preferred-function, split-height-threshold)
2407 (split-width-threshold, window-splittable-p)
2408 (split-window-sensibly, window--try-to-split-window)
2409 (window--frame-usable-p, even-window-heights)
2410 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2411 (window--display-buffer-2, display-buffer-other-frame):
2412 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2413 (display-buffer-default, display-buffer-assq-regexp): New functions.
2414 (display-buffer-alist): Rewrite doc-string.
2415 (display-buffer-default-action)
2416 (display-buffer-overriding-action): New variables.
2417 (display-buffer, switch-to-buffer): Rewrite.
2418 (pop-to-buffer): Restore Emacs 23 behavior but use
2419 window-normalize-buffer-to-display.
2420 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2421 Restore Emacs 23 behavior but use
2422 window-normalize-buffer-to-switch-to.
2423 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2424 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2425 Rewrite using Emacs 23 options.
f818cd2a 2426
5bc3b51d
MA
24272011-08-31 Michael Albinus <michael.albinus@gmx.de>
2428
2429 * net/tramp.el (tramp-root-regexp): Remove.
2430 (tramp-completion-file-name-regexp-unified)
2431 (tramp-completion-file-name-regexp-separate)
2432 (tramp-completion-file-name-regexp-url): Don't use leading volume
2433 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2434 (tramp-drop-volume-letter): Simplify definition.
2435 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2436
b1a4f8e1
SM
24372011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2438
2439 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2440 (bug#9356).
2441
5664fa7b
RT
24422011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2443
b1a4f8e1 2444 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2445
9a45d6c3
JL
24462011-08-29 Juri Linkov <juri@jurta.org>
2447
2448 * isearch.el (isearch-done): Don't display message "Mark saved"
2449 when arg `edit' is non-nil to prevent its flicker in the echo area.
2450
fb87e0fb
CY
24512011-08-28 Chong Yidong <cyd@stupidchicken.com>
2452
2453 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2454 obsolete packages for deletion.
2455
09ac1c2a
CS
24562011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2457
2458 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2459 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2460 view-mode from help-mode.
2461 (help-xref-override-view-map): Remove.
2462 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2463 view-mode is not used anymore.
2464
7a1ff57f
CY
24652011-08-28 Chong Yidong <cyd@stupidchicken.com>
2466
2467 * server.el (server-port): Doc fix.
2468
b9696605
CY
2469 * cus-theme.el (custom-theme-choose-mode): Inherit from
2470 special-mode (Bug#9124).
2471 (custom-theme-choose-mode-map): Add special-mode to parent.
2472
ef8cdf8c
AM
24732011-08-28 Alan Mackenzie <acm@muc.de>
2474
2475 * progmodes/cc-fonts.el
2476 (c-make-font-lock-BO-decl-search-function): New function.
2477 (c-basic-matchers-after - "Fontify the clauses after various
2478 keywords"): Extract the three keyword lists for the 3 erroneous
2479 constructs from the list of four, and use the new function above
2480 in place of an old one.
2481
27de4e20
DD
24822011-08-28 Deniz Dogan <deniz@dogan.se>
2483
2484 * net/rcirc.el (rcirc-insert-prev-input)
2485 (rcirc-insert-next-input): Remove unused argument.
2486
356a3681
SM
24872011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2490
3fc9b218
AM
24912011-08-27 Alan Mackenzie <acm@muc.de>
2492
2493 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2494 handle function pointer parameters properly.
2495
538a061c
MR
24962011-08-27 Martin Rudalics <rudalics@gmx.at>
2497
2498 * window.el (display-buffer-reuse-window): Fix case where
2499 selected window was reused with non-nil OTHER-WINDOW argument.
2500 (Bug#9381)
2501
35b1c40c
DD
25022011-08-27 Deniz Dogan <deniz@dogan.se>
2503
2504 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2505 oftc's NickServ messages.
2506
2f6a3e79
GM
25072011-08-27 Glenn Morris <rgm@gnu.org>
2508
2509 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2510
7254299e
CY
25112011-08-26 Chong Yidong <cyd@stupidchicken.com>
2512
2513 * emacs-lisp/package.el (package-install): Call package-initialize
2514 if called interactively.
2515
f8ccf167
LL
25162011-08-26 Leo Liu <sdl.web@gmail.com>
2517
2518 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2519
3e8cd5ce
JL
25202011-08-25 Juri Linkov <juri@jurta.org>
2521
2522 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2523 `search-whitespace-regexp' (bug#9364).
2524
93eb7113
JL
25252011-08-25 Juri Linkov <juri@jurta.org>
2526
2527 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2528 `regexp-search-ring' to their global values to protect from
2529 updating by `read-from-minibuffer' (bug#9185).
2530
f65d1611
JL
25312011-08-25 Juri Linkov <juri@jurta.org>
2532
2533 * textmodes/ispell.el (ispell-command-loop): Add newline
2534 at the end of the "Use option `i'..." line.
2535
f1cf7a31
JL
25362011-08-25 Juri Linkov <juri@jurta.org>
2537
2538 * battery.el (display-battery-mode): If `battery-status-function'
2539 or `battery-mode-line-format' is nil, display the message and set
2540 `display-battery-mode' to nil (bug#9363).
2541
0c95fcf7
EZ
25422011-08-25 Eli Zaretskii <eliz@gnu.org>
2543
2544 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2545 bidi-string-mark-left-to-right; they are unnecessary now.
2546
a2ebe600
DD
25472011-08-25 Deniz Dogan <deniz@dogan.se>
2548
2549 * net/quickurl.el: Documentation typo fixes.
2550
e4ed06f1
CY
25512011-08-25 Chong Yidong <cyd@stupidchicken.com>
2552
2553 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2554
e5f1c99e
GM
25552011-08-25 Glenn Morris <rgm@gnu.org>
2556
b2948976
GM
2557 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2558
e5f1c99e
GM
2559 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2560 (smtpmail-via-smtp): Handle nil response from smtp.
2561
f22f4808
JL
25622011-08-24 Juri Linkov <juri@jurta.org>
2563
2564 * proced.el (proced-marked): Inherit from `error' instead of
2565 `font-lock-warning-face'.
2566
2567 * ibuffer.el (ibuffer-marked-face): Change default face from
2568 `font-lock-warning-face' to `warning'.
2569 (ibuffer-deletion-face): Change default face from
2570 `font-lock-type-face' to `error'.
2571
2572 * battery.el (battery-update): Use the face `error' instead of
2573 `font-lock-warning-face' (bug#6117).
2574
6a93965e
JL
25752011-08-24 Juri Linkov <juri@jurta.org>
2576
2577 * faces.el (success): Change face color from "Green3" to
2578 "ForestGreen" on light background (bug#9353).
2579
1ed43b09
CY
25802011-08-24 Chong Yidong <cyd@stupidchicken.com>
2581
5664fa7b
RT
2582 * window.el (quit-window): Rename from quit-restore-window.
2583 Use same arglist as old quit-window.
1ed43b09
CY
2584 (frame-auto-delete): Doc fix.
2585
2586 * view.el (view-mode-exit): Use quit-window.
2587
11dcdbb2
JL
25882011-08-24 Juri Linkov <juri@jurta.org>
2589
2590 * isearch.el (isearch-ring-adjust1): Start visiting previous
2591 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2592 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2593 for empty search string (when the last search string is reused
2594 automatically) to adjust the isearch ring to the last element and
2595 prepare the correct index for further M-p commands (bug#9185).
2596
de62b4df
KH
25972011-08-24 Kenichi Handa <handa@m17n.org>
2598
2599 * international/ucs-normalize.el: If decomposition property of
2600 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2601 nil.
2602 (nfd, nfkd): Likewise.
2603
963b492b
SM
26042011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2607 from process filters aren't reliably transmitted to the surrounding
2608 accept-process-output.
2609 (mpc-proc-check): New function.
2610 (mpc-proc-sync): Use it (bug#8293)
2611
93b6b5e1
SM
26122011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2613
2614 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2615 Add compatibility functions (bug#9313).
2616
bca633fb
EZ
26172011-08-23 Eli Zaretskii <eliz@gnu.org>
2618
b177498a
EZ
2619 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2620
bca633fb
EZ
2621 * international/uni-bidi.el: Regenerated.
2622
0902a04e
KH
26232011-08-23 Kenichi Handa <handa@m17n.org>
2624
2625 * international/charprop.el:
2626 * international/uni-bidi.el:
2627 * international/uni-category.el:
2628 * international/uni-combining.el:
2629 * international/uni-comment.el:
2630 * international/uni-decimal.el:
2631 * international/uni-decomposition.el:
2632 * international/uni-digit.el:
2633 * international/uni-lowercase.el:
2634 * international/uni-mirrored.el:
2635 * international/uni-name.el:
2636 * international/uni-numeric.el:
2637 * international/uni-old-name.el:
2638 * international/uni-titlecase.el:
2639 * international/uni-uppercase.el: Regenerate.
2640
3bbf23bc
MR
26412011-08-23 Martin Rudalics <rudalics@gmx.at>
2642
2643 * help.el (help-window-setup): Fix message displayed when other
2644 window is reused. (Bug#9341)
2645
b3fd59bd
SM
26462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2647
1802e444
SM
2648 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2649 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2650
b3fd59bd
SM
2651 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2652 Mark obsolete.
2653 * shell.el (shell-parse-pcomplete-arguments): New function.
2654 (shell-completion-vars): Use it instead (bug#9160).
2655
4eb61348
SM
26562011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2657
867cab74
SM
2658 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2659 strings and comments (bug#9333).
2660
4eb61348
SM
2661 * emacs-lisp/debug.el (debug-arglist): New function.
2662 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2663 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2664
262a1439
JL
26652011-08-22 Juri Linkov <juri@jurta.org>
2666
56ee679c
JL
2667 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2668 Revert regexp that highlights output switches to its old
2669 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2670
262a1439
JL
2671 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2672 to check for empty output (bug#9226).
2673
f13f86fb
CY
26742011-08-22 Chong Yidong <cyd@stupidchicken.com>
2675
2676 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2677 symbol-constituent as the default, as that stops font-lock from
2678 working properly (Bug#8843).
2679
c65c9622
LMI
26802011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2681
2682 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2683 `coding-system-for-*' around the process open call to avoid
2684 auth-source side effects.
e7f2c178 2685 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2686 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2687 probe hangs.
c65c9622 2688
23a8a5ab
CY
26892011-08-21 Chong Yidong <cyd@stupidchicken.com>
2690
ff98b2dd
CY
2691 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2692
23a8a5ab
CY
2693 * emacs-lisp/find-func.el (find-function-noselect): New arg
2694 lisp-only.
2695
2696 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2697 signal an error for built-in functions (Bug#6664).
2698
f5e3c598
LMI
26992011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2700
2701 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2702 (smtpmail-try-auth-methods): Use it.
2703
a3f2468a
CY
27042011-08-21 Chong Yidong <cyd@stupidchicken.com>
2705
2c34e8da
CY
2706 * font-lock.el (font-lock-fontify-region)
2707 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2708 (font-lock-default-unfontify-buffer)
2709 (font-lock-default-fontify-region)
2710 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2711
b3fd59bd
SM
2712 * progmodes/compile.el (compilation-error-properties):
2713 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2714 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2715 `ant' regexp.
ee31aabc 2716
a3f2468a
CY
2717 * net/browse-url.el (browse-url-firefox): Don't call
2718 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2719
8e999f70
GM
27202011-08-20 Glenn Morris <rgm@gnu.org>
2721
c21a496a
GM
2722 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2723
59ee0542
GM
2724 * tutorial.el (tutorial--default-keys): Update some default bindings.
2725
8e999f70
GM
2726 * files.el (hack-local-variables): Fully ignore case for "mode:".
2727
e3715033
AM
27282011-08-20 Alan Mackenzie <acm@muc.de>
2729
2730 Resolve invalid use of a regexp in regexp-opt.
2731
4d61f28d
JB
2732 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2733 detection for a java annotation.
e3715033 2734
4d61f28d 2735 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2736 detection for a java annotation.
2737
4d61f28d
JB
2738 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2739 handling for java.
e3715033
AM
2740 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2741
04ed2e9c
CY
27422011-08-20 Chong Yidong <cyd@stupidchicken.com>
2743
2744 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2745 (Bug#9274).
2746
826cee64
AM
27472011-08-20 Alan Mackenzie <acm@muc.de>
2748
58179cce 2749 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
2750 such a construct. Mainly for when jit-lock etc. starts a chunk
2751 here.
2752
58179cce 2753 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 2754 variable.
58179cce 2755 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
2756 c-make-font-lock-search-function.
2757 (c-make-font-lock-search-function): Use the above function.
2758 (c-make-font-lock-context-search-function): New function.
2759 (c-cpp-matchers): Enhance the preprocessor expression case with
2760 the above function
2761 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2762 which takes an expression.
2763
2764 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2765
13009bd8
MR
27662011-08-20 Martin Rudalics <rudalics@gmx.at>
2767
2768 * window.el (display-buffer-reuse-window)
2769 (display-buffer-pop-up-window): Don't reuse or split a side
2770 window.
2771
9234ff7f
GM
27722011-08-19 Glenn Morris <rgm@gnu.org>
2773
2774 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2775 Downcase "Mode:". (Bug#9331)
9234ff7f 2776
f635daa1
CY
27772011-08-18 Chong Yidong <cyd@stupidchicken.com>
2778
2779 * international/characters.el: Add L and R categories.
2780
2781 * subr.el (bidi-string-mark-left-to-right): Rename from
2782 string-mark-left-to-right. Use category search.
2783
2784 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2785
bc987f8b
JL
27862011-08-18 Juri Linkov <juri@jurta.org>
2787
2788 * faces.el (error, warning, success): New faces with definitions
2789 copied from old default values of `font-lock-warning-face',
2790 `compilation-warning', `compilation-info' (bug#6117).
2791
2792 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2793
2794 * progmodes/compile.el (compilation-error): Inherit from `error'.
2795 (compilation-warning): Inherit from `warning'.
2796 (compilation-info): Inherit from `success'.
2797
2798 * dired.el (dired-marked): Inherit from `warning'.
2799 (dired-flagged): Inherit from `error'.
2800
57173b96
LMI
28012011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2802
3e79eb87
LMI
2803 * mail/smtpmail.el (auth-source): Require to avoid problems with
2804 binding variables (bug#9298). Also clean up some unused
2805 autoloads.
2806
b3fd59bd
SM
2807 * net/network-stream.el (network-stream-open-starttls):
2808 Support using starttls.el without using gnutls-cli.
57173b96 2809
02b404de
JL
28102011-08-17 Juri Linkov <juri@jurta.org>
2811
2812 * progmodes/grep.el (rgrep): Handle the case when
2813 `grep-find-command' is a cons cell (bug#9278).
2814
8c9177f2
MR
28152011-08-17 Martin Rudalics <rudalics@gmx.at>
2816
2817 * window.el (display-buffer-pop-up-frame): Run frame creation
2818 function with BUFFER current (as special-display-popup-frame
2819 does). Reported by Drew Adams.
2820
3644a0ab
DU
28212011-08-17 Daiki Ueno <ueno@unixuser.org>
2822
2823 * epa-mail.el: Simplify GnuPG group expansion using
2824 epg-expand-group.
2825 (epa-mail-group-alist, epa-mail-group-modtime)
2826 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2827 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2828 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2829 Remove.
2830
5e617bc2 28312011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2832
2833 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2834
9c4aeabf
AM
28352011-08-16 Alan Mackenzie <acm@muc.de>
2836
2837 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2838 Correct, to avoid the inside of macros.
2839
3a99bf64
RS
28402011-08-16 Richard Stallman <rms@gnu.org>
2841
04963aa8
RS
2842 * epa-mail.el: Handle GnuPG group definitions.
2843 (epa-mail-group-alist, epa-mail-group-modtime)
2844 (epa-mail-gnupg-conf-file): New variables.
2845 (epa-mail-parse-groups, epa-mail-sync-groups)
2846 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2847 (epa-mail-expand-recipients): New functions.
2848 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2849
177549d0
RS
2850 * mail/rmail.el (rmail-epa-decrypt): New command.
2851
fe38beef
RS
2852 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2853 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2854 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2855 (epa-decrypt-armor-in-region): Make error message clearer.
2856
934eacb9
SM
28572011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2860 and "a2b" to "ab" for `prefix'.
2861
d024fb4e
CY
28622011-08-14 Chong Yidong <cyd@stupidchicken.com>
2863
2864 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2865 filter groups.
de148fee
CY
2866 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2867 Fourquet (Bug#8804).
d024fb4e 2868
62f1ca49
JB
28692011-08-12 Juanma Barranquero <lekktu@gmail.com>
2870
2871 * startup.el (argi): Declare as global variable (bug#9275).
2872
9ccaaa4b
CY
28732011-08-12 Chong Yidong <cyd@stupidchicken.com>
2874
2875 * subr.el (string-mark-left-to-right): Search the entire string
2876 for RTL script, not just the terminating character. Doc fix.
2877
a3dae87a
SM
28782011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2879
6cd18349
SM
2880 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2881 New function.
2882 (js--regexp-literal, js-syntax-propertize-function): Remove.
2883 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2884 (js-mode-map): Don't rebind electric keys.
2885 (js-insert-and-indent): Remove.
2886 (js-mode): Setup electric-layout and electric-indent instead.
2887
a3dae87a
SM
2888 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2889
9d5cb631
DU
28902011-08-12 Daiki Ueno <ueno@unixuser.org>
2891
2892 * epa.el (epa-progress-callback-function): Fix the logic of
2893 displaying progress.
2894 * epa-file.el (epa-file-insert-file-contents): Make progress
2895 display more user-friendly.
2896 (epa-file-write-region): Ditto.
2897
3e26a4a2
CY
28982011-08-10 Chong Yidong <cyd@stupidchicken.com>
2899
2900 * subr.el (string-mark-left-to-right): New function.
2901
2902 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2903 Use string-mark-left-to-right.
2904 (list-buffers-noselect): Caller changed.
2905
a3dae87a
SM
2906 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2907 Use string-mark-left-to-right.
3e26a4a2
CY
2908 (tabulated-list-print): Recenter after moving point.
2909
ac8cf6e6
JL
29102011-08-10 Juri Linkov <juri@jurta.org>
2911
2912 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2913 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2914 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2915
8d96c9a4
CY
29162011-08-09 Chong Yidong <cyd@stupidchicken.com>
2917
2918 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2919 (Bug#7554).
2920
7be1c708 29212011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2922
2923 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2924 character. (Bug#6594)
2925
37e11a63
CY
29262011-08-08 Chong Yidong <cyd@stupidchicken.com>
2927
839dde57
CY
2928 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2929 (image-dired--with-db-file): New macro.
2930 (image-dired-write-tags, image-dired-remove-tag)
2931 (image-dired-create-gallery-lists, image-dired-write-comments)
2932 (image-dired-get-comment, image-dired-mark-tagged-files)
2933 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2934 (image-dired-gallery-generate): Use insert-file-contents.
2935
37e11a63
CY
2936 * time.el (display-time-world-list, display-time-world-display):
2937 * time-stamp.el (time-stamp-string):
2938 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2939 set-time-zone-rule (Bug#7337).
2940
0b4946c4
DU
29412011-08-08 Daiki Ueno <ueno@unixuser.org>
2942
2943 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2944 (epg-error-to-string, epg-errors-to-string): New function.
2945 (epg-wait-for-completion): Reverse errors list.
2946 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2947 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2948 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2949 (epg-sign-keys, epg-generate-key-from-file)
2950 (epg-generate-key-from-string): Format errors by using
2951 epg-errors-to-string (bug#9255).
2952 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2953
75bfc667
JL
29542011-08-07 Juri Linkov <juri@jurta.org>
2955
2956 * faces.el (list-faces-display): Remove extra angle bracket
2957 from `help-mode-map'.
2958
2959 * info.el (Info-history-toc-nodes): Doc fix.
2960
2961 * longlines.el (longlines-mode): Doc fix.
2962
673e08bb
SM
29632011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2964
4640dd88
SM
2965 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2966 of statements and in a few more cases (bug#9183).
2967
673e08bb
SM
2968 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2969 New functions.
2970 (cl-transform-lambda): Use them (bug#9239).
2971
89b3f019
MR
29722011-08-05 Martin Rudalics <rudalics@gmx.at>
2973
2974 * window.el (display-buffer-same-window)
2975 (display-buffer-same-frame, display-buffer-other-window)
2976 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2977 (pop-to-buffer-other-window)
2978 (pop-to-buffer-same-frame-other-window)
2979 (pop-to-buffer-other-frame): Make them defuns.
2980 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2981
640c8776
SM
29822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2983
2984 * subr.el (make-composed-keymap): Move from C. Change calling
2985 convention, and improve docstring to bring attention to a subtle point.
2986 * minibuffer.el (completing-read-default): Adjust accordingly.
2987
63648a95
MA
29882011-08-03 Michael Albinus <michael.albinus@gmx.de>
2989
2990 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2991 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2992
2993 * net/trampver.el: Update release number.
2994
b796c9b7
SM
29952011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2996
2997 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2998 "in" (bug#9190).
2999
2239d7d5
LMI
30002011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3001
e07dd7c3
LMI
3002 * mail/sendmail.el (sendmail-query-once): Restore the current
3003 buffer after querying (bug#9074).
3004
0e6a2bd7
LMI
3005 * dired.el (dired-flagged): Use different faces for marked and
3006 flagged files (bug#6117).
3007
ce887515
LMI
3008 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3009 (bug#4433).
3010
92f2affc
LMI
3011 * ido.el (ido-mode): Switch off the message if called
3012 non-interactively.
3013
57d5aff0
LMI
3014 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3015 before 587, since it appears that that's more likely to work for
3016 more people.
3017
98cd6c18
LMI
3018 * cus-edit.el (custom-file): When running under emacs -q, always
3019 refuse to save the customisations, even if the .emacs file doesn't
3020 exist.
3021
b96dec83
LMI
3022 * info.el: Remove the `Info-beginning-of-buffer' function
3023 (bug#8325).
3024
b796c9b7
SM
3025 * net/network-stream.el (network-stream-open-starttls):
3026 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 3027
d90e2ea0
MR
30282011-08-01 Martin Rudalics <rudalics@gmx.at>
3029
3030 * window.el (display-buffer-in-window): Don't set dedicated status
3031 of window here (Bug#9215).
3032 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3033 (display-buffer-pop-up-side-window)
b796c9b7 3034 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 3035
cca09170
SM
30362011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3037
3038 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3039 before binding generated-autoload-file.
3040
027b979c
DD
30412011-08-01 Deniz Dogan <deniz@dogan.se>
3042
3043 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3044
3c7ee4f3
MA
30452011-07-30 Michael Albinus <michael.albinus@gmx.de>
3046
3047 Sync with Tramp 2.2.2.
3048
3049 * net/trampver.el: Update release number.
3050
2cc8e51a
JL
30512011-07-30 Juri Linkov <juri@jurta.org>
3052
3053 * dired-aux.el (dired-touch-initial): Remove function.
3054 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3055 current time, and `default' to the last modification time of the
3056 current marked file (bug#6887).
3057
a514d856
JM
30582011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3059
3060 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 3061 numeric argument to read-number (bug#9163).
a514d856 3062
8a7eddd7
MA
30632011-07-27 Michael Albinus <michael.albinus@gmx.de>
3064
3065 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3066 connection process, it could be nil.
3067
1ddd96f5
LL
30682011-07-27 Leo Liu <sdl.web@gmail.com>
3069
3070 Simplify url handling in rcirc-mode.
3071
3072 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3073 (rcirc-browse-url-at-mouse): Remove.
3074 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3075
b248a85d
AM
30762011-07-26 Alan Mackenzie <acm@muc.de>
3077
3078 Fontify bitfield declarations properly.
3079
3080 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3081 (c-symbol-chars): Now exported as a lang variable.
3082 (c-not-primitive-type-keywords): New lang variable.
3083
3084 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3085 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 3086 parsed as a bitfield declaration.
b248a85d 3087
b796c9b7
SM
3088 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3089 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
3090 (c-punctuation-in): New function.
3091 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3092 declarations properly.
3093
68575ab0
UJ
30942011-07-26 Ulf Jasper <ulf.jasper@web.de>
3095
3096 * calendar/icalendar.el (icalendar--all-events): Take care of
3097 multiple vcalendars in a single file.
b796c9b7 3098 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 3099
0f0a88b9
DD
31002011-07-25 Deniz Dogan <deniz@dogan.se>
3101
3102 * image.el (insert-image): Clarifying docstring.
3103
0b3f36df
MA
31042011-07-24 Michael Albinus <michael.albinus@gmx.de>
3105
3106 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3107 `tramp-send-command-and-check' if there is no error.
3108 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3109
a9901f61
AM
31102011-07-22 Alan Mackenzie <acm@muc.de>
3111
3112 Prevent cc-langs.elc being loaded at run time.
3113
3114 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3115 cc-langs.
3116
4d61f28d 3117 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
3118 "(require 'cc-langs)". Quote a form so it will evaluate at
3119 (cc-mode's) compilation time.
3120
11d074b2
MA
31212011-07-22 Michael Albinus <michael.albinus@gmx.de>
3122
3123 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3124 loading. (Bug#9114)
3125
938b94c8
MR
31262011-07-21 Martin Rudalics <rudalics@gmx.at>
3127
3128 * window.el (display-buffer-pop-up-window)
3129 (display-buffer-pop-up-side-window)
3130 (display-buffer-in-side-window): Call display-buffer-set-height
3131 and display-buffer-set-width after setting the new window's
b796c9b7 3132 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 3133
bfa4f190
SS
31342011-07-20 Sam Steingold <sds@gnu.org>
3135
3136 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3137 (etags-tags-included-tables): Call `convert-standard-filename' on
3138 the file names contained in TAGS so that windows Emacs can handle
3139 TAGS files created by cygwin ctags.
3140
8ca42262
LMI
31412011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3142
3143 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3144 which apparently didn't work.
3145
5db2afd2 31462011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 3147
5db2afd2
RW
3148 * proced.el (proced-send-signal): For *Marked Processes* buffer
3149 put point at beginning of buffer.
3150
92e15d10
SB
31512011-07-19 Stephen Berman <stephen.berman@gmx.net>
3152
3153 * proced.el (proced-format): Make header lines align with the text
3154 (bug#1779).
3155
1bfd59e5
LMI
31562011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3157
3158 * view.el (view-buffer): Allow running in `special' modes if we're
3159 visiting a file (bug#8615).
3160
f5aae37c
MR
31612011-07-19 Martin Rudalics <rudalics@gmx.at>
3162
3163 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
3164 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3165 New functions.
f5aae37c
MR
3166 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3167 more accurately.
3168
bf2c1571
AM
31692011-07-18 Alan Mackenzie <acm@muc.de>
3170
3171 Fontify declarators properly when, e.g., a jit-lock chunk begins
3172 inside a declaration.
3173
3174 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3175
b796c9b7
SM
3176 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3177 New function.
bf2c1571
AM
3178 (c-complex-decl-matchers): Insert reference to
3179 c-font-lock-enclosing-decls.
3180
3181 * progmodes/cc-engine.el (c-backward-single-comment):
3182 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3183 to nil around calls to (forward-comment -1).
3184
4e190b80
LMI
31852011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3186
12dc863d
LMI
3187 * image.el (put-image): Doc typo fix.
3188
a762e966
LMI
3189 * progmodes/etags.el (tags-search): Doc typo fix.
3190
4e190b80
LMI
3191 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3192 password if we get errors 550 to 554.
3193
f019fb21
LMI
31942011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3195
b796c9b7 3196 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 3197
81746738
LMI
3198 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3199 indentation character (bug#6380).
3200
3ee3a1b5
LMI
3201 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3202
c82f64de
LMI
3203 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3204 to clarify what the problem is (bug#4291).
3205
f019fb21
LMI
3206 * simple.el (current-kill): Clarify what
3207 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
3208 (auto-fill-mode): Document `auto-fill-function' in relation to
3209 `auto-fill-mode' (bug#2470).
f019fb21 3210
0794775d
LM
32112011-07-16 Lawrence Mitchell <wence@gmx.li>
3212
3213 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3214 method if slot is read-only (bug#9035).
3215
be39b8cc
MR
32162011-07-16 Martin Rudalics <rudalics@gmx.at>
3217
b796c9b7 3218 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 3219 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
3220 selected before, see discussion of (Bug#8615), (Bug#6954).
3221 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 3222
6ccf7859
GM
32232011-07-15 Glenn Morris <rgm@gnu.org>
3224
3225 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 3226 Respect help-form.
6ccf7859 3227
87e86684
LM
32282011-07-09 Lawrence Mitchell <wence@gmx.li>
3229
3230 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3231 (gnutls-negotiate): Use it.
3232
d6066239
LMI
32332011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3234
b796c9b7
SM
3235 * net/gnutls.el (gnutls-negotiate):
3236 Upcase `gnutls-algorithm-priority'.
d6066239 3237
bd23ebc0
GM
32382011-07-15 Glenn Morris <rgm@gnu.org>
3239
c65bca65
GM
3240 * jka-compr.el (jka-compr-verbose): Move from here...
3241 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3242 Add missing :version tag.
3243 * info.el: No need to require jka-compr when compiling.
bd23ebc0 3244
478615cc
LMI
32452011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3246
7b41decb
LMI
3247 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3248 (gnutls-negotiate): Use it.
3249
dbc44fcd
LMI
3250 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3251
06789f97
LMI
3252 * info.el (Info-beginning-of-buffer): New command.
3253 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3254 announcing `b' as the key (bug#8325).
ab896c37 3255 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 3256
c39da690
LMI
3257 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3258
3aa5f34b
LMI
3259 * international/mule-cmds.el
3260 (describe-specified-language-support): Make the error message
3261 clearer (bug#8905).
3262
4bf0979f
LMI
3263 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3264
478615cc
LMI
3265 * isearch.el (isearch-barrier): Add a doc string, since it's
3266 mentioned in a function doc string (bug#8678).
3267
75c68aa1
MR
32682011-07-15 Martin Rudalics <rudalics@gmx.at>
3269
3270 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3271 buffer argument (Bug#9083) and self-identifying label argument.
3272
a7c33da2
GM
32732011-07-15 Glenn Morris <rgm@gnu.org>
3274
3275 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3276
2f5c6024
LMI
32772011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3278
3279 * man.el (Man-fontify-manpage): Fix message when formatting the
3280 man page (bug#7929).
3281
0bb23927 32822011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
3283
3284 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3285 argument LRM; if non-nil, append an invisible LRM character to the
3286 buffer name.
3287 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3288 last argument non-nil, when formatting buffer names.
0bb23927
EZ
3289 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3290 paragraph direction.
cce4b0a7 3291
621ef9ab
LMI
32922011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3293
d1583c48
LMI
3294 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3295 the man page name (bug#7929).
3296
6a57fb5f
LMI
3297 * image.el (put-image): Mention the `put-image' overlay property
3298 (bug#7834).
3299
d7956b14
LMI
3300 * scroll-bar.el (set-scroll-bar-mode): Mention that
3301 `scroll-bar-mode' lists the values (bug#7772).
3302
5b2d4a66
LMI
3303 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3304 command (bug#7729).
3305
7509a874
LMI
3306 * rect.el (apply-on-rectangle): Return the point after the last
3307 operation.
3308 (string-rectangle): Go to the point after the last operation
3309 (bug#7522).
3310
4fe74b19
LMI
3311 * printing.el (pr-toggle-region): Clarify the documentation
3312 slightly (bug#7493).
3313
b796c9b7
SM
3314 * time.el (display-time-update):
3315 Allow `display-time-mail-function' to return nil (bug#7158).
3316 Fix suggested by Detlev Zundel.
ab283561 3317
fc233c9d
LMI
3318 * vc/diff.el (diff): Clarify the order the file names are read
3319 (bug#7111).
3320
43f5740b
LMI
3321 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3322 the doc string (bug#7015).
3323
f2182a76
LMI
3324 * font-lock.el (font-lock-maximum-decoration): Mention what
3325 numeric levels mean (bug#6935).
3326
621ef9ab
LMI
3327 * startup.el (initial-buffer-choice): Don't mention the `none'
3328 selection, which is against policy.
3329
adc47434
MR
33302011-07-14 Martin Rudalics <rudalics@gmx.at>
3331
b796c9b7
SM
3332 * window.el (display-buffer-normalize-special):
3333 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 3334
7e5bfb8f
EZ
33352011-07-14 Eli Zaretskii <eliz@gnu.org>
3336
3337 * subr.el (version<, version<=, version=): Mention "-CVS" and
3338 "-12345" alpha version numbers.
3339
27fa387a
CY
33402011-07-14 Chong Yidong <cyd@stupidchicken.com>
3341
3342 * bindings.el: Add advertised binding for set-mark-command
3343 (Bug#5772).
3344
8bdfa064
CY
33452011-07-14 Chong Yidong <cyd@stupidchicken.com>
3346
3347 * bindings.el (mode-line-other-buffer):
3348 * bookmark.el (bookmark-bmenu-2-window):
3349 * bs.el (bs-cycle-next, bs-cycle-previous):
3350 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3351 switch-to-buffer.
3352
3353 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 3354 Delete.
8bdfa064 3355
5eba16a3
JB
33562011-07-14 Juanma Barranquero <lekktu@gmail.com>
3357
3358 * follow.el (follow-debug-message, follow-redisplay):
3359 * jka-cmpr-hook.el (with-auto-compression-mode):
3360 Fix typos in docstrings.
3361
15853710
LMI
33622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3363
a28e4607
LMI
3364 * subr.el (with-silent-modifications): Clarify somewhat what the
3365 macro inhibits (bug#6525).
3366
15853710
LMI
3367 * simple.el (eval-expression): Note what it does if called
3368 interactively (bug#6495).
3369
bee0fcef
CY
33702011-07-13 Chong Yidong <cyd@stupidchicken.com>
3371
b796c9b7
SM
3372 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3373 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
3374
3375 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3376 Remove switch-to-buffer.
3377
58274504
LMI
33782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3379
bd2fcc8d
LMI
3380 * files.el (make-directory): Clarify that an error will be raised
3381 if there's an error (bug#6397).
3382
0f04b32c
LMI
3383 * startup.el (initial-buffer-choice): Add `none' as a choice
3384 (bug#6234).
3385
465c5fc8
LMI
3386 * subr.el (add-hook): Clarify section about buffer-local hooks
3387 (bug#6218).
3388
58274504
LMI
3389 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3390
bead9a43
JB
33912011-07-13 Juanma Barranquero <lekktu@gmail.com>
3392
3393 * tabify.el (untabify): Preserve the current column so that point
3394 doesn't move (bug#6032).
3395
3af98a7b
LMI
33962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3397
b796c9b7
SM
3398 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3399 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3400
6240145a
GM
34012011-07-13 Glenn Morris <rgm@gnu.org>
3402
3403 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3404 (dired-insert-directory): Give a message the first time
3405 if ls is found not to support --dired.
3406
1d8c2ccc
LMI
34072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3408
3409 * simple.el (toggle-truncate-lines): Clarify what is toggled
3410 (bug#5580). Text by Drew Adams.
3411
5fc4038e
CY
34122011-07-13 Chong Yidong <cyd@stupidchicken.com>
3413
3414 * simple.el (blink-matching-open): Make the error message from the
3415 last change less verbose.
3416
bf6012e5
DN
34172011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3418
3419 * font-lock.el (font-lock-comment-face): Use the high contrast
3420 "yellow" color for font-lock-comment-face on low color terminals
3421 using a dark background color (bug#4221).
3422
343c3b5a
LMI
34232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3424
7e9505c5
LMI
3425 * dired.el (dired-insert-set-properties): Make the doc string
3426 reflect what it does now (bug#5325).
3427
c26fdcf5
LMI
3428 * simple.el (blink-matching-open): Say that we were unable to find
3429 the match within the limit, if we're limited (bug#5122).
3430
bb388cc5
LMI
3431 * international/mule-cmds.el (prefer-coding-system): Add an
3432 example (bug#4869).
3433
343c3b5a
LMI
3434 * progmodes/etags.el (tags-search): Document `file-list-form'
3435 (bug#4731).
3436
2a517d45
LM
34372011-07-13 Lawrence Mitchell <wence@gmx.li>
3438
3439 * net/browse-url.el (browse-url-default-browser)
3440 (browse-url-browser-function): Make the default browser choice a
3441 bit more logical (bug#4300). Also clean up the doc string.
3442
b6c78ef2
JB
34432011-07-13 Juanma Barranquero <lekktu@gmail.com>
3444
3445 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3446 binary endings (bug#4440).
3447
1c4dd947
LMI
34482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3449
a2014063
LMI
3450 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3451 which can be pretty annoying (bug#8971).
3452
9c9c2d88
LMI
3453 * jka-compr.el (jka-compr-verbose): New variable, and use
3454 throughout (bug#8971).
3455
1c4dd947
LMI
3456 * info.el (Info-find-file): Fall back on the installation
3457 directory if we can't find the info node anywhere else.
3458
a1c9f41b
SO
34592011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3460
3461 * vc/vc.el (vc-revert-file):
3462 Don't set file time-stamp in the past. (Bug#5181)
3463
536f3d36
LMI
34642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3465
7152b011
LMI
3466 * files.el (after-find-file): Give a better error message when
3467 trying to find a symlink that points to a file that doesn't exist
3468 (bug#4398).
3469
536f3d36
LMI
3470 * progmodes/cc-vars.el: Remove (probably) misleading comment
3471 (bug#4396).
3472
460c0fba
JB
34732011-07-12 Johan Bockgård <bojohan@gnu.org>
3474
3475 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3476
7a6bda45
CY
34772011-07-12 Chong Yidong <cyd@stupidchicken.com>
3478
3479 * mouse-sel.el: Hack restoring functionality, while keeping
3480 compatibility with 2010-07-03 changes to mouse selection.
3481 (mouse-sel-primary-overlay): New var.
3482 (mouse-sel-selection-alist): Use it.
3483 (mouse-sel-mode): Doc fix; remove points that are default features
3484 of mouse.el.
3485
c79598ef
JB
34862011-07-12 Johan Bockgård <bojohan@gnu.org>
3487
3488 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3489 Fix previous fix (bug#2490).
3490
ff8be6ef
RW
34912011-07-12 Roland Winkler <winkler@gnu.org>
3492
b796c9b7
SM
3493 * textmodes/bibtex.el (bibtex-initialize):
3494 Use pop-to-buffer-same-window.
ff8be6ef
RW
3495 (bibtex-search-entries): Fix interactive call.
3496
296ba3ee
LMI
34972011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3498
f5242a02 3499 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3500 Fontise bytecomp Error lines more correctly (bug#2490).
3501 Fix suggested by Johan Bockgård.
f5242a02 3502
296ba3ee
LMI
3503 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3504
3505 * dired-x.el (dired-guess-default): Use `delete-dups'.
3506
f69fd0d2
CY
35072011-07-12 Chong Yidong <cyd@stupidchicken.com>
3508
3509 * dired.el (dired-mark-prompt):
3510 * dired-aux.el (dired-read-shell-command): Doc fix.
3511
eab5dc07
LMI
35122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3513
b796c9b7
SM
3514 * mail/sendmail.el (sendmail-query-once):
3515 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3516 emacs -Q.
3517
3518 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3519
eab5dc07
LMI
3520 * cus-edit.el (custom-file): Take an optional no-error variable.
3521 (customize-save-variable): Set the variable, and give a warning if
3522 running under "emacs -q".
3523
a1e65d42
JB
35242011-07-11 Juanma Barranquero <lekktu@gmail.com>
3525
3526 * loadhist.el (unload-feature-special-hooks):
3527 Add `auto-coding-functions', `fill-nobreak-predicate' and
3528 `find-directory-functions' (bug#5327).
3529
1d52da10
LMI
35302011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3531
be958f1d
LMI
3532 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3533
5bedb26c
LMI
3534 * cus-edit.el (custom-guess-name-alist): -alist variables should
3535 use the `alist' type (bug#3120). Suggested by Drew Adams.
3536
1d52da10
LMI
3537 * printing.el: Add documentation to all the `pr-toggle-' commands.
3538
481a51b6
LL
35392011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3540
3541 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3542 backends where it makes sense (bug#2623).
3543
dcc88d8a
LMI
35442011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3545
c3de9feb
LMI
3546 * dired-x.el (dired-guess-default): Remove duplicate shell command
3547 entries (bug#2028).
8a93078b 3548 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3549 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3550
dcc88d8a
LMI
3551 * subr.el (remove-duplicates): New conveniency function.
3552
505e3645
LMI
35532011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3554
3555 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3556 (bug#1526).
3557
35582011-07-10 Martin Rudalics <rudalics@gmx.at>
3559
3560 * window.el (display-buffer-normalize-default): Don't invert
3561 meaning of even-window-heights. Reported by Eli Zaretskii
3562 <eliz@gnu.org>.
3563
455e4fa1
BR
35642011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3565
3566 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3567
8e0bc3e9
CY
35682011-07-10 Chong Yidong <cyd@stupidchicken.com>
3569
3570 * window.el (display-buffer): Fix arguments to
3571 display-buffer-reuse-window in last change.
3572
fa7c3228
CY
3573 * faces.el (link): Use a less saturated blue on light backgrounds.
3574
3575 * startup.el (fancy-startup-text, fancy-about-text)
3576 (fancy-startup-tail): Use font-lock faces, for background safety.
3577
c0a7f300
BN
35782011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3579
b796c9b7
SM
3580 * emulation/viper-cmd.el (viper-change-state-to-vi):
3581 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3582
4dc2a129
MR
35832011-07-09 Martin Rudalics <rudalics@gmx.at>
3584
3585 * window.el (display-buffer-default-specifiers): Remove.
3586 (display-buffer-macro-specifiers): Remove default specifiers.
3587 (display-buffer-alist): Default to nil.
b796c9b7 3588 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3589 (display-buffer-pop-up-window): Allow splitting internal
3590 windows. Check whether a live window was created.
3591 (display-buffer-other-window-means-other-frame)
3592 (display-buffer-normalize-arguments): Rename to
3593 display-buffer-normalize-argument and rewrite. Set the
3594 other-window specifier.
3595 (display-buffer-normalize-special): New function.
3596 (display-buffer-normalize-options): Rename to
3597 display-buffer-normalize-default and rewrite.
3598 (display-buffer-normalize-options-inhibit): Remove.
3599 (display-buffer-normalize-specifiers): Rewrite.
3600 (display-buffer): Process other-window specifier and call
3601 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3602 more faithfully.
b796c9b7 3603 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3604 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3605 (display-buffer-in-window, display-buffer-alist-set):
3606 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3607 <tassilo@member.fsf.org>.
3608
2d43b8c9
LL
36092011-07-09 Leo Liu <sdl.web@gmail.com>
3610
3611 * register.el (insert-register): Restore accidental change on
3612 2011-06-26. (Bug#9028)
3613
7f9b7c53
GM
36142011-07-09 Glenn Morris <rgm@gnu.org>
3615
3616 * subr.el (remq): Handle the empty list. (Bug#9024)
3617
f042cfd8
AS
36182011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3619
3620 * mail/sendmail.el (send-mail-function): No longer delay custom
3621 initialization.
3622 * custom.el (custom-initialize-delay): Doc fix.
3623
856b2f11
SM
36242011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3625
3626 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3627
afae1d68
MA
36282011-07-08 Michael Albinus <michael.albinus@gmx.de>
3629
3630 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3631 human-friendly prompt.
3632
0757af94
SM
36332011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3636 provided by a particular plugin.
3637
d760b731
LMI
36382011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3639
3640 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3641 save customizations (with "emacs -Q"), just set the variable
3642 instead of erroring out.
3643
3644 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3645
cd79ce90
JL
36462011-07-08 Juri Linkov <juri@jurta.org>
3647
3648 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3649 (archive-zip-update-case): Use 7z if found by `executable-find'.
3650 The order of searching the available programs is the same as in
3651 `archive-zip-extract' (bug#8968).
3652
14cc04aa
CY
36532011-07-07 Chong Yidong <cyd@stupidchicken.com>
3654
3655 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3656 (menu-bar-options-menu): Tweak descriptions.
3657
0a1848ec
LMI
36582011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3659
3660 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3661 menu items into verb phrases (bug#1421). Also refill to fit under
3662 80 columns.
3663
f5bd0689
CY
36642011-07-07 Chong Yidong <cyd@stupidchicken.com>
3665
538e85c6
CY
3666 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3667 (Info-read-node-name): Doc fix (Bug#1084).
3668
f5bd0689
CY
3669 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3670 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3671 (end-of-sexp, beginning-of-sexp)
3672 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3673 (forward-symbol, forward-same-syntax, word-at-point)
3674 (sentence-at-point): Doc fix (Bug#1144).
3675
56ec5115
LMI
36762011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3677
f3f8e37f
LMI
3678 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3679 should cover it (bug#1281).
3680
0757af94 3681 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3682
12b9eb35
LMI
3683 * net/network-stream.el (network-stream-open-starttls): If gnutls
3684 negotiation fails, then possibly try again with a non-encrypted
3685 connection (bug#9017).
3686
56ec5115
LMI
3687 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3688 be used.
3689
c2f9aec8
RS
36902011-07-07 Richard Stallman <rms@gnu.org>
3691
3692 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3693 property, and handle its changed format.
3694 Look for the correct line number.
3695 Use file's line contents (but not past first =) to find
3696 correct line in message.
3697
ef7b981d 36982011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3699
3700 * international/characters.el (build-unicode-category-table):
3701 Delete it.
0757af94 3702 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3703
0757af94 3704 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3705 to src/chartab.c.
3706 (get-char-code-property): Call unicode-property-table-internal to
3707 load a file. Call get-unicode-property-internal where necessary.
3708 (put-char-code-property): Call unicode-property-table-internal to
3709 load a file. Call put-unicode-property-internal where necessary.
3710 put-unicode-property-internal where necessary.
0757af94
SM
3711 (char-code-property-description):
3712 Call unicode-property-table-internal to load a file.
c805dec0
KH
3713
3714 * international/charprop.el:
3715 * international/uni-bidi.el:
3716 * international/uni-category.el:
3717 * international/uni-combining.el:
3718 * international/uni-comment.el:
3719 * international/uni-decimal.el:
3720 * international/uni-decomposition.el:
3721 * international/uni-digit.el:
3722 * international/uni-lowercase.el:
3723 * international/uni-mirrored.el:
3724 * international/uni-name.el:
3725 * international/uni-numeric.el:
3726 * international/uni-old-name.el:
3727 * international/uni-titlecase.el:
3728 * international/uni-uppercase.el: Regenerate.
3729
3730 * loadup.el: Load international/charprop.el before
3731 international/characters.
3732
e14b388a
CY
37332011-07-07 Chong Yidong <cyd@stupidchicken.com>
3734
3735 * window.el (next-buffer, previous-buffer): Signal an error if
3736 called from a minibuffer window.
3737
3738 * bindings.el: Revert 2011-07-04 change.
3739
354cf0ba
RS
37402011-07-06 Richard Stallman <rms@gnu.org>
3741
3742 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3743 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3744 Treat markers like ints.
3745 (rmail-mime-entity): Doc fix.
3746
a48868a7
LMI
37472011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3748
4906cd3d
LMI
3749 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3750 defcustom again for backwards compatibility.
3751
e0457abe
LMI
3752 * simple.el (shell-command-on-region): Fill.
3753
d67f7e1f
LMI
3754 * dired-aux.el (dired-kill-line): Add a doc string.
3755
fe204702
LMI
3756 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3757 to "\\sw\\|\\s_" (bug#358).
3758
a48868a7
LMI
3759 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3760 (dired-unmark-backward): Ditto.
3761 (dired-flag-backup-files): Ditto.
3762
3763 * dired-x.el (dired-mark-sexp): Ditto.
3764
aa8a705c
RS
37652011-07-06 Richard Stallman <rms@gnu.org>
3766
3767 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3768 (rmail-mime-entity): New arg TRUNCATED.
3769 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3770 New functions.
3771 (rmail-mime-save): Warn if entity is truncated.
3772 (rmail-mime-toggle-hidden): Likewise, for showing.
3773 (rmail-mime-process-multipart): Record when an entity is truncated.
3774
a9a936b9
RS
3775 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3776 if ENTITY is a string.
3777
1f2b92cb
LMI
37782011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3779
f4f73198 3780 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3781 of faces when `M-C-x'-ing their definitions (bug#8378).
3782 Also clean up the code slightly.
f4f73198 3783
12b16734 3784 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 3785 because that makes the colors go away.
12b16734 3786
f0691d22
LMI
3787 * mail/sendmail.el (send-mail-function): Change the default to
3788 `sendmail-query-once'.
9e87df06 3789 (sendmail-query-once): Add an autoload cookie.
f0691d22 3790
1f2b92cb
LMI
3791 * net/network-stream.el (network-stream-open-starttls): Try using
3792 a plain connection even if the server offered STARTTLS, and we
3793 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3794 capability. This should make smtpmail.el work in slightly more
3795 configurations.
3796
1cdd2a1b
MA
37972011-07-06 Michael Albinus <michael.albinus@gmx.de>
3798
3799 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3800 New defun.
3801 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3802
fbcc67e2
MM
38032011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3804
3805 * progmodes/sql.el: Version 3.0
0757af94 3806 (sql-product-alist): Add product :completion-object,
fbcc67e2 3807 :completion-column, and :statement attributes.
0757af94 3808 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3809 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3810 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3811 ansi keywords.
3812 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3813 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3814 (sql-oracle-show-reserved-words): New function for development.
3815 (sql-product-font-lock): Simplify for source code buffers.
3816 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3817 New functions.
3818 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3819 (sql-mode-map): Add statement movement functions.
3820 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3821 New variable.
fbcc67e2
MM
3822 (sql-statement-regexp, sql-beginning-of-statement)
3823 (sql-end-of-statement, sql-signum): New functions.
0757af94 3824 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3825 (sql-show-sqli-buffer): Bug fix.
3826 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3827 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3828 with sql-interactive-mode.
3829 (sql-save-connection): Save buffer local settings.
0757af94 3830 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3831 (sql-product-interactive): Bug fix.
3832 (sql-preoutput-hold): New variable.
3833 (sql-interactive-remove-continuation-prompt): Bug fixes.
3834 (sql-debug-redirect): New variable.
3835 (sql-str-literal): New function.
3836 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3837 Redesign.
fbcc67e2
MM
3838 (sql-oracle-save-settings, sql-oracle-restore-settings)
3839 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3840 (sql-completion-object, sql-completion-column)
3841 (sql-completion-sqlbuf): New variables.
3842 (sql-build-completions-1, sql-build-completions)
3843 (sql-try-completion): New functions.
3844 (sql-read-table-name): Use them.
3845 (sql-contains-names): New buffer local variable.
3846 (sql-list-all, sql-list-table): Use it.
3847 (sql-oracle-completion-types): New variable.
3848 (sql-oracle-completion-object, sql-sqlite-completion-object)
3849 (sql-postgres-completion-object): New functions.
3850
d4eaeab1
GM
38512011-07-06 Glenn Morris <rgm@gnu.org>
3852
3853 * window.el (pop-to-buffer): Doc fix.
3854
322b7dab 38552011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3856
3857 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3858
322b7dab 38592011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3860
322b7dab 3861 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3862
322b7dab 3863 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3864
605dd5bf
CY
38652011-07-05 Chong Yidong <cyd@stupidchicken.com>
3866
3867 * button.el (button): Inherit from link face. Suggested by Dan
3868 Nicolaescu.
3869
7dbfa719
SM
38702011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3db614b0
SM
3872 * progmodes/gdb-mi.el: Fit in 80 columns.
3873 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3874 switch-to-buffer.
3875
7dbfa719
SM
3876 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3877 if imenu is simply not configured (bug#8941).
3878
919d884a
KM
38792011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3880
3881 * allout.el (allout-post-undo-hook): New allout outline-change
3882 event hook to signal undo activity.
3883 (allout-post-command-business): Run allout-post-undo-hook if an
3884 undo just occurred.
7dbfa719
SM
3885 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3886 * allout-widgets.el (allout-widgets-after-undo-function):
3887 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3888 in the vicinity of an undo.
3889 (allout-widgets-mode): Include allout-widgets-after-undo-function
3890 on the new allout-post-undo-hook.
3891
450a0f09
SM
38922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3893
3894 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3895 Let define-derived-mode define it.
3896 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3897 cycles of abbrev-table inheritance (bug#8998).
3898
2de69e00
RW
38992011-07-05 Roland Winkler <winkler@gnu.org>
3900
3901 * textmodes/bibtex.el: Add support for biblatex.
3902 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3903 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3904 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3905 (bibtex-entry-alist, bibtex-field-alist): New variables.
3906 (bibtex-entry-field-alist): Obsolete alias for
3907 bibtex-BibTeX-entry-alist.
3908 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3909 (bibtex-set-dialect): New command.
3910 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3911 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3912 Bind via bibtex-set-dialect.
2de69e00
RW
3913 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3914 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3915 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3916 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3917 Define via bibtex-set-dialect.
450a0f09
SM
3918 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3919 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3920 (bibtex-vec-push, bibtex-vec-incr): New functions.
3921 (bibtex-format-entry, bibtex-field-list)
3922 (bibtex-print-help-message, bibtex-validate)
3923 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3924
2dcdbdd9
SM
39252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3926
3927 * progmodes/compile.el (compilation-goto-locus):
3928 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3929 * bs.el (bs-cycle-next, bs-cycle-previous):
3930 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3931 * bindings.el (mode-line-other-buffer):
3932 * autoinsert.el (auto-insert):
3933 * arc-mode.el (archive-extract):
3934 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3935
b27640fe
JB
39362011-07-05 Juanma Barranquero <lekktu@gmail.com>
3937
3938 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3939 Fix check of `emacs-lock-unlockable-modes'.
3940 Coerce true values of `emacs-lock--try-unlocking' to t.
3941
53bbe3ad
JB
39422011-07-05 Juanma Barranquero <lekktu@gmail.com>
3943
3944 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3945 * emacs-lock.el: New file.
3946
1d3cdbc7
JD
39472011-07-05 Julien Danjou <julien@danjou.info>
3948
3949 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3950 than `boundp' to check if face is set.
3951
9173deec
JB
39522011-07-05 Juanma Barranquero <lekktu@gmail.com>
3953
3954 * register.el (registerv-make):
3955 * window.el (window-min-height): Fix typos in docstrings.
3956
869795d6
JD
39572011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3958
9173deec 3959 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3960 Update doc string.
3961
b768cdcd
JB
39622011-07-04 Juanma Barranquero <lekktu@gmail.com>
3963
3964 * server.el (server-execute): Catch quit and call
3965 `server-return-error' to pass the error back to emacsclient and
3966 close the connection (bug#8942).
3967
13aa217b
KM
39682011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3969
3970 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3971 insecure exception for current topic. Also note that auto-saves
3972 are handled differently.
3973
3974 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3975 State variables for tracking auto-save inhibition situation.
3976
3977 (allout-write-contents-hook-handler): Rename from
3978 'allout-write-file-hook-handler', and describe how it depends on
3979 write-contents-functions sensitivity to non-nil value to prevent
3980 file write.
3981
3982 (allout-auto-save-hook-handler): Remove. auto-save does not check
3983 this in individual buffers, only in the starting buffer, so this
3984 is not the right way for us to inhibit auto-save in a buffer
3985 according to its condition.
3986
3987 (allout-mode): Use new allout-write-contents-hook-handler, and
3988 only with write-contents-functions. Remove auto-save provisions -
3989 they're implemented elsewhere.
3990
3991 (allout-before-change-handler): If undo is in progress, note that
3992 for attention of allout-post-command-business.
3993
3994 (allout-post-command-business): If the command we're following was
3995 an undo, check for change in the status of encrypted items and
3996 adjust auto-save inhibitions accordingly.
3997
3998 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3999 according to whether there are or aren't any plain-text topics
4000 pending encryption.
4001
2dcdbdd9
SM
4002 (allout-inhibit-auto-save-info-for-decryption):
4003 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
4004 there are plain-text topics pending encryption.
4005
4006 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4007 buffer-saved-size and some allout state to not inhibit auto-saves
4008 if there are no longer any plain-text topics pending encryption.
4009
0757af94
SM
4010 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4011 No longer provide for exemption of the current topic.
13aa217b 4012
ac89b32c
JL
40132011-07-04 Juri Linkov <juri@jurta.org>
4014
4015 Add 7z operations to delete and save changed members (bug#8968).
4016 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4017 New defcustoms.
4018 (archive-7z-write-file-member): New function.
4019 (archive-7z-summarize): Fix the number of dashes in the
4020 listing output.
4021
8fa39615
SM
40222011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4023
4024 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4025 (bug#8958).
4026
2f11b3f1
CY
40272011-07-04 Chong Yidong <cyd@stupidchicken.com>
4028
d66fef2b
CY
4029 * bindings.el: Ignore next-buffer and previous-buffer in
4030 minibuffer-local-map.
4031
2f11b3f1
CY
4032 * font-lock.el (font-lock-builtin-face): Change light background
4033 color to dark slate blue (Bug#6693).
4034
f932a347
WD
40352011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4036
4037 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4038
c8af70e1
SM
40392011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4042 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4043 Add switch-to-buffer.
4044
f158badc
LMI
40452011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4046
4047 * isearch.el (isearch-search-fun-function): Clarify further the
4048 meaning of the function returned.
4049
6d95bd46
MA
40502011-07-04 Michael Albinus <michael.albinus@gmx.de>
4051
4052 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4053
4054 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4055 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4056 Use it.
4057 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4058 `tramp-default-remote-path' does not exist.
4059 (tramp-send-command-and-read): New optional argument NOERROR.
4060 (tramp-open-connection-setup-interactive-shell)
4061 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4062 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4063 (tramp-process-sentinel): Flush also process' connection property.
4064 (tramp-sh-handle-start-file-process): Do not set process
4065 sentinel. It is done now ...
4066 (tramp-maybe-open-connection): ... here. (Bug#8929)
4067
909e6b67
MK
40682011-07-04 MON KEY <monkey@sandpframing.com>
4069
4070 * play/animate.el (animate-string): Doc fixes and allow changing
4071 the buffer name (bug#5417).
4072
40732011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4074
c8af70e1 4075 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 4076
f34755dc
PE
40772011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4078
396cec72
PE
4079 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4080 This is simpler and helps future-proof the code.
4081 (timer-until): Use time-subtract and float-time.
08235028 4082 (timer--time-less-p): Use time-less-p.
f34755dc 4083
56e6cc31
JB
40842011-07-04 Juanma Barranquero <lekktu@gmail.com>
4085
3abb79e5
JB
4086 * type-break.el (timep): Use the value of `float-time' to avoid a
4087 byte-compiler warning.
4088
56e6cc31
JB
4089 * server.el (server-eval-and-print): Return any result, even nil.
4090
7b9430b4
PE
40912011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4092
4093 * type-break.el: Accept time formats that the builtins accept.
4094 (timep, type-break-time-difference): Accept any format that
4095 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4096 This is simpler and helps future-proof the code.
4097 (type-break-time-difference): Round rather than ignoring
4098 subseconds components.
4099
3034e9e7
LMI
41002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4101
4102 * info.el (Info-apropos-matches): Make non-interactive, since it
4103 doesn't seem to do anything useful as a command (bug#8829).
4104
1485f4c0
CY
41052011-07-03 Chong Yidong <cyd@stupidchicken.com>
4106
4107 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 4108 Move from faces.el.
1485f4c0
CY
4109 (frame-default-terminal-background): New function.
4110
4111 * custom.el (custom-push-theme): Don't record faces in `changed'
4112 theme; this doesn't work correctly for per-frame face settings.
4113 (disable-theme): Use face-set-after-frame-default to reset faces.
4114 (custom--frame-color-default): New function.
4115
9fa3dd45
LMI
41162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4117
c8af70e1 4118 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
4119 (bug#8769).
4120
6cbbc20c
KR
41212011-03-29 Kevin Ryde <user42@zip.com.au>
4122
4123 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4124 `perl-Test2' extend to match possible "fail #N" rep count
4125 (bug#8377).
4126
c7f98048
LMI
41272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4128
65676592
LMI
4129 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4130 `smtpmail-via-smtp' now returns the error instead of nil.
4131
c7f98048
LMI
4132 * isearch.el (isearch-search-fun-function): Clarify the doc string
4133 (bug#8101).
4134
56e6cc31 41352011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
4136
4137 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4138 unnecessary spaces (bug#8987).
4139
2b216704
LMI
41402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4141
4142 * net/network-stream.el (open-network-stream): Use the
4143 :end-of-capability command thoughout.
4144
41452011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4146
4147 * net/network-stream.el (open-network-stream): Add the
4148 :end-of-capability command parameter, used by pop3.el.
4149
36adf6ce
LMI
41502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4151
1ca0da0e
LMI
4152 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4153
fc00f69c
LMI
4154 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4155 for list)" (bug#6475).
4156
28fd8759 4157 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 4158 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
4159 an error (bug#6297).
4160
0dd8b6da
LMI
4161 * man.el (Man-reference-regexp): Allow matching possible
4162 word-wrapped references (bug#6289).
4163
ce1438d6
LMI
4164 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4165 for consistency with the other vc buffers (bug#6197).
4166 (vc-checkin): Ditto.
4167
4168 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4169
36adf6ce
LMI
4170 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4171
e83cc1f7
LMI
41722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4173
8a20ca4c
LMI
4174 * custom.el (defcustom): Clarify that :set is only used in the
4175 Customize user interface (bug#6089).
4176
83319045
LMI
4177 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4178 associated with a file, refuse to run instead of erroring out
4179 (bug#6084).
4180
a8392169
LMI
4181 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4182 the doc string, since it appears that using `fill-column' always
4183 controls the width (bug#7845).
4184
e83cc1f7
LMI
4185 * simple.el (shell-command-on-region): Say where the error output
4186 went if `shell-command-default-error-buffer' is set (bug#6857).
4187
e47ca23b
KM
41882011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4189
4190 * allout.el (allout-yank-processing): Adjust cursor position for
4191 backwards-deleted space.
4192
4193 (allout-rebullet-heading): Register changes with
4194 allout-exposure-changed-hook, so the modified topic is properly
4195 decorated.
4196
5cf56143
LMI
41972011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4198
08549772
LMI
4199 * minibuffer.el (completion-in-region): Document PREDICATE
4200 (bug#7136).
4201
48e96771
LMI
4202 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4203 of keyword/argument pairs (bug#6904).
4204
c8af70e1
SM
4205 * replace.el (multi-occur):
4206 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 4207
e17d05e2
LMI
42082011-07-02 Drew Adams <drew.adams@oracle.com>
4209
4210 * dired.el (dired-mark-if): Make the message about whether it's
4211 marking or unmarking clearer (bug#8523).
4212
063b0e45
LMI
42132011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4214
4215 * disp-table.el (display-table-print-array): New function.
4216 (describe-display-table): Use it to print the vectors more pretty
4217 (Bug#8859).
4218
28545e04
MR
42192011-07-02 Martin Rudalics <rudalics@gmx.at>
4220
4221 * window.el (window-state-get-1): Don't assign clone numbers.
4222 Add clone-of item to list of window parameters.
4223 (window-state-put-2): Don't process clone numbers.
4224 (display-buffer-alist): Fix doc-string.
4225
3349e122
SM
42262011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * subr.el (remq): Don't allocate if it's not needed.
4229 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4230 (keymap--merge-bindings): New functions.
4231 (keymap-canonicalize): Use them to refine the canonicalization.
4232 * minibuffer.el (minibuffer-local-completion-map)
4233 (minibuffer-local-must-match-map): Move initialization from C.
4234 (minibuffer-local-filename-completion-map): Move initialization from C;
4235 don't inherit from anything here.
4236 (minibuffer-local-filename-must-match-map): Make obsolete.
4237 (completing-read-default): Use make-composed-keymap to combine
4238 minibuffer-local-filename-completion-map with either
4239 minibuffer-local-must-match-map or
4240 minibuffer-local-filename-completion-map.
4241
d224ac83
GM
42422011-07-01 Glenn Morris <rgm@gnu.org>
4243
3de63bf8
GM
4244 * type-break.el (type-break-time-sum): Use dolist.
4245
d224ac83
GM
4246 * textmodes/flyspell.el (flyspell-word-search-backward):
4247 Replace CL function.
4248
1a1e3f32
SM
42492011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4250
fe3f64d5
SM
4251 * mouse.el (mouse--strip-first-event): New function.
4252 (function-key-map): Use it to map fringe clicks to normal clicks
4253 by default.
4254
eb604e34
SM
4255 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4256 (vc-bzr-revision-completion-table): Add support for annotate and date.
4257
1a1e3f32
SM
4258 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4259 inherit from parent.
4260
5bd35902
LMI
42612011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4262
ace6c69c 4263 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 4264 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 4265
191e2bed
LMI
4266 * dired.el (dired-mode): Fix up the doc string as suggested by
4267 Drew Adams (bug#8817).
4268
5bd35902
LMI
4269 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4270 cookie, since the manual says that it should be possible to add
4271 this function to `find-file-hook' (bug#8709).
4272
eee8207a
TZ
42732011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4274
4275 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4276 here. Noted Ted Zlatanov as the maintainer.
4277 (cfengine-common-settings, cfengine-common-syntax): New functions
4278 to set up common things between `cfengine-mode' and
4279 `cfengine3-mode'.
4280 (cfengine3-mode): New mode.
4281 (cfengine3-defuns cfengine3-defuns-regex
4282 (cfengine3-class-selector-regex cfengine3-category-regex)
4283 (cfengine3-vartypes cfengine3-font-lock-keywords)
4284 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 4285 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 4286
36b148cf
MA
42872011-07-01 Michael Albinus <michael.albinus@gmx.de>
4288
4289 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4290
4291 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4292
0bf4ba9a
MR
42932011-07-01 Martin Rudalics <rudalics@gmx.at>
4294
4295 * window.el (same-window-buffer-names, same-window-regexps)
4296 (same-window-p, special-display-frame-alist)
4297 (special-display-popup-frame, special-display-function)
4298 (special-display-buffer-names, special-display-regexps)
4299 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4300 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4301 (split-window-preferred-function, split-height-threshold)
4302 (split-width-threshold, even-window-heights)
4303 (display-buffer-mark-dedicated, window-splittable-p)
4304 (split-window-sensibly, window-safely-shrinkable-p):
4305 Un-obsolete.
4306 (display-buffer): Don't spread args with function specifier
4307 because special-display-popup-frame won't like it.
4308
35837f51
PE
43092011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4310
d0672f86
PE
4311 Time-stamp simplifications and fixes.
4312 These improve accuracy slightly, and future-proof the code
4313 against some potential changes to current-time format.
4314
b9444d97
PE
4315 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4316 by using time-since and float-time.
4317
0ef923dc
PE
4318 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4319 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4320 + NNN microseconds".
4321
2f81380d
PE
4322 * type-break.el (type-break-time-sum): Rewrite using time-add.
4323
845b5c3e
PE
4324 * play/hanoi.el (hanoi-current-time-float): Remove.
4325 All uses replaced by float-time.
4326
ee6f1be0
PE
4327 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4328 This yields a more-accurate answer.
4329 (rng-time-to-float): Remove; no longer needed.
4330
fe955043
PE
4331 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4332
5777162a
PE
4333 * calendar/timeclock.el (timeclock-seconds-to-time):
4334 Defalias to seconds-to-time, since they're the same thing.
4335
3103f8b6 4336 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 4337 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
4338 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4339
0e61a35f
SM
43402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * window.el (bury-buffer): Don't iconify the only frame.
4343 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4344 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4345
ddd63a1e
CY
43462011-07-01 Chong Yidong <cyd@stupidchicken.com>
4347
0e61a35f
SM
4348 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4349 Add mouse-yank-primary.
ddd63a1e 4350
055f4923
TZ
43512011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4352
4353 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4354
6a2fb145
SM
43552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4356
4357 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4358 (find-library-name): Use it to find relative load names when provided
4359 absolute file name (bug#8803).
4360
fd4983f2
LMI
43612011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4362
887d14ad
LMI
4363 * textmodes/flyspell.el (flyspell-word): Consider words that
4364 differ only in case as potential doublons (bug#5687).
4365
c53dc7fc
LMI
4366 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4367 Remove two rather uninteresting debugging-like messages to make
4368 debbugs.el more silent.
4369
fd4983f2
LMI
4370 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4371 a password-like phrase.
4372
b14c0c55
AM
43732011-06-30 Mastake YAMATO <yamato@redhat.com>
4374
4375 * progmodes/cc-guess.el: New file.
4376
6a2fb145 4377 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
4378
4379 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4380 derived from `c-basic-common-init'.
4381
4382 * progmodes/cc-mode.el (top-level): Require cc-guess.
4383 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4384
1fa280a3
LM
43852011-06-30 Lawrence Mitchell <wence@gmx.li>
4386
4387 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4388
e6597158
AM
43892011-06-30 Alan Mackenzie <acm@muc.de>
4390
1fa280a3
LM
4391 * progmodes/cc-engine.el (c-guess-continued-construct):
4392 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4393 lock is disabled. Name this case as "CASE G".
4394
68ba37fb
KM
43952011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4396
4397 * allout.el (allout-yank-processing): Fix injection of extra space
4398 between bullet and non-whitespace character in first topic when
4399 pasting, ensuring that the actual spacing in the pasted topic
4400 following the bullet char is preserved. This extra space was
4401 causing pasted encrypted topics to get a decrypted status even
4402 when the content was actually still encrypted. Now the decryption
4403 status from before the paste is preserved.
4404
4405 (allout-flag-region): Set all allout overlays so they evaporate
4406 when reduced to zero length (evanescent), to prevent overlay
4407 leakage.
4408
887a0b34
GM
44092011-06-30 Glenn Morris <rgm@gnu.org>
4410
94b9acce
GM
4411 * w32-fns.el (w32-charset-info-alist): Declare.
4412
1d9b46d4
GM
4413 * find-dired.el (find-grep-options): Simplify.
4414
cc232200
GM
4415 * term/ns-win.el (ns-set-resource): Declare.
4416
28e77c46
GM
4417 * ses.el (row, col): Declare dynamic variables honestly.
4418
887a0b34
GM
4419 * textmodes/reftex-parse.el (index-tags): Declare.
4420
658d8eb8
CY
44212011-06-30 Chong Yidong <cyd@stupidchicken.com>
4422
4423 * cus-edit.el (customize-push-and-save): New function.
4424
4425 * files.el (hack-local-variables-confirm): Use it.
4426
1fa280a3
LM
4427 * custom.el (load-theme): New arg NO-CONFIRM.
4428 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4429 (custom-enabled-themes): Doc fix.
4430
4431 * cus-theme.el (customize-create-theme)
4432 (custom-theme-merge-theme): Callers to load-theme changed.
4433
bb617717
LMI
44342011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4435
d61bdd5d
LMI
4436 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4437 short URLs have at least one dot in them (bug #7614).
4438
bb617717
LMI
4439 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4440 nil, because using a pty is apparently too slow (bug #895).
4441
2f31f37a
LMI
44422011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4443
4444 * mail/sendmail.el (sendmail-query-once): New function.
4445 (sendmail-query-once-function): New variable.
4446
3076b24e
GM
44472011-06-29 Glenn Morris <rgm@gnu.org>
4448
faf2a174
GM
4449 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4450
3076b24e
GM
4451 * ses.el (top-level): Require cl when compiling.
4452 (ses-set-localvars): Fix error statement.
4453 Call it at compile time to silence a storm of warnings.
4454
5386012d
MR
44552011-06-29 Martin Rudalics <rudalics@gmx.at>
4456
4457 * window.el (normalize-live-buffer): Rename to
4458 window-normalize-buffer.
4459 (normalize-live-frame): Rename to window-normalize-frame.
4460 (normalize-any-window): Rename to window-normalize-any-window.
4461 (normalize-live-window): Rename to window-normalize-live-window.
4462 (make-window-atom): Rename to window-make-atom.
4463 (window-resize-reset): Rename to window--resize-reset.
4464 (window-resize-reset-1): Rename to window--resize-reset-1.
4465 (resize-mini-window): Rename to window--resize-mini-window.
4466 (resize-subwindows-skip-p): Rename to
4467 window--resize-subwindows-skip-p.
4468 (resize-subwindows-normal): Rename to
4469 window--resize-subwindows-normal.
4470 (resize-subwindows): Rename to window--resize-subwindows.
4471 (resize-other-windows): Rename to window--resize-siblings.
4472 (resize-this-window): Rename to window--resize-this-window.
4473 (resize-root-window): Rename to window--resize-root-window.
4474 (resize-root-window-vertically): Rename to
4475 window--resize-root-window-vertically.
4476 (normalize-buffer-to-display): Rename to
4477 window-normalize-buffer-to-display.
4478 (normalize-buffer-to-switch-to): Rename to
4479 window-normalize-buffer-to-switch-to.
4480 Correspondingly update all callers of the functions listed
4481 above.
4482 (display-buffer-alist, display-buffer-normalize-arguments)
4483 (display-buffer-normalize-options, display-buffer)
4484 (display-buffer-alist-set): Use "function" instead of
4485 "fun-with-args".
4486
1176868d
CY
44872011-06-28 Chong Yidong <cyd@stupidchicken.com>
4488
4489 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4490 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4491 debbugs.gnu.org. Mention acknowledgment email.
4492
20a7a65f
LMI
44932011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4494
4495 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4496 buffer multibyteness, since it shouldn't matter.
4497
5f45cca5
MR
44982011-06-28 Martin Rudalics <rudalics@gmx.at>
4499
4500 * window.el (display-buffer-in-side-window): Handle dedicated
4501 windows as in display-buffer-reuse-window.
4502 (display-buffer-normalize-alist): Use value of override
4503 specifier.
4504 (display-buffer-normalize-specifiers): Use value of
4505 other-window-means-other-frame specifier.
4506 (display-buffer-alist): Rewrite some texts in widgets.
4507 (display-buffer): Spread arguments when calling function
4508 specified by fun-with-args.
4509
ad85fe1f
DD
45102011-06-28 Deniz Dogan <deniz@dogan.se>
4511
1fa280a3
LM
4512 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4513 Unnest `let'.
da68c4c8 4514
ad85fe1f
DD
4515 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4516 selectors (Bug#5732).
ec49bd31 4517 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4518
a08cc025
JA
45192011-06-27 Jari Aalto <jari.aalto@cante.net>
4520
4521 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4522 (eshell-ls-date-format): New defcustom.
4523 (eshell-ls-file): Use it.
4524
e2b551c5
SM
45252011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4526
4527 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4528
8982b231
KY
45292011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4530
4531 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4532 (ange-ftp-make-tmp-name): New arg.
4533 (ange-ftp-file-local-copy): Use it.
4534
36c9fa27
J
45352011-06-27 Jambunathan K <kjambunathan@gmail.com>
4536
4537 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4538 no-conversion (Bug#8870).
4539
d68443dc
MR
45402011-06-27 Martin Rudalics <rudalics@gmx.at>
4541
4542 * window.el (window-right, window-left, window-child)
4543 (window-child-count, window-last-child)
4544 (window-iso-combination-p, walk-window-tree-1)
4545 (window-atom-check-1, window-tree-1, delete-window)
4546 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4547 new naming conventions - window-vchild, window-hchild,
4548 window-next and window-prev are now called window-top-child,
4549 window-left-child, window-next-sibling and window-prev-sibling
4550 respectively.
d615d6d2
MR
4551 (resize-window-reset): Rename to window-resize-reset.
4552 (resize-window-reset-1): Rename to window-resize-reset-1.
4553 (resize-window): Rename to window-resize.
4554 (window-min-height, window-min-width)
4555 (resize-mini-window, resize-this-window, resize-root-window)
4556 (resize-root-window-vertically, adjust-window-trailing-edge)
4557 (enlarge-window, shrink-window, maximize-window)
4558 (minimize-window, delete-window, quit-restore-window)
4559 (split-window, balance-windows, balance-windows-area-adjust)
4560 (balance-windows-area, window-state-put-2)
4561 (display-buffer-even-window-sizes, display-buffer-set-height)
4562 (display-buffer-set-width, set-window-text-height)
4563 (fit-window-to-buffer): Rename all "resize-window" prefixed
4564 calls to use the "window-resize" prefix convention.
4565 (display-buffer-alist): Fix symbol for label specifier.
4566 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4567 corresponding specifier.
4568 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4569
b6458526
VB
45702011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4571
4572 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4573 convention.
4574 (ses-call-printer): Does not pass an empty string to formatter when the
4575 cell is empty to keep from barking printer Calc math-format-value.
4576
d31fd9ac
RS
45772011-06-27 Richard Stallman <rms@gnu.org>
4578
43d5bf84
RS
4579 * battery.el (battery-mode-line-limit): New variable.
4580 (battery-update): Handle it.
4581
d31fd9ac
RS
4582 * mail/rmailmm.el (rmail-mime-process-multipart):
4583 Handle truncated messages.
4584
819a6054
GM
45852011-06-27 Glenn Morris <rgm@gnu.org>
4586
4587 * progmodes/flymake.el (flymake-err-line-patterns):
4588 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4589
cedc73f2
VB
45902011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4591
819a6054 4592 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4593 (ses--clean-!, ses--clean-_): New functions.
4594 (ses-range): Add configurability of readout order, and conversion
4595 to Calc vector.
4596
5e5d49b6
VB
4597 * ses.el (ses-repair-cell-reference-all): New function.
4598 (ses-cell-symbol): Set macro as safe, so that it can be used in
4599 formulas.
4600
56e6cc31 4601 * ses.el: Update cycle detection algorithm.
90ca8b49 4602 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4603 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4604 (ses-set-localvars): New function.
4605 (ses-make-cell): Add property-list as a cell element.
4606 (ses-cell-property-get-fun, ses-cell-property-get)
4607 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4608 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4609 New functions.
90ca8b49
VB
4610 (ses-cell-property-set, ses-cell-property-pop)
4611 (ses-cell-property-get-handle): New macro.
4612 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4613 New aliases, used for code readability.
4614 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4615 cycle detection.
4616 (ses-self-reference-early-detection): New defcustom.
4617 (ses-formula-references): Robustify against self-refering cells.
4618 (ses-mode): Use ses-set-localvars.
4619 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4620 before lauching the update processing.
4621 (ses-initialize-Dijkstra-attempt): New function.
4622 (ses-recalculate-cell): Update for cycle detection based on
4623 Dijkstra algorithm.
4624
2bb63e81
VB
4625 * ses.el: Fix commenting and indenting convention.
4626
c9d29fb8
SM
46272011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4628
4629 * bs.el (bs-cycle-next): Complete last change.
4630
d8e4b68b
JB
46312011-06-27 Drew Adams <drew.adams@oracle.com>
4632
4633 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4634
40098786
LMI
46352011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4636
c9d29fb8
SM
4637 * net/network-stream.el (network-stream-open-starttls):
4638 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4639 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4640
40098786
LMI
4641 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4642 to binary to possibly avoid line encoding issues on Windows (among
4643 other things).
4644
468d09d4
LMI
46452011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4646
4647 * net/network-stream.el (open-network-stream): Return an :error
4648 saying what the problem was, if possible.
4649
4650 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4651 server.
4652
4653 * net/network-stream.el (network-stream-open-starttls): If we
4654 wanted to use STARTTLS, and the server offered it, but we weren't
4655 able to because we had no STARTTLS support, then close the connection.
4656 (open-network-stream): Return an :error element, if present.
4657
16f07dd7
CY
46582011-06-26 Chong Yidong <cyd@stupidchicken.com>
4659
88821ca0
CY
4660 * hl-line.el (hl-line-sticky-flag): Doc fix.
4661 (global-hl-line-sticky-flag): New option (Bug#8323).
4662 (global-hl-line-highlight): Obey it.
4663
16f07dd7
CY
4664 * vc/vc.el (vc-revert-show-diff): Default to t.
4665
6b5ccddf
KM
46662011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4667
c9d29fb8
SM
4668 * allout-widgets.el (allout-widgets-post-command-business):
4669 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4670 undecorated when an isearch is continued past, and isearch
4671 automatically collapses them. This leads to "widget leaks", where
4672 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4673 hidden widgets can slow down cursor travel, substantially.
4674 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4675 so we're doing without this nicety.
4676
4677 (allout-widgets-tally-string): Don't try to do a hash-table-count
4678 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4679 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4680 *Messages* when allout-widgets-maintain-tally is t.
4681
355f2e07
MR
46822011-06-26 Martin Rudalics <rudalics@gmx.at>
4683
4684 * window.el (display-buffer-normalize-argument): Rename to
4685 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4686 LABEL argument. Respect special-display-function when popping up
4687 a new frame. Fix code searching for a window showing the buffer
4688 on another frame.
c9d29fb8
SM
4689 (display-buffer-normalize-specifiers):
4690 Call display-buffer-normalize-arguments.
355f2e07
MR
4691 (display-buffer-in-window): Don't undedicate the window if its
4692 buffer remains the same.
4693 Reported by Drew Adams <drew.adams@oracle.com>.
4694 (display-buffer-alist): Add choice for same-window macro
4695 specfier.
4696 (display-buffer): Mention special meaning of LABEL argument in
4697 doc-string. Fix quoting. Don't pop up a new frame even as
4698 fallback.
4699
7ca8fc42
JB
47002011-06-26 Juanma Barranquero <lekktu@gmail.com>
4701
4702 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4703 avoid deleting the current window in some cases (bug#8911).
4704
bc312254
AS
47052011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4706
4707 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4708 (Bug#8934)
4709
2db18f3f
LMI
47102011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4711
c9d29fb8
SM
4712 * net/network-stream.el (network-stream-open-starttls):
4713 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4714 (network-stream-open-tls): Ditto.
4715
6302e0d3
LL
47162011-06-26 Leo Liu <sdl.web@gmail.com>
4717
4718 * register.el (registerv): New struct.
4719 (registerv-make): New function.
c9d29fb8
SM
4720 (jump-to-register, describe-register-1, insert-register):
4721 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4722 struct. (Bug#8415)
4723
5fdd4046
CY
47242011-06-26 Chong Yidong <cyd@stupidchicken.com>
4725
2afef60a
CY
4726 * vc/vc.el (vc-revert-show-diff): New defcustom.
4727 (vc-diff-internal): New arg specifying diff buffer.
4728 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4729 reuse an existing *vc-diff* buffer (Bug#8927).
4730
5fdd4046
CY
4731 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4732
e93db24a
GM
47332011-06-26 Glenn Morris <rgm@gnu.org>
4734
4735 * progmodes/f90.el (f90-critical-indent): New option.
4736 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4737 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4738 (f90-mode): Doc fix.
4739 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4740 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4741 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4742 (f90-match-end): Handle block, critical.
4743
eefff499
GM
47442011-06-25 Glenn Morris <rgm@gnu.org>
4745
f6ba4cc9
GM
4746 * calendar/diary-lib.el (diary-included-files): Doc fix.
4747 (diary-include-files): New function, extracted from
4748 diary-include-other-diary-files and diary-mark-included-diary-files.
4749 (diary-include-other-diary-files, diary-mark-included-diary-files):
4750 Just call diary-include-files.
4751 (diary-mark-entries): Reset diary-included-files on first call.
4752
16712304
GM
4753 * calendar/diary-lib.el (diary-mark-entries)
4754 (diary-mark-included-diary-files):
4755 Visit included diary-files in temp buffers.
4756
5d8e0d43
GM
4757 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4758 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4759 (f90-start-block-re, f90-imenu-generic-expression)
4760 (f90-looking-at-program-block-start, f90-no-block-limit):
4761 Add support for submodules.
4762
ccf7a5d5
GM
4763 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4764 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4765
11fdef7d 47662011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4767
4768 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4769 buffer-file-type before setting its value, to avoid disastrous
eefff499 4770 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4771
74f53697
JB
47722011-06-25 Juanma Barranquero <lekktu@gmail.com>
4773
4774 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4775
4776 * ses.el (ses-unload-function):
4777 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4778
4779 * proced.el (proced-unload-function):
4780 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4781
18a4ce5e
AR
47822011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4783
4784 * server.el (server-create-window-system-frame): Add parameters arg.
4785 (server-process-filter): Doc fix. Handle frame-parameters.
4786
519d22cc
JB
47872011-06-25 Juanma Barranquero <lekktu@gmail.com>
4788
4789 Fix bug#8730, bug#8781.
4790
4791 * loadhist.el (unload--set-major-mode): New function.
4792 (unload-feature): Use it.
4793
4794 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4795 (python-unload-function): New function.
4796
c206f5b0
SM
47972011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4798
4799 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4800
f9ad64f3
GS
48012011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4802
4803 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4804 the candidates list.
4805
7d0da90e
JB
48062011-06-24 Juanma Barranquero <lekktu@gmail.com>
4807
4808 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4809
14b4e83d
RS
48102011-06-23 Richard Stallman <rms@gnu.org>
4811
4812 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4813 (rmail-variables): Set next-error-move-function.
4814 (rmail-what-message): Take argument POS.
4815 (rmail-next-error-move): New function.
4816
273d2baf
SM
48172011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4818
4819 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4820 messages for adjacent non-terminals.
4821
56c2cc9a
RS
48222011-06-23 Richard Stallman <rms@gnu.org>
4823
4824 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4825 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4826 (rmail-start-mail): Don't specify use of rmail-mail-return;
4827 that's done by mail-bury now.
4828 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4829
d59eb518
MA
48302011-06-23 Michael Albinus <michael.albinus@gmx.de>
4831
4832 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4833 SIZE is a number.
4834
02cfc6d6
MR
48352011-06-23 Martin Rudalics <rudalics@gmx.at>
4836
4837 * window.el (get-lru-window, get-mru-window)
4838 (get-largest-window): Never return a minibuffer window.
4839 (display-buffer-pop-up-window): Fix a bug that could lead to
4840 reusing the minibuffer window.
4841 (display-buffer): Pass original specifier argument to
4842 display-buffer-function instead of the normalized one.
4843 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4844
4e323265
LL
48452011-06-22 Leo Liu <sdl.web@gmail.com>
4846
4847 * minibuffer.el (completing-read-function)
4848 (completing-read-default): Move from minibuf.c
4849
7a70468f
RS
48502011-06-22 Richard Stallman <rms@gnu.org>
4851
50718fc2
RS
4852 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4853 to Rmail even if not started by a special Rmail command.
4854
7a70468f
RS
4855 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4856 Copy the buffer currently showing just one message.
4857
297dde5a
RW
48582011-06-22 Roland Winkler <winkler@gnu.org>
4859
4860 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4861 (bibtex-clean-entry): First delete the old key so that a
4862 customized algorithm for generating the new key does not get
4863 confused by the old key.
4864 (bibtex-url): Obey regexp of first step.
4865 (bibtex-search-entries): Do not use add-to-list with local
4866 list-var.
4867
97bb1093
LMI
48682011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4869
4870 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4871 stored a user name, then query for the password first, instead of
4872 waiting for SMTP to give an error message and the trying again.
4873
1c0f1a19
JD
48742011-06-22 Lawrence Mitchell <wence@gmx.li>
4875
4876 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4877 BUFFER in call-process.
4878
396f7c9d
LMI
48792011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4880
4881 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4882 QUIT twice.
ddb7ffee
LMI
4883 (smtpmail-try-auth-methods): Require user name and password from
4884 auth-source.
396f7c9d 4885
8998d1b3
MR
48862011-06-22 Martin Rudalics <rudalics@gmx.at>
4887
4888 * window.el (display-buffer-default-specifiers)
4889 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4890 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4891 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4892
4893 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4894 (special-display-frame-alist, special-display-popup-frame):
4895 Remove duplicate declarations. These are now in window.el.
4896
4ea31e07
LMI
48972011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4898
c9d29fb8
SM
4899 * mail/smtpmail.el (smtpmail-via-smtp):
4900 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4901 server supports it. SMTP servers that support STARTTLS commonly
4902 require it.
4903
4904 * net/network-stream.el (network-stream-open-starttls): Support
4905 upgrading to STARTTLS always, even if we don't have built-in support.
4906 (open-network-stream): Add the :always-query-capabilies keyword.
4907
95f41d9a
LMI
4908 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4909 upgrades with `open-network-stream', and rely solely on
4910 auth-source for all credentials. Big changes throughout the file,
4911 but in particular:
c9d29fb8
SM
4912 (smtpmail-auth-credentials): Remove.
4913 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4914 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4915 MAIL FROM, too.
95f41d9a 4916
c9d29fb8
SM
4917 * net/network-stream.el (network-stream-open-starttls):
4918 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4919 STARTTLS.
4920 (auth-source): Require.
4921 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4922 (network-stream-certificate): Change cert-cert to cert and
4923 cert-key to key.
4ea31e07 4924
065ec2c7
MA
49252011-06-21 Michael Albinus <michael.albinus@gmx.de>
4926
4927 * net/tramp-cache.el (top): Don't load the persistency file when
4928 "emacs -Q" has been called.
4929
cd93b359
DR
49302011-06-21 Tim Harper <timcharper@gmail.com>
4931
d8e4b68b
JB
4932 * term/ns-win.el (ns-initialize-window-system):
4933 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4934 resource to NO as it is not yet supported by the NS port.
4935
ae9c0411
JB
49362011-06-21 Juanma Barranquero <lekktu@gmail.com>
4937
4938 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4939 (list-dynamic-libraries): ...not here.
4940
7f3f739f
LL
49412011-06-21 Leo Liu <sdl.web@gmail.com>
4942
4943 * subr.el (sha1): Implement sha1 using secure-hash.
4944
327c8fb1
MR
49452011-06-21 Martin Rudalics <rudalics@gmx.at>
4946
4947 * window.el (display-buffer-alist): In default value do not
4948 enforce searching a window on any but the selected frame.
4949 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4950 (display-buffer-select-window): Remove function.
4951 (display-buffer-in-window): When a window on another frame gets
4952 reused, do not select it any more but just raise its frame if
4953 necessary (Bug#8851) and (Bug#8856).
4954 (display-buffer-normalize-options): Handle pop-up-frames related
4955 options more faithfully.
4956 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4957 window if it is on another frame.
c9d29fb8
SM
4958 (display-buffer-alist, display-buffer-default-specifiers):
4959 Don't make new frame unsplittable by default.
9e9de014
MR
4960 (display-buffer-normalize-argument): Fix doc-string typo and use
4961 'same-frame-other-window instead of 'other-window when associating
4962 with display-buffer-macro-specifiers.
327c8fb1 4963
7cf3f556
VB
49642011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4965
4966 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4967 New functions.
4968 (5x5-mode-map, 5x5-mode-menu): Bind them.
4969 (5x5-draw-grid): Tweak the solver's rendering.
4970
60a406cf
SM
49712011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4972
4973 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4974 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4975
d8e4b68b 49762011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4977
4978 * menu-bar.el: Use function variable instead of switch-to-buffer.
4979 (menu-bar-select-buffer-function): New variable.
60a406cf 4980 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4981
478d6f95
SM
49822011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4983
4984 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4985 variable's status.
4986
ca530739
JD
49872011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4988
4989 * x-dnd.el (x-dnd-version-from-flags)
4990 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4991 and long as number (Bug#8899).
4992 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4993
bcd70d97
SM
49942011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4995
60a406cf 4996 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4997 (completion-try-completion, completion-all-completions): Compute the
4998 metadata argument if it's missing; make it optional (bug#8795).
4999
60a406cf 5000 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
5001 (widget-complete): Use new :completion-function property.
5002 (widget-completions-at-point): New function.
5003 (default): Use :completion-function instead of :complete.
60a406cf
SM
5004 (widget-default-completions): Rename from widget-default-complete;
5005 Rewrite.
bcd70d97
SM
5006 (widget-string-complete, widget-file-complete, widget-color-complete):
5007 Remove functions.
5008 (file, symbol, function, variable, coding-system, color):
5009 * international/mule-cmds.el (default-input-method, charset)
5010 (language-info-custom-alist):
5011 * cus-edit.el (face): Use new property :completions.
5012
5013 * progmodes/pascal.el (pascal-completions-at-point): New function.
5014 (pascal-mode): Use it.
5015 (pascal-mode-map): Use completion-at-point.
5016 (pascal-toggle-completions): Make obsolete.
5017 (pascal-complete-word, pascal-show-completions):
5018 * progmodes/octave-mod.el (octave-complete-symbol):
5019 Redefine as obsolete alias.
5020 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5021 Signal absence of completion info for old Octave,
5022 (inferior-octave-complete): Redefine as obsolete alias.
5023 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5024 (meta-completions-at-point): Rename from meta-complete-symbol and
5025 adapt it for use on completion-at-point-functions.
5026 (meta-common-mode): Use it.
5027 (meta-looking-at-backward, meta-match-buffer): Remove.
5028 (meta-complete-symbol): Redefine as obsolete alias.
5029 (meta-common-mode-map): Use completion-at-point.
5030 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5031 (makefile-mode-map): Use completion-at-point.
5032 (makefile-completions-at-point): Rename from makefile-complete and
5033 adapt it for use on completion-at-point-functions.
5034 (makefile-mode): Use it.
5035 (makefile-complete): Redefine as obsolete alias.
5036
aebf69c8
DD
50372011-06-20 Deniz Dogan <deniz@dogan.se>
5038
5039 * net/rcirc.el: Delete trailing whitespaces once and for all.
5040
bfbbb27d
DC
50412011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5042
5043 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5044
d264a46b
CY
50452011-06-19 Chong Yidong <cyd@stupidchicken.com>
5046
4ca009e5
CY
5047 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5048
d264a46b
CY
5049 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5050
fbf5b3ce
MR
50512011-06-19 Martin Rudalics <rudalics@gmx.at>
5052
5053 * window.el (display-buffer-other-window-means-other-frame):
5054 Call display-buffer-normalize-alist.
5055 (display-buffer-normalize-specifiers-1): Rename to
5056 display-buffer-normalize-argument. New argument other-frame.
5057 Rewrite.
5058 (display-buffer-normalize-specifiers-2): Rename to
5059 display-buffer-normalize-options.
5060 (display-buffer-normalize-alist-1): New function.
5061 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
5062 display-buffer-normalize-alist.
5063 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
5064 (display-buffer-normalize-options-inhibit): New variable.
5065 (display-buffer-normalize-specifiers): Rewrite calling
5066 display-buffer-normalize-alist,
5067 display-buffer-normalize-argument, and
5068 display-buffer-normalize-options. Don't call the latter if
5069 display-buffer-normalize-options-inhibit is non-nil.
5070 (frame-auto-delete): New option.
5071 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
5072 (window-list-no-nils, window-state-ignored-parameters)
5073 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
5074 (window-state-put-1, window-state-put-2, window-state-put):
5075 New functions.
9a028c23
MR
5076 (display-buffer-normalize-options): Move special-display-p group
5077 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 5078
6d10d800
CY
50792011-06-18 Chong Yidong <cyd@stupidchicken.com>
5080
6420d28b
CY
5081 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5082 groups (Bug#8776).
5083 (rx-submatch-n): New function.
5084 (rx): Document it.
5085
ddb8b596
CY
5086 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5087 (Bug#8768).
5088
5089 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5090
77080289
CY
5091 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5092
61dfb316
CY
5093 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5094 anytime existing face settings are present (Bug#8889).
5095
6d10d800
CY
5096 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5097 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5098 Remove unused argument.
5099
be3fb2b8
MR
51002011-06-18 Martin Rudalics <rudalics@gmx.at>
5101
bcd70d97
SM
5102 * window.el (display-buffer-default-specifiers):
5103 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
5104 pop-up-window-min-width, and another reuse-window specifier
5105 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
5106 (display-buffer-normalize-specifiers-2):
5107 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
5108 pop-up-windows is unset. Add a reuse-window specifier for the
5109 case popping up a new window fails.
5110 (special-display-popup-frame): Remove double quoting.
28dec25a 5111 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 5112
1c6d8c76
SM
51132011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5116 according to comint-completion-addsuffix.
5117
5118 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5119 (pcomplete-suffix-list): Mark as obsolete.
5120 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5121 pcomplete-seen in the closure.
5122 (pcomplete-comint-setup): Setup completion-at-point as well.
5123 (pcomplete--entries): New function.
5124 (pcomplete--env-regexp): New var.
5125 (pcomplete-entries): Rewrite to work with partial-completion and
5126 without relying on pcomplete-suffix-list.
5127 (pcomplete-pare-list): Remove, unused.
5128
25aef8b8
MR
51292011-06-17 Martin Rudalics <rudalics@gmx.at>
5130
5131 * window.el (display-buffer-alist): Set pop-up-window-min-height
5132 and pop-up-window-min-width in default value. Reported by
5133 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5134 other-window-means-other-frame.
5135 (display-buffer-macro-specifiers): Comment out entry for
5136 other-window specifier.
5137 (display-buffer-other-window-means-other-frame): New function.
5138 (display-buffer-normalize-specifiers-1): New arguments
5139 buffer-name and label. Treat other-window case specially.
5140 (display-buffer-normalize-specifiers-2): Treat other-window case
5141 specially.
5142 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
5143 (display-buffer-normalize-specifiers):
5144 Call display-buffer-normalize-specifiers-3.
25aef8b8 5145
dbad4f69
MR
51462011-06-17 Martin Rudalics <rudalics@gmx.at>
5147
5148 * window.el (same-window-p): Fix two typos introduced when
5149 adding with-no-warnings.
d1067961
MR
5150 (display-buffer-normalize-specifiers-1): Don't check
5151 pop-up-frames for 'unset initialization.
5152 (display-buffer-normalize-specifiers-2): Major rewrite using
5153 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5154 (pop-up-frames, display-buffer-reuse-frames)
5155 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5156 Suggested by David Engster <deng@randomsample.de>.
5157 (even-window-heights): Initialize to 'unset.
5158 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
5159 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5160 other window case.
dbad4f69 5161
9b9c9e3a
MR
51622011-06-16 Martin Rudalics <rudalics@gmx.at>
5163
bcd70d97
SM
5164 * window.el (display-buffer-normalize-specifiers-1):
5165 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 5166 second argument of display-buffer (Bug#8865).
981d5c09
MR
5167 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5168 (switch-to-buffer-other-window-same-frame)
5169 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5170 Adams (Bug#8875).
9c2755e9
MR
5171 (display-buffer): Don't check noninteractive when calling
5172 display-buffer-pop-up-frame.
5173 (display-buffer-pop-up-frame): Never pop up a frame in
5174 noninteractive mode (Bug#8857).
67222e1d
MR
5175 (enlarge-window, shrink-window): Don't report an error when the
5176 window can't be resized as requested (Bug#8862).
9b9c9e3a 5177
2b75be67
SM
51782011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5179
9ffdd3ba
SM
5180 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5181
cb581a67
SM
5182 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5183
2b75be67
SM
5184 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5185
8c0e3589
AM
51862011-06-15 Alan Mackenzie <acm@muc.de>
5187
cb581a67
SM
5188 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5189 for declarators, disable knr checking to speed up for normal files.
5190 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 5191
b96e6cde
LMI
51922011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5193
4bba86e6
LMI
5194 * net/network-stream.el (open-network-stream): Add the keyword
5195 :always-query-capabilities for the case where you want to force a
5196 `plain' network connection, but the protocol still requires the
5197 capabilitiy command (i.e., SMTP and EHLO).
5198
2b75be67 5199 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
5200 consistency with other `-live-p' functions.
5201
efdcdbf8
SM
52022011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * window.el (same-window-buffer-names, same-window-regexps)
5205 (special-display-frame-alist, special-display-popup-frame)
5206 (special-display-function, special-display-buffer-names)
5207 (special-display-regexps, pop-up-frame-alist)
5208 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5209 (pop-up-windows, split-window-preferred-function)
5210 (split-height-threshold, split-width-threshold, even-window-heights)
5211 (display-buffer-mark-dedicated): Don't encourage the use of
5212 display-buffer-alist from Elisp code.
5213
c5cde042
DN
52142011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5215
5216 * progmodes/python.el (python-mode): Derive from prog-mode.
5217 * progmodes/ps-mode.el (ps-mode):
5218 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 5219 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
5220 * progmodes/ld-script.el (ld-script-mode): Likewise.
5221
baa1c9ab
MR
52222011-06-15 Martin Rudalics <rudalics@gmx.at>
5223
5224 * window.el (display-buffer-alist): Trim default value to avoid
5225 popping up a new frame (Bug#8857) or reusing an arbitrary window
5226 on another frame.
5227 (display-buffer): Do not fall back on popping up a new frame in
5228 batch mode (Bug#8857).
5229
c5dd5a51
CY
52302011-06-14 Chong Yidong <cyd@stupidchicken.com>
5231
5232 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5233 (custom-theme-summary): New function.
5234 (customize-themes): Use it.
5235
d647b7c4
GM
52362011-06-13 Glenn Morris <rgm@gnu.org>
5237
5238 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5239
9481c002
MR
52402011-06-13 Martin Rudalics <rudalics@gmx.at>
5241
357f93d2
MR
5242 * help.el (help-window): Remove variable.
5243 (help-window-point-marker, temp-buffer-max-height)
5244 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5245 (help-print-return-message): Don't set help-window.
5246 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5247 (help-window-setup-finish): Remove.
5248 (help-window-display-message, help-window-setup)
5249 (with-help-window): Major rewrite based on new
5250 display-buffer-window variable.
5251
5252 * help-mode.el (help-mode-finish): Remove help-window related
5253 code.
5254
5255 * view.el (view-exits-all-viewing-windows): Remove reference to
5256 view-return-to-alist in doc-string.
5257 (view-return-to-alist): Make obsolete.
5258 (view-buffer): Call pop-to-buffer-same-window and remove
5259 undo-window code.
5260 (view-buffer-other-window): Call pop-to-buffer-other-window and
5261 simplify code. Ignore second argument.
5262 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5263 simplify code. Ignore second argument.
5264 (view-return-to-alist-update): Make obsolete.
5265 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5266 Rewrite using quit-restore window parameters.
2b75be67
SM
5267 (view-mode-exit): Rename second argument to EXIT-ONLY.
5268 Rewrite using quit-restore-window.
357f93d2
MR
5269 (View-exit, View-exit-and-edit, View-leave, View-quit)
5270 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5271 appropriate arguments.
5272 (view-end-message): Use quit-restore window parameter.
5273
9481c002
MR
5274 * window.el (display-buffer-function): Rewrite doc-string.
5275 (display-buffer-window, display-buffer-alist): New variables.
5276 (display-buffer-split-specifiers)
5277 (display-buffer-side-specifiers)
5278 (display-buffer-macro-specifiers): New constants.
5279 (display-buffer-even-window-sizes, display-buffer-set-height)
5280 (display-buffer-set-width, display-buffer-select-window)
5281 (display-buffer-in-window, display-buffer-reuse-window)
5282 (display-buffer-split-window-1, display-buffer-split-window)
5283 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5284 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5285 (display-buffer-in-side-window, normalize-buffer-to-display)
5286 (display-buffer-normalize-specifiers-1)
5287 (display-buffer-normalize-specifiers-2)
2b75be67
SM
5288 (display-buffer-normalize-specifiers, display-buffer-frame):
5289 New functions.
9481c002
MR
5290 (display-buffer): Major rewrite.
5291 (display-buffer-other-window, display-buffer-other-frame)
5292 (pop-to-buffer, switch-to-buffer-other-window)
5293 (switch-to-buffer-other-frame): Rewrite.
5294 (display-buffer-same-window, display-buffer-same-frame)
5295 (display-buffer-same-frame-other-window)
5296 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5297 (pop-to-buffer-other-window)
5298 (pop-to-buffer-same-frame-other-window)
5299 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5300 (switch-to-buffer-other-window-same-frame): New functions.
5301 (same-window-p, special-display-p): Rewrite disabling warnings.
5302 Make obsolete.
5303 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5304 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5305 Make obsolete
5306 (same-window-buffer-names, same-window-regexps)
5307 (special-display-frame-alist, special-display-popup-frame)
5308 (special-display-function, special-display-buffer-names)
5309 (special-display-regexps, pop-up-frame-alist)
5310 (pop-up-frame-function, split-window-preferred-function)
5311 (split-height-threshold, split-width-threshold)
5312 (even-window-heights): Make obsolete.
5313
9db51aca
GM
53142011-06-12 Glenn Morris <rgm@gnu.org>
5315
5316 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 5317 Misc simplifications.
9db51aca 5318
39cffb44
MR
53192011-06-12 Martin Rudalics <rudalics@gmx.at>
5320
5321 * window.el (window-safely-shrinkable-p): Restore function which
5322 was inadvertently removed in change from 2011-06-11. Declare as
5323 obsolete.
5324
2b75be67
SM
5325 * calendar/calendar.el (calendar-generate-window):
5326 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
5327 window-safely-shrinkable-p.
5328
a8955be7
GM
53292011-06-12 Glenn Morris <rgm@gnu.org>
5330
5331 * progmodes/fortran.el (fortran-mode-syntax-table):
5332 * progmodes/f90.el (f90-mode-syntax-table):
5333 Set % to punctuation. (Bug#8820)
5334 (f90-find-tag-default): Remove, no longer needed.
5335
f0d4059d
DC
53362011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5337
5338 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5339
1100a63c
CY
53402011-06-11 Chong Yidong <cyd@stupidchicken.com>
5341
5342 * image.el (image-animated-p): Return animation delay in seconds.
5343 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5344 (image-animate-timeout): Remove DELAY argument. Don't assume
5345 every subimage has the same delay; get it from image-animated-p.
5346 (image-animate): Caller changed.
5347
def722bf
MA
53482011-06-11 Michael Albinus <michael.albinus@gmx.de>
5349
5350 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5351 to ignored backtrace functions.
5352
0a2bb1a9
GM
53532011-06-11 Glenn Morris <rgm@gnu.org>
5354
5355 * calendar/appt.el (appt-disp-window-function): Doc fix.
5356 (appt-check): Handle overlapping appointments. (Bug#8337)
5357
6198ccd0
MR
53582011-06-11 Martin Rudalics <rudalics@gmx.at>
5359
5360 * window.el (window-tree-1, window-tree): New functions, moving
5361 the latter to window.el.
5362 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5363 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5364 (bw-refresh-edges): Remove.
5365 (balance-windows-1, balance-windows-2): New functions.
5366 (balance-windows): Rewrite in terms of window tree functions,
5367 balance-windows-1 and balance-windows-2.
5368 (bw-adjust-window): Remove.
5369 (balance-windows-area-adjust): New function with functionality of
5370 bw-adjust-window but using resize-window.
2b75be67
SM
5371 (set-window-text-height): Rewrite doc-string.
5372 Use normalize-live-window and resize-window.
5373 (enlarge-window-horizontally, shrink-window-horizontally):
5374 Rename argument to DELTA.
6198ccd0
MR
5375 (window-buffer-height): New function.
5376 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5377 Rewrite using new window resize routines.
2b75be67
SM
5378 (kill-buffer-and-window, mouse-autoselect-window-select):
5379 Use ignore-errors instead of condition-case.
6198ccd0
MR
5380 (quit-window): Call delete-frame instead of delete-windows-on
5381 for the only buffer on frame.
5382
9397e56f
MR
53832011-06-10 Martin Rudalics <rudalics@gmx.at>
5384
5385 * loadup.el (top-level): Load window before files for the sake
5386 of replace-buffer-in-windows.
5387
5388 * files.el (read-buffer-to-switch)
5389 (switch-to-buffer-other-window)
2b75be67
SM
5390 (switch-to-buffer-other-frame, display-buffer-other-frame):
5391 Move to window.el.
9397e56f
MR
5392
5393 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5394 (previous-buffer): Move to window.el.
5395
5396 * bindings.el (unbury-buffer): Move to window.el.
5397
5398 * window.el (delete-other-windows-vertically): Move after
5399 definition of delete-other-windows.
5400 (other-window, delete-windows-on, replace-buffer-in-windows):
5401 Move here from window.c.
5402 (record-window-buffer, unrecord-window-buffer)
5403 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5404 (switch-to-next-buffer): New functions.
5405 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5406 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5407 (previous-buffer): Move here from simple.el.
5408 Call switch-to-prev-buffer.
9397e56f
MR
5409 (bury-buffer): Move here from buffer.c. Switch to previous
5410 buffer when window cannot be deleted.
5411 (unbury-buffer): Move here from bindings.el.
5412 (ctl-x-map): Move binding for other-window from window.c to
5413 here.
5414 (read-buffer-to-switch, switch-to-buffer-other-window)
5415 (switch-to-buffer-other-frame): Move here from files.el.
5416 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5417 (switch-to-buffer): Move here from buffer.c.
5418 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5419
562dd5e9
MR
54202011-06-10 Martin Rudalics <rudalics@gmx.at>
5421
5422 * window.el (window-min-height, window-min-width): Move here
5423 from window.c. Add defcustoms and rewrite doc-strings.
5424 (resize-mini-window, resize-window): New functions.
5425 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5426 Move here from window.c.
5427 (maximize-window, minimize-window): New functions.
5428 (delete-window, delete-other-windows, split-window): Move here
5429 from window.c.
5430 (window-split-min-size): New function.
5431 (split-window-keep-point): Mention split-window-above-each-other
5432 instead of split-window-vertically.
2b75be67
SM
5433 (split-window-above-each-other, split-window-vertically):
5434 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5435 provide defalias for old definition.
5436 (split-window-side-by-side, split-window-horizontally): Rename
5437 split-window-horizontally to split-window-side-by-side and provide
5438 defalias for the old definition.
5439 (ctl-x-map): Move bindings for delete-window,
5440 delete-other-windows and enlarge-window here from window.c.
5441 Replace bindings for split-window-vertically and
5442 split-window-horizontally by bindings for
5443 split-window-above-each-other and split-window-side-by-side.
5444
5445 * cus-start.el (all): Remove entries for window-min-height and
5446 window-min-width. Add entries for window-splits and
5447 window-nest.
5448
f0da764a
GM
54492011-06-09 Glenn Morris <rgm@gnu.org>
5450
80675c21
GM
5451 * calendar/appt.el (appt-mode-line): New function.
5452 (appt-check, appt-disp-window): Use it.
5453
f0da764a
GM
5454 * files.el (hack-one-local-variable-eval-safep):
5455 Allow minor-modes with explicit +/-1 arguments.
5456
59f623b7
TZ
54572011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5458
5459 * term/xterm.el (xterm): Add defgroup.
5460 (xterm-extra-capabilities): Add defcustom to supply known xterm
5461 capabilities, skip querying them, or query them (default).
5462 (terminal-init-xterm): Use it.
5463 (terminal-init-xterm-modify-other-keys): New function to set up
5464 modifyOtherKeys support to simplify `terminal-init-xterm'.
5465
9aab8e0d
MR
54662011-06-09 Martin Rudalics <rudalics@gmx.at>
5467
5468 * window.el (resize-window-reset, resize-window-reset-1)
5469 (resize-subwindows-skip-p, resize-subwindows-normal)
5470 (resize-subwindows, resize-other-windows, resize-this-window)
5471 (resize-root-window, resize-root-window-vertically)
5472 (window-deletable-p, window-or-subwindow-p)
5473 (frame-root-window-p): New functions.
5474
e8b08aee
GM
54752011-06-09 Glenn Morris <rgm@gnu.org>
5476
5477 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5478 (ange-ftp-get-files): Use it.
5479
254c37a5
AK
54802011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5481
5482 * mail/sendmail.el (mail-recover-1, mail-recover):
5483 * files.el (recover-file, recover-session):
5484 Handle dired-listing-switches not being just a single short option.
5485
35d7dbd3
GM
54862011-06-09 Glenn Morris <rgm@gnu.org>
5487
5488 * calendar/appt.el (appt-display-message, appt-disp-window):
5489 Handle lists of appointments.
5490
387522b2
MR
54912011-06-08 Martin Rudalics <rudalics@gmx.at>
5492
2b75be67
SM
5493 * window.el (one-window-p): Move down in code.
5494 Rewrite doc-string.
5495 (window-current-scroll-bars): Rewrite doc-string.
5496 Normalize live window argument.
387522b2
MR
5497 (walk-windows, get-window-with-predicate, count-windows):
5498 Rewrite doc-string. Use window-list-1.
5499 (window-in-direction-2, window-in-direction, get-mru-window):
5500 New functions.
5501
d8e4b68b 55022011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5503
5504 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5505 Doc fix (Bug#8713).
5506
55072011-06-08 Chong Yidong <cyd@stupidchicken.com>
5508
5509 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5510
55112011-06-08 Juanma Barranquero <lekktu@gmail.com>
5512
5513 * loadhist.el (unload-feature-special-hooks):
5514 Add `comint-output-filter-functions'.
5515
0de12c52
IK
55162011-06-08 Ivan Kanis <gnu@kanis.fr>
5517
5518 * calendar/appt.el (appt-check): Move some initializations into the let.
5519
f3d1777e
MR
55202011-06-08 Martin Rudalics <rudalics@gmx.at>
5521
5522 * window.el (window-height): Defalias to window-total-height.
5523 (window-width): Defalias to window-body-width.
5524
18af70d0
CY
55252011-06-07 Chong Yidong <cyd@stupidchicken.com>
5526
5527 * image-mode.el (image-toggle-animation): New command.
5528 (image-mode-map): Bind it to RET.
5529 (image-mode): Update message.
5530 (image-toggle-display-image): Avoid a spurious cache flush.
5531 (image-transform-rotation): Doc fix.
5532 (image-transform-properties): Return quickly in the normal case.
5533 (image-animate-loop): Rename from image-animate-max-time.
5534
2b75be67 5535 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5536 (create-animated-image): Remove unnecessary function.
5537 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5538 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5539 (image-animate-timer): Use car-safe.
5540 (image-animate-timeout): Rename argument.
5541
190b47e6
MR
55422011-06-07 Martin Rudalics <rudalics@gmx.at>
5543
5544 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5545 window.c. Rename first argument to ALL-FRAMES.
5546 Rephrase doc-strings.
5547 (get-buffer-window-list): Rewrite using window-list-1.
5548 Rephrase doc-string.
a1511caf
MR
5549 (window-safe-min-height, window-safe-min-width): New constants.
5550 (window-size-ignore, window-min-size, window-min-size-1)
5551 (window-sizable, window-sizable-p, window-size-fixed-1)
5552 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5553 (window-max-delta-1, window-max-delta, window-resizable)
5554 (window-resizable-p, window-total-height, window-total-width)
5555 (window-body-width): New functions.
5556 (window-full-height-p, window-full-width-p): Rewrite using
5557 window-total-size.
5558 (window-body-height): Rewrite using window-body-size.
190b47e6 5559
85cc1f11
MR
55602011-06-06 Martin Rudalics <rudalics@gmx.at>
5561
5562 * window.el (window-right, window-left, window-child)
5563 (window-child-count, window-last-child, window-any-p)
5564 (normalize-live-buffer, normalize-live-frame)
5565 (normalize-any-window, normalize-live-window)
5566 (window-iso-combination-p, window-iso-combined-p)
5567 (window-iso-combinations)
5568 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5569 (windows-with-parameter, window-with-parameter)
5570 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5571 (window-atom-check, window-side-check, window-check):
5572 New functions.
85cc1f11
MR
5573 (ignore-window-parameters, window-sides, window-sides-vertical)
5574 (window-sides-slots): New variables.
5575 (window-size-fixed): Move down in code. Minor doc-string fix.
5576
e7156492
AS
55772011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5578
5579 * comint.el (comint-dynamic-complete-as-filename)
5580 (comint-dynamic-complete-filename): Correctly call
5581 completion-in-region.
5582
7e821d0d
DD
55832011-06-05 Deniz Dogan <deniz@dogan.se>
5584
5585 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5586 in last change.
5587
ac09b8a1
DD
55882011-06-05 Deniz Dogan <deniz@dogan.se>
5589
5590 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5591 (rcirc): Use it to prompt for encryption.
5592
34699b85
RW
55932011-06-05 Roland Winkler <winkler@gnu.org>
5594
5595 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5596 (bibtex-search-entries): New command bound to C-c C-a.
5597 (bibtex-display-entries): New function.
5598
004dedd3
RW
55992011-06-05 Roland Winkler <winkler@gnu.org>
5600
5601 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5602 (bibtex-insert-kill): After yanking insert newline if necessary.
5603 (bibtex-initialize): Call bibtex-string-files-init only once.
5604 (bibtex-mode): Do not call easy-menu-add.
5605 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5606 (bibtex-yank): Set arg properly if nil.
5607
022fe7ce
RW
56082011-06-05 Roland Winkler <winkler@gnu.org>
5609
2b75be67
SM
5610 * textmodes/bibtex.el (bibtex-search-entry-globally):
5611 New variable.
022fe7ce
RW
5612 (bibtex-search-entry): Use it.
5613
b7c3692a
RW
56142011-06-05 Roland Winkler <winkler@gnu.org>
5615
5616 * textmodes/bibtex.el (bibtex-entry-format): New option
5617 sort-fields.
5618 (bibtex-format-entry, bibtex-reformat): Honor this option.
5619 (bibtex-parse-entry): Return fields in proper order.
5620
8eda563d
JB
56212011-06-05 Juanma Barranquero <lekktu@gmail.com>
5622
5623 * doc-view.el (doc-view-remove-if): Move computation of result out
5624 of `dolist' to silence misleading lexical-binding warning.
5625
7dbe3dbc
CY
56262011-06-04 Chong Yidong <cyd@stupidchicken.com>
5627
5628 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5629 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5630
0c33dd17
MA
56312011-06-04 Michael Albinus <michael.albinus@gmx.de>
5632
5633 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5634 "SunOS 5.10".
5635
f8f91c2b
MA
56362011-06-04 Michael Albinus <michael.albinus@gmx.de>
5637
5638 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5639 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5640 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5641 (tramp-parse-putty):
5642 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5643 (tramp-completion-function-alist-ssh)
5644 (tramp-completion-function-alist-telnet)
5645 (tramp-completion-function-alist-su)
5646 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5647 cookie.
5648
5649 * net/tramp-ftp.el:
5650 * net/tramp-sh.el:
5651 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5652 load "tramp.el" `tramp-set-completion-function'.
5653
e17d9003
SM
56542011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * shell.el: Require and use pcomplete.
5657 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5658 (shell-completion-vars): Set pcomplete-default-completion-function.
5659
6c4cab03
DD
56602011-06-04 Deniz Dogan <deniz@dogan.se>
5661
5662 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5663 `memq' (Bug#8799).
5664
ea9fafe0
SM
56652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5668
b3e945d3
JB
56692011-06-02 Juanma Barranquero <lekktu@gmail.com>
5670
5671 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5672 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5673 * vc/log-view.el (log-view-beginning-of-defun):
5674 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5675 (smerge-refine-forward, smerge-refine-chopup-region):
5676 Silence warning for unused `dotimes' counter variables.
5677
7d520089
SM
56782011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5679
5680 * net/tramp.el (tramp-with-progress-reporter): Rename from
5681 with-progress-reporter. Use `declare'.
5682 * net/tramp-smb.el:
5683 * net/tramp-sh.el:
5684 * net/tramp-gvfs.el: Update all uses.
5685
a1c2400f
JB
56862011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5687
5688 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5689 buffer isn't killed before making it current.
5690
2403c841
SM
56912011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 Silence various byte-compiler warnings.
5694 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5695 `access-type' and new obsolescence format.
5696 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5697 new format.
5698 (byte-compile-check-variable): New `access-type' argument.
5699 Only warn if the access-type is obsolete.
5700 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5701 (byte-compile-variable-set): Adjust callers.
5702 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5703 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5704 setting it as obsolete.
5705 * simple.el (minibuffer-completing-symbol):
5706 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5707 access as obsolete.
5708 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5709 obsolete yet.
5710 * international/quail.el (quail-mouse-choose-completion): Remove unused
5711 code referring to obsolete var.
5712 (quail-choose-completion-string): Remove.
5713 * server.el (server-clients-with, server-kill-buffer-query-function)
5714 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5715 * proced.el (proced-send-signal):
5716 * emacs-lisp/lisp.el (lisp-complete-symbol):
5717 Replace completion-annotate-function with completion-extra-properties.
5718
2462470b
SM
57192011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5720
fb5b2591
SM
5721 * simple.el (goto-line): Use read-number.
5722 (overriding-map-is-bound): Remove.
5723 (saved-overriding-map): Change default.
5724 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5725 Take the map as argument.
5726 (universal-argument, negative-argument, digit-argument): Use it.
5727 (restore-overriding-map): Adjust.
5728 (do-auto-fill): Use fill-forward-paragraph.
5729 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5730
fd6fa53f
SM
5731 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5732 (minibuffer-inactive-mode): New major mode.
5733 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5734 the *Messages* buffer" hack.
5735 (mouse-popup-menubar): Don't burp if the event is a normal key.
5736
2462470b
SM
5737 Miscellaneous tweaks.
5738 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5739 lexical scoping as in subr.el's dolist and dotimes.
5740 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5741 Silence compiler warning.
5742 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5743 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5744 * international/ccl.el (ccl-compile): Trivial simplification.
5745 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5746 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5747 `printflag' argument.
5748 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5749 Purecopy the whole obsolescence data.
5750
108bf785
LL
57512011-06-01 Leo Liu <sdl.web@gmail.com>
5752
5753 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5754 improve doc-string as suggested by Marco Pessotto
5755 <melmothx@gmail.com>.
5756 (rcirc-print): Fix last change.
5757
30a23501
SM
57582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5759
5760 * minibuffer.el (complete-with-action): Return nil for the metadata and
5761 boundaries of non-functional tables.
5762 (completion-table-dynamic): Return nil for the metadata.
5763 (completion-table-with-terminator): Add default case, using
5764 complete-with-action.
5765 (completion--metadata): New function.
5766 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5767 to try and avoid pathological performance problems.
5768 (completion--embedded-envvar-table): Return `category' metadata.
5769
bcd54f83
LMI
57702011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5771
5772 * subr.el (process-alive-p): New tiny convenience function.
5773
e227544d
SM
57742011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5775
5776 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5777 content but also its previous major mode.
5778
e8296fdc
HE
57792011-05-31 Helmut Eller <eller.helmut@gmail.com>
5780
4d61f28d 5781 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5782 *Backtrace* buffer when we exit with C-M-c.
5783
620c53a6
SM
57842011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5785
5786 * minibuffer.el: Add metadata method to completion tables.
5787 (completion-category-overrides): New defcustom.
5788 (completion-metadata, completion--field-metadata)
5789 (completion-metadata-get, completion--styles)
5790 (completion--cycle-threshold): New functions.
5791 (completion-try-completion, completion-all-completions):
5792 Add `metadata' argument to choose completion-styles.
5793 (completion--do-completion): Use metadata to choose cycling.
5794 (completion-all-sorted-completions): Use metadata for sorting.
5795 Remove :completion-cycle-penalty which is not needed any more.
5796 (completion--try-word-completion): Add `metadata' argument.
5797 (minibuffer-completion-help): Check metadata for annotation function
5798 and sorting.
5799 (completion-file-name-table): Return `category' metadata.
5800 (minibuffer-completing-file-name): Make obsolete.
5801 * simple.el (minibuffer-completing-symbol): Make obsolete.
5802 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5803 completion-try-completion.
5804
1257e755
SM
58052011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5808
3767e706
LL
58092011-05-30 Leo Liu <sdl.web@gmail.com>
5810
5811 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5812 (rcirc-print): Decode all incoming messages (bug#8744).
5813 (rcirc-decode-coding-system): Allow value nil for automatic coding
5814 system detection.
3767e706 5815
d1a5d56a
GM
58162011-06-01 Glenn Morris <rgm@gnu.org>
5817
5818 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5819
e8cbec34
CY
58202011-05-29 Chong Yidong <cyd@stupidchicken.com>
5821
5822 * image.el (image-animate-max-time): Allow nil and t values.
5823 Default to nil.
5824 (create-animated-image): Doc fix.
5825 (image-animate-start): Remove second arg; just use
5826 image-animate-max-time.
5827 (image-animate-timeout): Doc fix. Args changed.
5828
5829 * image-mode.el (image-toggle-display-image): Ensure that the
5830 image spec passed to the animate timer is the same object as in
58179cce 5831 the buffer's display property (Bug#6981).
e8cbec34
CY
5832 (image-transform-properties): Doc fix.
5833
5834 * image.el (image-animate-max-time): Default to nil.
5835
159daf87
MR
58362011-05-29 Martin Rudalics <rudalics@gmx.at>
5837
5838 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5839 entire buffer list (Bug#8184).
5840
d66c4c7c
CY
58412011-05-29 Chong Yidong <cyd@stupidchicken.com>
5842
5843 * image.el (imagemagick-types-inhibit)
5844 (imagemagick-register-types): Doc fix.
5845
80aec780
DD
58462011-05-29 Deniz Dogan <deniz@dogan.se>
5847
5848 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5849 default.
5850
1dd3c2d9
CY
58512011-05-29 Chong Yidong <cyd@stupidchicken.com>
5852
5853 * select.el: Don't perform clipboard-manager saving in hooks;
5854 leave the hooks empty.
5855
60e56523
LL
58562011-05-28 Leo Liu <sdl.web@gmail.com>
5857
5858 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5859 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5860 (occur-edit-mode): New major mode (Bug#8463).
5861 (occur-after-change-function): New function.
5862 (occur-engine): Give Occur tags a read-only property.
5863
2b1e1a22
KR
58642011-05-28 Kevin Ryde <user42@zip.com.au>
5865
5866 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5867
5d344e88
CY
58682011-05-28 Chong Yidong <cyd@stupidchicken.com>
5869
8e6ca83d
CY
5870 * bindings.el (help-echo): Make the initial non-indicator dash
5871 empty on graphical terminals (Bug#7295).
5872
5d344e88
CY
5873 * files.el (auto-mode-alist): Move config rule after the
5874 in-stripping one (Bug#8547).
5875
bfbbace7
CY
5876 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5877
fbeba6e2
CY
5878 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5879 setting (Bug#8740).
5880
60ed8c72
AA
58812011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5882
4ac619f0
AA
5883 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5884 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5885 (Bug#8539).
60ed8c72 5886
23db196e
CY
58872011-05-28 Chong Yidong <cyd@stupidchicken.com>
5888
5889 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5890
5012f24c
DK
58912011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5892
5893 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5894 (hs-hide-block-at-point, hs-find-block-beginning)
5895 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5896 (Bug#8279).
5897
6a639b16
GM
58982011-05-28 Glenn Morris <rgm@gnu.org>
5899
5900 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5901
d43eaf2c
CY
59022011-05-28 Chong Yidong <cyd@stupidchicken.com>
5903
5199bde1
CY
5904 * help-fns.el (describe-function-1): If the function is a derived
5905 major mode, print the parent mode.
5906
d43eaf2c
CY
5907 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5908 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5909
423428a8
SM
59102011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5911
0ff8e1ba 5912 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 5913 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
5914 * progmodes/etags.el (tags-completion-at-point-function):
5915 * info-look.el (info-lookup-completions-at-point): Mark as
5916 non-exclusive.
5917 (info-complete): Adjust accordingly.
5918
423428a8
SM
5919 * info-look.el: Convert to lexical-binding and completion-at-point.
5920 (info-lookup-completions-at-point): New function.
5921 (info-complete): Use it and completion-in-region.
5922
b74aa22b
DA
59232011-05-28 Drew Adams <drew.adams@oracle.com>
5924
5925 * isearch.el: Let M-e start with point at the first mismatched char.
5926 (isearch-fail-pos): New function.
5927 (isearch-edit-string): Use it.
5928
66e2e71d
DK
59292011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5930
5931 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5932
eb95d01d
TC
59332009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5934
5935 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5936 traversal functions for avl-trees.
5937 (avl-tree--stack): New struct.
5938 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5939 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5940 (avl-tree--do-enter): Add optional `updatefun' arg.
5941 Change return value.
eb95d01d 5942 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5943 (avl-tree--do-delete): Add `test' and `nilflag' args.
5944 Change return value.
eb95d01d
TC
5945 (avl-tree-member): Add optional `nilflag'
5946 (avl-tree-member-p): New function.
5947 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5948 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5949 (avl-tree-stack-empty-p): New functions.
5950
3769ddcf
TC
59512009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5952
5953 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5954 avl-tree--del-balance1 and make it work both ways.
5955 (avl-tree--del-balance2): Remove.
5956 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5957 make it work both ways.
5958 (avl-tree--enter-balance2): Remove.
5959 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5960 New macros.
5961 (avl-tree--mapc, avl-tree-map): Add direction argument.
5962
eb95d01d 59632011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5964
5965 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5966
a9f737ee
CY
59672011-05-27 Chong Yidong <cyd@stupidchicken.com>
5968
5969 * select.el: Support clipboard managers with built-in function
5970 x-clipboard-manager-save, via delete-frame-functions and
5971 kill-emacs-hook.
5972 (xselect-convert-to-targets): Add MULTIPLE target to list.
5973 (xselect-convert-to-save-targets): New function.
5974
c92a1e54
KH
59752011-05-27 Kenichi Handa <handa@m17n.org>
5976
5977 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5978 let-binding rfc2047-encode-encoded-words to nil.
5979
e145f188
GM
59802011-05-27 Glenn Morris <rgm@gnu.org>
5981
5ec8a862
GM
5982 * mail/emacsbug.el: Don't require url-util.
5983
4b29d9fb
GM
5984 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5985
e145f188
GM
5986 * files.el (set-auto-mode):
5987 Also respect mode: entries at the end of the file. (Bug#8586)
5988
7d15102b
GM
59892011-05-26 Glenn Morris <rgm@gnu.org>
5990
98f593b8
GM
5991 * files.el (hack-local-variables-prop-line, hack-local-variables):
5992 Downcase mode names, as seems to be traditional.
27b48e63 5993 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5994
7d15102b
GM
5995 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5996 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5997
51d5b4ec
JD
59982011-05-25 Julien Danjou <julien@danjou.info>
5999
6000 * textmodes/rst.el (rst-define-level-faces): Do not define face
6001 symbol if it is already defined.
6002
91513f63
VB
60032011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6004
6005 * play/5x5.el (5x5-new-game, 5x5-randomize):
6006 Reset 5x5-solver-output to nil when a new grid is cast.
6007 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6008 these debugging traces, as defmacro breaks the compiled code.
6009
4d90d6d0
DK
60102011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6011
6012 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6013
e1b90ef6
LL
60142011-05-24 Leo Liu <sdl.web@gmail.com>
6015
6016 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6017 (vc-bzr-sha1): Adapt.
6018
d8e4b68b 6019 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
6020
6021 * bindings.el: Provide sha1 feature.
6022
db0406bb 60232011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
6024
6025 * mail/sendmail.el: Require `rfc2047'.
6026 (mail-insert-from-field): Do not perform RFC2047 encoding.
6027 (mail-encode-header): New function.
6028 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
6029 buffer to the return value of select-message-coding-system.
6030 Call mail-encode-header.
b8d747b9
KH
6031
6032 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6033
db0406bb 60342011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 6035
4d90d6d0
DK
6036 * mail/supercite.el (sc-default-cite-frame):
6037 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 6038
eb8a5e9b
GM
60392011-05-24 Glenn Morris <rgm@gnu.org>
6040
f8630703
GM
6041 * progmodes/python.el (brm-menu): Declare.
6042
8831bbed
GM
6043 * emulation/viper.el (viper-set-hooks): Declare.
6044
eb8a5e9b
GM
6045 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6046 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6047 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6048 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6049 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6050 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6051
a2a25d24
SM
60522011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6053
6054 Add an :exit-function for completion-at-point.
6055
6056 * minibuffer.el (completion--done): New fun.
6057 (completion--do-completion): Use it. New arg `expect-exact'.
6058 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6059 since completion--do-completion does it for us now.
6060 (minibuffer-force-complete): Use completion--done and
6061 completion--replace. Handle sole-completion case with more care.
6062 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6063 (completion-extra-properties): New var.
6064 (completion-annotate-function): Make obsolete.
6065 (minibuffer-completion-help): Adjust accordingly.
6066 Use completion-list-insert-choice-function.
6067 (completion-at-point, completion-help-at-point):
6068 Bind completion-extra-properties.
6069 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6070 * simple.el (completion-list-insert-choice-function): New var.
6071 (completion-setup-function): Preserve it.
6072 (choose-completion): Pay attention to it, shuffle the code a bit.
6073 (choose-completion-string): New arg `insert-function'.
6074
6075 * textmodes/bibtex.el: Convert to lexical binding.
6076 (bibtex-mode-map): Use completion-at-point.
6077 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6078 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6079 (bibtex-complete): Define as obsolete alias.
6080 (bibtex-complete-internal): Remove.
6081 (bibtex-format-entry): Remove unused sub-group in regexp.
6082 * shell.el (shell--command-completion-data)
6083 (shell-environment-variable-completion):
6084 * pcomplete.el (pcomplete-completions-at-point):
6085 * comint.el (comint--complete-file-name-data): Use :exit-function
6086 instead of completion-table-with-terminator so it also works for
6087 choose-completion.
6088
e44e373d
SM
60892011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6090
4f91a816
SM
6091 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6092
782fc819
SM
6093 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6094 (bug#8710).
6095
e44e373d
SM
6096 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6097
381987c3
KM
60982011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6099
6100 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6101 customization variable and implement: If non-nil, auto-fill will
6102 be inhibited while on topic's header line.
6103
b776bc70
VB
61042011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6105
6106 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 6107 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
6108 always have a solution in grid size = 5 cases.
6109 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6110 (5x5-solver-output, 5x5-log-buffer): New vars.
6111 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6112 Make these variables buffer local to achieve 5x5 multi-session-ness.
6113 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6114 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6115 (5x5-solve-suggest): New funs.
6116 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6117 randomize a grid so that we ensure that there is always a solution.
6118 (5x5-make-random-grid): Allow other movement than flipping.
6119
7de88b6e
KR
61202011-05-23 Kevin Ryde <user42@zip.com.au>
6121
6122 * emacs-lisp/advice.el (ad-read-advised-function):
6123 Use `function-called-at-point' as the default default, if it has
6124 advice and passes PREDICATE.
6125
b1ef1257
SM
61262011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6127
bbca48fe
SM
6128 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6129 byte-compile-lambda if it's actually a lambda.
6130
b1ef1257
SM
6131 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6132 Fix function quoting. Use backquote better.
6133
92a9cc65
YS
61342011-05-22 Yuanle Song <sylecn@gmail.com>
6135
6136 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6137 matching (Bug#8516).
6138
f0fb8059
JA
61392011-01-22 Jari Aalto <jari.aalto@cante.net>
6140
6141 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6142 different face (Bug#8178).
6143
d5b44c93
CY
61442011-05-22 Chong Yidong <cyd@stupidchicken.com>
6145
6146 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6147 defface (Bug#8144).
6148
79106a44
SM
61492011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6150
9c848d8a
SM
6151 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6152 funcall as well (bug#8712). Warn when performing those conversions.
6153 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6154
79106a44
SM
6155 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6156
88dfa756
GM
61572011-05-22 Glenn Morris <rgm@gnu.org>
6158
6159 * files.el (hack-local-variables-prop-line): Small simplifications.
6160 (hack-local-variables, hack-local-variables-prop-line):
6161 If MODE-ONLY, return the mode, rather than just `t'.
6162
b7cf2c79
SM
61632011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6164
6165 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6166
3f1a8558
GM
61672011-05-21 Glenn Morris <rgm@gnu.org>
6168
7e4ccca3
GM
6169 * files.el (hack-local-variables-prop-line, hack-local-variables):
6170 If only interested in the mode, don't bother doing the other stuff.
6171
637d46ca
GM
6172 * image-mode.el (image-after-revert-hook):
6173 Redraw all frames on which the image is visible. (Bug#8567)
6174
973d955b
GM
6175 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6176
3f1a8558
GM
6177 * wid-edit.el (widget-checklist-match-inline):
6178 Fix 2011-04-19 change. (Bug#8649)
6179
96479927
SM
61802011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6181
1dcf791f
SM
6182 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6183 Also allow singlespace after single-letter capitals followed by a dot.
6184
96479927
SM
6185 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6186 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6187
35fd0881
N
61882011-05-20 Nix <nix@esperi.org.uk>
6189
6190 * files.el (basic-save-buffer-2):
6191 Fix handling of break-hardlink-on-save with non-existent files.
6192
82745640
DD
61932011-05-19 Deniz Dogan <deniz@dogan.se>
6194
6195 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 6196 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 6197
4a720484
GM
61982011-05-19 Glenn Morris <rgm@gnu.org>
6199
d1f21341
GM
6200 * progmodes/f90.el (f90-type-def-re):
6201 Handle "type, bind(c)". (Bug#8691)
6202
4a720484
GM
6203 * emacs-lisp/autoload.el (batch-update-autoloads):
6204 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6205
2fb0a219
MA
62062011-05-18 Michael Albinus <michael.albinus@gmx.de>
6207
6208 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6209 property for the correct connection in case of multihops.
6210
e565dd37
GM
62112011-05-18 Glenn Morris <rgm@gnu.org>
6212
c2571358 6213 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
6214 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6215
e565dd37
GM
6216 Rationalize calendar handling of day and month abbrev-arrays.
6217 * calendar/calendar.el (calendar-customized-p): New function.
6218 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6219 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6220 Add :set function.
6221 (calendar-abbrev-length, calendar-day-abbrev-array)
6222 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6223 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6224 Elements may no longer be nil.
6225 (calendar-day-name, calendar-month-name):
6226 Update for changed nature of abbrev arrays.
6227 * calendar/diary-lib.el (diary-name-pattern):
6228 Update for changed nature of abbrev arrays.
6229 (diary-mark-entries-1): Update calendar-make-alist calls.
6230 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6231 * calendar/cal-html.el (cal-html-day-abbrev-array):
6232 Simply inherit from calendar-day-abbrev-array.
6233
1d99a745
SM
62342011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6235
6236 * progmodes/grep.el (grep-mode): Disable default
6237 compilation-directory-matcher setting (bug#8684).
6238
7c1d9aa0
MA
62392011-05-17 Michael Albinus <michael.albinus@gmx.de>
6240
6241 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6242 instead of "head" and "tail". There were problems with SunOS 5.9,
6243 and it performs better.
6244
3952e9d8
GM
62452011-05-17 Glenn Morris <rgm@gnu.org>
6246
2dd12e7f
GM
6247 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6248
e4157b9c
GM
6249 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6250 Replace obsolete function.
6251
8e249bbd
GM
6252 * shell.el (pcomplete-parse-arguments-function): Declare.
6253
3952e9d8
GM
6254 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6255 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6256 (appt-check): Doc fixes.
6257 (appt-disp-window-function, appt-delete-window-function):
6258 Remove needless special case in custom :type.
6259 (appt-display-count): Default to 0, not nil.
6260 (appt-check): Reset appt-display-count to 0, not nil.
6261
c71a0d48 62622011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 6263
c71a0d48
GM
6264 * progmodes/python.el (python-font-lock-keywords):
6265 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 6266
31d55be9
SM
62672011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6270
3bfacb2f
KR
62712011-05-16 Kevin Ryde <user42@zip.com.au>
6272
6273 * info-look.el (makefile-automake-mode): New setups, looking in
6274 automake manual, then makefile-mode.
6275 (makefile-mode): Remove automake manual, have it just in
6276 makefile-automake-mode since there's various things different or
6277 not relevant to plain make.
6278 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6279 believe a hypothetical automake-mode would go to makefile-mode,
6280 not the other way around.
6281
c8e83751
CY
62822011-05-15 Chong Yidong <cyd@stupidchicken.com>
6283
5e9e35cd
CY
6284 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6285 hunk-end tags (Bug#8672).
6286
c8e83751
CY
6287 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6288 vc-annotate-show-diff-revision-at-line (Bug#8671).
6289
50b23e5a
GM
62902011-05-14 Glenn Morris <rgm@gnu.org>
6291
7210a739
GM
6292 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6293 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
6294 (change-log-font-lock-keywords): Also handle multiple author lines
6295 with leading tabs. (Bug#8644)
7210a739 6296
4691905a
GM
6297 * calendar/appt.el (appt-check): Rename some local variables.
6298 Some simplification/reordering.
6299
50b23e5a
GM
6300 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6301 (feedmail-sendmail-f-doesnt-sell-me-out)
6302 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6303 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6304 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
6305 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6306 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
6307 (feedmail-binmail-gnulinuxish-template):
6308 Rename from feedmail-binmail-linuxish-template.
6309 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6310 Use insert-buffer-substring.
6311
215cda7c
BC
63122011-05-14 Bill Carpenter <bill@carpenter.org>
6313
6314 * mail/feedmail.el (feedmail-patch-level): Increase.
6315 (feedmail-debug): New custom group.
6316 (feedmail-confirm-outgoing-timeout)
6317 (feedmail-sendmail-f-doesnt-sell-me-out)
6318 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6319 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6320 (feedmail-sender-line, feedmail-from-line)
6321 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 6322 (feedmail-spray-this-address)
215cda7c
BC
6323 (feedmail-spray-address-fiddle-plex-list)
6324 (feedmail-queue-use-send-time-for-date)
6325 (feedmail-queue-use-send-time-for-message-id)
6326 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6327 (feedmail-buffer-eating-function):
6328 Doc fixes.
6329 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6330 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6331 (feedmail-message-action-scroll-down): New functions.
6332 (feedmail-queue-directory, feedmail-queue-draft-directory):
6333 Use expand-file-name.
6334 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6335 Remove C-v help entry.
6336 (feedmail-queue-buffer-file-name): New variable.
6337 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6338 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6339 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6340 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6341 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6342 (feedmail-message-action-toggle-spray)
6343 (feedmail-run-the-queue-no-prompts)
6344 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6345 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6346 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6347 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6348 (feedmail-envelope-deducer, feedmail-fiddle-from)
6349 (feedmail-fiddle-sender, feedmail-default-date-generator)
6350 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6351 (feedmail-fiddle-spray-address)
6352 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6353 (feedmail-fiddle-list-of-fiddle-plexes)
6354 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6355 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6356 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6357 Change default. Doc fix.
6358 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6359 (feedmail-binmail-linuxish-template): New constant.
6360 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6361 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6362 (feedmail-send-it): Add debug call.
6363 Use feedmail-queue-buffer-file-name, and
6364 feedmail-send-it-immediately-wrapper.
6365 (feedmail-message-action-send): Add debug call.
6366 Use feedmail-send-it-immediately-wrapper.
6367 (feedmail-queue-express-to-queue): Add debug call.
6368 Run feedmail-queue-express-hook.
6369 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6370 (feedmail-message-action-help-blat):
6371 Rename from feedmail-queue-send-edit-prompt-help-first.
6372 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6373 Check line-endings. Handle errors better.
6374 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6375 Doc fix. Add debug call.
6376 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6377 Use feedmail-queue-send-edit-prompt-inner.
6378 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6379 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6380 from feedmail-queue-send-edit-prompt.
6381 (feedmail-queue-send-edit-prompt-help)
6382 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6383 (feedmail-tidy-up-slug): Add debug call.
6384 Respect feedmail-queue-slug-suspect-regexp.
6385 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6386 (feedmail-dump-message-to-queue): Add debug call.
6387 Expand queue-directory.
6388 (feedmail-dump-message-to-queue): Change message slightly.
6389 Use feedmail-say-chatter.
6390 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6391 (feedmail-send-it-immediately-wrapper): New function.
6392 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6393 Insert empty string rather than newline. Handle full-frame case.
6394 Use catch/throw. Use feedmail-say-chatter.
6395 (feedmail-fiddle-from): Try mail-host-address.
6396 (feedmail-default-message-id-generator): Doc fix.
6397 Bind system-time-locale. Handle missing end.
6398 (feedmail-fiddle-x-mailer): Add debug call.
6399 Handle feedmail-x-mailer-line being nil.
6400 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6401 Add debug call. Use buffer-substring-no-properties.
6402 (feedmail-say-debug, feedmail-say-chatter): New functions.
6403 (feedmail-find-eoh): Give an explicit error.
6404
42c7e61e
UJ
64052011-05-13 Ulf Jasper <ulf.jasper@web.de>
6406
c2571358 6407 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6408 family from helvetica to sans.
c2571358 6409 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6410 etc/images/newsticker.
6411
c2571358 6412 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6413 family from helvetica to sans.
6414
6415 * net/newst-plainview.el (newsticker-new-item-face)
6416 (newsticker-old-item-face, newsticker-immortal-item-face)
6417 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6418 (newsticker-statistics-face): Change default family from
42c7e61e 6419 helvetica to sans.
c2571358 6420 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6421 etc/images/newsticker.
6422
6423 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6424 (newsticker--process-auto-mark-filter-match): : Tell user about
6425 auto-marking.
6426
8497a297
DV
64272011-05-13 Didier Verna <didier@xemacs.org>
6428
6429 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6430 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6431 TODO entries.
8497a297
DV
6432 (lisp-lambda-list-keyword-parameter-indentation)
6433 (lisp-lambda-list-keyword-parameter-alignment)
6434 (lisp-lambda-list-keyword-alignment): New customizable user options.
6435 (lisp-indent-defun-method): Improve docstring.
6436 (extended-loop-p): Fix comment.
6437 (lisp-indent-lambda-list-keywords-regexp): New variable.
6438 (lisp-indent-lambda-list): New function.
6439 (lisp-indent-259): Use it.
6440 (lisp-indent-defmethod): Support for more than one
6441 method qualifier and properly indent methods lambda-lists.
6442 (defgeneric): Provide a missing common-lisp-indent-function property.
6443
f278f87f
SM
64442011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6447 bounds for the empty string (bug#8667).
6448
5233edd7
GM
64492011-05-13 Glenn Morris <rgm@gnu.org>
6450
5237a44f
GM
6451 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6452
8340026c 6453 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6454 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6455
5233edd7 6456 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6457 (appt-time-msg-list): Doc fix.
a5464014 6458 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6459
92d10796
AS
64602011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6461
6462 * progmodes/ld-script.el (ld-script-keywords)
6463 (ld-script-builtins): Update keywords list.
6464
914a0ae1
SM
64652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6466
c89be45f
SM
6467 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6468
914a0ae1
SM
6469 * shell.el (shell-completion-vars): New function.
6470 (shell-mode):
6471 * simple.el (read-shell-command): Use it.
6472 (blink-matching-open): No need for " [...]" in minibuffer-message.
6473
98dc3df3
GM
64742011-05-12 Glenn Morris <rgm@gnu.org>
6475
6476 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6477 (appt-check): Simplify.
6478
d2fc7e3d 64792011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6480
4d61f28d 6481 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6482 literal "/dev/null".
6483
d2fc7e3d 64842011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6485
6486 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6487 Fix typo.
6488
d2fc7e3d 64892011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6490
3f254caa
SM
6491 * progmodes/which-func.el (which-function):
6492 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6493 which might not be defined (Bug#8260).
6494
d45885f7
GM
64952011-05-12 Glenn Morris <rgm@gnu.org>
6496
6497 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6498 Let byte-compile-initial-macro-environment always take precedence.
6499
488086f4
SM
65002011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 * net/rcirc.el: Add support for SSL/TLS connections.
6503 (rcirc-server-alist): New field `encryption'.
6504 (rcirc): Check `encryption' settings.
6505 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6506 Merge make-local-variable into `set'.
6507 (rcirc--connection-open-p): New function.
6508 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6509 the process is not a network process (e.g. running gnutls-cli).
6510 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6511 Make rcirc-(en|de)code-coding-system local here.
6512 (rcirc-mode): Merge make-local-variable into `set'.
6513 (rcirc-parent-buffer): Make permanent buffer-local.
6514 (rcirc-multiline-minor-mode): Don't do it here.
6515 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6516 there's no server buffer.
6517
7d3b9d44
GM
65182011-05-11 Glenn Morris <rgm@gnu.org>
6519
f64049c6
GM
6520 * newcomment.el (comment-kill): Prefix "unused" local.
6521
93c9df73
GM
6522 * term/w32console.el (get-screen-color): Declare.
6523
7d3b9d44
GM
6524 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6525 Handle symbol elements of byte-compile-initial-macro-environment.
6526
9e2dd53f
LL
65272011-05-10 Leo Liu <sdl.web@gmail.com>
6528
488086f4
SM
6529 * bookmark.el (bookmark-bmenu-mode-map):
6530 Bind bookmark-bmenu-search to `/'.
8b340240 6531
9e2dd53f 6532 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6533 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6534 (Footnote-unicode): New function.
6535 (footnote-style-alist): Add unicode style to the list.
6536 (footnote-style): Doc fix.
9e2dd53f 6537
79b70037
GM
65382011-05-10 Jim Meyering <meyering@redhat.com>
6539
6540 Fix doubled-word typos.
6541 * international/quail.el (quail-insert-kbd-layout): and and -> and
6542 * kermit.el: and and -> and
6543 * net/ldap.el (ldap-search-internal): to to -> to
6544 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6545 * progmodes/js.el (js-mode): and and -> and
6546 * textmodes/artist.el (artist-move-to-xy): at at -> at
6547 (artist-draw-region-trim-line-endings): if if -> if
6548 And Safetyc -> Safety.
6549 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6550
b8f82dc1 65512011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6552 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6553
6554 * files.el (hack-one-local-variable-eval-safep):
6555 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6556
4f99f44b
GM
65572011-05-10 Glenn Morris <rgm@gnu.org>
6558
6559 * calendar/diary-lib.el (diary-list-entries-hook)
6560 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6561 (diary-nongregorian-marking-hook, diary-list-entries)
6562 (diary-include-other-diary-files, diary-mark-entries)
6563 (diary-mark-included-diary-files): Doc fixes.
6564
84f29e6b
JB
65652011-05-09 Juanma Barranquero <lekktu@gmail.com>
6566
6567 * misc.el: Require tabulated-list.el during compilation.
6568
9bedd73a
CY
65692011-05-09 Chong Yidong <cyd@stupidchicken.com>
6570
488086f4
SM
6571 * progmodes/compile.el (compilation-start):
6572 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6573 (compilation-filter-hook): Doc fix.
6574
797c735c
DD
65752011-05-09 Deniz Dogan <deniz@dogan.se>
6576
6577 * wdired.el: Remove outdated installation comment. Fix usage
6578 comment.
6579
5f4b1dfe
JB
65802011-05-09 Juanma Barranquero <lekktu@gmail.com>
6581
6582 * misc.el: Implement new command `list-dynamic-libraries'.
6583 (list-dynamic-libraries--loaded-only-p): New variable.
6584 (list-dynamic-libraries--refresh): New function.
6585 (list-dynamic-libraries): New command.
6586
4c44026c
CY
65872011-05-09 Chong Yidong <cyd@stupidchicken.com>
6588
488086f4
SM
6589 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6590 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6591 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6592 higher priority to avoid clobbering by gnu.
6593
027f966d
CY
65942011-05-08 Chong Yidong <cyd@stupidchicken.com>
6595
6596 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6597 if the face has existing theme settings (Bug#8454).
6598
085f5d7d
CY
65992011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6600
488086f4
SM
6601 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6602 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6603
2a86a00c
RS
6604 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6605 special file names `.' and `..' (Bug#8259).
6606
d9c54a06
CY
66072011-05-08 Chong Yidong <cyd@stupidchicken.com>
6608
488086f4
SM
6609 * progmodes/grep.el (grep-mode-font-lock-keywords):
6610 Remove buffer-changing entries.
d9c54a06
CY
6611 (grep-filter): New function.
6612 (grep-mode): Add it to compilation-filter-hook.
6613
6614 * progmodes/compile.el (compilation-filter-hook)
6615 (compilation-filter-start): New defvars.
6616 (compilation-filter): Call compilation-filter-hook prior to
6617 updating the process mark.
6618
c4662635
SM
66192011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6620
6621 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6622
b0512a1d
EZ
66232011-05-07 Eli Zaretskii <eliz@gnu.org>
6624
605c9376
EZ
6625 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6626 mailclient-send-it even if window-system is nil. (Bug#8595)
6627
c4662635
SM
6628 * term/w32console.el (terminal-init-w32console):
6629 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6630 background-mode. (Bug#8597)
6631
d1dc2cc2
SM
66322011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6633
6634 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6635 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6636 New functions.
6637 (defgeneric, eieio--defmethod): Use them.
6638 (eieio-defgeneric): Remove.
6639 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6640
915d1300
GM
66412011-05-07 Glenn Morris <rgm@gnu.org>
6642
a3961c3e
GM
6643 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6644 Use let rather than let*.
6645 (timeclock-find-discrep): Remove unused local.
6646
314347b9
GM
6647 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6648
915d1300
GM
6649 * calendar/appt.el (appt-time-msg-list): Doc fix.
6650
275b59b0
NF
66512011-05-06 Noah Friedman <friedman@splode.com>
6652
6653 * apropos.el (apropos-print-doc): Only use
6654 emacs-lisp-docstring-fill-column when it is bound to an integer,
6655 per that variable's documentation.
6656
6c19f744
SM
66572011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6658
6659 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6660 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6661
60f884b2
GM
66622011-05-06 Glenn Morris <rgm@gnu.org>
6663
5006e634
GM
6664 * calendar/appt.el (appt-message-warning-time): Doc fix.
6665 (appt-warning-time-regexp): New option.
6666 (appt-make-list): Respect appt-message-warning-time.
6667
548d0a63
GM
6668 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6669 New options.
6670 (diary-add-to-list): Strip comments from the displayed string.
6671 (diary-mode): Set comment-start and comment-end.
6672
60f884b2
GM
6673 * vc/diff-mode.el (smerge-refine-subst): Declare.
6674 (diff-refine-hunk): Don't require smerge-mode when compiling.
6675
989681bb
JB
66762011-05-06 Juanma Barranquero <lekktu@gmail.com>
6677
6678 * simple.el (list-processes): Return nil as the docstring says.
6679
a6bc05e1
MA
66802011-05-05 Michael Albinus <michael.albinus@gmx.de>
6681
6682 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6683 to "".
6684 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6685 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6686 determining of binary transfer. (Bug#7383)
6687
23c22e9a
MA
66882011-05-05 Michael Albinus <michael.albinus@gmx.de>
6689
c4662635
SM
6690 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6691 Fix port computation bug. (Bug#8618)
23c22e9a 6692
0bff894f
GM
66932011-05-05 Glenn Morris <rgm@gnu.org>
6694
b8296902
GM
6695 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6696
1f522ce8
GM
6697 * simple.el (shell-dynamic-complete-functions)
6698 (comint-dynamic-complete-functions): Declare.
6699
cf5bee67
GM
6700 * net/network-stream.el (gnutls-negotiate):
6701 * simple.el (tabulated-list-print): Fix declarations.
6702
6703 * progmodes/gud.el (syntax-symbol, syntax-point):
6704 Remove unnecessary and incorrect declarations.
6705
0bff894f
GM
6706 * emacs-lisp/check-declare.el (check-declare-scan):
6707 Handle byte-compile-initial-macro-environment in bytecomp.el
6708
9869b3ae
SM
67092011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6710
6711 Fix earlier half-done eieio-defmethod change (bug#8338).
6712 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6713 Streamline and change calling convention.
6714 (defmethod): Adjust accordingly and simplify.
6715 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6716 new eieio--defmethod.
6717 (slot-boundp): Minor CSE simplification.
6718
9c1d5ac5
MZ
67192011-05-05 Milan Zamazal <pdm@zamazal.org>
6720
6721 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6722 (glasses-make-readable): Use glasses-separate-capital-groups.
6723
455c834e
JB
67242011-05-05 Juanma Barranquero <lekktu@gmail.com>
6725
6726 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6727 (warning-series): Doc fix.
6728 (display-warning): Don't try to create the buffer if we just found it.
6729
9ed7c8cb
CY
67302011-05-04 Chong Yidong <cyd@stupidchicken.com>
6731
6732 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6733 (autoload-find-generated-file): New function.
6734 (generate-file-autoloads): Bind generated-autoload-file to
6735 buffer-file-name.
9869b3ae
SM
6736 (update-file-autoloads, update-directory-autoloads):
6737 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6738 output file (Bug#7989).
6739 (batch-update-autoloads): Doc fix.
6740
0898ca10
JB
67412011-05-04 Juanma Barranquero <lekktu@gmail.com>
6742
6743 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6744
31dfb76c
GM
67452011-05-04 Glenn Morris <rgm@gnu.org>
6746
f330b642
GM
6747 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6748 function, so it follows changes in calendar-date-style.
6749 (diary-fancy-date-matcher): New function.
6750 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6751 (diary-fancy-font-lock-fontify-region-function):
6752 Use diary-fancy-date-pattern as a function.
6753
31dfb76c
GM
6754 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6755 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6756
48e79d6a
TZ
67572011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6758
6759 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6760 instead of positional arguments. Allow :keylist and :crlfiles
6761 arguments.
6762 (open-gnutls-stream): Call it.
6763
6764 * net/network-stream.el (network-stream-open-starttls): Adjust to
6765 call `gnutls-negotiate' with :process and :hostname arguments.
6766
dd5a5ee0
SM
67672011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6768
ef80fc09
SM
6769 * minibuffer.el (completion--message): New function.
6770 (completion--do-completion, minibuffer-complete)
6771 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6772 (completion--do-completion): Don't ignore completion-auto-help when in
6773 icomplete-mode.
6774
dd5a5ee0
SM
6775 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6776 internal encoding (e.g. tibetan zero is not whitespace).
6777 (global-whitespace-mode): Prefer save-current-buffer.
6778 (whitespace-trailing-regexp): Remove useless save-match-data.
6779 (whitespace-empty-at-bob-regexp): Minor simplification.
6780
b7d22a83
CY
67812011-05-03 Chong Yidong <cyd@stupidchicken.com>
6782
6783 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6784
5192af46
AM
67852011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6786
6787 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6788 Use `concat' to create string for insertion.
5192af46 6789
5767d190
SM
67902011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6791
6792 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6793 Avoid open-line which runs post-self-insert-hook.
6794 (bibtex-fill-entry): Remove unused `end' var.
6795
bf242939
AM
67962011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6797
5767d190
SM
6798 * textmodes/ispell.el (ispell-add-per-file-word-list):
6799 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6800
25666126
LL
68012011-05-03 Leo Liu <sdl.web@gmail.com>
6802
6803 * isearch.el (isearch-yank-pop): New command.
5767d190 6804 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6805 (isearch-forward): Mention it.
6806
52d3c2d0
SM
68072011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6808
1bcace58
SM
6809 * simple.el (minibuffer-complete-shell-command): Remove.
6810 (minibuffer-local-shell-command-map): Use completion-at-point.
6811 (read-shell-command): Setup completion vars here instead.
6812 (read-expression-map): Bind TAB to symbol completion.
6813
52d3c2d0
SM
6814 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6815 error directly rather via storing it into `results'.
6816
35813471
LL
68172011-05-02 Leo Liu <sdl.web@gmail.com>
6818
6819 * vc/diff.el: Fix description.
6820
e793a940
LMI
68212011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6822
6823 * server.el (server-eval-at): New function.
6824
8de66e05
LMI
68252011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6826
6827 * net/network-stream.el (open-network-stream): Take a :nowait
6828 parameter and pass it on to `make-network-process'.
6829 (network-stream-open-plain): Ditto.
6830
dcb79f20
AS
68312011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6832
6833 * faces.el (face-spec-set-match-display): Don't match toolkit
6834 options on terminal frames.
6835
14a7fbd8
SM
68362011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6837
7eabc1be
SM
6838 * progmodes/pascal.el: Use lexical binding.
6839 (pascal-mode-map): Remove author preferences.
6840
14a7fbd8
SM
6841 * pcomplete.el (pcomplete-std-complete): Don't abuse
6842 completion-at-point.
6843
50f84510
JB
68442011-04-28 Juanma Barranquero <lekktu@gmail.com>
6845
6e087a44
JB
6846 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6847 removing code that has been dead since 1991 or so.
6848
50f84510
JB
6849 * startup.el (command-line): When warning about "_emacs", use a
6850 delayed warning to allow the user to filter it out.
6851
0ba690bd
DD
68522011-04-28 Deniz Dogan <deniz@dogan.se>
6853
6854 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6855 user has not joined.
6856
08abfaad
SM
68572011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6860 aren't any completions at point.
6861
638f053a
JB
68622011-04-28 Juanma Barranquero <lekktu@gmail.com>
6863
6864 * subr.el (display-delayed-warnings): New function.
6865 (delayed-warnings-hook): New variable.
6866
8fff8daa
SM
68672011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6868
08abfaad
SM
6869 * minibuffer.el (completion-at-point, completion-help-at-point):
6870 Don't presume that a given completion-at-point-function will always
6871 use the same calling convention.
6872
8fff8daa
SM
6873 * pcomplete.el (pcomplete-completions-at-point):
6874 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6875 pcomplete-seen is non-nil.
6876 (pcomplete-comint-setup): Also recognize the new comint/shell
6877 completion functions.
6878 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6879 pcomplete-seen is non-nil.
6880
841a1577 68812011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6882
841a1577 6883 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6884 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6885 the first character in the entry. This allows for code to add its
211ec907
UJ
6886 own uid to the entry.
6887 (icalendar--convert-float-to-ical): Add export of
6888 `diary-float'-entries save for those with the optional DAY
6889 argument.
6890
2a782793
DC
68912011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6892
6893 * subr.el (shell-quote-argument): Use alternate escaping strategy
6894 when we spot a variable reference in a string.
6895
0438ce91
DC
68962011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6897
6898 * cus-start.el (all): Define customization for debug-on-event.
6899
841a1577 69002011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6901
6902 * subr.el (shell-quote-argument): Escape correctly under Windows.
6903
d090ed6c
SM
69042011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6907
bfd31217
MA
69082011-04-25 Michael Albinus <michael.albinus@gmx.de>
6909
d090ed6c
SM
6910 * net/tramp.el (tramp-process-actions): Add POS argument.
6911 Delete region between POS and (pos).
bfd31217 6912
d090ed6c
SM
6913 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6914 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6915 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6916
6917 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6918 position in `tramp-process-actions' call.
6919
6920 * net/trampver.el: Update release number.
6921
e92f3bd3
SM
69222011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6923
850256b5
SM
6924 * custom.el (defcustom): Obey lexical-binding.
6925
e92f3bd3
SM
6926 Fix octave-inf completion problems reported by Alexander Klimov.
6927 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6928 Inherit from octave-mode-syntax-table.
6929 (inferior-octave-mode): Set info-lookup-mode.
6930 (inferior-octave-completion-at-point): New function.
6931 (inferior-octave-complete): Use it and completion-in-region.
6932 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6933 comint-filename-completion.
6934 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6935 symbol elements which shouldn't be word elements.
6936 (octave-font-lock-keywords, octave-beginning-of-defun)
6937 (octave-function-header-regexp): Adjust regexps accordingly.
6938 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6939
cd22b309
JB
69402011-04-25 Juanma Barranquero <lekktu@gmail.com>
6941
6942 * net/gnutls.el (gnutls-errorp): Declare before first use.
6943
8b492194
TZ
69442011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6945
6946 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6947 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6948 default trustfile exists before going to use it. Add missing
6949 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6950 Reported by Claudio Bley <claudio.bley@gmail.com>.
6951 (open-gnutls-stream): Add usage example.
6952
6953 * net/network-stream.el (network-stream-open-starttls): Give host
6954 parameter to `gnutls-negotiate'.
6955 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6956 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6957
841a1577 69582011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6959
cd22b309
JB
6960 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6961 Use correct match group (bug#8438).
05842630 6962
3ba7869c
CY
69632011-04-24 Chong Yidong <cyd@stupidchicken.com>
6964
512e3ae1
CY
6965 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6966 (package-menu--generate): New arg specifying packages to show.
6967 (package-menu-refresh, package-menu-execute, list-packages):
6968 Callers changed.
6969 (package-show-package-list): New function, replacing deleted
6970 package--list-packages (renamed because it is non-internal).
6971
6972 * finder.el (finder-list-matches): Use package-show-package-list
6973 instead of deleted package--list-packages.
6974
e92f3bd3
SM
6975 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6976 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6977 (vc-annotate-mode-map): Bind it to RET.
6978
7031be6d
UR
69792011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6980
6981 * progmodes/etags.el (next-file): Don't use set-buffer to change
6982 buffers (Bug#8478).
6983
4ef177aa
CY
69842011-04-24 Chong Yidong <cyd@stupidchicken.com>
6985
c8d173eb
CY
6986 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6987
4ef177aa
CY
6988 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6989 (apropos-accumulator): Doc fix.
6990 (apropos-function, apropos-macro, apropos-command)
6991 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6992 (apropos-plist): Add face property.
6993 (apropos-symbols-internal): Fix indentation.
6994 (apropos-print): Simplify help, and recognize apropos-multi-type.
6995 (apropos-print-doc): Use button-type-get to extract the button's
6996 face property. Fill docstring (Bug#8352).
6997
4ffd0d6b 69982011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6999
7000 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7001
c6c32125 7002 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 7003 (mpuz-mode-map): Use mapc.
c6c32125
JB
7004 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7005 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7006 Fix typos in docstrings.
7007
58d468b4
JB
7008 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7009 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7010
6470c3c6
JB
7011 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7012
4ffd0d6b 70132011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
7014
7015 * minibuffer.el (completion--do-completion): Avoid the "Next char
7016 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7017
3ad8bad0
CY
7018 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7019 mouse-2 into unread-command-events, it is interpreted correctly.
7020
71d73c9c 7021 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 7022 (image-toggle-display): Doc fix.
71d73c9c 7023
841a1577 70242011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 7025
4ffd0d6b
GM
7026 * textmodes/page.el (what-page): Use line-number-at-pos to
7027 calculate line number (Bug#6825).
6e1dbaa9 7028
c2fb1b60
JB
70292011-04-22 Juanma Barranquero <lekktu@gmail.com>
7030
7031 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7032 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7033 Pass argument NO-DEFAULT to `find-tag-interactive'.
7034
e02f48d7
JB
70352011-04-22 Juanma Barranquero <lekktu@gmail.com>
7036
7037 Lexical-binding cleanup.
7038
7039 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7040 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7041 * progmodes/ada-prj.el (ada-prj-initialize-values)
7042 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7043 (ada-prj-show-value):
7044 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7045 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7046 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7047 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7048 * progmodes/bug-reference.el (bug-reference-push-button):
7049 * progmodes/fortran.el (fortran-line-length):
7050 * progmodes/glasses.el (glasses-change):
7051 * progmodes/octave-mod.el (octave-fill-paragraph):
7052 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7053 (python-pdbtrack-grub-for-buffer, python-sentinel):
7054 * progmodes/sql.el (sql-save-connection):
7055 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7056 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7057 Mark unused parameters.
7058
7059 * progmodes/compile.el (compilation--flush-directory-cache)
7060 (compilation--flush-parse, compile-internal): Mark unused parameters.
7061 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7062 (compilation-next-error-function): Remove unused variable `timestamp'.
7063
7064 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7065 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7066
7067 * progmodes/dcl-mode.el (dcl-end-of-command):
7068 Remove unused variable `start'.
7069 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7070 (dcl-option-value-basic, dcl-option-value-offset)
7071 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7072 Mark unused parameters.
7073 (dcl-save-local-variable): Remove unused variable `val'.
7074 (mode): Declare.
7075
7076 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7077 Mark unused parameters.
7078 (delphi-ignore-changes): Move before first use.
7079 (delphi-charset-token-at): Remove unused variable `start'.
7080 (delphi-else-start): Remove unused variable `if-count'.
7081 (delphi-comment-block-start, delphi-comment-block-end):
7082 Remove unused variable `kind'.
7083 (delphi-indent-line): Remove unused variable `new-point'.
7084
7085 * progmodes/ebrowse.el (ebrowse-files-list)
7086 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7087 Mark unused parameters. Don't quote `lambda'.
7088 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7089 Don't quote `lambda'.
7090 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7091 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7092 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7093 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7094 Use `ignore-errors'.
7095 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7096 (ebrowse-view/find-file-and-search-pattern)
7097 (ebrowse-view/find-member-declaration/definition):
7098 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7099 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7100 Rename parameter PREFIX-ARG to PREFIX.
7101 (ebrowse-tags-read-name): Remove unused variables `start' and
7102 `member-info'.
7103 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7104 to `tags-file'.
7105
7106 * progmodes/etags.el (local-find-tag-hook): Declare.
7107 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7108 Mark unused parameters.
7109
7110 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7111 (executable-interpret): Mark unused parameter.
7112
7113 * progmodes/flymake.el (flymake-process-sentinel)
7114 (flymake-after-change-function)
7115 (flymake-create-temp-with-folder-structure)
7116 (flymake-get-include-dirs-dot): Mark unused parameters.
7117 (flymake-safe-delete-directory): Remove unused variable `err'.
7118
7119 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7120 (speedbar-timer-fn, speedbar-line-text)
7121 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7122 (speedbar-center-buffer-smartly): Declare functions.
7123 (gdb-find-watch-expression): Remove unused variable `array'.
7124 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7125 (gdb-starting): Mark unused parameters.
7126 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7127 (gdb-table-string): Remove unused variable `res'.
7128 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7129 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7130 (gdb-display-buffer): Remove unused variable `cur-size'.
7131
7132 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7133 allow lexical-binding compilation.
7134 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7135 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7136 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7137 Mark unused parameters.
7138 (gud-gdb-marker-filter): Remove unused variable `match'.
7139 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7140 lambda expressions and funcall them, instead of using `fset'.
7141
7142 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7143 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7144
7145 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7146 variable `header-beg'; use `let'.
7147
7148 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7149 `restart', `last-sexp' and `at-do'.
7150
7151 * progmodes/js.el (js--debug): Mark unused parameter.
7152 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7153 (js--splice-into-items): Remove unused variable `item'.
7154 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7155
7156 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7157 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7158 (makefile-complete): Remove unused variable `try'.
7159 (makefile-fill-paragraph, makefile-match-function-end):
7160 Mark unused parameters.
7161
7162 * progmodes/octave-inf.el (inferior-octave-complete):
7163 Remove unused variable `proc'.
7164 (inferior-octave-output-digest): Mark unused parameter.
7165
7166 * progmodes/perl-mode.el (perl-calculate-indent):
7167 Remove unused variable `err'.
7168
7169 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7170 (prolog-indent-line): Mark unused parameters.
7171 (prolog-indent-line): Remove unused variable `beg'.
7172
7173 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7174 (reporter-dont-compact-list): Declare.
7175
7176 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7177 Remove unused variable `char'.
7178 (sh-debug): Mark unused parameter.
7179 (sh-get-indent-info): Remove unused variable `start'.
7180 (sh-calculate-indent): Remove unused variable `var'.
7181
7182 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7183 (simula-electric-keyword): Remove unused variable `null'.
7184 (simula-search-backward, simula-search-forward): Remove unused
7185 variables `begin' and `end'.
7186
7187 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7188 Remove unused variable `pos'.
7189 (vera-electric-tab, vera-comment-uncomment-region):
7190 Mark unused parameters.
7191 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7192
7ede3b65
CY
71932011-04-22 Chong Yidong <cyd@stupidchicken.com>
7194
7195 * emacs-lisp/package.el (package--builtins, package-alist)
7196 (package-load-descriptor, package-built-in-p, package-activate)
7197 (define-package, package-installed-p)
7198 (package-compute-transaction, package-buffer-info)
7199 (package--push): Doc fix. Distinguish more clearly between
7200 version strings and version lists.
7201
121656e9
JB
72022011-04-21 Juanma Barranquero <lekktu@gmail.com>
7203
7204 Lexical-binding cleanup.
7205
7206 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7207 (5x5-make-mutate-best):
7208 * play/fortune.el (fortune-in-buffer):
7209 * play/gomoku.el (gomoku-init-display):
7210 * play/solitaire.el (solitaire, solitaire-do-check):
7211 * play/tetris.el (tetris-default-update-speed-function):
7212 Mark unused parameters.
7213
7214 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7215 (bubbles--shift): Remove unused variable `char-org'.
7216 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7217 (bubbles--show-images): Remove unused variable `char'.
7218
7219 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7220 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7221 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7222 (decipher-analyze-buffer): Use ?\s.
7223 (decipher-make-checkpoint): Remove unused variable `mapping'.
7224
7225 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7226
7227 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7228 Remove unused variable `result'; use `let'.
7229
7230 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7231 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7232 (gametree-children-shown-p, gametree-compute-reduced-score):
7233 Use `ignore-errors'.
7234
7235 * play/handwrite.el (ps-lpr-switches): Declare.
7236 (handwrite): Remove unused variables `pmin' and `lastp'.
7237
7238 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7239
7240 * play/landmark.el (landmark-init-display)
7241 (landmark-update-naught-weights): Mark unused parameters.
7242 (landmark-y): Remove unused variable `noise'. Simplify.
7243 (landmark-human-plays): Remove unused variable `score'.
7244
7245 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7246 (mpuz-try-proposal): Remove unused variable `game'.
7247
7248 * play/zone.el (life-patterns): Declare.
7249
80f499c7
JB
72502011-04-20 Juanma Barranquero <lekktu@gmail.com>
7251
7252 * vc/vc.el (ediff-vc-internal): Declare function.
7253
024ff170
SM
72542011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7255
c0a193ea
SM
7256 * shell.el: Use lexical-binding and std completion UI.
7257 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7258 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7259 comint-preoutput-filter-functions rather than on
7260 comint-output-filter-functions.
7261 (shell-command-completion, shell--command-completion-data)
7262 (shell-filename-completion, shell-environment-variable-completion)
7263 (shell-c-a-p-replace-by-expanded-directory): New functions.
7264 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7265 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7266 (shell-dynamic-complete-environment-variable): Use them.
7267 (shell-dynamic-complete-as-environment-variable)
7268 (shell-dynamic-complete-as-command): Remove.
7269 (shell-match-partial-variable): Match past point.
7270 * comint.el: Clean up use of completion-at-point-functions.
7271 (comint-completion-at-point): New function.
7272 (comint-mode): Use it completion-at-point-functions.
7273 (comint-dynamic-complete): Make it obsolete.
7274 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7275 (comint-c-a-p-replace-by-expanded-history): New function.
7276 (comint-dynamic-complete-functions)
7277 (comint-replace-by-expanded-history): Use it.
7278 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7279 termination strings. Try harder to avoid second try-completion.
7280 (completion-in-region-mode-map): Disable bindings that don't work yet.
7281
2dbaa080
SM
7282 * comint.el: Use lexical-binding. Require CL.
7283 (comint-dynamic-complete-functions): Use comint-filename-completion.
7284 (comint-completion-addsuffix): Tweak custom type.
7285 (comint-filename-completion, comint--common-suffix)
7286 (comint--common-quoted-suffix, comint--table-subvert)
7287 (comint--complete-file-name-data): New functions.
7288 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7289 (comint-dynamic-list-filename-completions): Use them.
7290 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 7291
2dbaa080
SM
7292 * minibuffer.el (completion-in-region-mode):
7293 Keep completion-in-region-mode--predicate global.
7294 (completion-in-region--postch):
7295 Assume completion-in-region-mode--predicate is not null.
7296
c79a6f38
SM
7297 * progmodes/flymake.el (flymake-start-syntax-check-process):
7298 Obey `dir'. Simplify.
7299
024ff170
SM
7300 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7301 we're in VC after all.
7302
1c6c854e
CS
73032011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7304
7305 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 7306 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
7307 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7308
bed7f140
SM
73092011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7310
332e62ab
SM
7311 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7312 add sanity check.
7313
bed7f140
SM
7314 * obsolete/erc-hecomplete.el: Make obsolete.
7315 * obsolete/: Standardize obsolescence info in the header.
7316
f195c582
GM
73172011-04-20 Glenn Morris <rgm@gnu.org>
7318
7319 * calendar/solar.el (solar-horizontal-coordinates):
7320 Use the longitude argument rather than `calendar-longitude'.
7321 (solar-date-next-longitude): Remove unused locals.
7322
cb79b8c0
VJL
73232011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7324
7325 * whitespace.el: New version 13.2.1.
7326
73272011-04-20 felix <EmacsWiki> (tiny change)
7328
d8e4b68b 7329 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
7330 switching between major modes on a file.
7331
602ea69d
SM
73322011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7333
7334 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7335 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7336 multi-line comments as well.
7337
06b60517
JB
73382011-04-19 Juanma Barranquero <lekktu@gmail.com>
7339
7340 Lexical-binding cleanup.
7341
7342 * arc-mode.el (archive-mode-revert):
7343 * cmuscheme.el (scheme-interactively-start-process):
7344 * custom.el (custom-initialize-delay):
7345 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7346 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7347 * emacs-lock.el (emacs-lock-clear-sentinel):
7348 * ezimage.el (defezimage):
7349 * follow.el (follow-avoid-tail-recenter):
7350 * fringe.el (set-fringe-mode-1):
7351 * generic-x.el (bat-generic-mode-compile):
7352 * help-mode.el (help-info-variable, help-do-xref)
7353 (help-mode-revert-buffer):
7354 * help.el (view-emacs-todo):
7355 * iswitchb.el (iswitchb-completion-help):
7356 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7357 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7358 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7359 * locate.el (locate-update):
7360 * longlines.el (longlines-encode-region)
7361 (longlines-after-change-function):
7362 * outline.el (outline-isearch-open-invisible):
7363 * ps-def.el (declare-function, charset-dimension, char-width)
7364 (encode-char):
7365 * ps-mule.el (ps-mule-plot-string):
7366 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7367 (recentf-edit-list-select, recentf-edit-list-validate)
7368 (recentf-open-files-action):
7369 * rect.el (delete-whitespace-rectangle-line)
7370 (rectangle-number-line-callback):
7371 * register.el (window-configuration-to-register)
7372 (frame-configuration-to-register):
7373 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7374 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7375 (xselect-convert-to-targets, xselect-convert-to-delete)
7376 (xselect-convert-to-filename, xselect-convert-to-charpos)
7377 (xselect-convert-to-lineno, xselect-convert-to-colno)
7378 (xselect-convert-to-os, xselect-convert-to-host)
7379 (xselect-convert-to-user, xselect-convert-to-class)
7380 (xselect-convert-to-name, xselect-convert-to-integer)
7381 (xselect-convert-to-atom, xselect-convert-to-identity):
7382 * subr.el (declare, ignore, process-kill-without-query)
7383 (text-clone-maintain):
7384 * terminal.el (te-get-char, te-tic-sentinel):
7385 * tool-bar.el (tool-bar-make-keymap):
7386 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7387 * type-break.el (type-break-mode, type-break-noninteractive-query):
7388 * view.el (View-back-to-mark):
7389 * wid-browse.el (widget-browse-action, widget-browse-widget)
7390 (widget-browse-widgets, widget-browse-sexp):
7391 * widget.el (define-widget-keywords):
7392 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7393 Mark unused parameters.
7394
7395 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7396 (align-areas): Remove unused variable `look'.
7397 (align-region): Remove unused variables `real-end' and `pos-list'.
7398
7399 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7400
7401 * bindings.el (mode-line-modified, mode-line-remote):
7402 Mark unused parameters.
7403 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7404
7405 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7406 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7407
7408 * comint.el (comint-history-isearch-pop-state)
7409 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7410 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7411 (comint-substitute-in-file-name): Doc fix.
7412
7413 * completion.el (cmpl-statistics-block): Mark unused parameter.
7414 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7415 (save-completions-to-file, load-completions-from-file):
7416 Remove unused local variable `e'.
7417
7418 * composite.el (compose-chars): Remove unused variable `len'.
7419 (lgstring-insert-glyph): Remove unused variable `g'.
7420 (compose-glyph-string): Remove unused variables `ascent',
7421 `descent', `lbearing' and `rbearing'.
7422 (compose-glyph-string-relative): Remove unused variables
7423 `lbearing', `rbearing' and `wadjust'.
7424 (compose-gstring-for-graphic): Remove unused variables `header',
7425 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7426 (compose-gstring-for-terminal): Remove unused variables `header'
7427 and `nchars'. Use `let', not `let*'.
7428
7429 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7430 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7431 (Custom-buffer-done, custom-buffer-create-internal)
7432 (custom-browse-visibility-action, custom-browse-group-tag-action)
7433 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7434 (widget-magic-mouse-down-action, custom-toggle-parent)
7435 (custom-add-parent-links, custom-toggle-hide-variable)
7436 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7437 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7438 (custom-face-menu-create, custom-variable-menu-create, get)
7439 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7440 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7441 (customize-apropos): Remove unused variable `tests'.
7442 (custom-group-value-create): Remove unused variable `hidden-p'.
7443 (sort-fold-case): Declare.
7444
7445 * cus-theme.el (custom-reset-standard-faces-list)
7446 (custom-reset-standard-variables-list): Declare.
7447 (customize-create-theme, custom-theme-revert, custom-theme-write)
7448 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7449 Mark unused parameters.
7450
7451 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7452
7453 * delim-col.el (delimit-columns-max): Move defvar before first use.
7454
7455 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7456 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7457
7458 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7459 (auto-insert): Declare.
7460 (desktop-restore-file-buffer): Rename desktop-* parameters;
7461 mark unused ones.
7462 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7463 (desktop-buffer): Rename desktop-* parameters.
7464
7465 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7466 (dframe-reposition-frame-xemacs, dframe-help-echo)
7467 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7468 Mark unused parameters.
7469
7470 * dired-aux.el (backup-extract-version-start, overwrite-query)
7471 (overwrite-backup-query, rename-regexp-query)
7472 (rename-non-directory-query): Declare.
7473 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7474 (dired-add-entry): Remove unused variable `orig-file-name'.
7475 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7476 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7477 `dired-copy-preserve-time' directly.
7478 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7479 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7480
7481 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7482 (dired-virtual-revert, dired-make-relative-symlink):
7483 Mark unused parameters.
7484 (manual-program): Declare.
7485 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7486 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7487 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7488
7489 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7490
7491 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7492
7493 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7494 Declare.
7495
7496 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7497
7498 * electric.el (Electric-command-loop): Rename parameter
7499 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7500
7501 * expand.el (expand-in-literal): Remove unused variable `here'.
7502
7503 * facemenu.el (facemenu-add-new-color):
7504 Remove unused variable `docstring'.
7505
7506 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7507 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7508 (face-attr-construct): Mark unused parameter. Doc fix.
7509 (read-color): Remove unused variable `hex-string'.
7510
7511 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7512 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7513 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7514 (display-buffer-other-frame): Remove unused variable `old-window'.
7515 (kill-buffer-hook): Declare.
7516 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7517 Mark unused parameters.
7518 (after-find-file): Pass 1 to `auto-save-mode', not t.
7519
7520 * files-x.el (auto-insert): Declare.
7521 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7522
7523 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7524 variable `buf'. Mark unused parameter.
06b60517
JB
7525 (find-lisp-insert-directory): Mark unused parameter.
7526
7527 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7528 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7529 (format-common-tail): Remove, unused.
7530 (format-deannotate-region): Remove unused variable `loc'.
7531 (format-annotate-region): Remove unused variable `p'.
7532 (format-annotate-single-property-change): Remove unused variables
7533 `default' and `tail'.
7534
7535 * forms.el (read-file-filter): Declare.
7536 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7537
7538 * frame.el (frame-creation-function-alist): Mark unused parameter.
7539 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7540
7541 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7542 Remove unused parameters.
7543 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7544 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7545
7546 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7547 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7548 (hfy-prepare-tag-map): Mark unused parameters.
7549 (htmlfontify-buffer): Use `called-interactively-p'.
7550
7551 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7552 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7553 (ibuffer-do-occur): Mark unused parameters.
7554 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7555 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7556
7557 * ibuffer.el: Don't quote `lambda'.
7558 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7559 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7560 Mark unused parameters.
7561
7562 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7563 (ido-completing-read): Mark unused parameters.
7564 (ido-copy-current-word): Mark unused parameters;
7565 remove unused variable `name'.
7566 (ido-sort-merged-list): Remove unused parameter `dirs'.
7567
7568 * ielm.el (ielm-input-sender): Mark unused parameter.
7569 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7570 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7571 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7572 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7573 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7574
7575 * image-dired.el (image-dired-display-thumbs): Remove unused
7576 variables `curr-file' and `count'.
7577 (image-dired-remove-tag): Remove unused variable `start'.
7578 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7579 variable `curr-file'
7580 (image-dired-rotate-original): Remove unused variable `temp-file'.
7581 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7582 Remove unused variable `file'.
7583 (image-dired-gallery-generate): Remove unused variable `curr'.
7584 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7585
7586 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7587
7588 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7589
7590 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7591
7592 * isearch.el (minibuffer-history-symbol): Declare.
7593 (isearch-edit-string): Remove unused variable `err'.
7594 (isearch-message-prefix, isearch-message-suffix):
7595 Mark unused parameters.
7596
7597 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7598
7599 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7600
7601 * makesum.el (double-column): Remove unused variable `cnt'.
7602
7603 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7604 (ido-ignore-item-temp-list): Declare.
7605
7606 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7607 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7608 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7609 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7610 `mouse-col-delta'.
7611
7612 * mouse-sel.el (mouse-extend-internal):
7613 Remove unused variable `orig-window-frame'.
7614
7615 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7616 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7617 Move declarations before first use.
7618 (pcomplete-opt): Mark unused parameters; doc fix.
7619
7620 * proced.el (proced-revert): Mark unused parameter.
7621 (proced-send-signal): Remove unused variable `err'.
7622
7623 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7624 Rename parameter PREFIX-ARG to ARG.
7625 (ps-basic-plot-string, ps-basic-plot-whitespace):
7626 Mark unused parameters.
7627
7628 * replace.el (replace-count): Define.
7629 (occur-revert-function): Mark unused parameters.
7630 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7631 (isearch-case-fold-search, isearch-string): Declare.
7632 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7633 bind `case-fold-search'. Remove unused variables `beg' and `end',
7634 and simplify.
7635 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7636 COUNT and bind `replace-count'.
7637 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7638 to COUNT.
7639
7640 * savehist.el (print-readably, print-string-length): Declare.
7641
7642 * shadowfile.el (shadow-expand-cluster-in-file-name):
7643 Remove unused variable `cluster'.
7644 (shadow-copy-file): Remove unused variable `i'.
7645 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7646 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7647 (shadow-define-literal-group, shadow-define-regexp-group)
7648 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7649
7650 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7651 (shell): Use `called-interactively-p'.
7652 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7653
7654 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7655 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7656 (delete-backward-char): Remove unused variable `ocol'.
7657 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7658 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7659 (event-apply-hyper-modifier, event-apply-shift-modifier)
7660 (event-apply-control-modifier, event-apply-meta-modifier):
7661 Mark unused parameters.
7662 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7663 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7664
7665 * speedbar.el (speedbar-ignored-directory-expressions)
7666 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7667 (speedbar-find-file, speedbar-dir-follow)
7668 (speedbar-directory-buttons-follow, speedbar-tag-find)
7669 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7670 (speedbar-buffers-line-directory, speedbar-buffer-click):
7671 Mark unused parameters.
7672 (speedbar-tag-file): Remove unused variable `mode'.
7673 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7674
7675 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7676
7677 * talk.el (talk): Remove unused variable `display'.
7678
7679 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7680 (tar-write-region-annotate): Mark unused parameter.
7681
7682 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7683 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7684 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7685 warning by another.
7686
7687 * time-stamp.el (time-stamp-string-preprocess):
7688 Remove unused variable `require-padding'.
7689
7690 * tree-widget.el (widget-glyph-enable): Declare.
7691 (tree-widget-action): Mark unused parameter.
7692
7693 * w32-fns.el (x-get-selection): Mark unused parameter.
7694 (autoload-make-program, generated-autoload-file): Declare.
7695
7696 * wdired.el (wdired-revert): Mark unused parameters.
7697 (wdired-xcase-word): Remove unused variable `err'.
7698
7699 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7700 (whitespace-help-scroll): Remove unused variable `data-help'.
7701
7702 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7703 (widget-image-insert, widget-after-change, default)
7704 (widget-default-format-handler, widget-default-notify)
7705 (widget-default-prompt-value, widget-info-link-action)
7706 (widget-url-link-action, widget-function-link-action)
7707 (widget-variable-link-action, widget-file-link-action)
7708 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7709 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7710 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7711 (widget-insert-button-action, widget-delete-button-action, visibility)
7712 (widget-documentation-link-action, widget-documentation-string-action)
7713 (widget-const-prompt-value, widget-regexp-match, symbol)
7714 (widget-coding-system-prompt-value)
7715 (widget-key-sequence-value-to-external, sexp)
7716 (widget-sexp-value-to-internal, character, vector, cons)
7717 (widget-choice-prompt-value, widget-boolean-prompt-value)
7718 (widget-color--choose-action): Mark unused parameters.
7719 (widget-item-match-inline, widget-choice-match-inline)
7720 (widget-checklist-match, widget-checklist-match-inline)
7721 (widget-group-match): Rename parameter VALUES to VALS.
7722 (widget-field-value-set): Remove unused variable `size'.
7723 (widget-color-action): Remove unused variables `value' and `start'.
7724
7725 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7726 variable `dir'. Doc fix.
06b60517
JB
7727 (windmove-find-other-window): Don't pass it.
7728
7729 * window.el (count-windows): Mark unused parameter.
7730 (bw-adjust-window): Remove unused variable `err'.
7731
7732 * woman.el (woman-file-name): Remove unused variable `default'.
7733 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7734 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7735 (global-font-lock-mode): Declare.
7736 (woman-decode-region): Mark unused parameter.
7737 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7738
7739 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7740 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7741 (x-dnd-handle-moz-url): Remove unused variable `title'.
7742 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7743
7744 * xml.el (xml-parse-tag, xml-parse-attlist):
7745 Remove unused variable `pos'.
7746
bc4f7f3d
GM
77472011-04-19 Glenn Morris <rgm@gnu.org>
7748
7749 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7750 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7751 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7752 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7753 * calendar/cal-html.el (cal-html-insert-minical):
7754 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7755 (calendar-mark-date-pattern):
7756 Prefix "unused" locals.
7757
7758 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7759 optional argument `style'.
7760
7761 * calendar/appt.el (appt-make-list):
7762 * calendar/cal-china.el (calendar-chinese-date-string):
7763 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7764 (diary-hebrew-yahrzeit):
7765 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7766 * calendar/calendar.el (calendar-generate-window):
7767 * calendar/time-date.el (time-to-days):
7768 Remove unused local variables.
7769
16a43933
CY
77702011-04-18 Chong Yidong <cyd@stupidchicken.com>
7771
7772 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7773 glyphless-char-display table.
7774 (tabulated-list-glyphless-char-display): New var.
7775
7eed1860
SS
77762011-04-18 Sam Steingold <sds@gnu.org>
7777
7778 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7779 to acknowledgments.
7780
4d2d1ccd
GM
77812011-04-17 Glenn Morris <rgm@gnu.org>
7782
7783 * calendar/diary-lib.el (diary-sexp-entry):
7784 * calendar/holidays.el (holiday-sexp):
7785 Set debug-on-error rather than the removed stack-trace-on-error.
7786
239da61d
GM
77872011-04-16 Glenn Morris <rgm@gnu.org>
7788
7789 * progmodes/f90.el: Use lexical-binding.
7790 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7791
8b05752a
SM
77922011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7793
daca8ba5
SM
7794 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7795 (mail-mode): Setup mailalias completion here instead.
7796 * mail/mailalias.el: Use lexical-binding.
7797 (pattern, mailalias-done): Declare dynamic.
7798 (mail-completion-at-point-function): New function, from mail-complete.
7799 (mail-complete): Use it.
7800 (mail-completion-expand): New function.
7801 (mail-get-names): Use it.
7802 (mail-directory, mail-directory-process, mail-directory-stream):
7803 Don't use `pattern' for lexically bound arg.
7804
6f542485
SM
7805 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7806
037e7c3f
SM
7807 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7808 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7809 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7810
8b05752a
SM
7811 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7812 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7813 (byte-interactive-p): Define them again, for use when inlining
7814 old code.
7815
49093f60
JB
78162011-04-15 Juanma Barranquero <lekktu@gmail.com>
7817
7818 * loadup.el: Use `string-to-number', not `string-to-int'.
7819
b5b8e7de
SM
78202011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7821
7822 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7823 gud-gdb-complete-command.
7824 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7825 (gud-gdb-completion-at-point): New function.
7826 (gud-gdb-completions): Remove.
7827
f42efeb5
MA
78282011-04-14 Michael Albinus <michael.albinus@gmx.de>
7829
49093f60
JB
7830 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7831 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7832 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7833 whether `executable-find' is bound.
f42efeb5
MA
7834
7835 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7836
e240cc21
SM
78372011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7838
7839 * minibuffer.el (completion-in-region-mode-predicate)
7840 (completion-in-region-mode--predicate): New vars.
7841 (completion-in-region, completion-in-region--postch)
7842 (completion-in-region-mode): Use them.
7843 (completion--capf-wrapper): Also return the hook function.
7844 (completion-at-point, completion-help-at-point):
7845 Adjust and provide a predicate.
c2bd2ab0
SM
7846
7847 Preserve arg names for advice of subr and lexical functions (bug#8457).
7848 * help-fns.el (help-function-arglist): Consolidate the subr and
7849 new-byte-code cases. Add argument `preserve-names' to extract names
7850 from the docstring when needed.
7851 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7852 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7853 (ad-arglist): Use help-function-arglist's new arg.
7854 (ad-definition-type): Use cond.
7855
c183f693
JB
78562011-04-13 Juanma Barranquero <lekktu@gmail.com>
7857
06641a47
JB
7858 * autorevert.el (auto-revert-handler):
7859 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7860 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7861 Don't quote lambda.
7862
c183f693
JB
7863 * image-mode.el (image-transform-set-scale):
7864 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7865
1e3b6001
G
78662011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7867
7868 * net/network-stream.el (network-stream-open-starttls): Only do
7869 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7870 Upgrades via gnutls-cli are too slow to be done opportunistically.
7871
2d6af8dd
JB
78722011-04-12 Juanma Barranquero <lekktu@gmail.com>
7873
7874 * dframe.el (dframe-current-frame): Remove spurious quote.
7875
c0749a51
GM
78762011-04-12 Glenn Morris <rgm@gnu.org>
7877
088d0d61
GM
7878 * calendar/cal-tex.el (cal-tex-end-document):
7879 Try to automatically use latin1 input if needed.
7880
c0749a51
GM
7881 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7882 Don't try to cons a mark onto an empty element.
7883
5c90fde0
LL
78842011-04-11 Leo Liu <sdl.web@gmail.com>
7885
7886 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7887 buffers.
7888 (ido-kill-buffer-at-head): Support killing virtual buffers.
7889
369e974d
CY
78902011-04-10 Chong Yidong <cyd@stupidchicken.com>
7891
7892 * minibuffer.el (completion-show-inline-help): New var.
7893 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7894 (minibuffer-force-complete, minibuffer-complete-word):
7895 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7896
7897 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7898 to avoid interference from inline help (Bug#5849).
7899
37f1c930
LL
79002011-04-10 Leo Liu <sdl.web@gmail.com>
7901
099c39a4
JB
7902 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7903 Fix typo.
37f1c930 7904
a32d4040
CY
79052011-04-09 Chong Yidong <cyd@stupidchicken.com>
7906
7907 * image-mode.el (image-toggle-display-image): Signal an error if
7908 not in Image mode.
7909 (image-transform-mode, image-transform-resize)
7910 (image-transform-set-rotation): Doc fix.
daca8ba5 7911 (image-transform-set-resize): Delete.
a32d4040
CY
7912 (image-transform-set-scale, image-transform-fit-to-height)
7913 (image-transform-fit-to-width): Handle image-toggle-display-image
7914 and image-transform-resize directly.
7915
099c39a4 79162011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7917
7918 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7919 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7920 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7921 (doc-view-mode-map): Add bindings for the new functions.
7922
099c39a4 79232011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7924
4d61f28d 7925 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7926 Fix typo in docstring.
7927
3726838a
EZ
79282011-04-08 Eli Zaretskii <eliz@gnu.org>
7929
04f33f1e
EZ
7930 * files.el (file-size-human-readable): Produce one digit after
7931 decimal, like "ls -lh" does.
7932
7933 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7934 the file size representation.
7935
3726838a
EZ
7936 * simple.el (list-processes): If async subprocesses are not
7937 available, error out with a clear error message.
7938
cbb59342
CY
79392011-04-08 Chong Yidong <cyd@stupidchicken.com>
7940
7941 * help.el (help-form-show): New function, to be called from C.
7942 Put help-form output in a buffer named differently than *Help*.
7943
e3971c44
EZ
79442011-04-08 Eli Zaretskii <eliz@gnu.org>
7945
7946 * files.el (file-size-human-readable): New function.
7947
7948 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7949 computing the representation inline. Don't require `cl'.
7950
12544bbe
GM
79512011-04-08 Glenn Morris <rgm@gnu.org>
7952
a1de6c6a
GM
7953 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7954
3c4671f4
GM
7955 * net/browse-url.el (browse-url-firefox):
7956 Test system-type, not system-configuration.
7957
b605679c
GM
7958 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7959 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7960 Use log-edit-empty-buffer-p. (Bug#7598)
7961
56442f0c
GM
7962 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7963 (rlogin-mode-map): Initialize in the defvar.
7964 (rlogin): Use ignore-errors.
7965
12544bbe
GM
7966 * replace.el (occur-mode-map): Some fixes for menu items.
7967
eb237b0f
AH
79682011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7969
7970 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7971
7d668f2c
CY
79722011-04-06 Chong Yidong <cyd@stupidchicken.com>
7973
e67a13ab
CY
7974 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7975 issuing unused warnings.
7976
7977 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7978 macro directly.
7979
7d668f2c
CY
7980 * simple.el: Lisp reimplement of list-processes. Based on an
7981 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7982 (process-menu-mode): New major mode.
7983 (list-processes--refresh, list-processes):
7984 (process-menu-visit-buffer): New functions.
7985
7986 * files.el (save-buffers-kill-emacs): Don't assume any return
7987 value of list-processes, which is undocumented anyway.
7988
a83ec3c9
CY
79892011-04-06 Chong Yidong <cyd@stupidchicken.com>
7990
7991 * emacs-lisp/tabulated-list.el: New file.
7992
e91a96fe
CY
7993 * emacs-lisp/package.el: Use Tabulated List mode.
7994 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7995 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7996 table format using Tabulated List mode variables.
7997 (package--push): New macro, replacing package-list-maybe-add.
7998 (package-menu--generate): Use package--push. Renamed from
7999 package--generate-package-list.
8000 (package-menu-refresh, list-packages): Use it.
daca8ba5 8001 (package-menu--print-info): Rename from package-print-package.
e91a96fe 8002 Return insertion data instead of inserting it directly.
099c39a4
JB
8003 (package-menu-describe-package, package-menu-execute):
8004 Use tabulated-list-get-id.
e91a96fe
CY
8005 (package-menu-mark-delete, package-menu-mark-install)
8006 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
8007 (package-menu-mark-obsolete-for-deletion):
8008 Use tabulated-list-put-tag.
e91a96fe
CY
8009 (package--list-packages, package-menu-revert)
8010 (package-menu-get-package, package-menu-get-version)
8011 (package-menu-sort-by-column): Functions deleted.
8012 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8013 (package-menu--status-predicate, package-menu--version-predicate)
8014 (package-menu--name-predicate)
8015 (package-menu--description-predicate): Handle arguments in the
8016 Tabulated List format.
8017 (package-list-packages-no-fetch): Call list-packages.
8018
3e214b50
JB
80192011-04-06 Juanma Barranquero <lekktu@gmail.com>
8020
8021 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 8022 (after-find-file): Don't bind it.
3e214b50
JB
8023 (revert-buffer-in-progress-p): New variable.
8024 (revert-buffer): Bind it.
8025 Pass nil for `after-find-file-from-revert-buffer'.
8026
8027 * saveplace.el (save-place-find-file-hook): Use new variable
8028 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8029
3f0f1700
GM
80302011-04-06 Glenn Morris <rgm@gnu.org>
8031
c0274801
GM
8032 * Makefile.in (AUTOGEN_VCS): New variable.
8033 (autoloads): Use $AUTOGEN_VCS.
8034
3f0f1700
GM
8035 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8036 * calendar/calendar.el (calendar-mode-map):
8037 Check for toolkit scroll bars. (Bug#8305)
8038
41ea9e48
CY
80392011-04-05 Chong Yidong <cyd@stupidchicken.com>
8040
8041 * minibuffer.el (completion-in-region--postch)
8042 (completion-in-region-mode): Remove unnecessary messages.
8043
6194c800
JB
80442011-04-05 Juanma Barranquero <lekktu@gmail.com>
8045
33256f14
JB
8046 * font-lock.el (font-lock-refresh-defaults):
8047 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8048 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8049
6194c800
JB
8050 * info.el (Info-directory-list, Info-read-node-name-2)
8051 (Info-split-parameter-string): Doc fixes.
8052 (Info-virtual-nodes): Reflow docstring.
8053 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8054 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8055 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8056 Fix typos in docstrings.
8057 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8058 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8059 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8060 (Info-restore-desktop-buffer): Mark unused parameters.
8061 (Info-directory-find-file, Info-directory-find-node)
8062 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8063 (Info-virtual-index-find-node, Info-apropos-find-file)
8064 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 8065 Mark unused parameters; fix typos in docstrings.
6194c800
JB
8066 (Info-virtual-index): Remove unused local variable `nodename'.
8067
b87a8200 80682011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 8069
b87a8200
DD
8070 * net/rcirc.el: Update my e-mail address.
8071 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 8072
3b2ff876
CY
80732011-04-05 Chong Yidong <cyd@stupidchicken.com>
8074
8075 * startup.el (command-line): Save the cursor's theme-face
8076 directly, instead of using face-override-spec.
8077
8078 * custom.el (load-theme): Minor optimization in assigning faces.
8079
8d17e7ca
JB
80802011-04-04 Juanma Barranquero <lekktu@gmail.com>
8081
8082 * help-fns.el (describe-variable): Complete all variables having
8083 documentation, including keywords.
8084 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8085
2fbc1934
JB
80862011-04-04 Juanma Barranquero <lekktu@gmail.com>
8087
8088 Convert to lexical-binding.
8089
8090 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8091 (bs--get-marked-string, bs--get-modified-string)
8092 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8093 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8094 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8095
8096 * ehelp.el (electric-help-execute-extended)
8097 (electric-help-ctrl-x-prefix):
8098 * hexl.el (hexl-revert-buffer-function):
8099 * linum.el (linum-after-change, linum-after-scroll):
8100 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8101
8102 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8103
74f50695
DU
81042011-04-04 Daiki Ueno <ueno@unixuser.org>
8105
8106 * epa-dired.el:
8107 * epa-mail.el:
8108 * epa-hook.el:
8109 * epa-file.el:
8110 * epa.el:
8111 * epg.el: Use lexical binding.
8112
c11325f7
CY
81132011-04-03 Chong Yidong <cyd@stupidchicken.com>
8114
0d9e9a12
CY
8115 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8116
c11325f7 8117 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
8118 dictionary case for flyspell-mark-duplications-exceptions.
8119 Use regexp matching for languages.
c11325f7
CY
8120 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8121 default dictionary (Bug#7926).
8122
da91b5f2
CY
81232011-04-02 Chong Yidong <cyd@stupidchicken.com>
8124
099c39a4
JB
8125 * emacs-lisp/package.el (package--with-work-buffer):
8126 Recognize https URLs.
da91b5f2 8127
099c39a4
JB
8128 * net/network-stream.el: Move from gnus/proto-stream.el.
8129 Change prefix to network-stream throughout.
da91b5f2
CY
8130 (open-protocol-stream): Merge into open-network-stream, leaving
8131 open-protocol-stream as an alias. Handle nil BUFFER args.
8132
8133 * subr.el (open-network-stream): Move to net/network-stream.el.
8134
afa8e9f6
GM
81352011-04-02 Glenn Morris <rgm@gnu.org>
8136
1d2e369d
GM
8137 * find-dired.el (find-exec-terminator): New option.
8138 (find-ls-option): Test for -ls support.
8139 (find-ls-subdir-switches): Test for -b in find-ls-option.
8140 (find-dired, find-grep-dired): Doc fixes.
8141 (find-dired): Use find-exec-terminator.
8142
8abb7da8 8143 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
8144 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8145 (find-name-arg): Remove purecopy.
8abb7da8 8146
f3ca7378
GM
8147 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8148 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8149 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8150 accordingly. Don't add the null-device if not needed.
8151
afa8e9f6
GM
8152 * files.el (save-some-buffers): Doc fix.
8153
35eae264
EZ
81542011-04-02 Eli Zaretskii <eliz@gnu.org>
8155
8156 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8157
26b51db5
JB
81582011-04-01 Juanma Barranquero <lekktu@gmail.com>
8159
8160 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8161 Use `dolist' rather than `mapcar'.
8162
7200d79c
SM
81632011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8164
03408648 8165 Add lexical binding.
7200d79c 8166
03408648
SM
8167 * subr.el (apply-partially): Use new closures rather than CL.
8168 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8169 (dolist, dotimes): Use slightly different expansion for lexical code.
8170 (functionp): Move to C.
8171 (letrec): New macro.
8172 (with-wrapper-hook): Use it and apply-partially instead of CL.
8173 (eval-after-load): Preserve lexical-binding.
8174 (save-window-excursion, with-output-to-temp-buffer): Turn them
8175 into macros.
7200d79c 8176
03408648
SM
8177 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8178
8179 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8180 than the arglist.
8181 (help-add-fundoc-usage): Don't add `Not documented'.
8182 (help-function-arglist): Handle closures, subroutines, and new
8183 byte-code-functions.
8184 (help-make-usage): Remove leading underscores.
8185 (describe-function-1): Handle closures.
8186 (describe-variable): Use special-variable-p for completion.
8187
8188 * files.el (lexical-binding): Declare safe.
f488fb65 8189
03408648
SM
8190 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8191 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8192 (pcase): Add `let' pattern.
8193 Change memoization so it actually works.
8194 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8195 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8196 <let>: New case.
f488fb65 8197
03408648
SM
8198 * emacs-lisp/macroexp.el: Use lexical binding.
8199 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8200 Don't convert ' to #' without checking that it's indeed quoting
8201 a lambda.
8202
8203 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 8204 Use eval-sexp-add-defvars.
03408648
SM
8205 (eval-sexp-add-defvars): New fun.
8206
8207 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8208
8209 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8210 Don't autoload.
8211 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8212 than the internal `byte-compile-lambda'.
8213 (defmethod): Don't hide code under quotes.
8214 (eieio-defmethod): New `code' argument.
8215
8216 * emacs-lisp/eieio-comp.el: Remove.
8217
8218 * emacs-lisp/edebug.el (edebug-eval-defun)
8219 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8220 (edebug-toggle): Avoid `eval'.
8221
8222 * emacs-lisp/disass.el (disassemble-internal): Handle new
8223 `closure' objects.
8224 (disassemble-1): Handle new byte codes.
8225
8226 * emacs-lisp/cl.el (pushnew): Silence warning.
8227
8228 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8229 (cl-byte-compile-throw): Remove.
8230 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8231
8232 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8233 closures.
8234
8235 * emacs-lisp/cconv.el: New file.
8236
8237 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8238 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8239 (byte-compile-initial-macro-environment):
8240 Handle declare-function here.
8241 (byte-compile--lexical-environment): New var.
8242 (byte-stack-ref, byte-stack-set, byte-discardN)
8243 (byte-discardN-preserve-tos): New lap codes.
8244 (byte-interactive-p): Don't use any more.
8245 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8246 New macros.
8247 (byte-compile-lapcode): Use them and handle new lap codes.
8248 (byte-compile-obsolete): Remove.
8249 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8250 (byte-compile-arglist-warn): Check late def of inlinable funs.
8251 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8252 since they should have been expanded by now.
8253 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8254 (byte-compile-from-buffer): Remove unused second arg.
8255 (byte-compile-preprocess): New function.
8256 (byte-compile-toplevel-file-form): New function to distinguish
8257 file-form calls from outside from file-form calls from hunk-handlers.
8258 (byte-compile-file-form): Simplify.
8259 (byte-compile-file-form-defsubst): Remove.
8260 (byte-compile-file-form-defmumble): Simplify now that
8261 byte-compile-lambda always returns a byte-code-function.
8262 (byte-compile): Preprocess.
8263 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8264 Remove, not used any more.
8265 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8266 (byte-compile-make-args-desc): New funs.
8267 (byte-compile-lambda): Handle lexical functions. Always return
8268 a byte-code-function.
8269 (byte-compile-reserved-constants): New var, to make up room for
8270 closed-over variables.
8271 (byte-compile-constants-vector): Obey it.
8272 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8273 (byte-compile-macroexpand-declare-function): New function.
8274 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8275 byte-code-functions.
8276 (byte-compile-form): Check obsolescence here.
8277 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8278 (byte-compile-variable-ref): Remove.
8279 (byte-compile-dynamic-variable-op): New fun.
8280 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8281 (byte-compile-variable-set): New funs.
8282 (byte-compile-discard): Add 2 args.
8283 (byte-compile-stack-ref, byte-compile-stack-set)
8284 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8285 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8286 macroexpand-all instead.
8287 (byte-compile-quote-form): Remove.
8288 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8289 (byte-compile-bind, byte-compile-unbind): New funs.
8290 (byte-compile-let): Handle let* and lexical binding.
8291 (byte-compile-let*): Remove.
8292 (byte-compile-catch, byte-compile-unwind-protect)
8293 (byte-compile-track-mouse, byte-compile-condition-case):
8294 Handle a new :fun-body form, used for lexical scoping.
8295 (byte-compile-save-window-excursion)
8296 (byte-compile-with-output-to-temp-buffer): Remove.
8297 (byte-compile-defun): Simplify.
8298 (byte-compile-stack-adjustment): New fun.
8299 (byte-compile-out): Use it.
8300 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8301
8302 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8303 handler any more.
8304
8305 * emacs-lisp/byte-opt.el: Use lexical binding.
8306 (byte-inline-lapcode): Remove (to bytecomp).
8307 (byte-compile-inline-expand): Pay attention to inlining to/from
8308 lexically bound code.
8309 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8310 any more.
8311 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8312 any more and don't call compiler-macros.
8313 (byte-compile-splice-in-already-compiled-code): Remove.
8314 (byte-code): Don't inline any more.
8315 (disassemble-offset): Receive `bytes' as argument rather than via
8316 dynamic scoping.
8317 (byte-compile-tag-number): Declare before first use.
8318 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8319 `return' even if make-spliceable.
8320 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8321 obsolete interactive-p.
8322 (byte-optimize-lapcode): Optimize new lap-codes.
8323 Don't trip up on new form of `byte-constant' lap code.
8324
8325 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8326
8327 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8328
8329 * custom.el (custom-initialize-default, custom-declare-variable):
8330 Use `defvar'.
8331
8332 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8333 New variables.
8334 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8335 (COMPILE_FIRST): Add macroexp and cconv.
8336 * makefile.w32-in: Mirror changes in Makefile.in.
8337
8338 * vc/cvs-status.el:
8339 * vc/diff-mode.el:
8340 * vc/log-edit.el:
8341 * vc/log-view.el:
8342 * vc/smerge-mode.el:
8343 * textmodes/bibtex-style.el:
8344 * textmodes/css.el:
8345 * startup.el:
8346 * uniquify.el:
da91b5f2
CY
8347 * minibuffer.el:
8348 * newcomment.el:
8349 * reveal.el:
8350 * server.el:
8351 * mpc.el:
8352 * emacs-lisp/smie.el:
8353 * doc-view.el:
8354 * dired.el:
03408648
SM
8355 * abbrev.el: Use lexical binding.
8356
0f0c1f27
EZ
83572011-04-01 Eli Zaretskii <eliz@gnu.org>
8358
8359 * info.el (info-display-manual): New function.
8360
c82b2579
SM
83612011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8362
8363 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8364
221ddf68
TH
83652011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8366
8367 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 8368 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 8369
cba6e77e
GM
83702011-03-31 Glenn Morris <rgm@gnu.org>
8371
e040639f
GM
8372 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8373
cba6e77e
GM
8374 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8375
6d0f1c9e
CS
83762011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8377
8378 * progmodes/python.el (python-default-interpreter)
8379 (python-python-command-args, python-jython-command-args)
8380 (python-which-shell, python-which-args, python-which-bufname)
8381 (python-file-queue, python-comint-output-filter-function)
8382 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8383 variables and functions.
8384
3e2d70fd
SM
83852011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8388 (completion-in-region-mode): New minor mode.
8389 (completion-in-region): Use it.
8390 (completion-in-region--data, completion-in-region-mode-map): New vars.
8391 (completion-in-region--postch): New function.
8392 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8393 New vars.
8394 (completion--capf-wrapper): New function.
8395 (completion-at-point): Use it to track well-behavedness of
8396 hook functions.
8397 (completion-help-at-point): New command.
8398
f3e4086c
JM
83992011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8400
8401 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8402 syntax class to search for whitespace on a single line
8403 (Message-ID: <4D938140.4030905@redhat.com>).
8404
eb7ffc14
LL
84052011-03-30 Leo Liu <sdl.web@gmail.com>
8406
8407 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8408 New commands.
8409 (edit-abbrevs-map): Bind them here.
8410 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8411
d806ab68
KM
84122011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8413
8414 * allout.el (allout-hide-by-annotation, allout-flag-region):
8415 Reduce possibility of overlay leakage by making them volatile.
8416
8417 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8418 hash is not shared between buffers. Mode initialization is
8419 responsible for giving it a useful starting value.
8420 (allout-item-span): Reduce possibility of overlay leakage by
8421 making them volatile.
8422 (allout-widgets-count-buttons-in-region): Add diagnostic function
8423 for tracking down button overlay leaks.
8424
ea622834
LL
84252011-03-29 Leo Liu <sdl.web@gmail.com>
8426
8427 * ido.el (ido-read-internal): Use the default history var
8428 minibuffer-history if no HISTORY is specified.
8429
b62f8267
G
84302011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8431
03408648
SM
8432 * net/imap.el (imap-shell-open, imap-process-connection-type):
8433 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8434 Kerberos, SSL, other subprocesses.
8435
947b6566
LL
84362011-03-28 Leo Liu <sdl.web@gmail.com>
8437
8438 * abbrev.el (abbrev-table-empty-p): New function.
8439 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8440 nonempty ones. (Bug#5937)
8441
5ffb62aa
JD
84422011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8443
8444 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8445
7a097943
LL
84462011-03-27 Leo Liu <sdl.web@gmail.com>
8447
8448 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8449 for foreground and background colors.
8450 (ansi-color-make-color-map): Adapt.
8451
c5b40130
LL
84522011-03-25 Leo Liu <sdl.web@gmail.com>
8453
1f48f7d2
LL
8454 * midnight.el (midnight-time-float): Remove. Note it calculates
8455 the microsecond component incorrectly and seconds-to-time does the
8456 same job.
625897ec 8457 Remove redundant (require 'timer).
1f48f7d2 8458
c5b40130
LL
8459 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8460 (ido-completions): Remove unused arguments. (Bug#8329)
8461
d86d2721
SM
84622011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8463
8464 * minibuffer.el (completion--flush-all-sorted-completions):
8465 Remove itself from hook.
8466 (completion-at-point): Let the functions perform the completion
8467 immediately and return nil or t.
8468 * comint.el (comint-dynamic-complete-functions): Now identical to
8469 completion-at-point-functions.
8470 (comint-dynamic-list-input-ring): Remove unused var `index'.
8471 (comint--match-partial-filename, comint--unquote&expand-filename):
8472 New funs, split from comint-match-partial-filename.
8473 (comint-dynamic-complete): Use completion-at-point.
8474 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8475
e8974c48
DA
84762011-03-24 Drew Adams <drew.adams@oracle.com>
8477
8478 * thingatpt.el: Support `defun'.
8479
def71b5e
LL
84802011-03-23 Leo Liu <sdl.web@gmail.com>
8481
cb5af48e
LL
8482 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8483
def71b5e
LL
8484 * help-mode.el (help-mode-finish): Tweak regexp.
8485
927c53e7
GM
84862011-03-23 Glenn Morris <rgm@gnu.org>
8487
18d05bed
GM
8488 * eshell/esh-opt.el (eshell-eval-using-options):
8489 Do not bind unused local variable `eshell-option-stub'.
8490
927c53e7
GM
8491 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8492
9d0da923
JB
84932011-03-22 Juanma Barranquero <lekktu@gmail.com>
8494
8495 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8496 keymap variable in `with-no-warnings' to avoid a warning when the
8497 keymap has been already `defconst'ed.
8498
4b978a67
LL
84992011-03-22 Leo Liu <sdl.web@gmail.com>
8500
8501 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8502 encode all chars in abbrevs; otherwise use emacs-mule or
8503 utf-8-emacs. (Bug#8308)
8504
5fd62452
JB
85052011-03-22 Juanma Barranquero <lekktu@gmail.com>
8506
0b1596c6
JB
8507 * simple.el (backward-delete-char-untabify):
8508 Avoid warning about using `delete-backward-char'.
8509
5fd62452
JB
8510 * image.el (image-type-file-name-regexps): Make it variable.
8511 `imagemagick-register-types' modifies it, and the user may want
8512 to add new extensions for known image types.
8513 (imagemagick-register-types): Throw error if not using ImageMagick.
8514
0b4e93f1
LL
85152011-03-22 Leo Liu <sdl.web@gmail.com>
8516
8517 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8518 located before rcirc-prompt-end-marker.
8519 (rcirc-complete): Error if point is not after rcirc prompt.
8520 Handle the case when table is nil.
9882e214 8521 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8522
fccee4ab
CY
85232011-03-22 Chong Yidong <cyd@stupidchicken.com>
8524
8525 * custom.el (custom--inhibit-theme-enable): Make it affect only
8526 custom-theme-set-variables and custom-theme-set-faces.
8527 (provide-theme): Ignore custom--inhibit-theme-enable.
8528 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8529 (custom-enabling-themes): Delete variable.
d86d2721
SM
8530 (enable-theme): Accept only loaded themes as arguments.
8531 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8532 (custom-enabled-themes): Forbid themes from setting this.
8533 Eliminate use of custom-enabling-themes.
8534 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8535
af896da6
LL
85362011-03-21 Leo Liu <sdl.web@gmail.com>
8537
8538 * ido.el (ido-read-internal): Add ido-selected to history instead
8539 of user input.
8540
78f64af0
SM
85412011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8542
8543 * subr.el (deferred-action-list, deferred-action-function):
8544 Mark obsolete.
8545
b16ac1ec
LL
85462011-03-21 Leo Liu <sdl.web@gmail.com>
8547
810f7698
LL
8548 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8549 change on 2011-02-13 (bug#8309).
8550
b16ac1ec
LL
8551 * minibuffer.el (read-file-name-function): Change default value.
8552 (read-file-name--defaults): Rename from read-file-name-defaults.
8553 (read-file-name-default): Rename from read-file-name.
8554 (read-file-name): Call read-file-name-function.
8555
4e05e67e
GM
85562011-03-21 Glenn Morris <rgm@gnu.org>
8557
8558 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8559 Doc fixes.
8560
4359915b
CY
85612011-03-21 Chong Yidong <cyd@stupidchicken.com>
8562
8563 * cus-theme.el: Add missing provide statement.
8564 (customize-create-theme): Extract theme value correctly.
8565 (custom-theme-visit-theme): Autoload.
8566 (customize-create-theme): Prompt before inserting default faces.
8567
1fe275ee
JB
85682011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8569
8570 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8571 units and musical notes.
8572
3ec03f7e
LL
85732011-03-20 Leo <sdl.web@gmail.com>
8574
8575 * ido.el (ido-read-internal): Use completing-read-default.
8576 (ido-completing-read): Fix compatibility with completing-read.
8577
7d476bde
CO
85782011-03-20 Christian Ohler <ohler@gnu.org>
8579
8580 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8581 (ert-delete-all-tests): Use `called-interactively-p' rather than
8582 `interactive-p'.
8583 (ert--make-xrefs-region): Respect END.
8584
fe0fb33e
CY
85852011-03-19 Chong Yidong <cyd@stupidchicken.com>
8586
ff854b0b
CY
8587 * dired-aux.el (dired-create-directory): Signal an error if the
8588 directory already exists (Bug#8246).
8589
fe0fb33e
CY
8590 * facemenu.el (list-colors-display): Call list-faces-display
8591 inside with-help-window.
8592 (list-colors-print): Use display property to align the final
8593 column, instead of checking window-width.
8594
576bce32
EZ
85952011-03-19 Eli Zaretskii <eliz@gnu.org>
8596
4d61f28d 8597 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8598 windows-nt systems.
8599 (emerge-protect-metachars): Quote correctly for ms-dos and
8600 windows-nt systems.
8601
89c41d68 86022011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8603
8604 * info.el (info-initialize): Replace all uses of `:' with
8605 path-separator for compatibility with non-Unix systems.
8606 Cache quoting of path-separator. (Bug#8258)
8607
b14e3e21 86082011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8609
8610 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8611 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8612 (mouse-avoidance-mode): Fix typos in docstrings.
8613
4525ce3e
CY
86142011-03-19 Chong Yidong <cyd@stupidchicken.com>
8615
8616 * startup.el (package-subdirectory-regexp): Move from package.el.
8617 Omit \\` and \\', and let callers add them.
8618
8619 * emacs-lisp/package.el (package-strip-version)
8620 (package-load-all-descriptors): Add \\` and \\' to
8621 package-subdirectory-regexp before using it.
8622 (package-untar-buffer): New arg DIR; ensure that file untars only
8623 into this expected directory. Remove superfluous delete-region.
8624 (package-unpack): Caller changed.
8625 (package-tar-file-info): Use package-subdirectory-regexp.
8626
a904a09a 86272011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8628
a904a09a
SM
8629 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8630 diff-mode-shared-map (bug#8284).
8631 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8632
86332011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8634
8635 * calendar/time-date.el (format-seconds): Use assoc instead of
8636 assoc-string, since assoc-string doesn't exist in XEmacs.
8637
171fc304
JB
86382011-03-17 Juanma Barranquero <lekktu@gmail.com>
8639
8640 * custom.el (custom-known-themes): Reflow docstring.
8641 (custom-theme-load-path): Fix typo in docstring.
8642 (load-theme): Fix typo in error message.
8643 (custom-available-themes, custom-variable-theme-value):
8644 Use `let', not `let*'.
8645
d71990a1
JB
86462011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8647
8648 * calc/README: Mention inclusion of musical notes.
8649
8650 * calc/calc-units.el (calc-lu-quant): Rename from
8651 `calc-logunits-quantity'.
8652 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8653 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8654 (calc-db): Rename from `calc-dblevel'.
8655 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8656 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8657 (calc-np): Rename from `calc-nplevel'.
8658 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8659 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8660 (calc-lu-plus): Rename from `calc-logunits-add'.
8661 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8662 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8663 (calc-lu-minus): Rename from `calc-logunits-sub'.
8664 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8665 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8666 (calc-lu-times): Rename from `calc-logunits-mul'.
8667 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8668 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8669 (calc-lu-divide): Rename from `calc-logunits-div'.
8670 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8671 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8672
8673 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8674 functions being autoloaded.
8675
8676 * calc/calc.el (calc-lu-power-reference): Rename from
8677 `calc-logunits-power-reference'.
8678 (calc-lu-field-reference): Rename from
8679 `calc-logunits-field-reference'.
8680
8681 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8682
40c2934b
SM
86832011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8684
8685 * minibuffer.el (completion-all-sorted-completions):
8686 Use :completion-cycle-penalty text property if present.
8687
b0911414
KM
86882011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8689
8690 * allout.el (allout-yank-processing): Adjust for new rebulleting
8691 regime so bullet being yanked is used without prompting the user
8692 for a choice.
8693
8a05b668
JB
86942011-03-16 Juanma Barranquero <lekktu@gmail.com>
8695
8696 * startup.el (command-line): Warn the user that _emacs is deprecated.
8697
5ba5fb81
JB
86982011-03-16 Juanma Barranquero <lekktu@gmail.com>
8699
8700 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8701 (delphi-verbose, delphi-comment-face, delphi-string-face)
8702 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8703 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8704 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8705 (delphi-new-comment-line, delphi-font-lock-defaults)
8706 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8707 Fix typos in docstrings.
8708
2dab465b
KM
87092011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8710
5ba5fb81 8711 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8712 Invert the roles of character and string values for INSTEAD, so a
8713 string is used for the more common case of a defaulting prompt.
8714
0adf5618
SM
87152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8716
8717 * progmodes/ruby-mode.el (ruby-backward-sexp):
8718 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8719 * play/gamegrid.el (gamegrid-make-face):
8720 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8721 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8722 * notifications.el (notifications-notify):
8723 * net/xesam.el (xesam-search-engines):
8724 * net/quickurl.el (quickurl-list-insert):
8725 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8726
d72700e5
CY
87272011-03-15 Chong Yidong <cyd@stupidchicken.com>
8728
8729 * startup.el (command-line): Update package subdirectory regexp.
8730
49c5410a
SM
87312011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8732
c6eee9aa
SM
8733 * allout.el (allout-abbreviate-flattened-numbering)
8734 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8735
49c5410a
SM
8736 * subr.el (read-char-choice): Only show the cursor after the prompt,
8737 not after the answer.
8738
047b2bb9
KR
87392011-03-15 Kevin Ryde <user42@zip.com.au>
8740
8741 * help-fns.el (variable-at-point): Skip leading quotes, if any
8742 (bug#8253).
8743
0a57d256
SM
87442011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8745
8746 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8747 warning message.
8748
77c992bc
MA
87492011-03-14 Michael Albinus <michael.albinus@gmx.de>
8750
8751 * shell.el (shell): When called interactively, offer to change the
8752 shell file name on remote hosts.
8753
eebc475d
TZ
87542011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8755
8756 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8757 integration for LDAP parameters. The host, base, user or binddn,
8758 and secret tokens can be specified in a netrc file, for instance.
8759 This is optional because an `auth-source' parameter must be
8760 specified in the search attributes.
8761
9d05d1ba
JB
87622011-03-13 Juanma Barranquero <lekktu@gmail.com>
8763
8764 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8765
09d9db2c
GM
87662011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8767
8768 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8769 into declaration. Remove redundant and harmful binding.
8770
87712011-03-12 Eli Zaretskii <eliz@gnu.org>
8772
8773 * files.el (file-ownership-preserved-p): Pass `integer' as an
8774 explicit 2nd argument to `file-attributes'. If the file's owner
8775 is the Administrators group on Windows, and the current user is
8776 Administrator, consider that a match.
8777
8778 * server.el (server-ensure-safe-dir): Consider server directory
8779 safe on MS-Windows if its owner is the Administrators group while
8780 the current Emacs user is Administrator. Use `=' to compare
8781 numerical UIDs, since they could be integers or floats.
8782
219bd536
JB
87832011-03-12 Juanma Barranquero <lekktu@gmail.com>
8784
8785 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8786
f3afd36b
MA
87872011-03-12 Michael Albinus <michael.albinus@gmx.de>
8788
8789 Sync with Tramp 2.2.1.
8790
8791 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8792
8793 * net/trampver.el: Update release number.
8794
3aaaa6f1
SM
87952011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8796
94642599
SM
8797 * progmodes/compile.el (compilation--previous-directory): Fix up
8798 various nil/dead-marker mismatches (bug#8014).
8799 (compilation-directory-properties, compilation-error-properties):
8800 Don't call it at a position past the one we're about to change.
8801
3aaaa6f1
SM
8802 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8803 Disable obsolescence warnings in the file that declares it.
8804
14239447
KM
88052011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8806
099c39a4
JB
8807 * allout-widgets.el (allout-widgets-tally):
8808 Initialize allout-widgets-tally as a hash table rather than nil to
8809 prevent mode-line redisplay warnings. Also, clarify the module
8810 description and fix a comment typo.
14239447 8811
135e287c
JB
88122011-03-11 Juanma Barranquero <lekktu@gmail.com>
8813
8814 * help-fns.el (describe-variable): Don't complete keywords.
8815 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8816
ffbf300e
CY
88172011-03-10 Chong Yidong <cyd@stupidchicken.com>
8818
ba08b241
CY
8819 * emacs-lisp/package.el (package-version-join): Impose a standard
8820 string representation for pre/alpha/beta version lists.
8821 (package-unpack-single): Standardize the directory name by passing
8822 it through package-version-join.
8823 (package-strip-rcs-id): Accept any version string that does not
8824 signal an error in version-to-list.
ffbf300e 8825
f346fd6b
MA
88262011-03-10 Michael Albinus <michael.albinus@gmx.de>
8827
8828 * simple.el (delete-trailing-whitespace): Return nil for the
8829 benefit of `write-file-functions'.
8830
ccb55d27
GM
88312011-03-10 Glenn Morris <rgm@gnu.org>
8832
5ceaac0c
GM
8833 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8834
02da65ff
GM
8835 * vc/vc-git.el (vc-git-program): New option.
8836 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8837 (vc-git--call): Use it.
8838
b2f603cc
GM
8839 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8840
5772caab
GM
8841 * cus-edit.el (Custom-newline): If no button at point, look
8842 for a subgroup button at start-of-line. (Bug#2298)
8843
ccb55d27
GM
8844 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8845
ec6ecaed
JD
88462011-03-10 Julien Danjou <julien@danjou.info>
8847
8848 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8849 `cursor-type' is nil.
8850
9d5aa01d
JB
88512011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8852
8853 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8854
b6a5875b
KM
88552011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8856
8857 * allout.el Summary: Change so yank of distinctive-bullet items
8858 preserves the existing header prefix, rebulleting it if necessary,
8859 rather than replacing it. This is necessary for proper operation
8860 of cooperative addons like allout-widgets.
219bd536 8861 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8862 SOLICIT arg to INSTEAD, and interpret additionally a string value
8863 as alternate bullet to be used, instead of prompting the user for
8864 a bullet character.
8865
ee545c35
MA
88662011-03-09 Michael Albinus <michael.albinus@gmx.de>
8867
d86d2721
SM
8868 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8869 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8870 `tramp-default-port'.
8871
c47971d7
DD
88722011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8873
8874 * net/rcirc.el (rcirc-handler-001): Remove useless
8875 with-rcirc-process-buffer.
8876 (rcirc-check-auth-status): Swap arguments to string-match.
8877
13522cb4
GM
88782011-03-09 Glenn Morris <rgm@gnu.org>
8879
0be6f4f1
GM
8880 * shell.el (shell-mode):
8881 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8882
13522cb4
GM
8883 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8884 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8885
515de2e3
CY
88862011-03-08 Chong Yidong <cyd@stupidchicken.com>
8887
8888 * emacs-lisp/package.el (package-refresh-contents)
8889 (package-menu-execute): Use condition-case-no-debug.
8890
b511b994
MA
88912011-03-08 Michael Albinus <michael.albinus@gmx.de>
8892
8893 * simple.el (shell-command-to-string): Use `process-file'.
8894
8895 * emacs-lisp/package.el (package-tar-file-info): Handle also
8896 remote files.
8897
d86d2721
SM
8898 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8899 Use `equal' for upload base check.
b511b994 8900
25bbfb31
AM
89012011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8902
8903 * textmodes/texinfo.el (texinfo-environments):
8904 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8905
be996521
GM
89062011-03-08 Glenn Morris <rgm@gnu.org>
8907
e9c8529f
GM
8908 * cus-start.el (cursor-in-non-selected-windows):
8909 Fix :set quoting oddness. (Bug#8192)
8910
be996521
GM
8911 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8912 in some setf expressions. (Bug#2159)
8913
2bb5649e
CY
89142011-03-08 Chong Yidong <cyd@stupidchicken.com>
8915
8916 * custom.el (custom-available-themes): Return themes in
8917 alphabetical order.
8918
33383987 8919See ChangeLog.15 for earlier changes.
e3d51b27
MR
8920
8921;; Local Variables:
8922;; coding: utf-8
e3d51b27
MR
8923;; End:
8924
33383987 8925 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8926
8927 This file is part of GNU Emacs.
8928
8929 GNU Emacs is free software: you can redistribute it and/or modify
8930 it under the terms of the GNU General Public License as published by
8931 the Free Software Foundation, either version 3 of the License, or
8932 (at your option) any later version.
8933
8934 GNU Emacs is distributed in the hope that it will be useful,
8935 but WITHOUT ANY WARRANTY; without even the implied warranty of
8936 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8937 GNU General Public License for more details.
8938
8939 You should have received a copy of the GNU General Public License
8940 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.