Spelling fixes.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4ad3bc2a
CY
12011-11-24 Chong Yidong <cyd@gnu.org>
2
3 * window.el (display-buffer--special-action): Doc fix.
4
e9fce1ac
JB
52011-11-25 Juanma Barranquero <lekktu@gmail.com>
6
7 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12 (avl-tree-stack-first):
13 * emacs-lisp/cconv.el (cconv--analyse-use):
14 * net/gnutls.el (gnutls-negotiate): Fix typos.
15
cb825e5d
GM
162011-11-24 Glenn Morris <rgm@gnu.org>
17
3adbe224
GM
18 * lpr.el (lpr-windows-system, lpr-lp-system):
19 * mail/binhex.el (binhex-begin-line):
20 * progmodes/grep.el (grep-history, grep-find-history):
21 * textmodes/flyspell.el:
22 * vc/pcvs-defs.el (cvs-global-menu):
23 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
24 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
25 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
26
321decc8
GM
27 * net/tls.el: Fix case of "GnuTLS".
28
420b63ad
GM
29 * paths.el (rmail-file-name): Format doc-string for make-docfile.
30
cb825e5d
GM
31 * version.el (emacs-build-system): Give it a doc-string.
32
a0649f08
JL
332011-11-24 Juri Linkov <juri@jurta.org>
34
35 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
36
c0bc0fd4
GM
372011-11-24 Glenn Morris <rgm@gnu.org>
38
39 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
40 if called on a non-mime message just toggle the headers. (Bug#8006)
41
20db1522
JB
422011-11-24 Juanma Barranquero <lekktu@gmail.com>
43
44 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
45 (allout-lead-with-comment-string, allout-structure-deleted-hook)
46 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
47 (allout-rebullet-heading, allout-open-sibtopic)
48 (allout-toggle-current-subtree-encryption)
49 (allout-toggle-subtree-encryption, allout-encrypt-string)
50 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
51 (allout-distinctive-bullets-string, allout-auto-activation):
52 * window.el (window-normalize-buffer-to-display):
53 * progmodes/verilog-mode.el (verilog-batch-indent):
54 * textmodes/bibtex.el (bibtex-field-braces-opt)
55 (bibtex-field-strings-opt):
56 * vc/cvs-status.el (cvs-tree-merge):
57 Fix typos.
58
7262a87c
MA
592011-11-23 Michael Albinus <michael.albinus@gmx.de>
60
61 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
62 `non-essential' to t, in order to avoid remote connections.
63
283430a1
EZ
642011-11-23 Eli Zaretskii <eliz@gnu.org>
65
66 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): On
67 MS-DOS and MS-Windows, compare with loaddefs.el
68 case-insensitively.
69
d2992a38
ML
702011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
71
72 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
73
50419064
GM
742011-11-23 Glenn Morris <rgm@gnu.org>
75
da94eca1
GM
76 * paths.el (rmail-file-name): Reformat the doc-string so that it
77 is picked up.
78
9aac4de2
GM
79 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
80 (rmail-auto-file): Ignore case in the "special" field names,
81 as mail-fetch-field does for all others.
82
8038d2d2
GM
83 * mail/rmail.el (rmail-forward):
84 * mail/rmailkwd.el (rmail-set-label):
85 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
86 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
87
f3fe222a
GM
88 * mail/rmail.el (rmail-current-message): Doc fix.
89
50419064
GM
90 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
91
28109f49
SM
922011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * server.el (server-eval-and-print): Allow C-g (bug#6585).
95
394c65f1
GM
962011-11-22 Glenn Morris <rgm@gnu.org>
97
98 * mail/rmailmm.el (test-rmail-mime-handler)
99 (test-rmail-mime-bulk-handler)
100 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
101
f2a0aa3a
JL
1022011-11-21 Juri Linkov <juri@jurta.org>
103
104 * calc/calc.el (calc-read-key-sequence): Let-bind `input-method-function'
105 to nil. (Bug#10018)
106
9c34a344
LMI
1072011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
108
109 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
110 Tell the caller that the next line needs recomputation, even
111 though it doesn't start a sexp (bug#10094).
112
f04a3be9
SM
1132011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
114
115 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
116
7978747f
SM
1172011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
118
f04a3be9
SM
119 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
120 Use force-same-window.
7978747f 121
fe7a3057
JB
1222011-11-20 Juanma Barranquero <lekktu@gmail.com>
123
124 * descr-text.el (describe-char-unicode-data):
125 * json.el (json-string-escape):
126 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
127 (Footnote-unicode, Footnote-style-p):
128 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
129
24901d61
CY
1302011-11-20 Chong Yidong <cyd@gnu.org>
131
132 * window.el (replace-buffer-in-windows): Restore interactive spec.
133
bac7ff22
SM
1342011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
135
24f3d7b9
SM
136 * electric.el (electric-indent-mode): Fix last change (too optimistic).
137
bac7ff22
SM
138 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
139 (byte-compile-global-not-obsolete-vars): New var.
140 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
141 Use it.
142 (byte-compile-warn-obsolete): Align text with the one in *Help*.
143
cd1181db
JB
1442011-11-20 Juanma Barranquero <lekktu@gmail.com>
145
146 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
147 * progmodes/pascal.el (electric-pascal-equal):
148 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
149 * xml.el (xml-substitute-special): Fix typos.
150
7fb18e9e
GM
1512011-11-20 Glenn Morris <rgm@gnu.org>
152
153 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
154 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
155 Doc fixes.
156 (rmail-decode-mime-charset): Mark as obsolete.
157
158 * mail/rmailsum.el (rmail-message-regexp-p-1):
159 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
160 Before using mime functions, check they are set. (Bug#10077)
161
d5a6b3ba
JL
1622011-11-19 Juri Linkov <juri@jurta.org>
163
164 * info.el (Info-finder-find-node): Use `package--builtins' instead
165 of `package-alist'. Use node names formed by the pattern "Keyword "
166 and the keyword name.
167
e981b61f
AS
1682011-11-19 Andreas Schwab <schwab@linux-m68k.org>
169
170 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
171 bash.
172
3ffbc301
JL
1732011-11-19 Juri Linkov <juri@jurta.org>
174
175 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
176 that calls `revert-buffer' on all Info buffers. (Bug#9915)
177 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
178 `old-history', `old-history-forward'. Add let-binding
179 `window-selected'. Remove calls to `kill-buffer',
180 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
181 before calling `Info-find-node', so `Info-find-node-2' will reread
182 the Info file. Restore window positions only when `window-selected'
183 is non-nil.
184
30c62133
JL
1852011-11-19 Juri Linkov <juri@jurta.org>
186
187 * isearch.el (isearch-lazy-highlight-new-loop):
188 Remove condition `(not isearch-error)'. (Bug#9918)
189
190 * misearch.el (multi-isearch-search-fun): Add condition
191 `(not bound)' to ignore lazy-highlighting search.
192 Add the search-failed message "end of multi" when the end of
193 multi-sequence is reached. Uncapitalize the search-failed
194 message "Repeat for next buffer".
195
196 * info.el (Info-search): Add the search-failed message
197 "end of the manual" when the end of the manual is reached
198 in Isearch mode.
199
645ca9cf
JL
2002011-11-19 Juri Linkov <juri@jurta.org>
201
202 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
203 Use non-destructive `remove' instead of `delete' because
204 `Info-history-list' stored to `Info-isearch-initial-history-list' in
205 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
206
df754f66
JL
2072011-11-19 Juri Linkov <juri@jurta.org>
208
209 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
210 to nil instead of binding `search-ring' and `regexp-search-ring'.
211 (Bug#9185)
212
0e23d96a
EZ
2132011-11-19 Eli Zaretskii <eliz@gnu.org>
214
215 * simple.el (line-move): Force movement by logical lines for any
216 hscrolled window, not only when auto-hscroll-mode is on.
217 (line-move-visual): Update doc string to that effect. (Bug#10076)
218
8a6ccb66
AS
2192011-11-19 Andreas Schwab <schwab@linux-m68k.org>
220
221 * language/european.el (macintosh): Define as alias for mac-roman.
222
49ae5b39
EZ
2232011-11-19 Eli Zaretskii <eliz@gnu.org>
224
225 * mail/rmailmm.el (rmail-mime-display-header)
226 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
227 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
228 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
229 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
230 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
231 of a raw aref.
232 (rmail-mime-entity-segment): To get past the tagline, move forward
233 2 more lines, to account for the 2 empty lines that precede and
234 follow the line with the buttons.
235 (rmail-mime-update-tagline): Move one more line, to get past the
236 empty line that follows the buttons in the tagline. (Bug#9520)
237
c56cad4a
MR
2382011-11-19 Martin Rudalics <rudalics@gmx.at>
239
240 * window.el (window-max-delta-1, window-min-delta-1)
241 (window-min-size-1, window-state-get-1, window-state-put-1)
242 (window-state-put-2): Use "window--" prefix.
243
cbe71af3
SM
2442011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
245
2ad52c60
SM
246 * emacs-lisp/smie.el: Improve warnings and conflict detection.
247 (smie-warning-count): New var.
248 (smie-set-prec2tab): Use it.
249 (smie-bnf->prec2): Improve warnings. Add docstring.
250 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
251 (smie-bnf--set-class): New function.
252 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
253 corner case.
254
6944dbc1
SM
255 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
256 (compilation-error-properties, compilation-move-to-column):
257 Handle compilation-first-column while in the target buffer.
258
c400c4d7
SM
259 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
260 Don't hardcode point-min==1.
261
6dbe3e96
SM
262 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
263 (eshell-rewrite-for-command): Remove workaround.
264 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
265 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
266 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
267
cbe71af3
SM
268 * files-x.el (modify-file-local-variable): Obey commenting conventions.
269
a8e1496d
GM
2702011-11-17 Glenn Morris <rgm@gnu.org>
271
272 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
273 Ignore buffer-local generated-autoload-file if it is the same
274 as the global value. (Bug#10049)
275
df85d315
JB
2762011-11-17 Juanma Barranquero <lekktu@gmail.com>
277
278 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
279 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
280 (reftex-toc-previous-heading, reftex-toc-max-level)
281 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
282 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
283 (reftex-toc-do-promote, reftex-toc-promote-prepare)
284 (reftex-toc-promote-action, reftex-toc-extract-section-number)
285 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
286 (reftex-toc-rename-label, reftex-toc-visit-location)
287 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
288 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
289 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
290 leaving "*toc*" only for references to the buffer.
291
a0c2d0ae
MR
2922011-11-17 Martin Rudalics <rudalics@gmx.at>
293
294 * window.el (window-resize, delete-window, split-window):
295 Replace window-splits by window-combination-resize.
296 * cus-start.el (window-splits): Replace by
297 window-combination-resize.
298
35c0bac8
GM
2992011-11-17 Glenn Morris <rgm@gnu.org>
300
301 * progmodes/sh-script.el (sh-font-lock-keywords-var):
302 Make bash entry derive from sh entry, not shell entry.
303
d0c8fc8a
MA
3042011-11-16 Michael Albinus <michael.albinus@gmx.de>
305
d0c8fc8a
MA
306 * net/tramp-cache.el (tramp-flush-file-property): Flush also
307 properties of linked files. (Bug#9879)
308
7262a87c
MA
309 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
310 local file name.
311
7877f373
JB
3122011-11-16 Juanma Barranquero <lekktu@gmail.com>
313
314 * menu-bar.el (menu-bar-file-menu):
315 * printing.el (pr-ps-utility):
316 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
317 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
318 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
319 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
320 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
321 (icalendar--convert-cyclic-to-ical)
322 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
323 (icalendar--convert-ical-to-diary)
324 (icalendar--convert-recurring-to-diary)
325 (icalendar--convert-non-recurring-all-day-to-diary)
326 (icalendar-import-format-sample):
327 * progmodes/idlw-shell.el (idlwave-shell-mode):
328 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
329 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
330 (vhdl-ps-print-init): Fix typos.
331
10649b82
KM
3322011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
333
9d0cfcd6
GM
334 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
335 FSF and collapse date sequence, obscure author/maintainer email address
336 better, remove extra version line, track relocation of author's webpage.
10649b82 337
9d0cfcd6
GM
338 * progmodes/python.el (python-pdbtrack-input-prompt)
339 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
340 regular python pdb prompts. Adjustments shamelessly taken exactly as
341 suggested in EmacsWiki page (tiny change):
342 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 343
58179cce
JB
3442011-11-16 Juanma Barranquero <lekktu@gmail.com>
345
346 * expand.el (expand-pos, expand-index, expand-point):
347 Remove redundant info from docstring.
348 (expand-add-abbrevs): Doc fix.
349 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
350 (expand-sample-perl-mode-expand-list): Fix typos.
351
352 * net/dbus.el (dbus-event-member-name):
353 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
354 * term/pc-win.el (msdos-create-frame-with-faces):
355 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
356
b6f67890
MR
3572011-11-16 Martin Rudalics <rudalics@gmx.at>
358
359 * window.el (split-window, window-state-get-1)
360 (window-state-put-1, window-state-put-2): Rename occurrences of
361 window-nest to window-combination-limit.
362 * cus-start.el (window-nest): Rename to
363 window-combination-limit.
364
ce7ddba0
CY
3652011-11-16 Chong Yidong <cyd@gnu.org>
366
367 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
368 regexp (Bug#10033).
369
3ae704f4
SM
3702011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
371
372 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
373 `completing-read' will remove *Completions* and will preserve
374 current-buffer for us.
375 (tmm-add-prompt): Users of *Completions* will always (re)set its
376 major mode.
377 (tmm-old-comp-map): Remove.
378
6ad1cdde
GM
3792011-11-16 Glenn Morris <rgm@gnu.org>
380
381 * mail/rmailedit.el: Require rmailmm when compiling.
382 (rmail-old-mime-state): New declaration.
383 (rmail-edit-current-message): If editing a mime message,
384 edit the "raw" message from the mbox buffer.
385 (rmail-cease-edit): Handle mime messages. (Bug#9840)
386
d20faa20
GM
3872011-11-15 Glenn Morris <rgm@gnu.org>
388
389 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
390 which wasn't being used. Add optional arg to force given state.
391 (rmail-mime): Add optional arg to force given state.
392
c7015153
JB
3932011-11-15 Juanma Barranquero <lekktu@gmail.com>
394
395 * allout.el (allout-encryption-plaintext-sanitization-regexps):
396 * frame.el (display-mm-dimensions-alist):
397 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
398 (outline-move-subtree-down):
399 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
400 (newsticker--treeview-do-get-node):
401 * net/quickurl.el (quickurl-list-buffer-name):
402 * progmodes/dcl-mode.el (dcl-mode):
403 * progmodes/gdb-mi.el (gdb-mapcar*):
404 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
405
45261b50
GM
4062011-11-15 Glenn Morris <rgm@gnu.org>
407
408 * mail/rmail.el (rmail-file-coding-system): It's only ever used
409 in a boolean sense, so just make it a boolean, and fix the doc.
410 (rmail-show-mime-function, rmail-mime-feature)
411 (rmail-require-mime-maybe): Doc fixes.
412 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
413
414 * mail/rmailmm.el (rmail-show-mime): Doc fix.
415
0d26e0b6
JB
4162011-11-15 Juanma Barranquero <lekktu@gmail.com>
417
418 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
419 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
420 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
421 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
422
447f30f6
GM
4232011-11-15 Glenn Morris <rgm@gnu.org>
424
672b871d
GM
425 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
426 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
427 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
428 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
429 (rmail-mime, rmail-show-mime): Doc fixes.
430
f6aa5bb1
GM
431 * term/ns-win.el (mode-line-frame-identification):
432 Leave it alone. (Bug#10051)
433
947cd66b
GM
434 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
435
447f30f6
GM
436 * mail/rmailout.el (rmail-output-to-rmail-buffer):
437 Handle empty buffers. (Bug#9978)
438
0b381c7e
JB
4392011-11-14 Juanma Barranquero <lekktu@gmail.com>
440
441 * international/mule.el (define-charset):
442 * mail/rmailmm.el (rmail-mime-find-header-encoding):
443 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
444 * progmodes/verilog-mode.el (verilog-backward-token):
445 * textmodes/ispell.el (lookup-words):
446 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
447
71e027ac
GM
4482011-11-14 Glenn Morris <rgm@gnu.org>
449
56632ce4
GM
450 * progmodes/executable.el
451 (executable-make-buffer-file-executable-if-script-p):
452 Handle file-modes returning nil.
453
40500957
GM
454 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
455 message - not necessary, and causes problems. (Bug#9831)
456
071c2340
GM
457 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
458
d3cfca60
GM
459 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
460
71e027ac
GM
461 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
462 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
463 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
464
89d61221
MR
4652011-11-12 Martin Rudalics <rudalics@gmx.at>
466
467 * window.el (window-resize, delete-window): Use window-splits
468 variable instead of function.
469 (window-state-get-1, window-state-put-2, window-state-put):
470 Don't deal with windows' splits status.
471
98282f6f
GM
4722011-11-12 Glenn Morris <rgm@gnu.org>
473
474 * apropos.el (apropos-do-all, apropos-library, apropos-value)
475 (apropos-documentation): Doc fixes.
476
40a8bdf6
JB
4772011-11-11 Juanma Barranquero <lekktu@gmail.com>
478
479 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
480 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
481
65bd19ff
SM
4822011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * electric.el (electric-indent-post-self-insert-function): Make it
485 possible for a char to only indent in some circumstances.
486 (electric-indent-mode): Simplify.
487
54f9154c
MR
4882011-11-11 Martin Rudalics <rudalics@gmx.at>
489
490 * window.el (windows-with-parameter): Remove unused function.
491 (windows-at-side): Rename to window-at-side-list.
492 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
493 (window-side-check, window-size-ignore, window-size-fixed-1)
494 (window-in-direction-2): Prefix with "window--".
495 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 496
68cbc58b
GM
4972011-11-11 Glenn Morris <rgm@gnu.org>
498
499 * subr.el (eval-after-load): If FILE is already loaded,
500 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
501
b2621720
GM
5022011-11-10 Glenn Morris <rgm@gnu.org>
503
9a4de110
GM
504 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
505 Call svn via vc-svn-command rather than vc-do-command.
506 (vc-svn-command): Add --non-interactive. (Bug#9993)
507 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
508
b2621720
GM
509 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
510 Add toggle-read-only. (Bug#7292)
511 * files.el (toggle-read-only): Mention that it should only
512 be used interactively. (Bug#10006)
513
1dce7193
SM
5142011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
515
d9ac1a1e
SM
516 * progmodes/compile.el (compilation-error-regexp-alist-alist):
517 Adjust regexp for OCaml warnings.
518
0c325082
SM
519 * electric.el (electric-pair-post-self-insert-function): Let user
520 turn it off buffer-locally (bug#9932).
521
90132c14
SM
522 * progmodes/python.el (python-beginning-of-statement):
523 Rewrite (bug#2703).
524
1dce7193
SM
525 * progmodes/compile.el: Better handle TABs (bug#9749).
526 (compilation-internal-error-properties)
527 (compilation-next-error-function): Obey the target buffer's
528 compilation-error-screen-columns.
529
c4e7c63a
JB
5302011-11-09 Juanma Barranquero <lekktu@gmail.com>
531
532 * progmodes/meta-mode.el: Remove obsolete comments.
533 (meta-right-comment-regexp, meta-ignore-comment-regexp):
534 Fix typos in docstrings.
535
2cffd681
MR
5362011-11-09 Martin Rudalics <rudalics@gmx.at>
537
538 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 539 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
540 (window--resizable): New function. Make all callers of
541 window-resizable call window--resizable instead.
542 (window-resizable): Rewrite in terms of window--resizable.
543
0edcba87
GM
5442011-11-08 Glenn Morris <rgm@gnu.org>
545
546 * progmodes/delphi.el (delphi-mode-syntax-table):
547 Let define-derived-mode define a proper syntax table. (Bug#9994)
548
4b0d61e3
SM
5492011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
550
551 * window.el: Stay away from defsubst.
552 (window-list-no-nils): Remove.
553 (window-state-get-1, window-state-get): Use backquote instead.
554
fcbcac2e 5552011-11-08 thierry <thierry.volpiatto@gmail.com>
556
4b0d61e3 557 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 558 Fix incorrect use of default argument in `completing-read'.
559
e1c2c6f2
MR
5602011-11-08 Martin Rudalics <rudalics@gmx.at>
561
562 * window.el (display-buffer-function, special-display-function):
563 Mention display-buffer-record-window but do not mention
564 help-setup parameter in doc-strings.
b3f4a882 565 (window-min-delta): Fix doc-string typo.
e1c2c6f2 566
105216ed
CY
5672011-11-08 Chong Yidong <cyd@gnu.org>
568
569 * window.el (window-total-height, window-total-width): Doc fix.
570 (window-body-size): Move from C.
571 (window-body-height, window-body-width): Move to C.
572
0a9f9ab5
SM
5732011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * window.el: Make special-display like display-buffer-alist (bug#9532).
576 (display-buffer--special-action): New function, morphed
577 from display-buffer--special.
578 (display-buffer): Use it to handle special-display-buffers at higher
579 priority (just after display-buffer-alist).
580 (display-buffer-fallback-action, display-buffer--other-frame-action)
581 (pop-to-buffer-same-window): Remove display-buffer--special.
582
a769dd15
GM
5832011-11-07 Glenn Morris <rgm@gnu.org>
584
585 * calendar/cal-menu.el (cal-menu-set-date-title):
586 Do nothing if not in a calendar. (Bug#9976)
587
05a61ee3
SM
5882011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * files.el (find-file): Always use selected-window.
591
be7f5545
MR
5922011-11-07 Martin Rudalics <rudalics@gmx.at>
593
594 * window.el (window-combinations): Make WINDOW argument
595 mandatory. Rewrite doc-string.
596 (walk-window-subtree, window-atom-check, window-min-delta)
597 (window-max-delta, window--resize-this-window)
598 (window--resize-root-window-vertically, window-tree)
599 (balance-windows, window-state-put): Rewrite doc-strings as to
600 not mention the term "subwindow".
601 (window--resize-subwindows-skip-p): Rename to
602 window--resize-child-windows-skip-p.
603 (window--resize-subwindows-normal): Rename to
604 window--resize-child-windows-normal.
605 (window--resize-subwindows): Rename to
606 window--resize-child-windows.
607 (window-or-subwindow-p): Rename to window--in-subtree-p.
608
3c6702ef
ML
6092011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
610
611 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
612 Ensure that mbox format messages end in two newlines (Bug#9974).
613
49745b39
CY
6142011-11-06 Chong Yidong <cyd@gnu.org>
615
616 * window.el (window-combination-p): Function deleted; its
617 side-effect is not used in any existing code.
618 (window-combinations, window-combined-p): Call window-*-child
619 directly.
620
24300f5f
CY
6212011-11-05 Chong Yidong <cyd@gnu.org>
622
623 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
624 (window-size-ignore, window-state-get): Callers changed.
625 (window-normalize-window): Rename from window-normalize-any-window.
626 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 627 (window-normalize-live-window): Delete.
447f16b8
CY
628 (window-combination-p, window-combined-p, window-combinations)
629 (walk-window-subtree, window-atom-root, window-min-size)
630 (window-sizable, window-sizable-p, window-size-fixed-p)
631 (window-min-delta, window-max-delta, window-resizable)
632 (window-resizable-p, window-full-height-p, window-full-width-p)
633 (window-current-scroll-bars, window-point-1, set-window-point-1)
634 (window-at-side-p, window-in-direction, window-resize)
635 (adjust-window-trailing-edge, maximize-window, minimize-window)
636 (window-deletable-p, delete-window, delete-other-windows)
637 (record-window-buffer, unrecord-window-buffer)
638 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
639 (quit-window, split-window, window-state-put)
640 (set-window-text-height, fit-window-to-buffer)
641 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 642
89bd5ee1
EZ
6432011-11-04 Eli Zaretskii <eliz@gnu.org>
644
53479029
EZ
645 * mail/rmail.el (rmail-simplified-subject): Decode subject with
646 rfc2047-decode-string.
647 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
648 warnings.
649
89bd5ee1
EZ
650 * window.el (window-body-height, window-body-width): Mention in
651 the doc string that the return values are in frame's canonical
652 units. (Bug#9949)
653
bd17fdee
AM
6542011-11-03 Alan Mackenzie <acm@muc.de>
655
656 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
657 change in cc-engine.el.
658
acc825c5
SM
6592011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
660
661 * window.el (switch-to-buffer): Use `force-same-window' interactively.
662
1885e5b8
MR
6632011-11-02 Martin Rudalics <rudalics@gmx.at>
664
665 * window.el (quit-window): Call unrecord-window-buffer after
666 showing another buffer in the window. (Bug#9937)
acc825c5 667 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 668
ebe06da9
JB
6692011-11-02 Juanma Barranquero <lekktu@gmail.com>
670
671 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
672 Accept status with more than 9 shelves. (Bug#9935)
673 Reported by Colin D Bennett <colin@gibibit.com>.
674
4ee88440
MR
6752011-11-01 Martin Rudalics <rudalics@gmx.at>
676
677 * help.el (with-help-window): Don't reference
678 temp-buffer-show-specifiers in doc-string.
679
08e1d82c
AS
6802011-10-31 Andreas Schwab <schwab@linux-m68k.org>
681
682 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
683 menu-item.
684
84bd6e9e
VJL
6852011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
686
687 * whitespace.el: New version 13.2.2.
688 (whitespace-newline-mode): Disable properly. Reported by Sarah
689 <EmacsWiki>.
690
dba0634a
UJ
6912011-10-30 Ulf Jasper <ulf.jasper@web.de>
692
693 * net/newst-treeview.el: Remove "Time-stamp".
694 (newsticker--group-manage-orphan-feeds): Do not call
695 newsticker--treeview-tree-update.
db22a3c2
JB
696 (newsticker-treeview-update, newsticker-treeview):
697 Call newsticker--treeview-tree-update if necessary.
dba0634a 698
3d8daefe
MR
6992011-10-30 Martin Rudalics <rudalics@gmx.at>
700
701 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
702 (window-iso-combinations): Remove "iso-" infix.
703 Suggested by Chong Yidong.
3d8daefe
MR
704 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
705 (window-max-delta-1, window-resize, window--resize-siblings)
706 (window--resize-this-window, adjust-window-trailing-edge)
707 (split-window, balance-windows-1)
708 (shrink-window-if-larger-than-buffer):
709 * calendar/calendar.el (calendar-generate-window):
db22a3c2 710 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 711
1bc4c3ae
SM
7122011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
713
714 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
715 in place (bug#9907).
716 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
717 (eshell-rewrite-if-command, eshell-rewrite-for-command)
718 (eshell-structure-basic-command, eshell-rewrite-while-command)
719 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
720 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
721 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
722 (eshell-do-pipelines-synchronously, eshell-eval-command):
723 Use backquotes and prefer setq to set.
724 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
725 (eshell-macrop): Use functionp.
c1e2f5fa 726 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 727
30b65d9c
CY
7282011-10-30 Chong Yidong <cyd@gnu.org>
729
730 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
731 instead of set-mark (Bug#9810).
732
2d197ffb
CY
7332011-10-30 Chong Yidong <cyd@gnu.org>
734
735 * window.el (split-window-below, split-window-right): Rename from
736 split-window-above-each-other and split-window-side-by-side
737 respectively. All callers changed.
738 (split-window-sensibly, split-window-sensibly): Use them.
739 (split-window-keep-point): Doc fix.
740
741 * isearch.el: Add isearch-scroll property to split-window-below
742 and split-window-right.
743
744 * follow.el (follow-mode):
745 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
746 * progmodes/ada-xref.el (ada-gdb-application):
747 * emulation/vip.el (vip-buffer-in-two-windows):
748 * image-dired.el (image-dired-dired-with-window-configuration):
749 * dired-x.el (dired-do-find-marked-files):
750 * dired.el (dired-pop-to-buffer):
751 * bs.el (bs--show-with-configuration):
752 * vc/emerge.el (emerge-setup-windows):
753 * textmodes/two-column.el (2C-two-columns):
754 * textmodes/reftex-toc.el (reftex-toc):
755 * progmodes/gdb-mi.el (gdb-setup-windows):
756 * progmodes/fortran.el (fortran-window-create):
757 * net/newst-treeview.el (newsticker--treeview-window-init):
758 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
759 * emulation/tpu-edt.el (tpu-gold-map):
760 * emulation/crisp.el (crisp-mode-map):
761 * calendar/calendar.el (calendar-basic-setup): Callers changed.
762
38bb2ca8
CY
7632011-10-29 Chong Yidong <cyd@gnu.org>
764
aa4de341
CY
765 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
766
e1eb5385
CY
767 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
768
5d2ece3c
CY
769 * textmodes/flyspell.el (flyspell-word): Fix char offset for
770 forged Ispell output (Bug#7904).
771
38bb2ca8
CY
772 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
773
d0af9f77
SM
7742011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
775
776 * doc-view.el: Avoid ugly errors about not finding nil.
777 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
778 (doc-view-dvipdf-program, doc-view-unoconv-program)
779 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
780 Avoid nil or absolute file name as default value.
781 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
782
52bedd34
AM
7832011-10-28 Alan Mackenzie <acm@muc.de>
784
db22a3c2 785 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 786
7e43cfa5
AM
7872011-10-28 Alan Mackenzie <acm@muc.de>
788
789 Amend the handling of c-beginning/end-of-defun in nested declaration
790 scopes.
791
52bedd34
AM
792 * progmodes/cc-vars.el (c-defun-tactic): Move here from
793 cc-langs.el. Change it to a defcustom.
7e43cfa5 794
52bedd34
AM
795 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
796 cc-vars.el.
7e43cfa5 797
d0af9f77
SM
798 * progmodes/cc-engine.el (c-beginning-of-statement-1):
799 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 800
52bedd34 801 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 802 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
803 (c-widen-to-enclosing-decl-scope): New function.
804 (c-while-widening-to-decl-block): New macro.
805 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
806 outward for defun boundaries, and correspondingly change symbol
807 `respect-enclosure' to `go-outward'.
808 (c-declaration-limits): Change algorithm to report only the "innermost"
809 defun's boundaries.
810
1a2ce9ee
DD
8112011-10-28 Deniz Dogan <deniz@dogan.se>
812
813 * net/rcirc.el (rcirc-mode): Use hard newlines.
814
bc97a826
AM
8152011-10-28 Alan Mackenzie <acm@muc.de>
816
817 Amend to indent and fontify macros "which include their own semicolon"
818 correctly, using the "virtual semicolon" mechanism.
819
52bedd34 820 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 821
d0af9f77 822 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 823 Recode to scan one line at a time rather than having \n and \r
58179cce 824 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 825 (c-forward-label): Amend for virtual semicolons.
58179cce 826 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 827
52bedd34
AM
828 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
829 of the new C macros.
bc97a826 830
52bedd34 831 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
832 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
833 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
834 (c-opt-cpp-macro-define): Make into a full language variable.
835 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
836 AWK Mode (including \n, \r) removed, no longer needed.
837
d0af9f77
SM
838 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
839 Invoke c-make-macro-with-semi-re.
bc97a826 840
52bedd34
AM
841 * progmodes/cc-vars.el (c-macro-with-semi-re):
842 (c-macro-names-with-semicolon): New variables.
58179cce 843 (c-make-macro-with-semi-re): New function.
bc97a826 844
7a6c0941
SM
8452011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 * vc/log-edit.el: Fill empty field rather than adding new one.
848 (log-edit-add-field): New function.
849 (log-edit-insert-changelog): Use it.
850
b0c4cdcf
ML
8512011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
852
853 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
854
ee1f1da9
SM
8552011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
858 (gdb--check-interpreter): New function.
859 (gdb): Use it.
860
51bc5f8b
GM
8612011-10-27 Glenn Morris <rgm@gnu.org>
862
416a2c45
GM
863 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
864 (least-positive-float, least-negative-float)
865 (least-positive-normalized-float, least-negative-normalized-float)
866 (float-epsilon, float-negative-epsilon):
867 Remove unnecessary declarations.
868
869 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
870 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
871 (least-positive-float, least-negative-float)
872 (least-positive-normalized-float, least-negative-normalized-float)
873 (float-epsilon, float-negative-epsilon): Add doc-strings,
874 based on those in cl.texi.
875
51bc5f8b
GM
876 * files.el (set-visited-file-name): If the major-mode changed,
877 reload the local variables. (Bug#9796)
878
15de15c6
CY
8792011-10-27 Chong Yidong <cyd@gnu.org>
880
881 * subr.el (change-major-mode-after-body-hook): New hook.
882 (run-mode-hooks): Run it.
883
ee1f1da9
SM
884 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
885 Use change-major-mode-before-body-hook.
15de15c6
CY
886
887 * simple.el (fundamental-mode):
888 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
889 change introducing fundamental-mode-hook.
890
5430d399
JB
8912011-10-26 Juanma Barranquero <lekktu@gmail.com>
892
acc825c5 893 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 894
ad74a69e
MA
8952011-10-26 Michael Albinus <michael.albinus@gmx.de>
896
897 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 898 tramp.el explicitly. (Bug#7583)
ad74a69e 899
71d4c2a5
SM
9002011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
901
902 * progmodes/octave-mod.el:
903 * progmodes/octave-inf.el: Update maintainer.
904
b1f6fa26
CY
9052011-10-26 Chong Yidong <cyd@gnu.org>
906
907 * subr.el (with-wrapper-hook): Rewrite doc.
908
3f04efd6
MA
9092011-10-25 Michael Albinus <michael.albinus@gmx.de>
910
911 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 912 filenames "/method:foo:". (Bug#9793)
3f04efd6 913
410488d3
SM
9142011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
917 (bug#9865).
918
c1ebb47e
GM
9192011-10-24 Glenn Morris <rgm@gnu.org>
920
921 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
922
7f5c46c7
MA
9232011-10-24 Michael Albinus <michael.albinus@gmx.de>
924
925 * notifications.el: Add the requirement of a running D-Bus session
926 bus to the Commentary.
927
db2440b6
JL
9282011-10-24 Juri Linkov <juri@jurta.org>
929
930 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
931 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
932 (Bug#9364)
933
feecf435
JL
9342011-10-24 Juri Linkov <juri@jurta.org>
935
936 * info.el (Info-following-node-name-re): Add newline to the list
937 of allowed characters for leading space. (Bug#9824)
938
a3839de2
SM
9392011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
940
acc825c5
SM
941 * progmodes/octave-inf.el (inferior-octave-mode-map):
942 Fix C-c C-h binding.
a3839de2
SM
943 * progmodes/octave-mod.el (octave-help): Remove.
944
09388e76
MA
9452011-10-23 Michael Albinus <michael.albinus@gmx.de>
946
947 Sync with Tramp 2.2.3.
948
949 * net/tramp-cache.el (top): Pacify byte-compiler using
950 `init-file-user' and `site-run-file'.
951
952 * net/trampver.el: Update release number.
953
86c60681
CY
9542011-10-23 Chong Yidong <cyd@gnu.org>
955
956 * files.el (toggle-read-only): Remove obsolete comment about
957 version control.
958
959 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
960 for toggle-read-only. Note that this hasn't called vc-next-action
961 since 2008-05-02, though it wasn't documented at the time.
962
a3839de2
SM
963 * vc/ediff-init.el (ediff-toggle-read-only-function):
964 Use toggle-read-only.
86c60681 965
cd5495ff
AM
9662011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
967
968 Fix bug #9560, sporadic wrong indentation; improve instrumentation
969 of c-parse-state.
970
00b77525 971 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 972 correct faulty logical expression.
cd5495ff
AM
973 (c-parse-state-state, c-record-parse-state-state):
974 (c-replay-parse-state-state): New defvar/defuns.
975 (c-debug-parse-state): Use new functions.
976
42ee24ed
MR
9772011-10-22 Martin Rudalics <rudalics@gmx.at>
978
979 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 980 last fix. Use window-in-direction correctly.
42ee24ed 981
a7dee7e7
CY
9822011-10-21 Chong Yidong <cyd@gnu.org>
983
984 * progmodes/idlwave.el (idlwave-mode):
985 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
986 require-final-newline; that's done in prog-mode.
987 Suggested by Stefan Monnier.
a7dee7e7 988
e07b9a6d
MR
9892011-10-21 Martin Rudalics <rudalics@gmx.at>
990
991 * mouse.el (mouse-drag-window-above)
992 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
993 (mouse-drag-mode-line-1, mouse-drag-header-line)
994 (mouse-drag-vertical-line-rightward-window): Remove.
995 (mouse-drag-line): New function.
996 (mouse-drag-mode-line, mouse-drag-header-line)
997 (mouse-drag-vertical-line): Call mouse-drag-line.
998 * window.el (window-at-side-p, windows-at-side): New functions.
999
7e1361d9
UM
10002011-10-21 Ulrich Mueller <ulm@gentoo.org>
1001
1002 * tar-mode.el (tar-grind-file-mode):
1003 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
1004
30fcaf3a
CY
10052011-10-21 Chong Yidong <cyd@gnu.org>
1006
1007 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
1008 * progmodes/vera-mode.el (vera-mode):
1009 Use mode-require-final-newline.
30fcaf3a 1010
516eddb0
GM
10112011-10-20 Glenn Morris <rgm@gnu.org>
1012
db22a3c2 1013 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 1014
10d5f513
CS
10152011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
1016
1017 * emulation/cua-base.el (cua-set-mark): Fix case of string.
1018
ac6c8639
CY
10192011-10-20 Chong Yidong <cyd@gnu.org>
1020
1021 * emulation/cua-base.el (cua-mode):
1022 * mail/footnote.el (footnote-mode):
1023 * mail/mailabbrev.el (mail-abbrevs-mode):
1024 * net/xesam.el (xesam-minor-mode):
1025 * progmodes/bug-reference.el (bug-reference-mode):
1026 * progmodes/cap-words.el (capitalized-words-mode):
1027 * progmodes/compile.el (compilation-minor-mode)
1028 (compilation-shell-minor-mode):
1029 * progmodes/gud.el (gud-tooltip-mode):
1030 * progmodes/hideif.el (hide-ifdef-mode):
1031 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1032 * progmodes/subword.el (subword-mode):
1033 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1034 * progmodes/which-func.el (which-function-mode):
1035 * term/tvi970.el (tvi970-set-keypad-mode):
1036 * term/vt100.el (vt100-wide-mode):
1037 * textmodes/flyspell.el (flyspell-mode):
1038 * textmodes/ispell.el (ispell-minor-mode):
1039 * textmodes/nroff-mode.el (nroff-electric-mode):
1040 * textmodes/paragraphs.el (use-hard-newlines):
1041 * textmodes/refill.el (refill-mode):
1042 * textmodes/reftex.el (reftex-mode):
1043 * textmodes/rst.el (rst-minor-mode):
1044 * textmodes/sgml-mode.el (html-autoview-mode)
1045 (sgml-electric-tag-pair-mode):
1046 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1047 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1048 * emulation/crisp.el (crisp-mode):
1049 * emacs-lisp/eldoc.el (eldoc-mode):
1050 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1051 minor mode behavior.
1052
aa42ab43
JL
10532011-10-19 Juri Linkov <juri@jurta.org>
1054
1055 * descr-text.el (describe-char): Add #x2010 and #x2011 to
1056 the list of hard-coded chars with escape-glyph face.
1057
89400f1d
SM
10582011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1061
305c07f6
MA
10622011-10-19 Michael Albinus <michael.albinus@gmx.de>
1063
1064 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1065 running process.
1066
13754b54
GM
10672011-10-19 Glenn Morris <rgm@gnu.org>
1068
1069 * vc/vc-bzr.el (vc-bzr-after-dir-status):
1070 Ignore ignored files. (Bug#9726)
1071
06e21633
CY
10722011-10-19 Chong Yidong <cyd@gnu.org>
1073
1074 Doc fix for minor modes, stating that an omitted argument enables
1075 the mode unconditionally when called from Lisp.
1076
1077 * abbrev.el (abbrev-mode):
1078 * allout.el (allout-mode):
1079 * autoinsert.el (auto-insert-mode):
1080 * autoarg.el (autoarg-mode, autoarg-kp-mode):
1081 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1082 (global-auto-revert-mode):
1083 * battery.el (display-battery-mode):
1084 * composite.el (global-auto-composition-mode)
1085 (auto-composition-mode):
1086 * delsel.el (delete-selection-mode):
1087 * desktop.el (desktop-save-mode):
1088 * dired-x.el (dired-omit-mode):
1089 * dirtrack.el (dirtrack-mode):
1090 * doc-view.el (doc-view-minor-mode):
1091 * double.el (double-mode):
1092 * electric.el (electric-indent-mode, electric-pair-mode):
1093 * emacs-lock.el (emacs-lock-mode):
1094 * epa-hook.el (auto-encryption-mode):
1095 * follow.el (follow-mode):
1096 * font-core.el (font-lock-mode):
1097 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1098 * help.el (temp-buffer-resize-mode):
1099 * hilit-chg.el (highlight-changes-mode)
1100 (highlight-changes-visible-mode):
1101 * hi-lock.el (hi-lock-mode):
1102 * hl-line.el (hl-line-mode, global-hl-line-mode):
1103 * icomplete.el (icomplete-mode):
1104 * ido.el (ido-everywhere):
1105 * image-file.el (auto-image-file-mode):
1106 * image-mode.el (image-minor-mode):
1107 * iswitchb.el (iswitchb-mode):
1108 * jka-cmpr-hook.el (auto-compression-mode):
1109 * linum.el (linum-mode):
1110 * longlines.el (longlines-mode):
1111 * master.el (master-mode):
1112 * mb-depth.el (minibuffer-depth-indicate-mode):
1113 * menu-bar.el (menu-bar-mode):
1114 * minibuf-eldef.el (minibuffer-electric-default-mode):
1115 * mouse-sel.el (mouse-sel-mode):
1116 * msb.el (msb-mode):
1117 * mwheel.el (mouse-wheel-mode):
1118 * outline.el (outline-minor-mode):
1119 * paren.el (show-paren-mode):
1120 * recentf.el (recentf-mode):
1121 * reveal.el (reveal-mode, global-reveal-mode):
1122 * rfn-eshadow.el (file-name-shadow-mode):
1123 * ruler-mode.el (ruler-mode):
1124 * savehist.el (savehist-mode):
1125 * scroll-all.el (scroll-all-mode):
1126 * scroll-bar.el (scroll-bar-mode):
1127 * server.el (server-mode):
1128 * shell.el (shell-dirtrack-mode):
1129 * simple.el (auto-fill-mode, transient-mark-mode)
1130 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1131 (line-number-mode, column-number-mode, size-indication-mode)
1132 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1133 * strokes.el (strokes-mode):
1134 * time.el (display-time-mode):
1135 * t-mouse.el (gpm-mouse-mode):
1136 * tool-bar.el (tool-bar-mode):
1137 * tooltip.el (tooltip-mode):
1138 * type-break.el (type-break-mode-line-message-mode)
1139 (type-break-query-mode):
1140 * view.el (view-mode):
1141 * whitespace.el (whitespace-mode, whitespace-newline-mode)
1142 (global-whitespace-mode, global-whitespace-newline-mode):
1143 * xt-mouse.el (xterm-mouse-mode): Doc fix.
1144
a3839de2
SM
1145 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1146 Fix autogenerated docstring.
06e21633 1147
5214e501
JL
11482011-10-19 Juri Linkov <juri@jurta.org>
1149
1150 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1151 by checking environment variables "DESKTOP_SESSION" and
1152 "XDG_CURRENT_DESKTOP". (Bug#9779)
1153
195f8db9
JL
11542011-10-19 Juri Linkov <juri@jurta.org>
1155
1156 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1157 (browse-url-chromium-program, browse-url-chromium-arguments):
1158 New defcustoms.
1159 (browse-url-default-browser): Check for `browse-url-chromium' and
1160 call `browse-url-chromium-program'.
1161 (browse-url-chromium): New command. (Bug#9779)
1162
343a34ff
JB
11632011-10-18 Juanma Barranquero <lekktu@gmail.com>
1164
1165 * facemenu.el (list-colors-duplicates): On Windows, detect more
1166 duplicates by assuming that only colors matching "^System" are
1167 special "system colors". (Bug#9722)
1168
6978a151
SM
11692011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1170
1171 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1172 to distinguish the author from the committer.
1173
6a80b297
MA
11742011-10-18 Michael Albinus <michael.albinus@gmx.de>
1175
1176 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1177
b31a5677
JK
11782011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1179
1180 * international/mule.el (sgml-html-meta-auto-coding-function):
1181 Add support for detecting encoding in HTML5 specified only as
1182 <meta charset="UTF-8">. Implementation just makes http-equiv and
1183 content-type parts from HTML4 encoding string optional. (Bug#9716)
1184
80c6d77f
GM
11852011-10-18 Glenn Morris <rgm@gnu.org>
1186
1187 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1188
08b0fee8
CY
11892011-10-18 Chong Yidong <cyd@gnu.org>
1190
1191 * faces.el (cursor): Doc fix.
1192
67e729a5
CY
11932011-10-17 Chong Yidong <cyd@gnu.org>
1194
1195 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1196
343a34ff 11972011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
1198
1199 * dirtrack.el (dirtrack): Support shell buffers with path
1200 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1201
0bc06380
TZ
12022011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1203
1204 * json.el: Bump version to 1.3 and note change in History.
1205 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1206
8b79f3e0
SM
12072011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1208
5a7c536b
SM
1209 * comint.el (comint-insert-input, comint-send-input)
1210 (comint-get-old-input-default, comint-backward-matching-input)
1211 (comint-next-prompt): Use nil instead of `input' for field property of
1212 past user input (bug#114).
1213
96a8a0df
SM
1214 * minibuffer.el (completion--replace): Inherit surrounding properties
1215 (bug#114).
1216 (minibuffer-complete-and-exit): Use it.
1217
8b79f3e0
SM
1218 * comint.el (comint--table-subvert): Quote the all-completions output
1219 (bug#9160).
1220
b8f7ff0d
MR
12212011-10-17 Martin Rudalics <rudalics@gmx.at>
1222
8b79f3e0 1223 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 1224
b8f7ff0d 1225 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 1226 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
1227 entries and separate them from frame entries.
1228
c235b555
GM
12292011-10-15 Glenn Morris <rgm@gnu.org>
1230
1231 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1232 Doc fixes.
1233
6bbfa6e1
CY
12342011-10-15 Chong Yidong <cyd@stupidchicken.com>
1235
8b79f3e0
SM
1236 * net/network-stream.el (network-stream-open-starttls):
1237 Improve detection of failure due to lack of TLS support.
ec5c990d 1238
6bbfa6e1
CY
1239 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1240 putting the input text in front and in bold.
1241
98488977
SM
12422011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1243
3d1337be
SM
1244 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1245
ee0b45e4
SM
1246 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1247 empty buffer.
1248
98488977
SM
1249 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1250 unread-command-events rather than pushing yet-another event.
1251
186f4720
EZ
12522011-10-14 Eli Zaretskii <eliz@gnu.org>
1253
1254 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1255 the explanation of the possible choices. Make the options passed
1256 to completing-read shorter.
1257
8b7a997c
AM
12582011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1259
1260 * textmodes/flyspell.el (flyspell-large-region): Make sure
1261 extended character mode is used if defined (Bug#1339).
1262
12587bbb
EZ
12632011-10-13 Eli Zaretskii <eliz@gnu.org>
1264
1265 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
1266 character info for LRE, LRO, RLE, and RLO characters by appending
1267 an invisible PDF.
12587bbb 1268
bad41229
SM
12692011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1270
1271 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1272 even in case of error; add debug spec; simplify data flow.
1273 (with-timeout-handler): Remove.
1274
28dbc92f
MA
12752011-10-12 Michael Albinus <michael.albinus@gmx.de>
1276
1277 Fix Bug#6019, Bug#9315.
1278
1279 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1280 complete `buffer-file-name', the local file name part could look
1281 remotely (for example on VMS).
1282
1283 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1284 `tramp-run-real-handler'.
1285 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1286 already quoted by '"'.
1287
1288 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1289 Let `file-name-handler-alist' be nil, the local file name part
1290 could look remotely (for example on VMS).
1291
e1b0b23a
SM
12922011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1295 from here...
1296 (flyspell-post-command-hook): ...to here.
1297
a120bde9
SM
12982011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1299
1300 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1301 if not needed.
1302 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1303 using completion. Protect against "slow" callers.
1304 Remove the "message hack".
1305
7ce7717b
JL
13062011-10-11 Juri Linkov <juri@jurta.org>
1307
1308 * isearch.el (isearch-lazy-highlight-word): New variable.
1309 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1310 Use it. (Bug#9727)
1311
c02ee9d6
GM
13122011-10-11 Glenn Morris <rgm@gnu.org>
1313
1314 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1315 like f90-previous-statement does.
1316
93e616fd 13172011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1318
1f190e73 1319 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
1320 only in interactive use, to avoid error.
1321
af7b6078
SM
13222011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1323
1324 * minibuffer.el (completion-file-name-table): Fix last change,
1325 i.e. ignore normal errors but not the other ones.
1326
0563dae9
MR
13272011-10-10 Martin Rudalics <rudalics@gmx.at>
1328
1329 * window.el (special-display-buffer-names)
1330 (special-display-regexps): Remove some remnants of earlier
1331 changes from doc-strings.
366ca7f3
MR
1332 (quit-windows-on): New function.
1333
1334 * vc/vc.el (vc-revert, vc-rollback):
1335 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1336 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 1337 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 1338
49677495
MR
13392011-10-09 Martin Rudalics <rudalics@gmx.at>
1340
1341 * window.el (frame-auto-hide-function): Add version tag.
1342 (Bug#9699)
1343
56f2d1e1
MA
13442011-10-09 Michael Albinus <michael.albinus@gmx.de>
1345
1346 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1347 condition.
1348
112a6592
LL
13492011-10-09 Leo Liu <sdl.web@gmail.com>
1350
1351 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1352 (Bug#9701)
1353
0812589b
GM
13542011-10-08 Glenn Morris <rgm@gnu.org>
1355
1356 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1357 before the first code statement zero indent. (Bug#9690)
1358
b2b0776e
CY
13592011-10-08 Chong Yidong <cyd@stupidchicken.com>
1360
1361 * simple.el (count-words-region): Always count in the region.
1362 Report the number of lines and characters too.
1363 (count-words): New command, which counts in the buffer if the
1364 region is inactive, as count-words-region used to.
1365 (count-words--message): New function. Handle plurals.
1366 (count-lines-region): Make it an alias for count-words-region.
1367
1368 * bindings.el (esc-map): Replace count-lines-region with
1369 count-words-region.
1370
c557cd6b
MR
13712011-10-08 Martin Rudalics <rudalics@gmx.at>
1372
1373 * window.el (window--delete): Delete dedicated frame
1374 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 1375 (switch-to-buffer): Fix doc-string typo.
c557cd6b 1376
61a57ef4 13772011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1378
1379 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1380
c3833279
CY
13812011-10-07 Chong Yidong <cyd@stupidchicken.com>
1382
1383 * bindings.el ([M-left],[M-right]): Bind to left-word and
1384 right-word respectively.
1385
21ce8245
GM
13862011-10-07 Glenn Morris <rgm@gnu.org>
1387
1388 * cus-start.el (debug-on-quit): Fix custom type.
1389
6d823bb2
LMI
13902011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1391
0181e193
LMI
1392 * subr.el (define-key-after): Clarify that the function is not
1393 useful for non-menu keymaps.
1394
6d823bb2
LMI
1395 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1396
8e3459ce 13972011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1398
21ce8245 1399 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 1400 in current minibuffer (Fix bug with recursive minibuffers).
1401
a1c2d21e
CY
14022011-10-06 Chong Yidong <cyd@stupidchicken.com>
1403
1404 * progmodes/gdb-mi.el (gdb): Doc fix.
1405
5a4cf282
MR
14062011-10-05 Martin Rudalics <rudalics@gmx.at>
1407
1408 * window.el (frame-auto-hide-function): New option replacing
1409 frame-auto-delete. Suggested by Stefan Monnier.
1410 (window--delete): Call frame-auto-hide-function instead of
1411 investigating frame-auto-delete.
c96111ea
MR
1412 (window-point-1, set-window-point-1): New functions.
1413 (window-in-direction, record-window-buffer, window-state-get-1)
1414 (display-buffer-record-window): Use window-point-1 instead of
1415 window-point.
1416 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 1417
9854542e
SM
14182011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1419
1420 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1421
8943cfb0
GM
14222011-10-05 Glenn Morris <rgm@gnu.org>
1423
1424 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1425 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1426
647ab967
LL
14272011-10-05 Leo Liu <sdl.web@gmail.com>
1428
1429 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1430 works with buffer object.
1431
3ddfbced
SM
14322011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * mpc.el (mpc-tool-bar-map): Add labels.
1435
bdfa5dd2
GM
14362011-10-04 Glenn Morris <rgm@gnu.org>
1437
1438 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1439
0e2070b5
MR
14402011-10-04 Martin Rudalics <rudalics@gmx.at>
1441
1442 * window.el (window--delete): New function.
1443 (frame-auto-delete): Resuscitate option.
1444 (bury-buffer, replace-buffer-in-windows)
1445 (quit-window): Rewrite using window--delete.
1446 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1447 Pass display-buffer-mark-dedicated to window--display-buffer-2
1448 (Bug#9639).
1449
3dc61a09
SM
14502011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1451
915a9b64
SM
1452 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1453 returns a list (bug#9554). Add remote file name completion.
1454 * comint.el (comint--table-subvert): Curry and get quote&unquote
1455 functions as arguments.
1456 (comint--complete-file-name-data): Adjust call accordingly.
1457 * pcomplete.el (pcomplete--table-subvert): Remove.
1458 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1459
3dc61a09
SM
1460 * minibuffer.el (completion-table-case-fold): Use currying.
1461 (completion--styles-type, completion--cycling-threshold-type):
1462 New constants.
1463 (completion-styles, completion-category-overrides)
1464 (completion-cycle-threshold): Use them.
1465 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1466 completion-table-case-fold.
1467
8ea0a993
SB
14682011-10-03 Stephen Berman <stephen.berman@gmx.net>
1469
1470 * minibuffer.el (completion-category-overrides): Fix type of styles
1471 and add more user friendly tags (bug#9660).
1472
8c24b7f6
SM
14732011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1476 (mule-input-method-string): New widget.
1477 (default-input-method, language-info-custom-alist): Use it.
1478
428fe61a
SM
14792011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1480
32c1fffd
SM
1481 * pcomplete.el: Require comint.
1482 (pcomplete--common-suffix): Remove.
1483 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1484 (pcomplete--table-subvert): Sync with comint--table-subvert.
1485 (pcomplete--entries): Use comint-completion-file-name-table.
1486 * comint.el (comint-unquote-filename): Simplify.
1487 (comint-completion-file-name-table): New function (bug#9616).
1488 (comint--complete-file-name-data): Use it.
1489
428fe61a
SM
1490 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1491 (pcmpl-gnu-tar-buffer): Remove.
1492 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
1493 around. Make sure pcomplete-suffix-list is only changed temporarily.
1494 Don't look inside the tar's file if it's too large.
428fe61a 1495
04c52e2f
CY
14962011-10-01 Chong Yidong <cyd@stupidchicken.com>
1497
ce3cefcc
CY
1498 * cus-edit.el (custom-mode-map):
1499 * epa.el (epa-key-list-mode-map):
1500 * man.el (Man-mode-map):
1501 * startup.el (splash-screen-keymap):
1502 * simple.el (special-mode-map): Use scroll-up-command and
1503 scroll-down-command.
1504
1505 * progmodes/idlw-help.el (idlwave-help-mode-map):
1506 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1507 * net/newst-plainview.el (newsticker-mode-map):
1508 * emulation/ws-mode.el (wordstar-mode-map):
1509 * emulation/vi.el (vi-com-map):
1510 * calc/calc-graph.el (calc-graph-show-dumb):
1511 * term/sun.el (terminal-init-sun):
1512 * term/ns-win.el (global-map):
1513 * progmodes/grep.el (grep-mode-map):
1514 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1515 * mail/rmail.el (rmail-mode-map):
1516 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1517
04c52e2f
CY
1518 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1519 custom-safe-themes as special.
1520
79adf8c8
JD
15212011-10-01 Julien Danjou <julien@danjou.info>
1522
1523 * notifications.el (notifications-notify): Fix docstring.
1524
63bd50d3
PS
15252011-10-01 Per Starbäck <per@starback.se>
1526
1527 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1528
199e4c7e
MR
15292011-09-30 Martin Rudalics <rudalics@gmx.at>
1530
1531 * startup.el (command-line-1): Fix last fix by inserting
1532 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 1533 (Bug#9605) and (Bug#9636)
199e4c7e 1534
fe5f08dd
EZ
15352011-09-29 Eli Zaretskii <eliz@gnu.org>
1536
1537 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1538 window is hscrolled, move by logical lines. (Bug#9607)
1539 (line-move-visual): Update the doc string to the above effect.
1540
b5516bbd
MR
15412011-09-29 Martin Rudalics <rudalics@gmx.at>
1542
ccee00c0
MR
1543 * window.el (display-buffer-record-window): When WINDOW is the
1544 selected window use `point' instead of `window-point'. (Bug#9626)
1545
b5516bbd
MR
1546 * startup.el (command-line-1): Use insert-before-markers when
1547 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1548
b5516bbd
MR
1549 * help.el (help-window): Remove variable.
1550
52aa0014
GM
15512011-09-29 Glenn Morris <rgm@gnu.org>
1552
1553 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1554
df9a7357
JB
15552011-09-29 Juanma Barranquero <lekktu@gmail.com>
1556
1557 * descr-text.el (describe-char-categories): Accept category
1558 descriptions more than one line long.
1559
a8406c20
SM
15602011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1561
88d9610c
SM
1562 * simple.el (delete-trailing-whitespace): Fix last change.
1563
a5daf810
SM
1564 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1565 Don't confuse "y => 3" as the beginning of a `y' operation.
1566
a8406c20
SM
1567 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1568 object has more than 4 slots (bug#9613).
1569
a239d4e9
JB
15702011-09-28 Juanma Barranquero <lekktu@gmail.com>
1571
1572 * subr.el (with-output-to-temp-buffer):
1573 * net/quickurl.el (quickurl, quickurl-browse-url):
1574 Fix typos in docstrings.
1575
693fbdb6
EZ
15762011-09-27 Eli Zaretskii <eliz@gnu.org>
1577
1578 * minibuffer.el (completion-styles)
1579 (completion-category-overrides): Cross reference each other in doc
1580 strings.
1581
8b457e28
GM
15822011-09-27 Glenn Morris <rgm@gnu.org>
1583
1584 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1585 to split-string. (Bug#9606)
1586
85a16208
LMI
15872011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1588
1589 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1590 (bug#9615).
1591
502f9ebd
CY
15922011-09-27 Chong Yidong <cyd@stupidchicken.com>
1593
1594 * emacs-lisp/package.el (list-packages): Fix echo area message.
1595
7690bdea
LL
15962011-09-27 Leo Liu <sdl.web@gmail.com>
1597
1598 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1599
e2ee6f30
MA
16002011-09-25 Michael Albinus <michael.albinus@gmx.de>
1601
1602 * net/dbus.el (dbus-unregister-object): Don't release services for
1603 registered signals. (Bug#9581)
1604
f3f98342
TZ
16052011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1606
1607 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1608 function that picks between cfengine 2 and 3 support
1609 automatically. Update docs accordingly.
1610
dd7aa8dd
KH
16112011-09-22 Kenichi Handa <handa@m17n.org>
1612
1613 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1614 ZERO.
1615 (indian-itrans-v5-table-for-tamil): New variable.
1616 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1617
3f2b07f8
KM
16182011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1619
1620 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1621 that's true if the current command involved collapsing of text.
1622 It's reset to false at the beginning of the next command.
1623 (allout-post-command-business): Move the cursor to the beginning
1624 of entry if the cursor is hidden and collapsing activity just
1625 happened.
1626
371d6a61
CY
16272011-09-24 Chong Yidong <cyd@stupidchicken.com>
1628
1629 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1630 tracking (Bug#9541).
1631
2ac2721a
UJ
16322011-09-24 Ulf Jasper <ulf.jasper@web.de>
1633
1634 * net/newst-reader.el (newsticker-html-renderer)
1635 (newsticker-show-news): Automatically
343a34ff
JB
1636 load html rendering package if newsticker-html-renderer is set.
1637 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1638 let-bound" and the error "Symbol's value as variable is void:
1639 w3m-fill-column".
1640
fac7ae53
MA
16412011-09-24 Michael Albinus <michael.albinus@gmx.de>
1642
1643 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1644 Release services only if they are defined. (Bug#9581)
1645
e08b633b
RS
16462011-09-23 Richard Stallman <rms@gnu.org>
1647
e488d29c
RS
1648 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1649 distinguish start of paragraph from start of its text.
1650
19c38752
RS
1651 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1652
e08b633b
RS
1653 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1654 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1655 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1656
0a39f27e
AS
16572011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1658
1659 * international/mule-diag.el (mule-diag): Insert a newline after
1660 each fontset description.
1661
db4e950d
SM
16622011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1663
1664 * simple.el (delete-trailing-whitespace):
1665 Document last change; simplify.
1666
eca3f3ea
PW
16672011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1668
d68e189a
PW
1669 * simple.el (delete-trailing-whitespace): Also delete
1670 extra newlines at the end of the buffer.
1671
eca3f3ea
PW
1672 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1673 (picture-newline): Use forward-line so as to ignore fields.
1674
01c157cc
SM
16752011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * subr.el (with-wrapper-hook): Fix edebug spec.
1678
022de23e
LMI
16792011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1680
1681 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1682 (bug#4538).
1683
91683089
MA
16842011-09-23 Michael Albinus <michael.albinus@gmx.de>
1685
eca3f3ea
PW
1686 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1687 Fix nasty bug using wrong cached values.
91683089 1688
5bdd6fa4
AM
16892011-09-23 Alan Mackenzie <acm@muc.de>
1690
1691 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1692
97adfb97
CY
16932011-09-23 Chong Yidong <cyd@stupidchicken.com>
1694
1695 * window.el (pop-to-buffer): Ensure right window is selected if we
1696 chose another frame.
1697
d4ef2b50
EZ
16982011-09-22 Eli Zaretskii <eliz@gnu.org>
1699
1700 * simple.el (what-cursor-position): Use get-char-property-change
1701 and next-single-char-property-change, to be able to show display
1702 properties that come from overlays as well as text properties.
1703
72258fe5
CY
17042011-09-22 Chong Yidong <cyd@stupidchicken.com>
1705
1706 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1707
1708 * cmuscheme.el (run-scheme, switch-to-scheme):
1709 * cus-edit.el (customize-group, custom-buffer-create)
1710 (customize-browse):
1711 * info.el (info):
1712 * shell.el (shell):
1713 * mail/sendmail.el (mail):
1714 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1715
8f098516
RS
17162011-09-22 Richard Stallman <rms@gnu.org>
1717
1718 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1719 move back only to line beg, don't move back over blank lines.
1720
e74f1bb6
MA
17212011-09-22 Michael Albinus <michael.albinus@gmx.de>
1722
1723 * files.el (copy-directory): Set directory attributes only in case
1724 they could be retrieved from the source directory. (Bug#9565)
1725
bfeef8b6
DK
17262011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1727
1728 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1729 (hs-find-block-beginning, hs-hide-level-recursive):
1730 Ignore strings as well as comments. (Bug#9502)
1731
7e423bb8
AS
17322011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1733
1734 * progmodes/sql.el (sql-comint-postgres):
1735 Convert port number to a string. (Bug#9566)
1736
b4d72fcf
MR
17372011-09-22 Martin Rudalics <rudalics@gmx.at>
1738
1739 * window.el (quit-window): Undedicate window when switching to
1740 previous buffer. Reported by Thierry Volpiatto
1741 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1742 (special-display-popup-frame): When popping up a new frame reset
1743 its previous buffers to nil. Simplify code.
b4d72fcf 1744
a7b88dc6
MA
17452011-09-21 Michael Albinus <michael.albinus@gmx.de>
1746
1747 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1748 and process filter, as done also in `shell-command'.
1749
cf4eacfd
MR
17502011-09-21 Martin Rudalics <rudalics@gmx.at>
1751
eca3f3ea
PW
1752 * window.el (set-window-buffer-start-and-point):
1753 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1754 Volpiatto <thierry.volpiatto@gmail.com>.
1755 (quit-window): Reword doc-string. Handle new format of
1756 quit-restore parameter. Don't delete window if it has a
1757 previous buffer we can show instead of the present one.
1758 (display-buffer-record-window): Rewrite using a new format for
1759 the quit-restore window parameter
1760 (special-display-popup-frame, display-buffer-same-window)
1761 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1762 (display-buffer-pop-up-window, display-buffer-use-some-window):
1763 Adapt symbol passed to display-buffer-record-window.
1764 * help.el (help-window-setup): Handle new format of quit-restore
1765 parameter.
1766
8d28cb95
SM
17672011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1768
94ab793f
SM
1769 * faces.el (face-list): Fix docstring (bug#9564).
1770
8d28cb95
SM
1771 * window.el (display-buffer--action-function-custom-type):
1772 Don't include internal functions in the Custom interface.
1773
3820edeb
JL
17742011-09-20 Juri Linkov <juri@jurta.org>
1775
1776 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1777 (Info-forward-node, Info-backward-node, Info-next-preorder)
1778 (Info-last-preorder): Use it. (Bug#9528)
1779
5147931d
JL
17802011-09-20 Juri Linkov <juri@jurta.org>
1781
1782 * info.el (Info-last-preorder): Visit last menu item only when
1783 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1784
cf499a1a
JD
17852011-09-20 Julien Danjou <julien@danjou.info>
1786
1787 * password-cache.el (password-cache-remove): Remove entries even if the
1788 value is nil, so that password with a nil value (negative caching) is
1789 possible to invalidate.
1790
f84e2fe2
LM
17912011-09-20 Lawrence Mitchell <wence@gmx.li>
1792
1793 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1794 all whitespace around breakpoint. (Bug#9553)
1795 (f90-find-breakpoint): Only break at whitespace inside a comment.
1796
78054a46
SM
17972011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1798
1799 * minibuffer.el (completion-file-name-table): Keep track of errors.
1800 (completion-table-with-predicate): Handle the case where pred1 is nil.
1801 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1802
345083b2
SM
18032011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1804
e24e27be
SM
1805 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1806 (debugger-return-value): Signal an error if the debugging context does
1807 not await any return value.
1808
345083b2
SM
1809 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1810 * image-mode.el (image-toggle-display-text)
1811 (image-toggle-display-image): Stay away from evil `intangible'.
1812
08d355e3
LL
18132011-09-19 Leo Liu <sdl.web@gmail.com>
1814
1815 * replace.el (occur-revert-arguments): Make it permanent-local.
1816 (occur-mode): Don't call font-lock-defontify.
1817
f01da43f
CY
18182011-09-19 Chong Yidong <cyd@stupidchicken.com>
1819
1820 * net/ldap.el (ldap-search-internal): Don't push empty search
1821 result (Bug#9508).
1822
b6072fa6
SM
18232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1824
1825 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1826
443d6696
MA
18272011-09-19 Michael Albinus <michael.albinus@gmx.de>
1828
1829 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1830 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1831
7cc6e154
JL
18322011-09-18 Juri Linkov <juri@jurta.org>
1833
1834 * buff-menu.el (Buffer-menu-mode-map):
1835 * dired.el (dired-mode-map):
1836 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1837 (lisp-interaction-mode-map):
1838 * emacs-lisp/package.el (package-menu-mode-map):
1839 * epa.el (epa-key-list-mode-map):
1840 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1841 (menu-bar-options-menu):
1842 * outline.el (outline-mode-menu-bar-map):
1843 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1844 * vc/vc-dir.el (vc-dir-menu-map):
1845 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1846 Capitalize non-function content words in menu item strings.
1847
1848 * dired.el (dired-mode-map): Add menu item for
1849 `image-dired-dired-toggle-marked-thumbs'.
1850
80302a81
JL
18512011-09-18 Juri Linkov <juri@jurta.org>
1852
1853 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1854 to `isearch-case-fold-search' and restore its original value
1855 after the `isearch-mode' call.
1856
46c5cf66
JL
18572011-09-18 Juri Linkov <juri@jurta.org>
1858
1859 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1860 because `zgrep' returns 1 for successful matches (bug#9226).
1861
d18b513b
JL
18622011-09-18 Juri Linkov <juri@jurta.org>
1863
1864 * info.el (Info-extract-menu-node-name): Check the second match
1865 for empty string (second test-case of bug#9528).
1866 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1867 intermediate nodes to the history (first test-case of bug#9528).
1868
72753f87
JL
18692011-09-18 Juri Linkov <juri@jurta.org>
1870
1871 * info.el (Info-mode-syntax-table): New variable.
1872 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1873
c9384295
JL
18742011-09-18 Juri Linkov <juri@jurta.org>
1875
1876 * info.el (Info-file-supports-index-cookies): Increment
1877 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1878 one more line for long file names (bug#4142).
1879
d473dce8
CY
18802011-09-18 Chong Yidong <cyd@stupidchicken.com>
1881
1882 * newcomment.el (comment-normalize-vars): If prompting for
1883 comment-start, set comment-start-skip too (Bug#8424).
1884
2176854d
JB
18852011-09-18 Johan Bockgård <bojohan@gnu.org>
1886
1887 * icomplete.el: Fix previous fix of Bug#5849.
1888 (icomplete-mode): Don't set completion-show-inline-help.
1889 (icomplete-minibuffer-setup): Set completion-show-inline-help
1890 locally during icompletion.
1891
3aace4e4
CY
18922011-09-18 Chong Yidong <cyd@stupidchicken.com>
1893
c940224f
CY
1894 * woman.el (woman2-process-escapes): Don't delete unrecognized
1895 escapes (Bug#7843).
1896
3aace4e4
CY
1897 * files.el (inhibit-first-line-modes-regexps): Add image files.
1898 (hack-local-variables-prop-line): Return nil for malformed
1899 prop-lines (Bug#9044).
1900
710dec63
MA
19012011-09-18 Michael Albinus <michael.albinus@gmx.de>
1902
1903 * net/tramp.el (top): Don't require 'shell.
1904 (tramp-methods): Fix docstring.
1905 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1906 Return complete remote file name. Handle "smb" case.
1907 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1908 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1909
1910 * net/tramp-compat.el (top): Require 'shell.
1911
1912 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1913 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1914 `tramp-current-host'.
1915 (tramp-get-remote-tmpdir): Remove.
1916
1917 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1918 `tramp-tmpdir' entries.
1919 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1920 (tramp-smb-handle-file-attributes): Ignore errors.
1921 (tramp-smb-wait-for-output): Check also for process end.
1922
5d5ac8ec
LMI
19232011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1924
1925 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1926 when sending QUIT (bug#9312).
1927
8c0f49f0
CY
19282011-09-17 Chong Yidong <cyd@stupidchicken.com>
1929
1930 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1931 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1932 occur-mode-display-occurrence.
1933 (occur-edit-mode): Add usage message.
1934 (occur-cease-edit): New command.
1935 (occur-after-change-function): Use text properties to find the
1936 position of the prefix text.
1937 (occur-engine): Set stickiness of prefix text properties.
1938
8f1383f7
GM
19392011-09-17 Glenn Morris <rgm@gnu.org>
1940
1941 * progmodes/etags.el (complete-tag):
1942 Fix call to completion-in-region. (Bug#9526)
1943
744ba0e3
JL
19442011-09-17 Juri Linkov <juri@jurta.org>
1945
1946 * textmodes/ispell.el (ispell-word): Add to the error message
1947 the word, ispell program name and current dictionary (bug#9121).
1948 (ispell-tex-arg-end): Capitalize "error" in the error message.
1949
d9bbf400
AS
19502011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1951
1952 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1953 check. (Bug#4251)
1954
8da11505
JL
19552011-09-17 Juri Linkov <juri@jurta.org>
1956
1957 * window.el (window-safe-min-height, window-safe-min-width):
1958 Fix typos (followup to bug#9522).
1959
a91adc7e
SJ
19602011-09-17 Sven Joachim <svenjoac@gmx.de>
1961
1962 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1963
064f328a
EZ
19642011-09-16 Eli Zaretskii <eliz@gnu.org>
1965
1966 * simple.el (line-move): If goal-column is set, move by logical
1967 lines, not by display lines. (Bug#971)
1968 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1969 to reflect the above change.
1970
e69df516
SM
19712011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * image.el (imagemagick-register-types): Use regexp-opt.
1974
cbb0f9ab
CY
19752011-09-15 Chong Yidong <cyd@stupidchicken.com>
1976
1977 * window.el (display-buffer-base-action): Rename from
1978 display-buffer-default-action. Make default value empty.
1979 (display-buffer-overriding-action): Convert to defvar.
1980 (display-buffer-fallback-action): New var.
1981
25322144
CY
19822011-09-15 Chong Yidong <cyd@stupidchicken.com>
1983
1984 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1985 declaration.
1986 (package--add-to-archive-contents): If there is a duplicate entry
1987 with an older version, remove it.
1988 (package-menu-mark-delete, package-menu-mark-install)
1989 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1990 (package-menu-mark-obsolete-for-deletion):
1991 Use package-menu-get-status instead of a regexp search.
25322144
CY
1992 (package-menu-get-status): Use tabulated-list-entry.
1993 (package-menu-mark-upgrades): New command.
d770725a 1994 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1995 (package-menu-execute): Do installation before deletion.
1996 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1997 instead of checking major-mode.
1998 (package-menu--find-upgrades): New function.
1999
7520339c
LMI
20002011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2001
2002 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2003 passwords in the log buffer.
65a046c4
LMI
2004 (smtpmail-process-filter): Update the process marker so that the
2005 "broken by peer" status message is inserted in the right place.
7520339c 2006
d3c30954
SM
20072011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2008
3fe48822
SM
2009 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2010 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2011 bibtex-completion-at-point-function.
2012 (bibtex-completion-at-point-function): Use them.
2013
1b8b3954
SM
2014 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2015
d3c30954
SM
2016 * mpc.el (mpc-constraints-tag-lookup): New function.
2017 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2018 also to browser "album|playlist".
2019
72779976
JL
20202011-09-14 Juri Linkov <juri@jurta.org>
2021
2022 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
2023 (isearch-edit-string): Use length of `isearch-string' when
2024 `isearch-fail-pos' returns nil.
2025 (isearch-message): Remove duplicate code and call
2026 `isearch-fail-pos' with arg `t'.
2027
a0bf2bcd
CY
20282011-09-14 Chong Yidong <cyd@stupidchicken.com>
2029
17bb0a2d
CY
2030 * replace.el (occur-mode-goto-occurrence): Don't force using other
2031 window (Bug#9499).
2032
a0bf2bcd
CY
2033 * dired-aux.el (dired-do-chmod): Don't provide initial input.
2034
f678e0b6
MR
20352011-09-14 Martin Rudalics <rudalics@gmx.at>
2036
2037 * window.el (display-buffer-window): Remove.
2038 (display-buffer-record-window): Use help-setup window parameter
2039 instead of variable display-buffer-window.
2040 (display-buffer-function, special-display-buffer-names)
2041 (special-display-function): Mention help-setup parameter instead
2042 of display-buffer-window in doc-string.
d3c30954
SM
2043 * help.el (help-window-setup): New argument help-window.
2044 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
2045 Reword some messages.
2046 (with-help-window): Pass window used for displaying the buffer
2047 to help-window-setup. Don't set display-buffer-window.
2048
8e39b2e8
GM
20492011-09-13 Glenn Morris <rgm@gnu.org>
2050
2051 * emacs-lisp/debug.el (debugger-make-xrefs):
2052 Preserve point. (Bug#9462)
2053
85e9c04b
CY
20542011-09-13 Chong Yidong <cyd@stupidchicken.com>
2055
2056 * window.el (window-deletable-p): Use next-frame.
2057
1b36ed6a
MR
20582011-09-13 Martin Rudalics <rudalics@gmx.at>
2059
2060 * window.el (window-auto-delete): Remove.
2061 (window-deletable-p): Remove argument FORCE. Don't deal with
2062 dedicatedness and previous buffers.
2063 (switch-to-prev-buffer): Don't delete window.
2064 (delete-windows-on): Delete a window's frame if and only if the
2065 window is dedicated.
2066 (replace-buffer-in-windows): Delete buffer's window or frame if
2067 and only if window is dedicated.
2068 (quit-window): Handle quit-restore as before last change.
4d61f28d 2069 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 2070
ef8ef9fb
CY
20712011-09-13 Chong Yidong <cyd@stupidchicken.com>
2072
2073 * window.el (window-deletable-p): Never delete the last frame on a
2074 given terminal.
2075
b2cba41e
GM
20762011-09-13 Glenn Morris <rgm@gnu.org>
2077
2078 * help.el (describe-key-briefly): Copy previous standard-output change.
2079
51553db6 20802011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
2081
2082 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
2083
b7556719
GM
20842011-09-13 Glenn Morris <rgm@gnu.org>
2085
2086 * emacs-lisp/lisp-mode.el (lisp-indent-function):
2087 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2088
64b51947
CY
20892011-09-12 Chong Yidong <cyd@stupidchicken.com>
2090
2091 * dired-aux.el (dired-mark-read-string): Don't return default
2092 value on empty input (Bug#9361).
2093 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2094 Omit initial minibuffer contents.
2095 (dired-do-chmod): Signal an error on empty input.
2096 (dired-mark-read-string): Don't return default on empty input.
2097
2098 * files.el (file-modes-symbolic-to-number): Doc fix.
2099
393a301e
SM
21002011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * international/mule-cmds.el (ucs-completions): Remove.
2103 (read-char-by-name): Use complete-with-action instead; add metadata.
2104
fa5660f9
CY
21052011-09-11 Chong Yidong <cyd@stupidchicken.com>
2106
2107 * window.el (display-buffer--action-function-custom-type)
2108 (display-buffer--action-custom-type): New vars.
2109 (display-buffer-alist, display-buffer-default-action)
2110 (display-buffer-overriding-action): Add defcustom types.
2111
4a592f66
CY
2112 * frame.el (delete-other-frames): Doc fix (Bug#276).
2113
73d56dbd
LMI
21142011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2115
2116 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2117
37ac18a3
CY
21182011-09-11 Chong Yidong <cyd@stupidchicken.com>
2119
2120 Change modes that used same-window-* vars to use switch-to-buffer.
2121
2122 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2123 Use switch-to-buffer.
2124
2125 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
2126 (customize-browse, custom-buffer-create-other-window):
2127 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
2128
2129 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2130 (Info-prev, Info-up, Info-speedbar-goto-node)
2131 (info-display-manual): Use switch-to-buffer.
2132 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2133
2134 * mail/sendmail.el (mail): Use switch-to-buffer.
2135 (mail-recover): Use switch-to-buffer-other-window.
2136
2137 * cmuscheme.el (run-scheme, switch-to-scheme):
2138 * ielm.el (ielm):
2139 * shell.el (shell):
2140 * net/rlogin.el (rlogin):
2141 * net/telnet.el (telnet, rsh):
2142 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2143
10195bd6
AS
21442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2145
2146 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2147
b322f63a
LMI
21482011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2149
39d7fed6
LMI
2150 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2151 so don't mention it (bug#9301).
ba5a81f1 2152 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 2153
ee0e9f11
LMI
2154 * faces.el (face-spec-set-match-display): Make `(type graphic)'
2155 match `x', `w32' and `ns', like the manual says (bug#9029).
2156
0b1c89c1 2157 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
2158 (process-kill-buffer-query-function): Mention the buffer name in
2159 the query.
0b1c89c1 2160
77549ea8
LMI
2161 * image-mode.el (image-next-line): The line parameter is mandatory
2162 (bug#9258).
2163
803ef892
LMI
2164 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2165 which can be useful (bug#9301).
2166
12980837
LMI
2167 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2168
91054f8f
LMI
2169 * subr.el (match-string): Mention that the current buffer should
2170 be the same as the search was done in (bug#9282).
2171
b322f63a
LMI
2172 * facemenu.el: Disable the remove-* commands if the mark isn't
2173 active (bug#9162).
2174
3199b96f
CY
21752011-09-10 Chong Yidong <cyd@stupidchicken.com>
2176
2177 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2178 of display-buffer.
2179 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2180
2181 * replace.el (occur-mode-goto-occurrence)
2182 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2183 and display-buffer.
2184
2185 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2186 display-buffer.
2187
2188 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2189 special-display and same-window variables.
2190 (mail-other-window): Use switch-to-buffer-other-window.
2191 (mail-other-frame): USe switch-to-buffer-other-frame.
2192
393a301e
SM
2193 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2194 Use display-buffer-other-frame.
3199b96f
CY
2195 (gdb-display-gdb-buffer): Use pop-to-buffer.
2196
2197 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2198
2199 * progmodes/python.el: Don't set same-window-buffer-names.
2200
2201 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2202
2203 * window.el (display-buffer-alist): Add *Python*.
2204
8319e0bf
CY
22052011-09-10 Chong Yidong <cyd@stupidchicken.com>
2206
2207 * window.el (display-buffer-alist): Add entry for buffers
2208 previously handled same-window-*.
2209 (display-buffer-alist, display-buffer-default-action)
2210 (display-buffer-overriding-action): Mark as risky.
2211 (display-buffer-alist): Document action function changes.
2212 (display-buffer--same-window-action)
2213 (display-buffer--other-frame-action): New variables.
2214 (switch-to-buffer, display-buffer-other-frame): Use them.
2215 (display-buffer): Rename reuse-frame entry to reusable-frames.
2216 (display-buffer-reuse-selected-window): Function deleted.
2217 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2218 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2219 (display-buffer-special): New function.
2220 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2221 display-buffer-reuse-or-pop-window. Split off special-display
2222 part into display-buffer-special.
2223 (display-buffer-use-some-window): Don't perform any special
2224 pop-up-frames handling.
2225 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 2226 (display-buffer--maybe-same-window): Rename from
0d3ff375 2227 display-buffer-maybe-same-window.
8319e0bf 2228
919a69aa
CY
2229 * info.el: Don't set same-window-regexps.
2230 (info-setup): New function.
2231 (info-other-window, info): Call it.
2232
2233 * cus-edit.el: Don't set same-window-regexps.
2234 (customize-group): New argument.
2235 (customize-group-other-window): Use it.
2236 (customize-face, customize-face-other-window): Likewise.
2237 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2238
8319e0bf
CY
2239 * net/rlogin.el:
2240 * net/telnet.el:
2241 * progmodes/gud.el: Don't set same-window-regexps.
2242
2243 * cmuscheme.el:
2244 * ielm.el:
2245 * shell.el:
2246 * mail/sendmail.el:
2247 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2248
25173000
JL
22492011-09-10 Juri Linkov <juri@jurta.org>
2250
2251 * isearch.el (isearch-edit-string): Remove obsolete mention of
2252 `C-w' (`isearch-yank-word-or-char') from docstring.
2253 (isearch-query-replace): Fix typo in docstring (bug#9466).
2254
056e44ef
JL
22552011-09-10 Juri Linkov <juri@jurta.org>
2256
2257 * paren.el (show-paren-function): Don't show escaped parens.
2258 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2259
c3760c17
EZ
22602011-09-10 Eli Zaretskii <eliz@gnu.org>
2261
2262 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2263 (mm-default-file-encoding): Remove autoload forms, they are
2264 replaced with autoload cookies in mml.el and mm-encode.el.
2265 (mail-add-attachment): New command.
2266 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2267 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2268 the doc string.
2269 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2270
fece895e
RT
22712011-09-10 Reuben Thomas <rrt@sc3d.org>
2272
e69df516
SM
2273 * simple.el (count-words-region): Use buffer if there's no region
2274 (bug#9429).
fece895e 2275
5e68ce4a
JL
22762011-09-09 Juri Linkov <juri@jurta.org>
2277
2278 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2279 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2280 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2281
0a6b9622
AM
22822011-09-09 Alan Mackenzie <acm@muc.de>
2283
2284 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2285 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2286
14a29deb
EZ
22872011-09-09 Eli Zaretskii <eliz@gnu.org>
2288
2289 Fix for Savannah bug#9392.
2290 * simple.el (mail-encode-mml): New defvar.
2291
2292 * mail/rmail.el (mail-encode-mml): Add a defvar.
2293 (rmail-enable-mime-composing): Default to t.
2294 (rmail-forward): Use MIME method of forwarding only if both
2295 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2296 Set mail-encode-mml non-nil if the MIME method was used.
2297
2298 * mail/sendmail.el (mml-to-mime): Add autoload form.
2299 (mail-encode-mml): Add a defvar.
2300 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2301 to nil.
2302 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2303 message through mml-to-mime, and reset mail-encode-mml to nil.
2304
28c45130
GM
23052011-09-09 Glenn Morris <rgm@gnu.org>
2306
2307 * woman.el (woman-if-body): When processing an .el block,
2308 do not delete the next .el block as well. (Bug#9447)
69f4b618 2309 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 2310
9b1c252e
MR
23112011-09-08 Martin Rudalics <rudalics@gmx.at>
2312
2313 * window.el (window-deletable-p): Make sure window is live before
2314 invoking window-prev-buffers.
2315
567457e3
LL
23162011-09-08 Leo Liu <sdl.web@gmail.com>
2317
2318 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2319
97f05794
JL
23202011-09-08 Juri Linkov <juri@jurta.org>
2321
2322 * progmodes/compile.el (compilation-environment): Make it
2323 a defcustom (bug#8340).
2324
8b0874b5
MR
23252011-09-08 Martin Rudalics <rudalics@gmx.at>
2326
2327 * window.el (frame-auto-delete): Rename to window-auto-delete.
2328 Make it control auto-deletion of windows and/or frames.
2329 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 2330 for deleting window/frame. (Bug#9419)
8b0874b5
MR
2331 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2332 Rewrite handling of case when window/frame can be deleted.
2333 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 2334 argument t. (Bug#9456)
8b0874b5 2335
4feb6e73
CY
23362011-09-07 Chong Yidong <cyd@stupidchicken.com>
2337
2338 * help-mode.el (help-mode): Restore autoload.
2339
91ab9c13
JL
23402011-09-07 Juri Linkov <juri@jurta.org>
2341
2342 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2343 `compilation-environment'. Set buffer-local
2344 `compilation-environment' to `thisenv' later after (funcall mode).
2345 (Bug#8340)
2346
2347 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2348 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2349 instead of replacing its value. (Bug#8340)
2350
0527e251
JL
23512011-09-07 Juri Linkov <juri@jurta.org>
2352
2353 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2354 based on text properties put by `grep-filter' instead of matching
2355 escape sequences.
2356 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2357 to the value of `grep-error-screen-columns' (bug#9438).
2358
249f792c
JL
23592011-09-07 Juri Linkov <juri@jurta.org>
2360
2361 * simple.el (next-error-highlight, next-error-highlight-no-select):
2362 Doc fix (bug#9432).
2363
ff7271b9
OT
23642011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2365
2366 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2367 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2368
183fc730
LL
23692011-09-07 Leo Liu <sdl.web@gmail.com>
2370
2371 * net/rcirc.el (rcirc-mode): Conditionally initialize
2372 rcirc-input-ring.
2373
77694924
SM
23742011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2375
2376 * emacs-lisp/find-func.el (find-function-C-source): Only set
2377 find-function-C-source-directory after checking that we found a source
2378 file there (bug#9440).
2379
d809b8eb
AM
23802011-09-06 Alan Mackenzie <acm@muc.de>
2381
2382 * isearch.el (isearch-other-meta-char): Wherever a key list is
2383 unread, "unread" the prefix arg, too. This fixes bug #8901.
2384
453de99f
OG
23852011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2386
2387 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2388
90439906
JL
23892011-09-05 Juri Linkov <juri@jurta.org>
2390
2391 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2392
f62bd846
JL
23932011-09-05 Juri Linkov <juri@jurta.org>
2394
2395 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2396 keeping point where processing of grep matches begins, and
2397 continue to delete remaining escape sequences from the same point.
2398 (grep-filter): Make leading zero optional in "0?1;31m" because
2399 git-grep emits "\033[1;31m" escape sequences unlike expected
2400 "\033[01;31m" as GNU Grep does (bug#9408).
2401 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2402
045820ec
JL
24032011-09-05 Juri Linkov <juri@jurta.org>
2404
2405 * subr.el (y-or-n-p): Capitalize "yes".
2406
f5e29b9b
MA
24072011-09-04 Michael Albinus <michael.albinus@gmx.de>
2408
2409 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2410 `tramp-cache-unload-hook' where appropriate.
2411 (tramp-methods): Rename `tramp-remote-sh' to
2412 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2413 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2414
2415 * net/tramp-sh.el (top): Don't require 'shell.
2416 (tramp-methods): Add `tramp-remote-shell' and
2417 `tramp-remote-shell-args' entries.
2418 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2419 (tramp-sh-handle-shell-command): Remove.
2420 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2421 Use `tramp-remote-shell'.
2422
2784c434
CY
24232011-09-03 Chong Yidong <cyd@stupidchicken.com>
2424
393a301e 2425 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
2426 (sendmail-query-once): Save directly to send-mail-function.
2427 Update message-send-mail-function too.
2428
2429 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2430
464cdf56
CS
24312011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2432
2433 * progmodes/python.el (python-mode-map): Use correct function to
2434 start python interpreter from menu-bar (as reported by Geert
2435 Kloosterman).
2436 (inferior-python-mode-map): Fix typo.
393a301e 2437 (python-shell-map): Remove.
464cdf56 2438
d37e5c87
DD
24392011-09-03 Deniz Dogan <deniz@dogan.se>
2440
2441 * net/rcirc.el (rcirc-print): Simplify code for
2442 rcirc-scroll-show-maximum-output. There is no need to walk
2443 through all windows to find the right one.
2444
f3ada0ee
CS
24452011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2446
2447 * help.el (help-return-method): Doc fix.
2448
1f3c99ca
MR
24492011-09-03 Martin Rudalics <rudalics@gmx.at>
2450
2451 * window.el (window-deletable-p): Don't return a non-nil value
2452 when there's a buffer that was shown in the window before.
2453 (Bug#9419)
393a301e
SM
2454 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2455 Set window's previous buffers to nil.
1f3c99ca 2456
a3cf097f
EZ
24572011-09-03 Eli Zaretskii <eliz@gnu.org>
2458
2459 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2460 newline before and after the tag line, so it doesn't interfere
2461 with determining the paragraph direction of bidirectional text.
2462
3d03de90
LL
24632011-09-03 Leo Liu <sdl.web@gmail.com>
2464
2465 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2466
c3313451
CY
24672011-09-02 Chong Yidong <cyd@stupidchicken.com>
2468
393a301e 2469 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
2470 (pop-to-buffer): Change interactive spec. Pass second argument
2471 directly to display-buffer.
2472 (display-buffer): Fix interactive spec. Use functionp to
2473 distinguish between a function and a list of functions.
2474
2475 * abbrev.el (edit-abbrevs):
2476 * arc-mode.el (archive-extract):
2477 * autoinsert.el (auto-insert):
2478 * bookmark.el (bookmark-bmenu-list):
2479 * files.el (find-file):
2480 * view.el (view-buffer):
2481 * progmodes/compile.el (compilation-goto-locus):
2482 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2483
89894cd8
CY
24842011-09-02 Chong Yidong <cyd@stupidchicken.com>
2485
2486 * window.el (display-buffer-alist): Doc fix.
2487 (display-buffer): Add docstring. Don't treat
2488 display-buffer-default specially.
2489 (display-buffer-reuse-selected-window)
2490 (display-buffer-same-window, display-buffer-maybe-same-window)
2491 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2492 (display-buffer-pop-up-window)
2493 (display-buffer-reuse-or-pop-window)
2494 (display-buffer-use-some-window): New functions.
2495 (display-buffer-default-action): Use them.
393a301e 2496 (display-buffer-default): Delete.
89894cd8
CY
2497 (pop-to-buffer-1): Fix choice of actions.
2498
ae0bc9fb
SM
24992011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * minibuffer.el (completion--insert-strings): Don't get confused by
2502 completion entries that end with an LF char.
2503
e9d90883
EZ
25042011-09-01 Eli Zaretskii <eliz@gnu.org>
2505
2506 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2507
437014c8
CY
25082011-09-01 Chong Yidong <cyd@stupidchicken.com>
2509
2510 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
2511 (display-buffer-same-window, display-buffer-other-window):
2512 New functions.
437014c8
CY
2513 (pop-to-buffer-1): New function. Use the above.
2514 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 2515 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
2516
2517 * view.el (view-buffer-other-window, view-buffer-other-frame):
2518 Just use pop-to-buffer.
2519
a5e063d5
TV
25202011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2521
2522 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2523
793d32bb
WH
25242011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2525
2526 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2527
d65e4c15
RS
25282011-08-31 Richard Stallman <rms@gnu.org>
2529
2530 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2531 of the separation of rmail-view-buffer from rmail-buffer.
2532 If you say no to "replace original", the decrypt is in the
2533 view buffer. If you say yes, the decrypt goes into the
2534 rmail buffer also.
2535
f818cd2a
MR
25362011-08-31 Martin Rudalics <rudalics@gmx.at>
2537
2538 * window.el (display-buffer-window): Rewrite doc-string.
2539 (display-buffer-record-window): New function.
2540 (display-buffer-macro-specifiers)
2541 (display-buffer-even-window-sizes, display-buffer-set-height)
2542 (display-buffer-set-width, display-buffer-in-window)
2543 (display-buffer-reuse-window, display-buffer-split-specifiers)
2544 (display-buffer-side-specifiers, display-buffer-split-window-1)
2545 (display-buffer-split-window, display-buffer-split-atom-window)
2546 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2547 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2548 (display-buffer-other-window-means-other-frame)
2549 (display-buffer-normalize-special)
2550 (display-buffer-normalize-default)
2551 (display-buffer-normalize-argument)
2552 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2553 (display-buffer-normalize-specifiers, display-buffer-frame)
2554 (display-buffer-same-window, display-buffer-same-frame)
2555 (display-buffer-other-window)
2556 (display-buffer-same-frame-other-window)
2557 (display-buffer-other-frame, pop-to-buffer-same-window)
2558 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2559 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2560 (switch-to-buffer-same-frame)
2561 (switch-to-buffer-other-window-same-frame)
2562 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2563 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2564 (display-buffer-alist-set): Remove.
2565 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2566 (special-display-regexps, special-display-function):
2567 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2568 parameter.
2569 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2570 (special-display-frame-alist, special-display-popup-frame)
2571 (same-window-buffer-names, same-window-regexps, same-window-p)
2572 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2573 (split-window-preferred-function, split-height-threshold)
2574 (split-width-threshold, window-splittable-p)
2575 (split-window-sensibly, window--try-to-split-window)
2576 (window--frame-usable-p, even-window-heights)
2577 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2578 (window--display-buffer-2, display-buffer-other-frame):
2579 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2580 (display-buffer-default, display-buffer-assq-regexp): New functions.
2581 (display-buffer-alist): Rewrite doc-string.
2582 (display-buffer-default-action)
2583 (display-buffer-overriding-action): New variables.
2584 (display-buffer, switch-to-buffer): Rewrite.
2585 (pop-to-buffer): Restore Emacs 23 behavior but use
2586 window-normalize-buffer-to-display.
2587 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2588 Restore Emacs 23 behavior but use
2589 window-normalize-buffer-to-switch-to.
2590 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2591 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2592 Rewrite using Emacs 23 options.
f818cd2a 2593
5bc3b51d
MA
25942011-08-31 Michael Albinus <michael.albinus@gmx.de>
2595
2596 * net/tramp.el (tramp-root-regexp): Remove.
2597 (tramp-completion-file-name-regexp-unified)
2598 (tramp-completion-file-name-regexp-separate)
2599 (tramp-completion-file-name-regexp-url): Don't use leading volume
2600 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2601 (tramp-drop-volume-letter): Simplify definition.
2602 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2603
b1a4f8e1
SM
26042011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2607 (bug#9356).
2608
5664fa7b
RT
26092011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2610
b1a4f8e1 2611 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2612
9a45d6c3
JL
26132011-08-29 Juri Linkov <juri@jurta.org>
2614
2615 * isearch.el (isearch-done): Don't display message "Mark saved"
2616 when arg `edit' is non-nil to prevent its flicker in the echo area.
2617
fb87e0fb
CY
26182011-08-28 Chong Yidong <cyd@stupidchicken.com>
2619
2620 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2621 obsolete packages for deletion.
2622
09ac1c2a
CS
26232011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2624
2625 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2626 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2627 view-mode from help-mode.
2628 (help-xref-override-view-map): Remove.
2629 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2630 view-mode is not used anymore.
2631
7a1ff57f
CY
26322011-08-28 Chong Yidong <cyd@stupidchicken.com>
2633
2634 * server.el (server-port): Doc fix.
2635
b9696605
CY
2636 * cus-theme.el (custom-theme-choose-mode): Inherit from
2637 special-mode (Bug#9124).
2638 (custom-theme-choose-mode-map): Add special-mode to parent.
2639
ef8cdf8c
AM
26402011-08-28 Alan Mackenzie <acm@muc.de>
2641
2642 * progmodes/cc-fonts.el
2643 (c-make-font-lock-BO-decl-search-function): New function.
2644 (c-basic-matchers-after - "Fontify the clauses after various
2645 keywords"): Extract the three keyword lists for the 3 erroneous
2646 constructs from the list of four, and use the new function above
2647 in place of an old one.
2648
27de4e20
DD
26492011-08-28 Deniz Dogan <deniz@dogan.se>
2650
2651 * net/rcirc.el (rcirc-insert-prev-input)
2652 (rcirc-insert-next-input): Remove unused argument.
2653
356a3681
SM
26542011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2655
2656 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2657
3fc9b218
AM
26582011-08-27 Alan Mackenzie <acm@muc.de>
2659
2660 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2661 handle function pointer parameters properly.
2662
538a061c
MR
26632011-08-27 Martin Rudalics <rudalics@gmx.at>
2664
2665 * window.el (display-buffer-reuse-window): Fix case where
2666 selected window was reused with non-nil OTHER-WINDOW argument.
2667 (Bug#9381)
2668
35b1c40c
DD
26692011-08-27 Deniz Dogan <deniz@dogan.se>
2670
2671 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2672 oftc's NickServ messages.
2673
2f6a3e79
GM
26742011-08-27 Glenn Morris <rgm@gnu.org>
2675
2676 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2677
7254299e
CY
26782011-08-26 Chong Yidong <cyd@stupidchicken.com>
2679
2680 * emacs-lisp/package.el (package-install): Call package-initialize
2681 if called interactively.
2682
f8ccf167
LL
26832011-08-26 Leo Liu <sdl.web@gmail.com>
2684
2685 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2686
3e8cd5ce
JL
26872011-08-25 Juri Linkov <juri@jurta.org>
2688
2689 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2690 `search-whitespace-regexp' (bug#9364).
2691
93eb7113
JL
26922011-08-25 Juri Linkov <juri@jurta.org>
2693
2694 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2695 `regexp-search-ring' to their global values to protect from
2696 updating by `read-from-minibuffer' (bug#9185).
2697
f65d1611
JL
26982011-08-25 Juri Linkov <juri@jurta.org>
2699
2700 * textmodes/ispell.el (ispell-command-loop): Add newline
2701 at the end of the "Use option `i'..." line.
2702
f1cf7a31
JL
27032011-08-25 Juri Linkov <juri@jurta.org>
2704
2705 * battery.el (display-battery-mode): If `battery-status-function'
2706 or `battery-mode-line-format' is nil, display the message and set
2707 `display-battery-mode' to nil (bug#9363).
2708
0c95fcf7
EZ
27092011-08-25 Eli Zaretskii <eliz@gnu.org>
2710
2711 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2712 bidi-string-mark-left-to-right; they are unnecessary now.
2713
a2ebe600
DD
27142011-08-25 Deniz Dogan <deniz@dogan.se>
2715
2716 * net/quickurl.el: Documentation typo fixes.
2717
e4ed06f1
CY
27182011-08-25 Chong Yidong <cyd@stupidchicken.com>
2719
2720 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2721
e5f1c99e
GM
27222011-08-25 Glenn Morris <rgm@gnu.org>
2723
b2948976
GM
2724 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2725
e5f1c99e
GM
2726 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2727 (smtpmail-via-smtp): Handle nil response from smtp.
2728
f22f4808
JL
27292011-08-24 Juri Linkov <juri@jurta.org>
2730
2731 * proced.el (proced-marked): Inherit from `error' instead of
2732 `font-lock-warning-face'.
2733
2734 * ibuffer.el (ibuffer-marked-face): Change default face from
2735 `font-lock-warning-face' to `warning'.
2736 (ibuffer-deletion-face): Change default face from
2737 `font-lock-type-face' to `error'.
2738
2739 * battery.el (battery-update): Use the face `error' instead of
2740 `font-lock-warning-face' (bug#6117).
2741
6a93965e
JL
27422011-08-24 Juri Linkov <juri@jurta.org>
2743
2744 * faces.el (success): Change face color from "Green3" to
2745 "ForestGreen" on light background (bug#9353).
2746
1ed43b09
CY
27472011-08-24 Chong Yidong <cyd@stupidchicken.com>
2748
5664fa7b
RT
2749 * window.el (quit-window): Rename from quit-restore-window.
2750 Use same arglist as old quit-window.
1ed43b09
CY
2751 (frame-auto-delete): Doc fix.
2752
2753 * view.el (view-mode-exit): Use quit-window.
2754
11dcdbb2
JL
27552011-08-24 Juri Linkov <juri@jurta.org>
2756
2757 * isearch.el (isearch-ring-adjust1): Start visiting previous
2758 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2759 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2760 for empty search string (when the last search string is reused
2761 automatically) to adjust the isearch ring to the last element and
2762 prepare the correct index for further M-p commands (bug#9185).
2763
de62b4df
KH
27642011-08-24 Kenichi Handa <handa@m17n.org>
2765
2766 * international/ucs-normalize.el: If decomposition property of
2767 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2768 nil.
2769 (nfd, nfkd): Likewise.
2770
963b492b
SM
27712011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2772
2773 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2774 from process filters aren't reliably transmitted to the surrounding
2775 accept-process-output.
2776 (mpc-proc-check): New function.
2777 (mpc-proc-sync): Use it (bug#8293)
2778
93b6b5e1
SM
27792011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2780
2781 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2782 Add compatibility functions (bug#9313).
2783
bca633fb
EZ
27842011-08-23 Eli Zaretskii <eliz@gnu.org>
2785
b177498a
EZ
2786 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2787
bca633fb
EZ
2788 * international/uni-bidi.el: Regenerated.
2789
0902a04e
KH
27902011-08-23 Kenichi Handa <handa@m17n.org>
2791
2792 * international/charprop.el:
2793 * international/uni-bidi.el:
2794 * international/uni-category.el:
2795 * international/uni-combining.el:
2796 * international/uni-comment.el:
2797 * international/uni-decimal.el:
2798 * international/uni-decomposition.el:
2799 * international/uni-digit.el:
2800 * international/uni-lowercase.el:
2801 * international/uni-mirrored.el:
2802 * international/uni-name.el:
2803 * international/uni-numeric.el:
2804 * international/uni-old-name.el:
2805 * international/uni-titlecase.el:
2806 * international/uni-uppercase.el: Regenerate.
2807
3bbf23bc
MR
28082011-08-23 Martin Rudalics <rudalics@gmx.at>
2809
2810 * help.el (help-window-setup): Fix message displayed when other
2811 window is reused. (Bug#9341)
2812
b3fd59bd
SM
28132011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2814
1802e444
SM
2815 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2816 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2817
b3fd59bd
SM
2818 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2819 Mark obsolete.
2820 * shell.el (shell-parse-pcomplete-arguments): New function.
2821 (shell-completion-vars): Use it instead (bug#9160).
2822
4eb61348
SM
28232011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2824
867cab74
SM
2825 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2826 strings and comments (bug#9333).
2827
4eb61348
SM
2828 * emacs-lisp/debug.el (debug-arglist): New function.
2829 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2830 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2831
262a1439
JL
28322011-08-22 Juri Linkov <juri@jurta.org>
2833
56ee679c
JL
2834 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2835 Revert regexp that highlights output switches to its old
2836 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2837
262a1439
JL
2838 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2839 to check for empty output (bug#9226).
2840
f13f86fb
CY
28412011-08-22 Chong Yidong <cyd@stupidchicken.com>
2842
2843 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2844 symbol-constituent as the default, as that stops font-lock from
2845 working properly (Bug#8843).
2846
c65c9622
LMI
28472011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2848
2849 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2850 `coding-system-for-*' around the process open call to avoid
2851 auth-source side effects.
e7f2c178 2852 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2853 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2854 probe hangs.
c65c9622 2855
23a8a5ab
CY
28562011-08-21 Chong Yidong <cyd@stupidchicken.com>
2857
ff98b2dd
CY
2858 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2859
23a8a5ab
CY
2860 * emacs-lisp/find-func.el (find-function-noselect): New arg
2861 lisp-only.
2862
2863 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2864 signal an error for built-in functions (Bug#6664).
2865
f5e3c598
LMI
28662011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2867
2868 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2869 (smtpmail-try-auth-methods): Use it.
2870
a3f2468a
CY
28712011-08-21 Chong Yidong <cyd@stupidchicken.com>
2872
2c34e8da
CY
2873 * font-lock.el (font-lock-fontify-region)
2874 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2875 (font-lock-default-unfontify-buffer)
2876 (font-lock-default-fontify-region)
2877 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2878
b3fd59bd
SM
2879 * progmodes/compile.el (compilation-error-properties):
2880 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2881 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2882 `ant' regexp.
ee31aabc 2883
a3f2468a
CY
2884 * net/browse-url.el (browse-url-firefox): Don't call
2885 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2886
8e999f70
GM
28872011-08-20 Glenn Morris <rgm@gnu.org>
2888
c21a496a
GM
2889 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2890
59ee0542
GM
2891 * tutorial.el (tutorial--default-keys): Update some default bindings.
2892
8e999f70
GM
2893 * files.el (hack-local-variables): Fully ignore case for "mode:".
2894
e3715033
AM
28952011-08-20 Alan Mackenzie <acm@muc.de>
2896
2897 Resolve invalid use of a regexp in regexp-opt.
2898
4d61f28d
JB
2899 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2900 detection for a java annotation.
e3715033 2901
4d61f28d 2902 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2903 detection for a java annotation.
2904
4d61f28d
JB
2905 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2906 handling for java.
e3715033
AM
2907 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2908
04ed2e9c
CY
29092011-08-20 Chong Yidong <cyd@stupidchicken.com>
2910
2911 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2912 (Bug#9274).
2913
826cee64
AM
29142011-08-20 Alan Mackenzie <acm@muc.de>
2915
58179cce 2916 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
2917 such a construct. Mainly for when jit-lock etc. starts a chunk
2918 here.
2919
58179cce 2920 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 2921 variable.
58179cce 2922 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
2923 c-make-font-lock-search-function.
2924 (c-make-font-lock-search-function): Use the above function.
2925 (c-make-font-lock-context-search-function): New function.
2926 (c-cpp-matchers): Enhance the preprocessor expression case with
2927 the above function
2928 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2929 which takes an expression.
2930
2931 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2932
13009bd8
MR
29332011-08-20 Martin Rudalics <rudalics@gmx.at>
2934
2935 * window.el (display-buffer-reuse-window)
2936 (display-buffer-pop-up-window): Don't reuse or split a side
2937 window.
2938
9234ff7f
GM
29392011-08-19 Glenn Morris <rgm@gnu.org>
2940
2941 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2942 Downcase "Mode:". (Bug#9331)
9234ff7f 2943
f635daa1
CY
29442011-08-18 Chong Yidong <cyd@stupidchicken.com>
2945
2946 * international/characters.el: Add L and R categories.
2947
2948 * subr.el (bidi-string-mark-left-to-right): Rename from
2949 string-mark-left-to-right. Use category search.
2950
2951 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2952
bc987f8b
JL
29532011-08-18 Juri Linkov <juri@jurta.org>
2954
2955 * faces.el (error, warning, success): New faces with definitions
2956 copied from old default values of `font-lock-warning-face',
2957 `compilation-warning', `compilation-info' (bug#6117).
2958
2959 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2960
2961 * progmodes/compile.el (compilation-error): Inherit from `error'.
2962 (compilation-warning): Inherit from `warning'.
2963 (compilation-info): Inherit from `success'.
2964
2965 * dired.el (dired-marked): Inherit from `warning'.
2966 (dired-flagged): Inherit from `error'.
2967
57173b96
LMI
29682011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2969
3e79eb87
LMI
2970 * mail/smtpmail.el (auth-source): Require to avoid problems with
2971 binding variables (bug#9298). Also clean up some unused
2972 autoloads.
2973
b3fd59bd
SM
2974 * net/network-stream.el (network-stream-open-starttls):
2975 Support using starttls.el without using gnutls-cli.
57173b96 2976
02b404de
JL
29772011-08-17 Juri Linkov <juri@jurta.org>
2978
2979 * progmodes/grep.el (rgrep): Handle the case when
2980 `grep-find-command' is a cons cell (bug#9278).
2981
8c9177f2
MR
29822011-08-17 Martin Rudalics <rudalics@gmx.at>
2983
2984 * window.el (display-buffer-pop-up-frame): Run frame creation
2985 function with BUFFER current (as special-display-popup-frame
2986 does). Reported by Drew Adams.
2987
3644a0ab
DU
29882011-08-17 Daiki Ueno <ueno@unixuser.org>
2989
2990 * epa-mail.el: Simplify GnuPG group expansion using
2991 epg-expand-group.
2992 (epa-mail-group-alist, epa-mail-group-modtime)
2993 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2994 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2995 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2996 Remove.
2997
5e617bc2 29982011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2999
3000 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3001
9c4aeabf
AM
30022011-08-16 Alan Mackenzie <acm@muc.de>
3003
3004 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3005 Correct, to avoid the inside of macros.
3006
3a99bf64
RS
30072011-08-16 Richard Stallman <rms@gnu.org>
3008
04963aa8
RS
3009 * epa-mail.el: Handle GnuPG group definitions.
3010 (epa-mail-group-alist, epa-mail-group-modtime)
3011 (epa-mail-gnupg-conf-file): New variables.
3012 (epa-mail-parse-groups, epa-mail-sync-groups)
3013 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3014 (epa-mail-expand-recipients): New functions.
3015 (epa-mail-encrypt): Call epa-mail-expand-recipients.
3016
177549d0
RS
3017 * mail/rmail.el (rmail-epa-decrypt): New command.
3018
fe38beef
RS
3019 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3020 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
3021 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3022 (epa-decrypt-armor-in-region): Make error message clearer.
3023
934eacb9
SM
30242011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3027 and "a2b" to "ab" for `prefix'.
3028
d024fb4e
CY
30292011-08-14 Chong Yidong <cyd@stupidchicken.com>
3030
3031 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3032 filter groups.
de148fee
CY
3033 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
3034 Fourquet (Bug#8804).
d024fb4e 3035
62f1ca49
JB
30362011-08-12 Juanma Barranquero <lekktu@gmail.com>
3037
3038 * startup.el (argi): Declare as global variable (bug#9275).
3039
9ccaaa4b
CY
30402011-08-12 Chong Yidong <cyd@stupidchicken.com>
3041
3042 * subr.el (string-mark-left-to-right): Search the entire string
3043 for RTL script, not just the terminating character. Doc fix.
3044
a3dae87a
SM
30452011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3046
6cd18349
SM
3047 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3048 New function.
3049 (js--regexp-literal, js-syntax-propertize-function): Remove.
3050 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3051 (js-mode-map): Don't rebind electric keys.
3052 (js-insert-and-indent): Remove.
3053 (js-mode): Setup electric-layout and electric-indent instead.
3054
a3dae87a
SM
3055 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3056
9d5cb631
DU
30572011-08-12 Daiki Ueno <ueno@unixuser.org>
3058
3059 * epa.el (epa-progress-callback-function): Fix the logic of
3060 displaying progress.
3061 * epa-file.el (epa-file-insert-file-contents): Make progress
3062 display more user-friendly.
3063 (epa-file-write-region): Ditto.
3064
3e26a4a2
CY
30652011-08-10 Chong Yidong <cyd@stupidchicken.com>
3066
3067 * subr.el (string-mark-left-to-right): New function.
3068
3069 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3070 Use string-mark-left-to-right.
3071 (list-buffers-noselect): Caller changed.
3072
a3dae87a
SM
3073 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3074 Use string-mark-left-to-right.
3e26a4a2
CY
3075 (tabulated-list-print): Recenter after moving point.
3076
ac8cf6e6
JL
30772011-08-10 Juri Linkov <juri@jurta.org>
3078
3079 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3080 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3081 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3082
8d96c9a4
CY
30832011-08-09 Chong Yidong <cyd@stupidchicken.com>
3084
3085 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3086 (Bug#7554).
3087
7be1c708 30882011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
3089
3090 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3091 character. (Bug#6594)
3092
37e11a63
CY
30932011-08-08 Chong Yidong <cyd@stupidchicken.com>
3094
839dde57
CY
3095 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3096 (image-dired--with-db-file): New macro.
3097 (image-dired-write-tags, image-dired-remove-tag)
3098 (image-dired-create-gallery-lists, image-dired-write-comments)
3099 (image-dired-get-comment, image-dired-mark-tagged-files)
3100 (image-dired-list-tags, image-dired-gallery-generate): Use it.
3101 (image-dired-gallery-generate): Use insert-file-contents.
3102
37e11a63
CY
3103 * time.el (display-time-world-list, display-time-world-display):
3104 * time-stamp.el (time-stamp-string):
3105 * vc/add-log.el (add-change-log-entry): Use setenv instead of
3106 set-time-zone-rule (Bug#7337).
3107
0b4946c4
DU
31082011-08-08 Daiki Ueno <ueno@unixuser.org>
3109
3110 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3111 (epg-error-to-string, epg-errors-to-string): New function.
3112 (epg-wait-for-completion): Reverse errors list.
3113 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3114 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3115 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3116 (epg-sign-keys, epg-generate-key-from-file)
3117 (epg-generate-key-from-string): Format errors by using
3118 epg-errors-to-string (bug#9255).
3119 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3120
75bfc667
JL
31212011-08-07 Juri Linkov <juri@jurta.org>
3122
3123 * faces.el (list-faces-display): Remove extra angle bracket
3124 from `help-mode-map'.
3125
3126 * info.el (Info-history-toc-nodes): Doc fix.
3127
3128 * longlines.el (longlines-mode): Doc fix.
3129
673e08bb
SM
31302011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3131
4640dd88
SM
3132 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3133 of statements and in a few more cases (bug#9183).
3134
673e08bb
SM
3135 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3136 New functions.
3137 (cl-transform-lambda): Use them (bug#9239).
3138
89b3f019
MR
31392011-08-05 Martin Rudalics <rudalics@gmx.at>
3140
3141 * window.el (display-buffer-same-window)
3142 (display-buffer-same-frame, display-buffer-other-window)
3143 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3144 (pop-to-buffer-other-window)
3145 (pop-to-buffer-same-frame-other-window)
3146 (pop-to-buffer-other-frame): Make them defuns.
3147 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3148
640c8776
SM
31492011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * subr.el (make-composed-keymap): Move from C. Change calling
3152 convention, and improve docstring to bring attention to a subtle point.
3153 * minibuffer.el (completing-read-default): Adjust accordingly.
3154
63648a95
MA
31552011-08-03 Michael Albinus <michael.albinus@gmx.de>
3156
3157 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3158 (tramp-open-shell): Use `tramp-shell-quote-argument'.
3159
3160 * net/trampver.el: Update release number.
3161
b796c9b7
SM
31622011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3163
3164 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3165 "in" (bug#9190).
3166
2239d7d5
LMI
31672011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3168
e07dd7c3
LMI
3169 * mail/sendmail.el (sendmail-query-once): Restore the current
3170 buffer after querying (bug#9074).
3171
0e6a2bd7
LMI
3172 * dired.el (dired-flagged): Use different faces for marked and
3173 flagged files (bug#6117).
3174
ce887515
LMI
3175 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3176 (bug#4433).
3177
92f2affc
LMI
3178 * ido.el (ido-mode): Switch off the message if called
3179 non-interactively.
3180
57d5aff0
LMI
3181 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3182 before 587, since it appears that that's more likely to work for
3183 more people.
3184
98cd6c18 3185 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 3186 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
3187 exist.
3188
b96dec83
LMI
3189 * info.el: Remove the `Info-beginning-of-buffer' function
3190 (bug#8325).
3191
b796c9b7
SM
3192 * net/network-stream.el (network-stream-open-starttls):
3193 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 3194
d90e2ea0
MR
31952011-08-01 Martin Rudalics <rudalics@gmx.at>
3196
3197 * window.el (display-buffer-in-window): Don't set dedicated status
3198 of window here (Bug#9215).
3199 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3200 (display-buffer-pop-up-side-window)
b796c9b7 3201 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 3202
cca09170
SM
32032011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3206 before binding generated-autoload-file.
3207
027b979c
DD
32082011-08-01 Deniz Dogan <deniz@dogan.se>
3209
3210 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3211
3c7ee4f3
MA
32122011-07-30 Michael Albinus <michael.albinus@gmx.de>
3213
3214 Sync with Tramp 2.2.2.
3215
3216 * net/trampver.el: Update release number.
3217
2cc8e51a
JL
32182011-07-30 Juri Linkov <juri@jurta.org>
3219
3220 * dired-aux.el (dired-touch-initial): Remove function.
3221 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3222 current time, and `default' to the last modification time of the
3223 current marked file (bug#6887).
3224
a514d856
JM
32252011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3226
3227 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 3228 numeric argument to read-number (bug#9163).
a514d856 3229
8a7eddd7
MA
32302011-07-27 Michael Albinus <michael.albinus@gmx.de>
3231
3232 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3233 connection process, it could be nil.
3234
1ddd96f5
LL
32352011-07-27 Leo Liu <sdl.web@gmail.com>
3236
3237 Simplify url handling in rcirc-mode.
3238
3239 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3240 (rcirc-browse-url-at-mouse): Remove.
3241 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3242
b248a85d
AM
32432011-07-26 Alan Mackenzie <acm@muc.de>
3244
3245 Fontify bitfield declarations properly.
3246
3247 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3248 (c-symbol-chars): Now exported as a lang variable.
3249 (c-not-primitive-type-keywords): New lang variable.
3250
3251 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3252 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 3253 parsed as a bitfield declaration.
b248a85d 3254
b796c9b7
SM
3255 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3256 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
3257 (c-punctuation-in): New function.
3258 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3259 declarations properly.
3260
68575ab0
UJ
32612011-07-26 Ulf Jasper <ulf.jasper@web.de>
3262
3263 * calendar/icalendar.el (icalendar--all-events): Take care of
3264 multiple vcalendars in a single file.
b796c9b7 3265 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 3266
0f0a88b9
DD
32672011-07-25 Deniz Dogan <deniz@dogan.se>
3268
3269 * image.el (insert-image): Clarifying docstring.
3270
0b3f36df
MA
32712011-07-24 Michael Albinus <michael.albinus@gmx.de>
3272
3273 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3274 `tramp-send-command-and-check' if there is no error.
3275 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3276
a9901f61
AM
32772011-07-22 Alan Mackenzie <acm@muc.de>
3278
3279 Prevent cc-langs.elc being loaded at run time.
3280
3281 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3282 cc-langs.
3283
4d61f28d 3284 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
3285 "(require 'cc-langs)". Quote a form so it will evaluate at
3286 (cc-mode's) compilation time.
3287
11d074b2
MA
32882011-07-22 Michael Albinus <michael.albinus@gmx.de>
3289
3290 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3291 loading. (Bug#9114)
3292
938b94c8
MR
32932011-07-21 Martin Rudalics <rudalics@gmx.at>
3294
3295 * window.el (display-buffer-pop-up-window)
3296 (display-buffer-pop-up-side-window)
3297 (display-buffer-in-side-window): Call display-buffer-set-height
3298 and display-buffer-set-width after setting the new window's
b796c9b7 3299 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 3300
bfa4f190
SS
33012011-07-20 Sam Steingold <sds@gnu.org>
3302
3303 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3304 (etags-tags-included-tables): Call `convert-standard-filename' on
3305 the file names contained in TAGS so that windows Emacs can handle
3306 TAGS files created by cygwin ctags.
3307
8ca42262
LMI
33082011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3309
3310 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3311 which apparently didn't work.
3312
5db2afd2 33132011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 3314
5db2afd2
RW
3315 * proced.el (proced-send-signal): For *Marked Processes* buffer
3316 put point at beginning of buffer.
3317
92e15d10
SB
33182011-07-19 Stephen Berman <stephen.berman@gmx.net>
3319
3320 * proced.el (proced-format): Make header lines align with the text
3321 (bug#1779).
3322
1bfd59e5
LMI
33232011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3324
3325 * view.el (view-buffer): Allow running in `special' modes if we're
3326 visiting a file (bug#8615).
3327
f5aae37c
MR
33282011-07-19 Martin Rudalics <rudalics@gmx.at>
3329
3330 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
3331 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3332 New functions.
f5aae37c
MR
3333 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3334 more accurately.
3335
bf2c1571
AM
33362011-07-18 Alan Mackenzie <acm@muc.de>
3337
3338 Fontify declarators properly when, e.g., a jit-lock chunk begins
3339 inside a declaration.
3340
3341 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3342
b796c9b7
SM
3343 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3344 New function.
bf2c1571
AM
3345 (c-complex-decl-matchers): Insert reference to
3346 c-font-lock-enclosing-decls.
3347
3348 * progmodes/cc-engine.el (c-backward-single-comment):
3349 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3350 to nil around calls to (forward-comment -1).
3351
4e190b80
LMI
33522011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3353
12dc863d
LMI
3354 * image.el (put-image): Doc typo fix.
3355
a762e966
LMI
3356 * progmodes/etags.el (tags-search): Doc typo fix.
3357
4e190b80
LMI
3358 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3359 password if we get errors 550 to 554.
3360
f019fb21
LMI
33612011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3362
b796c9b7 3363 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 3364
81746738
LMI
3365 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3366 indentation character (bug#6380).
3367
3ee3a1b5
LMI
3368 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3369
c82f64de
LMI
3370 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3371 to clarify what the problem is (bug#4291).
3372
f019fb21
LMI
3373 * simple.el (current-kill): Clarify what
3374 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
3375 (auto-fill-mode): Document `auto-fill-function' in relation to
3376 `auto-fill-mode' (bug#2470).
f019fb21 3377
0794775d
LM
33782011-07-16 Lawrence Mitchell <wence@gmx.li>
3379
3380 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3381 method if slot is read-only (bug#9035).
3382
be39b8cc
MR
33832011-07-16 Martin Rudalics <rudalics@gmx.at>
3384
b796c9b7 3385 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 3386 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
3387 selected before, see discussion of (Bug#8615), (Bug#6954).
3388 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 3389
6ccf7859
GM
33902011-07-15 Glenn Morris <rgm@gnu.org>
3391
3392 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 3393 Respect help-form.
6ccf7859 3394
87e86684
LM
33952011-07-09 Lawrence Mitchell <wence@gmx.li>
3396
3397 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3398 (gnutls-negotiate): Use it.
3399
d6066239
LMI
34002011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3401
b796c9b7
SM
3402 * net/gnutls.el (gnutls-negotiate):
3403 Upcase `gnutls-algorithm-priority'.
d6066239 3404
bd23ebc0
GM
34052011-07-15 Glenn Morris <rgm@gnu.org>
3406
c65bca65
GM
3407 * jka-compr.el (jka-compr-verbose): Move from here...
3408 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3409 Add missing :version tag.
3410 * info.el: No need to require jka-compr when compiling.
bd23ebc0 3411
478615cc
LMI
34122011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3413
7b41decb
LMI
3414 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3415 (gnutls-negotiate): Use it.
3416
dbc44fcd
LMI
3417 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3418
06789f97
LMI
3419 * info.el (Info-beginning-of-buffer): New command.
3420 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3421 announcing `b' as the key (bug#8325).
ab896c37 3422 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 3423
c39da690
LMI
3424 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3425
3aa5f34b
LMI
3426 * international/mule-cmds.el
3427 (describe-specified-language-support): Make the error message
3428 clearer (bug#8905).
3429
4bf0979f
LMI
3430 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3431
478615cc
LMI
3432 * isearch.el (isearch-barrier): Add a doc string, since it's
3433 mentioned in a function doc string (bug#8678).
3434
75c68aa1
MR
34352011-07-15 Martin Rudalics <rudalics@gmx.at>
3436
3437 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3438 buffer argument (Bug#9083) and self-identifying label argument.
3439
a7c33da2
GM
34402011-07-15 Glenn Morris <rgm@gnu.org>
3441
3442 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3443
2f5c6024
LMI
34442011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3445
3446 * man.el (Man-fontify-manpage): Fix message when formatting the
3447 man page (bug#7929).
3448
0bb23927 34492011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
3450
3451 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3452 argument LRM; if non-nil, append an invisible LRM character to the
3453 buffer name.
3454 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3455 last argument non-nil, when formatting buffer names.
0bb23927
EZ
3456 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3457 paragraph direction.
cce4b0a7 3458
621ef9ab
LMI
34592011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3460
d1583c48
LMI
3461 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3462 the man page name (bug#7929).
3463
6a57fb5f
LMI
3464 * image.el (put-image): Mention the `put-image' overlay property
3465 (bug#7834).
3466
d7956b14
LMI
3467 * scroll-bar.el (set-scroll-bar-mode): Mention that
3468 `scroll-bar-mode' lists the values (bug#7772).
3469
5b2d4a66
LMI
3470 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3471 command (bug#7729).
3472
7509a874
LMI
3473 * rect.el (apply-on-rectangle): Return the point after the last
3474 operation.
3475 (string-rectangle): Go to the point after the last operation
3476 (bug#7522).
3477
4fe74b19
LMI
3478 * printing.el (pr-toggle-region): Clarify the documentation
3479 slightly (bug#7493).
3480
b796c9b7
SM
3481 * time.el (display-time-update):
3482 Allow `display-time-mail-function' to return nil (bug#7158).
3483 Fix suggested by Detlev Zundel.
ab283561 3484
fc233c9d
LMI
3485 * vc/diff.el (diff): Clarify the order the file names are read
3486 (bug#7111).
3487
43f5740b
LMI
3488 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3489 the doc string (bug#7015).
3490
f2182a76
LMI
3491 * font-lock.el (font-lock-maximum-decoration): Mention what
3492 numeric levels mean (bug#6935).
3493
621ef9ab
LMI
3494 * startup.el (initial-buffer-choice): Don't mention the `none'
3495 selection, which is against policy.
3496
adc47434
MR
34972011-07-14 Martin Rudalics <rudalics@gmx.at>
3498
b796c9b7
SM
3499 * window.el (display-buffer-normalize-special):
3500 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 3501
7e5bfb8f
EZ
35022011-07-14 Eli Zaretskii <eliz@gnu.org>
3503
3504 * subr.el (version<, version<=, version=): Mention "-CVS" and
3505 "-12345" alpha version numbers.
3506
27fa387a
CY
35072011-07-14 Chong Yidong <cyd@stupidchicken.com>
3508
3509 * bindings.el: Add advertised binding for set-mark-command
3510 (Bug#5772).
3511
8bdfa064
CY
35122011-07-14 Chong Yidong <cyd@stupidchicken.com>
3513
3514 * bindings.el (mode-line-other-buffer):
3515 * bookmark.el (bookmark-bmenu-2-window):
3516 * bs.el (bs-cycle-next, bs-cycle-previous):
3517 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3518 switch-to-buffer.
3519
3520 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 3521 Delete.
8bdfa064 3522
5eba16a3
JB
35232011-07-14 Juanma Barranquero <lekktu@gmail.com>
3524
3525 * follow.el (follow-debug-message, follow-redisplay):
3526 * jka-cmpr-hook.el (with-auto-compression-mode):
3527 Fix typos in docstrings.
3528
15853710
LMI
35292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3530
a28e4607
LMI
3531 * subr.el (with-silent-modifications): Clarify somewhat what the
3532 macro inhibits (bug#6525).
3533
15853710
LMI
3534 * simple.el (eval-expression): Note what it does if called
3535 interactively (bug#6495).
3536
bee0fcef
CY
35372011-07-13 Chong Yidong <cyd@stupidchicken.com>
3538
b796c9b7
SM
3539 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3540 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
3541
3542 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3543 Remove switch-to-buffer.
3544
58274504
LMI
35452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3546
bd2fcc8d
LMI
3547 * files.el (make-directory): Clarify that an error will be raised
3548 if there's an error (bug#6397).
3549
0f04b32c
LMI
3550 * startup.el (initial-buffer-choice): Add `none' as a choice
3551 (bug#6234).
3552
465c5fc8
LMI
3553 * subr.el (add-hook): Clarify section about buffer-local hooks
3554 (bug#6218).
3555
58274504
LMI
3556 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3557
bead9a43
JB
35582011-07-13 Juanma Barranquero <lekktu@gmail.com>
3559
3560 * tabify.el (untabify): Preserve the current column so that point
3561 doesn't move (bug#6032).
3562
3af98a7b
LMI
35632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3564
b796c9b7
SM
3565 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3566 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3567
6240145a
GM
35682011-07-13 Glenn Morris <rgm@gnu.org>
3569
3570 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3571 (dired-insert-directory): Give a message the first time
3572 if ls is found not to support --dired.
3573
1d8c2ccc
LMI
35742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3575
3576 * simple.el (toggle-truncate-lines): Clarify what is toggled
3577 (bug#5580). Text by Drew Adams.
3578
5fc4038e
CY
35792011-07-13 Chong Yidong <cyd@stupidchicken.com>
3580
3581 * simple.el (blink-matching-open): Make the error message from the
3582 last change less verbose.
3583
bf6012e5
DN
35842011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3585
3586 * font-lock.el (font-lock-comment-face): Use the high contrast
3587 "yellow" color for font-lock-comment-face on low color terminals
3588 using a dark background color (bug#4221).
3589
343c3b5a
LMI
35902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3591
7e9505c5
LMI
3592 * dired.el (dired-insert-set-properties): Make the doc string
3593 reflect what it does now (bug#5325).
3594
c26fdcf5
LMI
3595 * simple.el (blink-matching-open): Say that we were unable to find
3596 the match within the limit, if we're limited (bug#5122).
3597
bb388cc5
LMI
3598 * international/mule-cmds.el (prefer-coding-system): Add an
3599 example (bug#4869).
3600
343c3b5a
LMI
3601 * progmodes/etags.el (tags-search): Document `file-list-form'
3602 (bug#4731).
3603
2a517d45
LM
36042011-07-13 Lawrence Mitchell <wence@gmx.li>
3605
3606 * net/browse-url.el (browse-url-default-browser)
3607 (browse-url-browser-function): Make the default browser choice a
3608 bit more logical (bug#4300). Also clean up the doc string.
3609
b6c78ef2
JB
36102011-07-13 Juanma Barranquero <lekktu@gmail.com>
3611
3612 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3613 binary endings (bug#4440).
3614
1c4dd947
LMI
36152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3616
a2014063
LMI
3617 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3618 which can be pretty annoying (bug#8971).
3619
9c9c2d88
LMI
3620 * jka-compr.el (jka-compr-verbose): New variable, and use
3621 throughout (bug#8971).
3622
1c4dd947
LMI
3623 * info.el (Info-find-file): Fall back on the installation
3624 directory if we can't find the info node anywhere else.
3625
a1c9f41b
SO
36262011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3627
3628 * vc/vc.el (vc-revert-file):
3629 Don't set file time-stamp in the past. (Bug#5181)
3630
536f3d36
LMI
36312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3632
7152b011
LMI
3633 * files.el (after-find-file): Give a better error message when
3634 trying to find a symlink that points to a file that doesn't exist
3635 (bug#4398).
3636
536f3d36
LMI
3637 * progmodes/cc-vars.el: Remove (probably) misleading comment
3638 (bug#4396).
3639
460c0fba
JB
36402011-07-12 Johan Bockgård <bojohan@gnu.org>
3641
3642 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3643
7a6bda45
CY
36442011-07-12 Chong Yidong <cyd@stupidchicken.com>
3645
3646 * mouse-sel.el: Hack restoring functionality, while keeping
3647 compatibility with 2010-07-03 changes to mouse selection.
3648 (mouse-sel-primary-overlay): New var.
3649 (mouse-sel-selection-alist): Use it.
3650 (mouse-sel-mode): Doc fix; remove points that are default features
3651 of mouse.el.
3652
c79598ef
JB
36532011-07-12 Johan Bockgård <bojohan@gnu.org>
3654
3655 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3656 Fix previous fix (bug#2490).
3657
ff8be6ef
RW
36582011-07-12 Roland Winkler <winkler@gnu.org>
3659
b796c9b7
SM
3660 * textmodes/bibtex.el (bibtex-initialize):
3661 Use pop-to-buffer-same-window.
ff8be6ef
RW
3662 (bibtex-search-entries): Fix interactive call.
3663
296ba3ee
LMI
36642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3665
f5242a02 3666 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3667 Fontise bytecomp Error lines more correctly (bug#2490).
3668 Fix suggested by Johan Bockgård.
f5242a02 3669
296ba3ee
LMI
3670 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3671
3672 * dired-x.el (dired-guess-default): Use `delete-dups'.
3673
f69fd0d2
CY
36742011-07-12 Chong Yidong <cyd@stupidchicken.com>
3675
3676 * dired.el (dired-mark-prompt):
3677 * dired-aux.el (dired-read-shell-command): Doc fix.
3678
eab5dc07
LMI
36792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3680
b796c9b7
SM
3681 * mail/sendmail.el (sendmail-query-once):
3682 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3683 emacs -Q.
3684
3685 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3686
eab5dc07
LMI
3687 * cus-edit.el (custom-file): Take an optional no-error variable.
3688 (customize-save-variable): Set the variable, and give a warning if
3689 running under "emacs -q".
3690
a1e65d42
JB
36912011-07-11 Juanma Barranquero <lekktu@gmail.com>
3692
3693 * loadhist.el (unload-feature-special-hooks):
3694 Add `auto-coding-functions', `fill-nobreak-predicate' and
3695 `find-directory-functions' (bug#5327).
3696
1d52da10
LMI
36972011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3698
be958f1d
LMI
3699 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3700
5bedb26c
LMI
3701 * cus-edit.el (custom-guess-name-alist): -alist variables should
3702 use the `alist' type (bug#3120). Suggested by Drew Adams.
3703
1d52da10
LMI
3704 * printing.el: Add documentation to all the `pr-toggle-' commands.
3705
481a51b6
LL
37062011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3707
3708 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3709 backends where it makes sense (bug#2623).
3710
dcc88d8a
LMI
37112011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3712
c3de9feb
LMI
3713 * dired-x.el (dired-guess-default): Remove duplicate shell command
3714 entries (bug#2028).
8a93078b 3715 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3716 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3717
dcc88d8a
LMI
3718 * subr.el (remove-duplicates): New conveniency function.
3719
505e3645
LMI
37202011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3721
3722 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3723 (bug#1526).
3724
37252011-07-10 Martin Rudalics <rudalics@gmx.at>
3726
3727 * window.el (display-buffer-normalize-default): Don't invert
3728 meaning of even-window-heights. Reported by Eli Zaretskii
3729 <eliz@gnu.org>.
3730
455e4fa1
BR
37312011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3732
3733 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3734
8e0bc3e9
CY
37352011-07-10 Chong Yidong <cyd@stupidchicken.com>
3736
3737 * window.el (display-buffer): Fix arguments to
3738 display-buffer-reuse-window in last change.
3739
fa7c3228
CY
3740 * faces.el (link): Use a less saturated blue on light backgrounds.
3741
3742 * startup.el (fancy-startup-text, fancy-about-text)
3743 (fancy-startup-tail): Use font-lock faces, for background safety.
3744
c0a7f300
BN
37452011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3746
b796c9b7
SM
3747 * emulation/viper-cmd.el (viper-change-state-to-vi):
3748 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3749
4dc2a129
MR
37502011-07-09 Martin Rudalics <rudalics@gmx.at>
3751
3752 * window.el (display-buffer-default-specifiers): Remove.
3753 (display-buffer-macro-specifiers): Remove default specifiers.
3754 (display-buffer-alist): Default to nil.
b796c9b7 3755 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3756 (display-buffer-pop-up-window): Allow splitting internal
3757 windows. Check whether a live window was created.
3758 (display-buffer-other-window-means-other-frame)
3759 (display-buffer-normalize-arguments): Rename to
3760 display-buffer-normalize-argument and rewrite. Set the
3761 other-window specifier.
3762 (display-buffer-normalize-special): New function.
3763 (display-buffer-normalize-options): Rename to
3764 display-buffer-normalize-default and rewrite.
3765 (display-buffer-normalize-options-inhibit): Remove.
3766 (display-buffer-normalize-specifiers): Rewrite.
3767 (display-buffer): Process other-window specifier and call
3768 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3769 more faithfully.
b796c9b7 3770 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3771 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3772 (display-buffer-in-window, display-buffer-alist-set):
3773 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3774 <tassilo@member.fsf.org>.
3775
2d43b8c9
LL
37762011-07-09 Leo Liu <sdl.web@gmail.com>
3777
3778 * register.el (insert-register): Restore accidental change on
3779 2011-06-26. (Bug#9028)
3780
7f9b7c53
GM
37812011-07-09 Glenn Morris <rgm@gnu.org>
3782
3783 * subr.el (remq): Handle the empty list. (Bug#9024)
3784
f042cfd8
AS
37852011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3786
3787 * mail/sendmail.el (send-mail-function): No longer delay custom
3788 initialization.
3789 * custom.el (custom-initialize-delay): Doc fix.
3790
856b2f11
SM
37912011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3792
3793 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3794
afae1d68
MA
37952011-07-08 Michael Albinus <michael.albinus@gmx.de>
3796
3797 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3798 human-friendly prompt.
3799
0757af94
SM
38002011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3801
3802 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3803 provided by a particular plugin.
3804
d760b731
LMI
38052011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3806
3807 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3808 save customizations (with "emacs -Q"), just set the variable
3809 instead of erroring out.
3810
3811 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3812
cd79ce90
JL
38132011-07-08 Juri Linkov <juri@jurta.org>
3814
3815 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3816 (archive-zip-update-case): Use 7z if found by `executable-find'.
3817 The order of searching the available programs is the same as in
3818 `archive-zip-extract' (bug#8968).
3819
14cc04aa
CY
38202011-07-07 Chong Yidong <cyd@stupidchicken.com>
3821
3822 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3823 (menu-bar-options-menu): Tweak descriptions.
3824
0a1848ec
LMI
38252011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3826
3827 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3828 menu items into verb phrases (bug#1421). Also refill to fit under
3829 80 columns.
3830
f5bd0689
CY
38312011-07-07 Chong Yidong <cyd@stupidchicken.com>
3832
538e85c6
CY
3833 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3834 (Info-read-node-name): Doc fix (Bug#1084).
3835
f5bd0689
CY
3836 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3837 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3838 (end-of-sexp, beginning-of-sexp)
3839 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3840 (forward-symbol, forward-same-syntax, word-at-point)
3841 (sentence-at-point): Doc fix (Bug#1144).
3842
56ec5115
LMI
38432011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3844
f3f8e37f
LMI
3845 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3846 should cover it (bug#1281).
3847
0757af94 3848 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3849
e9fce1ac 3850 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
3851 negotiation fails, then possibly try again with a non-encrypted
3852 connection (bug#9017).
3853
56ec5115
LMI
3854 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3855 be used.
3856
c2f9aec8
RS
38572011-07-07 Richard Stallman <rms@gnu.org>
3858
3859 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3860 property, and handle its changed format.
3861 Look for the correct line number.
3862 Use file's line contents (but not past first =) to find
3863 correct line in message.
3864
ef7b981d 38652011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3866
3867 * international/characters.el (build-unicode-category-table):
3868 Delete it.
0757af94 3869 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3870
0757af94 3871 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3872 to src/chartab.c.
3873 (get-char-code-property): Call unicode-property-table-internal to
3874 load a file. Call get-unicode-property-internal where necessary.
3875 (put-char-code-property): Call unicode-property-table-internal to
3876 load a file. Call put-unicode-property-internal where necessary.
3877 put-unicode-property-internal where necessary.
0757af94
SM
3878 (char-code-property-description):
3879 Call unicode-property-table-internal to load a file.
c805dec0
KH
3880
3881 * international/charprop.el:
3882 * international/uni-bidi.el:
3883 * international/uni-category.el:
3884 * international/uni-combining.el:
3885 * international/uni-comment.el:
3886 * international/uni-decimal.el:
3887 * international/uni-decomposition.el:
3888 * international/uni-digit.el:
3889 * international/uni-lowercase.el:
3890 * international/uni-mirrored.el:
3891 * international/uni-name.el:
3892 * international/uni-numeric.el:
3893 * international/uni-old-name.el:
3894 * international/uni-titlecase.el:
3895 * international/uni-uppercase.el: Regenerate.
3896
3897 * loadup.el: Load international/charprop.el before
3898 international/characters.
3899
e14b388a
CY
39002011-07-07 Chong Yidong <cyd@stupidchicken.com>
3901
3902 * window.el (next-buffer, previous-buffer): Signal an error if
3903 called from a minibuffer window.
3904
3905 * bindings.el: Revert 2011-07-04 change.
3906
354cf0ba
RS
39072011-07-06 Richard Stallman <rms@gnu.org>
3908
3909 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3910 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3911 Treat markers like ints.
3912 (rmail-mime-entity): Doc fix.
3913
a48868a7
LMI
39142011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3915
4906cd3d
LMI
3916 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3917 defcustom again for backwards compatibility.
3918
e0457abe
LMI
3919 * simple.el (shell-command-on-region): Fill.
3920
d67f7e1f
LMI
3921 * dired-aux.el (dired-kill-line): Add a doc string.
3922
fe204702
LMI
3923 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3924 to "\\sw\\|\\s_" (bug#358).
3925
a48868a7
LMI
3926 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3927 (dired-unmark-backward): Ditto.
3928 (dired-flag-backup-files): Ditto.
3929
3930 * dired-x.el (dired-mark-sexp): Ditto.
3931
aa8a705c
RS
39322011-07-06 Richard Stallman <rms@gnu.org>
3933
3934 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3935 (rmail-mime-entity): New arg TRUNCATED.
3936 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3937 New functions.
3938 (rmail-mime-save): Warn if entity is truncated.
3939 (rmail-mime-toggle-hidden): Likewise, for showing.
3940 (rmail-mime-process-multipart): Record when an entity is truncated.
3941
a9a936b9
RS
3942 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3943 if ENTITY is a string.
3944
1f2b92cb
LMI
39452011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3946
f4f73198 3947 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3948 of faces when `M-C-x'-ing their definitions (bug#8378).
3949 Also clean up the code slightly.
f4f73198 3950
12b16734 3951 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 3952 because that makes the colors go away.
12b16734 3953
f0691d22
LMI
3954 * mail/sendmail.el (send-mail-function): Change the default to
3955 `sendmail-query-once'.
9e87df06 3956 (sendmail-query-once): Add an autoload cookie.
f0691d22 3957
1f2b92cb
LMI
3958 * net/network-stream.el (network-stream-open-starttls): Try using
3959 a plain connection even if the server offered STARTTLS, and we
3960 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3961 capability. This should make smtpmail.el work in slightly more
3962 configurations.
3963
1cdd2a1b
MA
39642011-07-06 Michael Albinus <michael.albinus@gmx.de>
3965
3966 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3967 New defun.
3968 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3969
fbcc67e2
MM
39702011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3971
3972 * progmodes/sql.el: Version 3.0
0757af94 3973 (sql-product-alist): Add product :completion-object,
fbcc67e2 3974 :completion-column, and :statement attributes.
0757af94 3975 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3976 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3977 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3978 ansi keywords.
3979 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3980 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3981 (sql-oracle-show-reserved-words): New function for development.
3982 (sql-product-font-lock): Simplify for source code buffers.
3983 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3984 New functions.
3985 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3986 (sql-mode-map): Add statement movement functions.
3987 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3988 New variable.
fbcc67e2
MM
3989 (sql-statement-regexp, sql-beginning-of-statement)
3990 (sql-end-of-statement, sql-signum): New functions.
0757af94 3991 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3992 (sql-show-sqli-buffer): Bug fix.
3993 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3994 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3995 with sql-interactive-mode.
3996 (sql-save-connection): Save buffer local settings.
0757af94 3997 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3998 (sql-product-interactive): Bug fix.
3999 (sql-preoutput-hold): New variable.
4000 (sql-interactive-remove-continuation-prompt): Bug fixes.
4001 (sql-debug-redirect): New variable.
4002 (sql-str-literal): New function.
4003 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 4004 Redesign.
fbcc67e2
MM
4005 (sql-oracle-save-settings, sql-oracle-restore-settings)
4006 (sql-oracle-list-all, sql-oracle-list-table): New functions.
4007 (sql-completion-object, sql-completion-column)
4008 (sql-completion-sqlbuf): New variables.
4009 (sql-build-completions-1, sql-build-completions)
4010 (sql-try-completion): New functions.
4011 (sql-read-table-name): Use them.
4012 (sql-contains-names): New buffer local variable.
4013 (sql-list-all, sql-list-table): Use it.
4014 (sql-oracle-completion-types): New variable.
4015 (sql-oracle-completion-object, sql-sqlite-completion-object)
4016 (sql-postgres-completion-object): New functions.
4017
d4eaeab1
GM
40182011-07-06 Glenn Morris <rgm@gnu.org>
4019
4020 * window.el (pop-to-buffer): Doc fix.
4021
322b7dab 40222011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
4023
4024 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4025
322b7dab 40262011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 4027
322b7dab 4028 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 4029
322b7dab 4030 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 4031
605dd5bf
CY
40322011-07-05 Chong Yidong <cyd@stupidchicken.com>
4033
4034 * button.el (button): Inherit from link face. Suggested by Dan
4035 Nicolaescu.
4036
7dbfa719
SM
40372011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4038
3db614b0
SM
4039 * progmodes/gdb-mi.el: Fit in 80 columns.
4040 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4041 switch-to-buffer.
4042
7dbfa719
SM
4043 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4044 if imenu is simply not configured (bug#8941).
4045
919d884a
KM
40462011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
4047
4048 * allout.el (allout-post-undo-hook): New allout outline-change
4049 event hook to signal undo activity.
4050 (allout-post-command-business): Run allout-post-undo-hook if an
4051 undo just occurred.
7dbfa719
SM
4052 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4053 * allout-widgets.el (allout-widgets-after-undo-function):
4054 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
4055 in the vicinity of an undo.
4056 (allout-widgets-mode): Include allout-widgets-after-undo-function
4057 on the new allout-post-undo-hook.
4058
450a0f09
SM
40592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4062 Let define-derived-mode define it.
4063 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4064 cycles of abbrev-table inheritance (bug#8998).
4065
2de69e00
RW
40662011-07-05 Roland Winkler <winkler@gnu.org>
4067
4068 * textmodes/bibtex.el: Add support for biblatex.
4069 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4070 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4071 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4072 (bibtex-entry-alist, bibtex-field-alist): New variables.
4073 (bibtex-entry-field-alist): Obsolete alias for
4074 bibtex-BibTeX-entry-alist.
4075 (bibtex-entry-alist, bibtex-field-alist): New widgets.
4076 (bibtex-set-dialect): New command.
4077 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
4078 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4079 Bind via bibtex-set-dialect.
2de69e00
RW
4080 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4081 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4082 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4083 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4084 Define via bibtex-set-dialect.
450a0f09
SM
4085 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4086 Obey bibtex-no-opt-remove-re.
2de69e00
RW
4087 (bibtex-vec-push, bibtex-vec-incr): New functions.
4088 (bibtex-format-entry, bibtex-field-list)
4089 (bibtex-print-help-message, bibtex-validate)
4090 (bibtex-search-entries): Use new format of bibtex-entry-alist.
4091
2dcdbdd9
SM
40922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4093
4094 * progmodes/compile.el (compilation-goto-locus):
4095 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4096 * bs.el (bs-cycle-next, bs-cycle-previous):
4097 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4098 * bindings.el (mode-line-other-buffer):
4099 * autoinsert.el (auto-insert):
4100 * arc-mode.el (archive-extract):
4101 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4102
b27640fe
JB
41032011-07-05 Juanma Barranquero <lekktu@gmail.com>
4104
4105 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4106 Fix check of `emacs-lock-unlockable-modes'.
4107 Coerce true values of `emacs-lock--try-unlocking' to t.
4108
53bbe3ad
JB
41092011-07-05 Juanma Barranquero <lekktu@gmail.com>
4110
4111 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4112 * emacs-lock.el: New file.
4113
1d3cdbc7
JD
41142011-07-05 Julien Danjou <julien@danjou.info>
4115
4116 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4117 than `boundp' to check if face is set.
4118
9173deec
JB
41192011-07-05 Juanma Barranquero <lekktu@gmail.com>
4120
4121 * register.el (registerv-make):
4122 * window.el (window-min-height): Fix typos in docstrings.
4123
869795d6
JD
41242011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4125
9173deec 4126 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
4127 Update doc string.
4128
b768cdcd
JB
41292011-07-04 Juanma Barranquero <lekktu@gmail.com>
4130
4131 * server.el (server-execute): Catch quit and call
4132 `server-return-error' to pass the error back to emacsclient and
4133 close the connection (bug#8942).
4134
13aa217b
KM
41352011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
4136
4137 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4138 insecure exception for current topic. Also note that auto-saves
4139 are handled differently.
4140
4141 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4142 State variables for tracking auto-save inhibition situation.
4143
4144 (allout-write-contents-hook-handler): Rename from
4145 'allout-write-file-hook-handler', and describe how it depends on
4146 write-contents-functions sensitivity to non-nil value to prevent
4147 file write.
4148
4149 (allout-auto-save-hook-handler): Remove. auto-save does not check
4150 this in individual buffers, only in the starting buffer, so this
4151 is not the right way for us to inhibit auto-save in a buffer
4152 according to its condition.
4153
4154 (allout-mode): Use new allout-write-contents-hook-handler, and
4155 only with write-contents-functions. Remove auto-save provisions -
4156 they're implemented elsewhere.
4157
4158 (allout-before-change-handler): If undo is in progress, note that
4159 for attention of allout-post-command-business.
4160
4161 (allout-post-command-business): If the command we're following was
4162 an undo, check for change in the status of encrypted items and
4163 adjust auto-save inhibitions accordingly.
4164
4165 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4166 according to whether there are or aren't any plain-text topics
4167 pending encryption.
4168
2dcdbdd9
SM
4169 (allout-inhibit-auto-save-info-for-decryption):
4170 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
4171 there are plain-text topics pending encryption.
4172
4173 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4174 buffer-saved-size and some allout state to not inhibit auto-saves
4175 if there are no longer any plain-text topics pending encryption.
4176
0757af94
SM
4177 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4178 No longer provide for exemption of the current topic.
13aa217b 4179
ac89b32c
JL
41802011-07-04 Juri Linkov <juri@jurta.org>
4181
4182 Add 7z operations to delete and save changed members (bug#8968).
4183 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4184 New defcustoms.
4185 (archive-7z-write-file-member): New function.
4186 (archive-7z-summarize): Fix the number of dashes in the
4187 listing output.
4188
8fa39615
SM
41892011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4190
4191 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4192 (bug#8958).
4193
2f11b3f1
CY
41942011-07-04 Chong Yidong <cyd@stupidchicken.com>
4195
d66fef2b
CY
4196 * bindings.el: Ignore next-buffer and previous-buffer in
4197 minibuffer-local-map.
4198
2f11b3f1
CY
4199 * font-lock.el (font-lock-builtin-face): Change light background
4200 color to dark slate blue (Bug#6693).
4201
f932a347
WD
42022011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4203
4204 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4205
c8af70e1
SM
42062011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4207
4208 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4209 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4210 Add switch-to-buffer.
4211
f158badc
LMI
42122011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4213
4214 * isearch.el (isearch-search-fun-function): Clarify further the
4215 meaning of the function returned.
4216
6d95bd46
MA
42172011-07-04 Michael Albinus <michael.albinus@gmx.de>
4218
4219 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4220
4221 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4222 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4223 Use it.
4224 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4225 `tramp-default-remote-path' does not exist.
4226 (tramp-send-command-and-read): New optional argument NOERROR.
4227 (tramp-open-connection-setup-interactive-shell)
4228 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4229 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4230 (tramp-process-sentinel): Flush also process' connection property.
4231 (tramp-sh-handle-start-file-process): Do not set process
4232 sentinel. It is done now ...
4233 (tramp-maybe-open-connection): ... here. (Bug#8929)
4234
909e6b67
MK
42352011-07-04 MON KEY <monkey@sandpframing.com>
4236
4237 * play/animate.el (animate-string): Doc fixes and allow changing
4238 the buffer name (bug#5417).
4239
42402011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4241
c8af70e1 4242 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 4243
f34755dc
PE
42442011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4245
396cec72
PE
4246 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4247 This is simpler and helps future-proof the code.
4248 (timer-until): Use time-subtract and float-time.
08235028 4249 (timer--time-less-p): Use time-less-p.
f34755dc 4250
56e6cc31
JB
42512011-07-04 Juanma Barranquero <lekktu@gmail.com>
4252
3abb79e5
JB
4253 * type-break.el (timep): Use the value of `float-time' to avoid a
4254 byte-compiler warning.
4255
56e6cc31
JB
4256 * server.el (server-eval-and-print): Return any result, even nil.
4257
7b9430b4
PE
42582011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4259
4260 * type-break.el: Accept time formats that the builtins accept.
4261 (timep, type-break-time-difference): Accept any format that
4262 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4263 This is simpler and helps future-proof the code.
4264 (type-break-time-difference): Round rather than ignoring
4265 subseconds components.
4266
3034e9e7
LMI
42672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4268
4269 * info.el (Info-apropos-matches): Make non-interactive, since it
4270 doesn't seem to do anything useful as a command (bug#8829).
4271
1485f4c0
CY
42722011-07-03 Chong Yidong <cyd@stupidchicken.com>
4273
4274 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 4275 Move from faces.el.
1485f4c0
CY
4276 (frame-default-terminal-background): New function.
4277
4278 * custom.el (custom-push-theme): Don't record faces in `changed'
4279 theme; this doesn't work correctly for per-frame face settings.
4280 (disable-theme): Use face-set-after-frame-default to reset faces.
4281 (custom--frame-color-default): New function.
4282
9fa3dd45
LMI
42832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4284
c8af70e1 4285 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
4286 (bug#8769).
4287
6cbbc20c
KR
42882011-03-29 Kevin Ryde <user42@zip.com.au>
4289
4290 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4291 `perl-Test2' extend to match possible "fail #N" rep count
4292 (bug#8377).
4293
c7f98048
LMI
42942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4295
65676592
LMI
4296 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4297 `smtpmail-via-smtp' now returns the error instead of nil.
4298
c7f98048
LMI
4299 * isearch.el (isearch-search-fun-function): Clarify the doc string
4300 (bug#8101).
4301
56e6cc31 43022011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
4303
4304 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4305 unnecessary spaces (bug#8987).
4306
2b216704
LMI
43072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4308
4309 * net/network-stream.el (open-network-stream): Use the
4310 :end-of-capability command thoughout.
4311
43122011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4313
4314 * net/network-stream.el (open-network-stream): Add the
4315 :end-of-capability command parameter, used by pop3.el.
4316
36adf6ce
LMI
43172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4318
1ca0da0e
LMI
4319 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4320
fc00f69c
LMI
4321 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4322 for list)" (bug#6475).
4323
28fd8759 4324 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 4325 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
4326 an error (bug#6297).
4327
0dd8b6da
LMI
4328 * man.el (Man-reference-regexp): Allow matching possible
4329 word-wrapped references (bug#6289).
4330
ce1438d6
LMI
4331 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4332 for consistency with the other vc buffers (bug#6197).
4333 (vc-checkin): Ditto.
4334
4335 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4336
36adf6ce
LMI
4337 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4338
e83cc1f7
LMI
43392011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4340
8a20ca4c
LMI
4341 * custom.el (defcustom): Clarify that :set is only used in the
4342 Customize user interface (bug#6089).
4343
83319045
LMI
4344 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4345 associated with a file, refuse to run instead of erroring out
4346 (bug#6084).
4347
a8392169
LMI
4348 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4349 the doc string, since it appears that using `fill-column' always
4350 controls the width (bug#7845).
4351
e83cc1f7
LMI
4352 * simple.el (shell-command-on-region): Say where the error output
4353 went if `shell-command-default-error-buffer' is set (bug#6857).
4354
e47ca23b
KM
43552011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4356
4357 * allout.el (allout-yank-processing): Adjust cursor position for
4358 backwards-deleted space.
4359
4360 (allout-rebullet-heading): Register changes with
4361 allout-exposure-changed-hook, so the modified topic is properly
4362 decorated.
4363
5cf56143
LMI
43642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4365
08549772
LMI
4366 * minibuffer.el (completion-in-region): Document PREDICATE
4367 (bug#7136).
4368
48e96771
LMI
4369 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4370 of keyword/argument pairs (bug#6904).
4371
c8af70e1
SM
4372 * replace.el (multi-occur):
4373 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 4374
e17d05e2
LMI
43752011-07-02 Drew Adams <drew.adams@oracle.com>
4376
4377 * dired.el (dired-mark-if): Make the message about whether it's
4378 marking or unmarking clearer (bug#8523).
4379
063b0e45
LMI
43802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4381
4382 * disp-table.el (display-table-print-array): New function.
4383 (describe-display-table): Use it to print the vectors more pretty
4384 (Bug#8859).
4385
28545e04
MR
43862011-07-02 Martin Rudalics <rudalics@gmx.at>
4387
4388 * window.el (window-state-get-1): Don't assign clone numbers.
4389 Add clone-of item to list of window parameters.
4390 (window-state-put-2): Don't process clone numbers.
4391 (display-buffer-alist): Fix doc-string.
4392
3349e122
SM
43932011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4394
4395 * subr.el (remq): Don't allocate if it's not needed.
4396 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4397 (keymap--merge-bindings): New functions.
4398 (keymap-canonicalize): Use them to refine the canonicalization.
4399 * minibuffer.el (minibuffer-local-completion-map)
4400 (minibuffer-local-must-match-map): Move initialization from C.
4401 (minibuffer-local-filename-completion-map): Move initialization from C;
4402 don't inherit from anything here.
4403 (minibuffer-local-filename-must-match-map): Make obsolete.
4404 (completing-read-default): Use make-composed-keymap to combine
4405 minibuffer-local-filename-completion-map with either
4406 minibuffer-local-must-match-map or
4407 minibuffer-local-filename-completion-map.
4408
d224ac83
GM
44092011-07-01 Glenn Morris <rgm@gnu.org>
4410
3de63bf8
GM
4411 * type-break.el (type-break-time-sum): Use dolist.
4412
d224ac83
GM
4413 * textmodes/flyspell.el (flyspell-word-search-backward):
4414 Replace CL function.
4415
1a1e3f32
SM
44162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4417
fe3f64d5
SM
4418 * mouse.el (mouse--strip-first-event): New function.
4419 (function-key-map): Use it to map fringe clicks to normal clicks
4420 by default.
4421
eb604e34
SM
4422 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4423 (vc-bzr-revision-completion-table): Add support for annotate and date.
4424
1a1e3f32
SM
4425 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4426 inherit from parent.
4427
5bd35902
LMI
44282011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4429
ace6c69c 4430 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 4431 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 4432
191e2bed
LMI
4433 * dired.el (dired-mode): Fix up the doc string as suggested by
4434 Drew Adams (bug#8817).
4435
5bd35902
LMI
4436 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4437 cookie, since the manual says that it should be possible to add
4438 this function to `find-file-hook' (bug#8709).
4439
eee8207a
TZ
44402011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4441
4442 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4443 here. Noted Ted Zlatanov as the maintainer.
4444 (cfengine-common-settings, cfengine-common-syntax): New functions
4445 to set up common things between `cfengine-mode' and
4446 `cfengine3-mode'.
4447 (cfengine3-mode): New mode.
4448 (cfengine3-defuns cfengine3-defuns-regex
4449 (cfengine3-class-selector-regex cfengine3-category-regex)
4450 (cfengine3-vartypes cfengine3-font-lock-keywords)
4451 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 4452 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 4453
36b148cf
MA
44542011-07-01 Michael Albinus <michael.albinus@gmx.de>
4455
4456 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4457
4458 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4459
0bf4ba9a
MR
44602011-07-01 Martin Rudalics <rudalics@gmx.at>
4461
4462 * window.el (same-window-buffer-names, same-window-regexps)
4463 (same-window-p, special-display-frame-alist)
4464 (special-display-popup-frame, special-display-function)
4465 (special-display-buffer-names, special-display-regexps)
4466 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4467 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4468 (split-window-preferred-function, split-height-threshold)
4469 (split-width-threshold, even-window-heights)
4470 (display-buffer-mark-dedicated, window-splittable-p)
4471 (split-window-sensibly, window-safely-shrinkable-p):
4472 Un-obsolete.
4473 (display-buffer): Don't spread args with function specifier
4474 because special-display-popup-frame won't like it.
4475
35837f51
PE
44762011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4477
d0672f86
PE
4478 Time-stamp simplifications and fixes.
4479 These improve accuracy slightly, and future-proof the code
4480 against some potential changes to current-time format.
4481
b9444d97
PE
4482 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4483 by using time-since and float-time.
4484
0ef923dc
PE
4485 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4486 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4487 + NNN microseconds".
4488
2f81380d
PE
4489 * type-break.el (type-break-time-sum): Rewrite using time-add.
4490
845b5c3e
PE
4491 * play/hanoi.el (hanoi-current-time-float): Remove.
4492 All uses replaced by float-time.
4493
ee6f1be0
PE
4494 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4495 This yields a more-accurate answer.
4496 (rng-time-to-float): Remove; no longer needed.
4497
fe955043
PE
4498 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4499
5777162a
PE
4500 * calendar/timeclock.el (timeclock-seconds-to-time):
4501 Defalias to seconds-to-time, since they're the same thing.
4502
3103f8b6 4503 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 4504 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
4505 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4506
0e61a35f
SM
45072011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4508
4509 * window.el (bury-buffer): Don't iconify the only frame.
4510 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4511 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4512
ddd63a1e
CY
45132011-07-01 Chong Yidong <cyd@stupidchicken.com>
4514
0e61a35f
SM
4515 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4516 Add mouse-yank-primary.
ddd63a1e 4517
055f4923
TZ
45182011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4519
4520 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4521
6a2fb145
SM
45222011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4525 (find-library-name): Use it to find relative load names when provided
4526 absolute file name (bug#8803).
4527
fd4983f2
LMI
45282011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4529
887d14ad
LMI
4530 * textmodes/flyspell.el (flyspell-word): Consider words that
4531 differ only in case as potential doublons (bug#5687).
4532
c53dc7fc
LMI
4533 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4534 Remove two rather uninteresting debugging-like messages to make
4535 debbugs.el more silent.
4536
fd4983f2
LMI
4537 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4538 a password-like phrase.
4539
b14c0c55
AM
45402011-06-30 Mastake YAMATO <yamato@redhat.com>
4541
4542 * progmodes/cc-guess.el: New file.
4543
6a2fb145 4544 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
4545
4546 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4547 derived from `c-basic-common-init'.
4548
4549 * progmodes/cc-mode.el (top-level): Require cc-guess.
4550 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4551
1fa280a3
LM
45522011-06-30 Lawrence Mitchell <wence@gmx.li>
4553
4554 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4555
e6597158
AM
45562011-06-30 Alan Mackenzie <acm@muc.de>
4557
1fa280a3
LM
4558 * progmodes/cc-engine.el (c-guess-continued-construct):
4559 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4560 lock is disabled. Name this case as "CASE G".
4561
68ba37fb
KM
45622011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4563
4564 * allout.el (allout-yank-processing): Fix injection of extra space
4565 between bullet and non-whitespace character in first topic when
4566 pasting, ensuring that the actual spacing in the pasted topic
4567 following the bullet char is preserved. This extra space was
4568 causing pasted encrypted topics to get a decrypted status even
4569 when the content was actually still encrypted. Now the decryption
4570 status from before the paste is preserved.
4571
4572 (allout-flag-region): Set all allout overlays so they evaporate
4573 when reduced to zero length (evanescent), to prevent overlay
4574 leakage.
4575
887a0b34
GM
45762011-06-30 Glenn Morris <rgm@gnu.org>
4577
94b9acce
GM
4578 * w32-fns.el (w32-charset-info-alist): Declare.
4579
1d9b46d4
GM
4580 * find-dired.el (find-grep-options): Simplify.
4581
cc232200
GM
4582 * term/ns-win.el (ns-set-resource): Declare.
4583
28e77c46
GM
4584 * ses.el (row, col): Declare dynamic variables honestly.
4585
887a0b34
GM
4586 * textmodes/reftex-parse.el (index-tags): Declare.
4587
658d8eb8
CY
45882011-06-30 Chong Yidong <cyd@stupidchicken.com>
4589
4590 * cus-edit.el (customize-push-and-save): New function.
4591
4592 * files.el (hack-local-variables-confirm): Use it.
4593
1fa280a3
LM
4594 * custom.el (load-theme): New arg NO-CONFIRM.
4595 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4596 (custom-enabled-themes): Doc fix.
4597
4598 * cus-theme.el (customize-create-theme)
4599 (custom-theme-merge-theme): Callers to load-theme changed.
4600
bb617717
LMI
46012011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4602
d61bdd5d
LMI
4603 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4604 short URLs have at least one dot in them (bug #7614).
4605
bb617717
LMI
4606 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4607 nil, because using a pty is apparently too slow (bug #895).
4608
2f31f37a
LMI
46092011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4610
4611 * mail/sendmail.el (sendmail-query-once): New function.
4612 (sendmail-query-once-function): New variable.
4613
3076b24e
GM
46142011-06-29 Glenn Morris <rgm@gnu.org>
4615
faf2a174
GM
4616 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4617
3076b24e
GM
4618 * ses.el (top-level): Require cl when compiling.
4619 (ses-set-localvars): Fix error statement.
4620 Call it at compile time to silence a storm of warnings.
4621
5386012d
MR
46222011-06-29 Martin Rudalics <rudalics@gmx.at>
4623
4624 * window.el (normalize-live-buffer): Rename to
4625 window-normalize-buffer.
4626 (normalize-live-frame): Rename to window-normalize-frame.
4627 (normalize-any-window): Rename to window-normalize-any-window.
4628 (normalize-live-window): Rename to window-normalize-live-window.
4629 (make-window-atom): Rename to window-make-atom.
4630 (window-resize-reset): Rename to window--resize-reset.
4631 (window-resize-reset-1): Rename to window--resize-reset-1.
4632 (resize-mini-window): Rename to window--resize-mini-window.
4633 (resize-subwindows-skip-p): Rename to
4634 window--resize-subwindows-skip-p.
4635 (resize-subwindows-normal): Rename to
4636 window--resize-subwindows-normal.
4637 (resize-subwindows): Rename to window--resize-subwindows.
4638 (resize-other-windows): Rename to window--resize-siblings.
4639 (resize-this-window): Rename to window--resize-this-window.
4640 (resize-root-window): Rename to window--resize-root-window.
4641 (resize-root-window-vertically): Rename to
4642 window--resize-root-window-vertically.
4643 (normalize-buffer-to-display): Rename to
4644 window-normalize-buffer-to-display.
4645 (normalize-buffer-to-switch-to): Rename to
4646 window-normalize-buffer-to-switch-to.
4647 Correspondingly update all callers of the functions listed
4648 above.
4649 (display-buffer-alist, display-buffer-normalize-arguments)
4650 (display-buffer-normalize-options, display-buffer)
4651 (display-buffer-alist-set): Use "function" instead of
4652 "fun-with-args".
4653
1176868d
CY
46542011-06-28 Chong Yidong <cyd@stupidchicken.com>
4655
4656 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4657 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4658 debbugs.gnu.org. Mention acknowledgment email.
4659
20a7a65f
LMI
46602011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4661
4662 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4663 buffer multibyteness, since it shouldn't matter.
4664
5f45cca5
MR
46652011-06-28 Martin Rudalics <rudalics@gmx.at>
4666
4667 * window.el (display-buffer-in-side-window): Handle dedicated
4668 windows as in display-buffer-reuse-window.
4669 (display-buffer-normalize-alist): Use value of override
4670 specifier.
4671 (display-buffer-normalize-specifiers): Use value of
4672 other-window-means-other-frame specifier.
4673 (display-buffer-alist): Rewrite some texts in widgets.
4674 (display-buffer): Spread arguments when calling function
4675 specified by fun-with-args.
4676
ad85fe1f
DD
46772011-06-28 Deniz Dogan <deniz@dogan.se>
4678
1fa280a3
LM
4679 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4680 Unnest `let'.
da68c4c8 4681
ad85fe1f
DD
4682 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4683 selectors (Bug#5732).
ec49bd31 4684 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4685
a08cc025
JA
46862011-06-27 Jari Aalto <jari.aalto@cante.net>
4687
4688 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4689 (eshell-ls-date-format): New defcustom.
4690 (eshell-ls-file): Use it.
4691
e2b551c5
SM
46922011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4693
4694 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4695
8982b231
KY
46962011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4697
4698 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4699 (ange-ftp-make-tmp-name): New arg.
4700 (ange-ftp-file-local-copy): Use it.
4701
36c9fa27
J
47022011-06-27 Jambunathan K <kjambunathan@gmail.com>
4703
4704 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4705 no-conversion (Bug#8870).
4706
d68443dc
MR
47072011-06-27 Martin Rudalics <rudalics@gmx.at>
4708
4709 * window.el (window-right, window-left, window-child)
4710 (window-child-count, window-last-child)
4711 (window-iso-combination-p, walk-window-tree-1)
4712 (window-atom-check-1, window-tree-1, delete-window)
4713 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4714 new naming conventions - window-vchild, window-hchild,
4715 window-next and window-prev are now called window-top-child,
4716 window-left-child, window-next-sibling and window-prev-sibling
4717 respectively.
d615d6d2
MR
4718 (resize-window-reset): Rename to window-resize-reset.
4719 (resize-window-reset-1): Rename to window-resize-reset-1.
4720 (resize-window): Rename to window-resize.
4721 (window-min-height, window-min-width)
4722 (resize-mini-window, resize-this-window, resize-root-window)
4723 (resize-root-window-vertically, adjust-window-trailing-edge)
4724 (enlarge-window, shrink-window, maximize-window)
4725 (minimize-window, delete-window, quit-restore-window)
4726 (split-window, balance-windows, balance-windows-area-adjust)
4727 (balance-windows-area, window-state-put-2)
4728 (display-buffer-even-window-sizes, display-buffer-set-height)
4729 (display-buffer-set-width, set-window-text-height)
4730 (fit-window-to-buffer): Rename all "resize-window" prefixed
4731 calls to use the "window-resize" prefix convention.
4732 (display-buffer-alist): Fix symbol for label specifier.
4733 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4734 corresponding specifier.
4735 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4736
b6458526
VB
47372011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4738
4739 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4740 convention.
4741 (ses-call-printer): Does not pass an empty string to formatter when the
4742 cell is empty to keep from barking printer Calc math-format-value.
4743
d31fd9ac
RS
47442011-06-27 Richard Stallman <rms@gnu.org>
4745
43d5bf84
RS
4746 * battery.el (battery-mode-line-limit): New variable.
4747 (battery-update): Handle it.
4748
d31fd9ac
RS
4749 * mail/rmailmm.el (rmail-mime-process-multipart):
4750 Handle truncated messages.
4751
819a6054
GM
47522011-06-27 Glenn Morris <rgm@gnu.org>
4753
4754 * progmodes/flymake.el (flymake-err-line-patterns):
4755 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4756
cedc73f2
VB
47572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4758
819a6054 4759 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4760 (ses--clean-!, ses--clean-_): New functions.
4761 (ses-range): Add configurability of readout order, and conversion
4762 to Calc vector.
4763
5e5d49b6
VB
4764 * ses.el (ses-repair-cell-reference-all): New function.
4765 (ses-cell-symbol): Set macro as safe, so that it can be used in
4766 formulas.
4767
56e6cc31 4768 * ses.el: Update cycle detection algorithm.
90ca8b49 4769 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4770 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4771 (ses-set-localvars): New function.
4772 (ses-make-cell): Add property-list as a cell element.
4773 (ses-cell-property-get-fun, ses-cell-property-get)
4774 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4775 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4776 New functions.
90ca8b49
VB
4777 (ses-cell-property-set, ses-cell-property-pop)
4778 (ses-cell-property-get-handle): New macro.
4779 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4780 New aliases, used for code readability.
4781 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4782 cycle detection.
4783 (ses-self-reference-early-detection): New defcustom.
4784 (ses-formula-references): Robustify against self-refering cells.
4785 (ses-mode): Use ses-set-localvars.
4786 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4787 before lauching the update processing.
4788 (ses-initialize-Dijkstra-attempt): New function.
4789 (ses-recalculate-cell): Update for cycle detection based on
4790 Dijkstra algorithm.
4791
2bb63e81
VB
4792 * ses.el: Fix commenting and indenting convention.
4793
c9d29fb8
SM
47942011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4795
4796 * bs.el (bs-cycle-next): Complete last change.
4797
d8e4b68b
JB
47982011-06-27 Drew Adams <drew.adams@oracle.com>
4799
4800 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4801
40098786
LMI
48022011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4803
c9d29fb8
SM
4804 * net/network-stream.el (network-stream-open-starttls):
4805 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4806 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4807
40098786
LMI
4808 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4809 to binary to possibly avoid line encoding issues on Windows (among
4810 other things).
4811
468d09d4
LMI
48122011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4813
4814 * net/network-stream.el (open-network-stream): Return an :error
4815 saying what the problem was, if possible.
4816
4817 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4818 server.
4819
4820 * net/network-stream.el (network-stream-open-starttls): If we
4821 wanted to use STARTTLS, and the server offered it, but we weren't
4822 able to because we had no STARTTLS support, then close the connection.
4823 (open-network-stream): Return an :error element, if present.
4824
16f07dd7
CY
48252011-06-26 Chong Yidong <cyd@stupidchicken.com>
4826
88821ca0
CY
4827 * hl-line.el (hl-line-sticky-flag): Doc fix.
4828 (global-hl-line-sticky-flag): New option (Bug#8323).
4829 (global-hl-line-highlight): Obey it.
4830
16f07dd7
CY
4831 * vc/vc.el (vc-revert-show-diff): Default to t.
4832
6b5ccddf
KM
48332011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4834
c9d29fb8
SM
4835 * allout-widgets.el (allout-widgets-post-command-business):
4836 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4837 undecorated when an isearch is continued past, and isearch
4838 automatically collapses them. This leads to "widget leaks", where
4839 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4840 hidden widgets can slow down cursor travel, substantially.
4841 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4842 so we're doing without this nicety.
4843
4844 (allout-widgets-tally-string): Don't try to do a hash-table-count
4845 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4846 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4847 *Messages* when allout-widgets-maintain-tally is t.
4848
355f2e07
MR
48492011-06-26 Martin Rudalics <rudalics@gmx.at>
4850
4851 * window.el (display-buffer-normalize-argument): Rename to
4852 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4853 LABEL argument. Respect special-display-function when popping up
4854 a new frame. Fix code searching for a window showing the buffer
4855 on another frame.
c9d29fb8
SM
4856 (display-buffer-normalize-specifiers):
4857 Call display-buffer-normalize-arguments.
355f2e07
MR
4858 (display-buffer-in-window): Don't undedicate the window if its
4859 buffer remains the same.
4860 Reported by Drew Adams <drew.adams@oracle.com>.
4861 (display-buffer-alist): Add choice for same-window macro
4862 specfier.
4863 (display-buffer): Mention special meaning of LABEL argument in
4864 doc-string. Fix quoting. Don't pop up a new frame even as
4865 fallback.
4866
7ca8fc42
JB
48672011-06-26 Juanma Barranquero <lekktu@gmail.com>
4868
4869 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4870 avoid deleting the current window in some cases (bug#8911).
4871
bc312254
AS
48722011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4873
4874 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4875 (Bug#8934)
4876
2db18f3f
LMI
48772011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4878
c9d29fb8
SM
4879 * net/network-stream.el (network-stream-open-starttls):
4880 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4881 (network-stream-open-tls): Ditto.
4882
6302e0d3
LL
48832011-06-26 Leo Liu <sdl.web@gmail.com>
4884
4885 * register.el (registerv): New struct.
4886 (registerv-make): New function.
c9d29fb8
SM
4887 (jump-to-register, describe-register-1, insert-register):
4888 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4889 struct. (Bug#8415)
4890
5fdd4046
CY
48912011-06-26 Chong Yidong <cyd@stupidchicken.com>
4892
2afef60a
CY
4893 * vc/vc.el (vc-revert-show-diff): New defcustom.
4894 (vc-diff-internal): New arg specifying diff buffer.
4895 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4896 reuse an existing *vc-diff* buffer (Bug#8927).
4897
5fdd4046
CY
4898 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4899
e93db24a
GM
49002011-06-26 Glenn Morris <rgm@gnu.org>
4901
4902 * progmodes/f90.el (f90-critical-indent): New option.
4903 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4904 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4905 (f90-mode): Doc fix.
4906 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4907 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4908 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4909 (f90-match-end): Handle block, critical.
4910
eefff499
GM
49112011-06-25 Glenn Morris <rgm@gnu.org>
4912
f6ba4cc9
GM
4913 * calendar/diary-lib.el (diary-included-files): Doc fix.
4914 (diary-include-files): New function, extracted from
4915 diary-include-other-diary-files and diary-mark-included-diary-files.
4916 (diary-include-other-diary-files, diary-mark-included-diary-files):
4917 Just call diary-include-files.
4918 (diary-mark-entries): Reset diary-included-files on first call.
4919
16712304
GM
4920 * calendar/diary-lib.el (diary-mark-entries)
4921 (diary-mark-included-diary-files):
4922 Visit included diary-files in temp buffers.
4923
5d8e0d43
GM
4924 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4925 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4926 (f90-start-block-re, f90-imenu-generic-expression)
4927 (f90-looking-at-program-block-start, f90-no-block-limit):
4928 Add support for submodules.
4929
ccf7a5d5
GM
4930 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4931 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4932
11fdef7d 49332011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4934
4935 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4936 buffer-file-type before setting its value, to avoid disastrous
eefff499 4937 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4938
74f53697
JB
49392011-06-25 Juanma Barranquero <lekktu@gmail.com>
4940
4941 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4942
4943 * ses.el (ses-unload-function):
4944 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4945
4946 * proced.el (proced-unload-function):
4947 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4948
18a4ce5e
AR
49492011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4950
4951 * server.el (server-create-window-system-frame): Add parameters arg.
4952 (server-process-filter): Doc fix. Handle frame-parameters.
4953
519d22cc
JB
49542011-06-25 Juanma Barranquero <lekktu@gmail.com>
4955
4956 Fix bug#8730, bug#8781.
4957
4958 * loadhist.el (unload--set-major-mode): New function.
4959 (unload-feature): Use it.
4960
4961 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4962 (python-unload-function): New function.
4963
c206f5b0
SM
49642011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4967
f9ad64f3
GS
49682011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4969
4970 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4971 the candidates list.
4972
7d0da90e
JB
49732011-06-24 Juanma Barranquero <lekktu@gmail.com>
4974
4975 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4976
14b4e83d
RS
49772011-06-23 Richard Stallman <rms@gnu.org>
4978
4979 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4980 (rmail-variables): Set next-error-move-function.
4981 (rmail-what-message): Take argument POS.
4982 (rmail-next-error-move): New function.
4983
273d2baf
SM
49842011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4985
4986 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4987 messages for adjacent non-terminals.
4988
56c2cc9a
RS
49892011-06-23 Richard Stallman <rms@gnu.org>
4990
4991 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4992 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4993 (rmail-start-mail): Don't specify use of rmail-mail-return;
4994 that's done by mail-bury now.
4995 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4996
d59eb518
MA
49972011-06-23 Michael Albinus <michael.albinus@gmx.de>
4998
4999 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5000 SIZE is a number.
5001
02cfc6d6
MR
50022011-06-23 Martin Rudalics <rudalics@gmx.at>
5003
5004 * window.el (get-lru-window, get-mru-window)
5005 (get-largest-window): Never return a minibuffer window.
5006 (display-buffer-pop-up-window): Fix a bug that could lead to
5007 reusing the minibuffer window.
5008 (display-buffer): Pass original specifier argument to
5009 display-buffer-function instead of the normalized one.
5010 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5011
4e323265
LL
50122011-06-22 Leo Liu <sdl.web@gmail.com>
5013
5014 * minibuffer.el (completing-read-function)
5015 (completing-read-default): Move from minibuf.c
5016
7a70468f
RS
50172011-06-22 Richard Stallman <rms@gnu.org>
5018
50718fc2
RS
5019 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5020 to Rmail even if not started by a special Rmail command.
5021
7a70468f
RS
5022 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5023 Copy the buffer currently showing just one message.
5024
297dde5a
RW
50252011-06-22 Roland Winkler <winkler@gnu.org>
5026
5027 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5028 (bibtex-clean-entry): First delete the old key so that a
5029 customized algorithm for generating the new key does not get
5030 confused by the old key.
5031 (bibtex-url): Obey regexp of first step.
5032 (bibtex-search-entries): Do not use add-to-list with local
5033 list-var.
5034
97bb1093
LMI
50352011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5036
5037 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5038 stored a user name, then query for the password first, instead of
5039 waiting for SMTP to give an error message and the trying again.
5040
1c0f1a19
JD
50412011-06-22 Lawrence Mitchell <wence@gmx.li>
5042
5043 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5044 BUFFER in call-process.
5045
396f7c9d
LMI
50462011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5047
5048 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5049 QUIT twice.
ddb7ffee
LMI
5050 (smtpmail-try-auth-methods): Require user name and password from
5051 auth-source.
396f7c9d 5052
8998d1b3
MR
50532011-06-22 Martin Rudalics <rudalics@gmx.at>
5054
5055 * window.el (display-buffer-default-specifiers)
5056 (display-buffer-alist): Remove entries for pop-up-frame-alist.
5057 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 5058 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
5059
5060 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5061 (special-display-frame-alist, special-display-popup-frame):
5062 Remove duplicate declarations. These are now in window.el.
5063
4ea31e07
LMI
50642011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5065
c9d29fb8
SM
5066 * mail/smtpmail.el (smtpmail-via-smtp):
5067 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
5068 server supports it. SMTP servers that support STARTTLS commonly
5069 require it.
5070
5071 * net/network-stream.el (network-stream-open-starttls): Support
5072 upgrading to STARTTLS always, even if we don't have built-in support.
5073 (open-network-stream): Add the :always-query-capabilies keyword.
5074
95f41d9a
LMI
5075 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5076 upgrades with `open-network-stream', and rely solely on
5077 auth-source for all credentials. Big changes throughout the file,
5078 but in particular:
c9d29fb8
SM
5079 (smtpmail-auth-credentials): Remove.
5080 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
5081 (smtpmail-via-smtp): Check for servers saying they want AUTH after
5082 MAIL FROM, too.
95f41d9a 5083
c9d29fb8
SM
5084 * net/network-stream.el (network-stream-open-starttls):
5085 Provide support for client certificates both for external and built-in
4ea31e07
LMI
5086 STARTTLS.
5087 (auth-source): Require.
5088 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
5089 (network-stream-certificate): Change cert-cert to cert and
5090 cert-key to key.
4ea31e07 5091
065ec2c7
MA
50922011-06-21 Michael Albinus <michael.albinus@gmx.de>
5093
5094 * net/tramp-cache.el (top): Don't load the persistency file when
5095 "emacs -Q" has been called.
5096
cd93b359
DR
50972011-06-21 Tim Harper <timcharper@gmail.com>
5098
d8e4b68b
JB
5099 * term/ns-win.el (ns-initialize-window-system):
5100 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
5101 resource to NO as it is not yet supported by the NS port.
5102
ae9c0411
JB
51032011-06-21 Juanma Barranquero <lekktu@gmail.com>
5104
5105 * misc.el (list-dynamic-libraries--refresh): Compute header here...
5106 (list-dynamic-libraries): ...not here.
5107
7f3f739f
LL
51082011-06-21 Leo Liu <sdl.web@gmail.com>
5109
5110 * subr.el (sha1): Implement sha1 using secure-hash.
5111
327c8fb1
MR
51122011-06-21 Martin Rudalics <rudalics@gmx.at>
5113
5114 * window.el (display-buffer-alist): In default value do not
5115 enforce searching a window on any but the selected frame.
5116 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5117 (display-buffer-select-window): Remove function.
5118 (display-buffer-in-window): When a window on another frame gets
5119 reused, do not select it any more but just raise its frame if
5120 necessary (Bug#8851) and (Bug#8856).
5121 (display-buffer-normalize-options): Handle pop-up-frames related
5122 options more faithfully.
5123 (pop-to-buffer): Don't rely on `display-buffer' selecting the
5124 window if it is on another frame.
c9d29fb8
SM
5125 (display-buffer-alist, display-buffer-default-specifiers):
5126 Don't make new frame unsplittable by default.
9e9de014
MR
5127 (display-buffer-normalize-argument): Fix doc-string typo and use
5128 'same-frame-other-window instead of 'other-window when associating
5129 with display-buffer-macro-specifiers.
327c8fb1 5130
7cf3f556
VB
51312011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
5132
5133 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5134 New functions.
5135 (5x5-mode-map, 5x5-mode-menu): Bind them.
5136 (5x5-draw-grid): Tweak the solver's rendering.
5137
60a406cf
SM
51382011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5141 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
5142
d8e4b68b 51432011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
5144
5145 * menu-bar.el: Use function variable instead of switch-to-buffer.
5146 (menu-bar-select-buffer-function): New variable.
60a406cf 5147 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 5148
478d6f95
SM
51492011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5152 variable's status.
5153
ca530739
JD
51542011-06-20 Jan Djärv <jan.h.d@swipnet.se>
5155
5156 * x-dnd.el (x-dnd-version-from-flags)
5157 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5158 and long as number (Bug#8899).
5159 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5160
bcd70d97
SM
51612011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5162
60a406cf 5163 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
5164 (completion-try-completion, completion-all-completions): Compute the
5165 metadata argument if it's missing; make it optional (bug#8795).
5166
60a406cf 5167 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
5168 (widget-complete): Use new :completion-function property.
5169 (widget-completions-at-point): New function.
5170 (default): Use :completion-function instead of :complete.
60a406cf
SM
5171 (widget-default-completions): Rename from widget-default-complete;
5172 Rewrite.
bcd70d97
SM
5173 (widget-string-complete, widget-file-complete, widget-color-complete):
5174 Remove functions.
5175 (file, symbol, function, variable, coding-system, color):
5176 * international/mule-cmds.el (default-input-method, charset)
5177 (language-info-custom-alist):
5178 * cus-edit.el (face): Use new property :completions.
5179
5180 * progmodes/pascal.el (pascal-completions-at-point): New function.
5181 (pascal-mode): Use it.
5182 (pascal-mode-map): Use completion-at-point.
5183 (pascal-toggle-completions): Make obsolete.
5184 (pascal-complete-word, pascal-show-completions):
5185 * progmodes/octave-mod.el (octave-complete-symbol):
5186 Redefine as obsolete alias.
5187 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5188 Signal absence of completion info for old Octave,
5189 (inferior-octave-complete): Redefine as obsolete alias.
5190 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5191 (meta-completions-at-point): Rename from meta-complete-symbol and
5192 adapt it for use on completion-at-point-functions.
5193 (meta-common-mode): Use it.
5194 (meta-looking-at-backward, meta-match-buffer): Remove.
5195 (meta-complete-symbol): Redefine as obsolete alias.
5196 (meta-common-mode-map): Use completion-at-point.
5197 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5198 (makefile-mode-map): Use completion-at-point.
5199 (makefile-completions-at-point): Rename from makefile-complete and
5200 adapt it for use on completion-at-point-functions.
5201 (makefile-mode): Use it.
5202 (makefile-complete): Redefine as obsolete alias.
5203
aebf69c8
DD
52042011-06-20 Deniz Dogan <deniz@dogan.se>
5205
5206 * net/rcirc.el: Delete trailing whitespaces once and for all.
5207
bfbbb27d
DC
52082011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5209
5210 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5211
d264a46b
CY
52122011-06-19 Chong Yidong <cyd@stupidchicken.com>
5213
4ca009e5
CY
5214 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5215
d264a46b
CY
5216 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5217
fbf5b3ce
MR
52182011-06-19 Martin Rudalics <rudalics@gmx.at>
5219
5220 * window.el (display-buffer-other-window-means-other-frame):
5221 Call display-buffer-normalize-alist.
5222 (display-buffer-normalize-specifiers-1): Rename to
5223 display-buffer-normalize-argument. New argument other-frame.
5224 Rewrite.
5225 (display-buffer-normalize-specifiers-2): Rename to
5226 display-buffer-normalize-options.
5227 (display-buffer-normalize-alist-1): New function.
5228 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
5229 display-buffer-normalize-alist.
5230 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
5231 (display-buffer-normalize-options-inhibit): New variable.
5232 (display-buffer-normalize-specifiers): Rewrite calling
5233 display-buffer-normalize-alist,
5234 display-buffer-normalize-argument, and
5235 display-buffer-normalize-options. Don't call the latter if
5236 display-buffer-normalize-options-inhibit is non-nil.
5237 (frame-auto-delete): New option.
5238 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
5239 (window-list-no-nils, window-state-ignored-parameters)
5240 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
5241 (window-state-put-1, window-state-put-2, window-state-put):
5242 New functions.
9a028c23
MR
5243 (display-buffer-normalize-options): Move special-display-p group
5244 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 5245
6d10d800
CY
52462011-06-18 Chong Yidong <cyd@stupidchicken.com>
5247
6420d28b
CY
5248 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5249 groups (Bug#8776).
5250 (rx-submatch-n): New function.
5251 (rx): Document it.
5252
ddb8b596
CY
5253 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5254 (Bug#8768).
5255
5256 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5257
77080289
CY
5258 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5259
61dfb316
CY
5260 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5261 anytime existing face settings are present (Bug#8889).
5262
6d10d800
CY
5263 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5264 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5265 Remove unused argument.
5266
be3fb2b8
MR
52672011-06-18 Martin Rudalics <rudalics@gmx.at>
5268
bcd70d97
SM
5269 * window.el (display-buffer-default-specifiers):
5270 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
5271 pop-up-window-min-width, and another reuse-window specifier
5272 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
5273 (display-buffer-normalize-specifiers-2):
5274 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
5275 pop-up-windows is unset. Add a reuse-window specifier for the
5276 case popping up a new window fails.
5277 (special-display-popup-frame): Remove double quoting.
28dec25a 5278 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 5279
1c6d8c76
SM
52802011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5283 according to comint-completion-addsuffix.
5284
5285 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5286 (pcomplete-suffix-list): Mark as obsolete.
5287 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5288 pcomplete-seen in the closure.
5289 (pcomplete-comint-setup): Setup completion-at-point as well.
5290 (pcomplete--entries): New function.
5291 (pcomplete--env-regexp): New var.
5292 (pcomplete-entries): Rewrite to work with partial-completion and
5293 without relying on pcomplete-suffix-list.
5294 (pcomplete-pare-list): Remove, unused.
5295
25aef8b8
MR
52962011-06-17 Martin Rudalics <rudalics@gmx.at>
5297
5298 * window.el (display-buffer-alist): Set pop-up-window-min-height
5299 and pop-up-window-min-width in default value. Reported by
5300 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5301 other-window-means-other-frame.
5302 (display-buffer-macro-specifiers): Comment out entry for
5303 other-window specifier.
5304 (display-buffer-other-window-means-other-frame): New function.
5305 (display-buffer-normalize-specifiers-1): New arguments
5306 buffer-name and label. Treat other-window case specially.
5307 (display-buffer-normalize-specifiers-2): Treat other-window case
5308 specially.
5309 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
5310 (display-buffer-normalize-specifiers):
5311 Call display-buffer-normalize-specifiers-3.
25aef8b8 5312
dbad4f69
MR
53132011-06-17 Martin Rudalics <rudalics@gmx.at>
5314
5315 * window.el (same-window-p): Fix two typos introduced when
5316 adding with-no-warnings.
d1067961
MR
5317 (display-buffer-normalize-specifiers-1): Don't check
5318 pop-up-frames for 'unset initialization.
5319 (display-buffer-normalize-specifiers-2): Major rewrite using
5320 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5321 (pop-up-frames, display-buffer-reuse-frames)
5322 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5323 Suggested by David Engster <deng@randomsample.de>.
5324 (even-window-heights): Initialize to 'unset.
5325 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
5326 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5327 other window case.
dbad4f69 5328
9b9c9e3a
MR
53292011-06-16 Martin Rudalics <rudalics@gmx.at>
5330
bcd70d97
SM
5331 * window.el (display-buffer-normalize-specifiers-1):
5332 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 5333 second argument of display-buffer (Bug#8865).
981d5c09
MR
5334 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5335 (switch-to-buffer-other-window-same-frame)
5336 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5337 Adams (Bug#8875).
9c2755e9
MR
5338 (display-buffer): Don't check noninteractive when calling
5339 display-buffer-pop-up-frame.
5340 (display-buffer-pop-up-frame): Never pop up a frame in
5341 noninteractive mode (Bug#8857).
67222e1d
MR
5342 (enlarge-window, shrink-window): Don't report an error when the
5343 window can't be resized as requested (Bug#8862).
9b9c9e3a 5344
2b75be67
SM
53452011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5346
9ffdd3ba
SM
5347 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5348
cb581a67
SM
5349 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5350
2b75be67
SM
5351 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5352
8c0e3589
AM
53532011-06-15 Alan Mackenzie <acm@muc.de>
5354
cb581a67
SM
5355 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5356 for declarators, disable knr checking to speed up for normal files.
5357 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 5358
b96e6cde
LMI
53592011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5360
4bba86e6
LMI
5361 * net/network-stream.el (open-network-stream): Add the keyword
5362 :always-query-capabilities for the case where you want to force a
5363 `plain' network connection, but the protocol still requires the
5364 capabilitiy command (i.e., SMTP and EHLO).
5365
2b75be67 5366 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
5367 consistency with other `-live-p' functions.
5368
efdcdbf8
SM
53692011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * window.el (same-window-buffer-names, same-window-regexps)
5372 (special-display-frame-alist, special-display-popup-frame)
5373 (special-display-function, special-display-buffer-names)
5374 (special-display-regexps, pop-up-frame-alist)
5375 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5376 (pop-up-windows, split-window-preferred-function)
5377 (split-height-threshold, split-width-threshold, even-window-heights)
5378 (display-buffer-mark-dedicated): Don't encourage the use of
5379 display-buffer-alist from Elisp code.
5380
c5cde042
DN
53812011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5382
5383 * progmodes/python.el (python-mode): Derive from prog-mode.
5384 * progmodes/ps-mode.el (ps-mode):
5385 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 5386 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
5387 * progmodes/ld-script.el (ld-script-mode): Likewise.
5388
baa1c9ab
MR
53892011-06-15 Martin Rudalics <rudalics@gmx.at>
5390
5391 * window.el (display-buffer-alist): Trim default value to avoid
5392 popping up a new frame (Bug#8857) or reusing an arbitrary window
5393 on another frame.
5394 (display-buffer): Do not fall back on popping up a new frame in
5395 batch mode (Bug#8857).
5396
c5dd5a51
CY
53972011-06-14 Chong Yidong <cyd@stupidchicken.com>
5398
5399 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5400 (custom-theme-summary): New function.
5401 (customize-themes): Use it.
5402
d647b7c4
GM
54032011-06-13 Glenn Morris <rgm@gnu.org>
5404
5405 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5406
9481c002
MR
54072011-06-13 Martin Rudalics <rudalics@gmx.at>
5408
357f93d2
MR
5409 * help.el (help-window): Remove variable.
5410 (help-window-point-marker, temp-buffer-max-height)
5411 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5412 (help-print-return-message): Don't set help-window.
5413 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5414 (help-window-setup-finish): Remove.
5415 (help-window-display-message, help-window-setup)
5416 (with-help-window): Major rewrite based on new
5417 display-buffer-window variable.
5418
5419 * help-mode.el (help-mode-finish): Remove help-window related
5420 code.
5421
5422 * view.el (view-exits-all-viewing-windows): Remove reference to
5423 view-return-to-alist in doc-string.
5424 (view-return-to-alist): Make obsolete.
5425 (view-buffer): Call pop-to-buffer-same-window and remove
5426 undo-window code.
5427 (view-buffer-other-window): Call pop-to-buffer-other-window and
5428 simplify code. Ignore second argument.
5429 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5430 simplify code. Ignore second argument.
5431 (view-return-to-alist-update): Make obsolete.
5432 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5433 Rewrite using quit-restore window parameters.
2b75be67
SM
5434 (view-mode-exit): Rename second argument to EXIT-ONLY.
5435 Rewrite using quit-restore-window.
357f93d2
MR
5436 (View-exit, View-exit-and-edit, View-leave, View-quit)
5437 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5438 appropriate arguments.
5439 (view-end-message): Use quit-restore window parameter.
5440
9481c002
MR
5441 * window.el (display-buffer-function): Rewrite doc-string.
5442 (display-buffer-window, display-buffer-alist): New variables.
5443 (display-buffer-split-specifiers)
5444 (display-buffer-side-specifiers)
5445 (display-buffer-macro-specifiers): New constants.
5446 (display-buffer-even-window-sizes, display-buffer-set-height)
5447 (display-buffer-set-width, display-buffer-select-window)
5448 (display-buffer-in-window, display-buffer-reuse-window)
5449 (display-buffer-split-window-1, display-buffer-split-window)
5450 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5451 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5452 (display-buffer-in-side-window, normalize-buffer-to-display)
5453 (display-buffer-normalize-specifiers-1)
5454 (display-buffer-normalize-specifiers-2)
2b75be67
SM
5455 (display-buffer-normalize-specifiers, display-buffer-frame):
5456 New functions.
9481c002
MR
5457 (display-buffer): Major rewrite.
5458 (display-buffer-other-window, display-buffer-other-frame)
5459 (pop-to-buffer, switch-to-buffer-other-window)
5460 (switch-to-buffer-other-frame): Rewrite.
5461 (display-buffer-same-window, display-buffer-same-frame)
5462 (display-buffer-same-frame-other-window)
5463 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5464 (pop-to-buffer-other-window)
5465 (pop-to-buffer-same-frame-other-window)
5466 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5467 (switch-to-buffer-other-window-same-frame): New functions.
5468 (same-window-p, special-display-p): Rewrite disabling warnings.
5469 Make obsolete.
5470 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5471 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5472 Make obsolete
5473 (same-window-buffer-names, same-window-regexps)
5474 (special-display-frame-alist, special-display-popup-frame)
5475 (special-display-function, special-display-buffer-names)
5476 (special-display-regexps, pop-up-frame-alist)
5477 (pop-up-frame-function, split-window-preferred-function)
5478 (split-height-threshold, split-width-threshold)
5479 (even-window-heights): Make obsolete.
5480
9db51aca
GM
54812011-06-12 Glenn Morris <rgm@gnu.org>
5482
5483 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 5484 Misc simplifications.
9db51aca 5485
39cffb44
MR
54862011-06-12 Martin Rudalics <rudalics@gmx.at>
5487
5488 * window.el (window-safely-shrinkable-p): Restore function which
5489 was inadvertently removed in change from 2011-06-11. Declare as
5490 obsolete.
5491
2b75be67
SM
5492 * calendar/calendar.el (calendar-generate-window):
5493 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
5494 window-safely-shrinkable-p.
5495
a8955be7
GM
54962011-06-12 Glenn Morris <rgm@gnu.org>
5497
5498 * progmodes/fortran.el (fortran-mode-syntax-table):
5499 * progmodes/f90.el (f90-mode-syntax-table):
5500 Set % to punctuation. (Bug#8820)
5501 (f90-find-tag-default): Remove, no longer needed.
5502
f0d4059d
DC
55032011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5504
5505 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5506
1100a63c
CY
55072011-06-11 Chong Yidong <cyd@stupidchicken.com>
5508
5509 * image.el (image-animated-p): Return animation delay in seconds.
5510 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5511 (image-animate-timeout): Remove DELAY argument. Don't assume
5512 every subimage has the same delay; get it from image-animated-p.
5513 (image-animate): Caller changed.
5514
def722bf
MA
55152011-06-11 Michael Albinus <michael.albinus@gmx.de>
5516
5517 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5518 to ignored backtrace functions.
5519
0a2bb1a9
GM
55202011-06-11 Glenn Morris <rgm@gnu.org>
5521
5522 * calendar/appt.el (appt-disp-window-function): Doc fix.
5523 (appt-check): Handle overlapping appointments. (Bug#8337)
5524
6198ccd0
MR
55252011-06-11 Martin Rudalics <rudalics@gmx.at>
5526
5527 * window.el (window-tree-1, window-tree): New functions, moving
5528 the latter to window.el.
5529 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5530 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5531 (bw-refresh-edges): Remove.
5532 (balance-windows-1, balance-windows-2): New functions.
5533 (balance-windows): Rewrite in terms of window tree functions,
5534 balance-windows-1 and balance-windows-2.
5535 (bw-adjust-window): Remove.
5536 (balance-windows-area-adjust): New function with functionality of
5537 bw-adjust-window but using resize-window.
2b75be67
SM
5538 (set-window-text-height): Rewrite doc-string.
5539 Use normalize-live-window and resize-window.
5540 (enlarge-window-horizontally, shrink-window-horizontally):
5541 Rename argument to DELTA.
6198ccd0
MR
5542 (window-buffer-height): New function.
5543 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5544 Rewrite using new window resize routines.
2b75be67
SM
5545 (kill-buffer-and-window, mouse-autoselect-window-select):
5546 Use ignore-errors instead of condition-case.
6198ccd0
MR
5547 (quit-window): Call delete-frame instead of delete-windows-on
5548 for the only buffer on frame.
5549
9397e56f
MR
55502011-06-10 Martin Rudalics <rudalics@gmx.at>
5551
5552 * loadup.el (top-level): Load window before files for the sake
5553 of replace-buffer-in-windows.
5554
5555 * files.el (read-buffer-to-switch)
5556 (switch-to-buffer-other-window)
2b75be67
SM
5557 (switch-to-buffer-other-frame, display-buffer-other-frame):
5558 Move to window.el.
9397e56f
MR
5559
5560 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5561 (previous-buffer): Move to window.el.
5562
5563 * bindings.el (unbury-buffer): Move to window.el.
5564
5565 * window.el (delete-other-windows-vertically): Move after
5566 definition of delete-other-windows.
5567 (other-window, delete-windows-on, replace-buffer-in-windows):
5568 Move here from window.c.
5569 (record-window-buffer, unrecord-window-buffer)
5570 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5571 (switch-to-next-buffer): New functions.
5572 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5573 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5574 (previous-buffer): Move here from simple.el.
5575 Call switch-to-prev-buffer.
9397e56f
MR
5576 (bury-buffer): Move here from buffer.c. Switch to previous
5577 buffer when window cannot be deleted.
5578 (unbury-buffer): Move here from bindings.el.
5579 (ctl-x-map): Move binding for other-window from window.c to
5580 here.
5581 (read-buffer-to-switch, switch-to-buffer-other-window)
5582 (switch-to-buffer-other-frame): Move here from files.el.
5583 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5584 (switch-to-buffer): Move here from buffer.c.
5585 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5586
562dd5e9
MR
55872011-06-10 Martin Rudalics <rudalics@gmx.at>
5588
5589 * window.el (window-min-height, window-min-width): Move here
5590 from window.c. Add defcustoms and rewrite doc-strings.
5591 (resize-mini-window, resize-window): New functions.
5592 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5593 Move here from window.c.
5594 (maximize-window, minimize-window): New functions.
5595 (delete-window, delete-other-windows, split-window): Move here
5596 from window.c.
5597 (window-split-min-size): New function.
5598 (split-window-keep-point): Mention split-window-above-each-other
5599 instead of split-window-vertically.
2b75be67
SM
5600 (split-window-above-each-other, split-window-vertically):
5601 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5602 provide defalias for old definition.
5603 (split-window-side-by-side, split-window-horizontally): Rename
5604 split-window-horizontally to split-window-side-by-side and provide
5605 defalias for the old definition.
5606 (ctl-x-map): Move bindings for delete-window,
5607 delete-other-windows and enlarge-window here from window.c.
5608 Replace bindings for split-window-vertically and
5609 split-window-horizontally by bindings for
5610 split-window-above-each-other and split-window-side-by-side.
5611
5612 * cus-start.el (all): Remove entries for window-min-height and
5613 window-min-width. Add entries for window-splits and
5614 window-nest.
5615
f0da764a
GM
56162011-06-09 Glenn Morris <rgm@gnu.org>
5617
80675c21
GM
5618 * calendar/appt.el (appt-mode-line): New function.
5619 (appt-check, appt-disp-window): Use it.
5620
f0da764a
GM
5621 * files.el (hack-one-local-variable-eval-safep):
5622 Allow minor-modes with explicit +/-1 arguments.
5623
59f623b7
TZ
56242011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5625
5626 * term/xterm.el (xterm): Add defgroup.
5627 (xterm-extra-capabilities): Add defcustom to supply known xterm
5628 capabilities, skip querying them, or query them (default).
5629 (terminal-init-xterm): Use it.
5630 (terminal-init-xterm-modify-other-keys): New function to set up
5631 modifyOtherKeys support to simplify `terminal-init-xterm'.
5632
9aab8e0d
MR
56332011-06-09 Martin Rudalics <rudalics@gmx.at>
5634
5635 * window.el (resize-window-reset, resize-window-reset-1)
5636 (resize-subwindows-skip-p, resize-subwindows-normal)
5637 (resize-subwindows, resize-other-windows, resize-this-window)
5638 (resize-root-window, resize-root-window-vertically)
5639 (window-deletable-p, window-or-subwindow-p)
5640 (frame-root-window-p): New functions.
5641
e8b08aee
GM
56422011-06-09 Glenn Morris <rgm@gnu.org>
5643
5644 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5645 (ange-ftp-get-files): Use it.
5646
254c37a5
AK
56472011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5648
5649 * mail/sendmail.el (mail-recover-1, mail-recover):
5650 * files.el (recover-file, recover-session):
5651 Handle dired-listing-switches not being just a single short option.
5652
35d7dbd3
GM
56532011-06-09 Glenn Morris <rgm@gnu.org>
5654
5655 * calendar/appt.el (appt-display-message, appt-disp-window):
5656 Handle lists of appointments.
5657
387522b2
MR
56582011-06-08 Martin Rudalics <rudalics@gmx.at>
5659
2b75be67
SM
5660 * window.el (one-window-p): Move down in code.
5661 Rewrite doc-string.
5662 (window-current-scroll-bars): Rewrite doc-string.
5663 Normalize live window argument.
387522b2
MR
5664 (walk-windows, get-window-with-predicate, count-windows):
5665 Rewrite doc-string. Use window-list-1.
5666 (window-in-direction-2, window-in-direction, get-mru-window):
5667 New functions.
5668
d8e4b68b 56692011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5670
5671 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5672 Doc fix (Bug#8713).
5673
56742011-06-08 Chong Yidong <cyd@stupidchicken.com>
5675
5676 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5677
56782011-06-08 Juanma Barranquero <lekktu@gmail.com>
5679
5680 * loadhist.el (unload-feature-special-hooks):
5681 Add `comint-output-filter-functions'.
5682
0de12c52
IK
56832011-06-08 Ivan Kanis <gnu@kanis.fr>
5684
5685 * calendar/appt.el (appt-check): Move some initializations into the let.
5686
f3d1777e
MR
56872011-06-08 Martin Rudalics <rudalics@gmx.at>
5688
5689 * window.el (window-height): Defalias to window-total-height.
5690 (window-width): Defalias to window-body-width.
5691
18af70d0
CY
56922011-06-07 Chong Yidong <cyd@stupidchicken.com>
5693
5694 * image-mode.el (image-toggle-animation): New command.
5695 (image-mode-map): Bind it to RET.
5696 (image-mode): Update message.
5697 (image-toggle-display-image): Avoid a spurious cache flush.
5698 (image-transform-rotation): Doc fix.
5699 (image-transform-properties): Return quickly in the normal case.
5700 (image-animate-loop): Rename from image-animate-max-time.
5701
2b75be67 5702 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5703 (create-animated-image): Remove unnecessary function.
5704 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5705 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5706 (image-animate-timer): Use car-safe.
5707 (image-animate-timeout): Rename argument.
5708
190b47e6
MR
57092011-06-07 Martin Rudalics <rudalics@gmx.at>
5710
5711 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5712 window.c. Rename first argument to ALL-FRAMES.
5713 Rephrase doc-strings.
5714 (get-buffer-window-list): Rewrite using window-list-1.
5715 Rephrase doc-string.
a1511caf
MR
5716 (window-safe-min-height, window-safe-min-width): New constants.
5717 (window-size-ignore, window-min-size, window-min-size-1)
5718 (window-sizable, window-sizable-p, window-size-fixed-1)
5719 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5720 (window-max-delta-1, window-max-delta, window-resizable)
5721 (window-resizable-p, window-total-height, window-total-width)
5722 (window-body-width): New functions.
5723 (window-full-height-p, window-full-width-p): Rewrite using
5724 window-total-size.
5725 (window-body-height): Rewrite using window-body-size.
190b47e6 5726
85cc1f11
MR
57272011-06-06 Martin Rudalics <rudalics@gmx.at>
5728
5729 * window.el (window-right, window-left, window-child)
5730 (window-child-count, window-last-child, window-any-p)
5731 (normalize-live-buffer, normalize-live-frame)
5732 (normalize-any-window, normalize-live-window)
5733 (window-iso-combination-p, window-iso-combined-p)
5734 (window-iso-combinations)
5735 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5736 (windows-with-parameter, window-with-parameter)
5737 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5738 (window-atom-check, window-side-check, window-check):
5739 New functions.
85cc1f11
MR
5740 (ignore-window-parameters, window-sides, window-sides-vertical)
5741 (window-sides-slots): New variables.
5742 (window-size-fixed): Move down in code. Minor doc-string fix.
5743
e7156492
AS
57442011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5745
5746 * comint.el (comint-dynamic-complete-as-filename)
5747 (comint-dynamic-complete-filename): Correctly call
5748 completion-in-region.
5749
7e821d0d
DD
57502011-06-05 Deniz Dogan <deniz@dogan.se>
5751
5752 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5753 in last change.
5754
ac09b8a1
DD
57552011-06-05 Deniz Dogan <deniz@dogan.se>
5756
5757 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5758 (rcirc): Use it to prompt for encryption.
5759
34699b85
RW
57602011-06-05 Roland Winkler <winkler@gnu.org>
5761
5762 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5763 (bibtex-search-entries): New command bound to C-c C-a.
5764 (bibtex-display-entries): New function.
5765
004dedd3
RW
57662011-06-05 Roland Winkler <winkler@gnu.org>
5767
5768 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5769 (bibtex-insert-kill): After yanking insert newline if necessary.
5770 (bibtex-initialize): Call bibtex-string-files-init only once.
5771 (bibtex-mode): Do not call easy-menu-add.
5772 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5773 (bibtex-yank): Set arg properly if nil.
5774
022fe7ce
RW
57752011-06-05 Roland Winkler <winkler@gnu.org>
5776
2b75be67
SM
5777 * textmodes/bibtex.el (bibtex-search-entry-globally):
5778 New variable.
022fe7ce
RW
5779 (bibtex-search-entry): Use it.
5780
b7c3692a
RW
57812011-06-05 Roland Winkler <winkler@gnu.org>
5782
5783 * textmodes/bibtex.el (bibtex-entry-format): New option
5784 sort-fields.
5785 (bibtex-format-entry, bibtex-reformat): Honor this option.
5786 (bibtex-parse-entry): Return fields in proper order.
5787
8eda563d
JB
57882011-06-05 Juanma Barranquero <lekktu@gmail.com>
5789
5790 * doc-view.el (doc-view-remove-if): Move computation of result out
5791 of `dolist' to silence misleading lexical-binding warning.
5792
7dbe3dbc
CY
57932011-06-04 Chong Yidong <cyd@stupidchicken.com>
5794
5795 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5796 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5797
0c33dd17
MA
57982011-06-04 Michael Albinus <michael.albinus@gmx.de>
5799
5800 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5801 "SunOS 5.10".
5802
f8f91c2b
MA
58032011-06-04 Michael Albinus <michael.albinus@gmx.de>
5804
5805 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5806 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5807 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5808 (tramp-parse-putty):
5809 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5810 (tramp-completion-function-alist-ssh)
5811 (tramp-completion-function-alist-telnet)
5812 (tramp-completion-function-alist-su)
5813 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5814 cookie.
5815
5816 * net/tramp-ftp.el:
5817 * net/tramp-sh.el:
5818 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5819 load "tramp.el" `tramp-set-completion-function'.
5820
e17d9003
SM
58212011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5822
5823 * shell.el: Require and use pcomplete.
5824 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5825 (shell-completion-vars): Set pcomplete-default-completion-function.
5826
6c4cab03
DD
58272011-06-04 Deniz Dogan <deniz@dogan.se>
5828
5829 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5830 `memq' (Bug#8799).
5831
ea9fafe0
SM
58322011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5833
5834 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5835
b3e945d3
JB
58362011-06-02 Juanma Barranquero <lekktu@gmail.com>
5837
5838 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5839 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5840 * vc/log-view.el (log-view-beginning-of-defun):
5841 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5842 (smerge-refine-forward, smerge-refine-chopup-region):
5843 Silence warning for unused `dotimes' counter variables.
5844
7d520089
SM
58452011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * net/tramp.el (tramp-with-progress-reporter): Rename from
5848 with-progress-reporter. Use `declare'.
5849 * net/tramp-smb.el:
5850 * net/tramp-sh.el:
5851 * net/tramp-gvfs.el: Update all uses.
5852
a1c2400f
JB
58532011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5854
5855 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5856 buffer isn't killed before making it current.
5857
2403c841
SM
58582011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 Silence various byte-compiler warnings.
5861 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5862 `access-type' and new obsolescence format.
5863 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5864 new format.
5865 (byte-compile-check-variable): New `access-type' argument.
5866 Only warn if the access-type is obsolete.
5867 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5868 (byte-compile-variable-set): Adjust callers.
5869 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5870 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5871 setting it as obsolete.
5872 * simple.el (minibuffer-completing-symbol):
5873 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5874 access as obsolete.
5875 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5876 obsolete yet.
5877 * international/quail.el (quail-mouse-choose-completion): Remove unused
5878 code referring to obsolete var.
5879 (quail-choose-completion-string): Remove.
5880 * server.el (server-clients-with, server-kill-buffer-query-function)
5881 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5882 * proced.el (proced-send-signal):
5883 * emacs-lisp/lisp.el (lisp-complete-symbol):
5884 Replace completion-annotate-function with completion-extra-properties.
5885
2462470b
SM
58862011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5887
fb5b2591
SM
5888 * simple.el (goto-line): Use read-number.
5889 (overriding-map-is-bound): Remove.
5890 (saved-overriding-map): Change default.
5891 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5892 Take the map as argument.
5893 (universal-argument, negative-argument, digit-argument): Use it.
5894 (restore-overriding-map): Adjust.
5895 (do-auto-fill): Use fill-forward-paragraph.
5896 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5897
fd6fa53f
SM
5898 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5899 (minibuffer-inactive-mode): New major mode.
5900 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5901 the *Messages* buffer" hack.
5902 (mouse-popup-menubar): Don't burp if the event is a normal key.
5903
2462470b
SM
5904 Miscellaneous tweaks.
5905 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5906 lexical scoping as in subr.el's dolist and dotimes.
5907 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5908 Silence compiler warning.
5909 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5910 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5911 * international/ccl.el (ccl-compile): Trivial simplification.
5912 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5913 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5914 `printflag' argument.
5915 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5916 Purecopy the whole obsolescence data.
5917
108bf785
LL
59182011-06-01 Leo Liu <sdl.web@gmail.com>
5919
5920 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5921 improve doc-string as suggested by Marco Pessotto
5922 <melmothx@gmail.com>.
5923 (rcirc-print): Fix last change.
5924
30a23501
SM
59252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5926
5927 * minibuffer.el (complete-with-action): Return nil for the metadata and
5928 boundaries of non-functional tables.
5929 (completion-table-dynamic): Return nil for the metadata.
5930 (completion-table-with-terminator): Add default case, using
5931 complete-with-action.
5932 (completion--metadata): New function.
5933 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5934 to try and avoid pathological performance problems.
5935 (completion--embedded-envvar-table): Return `category' metadata.
5936
bcd54f83
LMI
59372011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5938
5939 * subr.el (process-alive-p): New tiny convenience function.
5940
e227544d
SM
59412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5943 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5944 content but also its previous major mode.
5945
e8296fdc
HE
59462011-05-31 Helmut Eller <eller.helmut@gmail.com>
5947
4d61f28d 5948 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5949 *Backtrace* buffer when we exit with C-M-c.
5950
620c53a6
SM
59512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5952
5953 * minibuffer.el: Add metadata method to completion tables.
5954 (completion-category-overrides): New defcustom.
5955 (completion-metadata, completion--field-metadata)
5956 (completion-metadata-get, completion--styles)
5957 (completion--cycle-threshold): New functions.
5958 (completion-try-completion, completion-all-completions):
5959 Add `metadata' argument to choose completion-styles.
5960 (completion--do-completion): Use metadata to choose cycling.
5961 (completion-all-sorted-completions): Use metadata for sorting.
5962 Remove :completion-cycle-penalty which is not needed any more.
5963 (completion--try-word-completion): Add `metadata' argument.
5964 (minibuffer-completion-help): Check metadata for annotation function
5965 and sorting.
5966 (completion-file-name-table): Return `category' metadata.
5967 (minibuffer-completing-file-name): Make obsolete.
5968 * simple.el (minibuffer-completing-symbol): Make obsolete.
5969 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5970 completion-try-completion.
5971
1257e755
SM
59722011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5973
5974 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5975
3767e706
LL
59762011-05-30 Leo Liu <sdl.web@gmail.com>
5977
5978 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5979 (rcirc-print): Decode all incoming messages (bug#8744).
5980 (rcirc-decode-coding-system): Allow value nil for automatic coding
5981 system detection.
3767e706 5982
d1a5d56a
GM
59832011-06-01 Glenn Morris <rgm@gnu.org>
5984
5985 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5986
e8cbec34
CY
59872011-05-29 Chong Yidong <cyd@stupidchicken.com>
5988
5989 * image.el (image-animate-max-time): Allow nil and t values.
5990 Default to nil.
5991 (create-animated-image): Doc fix.
5992 (image-animate-start): Remove second arg; just use
5993 image-animate-max-time.
5994 (image-animate-timeout): Doc fix. Args changed.
5995
5996 * image-mode.el (image-toggle-display-image): Ensure that the
5997 image spec passed to the animate timer is the same object as in
58179cce 5998 the buffer's display property (Bug#6981).
e8cbec34
CY
5999 (image-transform-properties): Doc fix.
6000
6001 * image.el (image-animate-max-time): Default to nil.
6002
159daf87
MR
60032011-05-29 Martin Rudalics <rudalics@gmx.at>
6004
6005 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6006 entire buffer list (Bug#8184).
6007
d66c4c7c
CY
60082011-05-29 Chong Yidong <cyd@stupidchicken.com>
6009
6010 * image.el (imagemagick-types-inhibit)
6011 (imagemagick-register-types): Doc fix.
6012
80aec780
DD
60132011-05-29 Deniz Dogan <deniz@dogan.se>
6014
6015 * net/rcirc.el (rcirc): Use the user's stored encryption method by
6016 default.
6017
1dd3c2d9
CY
60182011-05-29 Chong Yidong <cyd@stupidchicken.com>
6019
6020 * select.el: Don't perform clipboard-manager saving in hooks;
6021 leave the hooks empty.
6022
60e56523
LL
60232011-05-28 Leo Liu <sdl.web@gmail.com>
6024
6025 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6026 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
6027 (occur-edit-mode): New major mode (Bug#8463).
6028 (occur-after-change-function): New function.
6029 (occur-engine): Give Occur tags a read-only property.
6030
2b1e1a22
KR
60312011-05-28 Kevin Ryde <user42@zip.com.au>
6032
6033 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6034
5d344e88
CY
60352011-05-28 Chong Yidong <cyd@stupidchicken.com>
6036
8e6ca83d
CY
6037 * bindings.el (help-echo): Make the initial non-indicator dash
6038 empty on graphical terminals (Bug#7295).
6039
5d344e88
CY
6040 * files.el (auto-mode-alist): Move config rule after the
6041 in-stripping one (Bug#8547).
6042
bfbbace7
CY
6043 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6044
fbeba6e2
CY
6045 * startup.el (normal-splash-screen): Remove gratuitous mode-line
6046 setting (Bug#8740).
6047
60ed8c72
AA
60482011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
6049
4ac619f0
AA
6050 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6051 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6052 (Bug#8539).
60ed8c72 6053
23db196e
CY
60542011-05-28 Chong Yidong <cyd@stupidchicken.com>
6055
6056 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6057
5012f24c
DK
60582011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
6059
6060 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6061 (hs-hide-block-at-point, hs-find-block-beginning)
6062 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6063 (Bug#8279).
6064
6a639b16
GM
60652011-05-28 Glenn Morris <rgm@gnu.org>
6066
6067 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
6068
d43eaf2c
CY
60692011-05-28 Chong Yidong <cyd@stupidchicken.com>
6070
5199bde1
CY
6071 * help-fns.el (describe-function-1): If the function is a derived
6072 major mode, print the parent mode.
6073
d43eaf2c
CY
6074 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6075 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6076
423428a8
SM
60772011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6078
0ff8e1ba 6079 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 6080 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
6081 * progmodes/etags.el (tags-completion-at-point-function):
6082 * info-look.el (info-lookup-completions-at-point): Mark as
6083 non-exclusive.
6084 (info-complete): Adjust accordingly.
6085
423428a8
SM
6086 * info-look.el: Convert to lexical-binding and completion-at-point.
6087 (info-lookup-completions-at-point): New function.
6088 (info-complete): Use it and completion-in-region.
6089
b74aa22b
DA
60902011-05-28 Drew Adams <drew.adams@oracle.com>
6091
6092 * isearch.el: Let M-e start with point at the first mismatched char.
6093 (isearch-fail-pos): New function.
6094 (isearch-edit-string): Use it.
6095
66e2e71d
DK
60962011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6097
6098 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6099
eb95d01d
TC
61002009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6101
6102 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
6103 traversal functions for avl-trees.
6104 (avl-tree--stack): New struct.
6105 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6106 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
6107 (avl-tree--do-enter): Add optional `updatefun' arg.
6108 Change return value.
eb95d01d 6109 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
6110 (avl-tree--do-delete): Add `test' and `nilflag' args.
6111 Change return value.
eb95d01d
TC
6112 (avl-tree-member): Add optional `nilflag'
6113 (avl-tree-member-p): New function.
6114 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6115 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6116 (avl-tree-stack-empty-p): New functions.
6117
3769ddcf
TC
61182009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6119
6120 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6121 avl-tree--del-balance1 and make it work both ways.
6122 (avl-tree--del-balance2): Remove.
6123 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6124 make it work both ways.
6125 (avl-tree--enter-balance2): Remove.
6126 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6127 New macros.
6128 (avl-tree--mapc, avl-tree-map): Add direction argument.
6129
eb95d01d 61302011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
6131
6132 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6133
a9f737ee
CY
61342011-05-27 Chong Yidong <cyd@stupidchicken.com>
6135
6136 * select.el: Support clipboard managers with built-in function
6137 x-clipboard-manager-save, via delete-frame-functions and
6138 kill-emacs-hook.
6139 (xselect-convert-to-targets): Add MULTIPLE target to list.
6140 (xselect-convert-to-save-targets): New function.
6141
c92a1e54
KH
61422011-05-27 Kenichi Handa <handa@m17n.org>
6143
6144 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6145 let-binding rfc2047-encode-encoded-words to nil.
6146
e145f188
GM
61472011-05-27 Glenn Morris <rgm@gnu.org>
6148
5ec8a862
GM
6149 * mail/emacsbug.el: Don't require url-util.
6150
4b29d9fb
GM
6151 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
6152
e145f188
GM
6153 * files.el (set-auto-mode):
6154 Also respect mode: entries at the end of the file. (Bug#8586)
6155
7d15102b
GM
61562011-05-26 Glenn Morris <rgm@gnu.org>
6157
98f593b8
GM
6158 * files.el (hack-local-variables-prop-line, hack-local-variables):
6159 Downcase mode names, as seems to be traditional.
27b48e63 6160 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 6161
7d15102b
GM
6162 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6163 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
6164
51d5b4ec
JD
61652011-05-25 Julien Danjou <julien@danjou.info>
6166
6167 * textmodes/rst.el (rst-define-level-faces): Do not define face
6168 symbol if it is already defined.
6169
91513f63
VB
61702011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6171
6172 * play/5x5.el (5x5-new-game, 5x5-randomize):
6173 Reset 5x5-solver-output to nil when a new grid is cast.
6174 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6175 these debugging traces, as defmacro breaks the compiled code.
6176
4d90d6d0
DK
61772011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6178
6179 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6180
e1b90ef6
LL
61812011-05-24 Leo Liu <sdl.web@gmail.com>
6182
6183 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6184 (vc-bzr-sha1): Adapt.
6185
d8e4b68b 6186 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
6187
6188 * bindings.el: Provide sha1 feature.
6189
db0406bb 61902011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
6191
6192 * mail/sendmail.el: Require `rfc2047'.
6193 (mail-insert-from-field): Do not perform RFC2047 encoding.
6194 (mail-encode-header): New function.
6195 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
6196 buffer to the return value of select-message-coding-system.
6197 Call mail-encode-header.
b8d747b9
KH
6198
6199 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6200
db0406bb 62012011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 6202
4d90d6d0
DK
6203 * mail/supercite.el (sc-default-cite-frame):
6204 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 6205
eb8a5e9b
GM
62062011-05-24 Glenn Morris <rgm@gnu.org>
6207
f8630703
GM
6208 * progmodes/python.el (brm-menu): Declare.
6209
8831bbed
GM
6210 * emulation/viper.el (viper-set-hooks): Declare.
6211
eb8a5e9b
GM
6212 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6213 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6214 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6215 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6216 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6217 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6218
a2a25d24
SM
62192011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6220
6221 Add an :exit-function for completion-at-point.
6222
6223 * minibuffer.el (completion--done): New fun.
6224 (completion--do-completion): Use it. New arg `expect-exact'.
6225 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6226 since completion--do-completion does it for us now.
6227 (minibuffer-force-complete): Use completion--done and
6228 completion--replace. Handle sole-completion case with more care.
6229 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6230 (completion-extra-properties): New var.
6231 (completion-annotate-function): Make obsolete.
6232 (minibuffer-completion-help): Adjust accordingly.
6233 Use completion-list-insert-choice-function.
6234 (completion-at-point, completion-help-at-point):
6235 Bind completion-extra-properties.
6236 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6237 * simple.el (completion-list-insert-choice-function): New var.
6238 (completion-setup-function): Preserve it.
6239 (choose-completion): Pay attention to it, shuffle the code a bit.
6240 (choose-completion-string): New arg `insert-function'.
6241
6242 * textmodes/bibtex.el: Convert to lexical binding.
6243 (bibtex-mode-map): Use completion-at-point.
6244 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6245 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6246 (bibtex-complete): Define as obsolete alias.
6247 (bibtex-complete-internal): Remove.
6248 (bibtex-format-entry): Remove unused sub-group in regexp.
6249 * shell.el (shell--command-completion-data)
6250 (shell-environment-variable-completion):
6251 * pcomplete.el (pcomplete-completions-at-point):
6252 * comint.el (comint--complete-file-name-data): Use :exit-function
6253 instead of completion-table-with-terminator so it also works for
6254 choose-completion.
6255
e44e373d
SM
62562011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6257
4f91a816
SM
6258 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6259
782fc819
SM
6260 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6261 (bug#8710).
6262
e44e373d
SM
6263 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6264
381987c3
KM
62652011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6266
6267 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6268 customization variable and implement: If non-nil, auto-fill will
6269 be inhibited while on topic's header line.
6270
b776bc70
VB
62712011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6272
6273 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 6274 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
6275 always have a solution in grid size = 5 cases.
6276 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6277 (5x5-solver-output, 5x5-log-buffer): New vars.
6278 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6279 Make these variables buffer local to achieve 5x5 multi-session-ness.
6280 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6281 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6282 (5x5-solve-suggest): New funs.
6283 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6284 randomize a grid so that we ensure that there is always a solution.
6285 (5x5-make-random-grid): Allow other movement than flipping.
6286
7de88b6e
KR
62872011-05-23 Kevin Ryde <user42@zip.com.au>
6288
6289 * emacs-lisp/advice.el (ad-read-advised-function):
6290 Use `function-called-at-point' as the default default, if it has
6291 advice and passes PREDICATE.
6292
b1ef1257
SM
62932011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6294
bbca48fe
SM
6295 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6296 byte-compile-lambda if it's actually a lambda.
6297
b1ef1257
SM
6298 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6299 Fix function quoting. Use backquote better.
6300
92a9cc65
YS
63012011-05-22 Yuanle Song <sylecn@gmail.com>
6302
6303 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6304 matching (Bug#8516).
6305
f0fb8059
JA
63062011-01-22 Jari Aalto <jari.aalto@cante.net>
6307
6308 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6309 different face (Bug#8178).
6310
d5b44c93
CY
63112011-05-22 Chong Yidong <cyd@stupidchicken.com>
6312
6313 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6314 defface (Bug#8144).
6315
79106a44
SM
63162011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6317
9c848d8a
SM
6318 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6319 funcall as well (bug#8712). Warn when performing those conversions.
6320 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6321
79106a44
SM
6322 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6323
88dfa756
GM
63242011-05-22 Glenn Morris <rgm@gnu.org>
6325
6326 * files.el (hack-local-variables-prop-line): Small simplifications.
6327 (hack-local-variables, hack-local-variables-prop-line):
6328 If MODE-ONLY, return the mode, rather than just `t'.
6329
b7cf2c79
SM
63302011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6331
6332 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6333
3f1a8558
GM
63342011-05-21 Glenn Morris <rgm@gnu.org>
6335
7e4ccca3
GM
6336 * files.el (hack-local-variables-prop-line, hack-local-variables):
6337 If only interested in the mode, don't bother doing the other stuff.
6338
637d46ca
GM
6339 * image-mode.el (image-after-revert-hook):
6340 Redraw all frames on which the image is visible. (Bug#8567)
6341
973d955b
GM
6342 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6343
3f1a8558
GM
6344 * wid-edit.el (widget-checklist-match-inline):
6345 Fix 2011-04-19 change. (Bug#8649)
6346
96479927
SM
63472011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6348
1dcf791f
SM
6349 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6350 Also allow singlespace after single-letter capitals followed by a dot.
6351
96479927
SM
6352 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6353 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6354
35fd0881
N
63552011-05-20 Nix <nix@esperi.org.uk>
6356
6357 * files.el (basic-save-buffer-2):
6358 Fix handling of break-hardlink-on-save with non-existent files.
6359
82745640
DD
63602011-05-19 Deniz Dogan <deniz@dogan.se>
6361
6362 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 6363 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 6364
4a720484
GM
63652011-05-19 Glenn Morris <rgm@gnu.org>
6366
d1f21341
GM
6367 * progmodes/f90.el (f90-type-def-re):
6368 Handle "type, bind(c)". (Bug#8691)
6369
4a720484
GM
6370 * emacs-lisp/autoload.el (batch-update-autoloads):
6371 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6372
2fb0a219
MA
63732011-05-18 Michael Albinus <michael.albinus@gmx.de>
6374
6375 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6376 property for the correct connection in case of multihops.
6377
e565dd37
GM
63782011-05-18 Glenn Morris <rgm@gnu.org>
6379
c2571358 6380 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
6381 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6382
e565dd37
GM
6383 Rationalize calendar handling of day and month abbrev-arrays.
6384 * calendar/calendar.el (calendar-customized-p): New function.
6385 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6386 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6387 Add :set function.
6388 (calendar-abbrev-length, calendar-day-abbrev-array)
6389 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6390 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6391 Elements may no longer be nil.
6392 (calendar-day-name, calendar-month-name):
6393 Update for changed nature of abbrev arrays.
6394 * calendar/diary-lib.el (diary-name-pattern):
6395 Update for changed nature of abbrev arrays.
6396 (diary-mark-entries-1): Update calendar-make-alist calls.
6397 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6398 * calendar/cal-html.el (cal-html-day-abbrev-array):
6399 Simply inherit from calendar-day-abbrev-array.
6400
1d99a745
SM
64012011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6402
6403 * progmodes/grep.el (grep-mode): Disable default
6404 compilation-directory-matcher setting (bug#8684).
6405
7c1d9aa0
MA
64062011-05-17 Michael Albinus <michael.albinus@gmx.de>
6407
6408 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6409 instead of "head" and "tail". There were problems with SunOS 5.9,
6410 and it performs better.
6411
3952e9d8
GM
64122011-05-17 Glenn Morris <rgm@gnu.org>
6413
2dd12e7f
GM
6414 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6415
e4157b9c
GM
6416 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6417 Replace obsolete function.
6418
8e249bbd
GM
6419 * shell.el (pcomplete-parse-arguments-function): Declare.
6420
3952e9d8
GM
6421 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6422 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6423 (appt-check): Doc fixes.
6424 (appt-disp-window-function, appt-delete-window-function):
6425 Remove needless special case in custom :type.
6426 (appt-display-count): Default to 0, not nil.
6427 (appt-check): Reset appt-display-count to 0, not nil.
6428
c71a0d48 64292011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 6430
c71a0d48
GM
6431 * progmodes/python.el (python-font-lock-keywords):
6432 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 6433
31d55be9
SM
64342011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6436 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6437
3bfacb2f
KR
64382011-05-16 Kevin Ryde <user42@zip.com.au>
6439
6440 * info-look.el (makefile-automake-mode): New setups, looking in
6441 automake manual, then makefile-mode.
6442 (makefile-mode): Remove automake manual, have it just in
6443 makefile-automake-mode since there's various things different or
6444 not relevant to plain make.
6445 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6446 believe a hypothetical automake-mode would go to makefile-mode,
6447 not the other way around.
6448
c8e83751
CY
64492011-05-15 Chong Yidong <cyd@stupidchicken.com>
6450
5e9e35cd
CY
6451 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6452 hunk-end tags (Bug#8672).
6453
c8e83751
CY
6454 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6455 vc-annotate-show-diff-revision-at-line (Bug#8671).
6456
50b23e5a
GM
64572011-05-14 Glenn Morris <rgm@gnu.org>
6458
7210a739
GM
6459 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6460 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
6461 (change-log-font-lock-keywords): Also handle multiple author lines
6462 with leading tabs. (Bug#8644)
7210a739 6463
4691905a
GM
6464 * calendar/appt.el (appt-check): Rename some local variables.
6465 Some simplification/reordering.
6466
50b23e5a
GM
6467 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6468 (feedmail-sendmail-f-doesnt-sell-me-out)
6469 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6470 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6471 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
6472 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6473 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
6474 (feedmail-binmail-gnulinuxish-template):
6475 Rename from feedmail-binmail-linuxish-template.
6476 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6477 Use insert-buffer-substring.
6478
215cda7c
BC
64792011-05-14 Bill Carpenter <bill@carpenter.org>
6480
6481 * mail/feedmail.el (feedmail-patch-level): Increase.
6482 (feedmail-debug): New custom group.
6483 (feedmail-confirm-outgoing-timeout)
6484 (feedmail-sendmail-f-doesnt-sell-me-out)
6485 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6486 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6487 (feedmail-sender-line, feedmail-from-line)
6488 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 6489 (feedmail-spray-this-address)
215cda7c
BC
6490 (feedmail-spray-address-fiddle-plex-list)
6491 (feedmail-queue-use-send-time-for-date)
6492 (feedmail-queue-use-send-time-for-message-id)
6493 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6494 (feedmail-buffer-eating-function):
6495 Doc fixes.
6496 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6497 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6498 (feedmail-message-action-scroll-down): New functions.
6499 (feedmail-queue-directory, feedmail-queue-draft-directory):
6500 Use expand-file-name.
6501 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6502 Remove C-v help entry.
6503 (feedmail-queue-buffer-file-name): New variable.
6504 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6505 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6506 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6507 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6508 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6509 (feedmail-message-action-toggle-spray)
6510 (feedmail-run-the-queue-no-prompts)
6511 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6512 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6513 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6514 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6515 (feedmail-envelope-deducer, feedmail-fiddle-from)
6516 (feedmail-fiddle-sender, feedmail-default-date-generator)
6517 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6518 (feedmail-fiddle-spray-address)
6519 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6520 (feedmail-fiddle-list-of-fiddle-plexes)
6521 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6522 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6523 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6524 Change default. Doc fix.
6525 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6526 (feedmail-binmail-linuxish-template): New constant.
6527 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6528 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6529 (feedmail-send-it): Add debug call.
6530 Use feedmail-queue-buffer-file-name, and
6531 feedmail-send-it-immediately-wrapper.
6532 (feedmail-message-action-send): Add debug call.
6533 Use feedmail-send-it-immediately-wrapper.
6534 (feedmail-queue-express-to-queue): Add debug call.
6535 Run feedmail-queue-express-hook.
6536 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6537 (feedmail-message-action-help-blat):
6538 Rename from feedmail-queue-send-edit-prompt-help-first.
6539 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6540 Check line-endings. Handle errors better.
6541 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6542 Doc fix. Add debug call.
6543 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6544 Use feedmail-queue-send-edit-prompt-inner.
6545 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6546 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6547 from feedmail-queue-send-edit-prompt.
6548 (feedmail-queue-send-edit-prompt-help)
6549 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6550 (feedmail-tidy-up-slug): Add debug call.
6551 Respect feedmail-queue-slug-suspect-regexp.
6552 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6553 (feedmail-dump-message-to-queue): Add debug call.
6554 Expand queue-directory.
6555 (feedmail-dump-message-to-queue): Change message slightly.
6556 Use feedmail-say-chatter.
6557 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6558 (feedmail-send-it-immediately-wrapper): New function.
6559 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6560 Insert empty string rather than newline. Handle full-frame case.
6561 Use catch/throw. Use feedmail-say-chatter.
6562 (feedmail-fiddle-from): Try mail-host-address.
6563 (feedmail-default-message-id-generator): Doc fix.
6564 Bind system-time-locale. Handle missing end.
6565 (feedmail-fiddle-x-mailer): Add debug call.
6566 Handle feedmail-x-mailer-line being nil.
6567 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6568 Add debug call. Use buffer-substring-no-properties.
6569 (feedmail-say-debug, feedmail-say-chatter): New functions.
6570 (feedmail-find-eoh): Give an explicit error.
6571
42c7e61e
UJ
65722011-05-13 Ulf Jasper <ulf.jasper@web.de>
6573
c2571358 6574 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6575 family from helvetica to sans.
c2571358 6576 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6577 etc/images/newsticker.
6578
c2571358 6579 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6580 family from helvetica to sans.
6581
6582 * net/newst-plainview.el (newsticker-new-item-face)
6583 (newsticker-old-item-face, newsticker-immortal-item-face)
6584 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6585 (newsticker-statistics-face): Change default family from
42c7e61e 6586 helvetica to sans.
c2571358 6587 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6588 etc/images/newsticker.
6589
6590 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6591 (newsticker--process-auto-mark-filter-match): : Tell user about
6592 auto-marking.
6593
8497a297
DV
65942011-05-13 Didier Verna <didier@xemacs.org>
6595
6596 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6597 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6598 TODO entries.
8497a297
DV
6599 (lisp-lambda-list-keyword-parameter-indentation)
6600 (lisp-lambda-list-keyword-parameter-alignment)
6601 (lisp-lambda-list-keyword-alignment): New customizable user options.
6602 (lisp-indent-defun-method): Improve docstring.
6603 (extended-loop-p): Fix comment.
6604 (lisp-indent-lambda-list-keywords-regexp): New variable.
6605 (lisp-indent-lambda-list): New function.
6606 (lisp-indent-259): Use it.
6607 (lisp-indent-defmethod): Support for more than one
6608 method qualifier and properly indent methods lambda-lists.
6609 (defgeneric): Provide a missing common-lisp-indent-function property.
6610
f278f87f
SM
66112011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6614 bounds for the empty string (bug#8667).
6615
5233edd7
GM
66162011-05-13 Glenn Morris <rgm@gnu.org>
6617
5237a44f
GM
6618 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6619
8340026c 6620 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6621 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6622
5233edd7 6623 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6624 (appt-time-msg-list): Doc fix.
a5464014 6625 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6626
92d10796
AS
66272011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6628
6629 * progmodes/ld-script.el (ld-script-keywords)
6630 (ld-script-builtins): Update keywords list.
6631
914a0ae1
SM
66322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6633
c89be45f
SM
6634 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6635
914a0ae1
SM
6636 * shell.el (shell-completion-vars): New function.
6637 (shell-mode):
6638 * simple.el (read-shell-command): Use it.
6639 (blink-matching-open): No need for " [...]" in minibuffer-message.
6640
98dc3df3
GM
66412011-05-12 Glenn Morris <rgm@gnu.org>
6642
6643 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6644 (appt-check): Simplify.
6645
d2fc7e3d 66462011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6647
4d61f28d 6648 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6649 literal "/dev/null".
6650
d2fc7e3d 66512011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6652
6653 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6654 Fix typo.
6655
d2fc7e3d 66562011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6657
3f254caa
SM
6658 * progmodes/which-func.el (which-function):
6659 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6660 which might not be defined (Bug#8260).
6661
d45885f7
GM
66622011-05-12 Glenn Morris <rgm@gnu.org>
6663
6664 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6665 Let byte-compile-initial-macro-environment always take precedence.
6666
488086f4
SM
66672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6668
6669 * net/rcirc.el: Add support for SSL/TLS connections.
6670 (rcirc-server-alist): New field `encryption'.
6671 (rcirc): Check `encryption' settings.
6672 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6673 Merge make-local-variable into `set'.
6674 (rcirc--connection-open-p): New function.
6675 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6676 the process is not a network process (e.g. running gnutls-cli).
6677 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6678 Make rcirc-(en|de)code-coding-system local here.
6679 (rcirc-mode): Merge make-local-variable into `set'.
6680 (rcirc-parent-buffer): Make permanent buffer-local.
6681 (rcirc-multiline-minor-mode): Don't do it here.
6682 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6683 there's no server buffer.
6684
7d3b9d44
GM
66852011-05-11 Glenn Morris <rgm@gnu.org>
6686
f64049c6
GM
6687 * newcomment.el (comment-kill): Prefix "unused" local.
6688
93c9df73
GM
6689 * term/w32console.el (get-screen-color): Declare.
6690
7d3b9d44
GM
6691 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6692 Handle symbol elements of byte-compile-initial-macro-environment.
6693
9e2dd53f
LL
66942011-05-10 Leo Liu <sdl.web@gmail.com>
6695
488086f4
SM
6696 * bookmark.el (bookmark-bmenu-mode-map):
6697 Bind bookmark-bmenu-search to `/'.
8b340240 6698
9e2dd53f 6699 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6700 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6701 (Footnote-unicode): New function.
6702 (footnote-style-alist): Add unicode style to the list.
6703 (footnote-style): Doc fix.
9e2dd53f 6704
79b70037
GM
67052011-05-10 Jim Meyering <meyering@redhat.com>
6706
6707 Fix doubled-word typos.
6708 * international/quail.el (quail-insert-kbd-layout): and and -> and
6709 * kermit.el: and and -> and
6710 * net/ldap.el (ldap-search-internal): to to -> to
6711 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6712 * progmodes/js.el (js-mode): and and -> and
6713 * textmodes/artist.el (artist-move-to-xy): at at -> at
6714 (artist-draw-region-trim-line-endings): if if -> if
6715 And Safetyc -> Safety.
6716 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6717
b8f82dc1 67182011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6719 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6720
6721 * files.el (hack-one-local-variable-eval-safep):
6722 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6723
4f99f44b
GM
67242011-05-10 Glenn Morris <rgm@gnu.org>
6725
6726 * calendar/diary-lib.el (diary-list-entries-hook)
6727 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6728 (diary-nongregorian-marking-hook, diary-list-entries)
6729 (diary-include-other-diary-files, diary-mark-entries)
6730 (diary-mark-included-diary-files): Doc fixes.
6731
84f29e6b
JB
67322011-05-09 Juanma Barranquero <lekktu@gmail.com>
6733
6734 * misc.el: Require tabulated-list.el during compilation.
6735
9bedd73a
CY
67362011-05-09 Chong Yidong <cyd@stupidchicken.com>
6737
488086f4
SM
6738 * progmodes/compile.el (compilation-start):
6739 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6740 (compilation-filter-hook): Doc fix.
6741
797c735c
DD
67422011-05-09 Deniz Dogan <deniz@dogan.se>
6743
6744 * wdired.el: Remove outdated installation comment. Fix usage
6745 comment.
6746
5f4b1dfe
JB
67472011-05-09 Juanma Barranquero <lekktu@gmail.com>
6748
6749 * misc.el: Implement new command `list-dynamic-libraries'.
6750 (list-dynamic-libraries--loaded-only-p): New variable.
6751 (list-dynamic-libraries--refresh): New function.
6752 (list-dynamic-libraries): New command.
6753
4c44026c
CY
67542011-05-09 Chong Yidong <cyd@stupidchicken.com>
6755
488086f4
SM
6756 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6757 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6758 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6759 higher priority to avoid clobbering by gnu.
6760
027f966d
CY
67612011-05-08 Chong Yidong <cyd@stupidchicken.com>
6762
6763 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6764 if the face has existing theme settings (Bug#8454).
6765
085f5d7d
CY
67662011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6767
488086f4
SM
6768 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6769 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6770
2a86a00c
RS
6771 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6772 special file names `.' and `..' (Bug#8259).
6773
d9c54a06
CY
67742011-05-08 Chong Yidong <cyd@stupidchicken.com>
6775
488086f4
SM
6776 * progmodes/grep.el (grep-mode-font-lock-keywords):
6777 Remove buffer-changing entries.
d9c54a06
CY
6778 (grep-filter): New function.
6779 (grep-mode): Add it to compilation-filter-hook.
6780
6781 * progmodes/compile.el (compilation-filter-hook)
6782 (compilation-filter-start): New defvars.
6783 (compilation-filter): Call compilation-filter-hook prior to
6784 updating the process mark.
6785
c4662635
SM
67862011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6787
6788 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6789
b0512a1d
EZ
67902011-05-07 Eli Zaretskii <eliz@gnu.org>
6791
605c9376
EZ
6792 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6793 mailclient-send-it even if window-system is nil. (Bug#8595)
6794
c4662635
SM
6795 * term/w32console.el (terminal-init-w32console):
6796 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6797 background-mode. (Bug#8597)
6798
d1dc2cc2
SM
67992011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6800
6801 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6802 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6803 New functions.
6804 (defgeneric, eieio--defmethod): Use them.
6805 (eieio-defgeneric): Remove.
6806 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6807
915d1300
GM
68082011-05-07 Glenn Morris <rgm@gnu.org>
6809
a3961c3e
GM
6810 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6811 Use let rather than let*.
6812 (timeclock-find-discrep): Remove unused local.
6813
314347b9
GM
6814 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6815
915d1300
GM
6816 * calendar/appt.el (appt-time-msg-list): Doc fix.
6817
275b59b0
NF
68182011-05-06 Noah Friedman <friedman@splode.com>
6819
6820 * apropos.el (apropos-print-doc): Only use
6821 emacs-lisp-docstring-fill-column when it is bound to an integer,
6822 per that variable's documentation.
6823
6c19f744
SM
68242011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6825
6826 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6827 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6828
60f884b2
GM
68292011-05-06 Glenn Morris <rgm@gnu.org>
6830
5006e634
GM
6831 * calendar/appt.el (appt-message-warning-time): Doc fix.
6832 (appt-warning-time-regexp): New option.
6833 (appt-make-list): Respect appt-message-warning-time.
6834
548d0a63
GM
6835 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6836 New options.
6837 (diary-add-to-list): Strip comments from the displayed string.
6838 (diary-mode): Set comment-start and comment-end.
6839
60f884b2
GM
6840 * vc/diff-mode.el (smerge-refine-subst): Declare.
6841 (diff-refine-hunk): Don't require smerge-mode when compiling.
6842
989681bb
JB
68432011-05-06 Juanma Barranquero <lekktu@gmail.com>
6844
6845 * simple.el (list-processes): Return nil as the docstring says.
6846
a6bc05e1
MA
68472011-05-05 Michael Albinus <michael.albinus@gmx.de>
6848
6849 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6850 to "".
6851 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6852 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6853 determining of binary transfer. (Bug#7383)
6854
23c22e9a
MA
68552011-05-05 Michael Albinus <michael.albinus@gmx.de>
6856
c4662635
SM
6857 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6858 Fix port computation bug. (Bug#8618)
23c22e9a 6859
0bff894f
GM
68602011-05-05 Glenn Morris <rgm@gnu.org>
6861
b8296902
GM
6862 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6863
1f522ce8
GM
6864 * simple.el (shell-dynamic-complete-functions)
6865 (comint-dynamic-complete-functions): Declare.
6866
cf5bee67
GM
6867 * net/network-stream.el (gnutls-negotiate):
6868 * simple.el (tabulated-list-print): Fix declarations.
6869
6870 * progmodes/gud.el (syntax-symbol, syntax-point):
6871 Remove unnecessary and incorrect declarations.
6872
0bff894f
GM
6873 * emacs-lisp/check-declare.el (check-declare-scan):
6874 Handle byte-compile-initial-macro-environment in bytecomp.el
6875
9869b3ae
SM
68762011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6877
6878 Fix earlier half-done eieio-defmethod change (bug#8338).
6879 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6880 Streamline and change calling convention.
6881 (defmethod): Adjust accordingly and simplify.
6882 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6883 new eieio--defmethod.
6884 (slot-boundp): Minor CSE simplification.
6885
9c1d5ac5
MZ
68862011-05-05 Milan Zamazal <pdm@zamazal.org>
6887
6888 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6889 (glasses-make-readable): Use glasses-separate-capital-groups.
6890
455c834e
JB
68912011-05-05 Juanma Barranquero <lekktu@gmail.com>
6892
6893 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6894 (warning-series): Doc fix.
6895 (display-warning): Don't try to create the buffer if we just found it.
6896
9ed7c8cb
CY
68972011-05-04 Chong Yidong <cyd@stupidchicken.com>
6898
6899 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6900 (autoload-find-generated-file): New function.
6901 (generate-file-autoloads): Bind generated-autoload-file to
6902 buffer-file-name.
9869b3ae
SM
6903 (update-file-autoloads, update-directory-autoloads):
6904 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6905 output file (Bug#7989).
6906 (batch-update-autoloads): Doc fix.
6907
0898ca10
JB
69082011-05-04 Juanma Barranquero <lekktu@gmail.com>
6909
6910 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6911
31dfb76c
GM
69122011-05-04 Glenn Morris <rgm@gnu.org>
6913
f330b642
GM
6914 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6915 function, so it follows changes in calendar-date-style.
6916 (diary-fancy-date-matcher): New function.
6917 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6918 (diary-fancy-font-lock-fontify-region-function):
6919 Use diary-fancy-date-pattern as a function.
6920
31dfb76c
GM
6921 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6922 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6923
48e79d6a
TZ
69242011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6925
6926 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6927 instead of positional arguments. Allow :keylist and :crlfiles
6928 arguments.
6929 (open-gnutls-stream): Call it.
6930
6931 * net/network-stream.el (network-stream-open-starttls): Adjust to
6932 call `gnutls-negotiate' with :process and :hostname arguments.
6933
dd5a5ee0
SM
69342011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6935
ef80fc09
SM
6936 * minibuffer.el (completion--message): New function.
6937 (completion--do-completion, minibuffer-complete)
6938 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6939 (completion--do-completion): Don't ignore completion-auto-help when in
6940 icomplete-mode.
6941
dd5a5ee0
SM
6942 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6943 internal encoding (e.g. tibetan zero is not whitespace).
6944 (global-whitespace-mode): Prefer save-current-buffer.
6945 (whitespace-trailing-regexp): Remove useless save-match-data.
6946 (whitespace-empty-at-bob-regexp): Minor simplification.
6947
b7d22a83
CY
69482011-05-03 Chong Yidong <cyd@stupidchicken.com>
6949
6950 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6951
5192af46
AM
69522011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6953
6954 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6955 Use `concat' to create string for insertion.
5192af46 6956
5767d190
SM
69572011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6960 Avoid open-line which runs post-self-insert-hook.
6961 (bibtex-fill-entry): Remove unused `end' var.
6962
bf242939
AM
69632011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6964
5767d190
SM
6965 * textmodes/ispell.el (ispell-add-per-file-word-list):
6966 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6967
25666126
LL
69682011-05-03 Leo Liu <sdl.web@gmail.com>
6969
6970 * isearch.el (isearch-yank-pop): New command.
5767d190 6971 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6972 (isearch-forward): Mention it.
6973
52d3c2d0
SM
69742011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6975
1bcace58
SM
6976 * simple.el (minibuffer-complete-shell-command): Remove.
6977 (minibuffer-local-shell-command-map): Use completion-at-point.
6978 (read-shell-command): Setup completion vars here instead.
6979 (read-expression-map): Bind TAB to symbol completion.
6980
52d3c2d0
SM
6981 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6982 error directly rather via storing it into `results'.
6983
35813471
LL
69842011-05-02 Leo Liu <sdl.web@gmail.com>
6985
6986 * vc/diff.el: Fix description.
6987
e793a940
LMI
69882011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6989
6990 * server.el (server-eval-at): New function.
6991
8de66e05
LMI
69922011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6993
6994 * net/network-stream.el (open-network-stream): Take a :nowait
6995 parameter and pass it on to `make-network-process'.
6996 (network-stream-open-plain): Ditto.
6997
dcb79f20
AS
69982011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6999
7000 * faces.el (face-spec-set-match-display): Don't match toolkit
7001 options on terminal frames.
7002
14a7fbd8
SM
70032011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7004
7eabc1be
SM
7005 * progmodes/pascal.el: Use lexical binding.
7006 (pascal-mode-map): Remove author preferences.
7007
14a7fbd8
SM
7008 * pcomplete.el (pcomplete-std-complete): Don't abuse
7009 completion-at-point.
7010
50f84510
JB
70112011-04-28 Juanma Barranquero <lekktu@gmail.com>
7012
6e087a44
JB
7013 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7014 removing code that has been dead since 1991 or so.
7015
50f84510
JB
7016 * startup.el (command-line): When warning about "_emacs", use a
7017 delayed warning to allow the user to filter it out.
7018
0ba690bd
DD
70192011-04-28 Deniz Dogan <deniz@dogan.se>
7020
7021 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7022 user has not joined.
7023
08abfaad
SM
70242011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7025
7026 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7027 aren't any completions at point.
7028
638f053a
JB
70292011-04-28 Juanma Barranquero <lekktu@gmail.com>
7030
7031 * subr.el (display-delayed-warnings): New function.
7032 (delayed-warnings-hook): New variable.
7033
8fff8daa
SM
70342011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7035
08abfaad
SM
7036 * minibuffer.el (completion-at-point, completion-help-at-point):
7037 Don't presume that a given completion-at-point-function will always
7038 use the same calling convention.
7039
8fff8daa
SM
7040 * pcomplete.el (pcomplete-completions-at-point):
7041 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
7042 pcomplete-seen is non-nil.
7043 (pcomplete-comint-setup): Also recognize the new comint/shell
7044 completion functions.
7045 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7046 pcomplete-seen is non-nil.
7047
841a1577 70482011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 7049
841a1577 7050 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 7051 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 7052 the first character in the entry. This allows for code to add its
211ec907
UJ
7053 own uid to the entry.
7054 (icalendar--convert-float-to-ical): Add export of
7055 `diary-float'-entries save for those with the optional DAY
7056 argument.
7057
2a782793
DC
70582011-04-27 Daniel Colascione <dan.colascione@gmail.com>
7059
7060 * subr.el (shell-quote-argument): Use alternate escaping strategy
7061 when we spot a variable reference in a string.
7062
0438ce91
DC
70632011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7064
7065 * cus-start.el (all): Define customization for debug-on-event.
7066
841a1577 70672011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
7068
7069 * subr.el (shell-quote-argument): Escape correctly under Windows.
7070
d090ed6c
SM
70712011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7074
bfd31217
MA
70752011-04-25 Michael Albinus <michael.albinus@gmx.de>
7076
d090ed6c
SM
7077 * net/tramp.el (tramp-process-actions): Add POS argument.
7078 Delete region between POS and (pos).
bfd31217 7079
d090ed6c
SM
7080 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7081 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
7082 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7083
7084 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7085 position in `tramp-process-actions' call.
7086
7087 * net/trampver.el: Update release number.
7088
e92f3bd3
SM
70892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7090
850256b5
SM
7091 * custom.el (defcustom): Obey lexical-binding.
7092
e92f3bd3
SM
7093 Fix octave-inf completion problems reported by Alexander Klimov.
7094 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7095 Inherit from octave-mode-syntax-table.
7096 (inferior-octave-mode): Set info-lookup-mode.
7097 (inferior-octave-completion-at-point): New function.
7098 (inferior-octave-complete): Use it and completion-in-region.
7099 (inferior-octave-dynamic-complete-functions): Use it as well, and use
7100 comint-filename-completion.
7101 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7102 symbol elements which shouldn't be word elements.
7103 (octave-font-lock-keywords, octave-beginning-of-defun)
7104 (octave-function-header-regexp): Adjust regexps accordingly.
7105 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7106
cd22b309
JB
71072011-04-25 Juanma Barranquero <lekktu@gmail.com>
7108
7109 * net/gnutls.el (gnutls-errorp): Declare before first use.
7110
8b492194
TZ
71112011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7112
7113 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7114 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
7115 default trustfile exists before going to use it. Add missing
7116 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
7117 Reported by Claudio Bley <claudio.bley@gmail.com>.
7118 (open-gnutls-stream): Add usage example.
7119
7120 * net/network-stream.el (network-stream-open-starttls): Give host
7121 parameter to `gnutls-negotiate'.
7122 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 7123 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 7124
841a1577 71252011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 7126
cd22b309
JB
7127 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7128 Use correct match group (bug#8438).
05842630 7129
3ba7869c
CY
71302011-04-24 Chong Yidong <cyd@stupidchicken.com>
7131
512e3ae1
CY
7132 * emacs-lisp/package.el (package-built-in-p): Fix typo.
7133 (package-menu--generate): New arg specifying packages to show.
7134 (package-menu-refresh, package-menu-execute, list-packages):
7135 Callers changed.
7136 (package-show-package-list): New function, replacing deleted
7137 package--list-packages (renamed because it is non-internal).
7138
7139 * finder.el (finder-list-matches): Use package-show-package-list
7140 instead of deleted package--list-packages.
7141
e92f3bd3
SM
7142 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7143 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
7144 (vc-annotate-mode-map): Bind it to RET.
7145
7031be6d
UR
71462011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7147
7148 * progmodes/etags.el (next-file): Don't use set-buffer to change
7149 buffers (Bug#8478).
7150
4ef177aa
CY
71512011-04-24 Chong Yidong <cyd@stupidchicken.com>
7152
c8d173eb
CY
7153 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7154
4ef177aa
CY
7155 * apropos.el (apropos-label-face): Avoid variable-pitch face.
7156 (apropos-accumulator): Doc fix.
7157 (apropos-function, apropos-macro, apropos-command)
7158 (apropos-variable, apropos-face, apropos-group, apropos-widget)
7159 (apropos-plist): Add face property.
7160 (apropos-symbols-internal): Fix indentation.
7161 (apropos-print): Simplify help, and recognize apropos-multi-type.
7162 (apropos-print-doc): Use button-type-get to extract the button's
7163 face property. Fill docstring (Bug#8352).
7164
4ffd0d6b 71652011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
7166
7167 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7168
c6c32125 7169 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 7170 (mpuz-mode-map): Use mapc.
c6c32125
JB
7171 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7172 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7173 Fix typos in docstrings.
7174
58d468b4
JB
7175 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7176 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7177
6470c3c6
JB
7178 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7179
4ffd0d6b 71802011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
7181
7182 * minibuffer.el (completion--do-completion): Avoid the "Next char
7183 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7184
3ad8bad0
CY
7185 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7186 mouse-2 into unread-command-events, it is interpreted correctly.
7187
71d73c9c 7188 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 7189 (image-toggle-display): Doc fix.
71d73c9c 7190
841a1577 71912011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 7192
4ffd0d6b
GM
7193 * textmodes/page.el (what-page): Use line-number-at-pos to
7194 calculate line number (Bug#6825).
6e1dbaa9 7195
c2fb1b60
JB
71962011-04-22 Juanma Barranquero <lekktu@gmail.com>
7197
7198 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7199 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7200 Pass argument NO-DEFAULT to `find-tag-interactive'.
7201
e02f48d7
JB
72022011-04-22 Juanma Barranquero <lekktu@gmail.com>
7203
7204 Lexical-binding cleanup.
7205
7206 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7207 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7208 * progmodes/ada-prj.el (ada-prj-initialize-values)
7209 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7210 (ada-prj-show-value):
7211 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7212 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7213 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7214 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7215 * progmodes/bug-reference.el (bug-reference-push-button):
7216 * progmodes/fortran.el (fortran-line-length):
7217 * progmodes/glasses.el (glasses-change):
7218 * progmodes/octave-mod.el (octave-fill-paragraph):
7219 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7220 (python-pdbtrack-grub-for-buffer, python-sentinel):
7221 * progmodes/sql.el (sql-save-connection):
7222 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7223 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7224 Mark unused parameters.
7225
7226 * progmodes/compile.el (compilation--flush-directory-cache)
7227 (compilation--flush-parse, compile-internal): Mark unused parameters.
7228 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7229 (compilation-next-error-function): Remove unused variable `timestamp'.
7230
7231 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7232 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7233
7234 * progmodes/dcl-mode.el (dcl-end-of-command):
7235 Remove unused variable `start'.
7236 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7237 (dcl-option-value-basic, dcl-option-value-offset)
7238 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7239 Mark unused parameters.
7240 (dcl-save-local-variable): Remove unused variable `val'.
7241 (mode): Declare.
7242
7243 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7244 Mark unused parameters.
7245 (delphi-ignore-changes): Move before first use.
7246 (delphi-charset-token-at): Remove unused variable `start'.
7247 (delphi-else-start): Remove unused variable `if-count'.
7248 (delphi-comment-block-start, delphi-comment-block-end):
7249 Remove unused variable `kind'.
7250 (delphi-indent-line): Remove unused variable `new-point'.
7251
7252 * progmodes/ebrowse.el (ebrowse-files-list)
7253 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7254 Mark unused parameters. Don't quote `lambda'.
7255 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7256 Don't quote `lambda'.
7257 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7258 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7259 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7260 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7261 Use `ignore-errors'.
7262 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7263 (ebrowse-view/find-file-and-search-pattern)
7264 (ebrowse-view/find-member-declaration/definition):
7265 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7266 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7267 Rename parameter PREFIX-ARG to PREFIX.
7268 (ebrowse-tags-read-name): Remove unused variables `start' and
7269 `member-info'.
7270 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7271 to `tags-file'.
7272
7273 * progmodes/etags.el (local-find-tag-hook): Declare.
7274 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7275 Mark unused parameters.
7276
7277 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7278 (executable-interpret): Mark unused parameter.
7279
7280 * progmodes/flymake.el (flymake-process-sentinel)
7281 (flymake-after-change-function)
7282 (flymake-create-temp-with-folder-structure)
7283 (flymake-get-include-dirs-dot): Mark unused parameters.
7284 (flymake-safe-delete-directory): Remove unused variable `err'.
7285
7286 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7287 (speedbar-timer-fn, speedbar-line-text)
7288 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7289 (speedbar-center-buffer-smartly): Declare functions.
7290 (gdb-find-watch-expression): Remove unused variable `array'.
7291 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7292 (gdb-starting): Mark unused parameters.
7293 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7294 (gdb-table-string): Remove unused variable `res'.
7295 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7296 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7297 (gdb-display-buffer): Remove unused variable `cur-size'.
7298
7299 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7300 allow lexical-binding compilation.
7301 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7302 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7303 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7304 Mark unused parameters.
7305 (gud-gdb-marker-filter): Remove unused variable `match'.
7306 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7307 lambda expressions and funcall them, instead of using `fset'.
7308
7309 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7310 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7311
7312 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7313 variable `header-beg'; use `let'.
7314
7315 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7316 `restart', `last-sexp' and `at-do'.
7317
7318 * progmodes/js.el (js--debug): Mark unused parameter.
7319 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7320 (js--splice-into-items): Remove unused variable `item'.
7321 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7322
7323 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7324 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7325 (makefile-complete): Remove unused variable `try'.
7326 (makefile-fill-paragraph, makefile-match-function-end):
7327 Mark unused parameters.
7328
7329 * progmodes/octave-inf.el (inferior-octave-complete):
7330 Remove unused variable `proc'.
7331 (inferior-octave-output-digest): Mark unused parameter.
7332
7333 * progmodes/perl-mode.el (perl-calculate-indent):
7334 Remove unused variable `err'.
7335
7336 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7337 (prolog-indent-line): Mark unused parameters.
7338 (prolog-indent-line): Remove unused variable `beg'.
7339
7340 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7341 (reporter-dont-compact-list): Declare.
7342
7343 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7344 Remove unused variable `char'.
7345 (sh-debug): Mark unused parameter.
7346 (sh-get-indent-info): Remove unused variable `start'.
7347 (sh-calculate-indent): Remove unused variable `var'.
7348
7349 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7350 (simula-electric-keyword): Remove unused variable `null'.
7351 (simula-search-backward, simula-search-forward): Remove unused
7352 variables `begin' and `end'.
7353
7354 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7355 Remove unused variable `pos'.
7356 (vera-electric-tab, vera-comment-uncomment-region):
7357 Mark unused parameters.
7358 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7359
7ede3b65
CY
73602011-04-22 Chong Yidong <cyd@stupidchicken.com>
7361
7362 * emacs-lisp/package.el (package--builtins, package-alist)
7363 (package-load-descriptor, package-built-in-p, package-activate)
7364 (define-package, package-installed-p)
7365 (package-compute-transaction, package-buffer-info)
7366 (package--push): Doc fix. Distinguish more clearly between
7367 version strings and version lists.
7368
121656e9
JB
73692011-04-21 Juanma Barranquero <lekktu@gmail.com>
7370
7371 Lexical-binding cleanup.
7372
7373 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7374 (5x5-make-mutate-best):
7375 * play/fortune.el (fortune-in-buffer):
7376 * play/gomoku.el (gomoku-init-display):
7377 * play/solitaire.el (solitaire, solitaire-do-check):
7378 * play/tetris.el (tetris-default-update-speed-function):
7379 Mark unused parameters.
7380
7381 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7382 (bubbles--shift): Remove unused variable `char-org'.
7383 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7384 (bubbles--show-images): Remove unused variable `char'.
7385
7386 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7387 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7388 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7389 (decipher-analyze-buffer): Use ?\s.
7390 (decipher-make-checkpoint): Remove unused variable `mapping'.
7391
7392 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7393
7394 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7395 Remove unused variable `result'; use `let'.
7396
7397 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7398 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7399 (gametree-children-shown-p, gametree-compute-reduced-score):
7400 Use `ignore-errors'.
7401
7402 * play/handwrite.el (ps-lpr-switches): Declare.
7403 (handwrite): Remove unused variables `pmin' and `lastp'.
7404
7405 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7406
7407 * play/landmark.el (landmark-init-display)
7408 (landmark-update-naught-weights): Mark unused parameters.
7409 (landmark-y): Remove unused variable `noise'. Simplify.
7410 (landmark-human-plays): Remove unused variable `score'.
7411
7412 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7413 (mpuz-try-proposal): Remove unused variable `game'.
7414
7415 * play/zone.el (life-patterns): Declare.
7416
80f499c7
JB
74172011-04-20 Juanma Barranquero <lekktu@gmail.com>
7418
7419 * vc/vc.el (ediff-vc-internal): Declare function.
7420
024ff170
SM
74212011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7422
c0a193ea
SM
7423 * shell.el: Use lexical-binding and std completion UI.
7424 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7425 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7426 comint-preoutput-filter-functions rather than on
7427 comint-output-filter-functions.
7428 (shell-command-completion, shell--command-completion-data)
7429 (shell-filename-completion, shell-environment-variable-completion)
7430 (shell-c-a-p-replace-by-expanded-directory): New functions.
7431 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7432 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7433 (shell-dynamic-complete-environment-variable): Use them.
7434 (shell-dynamic-complete-as-environment-variable)
7435 (shell-dynamic-complete-as-command): Remove.
7436 (shell-match-partial-variable): Match past point.
7437 * comint.el: Clean up use of completion-at-point-functions.
7438 (comint-completion-at-point): New function.
7439 (comint-mode): Use it completion-at-point-functions.
7440 (comint-dynamic-complete): Make it obsolete.
7441 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7442 (comint-c-a-p-replace-by-expanded-history): New function.
7443 (comint-dynamic-complete-functions)
7444 (comint-replace-by-expanded-history): Use it.
7445 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7446 termination strings. Try harder to avoid second try-completion.
7447 (completion-in-region-mode-map): Disable bindings that don't work yet.
7448
2dbaa080
SM
7449 * comint.el: Use lexical-binding. Require CL.
7450 (comint-dynamic-complete-functions): Use comint-filename-completion.
7451 (comint-completion-addsuffix): Tweak custom type.
7452 (comint-filename-completion, comint--common-suffix)
7453 (comint--common-quoted-suffix, comint--table-subvert)
7454 (comint--complete-file-name-data): New functions.
7455 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7456 (comint-dynamic-list-filename-completions): Use them.
7457 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 7458
2dbaa080
SM
7459 * minibuffer.el (completion-in-region-mode):
7460 Keep completion-in-region-mode--predicate global.
7461 (completion-in-region--postch):
7462 Assume completion-in-region-mode--predicate is not null.
7463
c79a6f38
SM
7464 * progmodes/flymake.el (flymake-start-syntax-check-process):
7465 Obey `dir'. Simplify.
7466
024ff170
SM
7467 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7468 we're in VC after all.
7469
1c6c854e
CS
74702011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7471
7472 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 7473 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
7474 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7475
bed7f140
SM
74762011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7477
332e62ab
SM
7478 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7479 add sanity check.
7480
bed7f140
SM
7481 * obsolete/erc-hecomplete.el: Make obsolete.
7482 * obsolete/: Standardize obsolescence info in the header.
7483
f195c582
GM
74842011-04-20 Glenn Morris <rgm@gnu.org>
7485
7486 * calendar/solar.el (solar-horizontal-coordinates):
7487 Use the longitude argument rather than `calendar-longitude'.
7488 (solar-date-next-longitude): Remove unused locals.
7489
cb79b8c0
VJL
74902011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7491
7492 * whitespace.el: New version 13.2.1.
7493
74942011-04-20 felix <EmacsWiki> (tiny change)
7495
d8e4b68b 7496 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
7497 switching between major modes on a file.
7498
602ea69d
SM
74992011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7500
7501 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7502 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7503 multi-line comments as well.
7504
06b60517
JB
75052011-04-19 Juanma Barranquero <lekktu@gmail.com>
7506
7507 Lexical-binding cleanup.
7508
7509 * arc-mode.el (archive-mode-revert):
7510 * cmuscheme.el (scheme-interactively-start-process):
7511 * custom.el (custom-initialize-delay):
7512 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7513 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7514 * emacs-lock.el (emacs-lock-clear-sentinel):
7515 * ezimage.el (defezimage):
7516 * follow.el (follow-avoid-tail-recenter):
7517 * fringe.el (set-fringe-mode-1):
7518 * generic-x.el (bat-generic-mode-compile):
7519 * help-mode.el (help-info-variable, help-do-xref)
7520 (help-mode-revert-buffer):
7521 * help.el (view-emacs-todo):
7522 * iswitchb.el (iswitchb-completion-help):
7523 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7524 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7525 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7526 * locate.el (locate-update):
7527 * longlines.el (longlines-encode-region)
7528 (longlines-after-change-function):
7529 * outline.el (outline-isearch-open-invisible):
7530 * ps-def.el (declare-function, charset-dimension, char-width)
7531 (encode-char):
7532 * ps-mule.el (ps-mule-plot-string):
7533 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7534 (recentf-edit-list-select, recentf-edit-list-validate)
7535 (recentf-open-files-action):
7536 * rect.el (delete-whitespace-rectangle-line)
7537 (rectangle-number-line-callback):
7538 * register.el (window-configuration-to-register)
7539 (frame-configuration-to-register):
7540 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7541 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7542 (xselect-convert-to-targets, xselect-convert-to-delete)
7543 (xselect-convert-to-filename, xselect-convert-to-charpos)
7544 (xselect-convert-to-lineno, xselect-convert-to-colno)
7545 (xselect-convert-to-os, xselect-convert-to-host)
7546 (xselect-convert-to-user, xselect-convert-to-class)
7547 (xselect-convert-to-name, xselect-convert-to-integer)
7548 (xselect-convert-to-atom, xselect-convert-to-identity):
7549 * subr.el (declare, ignore, process-kill-without-query)
7550 (text-clone-maintain):
7551 * terminal.el (te-get-char, te-tic-sentinel):
7552 * tool-bar.el (tool-bar-make-keymap):
7553 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7554 * type-break.el (type-break-mode, type-break-noninteractive-query):
7555 * view.el (View-back-to-mark):
7556 * wid-browse.el (widget-browse-action, widget-browse-widget)
7557 (widget-browse-widgets, widget-browse-sexp):
7558 * widget.el (define-widget-keywords):
7559 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7560 Mark unused parameters.
7561
7562 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7563 (align-areas): Remove unused variable `look'.
7564 (align-region): Remove unused variables `real-end' and `pos-list'.
7565
7566 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7567
7568 * bindings.el (mode-line-modified, mode-line-remote):
7569 Mark unused parameters.
7570 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7571
7572 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7573 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7574
7575 * comint.el (comint-history-isearch-pop-state)
7576 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7577 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7578 (comint-substitute-in-file-name): Doc fix.
7579
7580 * completion.el (cmpl-statistics-block): Mark unused parameter.
7581 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7582 (save-completions-to-file, load-completions-from-file):
7583 Remove unused local variable `e'.
7584
7585 * composite.el (compose-chars): Remove unused variable `len'.
7586 (lgstring-insert-glyph): Remove unused variable `g'.
7587 (compose-glyph-string): Remove unused variables `ascent',
7588 `descent', `lbearing' and `rbearing'.
7589 (compose-glyph-string-relative): Remove unused variables
7590 `lbearing', `rbearing' and `wadjust'.
7591 (compose-gstring-for-graphic): Remove unused variables `header',
7592 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7593 (compose-gstring-for-terminal): Remove unused variables `header'
7594 and `nchars'. Use `let', not `let*'.
7595
7596 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7597 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7598 (Custom-buffer-done, custom-buffer-create-internal)
7599 (custom-browse-visibility-action, custom-browse-group-tag-action)
7600 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7601 (widget-magic-mouse-down-action, custom-toggle-parent)
7602 (custom-add-parent-links, custom-toggle-hide-variable)
7603 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7604 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7605 (custom-face-menu-create, custom-variable-menu-create, get)
7606 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7607 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7608 (customize-apropos): Remove unused variable `tests'.
7609 (custom-group-value-create): Remove unused variable `hidden-p'.
7610 (sort-fold-case): Declare.
7611
7612 * cus-theme.el (custom-reset-standard-faces-list)
7613 (custom-reset-standard-variables-list): Declare.
7614 (customize-create-theme, custom-theme-revert, custom-theme-write)
7615 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7616 Mark unused parameters.
7617
7618 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7619
7620 * delim-col.el (delimit-columns-max): Move defvar before first use.
7621
7622 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7623 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7624
7625 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7626 (auto-insert): Declare.
7627 (desktop-restore-file-buffer): Rename desktop-* parameters;
7628 mark unused ones.
7629 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7630 (desktop-buffer): Rename desktop-* parameters.
7631
7632 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7633 (dframe-reposition-frame-xemacs, dframe-help-echo)
7634 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7635 Mark unused parameters.
7636
7637 * dired-aux.el (backup-extract-version-start, overwrite-query)
7638 (overwrite-backup-query, rename-regexp-query)
7639 (rename-non-directory-query): Declare.
7640 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7641 (dired-add-entry): Remove unused variable `orig-file-name'.
7642 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7643 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7644 `dired-copy-preserve-time' directly.
7645 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7646 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7647
7648 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7649 (dired-virtual-revert, dired-make-relative-symlink):
7650 Mark unused parameters.
7651 (manual-program): Declare.
7652 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7653 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7654 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7655
7656 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7657
7658 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7659
7660 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7661 Declare.
7662
7663 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7664
7665 * electric.el (Electric-command-loop): Rename parameter
7666 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7667
7668 * expand.el (expand-in-literal): Remove unused variable `here'.
7669
7670 * facemenu.el (facemenu-add-new-color):
7671 Remove unused variable `docstring'.
7672
7673 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7674 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7675 (face-attr-construct): Mark unused parameter. Doc fix.
7676 (read-color): Remove unused variable `hex-string'.
7677
7678 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7679 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7680 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7681 (display-buffer-other-frame): Remove unused variable `old-window'.
7682 (kill-buffer-hook): Declare.
7683 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7684 Mark unused parameters.
7685 (after-find-file): Pass 1 to `auto-save-mode', not t.
7686
7687 * files-x.el (auto-insert): Declare.
7688 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7689
7690 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7691 variable `buf'. Mark unused parameter.
06b60517
JB
7692 (find-lisp-insert-directory): Mark unused parameter.
7693
7694 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7695 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7696 (format-common-tail): Remove, unused.
7697 (format-deannotate-region): Remove unused variable `loc'.
7698 (format-annotate-region): Remove unused variable `p'.
7699 (format-annotate-single-property-change): Remove unused variables
7700 `default' and `tail'.
7701
7702 * forms.el (read-file-filter): Declare.
7703 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7704
7705 * frame.el (frame-creation-function-alist): Mark unused parameter.
7706 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7707
7708 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7709 Remove unused parameters.
7710 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7711 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7712
7713 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7714 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7715 (hfy-prepare-tag-map): Mark unused parameters.
7716 (htmlfontify-buffer): Use `called-interactively-p'.
7717
7718 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7719 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7720 (ibuffer-do-occur): Mark unused parameters.
7721 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7722 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7723
7724 * ibuffer.el: Don't quote `lambda'.
7725 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7726 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7727 Mark unused parameters.
7728
7729 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7730 (ido-completing-read): Mark unused parameters.
7731 (ido-copy-current-word): Mark unused parameters;
7732 remove unused variable `name'.
7733 (ido-sort-merged-list): Remove unused parameter `dirs'.
7734
7735 * ielm.el (ielm-input-sender): Mark unused parameter.
7736 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7737 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7738 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7739 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7740 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7741
7742 * image-dired.el (image-dired-display-thumbs): Remove unused
7743 variables `curr-file' and `count'.
7744 (image-dired-remove-tag): Remove unused variable `start'.
7745 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7746 variable `curr-file'
7747 (image-dired-rotate-original): Remove unused variable `temp-file'.
7748 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7749 Remove unused variable `file'.
7750 (image-dired-gallery-generate): Remove unused variable `curr'.
7751 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7752
7753 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7754
7755 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7756
7757 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7758
7759 * isearch.el (minibuffer-history-symbol): Declare.
7760 (isearch-edit-string): Remove unused variable `err'.
7761 (isearch-message-prefix, isearch-message-suffix):
7762 Mark unused parameters.
7763
7764 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7765
7766 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7767
7768 * makesum.el (double-column): Remove unused variable `cnt'.
7769
7770 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7771 (ido-ignore-item-temp-list): Declare.
7772
7773 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7774 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7775 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7776 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7777 `mouse-col-delta'.
7778
7779 * mouse-sel.el (mouse-extend-internal):
7780 Remove unused variable `orig-window-frame'.
7781
7782 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7783 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7784 Move declarations before first use.
7785 (pcomplete-opt): Mark unused parameters; doc fix.
7786
7787 * proced.el (proced-revert): Mark unused parameter.
7788 (proced-send-signal): Remove unused variable `err'.
7789
7790 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7791 Rename parameter PREFIX-ARG to ARG.
7792 (ps-basic-plot-string, ps-basic-plot-whitespace):
7793 Mark unused parameters.
7794
7795 * replace.el (replace-count): Define.
7796 (occur-revert-function): Mark unused parameters.
7797 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7798 (isearch-case-fold-search, isearch-string): Declare.
7799 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7800 bind `case-fold-search'. Remove unused variables `beg' and `end',
7801 and simplify.
7802 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7803 COUNT and bind `replace-count'.
7804 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7805 to COUNT.
7806
7807 * savehist.el (print-readably, print-string-length): Declare.
7808
7809 * shadowfile.el (shadow-expand-cluster-in-file-name):
7810 Remove unused variable `cluster'.
7811 (shadow-copy-file): Remove unused variable `i'.
7812 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7813 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7814 (shadow-define-literal-group, shadow-define-regexp-group)
7815 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7816
7817 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7818 (shell): Use `called-interactively-p'.
7819 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7820
7821 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7822 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7823 (delete-backward-char): Remove unused variable `ocol'.
7824 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7825 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7826 (event-apply-hyper-modifier, event-apply-shift-modifier)
7827 (event-apply-control-modifier, event-apply-meta-modifier):
7828 Mark unused parameters.
7829 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7830 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7831
7832 * speedbar.el (speedbar-ignored-directory-expressions)
7833 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7834 (speedbar-find-file, speedbar-dir-follow)
7835 (speedbar-directory-buttons-follow, speedbar-tag-find)
7836 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7837 (speedbar-buffers-line-directory, speedbar-buffer-click):
7838 Mark unused parameters.
7839 (speedbar-tag-file): Remove unused variable `mode'.
7840 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7841
7842 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7843
7844 * talk.el (talk): Remove unused variable `display'.
7845
7846 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7847 (tar-write-region-annotate): Mark unused parameter.
7848
7849 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7850 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7851 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7852 warning by another.
7853
7854 * time-stamp.el (time-stamp-string-preprocess):
7855 Remove unused variable `require-padding'.
7856
7857 * tree-widget.el (widget-glyph-enable): Declare.
7858 (tree-widget-action): Mark unused parameter.
7859
7860 * w32-fns.el (x-get-selection): Mark unused parameter.
7861 (autoload-make-program, generated-autoload-file): Declare.
7862
7863 * wdired.el (wdired-revert): Mark unused parameters.
7864 (wdired-xcase-word): Remove unused variable `err'.
7865
7866 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7867 (whitespace-help-scroll): Remove unused variable `data-help'.
7868
7869 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7870 (widget-image-insert, widget-after-change, default)
7871 (widget-default-format-handler, widget-default-notify)
7872 (widget-default-prompt-value, widget-info-link-action)
7873 (widget-url-link-action, widget-function-link-action)
7874 (widget-variable-link-action, widget-file-link-action)
7875 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7876 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7877 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7878 (widget-insert-button-action, widget-delete-button-action, visibility)
7879 (widget-documentation-link-action, widget-documentation-string-action)
7880 (widget-const-prompt-value, widget-regexp-match, symbol)
7881 (widget-coding-system-prompt-value)
7882 (widget-key-sequence-value-to-external, sexp)
7883 (widget-sexp-value-to-internal, character, vector, cons)
7884 (widget-choice-prompt-value, widget-boolean-prompt-value)
7885 (widget-color--choose-action): Mark unused parameters.
7886 (widget-item-match-inline, widget-choice-match-inline)
7887 (widget-checklist-match, widget-checklist-match-inline)
7888 (widget-group-match): Rename parameter VALUES to VALS.
7889 (widget-field-value-set): Remove unused variable `size'.
7890 (widget-color-action): Remove unused variables `value' and `start'.
7891
7892 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7893 variable `dir'. Doc fix.
06b60517
JB
7894 (windmove-find-other-window): Don't pass it.
7895
7896 * window.el (count-windows): Mark unused parameter.
7897 (bw-adjust-window): Remove unused variable `err'.
7898
7899 * woman.el (woman-file-name): Remove unused variable `default'.
7900 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7901 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7902 (global-font-lock-mode): Declare.
7903 (woman-decode-region): Mark unused parameter.
7904 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7905
7906 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7907 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7908 (x-dnd-handle-moz-url): Remove unused variable `title'.
7909 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7910
7911 * xml.el (xml-parse-tag, xml-parse-attlist):
7912 Remove unused variable `pos'.
7913
bc4f7f3d
GM
79142011-04-19 Glenn Morris <rgm@gnu.org>
7915
7916 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7917 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7918 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7919 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7920 * calendar/cal-html.el (cal-html-insert-minical):
7921 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7922 (calendar-mark-date-pattern):
7923 Prefix "unused" locals.
7924
7925 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7926 optional argument `style'.
7927
7928 * calendar/appt.el (appt-make-list):
7929 * calendar/cal-china.el (calendar-chinese-date-string):
7930 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7931 (diary-hebrew-yahrzeit):
7932 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7933 * calendar/calendar.el (calendar-generate-window):
7934 * calendar/time-date.el (time-to-days):
7935 Remove unused local variables.
7936
16a43933
CY
79372011-04-18 Chong Yidong <cyd@stupidchicken.com>
7938
7939 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7940 glyphless-char-display table.
7941 (tabulated-list-glyphless-char-display): New var.
7942
7eed1860
SS
79432011-04-18 Sam Steingold <sds@gnu.org>
7944
7945 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7946 to acknowledgments.
7947
4d2d1ccd
GM
79482011-04-17 Glenn Morris <rgm@gnu.org>
7949
7950 * calendar/diary-lib.el (diary-sexp-entry):
7951 * calendar/holidays.el (holiday-sexp):
7952 Set debug-on-error rather than the removed stack-trace-on-error.
7953
239da61d
GM
79542011-04-16 Glenn Morris <rgm@gnu.org>
7955
7956 * progmodes/f90.el: Use lexical-binding.
7957 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7958
8b05752a
SM
79592011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7960
daca8ba5
SM
7961 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7962 (mail-mode): Setup mailalias completion here instead.
7963 * mail/mailalias.el: Use lexical-binding.
7964 (pattern, mailalias-done): Declare dynamic.
7965 (mail-completion-at-point-function): New function, from mail-complete.
7966 (mail-complete): Use it.
7967 (mail-completion-expand): New function.
7968 (mail-get-names): Use it.
7969 (mail-directory, mail-directory-process, mail-directory-stream):
7970 Don't use `pattern' for lexically bound arg.
7971
6f542485
SM
7972 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7973
037e7c3f
SM
7974 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7975 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7976 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7977
8b05752a
SM
7978 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7979 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7980 (byte-interactive-p): Define them again, for use when inlining
7981 old code.
7982
49093f60
JB
79832011-04-15 Juanma Barranquero <lekktu@gmail.com>
7984
7985 * loadup.el: Use `string-to-number', not `string-to-int'.
7986
b5b8e7de
SM
79872011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7990 gud-gdb-complete-command.
7991 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7992 (gud-gdb-completion-at-point): New function.
7993 (gud-gdb-completions): Remove.
7994
f42efeb5
MA
79952011-04-14 Michael Albinus <michael.albinus@gmx.de>
7996
49093f60
JB
7997 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7998 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7999 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8000 whether `executable-find' is bound.
f42efeb5
MA
8001
8002 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8003
e240cc21
SM
80042011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8005
8006 * minibuffer.el (completion-in-region-mode-predicate)
8007 (completion-in-region-mode--predicate): New vars.
8008 (completion-in-region, completion-in-region--postch)
8009 (completion-in-region-mode): Use them.
8010 (completion--capf-wrapper): Also return the hook function.
8011 (completion-at-point, completion-help-at-point):
8012 Adjust and provide a predicate.
c2bd2ab0
SM
8013
8014 Preserve arg names for advice of subr and lexical functions (bug#8457).
8015 * help-fns.el (help-function-arglist): Consolidate the subr and
8016 new-byte-code cases. Add argument `preserve-names' to extract names
8017 from the docstring when needed.
8018 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8019 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8020 (ad-arglist): Use help-function-arglist's new arg.
8021 (ad-definition-type): Use cond.
8022
c183f693
JB
80232011-04-13 Juanma Barranquero <lekktu@gmail.com>
8024
06641a47
JB
8025 * autorevert.el (auto-revert-handler):
8026 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8027 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8028 Don't quote lambda.
8029
c183f693
JB
8030 * image-mode.el (image-transform-set-scale):
8031 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8032
1e3b6001
G
80332011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8034
8035 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 8036 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
8037 Upgrades via gnutls-cli are too slow to be done opportunistically.
8038
2d6af8dd
JB
80392011-04-12 Juanma Barranquero <lekktu@gmail.com>
8040
8041 * dframe.el (dframe-current-frame): Remove spurious quote.
8042
c0749a51
GM
80432011-04-12 Glenn Morris <rgm@gnu.org>
8044
088d0d61
GM
8045 * calendar/cal-tex.el (cal-tex-end-document):
8046 Try to automatically use latin1 input if needed.
8047
c0749a51
GM
8048 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8049 Don't try to cons a mark onto an empty element.
8050
5c90fde0
LL
80512011-04-11 Leo Liu <sdl.web@gmail.com>
8052
8053 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8054 buffers.
8055 (ido-kill-buffer-at-head): Support killing virtual buffers.
8056
369e974d
CY
80572011-04-10 Chong Yidong <cyd@stupidchicken.com>
8058
8059 * minibuffer.el (completion-show-inline-help): New var.
8060 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
8061 (minibuffer-force-complete, minibuffer-complete-word):
8062 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
8063
8064 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8065 to avoid interference from inline help (Bug#5849).
8066
37f1c930
LL
80672011-04-10 Leo Liu <sdl.web@gmail.com>
8068
099c39a4
JB
8069 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8070 Fix typo.
37f1c930 8071
a32d4040
CY
80722011-04-09 Chong Yidong <cyd@stupidchicken.com>
8073
8074 * image-mode.el (image-toggle-display-image): Signal an error if
8075 not in Image mode.
8076 (image-transform-mode, image-transform-resize)
8077 (image-transform-set-rotation): Doc fix.
daca8ba5 8078 (image-transform-set-resize): Delete.
a32d4040
CY
8079 (image-transform-set-scale, image-transform-fit-to-height)
8080 (image-transform-fit-to-width): Handle image-toggle-display-image
8081 and image-transform-resize directly.
8082
099c39a4 80832011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
8084
8085 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
8086 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8087 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
8088 (doc-view-mode-map): Add bindings for the new functions.
8089
099c39a4 80902011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 8091
4d61f28d 8092 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
8093 Fix typo in docstring.
8094
3726838a
EZ
80952011-04-08 Eli Zaretskii <eliz@gnu.org>
8096
04f33f1e
EZ
8097 * files.el (file-size-human-readable): Produce one digit after
8098 decimal, like "ls -lh" does.
8099
8100 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8101 the file size representation.
8102
3726838a
EZ
8103 * simple.el (list-processes): If async subprocesses are not
8104 available, error out with a clear error message.
8105
cbb59342
CY
81062011-04-08 Chong Yidong <cyd@stupidchicken.com>
8107
8108 * help.el (help-form-show): New function, to be called from C.
8109 Put help-form output in a buffer named differently than *Help*.
8110
e3971c44
EZ
81112011-04-08 Eli Zaretskii <eliz@gnu.org>
8112
8113 * files.el (file-size-human-readable): New function.
8114
8115 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8116 computing the representation inline. Don't require `cl'.
8117
12544bbe
GM
81182011-04-08 Glenn Morris <rgm@gnu.org>
8119
a1de6c6a
GM
8120 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8121
3c4671f4
GM
8122 * net/browse-url.el (browse-url-firefox):
8123 Test system-type, not system-configuration.
8124
b605679c
GM
8125 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8126 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8127 Use log-edit-empty-buffer-p. (Bug#7598)
8128
56442f0c
GM
8129 * net/rlogin.el (rlogin-process-connection-type): Simplify.
8130 (rlogin-mode-map): Initialize in the defvar.
8131 (rlogin): Use ignore-errors.
8132
12544bbe
GM
8133 * replace.el (occur-mode-map): Some fixes for menu items.
8134
eb237b0f
AH
81352011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8136
8137 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
8138
7d668f2c
CY
81392011-04-06 Chong Yidong <cyd@stupidchicken.com>
8140
e67a13ab
CY
8141 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8142 issuing unused warnings.
8143
8144 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8145 macro directly.
8146
7d668f2c
CY
8147 * simple.el: Lisp reimplement of list-processes. Based on an
8148 earlier reimplementation by Leo Liu, but using tabulated-list.el.
8149 (process-menu-mode): New major mode.
8150 (list-processes--refresh, list-processes):
8151 (process-menu-visit-buffer): New functions.
8152
8153 * files.el (save-buffers-kill-emacs): Don't assume any return
8154 value of list-processes, which is undocumented anyway.
8155
a83ec3c9
CY
81562011-04-06 Chong Yidong <cyd@stupidchicken.com>
8157
8158 * emacs-lisp/tabulated-list.el: New file.
8159
e91a96fe
CY
8160 * emacs-lisp/package.el: Use Tabulated List mode.
8161 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8162 (package-menu-mode): Derive from tabulated-list-mode. Set up the
8163 table format using Tabulated List mode variables.
8164 (package--push): New macro, replacing package-list-maybe-add.
8165 (package-menu--generate): Use package--push. Renamed from
8166 package--generate-package-list.
8167 (package-menu-refresh, list-packages): Use it.
daca8ba5 8168 (package-menu--print-info): Rename from package-print-package.
e91a96fe 8169 Return insertion data instead of inserting it directly.
099c39a4
JB
8170 (package-menu-describe-package, package-menu-execute):
8171 Use tabulated-list-get-id.
e91a96fe
CY
8172 (package-menu-mark-delete, package-menu-mark-install)
8173 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
8174 (package-menu-mark-obsolete-for-deletion):
8175 Use tabulated-list-put-tag.
e91a96fe
CY
8176 (package--list-packages, package-menu-revert)
8177 (package-menu-get-package, package-menu-get-version)
8178 (package-menu-sort-by-column): Functions deleted.
8179 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8180 (package-menu--status-predicate, package-menu--version-predicate)
8181 (package-menu--name-predicate)
8182 (package-menu--description-predicate): Handle arguments in the
8183 Tabulated List format.
8184 (package-list-packages-no-fetch): Call list-packages.
8185
3e214b50
JB
81862011-04-06 Juanma Barranquero <lekktu@gmail.com>
8187
8188 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 8189 (after-find-file): Don't bind it.
3e214b50
JB
8190 (revert-buffer-in-progress-p): New variable.
8191 (revert-buffer): Bind it.
8192 Pass nil for `after-find-file-from-revert-buffer'.
8193
8194 * saveplace.el (save-place-find-file-hook): Use new variable
8195 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8196
3f0f1700
GM
81972011-04-06 Glenn Morris <rgm@gnu.org>
8198
c0274801
GM
8199 * Makefile.in (AUTOGEN_VCS): New variable.
8200 (autoloads): Use $AUTOGEN_VCS.
8201
3f0f1700
GM
8202 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8203 * calendar/calendar.el (calendar-mode-map):
8204 Check for toolkit scroll bars. (Bug#8305)
8205
41ea9e48
CY
82062011-04-05 Chong Yidong <cyd@stupidchicken.com>
8207
8208 * minibuffer.el (completion-in-region--postch)
8209 (completion-in-region-mode): Remove unnecessary messages.
8210
6194c800
JB
82112011-04-05 Juanma Barranquero <lekktu@gmail.com>
8212
33256f14
JB
8213 * font-lock.el (font-lock-refresh-defaults):
8214 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8215 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8216
6194c800
JB
8217 * info.el (Info-directory-list, Info-read-node-name-2)
8218 (Info-split-parameter-string): Doc fixes.
8219 (Info-virtual-nodes): Reflow docstring.
8220 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8221 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8222 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8223 Fix typos in docstrings.
8224 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8225 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8226 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8227 (Info-restore-desktop-buffer): Mark unused parameters.
8228 (Info-directory-find-file, Info-directory-find-node)
8229 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8230 (Info-virtual-index-find-node, Info-apropos-find-file)
8231 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 8232 Mark unused parameters; fix typos in docstrings.
6194c800
JB
8233 (Info-virtual-index): Remove unused local variable `nodename'.
8234
b87a8200 82352011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 8236
b87a8200
DD
8237 * net/rcirc.el: Update my e-mail address.
8238 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 8239
3b2ff876
CY
82402011-04-05 Chong Yidong <cyd@stupidchicken.com>
8241
8242 * startup.el (command-line): Save the cursor's theme-face
8243 directly, instead of using face-override-spec.
8244
8245 * custom.el (load-theme): Minor optimization in assigning faces.
8246
8d17e7ca
JB
82472011-04-04 Juanma Barranquero <lekktu@gmail.com>
8248
8249 * help-fns.el (describe-variable): Complete all variables having
8250 documentation, including keywords.
8251 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8252
2fbc1934
JB
82532011-04-04 Juanma Barranquero <lekktu@gmail.com>
8254
8255 Convert to lexical-binding.
8256
8257 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8258 (bs--get-marked-string, bs--get-modified-string)
8259 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8260 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8261 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8262
8263 * ehelp.el (electric-help-execute-extended)
8264 (electric-help-ctrl-x-prefix):
8265 * hexl.el (hexl-revert-buffer-function):
8266 * linum.el (linum-after-change, linum-after-scroll):
8267 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8268
8269 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8270
74f50695
DU
82712011-04-04 Daiki Ueno <ueno@unixuser.org>
8272
8273 * epa-dired.el:
8274 * epa-mail.el:
8275 * epa-hook.el:
8276 * epa-file.el:
8277 * epa.el:
8278 * epg.el: Use lexical binding.
8279
c11325f7
CY
82802011-04-03 Chong Yidong <cyd@stupidchicken.com>
8281
0d9e9a12
CY
8282 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8283
c11325f7 8284 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
8285 dictionary case for flyspell-mark-duplications-exceptions.
8286 Use regexp matching for languages.
c11325f7
CY
8287 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8288 default dictionary (Bug#7926).
8289
da91b5f2
CY
82902011-04-02 Chong Yidong <cyd@stupidchicken.com>
8291
099c39a4
JB
8292 * emacs-lisp/package.el (package--with-work-buffer):
8293 Recognize https URLs.
da91b5f2 8294
099c39a4
JB
8295 * net/network-stream.el: Move from gnus/proto-stream.el.
8296 Change prefix to network-stream throughout.
da91b5f2
CY
8297 (open-protocol-stream): Merge into open-network-stream, leaving
8298 open-protocol-stream as an alias. Handle nil BUFFER args.
8299
8300 * subr.el (open-network-stream): Move to net/network-stream.el.
8301
afa8e9f6
GM
83022011-04-02 Glenn Morris <rgm@gnu.org>
8303
1d2e369d
GM
8304 * find-dired.el (find-exec-terminator): New option.
8305 (find-ls-option): Test for -ls support.
8306 (find-ls-subdir-switches): Test for -b in find-ls-option.
8307 (find-dired, find-grep-dired): Doc fixes.
8308 (find-dired): Use find-exec-terminator.
8309
8abb7da8 8310 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
8311 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8312 (find-name-arg): Remove purecopy.
8abb7da8 8313
f3ca7378
GM
8314 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8315 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8316 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8317 accordingly. Don't add the null-device if not needed.
8318
afa8e9f6
GM
8319 * files.el (save-some-buffers): Doc fix.
8320
35eae264
EZ
83212011-04-02 Eli Zaretskii <eliz@gnu.org>
8322
8323 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8324
26b51db5
JB
83252011-04-01 Juanma Barranquero <lekktu@gmail.com>
8326
8327 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8328 Use `dolist' rather than `mapcar'.
8329
7200d79c
SM
83302011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8331
03408648 8332 Add lexical binding.
7200d79c 8333
03408648
SM
8334 * subr.el (apply-partially): Use new closures rather than CL.
8335 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8336 (dolist, dotimes): Use slightly different expansion for lexical code.
8337 (functionp): Move to C.
8338 (letrec): New macro.
8339 (with-wrapper-hook): Use it and apply-partially instead of CL.
8340 (eval-after-load): Preserve lexical-binding.
8341 (save-window-excursion, with-output-to-temp-buffer): Turn them
8342 into macros.
7200d79c 8343
03408648
SM
8344 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8345
8346 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8347 than the arglist.
8348 (help-add-fundoc-usage): Don't add `Not documented'.
8349 (help-function-arglist): Handle closures, subroutines, and new
8350 byte-code-functions.
8351 (help-make-usage): Remove leading underscores.
8352 (describe-function-1): Handle closures.
8353 (describe-variable): Use special-variable-p for completion.
8354
8355 * files.el (lexical-binding): Declare safe.
f488fb65 8356
03408648
SM
8357 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8358 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8359 (pcase): Add `let' pattern.
8360 Change memoization so it actually works.
8361 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8362 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8363 <let>: New case.
f488fb65 8364
03408648
SM
8365 * emacs-lisp/macroexp.el: Use lexical binding.
8366 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8367 Don't convert ' to #' without checking that it's indeed quoting
8368 a lambda.
8369
8370 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 8371 Use eval-sexp-add-defvars.
03408648
SM
8372 (eval-sexp-add-defvars): New fun.
8373
8374 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8375
8376 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8377 Don't autoload.
8378 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8379 than the internal `byte-compile-lambda'.
8380 (defmethod): Don't hide code under quotes.
8381 (eieio-defmethod): New `code' argument.
8382
8383 * emacs-lisp/eieio-comp.el: Remove.
8384
8385 * emacs-lisp/edebug.el (edebug-eval-defun)
8386 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8387 (edebug-toggle): Avoid `eval'.
8388
8389 * emacs-lisp/disass.el (disassemble-internal): Handle new
8390 `closure' objects.
8391 (disassemble-1): Handle new byte codes.
8392
8393 * emacs-lisp/cl.el (pushnew): Silence warning.
8394
8395 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8396 (cl-byte-compile-throw): Remove.
8397 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8398
8399 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8400 closures.
8401
8402 * emacs-lisp/cconv.el: New file.
8403
8404 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8405 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8406 (byte-compile-initial-macro-environment):
8407 Handle declare-function here.
8408 (byte-compile--lexical-environment): New var.
8409 (byte-stack-ref, byte-stack-set, byte-discardN)
8410 (byte-discardN-preserve-tos): New lap codes.
8411 (byte-interactive-p): Don't use any more.
8412 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8413 New macros.
8414 (byte-compile-lapcode): Use them and handle new lap codes.
8415 (byte-compile-obsolete): Remove.
8416 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8417 (byte-compile-arglist-warn): Check late def of inlinable funs.
8418 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8419 since they should have been expanded by now.
8420 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8421 (byte-compile-from-buffer): Remove unused second arg.
8422 (byte-compile-preprocess): New function.
8423 (byte-compile-toplevel-file-form): New function to distinguish
8424 file-form calls from outside from file-form calls from hunk-handlers.
8425 (byte-compile-file-form): Simplify.
8426 (byte-compile-file-form-defsubst): Remove.
8427 (byte-compile-file-form-defmumble): Simplify now that
8428 byte-compile-lambda always returns a byte-code-function.
8429 (byte-compile): Preprocess.
8430 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8431 Remove, not used any more.
8432 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8433 (byte-compile-make-args-desc): New funs.
8434 (byte-compile-lambda): Handle lexical functions. Always return
8435 a byte-code-function.
8436 (byte-compile-reserved-constants): New var, to make up room for
8437 closed-over variables.
8438 (byte-compile-constants-vector): Obey it.
8439 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8440 (byte-compile-macroexpand-declare-function): New function.
8441 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8442 byte-code-functions.
8443 (byte-compile-form): Check obsolescence here.
8444 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8445 (byte-compile-variable-ref): Remove.
8446 (byte-compile-dynamic-variable-op): New fun.
8447 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8448 (byte-compile-variable-set): New funs.
8449 (byte-compile-discard): Add 2 args.
8450 (byte-compile-stack-ref, byte-compile-stack-set)
8451 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8452 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8453 macroexpand-all instead.
8454 (byte-compile-quote-form): Remove.
8455 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8456 (byte-compile-bind, byte-compile-unbind): New funs.
8457 (byte-compile-let): Handle let* and lexical binding.
8458 (byte-compile-let*): Remove.
8459 (byte-compile-catch, byte-compile-unwind-protect)
8460 (byte-compile-track-mouse, byte-compile-condition-case):
8461 Handle a new :fun-body form, used for lexical scoping.
8462 (byte-compile-save-window-excursion)
8463 (byte-compile-with-output-to-temp-buffer): Remove.
8464 (byte-compile-defun): Simplify.
8465 (byte-compile-stack-adjustment): New fun.
8466 (byte-compile-out): Use it.
8467 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8468
8469 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8470 handler any more.
8471
8472 * emacs-lisp/byte-opt.el: Use lexical binding.
8473 (byte-inline-lapcode): Remove (to bytecomp).
8474 (byte-compile-inline-expand): Pay attention to inlining to/from
8475 lexically bound code.
8476 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8477 any more.
8478 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8479 any more and don't call compiler-macros.
8480 (byte-compile-splice-in-already-compiled-code): Remove.
8481 (byte-code): Don't inline any more.
8482 (disassemble-offset): Receive `bytes' as argument rather than via
8483 dynamic scoping.
8484 (byte-compile-tag-number): Declare before first use.
8485 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8486 `return' even if make-spliceable.
8487 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8488 obsolete interactive-p.
8489 (byte-optimize-lapcode): Optimize new lap-codes.
8490 Don't trip up on new form of `byte-constant' lap code.
8491
8492 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8493
8494 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8495
8496 * custom.el (custom-initialize-default, custom-declare-variable):
8497 Use `defvar'.
8498
8499 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8500 New variables.
8501 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8502 (COMPILE_FIRST): Add macroexp and cconv.
8503 * makefile.w32-in: Mirror changes in Makefile.in.
8504
8505 * vc/cvs-status.el:
8506 * vc/diff-mode.el:
8507 * vc/log-edit.el:
8508 * vc/log-view.el:
8509 * vc/smerge-mode.el:
8510 * textmodes/bibtex-style.el:
8511 * textmodes/css.el:
8512 * startup.el:
8513 * uniquify.el:
da91b5f2
CY
8514 * minibuffer.el:
8515 * newcomment.el:
8516 * reveal.el:
8517 * server.el:
8518 * mpc.el:
8519 * emacs-lisp/smie.el:
8520 * doc-view.el:
8521 * dired.el:
03408648
SM
8522 * abbrev.el: Use lexical binding.
8523
0f0c1f27
EZ
85242011-04-01 Eli Zaretskii <eliz@gnu.org>
8525
8526 * info.el (info-display-manual): New function.
8527
c82b2579
SM
85282011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8529
8530 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8531
221ddf68
TH
85322011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8533
8534 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 8535 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 8536
cba6e77e
GM
85372011-03-31 Glenn Morris <rgm@gnu.org>
8538
e040639f
GM
8539 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8540
cba6e77e
GM
8541 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8542
6d0f1c9e
CS
85432011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8544
8545 * progmodes/python.el (python-default-interpreter)
8546 (python-python-command-args, python-jython-command-args)
8547 (python-which-shell, python-which-args, python-which-bufname)
8548 (python-file-queue, python-comint-output-filter-function)
8549 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8550 variables and functions.
8551
3e2d70fd
SM
85522011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8553
8554 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8555 (completion-in-region-mode): New minor mode.
8556 (completion-in-region): Use it.
8557 (completion-in-region--data, completion-in-region-mode-map): New vars.
8558 (completion-in-region--postch): New function.
8559 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8560 New vars.
8561 (completion--capf-wrapper): New function.
8562 (completion-at-point): Use it to track well-behavedness of
8563 hook functions.
8564 (completion-help-at-point): New command.
8565
f3e4086c
JM
85662011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8567
8568 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8569 syntax class to search for whitespace on a single line
8570 (Message-ID: <4D938140.4030905@redhat.com>).
8571
eb7ffc14
LL
85722011-03-30 Leo Liu <sdl.web@gmail.com>
8573
8574 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8575 New commands.
8576 (edit-abbrevs-map): Bind them here.
8577 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8578
d806ab68
KM
85792011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8580
8581 * allout.el (allout-hide-by-annotation, allout-flag-region):
8582 Reduce possibility of overlay leakage by making them volatile.
8583
8584 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8585 hash is not shared between buffers. Mode initialization is
8586 responsible for giving it a useful starting value.
8587 (allout-item-span): Reduce possibility of overlay leakage by
8588 making them volatile.
8589 (allout-widgets-count-buttons-in-region): Add diagnostic function
8590 for tracking down button overlay leaks.
8591
ea622834
LL
85922011-03-29 Leo Liu <sdl.web@gmail.com>
8593
8594 * ido.el (ido-read-internal): Use the default history var
8595 minibuffer-history if no HISTORY is specified.
8596
b62f8267
G
85972011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8598
03408648
SM
8599 * net/imap.el (imap-shell-open, imap-process-connection-type):
8600 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8601 Kerberos, SSL, other subprocesses.
8602
947b6566
LL
86032011-03-28 Leo Liu <sdl.web@gmail.com>
8604
8605 * abbrev.el (abbrev-table-empty-p): New function.
8606 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8607 nonempty ones. (Bug#5937)
8608
5ffb62aa
JD
86092011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8610
8611 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8612
7a097943
LL
86132011-03-27 Leo Liu <sdl.web@gmail.com>
8614
8615 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8616 for foreground and background colors.
8617 (ansi-color-make-color-map): Adapt.
8618
c5b40130
LL
86192011-03-25 Leo Liu <sdl.web@gmail.com>
8620
1f48f7d2
LL
8621 * midnight.el (midnight-time-float): Remove. Note it calculates
8622 the microsecond component incorrectly and seconds-to-time does the
8623 same job.
625897ec 8624 Remove redundant (require 'timer).
1f48f7d2 8625
c5b40130
LL
8626 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8627 (ido-completions): Remove unused arguments. (Bug#8329)
8628
d86d2721
SM
86292011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8630
8631 * minibuffer.el (completion--flush-all-sorted-completions):
8632 Remove itself from hook.
8633 (completion-at-point): Let the functions perform the completion
8634 immediately and return nil or t.
8635 * comint.el (comint-dynamic-complete-functions): Now identical to
8636 completion-at-point-functions.
8637 (comint-dynamic-list-input-ring): Remove unused var `index'.
8638 (comint--match-partial-filename, comint--unquote&expand-filename):
8639 New funs, split from comint-match-partial-filename.
8640 (comint-dynamic-complete): Use completion-at-point.
8641 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8642
e8974c48
DA
86432011-03-24 Drew Adams <drew.adams@oracle.com>
8644
8645 * thingatpt.el: Support `defun'.
8646
def71b5e
LL
86472011-03-23 Leo Liu <sdl.web@gmail.com>
8648
cb5af48e
LL
8649 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8650
def71b5e
LL
8651 * help-mode.el (help-mode-finish): Tweak regexp.
8652
927c53e7
GM
86532011-03-23 Glenn Morris <rgm@gnu.org>
8654
18d05bed
GM
8655 * eshell/esh-opt.el (eshell-eval-using-options):
8656 Do not bind unused local variable `eshell-option-stub'.
8657
927c53e7
GM
8658 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8659
9d0da923
JB
86602011-03-22 Juanma Barranquero <lekktu@gmail.com>
8661
8662 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8663 keymap variable in `with-no-warnings' to avoid a warning when the
8664 keymap has been already `defconst'ed.
8665
4b978a67
LL
86662011-03-22 Leo Liu <sdl.web@gmail.com>
8667
8668 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8669 encode all chars in abbrevs; otherwise use emacs-mule or
8670 utf-8-emacs. (Bug#8308)
8671
5fd62452
JB
86722011-03-22 Juanma Barranquero <lekktu@gmail.com>
8673
0b1596c6
JB
8674 * simple.el (backward-delete-char-untabify):
8675 Avoid warning about using `delete-backward-char'.
8676
5fd62452
JB
8677 * image.el (image-type-file-name-regexps): Make it variable.
8678 `imagemagick-register-types' modifies it, and the user may want
8679 to add new extensions for known image types.
8680 (imagemagick-register-types): Throw error if not using ImageMagick.
8681
0b4e93f1
LL
86822011-03-22 Leo Liu <sdl.web@gmail.com>
8683
8684 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8685 located before rcirc-prompt-end-marker.
8686 (rcirc-complete): Error if point is not after rcirc prompt.
8687 Handle the case when table is nil.
9882e214 8688 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8689
fccee4ab
CY
86902011-03-22 Chong Yidong <cyd@stupidchicken.com>
8691
8692 * custom.el (custom--inhibit-theme-enable): Make it affect only
8693 custom-theme-set-variables and custom-theme-set-faces.
8694 (provide-theme): Ignore custom--inhibit-theme-enable.
8695 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8696 (custom-enabling-themes): Delete variable.
d86d2721
SM
8697 (enable-theme): Accept only loaded themes as arguments.
8698 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8699 (custom-enabled-themes): Forbid themes from setting this.
8700 Eliminate use of custom-enabling-themes.
8701 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8702
af896da6
LL
87032011-03-21 Leo Liu <sdl.web@gmail.com>
8704
8705 * ido.el (ido-read-internal): Add ido-selected to history instead
8706 of user input.
8707
78f64af0
SM
87082011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8709
8710 * subr.el (deferred-action-list, deferred-action-function):
8711 Mark obsolete.
8712
b16ac1ec
LL
87132011-03-21 Leo Liu <sdl.web@gmail.com>
8714
810f7698
LL
8715 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8716 change on 2011-02-13 (bug#8309).
8717
b16ac1ec
LL
8718 * minibuffer.el (read-file-name-function): Change default value.
8719 (read-file-name--defaults): Rename from read-file-name-defaults.
8720 (read-file-name-default): Rename from read-file-name.
8721 (read-file-name): Call read-file-name-function.
8722
4e05e67e
GM
87232011-03-21 Glenn Morris <rgm@gnu.org>
8724
8725 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8726 Doc fixes.
8727
4359915b
CY
87282011-03-21 Chong Yidong <cyd@stupidchicken.com>
8729
8730 * cus-theme.el: Add missing provide statement.
8731 (customize-create-theme): Extract theme value correctly.
8732 (custom-theme-visit-theme): Autoload.
8733 (customize-create-theme): Prompt before inserting default faces.
8734
1fe275ee
JB
87352011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8736
8737 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8738 units and musical notes.
8739
3ec03f7e
LL
87402011-03-20 Leo <sdl.web@gmail.com>
8741
8742 * ido.el (ido-read-internal): Use completing-read-default.
8743 (ido-completing-read): Fix compatibility with completing-read.
8744
7d476bde
CO
87452011-03-20 Christian Ohler <ohler@gnu.org>
8746
8747 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8748 (ert-delete-all-tests): Use `called-interactively-p' rather than
8749 `interactive-p'.
8750 (ert--make-xrefs-region): Respect END.
8751
fe0fb33e
CY
87522011-03-19 Chong Yidong <cyd@stupidchicken.com>
8753
ff854b0b
CY
8754 * dired-aux.el (dired-create-directory): Signal an error if the
8755 directory already exists (Bug#8246).
8756
fe0fb33e
CY
8757 * facemenu.el (list-colors-display): Call list-faces-display
8758 inside with-help-window.
8759 (list-colors-print): Use display property to align the final
8760 column, instead of checking window-width.
8761
576bce32
EZ
87622011-03-19 Eli Zaretskii <eliz@gnu.org>
8763
4d61f28d 8764 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8765 windows-nt systems.
8766 (emerge-protect-metachars): Quote correctly for ms-dos and
8767 windows-nt systems.
8768
89c41d68 87692011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8770
8771 * info.el (info-initialize): Replace all uses of `:' with
8772 path-separator for compatibility with non-Unix systems.
8773 Cache quoting of path-separator. (Bug#8258)
8774
b14e3e21 87752011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8776
8777 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8778 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8779 (mouse-avoidance-mode): Fix typos in docstrings.
8780
4525ce3e
CY
87812011-03-19 Chong Yidong <cyd@stupidchicken.com>
8782
8783 * startup.el (package-subdirectory-regexp): Move from package.el.
8784 Omit \\` and \\', and let callers add them.
8785
8786 * emacs-lisp/package.el (package-strip-version)
8787 (package-load-all-descriptors): Add \\` and \\' to
8788 package-subdirectory-regexp before using it.
8789 (package-untar-buffer): New arg DIR; ensure that file untars only
8790 into this expected directory. Remove superfluous delete-region.
8791 (package-unpack): Caller changed.
8792 (package-tar-file-info): Use package-subdirectory-regexp.
8793
a904a09a 87942011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8795
a904a09a
SM
8796 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8797 diff-mode-shared-map (bug#8284).
8798 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8799
88002011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8801
8802 * calendar/time-date.el (format-seconds): Use assoc instead of
8803 assoc-string, since assoc-string doesn't exist in XEmacs.
8804
171fc304
JB
88052011-03-17 Juanma Barranquero <lekktu@gmail.com>
8806
8807 * custom.el (custom-known-themes): Reflow docstring.
8808 (custom-theme-load-path): Fix typo in docstring.
8809 (load-theme): Fix typo in error message.
8810 (custom-available-themes, custom-variable-theme-value):
8811 Use `let', not `let*'.
8812
d71990a1
JB
88132011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8814
8815 * calc/README: Mention inclusion of musical notes.
8816
8817 * calc/calc-units.el (calc-lu-quant): Rename from
8818 `calc-logunits-quantity'.
8819 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8820 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8821 (calc-db): Rename from `calc-dblevel'.
8822 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8823 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8824 (calc-np): Rename from `calc-nplevel'.
8825 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8826 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8827 (calc-lu-plus): Rename from `calc-logunits-add'.
8828 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8829 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8830 (calc-lu-minus): Rename from `calc-logunits-sub'.
8831 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8832 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8833 (calc-lu-times): Rename from `calc-logunits-mul'.
8834 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8835 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8836 (calc-lu-divide): Rename from `calc-logunits-div'.
8837 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8838 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8839
8840 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8841 functions being autoloaded.
8842
8843 * calc/calc.el (calc-lu-power-reference): Rename from
8844 `calc-logunits-power-reference'.
8845 (calc-lu-field-reference): Rename from
8846 `calc-logunits-field-reference'.
8847
8848 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8849
40c2934b
SM
88502011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8851
8852 * minibuffer.el (completion-all-sorted-completions):
8853 Use :completion-cycle-penalty text property if present.
8854
b0911414
KM
88552011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8856
8857 * allout.el (allout-yank-processing): Adjust for new rebulleting
8858 regime so bullet being yanked is used without prompting the user
8859 for a choice.
8860
8a05b668
JB
88612011-03-16 Juanma Barranquero <lekktu@gmail.com>
8862
8863 * startup.el (command-line): Warn the user that _emacs is deprecated.
8864
5ba5fb81
JB
88652011-03-16 Juanma Barranquero <lekktu@gmail.com>
8866
8867 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8868 (delphi-verbose, delphi-comment-face, delphi-string-face)
8869 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8870 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8871 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8872 (delphi-new-comment-line, delphi-font-lock-defaults)
8873 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8874 Fix typos in docstrings.
8875
2dab465b
KM
88762011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8877
5ba5fb81 8878 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8879 Invert the roles of character and string values for INSTEAD, so a
8880 string is used for the more common case of a defaulting prompt.
8881
0adf5618
SM
88822011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * progmodes/ruby-mode.el (ruby-backward-sexp):
8885 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8886 * play/gamegrid.el (gamegrid-make-face):
8887 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8888 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8889 * notifications.el (notifications-notify):
8890 * net/xesam.el (xesam-search-engines):
8891 * net/quickurl.el (quickurl-list-insert):
8892 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8893
d72700e5
CY
88942011-03-15 Chong Yidong <cyd@stupidchicken.com>
8895
8896 * startup.el (command-line): Update package subdirectory regexp.
8897
49c5410a
SM
88982011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8899
c6eee9aa
SM
8900 * allout.el (allout-abbreviate-flattened-numbering)
8901 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8902
49c5410a
SM
8903 * subr.el (read-char-choice): Only show the cursor after the prompt,
8904 not after the answer.
8905
047b2bb9
KR
89062011-03-15 Kevin Ryde <user42@zip.com.au>
8907
8908 * help-fns.el (variable-at-point): Skip leading quotes, if any
8909 (bug#8253).
8910
0a57d256
SM
89112011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8912
8913 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8914 warning message.
8915
77c992bc
MA
89162011-03-14 Michael Albinus <michael.albinus@gmx.de>
8917
8918 * shell.el (shell): When called interactively, offer to change the
8919 shell file name on remote hosts.
8920
eebc475d
TZ
89212011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8922
8923 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8924 integration for LDAP parameters. The host, base, user or binddn,
8925 and secret tokens can be specified in a netrc file, for instance.
8926 This is optional because an `auth-source' parameter must be
8927 specified in the search attributes.
8928
9d05d1ba
JB
89292011-03-13 Juanma Barranquero <lekktu@gmail.com>
8930
8931 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8932
09d9db2c
GM
89332011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8934
8935 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8936 into declaration. Remove redundant and harmful binding.
8937
89382011-03-12 Eli Zaretskii <eliz@gnu.org>
8939
8940 * files.el (file-ownership-preserved-p): Pass `integer' as an
8941 explicit 2nd argument to `file-attributes'. If the file's owner
8942 is the Administrators group on Windows, and the current user is
8943 Administrator, consider that a match.
8944
8945 * server.el (server-ensure-safe-dir): Consider server directory
8946 safe on MS-Windows if its owner is the Administrators group while
8947 the current Emacs user is Administrator. Use `=' to compare
8948 numerical UIDs, since they could be integers or floats.
8949
219bd536
JB
89502011-03-12 Juanma Barranquero <lekktu@gmail.com>
8951
8952 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8953
f3afd36b
MA
89542011-03-12 Michael Albinus <michael.albinus@gmx.de>
8955
8956 Sync with Tramp 2.2.1.
8957
8958 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8959
8960 * net/trampver.el: Update release number.
8961
3aaaa6f1
SM
89622011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8963
94642599
SM
8964 * progmodes/compile.el (compilation--previous-directory): Fix up
8965 various nil/dead-marker mismatches (bug#8014).
8966 (compilation-directory-properties, compilation-error-properties):
8967 Don't call it at a position past the one we're about to change.
8968
3aaaa6f1
SM
8969 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8970 Disable obsolescence warnings in the file that declares it.
8971
14239447
KM
89722011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8973
099c39a4
JB
8974 * allout-widgets.el (allout-widgets-tally):
8975 Initialize allout-widgets-tally as a hash table rather than nil to
8976 prevent mode-line redisplay warnings. Also, clarify the module
8977 description and fix a comment typo.
14239447 8978
135e287c
JB
89792011-03-11 Juanma Barranquero <lekktu@gmail.com>
8980
8981 * help-fns.el (describe-variable): Don't complete keywords.
8982 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8983
ffbf300e
CY
89842011-03-10 Chong Yidong <cyd@stupidchicken.com>
8985
ba08b241
CY
8986 * emacs-lisp/package.el (package-version-join): Impose a standard
8987 string representation for pre/alpha/beta version lists.
8988 (package-unpack-single): Standardize the directory name by passing
8989 it through package-version-join.
8990 (package-strip-rcs-id): Accept any version string that does not
8991 signal an error in version-to-list.
ffbf300e 8992
f346fd6b
MA
89932011-03-10 Michael Albinus <michael.albinus@gmx.de>
8994
8995 * simple.el (delete-trailing-whitespace): Return nil for the
8996 benefit of `write-file-functions'.
8997
ccb55d27
GM
89982011-03-10 Glenn Morris <rgm@gnu.org>
8999
5ceaac0c
GM
9000 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9001
02da65ff
GM
9002 * vc/vc-git.el (vc-git-program): New option.
9003 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9004 (vc-git--call): Use it.
9005
b2f603cc
GM
9006 * eshell/esh-util.el (eshell-condition-case): Doc fix.
9007
5772caab
GM
9008 * cus-edit.el (Custom-newline): If no button at point, look
9009 for a subgroup button at start-of-line. (Bug#2298)
9010
ccb55d27
GM
9011 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9012
ec6ecaed
JD
90132011-03-10 Julien Danjou <julien@danjou.info>
9014
9015 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9016 `cursor-type' is nil.
9017
9d5aa01d
JB
90182011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
9019
9020 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9021
b6a5875b
KM
90222011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
9023
9024 * allout.el Summary: Change so yank of distinctive-bullet items
9025 preserves the existing header prefix, rebulleting it if necessary,
9026 rather than replacing it. This is necessary for proper operation
9027 of cooperative addons like allout-widgets.
219bd536 9028 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
9029 SOLICIT arg to INSTEAD, and interpret additionally a string value
9030 as alternate bullet to be used, instead of prompting the user for
9031 a bullet character.
9032
ee545c35
MA
90332011-03-09 Michael Albinus <michael.albinus@gmx.de>
9034
d86d2721
SM
9035 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9036 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
9037 `tramp-default-port'.
9038
c47971d7
DD
90392011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9040
9041 * net/rcirc.el (rcirc-handler-001): Remove useless
9042 with-rcirc-process-buffer.
9043 (rcirc-check-auth-status): Swap arguments to string-match.
9044
13522cb4
GM
90452011-03-09 Glenn Morris <rgm@gnu.org>
9046
0be6f4f1
GM
9047 * shell.el (shell-mode):
9048 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
9049
13522cb4
GM
9050 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9051 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
9052
515de2e3
CY
90532011-03-08 Chong Yidong <cyd@stupidchicken.com>
9054
9055 * emacs-lisp/package.el (package-refresh-contents)
9056 (package-menu-execute): Use condition-case-no-debug.
9057
b511b994
MA
90582011-03-08 Michael Albinus <michael.albinus@gmx.de>
9059
9060 * simple.el (shell-command-to-string): Use `process-file'.
9061
9062 * emacs-lisp/package.el (package-tar-file-info): Handle also
9063 remote files.
9064
d86d2721
SM
9065 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9066 Use `equal' for upload base check.
b511b994 9067
25bbfb31
AM
90682011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
9069
9070 * textmodes/texinfo.el (texinfo-environments):
9071 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
9072
be996521
GM
90732011-03-08 Glenn Morris <rgm@gnu.org>
9074
e9c8529f
GM
9075 * cus-start.el (cursor-in-non-selected-windows):
9076 Fix :set quoting oddness. (Bug#8192)
9077
be996521
GM
9078 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9079 in some setf expressions. (Bug#2159)
9080
2bb5649e
CY
90812011-03-08 Chong Yidong <cyd@stupidchicken.com>
9082
9083 * custom.el (custom-available-themes): Return themes in
9084 alphabetical order.
9085
33383987 9086See ChangeLog.15 for earlier changes.
e3d51b27
MR
9087
9088;; Local Variables:
9089;; coding: utf-8
e3d51b27
MR
9090;; End:
9091
33383987 9092 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
9093
9094 This file is part of GNU Emacs.
9095
9096 GNU Emacs is free software: you can redistribute it and/or modify
9097 it under the terms of the GNU General Public License as published by
9098 the Free Software Foundation, either version 3 of the License, or
9099 (at your option) any later version.
9100
9101 GNU Emacs is distributed in the hope that it will be useful,
9102 but WITHOUT ANY WARRANTY; without even the implied warranty of
9103 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9104 GNU General Public License for more details.
9105
9106 You should have received a copy of the GNU General Public License
9107 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.