(wait_reading_process_output): Add comment and URL.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f04a3be9
SM
12011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4
7978747f
SM
52011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6
f04a3be9
SM
7 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8 Use force-same-window.
7978747f 9
fe7a3057
JB
102011-11-20 Juanma Barranquero <lekktu@gmail.com>
11
12 * descr-text.el (describe-char-unicode-data):
13 * json.el (json-string-escape):
14 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15 (Footnote-unicode, Footnote-style-p):
16 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17
24901d61
CY
182011-11-20 Chong Yidong <cyd@gnu.org>
19
20 * window.el (replace-buffer-in-windows): Restore interactive spec.
21
bac7ff22
SM
222011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
23
24f3d7b9
SM
24 * electric.el (electric-indent-mode): Fix last change (too optimistic).
25
bac7ff22
SM
26 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
27 (byte-compile-global-not-obsolete-vars): New var.
28 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
29 Use it.
30 (byte-compile-warn-obsolete): Align text with the one in *Help*.
31
cd1181db
JB
322011-11-20 Juanma Barranquero <lekktu@gmail.com>
33
34 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
35 * progmodes/pascal.el (electric-pascal-equal):
36 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
37 * xml.el (xml-substitute-special): Fix typos.
38
7fb18e9e
GM
392011-11-20 Glenn Morris <rgm@gnu.org>
40
41 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
42 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
43 Doc fixes.
44 (rmail-decode-mime-charset): Mark as obsolete.
45
46 * mail/rmailsum.el (rmail-message-regexp-p-1):
47 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
48 Before using mime functions, check they are set. (Bug#10077)
49
d5a6b3ba
JL
502011-11-19 Juri Linkov <juri@jurta.org>
51
52 * info.el (Info-finder-find-node): Use `package--builtins' instead
53 of `package-alist'. Use node names formed by the pattern "Keyword "
54 and the keyword name.
55
e981b61f
AS
562011-11-19 Andreas Schwab <schwab@linux-m68k.org>
57
58 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
59 bash.
60
3ffbc301
JL
612011-11-19 Juri Linkov <juri@jurta.org>
62
63 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
64 that calls `revert-buffer' on all Info buffers. (Bug#9915)
65 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
66 `old-history', `old-history-forward'. Add let-binding
67 `window-selected'. Remove calls to `kill-buffer',
68 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
69 before calling `Info-find-node', so `Info-find-node-2' will reread
70 the Info file. Restore window positions only when `window-selected'
71 is non-nil.
72
30c62133
JL
732011-11-19 Juri Linkov <juri@jurta.org>
74
75 * isearch.el (isearch-lazy-highlight-new-loop):
76 Remove condition `(not isearch-error)'. (Bug#9918)
77
78 * misearch.el (multi-isearch-search-fun): Add condition
79 `(not bound)' to ignore lazy-highlighting search.
80 Add the search-failed message "end of multi" when the end of
81 multi-sequence is reached. Uncapitalize the search-failed
82 message "Repeat for next buffer".
83
84 * info.el (Info-search): Add the search-failed message
85 "end of the manual" when the end of the manual is reached
86 in Isearch mode.
87
645ca9cf
JL
882011-11-19 Juri Linkov <juri@jurta.org>
89
90 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
91 Use non-destructive `remove' instead of `delete' because
92 `Info-history-list' stored to `Info-isearch-initial-history-list' in
93 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
94
df754f66
JL
952011-11-19 Juri Linkov <juri@jurta.org>
96
97 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
98 to nil instead of binding `search-ring' and `regexp-search-ring'.
99 (Bug#9185)
100
0e23d96a
EZ
1012011-11-19 Eli Zaretskii <eliz@gnu.org>
102
103 * simple.el (line-move): Force movement by logical lines for any
104 hscrolled window, not only when auto-hscroll-mode is on.
105 (line-move-visual): Update doc string to that effect. (Bug#10076)
106
8a6ccb66
AS
1072011-11-19 Andreas Schwab <schwab@linux-m68k.org>
108
109 * language/european.el (macintosh): Define as alias for mac-roman.
110
49ae5b39
EZ
1112011-11-19 Eli Zaretskii <eliz@gnu.org>
112
113 * mail/rmailmm.el (rmail-mime-display-header)
114 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
115 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
116 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
117 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
118 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
119 of a raw aref.
120 (rmail-mime-entity-segment): To get past the tagline, move forward
121 2 more lines, to account for the 2 empty lines that precede and
122 follow the line with the buttons.
123 (rmail-mime-update-tagline): Move one more line, to get past the
124 empty line that follows the buttons in the tagline. (Bug#9520)
125
c56cad4a
MR
1262011-11-19 Martin Rudalics <rudalics@gmx.at>
127
128 * window.el (window-max-delta-1, window-min-delta-1)
129 (window-min-size-1, window-state-get-1, window-state-put-1)
130 (window-state-put-2): Use "window--" prefix.
131
cbe71af3
SM
1322011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
133
2ad52c60
SM
134 * emacs-lisp/smie.el: Improve warnings and conflict detection.
135 (smie-warning-count): New var.
136 (smie-set-prec2tab): Use it.
137 (smie-bnf->prec2): Improve warnings. Add docstring.
138 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
139 (smie-bnf--set-class): New function.
140 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
141 corner case.
142
6944dbc1
SM
143 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
144 (compilation-error-properties, compilation-move-to-column):
145 Handle compilation-first-column while in the target buffer.
146
c400c4d7
SM
147 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
148 Don't hardcode point-min==1.
149
6dbe3e96
SM
150 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
151 (eshell-rewrite-for-command): Remove workaround.
152 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
153 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
154 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
155
cbe71af3
SM
156 * files-x.el (modify-file-local-variable): Obey commenting conventions.
157
a8e1496d
GM
1582011-11-17 Glenn Morris <rgm@gnu.org>
159
160 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
161 Ignore buffer-local generated-autoload-file if it is the same
162 as the global value. (Bug#10049)
163
df85d315
JB
1642011-11-17 Juanma Barranquero <lekktu@gmail.com>
165
166 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
167 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
168 (reftex-toc-previous-heading, reftex-toc-max-level)
169 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
170 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
171 (reftex-toc-do-promote, reftex-toc-promote-prepare)
172 (reftex-toc-promote-action, reftex-toc-extract-section-number)
173 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
174 (reftex-toc-rename-label, reftex-toc-visit-location)
175 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
176 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
177 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
178 leaving "*toc*" only for references to the buffer.
179
a0c2d0ae
MR
1802011-11-17 Martin Rudalics <rudalics@gmx.at>
181
182 * window.el (window-resize, delete-window, split-window):
183 Replace window-splits by window-combination-resize.
184 * cus-start.el (window-splits): Replace by
185 window-combination-resize.
186
35c0bac8
GM
1872011-11-17 Glenn Morris <rgm@gnu.org>
188
189 * progmodes/sh-script.el (sh-font-lock-keywords-var):
190 Make bash entry derive from sh entry, not shell entry.
191
d0c8fc8a
MA
1922011-11-16 Michael Albinus <michael.albinus@gmx.de>
193
194 * net/tramp.el (tramp-handle-file-truename): Cache only the local
195 file name.
196
197 * net/tramp-cache.el (tramp-flush-file-property): Flush also
198 properties of linked files. (Bug#9879)
199
7877f373
JB
2002011-11-16 Juanma Barranquero <lekktu@gmail.com>
201
202 * menu-bar.el (menu-bar-file-menu):
203 * printing.el (pr-ps-utility):
204 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
205 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
206 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
207 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
208 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
209 (icalendar--convert-cyclic-to-ical)
210 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
211 (icalendar--convert-ical-to-diary)
212 (icalendar--convert-recurring-to-diary)
213 (icalendar--convert-non-recurring-all-day-to-diary)
214 (icalendar-import-format-sample):
215 * progmodes/idlw-shell.el (idlwave-shell-mode):
216 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
217 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
218 (vhdl-ps-print-init): Fix typos.
219
10649b82
KM
2202011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
221
9d0cfcd6
GM
222 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
223 FSF and collapse date sequence, obscure author/maintainer email address
224 better, remove extra version line, track relocation of author's webpage.
10649b82 225
9d0cfcd6
GM
226 * progmodes/python.el (python-pdbtrack-input-prompt)
227 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
228 regular python pdb prompts. Adjustments shamelessly taken exactly as
229 suggested in EmacsWiki page (tiny change):
230 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 231
58179cce
JB
2322011-11-16 Juanma Barranquero <lekktu@gmail.com>
233
234 * expand.el (expand-pos, expand-index, expand-point):
235 Remove redundant info from docstring.
236 (expand-add-abbrevs): Doc fix.
237 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
238 (expand-sample-perl-mode-expand-list): Fix typos.
239
240 * net/dbus.el (dbus-event-member-name):
241 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
242 * term/pc-win.el (msdos-create-frame-with-faces):
243 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
244
b6f67890
MR
2452011-11-16 Martin Rudalics <rudalics@gmx.at>
246
247 * window.el (split-window, window-state-get-1)
248 (window-state-put-1, window-state-put-2): Rename occurrences of
249 window-nest to window-combination-limit.
250 * cus-start.el (window-nest): Rename to
251 window-combination-limit.
252
ce7ddba0
CY
2532011-11-16 Chong Yidong <cyd@gnu.org>
254
255 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
256 regexp (Bug#10033).
257
3ae704f4
SM
2582011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
261 `completing-read' will remove *Completions* and will preserve
262 current-buffer for us.
263 (tmm-add-prompt): Users of *Completions* will always (re)set its
264 major mode.
265 (tmm-old-comp-map): Remove.
266
6ad1cdde
GM
2672011-11-16 Glenn Morris <rgm@gnu.org>
268
269 * mail/rmailedit.el: Require rmailmm when compiling.
270 (rmail-old-mime-state): New declaration.
271 (rmail-edit-current-message): If editing a mime message,
272 edit the "raw" message from the mbox buffer.
273 (rmail-cease-edit): Handle mime messages. (Bug#9840)
274
d20faa20
GM
2752011-11-15 Glenn Morris <rgm@gnu.org>
276
277 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
278 which wasn't being used. Add optional arg to force given state.
279 (rmail-mime): Add optional arg to force given state.
280
c7015153
JB
2812011-11-15 Juanma Barranquero <lekktu@gmail.com>
282
283 * allout.el (allout-encryption-plaintext-sanitization-regexps):
284 * frame.el (display-mm-dimensions-alist):
285 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
286 (outline-move-subtree-down):
287 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
288 (newsticker--treeview-do-get-node):
289 * net/quickurl.el (quickurl-list-buffer-name):
290 * progmodes/dcl-mode.el (dcl-mode):
291 * progmodes/gdb-mi.el (gdb-mapcar*):
292 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
293
45261b50
GM
2942011-11-15 Glenn Morris <rgm@gnu.org>
295
296 * mail/rmail.el (rmail-file-coding-system): It's only ever used
297 in a boolean sense, so just make it a boolean, and fix the doc.
298 (rmail-show-mime-function, rmail-mime-feature)
299 (rmail-require-mime-maybe): Doc fixes.
300 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
301
302 * mail/rmailmm.el (rmail-show-mime): Doc fix.
303
0d26e0b6
JB
3042011-11-15 Juanma Barranquero <lekktu@gmail.com>
305
306 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
307 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
308 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
309 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
310
447f30f6
GM
3112011-11-15 Glenn Morris <rgm@gnu.org>
312
672b871d
GM
313 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
314 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
315 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
316 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
317 (rmail-mime, rmail-show-mime): Doc fixes.
318
f6aa5bb1
GM
319 * term/ns-win.el (mode-line-frame-identification):
320 Leave it alone. (Bug#10051)
321
947cd66b
GM
322 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
323
447f30f6
GM
324 * mail/rmailout.el (rmail-output-to-rmail-buffer):
325 Handle empty buffers. (Bug#9978)
326
0b381c7e
JB
3272011-11-14 Juanma Barranquero <lekktu@gmail.com>
328
329 * international/mule.el (define-charset):
330 * mail/rmailmm.el (rmail-mime-find-header-encoding):
331 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
332 * progmodes/verilog-mode.el (verilog-backward-token):
333 * textmodes/ispell.el (lookup-words):
334 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
335
71e027ac
GM
3362011-11-14 Glenn Morris <rgm@gnu.org>
337
56632ce4
GM
338 * progmodes/executable.el
339 (executable-make-buffer-file-executable-if-script-p):
340 Handle file-modes returning nil.
341
40500957
GM
342 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
343 message - not necessary, and causes problems. (Bug#9831)
344
071c2340
GM
345 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
346
d3cfca60
GM
347 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
348
71e027ac
GM
349 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
350 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
351 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
352
89d61221
MR
3532011-11-12 Martin Rudalics <rudalics@gmx.at>
354
355 * window.el (window-resize, delete-window): Use window-splits
356 variable instead of function.
357 (window-state-get-1, window-state-put-2, window-state-put):
358 Don't deal with windows' splits status.
359
98282f6f
GM
3602011-11-12 Glenn Morris <rgm@gnu.org>
361
362 * apropos.el (apropos-do-all, apropos-library, apropos-value)
363 (apropos-documentation): Doc fixes.
364
40a8bdf6
JB
3652011-11-11 Juanma Barranquero <lekktu@gmail.com>
366
367 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
368 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
369
65bd19ff
SM
3702011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
371
372 * electric.el (electric-indent-post-self-insert-function): Make it
373 possible for a char to only indent in some circumstances.
374 (electric-indent-mode): Simplify.
375
54f9154c
MR
3762011-11-11 Martin Rudalics <rudalics@gmx.at>
377
378 * window.el (windows-with-parameter): Remove unused function.
379 (windows-at-side): Rename to window-at-side-list.
380 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
381 (window-side-check, window-size-ignore, window-size-fixed-1)
382 (window-in-direction-2): Prefix with "window--".
383 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 384
68cbc58b
GM
3852011-11-11 Glenn Morris <rgm@gnu.org>
386
387 * subr.el (eval-after-load): If FILE is already loaded,
388 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
389
b2621720
GM
3902011-11-10 Glenn Morris <rgm@gnu.org>
391
9a4de110
GM
392 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
393 Call svn via vc-svn-command rather than vc-do-command.
394 (vc-svn-command): Add --non-interactive. (Bug#9993)
395 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
396
b2621720
GM
397 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
398 Add toggle-read-only. (Bug#7292)
399 * files.el (toggle-read-only): Mention that it should only
400 be used interactively. (Bug#10006)
401
1dce7193
SM
4022011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
403
d9ac1a1e
SM
404 * progmodes/compile.el (compilation-error-regexp-alist-alist):
405 Adjust regexp for OCaml warnings.
406
0c325082
SM
407 * electric.el (electric-pair-post-self-insert-function): Let user
408 turn it off buffer-locally (bug#9932).
409
90132c14
SM
410 * progmodes/python.el (python-beginning-of-statement):
411 Rewrite (bug#2703).
412
1dce7193
SM
413 * progmodes/compile.el: Better handle TABs (bug#9749).
414 (compilation-internal-error-properties)
415 (compilation-next-error-function): Obey the target buffer's
416 compilation-error-screen-columns.
417
c4e7c63a
JB
4182011-11-09 Juanma Barranquero <lekktu@gmail.com>
419
420 * progmodes/meta-mode.el: Remove obsolete comments.
421 (meta-right-comment-regexp, meta-ignore-comment-regexp):
422 Fix typos in docstrings.
423
2cffd681
MR
4242011-11-09 Martin Rudalics <rudalics@gmx.at>
425
426 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 427 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
428 (window--resizable): New function. Make all callers of
429 window-resizable call window--resizable instead.
430 (window-resizable): Rewrite in terms of window--resizable.
431
0edcba87
GM
4322011-11-08 Glenn Morris <rgm@gnu.org>
433
434 * progmodes/delphi.el (delphi-mode-syntax-table):
435 Let define-derived-mode define a proper syntax table. (Bug#9994)
436
4b0d61e3
SM
4372011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
438
439 * window.el: Stay away from defsubst.
440 (window-list-no-nils): Remove.
441 (window-state-get-1, window-state-get): Use backquote instead.
442
fcbcac2e 4432011-11-08 thierry <thierry.volpiatto@gmail.com>
444
4b0d61e3 445 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 446 Fix incorrect use of default argument in `completing-read'.
447
e1c2c6f2
MR
4482011-11-08 Martin Rudalics <rudalics@gmx.at>
449
450 * window.el (display-buffer-function, special-display-function):
451 Mention display-buffer-record-window but do not mention
452 help-setup parameter in doc-strings.
b3f4a882 453 (window-min-delta): Fix doc-string typo.
e1c2c6f2 454
105216ed
CY
4552011-11-08 Chong Yidong <cyd@gnu.org>
456
457 * window.el (window-total-height, window-total-width): Doc fix.
458 (window-body-size): Move from C.
459 (window-body-height, window-body-width): Move to C.
460
0a9f9ab5
SM
4612011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * window.el: Make special-display like display-buffer-alist (bug#9532).
464 (display-buffer--special-action): New function, morphed
465 from display-buffer--special.
466 (display-buffer): Use it to handle special-display-buffers at higher
467 priority (just after display-buffer-alist).
468 (display-buffer-fallback-action, display-buffer--other-frame-action)
469 (pop-to-buffer-same-window): Remove display-buffer--special.
470
a769dd15
GM
4712011-11-07 Glenn Morris <rgm@gnu.org>
472
473 * calendar/cal-menu.el (cal-menu-set-date-title):
474 Do nothing if not in a calendar. (Bug#9976)
475
05a61ee3
SM
4762011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * files.el (find-file): Always use selected-window.
479
be7f5545
MR
4802011-11-07 Martin Rudalics <rudalics@gmx.at>
481
482 * window.el (window-combinations): Make WINDOW argument
483 mandatory. Rewrite doc-string.
484 (walk-window-subtree, window-atom-check, window-min-delta)
485 (window-max-delta, window--resize-this-window)
486 (window--resize-root-window-vertically, window-tree)
487 (balance-windows, window-state-put): Rewrite doc-strings as to
488 not mention the term "subwindow".
489 (window--resize-subwindows-skip-p): Rename to
490 window--resize-child-windows-skip-p.
491 (window--resize-subwindows-normal): Rename to
492 window--resize-child-windows-normal.
493 (window--resize-subwindows): Rename to
494 window--resize-child-windows.
495 (window-or-subwindow-p): Rename to window--in-subtree-p.
496
3c6702ef
ML
4972011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
498
499 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
500 Ensure that mbox format messages end in two newlines (Bug#9974).
501
49745b39
CY
5022011-11-06 Chong Yidong <cyd@gnu.org>
503
504 * window.el (window-combination-p): Function deleted; its
505 side-effect is not used in any existing code.
506 (window-combinations, window-combined-p): Call window-*-child
507 directly.
508
24300f5f
CY
5092011-11-05 Chong Yidong <cyd@gnu.org>
510
511 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
512 (window-size-ignore, window-state-get): Callers changed.
513 (window-normalize-window): Rename from window-normalize-any-window.
514 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 515 (window-normalize-live-window): Delete.
447f16b8
CY
516 (window-combination-p, window-combined-p, window-combinations)
517 (walk-window-subtree, window-atom-root, window-min-size)
518 (window-sizable, window-sizable-p, window-size-fixed-p)
519 (window-min-delta, window-max-delta, window-resizable)
520 (window-resizable-p, window-full-height-p, window-full-width-p)
521 (window-current-scroll-bars, window-point-1, set-window-point-1)
522 (window-at-side-p, window-in-direction, window-resize)
523 (adjust-window-trailing-edge, maximize-window, minimize-window)
524 (window-deletable-p, delete-window, delete-other-windows)
525 (record-window-buffer, unrecord-window-buffer)
526 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
527 (quit-window, split-window, window-state-put)
528 (set-window-text-height, fit-window-to-buffer)
529 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 530
89bd5ee1
EZ
5312011-11-04 Eli Zaretskii <eliz@gnu.org>
532
53479029
EZ
533 * mail/rmail.el (rmail-simplified-subject): Decode subject with
534 rfc2047-decode-string.
535 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
536 warnings.
537
89bd5ee1
EZ
538 * window.el (window-body-height, window-body-width): Mention in
539 the doc string that the return values are in frame's canonical
540 units. (Bug#9949)
541
bd17fdee
AM
5422011-11-03 Alan Mackenzie <acm@muc.de>
543
544 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
545 change in cc-engine.el.
546
acc825c5
SM
5472011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * window.el (switch-to-buffer): Use `force-same-window' interactively.
550
1885e5b8
MR
5512011-11-02 Martin Rudalics <rudalics@gmx.at>
552
553 * window.el (quit-window): Call unrecord-window-buffer after
554 showing another buffer in the window. (Bug#9937)
acc825c5 555 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 556
ebe06da9
JB
5572011-11-02 Juanma Barranquero <lekktu@gmail.com>
558
559 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
560 Accept status with more than 9 shelves. (Bug#9935)
561 Reported by Colin D Bennett <colin@gibibit.com>.
562
4ee88440
MR
5632011-11-01 Martin Rudalics <rudalics@gmx.at>
564
565 * help.el (with-help-window): Don't reference
566 temp-buffer-show-specifiers in doc-string.
567
08e1d82c
AS
5682011-10-31 Andreas Schwab <schwab@linux-m68k.org>
569
570 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
571 menu-item.
572
84bd6e9e
VJL
5732011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
574
575 * whitespace.el: New version 13.2.2.
576 (whitespace-newline-mode): Disable properly. Reported by Sarah
577 <EmacsWiki>.
578
dba0634a
UJ
5792011-10-30 Ulf Jasper <ulf.jasper@web.de>
580
581 * net/newst-treeview.el: Remove "Time-stamp".
582 (newsticker--group-manage-orphan-feeds): Do not call
583 newsticker--treeview-tree-update.
db22a3c2
JB
584 (newsticker-treeview-update, newsticker-treeview):
585 Call newsticker--treeview-tree-update if necessary.
dba0634a 586
3d8daefe
MR
5872011-10-30 Martin Rudalics <rudalics@gmx.at>
588
589 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
590 (window-iso-combinations): Remove "iso-" infix.
591 Suggested by Chong Yidong.
3d8daefe
MR
592 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
593 (window-max-delta-1, window-resize, window--resize-siblings)
594 (window--resize-this-window, adjust-window-trailing-edge)
595 (split-window, balance-windows-1)
596 (shrink-window-if-larger-than-buffer):
597 * calendar/calendar.el (calendar-generate-window):
db22a3c2 598 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 599
1bc4c3ae
SM
6002011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
601
602 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
603 in place (bug#9907).
604 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
605 (eshell-rewrite-if-command, eshell-rewrite-for-command)
606 (eshell-structure-basic-command, eshell-rewrite-while-command)
607 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
608 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
609 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
610 (eshell-do-pipelines-synchronously, eshell-eval-command):
611 Use backquotes and prefer setq to set.
612 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
613 (eshell-macrop): Use functionp.
c1e2f5fa 614 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 615
30b65d9c
CY
6162011-10-30 Chong Yidong <cyd@gnu.org>
617
618 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
619 instead of set-mark (Bug#9810).
620
2d197ffb
CY
6212011-10-30 Chong Yidong <cyd@gnu.org>
622
623 * window.el (split-window-below, split-window-right): Rename from
624 split-window-above-each-other and split-window-side-by-side
625 respectively. All callers changed.
626 (split-window-sensibly, split-window-sensibly): Use them.
627 (split-window-keep-point): Doc fix.
628
629 * isearch.el: Add isearch-scroll property to split-window-below
630 and split-window-right.
631
632 * follow.el (follow-mode):
633 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
634 * progmodes/ada-xref.el (ada-gdb-application):
635 * emulation/vip.el (vip-buffer-in-two-windows):
636 * image-dired.el (image-dired-dired-with-window-configuration):
637 * dired-x.el (dired-do-find-marked-files):
638 * dired.el (dired-pop-to-buffer):
639 * bs.el (bs--show-with-configuration):
640 * vc/emerge.el (emerge-setup-windows):
641 * textmodes/two-column.el (2C-two-columns):
642 * textmodes/reftex-toc.el (reftex-toc):
643 * progmodes/gdb-mi.el (gdb-setup-windows):
644 * progmodes/fortran.el (fortran-window-create):
645 * net/newst-treeview.el (newsticker--treeview-window-init):
646 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
647 * emulation/tpu-edt.el (tpu-gold-map):
648 * emulation/crisp.el (crisp-mode-map):
649 * calendar/calendar.el (calendar-basic-setup): Callers changed.
650
38bb2ca8
CY
6512011-10-29 Chong Yidong <cyd@gnu.org>
652
aa4de341
CY
653 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
654
e1eb5385
CY
655 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
656
5d2ece3c
CY
657 * textmodes/flyspell.el (flyspell-word): Fix char offset for
658 forged Ispell output (Bug#7904).
659
38bb2ca8
CY
660 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
661
d0af9f77
SM
6622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
663
664 * doc-view.el: Avoid ugly errors about not finding nil.
665 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
666 (doc-view-dvipdf-program, doc-view-unoconv-program)
667 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
668 Avoid nil or absolute file name as default value.
669 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
670
52bedd34
AM
6712011-10-28 Alan Mackenzie <acm@muc.de>
672
db22a3c2 673 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 674
7e43cfa5
AM
6752011-10-28 Alan Mackenzie <acm@muc.de>
676
677 Amend the handling of c-beginning/end-of-defun in nested declaration
678 scopes.
679
52bedd34
AM
680 * progmodes/cc-vars.el (c-defun-tactic): Move here from
681 cc-langs.el. Change it to a defcustom.
7e43cfa5 682
52bedd34
AM
683 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
684 cc-vars.el.
7e43cfa5 685
d0af9f77
SM
686 * progmodes/cc-engine.el (c-beginning-of-statement-1):
687 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 688
52bedd34 689 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 690 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
691 (c-widen-to-enclosing-decl-scope): New function.
692 (c-while-widening-to-decl-block): New macro.
693 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
694 outward for defun boundaries, and correspondingly change symbol
695 `respect-enclosure' to `go-outward'.
696 (c-declaration-limits): Change algorithm to report only the "innermost"
697 defun's boundaries.
698
1a2ce9ee
DD
6992011-10-28 Deniz Dogan <deniz@dogan.se>
700
701 * net/rcirc.el (rcirc-mode): Use hard newlines.
702
bc97a826
AM
7032011-10-28 Alan Mackenzie <acm@muc.de>
704
705 Amend to indent and fontify macros "which include their own semicolon"
706 correctly, using the "virtual semicolon" mechanism.
707
52bedd34 708 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 709
d0af9f77 710 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 711 Recode to scan one line at a time rather than having \n and \r
58179cce 712 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 713 (c-forward-label): Amend for virtual semicolons.
58179cce 714 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 715
52bedd34
AM
716 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
717 of the new C macros.
bc97a826 718
52bedd34 719 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
720 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
721 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
722 (c-opt-cpp-macro-define): Make into a full language variable.
723 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
724 AWK Mode (including \n, \r) removed, no longer needed.
725
d0af9f77
SM
726 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
727 Invoke c-make-macro-with-semi-re.
bc97a826 728
52bedd34
AM
729 * progmodes/cc-vars.el (c-macro-with-semi-re):
730 (c-macro-names-with-semicolon): New variables.
58179cce 731 (c-make-macro-with-semi-re): New function.
bc97a826 732
7a6c0941
SM
7332011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
734
735 * vc/log-edit.el: Fill empty field rather than adding new one.
736 (log-edit-add-field): New function.
737 (log-edit-insert-changelog): Use it.
738
b0c4cdcf
ML
7392011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
740
741 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
742
ee1f1da9
SM
7432011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
744
745 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
746 (gdb--check-interpreter): New function.
747 (gdb): Use it.
748
51bc5f8b
GM
7492011-10-27 Glenn Morris <rgm@gnu.org>
750
416a2c45
GM
751 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
752 (least-positive-float, least-negative-float)
753 (least-positive-normalized-float, least-negative-normalized-float)
754 (float-epsilon, float-negative-epsilon):
755 Remove unnecessary declarations.
756
757 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
758 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
759 (least-positive-float, least-negative-float)
760 (least-positive-normalized-float, least-negative-normalized-float)
761 (float-epsilon, float-negative-epsilon): Add doc-strings,
762 based on those in cl.texi.
763
51bc5f8b
GM
764 * files.el (set-visited-file-name): If the major-mode changed,
765 reload the local variables. (Bug#9796)
766
15de15c6
CY
7672011-10-27 Chong Yidong <cyd@gnu.org>
768
769 * subr.el (change-major-mode-after-body-hook): New hook.
770 (run-mode-hooks): Run it.
771
ee1f1da9
SM
772 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
773 Use change-major-mode-before-body-hook.
15de15c6
CY
774
775 * simple.el (fundamental-mode):
776 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
777 change introducing fundamental-mode-hook.
778
5430d399
JB
7792011-10-26 Juanma Barranquero <lekktu@gmail.com>
780
acc825c5 781 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 782
ad74a69e
MA
7832011-10-26 Michael Albinus <michael.albinus@gmx.de>
784
785 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 786 tramp.el explicitly. (Bug#7583)
ad74a69e 787
71d4c2a5
SM
7882011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * progmodes/octave-mod.el:
791 * progmodes/octave-inf.el: Update maintainer.
792
b1f6fa26
CY
7932011-10-26 Chong Yidong <cyd@gnu.org>
794
795 * subr.el (with-wrapper-hook): Rewrite doc.
796
3f04efd6
MA
7972011-10-25 Michael Albinus <michael.albinus@gmx.de>
798
799 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 800 filenames "/method:foo:". (Bug#9793)
3f04efd6 801
410488d3
SM
8022011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
805 (bug#9865).
806
c1ebb47e
GM
8072011-10-24 Glenn Morris <rgm@gnu.org>
808
809 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
810
7f5c46c7
MA
8112011-10-24 Michael Albinus <michael.albinus@gmx.de>
812
813 * notifications.el: Add the requirement of a running D-Bus session
814 bus to the Commentary.
815
db2440b6
JL
8162011-10-24 Juri Linkov <juri@jurta.org>
817
818 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
819 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
820 (Bug#9364)
821
feecf435
JL
8222011-10-24 Juri Linkov <juri@jurta.org>
823
824 * info.el (Info-following-node-name-re): Add newline to the list
825 of allowed characters for leading space. (Bug#9824)
826
a3839de2
SM
8272011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
828
acc825c5
SM
829 * progmodes/octave-inf.el (inferior-octave-mode-map):
830 Fix C-c C-h binding.
a3839de2
SM
831 * progmodes/octave-mod.el (octave-help): Remove.
832
09388e76
MA
8332011-10-23 Michael Albinus <michael.albinus@gmx.de>
834
835 Sync with Tramp 2.2.3.
836
837 * net/tramp-cache.el (top): Pacify byte-compiler using
838 `init-file-user' and `site-run-file'.
839
840 * net/trampver.el: Update release number.
841
86c60681
CY
8422011-10-23 Chong Yidong <cyd@gnu.org>
843
844 * files.el (toggle-read-only): Remove obsolete comment about
845 version control.
846
847 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
848 for toggle-read-only. Note that this hasn't called vc-next-action
849 since 2008-05-02, though it wasn't documented at the time.
850
a3839de2
SM
851 * vc/ediff-init.el (ediff-toggle-read-only-function):
852 Use toggle-read-only.
86c60681 853
cd5495ff
AM
8542011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
855
856 Fix bug #9560, sporadic wrong indentation; improve instrumentation
857 of c-parse-state.
858
00b77525 859 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 860 correct faulty logical expression.
cd5495ff
AM
861 (c-parse-state-state, c-record-parse-state-state):
862 (c-replay-parse-state-state): New defvar/defuns.
863 (c-debug-parse-state): Use new functions.
864
42ee24ed
MR
8652011-10-22 Martin Rudalics <rudalics@gmx.at>
866
867 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 868 last fix. Use window-in-direction correctly.
42ee24ed 869
a7dee7e7
CY
8702011-10-21 Chong Yidong <cyd@gnu.org>
871
872 * progmodes/idlwave.el (idlwave-mode):
873 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
874 require-final-newline; that's done in prog-mode.
875 Suggested by Stefan Monnier.
a7dee7e7 876
e07b9a6d
MR
8772011-10-21 Martin Rudalics <rudalics@gmx.at>
878
879 * mouse.el (mouse-drag-window-above)
880 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
881 (mouse-drag-mode-line-1, mouse-drag-header-line)
882 (mouse-drag-vertical-line-rightward-window): Remove.
883 (mouse-drag-line): New function.
884 (mouse-drag-mode-line, mouse-drag-header-line)
885 (mouse-drag-vertical-line): Call mouse-drag-line.
886 * window.el (window-at-side-p, windows-at-side): New functions.
887
7e1361d9
UM
8882011-10-21 Ulrich Mueller <ulm@gentoo.org>
889
890 * tar-mode.el (tar-grind-file-mode):
891 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
892
30fcaf3a
CY
8932011-10-21 Chong Yidong <cyd@gnu.org>
894
895 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
896 * progmodes/vera-mode.el (vera-mode):
897 Use mode-require-final-newline.
30fcaf3a 898
516eddb0
GM
8992011-10-20 Glenn Morris <rgm@gnu.org>
900
db22a3c2 901 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 902
10d5f513
CS
9032011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
904
905 * emulation/cua-base.el (cua-set-mark): Fix case of string.
906
ac6c8639
CY
9072011-10-20 Chong Yidong <cyd@gnu.org>
908
909 * emulation/cua-base.el (cua-mode):
910 * mail/footnote.el (footnote-mode):
911 * mail/mailabbrev.el (mail-abbrevs-mode):
912 * net/xesam.el (xesam-minor-mode):
913 * progmodes/bug-reference.el (bug-reference-mode):
914 * progmodes/cap-words.el (capitalized-words-mode):
915 * progmodes/compile.el (compilation-minor-mode)
916 (compilation-shell-minor-mode):
917 * progmodes/gud.el (gud-tooltip-mode):
918 * progmodes/hideif.el (hide-ifdef-mode):
919 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
920 * progmodes/subword.el (subword-mode):
921 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
922 * progmodes/which-func.el (which-function-mode):
923 * term/tvi970.el (tvi970-set-keypad-mode):
924 * term/vt100.el (vt100-wide-mode):
925 * textmodes/flyspell.el (flyspell-mode):
926 * textmodes/ispell.el (ispell-minor-mode):
927 * textmodes/nroff-mode.el (nroff-electric-mode):
928 * textmodes/paragraphs.el (use-hard-newlines):
929 * textmodes/refill.el (refill-mode):
930 * textmodes/reftex.el (reftex-mode):
931 * textmodes/rst.el (rst-minor-mode):
932 * textmodes/sgml-mode.el (html-autoview-mode)
933 (sgml-electric-tag-pair-mode):
934 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
935 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
936 * emulation/crisp.el (crisp-mode):
937 * emacs-lisp/eldoc.el (eldoc-mode):
938 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
939 minor mode behavior.
940
aa42ab43
JL
9412011-10-19 Juri Linkov <juri@jurta.org>
942
943 * descr-text.el (describe-char): Add #x2010 and #x2011 to
944 the list of hard-coded chars with escape-glyph face.
945
89400f1d
SM
9462011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
949
305c07f6
MA
9502011-10-19 Michael Albinus <michael.albinus@gmx.de>
951
952 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
953 running process.
954
13754b54
GM
9552011-10-19 Glenn Morris <rgm@gnu.org>
956
957 * vc/vc-bzr.el (vc-bzr-after-dir-status):
958 Ignore ignored files. (Bug#9726)
959
06e21633
CY
9602011-10-19 Chong Yidong <cyd@gnu.org>
961
962 Doc fix for minor modes, stating that an omitted argument enables
963 the mode unconditionally when called from Lisp.
964
965 * abbrev.el (abbrev-mode):
966 * allout.el (allout-mode):
967 * autoinsert.el (auto-insert-mode):
968 * autoarg.el (autoarg-mode, autoarg-kp-mode):
969 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
970 (global-auto-revert-mode):
971 * battery.el (display-battery-mode):
972 * composite.el (global-auto-composition-mode)
973 (auto-composition-mode):
974 * delsel.el (delete-selection-mode):
975 * desktop.el (desktop-save-mode):
976 * dired-x.el (dired-omit-mode):
977 * dirtrack.el (dirtrack-mode):
978 * doc-view.el (doc-view-minor-mode):
979 * double.el (double-mode):
980 * electric.el (electric-indent-mode, electric-pair-mode):
981 * emacs-lock.el (emacs-lock-mode):
982 * epa-hook.el (auto-encryption-mode):
983 * follow.el (follow-mode):
984 * font-core.el (font-lock-mode):
985 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
986 * help.el (temp-buffer-resize-mode):
987 * hilit-chg.el (highlight-changes-mode)
988 (highlight-changes-visible-mode):
989 * hi-lock.el (hi-lock-mode):
990 * hl-line.el (hl-line-mode, global-hl-line-mode):
991 * icomplete.el (icomplete-mode):
992 * ido.el (ido-everywhere):
993 * image-file.el (auto-image-file-mode):
994 * image-mode.el (image-minor-mode):
995 * iswitchb.el (iswitchb-mode):
996 * jka-cmpr-hook.el (auto-compression-mode):
997 * linum.el (linum-mode):
998 * longlines.el (longlines-mode):
999 * master.el (master-mode):
1000 * mb-depth.el (minibuffer-depth-indicate-mode):
1001 * menu-bar.el (menu-bar-mode):
1002 * minibuf-eldef.el (minibuffer-electric-default-mode):
1003 * mouse-sel.el (mouse-sel-mode):
1004 * msb.el (msb-mode):
1005 * mwheel.el (mouse-wheel-mode):
1006 * outline.el (outline-minor-mode):
1007 * paren.el (show-paren-mode):
1008 * recentf.el (recentf-mode):
1009 * reveal.el (reveal-mode, global-reveal-mode):
1010 * rfn-eshadow.el (file-name-shadow-mode):
1011 * ruler-mode.el (ruler-mode):
1012 * savehist.el (savehist-mode):
1013 * scroll-all.el (scroll-all-mode):
1014 * scroll-bar.el (scroll-bar-mode):
1015 * server.el (server-mode):
1016 * shell.el (shell-dirtrack-mode):
1017 * simple.el (auto-fill-mode, transient-mark-mode)
1018 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1019 (line-number-mode, column-number-mode, size-indication-mode)
1020 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1021 * strokes.el (strokes-mode):
1022 * time.el (display-time-mode):
1023 * t-mouse.el (gpm-mouse-mode):
1024 * tool-bar.el (tool-bar-mode):
1025 * tooltip.el (tooltip-mode):
1026 * type-break.el (type-break-mode-line-message-mode)
1027 (type-break-query-mode):
1028 * view.el (view-mode):
1029 * whitespace.el (whitespace-mode, whitespace-newline-mode)
1030 (global-whitespace-mode, global-whitespace-newline-mode):
1031 * xt-mouse.el (xterm-mouse-mode): Doc fix.
1032
a3839de2
SM
1033 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1034 Fix autogenerated docstring.
06e21633 1035
5214e501
JL
10362011-10-19 Juri Linkov <juri@jurta.org>
1037
1038 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1039 by checking environment variables "DESKTOP_SESSION" and
1040 "XDG_CURRENT_DESKTOP". (Bug#9779)
1041
195f8db9
JL
10422011-10-19 Juri Linkov <juri@jurta.org>
1043
1044 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1045 (browse-url-chromium-program, browse-url-chromium-arguments):
1046 New defcustoms.
1047 (browse-url-default-browser): Check for `browse-url-chromium' and
1048 call `browse-url-chromium-program'.
1049 (browse-url-chromium): New command. (Bug#9779)
1050
343a34ff
JB
10512011-10-18 Juanma Barranquero <lekktu@gmail.com>
1052
1053 * facemenu.el (list-colors-duplicates): On Windows, detect more
1054 duplicates by assuming that only colors matching "^System" are
1055 special "system colors". (Bug#9722)
1056
6978a151
SM
10572011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1060 to distinguish the author from the committer.
1061
6a80b297
MA
10622011-10-18 Michael Albinus <michael.albinus@gmx.de>
1063
1064 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1065
b31a5677
JK
10662011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1067
1068 * international/mule.el (sgml-html-meta-auto-coding-function):
1069 Add support for detecting encoding in HTML5 specified only as
1070 <meta charset="UTF-8">. Implementation just makes http-equiv and
1071 content-type parts from HTML4 encoding string optional. (Bug#9716)
1072
80c6d77f
GM
10732011-10-18 Glenn Morris <rgm@gnu.org>
1074
1075 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1076
08b0fee8
CY
10772011-10-18 Chong Yidong <cyd@gnu.org>
1078
1079 * faces.el (cursor): Doc fix.
1080
67e729a5
CY
10812011-10-17 Chong Yidong <cyd@gnu.org>
1082
1083 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1084
343a34ff 10852011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
1086
1087 * dirtrack.el (dirtrack): Support shell buffers with path
1088 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1089
0bc06380
TZ
10902011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1091
1092 * json.el: Bump version to 1.3 and note change in History.
1093 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1094
8b79f3e0
SM
10952011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1096
5a7c536b
SM
1097 * comint.el (comint-insert-input, comint-send-input)
1098 (comint-get-old-input-default, comint-backward-matching-input)
1099 (comint-next-prompt): Use nil instead of `input' for field property of
1100 past user input (bug#114).
1101
96a8a0df
SM
1102 * minibuffer.el (completion--replace): Inherit surrounding properties
1103 (bug#114).
1104 (minibuffer-complete-and-exit): Use it.
1105
8b79f3e0
SM
1106 * comint.el (comint--table-subvert): Quote the all-completions output
1107 (bug#9160).
1108
b8f7ff0d
MR
11092011-10-17 Martin Rudalics <rudalics@gmx.at>
1110
8b79f3e0 1111 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 1112
b8f7ff0d 1113 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 1114 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
1115 entries and separate them from frame entries.
1116
c235b555
GM
11172011-10-15 Glenn Morris <rgm@gnu.org>
1118
1119 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1120 Doc fixes.
1121
6bbfa6e1
CY
11222011-10-15 Chong Yidong <cyd@stupidchicken.com>
1123
8b79f3e0
SM
1124 * net/network-stream.el (network-stream-open-starttls):
1125 Improve detection of failure due to lack of TLS support.
ec5c990d 1126
6bbfa6e1
CY
1127 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1128 putting the input text in front and in bold.
1129
98488977
SM
11302011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1131
3d1337be
SM
1132 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1133
ee0b45e4
SM
1134 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1135 empty buffer.
1136
98488977
SM
1137 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1138 unread-command-events rather than pushing yet-another event.
1139
186f4720
EZ
11402011-10-14 Eli Zaretskii <eliz@gnu.org>
1141
1142 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1143 the explanation of the possible choices. Make the options passed
1144 to completing-read shorter.
1145
8b7a997c
AM
11462011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1147
1148 * textmodes/flyspell.el (flyspell-large-region): Make sure
1149 extended character mode is used if defined (Bug#1339).
1150
12587bbb
EZ
11512011-10-13 Eli Zaretskii <eliz@gnu.org>
1152
1153 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
1154 character info for LRE, LRO, RLE, and RLO characters by appending
1155 an invisible PDF.
12587bbb 1156
bad41229
SM
11572011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1158
1159 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1160 even in case of error; add debug spec; simplify data flow.
1161 (with-timeout-handler): Remove.
1162
28dbc92f
MA
11632011-10-12 Michael Albinus <michael.albinus@gmx.de>
1164
1165 Fix Bug#6019, Bug#9315.
1166
1167 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1168 complete `buffer-file-name', the local file name part could look
1169 remotely (for example on VMS).
1170
1171 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1172 `tramp-run-real-handler'.
1173 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1174 already quoted by '"'.
1175
1176 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1177 Let `file-name-handler-alist' be nil, the local file name part
1178 could look remotely (for example on VMS).
1179
e1b0b23a
SM
11802011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1181
1182 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1183 from here...
1184 (flyspell-post-command-hook): ...to here.
1185
a120bde9
SM
11862011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1189 if not needed.
1190 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1191 using completion. Protect against "slow" callers.
1192 Remove the "message hack".
1193
7ce7717b
JL
11942011-10-11 Juri Linkov <juri@jurta.org>
1195
1196 * isearch.el (isearch-lazy-highlight-word): New variable.
1197 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1198 Use it. (Bug#9727)
1199
c02ee9d6
GM
12002011-10-11 Glenn Morris <rgm@gnu.org>
1201
1202 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1203 like f90-previous-statement does.
1204
93e616fd 12052011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1206
1f190e73 1207 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
1208 only in interactive use, to avoid error.
1209
af7b6078
SM
12102011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * minibuffer.el (completion-file-name-table): Fix last change,
1213 i.e. ignore normal errors but not the other ones.
1214
0563dae9
MR
12152011-10-10 Martin Rudalics <rudalics@gmx.at>
1216
1217 * window.el (special-display-buffer-names)
1218 (special-display-regexps): Remove some remnants of earlier
1219 changes from doc-strings.
366ca7f3
MR
1220 (quit-windows-on): New function.
1221
1222 * vc/vc.el (vc-revert, vc-rollback):
1223 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1224 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 1225 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 1226
49677495
MR
12272011-10-09 Martin Rudalics <rudalics@gmx.at>
1228
1229 * window.el (frame-auto-hide-function): Add version tag.
1230 (Bug#9699)
1231
56f2d1e1
MA
12322011-10-09 Michael Albinus <michael.albinus@gmx.de>
1233
1234 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1235 condition.
1236
112a6592
LL
12372011-10-09 Leo Liu <sdl.web@gmail.com>
1238
1239 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1240 (Bug#9701)
1241
0812589b
GM
12422011-10-08 Glenn Morris <rgm@gnu.org>
1243
1244 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1245 before the first code statement zero indent. (Bug#9690)
1246
b2b0776e
CY
12472011-10-08 Chong Yidong <cyd@stupidchicken.com>
1248
1249 * simple.el (count-words-region): Always count in the region.
1250 Report the number of lines and characters too.
1251 (count-words): New command, which counts in the buffer if the
1252 region is inactive, as count-words-region used to.
1253 (count-words--message): New function. Handle plurals.
1254 (count-lines-region): Make it an alias for count-words-region.
1255
1256 * bindings.el (esc-map): Replace count-lines-region with
1257 count-words-region.
1258
c557cd6b
MR
12592011-10-08 Martin Rudalics <rudalics@gmx.at>
1260
1261 * window.el (window--delete): Delete dedicated frame
1262 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 1263 (switch-to-buffer): Fix doc-string typo.
c557cd6b 1264
61a57ef4 12652011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1266
1267 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1268
c3833279
CY
12692011-10-07 Chong Yidong <cyd@stupidchicken.com>
1270
1271 * bindings.el ([M-left],[M-right]): Bind to left-word and
1272 right-word respectively.
1273
21ce8245
GM
12742011-10-07 Glenn Morris <rgm@gnu.org>
1275
1276 * cus-start.el (debug-on-quit): Fix custom type.
1277
6d823bb2
LMI
12782011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1279
0181e193
LMI
1280 * subr.el (define-key-after): Clarify that the function is not
1281 useful for non-menu keymaps.
1282
6d823bb2
LMI
1283 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1284
8e3459ce 12852011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1286
21ce8245 1287 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 1288 in current minibuffer (Fix bug with recursive minibuffers).
1289
a1c2d21e
CY
12902011-10-06 Chong Yidong <cyd@stupidchicken.com>
1291
1292 * progmodes/gdb-mi.el (gdb): Doc fix.
1293
5a4cf282
MR
12942011-10-05 Martin Rudalics <rudalics@gmx.at>
1295
1296 * window.el (frame-auto-hide-function): New option replacing
1297 frame-auto-delete. Suggested by Stefan Monnier.
1298 (window--delete): Call frame-auto-hide-function instead of
1299 investigating frame-auto-delete.
c96111ea
MR
1300 (window-point-1, set-window-point-1): New functions.
1301 (window-in-direction, record-window-buffer, window-state-get-1)
1302 (display-buffer-record-window): Use window-point-1 instead of
1303 window-point.
1304 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 1305
9854542e
SM
13062011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1309
8943cfb0
GM
13102011-10-05 Glenn Morris <rgm@gnu.org>
1311
1312 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1313 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1314
647ab967
LL
13152011-10-05 Leo Liu <sdl.web@gmail.com>
1316
1317 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1318 works with buffer object.
1319
3ddfbced
SM
13202011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1321
1322 * mpc.el (mpc-tool-bar-map): Add labels.
1323
bdfa5dd2
GM
13242011-10-04 Glenn Morris <rgm@gnu.org>
1325
1326 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1327
0e2070b5
MR
13282011-10-04 Martin Rudalics <rudalics@gmx.at>
1329
1330 * window.el (window--delete): New function.
1331 (frame-auto-delete): Resuscitate option.
1332 (bury-buffer, replace-buffer-in-windows)
1333 (quit-window): Rewrite using window--delete.
1334 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1335 Pass display-buffer-mark-dedicated to window--display-buffer-2
1336 (Bug#9639).
1337
3dc61a09
SM
13382011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1339
915a9b64
SM
1340 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1341 returns a list (bug#9554). Add remote file name completion.
1342 * comint.el (comint--table-subvert): Curry and get quote&unquote
1343 functions as arguments.
1344 (comint--complete-file-name-data): Adjust call accordingly.
1345 * pcomplete.el (pcomplete--table-subvert): Remove.
1346 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1347
3dc61a09
SM
1348 * minibuffer.el (completion-table-case-fold): Use currying.
1349 (completion--styles-type, completion--cycling-threshold-type):
1350 New constants.
1351 (completion-styles, completion-category-overrides)
1352 (completion-cycle-threshold): Use them.
1353 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1354 completion-table-case-fold.
1355
8ea0a993
SB
13562011-10-03 Stephen Berman <stephen.berman@gmx.net>
1357
1358 * minibuffer.el (completion-category-overrides): Fix type of styles
1359 and add more user friendly tags (bug#9660).
1360
8c24b7f6
SM
13612011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1362
1363 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1364 (mule-input-method-string): New widget.
1365 (default-input-method, language-info-custom-alist): Use it.
1366
428fe61a
SM
13672011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1368
32c1fffd
SM
1369 * pcomplete.el: Require comint.
1370 (pcomplete--common-suffix): Remove.
1371 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1372 (pcomplete--table-subvert): Sync with comint--table-subvert.
1373 (pcomplete--entries): Use comint-completion-file-name-table.
1374 * comint.el (comint-unquote-filename): Simplify.
1375 (comint-completion-file-name-table): New function (bug#9616).
1376 (comint--complete-file-name-data): Use it.
1377
428fe61a
SM
1378 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1379 (pcmpl-gnu-tar-buffer): Remove.
1380 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
1381 around. Make sure pcomplete-suffix-list is only changed temporarily.
1382 Don't look inside the tar's file if it's too large.
428fe61a 1383
04c52e2f
CY
13842011-10-01 Chong Yidong <cyd@stupidchicken.com>
1385
ce3cefcc
CY
1386 * cus-edit.el (custom-mode-map):
1387 * epa.el (epa-key-list-mode-map):
1388 * man.el (Man-mode-map):
1389 * startup.el (splash-screen-keymap):
1390 * simple.el (special-mode-map): Use scroll-up-command and
1391 scroll-down-command.
1392
1393 * progmodes/idlw-help.el (idlwave-help-mode-map):
1394 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1395 * net/newst-plainview.el (newsticker-mode-map):
1396 * emulation/ws-mode.el (wordstar-mode-map):
1397 * emulation/vi.el (vi-com-map):
1398 * calc/calc-graph.el (calc-graph-show-dumb):
1399 * term/sun.el (terminal-init-sun):
1400 * term/ns-win.el (global-map):
1401 * progmodes/grep.el (grep-mode-map):
1402 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1403 * mail/rmail.el (rmail-mode-map):
1404 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1405
04c52e2f
CY
1406 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1407 custom-safe-themes as special.
1408
79adf8c8
JD
14092011-10-01 Julien Danjou <julien@danjou.info>
1410
1411 * notifications.el (notifications-notify): Fix docstring.
1412
63bd50d3
PS
14132011-10-01 Per Starbäck <per@starback.se>
1414
1415 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1416
199e4c7e
MR
14172011-09-30 Martin Rudalics <rudalics@gmx.at>
1418
1419 * startup.el (command-line-1): Fix last fix by inserting
1420 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 1421 (Bug#9605) and (Bug#9636)
199e4c7e 1422
fe5f08dd
EZ
14232011-09-29 Eli Zaretskii <eliz@gnu.org>
1424
1425 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1426 window is hscrolled, move by logical lines. (Bug#9607)
1427 (line-move-visual): Update the doc string to the above effect.
1428
b5516bbd
MR
14292011-09-29 Martin Rudalics <rudalics@gmx.at>
1430
ccee00c0
MR
1431 * window.el (display-buffer-record-window): When WINDOW is the
1432 selected window use `point' instead of `window-point'. (Bug#9626)
1433
b5516bbd
MR
1434 * startup.el (command-line-1): Use insert-before-markers when
1435 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1436
b5516bbd
MR
1437 * help.el (help-window): Remove variable.
1438
52aa0014
GM
14392011-09-29 Glenn Morris <rgm@gnu.org>
1440
1441 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1442
df9a7357
JB
14432011-09-29 Juanma Barranquero <lekktu@gmail.com>
1444
1445 * descr-text.el (describe-char-categories): Accept category
1446 descriptions more than one line long.
1447
a8406c20
SM
14482011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1449
88d9610c
SM
1450 * simple.el (delete-trailing-whitespace): Fix last change.
1451
a5daf810
SM
1452 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1453 Don't confuse "y => 3" as the beginning of a `y' operation.
1454
a8406c20
SM
1455 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1456 object has more than 4 slots (bug#9613).
1457
a239d4e9
JB
14582011-09-28 Juanma Barranquero <lekktu@gmail.com>
1459
1460 * subr.el (with-output-to-temp-buffer):
1461 * net/quickurl.el (quickurl, quickurl-browse-url):
1462 Fix typos in docstrings.
1463
693fbdb6
EZ
14642011-09-27 Eli Zaretskii <eliz@gnu.org>
1465
1466 * minibuffer.el (completion-styles)
1467 (completion-category-overrides): Cross reference each other in doc
1468 strings.
1469
8b457e28
GM
14702011-09-27 Glenn Morris <rgm@gnu.org>
1471
1472 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1473 to split-string. (Bug#9606)
1474
85a16208
LMI
14752011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1476
1477 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1478 (bug#9615).
1479
502f9ebd
CY
14802011-09-27 Chong Yidong <cyd@stupidchicken.com>
1481
1482 * emacs-lisp/package.el (list-packages): Fix echo area message.
1483
7690bdea
LL
14842011-09-27 Leo Liu <sdl.web@gmail.com>
1485
1486 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1487
e2ee6f30
MA
14882011-09-25 Michael Albinus <michael.albinus@gmx.de>
1489
1490 * net/dbus.el (dbus-unregister-object): Don't release services for
1491 registered signals. (Bug#9581)
1492
f3f98342
TZ
14932011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1494
1495 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1496 function that picks between cfengine 2 and 3 support
1497 automatically. Update docs accordingly.
1498
dd7aa8dd
KH
14992011-09-22 Kenichi Handa <handa@m17n.org>
1500
1501 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1502 ZERO.
1503 (indian-itrans-v5-table-for-tamil): New variable.
1504 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1505
3f2b07f8
KM
15062011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1507
1508 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1509 that's true if the current command involved collapsing of text.
1510 It's reset to false at the beginning of the next command.
1511 (allout-post-command-business): Move the cursor to the beginning
1512 of entry if the cursor is hidden and collapsing activity just
1513 happened.
1514
371d6a61
CY
15152011-09-24 Chong Yidong <cyd@stupidchicken.com>
1516
1517 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1518 tracking (Bug#9541).
1519
2ac2721a
UJ
15202011-09-24 Ulf Jasper <ulf.jasper@web.de>
1521
1522 * net/newst-reader.el (newsticker-html-renderer)
1523 (newsticker-show-news): Automatically
343a34ff
JB
1524 load html rendering package if newsticker-html-renderer is set.
1525 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1526 let-bound" and the error "Symbol's value as variable is void:
1527 w3m-fill-column".
1528
fac7ae53
MA
15292011-09-24 Michael Albinus <michael.albinus@gmx.de>
1530
1531 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1532 Release services only if they are defined. (Bug#9581)
1533
e08b633b
RS
15342011-09-23 Richard Stallman <rms@gnu.org>
1535
e488d29c
RS
1536 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1537 distinguish start of paragraph from start of its text.
1538
19c38752
RS
1539 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1540
e08b633b
RS
1541 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1542 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1543 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1544
0a39f27e
AS
15452011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1546
1547 * international/mule-diag.el (mule-diag): Insert a newline after
1548 each fontset description.
1549
db4e950d
SM
15502011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1551
1552 * simple.el (delete-trailing-whitespace):
1553 Document last change; simplify.
1554
eca3f3ea
PW
15552011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1556
d68e189a
PW
1557 * simple.el (delete-trailing-whitespace): Also delete
1558 extra newlines at the end of the buffer.
1559
eca3f3ea
PW
1560 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1561 (picture-newline): Use forward-line so as to ignore fields.
1562
01c157cc
SM
15632011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1564
1565 * subr.el (with-wrapper-hook): Fix edebug spec.
1566
022de23e
LMI
15672011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1568
1569 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1570 (bug#4538).
1571
91683089
MA
15722011-09-23 Michael Albinus <michael.albinus@gmx.de>
1573
eca3f3ea
PW
1574 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1575 Fix nasty bug using wrong cached values.
91683089 1576
5bdd6fa4
AM
15772011-09-23 Alan Mackenzie <acm@muc.de>
1578
1579 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1580
97adfb97
CY
15812011-09-23 Chong Yidong <cyd@stupidchicken.com>
1582
1583 * window.el (pop-to-buffer): Ensure right window is selected if we
1584 chose another frame.
1585
d4ef2b50
EZ
15862011-09-22 Eli Zaretskii <eliz@gnu.org>
1587
1588 * simple.el (what-cursor-position): Use get-char-property-change
1589 and next-single-char-property-change, to be able to show display
1590 properties that come from overlays as well as text properties.
1591
72258fe5
CY
15922011-09-22 Chong Yidong <cyd@stupidchicken.com>
1593
1594 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1595
1596 * cmuscheme.el (run-scheme, switch-to-scheme):
1597 * cus-edit.el (customize-group, custom-buffer-create)
1598 (customize-browse):
1599 * info.el (info):
1600 * shell.el (shell):
1601 * mail/sendmail.el (mail):
1602 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1603
8f098516
RS
16042011-09-22 Richard Stallman <rms@gnu.org>
1605
1606 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1607 move back only to line beg, don't move back over blank lines.
1608
e74f1bb6
MA
16092011-09-22 Michael Albinus <michael.albinus@gmx.de>
1610
1611 * files.el (copy-directory): Set directory attributes only in case
1612 they could be retrieved from the source directory. (Bug#9565)
1613
bfeef8b6
DK
16142011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1615
1616 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1617 (hs-find-block-beginning, hs-hide-level-recursive):
1618 Ignore strings as well as comments. (Bug#9502)
1619
7e423bb8
AS
16202011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1621
1622 * progmodes/sql.el (sql-comint-postgres):
1623 Convert port number to a string. (Bug#9566)
1624
b4d72fcf
MR
16252011-09-22 Martin Rudalics <rudalics@gmx.at>
1626
1627 * window.el (quit-window): Undedicate window when switching to
1628 previous buffer. Reported by Thierry Volpiatto
1629 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1630 (special-display-popup-frame): When popping up a new frame reset
1631 its previous buffers to nil. Simplify code.
b4d72fcf 1632
a7b88dc6
MA
16332011-09-21 Michael Albinus <michael.albinus@gmx.de>
1634
1635 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1636 and process filter, as done also in `shell-command'.
1637
cf4eacfd
MR
16382011-09-21 Martin Rudalics <rudalics@gmx.at>
1639
eca3f3ea
PW
1640 * window.el (set-window-buffer-start-and-point):
1641 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1642 Volpiatto <thierry.volpiatto@gmail.com>.
1643 (quit-window): Reword doc-string. Handle new format of
1644 quit-restore parameter. Don't delete window if it has a
1645 previous buffer we can show instead of the present one.
1646 (display-buffer-record-window): Rewrite using a new format for
1647 the quit-restore window parameter
1648 (special-display-popup-frame, display-buffer-same-window)
1649 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1650 (display-buffer-pop-up-window, display-buffer-use-some-window):
1651 Adapt symbol passed to display-buffer-record-window.
1652 * help.el (help-window-setup): Handle new format of quit-restore
1653 parameter.
1654
8d28cb95
SM
16552011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1656
94ab793f
SM
1657 * faces.el (face-list): Fix docstring (bug#9564).
1658
8d28cb95
SM
1659 * window.el (display-buffer--action-function-custom-type):
1660 Don't include internal functions in the Custom interface.
1661
3820edeb
JL
16622011-09-20 Juri Linkov <juri@jurta.org>
1663
1664 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1665 (Info-forward-node, Info-backward-node, Info-next-preorder)
1666 (Info-last-preorder): Use it. (Bug#9528)
1667
5147931d
JL
16682011-09-20 Juri Linkov <juri@jurta.org>
1669
1670 * info.el (Info-last-preorder): Visit last menu item only when
1671 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1672
cf499a1a
JD
16732011-09-20 Julien Danjou <julien@danjou.info>
1674
1675 * password-cache.el (password-cache-remove): Remove entries even if the
1676 value is nil, so that password with a nil value (negative caching) is
1677 possible to invalidate.
1678
f84e2fe2
LM
16792011-09-20 Lawrence Mitchell <wence@gmx.li>
1680
1681 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1682 all whitespace around breakpoint. (Bug#9553)
1683 (f90-find-breakpoint): Only break at whitespace inside a comment.
1684
78054a46
SM
16852011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * minibuffer.el (completion-file-name-table): Keep track of errors.
1688 (completion-table-with-predicate): Handle the case where pred1 is nil.
1689 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1690
345083b2
SM
16912011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1692
e24e27be
SM
1693 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1694 (debugger-return-value): Signal an error if the debugging context does
1695 not await any return value.
1696
345083b2
SM
1697 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1698 * image-mode.el (image-toggle-display-text)
1699 (image-toggle-display-image): Stay away from evil `intangible'.
1700
08d355e3
LL
17012011-09-19 Leo Liu <sdl.web@gmail.com>
1702
1703 * replace.el (occur-revert-arguments): Make it permanent-local.
1704 (occur-mode): Don't call font-lock-defontify.
1705
f01da43f
CY
17062011-09-19 Chong Yidong <cyd@stupidchicken.com>
1707
1708 * net/ldap.el (ldap-search-internal): Don't push empty search
1709 result (Bug#9508).
1710
b6072fa6
SM
17112011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1712
1713 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1714
443d6696
MA
17152011-09-19 Michael Albinus <michael.albinus@gmx.de>
1716
1717 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1718 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1719
7cc6e154
JL
17202011-09-18 Juri Linkov <juri@jurta.org>
1721
1722 * buff-menu.el (Buffer-menu-mode-map):
1723 * dired.el (dired-mode-map):
1724 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1725 (lisp-interaction-mode-map):
1726 * emacs-lisp/package.el (package-menu-mode-map):
1727 * epa.el (epa-key-list-mode-map):
1728 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1729 (menu-bar-options-menu):
1730 * outline.el (outline-mode-menu-bar-map):
1731 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1732 * vc/vc-dir.el (vc-dir-menu-map):
1733 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1734 Capitalize non-function content words in menu item strings.
1735
1736 * dired.el (dired-mode-map): Add menu item for
1737 `image-dired-dired-toggle-marked-thumbs'.
1738
80302a81
JL
17392011-09-18 Juri Linkov <juri@jurta.org>
1740
1741 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1742 to `isearch-case-fold-search' and restore its original value
1743 after the `isearch-mode' call.
1744
46c5cf66
JL
17452011-09-18 Juri Linkov <juri@jurta.org>
1746
1747 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1748 because `zgrep' returns 1 for successful matches (bug#9226).
1749
d18b513b
JL
17502011-09-18 Juri Linkov <juri@jurta.org>
1751
1752 * info.el (Info-extract-menu-node-name): Check the second match
1753 for empty string (second test-case of bug#9528).
1754 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1755 intermediate nodes to the history (first test-case of bug#9528).
1756
72753f87
JL
17572011-09-18 Juri Linkov <juri@jurta.org>
1758
1759 * info.el (Info-mode-syntax-table): New variable.
1760 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1761
c9384295
JL
17622011-09-18 Juri Linkov <juri@jurta.org>
1763
1764 * info.el (Info-file-supports-index-cookies): Increment
1765 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1766 one more line for long file names (bug#4142).
1767
d473dce8
CY
17682011-09-18 Chong Yidong <cyd@stupidchicken.com>
1769
1770 * newcomment.el (comment-normalize-vars): If prompting for
1771 comment-start, set comment-start-skip too (Bug#8424).
1772
2176854d
JB
17732011-09-18 Johan Bockgård <bojohan@gnu.org>
1774
1775 * icomplete.el: Fix previous fix of Bug#5849.
1776 (icomplete-mode): Don't set completion-show-inline-help.
1777 (icomplete-minibuffer-setup): Set completion-show-inline-help
1778 locally during icompletion.
1779
3aace4e4
CY
17802011-09-18 Chong Yidong <cyd@stupidchicken.com>
1781
c940224f
CY
1782 * woman.el (woman2-process-escapes): Don't delete unrecognized
1783 escapes (Bug#7843).
1784
3aace4e4
CY
1785 * files.el (inhibit-first-line-modes-regexps): Add image files.
1786 (hack-local-variables-prop-line): Return nil for malformed
1787 prop-lines (Bug#9044).
1788
710dec63
MA
17892011-09-18 Michael Albinus <michael.albinus@gmx.de>
1790
1791 * net/tramp.el (top): Don't require 'shell.
1792 (tramp-methods): Fix docstring.
1793 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1794 Return complete remote file name. Handle "smb" case.
1795 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1796 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1797
1798 * net/tramp-compat.el (top): Require 'shell.
1799
1800 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1801 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1802 `tramp-current-host'.
1803 (tramp-get-remote-tmpdir): Remove.
1804
1805 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1806 `tramp-tmpdir' entries.
1807 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1808 (tramp-smb-handle-file-attributes): Ignore errors.
1809 (tramp-smb-wait-for-output): Check also for process end.
1810
5d5ac8ec
LMI
18112011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1812
1813 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1814 when sending QUIT (bug#9312).
1815
8c0f49f0
CY
18162011-09-17 Chong Yidong <cyd@stupidchicken.com>
1817
1818 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1819 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1820 occur-mode-display-occurrence.
1821 (occur-edit-mode): Add usage message.
1822 (occur-cease-edit): New command.
1823 (occur-after-change-function): Use text properties to find the
1824 position of the prefix text.
1825 (occur-engine): Set stickiness of prefix text properties.
1826
8f1383f7
GM
18272011-09-17 Glenn Morris <rgm@gnu.org>
1828
1829 * progmodes/etags.el (complete-tag):
1830 Fix call to completion-in-region. (Bug#9526)
1831
744ba0e3
JL
18322011-09-17 Juri Linkov <juri@jurta.org>
1833
1834 * textmodes/ispell.el (ispell-word): Add to the error message
1835 the word, ispell program name and current dictionary (bug#9121).
1836 (ispell-tex-arg-end): Capitalize "error" in the error message.
1837
d9bbf400
AS
18382011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1839
1840 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1841 check. (Bug#4251)
1842
8da11505
JL
18432011-09-17 Juri Linkov <juri@jurta.org>
1844
1845 * window.el (window-safe-min-height, window-safe-min-width):
1846 Fix typos (followup to bug#9522).
1847
a91adc7e
SJ
18482011-09-17 Sven Joachim <svenjoac@gmx.de>
1849
1850 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1851
064f328a
EZ
18522011-09-16 Eli Zaretskii <eliz@gnu.org>
1853
1854 * simple.el (line-move): If goal-column is set, move by logical
1855 lines, not by display lines. (Bug#971)
1856 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1857 to reflect the above change.
1858
e69df516
SM
18592011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1860
1861 * image.el (imagemagick-register-types): Use regexp-opt.
1862
cbb0f9ab
CY
18632011-09-15 Chong Yidong <cyd@stupidchicken.com>
1864
1865 * window.el (display-buffer-base-action): Rename from
1866 display-buffer-default-action. Make default value empty.
1867 (display-buffer-overriding-action): Convert to defvar.
1868 (display-buffer-fallback-action): New var.
1869
25322144
CY
18702011-09-15 Chong Yidong <cyd@stupidchicken.com>
1871
1872 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1873 declaration.
1874 (package--add-to-archive-contents): If there is a duplicate entry
1875 with an older version, remove it.
1876 (package-menu-mark-delete, package-menu-mark-install)
1877 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1878 (package-menu-mark-obsolete-for-deletion):
1879 Use package-menu-get-status instead of a regexp search.
25322144
CY
1880 (package-menu-get-status): Use tabulated-list-entry.
1881 (package-menu-mark-upgrades): New command.
d770725a 1882 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1883 (package-menu-execute): Do installation before deletion.
1884 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1885 instead of checking major-mode.
1886 (package-menu--find-upgrades): New function.
1887
7520339c
LMI
18882011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1889
1890 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1891 passwords in the log buffer.
65a046c4
LMI
1892 (smtpmail-process-filter): Update the process marker so that the
1893 "broken by peer" status message is inserted in the right place.
7520339c 1894
d3c30954
SM
18952011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1896
3fe48822
SM
1897 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1898 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1899 bibtex-completion-at-point-function.
1900 (bibtex-completion-at-point-function): Use them.
1901
1b8b3954
SM
1902 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1903
d3c30954
SM
1904 * mpc.el (mpc-constraints-tag-lookup): New function.
1905 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1906 also to browser "album|playlist".
1907
72779976
JL
19082011-09-14 Juri Linkov <juri@jurta.org>
1909
1910 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1911 (isearch-edit-string): Use length of `isearch-string' when
1912 `isearch-fail-pos' returns nil.
1913 (isearch-message): Remove duplicate code and call
1914 `isearch-fail-pos' with arg `t'.
1915
a0bf2bcd
CY
19162011-09-14 Chong Yidong <cyd@stupidchicken.com>
1917
17bb0a2d
CY
1918 * replace.el (occur-mode-goto-occurrence): Don't force using other
1919 window (Bug#9499).
1920
a0bf2bcd
CY
1921 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1922
f678e0b6
MR
19232011-09-14 Martin Rudalics <rudalics@gmx.at>
1924
1925 * window.el (display-buffer-window): Remove.
1926 (display-buffer-record-window): Use help-setup window parameter
1927 instead of variable display-buffer-window.
1928 (display-buffer-function, special-display-buffer-names)
1929 (special-display-function): Mention help-setup parameter instead
1930 of display-buffer-window in doc-string.
d3c30954
SM
1931 * help.el (help-window-setup): New argument help-window.
1932 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1933 Reword some messages.
1934 (with-help-window): Pass window used for displaying the buffer
1935 to help-window-setup. Don't set display-buffer-window.
1936
8e39b2e8
GM
19372011-09-13 Glenn Morris <rgm@gnu.org>
1938
1939 * emacs-lisp/debug.el (debugger-make-xrefs):
1940 Preserve point. (Bug#9462)
1941
85e9c04b
CY
19422011-09-13 Chong Yidong <cyd@stupidchicken.com>
1943
1944 * window.el (window-deletable-p): Use next-frame.
1945
1b36ed6a
MR
19462011-09-13 Martin Rudalics <rudalics@gmx.at>
1947
1948 * window.el (window-auto-delete): Remove.
1949 (window-deletable-p): Remove argument FORCE. Don't deal with
1950 dedicatedness and previous buffers.
1951 (switch-to-prev-buffer): Don't delete window.
1952 (delete-windows-on): Delete a window's frame if and only if the
1953 window is dedicated.
1954 (replace-buffer-in-windows): Delete buffer's window or frame if
1955 and only if window is dedicated.
1956 (quit-window): Handle quit-restore as before last change.
4d61f28d 1957 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1958
ef8ef9fb
CY
19592011-09-13 Chong Yidong <cyd@stupidchicken.com>
1960
1961 * window.el (window-deletable-p): Never delete the last frame on a
1962 given terminal.
1963
b2cba41e
GM
19642011-09-13 Glenn Morris <rgm@gnu.org>
1965
1966 * help.el (describe-key-briefly): Copy previous standard-output change.
1967
51553db6 19682011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1969
1970 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1971
b7556719
GM
19722011-09-13 Glenn Morris <rgm@gnu.org>
1973
1974 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1975 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1976
64b51947
CY
19772011-09-12 Chong Yidong <cyd@stupidchicken.com>
1978
1979 * dired-aux.el (dired-mark-read-string): Don't return default
1980 value on empty input (Bug#9361).
1981 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1982 Omit initial minibuffer contents.
1983 (dired-do-chmod): Signal an error on empty input.
1984 (dired-mark-read-string): Don't return default on empty input.
1985
1986 * files.el (file-modes-symbolic-to-number): Doc fix.
1987
393a301e
SM
19882011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1989
1990 * international/mule-cmds.el (ucs-completions): Remove.
1991 (read-char-by-name): Use complete-with-action instead; add metadata.
1992
fa5660f9
CY
19932011-09-11 Chong Yidong <cyd@stupidchicken.com>
1994
1995 * window.el (display-buffer--action-function-custom-type)
1996 (display-buffer--action-custom-type): New vars.
1997 (display-buffer-alist, display-buffer-default-action)
1998 (display-buffer-overriding-action): Add defcustom types.
1999
4a592f66
CY
2000 * frame.el (delete-other-frames): Doc fix (Bug#276).
2001
73d56dbd
LMI
20022011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2003
2004 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2005
37ac18a3
CY
20062011-09-11 Chong Yidong <cyd@stupidchicken.com>
2007
2008 Change modes that used same-window-* vars to use switch-to-buffer.
2009
2010 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2011 Use switch-to-buffer.
2012
2013 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
2014 (customize-browse, custom-buffer-create-other-window):
2015 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
2016
2017 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2018 (Info-prev, Info-up, Info-speedbar-goto-node)
2019 (info-display-manual): Use switch-to-buffer.
2020 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2021
2022 * mail/sendmail.el (mail): Use switch-to-buffer.
2023 (mail-recover): Use switch-to-buffer-other-window.
2024
2025 * cmuscheme.el (run-scheme, switch-to-scheme):
2026 * ielm.el (ielm):
2027 * shell.el (shell):
2028 * net/rlogin.el (rlogin):
2029 * net/telnet.el (telnet, rsh):
2030 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2031
10195bd6
AS
20322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2033
2034 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2035
b322f63a
LMI
20362011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2037
39d7fed6
LMI
2038 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2039 so don't mention it (bug#9301).
ba5a81f1 2040 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 2041
ee0e9f11
LMI
2042 * faces.el (face-spec-set-match-display): Make `(type graphic)'
2043 match `x', `w32' and `ns', like the manual says (bug#9029).
2044
0b1c89c1 2045 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
2046 (process-kill-buffer-query-function): Mention the buffer name in
2047 the query.
0b1c89c1 2048
77549ea8
LMI
2049 * image-mode.el (image-next-line): The line parameter is mandatory
2050 (bug#9258).
2051
803ef892
LMI
2052 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2053 which can be useful (bug#9301).
2054
12980837
LMI
2055 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2056
91054f8f
LMI
2057 * subr.el (match-string): Mention that the current buffer should
2058 be the same as the search was done in (bug#9282).
2059
b322f63a
LMI
2060 * facemenu.el: Disable the remove-* commands if the mark isn't
2061 active (bug#9162).
2062
3199b96f
CY
20632011-09-10 Chong Yidong <cyd@stupidchicken.com>
2064
2065 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2066 of display-buffer.
2067 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2068
2069 * replace.el (occur-mode-goto-occurrence)
2070 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2071 and display-buffer.
2072
2073 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2074 display-buffer.
2075
2076 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2077 special-display and same-window variables.
2078 (mail-other-window): Use switch-to-buffer-other-window.
2079 (mail-other-frame): USe switch-to-buffer-other-frame.
2080
393a301e
SM
2081 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2082 Use display-buffer-other-frame.
3199b96f
CY
2083 (gdb-display-gdb-buffer): Use pop-to-buffer.
2084
2085 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2086
2087 * progmodes/python.el: Don't set same-window-buffer-names.
2088
2089 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2090
2091 * window.el (display-buffer-alist): Add *Python*.
2092
8319e0bf
CY
20932011-09-10 Chong Yidong <cyd@stupidchicken.com>
2094
2095 * window.el (display-buffer-alist): Add entry for buffers
2096 previously handled same-window-*.
2097 (display-buffer-alist, display-buffer-default-action)
2098 (display-buffer-overriding-action): Mark as risky.
2099 (display-buffer-alist): Document action function changes.
2100 (display-buffer--same-window-action)
2101 (display-buffer--other-frame-action): New variables.
2102 (switch-to-buffer, display-buffer-other-frame): Use them.
2103 (display-buffer): Rename reuse-frame entry to reusable-frames.
2104 (display-buffer-reuse-selected-window): Function deleted.
2105 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2106 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2107 (display-buffer-special): New function.
2108 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2109 display-buffer-reuse-or-pop-window. Split off special-display
2110 part into display-buffer-special.
2111 (display-buffer-use-some-window): Don't perform any special
2112 pop-up-frames handling.
2113 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 2114 (display-buffer--maybe-same-window): Rename from
0d3ff375 2115 display-buffer-maybe-same-window.
8319e0bf 2116
919a69aa
CY
2117 * info.el: Don't set same-window-regexps.
2118 (info-setup): New function.
2119 (info-other-window, info): Call it.
2120
2121 * cus-edit.el: Don't set same-window-regexps.
2122 (customize-group): New argument.
2123 (customize-group-other-window): Use it.
2124 (customize-face, customize-face-other-window): Likewise.
2125 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2126
8319e0bf
CY
2127 * net/rlogin.el:
2128 * net/telnet.el:
2129 * progmodes/gud.el: Don't set same-window-regexps.
2130
2131 * cmuscheme.el:
2132 * ielm.el:
2133 * shell.el:
2134 * mail/sendmail.el:
2135 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2136
25173000
JL
21372011-09-10 Juri Linkov <juri@jurta.org>
2138
2139 * isearch.el (isearch-edit-string): Remove obsolete mention of
2140 `C-w' (`isearch-yank-word-or-char') from docstring.
2141 (isearch-query-replace): Fix typo in docstring (bug#9466).
2142
056e44ef
JL
21432011-09-10 Juri Linkov <juri@jurta.org>
2144
2145 * paren.el (show-paren-function): Don't show escaped parens.
2146 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2147
c3760c17
EZ
21482011-09-10 Eli Zaretskii <eliz@gnu.org>
2149
2150 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2151 (mm-default-file-encoding): Remove autoload forms, they are
2152 replaced with autoload cookies in mml.el and mm-encode.el.
2153 (mail-add-attachment): New command.
2154 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2155 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2156 the doc string.
2157 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2158
fece895e
RT
21592011-09-10 Reuben Thomas <rrt@sc3d.org>
2160
e69df516
SM
2161 * simple.el (count-words-region): Use buffer if there's no region
2162 (bug#9429).
fece895e 2163
5e68ce4a
JL
21642011-09-09 Juri Linkov <juri@jurta.org>
2165
2166 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2167 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2168 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2169
0a6b9622
AM
21702011-09-09 Alan Mackenzie <acm@muc.de>
2171
2172 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2173 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2174
14a29deb
EZ
21752011-09-09 Eli Zaretskii <eliz@gnu.org>
2176
2177 Fix for Savannah bug#9392.
2178 * simple.el (mail-encode-mml): New defvar.
2179
2180 * mail/rmail.el (mail-encode-mml): Add a defvar.
2181 (rmail-enable-mime-composing): Default to t.
2182 (rmail-forward): Use MIME method of forwarding only if both
2183 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2184 Set mail-encode-mml non-nil if the MIME method was used.
2185
2186 * mail/sendmail.el (mml-to-mime): Add autoload form.
2187 (mail-encode-mml): Add a defvar.
2188 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2189 to nil.
2190 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2191 message through mml-to-mime, and reset mail-encode-mml to nil.
2192
28c45130
GM
21932011-09-09 Glenn Morris <rgm@gnu.org>
2194
2195 * woman.el (woman-if-body): When processing an .el block,
2196 do not delete the next .el block as well. (Bug#9447)
69f4b618 2197 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 2198
9b1c252e
MR
21992011-09-08 Martin Rudalics <rudalics@gmx.at>
2200
2201 * window.el (window-deletable-p): Make sure window is live before
2202 invoking window-prev-buffers.
2203
567457e3
LL
22042011-09-08 Leo Liu <sdl.web@gmail.com>
2205
2206 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2207
97f05794
JL
22082011-09-08 Juri Linkov <juri@jurta.org>
2209
2210 * progmodes/compile.el (compilation-environment): Make it
2211 a defcustom (bug#8340).
2212
8b0874b5
MR
22132011-09-08 Martin Rudalics <rudalics@gmx.at>
2214
2215 * window.el (frame-auto-delete): Rename to window-auto-delete.
2216 Make it control auto-deletion of windows and/or frames.
2217 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 2218 for deleting window/frame. (Bug#9419)
8b0874b5
MR
2219 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2220 Rewrite handling of case when window/frame can be deleted.
2221 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 2222 argument t. (Bug#9456)
8b0874b5 2223
4feb6e73
CY
22242011-09-07 Chong Yidong <cyd@stupidchicken.com>
2225
2226 * help-mode.el (help-mode): Restore autoload.
2227
91ab9c13
JL
22282011-09-07 Juri Linkov <juri@jurta.org>
2229
2230 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2231 `compilation-environment'. Set buffer-local
2232 `compilation-environment' to `thisenv' later after (funcall mode).
2233 (Bug#8340)
2234
2235 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2236 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2237 instead of replacing its value. (Bug#8340)
2238
0527e251
JL
22392011-09-07 Juri Linkov <juri@jurta.org>
2240
2241 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2242 based on text properties put by `grep-filter' instead of matching
2243 escape sequences.
2244 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2245 to the value of `grep-error-screen-columns' (bug#9438).
2246
249f792c
JL
22472011-09-07 Juri Linkov <juri@jurta.org>
2248
2249 * simple.el (next-error-highlight, next-error-highlight-no-select):
2250 Doc fix (bug#9432).
2251
ff7271b9
OT
22522011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2253
2254 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2255 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2256
183fc730
LL
22572011-09-07 Leo Liu <sdl.web@gmail.com>
2258
2259 * net/rcirc.el (rcirc-mode): Conditionally initialize
2260 rcirc-input-ring.
2261
77694924
SM
22622011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2263
2264 * emacs-lisp/find-func.el (find-function-C-source): Only set
2265 find-function-C-source-directory after checking that we found a source
2266 file there (bug#9440).
2267
d809b8eb
AM
22682011-09-06 Alan Mackenzie <acm@muc.de>
2269
2270 * isearch.el (isearch-other-meta-char): Wherever a key list is
2271 unread, "unread" the prefix arg, too. This fixes bug #8901.
2272
453de99f
OG
22732011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2274
2275 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2276
90439906
JL
22772011-09-05 Juri Linkov <juri@jurta.org>
2278
2279 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2280
f62bd846
JL
22812011-09-05 Juri Linkov <juri@jurta.org>
2282
2283 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2284 keeping point where processing of grep matches begins, and
2285 continue to delete remaining escape sequences from the same point.
2286 (grep-filter): Make leading zero optional in "0?1;31m" because
2287 git-grep emits "\033[1;31m" escape sequences unlike expected
2288 "\033[01;31m" as GNU Grep does (bug#9408).
2289 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2290
045820ec
JL
22912011-09-05 Juri Linkov <juri@jurta.org>
2292
2293 * subr.el (y-or-n-p): Capitalize "yes".
2294
f5e29b9b
MA
22952011-09-04 Michael Albinus <michael.albinus@gmx.de>
2296
2297 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2298 `tramp-cache-unload-hook' where appropriate.
2299 (tramp-methods): Rename `tramp-remote-sh' to
2300 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2301 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2302
2303 * net/tramp-sh.el (top): Don't require 'shell.
2304 (tramp-methods): Add `tramp-remote-shell' and
2305 `tramp-remote-shell-args' entries.
2306 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2307 (tramp-sh-handle-shell-command): Remove.
2308 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2309 Use `tramp-remote-shell'.
2310
2784c434
CY
23112011-09-03 Chong Yidong <cyd@stupidchicken.com>
2312
393a301e 2313 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
2314 (sendmail-query-once): Save directly to send-mail-function.
2315 Update message-send-mail-function too.
2316
2317 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2318
464cdf56
CS
23192011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2320
2321 * progmodes/python.el (python-mode-map): Use correct function to
2322 start python interpreter from menu-bar (as reported by Geert
2323 Kloosterman).
2324 (inferior-python-mode-map): Fix typo.
393a301e 2325 (python-shell-map): Remove.
464cdf56 2326
d37e5c87
DD
23272011-09-03 Deniz Dogan <deniz@dogan.se>
2328
2329 * net/rcirc.el (rcirc-print): Simplify code for
2330 rcirc-scroll-show-maximum-output. There is no need to walk
2331 through all windows to find the right one.
2332
f3ada0ee
CS
23332011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2334
2335 * help.el (help-return-method): Doc fix.
2336
1f3c99ca
MR
23372011-09-03 Martin Rudalics <rudalics@gmx.at>
2338
2339 * window.el (window-deletable-p): Don't return a non-nil value
2340 when there's a buffer that was shown in the window before.
2341 (Bug#9419)
393a301e
SM
2342 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2343 Set window's previous buffers to nil.
1f3c99ca 2344
a3cf097f
EZ
23452011-09-03 Eli Zaretskii <eliz@gnu.org>
2346
2347 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2348 newline before and after the tag line, so it doesn't interfere
2349 with determining the paragraph direction of bidirectional text.
2350
3d03de90
LL
23512011-09-03 Leo Liu <sdl.web@gmail.com>
2352
2353 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2354
c3313451
CY
23552011-09-02 Chong Yidong <cyd@stupidchicken.com>
2356
393a301e 2357 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
2358 (pop-to-buffer): Change interactive spec. Pass second argument
2359 directly to display-buffer.
2360 (display-buffer): Fix interactive spec. Use functionp to
2361 distinguish between a function and a list of functions.
2362
2363 * abbrev.el (edit-abbrevs):
2364 * arc-mode.el (archive-extract):
2365 * autoinsert.el (auto-insert):
2366 * bookmark.el (bookmark-bmenu-list):
2367 * files.el (find-file):
2368 * view.el (view-buffer):
2369 * progmodes/compile.el (compilation-goto-locus):
2370 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2371
89894cd8
CY
23722011-09-02 Chong Yidong <cyd@stupidchicken.com>
2373
2374 * window.el (display-buffer-alist): Doc fix.
2375 (display-buffer): Add docstring. Don't treat
2376 display-buffer-default specially.
2377 (display-buffer-reuse-selected-window)
2378 (display-buffer-same-window, display-buffer-maybe-same-window)
2379 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2380 (display-buffer-pop-up-window)
2381 (display-buffer-reuse-or-pop-window)
2382 (display-buffer-use-some-window): New functions.
2383 (display-buffer-default-action): Use them.
393a301e 2384 (display-buffer-default): Delete.
89894cd8
CY
2385 (pop-to-buffer-1): Fix choice of actions.
2386
ae0bc9fb
SM
23872011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * minibuffer.el (completion--insert-strings): Don't get confused by
2390 completion entries that end with an LF char.
2391
e9d90883
EZ
23922011-09-01 Eli Zaretskii <eliz@gnu.org>
2393
2394 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2395
437014c8
CY
23962011-09-01 Chong Yidong <cyd@stupidchicken.com>
2397
2398 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
2399 (display-buffer-same-window, display-buffer-other-window):
2400 New functions.
437014c8
CY
2401 (pop-to-buffer-1): New function. Use the above.
2402 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 2403 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
2404
2405 * view.el (view-buffer-other-window, view-buffer-other-frame):
2406 Just use pop-to-buffer.
2407
a5e063d5
TV
24082011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2409
2410 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2411
793d32bb
WH
24122011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2413
2414 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2415
d65e4c15
RS
24162011-08-31 Richard Stallman <rms@gnu.org>
2417
2418 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2419 of the separation of rmail-view-buffer from rmail-buffer.
2420 If you say no to "replace original", the decrypt is in the
2421 view buffer. If you say yes, the decrypt goes into the
2422 rmail buffer also.
2423
f818cd2a
MR
24242011-08-31 Martin Rudalics <rudalics@gmx.at>
2425
2426 * window.el (display-buffer-window): Rewrite doc-string.
2427 (display-buffer-record-window): New function.
2428 (display-buffer-macro-specifiers)
2429 (display-buffer-even-window-sizes, display-buffer-set-height)
2430 (display-buffer-set-width, display-buffer-in-window)
2431 (display-buffer-reuse-window, display-buffer-split-specifiers)
2432 (display-buffer-side-specifiers, display-buffer-split-window-1)
2433 (display-buffer-split-window, display-buffer-split-atom-window)
2434 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2435 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2436 (display-buffer-other-window-means-other-frame)
2437 (display-buffer-normalize-special)
2438 (display-buffer-normalize-default)
2439 (display-buffer-normalize-argument)
2440 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2441 (display-buffer-normalize-specifiers, display-buffer-frame)
2442 (display-buffer-same-window, display-buffer-same-frame)
2443 (display-buffer-other-window)
2444 (display-buffer-same-frame-other-window)
2445 (display-buffer-other-frame, pop-to-buffer-same-window)
2446 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2447 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2448 (switch-to-buffer-same-frame)
2449 (switch-to-buffer-other-window-same-frame)
2450 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2451 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2452 (display-buffer-alist-set): Remove.
2453 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2454 (special-display-regexps, special-display-function):
2455 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2456 parameter.
2457 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2458 (special-display-frame-alist, special-display-popup-frame)
2459 (same-window-buffer-names, same-window-regexps, same-window-p)
2460 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2461 (split-window-preferred-function, split-height-threshold)
2462 (split-width-threshold, window-splittable-p)
2463 (split-window-sensibly, window--try-to-split-window)
2464 (window--frame-usable-p, even-window-heights)
2465 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2466 (window--display-buffer-2, display-buffer-other-frame):
2467 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2468 (display-buffer-default, display-buffer-assq-regexp): New functions.
2469 (display-buffer-alist): Rewrite doc-string.
2470 (display-buffer-default-action)
2471 (display-buffer-overriding-action): New variables.
2472 (display-buffer, switch-to-buffer): Rewrite.
2473 (pop-to-buffer): Restore Emacs 23 behavior but use
2474 window-normalize-buffer-to-display.
2475 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2476 Restore Emacs 23 behavior but use
2477 window-normalize-buffer-to-switch-to.
2478 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2479 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2480 Rewrite using Emacs 23 options.
f818cd2a 2481
5bc3b51d
MA
24822011-08-31 Michael Albinus <michael.albinus@gmx.de>
2483
2484 * net/tramp.el (tramp-root-regexp): Remove.
2485 (tramp-completion-file-name-regexp-unified)
2486 (tramp-completion-file-name-regexp-separate)
2487 (tramp-completion-file-name-regexp-url): Don't use leading volume
2488 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2489 (tramp-drop-volume-letter): Simplify definition.
2490 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2491
b1a4f8e1
SM
24922011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2493
2494 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2495 (bug#9356).
2496
5664fa7b
RT
24972011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2498
b1a4f8e1 2499 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2500
9a45d6c3
JL
25012011-08-29 Juri Linkov <juri@jurta.org>
2502
2503 * isearch.el (isearch-done): Don't display message "Mark saved"
2504 when arg `edit' is non-nil to prevent its flicker in the echo area.
2505
fb87e0fb
CY
25062011-08-28 Chong Yidong <cyd@stupidchicken.com>
2507
2508 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2509 obsolete packages for deletion.
2510
09ac1c2a
CS
25112011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2512
2513 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2514 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2515 view-mode from help-mode.
2516 (help-xref-override-view-map): Remove.
2517 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2518 view-mode is not used anymore.
2519
7a1ff57f
CY
25202011-08-28 Chong Yidong <cyd@stupidchicken.com>
2521
2522 * server.el (server-port): Doc fix.
2523
b9696605
CY
2524 * cus-theme.el (custom-theme-choose-mode): Inherit from
2525 special-mode (Bug#9124).
2526 (custom-theme-choose-mode-map): Add special-mode to parent.
2527
ef8cdf8c
AM
25282011-08-28 Alan Mackenzie <acm@muc.de>
2529
2530 * progmodes/cc-fonts.el
2531 (c-make-font-lock-BO-decl-search-function): New function.
2532 (c-basic-matchers-after - "Fontify the clauses after various
2533 keywords"): Extract the three keyword lists for the 3 erroneous
2534 constructs from the list of four, and use the new function above
2535 in place of an old one.
2536
27de4e20
DD
25372011-08-28 Deniz Dogan <deniz@dogan.se>
2538
2539 * net/rcirc.el (rcirc-insert-prev-input)
2540 (rcirc-insert-next-input): Remove unused argument.
2541
356a3681
SM
25422011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2543
2544 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2545
3fc9b218
AM
25462011-08-27 Alan Mackenzie <acm@muc.de>
2547
2548 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2549 handle function pointer parameters properly.
2550
538a061c
MR
25512011-08-27 Martin Rudalics <rudalics@gmx.at>
2552
2553 * window.el (display-buffer-reuse-window): Fix case where
2554 selected window was reused with non-nil OTHER-WINDOW argument.
2555 (Bug#9381)
2556
35b1c40c
DD
25572011-08-27 Deniz Dogan <deniz@dogan.se>
2558
2559 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2560 oftc's NickServ messages.
2561
2f6a3e79
GM
25622011-08-27 Glenn Morris <rgm@gnu.org>
2563
2564 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2565
7254299e
CY
25662011-08-26 Chong Yidong <cyd@stupidchicken.com>
2567
2568 * emacs-lisp/package.el (package-install): Call package-initialize
2569 if called interactively.
2570
f8ccf167
LL
25712011-08-26 Leo Liu <sdl.web@gmail.com>
2572
2573 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2574
3e8cd5ce
JL
25752011-08-25 Juri Linkov <juri@jurta.org>
2576
2577 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2578 `search-whitespace-regexp' (bug#9364).
2579
93eb7113
JL
25802011-08-25 Juri Linkov <juri@jurta.org>
2581
2582 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2583 `regexp-search-ring' to their global values to protect from
2584 updating by `read-from-minibuffer' (bug#9185).
2585
f65d1611
JL
25862011-08-25 Juri Linkov <juri@jurta.org>
2587
2588 * textmodes/ispell.el (ispell-command-loop): Add newline
2589 at the end of the "Use option `i'..." line.
2590
f1cf7a31
JL
25912011-08-25 Juri Linkov <juri@jurta.org>
2592
2593 * battery.el (display-battery-mode): If `battery-status-function'
2594 or `battery-mode-line-format' is nil, display the message and set
2595 `display-battery-mode' to nil (bug#9363).
2596
0c95fcf7
EZ
25972011-08-25 Eli Zaretskii <eliz@gnu.org>
2598
2599 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2600 bidi-string-mark-left-to-right; they are unnecessary now.
2601
a2ebe600
DD
26022011-08-25 Deniz Dogan <deniz@dogan.se>
2603
2604 * net/quickurl.el: Documentation typo fixes.
2605
e4ed06f1
CY
26062011-08-25 Chong Yidong <cyd@stupidchicken.com>
2607
2608 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2609
e5f1c99e
GM
26102011-08-25 Glenn Morris <rgm@gnu.org>
2611
b2948976
GM
2612 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2613
e5f1c99e
GM
2614 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2615 (smtpmail-via-smtp): Handle nil response from smtp.
2616
f22f4808
JL
26172011-08-24 Juri Linkov <juri@jurta.org>
2618
2619 * proced.el (proced-marked): Inherit from `error' instead of
2620 `font-lock-warning-face'.
2621
2622 * ibuffer.el (ibuffer-marked-face): Change default face from
2623 `font-lock-warning-face' to `warning'.
2624 (ibuffer-deletion-face): Change default face from
2625 `font-lock-type-face' to `error'.
2626
2627 * battery.el (battery-update): Use the face `error' instead of
2628 `font-lock-warning-face' (bug#6117).
2629
6a93965e
JL
26302011-08-24 Juri Linkov <juri@jurta.org>
2631
2632 * faces.el (success): Change face color from "Green3" to
2633 "ForestGreen" on light background (bug#9353).
2634
1ed43b09
CY
26352011-08-24 Chong Yidong <cyd@stupidchicken.com>
2636
5664fa7b
RT
2637 * window.el (quit-window): Rename from quit-restore-window.
2638 Use same arglist as old quit-window.
1ed43b09
CY
2639 (frame-auto-delete): Doc fix.
2640
2641 * view.el (view-mode-exit): Use quit-window.
2642
11dcdbb2
JL
26432011-08-24 Juri Linkov <juri@jurta.org>
2644
2645 * isearch.el (isearch-ring-adjust1): Start visiting previous
2646 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2647 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2648 for empty search string (when the last search string is reused
2649 automatically) to adjust the isearch ring to the last element and
2650 prepare the correct index for further M-p commands (bug#9185).
2651
de62b4df
KH
26522011-08-24 Kenichi Handa <handa@m17n.org>
2653
2654 * international/ucs-normalize.el: If decomposition property of
2655 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2656 nil.
2657 (nfd, nfkd): Likewise.
2658
963b492b
SM
26592011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2660
2661 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2662 from process filters aren't reliably transmitted to the surrounding
2663 accept-process-output.
2664 (mpc-proc-check): New function.
2665 (mpc-proc-sync): Use it (bug#8293)
2666
93b6b5e1
SM
26672011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2668
2669 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2670 Add compatibility functions (bug#9313).
2671
bca633fb
EZ
26722011-08-23 Eli Zaretskii <eliz@gnu.org>
2673
b177498a
EZ
2674 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2675
bca633fb
EZ
2676 * international/uni-bidi.el: Regenerated.
2677
0902a04e
KH
26782011-08-23 Kenichi Handa <handa@m17n.org>
2679
2680 * international/charprop.el:
2681 * international/uni-bidi.el:
2682 * international/uni-category.el:
2683 * international/uni-combining.el:
2684 * international/uni-comment.el:
2685 * international/uni-decimal.el:
2686 * international/uni-decomposition.el:
2687 * international/uni-digit.el:
2688 * international/uni-lowercase.el:
2689 * international/uni-mirrored.el:
2690 * international/uni-name.el:
2691 * international/uni-numeric.el:
2692 * international/uni-old-name.el:
2693 * international/uni-titlecase.el:
2694 * international/uni-uppercase.el: Regenerate.
2695
3bbf23bc
MR
26962011-08-23 Martin Rudalics <rudalics@gmx.at>
2697
2698 * help.el (help-window-setup): Fix message displayed when other
2699 window is reused. (Bug#9341)
2700
b3fd59bd
SM
27012011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2702
1802e444
SM
2703 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2704 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2705
b3fd59bd
SM
2706 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2707 Mark obsolete.
2708 * shell.el (shell-parse-pcomplete-arguments): New function.
2709 (shell-completion-vars): Use it instead (bug#9160).
2710
4eb61348
SM
27112011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2712
867cab74
SM
2713 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2714 strings and comments (bug#9333).
2715
4eb61348
SM
2716 * emacs-lisp/debug.el (debug-arglist): New function.
2717 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2718 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2719
262a1439
JL
27202011-08-22 Juri Linkov <juri@jurta.org>
2721
56ee679c
JL
2722 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2723 Revert regexp that highlights output switches to its old
2724 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2725
262a1439
JL
2726 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2727 to check for empty output (bug#9226).
2728
f13f86fb
CY
27292011-08-22 Chong Yidong <cyd@stupidchicken.com>
2730
2731 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2732 symbol-constituent as the default, as that stops font-lock from
2733 working properly (Bug#8843).
2734
c65c9622
LMI
27352011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2736
2737 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2738 `coding-system-for-*' around the process open call to avoid
2739 auth-source side effects.
e7f2c178 2740 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2741 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2742 probe hangs.
c65c9622 2743
23a8a5ab
CY
27442011-08-21 Chong Yidong <cyd@stupidchicken.com>
2745
ff98b2dd
CY
2746 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2747
23a8a5ab
CY
2748 * emacs-lisp/find-func.el (find-function-noselect): New arg
2749 lisp-only.
2750
2751 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2752 signal an error for built-in functions (Bug#6664).
2753
f5e3c598
LMI
27542011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2755
2756 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2757 (smtpmail-try-auth-methods): Use it.
2758
a3f2468a
CY
27592011-08-21 Chong Yidong <cyd@stupidchicken.com>
2760
2c34e8da
CY
2761 * font-lock.el (font-lock-fontify-region)
2762 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2763 (font-lock-default-unfontify-buffer)
2764 (font-lock-default-fontify-region)
2765 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2766
b3fd59bd
SM
2767 * progmodes/compile.el (compilation-error-properties):
2768 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2769 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2770 `ant' regexp.
ee31aabc 2771
a3f2468a
CY
2772 * net/browse-url.el (browse-url-firefox): Don't call
2773 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2774
8e999f70
GM
27752011-08-20 Glenn Morris <rgm@gnu.org>
2776
c21a496a
GM
2777 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2778
59ee0542
GM
2779 * tutorial.el (tutorial--default-keys): Update some default bindings.
2780
8e999f70
GM
2781 * files.el (hack-local-variables): Fully ignore case for "mode:".
2782
e3715033
AM
27832011-08-20 Alan Mackenzie <acm@muc.de>
2784
2785 Resolve invalid use of a regexp in regexp-opt.
2786
4d61f28d
JB
2787 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2788 detection for a java annotation.
e3715033 2789
4d61f28d 2790 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2791 detection for a java annotation.
2792
4d61f28d
JB
2793 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2794 handling for java.
e3715033
AM
2795 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2796
04ed2e9c
CY
27972011-08-20 Chong Yidong <cyd@stupidchicken.com>
2798
2799 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2800 (Bug#9274).
2801
826cee64
AM
28022011-08-20 Alan Mackenzie <acm@muc.de>
2803
58179cce 2804 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
2805 such a construct. Mainly for when jit-lock etc. starts a chunk
2806 here.
2807
58179cce 2808 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 2809 variable.
58179cce 2810 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
2811 c-make-font-lock-search-function.
2812 (c-make-font-lock-search-function): Use the above function.
2813 (c-make-font-lock-context-search-function): New function.
2814 (c-cpp-matchers): Enhance the preprocessor expression case with
2815 the above function
2816 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2817 which takes an expression.
2818
2819 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2820
13009bd8
MR
28212011-08-20 Martin Rudalics <rudalics@gmx.at>
2822
2823 * window.el (display-buffer-reuse-window)
2824 (display-buffer-pop-up-window): Don't reuse or split a side
2825 window.
2826
9234ff7f
GM
28272011-08-19 Glenn Morris <rgm@gnu.org>
2828
2829 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2830 Downcase "Mode:". (Bug#9331)
9234ff7f 2831
f635daa1
CY
28322011-08-18 Chong Yidong <cyd@stupidchicken.com>
2833
2834 * international/characters.el: Add L and R categories.
2835
2836 * subr.el (bidi-string-mark-left-to-right): Rename from
2837 string-mark-left-to-right. Use category search.
2838
2839 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2840
bc987f8b
JL
28412011-08-18 Juri Linkov <juri@jurta.org>
2842
2843 * faces.el (error, warning, success): New faces with definitions
2844 copied from old default values of `font-lock-warning-face',
2845 `compilation-warning', `compilation-info' (bug#6117).
2846
2847 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2848
2849 * progmodes/compile.el (compilation-error): Inherit from `error'.
2850 (compilation-warning): Inherit from `warning'.
2851 (compilation-info): Inherit from `success'.
2852
2853 * dired.el (dired-marked): Inherit from `warning'.
2854 (dired-flagged): Inherit from `error'.
2855
57173b96
LMI
28562011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2857
3e79eb87
LMI
2858 * mail/smtpmail.el (auth-source): Require to avoid problems with
2859 binding variables (bug#9298). Also clean up some unused
2860 autoloads.
2861
b3fd59bd
SM
2862 * net/network-stream.el (network-stream-open-starttls):
2863 Support using starttls.el without using gnutls-cli.
57173b96 2864
02b404de
JL
28652011-08-17 Juri Linkov <juri@jurta.org>
2866
2867 * progmodes/grep.el (rgrep): Handle the case when
2868 `grep-find-command' is a cons cell (bug#9278).
2869
8c9177f2
MR
28702011-08-17 Martin Rudalics <rudalics@gmx.at>
2871
2872 * window.el (display-buffer-pop-up-frame): Run frame creation
2873 function with BUFFER current (as special-display-popup-frame
2874 does). Reported by Drew Adams.
2875
3644a0ab
DU
28762011-08-17 Daiki Ueno <ueno@unixuser.org>
2877
2878 * epa-mail.el: Simplify GnuPG group expansion using
2879 epg-expand-group.
2880 (epa-mail-group-alist, epa-mail-group-modtime)
2881 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2882 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2883 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2884 Remove.
2885
5e617bc2 28862011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2887
2888 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2889
9c4aeabf
AM
28902011-08-16 Alan Mackenzie <acm@muc.de>
2891
2892 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2893 Correct, to avoid the inside of macros.
2894
3a99bf64
RS
28952011-08-16 Richard Stallman <rms@gnu.org>
2896
04963aa8
RS
2897 * epa-mail.el: Handle GnuPG group definitions.
2898 (epa-mail-group-alist, epa-mail-group-modtime)
2899 (epa-mail-gnupg-conf-file): New variables.
2900 (epa-mail-parse-groups, epa-mail-sync-groups)
2901 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2902 (epa-mail-expand-recipients): New functions.
2903 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2904
177549d0
RS
2905 * mail/rmail.el (rmail-epa-decrypt): New command.
2906
fe38beef
RS
2907 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2908 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2909 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2910 (epa-decrypt-armor-in-region): Make error message clearer.
2911
934eacb9
SM
29122011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2913
2914 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2915 and "a2b" to "ab" for `prefix'.
2916
d024fb4e
CY
29172011-08-14 Chong Yidong <cyd@stupidchicken.com>
2918
2919 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2920 filter groups.
de148fee
CY
2921 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2922 Fourquet (Bug#8804).
d024fb4e 2923
62f1ca49
JB
29242011-08-12 Juanma Barranquero <lekktu@gmail.com>
2925
2926 * startup.el (argi): Declare as global variable (bug#9275).
2927
9ccaaa4b
CY
29282011-08-12 Chong Yidong <cyd@stupidchicken.com>
2929
2930 * subr.el (string-mark-left-to-right): Search the entire string
2931 for RTL script, not just the terminating character. Doc fix.
2932
a3dae87a
SM
29332011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2934
6cd18349
SM
2935 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2936 New function.
2937 (js--regexp-literal, js-syntax-propertize-function): Remove.
2938 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2939 (js-mode-map): Don't rebind electric keys.
2940 (js-insert-and-indent): Remove.
2941 (js-mode): Setup electric-layout and electric-indent instead.
2942
a3dae87a
SM
2943 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2944
9d5cb631
DU
29452011-08-12 Daiki Ueno <ueno@unixuser.org>
2946
2947 * epa.el (epa-progress-callback-function): Fix the logic of
2948 displaying progress.
2949 * epa-file.el (epa-file-insert-file-contents): Make progress
2950 display more user-friendly.
2951 (epa-file-write-region): Ditto.
2952
3e26a4a2
CY
29532011-08-10 Chong Yidong <cyd@stupidchicken.com>
2954
2955 * subr.el (string-mark-left-to-right): New function.
2956
2957 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2958 Use string-mark-left-to-right.
2959 (list-buffers-noselect): Caller changed.
2960
a3dae87a
SM
2961 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2962 Use string-mark-left-to-right.
3e26a4a2
CY
2963 (tabulated-list-print): Recenter after moving point.
2964
ac8cf6e6
JL
29652011-08-10 Juri Linkov <juri@jurta.org>
2966
2967 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2968 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2969 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2970
8d96c9a4
CY
29712011-08-09 Chong Yidong <cyd@stupidchicken.com>
2972
2973 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2974 (Bug#7554).
2975
7be1c708 29762011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2977
2978 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2979 character. (Bug#6594)
2980
37e11a63
CY
29812011-08-08 Chong Yidong <cyd@stupidchicken.com>
2982
839dde57
CY
2983 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2984 (image-dired--with-db-file): New macro.
2985 (image-dired-write-tags, image-dired-remove-tag)
2986 (image-dired-create-gallery-lists, image-dired-write-comments)
2987 (image-dired-get-comment, image-dired-mark-tagged-files)
2988 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2989 (image-dired-gallery-generate): Use insert-file-contents.
2990
37e11a63
CY
2991 * time.el (display-time-world-list, display-time-world-display):
2992 * time-stamp.el (time-stamp-string):
2993 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2994 set-time-zone-rule (Bug#7337).
2995
0b4946c4
DU
29962011-08-08 Daiki Ueno <ueno@unixuser.org>
2997
2998 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2999 (epg-error-to-string, epg-errors-to-string): New function.
3000 (epg-wait-for-completion): Reverse errors list.
3001 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3002 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3003 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3004 (epg-sign-keys, epg-generate-key-from-file)
3005 (epg-generate-key-from-string): Format errors by using
3006 epg-errors-to-string (bug#9255).
3007 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3008
75bfc667
JL
30092011-08-07 Juri Linkov <juri@jurta.org>
3010
3011 * faces.el (list-faces-display): Remove extra angle bracket
3012 from `help-mode-map'.
3013
3014 * info.el (Info-history-toc-nodes): Doc fix.
3015
3016 * longlines.el (longlines-mode): Doc fix.
3017
673e08bb
SM
30182011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3019
4640dd88
SM
3020 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3021 of statements and in a few more cases (bug#9183).
3022
673e08bb
SM
3023 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3024 New functions.
3025 (cl-transform-lambda): Use them (bug#9239).
3026
89b3f019
MR
30272011-08-05 Martin Rudalics <rudalics@gmx.at>
3028
3029 * window.el (display-buffer-same-window)
3030 (display-buffer-same-frame, display-buffer-other-window)
3031 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3032 (pop-to-buffer-other-window)
3033 (pop-to-buffer-same-frame-other-window)
3034 (pop-to-buffer-other-frame): Make them defuns.
3035 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3036
640c8776
SM
30372011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3038
3039 * subr.el (make-composed-keymap): Move from C. Change calling
3040 convention, and improve docstring to bring attention to a subtle point.
3041 * minibuffer.el (completing-read-default): Adjust accordingly.
3042
63648a95
MA
30432011-08-03 Michael Albinus <michael.albinus@gmx.de>
3044
3045 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3046 (tramp-open-shell): Use `tramp-shell-quote-argument'.
3047
3048 * net/trampver.el: Update release number.
3049
b796c9b7
SM
30502011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3051
3052 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3053 "in" (bug#9190).
3054
2239d7d5
LMI
30552011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3056
e07dd7c3
LMI
3057 * mail/sendmail.el (sendmail-query-once): Restore the current
3058 buffer after querying (bug#9074).
3059
0e6a2bd7
LMI
3060 * dired.el (dired-flagged): Use different faces for marked and
3061 flagged files (bug#6117).
3062
ce887515
LMI
3063 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3064 (bug#4433).
3065
92f2affc
LMI
3066 * ido.el (ido-mode): Switch off the message if called
3067 non-interactively.
3068
57d5aff0
LMI
3069 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3070 before 587, since it appears that that's more likely to work for
3071 more people.
3072
98cd6c18 3073 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 3074 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
3075 exist.
3076
b96dec83
LMI
3077 * info.el: Remove the `Info-beginning-of-buffer' function
3078 (bug#8325).
3079
b796c9b7
SM
3080 * net/network-stream.el (network-stream-open-starttls):
3081 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 3082
d90e2ea0
MR
30832011-08-01 Martin Rudalics <rudalics@gmx.at>
3084
3085 * window.el (display-buffer-in-window): Don't set dedicated status
3086 of window here (Bug#9215).
3087 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3088 (display-buffer-pop-up-side-window)
b796c9b7 3089 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 3090
cca09170
SM
30912011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3094 before binding generated-autoload-file.
3095
027b979c
DD
30962011-08-01 Deniz Dogan <deniz@dogan.se>
3097
3098 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3099
3c7ee4f3
MA
31002011-07-30 Michael Albinus <michael.albinus@gmx.de>
3101
3102 Sync with Tramp 2.2.2.
3103
3104 * net/trampver.el: Update release number.
3105
2cc8e51a
JL
31062011-07-30 Juri Linkov <juri@jurta.org>
3107
3108 * dired-aux.el (dired-touch-initial): Remove function.
3109 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3110 current time, and `default' to the last modification time of the
3111 current marked file (bug#6887).
3112
a514d856
JM
31132011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3114
3115 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 3116 numeric argument to read-number (bug#9163).
a514d856 3117
8a7eddd7
MA
31182011-07-27 Michael Albinus <michael.albinus@gmx.de>
3119
3120 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3121 connection process, it could be nil.
3122
1ddd96f5
LL
31232011-07-27 Leo Liu <sdl.web@gmail.com>
3124
3125 Simplify url handling in rcirc-mode.
3126
3127 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3128 (rcirc-browse-url-at-mouse): Remove.
3129 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3130
b248a85d
AM
31312011-07-26 Alan Mackenzie <acm@muc.de>
3132
3133 Fontify bitfield declarations properly.
3134
3135 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3136 (c-symbol-chars): Now exported as a lang variable.
3137 (c-not-primitive-type-keywords): New lang variable.
3138
3139 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3140 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 3141 parsed as a bitfield declaration.
b248a85d 3142
b796c9b7
SM
3143 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3144 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
3145 (c-punctuation-in): New function.
3146 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3147 declarations properly.
3148
68575ab0
UJ
31492011-07-26 Ulf Jasper <ulf.jasper@web.de>
3150
3151 * calendar/icalendar.el (icalendar--all-events): Take care of
3152 multiple vcalendars in a single file.
b796c9b7 3153 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 3154
0f0a88b9
DD
31552011-07-25 Deniz Dogan <deniz@dogan.se>
3156
3157 * image.el (insert-image): Clarifying docstring.
3158
0b3f36df
MA
31592011-07-24 Michael Albinus <michael.albinus@gmx.de>
3160
3161 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3162 `tramp-send-command-and-check' if there is no error.
3163 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3164
a9901f61
AM
31652011-07-22 Alan Mackenzie <acm@muc.de>
3166
3167 Prevent cc-langs.elc being loaded at run time.
3168
3169 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3170 cc-langs.
3171
4d61f28d 3172 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
3173 "(require 'cc-langs)". Quote a form so it will evaluate at
3174 (cc-mode's) compilation time.
3175
11d074b2
MA
31762011-07-22 Michael Albinus <michael.albinus@gmx.de>
3177
3178 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3179 loading. (Bug#9114)
3180
938b94c8
MR
31812011-07-21 Martin Rudalics <rudalics@gmx.at>
3182
3183 * window.el (display-buffer-pop-up-window)
3184 (display-buffer-pop-up-side-window)
3185 (display-buffer-in-side-window): Call display-buffer-set-height
3186 and display-buffer-set-width after setting the new window's
b796c9b7 3187 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 3188
bfa4f190
SS
31892011-07-20 Sam Steingold <sds@gnu.org>
3190
3191 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3192 (etags-tags-included-tables): Call `convert-standard-filename' on
3193 the file names contained in TAGS so that windows Emacs can handle
3194 TAGS files created by cygwin ctags.
3195
8ca42262
LMI
31962011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3197
3198 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3199 which apparently didn't work.
3200
5db2afd2 32012011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 3202
5db2afd2
RW
3203 * proced.el (proced-send-signal): For *Marked Processes* buffer
3204 put point at beginning of buffer.
3205
92e15d10
SB
32062011-07-19 Stephen Berman <stephen.berman@gmx.net>
3207
3208 * proced.el (proced-format): Make header lines align with the text
3209 (bug#1779).
3210
1bfd59e5
LMI
32112011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3212
3213 * view.el (view-buffer): Allow running in `special' modes if we're
3214 visiting a file (bug#8615).
3215
f5aae37c
MR
32162011-07-19 Martin Rudalics <rudalics@gmx.at>
3217
3218 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
3219 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3220 New functions.
f5aae37c
MR
3221 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3222 more accurately.
3223
bf2c1571
AM
32242011-07-18 Alan Mackenzie <acm@muc.de>
3225
3226 Fontify declarators properly when, e.g., a jit-lock chunk begins
3227 inside a declaration.
3228
3229 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3230
b796c9b7
SM
3231 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3232 New function.
bf2c1571
AM
3233 (c-complex-decl-matchers): Insert reference to
3234 c-font-lock-enclosing-decls.
3235
3236 * progmodes/cc-engine.el (c-backward-single-comment):
3237 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3238 to nil around calls to (forward-comment -1).
3239
4e190b80
LMI
32402011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3241
12dc863d
LMI
3242 * image.el (put-image): Doc typo fix.
3243
a762e966
LMI
3244 * progmodes/etags.el (tags-search): Doc typo fix.
3245
4e190b80
LMI
3246 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3247 password if we get errors 550 to 554.
3248
f019fb21
LMI
32492011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3250
b796c9b7 3251 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 3252
81746738
LMI
3253 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3254 indentation character (bug#6380).
3255
3ee3a1b5
LMI
3256 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3257
c82f64de
LMI
3258 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3259 to clarify what the problem is (bug#4291).
3260
f019fb21
LMI
3261 * simple.el (current-kill): Clarify what
3262 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
3263 (auto-fill-mode): Document `auto-fill-function' in relation to
3264 `auto-fill-mode' (bug#2470).
f019fb21 3265
0794775d
LM
32662011-07-16 Lawrence Mitchell <wence@gmx.li>
3267
3268 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3269 method if slot is read-only (bug#9035).
3270
be39b8cc
MR
32712011-07-16 Martin Rudalics <rudalics@gmx.at>
3272
b796c9b7 3273 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 3274 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
3275 selected before, see discussion of (Bug#8615), (Bug#6954).
3276 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 3277
6ccf7859
GM
32782011-07-15 Glenn Morris <rgm@gnu.org>
3279
3280 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 3281 Respect help-form.
6ccf7859 3282
87e86684
LM
32832011-07-09 Lawrence Mitchell <wence@gmx.li>
3284
3285 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3286 (gnutls-negotiate): Use it.
3287
d6066239
LMI
32882011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3289
b796c9b7
SM
3290 * net/gnutls.el (gnutls-negotiate):
3291 Upcase `gnutls-algorithm-priority'.
d6066239 3292
bd23ebc0
GM
32932011-07-15 Glenn Morris <rgm@gnu.org>
3294
c65bca65
GM
3295 * jka-compr.el (jka-compr-verbose): Move from here...
3296 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3297 Add missing :version tag.
3298 * info.el: No need to require jka-compr when compiling.
bd23ebc0 3299
478615cc
LMI
33002011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3301
7b41decb
LMI
3302 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3303 (gnutls-negotiate): Use it.
3304
dbc44fcd
LMI
3305 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3306
06789f97
LMI
3307 * info.el (Info-beginning-of-buffer): New command.
3308 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3309 announcing `b' as the key (bug#8325).
ab896c37 3310 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 3311
c39da690
LMI
3312 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3313
3aa5f34b
LMI
3314 * international/mule-cmds.el
3315 (describe-specified-language-support): Make the error message
3316 clearer (bug#8905).
3317
4bf0979f
LMI
3318 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3319
478615cc
LMI
3320 * isearch.el (isearch-barrier): Add a doc string, since it's
3321 mentioned in a function doc string (bug#8678).
3322
75c68aa1
MR
33232011-07-15 Martin Rudalics <rudalics@gmx.at>
3324
3325 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3326 buffer argument (Bug#9083) and self-identifying label argument.
3327
a7c33da2
GM
33282011-07-15 Glenn Morris <rgm@gnu.org>
3329
3330 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3331
2f5c6024
LMI
33322011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3333
3334 * man.el (Man-fontify-manpage): Fix message when formatting the
3335 man page (bug#7929).
3336
0bb23927 33372011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
3338
3339 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3340 argument LRM; if non-nil, append an invisible LRM character to the
3341 buffer name.
3342 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3343 last argument non-nil, when formatting buffer names.
0bb23927
EZ
3344 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3345 paragraph direction.
cce4b0a7 3346
621ef9ab
LMI
33472011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3348
d1583c48
LMI
3349 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3350 the man page name (bug#7929).
3351
6a57fb5f
LMI
3352 * image.el (put-image): Mention the `put-image' overlay property
3353 (bug#7834).
3354
d7956b14
LMI
3355 * scroll-bar.el (set-scroll-bar-mode): Mention that
3356 `scroll-bar-mode' lists the values (bug#7772).
3357
5b2d4a66
LMI
3358 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3359 command (bug#7729).
3360
7509a874
LMI
3361 * rect.el (apply-on-rectangle): Return the point after the last
3362 operation.
3363 (string-rectangle): Go to the point after the last operation
3364 (bug#7522).
3365
4fe74b19
LMI
3366 * printing.el (pr-toggle-region): Clarify the documentation
3367 slightly (bug#7493).
3368
b796c9b7
SM
3369 * time.el (display-time-update):
3370 Allow `display-time-mail-function' to return nil (bug#7158).
3371 Fix suggested by Detlev Zundel.
ab283561 3372
fc233c9d
LMI
3373 * vc/diff.el (diff): Clarify the order the file names are read
3374 (bug#7111).
3375
43f5740b
LMI
3376 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3377 the doc string (bug#7015).
3378
f2182a76
LMI
3379 * font-lock.el (font-lock-maximum-decoration): Mention what
3380 numeric levels mean (bug#6935).
3381
621ef9ab
LMI
3382 * startup.el (initial-buffer-choice): Don't mention the `none'
3383 selection, which is against policy.
3384
adc47434
MR
33852011-07-14 Martin Rudalics <rudalics@gmx.at>
3386
b796c9b7
SM
3387 * window.el (display-buffer-normalize-special):
3388 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 3389
7e5bfb8f
EZ
33902011-07-14 Eli Zaretskii <eliz@gnu.org>
3391
3392 * subr.el (version<, version<=, version=): Mention "-CVS" and
3393 "-12345" alpha version numbers.
3394
27fa387a
CY
33952011-07-14 Chong Yidong <cyd@stupidchicken.com>
3396
3397 * bindings.el: Add advertised binding for set-mark-command
3398 (Bug#5772).
3399
8bdfa064
CY
34002011-07-14 Chong Yidong <cyd@stupidchicken.com>
3401
3402 * bindings.el (mode-line-other-buffer):
3403 * bookmark.el (bookmark-bmenu-2-window):
3404 * bs.el (bs-cycle-next, bs-cycle-previous):
3405 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3406 switch-to-buffer.
3407
3408 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 3409 Delete.
8bdfa064 3410
5eba16a3
JB
34112011-07-14 Juanma Barranquero <lekktu@gmail.com>
3412
3413 * follow.el (follow-debug-message, follow-redisplay):
3414 * jka-cmpr-hook.el (with-auto-compression-mode):
3415 Fix typos in docstrings.
3416
15853710
LMI
34172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3418
a28e4607
LMI
3419 * subr.el (with-silent-modifications): Clarify somewhat what the
3420 macro inhibits (bug#6525).
3421
15853710
LMI
3422 * simple.el (eval-expression): Note what it does if called
3423 interactively (bug#6495).
3424
bee0fcef
CY
34252011-07-13 Chong Yidong <cyd@stupidchicken.com>
3426
b796c9b7
SM
3427 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3428 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
3429
3430 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3431 Remove switch-to-buffer.
3432
58274504
LMI
34332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3434
bd2fcc8d
LMI
3435 * files.el (make-directory): Clarify that an error will be raised
3436 if there's an error (bug#6397).
3437
0f04b32c
LMI
3438 * startup.el (initial-buffer-choice): Add `none' as a choice
3439 (bug#6234).
3440
465c5fc8
LMI
3441 * subr.el (add-hook): Clarify section about buffer-local hooks
3442 (bug#6218).
3443
58274504
LMI
3444 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3445
bead9a43
JB
34462011-07-13 Juanma Barranquero <lekktu@gmail.com>
3447
3448 * tabify.el (untabify): Preserve the current column so that point
3449 doesn't move (bug#6032).
3450
3af98a7b
LMI
34512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3452
b796c9b7
SM
3453 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3454 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3455
6240145a
GM
34562011-07-13 Glenn Morris <rgm@gnu.org>
3457
3458 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3459 (dired-insert-directory): Give a message the first time
3460 if ls is found not to support --dired.
3461
1d8c2ccc
LMI
34622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3463
3464 * simple.el (toggle-truncate-lines): Clarify what is toggled
3465 (bug#5580). Text by Drew Adams.
3466
5fc4038e
CY
34672011-07-13 Chong Yidong <cyd@stupidchicken.com>
3468
3469 * simple.el (blink-matching-open): Make the error message from the
3470 last change less verbose.
3471
bf6012e5
DN
34722011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3473
3474 * font-lock.el (font-lock-comment-face): Use the high contrast
3475 "yellow" color for font-lock-comment-face on low color terminals
3476 using a dark background color (bug#4221).
3477
343c3b5a
LMI
34782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3479
7e9505c5
LMI
3480 * dired.el (dired-insert-set-properties): Make the doc string
3481 reflect what it does now (bug#5325).
3482
c26fdcf5
LMI
3483 * simple.el (blink-matching-open): Say that we were unable to find
3484 the match within the limit, if we're limited (bug#5122).
3485
bb388cc5
LMI
3486 * international/mule-cmds.el (prefer-coding-system): Add an
3487 example (bug#4869).
3488
343c3b5a
LMI
3489 * progmodes/etags.el (tags-search): Document `file-list-form'
3490 (bug#4731).
3491
2a517d45
LM
34922011-07-13 Lawrence Mitchell <wence@gmx.li>
3493
3494 * net/browse-url.el (browse-url-default-browser)
3495 (browse-url-browser-function): Make the default browser choice a
3496 bit more logical (bug#4300). Also clean up the doc string.
3497
b6c78ef2
JB
34982011-07-13 Juanma Barranquero <lekktu@gmail.com>
3499
3500 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3501 binary endings (bug#4440).
3502
1c4dd947
LMI
35032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3504
a2014063
LMI
3505 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3506 which can be pretty annoying (bug#8971).
3507
9c9c2d88
LMI
3508 * jka-compr.el (jka-compr-verbose): New variable, and use
3509 throughout (bug#8971).
3510
1c4dd947
LMI
3511 * info.el (Info-find-file): Fall back on the installation
3512 directory if we can't find the info node anywhere else.
3513
a1c9f41b
SO
35142011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3515
3516 * vc/vc.el (vc-revert-file):
3517 Don't set file time-stamp in the past. (Bug#5181)
3518
536f3d36
LMI
35192011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3520
7152b011
LMI
3521 * files.el (after-find-file): Give a better error message when
3522 trying to find a symlink that points to a file that doesn't exist
3523 (bug#4398).
3524
536f3d36
LMI
3525 * progmodes/cc-vars.el: Remove (probably) misleading comment
3526 (bug#4396).
3527
460c0fba
JB
35282011-07-12 Johan Bockgård <bojohan@gnu.org>
3529
3530 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3531
7a6bda45
CY
35322011-07-12 Chong Yidong <cyd@stupidchicken.com>
3533
3534 * mouse-sel.el: Hack restoring functionality, while keeping
3535 compatibility with 2010-07-03 changes to mouse selection.
3536 (mouse-sel-primary-overlay): New var.
3537 (mouse-sel-selection-alist): Use it.
3538 (mouse-sel-mode): Doc fix; remove points that are default features
3539 of mouse.el.
3540
c79598ef
JB
35412011-07-12 Johan Bockgård <bojohan@gnu.org>
3542
3543 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3544 Fix previous fix (bug#2490).
3545
ff8be6ef
RW
35462011-07-12 Roland Winkler <winkler@gnu.org>
3547
b796c9b7
SM
3548 * textmodes/bibtex.el (bibtex-initialize):
3549 Use pop-to-buffer-same-window.
ff8be6ef
RW
3550 (bibtex-search-entries): Fix interactive call.
3551
296ba3ee
LMI
35522011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3553
f5242a02 3554 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3555 Fontise bytecomp Error lines more correctly (bug#2490).
3556 Fix suggested by Johan Bockgård.
f5242a02 3557
296ba3ee
LMI
3558 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3559
3560 * dired-x.el (dired-guess-default): Use `delete-dups'.
3561
f69fd0d2
CY
35622011-07-12 Chong Yidong <cyd@stupidchicken.com>
3563
3564 * dired.el (dired-mark-prompt):
3565 * dired-aux.el (dired-read-shell-command): Doc fix.
3566
eab5dc07
LMI
35672011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3568
b796c9b7
SM
3569 * mail/sendmail.el (sendmail-query-once):
3570 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3571 emacs -Q.
3572
3573 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3574
eab5dc07
LMI
3575 * cus-edit.el (custom-file): Take an optional no-error variable.
3576 (customize-save-variable): Set the variable, and give a warning if
3577 running under "emacs -q".
3578
a1e65d42
JB
35792011-07-11 Juanma Barranquero <lekktu@gmail.com>
3580
3581 * loadhist.el (unload-feature-special-hooks):
3582 Add `auto-coding-functions', `fill-nobreak-predicate' and
3583 `find-directory-functions' (bug#5327).
3584
1d52da10
LMI
35852011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3586
be958f1d
LMI
3587 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3588
5bedb26c
LMI
3589 * cus-edit.el (custom-guess-name-alist): -alist variables should
3590 use the `alist' type (bug#3120). Suggested by Drew Adams.
3591
1d52da10
LMI
3592 * printing.el: Add documentation to all the `pr-toggle-' commands.
3593
481a51b6
LL
35942011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3595
3596 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3597 backends where it makes sense (bug#2623).
3598
dcc88d8a
LMI
35992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3600
c3de9feb
LMI
3601 * dired-x.el (dired-guess-default): Remove duplicate shell command
3602 entries (bug#2028).
8a93078b 3603 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3604 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3605
dcc88d8a
LMI
3606 * subr.el (remove-duplicates): New conveniency function.
3607
505e3645
LMI
36082011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3609
3610 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3611 (bug#1526).
3612
36132011-07-10 Martin Rudalics <rudalics@gmx.at>
3614
3615 * window.el (display-buffer-normalize-default): Don't invert
3616 meaning of even-window-heights. Reported by Eli Zaretskii
3617 <eliz@gnu.org>.
3618
455e4fa1
BR
36192011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3620
3621 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3622
8e0bc3e9
CY
36232011-07-10 Chong Yidong <cyd@stupidchicken.com>
3624
3625 * window.el (display-buffer): Fix arguments to
3626 display-buffer-reuse-window in last change.
3627
fa7c3228
CY
3628 * faces.el (link): Use a less saturated blue on light backgrounds.
3629
3630 * startup.el (fancy-startup-text, fancy-about-text)
3631 (fancy-startup-tail): Use font-lock faces, for background safety.
3632
c0a7f300
BN
36332011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3634
b796c9b7
SM
3635 * emulation/viper-cmd.el (viper-change-state-to-vi):
3636 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3637
4dc2a129
MR
36382011-07-09 Martin Rudalics <rudalics@gmx.at>
3639
3640 * window.el (display-buffer-default-specifiers): Remove.
3641 (display-buffer-macro-specifiers): Remove default specifiers.
3642 (display-buffer-alist): Default to nil.
b796c9b7 3643 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3644 (display-buffer-pop-up-window): Allow splitting internal
3645 windows. Check whether a live window was created.
3646 (display-buffer-other-window-means-other-frame)
3647 (display-buffer-normalize-arguments): Rename to
3648 display-buffer-normalize-argument and rewrite. Set the
3649 other-window specifier.
3650 (display-buffer-normalize-special): New function.
3651 (display-buffer-normalize-options): Rename to
3652 display-buffer-normalize-default and rewrite.
3653 (display-buffer-normalize-options-inhibit): Remove.
3654 (display-buffer-normalize-specifiers): Rewrite.
3655 (display-buffer): Process other-window specifier and call
3656 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3657 more faithfully.
b796c9b7 3658 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3659 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3660 (display-buffer-in-window, display-buffer-alist-set):
3661 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3662 <tassilo@member.fsf.org>.
3663
2d43b8c9
LL
36642011-07-09 Leo Liu <sdl.web@gmail.com>
3665
3666 * register.el (insert-register): Restore accidental change on
3667 2011-06-26. (Bug#9028)
3668
7f9b7c53
GM
36692011-07-09 Glenn Morris <rgm@gnu.org>
3670
3671 * subr.el (remq): Handle the empty list. (Bug#9024)
3672
f042cfd8
AS
36732011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3674
3675 * mail/sendmail.el (send-mail-function): No longer delay custom
3676 initialization.
3677 * custom.el (custom-initialize-delay): Doc fix.
3678
856b2f11
SM
36792011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3682
afae1d68
MA
36832011-07-08 Michael Albinus <michael.albinus@gmx.de>
3684
3685 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3686 human-friendly prompt.
3687
0757af94
SM
36882011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3689
3690 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3691 provided by a particular plugin.
3692
d760b731
LMI
36932011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3694
3695 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3696 save customizations (with "emacs -Q"), just set the variable
3697 instead of erroring out.
3698
3699 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3700
cd79ce90
JL
37012011-07-08 Juri Linkov <juri@jurta.org>
3702
3703 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3704 (archive-zip-update-case): Use 7z if found by `executable-find'.
3705 The order of searching the available programs is the same as in
3706 `archive-zip-extract' (bug#8968).
3707
14cc04aa
CY
37082011-07-07 Chong Yidong <cyd@stupidchicken.com>
3709
3710 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3711 (menu-bar-options-menu): Tweak descriptions.
3712
0a1848ec
LMI
37132011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3714
3715 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3716 menu items into verb phrases (bug#1421). Also refill to fit under
3717 80 columns.
3718
f5bd0689
CY
37192011-07-07 Chong Yidong <cyd@stupidchicken.com>
3720
538e85c6
CY
3721 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3722 (Info-read-node-name): Doc fix (Bug#1084).
3723
f5bd0689
CY
3724 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3725 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3726 (end-of-sexp, beginning-of-sexp)
3727 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3728 (forward-symbol, forward-same-syntax, word-at-point)
3729 (sentence-at-point): Doc fix (Bug#1144).
3730
56ec5115
LMI
37312011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3732
f3f8e37f
LMI
3733 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3734 should cover it (bug#1281).
3735
0757af94 3736 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3737
12b9eb35
LMI
3738 * net/network-stream.el (network-stream-open-starttls): If gnutls
3739 negotiation fails, then possibly try again with a non-encrypted
3740 connection (bug#9017).
3741
56ec5115
LMI
3742 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3743 be used.
3744
c2f9aec8
RS
37452011-07-07 Richard Stallman <rms@gnu.org>
3746
3747 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3748 property, and handle its changed format.
3749 Look for the correct line number.
3750 Use file's line contents (but not past first =) to find
3751 correct line in message.
3752
ef7b981d 37532011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3754
3755 * international/characters.el (build-unicode-category-table):
3756 Delete it.
0757af94 3757 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3758
0757af94 3759 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3760 to src/chartab.c.
3761 (get-char-code-property): Call unicode-property-table-internal to
3762 load a file. Call get-unicode-property-internal where necessary.
3763 (put-char-code-property): Call unicode-property-table-internal to
3764 load a file. Call put-unicode-property-internal where necessary.
3765 put-unicode-property-internal where necessary.
0757af94
SM
3766 (char-code-property-description):
3767 Call unicode-property-table-internal to load a file.
c805dec0
KH
3768
3769 * international/charprop.el:
3770 * international/uni-bidi.el:
3771 * international/uni-category.el:
3772 * international/uni-combining.el:
3773 * international/uni-comment.el:
3774 * international/uni-decimal.el:
3775 * international/uni-decomposition.el:
3776 * international/uni-digit.el:
3777 * international/uni-lowercase.el:
3778 * international/uni-mirrored.el:
3779 * international/uni-name.el:
3780 * international/uni-numeric.el:
3781 * international/uni-old-name.el:
3782 * international/uni-titlecase.el:
3783 * international/uni-uppercase.el: Regenerate.
3784
3785 * loadup.el: Load international/charprop.el before
3786 international/characters.
3787
e14b388a
CY
37882011-07-07 Chong Yidong <cyd@stupidchicken.com>
3789
3790 * window.el (next-buffer, previous-buffer): Signal an error if
3791 called from a minibuffer window.
3792
3793 * bindings.el: Revert 2011-07-04 change.
3794
354cf0ba
RS
37952011-07-06 Richard Stallman <rms@gnu.org>
3796
3797 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3798 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3799 Treat markers like ints.
3800 (rmail-mime-entity): Doc fix.
3801
a48868a7
LMI
38022011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3803
4906cd3d
LMI
3804 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3805 defcustom again for backwards compatibility.
3806
e0457abe
LMI
3807 * simple.el (shell-command-on-region): Fill.
3808
d67f7e1f
LMI
3809 * dired-aux.el (dired-kill-line): Add a doc string.
3810
fe204702
LMI
3811 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3812 to "\\sw\\|\\s_" (bug#358).
3813
a48868a7
LMI
3814 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3815 (dired-unmark-backward): Ditto.
3816 (dired-flag-backup-files): Ditto.
3817
3818 * dired-x.el (dired-mark-sexp): Ditto.
3819
aa8a705c
RS
38202011-07-06 Richard Stallman <rms@gnu.org>
3821
3822 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3823 (rmail-mime-entity): New arg TRUNCATED.
3824 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3825 New functions.
3826 (rmail-mime-save): Warn if entity is truncated.
3827 (rmail-mime-toggle-hidden): Likewise, for showing.
3828 (rmail-mime-process-multipart): Record when an entity is truncated.
3829
a9a936b9
RS
3830 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3831 if ENTITY is a string.
3832
1f2b92cb
LMI
38332011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3834
f4f73198 3835 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3836 of faces when `M-C-x'-ing their definitions (bug#8378).
3837 Also clean up the code slightly.
f4f73198 3838
12b16734 3839 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 3840 because that makes the colors go away.
12b16734 3841
f0691d22
LMI
3842 * mail/sendmail.el (send-mail-function): Change the default to
3843 `sendmail-query-once'.
9e87df06 3844 (sendmail-query-once): Add an autoload cookie.
f0691d22 3845
1f2b92cb
LMI
3846 * net/network-stream.el (network-stream-open-starttls): Try using
3847 a plain connection even if the server offered STARTTLS, and we
3848 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3849 capability. This should make smtpmail.el work in slightly more
3850 configurations.
3851
1cdd2a1b
MA
38522011-07-06 Michael Albinus <michael.albinus@gmx.de>
3853
3854 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3855 New defun.
3856 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3857
fbcc67e2
MM
38582011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3859
3860 * progmodes/sql.el: Version 3.0
0757af94 3861 (sql-product-alist): Add product :completion-object,
fbcc67e2 3862 :completion-column, and :statement attributes.
0757af94 3863 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3864 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3865 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3866 ansi keywords.
3867 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3868 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3869 (sql-oracle-show-reserved-words): New function for development.
3870 (sql-product-font-lock): Simplify for source code buffers.
3871 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3872 New functions.
3873 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3874 (sql-mode-map): Add statement movement functions.
3875 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3876 New variable.
fbcc67e2
MM
3877 (sql-statement-regexp, sql-beginning-of-statement)
3878 (sql-end-of-statement, sql-signum): New functions.
0757af94 3879 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3880 (sql-show-sqli-buffer): Bug fix.
3881 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3882 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3883 with sql-interactive-mode.
3884 (sql-save-connection): Save buffer local settings.
0757af94 3885 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3886 (sql-product-interactive): Bug fix.
3887 (sql-preoutput-hold): New variable.
3888 (sql-interactive-remove-continuation-prompt): Bug fixes.
3889 (sql-debug-redirect): New variable.
3890 (sql-str-literal): New function.
3891 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3892 Redesign.
fbcc67e2
MM
3893 (sql-oracle-save-settings, sql-oracle-restore-settings)
3894 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3895 (sql-completion-object, sql-completion-column)
3896 (sql-completion-sqlbuf): New variables.
3897 (sql-build-completions-1, sql-build-completions)
3898 (sql-try-completion): New functions.
3899 (sql-read-table-name): Use them.
3900 (sql-contains-names): New buffer local variable.
3901 (sql-list-all, sql-list-table): Use it.
3902 (sql-oracle-completion-types): New variable.
3903 (sql-oracle-completion-object, sql-sqlite-completion-object)
3904 (sql-postgres-completion-object): New functions.
3905
d4eaeab1
GM
39062011-07-06 Glenn Morris <rgm@gnu.org>
3907
3908 * window.el (pop-to-buffer): Doc fix.
3909
322b7dab 39102011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3911
3912 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3913
322b7dab 39142011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3915
322b7dab 3916 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3917
322b7dab 3918 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3919
605dd5bf
CY
39202011-07-05 Chong Yidong <cyd@stupidchicken.com>
3921
3922 * button.el (button): Inherit from link face. Suggested by Dan
3923 Nicolaescu.
3924
7dbfa719
SM
39252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3926
3db614b0
SM
3927 * progmodes/gdb-mi.el: Fit in 80 columns.
3928 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3929 switch-to-buffer.
3930
7dbfa719
SM
3931 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3932 if imenu is simply not configured (bug#8941).
3933
919d884a
KM
39342011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3935
3936 * allout.el (allout-post-undo-hook): New allout outline-change
3937 event hook to signal undo activity.
3938 (allout-post-command-business): Run allout-post-undo-hook if an
3939 undo just occurred.
7dbfa719
SM
3940 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3941 * allout-widgets.el (allout-widgets-after-undo-function):
3942 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3943 in the vicinity of an undo.
3944 (allout-widgets-mode): Include allout-widgets-after-undo-function
3945 on the new allout-post-undo-hook.
3946
450a0f09
SM
39472011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3948
3949 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3950 Let define-derived-mode define it.
3951 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3952 cycles of abbrev-table inheritance (bug#8998).
3953
2de69e00
RW
39542011-07-05 Roland Winkler <winkler@gnu.org>
3955
3956 * textmodes/bibtex.el: Add support for biblatex.
3957 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3958 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3959 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3960 (bibtex-entry-alist, bibtex-field-alist): New variables.
3961 (bibtex-entry-field-alist): Obsolete alias for
3962 bibtex-BibTeX-entry-alist.
3963 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3964 (bibtex-set-dialect): New command.
3965 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3966 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3967 Bind via bibtex-set-dialect.
2de69e00
RW
3968 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3969 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3970 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3971 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3972 Define via bibtex-set-dialect.
450a0f09
SM
3973 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3974 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3975 (bibtex-vec-push, bibtex-vec-incr): New functions.
3976 (bibtex-format-entry, bibtex-field-list)
3977 (bibtex-print-help-message, bibtex-validate)
3978 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3979
2dcdbdd9
SM
39802011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3981
3982 * progmodes/compile.el (compilation-goto-locus):
3983 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3984 * bs.el (bs-cycle-next, bs-cycle-previous):
3985 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3986 * bindings.el (mode-line-other-buffer):
3987 * autoinsert.el (auto-insert):
3988 * arc-mode.el (archive-extract):
3989 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3990
b27640fe
JB
39912011-07-05 Juanma Barranquero <lekktu@gmail.com>
3992
3993 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3994 Fix check of `emacs-lock-unlockable-modes'.
3995 Coerce true values of `emacs-lock--try-unlocking' to t.
3996
53bbe3ad
JB
39972011-07-05 Juanma Barranquero <lekktu@gmail.com>
3998
3999 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4000 * emacs-lock.el: New file.
4001
1d3cdbc7
JD
40022011-07-05 Julien Danjou <julien@danjou.info>
4003
4004 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4005 than `boundp' to check if face is set.
4006
9173deec
JB
40072011-07-05 Juanma Barranquero <lekktu@gmail.com>
4008
4009 * register.el (registerv-make):
4010 * window.el (window-min-height): Fix typos in docstrings.
4011
869795d6
JD
40122011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4013
9173deec 4014 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
4015 Update doc string.
4016
b768cdcd
JB
40172011-07-04 Juanma Barranquero <lekktu@gmail.com>
4018
4019 * server.el (server-execute): Catch quit and call
4020 `server-return-error' to pass the error back to emacsclient and
4021 close the connection (bug#8942).
4022
13aa217b
KM
40232011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
4024
4025 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4026 insecure exception for current topic. Also note that auto-saves
4027 are handled differently.
4028
4029 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4030 State variables for tracking auto-save inhibition situation.
4031
4032 (allout-write-contents-hook-handler): Rename from
4033 'allout-write-file-hook-handler', and describe how it depends on
4034 write-contents-functions sensitivity to non-nil value to prevent
4035 file write.
4036
4037 (allout-auto-save-hook-handler): Remove. auto-save does not check
4038 this in individual buffers, only in the starting buffer, so this
4039 is not the right way for us to inhibit auto-save in a buffer
4040 according to its condition.
4041
4042 (allout-mode): Use new allout-write-contents-hook-handler, and
4043 only with write-contents-functions. Remove auto-save provisions -
4044 they're implemented elsewhere.
4045
4046 (allout-before-change-handler): If undo is in progress, note that
4047 for attention of allout-post-command-business.
4048
4049 (allout-post-command-business): If the command we're following was
4050 an undo, check for change in the status of encrypted items and
4051 adjust auto-save inhibitions accordingly.
4052
4053 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4054 according to whether there are or aren't any plain-text topics
4055 pending encryption.
4056
2dcdbdd9
SM
4057 (allout-inhibit-auto-save-info-for-decryption):
4058 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
4059 there are plain-text topics pending encryption.
4060
4061 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4062 buffer-saved-size and some allout state to not inhibit auto-saves
4063 if there are no longer any plain-text topics pending encryption.
4064
0757af94
SM
4065 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4066 No longer provide for exemption of the current topic.
13aa217b 4067
ac89b32c
JL
40682011-07-04 Juri Linkov <juri@jurta.org>
4069
4070 Add 7z operations to delete and save changed members (bug#8968).
4071 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4072 New defcustoms.
4073 (archive-7z-write-file-member): New function.
4074 (archive-7z-summarize): Fix the number of dashes in the
4075 listing output.
4076
8fa39615
SM
40772011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4080 (bug#8958).
4081
2f11b3f1
CY
40822011-07-04 Chong Yidong <cyd@stupidchicken.com>
4083
d66fef2b
CY
4084 * bindings.el: Ignore next-buffer and previous-buffer in
4085 minibuffer-local-map.
4086
2f11b3f1
CY
4087 * font-lock.el (font-lock-builtin-face): Change light background
4088 color to dark slate blue (Bug#6693).
4089
f932a347
WD
40902011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4091
4092 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4093
c8af70e1
SM
40942011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4097 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4098 Add switch-to-buffer.
4099
f158badc
LMI
41002011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4101
4102 * isearch.el (isearch-search-fun-function): Clarify further the
4103 meaning of the function returned.
4104
6d95bd46
MA
41052011-07-04 Michael Albinus <michael.albinus@gmx.de>
4106
4107 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4108
4109 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4110 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4111 Use it.
4112 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4113 `tramp-default-remote-path' does not exist.
4114 (tramp-send-command-and-read): New optional argument NOERROR.
4115 (tramp-open-connection-setup-interactive-shell)
4116 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4117 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4118 (tramp-process-sentinel): Flush also process' connection property.
4119 (tramp-sh-handle-start-file-process): Do not set process
4120 sentinel. It is done now ...
4121 (tramp-maybe-open-connection): ... here. (Bug#8929)
4122
909e6b67
MK
41232011-07-04 MON KEY <monkey@sandpframing.com>
4124
4125 * play/animate.el (animate-string): Doc fixes and allow changing
4126 the buffer name (bug#5417).
4127
41282011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4129
c8af70e1 4130 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 4131
f34755dc
PE
41322011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4133
396cec72
PE
4134 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4135 This is simpler and helps future-proof the code.
4136 (timer-until): Use time-subtract and float-time.
08235028 4137 (timer--time-less-p): Use time-less-p.
f34755dc 4138
56e6cc31
JB
41392011-07-04 Juanma Barranquero <lekktu@gmail.com>
4140
3abb79e5
JB
4141 * type-break.el (timep): Use the value of `float-time' to avoid a
4142 byte-compiler warning.
4143
56e6cc31
JB
4144 * server.el (server-eval-and-print): Return any result, even nil.
4145
7b9430b4
PE
41462011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4147
4148 * type-break.el: Accept time formats that the builtins accept.
4149 (timep, type-break-time-difference): Accept any format that
4150 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4151 This is simpler and helps future-proof the code.
4152 (type-break-time-difference): Round rather than ignoring
4153 subseconds components.
4154
3034e9e7
LMI
41552011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4156
4157 * info.el (Info-apropos-matches): Make non-interactive, since it
4158 doesn't seem to do anything useful as a command (bug#8829).
4159
1485f4c0
CY
41602011-07-03 Chong Yidong <cyd@stupidchicken.com>
4161
4162 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 4163 Move from faces.el.
1485f4c0
CY
4164 (frame-default-terminal-background): New function.
4165
4166 * custom.el (custom-push-theme): Don't record faces in `changed'
4167 theme; this doesn't work correctly for per-frame face settings.
4168 (disable-theme): Use face-set-after-frame-default to reset faces.
4169 (custom--frame-color-default): New function.
4170
9fa3dd45
LMI
41712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4172
c8af70e1 4173 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
4174 (bug#8769).
4175
6cbbc20c
KR
41762011-03-29 Kevin Ryde <user42@zip.com.au>
4177
4178 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4179 `perl-Test2' extend to match possible "fail #N" rep count
4180 (bug#8377).
4181
c7f98048
LMI
41822011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4183
65676592
LMI
4184 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4185 `smtpmail-via-smtp' now returns the error instead of nil.
4186
c7f98048
LMI
4187 * isearch.el (isearch-search-fun-function): Clarify the doc string
4188 (bug#8101).
4189
56e6cc31 41902011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
4191
4192 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4193 unnecessary spaces (bug#8987).
4194
2b216704
LMI
41952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4196
4197 * net/network-stream.el (open-network-stream): Use the
4198 :end-of-capability command thoughout.
4199
42002011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4201
4202 * net/network-stream.el (open-network-stream): Add the
4203 :end-of-capability command parameter, used by pop3.el.
4204
36adf6ce
LMI
42052011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4206
1ca0da0e
LMI
4207 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4208
fc00f69c
LMI
4209 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4210 for list)" (bug#6475).
4211
28fd8759 4212 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 4213 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
4214 an error (bug#6297).
4215
0dd8b6da
LMI
4216 * man.el (Man-reference-regexp): Allow matching possible
4217 word-wrapped references (bug#6289).
4218
ce1438d6
LMI
4219 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4220 for consistency with the other vc buffers (bug#6197).
4221 (vc-checkin): Ditto.
4222
4223 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4224
36adf6ce
LMI
4225 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4226
e83cc1f7
LMI
42272011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4228
8a20ca4c
LMI
4229 * custom.el (defcustom): Clarify that :set is only used in the
4230 Customize user interface (bug#6089).
4231
83319045
LMI
4232 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4233 associated with a file, refuse to run instead of erroring out
4234 (bug#6084).
4235
a8392169
LMI
4236 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4237 the doc string, since it appears that using `fill-column' always
4238 controls the width (bug#7845).
4239
e83cc1f7
LMI
4240 * simple.el (shell-command-on-region): Say where the error output
4241 went if `shell-command-default-error-buffer' is set (bug#6857).
4242
e47ca23b
KM
42432011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4244
4245 * allout.el (allout-yank-processing): Adjust cursor position for
4246 backwards-deleted space.
4247
4248 (allout-rebullet-heading): Register changes with
4249 allout-exposure-changed-hook, so the modified topic is properly
4250 decorated.
4251
5cf56143
LMI
42522011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4253
08549772
LMI
4254 * minibuffer.el (completion-in-region): Document PREDICATE
4255 (bug#7136).
4256
48e96771
LMI
4257 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4258 of keyword/argument pairs (bug#6904).
4259
c8af70e1
SM
4260 * replace.el (multi-occur):
4261 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 4262
e17d05e2
LMI
42632011-07-02 Drew Adams <drew.adams@oracle.com>
4264
4265 * dired.el (dired-mark-if): Make the message about whether it's
4266 marking or unmarking clearer (bug#8523).
4267
063b0e45
LMI
42682011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4269
4270 * disp-table.el (display-table-print-array): New function.
4271 (describe-display-table): Use it to print the vectors more pretty
4272 (Bug#8859).
4273
28545e04
MR
42742011-07-02 Martin Rudalics <rudalics@gmx.at>
4275
4276 * window.el (window-state-get-1): Don't assign clone numbers.
4277 Add clone-of item to list of window parameters.
4278 (window-state-put-2): Don't process clone numbers.
4279 (display-buffer-alist): Fix doc-string.
4280
3349e122
SM
42812011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * subr.el (remq): Don't allocate if it's not needed.
4284 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4285 (keymap--merge-bindings): New functions.
4286 (keymap-canonicalize): Use them to refine the canonicalization.
4287 * minibuffer.el (minibuffer-local-completion-map)
4288 (minibuffer-local-must-match-map): Move initialization from C.
4289 (minibuffer-local-filename-completion-map): Move initialization from C;
4290 don't inherit from anything here.
4291 (minibuffer-local-filename-must-match-map): Make obsolete.
4292 (completing-read-default): Use make-composed-keymap to combine
4293 minibuffer-local-filename-completion-map with either
4294 minibuffer-local-must-match-map or
4295 minibuffer-local-filename-completion-map.
4296
d224ac83
GM
42972011-07-01 Glenn Morris <rgm@gnu.org>
4298
3de63bf8
GM
4299 * type-break.el (type-break-time-sum): Use dolist.
4300
d224ac83
GM
4301 * textmodes/flyspell.el (flyspell-word-search-backward):
4302 Replace CL function.
4303
1a1e3f32
SM
43042011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4305
fe3f64d5
SM
4306 * mouse.el (mouse--strip-first-event): New function.
4307 (function-key-map): Use it to map fringe clicks to normal clicks
4308 by default.
4309
eb604e34
SM
4310 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4311 (vc-bzr-revision-completion-table): Add support for annotate and date.
4312
1a1e3f32
SM
4313 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4314 inherit from parent.
4315
5bd35902
LMI
43162011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4317
ace6c69c 4318 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 4319 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 4320
191e2bed
LMI
4321 * dired.el (dired-mode): Fix up the doc string as suggested by
4322 Drew Adams (bug#8817).
4323
5bd35902
LMI
4324 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4325 cookie, since the manual says that it should be possible to add
4326 this function to `find-file-hook' (bug#8709).
4327
eee8207a
TZ
43282011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4329
4330 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4331 here. Noted Ted Zlatanov as the maintainer.
4332 (cfengine-common-settings, cfengine-common-syntax): New functions
4333 to set up common things between `cfengine-mode' and
4334 `cfengine3-mode'.
4335 (cfengine3-mode): New mode.
4336 (cfengine3-defuns cfengine3-defuns-regex
4337 (cfengine3-class-selector-regex cfengine3-category-regex)
4338 (cfengine3-vartypes cfengine3-font-lock-keywords)
4339 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 4340 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 4341
36b148cf
MA
43422011-07-01 Michael Albinus <michael.albinus@gmx.de>
4343
4344 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4345
4346 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4347
0bf4ba9a
MR
43482011-07-01 Martin Rudalics <rudalics@gmx.at>
4349
4350 * window.el (same-window-buffer-names, same-window-regexps)
4351 (same-window-p, special-display-frame-alist)
4352 (special-display-popup-frame, special-display-function)
4353 (special-display-buffer-names, special-display-regexps)
4354 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4355 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4356 (split-window-preferred-function, split-height-threshold)
4357 (split-width-threshold, even-window-heights)
4358 (display-buffer-mark-dedicated, window-splittable-p)
4359 (split-window-sensibly, window-safely-shrinkable-p):
4360 Un-obsolete.
4361 (display-buffer): Don't spread args with function specifier
4362 because special-display-popup-frame won't like it.
4363
35837f51
PE
43642011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4365
d0672f86
PE
4366 Time-stamp simplifications and fixes.
4367 These improve accuracy slightly, and future-proof the code
4368 against some potential changes to current-time format.
4369
b9444d97
PE
4370 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4371 by using time-since and float-time.
4372
0ef923dc
PE
4373 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4374 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4375 + NNN microseconds".
4376
2f81380d
PE
4377 * type-break.el (type-break-time-sum): Rewrite using time-add.
4378
845b5c3e
PE
4379 * play/hanoi.el (hanoi-current-time-float): Remove.
4380 All uses replaced by float-time.
4381
ee6f1be0
PE
4382 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4383 This yields a more-accurate answer.
4384 (rng-time-to-float): Remove; no longer needed.
4385
fe955043
PE
4386 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4387
5777162a
PE
4388 * calendar/timeclock.el (timeclock-seconds-to-time):
4389 Defalias to seconds-to-time, since they're the same thing.
4390
3103f8b6 4391 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 4392 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
4393 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4394
0e61a35f
SM
43952011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4396
4397 * window.el (bury-buffer): Don't iconify the only frame.
4398 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4399 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4400
ddd63a1e
CY
44012011-07-01 Chong Yidong <cyd@stupidchicken.com>
4402
0e61a35f
SM
4403 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4404 Add mouse-yank-primary.
ddd63a1e 4405
055f4923
TZ
44062011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4407
4408 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4409
6a2fb145
SM
44102011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4411
4412 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4413 (find-library-name): Use it to find relative load names when provided
4414 absolute file name (bug#8803).
4415
fd4983f2
LMI
44162011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4417
887d14ad
LMI
4418 * textmodes/flyspell.el (flyspell-word): Consider words that
4419 differ only in case as potential doublons (bug#5687).
4420
c53dc7fc
LMI
4421 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4422 Remove two rather uninteresting debugging-like messages to make
4423 debbugs.el more silent.
4424
fd4983f2
LMI
4425 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4426 a password-like phrase.
4427
b14c0c55
AM
44282011-06-30 Mastake YAMATO <yamato@redhat.com>
4429
4430 * progmodes/cc-guess.el: New file.
4431
6a2fb145 4432 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
4433
4434 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4435 derived from `c-basic-common-init'.
4436
4437 * progmodes/cc-mode.el (top-level): Require cc-guess.
4438 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4439
1fa280a3
LM
44402011-06-30 Lawrence Mitchell <wence@gmx.li>
4441
4442 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4443
e6597158
AM
44442011-06-30 Alan Mackenzie <acm@muc.de>
4445
1fa280a3
LM
4446 * progmodes/cc-engine.el (c-guess-continued-construct):
4447 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4448 lock is disabled. Name this case as "CASE G".
4449
68ba37fb
KM
44502011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4451
4452 * allout.el (allout-yank-processing): Fix injection of extra space
4453 between bullet and non-whitespace character in first topic when
4454 pasting, ensuring that the actual spacing in the pasted topic
4455 following the bullet char is preserved. This extra space was
4456 causing pasted encrypted topics to get a decrypted status even
4457 when the content was actually still encrypted. Now the decryption
4458 status from before the paste is preserved.
4459
4460 (allout-flag-region): Set all allout overlays so they evaporate
4461 when reduced to zero length (evanescent), to prevent overlay
4462 leakage.
4463
887a0b34
GM
44642011-06-30 Glenn Morris <rgm@gnu.org>
4465
94b9acce
GM
4466 * w32-fns.el (w32-charset-info-alist): Declare.
4467
1d9b46d4
GM
4468 * find-dired.el (find-grep-options): Simplify.
4469
cc232200
GM
4470 * term/ns-win.el (ns-set-resource): Declare.
4471
28e77c46
GM
4472 * ses.el (row, col): Declare dynamic variables honestly.
4473
887a0b34
GM
4474 * textmodes/reftex-parse.el (index-tags): Declare.
4475
658d8eb8
CY
44762011-06-30 Chong Yidong <cyd@stupidchicken.com>
4477
4478 * cus-edit.el (customize-push-and-save): New function.
4479
4480 * files.el (hack-local-variables-confirm): Use it.
4481
1fa280a3
LM
4482 * custom.el (load-theme): New arg NO-CONFIRM.
4483 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4484 (custom-enabled-themes): Doc fix.
4485
4486 * cus-theme.el (customize-create-theme)
4487 (custom-theme-merge-theme): Callers to load-theme changed.
4488
bb617717
LMI
44892011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4490
d61bdd5d
LMI
4491 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4492 short URLs have at least one dot in them (bug #7614).
4493
bb617717
LMI
4494 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4495 nil, because using a pty is apparently too slow (bug #895).
4496
2f31f37a
LMI
44972011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4498
4499 * mail/sendmail.el (sendmail-query-once): New function.
4500 (sendmail-query-once-function): New variable.
4501
3076b24e
GM
45022011-06-29 Glenn Morris <rgm@gnu.org>
4503
faf2a174
GM
4504 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4505
3076b24e
GM
4506 * ses.el (top-level): Require cl when compiling.
4507 (ses-set-localvars): Fix error statement.
4508 Call it at compile time to silence a storm of warnings.
4509
5386012d
MR
45102011-06-29 Martin Rudalics <rudalics@gmx.at>
4511
4512 * window.el (normalize-live-buffer): Rename to
4513 window-normalize-buffer.
4514 (normalize-live-frame): Rename to window-normalize-frame.
4515 (normalize-any-window): Rename to window-normalize-any-window.
4516 (normalize-live-window): Rename to window-normalize-live-window.
4517 (make-window-atom): Rename to window-make-atom.
4518 (window-resize-reset): Rename to window--resize-reset.
4519 (window-resize-reset-1): Rename to window--resize-reset-1.
4520 (resize-mini-window): Rename to window--resize-mini-window.
4521 (resize-subwindows-skip-p): Rename to
4522 window--resize-subwindows-skip-p.
4523 (resize-subwindows-normal): Rename to
4524 window--resize-subwindows-normal.
4525 (resize-subwindows): Rename to window--resize-subwindows.
4526 (resize-other-windows): Rename to window--resize-siblings.
4527 (resize-this-window): Rename to window--resize-this-window.
4528 (resize-root-window): Rename to window--resize-root-window.
4529 (resize-root-window-vertically): Rename to
4530 window--resize-root-window-vertically.
4531 (normalize-buffer-to-display): Rename to
4532 window-normalize-buffer-to-display.
4533 (normalize-buffer-to-switch-to): Rename to
4534 window-normalize-buffer-to-switch-to.
4535 Correspondingly update all callers of the functions listed
4536 above.
4537 (display-buffer-alist, display-buffer-normalize-arguments)
4538 (display-buffer-normalize-options, display-buffer)
4539 (display-buffer-alist-set): Use "function" instead of
4540 "fun-with-args".
4541
1176868d
CY
45422011-06-28 Chong Yidong <cyd@stupidchicken.com>
4543
4544 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4545 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4546 debbugs.gnu.org. Mention acknowledgment email.
4547
20a7a65f
LMI
45482011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4549
4550 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4551 buffer multibyteness, since it shouldn't matter.
4552
5f45cca5
MR
45532011-06-28 Martin Rudalics <rudalics@gmx.at>
4554
4555 * window.el (display-buffer-in-side-window): Handle dedicated
4556 windows as in display-buffer-reuse-window.
4557 (display-buffer-normalize-alist): Use value of override
4558 specifier.
4559 (display-buffer-normalize-specifiers): Use value of
4560 other-window-means-other-frame specifier.
4561 (display-buffer-alist): Rewrite some texts in widgets.
4562 (display-buffer): Spread arguments when calling function
4563 specified by fun-with-args.
4564
ad85fe1f
DD
45652011-06-28 Deniz Dogan <deniz@dogan.se>
4566
1fa280a3
LM
4567 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4568 Unnest `let'.
da68c4c8 4569
ad85fe1f
DD
4570 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4571 selectors (Bug#5732).
ec49bd31 4572 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4573
a08cc025
JA
45742011-06-27 Jari Aalto <jari.aalto@cante.net>
4575
4576 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4577 (eshell-ls-date-format): New defcustom.
4578 (eshell-ls-file): Use it.
4579
e2b551c5
SM
45802011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4583
8982b231
KY
45842011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4585
4586 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4587 (ange-ftp-make-tmp-name): New arg.
4588 (ange-ftp-file-local-copy): Use it.
4589
36c9fa27
J
45902011-06-27 Jambunathan K <kjambunathan@gmail.com>
4591
4592 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4593 no-conversion (Bug#8870).
4594
d68443dc
MR
45952011-06-27 Martin Rudalics <rudalics@gmx.at>
4596
4597 * window.el (window-right, window-left, window-child)
4598 (window-child-count, window-last-child)
4599 (window-iso-combination-p, walk-window-tree-1)
4600 (window-atom-check-1, window-tree-1, delete-window)
4601 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4602 new naming conventions - window-vchild, window-hchild,
4603 window-next and window-prev are now called window-top-child,
4604 window-left-child, window-next-sibling and window-prev-sibling
4605 respectively.
d615d6d2
MR
4606 (resize-window-reset): Rename to window-resize-reset.
4607 (resize-window-reset-1): Rename to window-resize-reset-1.
4608 (resize-window): Rename to window-resize.
4609 (window-min-height, window-min-width)
4610 (resize-mini-window, resize-this-window, resize-root-window)
4611 (resize-root-window-vertically, adjust-window-trailing-edge)
4612 (enlarge-window, shrink-window, maximize-window)
4613 (minimize-window, delete-window, quit-restore-window)
4614 (split-window, balance-windows, balance-windows-area-adjust)
4615 (balance-windows-area, window-state-put-2)
4616 (display-buffer-even-window-sizes, display-buffer-set-height)
4617 (display-buffer-set-width, set-window-text-height)
4618 (fit-window-to-buffer): Rename all "resize-window" prefixed
4619 calls to use the "window-resize" prefix convention.
4620 (display-buffer-alist): Fix symbol for label specifier.
4621 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4622 corresponding specifier.
4623 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4624
b6458526
VB
46252011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4626
4627 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4628 convention.
4629 (ses-call-printer): Does not pass an empty string to formatter when the
4630 cell is empty to keep from barking printer Calc math-format-value.
4631
d31fd9ac
RS
46322011-06-27 Richard Stallman <rms@gnu.org>
4633
43d5bf84
RS
4634 * battery.el (battery-mode-line-limit): New variable.
4635 (battery-update): Handle it.
4636
d31fd9ac
RS
4637 * mail/rmailmm.el (rmail-mime-process-multipart):
4638 Handle truncated messages.
4639
819a6054
GM
46402011-06-27 Glenn Morris <rgm@gnu.org>
4641
4642 * progmodes/flymake.el (flymake-err-line-patterns):
4643 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4644
cedc73f2
VB
46452011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4646
819a6054 4647 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4648 (ses--clean-!, ses--clean-_): New functions.
4649 (ses-range): Add configurability of readout order, and conversion
4650 to Calc vector.
4651
5e5d49b6
VB
4652 * ses.el (ses-repair-cell-reference-all): New function.
4653 (ses-cell-symbol): Set macro as safe, so that it can be used in
4654 formulas.
4655
56e6cc31 4656 * ses.el: Update cycle detection algorithm.
90ca8b49 4657 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4658 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4659 (ses-set-localvars): New function.
4660 (ses-make-cell): Add property-list as a cell element.
4661 (ses-cell-property-get-fun, ses-cell-property-get)
4662 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4663 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4664 New functions.
90ca8b49
VB
4665 (ses-cell-property-set, ses-cell-property-pop)
4666 (ses-cell-property-get-handle): New macro.
4667 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4668 New aliases, used for code readability.
4669 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4670 cycle detection.
4671 (ses-self-reference-early-detection): New defcustom.
4672 (ses-formula-references): Robustify against self-refering cells.
4673 (ses-mode): Use ses-set-localvars.
4674 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4675 before lauching the update processing.
4676 (ses-initialize-Dijkstra-attempt): New function.
4677 (ses-recalculate-cell): Update for cycle detection based on
4678 Dijkstra algorithm.
4679
2bb63e81
VB
4680 * ses.el: Fix commenting and indenting convention.
4681
c9d29fb8
SM
46822011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4683
4684 * bs.el (bs-cycle-next): Complete last change.
4685
d8e4b68b
JB
46862011-06-27 Drew Adams <drew.adams@oracle.com>
4687
4688 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4689
40098786
LMI
46902011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4691
c9d29fb8
SM
4692 * net/network-stream.el (network-stream-open-starttls):
4693 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4694 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4695
40098786
LMI
4696 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4697 to binary to possibly avoid line encoding issues on Windows (among
4698 other things).
4699
468d09d4
LMI
47002011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4701
4702 * net/network-stream.el (open-network-stream): Return an :error
4703 saying what the problem was, if possible.
4704
4705 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4706 server.
4707
4708 * net/network-stream.el (network-stream-open-starttls): If we
4709 wanted to use STARTTLS, and the server offered it, but we weren't
4710 able to because we had no STARTTLS support, then close the connection.
4711 (open-network-stream): Return an :error element, if present.
4712
16f07dd7
CY
47132011-06-26 Chong Yidong <cyd@stupidchicken.com>
4714
88821ca0
CY
4715 * hl-line.el (hl-line-sticky-flag): Doc fix.
4716 (global-hl-line-sticky-flag): New option (Bug#8323).
4717 (global-hl-line-highlight): Obey it.
4718
16f07dd7
CY
4719 * vc/vc.el (vc-revert-show-diff): Default to t.
4720
6b5ccddf
KM
47212011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4722
c9d29fb8
SM
4723 * allout-widgets.el (allout-widgets-post-command-business):
4724 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4725 undecorated when an isearch is continued past, and isearch
4726 automatically collapses them. This leads to "widget leaks", where
4727 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4728 hidden widgets can slow down cursor travel, substantially.
4729 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4730 so we're doing without this nicety.
4731
4732 (allout-widgets-tally-string): Don't try to do a hash-table-count
4733 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4734 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4735 *Messages* when allout-widgets-maintain-tally is t.
4736
355f2e07
MR
47372011-06-26 Martin Rudalics <rudalics@gmx.at>
4738
4739 * window.el (display-buffer-normalize-argument): Rename to
4740 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4741 LABEL argument. Respect special-display-function when popping up
4742 a new frame. Fix code searching for a window showing the buffer
4743 on another frame.
c9d29fb8
SM
4744 (display-buffer-normalize-specifiers):
4745 Call display-buffer-normalize-arguments.
355f2e07
MR
4746 (display-buffer-in-window): Don't undedicate the window if its
4747 buffer remains the same.
4748 Reported by Drew Adams <drew.adams@oracle.com>.
4749 (display-buffer-alist): Add choice for same-window macro
4750 specfier.
4751 (display-buffer): Mention special meaning of LABEL argument in
4752 doc-string. Fix quoting. Don't pop up a new frame even as
4753 fallback.
4754
7ca8fc42
JB
47552011-06-26 Juanma Barranquero <lekktu@gmail.com>
4756
4757 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4758 avoid deleting the current window in some cases (bug#8911).
4759
bc312254
AS
47602011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4761
4762 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4763 (Bug#8934)
4764
2db18f3f
LMI
47652011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4766
c9d29fb8
SM
4767 * net/network-stream.el (network-stream-open-starttls):
4768 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4769 (network-stream-open-tls): Ditto.
4770
6302e0d3
LL
47712011-06-26 Leo Liu <sdl.web@gmail.com>
4772
4773 * register.el (registerv): New struct.
4774 (registerv-make): New function.
c9d29fb8
SM
4775 (jump-to-register, describe-register-1, insert-register):
4776 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4777 struct. (Bug#8415)
4778
5fdd4046
CY
47792011-06-26 Chong Yidong <cyd@stupidchicken.com>
4780
2afef60a
CY
4781 * vc/vc.el (vc-revert-show-diff): New defcustom.
4782 (vc-diff-internal): New arg specifying diff buffer.
4783 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4784 reuse an existing *vc-diff* buffer (Bug#8927).
4785
5fdd4046
CY
4786 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4787
e93db24a
GM
47882011-06-26 Glenn Morris <rgm@gnu.org>
4789
4790 * progmodes/f90.el (f90-critical-indent): New option.
4791 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4792 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4793 (f90-mode): Doc fix.
4794 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4795 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4796 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4797 (f90-match-end): Handle block, critical.
4798
eefff499
GM
47992011-06-25 Glenn Morris <rgm@gnu.org>
4800
f6ba4cc9
GM
4801 * calendar/diary-lib.el (diary-included-files): Doc fix.
4802 (diary-include-files): New function, extracted from
4803 diary-include-other-diary-files and diary-mark-included-diary-files.
4804 (diary-include-other-diary-files, diary-mark-included-diary-files):
4805 Just call diary-include-files.
4806 (diary-mark-entries): Reset diary-included-files on first call.
4807
16712304
GM
4808 * calendar/diary-lib.el (diary-mark-entries)
4809 (diary-mark-included-diary-files):
4810 Visit included diary-files in temp buffers.
4811
5d8e0d43
GM
4812 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4813 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4814 (f90-start-block-re, f90-imenu-generic-expression)
4815 (f90-looking-at-program-block-start, f90-no-block-limit):
4816 Add support for submodules.
4817
ccf7a5d5
GM
4818 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4819 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4820
11fdef7d 48212011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4822
4823 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4824 buffer-file-type before setting its value, to avoid disastrous
eefff499 4825 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4826
74f53697
JB
48272011-06-25 Juanma Barranquero <lekktu@gmail.com>
4828
4829 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4830
4831 * ses.el (ses-unload-function):
4832 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4833
4834 * proced.el (proced-unload-function):
4835 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4836
18a4ce5e
AR
48372011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4838
4839 * server.el (server-create-window-system-frame): Add parameters arg.
4840 (server-process-filter): Doc fix. Handle frame-parameters.
4841
519d22cc
JB
48422011-06-25 Juanma Barranquero <lekktu@gmail.com>
4843
4844 Fix bug#8730, bug#8781.
4845
4846 * loadhist.el (unload--set-major-mode): New function.
4847 (unload-feature): Use it.
4848
4849 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4850 (python-unload-function): New function.
4851
c206f5b0
SM
48522011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4853
4854 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4855
f9ad64f3
GS
48562011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4857
4858 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4859 the candidates list.
4860
7d0da90e
JB
48612011-06-24 Juanma Barranquero <lekktu@gmail.com>
4862
4863 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4864
14b4e83d
RS
48652011-06-23 Richard Stallman <rms@gnu.org>
4866
4867 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4868 (rmail-variables): Set next-error-move-function.
4869 (rmail-what-message): Take argument POS.
4870 (rmail-next-error-move): New function.
4871
273d2baf
SM
48722011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4873
4874 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4875 messages for adjacent non-terminals.
4876
56c2cc9a
RS
48772011-06-23 Richard Stallman <rms@gnu.org>
4878
4879 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4880 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4881 (rmail-start-mail): Don't specify use of rmail-mail-return;
4882 that's done by mail-bury now.
4883 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4884
d59eb518
MA
48852011-06-23 Michael Albinus <michael.albinus@gmx.de>
4886
4887 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4888 SIZE is a number.
4889
02cfc6d6
MR
48902011-06-23 Martin Rudalics <rudalics@gmx.at>
4891
4892 * window.el (get-lru-window, get-mru-window)
4893 (get-largest-window): Never return a minibuffer window.
4894 (display-buffer-pop-up-window): Fix a bug that could lead to
4895 reusing the minibuffer window.
4896 (display-buffer): Pass original specifier argument to
4897 display-buffer-function instead of the normalized one.
4898 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4899
4e323265
LL
49002011-06-22 Leo Liu <sdl.web@gmail.com>
4901
4902 * minibuffer.el (completing-read-function)
4903 (completing-read-default): Move from minibuf.c
4904
7a70468f
RS
49052011-06-22 Richard Stallman <rms@gnu.org>
4906
50718fc2
RS
4907 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4908 to Rmail even if not started by a special Rmail command.
4909
7a70468f
RS
4910 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4911 Copy the buffer currently showing just one message.
4912
297dde5a
RW
49132011-06-22 Roland Winkler <winkler@gnu.org>
4914
4915 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4916 (bibtex-clean-entry): First delete the old key so that a
4917 customized algorithm for generating the new key does not get
4918 confused by the old key.
4919 (bibtex-url): Obey regexp of first step.
4920 (bibtex-search-entries): Do not use add-to-list with local
4921 list-var.
4922
97bb1093
LMI
49232011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4924
4925 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4926 stored a user name, then query for the password first, instead of
4927 waiting for SMTP to give an error message and the trying again.
4928
1c0f1a19
JD
49292011-06-22 Lawrence Mitchell <wence@gmx.li>
4930
4931 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4932 BUFFER in call-process.
4933
396f7c9d
LMI
49342011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4935
4936 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4937 QUIT twice.
ddb7ffee
LMI
4938 (smtpmail-try-auth-methods): Require user name and password from
4939 auth-source.
396f7c9d 4940
8998d1b3
MR
49412011-06-22 Martin Rudalics <rudalics@gmx.at>
4942
4943 * window.el (display-buffer-default-specifiers)
4944 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4945 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4946 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4947
4948 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4949 (special-display-frame-alist, special-display-popup-frame):
4950 Remove duplicate declarations. These are now in window.el.
4951
4ea31e07
LMI
49522011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4953
c9d29fb8
SM
4954 * mail/smtpmail.el (smtpmail-via-smtp):
4955 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4956 server supports it. SMTP servers that support STARTTLS commonly
4957 require it.
4958
4959 * net/network-stream.el (network-stream-open-starttls): Support
4960 upgrading to STARTTLS always, even if we don't have built-in support.
4961 (open-network-stream): Add the :always-query-capabilies keyword.
4962
95f41d9a
LMI
4963 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4964 upgrades with `open-network-stream', and rely solely on
4965 auth-source for all credentials. Big changes throughout the file,
4966 but in particular:
c9d29fb8
SM
4967 (smtpmail-auth-credentials): Remove.
4968 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4969 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4970 MAIL FROM, too.
95f41d9a 4971
c9d29fb8
SM
4972 * net/network-stream.el (network-stream-open-starttls):
4973 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4974 STARTTLS.
4975 (auth-source): Require.
4976 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4977 (network-stream-certificate): Change cert-cert to cert and
4978 cert-key to key.
4ea31e07 4979
065ec2c7
MA
49802011-06-21 Michael Albinus <michael.albinus@gmx.de>
4981
4982 * net/tramp-cache.el (top): Don't load the persistency file when
4983 "emacs -Q" has been called.
4984
cd93b359
DR
49852011-06-21 Tim Harper <timcharper@gmail.com>
4986
d8e4b68b
JB
4987 * term/ns-win.el (ns-initialize-window-system):
4988 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4989 resource to NO as it is not yet supported by the NS port.
4990
ae9c0411
JB
49912011-06-21 Juanma Barranquero <lekktu@gmail.com>
4992
4993 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4994 (list-dynamic-libraries): ...not here.
4995
7f3f739f
LL
49962011-06-21 Leo Liu <sdl.web@gmail.com>
4997
4998 * subr.el (sha1): Implement sha1 using secure-hash.
4999
327c8fb1
MR
50002011-06-21 Martin Rudalics <rudalics@gmx.at>
5001
5002 * window.el (display-buffer-alist): In default value do not
5003 enforce searching a window on any but the selected frame.
5004 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5005 (display-buffer-select-window): Remove function.
5006 (display-buffer-in-window): When a window on another frame gets
5007 reused, do not select it any more but just raise its frame if
5008 necessary (Bug#8851) and (Bug#8856).
5009 (display-buffer-normalize-options): Handle pop-up-frames related
5010 options more faithfully.
5011 (pop-to-buffer): Don't rely on `display-buffer' selecting the
5012 window if it is on another frame.
c9d29fb8
SM
5013 (display-buffer-alist, display-buffer-default-specifiers):
5014 Don't make new frame unsplittable by default.
9e9de014
MR
5015 (display-buffer-normalize-argument): Fix doc-string typo and use
5016 'same-frame-other-window instead of 'other-window when associating
5017 with display-buffer-macro-specifiers.
327c8fb1 5018
7cf3f556
VB
50192011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
5020
5021 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5022 New functions.
5023 (5x5-mode-map, 5x5-mode-menu): Bind them.
5024 (5x5-draw-grid): Tweak the solver's rendering.
5025
60a406cf
SM
50262011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5027
5028 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5029 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
5030
d8e4b68b 50312011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
5032
5033 * menu-bar.el: Use function variable instead of switch-to-buffer.
5034 (menu-bar-select-buffer-function): New variable.
60a406cf 5035 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 5036
478d6f95
SM
50372011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5040 variable's status.
5041
ca530739
JD
50422011-06-20 Jan Djärv <jan.h.d@swipnet.se>
5043
5044 * x-dnd.el (x-dnd-version-from-flags)
5045 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5046 and long as number (Bug#8899).
5047 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5048
bcd70d97
SM
50492011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5050
60a406cf 5051 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
5052 (completion-try-completion, completion-all-completions): Compute the
5053 metadata argument if it's missing; make it optional (bug#8795).
5054
60a406cf 5055 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
5056 (widget-complete): Use new :completion-function property.
5057 (widget-completions-at-point): New function.
5058 (default): Use :completion-function instead of :complete.
60a406cf
SM
5059 (widget-default-completions): Rename from widget-default-complete;
5060 Rewrite.
bcd70d97
SM
5061 (widget-string-complete, widget-file-complete, widget-color-complete):
5062 Remove functions.
5063 (file, symbol, function, variable, coding-system, color):
5064 * international/mule-cmds.el (default-input-method, charset)
5065 (language-info-custom-alist):
5066 * cus-edit.el (face): Use new property :completions.
5067
5068 * progmodes/pascal.el (pascal-completions-at-point): New function.
5069 (pascal-mode): Use it.
5070 (pascal-mode-map): Use completion-at-point.
5071 (pascal-toggle-completions): Make obsolete.
5072 (pascal-complete-word, pascal-show-completions):
5073 * progmodes/octave-mod.el (octave-complete-symbol):
5074 Redefine as obsolete alias.
5075 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5076 Signal absence of completion info for old Octave,
5077 (inferior-octave-complete): Redefine as obsolete alias.
5078 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5079 (meta-completions-at-point): Rename from meta-complete-symbol and
5080 adapt it for use on completion-at-point-functions.
5081 (meta-common-mode): Use it.
5082 (meta-looking-at-backward, meta-match-buffer): Remove.
5083 (meta-complete-symbol): Redefine as obsolete alias.
5084 (meta-common-mode-map): Use completion-at-point.
5085 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5086 (makefile-mode-map): Use completion-at-point.
5087 (makefile-completions-at-point): Rename from makefile-complete and
5088 adapt it for use on completion-at-point-functions.
5089 (makefile-mode): Use it.
5090 (makefile-complete): Redefine as obsolete alias.
5091
aebf69c8
DD
50922011-06-20 Deniz Dogan <deniz@dogan.se>
5093
5094 * net/rcirc.el: Delete trailing whitespaces once and for all.
5095
bfbbb27d
DC
50962011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5097
5098 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5099
d264a46b
CY
51002011-06-19 Chong Yidong <cyd@stupidchicken.com>
5101
4ca009e5
CY
5102 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5103
d264a46b
CY
5104 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5105
fbf5b3ce
MR
51062011-06-19 Martin Rudalics <rudalics@gmx.at>
5107
5108 * window.el (display-buffer-other-window-means-other-frame):
5109 Call display-buffer-normalize-alist.
5110 (display-buffer-normalize-specifiers-1): Rename to
5111 display-buffer-normalize-argument. New argument other-frame.
5112 Rewrite.
5113 (display-buffer-normalize-specifiers-2): Rename to
5114 display-buffer-normalize-options.
5115 (display-buffer-normalize-alist-1): New function.
5116 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
5117 display-buffer-normalize-alist.
5118 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
5119 (display-buffer-normalize-options-inhibit): New variable.
5120 (display-buffer-normalize-specifiers): Rewrite calling
5121 display-buffer-normalize-alist,
5122 display-buffer-normalize-argument, and
5123 display-buffer-normalize-options. Don't call the latter if
5124 display-buffer-normalize-options-inhibit is non-nil.
5125 (frame-auto-delete): New option.
5126 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
5127 (window-list-no-nils, window-state-ignored-parameters)
5128 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
5129 (window-state-put-1, window-state-put-2, window-state-put):
5130 New functions.
9a028c23
MR
5131 (display-buffer-normalize-options): Move special-display-p group
5132 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 5133
6d10d800
CY
51342011-06-18 Chong Yidong <cyd@stupidchicken.com>
5135
6420d28b
CY
5136 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5137 groups (Bug#8776).
5138 (rx-submatch-n): New function.
5139 (rx): Document it.
5140
ddb8b596
CY
5141 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5142 (Bug#8768).
5143
5144 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5145
77080289
CY
5146 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5147
61dfb316
CY
5148 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5149 anytime existing face settings are present (Bug#8889).
5150
6d10d800
CY
5151 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5152 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5153 Remove unused argument.
5154
be3fb2b8
MR
51552011-06-18 Martin Rudalics <rudalics@gmx.at>
5156
bcd70d97
SM
5157 * window.el (display-buffer-default-specifiers):
5158 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
5159 pop-up-window-min-width, and another reuse-window specifier
5160 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
5161 (display-buffer-normalize-specifiers-2):
5162 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
5163 pop-up-windows is unset. Add a reuse-window specifier for the
5164 case popping up a new window fails.
5165 (special-display-popup-frame): Remove double quoting.
28dec25a 5166 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 5167
1c6d8c76
SM
51682011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5169
5170 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5171 according to comint-completion-addsuffix.
5172
5173 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5174 (pcomplete-suffix-list): Mark as obsolete.
5175 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5176 pcomplete-seen in the closure.
5177 (pcomplete-comint-setup): Setup completion-at-point as well.
5178 (pcomplete--entries): New function.
5179 (pcomplete--env-regexp): New var.
5180 (pcomplete-entries): Rewrite to work with partial-completion and
5181 without relying on pcomplete-suffix-list.
5182 (pcomplete-pare-list): Remove, unused.
5183
25aef8b8
MR
51842011-06-17 Martin Rudalics <rudalics@gmx.at>
5185
5186 * window.el (display-buffer-alist): Set pop-up-window-min-height
5187 and pop-up-window-min-width in default value. Reported by
5188 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5189 other-window-means-other-frame.
5190 (display-buffer-macro-specifiers): Comment out entry for
5191 other-window specifier.
5192 (display-buffer-other-window-means-other-frame): New function.
5193 (display-buffer-normalize-specifiers-1): New arguments
5194 buffer-name and label. Treat other-window case specially.
5195 (display-buffer-normalize-specifiers-2): Treat other-window case
5196 specially.
5197 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
5198 (display-buffer-normalize-specifiers):
5199 Call display-buffer-normalize-specifiers-3.
25aef8b8 5200
dbad4f69
MR
52012011-06-17 Martin Rudalics <rudalics@gmx.at>
5202
5203 * window.el (same-window-p): Fix two typos introduced when
5204 adding with-no-warnings.
d1067961
MR
5205 (display-buffer-normalize-specifiers-1): Don't check
5206 pop-up-frames for 'unset initialization.
5207 (display-buffer-normalize-specifiers-2): Major rewrite using
5208 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5209 (pop-up-frames, display-buffer-reuse-frames)
5210 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5211 Suggested by David Engster <deng@randomsample.de>.
5212 (even-window-heights): Initialize to 'unset.
5213 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
5214 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5215 other window case.
dbad4f69 5216
9b9c9e3a
MR
52172011-06-16 Martin Rudalics <rudalics@gmx.at>
5218
bcd70d97
SM
5219 * window.el (display-buffer-normalize-specifiers-1):
5220 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 5221 second argument of display-buffer (Bug#8865).
981d5c09
MR
5222 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5223 (switch-to-buffer-other-window-same-frame)
5224 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5225 Adams (Bug#8875).
9c2755e9
MR
5226 (display-buffer): Don't check noninteractive when calling
5227 display-buffer-pop-up-frame.
5228 (display-buffer-pop-up-frame): Never pop up a frame in
5229 noninteractive mode (Bug#8857).
67222e1d
MR
5230 (enlarge-window, shrink-window): Don't report an error when the
5231 window can't be resized as requested (Bug#8862).
9b9c9e3a 5232
2b75be67
SM
52332011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5234
9ffdd3ba
SM
5235 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5236
cb581a67
SM
5237 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5238
2b75be67
SM
5239 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5240
8c0e3589
AM
52412011-06-15 Alan Mackenzie <acm@muc.de>
5242
cb581a67
SM
5243 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5244 for declarators, disable knr checking to speed up for normal files.
5245 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 5246
b96e6cde
LMI
52472011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5248
4bba86e6
LMI
5249 * net/network-stream.el (open-network-stream): Add the keyword
5250 :always-query-capabilities for the case where you want to force a
5251 `plain' network connection, but the protocol still requires the
5252 capabilitiy command (i.e., SMTP and EHLO).
5253
2b75be67 5254 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
5255 consistency with other `-live-p' functions.
5256
efdcdbf8
SM
52572011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5258
5259 * window.el (same-window-buffer-names, same-window-regexps)
5260 (special-display-frame-alist, special-display-popup-frame)
5261 (special-display-function, special-display-buffer-names)
5262 (special-display-regexps, pop-up-frame-alist)
5263 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5264 (pop-up-windows, split-window-preferred-function)
5265 (split-height-threshold, split-width-threshold, even-window-heights)
5266 (display-buffer-mark-dedicated): Don't encourage the use of
5267 display-buffer-alist from Elisp code.
5268
c5cde042
DN
52692011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5270
5271 * progmodes/python.el (python-mode): Derive from prog-mode.
5272 * progmodes/ps-mode.el (ps-mode):
5273 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 5274 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
5275 * progmodes/ld-script.el (ld-script-mode): Likewise.
5276
baa1c9ab
MR
52772011-06-15 Martin Rudalics <rudalics@gmx.at>
5278
5279 * window.el (display-buffer-alist): Trim default value to avoid
5280 popping up a new frame (Bug#8857) or reusing an arbitrary window
5281 on another frame.
5282 (display-buffer): Do not fall back on popping up a new frame in
5283 batch mode (Bug#8857).
5284
c5dd5a51
CY
52852011-06-14 Chong Yidong <cyd@stupidchicken.com>
5286
5287 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5288 (custom-theme-summary): New function.
5289 (customize-themes): Use it.
5290
d647b7c4
GM
52912011-06-13 Glenn Morris <rgm@gnu.org>
5292
5293 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5294
9481c002
MR
52952011-06-13 Martin Rudalics <rudalics@gmx.at>
5296
357f93d2
MR
5297 * help.el (help-window): Remove variable.
5298 (help-window-point-marker, temp-buffer-max-height)
5299 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5300 (help-print-return-message): Don't set help-window.
5301 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5302 (help-window-setup-finish): Remove.
5303 (help-window-display-message, help-window-setup)
5304 (with-help-window): Major rewrite based on new
5305 display-buffer-window variable.
5306
5307 * help-mode.el (help-mode-finish): Remove help-window related
5308 code.
5309
5310 * view.el (view-exits-all-viewing-windows): Remove reference to
5311 view-return-to-alist in doc-string.
5312 (view-return-to-alist): Make obsolete.
5313 (view-buffer): Call pop-to-buffer-same-window and remove
5314 undo-window code.
5315 (view-buffer-other-window): Call pop-to-buffer-other-window and
5316 simplify code. Ignore second argument.
5317 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5318 simplify code. Ignore second argument.
5319 (view-return-to-alist-update): Make obsolete.
5320 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5321 Rewrite using quit-restore window parameters.
2b75be67
SM
5322 (view-mode-exit): Rename second argument to EXIT-ONLY.
5323 Rewrite using quit-restore-window.
357f93d2
MR
5324 (View-exit, View-exit-and-edit, View-leave, View-quit)
5325 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5326 appropriate arguments.
5327 (view-end-message): Use quit-restore window parameter.
5328
9481c002
MR
5329 * window.el (display-buffer-function): Rewrite doc-string.
5330 (display-buffer-window, display-buffer-alist): New variables.
5331 (display-buffer-split-specifiers)
5332 (display-buffer-side-specifiers)
5333 (display-buffer-macro-specifiers): New constants.
5334 (display-buffer-even-window-sizes, display-buffer-set-height)
5335 (display-buffer-set-width, display-buffer-select-window)
5336 (display-buffer-in-window, display-buffer-reuse-window)
5337 (display-buffer-split-window-1, display-buffer-split-window)
5338 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5339 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5340 (display-buffer-in-side-window, normalize-buffer-to-display)
5341 (display-buffer-normalize-specifiers-1)
5342 (display-buffer-normalize-specifiers-2)
2b75be67
SM
5343 (display-buffer-normalize-specifiers, display-buffer-frame):
5344 New functions.
9481c002
MR
5345 (display-buffer): Major rewrite.
5346 (display-buffer-other-window, display-buffer-other-frame)
5347 (pop-to-buffer, switch-to-buffer-other-window)
5348 (switch-to-buffer-other-frame): Rewrite.
5349 (display-buffer-same-window, display-buffer-same-frame)
5350 (display-buffer-same-frame-other-window)
5351 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5352 (pop-to-buffer-other-window)
5353 (pop-to-buffer-same-frame-other-window)
5354 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5355 (switch-to-buffer-other-window-same-frame): New functions.
5356 (same-window-p, special-display-p): Rewrite disabling warnings.
5357 Make obsolete.
5358 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5359 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5360 Make obsolete
5361 (same-window-buffer-names, same-window-regexps)
5362 (special-display-frame-alist, special-display-popup-frame)
5363 (special-display-function, special-display-buffer-names)
5364 (special-display-regexps, pop-up-frame-alist)
5365 (pop-up-frame-function, split-window-preferred-function)
5366 (split-height-threshold, split-width-threshold)
5367 (even-window-heights): Make obsolete.
5368
9db51aca
GM
53692011-06-12 Glenn Morris <rgm@gnu.org>
5370
5371 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 5372 Misc simplifications.
9db51aca 5373
39cffb44
MR
53742011-06-12 Martin Rudalics <rudalics@gmx.at>
5375
5376 * window.el (window-safely-shrinkable-p): Restore function which
5377 was inadvertently removed in change from 2011-06-11. Declare as
5378 obsolete.
5379
2b75be67
SM
5380 * calendar/calendar.el (calendar-generate-window):
5381 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
5382 window-safely-shrinkable-p.
5383
a8955be7
GM
53842011-06-12 Glenn Morris <rgm@gnu.org>
5385
5386 * progmodes/fortran.el (fortran-mode-syntax-table):
5387 * progmodes/f90.el (f90-mode-syntax-table):
5388 Set % to punctuation. (Bug#8820)
5389 (f90-find-tag-default): Remove, no longer needed.
5390
f0d4059d
DC
53912011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5392
5393 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5394
1100a63c
CY
53952011-06-11 Chong Yidong <cyd@stupidchicken.com>
5396
5397 * image.el (image-animated-p): Return animation delay in seconds.
5398 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5399 (image-animate-timeout): Remove DELAY argument. Don't assume
5400 every subimage has the same delay; get it from image-animated-p.
5401 (image-animate): Caller changed.
5402
def722bf
MA
54032011-06-11 Michael Albinus <michael.albinus@gmx.de>
5404
5405 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5406 to ignored backtrace functions.
5407
0a2bb1a9
GM
54082011-06-11 Glenn Morris <rgm@gnu.org>
5409
5410 * calendar/appt.el (appt-disp-window-function): Doc fix.
5411 (appt-check): Handle overlapping appointments. (Bug#8337)
5412
6198ccd0
MR
54132011-06-11 Martin Rudalics <rudalics@gmx.at>
5414
5415 * window.el (window-tree-1, window-tree): New functions, moving
5416 the latter to window.el.
5417 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5418 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5419 (bw-refresh-edges): Remove.
5420 (balance-windows-1, balance-windows-2): New functions.
5421 (balance-windows): Rewrite in terms of window tree functions,
5422 balance-windows-1 and balance-windows-2.
5423 (bw-adjust-window): Remove.
5424 (balance-windows-area-adjust): New function with functionality of
5425 bw-adjust-window but using resize-window.
2b75be67
SM
5426 (set-window-text-height): Rewrite doc-string.
5427 Use normalize-live-window and resize-window.
5428 (enlarge-window-horizontally, shrink-window-horizontally):
5429 Rename argument to DELTA.
6198ccd0
MR
5430 (window-buffer-height): New function.
5431 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5432 Rewrite using new window resize routines.
2b75be67
SM
5433 (kill-buffer-and-window, mouse-autoselect-window-select):
5434 Use ignore-errors instead of condition-case.
6198ccd0
MR
5435 (quit-window): Call delete-frame instead of delete-windows-on
5436 for the only buffer on frame.
5437
9397e56f
MR
54382011-06-10 Martin Rudalics <rudalics@gmx.at>
5439
5440 * loadup.el (top-level): Load window before files for the sake
5441 of replace-buffer-in-windows.
5442
5443 * files.el (read-buffer-to-switch)
5444 (switch-to-buffer-other-window)
2b75be67
SM
5445 (switch-to-buffer-other-frame, display-buffer-other-frame):
5446 Move to window.el.
9397e56f
MR
5447
5448 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5449 (previous-buffer): Move to window.el.
5450
5451 * bindings.el (unbury-buffer): Move to window.el.
5452
5453 * window.el (delete-other-windows-vertically): Move after
5454 definition of delete-other-windows.
5455 (other-window, delete-windows-on, replace-buffer-in-windows):
5456 Move here from window.c.
5457 (record-window-buffer, unrecord-window-buffer)
5458 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5459 (switch-to-next-buffer): New functions.
5460 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5461 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5462 (previous-buffer): Move here from simple.el.
5463 Call switch-to-prev-buffer.
9397e56f
MR
5464 (bury-buffer): Move here from buffer.c. Switch to previous
5465 buffer when window cannot be deleted.
5466 (unbury-buffer): Move here from bindings.el.
5467 (ctl-x-map): Move binding for other-window from window.c to
5468 here.
5469 (read-buffer-to-switch, switch-to-buffer-other-window)
5470 (switch-to-buffer-other-frame): Move here from files.el.
5471 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5472 (switch-to-buffer): Move here from buffer.c.
5473 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5474
562dd5e9
MR
54752011-06-10 Martin Rudalics <rudalics@gmx.at>
5476
5477 * window.el (window-min-height, window-min-width): Move here
5478 from window.c. Add defcustoms and rewrite doc-strings.
5479 (resize-mini-window, resize-window): New functions.
5480 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5481 Move here from window.c.
5482 (maximize-window, minimize-window): New functions.
5483 (delete-window, delete-other-windows, split-window): Move here
5484 from window.c.
5485 (window-split-min-size): New function.
5486 (split-window-keep-point): Mention split-window-above-each-other
5487 instead of split-window-vertically.
2b75be67
SM
5488 (split-window-above-each-other, split-window-vertically):
5489 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5490 provide defalias for old definition.
5491 (split-window-side-by-side, split-window-horizontally): Rename
5492 split-window-horizontally to split-window-side-by-side and provide
5493 defalias for the old definition.
5494 (ctl-x-map): Move bindings for delete-window,
5495 delete-other-windows and enlarge-window here from window.c.
5496 Replace bindings for split-window-vertically and
5497 split-window-horizontally by bindings for
5498 split-window-above-each-other and split-window-side-by-side.
5499
5500 * cus-start.el (all): Remove entries for window-min-height and
5501 window-min-width. Add entries for window-splits and
5502 window-nest.
5503
f0da764a
GM
55042011-06-09 Glenn Morris <rgm@gnu.org>
5505
80675c21
GM
5506 * calendar/appt.el (appt-mode-line): New function.
5507 (appt-check, appt-disp-window): Use it.
5508
f0da764a
GM
5509 * files.el (hack-one-local-variable-eval-safep):
5510 Allow minor-modes with explicit +/-1 arguments.
5511
59f623b7
TZ
55122011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5513
5514 * term/xterm.el (xterm): Add defgroup.
5515 (xterm-extra-capabilities): Add defcustom to supply known xterm
5516 capabilities, skip querying them, or query them (default).
5517 (terminal-init-xterm): Use it.
5518 (terminal-init-xterm-modify-other-keys): New function to set up
5519 modifyOtherKeys support to simplify `terminal-init-xterm'.
5520
9aab8e0d
MR
55212011-06-09 Martin Rudalics <rudalics@gmx.at>
5522
5523 * window.el (resize-window-reset, resize-window-reset-1)
5524 (resize-subwindows-skip-p, resize-subwindows-normal)
5525 (resize-subwindows, resize-other-windows, resize-this-window)
5526 (resize-root-window, resize-root-window-vertically)
5527 (window-deletable-p, window-or-subwindow-p)
5528 (frame-root-window-p): New functions.
5529
e8b08aee
GM
55302011-06-09 Glenn Morris <rgm@gnu.org>
5531
5532 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5533 (ange-ftp-get-files): Use it.
5534
254c37a5
AK
55352011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5536
5537 * mail/sendmail.el (mail-recover-1, mail-recover):
5538 * files.el (recover-file, recover-session):
5539 Handle dired-listing-switches not being just a single short option.
5540
35d7dbd3
GM
55412011-06-09 Glenn Morris <rgm@gnu.org>
5542
5543 * calendar/appt.el (appt-display-message, appt-disp-window):
5544 Handle lists of appointments.
5545
387522b2
MR
55462011-06-08 Martin Rudalics <rudalics@gmx.at>
5547
2b75be67
SM
5548 * window.el (one-window-p): Move down in code.
5549 Rewrite doc-string.
5550 (window-current-scroll-bars): Rewrite doc-string.
5551 Normalize live window argument.
387522b2
MR
5552 (walk-windows, get-window-with-predicate, count-windows):
5553 Rewrite doc-string. Use window-list-1.
5554 (window-in-direction-2, window-in-direction, get-mru-window):
5555 New functions.
5556
d8e4b68b 55572011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5558
5559 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5560 Doc fix (Bug#8713).
5561
55622011-06-08 Chong Yidong <cyd@stupidchicken.com>
5563
5564 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5565
55662011-06-08 Juanma Barranquero <lekktu@gmail.com>
5567
5568 * loadhist.el (unload-feature-special-hooks):
5569 Add `comint-output-filter-functions'.
5570
0de12c52
IK
55712011-06-08 Ivan Kanis <gnu@kanis.fr>
5572
5573 * calendar/appt.el (appt-check): Move some initializations into the let.
5574
f3d1777e
MR
55752011-06-08 Martin Rudalics <rudalics@gmx.at>
5576
5577 * window.el (window-height): Defalias to window-total-height.
5578 (window-width): Defalias to window-body-width.
5579
18af70d0
CY
55802011-06-07 Chong Yidong <cyd@stupidchicken.com>
5581
5582 * image-mode.el (image-toggle-animation): New command.
5583 (image-mode-map): Bind it to RET.
5584 (image-mode): Update message.
5585 (image-toggle-display-image): Avoid a spurious cache flush.
5586 (image-transform-rotation): Doc fix.
5587 (image-transform-properties): Return quickly in the normal case.
5588 (image-animate-loop): Rename from image-animate-max-time.
5589
2b75be67 5590 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5591 (create-animated-image): Remove unnecessary function.
5592 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5593 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5594 (image-animate-timer): Use car-safe.
5595 (image-animate-timeout): Rename argument.
5596
190b47e6
MR
55972011-06-07 Martin Rudalics <rudalics@gmx.at>
5598
5599 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5600 window.c. Rename first argument to ALL-FRAMES.
5601 Rephrase doc-strings.
5602 (get-buffer-window-list): Rewrite using window-list-1.
5603 Rephrase doc-string.
a1511caf
MR
5604 (window-safe-min-height, window-safe-min-width): New constants.
5605 (window-size-ignore, window-min-size, window-min-size-1)
5606 (window-sizable, window-sizable-p, window-size-fixed-1)
5607 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5608 (window-max-delta-1, window-max-delta, window-resizable)
5609 (window-resizable-p, window-total-height, window-total-width)
5610 (window-body-width): New functions.
5611 (window-full-height-p, window-full-width-p): Rewrite using
5612 window-total-size.
5613 (window-body-height): Rewrite using window-body-size.
190b47e6 5614
85cc1f11
MR
56152011-06-06 Martin Rudalics <rudalics@gmx.at>
5616
5617 * window.el (window-right, window-left, window-child)
5618 (window-child-count, window-last-child, window-any-p)
5619 (normalize-live-buffer, normalize-live-frame)
5620 (normalize-any-window, normalize-live-window)
5621 (window-iso-combination-p, window-iso-combined-p)
5622 (window-iso-combinations)
5623 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5624 (windows-with-parameter, window-with-parameter)
5625 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5626 (window-atom-check, window-side-check, window-check):
5627 New functions.
85cc1f11
MR
5628 (ignore-window-parameters, window-sides, window-sides-vertical)
5629 (window-sides-slots): New variables.
5630 (window-size-fixed): Move down in code. Minor doc-string fix.
5631
e7156492
AS
56322011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5633
5634 * comint.el (comint-dynamic-complete-as-filename)
5635 (comint-dynamic-complete-filename): Correctly call
5636 completion-in-region.
5637
7e821d0d
DD
56382011-06-05 Deniz Dogan <deniz@dogan.se>
5639
5640 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5641 in last change.
5642
ac09b8a1
DD
56432011-06-05 Deniz Dogan <deniz@dogan.se>
5644
5645 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5646 (rcirc): Use it to prompt for encryption.
5647
34699b85
RW
56482011-06-05 Roland Winkler <winkler@gnu.org>
5649
5650 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5651 (bibtex-search-entries): New command bound to C-c C-a.
5652 (bibtex-display-entries): New function.
5653
004dedd3
RW
56542011-06-05 Roland Winkler <winkler@gnu.org>
5655
5656 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5657 (bibtex-insert-kill): After yanking insert newline if necessary.
5658 (bibtex-initialize): Call bibtex-string-files-init only once.
5659 (bibtex-mode): Do not call easy-menu-add.
5660 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5661 (bibtex-yank): Set arg properly if nil.
5662
022fe7ce
RW
56632011-06-05 Roland Winkler <winkler@gnu.org>
5664
2b75be67
SM
5665 * textmodes/bibtex.el (bibtex-search-entry-globally):
5666 New variable.
022fe7ce
RW
5667 (bibtex-search-entry): Use it.
5668
b7c3692a
RW
56692011-06-05 Roland Winkler <winkler@gnu.org>
5670
5671 * textmodes/bibtex.el (bibtex-entry-format): New option
5672 sort-fields.
5673 (bibtex-format-entry, bibtex-reformat): Honor this option.
5674 (bibtex-parse-entry): Return fields in proper order.
5675
8eda563d
JB
56762011-06-05 Juanma Barranquero <lekktu@gmail.com>
5677
5678 * doc-view.el (doc-view-remove-if): Move computation of result out
5679 of `dolist' to silence misleading lexical-binding warning.
5680
7dbe3dbc
CY
56812011-06-04 Chong Yidong <cyd@stupidchicken.com>
5682
5683 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5684 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5685
0c33dd17
MA
56862011-06-04 Michael Albinus <michael.albinus@gmx.de>
5687
5688 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5689 "SunOS 5.10".
5690
f8f91c2b
MA
56912011-06-04 Michael Albinus <michael.albinus@gmx.de>
5692
5693 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5694 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5695 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5696 (tramp-parse-putty):
5697 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5698 (tramp-completion-function-alist-ssh)
5699 (tramp-completion-function-alist-telnet)
5700 (tramp-completion-function-alist-su)
5701 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5702 cookie.
5703
5704 * net/tramp-ftp.el:
5705 * net/tramp-sh.el:
5706 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5707 load "tramp.el" `tramp-set-completion-function'.
5708
e17d9003
SM
57092011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5710
5711 * shell.el: Require and use pcomplete.
5712 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5713 (shell-completion-vars): Set pcomplete-default-completion-function.
5714
6c4cab03
DD
57152011-06-04 Deniz Dogan <deniz@dogan.se>
5716
5717 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5718 `memq' (Bug#8799).
5719
ea9fafe0
SM
57202011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5723
b3e945d3
JB
57242011-06-02 Juanma Barranquero <lekktu@gmail.com>
5725
5726 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5727 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5728 * vc/log-view.el (log-view-beginning-of-defun):
5729 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5730 (smerge-refine-forward, smerge-refine-chopup-region):
5731 Silence warning for unused `dotimes' counter variables.
5732
7d520089
SM
57332011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * net/tramp.el (tramp-with-progress-reporter): Rename from
5736 with-progress-reporter. Use `declare'.
5737 * net/tramp-smb.el:
5738 * net/tramp-sh.el:
5739 * net/tramp-gvfs.el: Update all uses.
5740
a1c2400f
JB
57412011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5742
5743 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5744 buffer isn't killed before making it current.
5745
2403c841
SM
57462011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5747
5748 Silence various byte-compiler warnings.
5749 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5750 `access-type' and new obsolescence format.
5751 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5752 new format.
5753 (byte-compile-check-variable): New `access-type' argument.
5754 Only warn if the access-type is obsolete.
5755 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5756 (byte-compile-variable-set): Adjust callers.
5757 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5758 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5759 setting it as obsolete.
5760 * simple.el (minibuffer-completing-symbol):
5761 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5762 access as obsolete.
5763 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5764 obsolete yet.
5765 * international/quail.el (quail-mouse-choose-completion): Remove unused
5766 code referring to obsolete var.
5767 (quail-choose-completion-string): Remove.
5768 * server.el (server-clients-with, server-kill-buffer-query-function)
5769 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5770 * proced.el (proced-send-signal):
5771 * emacs-lisp/lisp.el (lisp-complete-symbol):
5772 Replace completion-annotate-function with completion-extra-properties.
5773
2462470b
SM
57742011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5775
fb5b2591
SM
5776 * simple.el (goto-line): Use read-number.
5777 (overriding-map-is-bound): Remove.
5778 (saved-overriding-map): Change default.
5779 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5780 Take the map as argument.
5781 (universal-argument, negative-argument, digit-argument): Use it.
5782 (restore-overriding-map): Adjust.
5783 (do-auto-fill): Use fill-forward-paragraph.
5784 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5785
fd6fa53f
SM
5786 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5787 (minibuffer-inactive-mode): New major mode.
5788 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5789 the *Messages* buffer" hack.
5790 (mouse-popup-menubar): Don't burp if the event is a normal key.
5791
2462470b
SM
5792 Miscellaneous tweaks.
5793 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5794 lexical scoping as in subr.el's dolist and dotimes.
5795 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5796 Silence compiler warning.
5797 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5798 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5799 * international/ccl.el (ccl-compile): Trivial simplification.
5800 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5801 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5802 `printflag' argument.
5803 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5804 Purecopy the whole obsolescence data.
5805
108bf785
LL
58062011-06-01 Leo Liu <sdl.web@gmail.com>
5807
5808 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5809 improve doc-string as suggested by Marco Pessotto
5810 <melmothx@gmail.com>.
5811 (rcirc-print): Fix last change.
5812
30a23501
SM
58132011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5814
5815 * minibuffer.el (complete-with-action): Return nil for the metadata and
5816 boundaries of non-functional tables.
5817 (completion-table-dynamic): Return nil for the metadata.
5818 (completion-table-with-terminator): Add default case, using
5819 complete-with-action.
5820 (completion--metadata): New function.
5821 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5822 to try and avoid pathological performance problems.
5823 (completion--embedded-envvar-table): Return `category' metadata.
5824
bcd54f83
LMI
58252011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5826
5827 * subr.el (process-alive-p): New tiny convenience function.
5828
e227544d
SM
58292011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5830
5831 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5832 content but also its previous major mode.
5833
e8296fdc
HE
58342011-05-31 Helmut Eller <eller.helmut@gmail.com>
5835
4d61f28d 5836 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5837 *Backtrace* buffer when we exit with C-M-c.
5838
620c53a6
SM
58392011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5840
5841 * minibuffer.el: Add metadata method to completion tables.
5842 (completion-category-overrides): New defcustom.
5843 (completion-metadata, completion--field-metadata)
5844 (completion-metadata-get, completion--styles)
5845 (completion--cycle-threshold): New functions.
5846 (completion-try-completion, completion-all-completions):
5847 Add `metadata' argument to choose completion-styles.
5848 (completion--do-completion): Use metadata to choose cycling.
5849 (completion-all-sorted-completions): Use metadata for sorting.
5850 Remove :completion-cycle-penalty which is not needed any more.
5851 (completion--try-word-completion): Add `metadata' argument.
5852 (minibuffer-completion-help): Check metadata for annotation function
5853 and sorting.
5854 (completion-file-name-table): Return `category' metadata.
5855 (minibuffer-completing-file-name): Make obsolete.
5856 * simple.el (minibuffer-completing-symbol): Make obsolete.
5857 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5858 completion-try-completion.
5859
1257e755
SM
58602011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5861
5862 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5863
3767e706
LL
58642011-05-30 Leo Liu <sdl.web@gmail.com>
5865
5866 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5867 (rcirc-print): Decode all incoming messages (bug#8744).
5868 (rcirc-decode-coding-system): Allow value nil for automatic coding
5869 system detection.
3767e706 5870
d1a5d56a
GM
58712011-06-01 Glenn Morris <rgm@gnu.org>
5872
5873 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5874
e8cbec34
CY
58752011-05-29 Chong Yidong <cyd@stupidchicken.com>
5876
5877 * image.el (image-animate-max-time): Allow nil and t values.
5878 Default to nil.
5879 (create-animated-image): Doc fix.
5880 (image-animate-start): Remove second arg; just use
5881 image-animate-max-time.
5882 (image-animate-timeout): Doc fix. Args changed.
5883
5884 * image-mode.el (image-toggle-display-image): Ensure that the
5885 image spec passed to the animate timer is the same object as in
58179cce 5886 the buffer's display property (Bug#6981).
e8cbec34
CY
5887 (image-transform-properties): Doc fix.
5888
5889 * image.el (image-animate-max-time): Default to nil.
5890
159daf87
MR
58912011-05-29 Martin Rudalics <rudalics@gmx.at>
5892
5893 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5894 entire buffer list (Bug#8184).
5895
d66c4c7c
CY
58962011-05-29 Chong Yidong <cyd@stupidchicken.com>
5897
5898 * image.el (imagemagick-types-inhibit)
5899 (imagemagick-register-types): Doc fix.
5900
80aec780
DD
59012011-05-29 Deniz Dogan <deniz@dogan.se>
5902
5903 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5904 default.
5905
1dd3c2d9
CY
59062011-05-29 Chong Yidong <cyd@stupidchicken.com>
5907
5908 * select.el: Don't perform clipboard-manager saving in hooks;
5909 leave the hooks empty.
5910
60e56523
LL
59112011-05-28 Leo Liu <sdl.web@gmail.com>
5912
5913 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5914 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5915 (occur-edit-mode): New major mode (Bug#8463).
5916 (occur-after-change-function): New function.
5917 (occur-engine): Give Occur tags a read-only property.
5918
2b1e1a22
KR
59192011-05-28 Kevin Ryde <user42@zip.com.au>
5920
5921 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5922
5d344e88
CY
59232011-05-28 Chong Yidong <cyd@stupidchicken.com>
5924
8e6ca83d
CY
5925 * bindings.el (help-echo): Make the initial non-indicator dash
5926 empty on graphical terminals (Bug#7295).
5927
5d344e88
CY
5928 * files.el (auto-mode-alist): Move config rule after the
5929 in-stripping one (Bug#8547).
5930
bfbbace7
CY
5931 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5932
fbeba6e2
CY
5933 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5934 setting (Bug#8740).
5935
60ed8c72
AA
59362011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5937
4ac619f0
AA
5938 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5939 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5940 (Bug#8539).
60ed8c72 5941
23db196e
CY
59422011-05-28 Chong Yidong <cyd@stupidchicken.com>
5943
5944 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5945
5012f24c
DK
59462011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5947
5948 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5949 (hs-hide-block-at-point, hs-find-block-beginning)
5950 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5951 (Bug#8279).
5952
6a639b16
GM
59532011-05-28 Glenn Morris <rgm@gnu.org>
5954
5955 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5956
d43eaf2c
CY
59572011-05-28 Chong Yidong <cyd@stupidchicken.com>
5958
5199bde1
CY
5959 * help-fns.el (describe-function-1): If the function is a derived
5960 major mode, print the parent mode.
5961
d43eaf2c
CY
5962 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5963 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5964
423428a8
SM
59652011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5966
0ff8e1ba 5967 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 5968 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
5969 * progmodes/etags.el (tags-completion-at-point-function):
5970 * info-look.el (info-lookup-completions-at-point): Mark as
5971 non-exclusive.
5972 (info-complete): Adjust accordingly.
5973
423428a8
SM
5974 * info-look.el: Convert to lexical-binding and completion-at-point.
5975 (info-lookup-completions-at-point): New function.
5976 (info-complete): Use it and completion-in-region.
5977
b74aa22b
DA
59782011-05-28 Drew Adams <drew.adams@oracle.com>
5979
5980 * isearch.el: Let M-e start with point at the first mismatched char.
5981 (isearch-fail-pos): New function.
5982 (isearch-edit-string): Use it.
5983
66e2e71d
DK
59842011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5985
5986 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5987
eb95d01d
TC
59882009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5989
5990 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5991 traversal functions for avl-trees.
5992 (avl-tree--stack): New struct.
5993 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5994 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5995 (avl-tree--do-enter): Add optional `updatefun' arg.
5996 Change return value.
eb95d01d 5997 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5998 (avl-tree--do-delete): Add `test' and `nilflag' args.
5999 Change return value.
eb95d01d
TC
6000 (avl-tree-member): Add optional `nilflag'
6001 (avl-tree-member-p): New function.
6002 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6003 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6004 (avl-tree-stack-empty-p): New functions.
6005
3769ddcf
TC
60062009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6007
6008 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6009 avl-tree--del-balance1 and make it work both ways.
6010 (avl-tree--del-balance2): Remove.
6011 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6012 make it work both ways.
6013 (avl-tree--enter-balance2): Remove.
6014 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6015 New macros.
6016 (avl-tree--mapc, avl-tree-map): Add direction argument.
6017
eb95d01d 60182011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
6019
6020 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6021
a9f737ee
CY
60222011-05-27 Chong Yidong <cyd@stupidchicken.com>
6023
6024 * select.el: Support clipboard managers with built-in function
6025 x-clipboard-manager-save, via delete-frame-functions and
6026 kill-emacs-hook.
6027 (xselect-convert-to-targets): Add MULTIPLE target to list.
6028 (xselect-convert-to-save-targets): New function.
6029
c92a1e54
KH
60302011-05-27 Kenichi Handa <handa@m17n.org>
6031
6032 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6033 let-binding rfc2047-encode-encoded-words to nil.
6034
e145f188
GM
60352011-05-27 Glenn Morris <rgm@gnu.org>
6036
5ec8a862
GM
6037 * mail/emacsbug.el: Don't require url-util.
6038
4b29d9fb
GM
6039 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
6040
e145f188
GM
6041 * files.el (set-auto-mode):
6042 Also respect mode: entries at the end of the file. (Bug#8586)
6043
7d15102b
GM
60442011-05-26 Glenn Morris <rgm@gnu.org>
6045
98f593b8
GM
6046 * files.el (hack-local-variables-prop-line, hack-local-variables):
6047 Downcase mode names, as seems to be traditional.
27b48e63 6048 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 6049
7d15102b
GM
6050 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6051 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
6052
51d5b4ec
JD
60532011-05-25 Julien Danjou <julien@danjou.info>
6054
6055 * textmodes/rst.el (rst-define-level-faces): Do not define face
6056 symbol if it is already defined.
6057
91513f63
VB
60582011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6059
6060 * play/5x5.el (5x5-new-game, 5x5-randomize):
6061 Reset 5x5-solver-output to nil when a new grid is cast.
6062 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6063 these debugging traces, as defmacro breaks the compiled code.
6064
4d90d6d0
DK
60652011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6066
6067 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6068
e1b90ef6
LL
60692011-05-24 Leo Liu <sdl.web@gmail.com>
6070
6071 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6072 (vc-bzr-sha1): Adapt.
6073
d8e4b68b 6074 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
6075
6076 * bindings.el: Provide sha1 feature.
6077
db0406bb 60782011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
6079
6080 * mail/sendmail.el: Require `rfc2047'.
6081 (mail-insert-from-field): Do not perform RFC2047 encoding.
6082 (mail-encode-header): New function.
6083 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
6084 buffer to the return value of select-message-coding-system.
6085 Call mail-encode-header.
b8d747b9
KH
6086
6087 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6088
db0406bb 60892011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 6090
4d90d6d0
DK
6091 * mail/supercite.el (sc-default-cite-frame):
6092 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 6093
eb8a5e9b
GM
60942011-05-24 Glenn Morris <rgm@gnu.org>
6095
f8630703
GM
6096 * progmodes/python.el (brm-menu): Declare.
6097
8831bbed
GM
6098 * emulation/viper.el (viper-set-hooks): Declare.
6099
eb8a5e9b
GM
6100 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6101 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6102 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6103 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6104 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6105 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6106
a2a25d24
SM
61072011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6108
6109 Add an :exit-function for completion-at-point.
6110
6111 * minibuffer.el (completion--done): New fun.
6112 (completion--do-completion): Use it. New arg `expect-exact'.
6113 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6114 since completion--do-completion does it for us now.
6115 (minibuffer-force-complete): Use completion--done and
6116 completion--replace. Handle sole-completion case with more care.
6117 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6118 (completion-extra-properties): New var.
6119 (completion-annotate-function): Make obsolete.
6120 (minibuffer-completion-help): Adjust accordingly.
6121 Use completion-list-insert-choice-function.
6122 (completion-at-point, completion-help-at-point):
6123 Bind completion-extra-properties.
6124 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6125 * simple.el (completion-list-insert-choice-function): New var.
6126 (completion-setup-function): Preserve it.
6127 (choose-completion): Pay attention to it, shuffle the code a bit.
6128 (choose-completion-string): New arg `insert-function'.
6129
6130 * textmodes/bibtex.el: Convert to lexical binding.
6131 (bibtex-mode-map): Use completion-at-point.
6132 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6133 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6134 (bibtex-complete): Define as obsolete alias.
6135 (bibtex-complete-internal): Remove.
6136 (bibtex-format-entry): Remove unused sub-group in regexp.
6137 * shell.el (shell--command-completion-data)
6138 (shell-environment-variable-completion):
6139 * pcomplete.el (pcomplete-completions-at-point):
6140 * comint.el (comint--complete-file-name-data): Use :exit-function
6141 instead of completion-table-with-terminator so it also works for
6142 choose-completion.
6143
e44e373d
SM
61442011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6145
4f91a816
SM
6146 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6147
782fc819
SM
6148 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6149 (bug#8710).
6150
e44e373d
SM
6151 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6152
381987c3
KM
61532011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6154
6155 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6156 customization variable and implement: If non-nil, auto-fill will
6157 be inhibited while on topic's header line.
6158
b776bc70
VB
61592011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6160
6161 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 6162 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
6163 always have a solution in grid size = 5 cases.
6164 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6165 (5x5-solver-output, 5x5-log-buffer): New vars.
6166 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6167 Make these variables buffer local to achieve 5x5 multi-session-ness.
6168 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6169 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6170 (5x5-solve-suggest): New funs.
6171 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6172 randomize a grid so that we ensure that there is always a solution.
6173 (5x5-make-random-grid): Allow other movement than flipping.
6174
7de88b6e
KR
61752011-05-23 Kevin Ryde <user42@zip.com.au>
6176
6177 * emacs-lisp/advice.el (ad-read-advised-function):
6178 Use `function-called-at-point' as the default default, if it has
6179 advice and passes PREDICATE.
6180
b1ef1257
SM
61812011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6182
bbca48fe
SM
6183 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6184 byte-compile-lambda if it's actually a lambda.
6185
b1ef1257
SM
6186 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6187 Fix function quoting. Use backquote better.
6188
92a9cc65
YS
61892011-05-22 Yuanle Song <sylecn@gmail.com>
6190
6191 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6192 matching (Bug#8516).
6193
f0fb8059
JA
61942011-01-22 Jari Aalto <jari.aalto@cante.net>
6195
6196 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6197 different face (Bug#8178).
6198
d5b44c93
CY
61992011-05-22 Chong Yidong <cyd@stupidchicken.com>
6200
6201 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6202 defface (Bug#8144).
6203
79106a44
SM
62042011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6205
9c848d8a
SM
6206 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6207 funcall as well (bug#8712). Warn when performing those conversions.
6208 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6209
79106a44
SM
6210 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6211
88dfa756
GM
62122011-05-22 Glenn Morris <rgm@gnu.org>
6213
6214 * files.el (hack-local-variables-prop-line): Small simplifications.
6215 (hack-local-variables, hack-local-variables-prop-line):
6216 If MODE-ONLY, return the mode, rather than just `t'.
6217
b7cf2c79
SM
62182011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6221
3f1a8558
GM
62222011-05-21 Glenn Morris <rgm@gnu.org>
6223
7e4ccca3
GM
6224 * files.el (hack-local-variables-prop-line, hack-local-variables):
6225 If only interested in the mode, don't bother doing the other stuff.
6226
637d46ca
GM
6227 * image-mode.el (image-after-revert-hook):
6228 Redraw all frames on which the image is visible. (Bug#8567)
6229
973d955b
GM
6230 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6231
3f1a8558
GM
6232 * wid-edit.el (widget-checklist-match-inline):
6233 Fix 2011-04-19 change. (Bug#8649)
6234
96479927
SM
62352011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6236
1dcf791f
SM
6237 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6238 Also allow singlespace after single-letter capitals followed by a dot.
6239
96479927
SM
6240 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6241 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6242
35fd0881
N
62432011-05-20 Nix <nix@esperi.org.uk>
6244
6245 * files.el (basic-save-buffer-2):
6246 Fix handling of break-hardlink-on-save with non-existent files.
6247
82745640
DD
62482011-05-19 Deniz Dogan <deniz@dogan.se>
6249
6250 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 6251 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 6252
4a720484
GM
62532011-05-19 Glenn Morris <rgm@gnu.org>
6254
d1f21341
GM
6255 * progmodes/f90.el (f90-type-def-re):
6256 Handle "type, bind(c)". (Bug#8691)
6257
4a720484
GM
6258 * emacs-lisp/autoload.el (batch-update-autoloads):
6259 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6260
2fb0a219
MA
62612011-05-18 Michael Albinus <michael.albinus@gmx.de>
6262
6263 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6264 property for the correct connection in case of multihops.
6265
e565dd37
GM
62662011-05-18 Glenn Morris <rgm@gnu.org>
6267
c2571358 6268 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
6269 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6270
e565dd37
GM
6271 Rationalize calendar handling of day and month abbrev-arrays.
6272 * calendar/calendar.el (calendar-customized-p): New function.
6273 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6274 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6275 Add :set function.
6276 (calendar-abbrev-length, calendar-day-abbrev-array)
6277 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6278 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6279 Elements may no longer be nil.
6280 (calendar-day-name, calendar-month-name):
6281 Update for changed nature of abbrev arrays.
6282 * calendar/diary-lib.el (diary-name-pattern):
6283 Update for changed nature of abbrev arrays.
6284 (diary-mark-entries-1): Update calendar-make-alist calls.
6285 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6286 * calendar/cal-html.el (cal-html-day-abbrev-array):
6287 Simply inherit from calendar-day-abbrev-array.
6288
1d99a745
SM
62892011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6290
6291 * progmodes/grep.el (grep-mode): Disable default
6292 compilation-directory-matcher setting (bug#8684).
6293
7c1d9aa0
MA
62942011-05-17 Michael Albinus <michael.albinus@gmx.de>
6295
6296 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6297 instead of "head" and "tail". There were problems with SunOS 5.9,
6298 and it performs better.
6299
3952e9d8
GM
63002011-05-17 Glenn Morris <rgm@gnu.org>
6301
2dd12e7f
GM
6302 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6303
e4157b9c
GM
6304 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6305 Replace obsolete function.
6306
8e249bbd
GM
6307 * shell.el (pcomplete-parse-arguments-function): Declare.
6308
3952e9d8
GM
6309 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6310 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6311 (appt-check): Doc fixes.
6312 (appt-disp-window-function, appt-delete-window-function):
6313 Remove needless special case in custom :type.
6314 (appt-display-count): Default to 0, not nil.
6315 (appt-check): Reset appt-display-count to 0, not nil.
6316
c71a0d48 63172011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 6318
c71a0d48
GM
6319 * progmodes/python.el (python-font-lock-keywords):
6320 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 6321
31d55be9
SM
63222011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6325
3bfacb2f
KR
63262011-05-16 Kevin Ryde <user42@zip.com.au>
6327
6328 * info-look.el (makefile-automake-mode): New setups, looking in
6329 automake manual, then makefile-mode.
6330 (makefile-mode): Remove automake manual, have it just in
6331 makefile-automake-mode since there's various things different or
6332 not relevant to plain make.
6333 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6334 believe a hypothetical automake-mode would go to makefile-mode,
6335 not the other way around.
6336
c8e83751
CY
63372011-05-15 Chong Yidong <cyd@stupidchicken.com>
6338
5e9e35cd
CY
6339 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6340 hunk-end tags (Bug#8672).
6341
c8e83751
CY
6342 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6343 vc-annotate-show-diff-revision-at-line (Bug#8671).
6344
50b23e5a
GM
63452011-05-14 Glenn Morris <rgm@gnu.org>
6346
7210a739
GM
6347 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6348 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
6349 (change-log-font-lock-keywords): Also handle multiple author lines
6350 with leading tabs. (Bug#8644)
7210a739 6351
4691905a
GM
6352 * calendar/appt.el (appt-check): Rename some local variables.
6353 Some simplification/reordering.
6354
50b23e5a
GM
6355 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6356 (feedmail-sendmail-f-doesnt-sell-me-out)
6357 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6358 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6359 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
6360 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6361 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
6362 (feedmail-binmail-gnulinuxish-template):
6363 Rename from feedmail-binmail-linuxish-template.
6364 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6365 Use insert-buffer-substring.
6366
215cda7c
BC
63672011-05-14 Bill Carpenter <bill@carpenter.org>
6368
6369 * mail/feedmail.el (feedmail-patch-level): Increase.
6370 (feedmail-debug): New custom group.
6371 (feedmail-confirm-outgoing-timeout)
6372 (feedmail-sendmail-f-doesnt-sell-me-out)
6373 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6374 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6375 (feedmail-sender-line, feedmail-from-line)
6376 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 6377 (feedmail-spray-this-address)
215cda7c
BC
6378 (feedmail-spray-address-fiddle-plex-list)
6379 (feedmail-queue-use-send-time-for-date)
6380 (feedmail-queue-use-send-time-for-message-id)
6381 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6382 (feedmail-buffer-eating-function):
6383 Doc fixes.
6384 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6385 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6386 (feedmail-message-action-scroll-down): New functions.
6387 (feedmail-queue-directory, feedmail-queue-draft-directory):
6388 Use expand-file-name.
6389 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6390 Remove C-v help entry.
6391 (feedmail-queue-buffer-file-name): New variable.
6392 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6393 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6394 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6395 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6396 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6397 (feedmail-message-action-toggle-spray)
6398 (feedmail-run-the-queue-no-prompts)
6399 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6400 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6401 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6402 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6403 (feedmail-envelope-deducer, feedmail-fiddle-from)
6404 (feedmail-fiddle-sender, feedmail-default-date-generator)
6405 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6406 (feedmail-fiddle-spray-address)
6407 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6408 (feedmail-fiddle-list-of-fiddle-plexes)
6409 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6410 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6411 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6412 Change default. Doc fix.
6413 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6414 (feedmail-binmail-linuxish-template): New constant.
6415 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6416 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6417 (feedmail-send-it): Add debug call.
6418 Use feedmail-queue-buffer-file-name, and
6419 feedmail-send-it-immediately-wrapper.
6420 (feedmail-message-action-send): Add debug call.
6421 Use feedmail-send-it-immediately-wrapper.
6422 (feedmail-queue-express-to-queue): Add debug call.
6423 Run feedmail-queue-express-hook.
6424 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6425 (feedmail-message-action-help-blat):
6426 Rename from feedmail-queue-send-edit-prompt-help-first.
6427 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6428 Check line-endings. Handle errors better.
6429 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6430 Doc fix. Add debug call.
6431 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6432 Use feedmail-queue-send-edit-prompt-inner.
6433 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6434 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6435 from feedmail-queue-send-edit-prompt.
6436 (feedmail-queue-send-edit-prompt-help)
6437 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6438 (feedmail-tidy-up-slug): Add debug call.
6439 Respect feedmail-queue-slug-suspect-regexp.
6440 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6441 (feedmail-dump-message-to-queue): Add debug call.
6442 Expand queue-directory.
6443 (feedmail-dump-message-to-queue): Change message slightly.
6444 Use feedmail-say-chatter.
6445 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6446 (feedmail-send-it-immediately-wrapper): New function.
6447 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6448 Insert empty string rather than newline. Handle full-frame case.
6449 Use catch/throw. Use feedmail-say-chatter.
6450 (feedmail-fiddle-from): Try mail-host-address.
6451 (feedmail-default-message-id-generator): Doc fix.
6452 Bind system-time-locale. Handle missing end.
6453 (feedmail-fiddle-x-mailer): Add debug call.
6454 Handle feedmail-x-mailer-line being nil.
6455 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6456 Add debug call. Use buffer-substring-no-properties.
6457 (feedmail-say-debug, feedmail-say-chatter): New functions.
6458 (feedmail-find-eoh): Give an explicit error.
6459
42c7e61e
UJ
64602011-05-13 Ulf Jasper <ulf.jasper@web.de>
6461
c2571358 6462 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6463 family from helvetica to sans.
c2571358 6464 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6465 etc/images/newsticker.
6466
c2571358 6467 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6468 family from helvetica to sans.
6469
6470 * net/newst-plainview.el (newsticker-new-item-face)
6471 (newsticker-old-item-face, newsticker-immortal-item-face)
6472 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6473 (newsticker-statistics-face): Change default family from
42c7e61e 6474 helvetica to sans.
c2571358 6475 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6476 etc/images/newsticker.
6477
6478 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6479 (newsticker--process-auto-mark-filter-match): : Tell user about
6480 auto-marking.
6481
8497a297
DV
64822011-05-13 Didier Verna <didier@xemacs.org>
6483
6484 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6485 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6486 TODO entries.
8497a297
DV
6487 (lisp-lambda-list-keyword-parameter-indentation)
6488 (lisp-lambda-list-keyword-parameter-alignment)
6489 (lisp-lambda-list-keyword-alignment): New customizable user options.
6490 (lisp-indent-defun-method): Improve docstring.
6491 (extended-loop-p): Fix comment.
6492 (lisp-indent-lambda-list-keywords-regexp): New variable.
6493 (lisp-indent-lambda-list): New function.
6494 (lisp-indent-259): Use it.
6495 (lisp-indent-defmethod): Support for more than one
6496 method qualifier and properly indent methods lambda-lists.
6497 (defgeneric): Provide a missing common-lisp-indent-function property.
6498
f278f87f
SM
64992011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6502 bounds for the empty string (bug#8667).
6503
5233edd7
GM
65042011-05-13 Glenn Morris <rgm@gnu.org>
6505
5237a44f
GM
6506 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6507
8340026c 6508 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6509 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6510
5233edd7 6511 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6512 (appt-time-msg-list): Doc fix.
a5464014 6513 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6514
92d10796
AS
65152011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6516
6517 * progmodes/ld-script.el (ld-script-keywords)
6518 (ld-script-builtins): Update keywords list.
6519
914a0ae1
SM
65202011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6521
c89be45f
SM
6522 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6523
914a0ae1
SM
6524 * shell.el (shell-completion-vars): New function.
6525 (shell-mode):
6526 * simple.el (read-shell-command): Use it.
6527 (blink-matching-open): No need for " [...]" in minibuffer-message.
6528
98dc3df3
GM
65292011-05-12 Glenn Morris <rgm@gnu.org>
6530
6531 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6532 (appt-check): Simplify.
6533
d2fc7e3d 65342011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6535
4d61f28d 6536 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6537 literal "/dev/null".
6538
d2fc7e3d 65392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6540
6541 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6542 Fix typo.
6543
d2fc7e3d 65442011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6545
3f254caa
SM
6546 * progmodes/which-func.el (which-function):
6547 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6548 which might not be defined (Bug#8260).
6549
d45885f7
GM
65502011-05-12 Glenn Morris <rgm@gnu.org>
6551
6552 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6553 Let byte-compile-initial-macro-environment always take precedence.
6554
488086f4
SM
65552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6556
6557 * net/rcirc.el: Add support for SSL/TLS connections.
6558 (rcirc-server-alist): New field `encryption'.
6559 (rcirc): Check `encryption' settings.
6560 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6561 Merge make-local-variable into `set'.
6562 (rcirc--connection-open-p): New function.
6563 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6564 the process is not a network process (e.g. running gnutls-cli).
6565 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6566 Make rcirc-(en|de)code-coding-system local here.
6567 (rcirc-mode): Merge make-local-variable into `set'.
6568 (rcirc-parent-buffer): Make permanent buffer-local.
6569 (rcirc-multiline-minor-mode): Don't do it here.
6570 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6571 there's no server buffer.
6572
7d3b9d44
GM
65732011-05-11 Glenn Morris <rgm@gnu.org>
6574
f64049c6
GM
6575 * newcomment.el (comment-kill): Prefix "unused" local.
6576
93c9df73
GM
6577 * term/w32console.el (get-screen-color): Declare.
6578
7d3b9d44
GM
6579 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6580 Handle symbol elements of byte-compile-initial-macro-environment.
6581
9e2dd53f
LL
65822011-05-10 Leo Liu <sdl.web@gmail.com>
6583
488086f4
SM
6584 * bookmark.el (bookmark-bmenu-mode-map):
6585 Bind bookmark-bmenu-search to `/'.
8b340240 6586
9e2dd53f 6587 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6588 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6589 (Footnote-unicode): New function.
6590 (footnote-style-alist): Add unicode style to the list.
6591 (footnote-style): Doc fix.
9e2dd53f 6592
79b70037
GM
65932011-05-10 Jim Meyering <meyering@redhat.com>
6594
6595 Fix doubled-word typos.
6596 * international/quail.el (quail-insert-kbd-layout): and and -> and
6597 * kermit.el: and and -> and
6598 * net/ldap.el (ldap-search-internal): to to -> to
6599 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6600 * progmodes/js.el (js-mode): and and -> and
6601 * textmodes/artist.el (artist-move-to-xy): at at -> at
6602 (artist-draw-region-trim-line-endings): if if -> if
6603 And Safetyc -> Safety.
6604 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6605
b8f82dc1 66062011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6607 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6608
6609 * files.el (hack-one-local-variable-eval-safep):
6610 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6611
4f99f44b
GM
66122011-05-10 Glenn Morris <rgm@gnu.org>
6613
6614 * calendar/diary-lib.el (diary-list-entries-hook)
6615 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6616 (diary-nongregorian-marking-hook, diary-list-entries)
6617 (diary-include-other-diary-files, diary-mark-entries)
6618 (diary-mark-included-diary-files): Doc fixes.
6619
84f29e6b
JB
66202011-05-09 Juanma Barranquero <lekktu@gmail.com>
6621
6622 * misc.el: Require tabulated-list.el during compilation.
6623
9bedd73a
CY
66242011-05-09 Chong Yidong <cyd@stupidchicken.com>
6625
488086f4
SM
6626 * progmodes/compile.el (compilation-start):
6627 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6628 (compilation-filter-hook): Doc fix.
6629
797c735c
DD
66302011-05-09 Deniz Dogan <deniz@dogan.se>
6631
6632 * wdired.el: Remove outdated installation comment. Fix usage
6633 comment.
6634
5f4b1dfe
JB
66352011-05-09 Juanma Barranquero <lekktu@gmail.com>
6636
6637 * misc.el: Implement new command `list-dynamic-libraries'.
6638 (list-dynamic-libraries--loaded-only-p): New variable.
6639 (list-dynamic-libraries--refresh): New function.
6640 (list-dynamic-libraries): New command.
6641
4c44026c
CY
66422011-05-09 Chong Yidong <cyd@stupidchicken.com>
6643
488086f4
SM
6644 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6645 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6646 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6647 higher priority to avoid clobbering by gnu.
6648
027f966d
CY
66492011-05-08 Chong Yidong <cyd@stupidchicken.com>
6650
6651 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6652 if the face has existing theme settings (Bug#8454).
6653
085f5d7d
CY
66542011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6655
488086f4
SM
6656 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6657 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6658
2a86a00c
RS
6659 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6660 special file names `.' and `..' (Bug#8259).
6661
d9c54a06
CY
66622011-05-08 Chong Yidong <cyd@stupidchicken.com>
6663
488086f4
SM
6664 * progmodes/grep.el (grep-mode-font-lock-keywords):
6665 Remove buffer-changing entries.
d9c54a06
CY
6666 (grep-filter): New function.
6667 (grep-mode): Add it to compilation-filter-hook.
6668
6669 * progmodes/compile.el (compilation-filter-hook)
6670 (compilation-filter-start): New defvars.
6671 (compilation-filter): Call compilation-filter-hook prior to
6672 updating the process mark.
6673
c4662635
SM
66742011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6675
6676 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6677
b0512a1d
EZ
66782011-05-07 Eli Zaretskii <eliz@gnu.org>
6679
605c9376
EZ
6680 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6681 mailclient-send-it even if window-system is nil. (Bug#8595)
6682
c4662635
SM
6683 * term/w32console.el (terminal-init-w32console):
6684 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6685 background-mode. (Bug#8597)
6686
d1dc2cc2
SM
66872011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6688
6689 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6690 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6691 New functions.
6692 (defgeneric, eieio--defmethod): Use them.
6693 (eieio-defgeneric): Remove.
6694 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6695
915d1300
GM
66962011-05-07 Glenn Morris <rgm@gnu.org>
6697
a3961c3e
GM
6698 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6699 Use let rather than let*.
6700 (timeclock-find-discrep): Remove unused local.
6701
314347b9
GM
6702 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6703
915d1300
GM
6704 * calendar/appt.el (appt-time-msg-list): Doc fix.
6705
275b59b0
NF
67062011-05-06 Noah Friedman <friedman@splode.com>
6707
6708 * apropos.el (apropos-print-doc): Only use
6709 emacs-lisp-docstring-fill-column when it is bound to an integer,
6710 per that variable's documentation.
6711
6c19f744
SM
67122011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6713
6714 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6715 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6716
60f884b2
GM
67172011-05-06 Glenn Morris <rgm@gnu.org>
6718
5006e634
GM
6719 * calendar/appt.el (appt-message-warning-time): Doc fix.
6720 (appt-warning-time-regexp): New option.
6721 (appt-make-list): Respect appt-message-warning-time.
6722
548d0a63
GM
6723 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6724 New options.
6725 (diary-add-to-list): Strip comments from the displayed string.
6726 (diary-mode): Set comment-start and comment-end.
6727
60f884b2
GM
6728 * vc/diff-mode.el (smerge-refine-subst): Declare.
6729 (diff-refine-hunk): Don't require smerge-mode when compiling.
6730
989681bb
JB
67312011-05-06 Juanma Barranquero <lekktu@gmail.com>
6732
6733 * simple.el (list-processes): Return nil as the docstring says.
6734
a6bc05e1
MA
67352011-05-05 Michael Albinus <michael.albinus@gmx.de>
6736
6737 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6738 to "".
6739 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6740 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6741 determining of binary transfer. (Bug#7383)
6742
23c22e9a
MA
67432011-05-05 Michael Albinus <michael.albinus@gmx.de>
6744
c4662635
SM
6745 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6746 Fix port computation bug. (Bug#8618)
23c22e9a 6747
0bff894f
GM
67482011-05-05 Glenn Morris <rgm@gnu.org>
6749
b8296902
GM
6750 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6751
1f522ce8
GM
6752 * simple.el (shell-dynamic-complete-functions)
6753 (comint-dynamic-complete-functions): Declare.
6754
cf5bee67
GM
6755 * net/network-stream.el (gnutls-negotiate):
6756 * simple.el (tabulated-list-print): Fix declarations.
6757
6758 * progmodes/gud.el (syntax-symbol, syntax-point):
6759 Remove unnecessary and incorrect declarations.
6760
0bff894f
GM
6761 * emacs-lisp/check-declare.el (check-declare-scan):
6762 Handle byte-compile-initial-macro-environment in bytecomp.el
6763
9869b3ae
SM
67642011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 Fix earlier half-done eieio-defmethod change (bug#8338).
6767 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6768 Streamline and change calling convention.
6769 (defmethod): Adjust accordingly and simplify.
6770 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6771 new eieio--defmethod.
6772 (slot-boundp): Minor CSE simplification.
6773
9c1d5ac5
MZ
67742011-05-05 Milan Zamazal <pdm@zamazal.org>
6775
6776 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6777 (glasses-make-readable): Use glasses-separate-capital-groups.
6778
455c834e
JB
67792011-05-05 Juanma Barranquero <lekktu@gmail.com>
6780
6781 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6782 (warning-series): Doc fix.
6783 (display-warning): Don't try to create the buffer if we just found it.
6784
9ed7c8cb
CY
67852011-05-04 Chong Yidong <cyd@stupidchicken.com>
6786
6787 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6788 (autoload-find-generated-file): New function.
6789 (generate-file-autoloads): Bind generated-autoload-file to
6790 buffer-file-name.
9869b3ae
SM
6791 (update-file-autoloads, update-directory-autoloads):
6792 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6793 output file (Bug#7989).
6794 (batch-update-autoloads): Doc fix.
6795
0898ca10
JB
67962011-05-04 Juanma Barranquero <lekktu@gmail.com>
6797
6798 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6799
31dfb76c
GM
68002011-05-04 Glenn Morris <rgm@gnu.org>
6801
f330b642
GM
6802 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6803 function, so it follows changes in calendar-date-style.
6804 (diary-fancy-date-matcher): New function.
6805 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6806 (diary-fancy-font-lock-fontify-region-function):
6807 Use diary-fancy-date-pattern as a function.
6808
31dfb76c
GM
6809 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6810 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6811
48e79d6a
TZ
68122011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6813
6814 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6815 instead of positional arguments. Allow :keylist and :crlfiles
6816 arguments.
6817 (open-gnutls-stream): Call it.
6818
6819 * net/network-stream.el (network-stream-open-starttls): Adjust to
6820 call `gnutls-negotiate' with :process and :hostname arguments.
6821
dd5a5ee0
SM
68222011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6823
ef80fc09
SM
6824 * minibuffer.el (completion--message): New function.
6825 (completion--do-completion, minibuffer-complete)
6826 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6827 (completion--do-completion): Don't ignore completion-auto-help when in
6828 icomplete-mode.
6829
dd5a5ee0
SM
6830 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6831 internal encoding (e.g. tibetan zero is not whitespace).
6832 (global-whitespace-mode): Prefer save-current-buffer.
6833 (whitespace-trailing-regexp): Remove useless save-match-data.
6834 (whitespace-empty-at-bob-regexp): Minor simplification.
6835
b7d22a83
CY
68362011-05-03 Chong Yidong <cyd@stupidchicken.com>
6837
6838 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6839
5192af46
AM
68402011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6841
6842 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6843 Use `concat' to create string for insertion.
5192af46 6844
5767d190
SM
68452011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6846
6847 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6848 Avoid open-line which runs post-self-insert-hook.
6849 (bibtex-fill-entry): Remove unused `end' var.
6850
bf242939
AM
68512011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6852
5767d190
SM
6853 * textmodes/ispell.el (ispell-add-per-file-word-list):
6854 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6855
25666126
LL
68562011-05-03 Leo Liu <sdl.web@gmail.com>
6857
6858 * isearch.el (isearch-yank-pop): New command.
5767d190 6859 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6860 (isearch-forward): Mention it.
6861
52d3c2d0
SM
68622011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6863
1bcace58
SM
6864 * simple.el (minibuffer-complete-shell-command): Remove.
6865 (minibuffer-local-shell-command-map): Use completion-at-point.
6866 (read-shell-command): Setup completion vars here instead.
6867 (read-expression-map): Bind TAB to symbol completion.
6868
52d3c2d0
SM
6869 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6870 error directly rather via storing it into `results'.
6871
35813471
LL
68722011-05-02 Leo Liu <sdl.web@gmail.com>
6873
6874 * vc/diff.el: Fix description.
6875
e793a940
LMI
68762011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6877
6878 * server.el (server-eval-at): New function.
6879
8de66e05
LMI
68802011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6881
6882 * net/network-stream.el (open-network-stream): Take a :nowait
6883 parameter and pass it on to `make-network-process'.
6884 (network-stream-open-plain): Ditto.
6885
dcb79f20
AS
68862011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6887
6888 * faces.el (face-spec-set-match-display): Don't match toolkit
6889 options on terminal frames.
6890
14a7fbd8
SM
68912011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6892
7eabc1be
SM
6893 * progmodes/pascal.el: Use lexical binding.
6894 (pascal-mode-map): Remove author preferences.
6895
14a7fbd8
SM
6896 * pcomplete.el (pcomplete-std-complete): Don't abuse
6897 completion-at-point.
6898
50f84510
JB
68992011-04-28 Juanma Barranquero <lekktu@gmail.com>
6900
6e087a44
JB
6901 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6902 removing code that has been dead since 1991 or so.
6903
50f84510
JB
6904 * startup.el (command-line): When warning about "_emacs", use a
6905 delayed warning to allow the user to filter it out.
6906
0ba690bd
DD
69072011-04-28 Deniz Dogan <deniz@dogan.se>
6908
6909 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6910 user has not joined.
6911
08abfaad
SM
69122011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6915 aren't any completions at point.
6916
638f053a
JB
69172011-04-28 Juanma Barranquero <lekktu@gmail.com>
6918
6919 * subr.el (display-delayed-warnings): New function.
6920 (delayed-warnings-hook): New variable.
6921
8fff8daa
SM
69222011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6923
08abfaad
SM
6924 * minibuffer.el (completion-at-point, completion-help-at-point):
6925 Don't presume that a given completion-at-point-function will always
6926 use the same calling convention.
6927
8fff8daa
SM
6928 * pcomplete.el (pcomplete-completions-at-point):
6929 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6930 pcomplete-seen is non-nil.
6931 (pcomplete-comint-setup): Also recognize the new comint/shell
6932 completion functions.
6933 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6934 pcomplete-seen is non-nil.
6935
841a1577 69362011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6937
841a1577 6938 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6939 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6940 the first character in the entry. This allows for code to add its
211ec907
UJ
6941 own uid to the entry.
6942 (icalendar--convert-float-to-ical): Add export of
6943 `diary-float'-entries save for those with the optional DAY
6944 argument.
6945
2a782793
DC
69462011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6947
6948 * subr.el (shell-quote-argument): Use alternate escaping strategy
6949 when we spot a variable reference in a string.
6950
0438ce91
DC
69512011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6952
6953 * cus-start.el (all): Define customization for debug-on-event.
6954
841a1577 69552011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6956
6957 * subr.el (shell-quote-argument): Escape correctly under Windows.
6958
d090ed6c
SM
69592011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6962
bfd31217
MA
69632011-04-25 Michael Albinus <michael.albinus@gmx.de>
6964
d090ed6c
SM
6965 * net/tramp.el (tramp-process-actions): Add POS argument.
6966 Delete region between POS and (pos).
bfd31217 6967
d090ed6c
SM
6968 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6969 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6970 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6971
6972 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6973 position in `tramp-process-actions' call.
6974
6975 * net/trampver.el: Update release number.
6976
e92f3bd3
SM
69772011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6978
850256b5
SM
6979 * custom.el (defcustom): Obey lexical-binding.
6980
e92f3bd3
SM
6981 Fix octave-inf completion problems reported by Alexander Klimov.
6982 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6983 Inherit from octave-mode-syntax-table.
6984 (inferior-octave-mode): Set info-lookup-mode.
6985 (inferior-octave-completion-at-point): New function.
6986 (inferior-octave-complete): Use it and completion-in-region.
6987 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6988 comint-filename-completion.
6989 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6990 symbol elements which shouldn't be word elements.
6991 (octave-font-lock-keywords, octave-beginning-of-defun)
6992 (octave-function-header-regexp): Adjust regexps accordingly.
6993 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6994
cd22b309
JB
69952011-04-25 Juanma Barranquero <lekktu@gmail.com>
6996
6997 * net/gnutls.el (gnutls-errorp): Declare before first use.
6998
8b492194
TZ
69992011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7000
7001 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7002 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
7003 default trustfile exists before going to use it. Add missing
7004 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
7005 Reported by Claudio Bley <claudio.bley@gmail.com>.
7006 (open-gnutls-stream): Add usage example.
7007
7008 * net/network-stream.el (network-stream-open-starttls): Give host
7009 parameter to `gnutls-negotiate'.
7010 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 7011 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 7012
841a1577 70132011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 7014
cd22b309
JB
7015 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7016 Use correct match group (bug#8438).
05842630 7017
3ba7869c
CY
70182011-04-24 Chong Yidong <cyd@stupidchicken.com>
7019
512e3ae1
CY
7020 * emacs-lisp/package.el (package-built-in-p): Fix typo.
7021 (package-menu--generate): New arg specifying packages to show.
7022 (package-menu-refresh, package-menu-execute, list-packages):
7023 Callers changed.
7024 (package-show-package-list): New function, replacing deleted
7025 package--list-packages (renamed because it is non-internal).
7026
7027 * finder.el (finder-list-matches): Use package-show-package-list
7028 instead of deleted package--list-packages.
7029
e92f3bd3
SM
7030 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7031 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
7032 (vc-annotate-mode-map): Bind it to RET.
7033
7031be6d
UR
70342011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7035
7036 * progmodes/etags.el (next-file): Don't use set-buffer to change
7037 buffers (Bug#8478).
7038
4ef177aa
CY
70392011-04-24 Chong Yidong <cyd@stupidchicken.com>
7040
c8d173eb
CY
7041 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7042
4ef177aa
CY
7043 * apropos.el (apropos-label-face): Avoid variable-pitch face.
7044 (apropos-accumulator): Doc fix.
7045 (apropos-function, apropos-macro, apropos-command)
7046 (apropos-variable, apropos-face, apropos-group, apropos-widget)
7047 (apropos-plist): Add face property.
7048 (apropos-symbols-internal): Fix indentation.
7049 (apropos-print): Simplify help, and recognize apropos-multi-type.
7050 (apropos-print-doc): Use button-type-get to extract the button's
7051 face property. Fill docstring (Bug#8352).
7052
4ffd0d6b 70532011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
7054
7055 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7056
c6c32125 7057 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 7058 (mpuz-mode-map): Use mapc.
c6c32125
JB
7059 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7060 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7061 Fix typos in docstrings.
7062
58d468b4
JB
7063 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7064 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7065
6470c3c6
JB
7066 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7067
4ffd0d6b 70682011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
7069
7070 * minibuffer.el (completion--do-completion): Avoid the "Next char
7071 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7072
3ad8bad0
CY
7073 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7074 mouse-2 into unread-command-events, it is interpreted correctly.
7075
71d73c9c 7076 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 7077 (image-toggle-display): Doc fix.
71d73c9c 7078
841a1577 70792011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 7080
4ffd0d6b
GM
7081 * textmodes/page.el (what-page): Use line-number-at-pos to
7082 calculate line number (Bug#6825).
6e1dbaa9 7083
c2fb1b60
JB
70842011-04-22 Juanma Barranquero <lekktu@gmail.com>
7085
7086 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7087 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7088 Pass argument NO-DEFAULT to `find-tag-interactive'.
7089
e02f48d7
JB
70902011-04-22 Juanma Barranquero <lekktu@gmail.com>
7091
7092 Lexical-binding cleanup.
7093
7094 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7095 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7096 * progmodes/ada-prj.el (ada-prj-initialize-values)
7097 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7098 (ada-prj-show-value):
7099 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7100 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7101 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7102 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7103 * progmodes/bug-reference.el (bug-reference-push-button):
7104 * progmodes/fortran.el (fortran-line-length):
7105 * progmodes/glasses.el (glasses-change):
7106 * progmodes/octave-mod.el (octave-fill-paragraph):
7107 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7108 (python-pdbtrack-grub-for-buffer, python-sentinel):
7109 * progmodes/sql.el (sql-save-connection):
7110 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7111 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7112 Mark unused parameters.
7113
7114 * progmodes/compile.el (compilation--flush-directory-cache)
7115 (compilation--flush-parse, compile-internal): Mark unused parameters.
7116 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7117 (compilation-next-error-function): Remove unused variable `timestamp'.
7118
7119 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7120 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7121
7122 * progmodes/dcl-mode.el (dcl-end-of-command):
7123 Remove unused variable `start'.
7124 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7125 (dcl-option-value-basic, dcl-option-value-offset)
7126 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7127 Mark unused parameters.
7128 (dcl-save-local-variable): Remove unused variable `val'.
7129 (mode): Declare.
7130
7131 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7132 Mark unused parameters.
7133 (delphi-ignore-changes): Move before first use.
7134 (delphi-charset-token-at): Remove unused variable `start'.
7135 (delphi-else-start): Remove unused variable `if-count'.
7136 (delphi-comment-block-start, delphi-comment-block-end):
7137 Remove unused variable `kind'.
7138 (delphi-indent-line): Remove unused variable `new-point'.
7139
7140 * progmodes/ebrowse.el (ebrowse-files-list)
7141 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7142 Mark unused parameters. Don't quote `lambda'.
7143 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7144 Don't quote `lambda'.
7145 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7146 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7147 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7148 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7149 Use `ignore-errors'.
7150 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7151 (ebrowse-view/find-file-and-search-pattern)
7152 (ebrowse-view/find-member-declaration/definition):
7153 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7154 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7155 Rename parameter PREFIX-ARG to PREFIX.
7156 (ebrowse-tags-read-name): Remove unused variables `start' and
7157 `member-info'.
7158 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7159 to `tags-file'.
7160
7161 * progmodes/etags.el (local-find-tag-hook): Declare.
7162 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7163 Mark unused parameters.
7164
7165 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7166 (executable-interpret): Mark unused parameter.
7167
7168 * progmodes/flymake.el (flymake-process-sentinel)
7169 (flymake-after-change-function)
7170 (flymake-create-temp-with-folder-structure)
7171 (flymake-get-include-dirs-dot): Mark unused parameters.
7172 (flymake-safe-delete-directory): Remove unused variable `err'.
7173
7174 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7175 (speedbar-timer-fn, speedbar-line-text)
7176 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7177 (speedbar-center-buffer-smartly): Declare functions.
7178 (gdb-find-watch-expression): Remove unused variable `array'.
7179 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7180 (gdb-starting): Mark unused parameters.
7181 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7182 (gdb-table-string): Remove unused variable `res'.
7183 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7184 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7185 (gdb-display-buffer): Remove unused variable `cur-size'.
7186
7187 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7188 allow lexical-binding compilation.
7189 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7190 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7191 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7192 Mark unused parameters.
7193 (gud-gdb-marker-filter): Remove unused variable `match'.
7194 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7195 lambda expressions and funcall them, instead of using `fset'.
7196
7197 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7198 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7199
7200 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7201 variable `header-beg'; use `let'.
7202
7203 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7204 `restart', `last-sexp' and `at-do'.
7205
7206 * progmodes/js.el (js--debug): Mark unused parameter.
7207 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7208 (js--splice-into-items): Remove unused variable `item'.
7209 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7210
7211 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7212 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7213 (makefile-complete): Remove unused variable `try'.
7214 (makefile-fill-paragraph, makefile-match-function-end):
7215 Mark unused parameters.
7216
7217 * progmodes/octave-inf.el (inferior-octave-complete):
7218 Remove unused variable `proc'.
7219 (inferior-octave-output-digest): Mark unused parameter.
7220
7221 * progmodes/perl-mode.el (perl-calculate-indent):
7222 Remove unused variable `err'.
7223
7224 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7225 (prolog-indent-line): Mark unused parameters.
7226 (prolog-indent-line): Remove unused variable `beg'.
7227
7228 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7229 (reporter-dont-compact-list): Declare.
7230
7231 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7232 Remove unused variable `char'.
7233 (sh-debug): Mark unused parameter.
7234 (sh-get-indent-info): Remove unused variable `start'.
7235 (sh-calculate-indent): Remove unused variable `var'.
7236
7237 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7238 (simula-electric-keyword): Remove unused variable `null'.
7239 (simula-search-backward, simula-search-forward): Remove unused
7240 variables `begin' and `end'.
7241
7242 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7243 Remove unused variable `pos'.
7244 (vera-electric-tab, vera-comment-uncomment-region):
7245 Mark unused parameters.
7246 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7247
7ede3b65
CY
72482011-04-22 Chong Yidong <cyd@stupidchicken.com>
7249
7250 * emacs-lisp/package.el (package--builtins, package-alist)
7251 (package-load-descriptor, package-built-in-p, package-activate)
7252 (define-package, package-installed-p)
7253 (package-compute-transaction, package-buffer-info)
7254 (package--push): Doc fix. Distinguish more clearly between
7255 version strings and version lists.
7256
121656e9
JB
72572011-04-21 Juanma Barranquero <lekktu@gmail.com>
7258
7259 Lexical-binding cleanup.
7260
7261 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7262 (5x5-make-mutate-best):
7263 * play/fortune.el (fortune-in-buffer):
7264 * play/gomoku.el (gomoku-init-display):
7265 * play/solitaire.el (solitaire, solitaire-do-check):
7266 * play/tetris.el (tetris-default-update-speed-function):
7267 Mark unused parameters.
7268
7269 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7270 (bubbles--shift): Remove unused variable `char-org'.
7271 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7272 (bubbles--show-images): Remove unused variable `char'.
7273
7274 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7275 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7276 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7277 (decipher-analyze-buffer): Use ?\s.
7278 (decipher-make-checkpoint): Remove unused variable `mapping'.
7279
7280 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7281
7282 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7283 Remove unused variable `result'; use `let'.
7284
7285 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7286 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7287 (gametree-children-shown-p, gametree-compute-reduced-score):
7288 Use `ignore-errors'.
7289
7290 * play/handwrite.el (ps-lpr-switches): Declare.
7291 (handwrite): Remove unused variables `pmin' and `lastp'.
7292
7293 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7294
7295 * play/landmark.el (landmark-init-display)
7296 (landmark-update-naught-weights): Mark unused parameters.
7297 (landmark-y): Remove unused variable `noise'. Simplify.
7298 (landmark-human-plays): Remove unused variable `score'.
7299
7300 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7301 (mpuz-try-proposal): Remove unused variable `game'.
7302
7303 * play/zone.el (life-patterns): Declare.
7304
80f499c7
JB
73052011-04-20 Juanma Barranquero <lekktu@gmail.com>
7306
7307 * vc/vc.el (ediff-vc-internal): Declare function.
7308
024ff170
SM
73092011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7310
c0a193ea
SM
7311 * shell.el: Use lexical-binding and std completion UI.
7312 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7313 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7314 comint-preoutput-filter-functions rather than on
7315 comint-output-filter-functions.
7316 (shell-command-completion, shell--command-completion-data)
7317 (shell-filename-completion, shell-environment-variable-completion)
7318 (shell-c-a-p-replace-by-expanded-directory): New functions.
7319 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7320 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7321 (shell-dynamic-complete-environment-variable): Use them.
7322 (shell-dynamic-complete-as-environment-variable)
7323 (shell-dynamic-complete-as-command): Remove.
7324 (shell-match-partial-variable): Match past point.
7325 * comint.el: Clean up use of completion-at-point-functions.
7326 (comint-completion-at-point): New function.
7327 (comint-mode): Use it completion-at-point-functions.
7328 (comint-dynamic-complete): Make it obsolete.
7329 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7330 (comint-c-a-p-replace-by-expanded-history): New function.
7331 (comint-dynamic-complete-functions)
7332 (comint-replace-by-expanded-history): Use it.
7333 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7334 termination strings. Try harder to avoid second try-completion.
7335 (completion-in-region-mode-map): Disable bindings that don't work yet.
7336
2dbaa080
SM
7337 * comint.el: Use lexical-binding. Require CL.
7338 (comint-dynamic-complete-functions): Use comint-filename-completion.
7339 (comint-completion-addsuffix): Tweak custom type.
7340 (comint-filename-completion, comint--common-suffix)
7341 (comint--common-quoted-suffix, comint--table-subvert)
7342 (comint--complete-file-name-data): New functions.
7343 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7344 (comint-dynamic-list-filename-completions): Use them.
7345 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 7346
2dbaa080
SM
7347 * minibuffer.el (completion-in-region-mode):
7348 Keep completion-in-region-mode--predicate global.
7349 (completion-in-region--postch):
7350 Assume completion-in-region-mode--predicate is not null.
7351
c79a6f38
SM
7352 * progmodes/flymake.el (flymake-start-syntax-check-process):
7353 Obey `dir'. Simplify.
7354
024ff170
SM
7355 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7356 we're in VC after all.
7357
1c6c854e
CS
73582011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7359
7360 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 7361 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
7362 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7363
bed7f140
SM
73642011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7365
332e62ab
SM
7366 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7367 add sanity check.
7368
bed7f140
SM
7369 * obsolete/erc-hecomplete.el: Make obsolete.
7370 * obsolete/: Standardize obsolescence info in the header.
7371
f195c582
GM
73722011-04-20 Glenn Morris <rgm@gnu.org>
7373
7374 * calendar/solar.el (solar-horizontal-coordinates):
7375 Use the longitude argument rather than `calendar-longitude'.
7376 (solar-date-next-longitude): Remove unused locals.
7377
cb79b8c0
VJL
73782011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7379
7380 * whitespace.el: New version 13.2.1.
7381
73822011-04-20 felix <EmacsWiki> (tiny change)
7383
d8e4b68b 7384 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
7385 switching between major modes on a file.
7386
602ea69d
SM
73872011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7388
7389 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7390 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7391 multi-line comments as well.
7392
06b60517
JB
73932011-04-19 Juanma Barranquero <lekktu@gmail.com>
7394
7395 Lexical-binding cleanup.
7396
7397 * arc-mode.el (archive-mode-revert):
7398 * cmuscheme.el (scheme-interactively-start-process):
7399 * custom.el (custom-initialize-delay):
7400 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7401 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7402 * emacs-lock.el (emacs-lock-clear-sentinel):
7403 * ezimage.el (defezimage):
7404 * follow.el (follow-avoid-tail-recenter):
7405 * fringe.el (set-fringe-mode-1):
7406 * generic-x.el (bat-generic-mode-compile):
7407 * help-mode.el (help-info-variable, help-do-xref)
7408 (help-mode-revert-buffer):
7409 * help.el (view-emacs-todo):
7410 * iswitchb.el (iswitchb-completion-help):
7411 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7412 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7413 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7414 * locate.el (locate-update):
7415 * longlines.el (longlines-encode-region)
7416 (longlines-after-change-function):
7417 * outline.el (outline-isearch-open-invisible):
7418 * ps-def.el (declare-function, charset-dimension, char-width)
7419 (encode-char):
7420 * ps-mule.el (ps-mule-plot-string):
7421 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7422 (recentf-edit-list-select, recentf-edit-list-validate)
7423 (recentf-open-files-action):
7424 * rect.el (delete-whitespace-rectangle-line)
7425 (rectangle-number-line-callback):
7426 * register.el (window-configuration-to-register)
7427 (frame-configuration-to-register):
7428 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7429 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7430 (xselect-convert-to-targets, xselect-convert-to-delete)
7431 (xselect-convert-to-filename, xselect-convert-to-charpos)
7432 (xselect-convert-to-lineno, xselect-convert-to-colno)
7433 (xselect-convert-to-os, xselect-convert-to-host)
7434 (xselect-convert-to-user, xselect-convert-to-class)
7435 (xselect-convert-to-name, xselect-convert-to-integer)
7436 (xselect-convert-to-atom, xselect-convert-to-identity):
7437 * subr.el (declare, ignore, process-kill-without-query)
7438 (text-clone-maintain):
7439 * terminal.el (te-get-char, te-tic-sentinel):
7440 * tool-bar.el (tool-bar-make-keymap):
7441 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7442 * type-break.el (type-break-mode, type-break-noninteractive-query):
7443 * view.el (View-back-to-mark):
7444 * wid-browse.el (widget-browse-action, widget-browse-widget)
7445 (widget-browse-widgets, widget-browse-sexp):
7446 * widget.el (define-widget-keywords):
7447 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7448 Mark unused parameters.
7449
7450 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7451 (align-areas): Remove unused variable `look'.
7452 (align-region): Remove unused variables `real-end' and `pos-list'.
7453
7454 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7455
7456 * bindings.el (mode-line-modified, mode-line-remote):
7457 Mark unused parameters.
7458 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7459
7460 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7461 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7462
7463 * comint.el (comint-history-isearch-pop-state)
7464 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7465 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7466 (comint-substitute-in-file-name): Doc fix.
7467
7468 * completion.el (cmpl-statistics-block): Mark unused parameter.
7469 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7470 (save-completions-to-file, load-completions-from-file):
7471 Remove unused local variable `e'.
7472
7473 * composite.el (compose-chars): Remove unused variable `len'.
7474 (lgstring-insert-glyph): Remove unused variable `g'.
7475 (compose-glyph-string): Remove unused variables `ascent',
7476 `descent', `lbearing' and `rbearing'.
7477 (compose-glyph-string-relative): Remove unused variables
7478 `lbearing', `rbearing' and `wadjust'.
7479 (compose-gstring-for-graphic): Remove unused variables `header',
7480 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7481 (compose-gstring-for-terminal): Remove unused variables `header'
7482 and `nchars'. Use `let', not `let*'.
7483
7484 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7485 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7486 (Custom-buffer-done, custom-buffer-create-internal)
7487 (custom-browse-visibility-action, custom-browse-group-tag-action)
7488 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7489 (widget-magic-mouse-down-action, custom-toggle-parent)
7490 (custom-add-parent-links, custom-toggle-hide-variable)
7491 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7492 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7493 (custom-face-menu-create, custom-variable-menu-create, get)
7494 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7495 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7496 (customize-apropos): Remove unused variable `tests'.
7497 (custom-group-value-create): Remove unused variable `hidden-p'.
7498 (sort-fold-case): Declare.
7499
7500 * cus-theme.el (custom-reset-standard-faces-list)
7501 (custom-reset-standard-variables-list): Declare.
7502 (customize-create-theme, custom-theme-revert, custom-theme-write)
7503 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7504 Mark unused parameters.
7505
7506 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7507
7508 * delim-col.el (delimit-columns-max): Move defvar before first use.
7509
7510 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7511 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7512
7513 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7514 (auto-insert): Declare.
7515 (desktop-restore-file-buffer): Rename desktop-* parameters;
7516 mark unused ones.
7517 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7518 (desktop-buffer): Rename desktop-* parameters.
7519
7520 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7521 (dframe-reposition-frame-xemacs, dframe-help-echo)
7522 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7523 Mark unused parameters.
7524
7525 * dired-aux.el (backup-extract-version-start, overwrite-query)
7526 (overwrite-backup-query, rename-regexp-query)
7527 (rename-non-directory-query): Declare.
7528 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7529 (dired-add-entry): Remove unused variable `orig-file-name'.
7530 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7531 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7532 `dired-copy-preserve-time' directly.
7533 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7534 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7535
7536 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7537 (dired-virtual-revert, dired-make-relative-symlink):
7538 Mark unused parameters.
7539 (manual-program): Declare.
7540 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7541 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7542 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7543
7544 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7545
7546 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7547
7548 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7549 Declare.
7550
7551 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7552
7553 * electric.el (Electric-command-loop): Rename parameter
7554 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7555
7556 * expand.el (expand-in-literal): Remove unused variable `here'.
7557
7558 * facemenu.el (facemenu-add-new-color):
7559 Remove unused variable `docstring'.
7560
7561 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7562 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7563 (face-attr-construct): Mark unused parameter. Doc fix.
7564 (read-color): Remove unused variable `hex-string'.
7565
7566 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7567 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7568 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7569 (display-buffer-other-frame): Remove unused variable `old-window'.
7570 (kill-buffer-hook): Declare.
7571 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7572 Mark unused parameters.
7573 (after-find-file): Pass 1 to `auto-save-mode', not t.
7574
7575 * files-x.el (auto-insert): Declare.
7576 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7577
7578 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7579 variable `buf'. Mark unused parameter.
06b60517
JB
7580 (find-lisp-insert-directory): Mark unused parameter.
7581
7582 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7583 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7584 (format-common-tail): Remove, unused.
7585 (format-deannotate-region): Remove unused variable `loc'.
7586 (format-annotate-region): Remove unused variable `p'.
7587 (format-annotate-single-property-change): Remove unused variables
7588 `default' and `tail'.
7589
7590 * forms.el (read-file-filter): Declare.
7591 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7592
7593 * frame.el (frame-creation-function-alist): Mark unused parameter.
7594 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7595
7596 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7597 Remove unused parameters.
7598 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7599 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7600
7601 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7602 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7603 (hfy-prepare-tag-map): Mark unused parameters.
7604 (htmlfontify-buffer): Use `called-interactively-p'.
7605
7606 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7607 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7608 (ibuffer-do-occur): Mark unused parameters.
7609 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7610 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7611
7612 * ibuffer.el: Don't quote `lambda'.
7613 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7614 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7615 Mark unused parameters.
7616
7617 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7618 (ido-completing-read): Mark unused parameters.
7619 (ido-copy-current-word): Mark unused parameters;
7620 remove unused variable `name'.
7621 (ido-sort-merged-list): Remove unused parameter `dirs'.
7622
7623 * ielm.el (ielm-input-sender): Mark unused parameter.
7624 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7625 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7626 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7627 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7628 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7629
7630 * image-dired.el (image-dired-display-thumbs): Remove unused
7631 variables `curr-file' and `count'.
7632 (image-dired-remove-tag): Remove unused variable `start'.
7633 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7634 variable `curr-file'
7635 (image-dired-rotate-original): Remove unused variable `temp-file'.
7636 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7637 Remove unused variable `file'.
7638 (image-dired-gallery-generate): Remove unused variable `curr'.
7639 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7640
7641 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7642
7643 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7644
7645 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7646
7647 * isearch.el (minibuffer-history-symbol): Declare.
7648 (isearch-edit-string): Remove unused variable `err'.
7649 (isearch-message-prefix, isearch-message-suffix):
7650 Mark unused parameters.
7651
7652 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7653
7654 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7655
7656 * makesum.el (double-column): Remove unused variable `cnt'.
7657
7658 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7659 (ido-ignore-item-temp-list): Declare.
7660
7661 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7662 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7663 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7664 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7665 `mouse-col-delta'.
7666
7667 * mouse-sel.el (mouse-extend-internal):
7668 Remove unused variable `orig-window-frame'.
7669
7670 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7671 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7672 Move declarations before first use.
7673 (pcomplete-opt): Mark unused parameters; doc fix.
7674
7675 * proced.el (proced-revert): Mark unused parameter.
7676 (proced-send-signal): Remove unused variable `err'.
7677
7678 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7679 Rename parameter PREFIX-ARG to ARG.
7680 (ps-basic-plot-string, ps-basic-plot-whitespace):
7681 Mark unused parameters.
7682
7683 * replace.el (replace-count): Define.
7684 (occur-revert-function): Mark unused parameters.
7685 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7686 (isearch-case-fold-search, isearch-string): Declare.
7687 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7688 bind `case-fold-search'. Remove unused variables `beg' and `end',
7689 and simplify.
7690 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7691 COUNT and bind `replace-count'.
7692 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7693 to COUNT.
7694
7695 * savehist.el (print-readably, print-string-length): Declare.
7696
7697 * shadowfile.el (shadow-expand-cluster-in-file-name):
7698 Remove unused variable `cluster'.
7699 (shadow-copy-file): Remove unused variable `i'.
7700 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7701 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7702 (shadow-define-literal-group, shadow-define-regexp-group)
7703 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7704
7705 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7706 (shell): Use `called-interactively-p'.
7707 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7708
7709 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7710 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7711 (delete-backward-char): Remove unused variable `ocol'.
7712 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7713 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7714 (event-apply-hyper-modifier, event-apply-shift-modifier)
7715 (event-apply-control-modifier, event-apply-meta-modifier):
7716 Mark unused parameters.
7717 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7718 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7719
7720 * speedbar.el (speedbar-ignored-directory-expressions)
7721 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7722 (speedbar-find-file, speedbar-dir-follow)
7723 (speedbar-directory-buttons-follow, speedbar-tag-find)
7724 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7725 (speedbar-buffers-line-directory, speedbar-buffer-click):
7726 Mark unused parameters.
7727 (speedbar-tag-file): Remove unused variable `mode'.
7728 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7729
7730 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7731
7732 * talk.el (talk): Remove unused variable `display'.
7733
7734 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7735 (tar-write-region-annotate): Mark unused parameter.
7736
7737 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7738 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7739 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7740 warning by another.
7741
7742 * time-stamp.el (time-stamp-string-preprocess):
7743 Remove unused variable `require-padding'.
7744
7745 * tree-widget.el (widget-glyph-enable): Declare.
7746 (tree-widget-action): Mark unused parameter.
7747
7748 * w32-fns.el (x-get-selection): Mark unused parameter.
7749 (autoload-make-program, generated-autoload-file): Declare.
7750
7751 * wdired.el (wdired-revert): Mark unused parameters.
7752 (wdired-xcase-word): Remove unused variable `err'.
7753
7754 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7755 (whitespace-help-scroll): Remove unused variable `data-help'.
7756
7757 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7758 (widget-image-insert, widget-after-change, default)
7759 (widget-default-format-handler, widget-default-notify)
7760 (widget-default-prompt-value, widget-info-link-action)
7761 (widget-url-link-action, widget-function-link-action)
7762 (widget-variable-link-action, widget-file-link-action)
7763 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7764 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7765 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7766 (widget-insert-button-action, widget-delete-button-action, visibility)
7767 (widget-documentation-link-action, widget-documentation-string-action)
7768 (widget-const-prompt-value, widget-regexp-match, symbol)
7769 (widget-coding-system-prompt-value)
7770 (widget-key-sequence-value-to-external, sexp)
7771 (widget-sexp-value-to-internal, character, vector, cons)
7772 (widget-choice-prompt-value, widget-boolean-prompt-value)
7773 (widget-color--choose-action): Mark unused parameters.
7774 (widget-item-match-inline, widget-choice-match-inline)
7775 (widget-checklist-match, widget-checklist-match-inline)
7776 (widget-group-match): Rename parameter VALUES to VALS.
7777 (widget-field-value-set): Remove unused variable `size'.
7778 (widget-color-action): Remove unused variables `value' and `start'.
7779
7780 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7781 variable `dir'. Doc fix.
06b60517
JB
7782 (windmove-find-other-window): Don't pass it.
7783
7784 * window.el (count-windows): Mark unused parameter.
7785 (bw-adjust-window): Remove unused variable `err'.
7786
7787 * woman.el (woman-file-name): Remove unused variable `default'.
7788 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7789 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7790 (global-font-lock-mode): Declare.
7791 (woman-decode-region): Mark unused parameter.
7792 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7793
7794 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7795 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7796 (x-dnd-handle-moz-url): Remove unused variable `title'.
7797 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7798
7799 * xml.el (xml-parse-tag, xml-parse-attlist):
7800 Remove unused variable `pos'.
7801
bc4f7f3d
GM
78022011-04-19 Glenn Morris <rgm@gnu.org>
7803
7804 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7805 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7806 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7807 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7808 * calendar/cal-html.el (cal-html-insert-minical):
7809 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7810 (calendar-mark-date-pattern):
7811 Prefix "unused" locals.
7812
7813 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7814 optional argument `style'.
7815
7816 * calendar/appt.el (appt-make-list):
7817 * calendar/cal-china.el (calendar-chinese-date-string):
7818 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7819 (diary-hebrew-yahrzeit):
7820 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7821 * calendar/calendar.el (calendar-generate-window):
7822 * calendar/time-date.el (time-to-days):
7823 Remove unused local variables.
7824
16a43933
CY
78252011-04-18 Chong Yidong <cyd@stupidchicken.com>
7826
7827 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7828 glyphless-char-display table.
7829 (tabulated-list-glyphless-char-display): New var.
7830
7eed1860
SS
78312011-04-18 Sam Steingold <sds@gnu.org>
7832
7833 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7834 to acknowledgments.
7835
4d2d1ccd
GM
78362011-04-17 Glenn Morris <rgm@gnu.org>
7837
7838 * calendar/diary-lib.el (diary-sexp-entry):
7839 * calendar/holidays.el (holiday-sexp):
7840 Set debug-on-error rather than the removed stack-trace-on-error.
7841
239da61d
GM
78422011-04-16 Glenn Morris <rgm@gnu.org>
7843
7844 * progmodes/f90.el: Use lexical-binding.
7845 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7846
8b05752a
SM
78472011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7848
daca8ba5
SM
7849 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7850 (mail-mode): Setup mailalias completion here instead.
7851 * mail/mailalias.el: Use lexical-binding.
7852 (pattern, mailalias-done): Declare dynamic.
7853 (mail-completion-at-point-function): New function, from mail-complete.
7854 (mail-complete): Use it.
7855 (mail-completion-expand): New function.
7856 (mail-get-names): Use it.
7857 (mail-directory, mail-directory-process, mail-directory-stream):
7858 Don't use `pattern' for lexically bound arg.
7859
6f542485
SM
7860 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7861
037e7c3f
SM
7862 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7863 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7864 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7865
8b05752a
SM
7866 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7867 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7868 (byte-interactive-p): Define them again, for use when inlining
7869 old code.
7870
49093f60
JB
78712011-04-15 Juanma Barranquero <lekktu@gmail.com>
7872
7873 * loadup.el: Use `string-to-number', not `string-to-int'.
7874
b5b8e7de
SM
78752011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7876
7877 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7878 gud-gdb-complete-command.
7879 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7880 (gud-gdb-completion-at-point): New function.
7881 (gud-gdb-completions): Remove.
7882
f42efeb5
MA
78832011-04-14 Michael Albinus <michael.albinus@gmx.de>
7884
49093f60
JB
7885 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7886 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7887 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7888 whether `executable-find' is bound.
f42efeb5
MA
7889
7890 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7891
e240cc21
SM
78922011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7893
7894 * minibuffer.el (completion-in-region-mode-predicate)
7895 (completion-in-region-mode--predicate): New vars.
7896 (completion-in-region, completion-in-region--postch)
7897 (completion-in-region-mode): Use them.
7898 (completion--capf-wrapper): Also return the hook function.
7899 (completion-at-point, completion-help-at-point):
7900 Adjust and provide a predicate.
c2bd2ab0
SM
7901
7902 Preserve arg names for advice of subr and lexical functions (bug#8457).
7903 * help-fns.el (help-function-arglist): Consolidate the subr and
7904 new-byte-code cases. Add argument `preserve-names' to extract names
7905 from the docstring when needed.
7906 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7907 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7908 (ad-arglist): Use help-function-arglist's new arg.
7909 (ad-definition-type): Use cond.
7910
c183f693
JB
79112011-04-13 Juanma Barranquero <lekktu@gmail.com>
7912
06641a47
JB
7913 * autorevert.el (auto-revert-handler):
7914 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7915 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7916 Don't quote lambda.
7917
c183f693
JB
7918 * image-mode.el (image-transform-set-scale):
7919 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7920
1e3b6001
G
79212011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7922
7923 * net/network-stream.el (network-stream-open-starttls): Only do
7924 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7925 Upgrades via gnutls-cli are too slow to be done opportunistically.
7926
2d6af8dd
JB
79272011-04-12 Juanma Barranquero <lekktu@gmail.com>
7928
7929 * dframe.el (dframe-current-frame): Remove spurious quote.
7930
c0749a51
GM
79312011-04-12 Glenn Morris <rgm@gnu.org>
7932
088d0d61
GM
7933 * calendar/cal-tex.el (cal-tex-end-document):
7934 Try to automatically use latin1 input if needed.
7935
c0749a51
GM
7936 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7937 Don't try to cons a mark onto an empty element.
7938
5c90fde0
LL
79392011-04-11 Leo Liu <sdl.web@gmail.com>
7940
7941 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7942 buffers.
7943 (ido-kill-buffer-at-head): Support killing virtual buffers.
7944
369e974d
CY
79452011-04-10 Chong Yidong <cyd@stupidchicken.com>
7946
7947 * minibuffer.el (completion-show-inline-help): New var.
7948 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7949 (minibuffer-force-complete, minibuffer-complete-word):
7950 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7951
7952 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7953 to avoid interference from inline help (Bug#5849).
7954
37f1c930
LL
79552011-04-10 Leo Liu <sdl.web@gmail.com>
7956
099c39a4
JB
7957 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7958 Fix typo.
37f1c930 7959
a32d4040
CY
79602011-04-09 Chong Yidong <cyd@stupidchicken.com>
7961
7962 * image-mode.el (image-toggle-display-image): Signal an error if
7963 not in Image mode.
7964 (image-transform-mode, image-transform-resize)
7965 (image-transform-set-rotation): Doc fix.
daca8ba5 7966 (image-transform-set-resize): Delete.
a32d4040
CY
7967 (image-transform-set-scale, image-transform-fit-to-height)
7968 (image-transform-fit-to-width): Handle image-toggle-display-image
7969 and image-transform-resize directly.
7970
099c39a4 79712011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7972
7973 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7974 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7975 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7976 (doc-view-mode-map): Add bindings for the new functions.
7977
099c39a4 79782011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7979
4d61f28d 7980 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7981 Fix typo in docstring.
7982
3726838a
EZ
79832011-04-08 Eli Zaretskii <eliz@gnu.org>
7984
04f33f1e
EZ
7985 * files.el (file-size-human-readable): Produce one digit after
7986 decimal, like "ls -lh" does.
7987
7988 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7989 the file size representation.
7990
3726838a
EZ
7991 * simple.el (list-processes): If async subprocesses are not
7992 available, error out with a clear error message.
7993
cbb59342
CY
79942011-04-08 Chong Yidong <cyd@stupidchicken.com>
7995
7996 * help.el (help-form-show): New function, to be called from C.
7997 Put help-form output in a buffer named differently than *Help*.
7998
e3971c44
EZ
79992011-04-08 Eli Zaretskii <eliz@gnu.org>
8000
8001 * files.el (file-size-human-readable): New function.
8002
8003 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8004 computing the representation inline. Don't require `cl'.
8005
12544bbe
GM
80062011-04-08 Glenn Morris <rgm@gnu.org>
8007
a1de6c6a
GM
8008 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8009
3c4671f4
GM
8010 * net/browse-url.el (browse-url-firefox):
8011 Test system-type, not system-configuration.
8012
b605679c
GM
8013 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8014 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8015 Use log-edit-empty-buffer-p. (Bug#7598)
8016
56442f0c
GM
8017 * net/rlogin.el (rlogin-process-connection-type): Simplify.
8018 (rlogin-mode-map): Initialize in the defvar.
8019 (rlogin): Use ignore-errors.
8020
12544bbe
GM
8021 * replace.el (occur-mode-map): Some fixes for menu items.
8022
eb237b0f
AH
80232011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8024
8025 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
8026
7d668f2c
CY
80272011-04-06 Chong Yidong <cyd@stupidchicken.com>
8028
e67a13ab
CY
8029 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8030 issuing unused warnings.
8031
8032 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8033 macro directly.
8034
7d668f2c
CY
8035 * simple.el: Lisp reimplement of list-processes. Based on an
8036 earlier reimplementation by Leo Liu, but using tabulated-list.el.
8037 (process-menu-mode): New major mode.
8038 (list-processes--refresh, list-processes):
8039 (process-menu-visit-buffer): New functions.
8040
8041 * files.el (save-buffers-kill-emacs): Don't assume any return
8042 value of list-processes, which is undocumented anyway.
8043
a83ec3c9
CY
80442011-04-06 Chong Yidong <cyd@stupidchicken.com>
8045
8046 * emacs-lisp/tabulated-list.el: New file.
8047
e91a96fe
CY
8048 * emacs-lisp/package.el: Use Tabulated List mode.
8049 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8050 (package-menu-mode): Derive from tabulated-list-mode. Set up the
8051 table format using Tabulated List mode variables.
8052 (package--push): New macro, replacing package-list-maybe-add.
8053 (package-menu--generate): Use package--push. Renamed from
8054 package--generate-package-list.
8055 (package-menu-refresh, list-packages): Use it.
daca8ba5 8056 (package-menu--print-info): Rename from package-print-package.
e91a96fe 8057 Return insertion data instead of inserting it directly.
099c39a4
JB
8058 (package-menu-describe-package, package-menu-execute):
8059 Use tabulated-list-get-id.
e91a96fe
CY
8060 (package-menu-mark-delete, package-menu-mark-install)
8061 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
8062 (package-menu-mark-obsolete-for-deletion):
8063 Use tabulated-list-put-tag.
e91a96fe
CY
8064 (package--list-packages, package-menu-revert)
8065 (package-menu-get-package, package-menu-get-version)
8066 (package-menu-sort-by-column): Functions deleted.
8067 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8068 (package-menu--status-predicate, package-menu--version-predicate)
8069 (package-menu--name-predicate)
8070 (package-menu--description-predicate): Handle arguments in the
8071 Tabulated List format.
8072 (package-list-packages-no-fetch): Call list-packages.
8073
3e214b50
JB
80742011-04-06 Juanma Barranquero <lekktu@gmail.com>
8075
8076 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 8077 (after-find-file): Don't bind it.
3e214b50
JB
8078 (revert-buffer-in-progress-p): New variable.
8079 (revert-buffer): Bind it.
8080 Pass nil for `after-find-file-from-revert-buffer'.
8081
8082 * saveplace.el (save-place-find-file-hook): Use new variable
8083 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8084
3f0f1700
GM
80852011-04-06 Glenn Morris <rgm@gnu.org>
8086
c0274801
GM
8087 * Makefile.in (AUTOGEN_VCS): New variable.
8088 (autoloads): Use $AUTOGEN_VCS.
8089
3f0f1700
GM
8090 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8091 * calendar/calendar.el (calendar-mode-map):
8092 Check for toolkit scroll bars. (Bug#8305)
8093
41ea9e48
CY
80942011-04-05 Chong Yidong <cyd@stupidchicken.com>
8095
8096 * minibuffer.el (completion-in-region--postch)
8097 (completion-in-region-mode): Remove unnecessary messages.
8098
6194c800
JB
80992011-04-05 Juanma Barranquero <lekktu@gmail.com>
8100
33256f14
JB
8101 * font-lock.el (font-lock-refresh-defaults):
8102 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8103 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8104
6194c800
JB
8105 * info.el (Info-directory-list, Info-read-node-name-2)
8106 (Info-split-parameter-string): Doc fixes.
8107 (Info-virtual-nodes): Reflow docstring.
8108 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8109 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8110 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8111 Fix typos in docstrings.
8112 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8113 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8114 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8115 (Info-restore-desktop-buffer): Mark unused parameters.
8116 (Info-directory-find-file, Info-directory-find-node)
8117 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8118 (Info-virtual-index-find-node, Info-apropos-find-file)
8119 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 8120 Mark unused parameters; fix typos in docstrings.
6194c800
JB
8121 (Info-virtual-index): Remove unused local variable `nodename'.
8122
b87a8200 81232011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 8124
b87a8200
DD
8125 * net/rcirc.el: Update my e-mail address.
8126 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 8127
3b2ff876
CY
81282011-04-05 Chong Yidong <cyd@stupidchicken.com>
8129
8130 * startup.el (command-line): Save the cursor's theme-face
8131 directly, instead of using face-override-spec.
8132
8133 * custom.el (load-theme): Minor optimization in assigning faces.
8134
8d17e7ca
JB
81352011-04-04 Juanma Barranquero <lekktu@gmail.com>
8136
8137 * help-fns.el (describe-variable): Complete all variables having
8138 documentation, including keywords.
8139 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8140
2fbc1934
JB
81412011-04-04 Juanma Barranquero <lekktu@gmail.com>
8142
8143 Convert to lexical-binding.
8144
8145 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8146 (bs--get-marked-string, bs--get-modified-string)
8147 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8148 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8149 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8150
8151 * ehelp.el (electric-help-execute-extended)
8152 (electric-help-ctrl-x-prefix):
8153 * hexl.el (hexl-revert-buffer-function):
8154 * linum.el (linum-after-change, linum-after-scroll):
8155 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8156
8157 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8158
74f50695
DU
81592011-04-04 Daiki Ueno <ueno@unixuser.org>
8160
8161 * epa-dired.el:
8162 * epa-mail.el:
8163 * epa-hook.el:
8164 * epa-file.el:
8165 * epa.el:
8166 * epg.el: Use lexical binding.
8167
c11325f7
CY
81682011-04-03 Chong Yidong <cyd@stupidchicken.com>
8169
0d9e9a12
CY
8170 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8171
c11325f7 8172 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
8173 dictionary case for flyspell-mark-duplications-exceptions.
8174 Use regexp matching for languages.
c11325f7
CY
8175 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8176 default dictionary (Bug#7926).
8177
da91b5f2
CY
81782011-04-02 Chong Yidong <cyd@stupidchicken.com>
8179
099c39a4
JB
8180 * emacs-lisp/package.el (package--with-work-buffer):
8181 Recognize https URLs.
da91b5f2 8182
099c39a4
JB
8183 * net/network-stream.el: Move from gnus/proto-stream.el.
8184 Change prefix to network-stream throughout.
da91b5f2
CY
8185 (open-protocol-stream): Merge into open-network-stream, leaving
8186 open-protocol-stream as an alias. Handle nil BUFFER args.
8187
8188 * subr.el (open-network-stream): Move to net/network-stream.el.
8189
afa8e9f6
GM
81902011-04-02 Glenn Morris <rgm@gnu.org>
8191
1d2e369d
GM
8192 * find-dired.el (find-exec-terminator): New option.
8193 (find-ls-option): Test for -ls support.
8194 (find-ls-subdir-switches): Test for -b in find-ls-option.
8195 (find-dired, find-grep-dired): Doc fixes.
8196 (find-dired): Use find-exec-terminator.
8197
8abb7da8 8198 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
8199 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8200 (find-name-arg): Remove purecopy.
8abb7da8 8201
f3ca7378
GM
8202 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8203 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8204 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8205 accordingly. Don't add the null-device if not needed.
8206
afa8e9f6
GM
8207 * files.el (save-some-buffers): Doc fix.
8208
35eae264
EZ
82092011-04-02 Eli Zaretskii <eliz@gnu.org>
8210
8211 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8212
26b51db5
JB
82132011-04-01 Juanma Barranquero <lekktu@gmail.com>
8214
8215 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8216 Use `dolist' rather than `mapcar'.
8217
7200d79c
SM
82182011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8219
03408648 8220 Add lexical binding.
7200d79c 8221
03408648
SM
8222 * subr.el (apply-partially): Use new closures rather than CL.
8223 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8224 (dolist, dotimes): Use slightly different expansion for lexical code.
8225 (functionp): Move to C.
8226 (letrec): New macro.
8227 (with-wrapper-hook): Use it and apply-partially instead of CL.
8228 (eval-after-load): Preserve lexical-binding.
8229 (save-window-excursion, with-output-to-temp-buffer): Turn them
8230 into macros.
7200d79c 8231
03408648
SM
8232 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8233
8234 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8235 than the arglist.
8236 (help-add-fundoc-usage): Don't add `Not documented'.
8237 (help-function-arglist): Handle closures, subroutines, and new
8238 byte-code-functions.
8239 (help-make-usage): Remove leading underscores.
8240 (describe-function-1): Handle closures.
8241 (describe-variable): Use special-variable-p for completion.
8242
8243 * files.el (lexical-binding): Declare safe.
f488fb65 8244
03408648
SM
8245 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8246 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8247 (pcase): Add `let' pattern.
8248 Change memoization so it actually works.
8249 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8250 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8251 <let>: New case.
f488fb65 8252
03408648
SM
8253 * emacs-lisp/macroexp.el: Use lexical binding.
8254 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8255 Don't convert ' to #' without checking that it's indeed quoting
8256 a lambda.
8257
8258 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 8259 Use eval-sexp-add-defvars.
03408648
SM
8260 (eval-sexp-add-defvars): New fun.
8261
8262 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8263
8264 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8265 Don't autoload.
8266 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8267 than the internal `byte-compile-lambda'.
8268 (defmethod): Don't hide code under quotes.
8269 (eieio-defmethod): New `code' argument.
8270
8271 * emacs-lisp/eieio-comp.el: Remove.
8272
8273 * emacs-lisp/edebug.el (edebug-eval-defun)
8274 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8275 (edebug-toggle): Avoid `eval'.
8276
8277 * emacs-lisp/disass.el (disassemble-internal): Handle new
8278 `closure' objects.
8279 (disassemble-1): Handle new byte codes.
8280
8281 * emacs-lisp/cl.el (pushnew): Silence warning.
8282
8283 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8284 (cl-byte-compile-throw): Remove.
8285 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8286
8287 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8288 closures.
8289
8290 * emacs-lisp/cconv.el: New file.
8291
8292 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8293 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8294 (byte-compile-initial-macro-environment):
8295 Handle declare-function here.
8296 (byte-compile--lexical-environment): New var.
8297 (byte-stack-ref, byte-stack-set, byte-discardN)
8298 (byte-discardN-preserve-tos): New lap codes.
8299 (byte-interactive-p): Don't use any more.
8300 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8301 New macros.
8302 (byte-compile-lapcode): Use them and handle new lap codes.
8303 (byte-compile-obsolete): Remove.
8304 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8305 (byte-compile-arglist-warn): Check late def of inlinable funs.
8306 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8307 since they should have been expanded by now.
8308 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8309 (byte-compile-from-buffer): Remove unused second arg.
8310 (byte-compile-preprocess): New function.
8311 (byte-compile-toplevel-file-form): New function to distinguish
8312 file-form calls from outside from file-form calls from hunk-handlers.
8313 (byte-compile-file-form): Simplify.
8314 (byte-compile-file-form-defsubst): Remove.
8315 (byte-compile-file-form-defmumble): Simplify now that
8316 byte-compile-lambda always returns a byte-code-function.
8317 (byte-compile): Preprocess.
8318 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8319 Remove, not used any more.
8320 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8321 (byte-compile-make-args-desc): New funs.
8322 (byte-compile-lambda): Handle lexical functions. Always return
8323 a byte-code-function.
8324 (byte-compile-reserved-constants): New var, to make up room for
8325 closed-over variables.
8326 (byte-compile-constants-vector): Obey it.
8327 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8328 (byte-compile-macroexpand-declare-function): New function.
8329 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8330 byte-code-functions.
8331 (byte-compile-form): Check obsolescence here.
8332 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8333 (byte-compile-variable-ref): Remove.
8334 (byte-compile-dynamic-variable-op): New fun.
8335 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8336 (byte-compile-variable-set): New funs.
8337 (byte-compile-discard): Add 2 args.
8338 (byte-compile-stack-ref, byte-compile-stack-set)
8339 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8340 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8341 macroexpand-all instead.
8342 (byte-compile-quote-form): Remove.
8343 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8344 (byte-compile-bind, byte-compile-unbind): New funs.
8345 (byte-compile-let): Handle let* and lexical binding.
8346 (byte-compile-let*): Remove.
8347 (byte-compile-catch, byte-compile-unwind-protect)
8348 (byte-compile-track-mouse, byte-compile-condition-case):
8349 Handle a new :fun-body form, used for lexical scoping.
8350 (byte-compile-save-window-excursion)
8351 (byte-compile-with-output-to-temp-buffer): Remove.
8352 (byte-compile-defun): Simplify.
8353 (byte-compile-stack-adjustment): New fun.
8354 (byte-compile-out): Use it.
8355 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8356
8357 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8358 handler any more.
8359
8360 * emacs-lisp/byte-opt.el: Use lexical binding.
8361 (byte-inline-lapcode): Remove (to bytecomp).
8362 (byte-compile-inline-expand): Pay attention to inlining to/from
8363 lexically bound code.
8364 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8365 any more.
8366 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8367 any more and don't call compiler-macros.
8368 (byte-compile-splice-in-already-compiled-code): Remove.
8369 (byte-code): Don't inline any more.
8370 (disassemble-offset): Receive `bytes' as argument rather than via
8371 dynamic scoping.
8372 (byte-compile-tag-number): Declare before first use.
8373 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8374 `return' even if make-spliceable.
8375 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8376 obsolete interactive-p.
8377 (byte-optimize-lapcode): Optimize new lap-codes.
8378 Don't trip up on new form of `byte-constant' lap code.
8379
8380 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8381
8382 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8383
8384 * custom.el (custom-initialize-default, custom-declare-variable):
8385 Use `defvar'.
8386
8387 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8388 New variables.
8389 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8390 (COMPILE_FIRST): Add macroexp and cconv.
8391 * makefile.w32-in: Mirror changes in Makefile.in.
8392
8393 * vc/cvs-status.el:
8394 * vc/diff-mode.el:
8395 * vc/log-edit.el:
8396 * vc/log-view.el:
8397 * vc/smerge-mode.el:
8398 * textmodes/bibtex-style.el:
8399 * textmodes/css.el:
8400 * startup.el:
8401 * uniquify.el:
da91b5f2
CY
8402 * minibuffer.el:
8403 * newcomment.el:
8404 * reveal.el:
8405 * server.el:
8406 * mpc.el:
8407 * emacs-lisp/smie.el:
8408 * doc-view.el:
8409 * dired.el:
03408648
SM
8410 * abbrev.el: Use lexical binding.
8411
0f0c1f27
EZ
84122011-04-01 Eli Zaretskii <eliz@gnu.org>
8413
8414 * info.el (info-display-manual): New function.
8415
c82b2579
SM
84162011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8417
8418 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8419
221ddf68
TH
84202011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8421
8422 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 8423 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 8424
cba6e77e
GM
84252011-03-31 Glenn Morris <rgm@gnu.org>
8426
e040639f
GM
8427 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8428
cba6e77e
GM
8429 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8430
6d0f1c9e
CS
84312011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8432
8433 * progmodes/python.el (python-default-interpreter)
8434 (python-python-command-args, python-jython-command-args)
8435 (python-which-shell, python-which-args, python-which-bufname)
8436 (python-file-queue, python-comint-output-filter-function)
8437 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8438 variables and functions.
8439
3e2d70fd
SM
84402011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8443 (completion-in-region-mode): New minor mode.
8444 (completion-in-region): Use it.
8445 (completion-in-region--data, completion-in-region-mode-map): New vars.
8446 (completion-in-region--postch): New function.
8447 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8448 New vars.
8449 (completion--capf-wrapper): New function.
8450 (completion-at-point): Use it to track well-behavedness of
8451 hook functions.
8452 (completion-help-at-point): New command.
8453
f3e4086c
JM
84542011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8455
8456 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8457 syntax class to search for whitespace on a single line
8458 (Message-ID: <4D938140.4030905@redhat.com>).
8459
eb7ffc14
LL
84602011-03-30 Leo Liu <sdl.web@gmail.com>
8461
8462 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8463 New commands.
8464 (edit-abbrevs-map): Bind them here.
8465 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8466
d806ab68
KM
84672011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8468
8469 * allout.el (allout-hide-by-annotation, allout-flag-region):
8470 Reduce possibility of overlay leakage by making them volatile.
8471
8472 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8473 hash is not shared between buffers. Mode initialization is
8474 responsible for giving it a useful starting value.
8475 (allout-item-span): Reduce possibility of overlay leakage by
8476 making them volatile.
8477 (allout-widgets-count-buttons-in-region): Add diagnostic function
8478 for tracking down button overlay leaks.
8479
ea622834
LL
84802011-03-29 Leo Liu <sdl.web@gmail.com>
8481
8482 * ido.el (ido-read-internal): Use the default history var
8483 minibuffer-history if no HISTORY is specified.
8484
b62f8267
G
84852011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8486
03408648
SM
8487 * net/imap.el (imap-shell-open, imap-process-connection-type):
8488 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8489 Kerberos, SSL, other subprocesses.
8490
947b6566
LL
84912011-03-28 Leo Liu <sdl.web@gmail.com>
8492
8493 * abbrev.el (abbrev-table-empty-p): New function.
8494 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8495 nonempty ones. (Bug#5937)
8496
5ffb62aa
JD
84972011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8498
8499 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8500
7a097943
LL
85012011-03-27 Leo Liu <sdl.web@gmail.com>
8502
8503 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8504 for foreground and background colors.
8505 (ansi-color-make-color-map): Adapt.
8506
c5b40130
LL
85072011-03-25 Leo Liu <sdl.web@gmail.com>
8508
1f48f7d2
LL
8509 * midnight.el (midnight-time-float): Remove. Note it calculates
8510 the microsecond component incorrectly and seconds-to-time does the
8511 same job.
625897ec 8512 Remove redundant (require 'timer).
1f48f7d2 8513
c5b40130
LL
8514 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8515 (ido-completions): Remove unused arguments. (Bug#8329)
8516
d86d2721
SM
85172011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * minibuffer.el (completion--flush-all-sorted-completions):
8520 Remove itself from hook.
8521 (completion-at-point): Let the functions perform the completion
8522 immediately and return nil or t.
8523 * comint.el (comint-dynamic-complete-functions): Now identical to
8524 completion-at-point-functions.
8525 (comint-dynamic-list-input-ring): Remove unused var `index'.
8526 (comint--match-partial-filename, comint--unquote&expand-filename):
8527 New funs, split from comint-match-partial-filename.
8528 (comint-dynamic-complete): Use completion-at-point.
8529 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8530
e8974c48
DA
85312011-03-24 Drew Adams <drew.adams@oracle.com>
8532
8533 * thingatpt.el: Support `defun'.
8534
def71b5e
LL
85352011-03-23 Leo Liu <sdl.web@gmail.com>
8536
cb5af48e
LL
8537 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8538
def71b5e
LL
8539 * help-mode.el (help-mode-finish): Tweak regexp.
8540
927c53e7
GM
85412011-03-23 Glenn Morris <rgm@gnu.org>
8542
18d05bed
GM
8543 * eshell/esh-opt.el (eshell-eval-using-options):
8544 Do not bind unused local variable `eshell-option-stub'.
8545
927c53e7
GM
8546 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8547
9d0da923
JB
85482011-03-22 Juanma Barranquero <lekktu@gmail.com>
8549
8550 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8551 keymap variable in `with-no-warnings' to avoid a warning when the
8552 keymap has been already `defconst'ed.
8553
4b978a67
LL
85542011-03-22 Leo Liu <sdl.web@gmail.com>
8555
8556 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8557 encode all chars in abbrevs; otherwise use emacs-mule or
8558 utf-8-emacs. (Bug#8308)
8559
5fd62452
JB
85602011-03-22 Juanma Barranquero <lekktu@gmail.com>
8561
0b1596c6
JB
8562 * simple.el (backward-delete-char-untabify):
8563 Avoid warning about using `delete-backward-char'.
8564
5fd62452
JB
8565 * image.el (image-type-file-name-regexps): Make it variable.
8566 `imagemagick-register-types' modifies it, and the user may want
8567 to add new extensions for known image types.
8568 (imagemagick-register-types): Throw error if not using ImageMagick.
8569
0b4e93f1
LL
85702011-03-22 Leo Liu <sdl.web@gmail.com>
8571
8572 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8573 located before rcirc-prompt-end-marker.
8574 (rcirc-complete): Error if point is not after rcirc prompt.
8575 Handle the case when table is nil.
9882e214 8576 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8577
fccee4ab
CY
85782011-03-22 Chong Yidong <cyd@stupidchicken.com>
8579
8580 * custom.el (custom--inhibit-theme-enable): Make it affect only
8581 custom-theme-set-variables and custom-theme-set-faces.
8582 (provide-theme): Ignore custom--inhibit-theme-enable.
8583 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8584 (custom-enabling-themes): Delete variable.
d86d2721
SM
8585 (enable-theme): Accept only loaded themes as arguments.
8586 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8587 (custom-enabled-themes): Forbid themes from setting this.
8588 Eliminate use of custom-enabling-themes.
8589 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8590
af896da6
LL
85912011-03-21 Leo Liu <sdl.web@gmail.com>
8592
8593 * ido.el (ido-read-internal): Add ido-selected to history instead
8594 of user input.
8595
78f64af0
SM
85962011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8597
8598 * subr.el (deferred-action-list, deferred-action-function):
8599 Mark obsolete.
8600
b16ac1ec
LL
86012011-03-21 Leo Liu <sdl.web@gmail.com>
8602
810f7698
LL
8603 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8604 change on 2011-02-13 (bug#8309).
8605
b16ac1ec
LL
8606 * minibuffer.el (read-file-name-function): Change default value.
8607 (read-file-name--defaults): Rename from read-file-name-defaults.
8608 (read-file-name-default): Rename from read-file-name.
8609 (read-file-name): Call read-file-name-function.
8610
4e05e67e
GM
86112011-03-21 Glenn Morris <rgm@gnu.org>
8612
8613 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8614 Doc fixes.
8615
4359915b
CY
86162011-03-21 Chong Yidong <cyd@stupidchicken.com>
8617
8618 * cus-theme.el: Add missing provide statement.
8619 (customize-create-theme): Extract theme value correctly.
8620 (custom-theme-visit-theme): Autoload.
8621 (customize-create-theme): Prompt before inserting default faces.
8622
1fe275ee
JB
86232011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8624
8625 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8626 units and musical notes.
8627
3ec03f7e
LL
86282011-03-20 Leo <sdl.web@gmail.com>
8629
8630 * ido.el (ido-read-internal): Use completing-read-default.
8631 (ido-completing-read): Fix compatibility with completing-read.
8632
7d476bde
CO
86332011-03-20 Christian Ohler <ohler@gnu.org>
8634
8635 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8636 (ert-delete-all-tests): Use `called-interactively-p' rather than
8637 `interactive-p'.
8638 (ert--make-xrefs-region): Respect END.
8639
fe0fb33e
CY
86402011-03-19 Chong Yidong <cyd@stupidchicken.com>
8641
ff854b0b
CY
8642 * dired-aux.el (dired-create-directory): Signal an error if the
8643 directory already exists (Bug#8246).
8644
fe0fb33e
CY
8645 * facemenu.el (list-colors-display): Call list-faces-display
8646 inside with-help-window.
8647 (list-colors-print): Use display property to align the final
8648 column, instead of checking window-width.
8649
576bce32
EZ
86502011-03-19 Eli Zaretskii <eliz@gnu.org>
8651
4d61f28d 8652 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8653 windows-nt systems.
8654 (emerge-protect-metachars): Quote correctly for ms-dos and
8655 windows-nt systems.
8656
89c41d68 86572011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8658
8659 * info.el (info-initialize): Replace all uses of `:' with
8660 path-separator for compatibility with non-Unix systems.
8661 Cache quoting of path-separator. (Bug#8258)
8662
b14e3e21 86632011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8664
8665 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8666 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8667 (mouse-avoidance-mode): Fix typos in docstrings.
8668
4525ce3e
CY
86692011-03-19 Chong Yidong <cyd@stupidchicken.com>
8670
8671 * startup.el (package-subdirectory-regexp): Move from package.el.
8672 Omit \\` and \\', and let callers add them.
8673
8674 * emacs-lisp/package.el (package-strip-version)
8675 (package-load-all-descriptors): Add \\` and \\' to
8676 package-subdirectory-regexp before using it.
8677 (package-untar-buffer): New arg DIR; ensure that file untars only
8678 into this expected directory. Remove superfluous delete-region.
8679 (package-unpack): Caller changed.
8680 (package-tar-file-info): Use package-subdirectory-regexp.
8681
a904a09a 86822011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8683
a904a09a
SM
8684 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8685 diff-mode-shared-map (bug#8284).
8686 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8687
86882011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8689
8690 * calendar/time-date.el (format-seconds): Use assoc instead of
8691 assoc-string, since assoc-string doesn't exist in XEmacs.
8692
171fc304
JB
86932011-03-17 Juanma Barranquero <lekktu@gmail.com>
8694
8695 * custom.el (custom-known-themes): Reflow docstring.
8696 (custom-theme-load-path): Fix typo in docstring.
8697 (load-theme): Fix typo in error message.
8698 (custom-available-themes, custom-variable-theme-value):
8699 Use `let', not `let*'.
8700
d71990a1
JB
87012011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8702
8703 * calc/README: Mention inclusion of musical notes.
8704
8705 * calc/calc-units.el (calc-lu-quant): Rename from
8706 `calc-logunits-quantity'.
8707 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8708 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8709 (calc-db): Rename from `calc-dblevel'.
8710 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8711 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8712 (calc-np): Rename from `calc-nplevel'.
8713 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8714 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8715 (calc-lu-plus): Rename from `calc-logunits-add'.
8716 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8717 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8718 (calc-lu-minus): Rename from `calc-logunits-sub'.
8719 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8720 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8721 (calc-lu-times): Rename from `calc-logunits-mul'.
8722 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8723 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8724 (calc-lu-divide): Rename from `calc-logunits-div'.
8725 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8726 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8727
8728 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8729 functions being autoloaded.
8730
8731 * calc/calc.el (calc-lu-power-reference): Rename from
8732 `calc-logunits-power-reference'.
8733 (calc-lu-field-reference): Rename from
8734 `calc-logunits-field-reference'.
8735
8736 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8737
40c2934b
SM
87382011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8739
8740 * minibuffer.el (completion-all-sorted-completions):
8741 Use :completion-cycle-penalty text property if present.
8742
b0911414
KM
87432011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8744
8745 * allout.el (allout-yank-processing): Adjust for new rebulleting
8746 regime so bullet being yanked is used without prompting the user
8747 for a choice.
8748
8a05b668
JB
87492011-03-16 Juanma Barranquero <lekktu@gmail.com>
8750
8751 * startup.el (command-line): Warn the user that _emacs is deprecated.
8752
5ba5fb81
JB
87532011-03-16 Juanma Barranquero <lekktu@gmail.com>
8754
8755 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8756 (delphi-verbose, delphi-comment-face, delphi-string-face)
8757 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8758 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8759 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8760 (delphi-new-comment-line, delphi-font-lock-defaults)
8761 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8762 Fix typos in docstrings.
8763
2dab465b
KM
87642011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8765
5ba5fb81 8766 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8767 Invert the roles of character and string values for INSTEAD, so a
8768 string is used for the more common case of a defaulting prompt.
8769
0adf5618
SM
87702011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * progmodes/ruby-mode.el (ruby-backward-sexp):
8773 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8774 * play/gamegrid.el (gamegrid-make-face):
8775 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8776 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8777 * notifications.el (notifications-notify):
8778 * net/xesam.el (xesam-search-engines):
8779 * net/quickurl.el (quickurl-list-insert):
8780 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8781
d72700e5
CY
87822011-03-15 Chong Yidong <cyd@stupidchicken.com>
8783
8784 * startup.el (command-line): Update package subdirectory regexp.
8785
49c5410a
SM
87862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8787
c6eee9aa
SM
8788 * allout.el (allout-abbreviate-flattened-numbering)
8789 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8790
49c5410a
SM
8791 * subr.el (read-char-choice): Only show the cursor after the prompt,
8792 not after the answer.
8793
047b2bb9
KR
87942011-03-15 Kevin Ryde <user42@zip.com.au>
8795
8796 * help-fns.el (variable-at-point): Skip leading quotes, if any
8797 (bug#8253).
8798
0a57d256
SM
87992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8800
8801 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8802 warning message.
8803
77c992bc
MA
88042011-03-14 Michael Albinus <michael.albinus@gmx.de>
8805
8806 * shell.el (shell): When called interactively, offer to change the
8807 shell file name on remote hosts.
8808
eebc475d
TZ
88092011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8810
8811 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8812 integration for LDAP parameters. The host, base, user or binddn,
8813 and secret tokens can be specified in a netrc file, for instance.
8814 This is optional because an `auth-source' parameter must be
8815 specified in the search attributes.
8816
9d05d1ba
JB
88172011-03-13 Juanma Barranquero <lekktu@gmail.com>
8818
8819 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8820
09d9db2c
GM
88212011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8822
8823 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8824 into declaration. Remove redundant and harmful binding.
8825
88262011-03-12 Eli Zaretskii <eliz@gnu.org>
8827
8828 * files.el (file-ownership-preserved-p): Pass `integer' as an
8829 explicit 2nd argument to `file-attributes'. If the file's owner
8830 is the Administrators group on Windows, and the current user is
8831 Administrator, consider that a match.
8832
8833 * server.el (server-ensure-safe-dir): Consider server directory
8834 safe on MS-Windows if its owner is the Administrators group while
8835 the current Emacs user is Administrator. Use `=' to compare
8836 numerical UIDs, since they could be integers or floats.
8837
219bd536
JB
88382011-03-12 Juanma Barranquero <lekktu@gmail.com>
8839
8840 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8841
f3afd36b
MA
88422011-03-12 Michael Albinus <michael.albinus@gmx.de>
8843
8844 Sync with Tramp 2.2.1.
8845
8846 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8847
8848 * net/trampver.el: Update release number.
8849
3aaaa6f1
SM
88502011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8851
94642599
SM
8852 * progmodes/compile.el (compilation--previous-directory): Fix up
8853 various nil/dead-marker mismatches (bug#8014).
8854 (compilation-directory-properties, compilation-error-properties):
8855 Don't call it at a position past the one we're about to change.
8856
3aaaa6f1
SM
8857 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8858 Disable obsolescence warnings in the file that declares it.
8859
14239447
KM
88602011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8861
099c39a4
JB
8862 * allout-widgets.el (allout-widgets-tally):
8863 Initialize allout-widgets-tally as a hash table rather than nil to
8864 prevent mode-line redisplay warnings. Also, clarify the module
8865 description and fix a comment typo.
14239447 8866
135e287c
JB
88672011-03-11 Juanma Barranquero <lekktu@gmail.com>
8868
8869 * help-fns.el (describe-variable): Don't complete keywords.
8870 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8871
ffbf300e
CY
88722011-03-10 Chong Yidong <cyd@stupidchicken.com>
8873
ba08b241
CY
8874 * emacs-lisp/package.el (package-version-join): Impose a standard
8875 string representation for pre/alpha/beta version lists.
8876 (package-unpack-single): Standardize the directory name by passing
8877 it through package-version-join.
8878 (package-strip-rcs-id): Accept any version string that does not
8879 signal an error in version-to-list.
ffbf300e 8880
f346fd6b
MA
88812011-03-10 Michael Albinus <michael.albinus@gmx.de>
8882
8883 * simple.el (delete-trailing-whitespace): Return nil for the
8884 benefit of `write-file-functions'.
8885
ccb55d27
GM
88862011-03-10 Glenn Morris <rgm@gnu.org>
8887
5ceaac0c
GM
8888 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8889
02da65ff
GM
8890 * vc/vc-git.el (vc-git-program): New option.
8891 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8892 (vc-git--call): Use it.
8893
b2f603cc
GM
8894 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8895
5772caab
GM
8896 * cus-edit.el (Custom-newline): If no button at point, look
8897 for a subgroup button at start-of-line. (Bug#2298)
8898
ccb55d27
GM
8899 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8900
ec6ecaed
JD
89012011-03-10 Julien Danjou <julien@danjou.info>
8902
8903 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8904 `cursor-type' is nil.
8905
9d5aa01d
JB
89062011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8907
8908 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8909
b6a5875b
KM
89102011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8911
8912 * allout.el Summary: Change so yank of distinctive-bullet items
8913 preserves the existing header prefix, rebulleting it if necessary,
8914 rather than replacing it. This is necessary for proper operation
8915 of cooperative addons like allout-widgets.
219bd536 8916 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8917 SOLICIT arg to INSTEAD, and interpret additionally a string value
8918 as alternate bullet to be used, instead of prompting the user for
8919 a bullet character.
8920
ee545c35
MA
89212011-03-09 Michael Albinus <michael.albinus@gmx.de>
8922
d86d2721
SM
8923 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8924 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8925 `tramp-default-port'.
8926
c47971d7
DD
89272011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8928
8929 * net/rcirc.el (rcirc-handler-001): Remove useless
8930 with-rcirc-process-buffer.
8931 (rcirc-check-auth-status): Swap arguments to string-match.
8932
13522cb4
GM
89332011-03-09 Glenn Morris <rgm@gnu.org>
8934
0be6f4f1
GM
8935 * shell.el (shell-mode):
8936 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8937
13522cb4
GM
8938 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8939 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8940
515de2e3
CY
89412011-03-08 Chong Yidong <cyd@stupidchicken.com>
8942
8943 * emacs-lisp/package.el (package-refresh-contents)
8944 (package-menu-execute): Use condition-case-no-debug.
8945
b511b994
MA
89462011-03-08 Michael Albinus <michael.albinus@gmx.de>
8947
8948 * simple.el (shell-command-to-string): Use `process-file'.
8949
8950 * emacs-lisp/package.el (package-tar-file-info): Handle also
8951 remote files.
8952
d86d2721
SM
8953 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8954 Use `equal' for upload base check.
b511b994 8955
25bbfb31
AM
89562011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8957
8958 * textmodes/texinfo.el (texinfo-environments):
8959 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8960
be996521
GM
89612011-03-08 Glenn Morris <rgm@gnu.org>
8962
e9c8529f
GM
8963 * cus-start.el (cursor-in-non-selected-windows):
8964 Fix :set quoting oddness. (Bug#8192)
8965
be996521
GM
8966 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8967 in some setf expressions. (Bug#2159)
8968
2bb5649e
CY
89692011-03-08 Chong Yidong <cyd@stupidchicken.com>
8970
8971 * custom.el (custom-available-themes): Return themes in
8972 alphabetical order.
8973
33383987 8974See ChangeLog.15 for earlier changes.
e3d51b27
MR
8975
8976;; Local Variables:
8977;; coding: utf-8
e3d51b27
MR
8978;; End:
8979
33383987 8980 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8981
8982 This file is part of GNU Emacs.
8983
8984 GNU Emacs is free software: you can redistribute it and/or modify
8985 it under the terms of the GNU General Public License as published by
8986 the Free Software Foundation, either version 3 of the License, or
8987 (at your option) any later version.
8988
8989 GNU Emacs is distributed in the hope that it will be useful,
8990 but WITHOUT ANY WARRANTY; without even the implied warranty of
8991 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8992 GNU General Public License for more details.
8993
8994 You should have received a copy of the GNU General Public License
8995 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.