* xterm.c (handle_one_xevent): Only set async_visible and friends
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e70b5064
CY
12011-11-29 Chong Yidong <cyd@gnu.org>
2
3 * indent.el (indent-for-tab-command, indent-according-to-mode):
4 Doc fix.
5 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6
f3af92b7
MA
72011-11-29 Michael Albinus <michael.albinus@gmx.de>
8
9 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10 aware of remote file names. (Bug#10124)
11
ed472be9
CY
122011-11-29 Chong Yidong <cyd@gnu.org>
13
14 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15
24510c22
SM
162011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * files.el (find-file): Don't use force-same-window (bug#10144).
19 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
20 use pop-to-buffer if the selected window can't be used.
21 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
22
c60c3703
EZ
232011-11-28 Eli Zaretskii <eliz@gnu.org>
24
25 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
26 special-mode-map.
27
e95def75
CY
282011-11-28 Chong Yidong <cyd@gnu.org>
29
30 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
31
c3f1c606
NR
322011-11-27 Nick Roberts <nickrob@snap.net.nz>
33
34 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
35 gdb-get-source-file-list on gdb-create-source-file-list.
36
00db469c
EZ
372011-11-26 Eli Zaretskii <eliz@gnu.org>
38
39 * whitespace.el (whitespace-newline): Use a different foreground
40 color for 16-color light-background displays.
41
4ad3bc2a
CY
422011-11-24 Chong Yidong <cyd@gnu.org>
43
44 * window.el (display-buffer--special-action): Doc fix.
45
e9fce1ac
JB
462011-11-25 Juanma Barranquero <lekktu@gmail.com>
47
48 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
49 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
50 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
51 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
52 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
53 (avl-tree-stack-first):
54 * emacs-lisp/cconv.el (cconv--analyse-use):
55 * net/gnutls.el (gnutls-negotiate): Fix typos.
56
cb825e5d
GM
572011-11-24 Glenn Morris <rgm@gnu.org>
58
3adbe224
GM
59 * lpr.el (lpr-windows-system, lpr-lp-system):
60 * mail/binhex.el (binhex-begin-line):
61 * progmodes/grep.el (grep-history, grep-find-history):
62 * textmodes/flyspell.el:
63 * vc/pcvs-defs.el (cvs-global-menu):
64 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
65 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
66 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
67
321decc8
GM
68 * net/tls.el: Fix case of "GnuTLS".
69
420b63ad
GM
70 * paths.el (rmail-file-name): Format doc-string for make-docfile.
71
cb825e5d
GM
72 * version.el (emacs-build-system): Give it a doc-string.
73
a0649f08
JL
742011-11-24 Juri Linkov <juri@jurta.org>
75
76 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
77
c0bc0fd4
GM
782011-11-24 Glenn Morris <rgm@gnu.org>
79
80 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
81 if called on a non-mime message just toggle the headers. (Bug#8006)
82
20db1522
JB
832011-11-24 Juanma Barranquero <lekktu@gmail.com>
84
85 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
86 (allout-lead-with-comment-string, allout-structure-deleted-hook)
87 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
88 (allout-rebullet-heading, allout-open-sibtopic)
89 (allout-toggle-current-subtree-encryption)
90 (allout-toggle-subtree-encryption, allout-encrypt-string)
91 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
92 (allout-distinctive-bullets-string, allout-auto-activation):
93 * window.el (window-normalize-buffer-to-display):
94 * progmodes/verilog-mode.el (verilog-batch-indent):
95 * textmodes/bibtex.el (bibtex-field-braces-opt)
96 (bibtex-field-strings-opt):
97 * vc/cvs-status.el (cvs-tree-merge):
98 Fix typos.
99
7262a87c
MA
1002011-11-23 Michael Albinus <michael.albinus@gmx.de>
101
102 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
103 `non-essential' to t, in order to avoid remote connections.
104
283430a1
EZ
1052011-11-23 Eli Zaretskii <eliz@gnu.org>
106
107 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): On
108 MS-DOS and MS-Windows, compare with loaddefs.el
109 case-insensitively.
110
d2992a38
ML
1112011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
112
113 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
114
50419064
GM
1152011-11-23 Glenn Morris <rgm@gnu.org>
116
da94eca1
GM
117 * paths.el (rmail-file-name): Reformat the doc-string so that it
118 is picked up.
119
9aac4de2
GM
120 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
121 (rmail-auto-file): Ignore case in the "special" field names,
122 as mail-fetch-field does for all others.
123
8038d2d2
GM
124 * mail/rmail.el (rmail-forward):
125 * mail/rmailkwd.el (rmail-set-label):
126 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
127 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
128
f3fe222a
GM
129 * mail/rmail.el (rmail-current-message): Doc fix.
130
50419064
GM
131 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
132
28109f49
SM
1332011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 * server.el (server-eval-and-print): Allow C-g (bug#6585).
136
394c65f1
GM
1372011-11-22 Glenn Morris <rgm@gnu.org>
138
139 * mail/rmailmm.el (test-rmail-mime-handler)
140 (test-rmail-mime-bulk-handler)
141 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
142
f2a0aa3a
JL
1432011-11-21 Juri Linkov <juri@jurta.org>
144
145 * calc/calc.el (calc-read-key-sequence): Let-bind `input-method-function'
146 to nil. (Bug#10018)
147
9c34a344
LMI
1482011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
149
150 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
151 Tell the caller that the next line needs recomputation, even
152 though it doesn't start a sexp (bug#10094).
153
f04a3be9
SM
1542011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
155
156 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
157
7978747f
SM
1582011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
159
f04a3be9
SM
160 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
161 Use force-same-window.
7978747f 162
fe7a3057
JB
1632011-11-20 Juanma Barranquero <lekktu@gmail.com>
164
165 * descr-text.el (describe-char-unicode-data):
166 * json.el (json-string-escape):
167 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
168 (Footnote-unicode, Footnote-style-p):
169 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
170
24901d61
CY
1712011-11-20 Chong Yidong <cyd@gnu.org>
172
173 * window.el (replace-buffer-in-windows): Restore interactive spec.
174
bac7ff22
SM
1752011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
176
24f3d7b9
SM
177 * electric.el (electric-indent-mode): Fix last change (too optimistic).
178
bac7ff22
SM
179 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
180 (byte-compile-global-not-obsolete-vars): New var.
181 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
182 Use it.
183 (byte-compile-warn-obsolete): Align text with the one in *Help*.
184
cd1181db
JB
1852011-11-20 Juanma Barranquero <lekktu@gmail.com>
186
187 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
188 * progmodes/pascal.el (electric-pascal-equal):
189 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
190 * xml.el (xml-substitute-special): Fix typos.
191
7fb18e9e
GM
1922011-11-20 Glenn Morris <rgm@gnu.org>
193
194 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
195 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
196 Doc fixes.
197 (rmail-decode-mime-charset): Mark as obsolete.
198
199 * mail/rmailsum.el (rmail-message-regexp-p-1):
200 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
201 Before using mime functions, check they are set. (Bug#10077)
202
d5a6b3ba
JL
2032011-11-19 Juri Linkov <juri@jurta.org>
204
205 * info.el (Info-finder-find-node): Use `package--builtins' instead
206 of `package-alist'. Use node names formed by the pattern "Keyword "
207 and the keyword name.
208
e981b61f
AS
2092011-11-19 Andreas Schwab <schwab@linux-m68k.org>
210
211 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
212 bash.
213
3ffbc301
JL
2142011-11-19 Juri Linkov <juri@jurta.org>
215
216 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
217 that calls `revert-buffer' on all Info buffers. (Bug#9915)
218 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
219 `old-history', `old-history-forward'. Add let-binding
220 `window-selected'. Remove calls to `kill-buffer',
221 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
222 before calling `Info-find-node', so `Info-find-node-2' will reread
223 the Info file. Restore window positions only when `window-selected'
224 is non-nil.
225
30c62133
JL
2262011-11-19 Juri Linkov <juri@jurta.org>
227
228 * isearch.el (isearch-lazy-highlight-new-loop):
229 Remove condition `(not isearch-error)'. (Bug#9918)
230
231 * misearch.el (multi-isearch-search-fun): Add condition
232 `(not bound)' to ignore lazy-highlighting search.
233 Add the search-failed message "end of multi" when the end of
234 multi-sequence is reached. Uncapitalize the search-failed
235 message "Repeat for next buffer".
236
237 * info.el (Info-search): Add the search-failed message
238 "end of the manual" when the end of the manual is reached
239 in Isearch mode.
240
645ca9cf
JL
2412011-11-19 Juri Linkov <juri@jurta.org>
242
243 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
244 Use non-destructive `remove' instead of `delete' because
245 `Info-history-list' stored to `Info-isearch-initial-history-list' in
246 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
247
df754f66
JL
2482011-11-19 Juri Linkov <juri@jurta.org>
249
250 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
251 to nil instead of binding `search-ring' and `regexp-search-ring'.
252 (Bug#9185)
253
0e23d96a
EZ
2542011-11-19 Eli Zaretskii <eliz@gnu.org>
255
256 * simple.el (line-move): Force movement by logical lines for any
257 hscrolled window, not only when auto-hscroll-mode is on.
258 (line-move-visual): Update doc string to that effect. (Bug#10076)
259
8a6ccb66
AS
2602011-11-19 Andreas Schwab <schwab@linux-m68k.org>
261
262 * language/european.el (macintosh): Define as alias for mac-roman.
263
49ae5b39
EZ
2642011-11-19 Eli Zaretskii <eliz@gnu.org>
265
266 * mail/rmailmm.el (rmail-mime-display-header)
267 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
268 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
269 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
270 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
271 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
272 of a raw aref.
273 (rmail-mime-entity-segment): To get past the tagline, move forward
274 2 more lines, to account for the 2 empty lines that precede and
275 follow the line with the buttons.
276 (rmail-mime-update-tagline): Move one more line, to get past the
277 empty line that follows the buttons in the tagline. (Bug#9520)
278
c56cad4a
MR
2792011-11-19 Martin Rudalics <rudalics@gmx.at>
280
281 * window.el (window-max-delta-1, window-min-delta-1)
282 (window-min-size-1, window-state-get-1, window-state-put-1)
283 (window-state-put-2): Use "window--" prefix.
284
cbe71af3
SM
2852011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
286
2ad52c60
SM
287 * emacs-lisp/smie.el: Improve warnings and conflict detection.
288 (smie-warning-count): New var.
289 (smie-set-prec2tab): Use it.
290 (smie-bnf->prec2): Improve warnings. Add docstring.
291 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
292 (smie-bnf--set-class): New function.
293 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
294 corner case.
295
6944dbc1
SM
296 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
297 (compilation-error-properties, compilation-move-to-column):
298 Handle compilation-first-column while in the target buffer.
299
c400c4d7
SM
300 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
301 Don't hardcode point-min==1.
302
6dbe3e96
SM
303 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
304 (eshell-rewrite-for-command): Remove workaround.
305 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
306 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
307 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
308
cbe71af3
SM
309 * files-x.el (modify-file-local-variable): Obey commenting conventions.
310
a8e1496d
GM
3112011-11-17 Glenn Morris <rgm@gnu.org>
312
313 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
314 Ignore buffer-local generated-autoload-file if it is the same
315 as the global value. (Bug#10049)
316
df85d315
JB
3172011-11-17 Juanma Barranquero <lekktu@gmail.com>
318
319 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
320 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
321 (reftex-toc-previous-heading, reftex-toc-max-level)
322 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
323 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
324 (reftex-toc-do-promote, reftex-toc-promote-prepare)
325 (reftex-toc-promote-action, reftex-toc-extract-section-number)
326 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
327 (reftex-toc-rename-label, reftex-toc-visit-location)
328 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
329 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
330 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
331 leaving "*toc*" only for references to the buffer.
332
a0c2d0ae
MR
3332011-11-17 Martin Rudalics <rudalics@gmx.at>
334
335 * window.el (window-resize, delete-window, split-window):
336 Replace window-splits by window-combination-resize.
337 * cus-start.el (window-splits): Replace by
338 window-combination-resize.
339
35c0bac8
GM
3402011-11-17 Glenn Morris <rgm@gnu.org>
341
342 * progmodes/sh-script.el (sh-font-lock-keywords-var):
343 Make bash entry derive from sh entry, not shell entry.
344
d0c8fc8a
MA
3452011-11-16 Michael Albinus <michael.albinus@gmx.de>
346
d0c8fc8a
MA
347 * net/tramp-cache.el (tramp-flush-file-property): Flush also
348 properties of linked files. (Bug#9879)
349
7262a87c
MA
350 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
351 local file name.
352
7877f373
JB
3532011-11-16 Juanma Barranquero <lekktu@gmail.com>
354
355 * menu-bar.el (menu-bar-file-menu):
356 * printing.el (pr-ps-utility):
357 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
358 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
359 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
360 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
361 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
362 (icalendar--convert-cyclic-to-ical)
363 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
364 (icalendar--convert-ical-to-diary)
365 (icalendar--convert-recurring-to-diary)
366 (icalendar--convert-non-recurring-all-day-to-diary)
367 (icalendar-import-format-sample):
368 * progmodes/idlw-shell.el (idlwave-shell-mode):
369 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
370 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
371 (vhdl-ps-print-init): Fix typos.
372
10649b82
KM
3732011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
374
9d0cfcd6
GM
375 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
376 FSF and collapse date sequence, obscure author/maintainer email address
377 better, remove extra version line, track relocation of author's webpage.
10649b82 378
9d0cfcd6
GM
379 * progmodes/python.el (python-pdbtrack-input-prompt)
380 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
381 regular python pdb prompts. Adjustments shamelessly taken exactly as
382 suggested in EmacsWiki page (tiny change):
383 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 384
58179cce
JB
3852011-11-16 Juanma Barranquero <lekktu@gmail.com>
386
387 * expand.el (expand-pos, expand-index, expand-point):
388 Remove redundant info from docstring.
389 (expand-add-abbrevs): Doc fix.
390 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
391 (expand-sample-perl-mode-expand-list): Fix typos.
392
393 * net/dbus.el (dbus-event-member-name):
394 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
395 * term/pc-win.el (msdos-create-frame-with-faces):
396 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
397
b6f67890
MR
3982011-11-16 Martin Rudalics <rudalics@gmx.at>
399
400 * window.el (split-window, window-state-get-1)
401 (window-state-put-1, window-state-put-2): Rename occurrences of
402 window-nest to window-combination-limit.
403 * cus-start.el (window-nest): Rename to
404 window-combination-limit.
405
ce7ddba0
CY
4062011-11-16 Chong Yidong <cyd@gnu.org>
407
408 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
409 regexp (Bug#10033).
410
3ae704f4
SM
4112011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
412
413 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
414 `completing-read' will remove *Completions* and will preserve
415 current-buffer for us.
416 (tmm-add-prompt): Users of *Completions* will always (re)set its
417 major mode.
418 (tmm-old-comp-map): Remove.
419
6ad1cdde
GM
4202011-11-16 Glenn Morris <rgm@gnu.org>
421
422 * mail/rmailedit.el: Require rmailmm when compiling.
423 (rmail-old-mime-state): New declaration.
424 (rmail-edit-current-message): If editing a mime message,
425 edit the "raw" message from the mbox buffer.
426 (rmail-cease-edit): Handle mime messages. (Bug#9840)
427
d20faa20
GM
4282011-11-15 Glenn Morris <rgm@gnu.org>
429
430 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
431 which wasn't being used. Add optional arg to force given state.
432 (rmail-mime): Add optional arg to force given state.
433
c7015153
JB
4342011-11-15 Juanma Barranquero <lekktu@gmail.com>
435
436 * allout.el (allout-encryption-plaintext-sanitization-regexps):
437 * frame.el (display-mm-dimensions-alist):
438 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
439 (outline-move-subtree-down):
440 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
441 (newsticker--treeview-do-get-node):
442 * net/quickurl.el (quickurl-list-buffer-name):
443 * progmodes/dcl-mode.el (dcl-mode):
444 * progmodes/gdb-mi.el (gdb-mapcar*):
445 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
446
45261b50
GM
4472011-11-15 Glenn Morris <rgm@gnu.org>
448
449 * mail/rmail.el (rmail-file-coding-system): It's only ever used
450 in a boolean sense, so just make it a boolean, and fix the doc.
451 (rmail-show-mime-function, rmail-mime-feature)
452 (rmail-require-mime-maybe): Doc fixes.
453 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
454
455 * mail/rmailmm.el (rmail-show-mime): Doc fix.
456
0d26e0b6
JB
4572011-11-15 Juanma Barranquero <lekktu@gmail.com>
458
459 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
460 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
461 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
462 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
463
447f30f6
GM
4642011-11-15 Glenn Morris <rgm@gnu.org>
465
672b871d
GM
466 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
467 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
468 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
469 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
470 (rmail-mime, rmail-show-mime): Doc fixes.
471
f6aa5bb1
GM
472 * term/ns-win.el (mode-line-frame-identification):
473 Leave it alone. (Bug#10051)
474
947cd66b
GM
475 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
476
447f30f6
GM
477 * mail/rmailout.el (rmail-output-to-rmail-buffer):
478 Handle empty buffers. (Bug#9978)
479
0b381c7e
JB
4802011-11-14 Juanma Barranquero <lekktu@gmail.com>
481
482 * international/mule.el (define-charset):
483 * mail/rmailmm.el (rmail-mime-find-header-encoding):
484 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
485 * progmodes/verilog-mode.el (verilog-backward-token):
486 * textmodes/ispell.el (lookup-words):
487 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
488
71e027ac
GM
4892011-11-14 Glenn Morris <rgm@gnu.org>
490
56632ce4
GM
491 * progmodes/executable.el
492 (executable-make-buffer-file-executable-if-script-p):
493 Handle file-modes returning nil.
494
40500957
GM
495 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
496 message - not necessary, and causes problems. (Bug#9831)
497
071c2340
GM
498 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
499
d3cfca60
GM
500 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
501
71e027ac
GM
502 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
503 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
504 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
505
89d61221
MR
5062011-11-12 Martin Rudalics <rudalics@gmx.at>
507
508 * window.el (window-resize, delete-window): Use window-splits
509 variable instead of function.
510 (window-state-get-1, window-state-put-2, window-state-put):
511 Don't deal with windows' splits status.
512
98282f6f
GM
5132011-11-12 Glenn Morris <rgm@gnu.org>
514
515 * apropos.el (apropos-do-all, apropos-library, apropos-value)
516 (apropos-documentation): Doc fixes.
517
40a8bdf6
JB
5182011-11-11 Juanma Barranquero <lekktu@gmail.com>
519
520 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
521 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
522
65bd19ff
SM
5232011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
524
525 * electric.el (electric-indent-post-self-insert-function): Make it
526 possible for a char to only indent in some circumstances.
527 (electric-indent-mode): Simplify.
528
54f9154c
MR
5292011-11-11 Martin Rudalics <rudalics@gmx.at>
530
531 * window.el (windows-with-parameter): Remove unused function.
532 (windows-at-side): Rename to window-at-side-list.
533 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
534 (window-side-check, window-size-ignore, window-size-fixed-1)
535 (window-in-direction-2): Prefix with "window--".
536 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 537
68cbc58b
GM
5382011-11-11 Glenn Morris <rgm@gnu.org>
539
540 * subr.el (eval-after-load): If FILE is already loaded,
541 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
542
b2621720
GM
5432011-11-10 Glenn Morris <rgm@gnu.org>
544
9a4de110
GM
545 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
546 Call svn via vc-svn-command rather than vc-do-command.
547 (vc-svn-command): Add --non-interactive. (Bug#9993)
548 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
549
b2621720
GM
550 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
551 Add toggle-read-only. (Bug#7292)
552 * files.el (toggle-read-only): Mention that it should only
553 be used interactively. (Bug#10006)
554
1dce7193
SM
5552011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
556
d9ac1a1e
SM
557 * progmodes/compile.el (compilation-error-regexp-alist-alist):
558 Adjust regexp for OCaml warnings.
559
0c325082
SM
560 * electric.el (electric-pair-post-self-insert-function): Let user
561 turn it off buffer-locally (bug#9932).
562
90132c14
SM
563 * progmodes/python.el (python-beginning-of-statement):
564 Rewrite (bug#2703).
565
1dce7193
SM
566 * progmodes/compile.el: Better handle TABs (bug#9749).
567 (compilation-internal-error-properties)
568 (compilation-next-error-function): Obey the target buffer's
569 compilation-error-screen-columns.
570
c4e7c63a
JB
5712011-11-09 Juanma Barranquero <lekktu@gmail.com>
572
573 * progmodes/meta-mode.el: Remove obsolete comments.
574 (meta-right-comment-regexp, meta-ignore-comment-regexp):
575 Fix typos in docstrings.
576
2cffd681
MR
5772011-11-09 Martin Rudalics <rudalics@gmx.at>
578
579 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 580 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
581 (window--resizable): New function. Make all callers of
582 window-resizable call window--resizable instead.
583 (window-resizable): Rewrite in terms of window--resizable.
584
0edcba87
GM
5852011-11-08 Glenn Morris <rgm@gnu.org>
586
587 * progmodes/delphi.el (delphi-mode-syntax-table):
588 Let define-derived-mode define a proper syntax table. (Bug#9994)
589
4b0d61e3
SM
5902011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
591
592 * window.el: Stay away from defsubst.
593 (window-list-no-nils): Remove.
594 (window-state-get-1, window-state-get): Use backquote instead.
595
fcbcac2e 5962011-11-08 thierry <thierry.volpiatto@gmail.com>
597
4b0d61e3 598 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 599 Fix incorrect use of default argument in `completing-read'.
600
e1c2c6f2
MR
6012011-11-08 Martin Rudalics <rudalics@gmx.at>
602
603 * window.el (display-buffer-function, special-display-function):
604 Mention display-buffer-record-window but do not mention
605 help-setup parameter in doc-strings.
b3f4a882 606 (window-min-delta): Fix doc-string typo.
e1c2c6f2 607
105216ed
CY
6082011-11-08 Chong Yidong <cyd@gnu.org>
609
610 * window.el (window-total-height, window-total-width): Doc fix.
611 (window-body-size): Move from C.
612 (window-body-height, window-body-width): Move to C.
613
0a9f9ab5
SM
6142011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * window.el: Make special-display like display-buffer-alist (bug#9532).
617 (display-buffer--special-action): New function, morphed
618 from display-buffer--special.
619 (display-buffer): Use it to handle special-display-buffers at higher
620 priority (just after display-buffer-alist).
621 (display-buffer-fallback-action, display-buffer--other-frame-action)
622 (pop-to-buffer-same-window): Remove display-buffer--special.
623
a769dd15
GM
6242011-11-07 Glenn Morris <rgm@gnu.org>
625
626 * calendar/cal-menu.el (cal-menu-set-date-title):
627 Do nothing if not in a calendar. (Bug#9976)
628
05a61ee3
SM
6292011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * files.el (find-file): Always use selected-window.
632
be7f5545
MR
6332011-11-07 Martin Rudalics <rudalics@gmx.at>
634
635 * window.el (window-combinations): Make WINDOW argument
636 mandatory. Rewrite doc-string.
637 (walk-window-subtree, window-atom-check, window-min-delta)
638 (window-max-delta, window--resize-this-window)
639 (window--resize-root-window-vertically, window-tree)
640 (balance-windows, window-state-put): Rewrite doc-strings as to
641 not mention the term "subwindow".
642 (window--resize-subwindows-skip-p): Rename to
643 window--resize-child-windows-skip-p.
644 (window--resize-subwindows-normal): Rename to
645 window--resize-child-windows-normal.
646 (window--resize-subwindows): Rename to
647 window--resize-child-windows.
648 (window-or-subwindow-p): Rename to window--in-subtree-p.
649
3c6702ef
ML
6502011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
651
652 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
653 Ensure that mbox format messages end in two newlines (Bug#9974).
654
49745b39
CY
6552011-11-06 Chong Yidong <cyd@gnu.org>
656
657 * window.el (window-combination-p): Function deleted; its
658 side-effect is not used in any existing code.
659 (window-combinations, window-combined-p): Call window-*-child
660 directly.
661
24300f5f
CY
6622011-11-05 Chong Yidong <cyd@gnu.org>
663
664 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
665 (window-size-ignore, window-state-get): Callers changed.
666 (window-normalize-window): Rename from window-normalize-any-window.
667 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 668 (window-normalize-live-window): Delete.
447f16b8
CY
669 (window-combination-p, window-combined-p, window-combinations)
670 (walk-window-subtree, window-atom-root, window-min-size)
671 (window-sizable, window-sizable-p, window-size-fixed-p)
672 (window-min-delta, window-max-delta, window-resizable)
673 (window-resizable-p, window-full-height-p, window-full-width-p)
674 (window-current-scroll-bars, window-point-1, set-window-point-1)
675 (window-at-side-p, window-in-direction, window-resize)
676 (adjust-window-trailing-edge, maximize-window, minimize-window)
677 (window-deletable-p, delete-window, delete-other-windows)
678 (record-window-buffer, unrecord-window-buffer)
679 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
680 (quit-window, split-window, window-state-put)
681 (set-window-text-height, fit-window-to-buffer)
682 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 683
89bd5ee1
EZ
6842011-11-04 Eli Zaretskii <eliz@gnu.org>
685
53479029
EZ
686 * mail/rmail.el (rmail-simplified-subject): Decode subject with
687 rfc2047-decode-string.
688 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
689 warnings.
690
89bd5ee1
EZ
691 * window.el (window-body-height, window-body-width): Mention in
692 the doc string that the return values are in frame's canonical
693 units. (Bug#9949)
694
bd17fdee
AM
6952011-11-03 Alan Mackenzie <acm@muc.de>
696
697 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
698 change in cc-engine.el.
699
acc825c5
SM
7002011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 * window.el (switch-to-buffer): Use `force-same-window' interactively.
703
1885e5b8
MR
7042011-11-02 Martin Rudalics <rudalics@gmx.at>
705
706 * window.el (quit-window): Call unrecord-window-buffer after
707 showing another buffer in the window. (Bug#9937)
acc825c5 708 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 709
ebe06da9
JB
7102011-11-02 Juanma Barranquero <lekktu@gmail.com>
711
712 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
713 Accept status with more than 9 shelves. (Bug#9935)
714 Reported by Colin D Bennett <colin@gibibit.com>.
715
4ee88440
MR
7162011-11-01 Martin Rudalics <rudalics@gmx.at>
717
718 * help.el (with-help-window): Don't reference
719 temp-buffer-show-specifiers in doc-string.
720
08e1d82c
AS
7212011-10-31 Andreas Schwab <schwab@linux-m68k.org>
722
723 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
724 menu-item.
725
84bd6e9e
VJL
7262011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
727
728 * whitespace.el: New version 13.2.2.
729 (whitespace-newline-mode): Disable properly. Reported by Sarah
730 <EmacsWiki>.
731
dba0634a
UJ
7322011-10-30 Ulf Jasper <ulf.jasper@web.de>
733
734 * net/newst-treeview.el: Remove "Time-stamp".
735 (newsticker--group-manage-orphan-feeds): Do not call
736 newsticker--treeview-tree-update.
db22a3c2
JB
737 (newsticker-treeview-update, newsticker-treeview):
738 Call newsticker--treeview-tree-update if necessary.
dba0634a 739
3d8daefe
MR
7402011-10-30 Martin Rudalics <rudalics@gmx.at>
741
742 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
743 (window-iso-combinations): Remove "iso-" infix.
744 Suggested by Chong Yidong.
3d8daefe
MR
745 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
746 (window-max-delta-1, window-resize, window--resize-siblings)
747 (window--resize-this-window, adjust-window-trailing-edge)
748 (split-window, balance-windows-1)
749 (shrink-window-if-larger-than-buffer):
750 * calendar/calendar.el (calendar-generate-window):
db22a3c2 751 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 752
1bc4c3ae
SM
7532011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
756 in place (bug#9907).
757 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
758 (eshell-rewrite-if-command, eshell-rewrite-for-command)
759 (eshell-structure-basic-command, eshell-rewrite-while-command)
760 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
761 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
762 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
763 (eshell-do-pipelines-synchronously, eshell-eval-command):
764 Use backquotes and prefer setq to set.
765 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
766 (eshell-macrop): Use functionp.
c1e2f5fa 767 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 768
30b65d9c
CY
7692011-10-30 Chong Yidong <cyd@gnu.org>
770
771 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
772 instead of set-mark (Bug#9810).
773
2d197ffb
CY
7742011-10-30 Chong Yidong <cyd@gnu.org>
775
776 * window.el (split-window-below, split-window-right): Rename from
777 split-window-above-each-other and split-window-side-by-side
778 respectively. All callers changed.
779 (split-window-sensibly, split-window-sensibly): Use them.
780 (split-window-keep-point): Doc fix.
781
782 * isearch.el: Add isearch-scroll property to split-window-below
783 and split-window-right.
784
785 * follow.el (follow-mode):
786 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
787 * progmodes/ada-xref.el (ada-gdb-application):
788 * emulation/vip.el (vip-buffer-in-two-windows):
789 * image-dired.el (image-dired-dired-with-window-configuration):
790 * dired-x.el (dired-do-find-marked-files):
791 * dired.el (dired-pop-to-buffer):
792 * bs.el (bs--show-with-configuration):
793 * vc/emerge.el (emerge-setup-windows):
794 * textmodes/two-column.el (2C-two-columns):
795 * textmodes/reftex-toc.el (reftex-toc):
796 * progmodes/gdb-mi.el (gdb-setup-windows):
797 * progmodes/fortran.el (fortran-window-create):
798 * net/newst-treeview.el (newsticker--treeview-window-init):
799 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
800 * emulation/tpu-edt.el (tpu-gold-map):
801 * emulation/crisp.el (crisp-mode-map):
802 * calendar/calendar.el (calendar-basic-setup): Callers changed.
803
38bb2ca8
CY
8042011-10-29 Chong Yidong <cyd@gnu.org>
805
aa4de341
CY
806 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
807
e1eb5385
CY
808 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
809
5d2ece3c
CY
810 * textmodes/flyspell.el (flyspell-word): Fix char offset for
811 forged Ispell output (Bug#7904).
812
38bb2ca8
CY
813 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
814
d0af9f77
SM
8152011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * doc-view.el: Avoid ugly errors about not finding nil.
818 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
819 (doc-view-dvipdf-program, doc-view-unoconv-program)
820 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
821 Avoid nil or absolute file name as default value.
822 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
823
52bedd34
AM
8242011-10-28 Alan Mackenzie <acm@muc.de>
825
db22a3c2 826 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 827
7e43cfa5
AM
8282011-10-28 Alan Mackenzie <acm@muc.de>
829
830 Amend the handling of c-beginning/end-of-defun in nested declaration
831 scopes.
832
52bedd34
AM
833 * progmodes/cc-vars.el (c-defun-tactic): Move here from
834 cc-langs.el. Change it to a defcustom.
7e43cfa5 835
52bedd34
AM
836 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
837 cc-vars.el.
7e43cfa5 838
d0af9f77
SM
839 * progmodes/cc-engine.el (c-beginning-of-statement-1):
840 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 841
52bedd34 842 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 843 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
844 (c-widen-to-enclosing-decl-scope): New function.
845 (c-while-widening-to-decl-block): New macro.
846 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
847 outward for defun boundaries, and correspondingly change symbol
848 `respect-enclosure' to `go-outward'.
849 (c-declaration-limits): Change algorithm to report only the "innermost"
850 defun's boundaries.
851
1a2ce9ee
DD
8522011-10-28 Deniz Dogan <deniz@dogan.se>
853
854 * net/rcirc.el (rcirc-mode): Use hard newlines.
855
bc97a826
AM
8562011-10-28 Alan Mackenzie <acm@muc.de>
857
858 Amend to indent and fontify macros "which include their own semicolon"
859 correctly, using the "virtual semicolon" mechanism.
860
52bedd34 861 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 862
d0af9f77 863 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 864 Recode to scan one line at a time rather than having \n and \r
58179cce 865 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 866 (c-forward-label): Amend for virtual semicolons.
58179cce 867 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 868
52bedd34
AM
869 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
870 of the new C macros.
bc97a826 871
52bedd34 872 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
873 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
874 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
875 (c-opt-cpp-macro-define): Make into a full language variable.
876 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
877 AWK Mode (including \n, \r) removed, no longer needed.
878
d0af9f77
SM
879 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
880 Invoke c-make-macro-with-semi-re.
bc97a826 881
52bedd34
AM
882 * progmodes/cc-vars.el (c-macro-with-semi-re):
883 (c-macro-names-with-semicolon): New variables.
58179cce 884 (c-make-macro-with-semi-re): New function.
bc97a826 885
7a6c0941
SM
8862011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * vc/log-edit.el: Fill empty field rather than adding new one.
889 (log-edit-add-field): New function.
890 (log-edit-insert-changelog): Use it.
891
b0c4cdcf
ML
8922011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
893
894 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
895
ee1f1da9
SM
8962011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
897
898 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
899 (gdb--check-interpreter): New function.
900 (gdb): Use it.
901
51bc5f8b
GM
9022011-10-27 Glenn Morris <rgm@gnu.org>
903
416a2c45
GM
904 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
905 (least-positive-float, least-negative-float)
906 (least-positive-normalized-float, least-negative-normalized-float)
907 (float-epsilon, float-negative-epsilon):
908 Remove unnecessary declarations.
909
910 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
911 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
912 (least-positive-float, least-negative-float)
913 (least-positive-normalized-float, least-negative-normalized-float)
914 (float-epsilon, float-negative-epsilon): Add doc-strings,
915 based on those in cl.texi.
916
51bc5f8b
GM
917 * files.el (set-visited-file-name): If the major-mode changed,
918 reload the local variables. (Bug#9796)
919
15de15c6
CY
9202011-10-27 Chong Yidong <cyd@gnu.org>
921
922 * subr.el (change-major-mode-after-body-hook): New hook.
923 (run-mode-hooks): Run it.
924
ee1f1da9
SM
925 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
926 Use change-major-mode-before-body-hook.
15de15c6
CY
927
928 * simple.el (fundamental-mode):
929 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
930 change introducing fundamental-mode-hook.
931
5430d399
JB
9322011-10-26 Juanma Barranquero <lekktu@gmail.com>
933
acc825c5 934 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 935
ad74a69e
MA
9362011-10-26 Michael Albinus <michael.albinus@gmx.de>
937
938 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 939 tramp.el explicitly. (Bug#7583)
ad74a69e 940
71d4c2a5
SM
9412011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
942
943 * progmodes/octave-mod.el:
944 * progmodes/octave-inf.el: Update maintainer.
945
b1f6fa26
CY
9462011-10-26 Chong Yidong <cyd@gnu.org>
947
948 * subr.el (with-wrapper-hook): Rewrite doc.
949
3f04efd6
MA
9502011-10-25 Michael Albinus <michael.albinus@gmx.de>
951
952 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 953 filenames "/method:foo:". (Bug#9793)
3f04efd6 954
410488d3
SM
9552011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
956
957 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
958 (bug#9865).
959
c1ebb47e
GM
9602011-10-24 Glenn Morris <rgm@gnu.org>
961
962 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
963
7f5c46c7
MA
9642011-10-24 Michael Albinus <michael.albinus@gmx.de>
965
966 * notifications.el: Add the requirement of a running D-Bus session
967 bus to the Commentary.
968
db2440b6
JL
9692011-10-24 Juri Linkov <juri@jurta.org>
970
971 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
972 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
973 (Bug#9364)
974
feecf435
JL
9752011-10-24 Juri Linkov <juri@jurta.org>
976
977 * info.el (Info-following-node-name-re): Add newline to the list
978 of allowed characters for leading space. (Bug#9824)
979
a3839de2
SM
9802011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
981
acc825c5
SM
982 * progmodes/octave-inf.el (inferior-octave-mode-map):
983 Fix C-c C-h binding.
a3839de2
SM
984 * progmodes/octave-mod.el (octave-help): Remove.
985
09388e76
MA
9862011-10-23 Michael Albinus <michael.albinus@gmx.de>
987
988 Sync with Tramp 2.2.3.
989
990 * net/tramp-cache.el (top): Pacify byte-compiler using
991 `init-file-user' and `site-run-file'.
992
993 * net/trampver.el: Update release number.
994
86c60681
CY
9952011-10-23 Chong Yidong <cyd@gnu.org>
996
997 * files.el (toggle-read-only): Remove obsolete comment about
998 version control.
999
1000 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
1001 for toggle-read-only. Note that this hasn't called vc-next-action
1002 since 2008-05-02, though it wasn't documented at the time.
1003
a3839de2
SM
1004 * vc/ediff-init.el (ediff-toggle-read-only-function):
1005 Use toggle-read-only.
86c60681 1006
cd5495ff
AM
10072011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
1008
1009 Fix bug #9560, sporadic wrong indentation; improve instrumentation
1010 of c-parse-state.
1011
00b77525 1012 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 1013 correct faulty logical expression.
cd5495ff
AM
1014 (c-parse-state-state, c-record-parse-state-state):
1015 (c-replay-parse-state-state): New defvar/defuns.
1016 (c-debug-parse-state): Use new functions.
1017
42ee24ed
MR
10182011-10-22 Martin Rudalics <rudalics@gmx.at>
1019
1020 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 1021 last fix. Use window-in-direction correctly.
42ee24ed 1022
a7dee7e7
CY
10232011-10-21 Chong Yidong <cyd@gnu.org>
1024
1025 * progmodes/idlwave.el (idlwave-mode):
1026 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
1027 require-final-newline; that's done in prog-mode.
1028 Suggested by Stefan Monnier.
a7dee7e7 1029
e07b9a6d
MR
10302011-10-21 Martin Rudalics <rudalics@gmx.at>
1031
1032 * mouse.el (mouse-drag-window-above)
1033 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1034 (mouse-drag-mode-line-1, mouse-drag-header-line)
1035 (mouse-drag-vertical-line-rightward-window): Remove.
1036 (mouse-drag-line): New function.
1037 (mouse-drag-mode-line, mouse-drag-header-line)
1038 (mouse-drag-vertical-line): Call mouse-drag-line.
1039 * window.el (window-at-side-p, windows-at-side): New functions.
1040
7e1361d9
UM
10412011-10-21 Ulrich Mueller <ulm@gentoo.org>
1042
1043 * tar-mode.el (tar-grind-file-mode):
1044 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
1045
30fcaf3a
CY
10462011-10-21 Chong Yidong <cyd@gnu.org>
1047
1048 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
1049 * progmodes/vera-mode.el (vera-mode):
1050 Use mode-require-final-newline.
30fcaf3a 1051
516eddb0
GM
10522011-10-20 Glenn Morris <rgm@gnu.org>
1053
db22a3c2 1054 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 1055
10d5f513
CS
10562011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
1057
1058 * emulation/cua-base.el (cua-set-mark): Fix case of string.
1059
ac6c8639
CY
10602011-10-20 Chong Yidong <cyd@gnu.org>
1061
1062 * emulation/cua-base.el (cua-mode):
1063 * mail/footnote.el (footnote-mode):
1064 * mail/mailabbrev.el (mail-abbrevs-mode):
1065 * net/xesam.el (xesam-minor-mode):
1066 * progmodes/bug-reference.el (bug-reference-mode):
1067 * progmodes/cap-words.el (capitalized-words-mode):
1068 * progmodes/compile.el (compilation-minor-mode)
1069 (compilation-shell-minor-mode):
1070 * progmodes/gud.el (gud-tooltip-mode):
1071 * progmodes/hideif.el (hide-ifdef-mode):
1072 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1073 * progmodes/subword.el (subword-mode):
1074 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1075 * progmodes/which-func.el (which-function-mode):
1076 * term/tvi970.el (tvi970-set-keypad-mode):
1077 * term/vt100.el (vt100-wide-mode):
1078 * textmodes/flyspell.el (flyspell-mode):
1079 * textmodes/ispell.el (ispell-minor-mode):
1080 * textmodes/nroff-mode.el (nroff-electric-mode):
1081 * textmodes/paragraphs.el (use-hard-newlines):
1082 * textmodes/refill.el (refill-mode):
1083 * textmodes/reftex.el (reftex-mode):
1084 * textmodes/rst.el (rst-minor-mode):
1085 * textmodes/sgml-mode.el (html-autoview-mode)
1086 (sgml-electric-tag-pair-mode):
1087 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1088 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1089 * emulation/crisp.el (crisp-mode):
1090 * emacs-lisp/eldoc.el (eldoc-mode):
1091 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1092 minor mode behavior.
1093
aa42ab43
JL
10942011-10-19 Juri Linkov <juri@jurta.org>
1095
1096 * descr-text.el (describe-char): Add #x2010 and #x2011 to
1097 the list of hard-coded chars with escape-glyph face.
1098
89400f1d
SM
10992011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1100
1101 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1102
305c07f6
MA
11032011-10-19 Michael Albinus <michael.albinus@gmx.de>
1104
1105 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1106 running process.
1107
13754b54
GM
11082011-10-19 Glenn Morris <rgm@gnu.org>
1109
1110 * vc/vc-bzr.el (vc-bzr-after-dir-status):
1111 Ignore ignored files. (Bug#9726)
1112
06e21633
CY
11132011-10-19 Chong Yidong <cyd@gnu.org>
1114
1115 Doc fix for minor modes, stating that an omitted argument enables
1116 the mode unconditionally when called from Lisp.
1117
1118 * abbrev.el (abbrev-mode):
1119 * allout.el (allout-mode):
1120 * autoinsert.el (auto-insert-mode):
1121 * autoarg.el (autoarg-mode, autoarg-kp-mode):
1122 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1123 (global-auto-revert-mode):
1124 * battery.el (display-battery-mode):
1125 * composite.el (global-auto-composition-mode)
1126 (auto-composition-mode):
1127 * delsel.el (delete-selection-mode):
1128 * desktop.el (desktop-save-mode):
1129 * dired-x.el (dired-omit-mode):
1130 * dirtrack.el (dirtrack-mode):
1131 * doc-view.el (doc-view-minor-mode):
1132 * double.el (double-mode):
1133 * electric.el (electric-indent-mode, electric-pair-mode):
1134 * emacs-lock.el (emacs-lock-mode):
1135 * epa-hook.el (auto-encryption-mode):
1136 * follow.el (follow-mode):
1137 * font-core.el (font-lock-mode):
1138 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1139 * help.el (temp-buffer-resize-mode):
1140 * hilit-chg.el (highlight-changes-mode)
1141 (highlight-changes-visible-mode):
1142 * hi-lock.el (hi-lock-mode):
1143 * hl-line.el (hl-line-mode, global-hl-line-mode):
1144 * icomplete.el (icomplete-mode):
1145 * ido.el (ido-everywhere):
1146 * image-file.el (auto-image-file-mode):
1147 * image-mode.el (image-minor-mode):
1148 * iswitchb.el (iswitchb-mode):
1149 * jka-cmpr-hook.el (auto-compression-mode):
1150 * linum.el (linum-mode):
1151 * longlines.el (longlines-mode):
1152 * master.el (master-mode):
1153 * mb-depth.el (minibuffer-depth-indicate-mode):
1154 * menu-bar.el (menu-bar-mode):
1155 * minibuf-eldef.el (minibuffer-electric-default-mode):
1156 * mouse-sel.el (mouse-sel-mode):
1157 * msb.el (msb-mode):
1158 * mwheel.el (mouse-wheel-mode):
1159 * outline.el (outline-minor-mode):
1160 * paren.el (show-paren-mode):
1161 * recentf.el (recentf-mode):
1162 * reveal.el (reveal-mode, global-reveal-mode):
1163 * rfn-eshadow.el (file-name-shadow-mode):
1164 * ruler-mode.el (ruler-mode):
1165 * savehist.el (savehist-mode):
1166 * scroll-all.el (scroll-all-mode):
1167 * scroll-bar.el (scroll-bar-mode):
1168 * server.el (server-mode):
1169 * shell.el (shell-dirtrack-mode):
1170 * simple.el (auto-fill-mode, transient-mark-mode)
1171 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1172 (line-number-mode, column-number-mode, size-indication-mode)
1173 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1174 * strokes.el (strokes-mode):
1175 * time.el (display-time-mode):
1176 * t-mouse.el (gpm-mouse-mode):
1177 * tool-bar.el (tool-bar-mode):
1178 * tooltip.el (tooltip-mode):
1179 * type-break.el (type-break-mode-line-message-mode)
1180 (type-break-query-mode):
1181 * view.el (view-mode):
1182 * whitespace.el (whitespace-mode, whitespace-newline-mode)
1183 (global-whitespace-mode, global-whitespace-newline-mode):
1184 * xt-mouse.el (xterm-mouse-mode): Doc fix.
1185
a3839de2
SM
1186 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1187 Fix autogenerated docstring.
06e21633 1188
5214e501
JL
11892011-10-19 Juri Linkov <juri@jurta.org>
1190
1191 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1192 by checking environment variables "DESKTOP_SESSION" and
1193 "XDG_CURRENT_DESKTOP". (Bug#9779)
1194
195f8db9
JL
11952011-10-19 Juri Linkov <juri@jurta.org>
1196
1197 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1198 (browse-url-chromium-program, browse-url-chromium-arguments):
1199 New defcustoms.
1200 (browse-url-default-browser): Check for `browse-url-chromium' and
1201 call `browse-url-chromium-program'.
1202 (browse-url-chromium): New command. (Bug#9779)
1203
343a34ff
JB
12042011-10-18 Juanma Barranquero <lekktu@gmail.com>
1205
1206 * facemenu.el (list-colors-duplicates): On Windows, detect more
1207 duplicates by assuming that only colors matching "^System" are
1208 special "system colors". (Bug#9722)
1209
6978a151
SM
12102011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1213 to distinguish the author from the committer.
1214
6a80b297
MA
12152011-10-18 Michael Albinus <michael.albinus@gmx.de>
1216
1217 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1218
b31a5677
JK
12192011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1220
1221 * international/mule.el (sgml-html-meta-auto-coding-function):
1222 Add support for detecting encoding in HTML5 specified only as
1223 <meta charset="UTF-8">. Implementation just makes http-equiv and
1224 content-type parts from HTML4 encoding string optional. (Bug#9716)
1225
80c6d77f
GM
12262011-10-18 Glenn Morris <rgm@gnu.org>
1227
1228 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1229
08b0fee8
CY
12302011-10-18 Chong Yidong <cyd@gnu.org>
1231
1232 * faces.el (cursor): Doc fix.
1233
67e729a5
CY
12342011-10-17 Chong Yidong <cyd@gnu.org>
1235
1236 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1237
343a34ff 12382011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
1239
1240 * dirtrack.el (dirtrack): Support shell buffers with path
1241 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1242
0bc06380
TZ
12432011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1244
1245 * json.el: Bump version to 1.3 and note change in History.
1246 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1247
8b79f3e0
SM
12482011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1249
5a7c536b
SM
1250 * comint.el (comint-insert-input, comint-send-input)
1251 (comint-get-old-input-default, comint-backward-matching-input)
1252 (comint-next-prompt): Use nil instead of `input' for field property of
1253 past user input (bug#114).
1254
96a8a0df
SM
1255 * minibuffer.el (completion--replace): Inherit surrounding properties
1256 (bug#114).
1257 (minibuffer-complete-and-exit): Use it.
1258
8b79f3e0
SM
1259 * comint.el (comint--table-subvert): Quote the all-completions output
1260 (bug#9160).
1261
b8f7ff0d
MR
12622011-10-17 Martin Rudalics <rudalics@gmx.at>
1263
8b79f3e0 1264 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 1265
b8f7ff0d 1266 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 1267 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
1268 entries and separate them from frame entries.
1269
c235b555
GM
12702011-10-15 Glenn Morris <rgm@gnu.org>
1271
1272 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1273 Doc fixes.
1274
6bbfa6e1
CY
12752011-10-15 Chong Yidong <cyd@stupidchicken.com>
1276
8b79f3e0
SM
1277 * net/network-stream.el (network-stream-open-starttls):
1278 Improve detection of failure due to lack of TLS support.
ec5c990d 1279
6bbfa6e1
CY
1280 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1281 putting the input text in front and in bold.
1282
98488977
SM
12832011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1284
3d1337be
SM
1285 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1286
ee0b45e4
SM
1287 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1288 empty buffer.
1289
98488977
SM
1290 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1291 unread-command-events rather than pushing yet-another event.
1292
186f4720
EZ
12932011-10-14 Eli Zaretskii <eliz@gnu.org>
1294
1295 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1296 the explanation of the possible choices. Make the options passed
1297 to completing-read shorter.
1298
8b7a997c
AM
12992011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1300
1301 * textmodes/flyspell.el (flyspell-large-region): Make sure
1302 extended character mode is used if defined (Bug#1339).
1303
12587bbb
EZ
13042011-10-13 Eli Zaretskii <eliz@gnu.org>
1305
1306 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
1307 character info for LRE, LRO, RLE, and RLO characters by appending
1308 an invisible PDF.
12587bbb 1309
bad41229
SM
13102011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1313 even in case of error; add debug spec; simplify data flow.
1314 (with-timeout-handler): Remove.
1315
28dbc92f
MA
13162011-10-12 Michael Albinus <michael.albinus@gmx.de>
1317
1318 Fix Bug#6019, Bug#9315.
1319
1320 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1321 complete `buffer-file-name', the local file name part could look
1322 remotely (for example on VMS).
1323
1324 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1325 `tramp-run-real-handler'.
1326 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1327 already quoted by '"'.
1328
1329 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1330 Let `file-name-handler-alist' be nil, the local file name part
1331 could look remotely (for example on VMS).
1332
e1b0b23a
SM
13332011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1334
1335 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1336 from here...
1337 (flyspell-post-command-hook): ...to here.
1338
a120bde9
SM
13392011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1342 if not needed.
1343 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1344 using completion. Protect against "slow" callers.
1345 Remove the "message hack".
1346
7ce7717b
JL
13472011-10-11 Juri Linkov <juri@jurta.org>
1348
1349 * isearch.el (isearch-lazy-highlight-word): New variable.
1350 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1351 Use it. (Bug#9727)
1352
c02ee9d6
GM
13532011-10-11 Glenn Morris <rgm@gnu.org>
1354
1355 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1356 like f90-previous-statement does.
1357
93e616fd 13582011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1359
1f190e73 1360 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
1361 only in interactive use, to avoid error.
1362
af7b6078
SM
13632011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * minibuffer.el (completion-file-name-table): Fix last change,
1366 i.e. ignore normal errors but not the other ones.
1367
0563dae9
MR
13682011-10-10 Martin Rudalics <rudalics@gmx.at>
1369
1370 * window.el (special-display-buffer-names)
1371 (special-display-regexps): Remove some remnants of earlier
1372 changes from doc-strings.
366ca7f3
MR
1373 (quit-windows-on): New function.
1374
1375 * vc/vc.el (vc-revert, vc-rollback):
1376 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1377 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 1378 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 1379
49677495
MR
13802011-10-09 Martin Rudalics <rudalics@gmx.at>
1381
1382 * window.el (frame-auto-hide-function): Add version tag.
1383 (Bug#9699)
1384
56f2d1e1
MA
13852011-10-09 Michael Albinus <michael.albinus@gmx.de>
1386
1387 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1388 condition.
1389
112a6592
LL
13902011-10-09 Leo Liu <sdl.web@gmail.com>
1391
1392 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1393 (Bug#9701)
1394
0812589b
GM
13952011-10-08 Glenn Morris <rgm@gnu.org>
1396
1397 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1398 before the first code statement zero indent. (Bug#9690)
1399
b2b0776e
CY
14002011-10-08 Chong Yidong <cyd@stupidchicken.com>
1401
1402 * simple.el (count-words-region): Always count in the region.
1403 Report the number of lines and characters too.
1404 (count-words): New command, which counts in the buffer if the
1405 region is inactive, as count-words-region used to.
1406 (count-words--message): New function. Handle plurals.
1407 (count-lines-region): Make it an alias for count-words-region.
1408
1409 * bindings.el (esc-map): Replace count-lines-region with
1410 count-words-region.
1411
c557cd6b
MR
14122011-10-08 Martin Rudalics <rudalics@gmx.at>
1413
1414 * window.el (window--delete): Delete dedicated frame
1415 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 1416 (switch-to-buffer): Fix doc-string typo.
c557cd6b 1417
61a57ef4 14182011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1419
1420 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1421
c3833279
CY
14222011-10-07 Chong Yidong <cyd@stupidchicken.com>
1423
1424 * bindings.el ([M-left],[M-right]): Bind to left-word and
1425 right-word respectively.
1426
21ce8245
GM
14272011-10-07 Glenn Morris <rgm@gnu.org>
1428
1429 * cus-start.el (debug-on-quit): Fix custom type.
1430
6d823bb2
LMI
14312011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1432
0181e193
LMI
1433 * subr.el (define-key-after): Clarify that the function is not
1434 useful for non-menu keymaps.
1435
6d823bb2
LMI
1436 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1437
8e3459ce 14382011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1439
21ce8245 1440 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 1441 in current minibuffer (Fix bug with recursive minibuffers).
1442
a1c2d21e
CY
14432011-10-06 Chong Yidong <cyd@stupidchicken.com>
1444
1445 * progmodes/gdb-mi.el (gdb): Doc fix.
1446
5a4cf282
MR
14472011-10-05 Martin Rudalics <rudalics@gmx.at>
1448
1449 * window.el (frame-auto-hide-function): New option replacing
1450 frame-auto-delete. Suggested by Stefan Monnier.
1451 (window--delete): Call frame-auto-hide-function instead of
1452 investigating frame-auto-delete.
c96111ea
MR
1453 (window-point-1, set-window-point-1): New functions.
1454 (window-in-direction, record-window-buffer, window-state-get-1)
1455 (display-buffer-record-window): Use window-point-1 instead of
1456 window-point.
1457 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 1458
9854542e
SM
14592011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1460
1461 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1462
8943cfb0
GM
14632011-10-05 Glenn Morris <rgm@gnu.org>
1464
1465 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1466 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1467
647ab967
LL
14682011-10-05 Leo Liu <sdl.web@gmail.com>
1469
1470 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1471 works with buffer object.
1472
3ddfbced
SM
14732011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 * mpc.el (mpc-tool-bar-map): Add labels.
1476
bdfa5dd2
GM
14772011-10-04 Glenn Morris <rgm@gnu.org>
1478
1479 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1480
0e2070b5
MR
14812011-10-04 Martin Rudalics <rudalics@gmx.at>
1482
1483 * window.el (window--delete): New function.
1484 (frame-auto-delete): Resuscitate option.
1485 (bury-buffer, replace-buffer-in-windows)
1486 (quit-window): Rewrite using window--delete.
1487 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1488 Pass display-buffer-mark-dedicated to window--display-buffer-2
1489 (Bug#9639).
1490
3dc61a09
SM
14912011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1492
915a9b64
SM
1493 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1494 returns a list (bug#9554). Add remote file name completion.
1495 * comint.el (comint--table-subvert): Curry and get quote&unquote
1496 functions as arguments.
1497 (comint--complete-file-name-data): Adjust call accordingly.
1498 * pcomplete.el (pcomplete--table-subvert): Remove.
1499 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1500
3dc61a09
SM
1501 * minibuffer.el (completion-table-case-fold): Use currying.
1502 (completion--styles-type, completion--cycling-threshold-type):
1503 New constants.
1504 (completion-styles, completion-category-overrides)
1505 (completion-cycle-threshold): Use them.
1506 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1507 completion-table-case-fold.
1508
8ea0a993
SB
15092011-10-03 Stephen Berman <stephen.berman@gmx.net>
1510
1511 * minibuffer.el (completion-category-overrides): Fix type of styles
1512 and add more user friendly tags (bug#9660).
1513
8c24b7f6
SM
15142011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1515
1516 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1517 (mule-input-method-string): New widget.
1518 (default-input-method, language-info-custom-alist): Use it.
1519
428fe61a
SM
15202011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1521
32c1fffd
SM
1522 * pcomplete.el: Require comint.
1523 (pcomplete--common-suffix): Remove.
1524 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1525 (pcomplete--table-subvert): Sync with comint--table-subvert.
1526 (pcomplete--entries): Use comint-completion-file-name-table.
1527 * comint.el (comint-unquote-filename): Simplify.
1528 (comint-completion-file-name-table): New function (bug#9616).
1529 (comint--complete-file-name-data): Use it.
1530
428fe61a
SM
1531 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1532 (pcmpl-gnu-tar-buffer): Remove.
1533 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
1534 around. Make sure pcomplete-suffix-list is only changed temporarily.
1535 Don't look inside the tar's file if it's too large.
428fe61a 1536
04c52e2f
CY
15372011-10-01 Chong Yidong <cyd@stupidchicken.com>
1538
ce3cefcc
CY
1539 * cus-edit.el (custom-mode-map):
1540 * epa.el (epa-key-list-mode-map):
1541 * man.el (Man-mode-map):
1542 * startup.el (splash-screen-keymap):
1543 * simple.el (special-mode-map): Use scroll-up-command and
1544 scroll-down-command.
1545
1546 * progmodes/idlw-help.el (idlwave-help-mode-map):
1547 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1548 * net/newst-plainview.el (newsticker-mode-map):
1549 * emulation/ws-mode.el (wordstar-mode-map):
1550 * emulation/vi.el (vi-com-map):
1551 * calc/calc-graph.el (calc-graph-show-dumb):
1552 * term/sun.el (terminal-init-sun):
1553 * term/ns-win.el (global-map):
1554 * progmodes/grep.el (grep-mode-map):
1555 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1556 * mail/rmail.el (rmail-mode-map):
1557 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1558
04c52e2f
CY
1559 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1560 custom-safe-themes as special.
1561
79adf8c8
JD
15622011-10-01 Julien Danjou <julien@danjou.info>
1563
1564 * notifications.el (notifications-notify): Fix docstring.
1565
63bd50d3
PS
15662011-10-01 Per Starbäck <per@starback.se>
1567
1568 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1569
199e4c7e
MR
15702011-09-30 Martin Rudalics <rudalics@gmx.at>
1571
1572 * startup.el (command-line-1): Fix last fix by inserting
1573 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 1574 (Bug#9605) and (Bug#9636)
199e4c7e 1575
fe5f08dd
EZ
15762011-09-29 Eli Zaretskii <eliz@gnu.org>
1577
1578 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1579 window is hscrolled, move by logical lines. (Bug#9607)
1580 (line-move-visual): Update the doc string to the above effect.
1581
b5516bbd
MR
15822011-09-29 Martin Rudalics <rudalics@gmx.at>
1583
ccee00c0
MR
1584 * window.el (display-buffer-record-window): When WINDOW is the
1585 selected window use `point' instead of `window-point'. (Bug#9626)
1586
b5516bbd
MR
1587 * startup.el (command-line-1): Use insert-before-markers when
1588 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1589
b5516bbd
MR
1590 * help.el (help-window): Remove variable.
1591
52aa0014
GM
15922011-09-29 Glenn Morris <rgm@gnu.org>
1593
1594 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1595
df9a7357
JB
15962011-09-29 Juanma Barranquero <lekktu@gmail.com>
1597
1598 * descr-text.el (describe-char-categories): Accept category
1599 descriptions more than one line long.
1600
a8406c20
SM
16012011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1602
88d9610c
SM
1603 * simple.el (delete-trailing-whitespace): Fix last change.
1604
a5daf810
SM
1605 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1606 Don't confuse "y => 3" as the beginning of a `y' operation.
1607
a8406c20
SM
1608 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1609 object has more than 4 slots (bug#9613).
1610
a239d4e9
JB
16112011-09-28 Juanma Barranquero <lekktu@gmail.com>
1612
1613 * subr.el (with-output-to-temp-buffer):
1614 * net/quickurl.el (quickurl, quickurl-browse-url):
1615 Fix typos in docstrings.
1616
693fbdb6
EZ
16172011-09-27 Eli Zaretskii <eliz@gnu.org>
1618
1619 * minibuffer.el (completion-styles)
1620 (completion-category-overrides): Cross reference each other in doc
1621 strings.
1622
8b457e28
GM
16232011-09-27 Glenn Morris <rgm@gnu.org>
1624
1625 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1626 to split-string. (Bug#9606)
1627
85a16208
LMI
16282011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1629
1630 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1631 (bug#9615).
1632
502f9ebd
CY
16332011-09-27 Chong Yidong <cyd@stupidchicken.com>
1634
1635 * emacs-lisp/package.el (list-packages): Fix echo area message.
1636
7690bdea
LL
16372011-09-27 Leo Liu <sdl.web@gmail.com>
1638
1639 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1640
e2ee6f30
MA
16412011-09-25 Michael Albinus <michael.albinus@gmx.de>
1642
1643 * net/dbus.el (dbus-unregister-object): Don't release services for
1644 registered signals. (Bug#9581)
1645
f3f98342
TZ
16462011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1647
1648 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1649 function that picks between cfengine 2 and 3 support
1650 automatically. Update docs accordingly.
1651
dd7aa8dd
KH
16522011-09-22 Kenichi Handa <handa@m17n.org>
1653
1654 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1655 ZERO.
1656 (indian-itrans-v5-table-for-tamil): New variable.
1657 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1658
3f2b07f8
KM
16592011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1660
1661 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1662 that's true if the current command involved collapsing of text.
1663 It's reset to false at the beginning of the next command.
1664 (allout-post-command-business): Move the cursor to the beginning
1665 of entry if the cursor is hidden and collapsing activity just
1666 happened.
1667
371d6a61
CY
16682011-09-24 Chong Yidong <cyd@stupidchicken.com>
1669
1670 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1671 tracking (Bug#9541).
1672
2ac2721a
UJ
16732011-09-24 Ulf Jasper <ulf.jasper@web.de>
1674
1675 * net/newst-reader.el (newsticker-html-renderer)
1676 (newsticker-show-news): Automatically
343a34ff
JB
1677 load html rendering package if newsticker-html-renderer is set.
1678 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1679 let-bound" and the error "Symbol's value as variable is void:
1680 w3m-fill-column".
1681
fac7ae53
MA
16822011-09-24 Michael Albinus <michael.albinus@gmx.de>
1683
1684 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1685 Release services only if they are defined. (Bug#9581)
1686
e08b633b
RS
16872011-09-23 Richard Stallman <rms@gnu.org>
1688
e488d29c
RS
1689 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1690 distinguish start of paragraph from start of its text.
1691
19c38752
RS
1692 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1693
e08b633b
RS
1694 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1695 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1696 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1697
0a39f27e
AS
16982011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1699
1700 * international/mule-diag.el (mule-diag): Insert a newline after
1701 each fontset description.
1702
db4e950d
SM
17032011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1704
1705 * simple.el (delete-trailing-whitespace):
1706 Document last change; simplify.
1707
eca3f3ea
PW
17082011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1709
d68e189a
PW
1710 * simple.el (delete-trailing-whitespace): Also delete
1711 extra newlines at the end of the buffer.
1712
eca3f3ea
PW
1713 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1714 (picture-newline): Use forward-line so as to ignore fields.
1715
01c157cc
SM
17162011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1717
1718 * subr.el (with-wrapper-hook): Fix edebug spec.
1719
022de23e
LMI
17202011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1721
1722 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1723 (bug#4538).
1724
91683089
MA
17252011-09-23 Michael Albinus <michael.albinus@gmx.de>
1726
eca3f3ea
PW
1727 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1728 Fix nasty bug using wrong cached values.
91683089 1729
5bdd6fa4
AM
17302011-09-23 Alan Mackenzie <acm@muc.de>
1731
1732 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1733
97adfb97
CY
17342011-09-23 Chong Yidong <cyd@stupidchicken.com>
1735
1736 * window.el (pop-to-buffer): Ensure right window is selected if we
1737 chose another frame.
1738
d4ef2b50
EZ
17392011-09-22 Eli Zaretskii <eliz@gnu.org>
1740
1741 * simple.el (what-cursor-position): Use get-char-property-change
1742 and next-single-char-property-change, to be able to show display
1743 properties that come from overlays as well as text properties.
1744
72258fe5
CY
17452011-09-22 Chong Yidong <cyd@stupidchicken.com>
1746
1747 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1748
1749 * cmuscheme.el (run-scheme, switch-to-scheme):
1750 * cus-edit.el (customize-group, custom-buffer-create)
1751 (customize-browse):
1752 * info.el (info):
1753 * shell.el (shell):
1754 * mail/sendmail.el (mail):
1755 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1756
8f098516
RS
17572011-09-22 Richard Stallman <rms@gnu.org>
1758
1759 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1760 move back only to line beg, don't move back over blank lines.
1761
e74f1bb6
MA
17622011-09-22 Michael Albinus <michael.albinus@gmx.de>
1763
1764 * files.el (copy-directory): Set directory attributes only in case
1765 they could be retrieved from the source directory. (Bug#9565)
1766
bfeef8b6
DK
17672011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1768
1769 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1770 (hs-find-block-beginning, hs-hide-level-recursive):
1771 Ignore strings as well as comments. (Bug#9502)
1772
7e423bb8
AS
17732011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1774
1775 * progmodes/sql.el (sql-comint-postgres):
1776 Convert port number to a string. (Bug#9566)
1777
b4d72fcf
MR
17782011-09-22 Martin Rudalics <rudalics@gmx.at>
1779
1780 * window.el (quit-window): Undedicate window when switching to
1781 previous buffer. Reported by Thierry Volpiatto
1782 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1783 (special-display-popup-frame): When popping up a new frame reset
1784 its previous buffers to nil. Simplify code.
b4d72fcf 1785
a7b88dc6
MA
17862011-09-21 Michael Albinus <michael.albinus@gmx.de>
1787
1788 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1789 and process filter, as done also in `shell-command'.
1790
cf4eacfd
MR
17912011-09-21 Martin Rudalics <rudalics@gmx.at>
1792
eca3f3ea
PW
1793 * window.el (set-window-buffer-start-and-point):
1794 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1795 Volpiatto <thierry.volpiatto@gmail.com>.
1796 (quit-window): Reword doc-string. Handle new format of
1797 quit-restore parameter. Don't delete window if it has a
1798 previous buffer we can show instead of the present one.
1799 (display-buffer-record-window): Rewrite using a new format for
1800 the quit-restore window parameter
1801 (special-display-popup-frame, display-buffer-same-window)
1802 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1803 (display-buffer-pop-up-window, display-buffer-use-some-window):
1804 Adapt symbol passed to display-buffer-record-window.
1805 * help.el (help-window-setup): Handle new format of quit-restore
1806 parameter.
1807
8d28cb95
SM
18082011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1809
94ab793f
SM
1810 * faces.el (face-list): Fix docstring (bug#9564).
1811
8d28cb95
SM
1812 * window.el (display-buffer--action-function-custom-type):
1813 Don't include internal functions in the Custom interface.
1814
3820edeb
JL
18152011-09-20 Juri Linkov <juri@jurta.org>
1816
1817 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1818 (Info-forward-node, Info-backward-node, Info-next-preorder)
1819 (Info-last-preorder): Use it. (Bug#9528)
1820
5147931d
JL
18212011-09-20 Juri Linkov <juri@jurta.org>
1822
1823 * info.el (Info-last-preorder): Visit last menu item only when
1824 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1825
cf499a1a
JD
18262011-09-20 Julien Danjou <julien@danjou.info>
1827
1828 * password-cache.el (password-cache-remove): Remove entries even if the
1829 value is nil, so that password with a nil value (negative caching) is
1830 possible to invalidate.
1831
f84e2fe2
LM
18322011-09-20 Lawrence Mitchell <wence@gmx.li>
1833
1834 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1835 all whitespace around breakpoint. (Bug#9553)
1836 (f90-find-breakpoint): Only break at whitespace inside a comment.
1837
78054a46
SM
18382011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * minibuffer.el (completion-file-name-table): Keep track of errors.
1841 (completion-table-with-predicate): Handle the case where pred1 is nil.
1842 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1843
345083b2
SM
18442011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1845
e24e27be
SM
1846 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1847 (debugger-return-value): Signal an error if the debugging context does
1848 not await any return value.
1849
345083b2
SM
1850 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1851 * image-mode.el (image-toggle-display-text)
1852 (image-toggle-display-image): Stay away from evil `intangible'.
1853
08d355e3
LL
18542011-09-19 Leo Liu <sdl.web@gmail.com>
1855
1856 * replace.el (occur-revert-arguments): Make it permanent-local.
1857 (occur-mode): Don't call font-lock-defontify.
1858
f01da43f
CY
18592011-09-19 Chong Yidong <cyd@stupidchicken.com>
1860
1861 * net/ldap.el (ldap-search-internal): Don't push empty search
1862 result (Bug#9508).
1863
b6072fa6
SM
18642011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1867
443d6696
MA
18682011-09-19 Michael Albinus <michael.albinus@gmx.de>
1869
1870 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1871 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1872
7cc6e154
JL
18732011-09-18 Juri Linkov <juri@jurta.org>
1874
1875 * buff-menu.el (Buffer-menu-mode-map):
1876 * dired.el (dired-mode-map):
1877 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1878 (lisp-interaction-mode-map):
1879 * emacs-lisp/package.el (package-menu-mode-map):
1880 * epa.el (epa-key-list-mode-map):
1881 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1882 (menu-bar-options-menu):
1883 * outline.el (outline-mode-menu-bar-map):
1884 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1885 * vc/vc-dir.el (vc-dir-menu-map):
1886 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1887 Capitalize non-function content words in menu item strings.
1888
1889 * dired.el (dired-mode-map): Add menu item for
1890 `image-dired-dired-toggle-marked-thumbs'.
1891
80302a81
JL
18922011-09-18 Juri Linkov <juri@jurta.org>
1893
1894 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1895 to `isearch-case-fold-search' and restore its original value
1896 after the `isearch-mode' call.
1897
46c5cf66
JL
18982011-09-18 Juri Linkov <juri@jurta.org>
1899
1900 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1901 because `zgrep' returns 1 for successful matches (bug#9226).
1902
d18b513b
JL
19032011-09-18 Juri Linkov <juri@jurta.org>
1904
1905 * info.el (Info-extract-menu-node-name): Check the second match
1906 for empty string (second test-case of bug#9528).
1907 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1908 intermediate nodes to the history (first test-case of bug#9528).
1909
72753f87
JL
19102011-09-18 Juri Linkov <juri@jurta.org>
1911
1912 * info.el (Info-mode-syntax-table): New variable.
1913 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1914
c9384295
JL
19152011-09-18 Juri Linkov <juri@jurta.org>
1916
1917 * info.el (Info-file-supports-index-cookies): Increment
1918 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1919 one more line for long file names (bug#4142).
1920
d473dce8
CY
19212011-09-18 Chong Yidong <cyd@stupidchicken.com>
1922
1923 * newcomment.el (comment-normalize-vars): If prompting for
1924 comment-start, set comment-start-skip too (Bug#8424).
1925
2176854d
JB
19262011-09-18 Johan Bockgård <bojohan@gnu.org>
1927
1928 * icomplete.el: Fix previous fix of Bug#5849.
1929 (icomplete-mode): Don't set completion-show-inline-help.
1930 (icomplete-minibuffer-setup): Set completion-show-inline-help
1931 locally during icompletion.
1932
3aace4e4
CY
19332011-09-18 Chong Yidong <cyd@stupidchicken.com>
1934
c940224f
CY
1935 * woman.el (woman2-process-escapes): Don't delete unrecognized
1936 escapes (Bug#7843).
1937
3aace4e4
CY
1938 * files.el (inhibit-first-line-modes-regexps): Add image files.
1939 (hack-local-variables-prop-line): Return nil for malformed
1940 prop-lines (Bug#9044).
1941
710dec63
MA
19422011-09-18 Michael Albinus <michael.albinus@gmx.de>
1943
1944 * net/tramp.el (top): Don't require 'shell.
1945 (tramp-methods): Fix docstring.
1946 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1947 Return complete remote file name. Handle "smb" case.
1948 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1949 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1950
1951 * net/tramp-compat.el (top): Require 'shell.
1952
1953 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1954 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1955 `tramp-current-host'.
1956 (tramp-get-remote-tmpdir): Remove.
1957
1958 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1959 `tramp-tmpdir' entries.
1960 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1961 (tramp-smb-handle-file-attributes): Ignore errors.
1962 (tramp-smb-wait-for-output): Check also for process end.
1963
5d5ac8ec
LMI
19642011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1965
1966 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1967 when sending QUIT (bug#9312).
1968
8c0f49f0
CY
19692011-09-17 Chong Yidong <cyd@stupidchicken.com>
1970
1971 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1972 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1973 occur-mode-display-occurrence.
1974 (occur-edit-mode): Add usage message.
1975 (occur-cease-edit): New command.
1976 (occur-after-change-function): Use text properties to find the
1977 position of the prefix text.
1978 (occur-engine): Set stickiness of prefix text properties.
1979
8f1383f7
GM
19802011-09-17 Glenn Morris <rgm@gnu.org>
1981
1982 * progmodes/etags.el (complete-tag):
1983 Fix call to completion-in-region. (Bug#9526)
1984
744ba0e3
JL
19852011-09-17 Juri Linkov <juri@jurta.org>
1986
1987 * textmodes/ispell.el (ispell-word): Add to the error message
1988 the word, ispell program name and current dictionary (bug#9121).
1989 (ispell-tex-arg-end): Capitalize "error" in the error message.
1990
d9bbf400
AS
19912011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1992
1993 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1994 check. (Bug#4251)
1995
8da11505
JL
19962011-09-17 Juri Linkov <juri@jurta.org>
1997
1998 * window.el (window-safe-min-height, window-safe-min-width):
1999 Fix typos (followup to bug#9522).
2000
a91adc7e
SJ
20012011-09-17 Sven Joachim <svenjoac@gmx.de>
2002
2003 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
2004
064f328a
EZ
20052011-09-16 Eli Zaretskii <eliz@gnu.org>
2006
2007 * simple.el (line-move): If goal-column is set, move by logical
2008 lines, not by display lines. (Bug#971)
2009 (next-line, previous-line, goal-column, line-move-visual): Doc fix
2010 to reflect the above change.
2011
e69df516
SM
20122011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2013
2014 * image.el (imagemagick-register-types): Use regexp-opt.
2015
cbb0f9ab
CY
20162011-09-15 Chong Yidong <cyd@stupidchicken.com>
2017
2018 * window.el (display-buffer-base-action): Rename from
2019 display-buffer-default-action. Make default value empty.
2020 (display-buffer-overriding-action): Convert to defvar.
2021 (display-buffer-fallback-action): New var.
2022
25322144
CY
20232011-09-15 Chong Yidong <cyd@stupidchicken.com>
2024
2025 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
2026 declaration.
2027 (package--add-to-archive-contents): If there is a duplicate entry
2028 with an older version, remove it.
2029 (package-menu-mark-delete, package-menu-mark-install)
2030 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
2031 (package-menu-mark-obsolete-for-deletion):
2032 Use package-menu-get-status instead of a regexp search.
25322144
CY
2033 (package-menu-get-status): Use tabulated-list-entry.
2034 (package-menu-mark-upgrades): New command.
d770725a 2035 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
2036 (package-menu-execute): Do installation before deletion.
2037 (package-menu-refresh, package-menu-execute): Use derived-mode-p
2038 instead of checking major-mode.
2039 (package-menu--find-upgrades): New function.
2040
7520339c
LMI
20412011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2042
2043 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2044 passwords in the log buffer.
65a046c4
LMI
2045 (smtpmail-process-filter): Update the process marker so that the
2046 "broken by peer" status message is inserted in the right place.
7520339c 2047
d3c30954
SM
20482011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2049
3fe48822
SM
2050 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2051 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2052 bibtex-completion-at-point-function.
2053 (bibtex-completion-at-point-function): Use them.
2054
1b8b3954
SM
2055 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2056
d3c30954
SM
2057 * mpc.el (mpc-constraints-tag-lookup): New function.
2058 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2059 also to browser "album|playlist".
2060
72779976
JL
20612011-09-14 Juri Linkov <juri@jurta.org>
2062
2063 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
2064 (isearch-edit-string): Use length of `isearch-string' when
2065 `isearch-fail-pos' returns nil.
2066 (isearch-message): Remove duplicate code and call
2067 `isearch-fail-pos' with arg `t'.
2068
a0bf2bcd
CY
20692011-09-14 Chong Yidong <cyd@stupidchicken.com>
2070
17bb0a2d
CY
2071 * replace.el (occur-mode-goto-occurrence): Don't force using other
2072 window (Bug#9499).
2073
a0bf2bcd
CY
2074 * dired-aux.el (dired-do-chmod): Don't provide initial input.
2075
f678e0b6
MR
20762011-09-14 Martin Rudalics <rudalics@gmx.at>
2077
2078 * window.el (display-buffer-window): Remove.
2079 (display-buffer-record-window): Use help-setup window parameter
2080 instead of variable display-buffer-window.
2081 (display-buffer-function, special-display-buffer-names)
2082 (special-display-function): Mention help-setup parameter instead
2083 of display-buffer-window in doc-string.
d3c30954
SM
2084 * help.el (help-window-setup): New argument help-window.
2085 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
2086 Reword some messages.
2087 (with-help-window): Pass window used for displaying the buffer
2088 to help-window-setup. Don't set display-buffer-window.
2089
8e39b2e8
GM
20902011-09-13 Glenn Morris <rgm@gnu.org>
2091
2092 * emacs-lisp/debug.el (debugger-make-xrefs):
2093 Preserve point. (Bug#9462)
2094
85e9c04b
CY
20952011-09-13 Chong Yidong <cyd@stupidchicken.com>
2096
2097 * window.el (window-deletable-p): Use next-frame.
2098
1b36ed6a
MR
20992011-09-13 Martin Rudalics <rudalics@gmx.at>
2100
2101 * window.el (window-auto-delete): Remove.
2102 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 2103 dedication and previous buffers.
1b36ed6a
MR
2104 (switch-to-prev-buffer): Don't delete window.
2105 (delete-windows-on): Delete a window's frame if and only if the
2106 window is dedicated.
2107 (replace-buffer-in-windows): Delete buffer's window or frame if
2108 and only if window is dedicated.
2109 (quit-window): Handle quit-restore as before last change.
4d61f28d 2110 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 2111
ef8ef9fb
CY
21122011-09-13 Chong Yidong <cyd@stupidchicken.com>
2113
2114 * window.el (window-deletable-p): Never delete the last frame on a
2115 given terminal.
2116
b2cba41e
GM
21172011-09-13 Glenn Morris <rgm@gnu.org>
2118
2119 * help.el (describe-key-briefly): Copy previous standard-output change.
2120
51553db6 21212011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
2122
2123 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
2124
b7556719
GM
21252011-09-13 Glenn Morris <rgm@gnu.org>
2126
2127 * emacs-lisp/lisp-mode.el (lisp-indent-function):
2128 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2129
64b51947
CY
21302011-09-12 Chong Yidong <cyd@stupidchicken.com>
2131
2132 * dired-aux.el (dired-mark-read-string): Don't return default
2133 value on empty input (Bug#9361).
2134 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2135 Omit initial minibuffer contents.
2136 (dired-do-chmod): Signal an error on empty input.
2137 (dired-mark-read-string): Don't return default on empty input.
2138
2139 * files.el (file-modes-symbolic-to-number): Doc fix.
2140
393a301e
SM
21412011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * international/mule-cmds.el (ucs-completions): Remove.
2144 (read-char-by-name): Use complete-with-action instead; add metadata.
2145
fa5660f9
CY
21462011-09-11 Chong Yidong <cyd@stupidchicken.com>
2147
2148 * window.el (display-buffer--action-function-custom-type)
2149 (display-buffer--action-custom-type): New vars.
2150 (display-buffer-alist, display-buffer-default-action)
2151 (display-buffer-overriding-action): Add defcustom types.
2152
4a592f66
CY
2153 * frame.el (delete-other-frames): Doc fix (Bug#276).
2154
73d56dbd
LMI
21552011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2156
2157 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2158
37ac18a3
CY
21592011-09-11 Chong Yidong <cyd@stupidchicken.com>
2160
2161 Change modes that used same-window-* vars to use switch-to-buffer.
2162
2163 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2164 Use switch-to-buffer.
2165
2166 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
2167 (customize-browse, custom-buffer-create-other-window):
2168 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
2169
2170 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2171 (Info-prev, Info-up, Info-speedbar-goto-node)
2172 (info-display-manual): Use switch-to-buffer.
2173 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2174
2175 * mail/sendmail.el (mail): Use switch-to-buffer.
2176 (mail-recover): Use switch-to-buffer-other-window.
2177
2178 * cmuscheme.el (run-scheme, switch-to-scheme):
2179 * ielm.el (ielm):
2180 * shell.el (shell):
2181 * net/rlogin.el (rlogin):
2182 * net/telnet.el (telnet, rsh):
2183 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2184
10195bd6
AS
21852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2186
2187 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2188
b322f63a
LMI
21892011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2190
39d7fed6
LMI
2191 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2192 so don't mention it (bug#9301).
ba5a81f1 2193 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 2194
ee0e9f11
LMI
2195 * faces.el (face-spec-set-match-display): Make `(type graphic)'
2196 match `x', `w32' and `ns', like the manual says (bug#9029).
2197
0b1c89c1 2198 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
2199 (process-kill-buffer-query-function): Mention the buffer name in
2200 the query.
0b1c89c1 2201
77549ea8
LMI
2202 * image-mode.el (image-next-line): The line parameter is mandatory
2203 (bug#9258).
2204
803ef892
LMI
2205 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2206 which can be useful (bug#9301).
2207
12980837
LMI
2208 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2209
91054f8f
LMI
2210 * subr.el (match-string): Mention that the current buffer should
2211 be the same as the search was done in (bug#9282).
2212
b322f63a
LMI
2213 * facemenu.el: Disable the remove-* commands if the mark isn't
2214 active (bug#9162).
2215
3199b96f
CY
22162011-09-10 Chong Yidong <cyd@stupidchicken.com>
2217
2218 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2219 of display-buffer.
2220 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2221
2222 * replace.el (occur-mode-goto-occurrence)
2223 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2224 and display-buffer.
2225
2226 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2227 display-buffer.
2228
2229 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2230 special-display and same-window variables.
2231 (mail-other-window): Use switch-to-buffer-other-window.
2232 (mail-other-frame): USe switch-to-buffer-other-frame.
2233
393a301e
SM
2234 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2235 Use display-buffer-other-frame.
3199b96f
CY
2236 (gdb-display-gdb-buffer): Use pop-to-buffer.
2237
2238 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2239
2240 * progmodes/python.el: Don't set same-window-buffer-names.
2241
2242 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2243
2244 * window.el (display-buffer-alist): Add *Python*.
2245
8319e0bf
CY
22462011-09-10 Chong Yidong <cyd@stupidchicken.com>
2247
2248 * window.el (display-buffer-alist): Add entry for buffers
2249 previously handled same-window-*.
2250 (display-buffer-alist, display-buffer-default-action)
2251 (display-buffer-overriding-action): Mark as risky.
2252 (display-buffer-alist): Document action function changes.
2253 (display-buffer--same-window-action)
2254 (display-buffer--other-frame-action): New variables.
2255 (switch-to-buffer, display-buffer-other-frame): Use them.
2256 (display-buffer): Rename reuse-frame entry to reusable-frames.
2257 (display-buffer-reuse-selected-window): Function deleted.
2258 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2259 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2260 (display-buffer-special): New function.
2261 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2262 display-buffer-reuse-or-pop-window. Split off special-display
2263 part into display-buffer-special.
2264 (display-buffer-use-some-window): Don't perform any special
2265 pop-up-frames handling.
2266 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 2267 (display-buffer--maybe-same-window): Rename from
0d3ff375 2268 display-buffer-maybe-same-window.
8319e0bf 2269
919a69aa
CY
2270 * info.el: Don't set same-window-regexps.
2271 (info-setup): New function.
2272 (info-other-window, info): Call it.
2273
2274 * cus-edit.el: Don't set same-window-regexps.
2275 (customize-group): New argument.
2276 (customize-group-other-window): Use it.
2277 (customize-face, customize-face-other-window): Likewise.
2278 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2279
8319e0bf
CY
2280 * net/rlogin.el:
2281 * net/telnet.el:
2282 * progmodes/gud.el: Don't set same-window-regexps.
2283
2284 * cmuscheme.el:
2285 * ielm.el:
2286 * shell.el:
2287 * mail/sendmail.el:
2288 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2289
25173000
JL
22902011-09-10 Juri Linkov <juri@jurta.org>
2291
2292 * isearch.el (isearch-edit-string): Remove obsolete mention of
2293 `C-w' (`isearch-yank-word-or-char') from docstring.
2294 (isearch-query-replace): Fix typo in docstring (bug#9466).
2295
056e44ef
JL
22962011-09-10 Juri Linkov <juri@jurta.org>
2297
2298 * paren.el (show-paren-function): Don't show escaped parens.
2299 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2300
c3760c17
EZ
23012011-09-10 Eli Zaretskii <eliz@gnu.org>
2302
2303 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2304 (mm-default-file-encoding): Remove autoload forms, they are
2305 replaced with autoload cookies in mml.el and mm-encode.el.
2306 (mail-add-attachment): New command.
2307 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2308 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2309 the doc string.
2310 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2311
fece895e
RT
23122011-09-10 Reuben Thomas <rrt@sc3d.org>
2313
e69df516
SM
2314 * simple.el (count-words-region): Use buffer if there's no region
2315 (bug#9429).
fece895e 2316
5e68ce4a
JL
23172011-09-09 Juri Linkov <juri@jurta.org>
2318
2319 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2320 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2321 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2322
0a6b9622
AM
23232011-09-09 Alan Mackenzie <acm@muc.de>
2324
2325 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2326 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2327
14a29deb
EZ
23282011-09-09 Eli Zaretskii <eliz@gnu.org>
2329
2330 Fix for Savannah bug#9392.
2331 * simple.el (mail-encode-mml): New defvar.
2332
2333 * mail/rmail.el (mail-encode-mml): Add a defvar.
2334 (rmail-enable-mime-composing): Default to t.
2335 (rmail-forward): Use MIME method of forwarding only if both
2336 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2337 Set mail-encode-mml non-nil if the MIME method was used.
2338
2339 * mail/sendmail.el (mml-to-mime): Add autoload form.
2340 (mail-encode-mml): Add a defvar.
2341 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2342 to nil.
2343 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2344 message through mml-to-mime, and reset mail-encode-mml to nil.
2345
28c45130
GM
23462011-09-09 Glenn Morris <rgm@gnu.org>
2347
2348 * woman.el (woman-if-body): When processing an .el block,
2349 do not delete the next .el block as well. (Bug#9447)
69f4b618 2350 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 2351
9b1c252e
MR
23522011-09-08 Martin Rudalics <rudalics@gmx.at>
2353
2354 * window.el (window-deletable-p): Make sure window is live before
2355 invoking window-prev-buffers.
2356
567457e3
LL
23572011-09-08 Leo Liu <sdl.web@gmail.com>
2358
2359 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2360
97f05794
JL
23612011-09-08 Juri Linkov <juri@jurta.org>
2362
2363 * progmodes/compile.el (compilation-environment): Make it
2364 a defcustom (bug#8340).
2365
8b0874b5
MR
23662011-09-08 Martin Rudalics <rudalics@gmx.at>
2367
2368 * window.el (frame-auto-delete): Rename to window-auto-delete.
2369 Make it control auto-deletion of windows and/or frames.
2370 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 2371 for deleting window/frame. (Bug#9419)
8b0874b5
MR
2372 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2373 Rewrite handling of case when window/frame can be deleted.
2374 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 2375 argument t. (Bug#9456)
8b0874b5 2376
4feb6e73
CY
23772011-09-07 Chong Yidong <cyd@stupidchicken.com>
2378
2379 * help-mode.el (help-mode): Restore autoload.
2380
91ab9c13
JL
23812011-09-07 Juri Linkov <juri@jurta.org>
2382
2383 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2384 `compilation-environment'. Set buffer-local
2385 `compilation-environment' to `thisenv' later after (funcall mode).
2386 (Bug#8340)
2387
2388 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2389 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2390 instead of replacing its value. (Bug#8340)
2391
0527e251
JL
23922011-09-07 Juri Linkov <juri@jurta.org>
2393
2394 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2395 based on text properties put by `grep-filter' instead of matching
2396 escape sequences.
2397 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2398 to the value of `grep-error-screen-columns' (bug#9438).
2399
249f792c
JL
24002011-09-07 Juri Linkov <juri@jurta.org>
2401
2402 * simple.el (next-error-highlight, next-error-highlight-no-select):
2403 Doc fix (bug#9432).
2404
ff7271b9
OT
24052011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2406
2407 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2408 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2409
183fc730
LL
24102011-09-07 Leo Liu <sdl.web@gmail.com>
2411
2412 * net/rcirc.el (rcirc-mode): Conditionally initialize
2413 rcirc-input-ring.
2414
77694924
SM
24152011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * emacs-lisp/find-func.el (find-function-C-source): Only set
2418 find-function-C-source-directory after checking that we found a source
2419 file there (bug#9440).
2420
d809b8eb
AM
24212011-09-06 Alan Mackenzie <acm@muc.de>
2422
2423 * isearch.el (isearch-other-meta-char): Wherever a key list is
2424 unread, "unread" the prefix arg, too. This fixes bug #8901.
2425
453de99f
OG
24262011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2427
2428 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2429
90439906
JL
24302011-09-05 Juri Linkov <juri@jurta.org>
2431
2432 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2433
f62bd846
JL
24342011-09-05 Juri Linkov <juri@jurta.org>
2435
2436 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2437 keeping point where processing of grep matches begins, and
2438 continue to delete remaining escape sequences from the same point.
2439 (grep-filter): Make leading zero optional in "0?1;31m" because
2440 git-grep emits "\033[1;31m" escape sequences unlike expected
2441 "\033[01;31m" as GNU Grep does (bug#9408).
2442 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2443
045820ec
JL
24442011-09-05 Juri Linkov <juri@jurta.org>
2445
2446 * subr.el (y-or-n-p): Capitalize "yes".
2447
f5e29b9b
MA
24482011-09-04 Michael Albinus <michael.albinus@gmx.de>
2449
2450 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2451 `tramp-cache-unload-hook' where appropriate.
2452 (tramp-methods): Rename `tramp-remote-sh' to
2453 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2454 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2455
2456 * net/tramp-sh.el (top): Don't require 'shell.
2457 (tramp-methods): Add `tramp-remote-shell' and
2458 `tramp-remote-shell-args' entries.
2459 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2460 (tramp-sh-handle-shell-command): Remove.
2461 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2462 Use `tramp-remote-shell'.
2463
2784c434
CY
24642011-09-03 Chong Yidong <cyd@stupidchicken.com>
2465
393a301e 2466 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
2467 (sendmail-query-once): Save directly to send-mail-function.
2468 Update message-send-mail-function too.
2469
2470 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2471
464cdf56
CS
24722011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2473
2474 * progmodes/python.el (python-mode-map): Use correct function to
2475 start python interpreter from menu-bar (as reported by Geert
2476 Kloosterman).
2477 (inferior-python-mode-map): Fix typo.
393a301e 2478 (python-shell-map): Remove.
464cdf56 2479
d37e5c87
DD
24802011-09-03 Deniz Dogan <deniz@dogan.se>
2481
2482 * net/rcirc.el (rcirc-print): Simplify code for
2483 rcirc-scroll-show-maximum-output. There is no need to walk
2484 through all windows to find the right one.
2485
f3ada0ee
CS
24862011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2487
2488 * help.el (help-return-method): Doc fix.
2489
1f3c99ca
MR
24902011-09-03 Martin Rudalics <rudalics@gmx.at>
2491
2492 * window.el (window-deletable-p): Don't return a non-nil value
2493 when there's a buffer that was shown in the window before.
2494 (Bug#9419)
393a301e
SM
2495 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2496 Set window's previous buffers to nil.
1f3c99ca 2497
a3cf097f
EZ
24982011-09-03 Eli Zaretskii <eliz@gnu.org>
2499
2500 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2501 newline before and after the tag line, so it doesn't interfere
2502 with determining the paragraph direction of bidirectional text.
2503
3d03de90
LL
25042011-09-03 Leo Liu <sdl.web@gmail.com>
2505
2506 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2507
c3313451
CY
25082011-09-02 Chong Yidong <cyd@stupidchicken.com>
2509
393a301e 2510 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
2511 (pop-to-buffer): Change interactive spec. Pass second argument
2512 directly to display-buffer.
2513 (display-buffer): Fix interactive spec. Use functionp to
2514 distinguish between a function and a list of functions.
2515
2516 * abbrev.el (edit-abbrevs):
2517 * arc-mode.el (archive-extract):
2518 * autoinsert.el (auto-insert):
2519 * bookmark.el (bookmark-bmenu-list):
2520 * files.el (find-file):
2521 * view.el (view-buffer):
2522 * progmodes/compile.el (compilation-goto-locus):
2523 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2524
89894cd8
CY
25252011-09-02 Chong Yidong <cyd@stupidchicken.com>
2526
2527 * window.el (display-buffer-alist): Doc fix.
2528 (display-buffer): Add docstring. Don't treat
2529 display-buffer-default specially.
2530 (display-buffer-reuse-selected-window)
2531 (display-buffer-same-window, display-buffer-maybe-same-window)
2532 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2533 (display-buffer-pop-up-window)
2534 (display-buffer-reuse-or-pop-window)
2535 (display-buffer-use-some-window): New functions.
2536 (display-buffer-default-action): Use them.
393a301e 2537 (display-buffer-default): Delete.
89894cd8
CY
2538 (pop-to-buffer-1): Fix choice of actions.
2539
ae0bc9fb
SM
25402011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * minibuffer.el (completion--insert-strings): Don't get confused by
2543 completion entries that end with an LF char.
2544
e9d90883
EZ
25452011-09-01 Eli Zaretskii <eliz@gnu.org>
2546
2547 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2548
437014c8
CY
25492011-09-01 Chong Yidong <cyd@stupidchicken.com>
2550
2551 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
2552 (display-buffer-same-window, display-buffer-other-window):
2553 New functions.
437014c8
CY
2554 (pop-to-buffer-1): New function. Use the above.
2555 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 2556 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
2557
2558 * view.el (view-buffer-other-window, view-buffer-other-frame):
2559 Just use pop-to-buffer.
2560
a5e063d5
TV
25612011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2562
2563 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2564
793d32bb
WH
25652011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2566
2567 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2568
d65e4c15
RS
25692011-08-31 Richard Stallman <rms@gnu.org>
2570
2571 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2572 of the separation of rmail-view-buffer from rmail-buffer.
2573 If you say no to "replace original", the decrypt is in the
2574 view buffer. If you say yes, the decrypt goes into the
2575 rmail buffer also.
2576
f818cd2a
MR
25772011-08-31 Martin Rudalics <rudalics@gmx.at>
2578
2579 * window.el (display-buffer-window): Rewrite doc-string.
2580 (display-buffer-record-window): New function.
2581 (display-buffer-macro-specifiers)
2582 (display-buffer-even-window-sizes, display-buffer-set-height)
2583 (display-buffer-set-width, display-buffer-in-window)
2584 (display-buffer-reuse-window, display-buffer-split-specifiers)
2585 (display-buffer-side-specifiers, display-buffer-split-window-1)
2586 (display-buffer-split-window, display-buffer-split-atom-window)
2587 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2588 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2589 (display-buffer-other-window-means-other-frame)
2590 (display-buffer-normalize-special)
2591 (display-buffer-normalize-default)
2592 (display-buffer-normalize-argument)
2593 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2594 (display-buffer-normalize-specifiers, display-buffer-frame)
2595 (display-buffer-same-window, display-buffer-same-frame)
2596 (display-buffer-other-window)
2597 (display-buffer-same-frame-other-window)
2598 (display-buffer-other-frame, pop-to-buffer-same-window)
2599 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2600 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2601 (switch-to-buffer-same-frame)
2602 (switch-to-buffer-other-window-same-frame)
2603 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2604 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2605 (display-buffer-alist-set): Remove.
2606 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2607 (special-display-regexps, special-display-function):
2608 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2609 parameter.
2610 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2611 (special-display-frame-alist, special-display-popup-frame)
2612 (same-window-buffer-names, same-window-regexps, same-window-p)
2613 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2614 (split-window-preferred-function, split-height-threshold)
2615 (split-width-threshold, window-splittable-p)
2616 (split-window-sensibly, window--try-to-split-window)
2617 (window--frame-usable-p, even-window-heights)
2618 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2619 (window--display-buffer-2, display-buffer-other-frame):
2620 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2621 (display-buffer-default, display-buffer-assq-regexp): New functions.
2622 (display-buffer-alist): Rewrite doc-string.
2623 (display-buffer-default-action)
2624 (display-buffer-overriding-action): New variables.
2625 (display-buffer, switch-to-buffer): Rewrite.
2626 (pop-to-buffer): Restore Emacs 23 behavior but use
2627 window-normalize-buffer-to-display.
2628 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2629 Restore Emacs 23 behavior but use
2630 window-normalize-buffer-to-switch-to.
2631 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2632 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2633 Rewrite using Emacs 23 options.
f818cd2a 2634
5bc3b51d
MA
26352011-08-31 Michael Albinus <michael.albinus@gmx.de>
2636
2637 * net/tramp.el (tramp-root-regexp): Remove.
2638 (tramp-completion-file-name-regexp-unified)
2639 (tramp-completion-file-name-regexp-separate)
2640 (tramp-completion-file-name-regexp-url): Don't use leading volume
2641 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2642 (tramp-drop-volume-letter): Simplify definition.
2643 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2644
b1a4f8e1
SM
26452011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2648 (bug#9356).
2649
5664fa7b
RT
26502011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2651
b1a4f8e1 2652 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2653
9a45d6c3
JL
26542011-08-29 Juri Linkov <juri@jurta.org>
2655
2656 * isearch.el (isearch-done): Don't display message "Mark saved"
2657 when arg `edit' is non-nil to prevent its flicker in the echo area.
2658
fb87e0fb
CY
26592011-08-28 Chong Yidong <cyd@stupidchicken.com>
2660
2661 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2662 obsolete packages for deletion.
2663
09ac1c2a
CS
26642011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2665
2666 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2667 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2668 view-mode from help-mode.
2669 (help-xref-override-view-map): Remove.
2670 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2671 view-mode is not used anymore.
2672
7a1ff57f
CY
26732011-08-28 Chong Yidong <cyd@stupidchicken.com>
2674
2675 * server.el (server-port): Doc fix.
2676
b9696605
CY
2677 * cus-theme.el (custom-theme-choose-mode): Inherit from
2678 special-mode (Bug#9124).
2679 (custom-theme-choose-mode-map): Add special-mode to parent.
2680
ef8cdf8c
AM
26812011-08-28 Alan Mackenzie <acm@muc.de>
2682
2683 * progmodes/cc-fonts.el
2684 (c-make-font-lock-BO-decl-search-function): New function.
2685 (c-basic-matchers-after - "Fontify the clauses after various
2686 keywords"): Extract the three keyword lists for the 3 erroneous
2687 constructs from the list of four, and use the new function above
2688 in place of an old one.
2689
27de4e20
DD
26902011-08-28 Deniz Dogan <deniz@dogan.se>
2691
2692 * net/rcirc.el (rcirc-insert-prev-input)
2693 (rcirc-insert-next-input): Remove unused argument.
2694
356a3681
SM
26952011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2696
2697 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2698
3fc9b218
AM
26992011-08-27 Alan Mackenzie <acm@muc.de>
2700
2701 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2702 handle function pointer parameters properly.
2703
538a061c
MR
27042011-08-27 Martin Rudalics <rudalics@gmx.at>
2705
2706 * window.el (display-buffer-reuse-window): Fix case where
2707 selected window was reused with non-nil OTHER-WINDOW argument.
2708 (Bug#9381)
2709
35b1c40c
DD
27102011-08-27 Deniz Dogan <deniz@dogan.se>
2711
2712 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2713 oftc's NickServ messages.
2714
2f6a3e79
GM
27152011-08-27 Glenn Morris <rgm@gnu.org>
2716
2717 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2718
7254299e
CY
27192011-08-26 Chong Yidong <cyd@stupidchicken.com>
2720
2721 * emacs-lisp/package.el (package-install): Call package-initialize
2722 if called interactively.
2723
f8ccf167
LL
27242011-08-26 Leo Liu <sdl.web@gmail.com>
2725
2726 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2727
3e8cd5ce
JL
27282011-08-25 Juri Linkov <juri@jurta.org>
2729
2730 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2731 `search-whitespace-regexp' (bug#9364).
2732
93eb7113
JL
27332011-08-25 Juri Linkov <juri@jurta.org>
2734
2735 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2736 `regexp-search-ring' to their global values to protect from
2737 updating by `read-from-minibuffer' (bug#9185).
2738
f65d1611
JL
27392011-08-25 Juri Linkov <juri@jurta.org>
2740
2741 * textmodes/ispell.el (ispell-command-loop): Add newline
2742 at the end of the "Use option `i'..." line.
2743
f1cf7a31
JL
27442011-08-25 Juri Linkov <juri@jurta.org>
2745
2746 * battery.el (display-battery-mode): If `battery-status-function'
2747 or `battery-mode-line-format' is nil, display the message and set
2748 `display-battery-mode' to nil (bug#9363).
2749
0c95fcf7
EZ
27502011-08-25 Eli Zaretskii <eliz@gnu.org>
2751
2752 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2753 bidi-string-mark-left-to-right; they are unnecessary now.
2754
a2ebe600
DD
27552011-08-25 Deniz Dogan <deniz@dogan.se>
2756
2757 * net/quickurl.el: Documentation typo fixes.
2758
e4ed06f1
CY
27592011-08-25 Chong Yidong <cyd@stupidchicken.com>
2760
2761 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2762
e5f1c99e
GM
27632011-08-25 Glenn Morris <rgm@gnu.org>
2764
b2948976
GM
2765 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2766
e5f1c99e
GM
2767 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2768 (smtpmail-via-smtp): Handle nil response from smtp.
2769
f22f4808
JL
27702011-08-24 Juri Linkov <juri@jurta.org>
2771
2772 * proced.el (proced-marked): Inherit from `error' instead of
2773 `font-lock-warning-face'.
2774
2775 * ibuffer.el (ibuffer-marked-face): Change default face from
2776 `font-lock-warning-face' to `warning'.
2777 (ibuffer-deletion-face): Change default face from
2778 `font-lock-type-face' to `error'.
2779
2780 * battery.el (battery-update): Use the face `error' instead of
2781 `font-lock-warning-face' (bug#6117).
2782
6a93965e
JL
27832011-08-24 Juri Linkov <juri@jurta.org>
2784
2785 * faces.el (success): Change face color from "Green3" to
2786 "ForestGreen" on light background (bug#9353).
2787
1ed43b09
CY
27882011-08-24 Chong Yidong <cyd@stupidchicken.com>
2789
5664fa7b
RT
2790 * window.el (quit-window): Rename from quit-restore-window.
2791 Use same arglist as old quit-window.
1ed43b09
CY
2792 (frame-auto-delete): Doc fix.
2793
2794 * view.el (view-mode-exit): Use quit-window.
2795
11dcdbb2
JL
27962011-08-24 Juri Linkov <juri@jurta.org>
2797
2798 * isearch.el (isearch-ring-adjust1): Start visiting previous
2799 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2800 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2801 for empty search string (when the last search string is reused
2802 automatically) to adjust the isearch ring to the last element and
2803 prepare the correct index for further M-p commands (bug#9185).
2804
de62b4df
KH
28052011-08-24 Kenichi Handa <handa@m17n.org>
2806
2807 * international/ucs-normalize.el: If decomposition property of
2808 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2809 nil.
2810 (nfd, nfkd): Likewise.
2811
963b492b
SM
28122011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2815 from process filters aren't reliably transmitted to the surrounding
2816 accept-process-output.
2817 (mpc-proc-check): New function.
2818 (mpc-proc-sync): Use it (bug#8293)
2819
93b6b5e1
SM
28202011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2821
2822 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2823 Add compatibility functions (bug#9313).
2824
bca633fb
EZ
28252011-08-23 Eli Zaretskii <eliz@gnu.org>
2826
b177498a
EZ
2827 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2828
bca633fb
EZ
2829 * international/uni-bidi.el: Regenerated.
2830
0902a04e
KH
28312011-08-23 Kenichi Handa <handa@m17n.org>
2832
2833 * international/charprop.el:
2834 * international/uni-bidi.el:
2835 * international/uni-category.el:
2836 * international/uni-combining.el:
2837 * international/uni-comment.el:
2838 * international/uni-decimal.el:
2839 * international/uni-decomposition.el:
2840 * international/uni-digit.el:
2841 * international/uni-lowercase.el:
2842 * international/uni-mirrored.el:
2843 * international/uni-name.el:
2844 * international/uni-numeric.el:
2845 * international/uni-old-name.el:
2846 * international/uni-titlecase.el:
2847 * international/uni-uppercase.el: Regenerate.
2848
3bbf23bc
MR
28492011-08-23 Martin Rudalics <rudalics@gmx.at>
2850
2851 * help.el (help-window-setup): Fix message displayed when other
2852 window is reused. (Bug#9341)
2853
b3fd59bd
SM
28542011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2855
1802e444
SM
2856 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2857 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2858
b3fd59bd
SM
2859 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2860 Mark obsolete.
2861 * shell.el (shell-parse-pcomplete-arguments): New function.
2862 (shell-completion-vars): Use it instead (bug#9160).
2863
4eb61348
SM
28642011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2865
867cab74
SM
2866 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2867 strings and comments (bug#9333).
2868
4eb61348
SM
2869 * emacs-lisp/debug.el (debug-arglist): New function.
2870 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2871 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2872
262a1439
JL
28732011-08-22 Juri Linkov <juri@jurta.org>
2874
56ee679c
JL
2875 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2876 Revert regexp that highlights output switches to its old
2877 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2878
262a1439
JL
2879 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2880 to check for empty output (bug#9226).
2881
f13f86fb
CY
28822011-08-22 Chong Yidong <cyd@stupidchicken.com>
2883
2884 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2885 symbol-constituent as the default, as that stops font-lock from
2886 working properly (Bug#8843).
2887
c65c9622
LMI
28882011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2889
2890 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2891 `coding-system-for-*' around the process open call to avoid
2892 auth-source side effects.
e7f2c178 2893 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2894 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2895 probe hangs.
c65c9622 2896
23a8a5ab
CY
28972011-08-21 Chong Yidong <cyd@stupidchicken.com>
2898
ff98b2dd
CY
2899 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2900
23a8a5ab
CY
2901 * emacs-lisp/find-func.el (find-function-noselect): New arg
2902 lisp-only.
2903
2904 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2905 signal an error for built-in functions (Bug#6664).
2906
f5e3c598
LMI
29072011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2908
2909 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2910 (smtpmail-try-auth-methods): Use it.
2911
a3f2468a
CY
29122011-08-21 Chong Yidong <cyd@stupidchicken.com>
2913
2c34e8da
CY
2914 * font-lock.el (font-lock-fontify-region)
2915 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2916 (font-lock-default-unfontify-buffer)
2917 (font-lock-default-fontify-region)
2918 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2919
b3fd59bd
SM
2920 * progmodes/compile.el (compilation-error-properties):
2921 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2922 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2923 `ant' regexp.
ee31aabc 2924
a3f2468a
CY
2925 * net/browse-url.el (browse-url-firefox): Don't call
2926 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2927
8e999f70
GM
29282011-08-20 Glenn Morris <rgm@gnu.org>
2929
c21a496a
GM
2930 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2931
59ee0542
GM
2932 * tutorial.el (tutorial--default-keys): Update some default bindings.
2933
8e999f70
GM
2934 * files.el (hack-local-variables): Fully ignore case for "mode:".
2935
e3715033
AM
29362011-08-20 Alan Mackenzie <acm@muc.de>
2937
2938 Resolve invalid use of a regexp in regexp-opt.
2939
4d61f28d
JB
2940 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2941 detection for a java annotation.
e3715033 2942
4d61f28d 2943 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2944 detection for a java annotation.
2945
4d61f28d
JB
2946 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2947 handling for java.
e3715033
AM
2948 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2949
04ed2e9c
CY
29502011-08-20 Chong Yidong <cyd@stupidchicken.com>
2951
2952 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2953 (Bug#9274).
2954
826cee64
AM
29552011-08-20 Alan Mackenzie <acm@muc.de>
2956
58179cce 2957 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
2958 such a construct. Mainly for when jit-lock etc. starts a chunk
2959 here.
2960
58179cce 2961 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 2962 variable.
58179cce 2963 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
2964 c-make-font-lock-search-function.
2965 (c-make-font-lock-search-function): Use the above function.
2966 (c-make-font-lock-context-search-function): New function.
2967 (c-cpp-matchers): Enhance the preprocessor expression case with
2968 the above function
2969 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2970 which takes an expression.
2971
2972 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2973
13009bd8
MR
29742011-08-20 Martin Rudalics <rudalics@gmx.at>
2975
2976 * window.el (display-buffer-reuse-window)
2977 (display-buffer-pop-up-window): Don't reuse or split a side
2978 window.
2979
9234ff7f
GM
29802011-08-19 Glenn Morris <rgm@gnu.org>
2981
2982 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2983 Downcase "Mode:". (Bug#9331)
9234ff7f 2984
f635daa1
CY
29852011-08-18 Chong Yidong <cyd@stupidchicken.com>
2986
2987 * international/characters.el: Add L and R categories.
2988
2989 * subr.el (bidi-string-mark-left-to-right): Rename from
2990 string-mark-left-to-right. Use category search.
2991
2992 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2993
bc987f8b
JL
29942011-08-18 Juri Linkov <juri@jurta.org>
2995
2996 * faces.el (error, warning, success): New faces with definitions
2997 copied from old default values of `font-lock-warning-face',
2998 `compilation-warning', `compilation-info' (bug#6117).
2999
3000 * font-lock.el (font-lock-warning-face): Inherit from `error'.
3001
3002 * progmodes/compile.el (compilation-error): Inherit from `error'.
3003 (compilation-warning): Inherit from `warning'.
3004 (compilation-info): Inherit from `success'.
3005
3006 * dired.el (dired-marked): Inherit from `warning'.
3007 (dired-flagged): Inherit from `error'.
3008
57173b96
LMI
30092011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3010
3e79eb87
LMI
3011 * mail/smtpmail.el (auth-source): Require to avoid problems with
3012 binding variables (bug#9298). Also clean up some unused
3013 autoloads.
3014
b3fd59bd
SM
3015 * net/network-stream.el (network-stream-open-starttls):
3016 Support using starttls.el without using gnutls-cli.
57173b96 3017
02b404de
JL
30182011-08-17 Juri Linkov <juri@jurta.org>
3019
3020 * progmodes/grep.el (rgrep): Handle the case when
3021 `grep-find-command' is a cons cell (bug#9278).
3022
8c9177f2
MR
30232011-08-17 Martin Rudalics <rudalics@gmx.at>
3024
3025 * window.el (display-buffer-pop-up-frame): Run frame creation
3026 function with BUFFER current (as special-display-popup-frame
3027 does). Reported by Drew Adams.
3028
3644a0ab
DU
30292011-08-17 Daiki Ueno <ueno@unixuser.org>
3030
3031 * epa-mail.el: Simplify GnuPG group expansion using
3032 epg-expand-group.
3033 (epa-mail-group-alist, epa-mail-group-modtime)
3034 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3035 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3036 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3037 Remove.
3038
5e617bc2 30392011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
3040
3041 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3042
9c4aeabf
AM
30432011-08-16 Alan Mackenzie <acm@muc.de>
3044
3045 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3046 Correct, to avoid the inside of macros.
3047
3a99bf64
RS
30482011-08-16 Richard Stallman <rms@gnu.org>
3049
04963aa8
RS
3050 * epa-mail.el: Handle GnuPG group definitions.
3051 (epa-mail-group-alist, epa-mail-group-modtime)
3052 (epa-mail-gnupg-conf-file): New variables.
3053 (epa-mail-parse-groups, epa-mail-sync-groups)
3054 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3055 (epa-mail-expand-recipients): New functions.
3056 (epa-mail-encrypt): Call epa-mail-expand-recipients.
3057
177549d0
RS
3058 * mail/rmail.el (rmail-epa-decrypt): New command.
3059
fe38beef
RS
3060 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3061 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
3062 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3063 (epa-decrypt-armor-in-region): Make error message clearer.
3064
934eacb9
SM
30652011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3066
3067 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3068 and "a2b" to "ab" for `prefix'.
3069
d024fb4e
CY
30702011-08-14 Chong Yidong <cyd@stupidchicken.com>
3071
3072 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3073 filter groups.
de148fee
CY
3074 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
3075 Fourquet (Bug#8804).
d024fb4e 3076
62f1ca49
JB
30772011-08-12 Juanma Barranquero <lekktu@gmail.com>
3078
3079 * startup.el (argi): Declare as global variable (bug#9275).
3080
9ccaaa4b
CY
30812011-08-12 Chong Yidong <cyd@stupidchicken.com>
3082
3083 * subr.el (string-mark-left-to-right): Search the entire string
3084 for RTL script, not just the terminating character. Doc fix.
3085
a3dae87a
SM
30862011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3087
6cd18349
SM
3088 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3089 New function.
3090 (js--regexp-literal, js-syntax-propertize-function): Remove.
3091 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3092 (js-mode-map): Don't rebind electric keys.
3093 (js-insert-and-indent): Remove.
3094 (js-mode): Setup electric-layout and electric-indent instead.
3095
a3dae87a
SM
3096 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3097
9d5cb631
DU
30982011-08-12 Daiki Ueno <ueno@unixuser.org>
3099
3100 * epa.el (epa-progress-callback-function): Fix the logic of
3101 displaying progress.
3102 * epa-file.el (epa-file-insert-file-contents): Make progress
3103 display more user-friendly.
3104 (epa-file-write-region): Ditto.
3105
3e26a4a2
CY
31062011-08-10 Chong Yidong <cyd@stupidchicken.com>
3107
3108 * subr.el (string-mark-left-to-right): New function.
3109
3110 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3111 Use string-mark-left-to-right.
3112 (list-buffers-noselect): Caller changed.
3113
a3dae87a
SM
3114 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3115 Use string-mark-left-to-right.
3e26a4a2
CY
3116 (tabulated-list-print): Recenter after moving point.
3117
ac8cf6e6
JL
31182011-08-10 Juri Linkov <juri@jurta.org>
3119
3120 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3121 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3122 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3123
8d96c9a4
CY
31242011-08-09 Chong Yidong <cyd@stupidchicken.com>
3125
3126 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3127 (Bug#7554).
3128
7be1c708 31292011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
3130
3131 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3132 character. (Bug#6594)
3133
37e11a63
CY
31342011-08-08 Chong Yidong <cyd@stupidchicken.com>
3135
839dde57
CY
3136 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3137 (image-dired--with-db-file): New macro.
3138 (image-dired-write-tags, image-dired-remove-tag)
3139 (image-dired-create-gallery-lists, image-dired-write-comments)
3140 (image-dired-get-comment, image-dired-mark-tagged-files)
3141 (image-dired-list-tags, image-dired-gallery-generate): Use it.
3142 (image-dired-gallery-generate): Use insert-file-contents.
3143
37e11a63
CY
3144 * time.el (display-time-world-list, display-time-world-display):
3145 * time-stamp.el (time-stamp-string):
3146 * vc/add-log.el (add-change-log-entry): Use setenv instead of
3147 set-time-zone-rule (Bug#7337).
3148
0b4946c4
DU
31492011-08-08 Daiki Ueno <ueno@unixuser.org>
3150
3151 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3152 (epg-error-to-string, epg-errors-to-string): New function.
3153 (epg-wait-for-completion): Reverse errors list.
3154 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3155 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3156 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3157 (epg-sign-keys, epg-generate-key-from-file)
3158 (epg-generate-key-from-string): Format errors by using
3159 epg-errors-to-string (bug#9255).
3160 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3161
75bfc667
JL
31622011-08-07 Juri Linkov <juri@jurta.org>
3163
3164 * faces.el (list-faces-display): Remove extra angle bracket
3165 from `help-mode-map'.
3166
3167 * info.el (Info-history-toc-nodes): Doc fix.
3168
3169 * longlines.el (longlines-mode): Doc fix.
3170
673e08bb
SM
31712011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3172
4640dd88
SM
3173 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3174 of statements and in a few more cases (bug#9183).
3175
673e08bb
SM
3176 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3177 New functions.
3178 (cl-transform-lambda): Use them (bug#9239).
3179
89b3f019
MR
31802011-08-05 Martin Rudalics <rudalics@gmx.at>
3181
3182 * window.el (display-buffer-same-window)
3183 (display-buffer-same-frame, display-buffer-other-window)
3184 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3185 (pop-to-buffer-other-window)
3186 (pop-to-buffer-same-frame-other-window)
3187 (pop-to-buffer-other-frame): Make them defuns.
3188 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3189
640c8776
SM
31902011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3191
3192 * subr.el (make-composed-keymap): Move from C. Change calling
3193 convention, and improve docstring to bring attention to a subtle point.
3194 * minibuffer.el (completing-read-default): Adjust accordingly.
3195
63648a95
MA
31962011-08-03 Michael Albinus <michael.albinus@gmx.de>
3197
3198 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3199 (tramp-open-shell): Use `tramp-shell-quote-argument'.
3200
3201 * net/trampver.el: Update release number.
3202
b796c9b7
SM
32032011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3206 "in" (bug#9190).
3207
2239d7d5
LMI
32082011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3209
e07dd7c3
LMI
3210 * mail/sendmail.el (sendmail-query-once): Restore the current
3211 buffer after querying (bug#9074).
3212
0e6a2bd7
LMI
3213 * dired.el (dired-flagged): Use different faces for marked and
3214 flagged files (bug#6117).
3215
ce887515
LMI
3216 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3217 (bug#4433).
3218
92f2affc
LMI
3219 * ido.el (ido-mode): Switch off the message if called
3220 non-interactively.
3221
57d5aff0
LMI
3222 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3223 before 587, since it appears that that's more likely to work for
3224 more people.
3225
98cd6c18 3226 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 3227 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
3228 exist.
3229
b96dec83
LMI
3230 * info.el: Remove the `Info-beginning-of-buffer' function
3231 (bug#8325).
3232
b796c9b7
SM
3233 * net/network-stream.el (network-stream-open-starttls):
3234 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 3235
d90e2ea0
MR
32362011-08-01 Martin Rudalics <rudalics@gmx.at>
3237
3238 * window.el (display-buffer-in-window): Don't set dedicated status
3239 of window here (Bug#9215).
3240 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3241 (display-buffer-pop-up-side-window)
b796c9b7 3242 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 3243
cca09170
SM
32442011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3247 before binding generated-autoload-file.
3248
027b979c
DD
32492011-08-01 Deniz Dogan <deniz@dogan.se>
3250
3251 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3252
3c7ee4f3
MA
32532011-07-30 Michael Albinus <michael.albinus@gmx.de>
3254
3255 Sync with Tramp 2.2.2.
3256
3257 * net/trampver.el: Update release number.
3258
2cc8e51a
JL
32592011-07-30 Juri Linkov <juri@jurta.org>
3260
3261 * dired-aux.el (dired-touch-initial): Remove function.
3262 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3263 current time, and `default' to the last modification time of the
3264 current marked file (bug#6887).
3265
a514d856
JM
32662011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3267
3268 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 3269 numeric argument to read-number (bug#9163).
a514d856 3270
8a7eddd7
MA
32712011-07-27 Michael Albinus <michael.albinus@gmx.de>
3272
3273 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3274 connection process, it could be nil.
3275
1ddd96f5
LL
32762011-07-27 Leo Liu <sdl.web@gmail.com>
3277
3278 Simplify url handling in rcirc-mode.
3279
3280 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3281 (rcirc-browse-url-at-mouse): Remove.
3282 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3283
b248a85d
AM
32842011-07-26 Alan Mackenzie <acm@muc.de>
3285
3286 Fontify bitfield declarations properly.
3287
3288 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3289 (c-symbol-chars): Now exported as a lang variable.
3290 (c-not-primitive-type-keywords): New lang variable.
3291
3292 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3293 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 3294 parsed as a bitfield declaration.
b248a85d 3295
b796c9b7
SM
3296 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3297 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
3298 (c-punctuation-in): New function.
3299 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3300 declarations properly.
3301
68575ab0
UJ
33022011-07-26 Ulf Jasper <ulf.jasper@web.de>
3303
3304 * calendar/icalendar.el (icalendar--all-events): Take care of
3305 multiple vcalendars in a single file.
b796c9b7 3306 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 3307
0f0a88b9
DD
33082011-07-25 Deniz Dogan <deniz@dogan.se>
3309
3310 * image.el (insert-image): Clarifying docstring.
3311
0b3f36df
MA
33122011-07-24 Michael Albinus <michael.albinus@gmx.de>
3313
3314 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3315 `tramp-send-command-and-check' if there is no error.
3316 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3317
a9901f61
AM
33182011-07-22 Alan Mackenzie <acm@muc.de>
3319
3320 Prevent cc-langs.elc being loaded at run time.
3321
3322 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3323 cc-langs.
3324
4d61f28d 3325 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
3326 "(require 'cc-langs)". Quote a form so it will evaluate at
3327 (cc-mode's) compilation time.
3328
11d074b2
MA
33292011-07-22 Michael Albinus <michael.albinus@gmx.de>
3330
3331 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3332 loading. (Bug#9114)
3333
938b94c8
MR
33342011-07-21 Martin Rudalics <rudalics@gmx.at>
3335
3336 * window.el (display-buffer-pop-up-window)
3337 (display-buffer-pop-up-side-window)
3338 (display-buffer-in-side-window): Call display-buffer-set-height
3339 and display-buffer-set-width after setting the new window's
b796c9b7 3340 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 3341
bfa4f190
SS
33422011-07-20 Sam Steingold <sds@gnu.org>
3343
3344 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3345 (etags-tags-included-tables): Call `convert-standard-filename' on
3346 the file names contained in TAGS so that windows Emacs can handle
3347 TAGS files created by cygwin ctags.
3348
8ca42262
LMI
33492011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3350
3351 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3352 which apparently didn't work.
3353
5db2afd2 33542011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 3355
5db2afd2
RW
3356 * proced.el (proced-send-signal): For *Marked Processes* buffer
3357 put point at beginning of buffer.
3358
92e15d10
SB
33592011-07-19 Stephen Berman <stephen.berman@gmx.net>
3360
3361 * proced.el (proced-format): Make header lines align with the text
3362 (bug#1779).
3363
1bfd59e5
LMI
33642011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3365
3366 * view.el (view-buffer): Allow running in `special' modes if we're
3367 visiting a file (bug#8615).
3368
f5aae37c
MR
33692011-07-19 Martin Rudalics <rudalics@gmx.at>
3370
3371 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
3372 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3373 New functions.
f5aae37c
MR
3374 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3375 more accurately.
3376
bf2c1571
AM
33772011-07-18 Alan Mackenzie <acm@muc.de>
3378
3379 Fontify declarators properly when, e.g., a jit-lock chunk begins
3380 inside a declaration.
3381
3382 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3383
b796c9b7
SM
3384 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3385 New function.
bf2c1571
AM
3386 (c-complex-decl-matchers): Insert reference to
3387 c-font-lock-enclosing-decls.
3388
3389 * progmodes/cc-engine.el (c-backward-single-comment):
3390 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3391 to nil around calls to (forward-comment -1).
3392
4e190b80
LMI
33932011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3394
12dc863d
LMI
3395 * image.el (put-image): Doc typo fix.
3396
a762e966
LMI
3397 * progmodes/etags.el (tags-search): Doc typo fix.
3398
4e190b80
LMI
3399 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3400 password if we get errors 550 to 554.
3401
f019fb21
LMI
34022011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3403
b796c9b7 3404 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 3405
81746738
LMI
3406 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3407 indentation character (bug#6380).
3408
3ee3a1b5
LMI
3409 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3410
c82f64de
LMI
3411 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3412 to clarify what the problem is (bug#4291).
3413
f019fb21
LMI
3414 * simple.el (current-kill): Clarify what
3415 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
3416 (auto-fill-mode): Document `auto-fill-function' in relation to
3417 `auto-fill-mode' (bug#2470).
f019fb21 3418
0794775d
LM
34192011-07-16 Lawrence Mitchell <wence@gmx.li>
3420
3421 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3422 method if slot is read-only (bug#9035).
3423
be39b8cc
MR
34242011-07-16 Martin Rudalics <rudalics@gmx.at>
3425
b796c9b7 3426 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 3427 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
3428 selected before, see discussion of (Bug#8615), (Bug#6954).
3429 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 3430
6ccf7859
GM
34312011-07-15 Glenn Morris <rgm@gnu.org>
3432
3433 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 3434 Respect help-form.
6ccf7859 3435
87e86684
LM
34362011-07-09 Lawrence Mitchell <wence@gmx.li>
3437
3438 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3439 (gnutls-negotiate): Use it.
3440
d6066239
LMI
34412011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3442
b796c9b7
SM
3443 * net/gnutls.el (gnutls-negotiate):
3444 Upcase `gnutls-algorithm-priority'.
d6066239 3445
bd23ebc0
GM
34462011-07-15 Glenn Morris <rgm@gnu.org>
3447
c65bca65
GM
3448 * jka-compr.el (jka-compr-verbose): Move from here...
3449 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3450 Add missing :version tag.
3451 * info.el: No need to require jka-compr when compiling.
bd23ebc0 3452
478615cc
LMI
34532011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3454
7b41decb
LMI
3455 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3456 (gnutls-negotiate): Use it.
3457
dbc44fcd
LMI
3458 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3459
06789f97
LMI
3460 * info.el (Info-beginning-of-buffer): New command.
3461 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3462 announcing `b' as the key (bug#8325).
ab896c37 3463 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 3464
c39da690
LMI
3465 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3466
3aa5f34b
LMI
3467 * international/mule-cmds.el
3468 (describe-specified-language-support): Make the error message
3469 clearer (bug#8905).
3470
4bf0979f
LMI
3471 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3472
478615cc
LMI
3473 * isearch.el (isearch-barrier): Add a doc string, since it's
3474 mentioned in a function doc string (bug#8678).
3475
75c68aa1
MR
34762011-07-15 Martin Rudalics <rudalics@gmx.at>
3477
3478 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3479 buffer argument (Bug#9083) and self-identifying label argument.
3480
a7c33da2
GM
34812011-07-15 Glenn Morris <rgm@gnu.org>
3482
3483 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3484
2f5c6024
LMI
34852011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3486
3487 * man.el (Man-fontify-manpage): Fix message when formatting the
3488 man page (bug#7929).
3489
0bb23927 34902011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
3491
3492 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3493 argument LRM; if non-nil, append an invisible LRM character to the
3494 buffer name.
3495 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3496 last argument non-nil, when formatting buffer names.
0bb23927
EZ
3497 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3498 paragraph direction.
cce4b0a7 3499
621ef9ab
LMI
35002011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3501
d1583c48
LMI
3502 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3503 the man page name (bug#7929).
3504
6a57fb5f
LMI
3505 * image.el (put-image): Mention the `put-image' overlay property
3506 (bug#7834).
3507
d7956b14
LMI
3508 * scroll-bar.el (set-scroll-bar-mode): Mention that
3509 `scroll-bar-mode' lists the values (bug#7772).
3510
5b2d4a66
LMI
3511 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3512 command (bug#7729).
3513
7509a874
LMI
3514 * rect.el (apply-on-rectangle): Return the point after the last
3515 operation.
3516 (string-rectangle): Go to the point after the last operation
3517 (bug#7522).
3518
4fe74b19
LMI
3519 * printing.el (pr-toggle-region): Clarify the documentation
3520 slightly (bug#7493).
3521
b796c9b7
SM
3522 * time.el (display-time-update):
3523 Allow `display-time-mail-function' to return nil (bug#7158).
3524 Fix suggested by Detlev Zundel.
ab283561 3525
fc233c9d
LMI
3526 * vc/diff.el (diff): Clarify the order the file names are read
3527 (bug#7111).
3528
43f5740b
LMI
3529 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3530 the doc string (bug#7015).
3531
f2182a76
LMI
3532 * font-lock.el (font-lock-maximum-decoration): Mention what
3533 numeric levels mean (bug#6935).
3534
621ef9ab
LMI
3535 * startup.el (initial-buffer-choice): Don't mention the `none'
3536 selection, which is against policy.
3537
adc47434
MR
35382011-07-14 Martin Rudalics <rudalics@gmx.at>
3539
b796c9b7
SM
3540 * window.el (display-buffer-normalize-special):
3541 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 3542
7e5bfb8f
EZ
35432011-07-14 Eli Zaretskii <eliz@gnu.org>
3544
3545 * subr.el (version<, version<=, version=): Mention "-CVS" and
3546 "-12345" alpha version numbers.
3547
27fa387a
CY
35482011-07-14 Chong Yidong <cyd@stupidchicken.com>
3549
3550 * bindings.el: Add advertised binding for set-mark-command
3551 (Bug#5772).
3552
8bdfa064
CY
35532011-07-14 Chong Yidong <cyd@stupidchicken.com>
3554
3555 * bindings.el (mode-line-other-buffer):
3556 * bookmark.el (bookmark-bmenu-2-window):
3557 * bs.el (bs-cycle-next, bs-cycle-previous):
3558 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3559 switch-to-buffer.
3560
3561 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 3562 Delete.
8bdfa064 3563
5eba16a3
JB
35642011-07-14 Juanma Barranquero <lekktu@gmail.com>
3565
3566 * follow.el (follow-debug-message, follow-redisplay):
3567 * jka-cmpr-hook.el (with-auto-compression-mode):
3568 Fix typos in docstrings.
3569
15853710
LMI
35702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3571
a28e4607
LMI
3572 * subr.el (with-silent-modifications): Clarify somewhat what the
3573 macro inhibits (bug#6525).
3574
15853710
LMI
3575 * simple.el (eval-expression): Note what it does if called
3576 interactively (bug#6495).
3577
bee0fcef
CY
35782011-07-13 Chong Yidong <cyd@stupidchicken.com>
3579
b796c9b7
SM
3580 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3581 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
3582
3583 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3584 Remove switch-to-buffer.
3585
58274504
LMI
35862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3587
bd2fcc8d
LMI
3588 * files.el (make-directory): Clarify that an error will be raised
3589 if there's an error (bug#6397).
3590
0f04b32c
LMI
3591 * startup.el (initial-buffer-choice): Add `none' as a choice
3592 (bug#6234).
3593
465c5fc8
LMI
3594 * subr.el (add-hook): Clarify section about buffer-local hooks
3595 (bug#6218).
3596
58274504
LMI
3597 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3598
bead9a43
JB
35992011-07-13 Juanma Barranquero <lekktu@gmail.com>
3600
3601 * tabify.el (untabify): Preserve the current column so that point
3602 doesn't move (bug#6032).
3603
3af98a7b
LMI
36042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3605
b796c9b7
SM
3606 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3607 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3608
6240145a
GM
36092011-07-13 Glenn Morris <rgm@gnu.org>
3610
3611 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3612 (dired-insert-directory): Give a message the first time
3613 if ls is found not to support --dired.
3614
1d8c2ccc
LMI
36152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3616
3617 * simple.el (toggle-truncate-lines): Clarify what is toggled
3618 (bug#5580). Text by Drew Adams.
3619
5fc4038e
CY
36202011-07-13 Chong Yidong <cyd@stupidchicken.com>
3621
3622 * simple.el (blink-matching-open): Make the error message from the
3623 last change less verbose.
3624
bf6012e5
DN
36252011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3626
3627 * font-lock.el (font-lock-comment-face): Use the high contrast
3628 "yellow" color for font-lock-comment-face on low color terminals
3629 using a dark background color (bug#4221).
3630
343c3b5a
LMI
36312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3632
7e9505c5
LMI
3633 * dired.el (dired-insert-set-properties): Make the doc string
3634 reflect what it does now (bug#5325).
3635
c26fdcf5
LMI
3636 * simple.el (blink-matching-open): Say that we were unable to find
3637 the match within the limit, if we're limited (bug#5122).
3638
bb388cc5
LMI
3639 * international/mule-cmds.el (prefer-coding-system): Add an
3640 example (bug#4869).
3641
343c3b5a
LMI
3642 * progmodes/etags.el (tags-search): Document `file-list-form'
3643 (bug#4731).
3644
2a517d45
LM
36452011-07-13 Lawrence Mitchell <wence@gmx.li>
3646
3647 * net/browse-url.el (browse-url-default-browser)
3648 (browse-url-browser-function): Make the default browser choice a
3649 bit more logical (bug#4300). Also clean up the doc string.
3650
b6c78ef2
JB
36512011-07-13 Juanma Barranquero <lekktu@gmail.com>
3652
3653 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3654 binary endings (bug#4440).
3655
1c4dd947
LMI
36562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3657
a2014063
LMI
3658 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3659 which can be pretty annoying (bug#8971).
3660
9c9c2d88
LMI
3661 * jka-compr.el (jka-compr-verbose): New variable, and use
3662 throughout (bug#8971).
3663
1c4dd947
LMI
3664 * info.el (Info-find-file): Fall back on the installation
3665 directory if we can't find the info node anywhere else.
3666
a1c9f41b
SO
36672011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3668
3669 * vc/vc.el (vc-revert-file):
3670 Don't set file time-stamp in the past. (Bug#5181)
3671
536f3d36
LMI
36722011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3673
7152b011
LMI
3674 * files.el (after-find-file): Give a better error message when
3675 trying to find a symlink that points to a file that doesn't exist
3676 (bug#4398).
3677
536f3d36
LMI
3678 * progmodes/cc-vars.el: Remove (probably) misleading comment
3679 (bug#4396).
3680
460c0fba
JB
36812011-07-12 Johan Bockgård <bojohan@gnu.org>
3682
3683 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3684
7a6bda45
CY
36852011-07-12 Chong Yidong <cyd@stupidchicken.com>
3686
3687 * mouse-sel.el: Hack restoring functionality, while keeping
3688 compatibility with 2010-07-03 changes to mouse selection.
3689 (mouse-sel-primary-overlay): New var.
3690 (mouse-sel-selection-alist): Use it.
3691 (mouse-sel-mode): Doc fix; remove points that are default features
3692 of mouse.el.
3693
c79598ef
JB
36942011-07-12 Johan Bockgård <bojohan@gnu.org>
3695
3696 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3697 Fix previous fix (bug#2490).
3698
ff8be6ef
RW
36992011-07-12 Roland Winkler <winkler@gnu.org>
3700
b796c9b7
SM
3701 * textmodes/bibtex.el (bibtex-initialize):
3702 Use pop-to-buffer-same-window.
ff8be6ef
RW
3703 (bibtex-search-entries): Fix interactive call.
3704
296ba3ee
LMI
37052011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3706
f5242a02 3707 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3708 Fontise bytecomp Error lines more correctly (bug#2490).
3709 Fix suggested by Johan Bockgård.
f5242a02 3710
296ba3ee
LMI
3711 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3712
3713 * dired-x.el (dired-guess-default): Use `delete-dups'.
3714
f69fd0d2
CY
37152011-07-12 Chong Yidong <cyd@stupidchicken.com>
3716
3717 * dired.el (dired-mark-prompt):
3718 * dired-aux.el (dired-read-shell-command): Doc fix.
3719
eab5dc07
LMI
37202011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3721
b796c9b7
SM
3722 * mail/sendmail.el (sendmail-query-once):
3723 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3724 emacs -Q.
3725
3726 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3727
eab5dc07
LMI
3728 * cus-edit.el (custom-file): Take an optional no-error variable.
3729 (customize-save-variable): Set the variable, and give a warning if
3730 running under "emacs -q".
3731
a1e65d42
JB
37322011-07-11 Juanma Barranquero <lekktu@gmail.com>
3733
3734 * loadhist.el (unload-feature-special-hooks):
3735 Add `auto-coding-functions', `fill-nobreak-predicate' and
3736 `find-directory-functions' (bug#5327).
3737
1d52da10
LMI
37382011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3739
be958f1d
LMI
3740 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3741
5bedb26c
LMI
3742 * cus-edit.el (custom-guess-name-alist): -alist variables should
3743 use the `alist' type (bug#3120). Suggested by Drew Adams.
3744
1d52da10
LMI
3745 * printing.el: Add documentation to all the `pr-toggle-' commands.
3746
481a51b6
LL
37472011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3748
3749 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3750 backends where it makes sense (bug#2623).
3751
dcc88d8a
LMI
37522011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3753
c3de9feb
LMI
3754 * dired-x.el (dired-guess-default): Remove duplicate shell command
3755 entries (bug#2028).
8a93078b 3756 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3757 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3758
dcc88d8a
LMI
3759 * subr.el (remove-duplicates): New conveniency function.
3760
505e3645
LMI
37612011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3762
3763 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3764 (bug#1526).
3765
37662011-07-10 Martin Rudalics <rudalics@gmx.at>
3767
3768 * window.el (display-buffer-normalize-default): Don't invert
3769 meaning of even-window-heights. Reported by Eli Zaretskii
3770 <eliz@gnu.org>.
3771
455e4fa1
BR
37722011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3773
3774 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3775
8e0bc3e9
CY
37762011-07-10 Chong Yidong <cyd@stupidchicken.com>
3777
3778 * window.el (display-buffer): Fix arguments to
3779 display-buffer-reuse-window in last change.
3780
fa7c3228
CY
3781 * faces.el (link): Use a less saturated blue on light backgrounds.
3782
3783 * startup.el (fancy-startup-text, fancy-about-text)
3784 (fancy-startup-tail): Use font-lock faces, for background safety.
3785
c0a7f300
BN
37862011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3787
b796c9b7
SM
3788 * emulation/viper-cmd.el (viper-change-state-to-vi):
3789 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3790
4dc2a129
MR
37912011-07-09 Martin Rudalics <rudalics@gmx.at>
3792
3793 * window.el (display-buffer-default-specifiers): Remove.
3794 (display-buffer-macro-specifiers): Remove default specifiers.
3795 (display-buffer-alist): Default to nil.
b796c9b7 3796 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3797 (display-buffer-pop-up-window): Allow splitting internal
3798 windows. Check whether a live window was created.
3799 (display-buffer-other-window-means-other-frame)
3800 (display-buffer-normalize-arguments): Rename to
3801 display-buffer-normalize-argument and rewrite. Set the
3802 other-window specifier.
3803 (display-buffer-normalize-special): New function.
3804 (display-buffer-normalize-options): Rename to
3805 display-buffer-normalize-default and rewrite.
3806 (display-buffer-normalize-options-inhibit): Remove.
3807 (display-buffer-normalize-specifiers): Rewrite.
3808 (display-buffer): Process other-window specifier and call
3809 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3810 more faithfully.
b796c9b7 3811 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3812 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3813 (display-buffer-in-window, display-buffer-alist-set):
3814 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3815 <tassilo@member.fsf.org>.
3816
2d43b8c9
LL
38172011-07-09 Leo Liu <sdl.web@gmail.com>
3818
3819 * register.el (insert-register): Restore accidental change on
3820 2011-06-26. (Bug#9028)
3821
7f9b7c53
GM
38222011-07-09 Glenn Morris <rgm@gnu.org>
3823
3824 * subr.el (remq): Handle the empty list. (Bug#9024)
3825
f042cfd8
AS
38262011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3827
3828 * mail/sendmail.el (send-mail-function): No longer delay custom
3829 initialization.
3830 * custom.el (custom-initialize-delay): Doc fix.
3831
856b2f11
SM
38322011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3833
3834 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3835
afae1d68
MA
38362011-07-08 Michael Albinus <michael.albinus@gmx.de>
3837
3838 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3839 human-friendly prompt.
3840
0757af94
SM
38412011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3844 provided by a particular plugin.
3845
d760b731
LMI
38462011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3847
3848 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3849 save customizations (with "emacs -Q"), just set the variable
3850 instead of erroring out.
3851
3852 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3853
cd79ce90
JL
38542011-07-08 Juri Linkov <juri@jurta.org>
3855
3856 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3857 (archive-zip-update-case): Use 7z if found by `executable-find'.
3858 The order of searching the available programs is the same as in
3859 `archive-zip-extract' (bug#8968).
3860
14cc04aa
CY
38612011-07-07 Chong Yidong <cyd@stupidchicken.com>
3862
3863 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3864 (menu-bar-options-menu): Tweak descriptions.
3865
0a1848ec
LMI
38662011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3867
3868 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3869 menu items into verb phrases (bug#1421). Also refill to fit under
3870 80 columns.
3871
f5bd0689
CY
38722011-07-07 Chong Yidong <cyd@stupidchicken.com>
3873
538e85c6
CY
3874 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3875 (Info-read-node-name): Doc fix (Bug#1084).
3876
f5bd0689
CY
3877 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3878 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3879 (end-of-sexp, beginning-of-sexp)
3880 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3881 (forward-symbol, forward-same-syntax, word-at-point)
3882 (sentence-at-point): Doc fix (Bug#1144).
3883
56ec5115
LMI
38842011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3885
f3f8e37f
LMI
3886 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3887 should cover it (bug#1281).
3888
0757af94 3889 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3890
e9fce1ac 3891 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
3892 negotiation fails, then possibly try again with a non-encrypted
3893 connection (bug#9017).
3894
56ec5115
LMI
3895 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3896 be used.
3897
c2f9aec8
RS
38982011-07-07 Richard Stallman <rms@gnu.org>
3899
3900 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3901 property, and handle its changed format.
3902 Look for the correct line number.
3903 Use file's line contents (but not past first =) to find
3904 correct line in message.
3905
ef7b981d 39062011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3907
3908 * international/characters.el (build-unicode-category-table):
3909 Delete it.
0757af94 3910 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3911
0757af94 3912 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3913 to src/chartab.c.
3914 (get-char-code-property): Call unicode-property-table-internal to
3915 load a file. Call get-unicode-property-internal where necessary.
3916 (put-char-code-property): Call unicode-property-table-internal to
3917 load a file. Call put-unicode-property-internal where necessary.
3918 put-unicode-property-internal where necessary.
0757af94
SM
3919 (char-code-property-description):
3920 Call unicode-property-table-internal to load a file.
c805dec0
KH
3921
3922 * international/charprop.el:
3923 * international/uni-bidi.el:
3924 * international/uni-category.el:
3925 * international/uni-combining.el:
3926 * international/uni-comment.el:
3927 * international/uni-decimal.el:
3928 * international/uni-decomposition.el:
3929 * international/uni-digit.el:
3930 * international/uni-lowercase.el:
3931 * international/uni-mirrored.el:
3932 * international/uni-name.el:
3933 * international/uni-numeric.el:
3934 * international/uni-old-name.el:
3935 * international/uni-titlecase.el:
3936 * international/uni-uppercase.el: Regenerate.
3937
3938 * loadup.el: Load international/charprop.el before
3939 international/characters.
3940
e14b388a
CY
39412011-07-07 Chong Yidong <cyd@stupidchicken.com>
3942
3943 * window.el (next-buffer, previous-buffer): Signal an error if
3944 called from a minibuffer window.
3945
3946 * bindings.el: Revert 2011-07-04 change.
3947
354cf0ba
RS
39482011-07-06 Richard Stallman <rms@gnu.org>
3949
3950 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3951 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3952 Treat markers like ints.
3953 (rmail-mime-entity): Doc fix.
3954
a48868a7
LMI
39552011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3956
4906cd3d
LMI
3957 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3958 defcustom again for backwards compatibility.
3959
e0457abe
LMI
3960 * simple.el (shell-command-on-region): Fill.
3961
d67f7e1f
LMI
3962 * dired-aux.el (dired-kill-line): Add a doc string.
3963
fe204702
LMI
3964 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3965 to "\\sw\\|\\s_" (bug#358).
3966
a48868a7
LMI
3967 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3968 (dired-unmark-backward): Ditto.
3969 (dired-flag-backup-files): Ditto.
3970
3971 * dired-x.el (dired-mark-sexp): Ditto.
3972
aa8a705c
RS
39732011-07-06 Richard Stallman <rms@gnu.org>
3974
3975 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3976 (rmail-mime-entity): New arg TRUNCATED.
3977 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3978 New functions.
3979 (rmail-mime-save): Warn if entity is truncated.
3980 (rmail-mime-toggle-hidden): Likewise, for showing.
3981 (rmail-mime-process-multipart): Record when an entity is truncated.
3982
a9a936b9
RS
3983 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3984 if ENTITY is a string.
3985
1f2b92cb
LMI
39862011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3987
f4f73198 3988 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3989 of faces when `M-C-x'-ing their definitions (bug#8378).
3990 Also clean up the code slightly.
f4f73198 3991
12b16734 3992 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 3993 because that makes the colors go away.
12b16734 3994
f0691d22
LMI
3995 * mail/sendmail.el (send-mail-function): Change the default to
3996 `sendmail-query-once'.
9e87df06 3997 (sendmail-query-once): Add an autoload cookie.
f0691d22 3998
1f2b92cb
LMI
3999 * net/network-stream.el (network-stream-open-starttls): Try using
4000 a plain connection even if the server offered STARTTLS, and we
4001 kinda wanted to use it, if Emacs doesn't have any STARTTLS
4002 capability. This should make smtpmail.el work in slightly more
4003 configurations.
4004
1cdd2a1b
MA
40052011-07-06 Michael Albinus <michael.albinus@gmx.de>
4006
4007 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4008 New defun.
4009 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
4010
fbcc67e2
MM
40112011-07-06 Michael R. Mauger <mmaug@yahoo.com>
4012
4013 * progmodes/sql.el: Version 3.0
0757af94 4014 (sql-product-alist): Add product :completion-object,
fbcc67e2 4015 :completion-column, and :statement attributes.
0757af94 4016 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 4017 (sql-mode-syntax-table): Mark all punctuation.
0757af94 4018 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
4019 ansi keywords.
4020 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 4021 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
4022 (sql-oracle-show-reserved-words): New function for development.
4023 (sql-product-font-lock): Simplify for source code buffers.
4024 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
4025 New functions.
4026 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
4027 (sql-mode-map): Add statement movement functions.
4028 (sql-ansi-statement-starters, sql-oracle-statement-starters):
4029 New variable.
fbcc67e2
MM
4030 (sql-statement-regexp, sql-beginning-of-statement)
4031 (sql-end-of-statement, sql-signum): New functions.
0757af94 4032 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
4033 (sql-show-sqli-buffer): Bug fix.
4034 (sql-interactive-mode): Store connection data as buffer local.
0757af94 4035 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
4036 with sql-interactive-mode.
4037 (sql-save-connection): Save buffer local settings.
0757af94 4038 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
4039 (sql-product-interactive): Bug fix.
4040 (sql-preoutput-hold): New variable.
4041 (sql-interactive-remove-continuation-prompt): Bug fixes.
4042 (sql-debug-redirect): New variable.
4043 (sql-str-literal): New function.
4044 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 4045 Redesign.
fbcc67e2
MM
4046 (sql-oracle-save-settings, sql-oracle-restore-settings)
4047 (sql-oracle-list-all, sql-oracle-list-table): New functions.
4048 (sql-completion-object, sql-completion-column)
4049 (sql-completion-sqlbuf): New variables.
4050 (sql-build-completions-1, sql-build-completions)
4051 (sql-try-completion): New functions.
4052 (sql-read-table-name): Use them.
4053 (sql-contains-names): New buffer local variable.
4054 (sql-list-all, sql-list-table): Use it.
4055 (sql-oracle-completion-types): New variable.
4056 (sql-oracle-completion-object, sql-sqlite-completion-object)
4057 (sql-postgres-completion-object): New functions.
4058
d4eaeab1
GM
40592011-07-06 Glenn Morris <rgm@gnu.org>
4060
4061 * window.el (pop-to-buffer): Doc fix.
4062
322b7dab 40632011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
4064
4065 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4066
322b7dab 40672011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 4068
322b7dab 4069 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 4070
322b7dab 4071 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 4072
605dd5bf
CY
40732011-07-05 Chong Yidong <cyd@stupidchicken.com>
4074
4075 * button.el (button): Inherit from link face. Suggested by Dan
4076 Nicolaescu.
4077
7dbfa719
SM
40782011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4079
3db614b0
SM
4080 * progmodes/gdb-mi.el: Fit in 80 columns.
4081 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4082 switch-to-buffer.
4083
7dbfa719
SM
4084 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4085 if imenu is simply not configured (bug#8941).
4086
919d884a
KM
40872011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
4088
4089 * allout.el (allout-post-undo-hook): New allout outline-change
4090 event hook to signal undo activity.
4091 (allout-post-command-business): Run allout-post-undo-hook if an
4092 undo just occurred.
7dbfa719
SM
4093 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4094 * allout-widgets.el (allout-widgets-after-undo-function):
4095 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
4096 in the vicinity of an undo.
4097 (allout-widgets-mode): Include allout-widgets-after-undo-function
4098 on the new allout-post-undo-hook.
4099
450a0f09
SM
41002011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4101
4102 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4103 Let define-derived-mode define it.
4104 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4105 cycles of abbrev-table inheritance (bug#8998).
4106
2de69e00
RW
41072011-07-05 Roland Winkler <winkler@gnu.org>
4108
4109 * textmodes/bibtex.el: Add support for biblatex.
4110 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4111 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4112 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4113 (bibtex-entry-alist, bibtex-field-alist): New variables.
4114 (bibtex-entry-field-alist): Obsolete alias for
4115 bibtex-BibTeX-entry-alist.
4116 (bibtex-entry-alist, bibtex-field-alist): New widgets.
4117 (bibtex-set-dialect): New command.
4118 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
4119 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4120 Bind via bibtex-set-dialect.
2de69e00
RW
4121 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4122 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4123 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4124 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4125 Define via bibtex-set-dialect.
450a0f09
SM
4126 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4127 Obey bibtex-no-opt-remove-re.
2de69e00
RW
4128 (bibtex-vec-push, bibtex-vec-incr): New functions.
4129 (bibtex-format-entry, bibtex-field-list)
4130 (bibtex-print-help-message, bibtex-validate)
4131 (bibtex-search-entries): Use new format of bibtex-entry-alist.
4132
2dcdbdd9
SM
41332011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * progmodes/compile.el (compilation-goto-locus):
4136 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4137 * bs.el (bs-cycle-next, bs-cycle-previous):
4138 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4139 * bindings.el (mode-line-other-buffer):
4140 * autoinsert.el (auto-insert):
4141 * arc-mode.el (archive-extract):
4142 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4143
b27640fe
JB
41442011-07-05 Juanma Barranquero <lekktu@gmail.com>
4145
4146 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4147 Fix check of `emacs-lock-unlockable-modes'.
4148 Coerce true values of `emacs-lock--try-unlocking' to t.
4149
53bbe3ad
JB
41502011-07-05 Juanma Barranquero <lekktu@gmail.com>
4151
4152 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4153 * emacs-lock.el: New file.
4154
1d3cdbc7
JD
41552011-07-05 Julien Danjou <julien@danjou.info>
4156
4157 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4158 than `boundp' to check if face is set.
4159
9173deec
JB
41602011-07-05 Juanma Barranquero <lekktu@gmail.com>
4161
4162 * register.el (registerv-make):
4163 * window.el (window-min-height): Fix typos in docstrings.
4164
869795d6
JD
41652011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4166
9173deec 4167 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
4168 Update doc string.
4169
b768cdcd
JB
41702011-07-04 Juanma Barranquero <lekktu@gmail.com>
4171
4172 * server.el (server-execute): Catch quit and call
4173 `server-return-error' to pass the error back to emacsclient and
4174 close the connection (bug#8942).
4175
13aa217b
KM
41762011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
4177
4178 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4179 insecure exception for current topic. Also note that auto-saves
4180 are handled differently.
4181
4182 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4183 State variables for tracking auto-save inhibition situation.
4184
4185 (allout-write-contents-hook-handler): Rename from
4186 'allout-write-file-hook-handler', and describe how it depends on
4187 write-contents-functions sensitivity to non-nil value to prevent
4188 file write.
4189
4190 (allout-auto-save-hook-handler): Remove. auto-save does not check
4191 this in individual buffers, only in the starting buffer, so this
4192 is not the right way for us to inhibit auto-save in a buffer
4193 according to its condition.
4194
4195 (allout-mode): Use new allout-write-contents-hook-handler, and
4196 only with write-contents-functions. Remove auto-save provisions -
4197 they're implemented elsewhere.
4198
4199 (allout-before-change-handler): If undo is in progress, note that
4200 for attention of allout-post-command-business.
4201
4202 (allout-post-command-business): If the command we're following was
4203 an undo, check for change in the status of encrypted items and
4204 adjust auto-save inhibitions accordingly.
4205
4206 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4207 according to whether there are or aren't any plain-text topics
4208 pending encryption.
4209
2dcdbdd9
SM
4210 (allout-inhibit-auto-save-info-for-decryption):
4211 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
4212 there are plain-text topics pending encryption.
4213
4214 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4215 buffer-saved-size and some allout state to not inhibit auto-saves
4216 if there are no longer any plain-text topics pending encryption.
4217
0757af94
SM
4218 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4219 No longer provide for exemption of the current topic.
13aa217b 4220
ac89b32c
JL
42212011-07-04 Juri Linkov <juri@jurta.org>
4222
4223 Add 7z operations to delete and save changed members (bug#8968).
4224 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4225 New defcustoms.
4226 (archive-7z-write-file-member): New function.
4227 (archive-7z-summarize): Fix the number of dashes in the
4228 listing output.
4229
8fa39615
SM
42302011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4233 (bug#8958).
4234
2f11b3f1
CY
42352011-07-04 Chong Yidong <cyd@stupidchicken.com>
4236
d66fef2b
CY
4237 * bindings.el: Ignore next-buffer and previous-buffer in
4238 minibuffer-local-map.
4239
2f11b3f1
CY
4240 * font-lock.el (font-lock-builtin-face): Change light background
4241 color to dark slate blue (Bug#6693).
4242
f932a347
WD
42432011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4244
4245 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4246
c8af70e1
SM
42472011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4248
4249 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4250 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4251 Add switch-to-buffer.
4252
f158badc
LMI
42532011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4254
4255 * isearch.el (isearch-search-fun-function): Clarify further the
4256 meaning of the function returned.
4257
6d95bd46
MA
42582011-07-04 Michael Albinus <michael.albinus@gmx.de>
4259
4260 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4261
4262 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4263 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4264 Use it.
4265 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4266 `tramp-default-remote-path' does not exist.
4267 (tramp-send-command-and-read): New optional argument NOERROR.
4268 (tramp-open-connection-setup-interactive-shell)
4269 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4270 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4271 (tramp-process-sentinel): Flush also process' connection property.
4272 (tramp-sh-handle-start-file-process): Do not set process
4273 sentinel. It is done now ...
4274 (tramp-maybe-open-connection): ... here. (Bug#8929)
4275
909e6b67
MK
42762011-07-04 MON KEY <monkey@sandpframing.com>
4277
4278 * play/animate.el (animate-string): Doc fixes and allow changing
4279 the buffer name (bug#5417).
4280
42812011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4282
c8af70e1 4283 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 4284
f34755dc
PE
42852011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4286
396cec72
PE
4287 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4288 This is simpler and helps future-proof the code.
4289 (timer-until): Use time-subtract and float-time.
08235028 4290 (timer--time-less-p): Use time-less-p.
f34755dc 4291
56e6cc31
JB
42922011-07-04 Juanma Barranquero <lekktu@gmail.com>
4293
3abb79e5
JB
4294 * type-break.el (timep): Use the value of `float-time' to avoid a
4295 byte-compiler warning.
4296
56e6cc31
JB
4297 * server.el (server-eval-and-print): Return any result, even nil.
4298
7b9430b4
PE
42992011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4300
4301 * type-break.el: Accept time formats that the builtins accept.
4302 (timep, type-break-time-difference): Accept any format that
4303 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4304 This is simpler and helps future-proof the code.
4305 (type-break-time-difference): Round rather than ignoring
4306 subseconds components.
4307
3034e9e7
LMI
43082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4309
4310 * info.el (Info-apropos-matches): Make non-interactive, since it
4311 doesn't seem to do anything useful as a command (bug#8829).
4312
1485f4c0
CY
43132011-07-03 Chong Yidong <cyd@stupidchicken.com>
4314
4315 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 4316 Move from faces.el.
1485f4c0
CY
4317 (frame-default-terminal-background): New function.
4318
4319 * custom.el (custom-push-theme): Don't record faces in `changed'
4320 theme; this doesn't work correctly for per-frame face settings.
4321 (disable-theme): Use face-set-after-frame-default to reset faces.
4322 (custom--frame-color-default): New function.
4323
9fa3dd45
LMI
43242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4325
c8af70e1 4326 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
4327 (bug#8769).
4328
6cbbc20c
KR
43292011-03-29 Kevin Ryde <user42@zip.com.au>
4330
4331 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4332 `perl-Test2' extend to match possible "fail #N" rep count
4333 (bug#8377).
4334
c7f98048
LMI
43352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4336
65676592
LMI
4337 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4338 `smtpmail-via-smtp' now returns the error instead of nil.
4339
c7f98048
LMI
4340 * isearch.el (isearch-search-fun-function): Clarify the doc string
4341 (bug#8101).
4342
56e6cc31 43432011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
4344
4345 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4346 unnecessary spaces (bug#8987).
4347
2b216704
LMI
43482011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4349
4350 * net/network-stream.el (open-network-stream): Use the
4351 :end-of-capability command thoughout.
4352
43532011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4354
4355 * net/network-stream.el (open-network-stream): Add the
4356 :end-of-capability command parameter, used by pop3.el.
4357
36adf6ce
LMI
43582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4359
1ca0da0e
LMI
4360 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4361
fc00f69c
LMI
4362 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4363 for list)" (bug#6475).
4364
28fd8759 4365 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 4366 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
4367 an error (bug#6297).
4368
0dd8b6da
LMI
4369 * man.el (Man-reference-regexp): Allow matching possible
4370 word-wrapped references (bug#6289).
4371
ce1438d6
LMI
4372 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4373 for consistency with the other vc buffers (bug#6197).
4374 (vc-checkin): Ditto.
4375
4376 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4377
36adf6ce
LMI
4378 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4379
e83cc1f7
LMI
43802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4381
8a20ca4c
LMI
4382 * custom.el (defcustom): Clarify that :set is only used in the
4383 Customize user interface (bug#6089).
4384
83319045
LMI
4385 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4386 associated with a file, refuse to run instead of erroring out
4387 (bug#6084).
4388
a8392169
LMI
4389 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4390 the doc string, since it appears that using `fill-column' always
4391 controls the width (bug#7845).
4392
e83cc1f7
LMI
4393 * simple.el (shell-command-on-region): Say where the error output
4394 went if `shell-command-default-error-buffer' is set (bug#6857).
4395
e47ca23b
KM
43962011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4397
4398 * allout.el (allout-yank-processing): Adjust cursor position for
4399 backwards-deleted space.
4400
4401 (allout-rebullet-heading): Register changes with
4402 allout-exposure-changed-hook, so the modified topic is properly
4403 decorated.
4404
5cf56143
LMI
44052011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4406
08549772
LMI
4407 * minibuffer.el (completion-in-region): Document PREDICATE
4408 (bug#7136).
4409
48e96771
LMI
4410 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4411 of keyword/argument pairs (bug#6904).
4412
c8af70e1
SM
4413 * replace.el (multi-occur):
4414 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 4415
e17d05e2
LMI
44162011-07-02 Drew Adams <drew.adams@oracle.com>
4417
4418 * dired.el (dired-mark-if): Make the message about whether it's
4419 marking or unmarking clearer (bug#8523).
4420
063b0e45
LMI
44212011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4422
4423 * disp-table.el (display-table-print-array): New function.
4424 (describe-display-table): Use it to print the vectors more pretty
4425 (Bug#8859).
4426
28545e04
MR
44272011-07-02 Martin Rudalics <rudalics@gmx.at>
4428
4429 * window.el (window-state-get-1): Don't assign clone numbers.
4430 Add clone-of item to list of window parameters.
4431 (window-state-put-2): Don't process clone numbers.
4432 (display-buffer-alist): Fix doc-string.
4433
3349e122
SM
44342011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4435
4436 * subr.el (remq): Don't allocate if it's not needed.
4437 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4438 (keymap--merge-bindings): New functions.
4439 (keymap-canonicalize): Use them to refine the canonicalization.
4440 * minibuffer.el (minibuffer-local-completion-map)
4441 (minibuffer-local-must-match-map): Move initialization from C.
4442 (minibuffer-local-filename-completion-map): Move initialization from C;
4443 don't inherit from anything here.
4444 (minibuffer-local-filename-must-match-map): Make obsolete.
4445 (completing-read-default): Use make-composed-keymap to combine
4446 minibuffer-local-filename-completion-map with either
4447 minibuffer-local-must-match-map or
4448 minibuffer-local-filename-completion-map.
4449
d224ac83
GM
44502011-07-01 Glenn Morris <rgm@gnu.org>
4451
3de63bf8
GM
4452 * type-break.el (type-break-time-sum): Use dolist.
4453
d224ac83
GM
4454 * textmodes/flyspell.el (flyspell-word-search-backward):
4455 Replace CL function.
4456
1a1e3f32
SM
44572011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4458
fe3f64d5
SM
4459 * mouse.el (mouse--strip-first-event): New function.
4460 (function-key-map): Use it to map fringe clicks to normal clicks
4461 by default.
4462
eb604e34
SM
4463 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4464 (vc-bzr-revision-completion-table): Add support for annotate and date.
4465
1a1e3f32
SM
4466 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4467 inherit from parent.
4468
5bd35902
LMI
44692011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4470
ace6c69c 4471 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 4472 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 4473
191e2bed
LMI
4474 * dired.el (dired-mode): Fix up the doc string as suggested by
4475 Drew Adams (bug#8817).
4476
5bd35902
LMI
4477 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4478 cookie, since the manual says that it should be possible to add
4479 this function to `find-file-hook' (bug#8709).
4480
eee8207a
TZ
44812011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4482
4483 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4484 here. Noted Ted Zlatanov as the maintainer.
4485 (cfengine-common-settings, cfengine-common-syntax): New functions
4486 to set up common things between `cfengine-mode' and
4487 `cfengine3-mode'.
4488 (cfengine3-mode): New mode.
4489 (cfengine3-defuns cfengine3-defuns-regex
4490 (cfengine3-class-selector-regex cfengine3-category-regex)
4491 (cfengine3-vartypes cfengine3-font-lock-keywords)
4492 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 4493 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 4494
36b148cf
MA
44952011-07-01 Michael Albinus <michael.albinus@gmx.de>
4496
4497 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4498
4499 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4500
0bf4ba9a
MR
45012011-07-01 Martin Rudalics <rudalics@gmx.at>
4502
4503 * window.el (same-window-buffer-names, same-window-regexps)
4504 (same-window-p, special-display-frame-alist)
4505 (special-display-popup-frame, special-display-function)
4506 (special-display-buffer-names, special-display-regexps)
4507 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4508 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4509 (split-window-preferred-function, split-height-threshold)
4510 (split-width-threshold, even-window-heights)
4511 (display-buffer-mark-dedicated, window-splittable-p)
4512 (split-window-sensibly, window-safely-shrinkable-p):
4513 Un-obsolete.
4514 (display-buffer): Don't spread args with function specifier
4515 because special-display-popup-frame won't like it.
4516
35837f51
PE
45172011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4518
d0672f86
PE
4519 Time-stamp simplifications and fixes.
4520 These improve accuracy slightly, and future-proof the code
4521 against some potential changes to current-time format.
4522
b9444d97
PE
4523 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4524 by using time-since and float-time.
4525
0ef923dc
PE
4526 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4527 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4528 + NNN microseconds".
4529
2f81380d
PE
4530 * type-break.el (type-break-time-sum): Rewrite using time-add.
4531
845b5c3e
PE
4532 * play/hanoi.el (hanoi-current-time-float): Remove.
4533 All uses replaced by float-time.
4534
ee6f1be0
PE
4535 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4536 This yields a more-accurate answer.
4537 (rng-time-to-float): Remove; no longer needed.
4538
fe955043
PE
4539 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4540
5777162a
PE
4541 * calendar/timeclock.el (timeclock-seconds-to-time):
4542 Defalias to seconds-to-time, since they're the same thing.
4543
3103f8b6 4544 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 4545 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
4546 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4547
0e61a35f
SM
45482011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 * window.el (bury-buffer): Don't iconify the only frame.
4551 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4552 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4553
ddd63a1e
CY
45542011-07-01 Chong Yidong <cyd@stupidchicken.com>
4555
0e61a35f
SM
4556 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4557 Add mouse-yank-primary.
ddd63a1e 4558
055f4923
TZ
45592011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4560
4561 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4562
6a2fb145
SM
45632011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4566 (find-library-name): Use it to find relative load names when provided
4567 absolute file name (bug#8803).
4568
fd4983f2
LMI
45692011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4570
887d14ad
LMI
4571 * textmodes/flyspell.el (flyspell-word): Consider words that
4572 differ only in case as potential doublons (bug#5687).
4573
c53dc7fc
LMI
4574 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4575 Remove two rather uninteresting debugging-like messages to make
4576 debbugs.el more silent.
4577
fd4983f2
LMI
4578 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4579 a password-like phrase.
4580
b14c0c55
AM
45812011-06-30 Mastake YAMATO <yamato@redhat.com>
4582
4583 * progmodes/cc-guess.el: New file.
4584
6a2fb145 4585 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
4586
4587 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4588 derived from `c-basic-common-init'.
4589
4590 * progmodes/cc-mode.el (top-level): Require cc-guess.
4591 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4592
1fa280a3
LM
45932011-06-30 Lawrence Mitchell <wence@gmx.li>
4594
4595 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4596
e6597158
AM
45972011-06-30 Alan Mackenzie <acm@muc.de>
4598
1fa280a3
LM
4599 * progmodes/cc-engine.el (c-guess-continued-construct):
4600 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4601 lock is disabled. Name this case as "CASE G".
4602
68ba37fb
KM
46032011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4604
4605 * allout.el (allout-yank-processing): Fix injection of extra space
4606 between bullet and non-whitespace character in first topic when
4607 pasting, ensuring that the actual spacing in the pasted topic
4608 following the bullet char is preserved. This extra space was
4609 causing pasted encrypted topics to get a decrypted status even
4610 when the content was actually still encrypted. Now the decryption
4611 status from before the paste is preserved.
4612
4613 (allout-flag-region): Set all allout overlays so they evaporate
4614 when reduced to zero length (evanescent), to prevent overlay
4615 leakage.
4616
887a0b34
GM
46172011-06-30 Glenn Morris <rgm@gnu.org>
4618
94b9acce
GM
4619 * w32-fns.el (w32-charset-info-alist): Declare.
4620
1d9b46d4
GM
4621 * find-dired.el (find-grep-options): Simplify.
4622
cc232200
GM
4623 * term/ns-win.el (ns-set-resource): Declare.
4624
28e77c46
GM
4625 * ses.el (row, col): Declare dynamic variables honestly.
4626
887a0b34
GM
4627 * textmodes/reftex-parse.el (index-tags): Declare.
4628
658d8eb8
CY
46292011-06-30 Chong Yidong <cyd@stupidchicken.com>
4630
4631 * cus-edit.el (customize-push-and-save): New function.
4632
4633 * files.el (hack-local-variables-confirm): Use it.
4634
1fa280a3
LM
4635 * custom.el (load-theme): New arg NO-CONFIRM.
4636 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4637 (custom-enabled-themes): Doc fix.
4638
4639 * cus-theme.el (customize-create-theme)
4640 (custom-theme-merge-theme): Callers to load-theme changed.
4641
bb617717
LMI
46422011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4643
d61bdd5d
LMI
4644 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4645 short URLs have at least one dot in them (bug #7614).
4646
bb617717
LMI
4647 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4648 nil, because using a pty is apparently too slow (bug #895).
4649
2f31f37a
LMI
46502011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4651
4652 * mail/sendmail.el (sendmail-query-once): New function.
4653 (sendmail-query-once-function): New variable.
4654
3076b24e
GM
46552011-06-29 Glenn Morris <rgm@gnu.org>
4656
faf2a174
GM
4657 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4658
3076b24e
GM
4659 * ses.el (top-level): Require cl when compiling.
4660 (ses-set-localvars): Fix error statement.
4661 Call it at compile time to silence a storm of warnings.
4662
5386012d
MR
46632011-06-29 Martin Rudalics <rudalics@gmx.at>
4664
4665 * window.el (normalize-live-buffer): Rename to
4666 window-normalize-buffer.
4667 (normalize-live-frame): Rename to window-normalize-frame.
4668 (normalize-any-window): Rename to window-normalize-any-window.
4669 (normalize-live-window): Rename to window-normalize-live-window.
4670 (make-window-atom): Rename to window-make-atom.
4671 (window-resize-reset): Rename to window--resize-reset.
4672 (window-resize-reset-1): Rename to window--resize-reset-1.
4673 (resize-mini-window): Rename to window--resize-mini-window.
4674 (resize-subwindows-skip-p): Rename to
4675 window--resize-subwindows-skip-p.
4676 (resize-subwindows-normal): Rename to
4677 window--resize-subwindows-normal.
4678 (resize-subwindows): Rename to window--resize-subwindows.
4679 (resize-other-windows): Rename to window--resize-siblings.
4680 (resize-this-window): Rename to window--resize-this-window.
4681 (resize-root-window): Rename to window--resize-root-window.
4682 (resize-root-window-vertically): Rename to
4683 window--resize-root-window-vertically.
4684 (normalize-buffer-to-display): Rename to
4685 window-normalize-buffer-to-display.
4686 (normalize-buffer-to-switch-to): Rename to
4687 window-normalize-buffer-to-switch-to.
4688 Correspondingly update all callers of the functions listed
4689 above.
4690 (display-buffer-alist, display-buffer-normalize-arguments)
4691 (display-buffer-normalize-options, display-buffer)
4692 (display-buffer-alist-set): Use "function" instead of
4693 "fun-with-args".
4694
1176868d
CY
46952011-06-28 Chong Yidong <cyd@stupidchicken.com>
4696
4697 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4698 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4699 debbugs.gnu.org. Mention acknowledgment email.
4700
20a7a65f
LMI
47012011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4702
4703 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4704 buffer multibyteness, since it shouldn't matter.
4705
5f45cca5
MR
47062011-06-28 Martin Rudalics <rudalics@gmx.at>
4707
4708 * window.el (display-buffer-in-side-window): Handle dedicated
4709 windows as in display-buffer-reuse-window.
4710 (display-buffer-normalize-alist): Use value of override
4711 specifier.
4712 (display-buffer-normalize-specifiers): Use value of
4713 other-window-means-other-frame specifier.
4714 (display-buffer-alist): Rewrite some texts in widgets.
4715 (display-buffer): Spread arguments when calling function
4716 specified by fun-with-args.
4717
ad85fe1f
DD
47182011-06-28 Deniz Dogan <deniz@dogan.se>
4719
1fa280a3
LM
4720 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4721 Unnest `let'.
da68c4c8 4722
ad85fe1f
DD
4723 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4724 selectors (Bug#5732).
ec49bd31 4725 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4726
a08cc025
JA
47272011-06-27 Jari Aalto <jari.aalto@cante.net>
4728
4729 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4730 (eshell-ls-date-format): New defcustom.
4731 (eshell-ls-file): Use it.
4732
e2b551c5
SM
47332011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4736
8982b231
KY
47372011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4738
4739 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4740 (ange-ftp-make-tmp-name): New arg.
4741 (ange-ftp-file-local-copy): Use it.
4742
36c9fa27
J
47432011-06-27 Jambunathan K <kjambunathan@gmail.com>
4744
4745 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4746 no-conversion (Bug#8870).
4747
d68443dc
MR
47482011-06-27 Martin Rudalics <rudalics@gmx.at>
4749
4750 * window.el (window-right, window-left, window-child)
4751 (window-child-count, window-last-child)
4752 (window-iso-combination-p, walk-window-tree-1)
4753 (window-atom-check-1, window-tree-1, delete-window)
4754 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4755 new naming conventions - window-vchild, window-hchild,
4756 window-next and window-prev are now called window-top-child,
4757 window-left-child, window-next-sibling and window-prev-sibling
4758 respectively.
d615d6d2
MR
4759 (resize-window-reset): Rename to window-resize-reset.
4760 (resize-window-reset-1): Rename to window-resize-reset-1.
4761 (resize-window): Rename to window-resize.
4762 (window-min-height, window-min-width)
4763 (resize-mini-window, resize-this-window, resize-root-window)
4764 (resize-root-window-vertically, adjust-window-trailing-edge)
4765 (enlarge-window, shrink-window, maximize-window)
4766 (minimize-window, delete-window, quit-restore-window)
4767 (split-window, balance-windows, balance-windows-area-adjust)
4768 (balance-windows-area, window-state-put-2)
4769 (display-buffer-even-window-sizes, display-buffer-set-height)
4770 (display-buffer-set-width, set-window-text-height)
4771 (fit-window-to-buffer): Rename all "resize-window" prefixed
4772 calls to use the "window-resize" prefix convention.
4773 (display-buffer-alist): Fix symbol for label specifier.
4774 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4775 corresponding specifier.
4776 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4777
b6458526
VB
47782011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4779
4780 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4781 convention.
4782 (ses-call-printer): Does not pass an empty string to formatter when the
4783 cell is empty to keep from barking printer Calc math-format-value.
4784
d31fd9ac
RS
47852011-06-27 Richard Stallman <rms@gnu.org>
4786
43d5bf84
RS
4787 * battery.el (battery-mode-line-limit): New variable.
4788 (battery-update): Handle it.
4789
d31fd9ac
RS
4790 * mail/rmailmm.el (rmail-mime-process-multipart):
4791 Handle truncated messages.
4792
819a6054
GM
47932011-06-27 Glenn Morris <rgm@gnu.org>
4794
4795 * progmodes/flymake.el (flymake-err-line-patterns):
4796 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4797
cedc73f2
VB
47982011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4799
819a6054 4800 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4801 (ses--clean-!, ses--clean-_): New functions.
4802 (ses-range): Add configurability of readout order, and conversion
4803 to Calc vector.
4804
5e5d49b6
VB
4805 * ses.el (ses-repair-cell-reference-all): New function.
4806 (ses-cell-symbol): Set macro as safe, so that it can be used in
4807 formulas.
4808
56e6cc31 4809 * ses.el: Update cycle detection algorithm.
90ca8b49 4810 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4811 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4812 (ses-set-localvars): New function.
4813 (ses-make-cell): Add property-list as a cell element.
4814 (ses-cell-property-get-fun, ses-cell-property-get)
4815 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4816 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4817 New functions.
90ca8b49
VB
4818 (ses-cell-property-set, ses-cell-property-pop)
4819 (ses-cell-property-get-handle): New macro.
4820 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4821 New aliases, used for code readability.
4822 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4823 cycle detection.
4824 (ses-self-reference-early-detection): New defcustom.
4825 (ses-formula-references): Robustify against self-refering cells.
4826 (ses-mode): Use ses-set-localvars.
4827 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4828 before lauching the update processing.
4829 (ses-initialize-Dijkstra-attempt): New function.
4830 (ses-recalculate-cell): Update for cycle detection based on
4831 Dijkstra algorithm.
4832
2bb63e81
VB
4833 * ses.el: Fix commenting and indenting convention.
4834
c9d29fb8
SM
48352011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4836
4837 * bs.el (bs-cycle-next): Complete last change.
4838
d8e4b68b
JB
48392011-06-27 Drew Adams <drew.adams@oracle.com>
4840
4841 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4842
40098786
LMI
48432011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4844
c9d29fb8
SM
4845 * net/network-stream.el (network-stream-open-starttls):
4846 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4847 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4848
40098786
LMI
4849 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4850 to binary to possibly avoid line encoding issues on Windows (among
4851 other things).
4852
468d09d4
LMI
48532011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4854
4855 * net/network-stream.el (open-network-stream): Return an :error
4856 saying what the problem was, if possible.
4857
4858 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4859 server.
4860
4861 * net/network-stream.el (network-stream-open-starttls): If we
4862 wanted to use STARTTLS, and the server offered it, but we weren't
4863 able to because we had no STARTTLS support, then close the connection.
4864 (open-network-stream): Return an :error element, if present.
4865
16f07dd7
CY
48662011-06-26 Chong Yidong <cyd@stupidchicken.com>
4867
88821ca0
CY
4868 * hl-line.el (hl-line-sticky-flag): Doc fix.
4869 (global-hl-line-sticky-flag): New option (Bug#8323).
4870 (global-hl-line-highlight): Obey it.
4871
16f07dd7
CY
4872 * vc/vc.el (vc-revert-show-diff): Default to t.
4873
6b5ccddf
KM
48742011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4875
c9d29fb8
SM
4876 * allout-widgets.el (allout-widgets-post-command-business):
4877 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4878 undecorated when an isearch is continued past, and isearch
4879 automatically collapses them. This leads to "widget leaks", where
4880 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4881 hidden widgets can slow down cursor travel, substantially.
4882 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4883 so we're doing without this nicety.
4884
4885 (allout-widgets-tally-string): Don't try to do a hash-table-count
4886 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4887 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4888 *Messages* when allout-widgets-maintain-tally is t.
4889
355f2e07
MR
48902011-06-26 Martin Rudalics <rudalics@gmx.at>
4891
4892 * window.el (display-buffer-normalize-argument): Rename to
4893 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4894 LABEL argument. Respect special-display-function when popping up
4895 a new frame. Fix code searching for a window showing the buffer
4896 on another frame.
c9d29fb8
SM
4897 (display-buffer-normalize-specifiers):
4898 Call display-buffer-normalize-arguments.
355f2e07
MR
4899 (display-buffer-in-window): Don't undedicate the window if its
4900 buffer remains the same.
4901 Reported by Drew Adams <drew.adams@oracle.com>.
4902 (display-buffer-alist): Add choice for same-window macro
4903 specfier.
4904 (display-buffer): Mention special meaning of LABEL argument in
4905 doc-string. Fix quoting. Don't pop up a new frame even as
4906 fallback.
4907
7ca8fc42
JB
49082011-06-26 Juanma Barranquero <lekktu@gmail.com>
4909
4910 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4911 avoid deleting the current window in some cases (bug#8911).
4912
bc312254
AS
49132011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4914
4915 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4916 (Bug#8934)
4917
2db18f3f
LMI
49182011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4919
c9d29fb8
SM
4920 * net/network-stream.el (network-stream-open-starttls):
4921 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4922 (network-stream-open-tls): Ditto.
4923
6302e0d3
LL
49242011-06-26 Leo Liu <sdl.web@gmail.com>
4925
4926 * register.el (registerv): New struct.
4927 (registerv-make): New function.
c9d29fb8
SM
4928 (jump-to-register, describe-register-1, insert-register):
4929 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4930 struct. (Bug#8415)
4931
5fdd4046
CY
49322011-06-26 Chong Yidong <cyd@stupidchicken.com>
4933
2afef60a
CY
4934 * vc/vc.el (vc-revert-show-diff): New defcustom.
4935 (vc-diff-internal): New arg specifying diff buffer.
4936 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4937 reuse an existing *vc-diff* buffer (Bug#8927).
4938
5fdd4046
CY
4939 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4940
e93db24a
GM
49412011-06-26 Glenn Morris <rgm@gnu.org>
4942
4943 * progmodes/f90.el (f90-critical-indent): New option.
4944 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4945 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4946 (f90-mode): Doc fix.
4947 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4948 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4949 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4950 (f90-match-end): Handle block, critical.
4951
eefff499
GM
49522011-06-25 Glenn Morris <rgm@gnu.org>
4953
f6ba4cc9
GM
4954 * calendar/diary-lib.el (diary-included-files): Doc fix.
4955 (diary-include-files): New function, extracted from
4956 diary-include-other-diary-files and diary-mark-included-diary-files.
4957 (diary-include-other-diary-files, diary-mark-included-diary-files):
4958 Just call diary-include-files.
4959 (diary-mark-entries): Reset diary-included-files on first call.
4960
16712304
GM
4961 * calendar/diary-lib.el (diary-mark-entries)
4962 (diary-mark-included-diary-files):
4963 Visit included diary-files in temp buffers.
4964
5d8e0d43
GM
4965 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4966 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4967 (f90-start-block-re, f90-imenu-generic-expression)
4968 (f90-looking-at-program-block-start, f90-no-block-limit):
4969 Add support for submodules.
4970
ccf7a5d5
GM
4971 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4972 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4973
11fdef7d 49742011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4975
4976 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4977 buffer-file-type before setting its value, to avoid disastrous
eefff499 4978 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4979
74f53697
JB
49802011-06-25 Juanma Barranquero <lekktu@gmail.com>
4981
4982 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4983
4984 * ses.el (ses-unload-function):
4985 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4986
4987 * proced.el (proced-unload-function):
4988 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4989
18a4ce5e
AR
49902011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4991
4992 * server.el (server-create-window-system-frame): Add parameters arg.
4993 (server-process-filter): Doc fix. Handle frame-parameters.
4994
519d22cc
JB
49952011-06-25 Juanma Barranquero <lekktu@gmail.com>
4996
4997 Fix bug#8730, bug#8781.
4998
4999 * loadhist.el (unload--set-major-mode): New function.
5000 (unload-feature): Use it.
5001
5002 * progmodes/python.el (python-after-info-look): Add autoload cookie.
5003 (python-unload-function): New function.
5004
c206f5b0
SM
50052011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5006
5007 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
5008
f9ad64f3
GS
50092011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
5010
5011 * net/browse-url.el (browse-url-firefox-program): Add icecat to
5012 the candidates list.
5013
7d0da90e
JB
50142011-06-24 Juanma Barranquero <lekktu@gmail.com>
5015
5016 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
5017
14b4e83d
RS
50182011-06-23 Richard Stallman <rms@gnu.org>
5019
5020 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
5021 (rmail-variables): Set next-error-move-function.
5022 (rmail-what-message): Take argument POS.
5023 (rmail-next-error-move): New function.
5024
273d2baf
SM
50252011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5026
5027 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
5028 messages for adjacent non-terminals.
5029
56c2cc9a
RS
50302011-06-23 Richard Stallman <rms@gnu.org>
5031
5032 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 5033 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
5034 (rmail-start-mail): Don't specify use of rmail-mail-return;
5035 that's done by mail-bury now.
5036 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 5037
d59eb518
MA
50382011-06-23 Michael Albinus <michael.albinus@gmx.de>
5039
5040 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5041 SIZE is a number.
5042
02cfc6d6
MR
50432011-06-23 Martin Rudalics <rudalics@gmx.at>
5044
5045 * window.el (get-lru-window, get-mru-window)
5046 (get-largest-window): Never return a minibuffer window.
5047 (display-buffer-pop-up-window): Fix a bug that could lead to
5048 reusing the minibuffer window.
5049 (display-buffer): Pass original specifier argument to
5050 display-buffer-function instead of the normalized one.
5051 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5052
4e323265
LL
50532011-06-22 Leo Liu <sdl.web@gmail.com>
5054
5055 * minibuffer.el (completing-read-function)
5056 (completing-read-default): Move from minibuf.c
5057
7a70468f
RS
50582011-06-22 Richard Stallman <rms@gnu.org>
5059
50718fc2
RS
5060 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5061 to Rmail even if not started by a special Rmail command.
5062
7a70468f
RS
5063 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5064 Copy the buffer currently showing just one message.
5065
297dde5a
RW
50662011-06-22 Roland Winkler <winkler@gnu.org>
5067
5068 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5069 (bibtex-clean-entry): First delete the old key so that a
5070 customized algorithm for generating the new key does not get
5071 confused by the old key.
5072 (bibtex-url): Obey regexp of first step.
5073 (bibtex-search-entries): Do not use add-to-list with local
5074 list-var.
5075
97bb1093
LMI
50762011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5077
5078 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5079 stored a user name, then query for the password first, instead of
5080 waiting for SMTP to give an error message and the trying again.
5081
1c0f1a19
JD
50822011-06-22 Lawrence Mitchell <wence@gmx.li>
5083
5084 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5085 BUFFER in call-process.
5086
396f7c9d
LMI
50872011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5088
5089 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5090 QUIT twice.
ddb7ffee
LMI
5091 (smtpmail-try-auth-methods): Require user name and password from
5092 auth-source.
396f7c9d 5093
8998d1b3
MR
50942011-06-22 Martin Rudalics <rudalics@gmx.at>
5095
5096 * window.el (display-buffer-default-specifiers)
5097 (display-buffer-alist): Remove entries for pop-up-frame-alist.
5098 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 5099 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
5100
5101 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5102 (special-display-frame-alist, special-display-popup-frame):
5103 Remove duplicate declarations. These are now in window.el.
5104
4ea31e07
LMI
51052011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5106
c9d29fb8
SM
5107 * mail/smtpmail.el (smtpmail-via-smtp):
5108 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
5109 server supports it. SMTP servers that support STARTTLS commonly
5110 require it.
5111
5112 * net/network-stream.el (network-stream-open-starttls): Support
5113 upgrading to STARTTLS always, even if we don't have built-in support.
5114 (open-network-stream): Add the :always-query-capabilies keyword.
5115
95f41d9a
LMI
5116 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5117 upgrades with `open-network-stream', and rely solely on
5118 auth-source for all credentials. Big changes throughout the file,
5119 but in particular:
c9d29fb8
SM
5120 (smtpmail-auth-credentials): Remove.
5121 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
5122 (smtpmail-via-smtp): Check for servers saying they want AUTH after
5123 MAIL FROM, too.
95f41d9a 5124
c9d29fb8
SM
5125 * net/network-stream.el (network-stream-open-starttls):
5126 Provide support for client certificates both for external and built-in
4ea31e07
LMI
5127 STARTTLS.
5128 (auth-source): Require.
5129 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
5130 (network-stream-certificate): Change cert-cert to cert and
5131 cert-key to key.
4ea31e07 5132
065ec2c7
MA
51332011-06-21 Michael Albinus <michael.albinus@gmx.de>
5134
5135 * net/tramp-cache.el (top): Don't load the persistency file when
5136 "emacs -Q" has been called.
5137
cd93b359
DR
51382011-06-21 Tim Harper <timcharper@gmail.com>
5139
d8e4b68b
JB
5140 * term/ns-win.el (ns-initialize-window-system):
5141 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
5142 resource to NO as it is not yet supported by the NS port.
5143
ae9c0411
JB
51442011-06-21 Juanma Barranquero <lekktu@gmail.com>
5145
5146 * misc.el (list-dynamic-libraries--refresh): Compute header here...
5147 (list-dynamic-libraries): ...not here.
5148
7f3f739f
LL
51492011-06-21 Leo Liu <sdl.web@gmail.com>
5150
5151 * subr.el (sha1): Implement sha1 using secure-hash.
5152
327c8fb1
MR
51532011-06-21 Martin Rudalics <rudalics@gmx.at>
5154
5155 * window.el (display-buffer-alist): In default value do not
5156 enforce searching a window on any but the selected frame.
5157 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5158 (display-buffer-select-window): Remove function.
5159 (display-buffer-in-window): When a window on another frame gets
5160 reused, do not select it any more but just raise its frame if
5161 necessary (Bug#8851) and (Bug#8856).
5162 (display-buffer-normalize-options): Handle pop-up-frames related
5163 options more faithfully.
5164 (pop-to-buffer): Don't rely on `display-buffer' selecting the
5165 window if it is on another frame.
c9d29fb8
SM
5166 (display-buffer-alist, display-buffer-default-specifiers):
5167 Don't make new frame unsplittable by default.
9e9de014
MR
5168 (display-buffer-normalize-argument): Fix doc-string typo and use
5169 'same-frame-other-window instead of 'other-window when associating
5170 with display-buffer-macro-specifiers.
327c8fb1 5171
7cf3f556
VB
51722011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
5173
5174 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5175 New functions.
5176 (5x5-mode-map, 5x5-mode-menu): Bind them.
5177 (5x5-draw-grid): Tweak the solver's rendering.
5178
60a406cf
SM
51792011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5180
5181 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5182 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
5183
d8e4b68b 51842011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
5185
5186 * menu-bar.el: Use function variable instead of switch-to-buffer.
5187 (menu-bar-select-buffer-function): New variable.
60a406cf 5188 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 5189
478d6f95
SM
51902011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5191
5192 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5193 variable's status.
5194
ca530739
JD
51952011-06-20 Jan Djärv <jan.h.d@swipnet.se>
5196
5197 * x-dnd.el (x-dnd-version-from-flags)
5198 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5199 and long as number (Bug#8899).
5200 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5201
bcd70d97
SM
52022011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5203
60a406cf 5204 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
5205 (completion-try-completion, completion-all-completions): Compute the
5206 metadata argument if it's missing; make it optional (bug#8795).
5207
60a406cf 5208 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
5209 (widget-complete): Use new :completion-function property.
5210 (widget-completions-at-point): New function.
5211 (default): Use :completion-function instead of :complete.
60a406cf
SM
5212 (widget-default-completions): Rename from widget-default-complete;
5213 Rewrite.
bcd70d97
SM
5214 (widget-string-complete, widget-file-complete, widget-color-complete):
5215 Remove functions.
5216 (file, symbol, function, variable, coding-system, color):
5217 * international/mule-cmds.el (default-input-method, charset)
5218 (language-info-custom-alist):
5219 * cus-edit.el (face): Use new property :completions.
5220
5221 * progmodes/pascal.el (pascal-completions-at-point): New function.
5222 (pascal-mode): Use it.
5223 (pascal-mode-map): Use completion-at-point.
5224 (pascal-toggle-completions): Make obsolete.
5225 (pascal-complete-word, pascal-show-completions):
5226 * progmodes/octave-mod.el (octave-complete-symbol):
5227 Redefine as obsolete alias.
5228 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5229 Signal absence of completion info for old Octave,
5230 (inferior-octave-complete): Redefine as obsolete alias.
5231 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5232 (meta-completions-at-point): Rename from meta-complete-symbol and
5233 adapt it for use on completion-at-point-functions.
5234 (meta-common-mode): Use it.
5235 (meta-looking-at-backward, meta-match-buffer): Remove.
5236 (meta-complete-symbol): Redefine as obsolete alias.
5237 (meta-common-mode-map): Use completion-at-point.
5238 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5239 (makefile-mode-map): Use completion-at-point.
5240 (makefile-completions-at-point): Rename from makefile-complete and
5241 adapt it for use on completion-at-point-functions.
5242 (makefile-mode): Use it.
5243 (makefile-complete): Redefine as obsolete alias.
5244
aebf69c8
DD
52452011-06-20 Deniz Dogan <deniz@dogan.se>
5246
5247 * net/rcirc.el: Delete trailing whitespaces once and for all.
5248
bfbbb27d
DC
52492011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5250
5251 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5252
d264a46b
CY
52532011-06-19 Chong Yidong <cyd@stupidchicken.com>
5254
4ca009e5
CY
5255 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5256
d264a46b
CY
5257 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5258
fbf5b3ce
MR
52592011-06-19 Martin Rudalics <rudalics@gmx.at>
5260
5261 * window.el (display-buffer-other-window-means-other-frame):
5262 Call display-buffer-normalize-alist.
5263 (display-buffer-normalize-specifiers-1): Rename to
5264 display-buffer-normalize-argument. New argument other-frame.
5265 Rewrite.
5266 (display-buffer-normalize-specifiers-2): Rename to
5267 display-buffer-normalize-options.
5268 (display-buffer-normalize-alist-1): New function.
5269 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
5270 display-buffer-normalize-alist.
5271 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
5272 (display-buffer-normalize-options-inhibit): New variable.
5273 (display-buffer-normalize-specifiers): Rewrite calling
5274 display-buffer-normalize-alist,
5275 display-buffer-normalize-argument, and
5276 display-buffer-normalize-options. Don't call the latter if
5277 display-buffer-normalize-options-inhibit is non-nil.
5278 (frame-auto-delete): New option.
5279 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
5280 (window-list-no-nils, window-state-ignored-parameters)
5281 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
5282 (window-state-put-1, window-state-put-2, window-state-put):
5283 New functions.
9a028c23
MR
5284 (display-buffer-normalize-options): Move special-display-p group
5285 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 5286
6d10d800
CY
52872011-06-18 Chong Yidong <cyd@stupidchicken.com>
5288
6420d28b
CY
5289 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5290 groups (Bug#8776).
5291 (rx-submatch-n): New function.
5292 (rx): Document it.
5293
ddb8b596
CY
5294 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5295 (Bug#8768).
5296
5297 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5298
77080289
CY
5299 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5300
61dfb316
CY
5301 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5302 anytime existing face settings are present (Bug#8889).
5303
6d10d800
CY
5304 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5305 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5306 Remove unused argument.
5307
be3fb2b8
MR
53082011-06-18 Martin Rudalics <rudalics@gmx.at>
5309
bcd70d97
SM
5310 * window.el (display-buffer-default-specifiers):
5311 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
5312 pop-up-window-min-width, and another reuse-window specifier
5313 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
5314 (display-buffer-normalize-specifiers-2):
5315 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
5316 pop-up-windows is unset. Add a reuse-window specifier for the
5317 case popping up a new window fails.
5318 (special-display-popup-frame): Remove double quoting.
28dec25a 5319 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 5320
1c6d8c76
SM
53212011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5324 according to comint-completion-addsuffix.
5325
5326 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5327 (pcomplete-suffix-list): Mark as obsolete.
5328 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5329 pcomplete-seen in the closure.
5330 (pcomplete-comint-setup): Setup completion-at-point as well.
5331 (pcomplete--entries): New function.
5332 (pcomplete--env-regexp): New var.
5333 (pcomplete-entries): Rewrite to work with partial-completion and
5334 without relying on pcomplete-suffix-list.
5335 (pcomplete-pare-list): Remove, unused.
5336
25aef8b8
MR
53372011-06-17 Martin Rudalics <rudalics@gmx.at>
5338
5339 * window.el (display-buffer-alist): Set pop-up-window-min-height
5340 and pop-up-window-min-width in default value. Reported by
5341 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5342 other-window-means-other-frame.
5343 (display-buffer-macro-specifiers): Comment out entry for
5344 other-window specifier.
5345 (display-buffer-other-window-means-other-frame): New function.
5346 (display-buffer-normalize-specifiers-1): New arguments
5347 buffer-name and label. Treat other-window case specially.
5348 (display-buffer-normalize-specifiers-2): Treat other-window case
5349 specially.
5350 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
5351 (display-buffer-normalize-specifiers):
5352 Call display-buffer-normalize-specifiers-3.
25aef8b8 5353
dbad4f69
MR
53542011-06-17 Martin Rudalics <rudalics@gmx.at>
5355
5356 * window.el (same-window-p): Fix two typos introduced when
5357 adding with-no-warnings.
d1067961
MR
5358 (display-buffer-normalize-specifiers-1): Don't check
5359 pop-up-frames for 'unset initialization.
5360 (display-buffer-normalize-specifiers-2): Major rewrite using
5361 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5362 (pop-up-frames, display-buffer-reuse-frames)
5363 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5364 Suggested by David Engster <deng@randomsample.de>.
5365 (even-window-heights): Initialize to 'unset.
5366 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
5367 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5368 other window case.
dbad4f69 5369
9b9c9e3a
MR
53702011-06-16 Martin Rudalics <rudalics@gmx.at>
5371
bcd70d97
SM
5372 * window.el (display-buffer-normalize-specifiers-1):
5373 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 5374 second argument of display-buffer (Bug#8865).
981d5c09
MR
5375 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5376 (switch-to-buffer-other-window-same-frame)
5377 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5378 Adams (Bug#8875).
9c2755e9
MR
5379 (display-buffer): Don't check noninteractive when calling
5380 display-buffer-pop-up-frame.
5381 (display-buffer-pop-up-frame): Never pop up a frame in
5382 noninteractive mode (Bug#8857).
67222e1d
MR
5383 (enlarge-window, shrink-window): Don't report an error when the
5384 window can't be resized as requested (Bug#8862).
9b9c9e3a 5385
2b75be67
SM
53862011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5387
9ffdd3ba
SM
5388 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5389
cb581a67
SM
5390 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5391
2b75be67
SM
5392 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5393
8c0e3589
AM
53942011-06-15 Alan Mackenzie <acm@muc.de>
5395
cb581a67
SM
5396 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5397 for declarators, disable knr checking to speed up for normal files.
5398 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 5399
b96e6cde
LMI
54002011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5401
4bba86e6
LMI
5402 * net/network-stream.el (open-network-stream): Add the keyword
5403 :always-query-capabilities for the case where you want to force a
5404 `plain' network connection, but the protocol still requires the
5405 capabilitiy command (i.e., SMTP and EHLO).
5406
2b75be67 5407 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
5408 consistency with other `-live-p' functions.
5409
efdcdbf8
SM
54102011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * window.el (same-window-buffer-names, same-window-regexps)
5413 (special-display-frame-alist, special-display-popup-frame)
5414 (special-display-function, special-display-buffer-names)
5415 (special-display-regexps, pop-up-frame-alist)
5416 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5417 (pop-up-windows, split-window-preferred-function)
5418 (split-height-threshold, split-width-threshold, even-window-heights)
5419 (display-buffer-mark-dedicated): Don't encourage the use of
5420 display-buffer-alist from Elisp code.
5421
c5cde042
DN
54222011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5423
5424 * progmodes/python.el (python-mode): Derive from prog-mode.
5425 * progmodes/ps-mode.el (ps-mode):
5426 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 5427 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
5428 * progmodes/ld-script.el (ld-script-mode): Likewise.
5429
baa1c9ab
MR
54302011-06-15 Martin Rudalics <rudalics@gmx.at>
5431
5432 * window.el (display-buffer-alist): Trim default value to avoid
5433 popping up a new frame (Bug#8857) or reusing an arbitrary window
5434 on another frame.
5435 (display-buffer): Do not fall back on popping up a new frame in
5436 batch mode (Bug#8857).
5437
c5dd5a51
CY
54382011-06-14 Chong Yidong <cyd@stupidchicken.com>
5439
5440 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5441 (custom-theme-summary): New function.
5442 (customize-themes): Use it.
5443
d647b7c4
GM
54442011-06-13 Glenn Morris <rgm@gnu.org>
5445
5446 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5447
9481c002
MR
54482011-06-13 Martin Rudalics <rudalics@gmx.at>
5449
357f93d2
MR
5450 * help.el (help-window): Remove variable.
5451 (help-window-point-marker, temp-buffer-max-height)
5452 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5453 (help-print-return-message): Don't set help-window.
5454 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5455 (help-window-setup-finish): Remove.
5456 (help-window-display-message, help-window-setup)
5457 (with-help-window): Major rewrite based on new
5458 display-buffer-window variable.
5459
5460 * help-mode.el (help-mode-finish): Remove help-window related
5461 code.
5462
5463 * view.el (view-exits-all-viewing-windows): Remove reference to
5464 view-return-to-alist in doc-string.
5465 (view-return-to-alist): Make obsolete.
5466 (view-buffer): Call pop-to-buffer-same-window and remove
5467 undo-window code.
5468 (view-buffer-other-window): Call pop-to-buffer-other-window and
5469 simplify code. Ignore second argument.
5470 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5471 simplify code. Ignore second argument.
5472 (view-return-to-alist-update): Make obsolete.
5473 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5474 Rewrite using quit-restore window parameters.
2b75be67
SM
5475 (view-mode-exit): Rename second argument to EXIT-ONLY.
5476 Rewrite using quit-restore-window.
357f93d2
MR
5477 (View-exit, View-exit-and-edit, View-leave, View-quit)
5478 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5479 appropriate arguments.
5480 (view-end-message): Use quit-restore window parameter.
5481
9481c002
MR
5482 * window.el (display-buffer-function): Rewrite doc-string.
5483 (display-buffer-window, display-buffer-alist): New variables.
5484 (display-buffer-split-specifiers)
5485 (display-buffer-side-specifiers)
5486 (display-buffer-macro-specifiers): New constants.
5487 (display-buffer-even-window-sizes, display-buffer-set-height)
5488 (display-buffer-set-width, display-buffer-select-window)
5489 (display-buffer-in-window, display-buffer-reuse-window)
5490 (display-buffer-split-window-1, display-buffer-split-window)
5491 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5492 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5493 (display-buffer-in-side-window, normalize-buffer-to-display)
5494 (display-buffer-normalize-specifiers-1)
5495 (display-buffer-normalize-specifiers-2)
2b75be67
SM
5496 (display-buffer-normalize-specifiers, display-buffer-frame):
5497 New functions.
9481c002
MR
5498 (display-buffer): Major rewrite.
5499 (display-buffer-other-window, display-buffer-other-frame)
5500 (pop-to-buffer, switch-to-buffer-other-window)
5501 (switch-to-buffer-other-frame): Rewrite.
5502 (display-buffer-same-window, display-buffer-same-frame)
5503 (display-buffer-same-frame-other-window)
5504 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5505 (pop-to-buffer-other-window)
5506 (pop-to-buffer-same-frame-other-window)
5507 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5508 (switch-to-buffer-other-window-same-frame): New functions.
5509 (same-window-p, special-display-p): Rewrite disabling warnings.
5510 Make obsolete.
5511 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5512 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5513 Make obsolete
5514 (same-window-buffer-names, same-window-regexps)
5515 (special-display-frame-alist, special-display-popup-frame)
5516 (special-display-function, special-display-buffer-names)
5517 (special-display-regexps, pop-up-frame-alist)
5518 (pop-up-frame-function, split-window-preferred-function)
5519 (split-height-threshold, split-width-threshold)
5520 (even-window-heights): Make obsolete.
5521
9db51aca
GM
55222011-06-12 Glenn Morris <rgm@gnu.org>
5523
5524 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 5525 Misc simplifications.
9db51aca 5526
39cffb44
MR
55272011-06-12 Martin Rudalics <rudalics@gmx.at>
5528
5529 * window.el (window-safely-shrinkable-p): Restore function which
5530 was inadvertently removed in change from 2011-06-11. Declare as
5531 obsolete.
5532
2b75be67
SM
5533 * calendar/calendar.el (calendar-generate-window):
5534 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
5535 window-safely-shrinkable-p.
5536
a8955be7
GM
55372011-06-12 Glenn Morris <rgm@gnu.org>
5538
5539 * progmodes/fortran.el (fortran-mode-syntax-table):
5540 * progmodes/f90.el (f90-mode-syntax-table):
5541 Set % to punctuation. (Bug#8820)
5542 (f90-find-tag-default): Remove, no longer needed.
5543
f0d4059d
DC
55442011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5545
5546 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5547
1100a63c
CY
55482011-06-11 Chong Yidong <cyd@stupidchicken.com>
5549
5550 * image.el (image-animated-p): Return animation delay in seconds.
5551 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5552 (image-animate-timeout): Remove DELAY argument. Don't assume
5553 every subimage has the same delay; get it from image-animated-p.
5554 (image-animate): Caller changed.
5555
def722bf
MA
55562011-06-11 Michael Albinus <michael.albinus@gmx.de>
5557
5558 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5559 to ignored backtrace functions.
5560
0a2bb1a9
GM
55612011-06-11 Glenn Morris <rgm@gnu.org>
5562
5563 * calendar/appt.el (appt-disp-window-function): Doc fix.
5564 (appt-check): Handle overlapping appointments. (Bug#8337)
5565
6198ccd0
MR
55662011-06-11 Martin Rudalics <rudalics@gmx.at>
5567
5568 * window.el (window-tree-1, window-tree): New functions, moving
5569 the latter to window.el.
5570 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5571 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5572 (bw-refresh-edges): Remove.
5573 (balance-windows-1, balance-windows-2): New functions.
5574 (balance-windows): Rewrite in terms of window tree functions,
5575 balance-windows-1 and balance-windows-2.
5576 (bw-adjust-window): Remove.
5577 (balance-windows-area-adjust): New function with functionality of
5578 bw-adjust-window but using resize-window.
2b75be67
SM
5579 (set-window-text-height): Rewrite doc-string.
5580 Use normalize-live-window and resize-window.
5581 (enlarge-window-horizontally, shrink-window-horizontally):
5582 Rename argument to DELTA.
6198ccd0
MR
5583 (window-buffer-height): New function.
5584 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5585 Rewrite using new window resize routines.
2b75be67
SM
5586 (kill-buffer-and-window, mouse-autoselect-window-select):
5587 Use ignore-errors instead of condition-case.
6198ccd0
MR
5588 (quit-window): Call delete-frame instead of delete-windows-on
5589 for the only buffer on frame.
5590
9397e56f
MR
55912011-06-10 Martin Rudalics <rudalics@gmx.at>
5592
5593 * loadup.el (top-level): Load window before files for the sake
5594 of replace-buffer-in-windows.
5595
5596 * files.el (read-buffer-to-switch)
5597 (switch-to-buffer-other-window)
2b75be67
SM
5598 (switch-to-buffer-other-frame, display-buffer-other-frame):
5599 Move to window.el.
9397e56f
MR
5600
5601 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5602 (previous-buffer): Move to window.el.
5603
5604 * bindings.el (unbury-buffer): Move to window.el.
5605
5606 * window.el (delete-other-windows-vertically): Move after
5607 definition of delete-other-windows.
5608 (other-window, delete-windows-on, replace-buffer-in-windows):
5609 Move here from window.c.
5610 (record-window-buffer, unrecord-window-buffer)
5611 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5612 (switch-to-next-buffer): New functions.
5613 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5614 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5615 (previous-buffer): Move here from simple.el.
5616 Call switch-to-prev-buffer.
9397e56f
MR
5617 (bury-buffer): Move here from buffer.c. Switch to previous
5618 buffer when window cannot be deleted.
5619 (unbury-buffer): Move here from bindings.el.
5620 (ctl-x-map): Move binding for other-window from window.c to
5621 here.
5622 (read-buffer-to-switch, switch-to-buffer-other-window)
5623 (switch-to-buffer-other-frame): Move here from files.el.
5624 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5625 (switch-to-buffer): Move here from buffer.c.
5626 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5627
562dd5e9
MR
56282011-06-10 Martin Rudalics <rudalics@gmx.at>
5629
5630 * window.el (window-min-height, window-min-width): Move here
5631 from window.c. Add defcustoms and rewrite doc-strings.
5632 (resize-mini-window, resize-window): New functions.
5633 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5634 Move here from window.c.
5635 (maximize-window, minimize-window): New functions.
5636 (delete-window, delete-other-windows, split-window): Move here
5637 from window.c.
5638 (window-split-min-size): New function.
5639 (split-window-keep-point): Mention split-window-above-each-other
5640 instead of split-window-vertically.
2b75be67
SM
5641 (split-window-above-each-other, split-window-vertically):
5642 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5643 provide defalias for old definition.
5644 (split-window-side-by-side, split-window-horizontally): Rename
5645 split-window-horizontally to split-window-side-by-side and provide
5646 defalias for the old definition.
5647 (ctl-x-map): Move bindings for delete-window,
5648 delete-other-windows and enlarge-window here from window.c.
5649 Replace bindings for split-window-vertically and
5650 split-window-horizontally by bindings for
5651 split-window-above-each-other and split-window-side-by-side.
5652
5653 * cus-start.el (all): Remove entries for window-min-height and
5654 window-min-width. Add entries for window-splits and
5655 window-nest.
5656
f0da764a
GM
56572011-06-09 Glenn Morris <rgm@gnu.org>
5658
80675c21
GM
5659 * calendar/appt.el (appt-mode-line): New function.
5660 (appt-check, appt-disp-window): Use it.
5661
f0da764a
GM
5662 * files.el (hack-one-local-variable-eval-safep):
5663 Allow minor-modes with explicit +/-1 arguments.
5664
59f623b7
TZ
56652011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5666
5667 * term/xterm.el (xterm): Add defgroup.
5668 (xterm-extra-capabilities): Add defcustom to supply known xterm
5669 capabilities, skip querying them, or query them (default).
5670 (terminal-init-xterm): Use it.
5671 (terminal-init-xterm-modify-other-keys): New function to set up
5672 modifyOtherKeys support to simplify `terminal-init-xterm'.
5673
9aab8e0d
MR
56742011-06-09 Martin Rudalics <rudalics@gmx.at>
5675
5676 * window.el (resize-window-reset, resize-window-reset-1)
5677 (resize-subwindows-skip-p, resize-subwindows-normal)
5678 (resize-subwindows, resize-other-windows, resize-this-window)
5679 (resize-root-window, resize-root-window-vertically)
5680 (window-deletable-p, window-or-subwindow-p)
5681 (frame-root-window-p): New functions.
5682
e8b08aee
GM
56832011-06-09 Glenn Morris <rgm@gnu.org>
5684
5685 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5686 (ange-ftp-get-files): Use it.
5687
254c37a5
AK
56882011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5689
5690 * mail/sendmail.el (mail-recover-1, mail-recover):
5691 * files.el (recover-file, recover-session):
5692 Handle dired-listing-switches not being just a single short option.
5693
35d7dbd3
GM
56942011-06-09 Glenn Morris <rgm@gnu.org>
5695
5696 * calendar/appt.el (appt-display-message, appt-disp-window):
5697 Handle lists of appointments.
5698
387522b2
MR
56992011-06-08 Martin Rudalics <rudalics@gmx.at>
5700
2b75be67
SM
5701 * window.el (one-window-p): Move down in code.
5702 Rewrite doc-string.
5703 (window-current-scroll-bars): Rewrite doc-string.
5704 Normalize live window argument.
387522b2
MR
5705 (walk-windows, get-window-with-predicate, count-windows):
5706 Rewrite doc-string. Use window-list-1.
5707 (window-in-direction-2, window-in-direction, get-mru-window):
5708 New functions.
5709
d8e4b68b 57102011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5711
5712 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5713 Doc fix (Bug#8713).
5714
57152011-06-08 Chong Yidong <cyd@stupidchicken.com>
5716
5717 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5718
57192011-06-08 Juanma Barranquero <lekktu@gmail.com>
5720
5721 * loadhist.el (unload-feature-special-hooks):
5722 Add `comint-output-filter-functions'.
5723
0de12c52
IK
57242011-06-08 Ivan Kanis <gnu@kanis.fr>
5725
5726 * calendar/appt.el (appt-check): Move some initializations into the let.
5727
f3d1777e
MR
57282011-06-08 Martin Rudalics <rudalics@gmx.at>
5729
5730 * window.el (window-height): Defalias to window-total-height.
5731 (window-width): Defalias to window-body-width.
5732
18af70d0
CY
57332011-06-07 Chong Yidong <cyd@stupidchicken.com>
5734
5735 * image-mode.el (image-toggle-animation): New command.
5736 (image-mode-map): Bind it to RET.
5737 (image-mode): Update message.
5738 (image-toggle-display-image): Avoid a spurious cache flush.
5739 (image-transform-rotation): Doc fix.
5740 (image-transform-properties): Return quickly in the normal case.
5741 (image-animate-loop): Rename from image-animate-max-time.
5742
2b75be67 5743 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5744 (create-animated-image): Remove unnecessary function.
5745 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5746 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5747 (image-animate-timer): Use car-safe.
5748 (image-animate-timeout): Rename argument.
5749
190b47e6
MR
57502011-06-07 Martin Rudalics <rudalics@gmx.at>
5751
5752 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5753 window.c. Rename first argument to ALL-FRAMES.
5754 Rephrase doc-strings.
5755 (get-buffer-window-list): Rewrite using window-list-1.
5756 Rephrase doc-string.
a1511caf
MR
5757 (window-safe-min-height, window-safe-min-width): New constants.
5758 (window-size-ignore, window-min-size, window-min-size-1)
5759 (window-sizable, window-sizable-p, window-size-fixed-1)
5760 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5761 (window-max-delta-1, window-max-delta, window-resizable)
5762 (window-resizable-p, window-total-height, window-total-width)
5763 (window-body-width): New functions.
5764 (window-full-height-p, window-full-width-p): Rewrite using
5765 window-total-size.
5766 (window-body-height): Rewrite using window-body-size.
190b47e6 5767
85cc1f11
MR
57682011-06-06 Martin Rudalics <rudalics@gmx.at>
5769
5770 * window.el (window-right, window-left, window-child)
5771 (window-child-count, window-last-child, window-any-p)
5772 (normalize-live-buffer, normalize-live-frame)
5773 (normalize-any-window, normalize-live-window)
5774 (window-iso-combination-p, window-iso-combined-p)
5775 (window-iso-combinations)
5776 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5777 (windows-with-parameter, window-with-parameter)
5778 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5779 (window-atom-check, window-side-check, window-check):
5780 New functions.
85cc1f11
MR
5781 (ignore-window-parameters, window-sides, window-sides-vertical)
5782 (window-sides-slots): New variables.
5783 (window-size-fixed): Move down in code. Minor doc-string fix.
5784
e7156492
AS
57852011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5786
5787 * comint.el (comint-dynamic-complete-as-filename)
5788 (comint-dynamic-complete-filename): Correctly call
5789 completion-in-region.
5790
7e821d0d
DD
57912011-06-05 Deniz Dogan <deniz@dogan.se>
5792
5793 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5794 in last change.
5795
ac09b8a1
DD
57962011-06-05 Deniz Dogan <deniz@dogan.se>
5797
5798 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5799 (rcirc): Use it to prompt for encryption.
5800
34699b85
RW
58012011-06-05 Roland Winkler <winkler@gnu.org>
5802
5803 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5804 (bibtex-search-entries): New command bound to C-c C-a.
5805 (bibtex-display-entries): New function.
5806
004dedd3
RW
58072011-06-05 Roland Winkler <winkler@gnu.org>
5808
5809 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5810 (bibtex-insert-kill): After yanking insert newline if necessary.
5811 (bibtex-initialize): Call bibtex-string-files-init only once.
5812 (bibtex-mode): Do not call easy-menu-add.
5813 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5814 (bibtex-yank): Set arg properly if nil.
5815
022fe7ce
RW
58162011-06-05 Roland Winkler <winkler@gnu.org>
5817
2b75be67
SM
5818 * textmodes/bibtex.el (bibtex-search-entry-globally):
5819 New variable.
022fe7ce
RW
5820 (bibtex-search-entry): Use it.
5821
b7c3692a
RW
58222011-06-05 Roland Winkler <winkler@gnu.org>
5823
5824 * textmodes/bibtex.el (bibtex-entry-format): New option
5825 sort-fields.
5826 (bibtex-format-entry, bibtex-reformat): Honor this option.
5827 (bibtex-parse-entry): Return fields in proper order.
5828
8eda563d
JB
58292011-06-05 Juanma Barranquero <lekktu@gmail.com>
5830
5831 * doc-view.el (doc-view-remove-if): Move computation of result out
5832 of `dolist' to silence misleading lexical-binding warning.
5833
7dbe3dbc
CY
58342011-06-04 Chong Yidong <cyd@stupidchicken.com>
5835
5836 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5837 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5838
0c33dd17
MA
58392011-06-04 Michael Albinus <michael.albinus@gmx.de>
5840
5841 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5842 "SunOS 5.10".
5843
f8f91c2b
MA
58442011-06-04 Michael Albinus <michael.albinus@gmx.de>
5845
5846 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5847 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5848 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5849 (tramp-parse-putty):
5850 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5851 (tramp-completion-function-alist-ssh)
5852 (tramp-completion-function-alist-telnet)
5853 (tramp-completion-function-alist-su)
5854 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5855 cookie.
5856
5857 * net/tramp-ftp.el:
5858 * net/tramp-sh.el:
5859 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5860 load "tramp.el" `tramp-set-completion-function'.
5861
e17d9003
SM
58622011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5863
5864 * shell.el: Require and use pcomplete.
5865 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5866 (shell-completion-vars): Set pcomplete-default-completion-function.
5867
6c4cab03
DD
58682011-06-04 Deniz Dogan <deniz@dogan.se>
5869
5870 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5871 `memq' (Bug#8799).
5872
ea9fafe0
SM
58732011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5874
5875 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5876
b3e945d3
JB
58772011-06-02 Juanma Barranquero <lekktu@gmail.com>
5878
5879 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5880 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5881 * vc/log-view.el (log-view-beginning-of-defun):
5882 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5883 (smerge-refine-forward, smerge-refine-chopup-region):
5884 Silence warning for unused `dotimes' counter variables.
5885
7d520089
SM
58862011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * net/tramp.el (tramp-with-progress-reporter): Rename from
5889 with-progress-reporter. Use `declare'.
5890 * net/tramp-smb.el:
5891 * net/tramp-sh.el:
5892 * net/tramp-gvfs.el: Update all uses.
5893
a1c2400f
JB
58942011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5895
5896 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5897 buffer isn't killed before making it current.
5898
2403c841
SM
58992011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5900
5901 Silence various byte-compiler warnings.
5902 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5903 `access-type' and new obsolescence format.
5904 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5905 new format.
5906 (byte-compile-check-variable): New `access-type' argument.
5907 Only warn if the access-type is obsolete.
5908 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5909 (byte-compile-variable-set): Adjust callers.
5910 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5911 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5912 setting it as obsolete.
5913 * simple.el (minibuffer-completing-symbol):
5914 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5915 access as obsolete.
5916 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5917 obsolete yet.
5918 * international/quail.el (quail-mouse-choose-completion): Remove unused
5919 code referring to obsolete var.
5920 (quail-choose-completion-string): Remove.
5921 * server.el (server-clients-with, server-kill-buffer-query-function)
5922 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5923 * proced.el (proced-send-signal):
5924 * emacs-lisp/lisp.el (lisp-complete-symbol):
5925 Replace completion-annotate-function with completion-extra-properties.
5926
2462470b
SM
59272011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5928
fb5b2591
SM
5929 * simple.el (goto-line): Use read-number.
5930 (overriding-map-is-bound): Remove.
5931 (saved-overriding-map): Change default.
5932 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5933 Take the map as argument.
5934 (universal-argument, negative-argument, digit-argument): Use it.
5935 (restore-overriding-map): Adjust.
5936 (do-auto-fill): Use fill-forward-paragraph.
5937 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5938
fd6fa53f
SM
5939 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5940 (minibuffer-inactive-mode): New major mode.
5941 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5942 the *Messages* buffer" hack.
5943 (mouse-popup-menubar): Don't burp if the event is a normal key.
5944
2462470b
SM
5945 Miscellaneous tweaks.
5946 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5947 lexical scoping as in subr.el's dolist and dotimes.
5948 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5949 Silence compiler warning.
5950 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5951 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5952 * international/ccl.el (ccl-compile): Trivial simplification.
5953 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5954 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5955 `printflag' argument.
5956 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5957 Purecopy the whole obsolescence data.
5958
108bf785
LL
59592011-06-01 Leo Liu <sdl.web@gmail.com>
5960
5961 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5962 improve doc-string as suggested by Marco Pessotto
5963 <melmothx@gmail.com>.
5964 (rcirc-print): Fix last change.
5965
30a23501
SM
59662011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * minibuffer.el (complete-with-action): Return nil for the metadata and
5969 boundaries of non-functional tables.
5970 (completion-table-dynamic): Return nil for the metadata.
5971 (completion-table-with-terminator): Add default case, using
5972 complete-with-action.
5973 (completion--metadata): New function.
5974 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5975 to try and avoid pathological performance problems.
5976 (completion--embedded-envvar-table): Return `category' metadata.
5977
bcd54f83
LMI
59782011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5979
5980 * subr.el (process-alive-p): New tiny convenience function.
5981
e227544d
SM
59822011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5984 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5985 content but also its previous major mode.
5986
e8296fdc
HE
59872011-05-31 Helmut Eller <eller.helmut@gmail.com>
5988
4d61f28d 5989 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5990 *Backtrace* buffer when we exit with C-M-c.
5991
620c53a6
SM
59922011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * minibuffer.el: Add metadata method to completion tables.
5995 (completion-category-overrides): New defcustom.
5996 (completion-metadata, completion--field-metadata)
5997 (completion-metadata-get, completion--styles)
5998 (completion--cycle-threshold): New functions.
5999 (completion-try-completion, completion-all-completions):
6000 Add `metadata' argument to choose completion-styles.
6001 (completion--do-completion): Use metadata to choose cycling.
6002 (completion-all-sorted-completions): Use metadata for sorting.
6003 Remove :completion-cycle-penalty which is not needed any more.
6004 (completion--try-word-completion): Add `metadata' argument.
6005 (minibuffer-completion-help): Check metadata for annotation function
6006 and sorting.
6007 (completion-file-name-table): Return `category' metadata.
6008 (minibuffer-completing-file-name): Make obsolete.
6009 * simple.el (minibuffer-completing-symbol): Make obsolete.
6010 * icomplete.el (icomplete-completions): Pass new `metadata' param to
6011 completion-try-completion.
6012
1257e755
SM
60132011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
6016
3767e706
LL
60172011-05-30 Leo Liu <sdl.web@gmail.com>
6018
6019 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
6020 (rcirc-print): Decode all incoming messages (bug#8744).
6021 (rcirc-decode-coding-system): Allow value nil for automatic coding
6022 system detection.
3767e706 6023
d1a5d56a
GM
60242011-06-01 Glenn Morris <rgm@gnu.org>
6025
6026 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
6027
e8cbec34
CY
60282011-05-29 Chong Yidong <cyd@stupidchicken.com>
6029
6030 * image.el (image-animate-max-time): Allow nil and t values.
6031 Default to nil.
6032 (create-animated-image): Doc fix.
6033 (image-animate-start): Remove second arg; just use
6034 image-animate-max-time.
6035 (image-animate-timeout): Doc fix. Args changed.
6036
6037 * image-mode.el (image-toggle-display-image): Ensure that the
6038 image spec passed to the animate timer is the same object as in
58179cce 6039 the buffer's display property (Bug#6981).
e8cbec34
CY
6040 (image-transform-properties): Doc fix.
6041
6042 * image.el (image-animate-max-time): Default to nil.
6043
159daf87
MR
60442011-05-29 Martin Rudalics <rudalics@gmx.at>
6045
6046 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6047 entire buffer list (Bug#8184).
6048
d66c4c7c
CY
60492011-05-29 Chong Yidong <cyd@stupidchicken.com>
6050
6051 * image.el (imagemagick-types-inhibit)
6052 (imagemagick-register-types): Doc fix.
6053
80aec780
DD
60542011-05-29 Deniz Dogan <deniz@dogan.se>
6055
6056 * net/rcirc.el (rcirc): Use the user's stored encryption method by
6057 default.
6058
1dd3c2d9
CY
60592011-05-29 Chong Yidong <cyd@stupidchicken.com>
6060
6061 * select.el: Don't perform clipboard-manager saving in hooks;
6062 leave the hooks empty.
6063
60e56523
LL
60642011-05-28 Leo Liu <sdl.web@gmail.com>
6065
6066 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6067 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
6068 (occur-edit-mode): New major mode (Bug#8463).
6069 (occur-after-change-function): New function.
6070 (occur-engine): Give Occur tags a read-only property.
6071
2b1e1a22
KR
60722011-05-28 Kevin Ryde <user42@zip.com.au>
6073
6074 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6075
5d344e88
CY
60762011-05-28 Chong Yidong <cyd@stupidchicken.com>
6077
8e6ca83d
CY
6078 * bindings.el (help-echo): Make the initial non-indicator dash
6079 empty on graphical terminals (Bug#7295).
6080
5d344e88
CY
6081 * files.el (auto-mode-alist): Move config rule after the
6082 in-stripping one (Bug#8547).
6083
bfbbace7
CY
6084 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6085
fbeba6e2
CY
6086 * startup.el (normal-splash-screen): Remove gratuitous mode-line
6087 setting (Bug#8740).
6088
60ed8c72
AA
60892011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
6090
4ac619f0
AA
6091 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6092 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6093 (Bug#8539).
60ed8c72 6094
23db196e
CY
60952011-05-28 Chong Yidong <cyd@stupidchicken.com>
6096
6097 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6098
5012f24c
DK
60992011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
6100
6101 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6102 (hs-hide-block-at-point, hs-find-block-beginning)
6103 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6104 (Bug#8279).
6105
6a639b16
GM
61062011-05-28 Glenn Morris <rgm@gnu.org>
6107
6108 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
6109
d43eaf2c
CY
61102011-05-28 Chong Yidong <cyd@stupidchicken.com>
6111
5199bde1
CY
6112 * help-fns.el (describe-function-1): If the function is a derived
6113 major mode, print the parent mode.
6114
d43eaf2c
CY
6115 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6116 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6117
423428a8
SM
61182011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6119
0ff8e1ba 6120 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 6121 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
6122 * progmodes/etags.el (tags-completion-at-point-function):
6123 * info-look.el (info-lookup-completions-at-point): Mark as
6124 non-exclusive.
6125 (info-complete): Adjust accordingly.
6126
423428a8
SM
6127 * info-look.el: Convert to lexical-binding and completion-at-point.
6128 (info-lookup-completions-at-point): New function.
6129 (info-complete): Use it and completion-in-region.
6130
b74aa22b
DA
61312011-05-28 Drew Adams <drew.adams@oracle.com>
6132
6133 * isearch.el: Let M-e start with point at the first mismatched char.
6134 (isearch-fail-pos): New function.
6135 (isearch-edit-string): Use it.
6136
66e2e71d
DK
61372011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6138
6139 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6140
eb95d01d
TC
61412009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6142
6143 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
6144 traversal functions for avl-trees.
6145 (avl-tree--stack): New struct.
6146 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6147 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
6148 (avl-tree--do-enter): Add optional `updatefun' arg.
6149 Change return value.
eb95d01d 6150 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
6151 (avl-tree--do-delete): Add `test' and `nilflag' args.
6152 Change return value.
eb95d01d
TC
6153 (avl-tree-member): Add optional `nilflag'
6154 (avl-tree-member-p): New function.
6155 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6156 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6157 (avl-tree-stack-empty-p): New functions.
6158
3769ddcf
TC
61592009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6160
6161 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6162 avl-tree--del-balance1 and make it work both ways.
6163 (avl-tree--del-balance2): Remove.
6164 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6165 make it work both ways.
6166 (avl-tree--enter-balance2): Remove.
6167 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6168 New macros.
6169 (avl-tree--mapc, avl-tree-map): Add direction argument.
6170
eb95d01d 61712011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
6172
6173 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6174
a9f737ee
CY
61752011-05-27 Chong Yidong <cyd@stupidchicken.com>
6176
6177 * select.el: Support clipboard managers with built-in function
6178 x-clipboard-manager-save, via delete-frame-functions and
6179 kill-emacs-hook.
6180 (xselect-convert-to-targets): Add MULTIPLE target to list.
6181 (xselect-convert-to-save-targets): New function.
6182
c92a1e54
KH
61832011-05-27 Kenichi Handa <handa@m17n.org>
6184
6185 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6186 let-binding rfc2047-encode-encoded-words to nil.
6187
e145f188
GM
61882011-05-27 Glenn Morris <rgm@gnu.org>
6189
5ec8a862
GM
6190 * mail/emacsbug.el: Don't require url-util.
6191
4b29d9fb
GM
6192 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
6193
e145f188
GM
6194 * files.el (set-auto-mode):
6195 Also respect mode: entries at the end of the file. (Bug#8586)
6196
7d15102b
GM
61972011-05-26 Glenn Morris <rgm@gnu.org>
6198
98f593b8
GM
6199 * files.el (hack-local-variables-prop-line, hack-local-variables):
6200 Downcase mode names, as seems to be traditional.
27b48e63 6201 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 6202
7d15102b
GM
6203 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6204 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
6205
51d5b4ec
JD
62062011-05-25 Julien Danjou <julien@danjou.info>
6207
6208 * textmodes/rst.el (rst-define-level-faces): Do not define face
6209 symbol if it is already defined.
6210
91513f63
VB
62112011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6212
6213 * play/5x5.el (5x5-new-game, 5x5-randomize):
6214 Reset 5x5-solver-output to nil when a new grid is cast.
6215 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6216 these debugging traces, as defmacro breaks the compiled code.
6217
4d90d6d0
DK
62182011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6219
6220 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6221
e1b90ef6
LL
62222011-05-24 Leo Liu <sdl.web@gmail.com>
6223
6224 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6225 (vc-bzr-sha1): Adapt.
6226
d8e4b68b 6227 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
6228
6229 * bindings.el: Provide sha1 feature.
6230
db0406bb 62312011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
6232
6233 * mail/sendmail.el: Require `rfc2047'.
6234 (mail-insert-from-field): Do not perform RFC2047 encoding.
6235 (mail-encode-header): New function.
6236 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
6237 buffer to the return value of select-message-coding-system.
6238 Call mail-encode-header.
b8d747b9
KH
6239
6240 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6241
db0406bb 62422011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 6243
4d90d6d0
DK
6244 * mail/supercite.el (sc-default-cite-frame):
6245 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 6246
eb8a5e9b
GM
62472011-05-24 Glenn Morris <rgm@gnu.org>
6248
f8630703
GM
6249 * progmodes/python.el (brm-menu): Declare.
6250
8831bbed
GM
6251 * emulation/viper.el (viper-set-hooks): Declare.
6252
eb8a5e9b
GM
6253 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6254 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6255 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6256 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6257 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6258 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6259
a2a25d24
SM
62602011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6261
6262 Add an :exit-function for completion-at-point.
6263
6264 * minibuffer.el (completion--done): New fun.
6265 (completion--do-completion): Use it. New arg `expect-exact'.
6266 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6267 since completion--do-completion does it for us now.
6268 (minibuffer-force-complete): Use completion--done and
6269 completion--replace. Handle sole-completion case with more care.
6270 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6271 (completion-extra-properties): New var.
6272 (completion-annotate-function): Make obsolete.
6273 (minibuffer-completion-help): Adjust accordingly.
6274 Use completion-list-insert-choice-function.
6275 (completion-at-point, completion-help-at-point):
6276 Bind completion-extra-properties.
6277 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6278 * simple.el (completion-list-insert-choice-function): New var.
6279 (completion-setup-function): Preserve it.
6280 (choose-completion): Pay attention to it, shuffle the code a bit.
6281 (choose-completion-string): New arg `insert-function'.
6282
6283 * textmodes/bibtex.el: Convert to lexical binding.
6284 (bibtex-mode-map): Use completion-at-point.
6285 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6286 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6287 (bibtex-complete): Define as obsolete alias.
6288 (bibtex-complete-internal): Remove.
6289 (bibtex-format-entry): Remove unused sub-group in regexp.
6290 * shell.el (shell--command-completion-data)
6291 (shell-environment-variable-completion):
6292 * pcomplete.el (pcomplete-completions-at-point):
6293 * comint.el (comint--complete-file-name-data): Use :exit-function
6294 instead of completion-table-with-terminator so it also works for
6295 choose-completion.
6296
e44e373d
SM
62972011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6298
4f91a816
SM
6299 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6300
782fc819
SM
6301 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6302 (bug#8710).
6303
e44e373d
SM
6304 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6305
381987c3
KM
63062011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6307
6308 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6309 customization variable and implement: If non-nil, auto-fill will
6310 be inhibited while on topic's header line.
6311
b776bc70
VB
63122011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6313
6314 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 6315 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
6316 always have a solution in grid size = 5 cases.
6317 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6318 (5x5-solver-output, 5x5-log-buffer): New vars.
6319 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6320 Make these variables buffer local to achieve 5x5 multi-session-ness.
6321 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6322 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6323 (5x5-solve-suggest): New funs.
6324 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6325 randomize a grid so that we ensure that there is always a solution.
6326 (5x5-make-random-grid): Allow other movement than flipping.
6327
7de88b6e
KR
63282011-05-23 Kevin Ryde <user42@zip.com.au>
6329
6330 * emacs-lisp/advice.el (ad-read-advised-function):
6331 Use `function-called-at-point' as the default default, if it has
6332 advice and passes PREDICATE.
6333
b1ef1257
SM
63342011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6335
bbca48fe
SM
6336 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6337 byte-compile-lambda if it's actually a lambda.
6338
b1ef1257
SM
6339 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6340 Fix function quoting. Use backquote better.
6341
92a9cc65
YS
63422011-05-22 Yuanle Song <sylecn@gmail.com>
6343
6344 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6345 matching (Bug#8516).
6346
f0fb8059
JA
63472011-01-22 Jari Aalto <jari.aalto@cante.net>
6348
6349 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6350 different face (Bug#8178).
6351
d5b44c93
CY
63522011-05-22 Chong Yidong <cyd@stupidchicken.com>
6353
6354 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6355 defface (Bug#8144).
6356
79106a44
SM
63572011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6358
9c848d8a
SM
6359 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6360 funcall as well (bug#8712). Warn when performing those conversions.
6361 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6362
79106a44
SM
6363 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6364
88dfa756
GM
63652011-05-22 Glenn Morris <rgm@gnu.org>
6366
6367 * files.el (hack-local-variables-prop-line): Small simplifications.
6368 (hack-local-variables, hack-local-variables-prop-line):
6369 If MODE-ONLY, return the mode, rather than just `t'.
6370
b7cf2c79
SM
63712011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6372
6373 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6374
3f1a8558
GM
63752011-05-21 Glenn Morris <rgm@gnu.org>
6376
7e4ccca3
GM
6377 * files.el (hack-local-variables-prop-line, hack-local-variables):
6378 If only interested in the mode, don't bother doing the other stuff.
6379
637d46ca
GM
6380 * image-mode.el (image-after-revert-hook):
6381 Redraw all frames on which the image is visible. (Bug#8567)
6382
973d955b
GM
6383 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6384
3f1a8558
GM
6385 * wid-edit.el (widget-checklist-match-inline):
6386 Fix 2011-04-19 change. (Bug#8649)
6387
96479927
SM
63882011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6389
1dcf791f
SM
6390 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6391 Also allow singlespace after single-letter capitals followed by a dot.
6392
96479927
SM
6393 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6394 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6395
35fd0881
N
63962011-05-20 Nix <nix@esperi.org.uk>
6397
6398 * files.el (basic-save-buffer-2):
6399 Fix handling of break-hardlink-on-save with non-existent files.
6400
82745640
DD
64012011-05-19 Deniz Dogan <deniz@dogan.se>
6402
6403 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 6404 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 6405
4a720484
GM
64062011-05-19 Glenn Morris <rgm@gnu.org>
6407
d1f21341
GM
6408 * progmodes/f90.el (f90-type-def-re):
6409 Handle "type, bind(c)". (Bug#8691)
6410
4a720484
GM
6411 * emacs-lisp/autoload.el (batch-update-autoloads):
6412 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6413
2fb0a219
MA
64142011-05-18 Michael Albinus <michael.albinus@gmx.de>
6415
6416 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6417 property for the correct connection in case of multihops.
6418
e565dd37
GM
64192011-05-18 Glenn Morris <rgm@gnu.org>
6420
c2571358 6421 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
6422 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6423
e565dd37
GM
6424 Rationalize calendar handling of day and month abbrev-arrays.
6425 * calendar/calendar.el (calendar-customized-p): New function.
6426 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6427 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6428 Add :set function.
6429 (calendar-abbrev-length, calendar-day-abbrev-array)
6430 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6431 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6432 Elements may no longer be nil.
6433 (calendar-day-name, calendar-month-name):
6434 Update for changed nature of abbrev arrays.
6435 * calendar/diary-lib.el (diary-name-pattern):
6436 Update for changed nature of abbrev arrays.
6437 (diary-mark-entries-1): Update calendar-make-alist calls.
6438 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6439 * calendar/cal-html.el (cal-html-day-abbrev-array):
6440 Simply inherit from calendar-day-abbrev-array.
6441
1d99a745
SM
64422011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6443
6444 * progmodes/grep.el (grep-mode): Disable default
6445 compilation-directory-matcher setting (bug#8684).
6446
7c1d9aa0
MA
64472011-05-17 Michael Albinus <michael.albinus@gmx.de>
6448
6449 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6450 instead of "head" and "tail". There were problems with SunOS 5.9,
6451 and it performs better.
6452
3952e9d8
GM
64532011-05-17 Glenn Morris <rgm@gnu.org>
6454
2dd12e7f
GM
6455 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6456
e4157b9c
GM
6457 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6458 Replace obsolete function.
6459
8e249bbd
GM
6460 * shell.el (pcomplete-parse-arguments-function): Declare.
6461
3952e9d8
GM
6462 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6463 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6464 (appt-check): Doc fixes.
6465 (appt-disp-window-function, appt-delete-window-function):
6466 Remove needless special case in custom :type.
6467 (appt-display-count): Default to 0, not nil.
6468 (appt-check): Reset appt-display-count to 0, not nil.
6469
c71a0d48 64702011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 6471
c71a0d48
GM
6472 * progmodes/python.el (python-font-lock-keywords):
6473 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 6474
31d55be9
SM
64752011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6476
6477 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6478
3bfacb2f
KR
64792011-05-16 Kevin Ryde <user42@zip.com.au>
6480
6481 * info-look.el (makefile-automake-mode): New setups, looking in
6482 automake manual, then makefile-mode.
6483 (makefile-mode): Remove automake manual, have it just in
6484 makefile-automake-mode since there's various things different or
6485 not relevant to plain make.
6486 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6487 believe a hypothetical automake-mode would go to makefile-mode,
6488 not the other way around.
6489
c8e83751
CY
64902011-05-15 Chong Yidong <cyd@stupidchicken.com>
6491
5e9e35cd
CY
6492 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6493 hunk-end tags (Bug#8672).
6494
c8e83751
CY
6495 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6496 vc-annotate-show-diff-revision-at-line (Bug#8671).
6497
50b23e5a
GM
64982011-05-14 Glenn Morris <rgm@gnu.org>
6499
7210a739
GM
6500 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6501 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
6502 (change-log-font-lock-keywords): Also handle multiple author lines
6503 with leading tabs. (Bug#8644)
7210a739 6504
4691905a
GM
6505 * calendar/appt.el (appt-check): Rename some local variables.
6506 Some simplification/reordering.
6507
50b23e5a
GM
6508 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6509 (feedmail-sendmail-f-doesnt-sell-me-out)
6510 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6511 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6512 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
6513 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6514 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
6515 (feedmail-binmail-gnulinuxish-template):
6516 Rename from feedmail-binmail-linuxish-template.
6517 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6518 Use insert-buffer-substring.
6519
215cda7c
BC
65202011-05-14 Bill Carpenter <bill@carpenter.org>
6521
6522 * mail/feedmail.el (feedmail-patch-level): Increase.
6523 (feedmail-debug): New custom group.
6524 (feedmail-confirm-outgoing-timeout)
6525 (feedmail-sendmail-f-doesnt-sell-me-out)
6526 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6527 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6528 (feedmail-sender-line, feedmail-from-line)
6529 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 6530 (feedmail-spray-this-address)
215cda7c
BC
6531 (feedmail-spray-address-fiddle-plex-list)
6532 (feedmail-queue-use-send-time-for-date)
6533 (feedmail-queue-use-send-time-for-message-id)
6534 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6535 (feedmail-buffer-eating-function):
6536 Doc fixes.
6537 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6538 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6539 (feedmail-message-action-scroll-down): New functions.
6540 (feedmail-queue-directory, feedmail-queue-draft-directory):
6541 Use expand-file-name.
6542 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6543 Remove C-v help entry.
6544 (feedmail-queue-buffer-file-name): New variable.
6545 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6546 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6547 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6548 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6549 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6550 (feedmail-message-action-toggle-spray)
6551 (feedmail-run-the-queue-no-prompts)
6552 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6553 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6554 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6555 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6556 (feedmail-envelope-deducer, feedmail-fiddle-from)
6557 (feedmail-fiddle-sender, feedmail-default-date-generator)
6558 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6559 (feedmail-fiddle-spray-address)
6560 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6561 (feedmail-fiddle-list-of-fiddle-plexes)
6562 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6563 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6564 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6565 Change default. Doc fix.
6566 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6567 (feedmail-binmail-linuxish-template): New constant.
6568 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6569 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6570 (feedmail-send-it): Add debug call.
6571 Use feedmail-queue-buffer-file-name, and
6572 feedmail-send-it-immediately-wrapper.
6573 (feedmail-message-action-send): Add debug call.
6574 Use feedmail-send-it-immediately-wrapper.
6575 (feedmail-queue-express-to-queue): Add debug call.
6576 Run feedmail-queue-express-hook.
6577 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6578 (feedmail-message-action-help-blat):
6579 Rename from feedmail-queue-send-edit-prompt-help-first.
6580 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6581 Check line-endings. Handle errors better.
6582 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6583 Doc fix. Add debug call.
6584 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6585 Use feedmail-queue-send-edit-prompt-inner.
6586 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6587 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6588 from feedmail-queue-send-edit-prompt.
6589 (feedmail-queue-send-edit-prompt-help)
6590 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6591 (feedmail-tidy-up-slug): Add debug call.
6592 Respect feedmail-queue-slug-suspect-regexp.
6593 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6594 (feedmail-dump-message-to-queue): Add debug call.
6595 Expand queue-directory.
6596 (feedmail-dump-message-to-queue): Change message slightly.
6597 Use feedmail-say-chatter.
6598 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6599 (feedmail-send-it-immediately-wrapper): New function.
6600 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6601 Insert empty string rather than newline. Handle full-frame case.
6602 Use catch/throw. Use feedmail-say-chatter.
6603 (feedmail-fiddle-from): Try mail-host-address.
6604 (feedmail-default-message-id-generator): Doc fix.
6605 Bind system-time-locale. Handle missing end.
6606 (feedmail-fiddle-x-mailer): Add debug call.
6607 Handle feedmail-x-mailer-line being nil.
6608 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6609 Add debug call. Use buffer-substring-no-properties.
6610 (feedmail-say-debug, feedmail-say-chatter): New functions.
6611 (feedmail-find-eoh): Give an explicit error.
6612
42c7e61e
UJ
66132011-05-13 Ulf Jasper <ulf.jasper@web.de>
6614
c2571358 6615 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6616 family from helvetica to sans.
c2571358 6617 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6618 etc/images/newsticker.
6619
c2571358 6620 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6621 family from helvetica to sans.
6622
6623 * net/newst-plainview.el (newsticker-new-item-face)
6624 (newsticker-old-item-face, newsticker-immortal-item-face)
6625 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6626 (newsticker-statistics-face): Change default family from
42c7e61e 6627 helvetica to sans.
c2571358 6628 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6629 etc/images/newsticker.
6630
6631 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6632 (newsticker--process-auto-mark-filter-match): : Tell user about
6633 auto-marking.
6634
8497a297
DV
66352011-05-13 Didier Verna <didier@xemacs.org>
6636
6637 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6638 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6639 TODO entries.
8497a297
DV
6640 (lisp-lambda-list-keyword-parameter-indentation)
6641 (lisp-lambda-list-keyword-parameter-alignment)
6642 (lisp-lambda-list-keyword-alignment): New customizable user options.
6643 (lisp-indent-defun-method): Improve docstring.
6644 (extended-loop-p): Fix comment.
6645 (lisp-indent-lambda-list-keywords-regexp): New variable.
6646 (lisp-indent-lambda-list): New function.
6647 (lisp-indent-259): Use it.
6648 (lisp-indent-defmethod): Support for more than one
6649 method qualifier and properly indent methods lambda-lists.
6650 (defgeneric): Provide a missing common-lisp-indent-function property.
6651
f278f87f
SM
66522011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6653
6654 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6655 bounds for the empty string (bug#8667).
6656
5233edd7
GM
66572011-05-13 Glenn Morris <rgm@gnu.org>
6658
5237a44f
GM
6659 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6660
8340026c 6661 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6662 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6663
5233edd7 6664 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6665 (appt-time-msg-list): Doc fix.
a5464014 6666 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6667
92d10796
AS
66682011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6669
6670 * progmodes/ld-script.el (ld-script-keywords)
6671 (ld-script-builtins): Update keywords list.
6672
914a0ae1
SM
66732011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6674
c89be45f
SM
6675 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6676
914a0ae1
SM
6677 * shell.el (shell-completion-vars): New function.
6678 (shell-mode):
6679 * simple.el (read-shell-command): Use it.
6680 (blink-matching-open): No need for " [...]" in minibuffer-message.
6681
98dc3df3
GM
66822011-05-12 Glenn Morris <rgm@gnu.org>
6683
6684 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6685 (appt-check): Simplify.
6686
d2fc7e3d 66872011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6688
4d61f28d 6689 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6690 literal "/dev/null".
6691
d2fc7e3d 66922011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6693
6694 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6695 Fix typo.
6696
d2fc7e3d 66972011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6698
3f254caa
SM
6699 * progmodes/which-func.el (which-function):
6700 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6701 which might not be defined (Bug#8260).
6702
d45885f7
GM
67032011-05-12 Glenn Morris <rgm@gnu.org>
6704
6705 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6706 Let byte-compile-initial-macro-environment always take precedence.
6707
488086f4
SM
67082011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * net/rcirc.el: Add support for SSL/TLS connections.
6711 (rcirc-server-alist): New field `encryption'.
6712 (rcirc): Check `encryption' settings.
6713 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6714 Merge make-local-variable into `set'.
6715 (rcirc--connection-open-p): New function.
6716 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6717 the process is not a network process (e.g. running gnutls-cli).
6718 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6719 Make rcirc-(en|de)code-coding-system local here.
6720 (rcirc-mode): Merge make-local-variable into `set'.
6721 (rcirc-parent-buffer): Make permanent buffer-local.
6722 (rcirc-multiline-minor-mode): Don't do it here.
6723 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6724 there's no server buffer.
6725
7d3b9d44
GM
67262011-05-11 Glenn Morris <rgm@gnu.org>
6727
f64049c6
GM
6728 * newcomment.el (comment-kill): Prefix "unused" local.
6729
93c9df73
GM
6730 * term/w32console.el (get-screen-color): Declare.
6731
7d3b9d44
GM
6732 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6733 Handle symbol elements of byte-compile-initial-macro-environment.
6734
9e2dd53f
LL
67352011-05-10 Leo Liu <sdl.web@gmail.com>
6736
488086f4
SM
6737 * bookmark.el (bookmark-bmenu-mode-map):
6738 Bind bookmark-bmenu-search to `/'.
8b340240 6739
9e2dd53f 6740 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6741 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6742 (Footnote-unicode): New function.
6743 (footnote-style-alist): Add unicode style to the list.
6744 (footnote-style): Doc fix.
9e2dd53f 6745
79b70037
GM
67462011-05-10 Jim Meyering <meyering@redhat.com>
6747
6748 Fix doubled-word typos.
6749 * international/quail.el (quail-insert-kbd-layout): and and -> and
6750 * kermit.el: and and -> and
6751 * net/ldap.el (ldap-search-internal): to to -> to
6752 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6753 * progmodes/js.el (js-mode): and and -> and
6754 * textmodes/artist.el (artist-move-to-xy): at at -> at
6755 (artist-draw-region-trim-line-endings): if if -> if
6756 And Safetyc -> Safety.
6757 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6758
b8f82dc1 67592011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6760 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6761
6762 * files.el (hack-one-local-variable-eval-safep):
6763 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6764
4f99f44b
GM
67652011-05-10 Glenn Morris <rgm@gnu.org>
6766
6767 * calendar/diary-lib.el (diary-list-entries-hook)
6768 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6769 (diary-nongregorian-marking-hook, diary-list-entries)
6770 (diary-include-other-diary-files, diary-mark-entries)
6771 (diary-mark-included-diary-files): Doc fixes.
6772
84f29e6b
JB
67732011-05-09 Juanma Barranquero <lekktu@gmail.com>
6774
6775 * misc.el: Require tabulated-list.el during compilation.
6776
9bedd73a
CY
67772011-05-09 Chong Yidong <cyd@stupidchicken.com>
6778
488086f4
SM
6779 * progmodes/compile.el (compilation-start):
6780 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6781 (compilation-filter-hook): Doc fix.
6782
797c735c
DD
67832011-05-09 Deniz Dogan <deniz@dogan.se>
6784
6785 * wdired.el: Remove outdated installation comment. Fix usage
6786 comment.
6787
5f4b1dfe
JB
67882011-05-09 Juanma Barranquero <lekktu@gmail.com>
6789
6790 * misc.el: Implement new command `list-dynamic-libraries'.
6791 (list-dynamic-libraries--loaded-only-p): New variable.
6792 (list-dynamic-libraries--refresh): New function.
6793 (list-dynamic-libraries): New command.
6794
4c44026c
CY
67952011-05-09 Chong Yidong <cyd@stupidchicken.com>
6796
488086f4
SM
6797 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6798 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6799 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6800 higher priority to avoid clobbering by gnu.
6801
027f966d
CY
68022011-05-08 Chong Yidong <cyd@stupidchicken.com>
6803
6804 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6805 if the face has existing theme settings (Bug#8454).
6806
085f5d7d
CY
68072011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6808
488086f4
SM
6809 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6810 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6811
2a86a00c
RS
6812 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6813 special file names `.' and `..' (Bug#8259).
6814
d9c54a06
CY
68152011-05-08 Chong Yidong <cyd@stupidchicken.com>
6816
488086f4
SM
6817 * progmodes/grep.el (grep-mode-font-lock-keywords):
6818 Remove buffer-changing entries.
d9c54a06
CY
6819 (grep-filter): New function.
6820 (grep-mode): Add it to compilation-filter-hook.
6821
6822 * progmodes/compile.el (compilation-filter-hook)
6823 (compilation-filter-start): New defvars.
6824 (compilation-filter): Call compilation-filter-hook prior to
6825 updating the process mark.
6826
c4662635
SM
68272011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6828
6829 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6830
b0512a1d
EZ
68312011-05-07 Eli Zaretskii <eliz@gnu.org>
6832
605c9376
EZ
6833 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6834 mailclient-send-it even if window-system is nil. (Bug#8595)
6835
c4662635
SM
6836 * term/w32console.el (terminal-init-w32console):
6837 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6838 background-mode. (Bug#8597)
6839
d1dc2cc2
SM
68402011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6843 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6844 New functions.
6845 (defgeneric, eieio--defmethod): Use them.
6846 (eieio-defgeneric): Remove.
6847 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6848
915d1300
GM
68492011-05-07 Glenn Morris <rgm@gnu.org>
6850
a3961c3e
GM
6851 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6852 Use let rather than let*.
6853 (timeclock-find-discrep): Remove unused local.
6854
314347b9
GM
6855 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6856
915d1300
GM
6857 * calendar/appt.el (appt-time-msg-list): Doc fix.
6858
275b59b0
NF
68592011-05-06 Noah Friedman <friedman@splode.com>
6860
6861 * apropos.el (apropos-print-doc): Only use
6862 emacs-lisp-docstring-fill-column when it is bound to an integer,
6863 per that variable's documentation.
6864
6c19f744
SM
68652011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6868 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6869
60f884b2
GM
68702011-05-06 Glenn Morris <rgm@gnu.org>
6871
5006e634
GM
6872 * calendar/appt.el (appt-message-warning-time): Doc fix.
6873 (appt-warning-time-regexp): New option.
6874 (appt-make-list): Respect appt-message-warning-time.
6875
548d0a63
GM
6876 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6877 New options.
6878 (diary-add-to-list): Strip comments from the displayed string.
6879 (diary-mode): Set comment-start and comment-end.
6880
60f884b2
GM
6881 * vc/diff-mode.el (smerge-refine-subst): Declare.
6882 (diff-refine-hunk): Don't require smerge-mode when compiling.
6883
989681bb
JB
68842011-05-06 Juanma Barranquero <lekktu@gmail.com>
6885
6886 * simple.el (list-processes): Return nil as the docstring says.
6887
a6bc05e1
MA
68882011-05-05 Michael Albinus <michael.albinus@gmx.de>
6889
6890 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6891 to "".
6892 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6893 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6894 determining of binary transfer. (Bug#7383)
6895
23c22e9a
MA
68962011-05-05 Michael Albinus <michael.albinus@gmx.de>
6897
c4662635
SM
6898 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6899 Fix port computation bug. (Bug#8618)
23c22e9a 6900
0bff894f
GM
69012011-05-05 Glenn Morris <rgm@gnu.org>
6902
b8296902
GM
6903 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6904
1f522ce8
GM
6905 * simple.el (shell-dynamic-complete-functions)
6906 (comint-dynamic-complete-functions): Declare.
6907
cf5bee67
GM
6908 * net/network-stream.el (gnutls-negotiate):
6909 * simple.el (tabulated-list-print): Fix declarations.
6910
6911 * progmodes/gud.el (syntax-symbol, syntax-point):
6912 Remove unnecessary and incorrect declarations.
6913
0bff894f
GM
6914 * emacs-lisp/check-declare.el (check-declare-scan):
6915 Handle byte-compile-initial-macro-environment in bytecomp.el
6916
9869b3ae
SM
69172011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6918
6919 Fix earlier half-done eieio-defmethod change (bug#8338).
6920 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6921 Streamline and change calling convention.
6922 (defmethod): Adjust accordingly and simplify.
6923 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6924 new eieio--defmethod.
6925 (slot-boundp): Minor CSE simplification.
6926
9c1d5ac5
MZ
69272011-05-05 Milan Zamazal <pdm@zamazal.org>
6928
6929 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6930 (glasses-make-readable): Use glasses-separate-capital-groups.
6931
455c834e
JB
69322011-05-05 Juanma Barranquero <lekktu@gmail.com>
6933
6934 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6935 (warning-series): Doc fix.
6936 (display-warning): Don't try to create the buffer if we just found it.
6937
9ed7c8cb
CY
69382011-05-04 Chong Yidong <cyd@stupidchicken.com>
6939
6940 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6941 (autoload-find-generated-file): New function.
6942 (generate-file-autoloads): Bind generated-autoload-file to
6943 buffer-file-name.
9869b3ae
SM
6944 (update-file-autoloads, update-directory-autoloads):
6945 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6946 output file (Bug#7989).
6947 (batch-update-autoloads): Doc fix.
6948
0898ca10
JB
69492011-05-04 Juanma Barranquero <lekktu@gmail.com>
6950
6951 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6952
31dfb76c
GM
69532011-05-04 Glenn Morris <rgm@gnu.org>
6954
f330b642
GM
6955 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6956 function, so it follows changes in calendar-date-style.
6957 (diary-fancy-date-matcher): New function.
6958 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6959 (diary-fancy-font-lock-fontify-region-function):
6960 Use diary-fancy-date-pattern as a function.
6961
31dfb76c
GM
6962 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6963 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6964
48e79d6a
TZ
69652011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6966
6967 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6968 instead of positional arguments. Allow :keylist and :crlfiles
6969 arguments.
6970 (open-gnutls-stream): Call it.
6971
6972 * net/network-stream.el (network-stream-open-starttls): Adjust to
6973 call `gnutls-negotiate' with :process and :hostname arguments.
6974
dd5a5ee0
SM
69752011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6976
ef80fc09
SM
6977 * minibuffer.el (completion--message): New function.
6978 (completion--do-completion, minibuffer-complete)
6979 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6980 (completion--do-completion): Don't ignore completion-auto-help when in
6981 icomplete-mode.
6982
dd5a5ee0
SM
6983 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6984 internal encoding (e.g. tibetan zero is not whitespace).
6985 (global-whitespace-mode): Prefer save-current-buffer.
6986 (whitespace-trailing-regexp): Remove useless save-match-data.
6987 (whitespace-empty-at-bob-regexp): Minor simplification.
6988
b7d22a83
CY
69892011-05-03 Chong Yidong <cyd@stupidchicken.com>
6990
6991 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6992
5192af46
AM
69932011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6994
6995 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6996 Use `concat' to create string for insertion.
5192af46 6997
5767d190
SM
69982011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6999
7000 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
7001 Avoid open-line which runs post-self-insert-hook.
7002 (bibtex-fill-entry): Remove unused `end' var.
7003
bf242939
AM
70042011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
7005
5767d190
SM
7006 * textmodes/ispell.el (ispell-add-per-file-word-list):
7007 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 7008
25666126
LL
70092011-05-03 Leo Liu <sdl.web@gmail.com>
7010
7011 * isearch.el (isearch-yank-pop): New command.
5767d190 7012 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
7013 (isearch-forward): Mention it.
7014
52d3c2d0
SM
70152011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7016
1bcace58
SM
7017 * simple.el (minibuffer-complete-shell-command): Remove.
7018 (minibuffer-local-shell-command-map): Use completion-at-point.
7019 (read-shell-command): Setup completion vars here instead.
7020 (read-expression-map): Bind TAB to symbol completion.
7021
52d3c2d0
SM
7022 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
7023 error directly rather via storing it into `results'.
7024
35813471
LL
70252011-05-02 Leo Liu <sdl.web@gmail.com>
7026
7027 * vc/diff.el: Fix description.
7028
e793a940
LMI
70292011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7030
7031 * server.el (server-eval-at): New function.
7032
8de66e05
LMI
70332011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7034
7035 * net/network-stream.el (open-network-stream): Take a :nowait
7036 parameter and pass it on to `make-network-process'.
7037 (network-stream-open-plain): Ditto.
7038
dcb79f20
AS
70392011-04-30 Andreas Schwab <schwab@linux-m68k.org>
7040
7041 * faces.el (face-spec-set-match-display): Don't match toolkit
7042 options on terminal frames.
7043
14a7fbd8
SM
70442011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7045
7eabc1be
SM
7046 * progmodes/pascal.el: Use lexical binding.
7047 (pascal-mode-map): Remove author preferences.
7048
14a7fbd8
SM
7049 * pcomplete.el (pcomplete-std-complete): Don't abuse
7050 completion-at-point.
7051
50f84510
JB
70522011-04-28 Juanma Barranquero <lekktu@gmail.com>
7053
6e087a44
JB
7054 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7055 removing code that has been dead since 1991 or so.
7056
50f84510
JB
7057 * startup.el (command-line): When warning about "_emacs", use a
7058 delayed warning to allow the user to filter it out.
7059
0ba690bd
DD
70602011-04-28 Deniz Dogan <deniz@dogan.se>
7061
7062 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7063 user has not joined.
7064
08abfaad
SM
70652011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7068 aren't any completions at point.
7069
638f053a
JB
70702011-04-28 Juanma Barranquero <lekktu@gmail.com>
7071
7072 * subr.el (display-delayed-warnings): New function.
7073 (delayed-warnings-hook): New variable.
7074
8fff8daa
SM
70752011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7076
08abfaad
SM
7077 * minibuffer.el (completion-at-point, completion-help-at-point):
7078 Don't presume that a given completion-at-point-function will always
7079 use the same calling convention.
7080
8fff8daa
SM
7081 * pcomplete.el (pcomplete-completions-at-point):
7082 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
7083 pcomplete-seen is non-nil.
7084 (pcomplete-comint-setup): Also recognize the new comint/shell
7085 completion functions.
7086 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7087 pcomplete-seen is non-nil.
7088
841a1577 70892011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 7090
841a1577 7091 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 7092 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 7093 the first character in the entry. This allows for code to add its
211ec907
UJ
7094 own uid to the entry.
7095 (icalendar--convert-float-to-ical): Add export of
7096 `diary-float'-entries save for those with the optional DAY
7097 argument.
7098
2a782793
DC
70992011-04-27 Daniel Colascione <dan.colascione@gmail.com>
7100
7101 * subr.el (shell-quote-argument): Use alternate escaping strategy
7102 when we spot a variable reference in a string.
7103
0438ce91
DC
71042011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7105
7106 * cus-start.el (all): Define customization for debug-on-event.
7107
841a1577 71082011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
7109
7110 * subr.el (shell-quote-argument): Escape correctly under Windows.
7111
d090ed6c
SM
71122011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7115
bfd31217
MA
71162011-04-25 Michael Albinus <michael.albinus@gmx.de>
7117
d090ed6c
SM
7118 * net/tramp.el (tramp-process-actions): Add POS argument.
7119 Delete region between POS and (pos).
bfd31217 7120
d090ed6c
SM
7121 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7122 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
7123 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7124
7125 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7126 position in `tramp-process-actions' call.
7127
7128 * net/trampver.el: Update release number.
7129
e92f3bd3
SM
71302011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7131
850256b5
SM
7132 * custom.el (defcustom): Obey lexical-binding.
7133
e92f3bd3
SM
7134 Fix octave-inf completion problems reported by Alexander Klimov.
7135 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7136 Inherit from octave-mode-syntax-table.
7137 (inferior-octave-mode): Set info-lookup-mode.
7138 (inferior-octave-completion-at-point): New function.
7139 (inferior-octave-complete): Use it and completion-in-region.
7140 (inferior-octave-dynamic-complete-functions): Use it as well, and use
7141 comint-filename-completion.
7142 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7143 symbol elements which shouldn't be word elements.
7144 (octave-font-lock-keywords, octave-beginning-of-defun)
7145 (octave-function-header-regexp): Adjust regexps accordingly.
7146 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7147
cd22b309
JB
71482011-04-25 Juanma Barranquero <lekktu@gmail.com>
7149
7150 * net/gnutls.el (gnutls-errorp): Declare before first use.
7151
8b492194
TZ
71522011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7153
7154 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7155 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
7156 default trustfile exists before going to use it. Add missing
7157 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
7158 Reported by Claudio Bley <claudio.bley@gmail.com>.
7159 (open-gnutls-stream): Add usage example.
7160
7161 * net/network-stream.el (network-stream-open-starttls): Give host
7162 parameter to `gnutls-negotiate'.
7163 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 7164 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 7165
841a1577 71662011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 7167
cd22b309
JB
7168 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7169 Use correct match group (bug#8438).
05842630 7170
3ba7869c
CY
71712011-04-24 Chong Yidong <cyd@stupidchicken.com>
7172
512e3ae1
CY
7173 * emacs-lisp/package.el (package-built-in-p): Fix typo.
7174 (package-menu--generate): New arg specifying packages to show.
7175 (package-menu-refresh, package-menu-execute, list-packages):
7176 Callers changed.
7177 (package-show-package-list): New function, replacing deleted
7178 package--list-packages (renamed because it is non-internal).
7179
7180 * finder.el (finder-list-matches): Use package-show-package-list
7181 instead of deleted package--list-packages.
7182
e92f3bd3
SM
7183 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7184 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
7185 (vc-annotate-mode-map): Bind it to RET.
7186
7031be6d
UR
71872011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7188
7189 * progmodes/etags.el (next-file): Don't use set-buffer to change
7190 buffers (Bug#8478).
7191
4ef177aa
CY
71922011-04-24 Chong Yidong <cyd@stupidchicken.com>
7193
c8d173eb
CY
7194 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7195
4ef177aa
CY
7196 * apropos.el (apropos-label-face): Avoid variable-pitch face.
7197 (apropos-accumulator): Doc fix.
7198 (apropos-function, apropos-macro, apropos-command)
7199 (apropos-variable, apropos-face, apropos-group, apropos-widget)
7200 (apropos-plist): Add face property.
7201 (apropos-symbols-internal): Fix indentation.
7202 (apropos-print): Simplify help, and recognize apropos-multi-type.
7203 (apropos-print-doc): Use button-type-get to extract the button's
7204 face property. Fill docstring (Bug#8352).
7205
4ffd0d6b 72062011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
7207
7208 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7209
c6c32125 7210 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 7211 (mpuz-mode-map): Use mapc.
c6c32125
JB
7212 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7213 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7214 Fix typos in docstrings.
7215
58d468b4
JB
7216 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7217 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7218
6470c3c6
JB
7219 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7220
4ffd0d6b 72212011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
7222
7223 * minibuffer.el (completion--do-completion): Avoid the "Next char
7224 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7225
3ad8bad0
CY
7226 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7227 mouse-2 into unread-command-events, it is interpreted correctly.
7228
71d73c9c 7229 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 7230 (image-toggle-display): Doc fix.
71d73c9c 7231
841a1577 72322011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 7233
4ffd0d6b
GM
7234 * textmodes/page.el (what-page): Use line-number-at-pos to
7235 calculate line number (Bug#6825).
6e1dbaa9 7236
c2fb1b60
JB
72372011-04-22 Juanma Barranquero <lekktu@gmail.com>
7238
7239 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7240 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7241 Pass argument NO-DEFAULT to `find-tag-interactive'.
7242
e02f48d7
JB
72432011-04-22 Juanma Barranquero <lekktu@gmail.com>
7244
7245 Lexical-binding cleanup.
7246
7247 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7248 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7249 * progmodes/ada-prj.el (ada-prj-initialize-values)
7250 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7251 (ada-prj-show-value):
7252 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7253 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7254 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7255 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7256 * progmodes/bug-reference.el (bug-reference-push-button):
7257 * progmodes/fortran.el (fortran-line-length):
7258 * progmodes/glasses.el (glasses-change):
7259 * progmodes/octave-mod.el (octave-fill-paragraph):
7260 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7261 (python-pdbtrack-grub-for-buffer, python-sentinel):
7262 * progmodes/sql.el (sql-save-connection):
7263 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7264 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7265 Mark unused parameters.
7266
7267 * progmodes/compile.el (compilation--flush-directory-cache)
7268 (compilation--flush-parse, compile-internal): Mark unused parameters.
7269 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7270 (compilation-next-error-function): Remove unused variable `timestamp'.
7271
7272 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7273 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7274
7275 * progmodes/dcl-mode.el (dcl-end-of-command):
7276 Remove unused variable `start'.
7277 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7278 (dcl-option-value-basic, dcl-option-value-offset)
7279 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7280 Mark unused parameters.
7281 (dcl-save-local-variable): Remove unused variable `val'.
7282 (mode): Declare.
7283
7284 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7285 Mark unused parameters.
7286 (delphi-ignore-changes): Move before first use.
7287 (delphi-charset-token-at): Remove unused variable `start'.
7288 (delphi-else-start): Remove unused variable `if-count'.
7289 (delphi-comment-block-start, delphi-comment-block-end):
7290 Remove unused variable `kind'.
7291 (delphi-indent-line): Remove unused variable `new-point'.
7292
7293 * progmodes/ebrowse.el (ebrowse-files-list)
7294 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7295 Mark unused parameters. Don't quote `lambda'.
7296 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7297 Don't quote `lambda'.
7298 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7299 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7300 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7301 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7302 Use `ignore-errors'.
7303 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7304 (ebrowse-view/find-file-and-search-pattern)
7305 (ebrowse-view/find-member-declaration/definition):
7306 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7307 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7308 Rename parameter PREFIX-ARG to PREFIX.
7309 (ebrowse-tags-read-name): Remove unused variables `start' and
7310 `member-info'.
7311 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7312 to `tags-file'.
7313
7314 * progmodes/etags.el (local-find-tag-hook): Declare.
7315 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7316 Mark unused parameters.
7317
7318 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7319 (executable-interpret): Mark unused parameter.
7320
7321 * progmodes/flymake.el (flymake-process-sentinel)
7322 (flymake-after-change-function)
7323 (flymake-create-temp-with-folder-structure)
7324 (flymake-get-include-dirs-dot): Mark unused parameters.
7325 (flymake-safe-delete-directory): Remove unused variable `err'.
7326
7327 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7328 (speedbar-timer-fn, speedbar-line-text)
7329 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7330 (speedbar-center-buffer-smartly): Declare functions.
7331 (gdb-find-watch-expression): Remove unused variable `array'.
7332 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7333 (gdb-starting): Mark unused parameters.
7334 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7335 (gdb-table-string): Remove unused variable `res'.
7336 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7337 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7338 (gdb-display-buffer): Remove unused variable `cur-size'.
7339
7340 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7341 allow lexical-binding compilation.
7342 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7343 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7344 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7345 Mark unused parameters.
7346 (gud-gdb-marker-filter): Remove unused variable `match'.
7347 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7348 lambda expressions and funcall them, instead of using `fset'.
7349
7350 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7351 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7352
7353 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7354 variable `header-beg'; use `let'.
7355
7356 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7357 `restart', `last-sexp' and `at-do'.
7358
7359 * progmodes/js.el (js--debug): Mark unused parameter.
7360 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7361 (js--splice-into-items): Remove unused variable `item'.
7362 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7363
7364 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7365 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7366 (makefile-complete): Remove unused variable `try'.
7367 (makefile-fill-paragraph, makefile-match-function-end):
7368 Mark unused parameters.
7369
7370 * progmodes/octave-inf.el (inferior-octave-complete):
7371 Remove unused variable `proc'.
7372 (inferior-octave-output-digest): Mark unused parameter.
7373
7374 * progmodes/perl-mode.el (perl-calculate-indent):
7375 Remove unused variable `err'.
7376
7377 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7378 (prolog-indent-line): Mark unused parameters.
7379 (prolog-indent-line): Remove unused variable `beg'.
7380
7381 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7382 (reporter-dont-compact-list): Declare.
7383
7384 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7385 Remove unused variable `char'.
7386 (sh-debug): Mark unused parameter.
7387 (sh-get-indent-info): Remove unused variable `start'.
7388 (sh-calculate-indent): Remove unused variable `var'.
7389
7390 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7391 (simula-electric-keyword): Remove unused variable `null'.
7392 (simula-search-backward, simula-search-forward): Remove unused
7393 variables `begin' and `end'.
7394
7395 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7396 Remove unused variable `pos'.
7397 (vera-electric-tab, vera-comment-uncomment-region):
7398 Mark unused parameters.
7399 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7400
7ede3b65
CY
74012011-04-22 Chong Yidong <cyd@stupidchicken.com>
7402
7403 * emacs-lisp/package.el (package--builtins, package-alist)
7404 (package-load-descriptor, package-built-in-p, package-activate)
7405 (define-package, package-installed-p)
7406 (package-compute-transaction, package-buffer-info)
7407 (package--push): Doc fix. Distinguish more clearly between
7408 version strings and version lists.
7409
121656e9
JB
74102011-04-21 Juanma Barranquero <lekktu@gmail.com>
7411
7412 Lexical-binding cleanup.
7413
7414 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7415 (5x5-make-mutate-best):
7416 * play/fortune.el (fortune-in-buffer):
7417 * play/gomoku.el (gomoku-init-display):
7418 * play/solitaire.el (solitaire, solitaire-do-check):
7419 * play/tetris.el (tetris-default-update-speed-function):
7420 Mark unused parameters.
7421
7422 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7423 (bubbles--shift): Remove unused variable `char-org'.
7424 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7425 (bubbles--show-images): Remove unused variable `char'.
7426
7427 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7428 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7429 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7430 (decipher-analyze-buffer): Use ?\s.
7431 (decipher-make-checkpoint): Remove unused variable `mapping'.
7432
7433 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7434
7435 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7436 Remove unused variable `result'; use `let'.
7437
7438 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7439 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7440 (gametree-children-shown-p, gametree-compute-reduced-score):
7441 Use `ignore-errors'.
7442
7443 * play/handwrite.el (ps-lpr-switches): Declare.
7444 (handwrite): Remove unused variables `pmin' and `lastp'.
7445
7446 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7447
7448 * play/landmark.el (landmark-init-display)
7449 (landmark-update-naught-weights): Mark unused parameters.
7450 (landmark-y): Remove unused variable `noise'. Simplify.
7451 (landmark-human-plays): Remove unused variable `score'.
7452
7453 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7454 (mpuz-try-proposal): Remove unused variable `game'.
7455
7456 * play/zone.el (life-patterns): Declare.
7457
80f499c7
JB
74582011-04-20 Juanma Barranquero <lekktu@gmail.com>
7459
7460 * vc/vc.el (ediff-vc-internal): Declare function.
7461
024ff170
SM
74622011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7463
c0a193ea
SM
7464 * shell.el: Use lexical-binding and std completion UI.
7465 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7466 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7467 comint-preoutput-filter-functions rather than on
7468 comint-output-filter-functions.
7469 (shell-command-completion, shell--command-completion-data)
7470 (shell-filename-completion, shell-environment-variable-completion)
7471 (shell-c-a-p-replace-by-expanded-directory): New functions.
7472 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7473 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7474 (shell-dynamic-complete-environment-variable): Use them.
7475 (shell-dynamic-complete-as-environment-variable)
7476 (shell-dynamic-complete-as-command): Remove.
7477 (shell-match-partial-variable): Match past point.
7478 * comint.el: Clean up use of completion-at-point-functions.
7479 (comint-completion-at-point): New function.
7480 (comint-mode): Use it completion-at-point-functions.
7481 (comint-dynamic-complete): Make it obsolete.
7482 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7483 (comint-c-a-p-replace-by-expanded-history): New function.
7484 (comint-dynamic-complete-functions)
7485 (comint-replace-by-expanded-history): Use it.
7486 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7487 termination strings. Try harder to avoid second try-completion.
7488 (completion-in-region-mode-map): Disable bindings that don't work yet.
7489
2dbaa080
SM
7490 * comint.el: Use lexical-binding. Require CL.
7491 (comint-dynamic-complete-functions): Use comint-filename-completion.
7492 (comint-completion-addsuffix): Tweak custom type.
7493 (comint-filename-completion, comint--common-suffix)
7494 (comint--common-quoted-suffix, comint--table-subvert)
7495 (comint--complete-file-name-data): New functions.
7496 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7497 (comint-dynamic-list-filename-completions): Use them.
7498 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 7499
2dbaa080
SM
7500 * minibuffer.el (completion-in-region-mode):
7501 Keep completion-in-region-mode--predicate global.
7502 (completion-in-region--postch):
7503 Assume completion-in-region-mode--predicate is not null.
7504
c79a6f38
SM
7505 * progmodes/flymake.el (flymake-start-syntax-check-process):
7506 Obey `dir'. Simplify.
7507
024ff170
SM
7508 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7509 we're in VC after all.
7510
1c6c854e
CS
75112011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7512
7513 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 7514 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
7515 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7516
bed7f140
SM
75172011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7518
332e62ab
SM
7519 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7520 add sanity check.
7521
bed7f140
SM
7522 * obsolete/erc-hecomplete.el: Make obsolete.
7523 * obsolete/: Standardize obsolescence info in the header.
7524
f195c582
GM
75252011-04-20 Glenn Morris <rgm@gnu.org>
7526
7527 * calendar/solar.el (solar-horizontal-coordinates):
7528 Use the longitude argument rather than `calendar-longitude'.
7529 (solar-date-next-longitude): Remove unused locals.
7530
cb79b8c0
VJL
75312011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7532
7533 * whitespace.el: New version 13.2.1.
7534
75352011-04-20 felix <EmacsWiki> (tiny change)
7536
d8e4b68b 7537 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
7538 switching between major modes on a file.
7539
602ea69d
SM
75402011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7541
7542 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7543 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7544 multi-line comments as well.
7545
06b60517
JB
75462011-04-19 Juanma Barranquero <lekktu@gmail.com>
7547
7548 Lexical-binding cleanup.
7549
7550 * arc-mode.el (archive-mode-revert):
7551 * cmuscheme.el (scheme-interactively-start-process):
7552 * custom.el (custom-initialize-delay):
7553 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7554 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7555 * emacs-lock.el (emacs-lock-clear-sentinel):
7556 * ezimage.el (defezimage):
7557 * follow.el (follow-avoid-tail-recenter):
7558 * fringe.el (set-fringe-mode-1):
7559 * generic-x.el (bat-generic-mode-compile):
7560 * help-mode.el (help-info-variable, help-do-xref)
7561 (help-mode-revert-buffer):
7562 * help.el (view-emacs-todo):
7563 * iswitchb.el (iswitchb-completion-help):
7564 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7565 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7566 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7567 * locate.el (locate-update):
7568 * longlines.el (longlines-encode-region)
7569 (longlines-after-change-function):
7570 * outline.el (outline-isearch-open-invisible):
7571 * ps-def.el (declare-function, charset-dimension, char-width)
7572 (encode-char):
7573 * ps-mule.el (ps-mule-plot-string):
7574 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7575 (recentf-edit-list-select, recentf-edit-list-validate)
7576 (recentf-open-files-action):
7577 * rect.el (delete-whitespace-rectangle-line)
7578 (rectangle-number-line-callback):
7579 * register.el (window-configuration-to-register)
7580 (frame-configuration-to-register):
7581 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7582 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7583 (xselect-convert-to-targets, xselect-convert-to-delete)
7584 (xselect-convert-to-filename, xselect-convert-to-charpos)
7585 (xselect-convert-to-lineno, xselect-convert-to-colno)
7586 (xselect-convert-to-os, xselect-convert-to-host)
7587 (xselect-convert-to-user, xselect-convert-to-class)
7588 (xselect-convert-to-name, xselect-convert-to-integer)
7589 (xselect-convert-to-atom, xselect-convert-to-identity):
7590 * subr.el (declare, ignore, process-kill-without-query)
7591 (text-clone-maintain):
7592 * terminal.el (te-get-char, te-tic-sentinel):
7593 * tool-bar.el (tool-bar-make-keymap):
7594 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7595 * type-break.el (type-break-mode, type-break-noninteractive-query):
7596 * view.el (View-back-to-mark):
7597 * wid-browse.el (widget-browse-action, widget-browse-widget)
7598 (widget-browse-widgets, widget-browse-sexp):
7599 * widget.el (define-widget-keywords):
7600 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7601 Mark unused parameters.
7602
7603 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7604 (align-areas): Remove unused variable `look'.
7605 (align-region): Remove unused variables `real-end' and `pos-list'.
7606
7607 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7608
7609 * bindings.el (mode-line-modified, mode-line-remote):
7610 Mark unused parameters.
7611 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7612
7613 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7614 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7615
7616 * comint.el (comint-history-isearch-pop-state)
7617 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7618 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7619 (comint-substitute-in-file-name): Doc fix.
7620
7621 * completion.el (cmpl-statistics-block): Mark unused parameter.
7622 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7623 (save-completions-to-file, load-completions-from-file):
7624 Remove unused local variable `e'.
7625
7626 * composite.el (compose-chars): Remove unused variable `len'.
7627 (lgstring-insert-glyph): Remove unused variable `g'.
7628 (compose-glyph-string): Remove unused variables `ascent',
7629 `descent', `lbearing' and `rbearing'.
7630 (compose-glyph-string-relative): Remove unused variables
7631 `lbearing', `rbearing' and `wadjust'.
7632 (compose-gstring-for-graphic): Remove unused variables `header',
7633 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7634 (compose-gstring-for-terminal): Remove unused variables `header'
7635 and `nchars'. Use `let', not `let*'.
7636
7637 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7638 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7639 (Custom-buffer-done, custom-buffer-create-internal)
7640 (custom-browse-visibility-action, custom-browse-group-tag-action)
7641 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7642 (widget-magic-mouse-down-action, custom-toggle-parent)
7643 (custom-add-parent-links, custom-toggle-hide-variable)
7644 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7645 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7646 (custom-face-menu-create, custom-variable-menu-create, get)
7647 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7648 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7649 (customize-apropos): Remove unused variable `tests'.
7650 (custom-group-value-create): Remove unused variable `hidden-p'.
7651 (sort-fold-case): Declare.
7652
7653 * cus-theme.el (custom-reset-standard-faces-list)
7654 (custom-reset-standard-variables-list): Declare.
7655 (customize-create-theme, custom-theme-revert, custom-theme-write)
7656 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7657 Mark unused parameters.
7658
7659 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7660
7661 * delim-col.el (delimit-columns-max): Move defvar before first use.
7662
7663 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7664 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7665
7666 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7667 (auto-insert): Declare.
7668 (desktop-restore-file-buffer): Rename desktop-* parameters;
7669 mark unused ones.
7670 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7671 (desktop-buffer): Rename desktop-* parameters.
7672
7673 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7674 (dframe-reposition-frame-xemacs, dframe-help-echo)
7675 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7676 Mark unused parameters.
7677
7678 * dired-aux.el (backup-extract-version-start, overwrite-query)
7679 (overwrite-backup-query, rename-regexp-query)
7680 (rename-non-directory-query): Declare.
7681 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7682 (dired-add-entry): Remove unused variable `orig-file-name'.
7683 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7684 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7685 `dired-copy-preserve-time' directly.
7686 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7687 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7688
7689 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7690 (dired-virtual-revert, dired-make-relative-symlink):
7691 Mark unused parameters.
7692 (manual-program): Declare.
7693 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7694 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7695 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7696
7697 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7698
7699 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7700
7701 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7702 Declare.
7703
7704 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7705
7706 * electric.el (Electric-command-loop): Rename parameter
7707 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7708
7709 * expand.el (expand-in-literal): Remove unused variable `here'.
7710
7711 * facemenu.el (facemenu-add-new-color):
7712 Remove unused variable `docstring'.
7713
7714 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7715 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7716 (face-attr-construct): Mark unused parameter. Doc fix.
7717 (read-color): Remove unused variable `hex-string'.
7718
7719 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7720 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7721 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7722 (display-buffer-other-frame): Remove unused variable `old-window'.
7723 (kill-buffer-hook): Declare.
7724 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7725 Mark unused parameters.
7726 (after-find-file): Pass 1 to `auto-save-mode', not t.
7727
7728 * files-x.el (auto-insert): Declare.
7729 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7730
7731 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7732 variable `buf'. Mark unused parameter.
06b60517
JB
7733 (find-lisp-insert-directory): Mark unused parameter.
7734
7735 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7736 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7737 (format-common-tail): Remove, unused.
7738 (format-deannotate-region): Remove unused variable `loc'.
7739 (format-annotate-region): Remove unused variable `p'.
7740 (format-annotate-single-property-change): Remove unused variables
7741 `default' and `tail'.
7742
7743 * forms.el (read-file-filter): Declare.
7744 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7745
7746 * frame.el (frame-creation-function-alist): Mark unused parameter.
7747 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7748
7749 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7750 Remove unused parameters.
7751 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7752 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7753
7754 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7755 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7756 (hfy-prepare-tag-map): Mark unused parameters.
7757 (htmlfontify-buffer): Use `called-interactively-p'.
7758
7759 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7760 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7761 (ibuffer-do-occur): Mark unused parameters.
7762 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7763 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7764
7765 * ibuffer.el: Don't quote `lambda'.
7766 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7767 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7768 Mark unused parameters.
7769
7770 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7771 (ido-completing-read): Mark unused parameters.
7772 (ido-copy-current-word): Mark unused parameters;
7773 remove unused variable `name'.
7774 (ido-sort-merged-list): Remove unused parameter `dirs'.
7775
7776 * ielm.el (ielm-input-sender): Mark unused parameter.
7777 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7778 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7779 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7780 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7781 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7782
7783 * image-dired.el (image-dired-display-thumbs): Remove unused
7784 variables `curr-file' and `count'.
7785 (image-dired-remove-tag): Remove unused variable `start'.
7786 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7787 variable `curr-file'
7788 (image-dired-rotate-original): Remove unused variable `temp-file'.
7789 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7790 Remove unused variable `file'.
7791 (image-dired-gallery-generate): Remove unused variable `curr'.
7792 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7793
7794 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7795
7796 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7797
7798 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7799
7800 * isearch.el (minibuffer-history-symbol): Declare.
7801 (isearch-edit-string): Remove unused variable `err'.
7802 (isearch-message-prefix, isearch-message-suffix):
7803 Mark unused parameters.
7804
7805 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7806
7807 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7808
7809 * makesum.el (double-column): Remove unused variable `cnt'.
7810
7811 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7812 (ido-ignore-item-temp-list): Declare.
7813
7814 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7815 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7816 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7817 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7818 `mouse-col-delta'.
7819
7820 * mouse-sel.el (mouse-extend-internal):
7821 Remove unused variable `orig-window-frame'.
7822
7823 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7824 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7825 Move declarations before first use.
7826 (pcomplete-opt): Mark unused parameters; doc fix.
7827
7828 * proced.el (proced-revert): Mark unused parameter.
7829 (proced-send-signal): Remove unused variable `err'.
7830
7831 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7832 Rename parameter PREFIX-ARG to ARG.
7833 (ps-basic-plot-string, ps-basic-plot-whitespace):
7834 Mark unused parameters.
7835
7836 * replace.el (replace-count): Define.
7837 (occur-revert-function): Mark unused parameters.
7838 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7839 (isearch-case-fold-search, isearch-string): Declare.
7840 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7841 bind `case-fold-search'. Remove unused variables `beg' and `end',
7842 and simplify.
7843 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7844 COUNT and bind `replace-count'.
7845 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7846 to COUNT.
7847
7848 * savehist.el (print-readably, print-string-length): Declare.
7849
7850 * shadowfile.el (shadow-expand-cluster-in-file-name):
7851 Remove unused variable `cluster'.
7852 (shadow-copy-file): Remove unused variable `i'.
7853 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7854 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7855 (shadow-define-literal-group, shadow-define-regexp-group)
7856 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7857
7858 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7859 (shell): Use `called-interactively-p'.
7860 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7861
7862 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7863 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7864 (delete-backward-char): Remove unused variable `ocol'.
7865 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7866 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7867 (event-apply-hyper-modifier, event-apply-shift-modifier)
7868 (event-apply-control-modifier, event-apply-meta-modifier):
7869 Mark unused parameters.
7870 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7871 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7872
7873 * speedbar.el (speedbar-ignored-directory-expressions)
7874 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7875 (speedbar-find-file, speedbar-dir-follow)
7876 (speedbar-directory-buttons-follow, speedbar-tag-find)
7877 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7878 (speedbar-buffers-line-directory, speedbar-buffer-click):
7879 Mark unused parameters.
7880 (speedbar-tag-file): Remove unused variable `mode'.
7881 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7882
7883 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7884
7885 * talk.el (talk): Remove unused variable `display'.
7886
7887 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7888 (tar-write-region-annotate): Mark unused parameter.
7889
7890 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7891 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7892 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7893 warning by another.
7894
7895 * time-stamp.el (time-stamp-string-preprocess):
7896 Remove unused variable `require-padding'.
7897
7898 * tree-widget.el (widget-glyph-enable): Declare.
7899 (tree-widget-action): Mark unused parameter.
7900
7901 * w32-fns.el (x-get-selection): Mark unused parameter.
7902 (autoload-make-program, generated-autoload-file): Declare.
7903
7904 * wdired.el (wdired-revert): Mark unused parameters.
7905 (wdired-xcase-word): Remove unused variable `err'.
7906
7907 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7908 (whitespace-help-scroll): Remove unused variable `data-help'.
7909
7910 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7911 (widget-image-insert, widget-after-change, default)
7912 (widget-default-format-handler, widget-default-notify)
7913 (widget-default-prompt-value, widget-info-link-action)
7914 (widget-url-link-action, widget-function-link-action)
7915 (widget-variable-link-action, widget-file-link-action)
7916 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7917 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7918 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7919 (widget-insert-button-action, widget-delete-button-action, visibility)
7920 (widget-documentation-link-action, widget-documentation-string-action)
7921 (widget-const-prompt-value, widget-regexp-match, symbol)
7922 (widget-coding-system-prompt-value)
7923 (widget-key-sequence-value-to-external, sexp)
7924 (widget-sexp-value-to-internal, character, vector, cons)
7925 (widget-choice-prompt-value, widget-boolean-prompt-value)
7926 (widget-color--choose-action): Mark unused parameters.
7927 (widget-item-match-inline, widget-choice-match-inline)
7928 (widget-checklist-match, widget-checklist-match-inline)
7929 (widget-group-match): Rename parameter VALUES to VALS.
7930 (widget-field-value-set): Remove unused variable `size'.
7931 (widget-color-action): Remove unused variables `value' and `start'.
7932
7933 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7934 variable `dir'. Doc fix.
06b60517
JB
7935 (windmove-find-other-window): Don't pass it.
7936
7937 * window.el (count-windows): Mark unused parameter.
7938 (bw-adjust-window): Remove unused variable `err'.
7939
7940 * woman.el (woman-file-name): Remove unused variable `default'.
7941 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7942 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7943 (global-font-lock-mode): Declare.
7944 (woman-decode-region): Mark unused parameter.
7945 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7946
7947 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7948 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7949 (x-dnd-handle-moz-url): Remove unused variable `title'.
7950 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7951
7952 * xml.el (xml-parse-tag, xml-parse-attlist):
7953 Remove unused variable `pos'.
7954
bc4f7f3d
GM
79552011-04-19 Glenn Morris <rgm@gnu.org>
7956
7957 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7958 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7959 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7960 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7961 * calendar/cal-html.el (cal-html-insert-minical):
7962 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7963 (calendar-mark-date-pattern):
7964 Prefix "unused" locals.
7965
7966 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7967 optional argument `style'.
7968
7969 * calendar/appt.el (appt-make-list):
7970 * calendar/cal-china.el (calendar-chinese-date-string):
7971 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7972 (diary-hebrew-yahrzeit):
7973 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7974 * calendar/calendar.el (calendar-generate-window):
7975 * calendar/time-date.el (time-to-days):
7976 Remove unused local variables.
7977
16a43933
CY
79782011-04-18 Chong Yidong <cyd@stupidchicken.com>
7979
7980 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7981 glyphless-char-display table.
7982 (tabulated-list-glyphless-char-display): New var.
7983
7eed1860
SS
79842011-04-18 Sam Steingold <sds@gnu.org>
7985
7986 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7987 to acknowledgments.
7988
4d2d1ccd
GM
79892011-04-17 Glenn Morris <rgm@gnu.org>
7990
7991 * calendar/diary-lib.el (diary-sexp-entry):
7992 * calendar/holidays.el (holiday-sexp):
7993 Set debug-on-error rather than the removed stack-trace-on-error.
7994
239da61d
GM
79952011-04-16 Glenn Morris <rgm@gnu.org>
7996
7997 * progmodes/f90.el: Use lexical-binding.
7998 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7999
8b05752a
SM
80002011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8001
daca8ba5
SM
8002 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
8003 (mail-mode): Setup mailalias completion here instead.
8004 * mail/mailalias.el: Use lexical-binding.
8005 (pattern, mailalias-done): Declare dynamic.
8006 (mail-completion-at-point-function): New function, from mail-complete.
8007 (mail-complete): Use it.
8008 (mail-completion-expand): New function.
8009 (mail-get-names): Use it.
8010 (mail-directory, mail-directory-process, mail-directory-stream):
8011 Don't use `pattern' for lexically bound arg.
8012
6f542485
SM
8013 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
8014
037e7c3f
SM
8015 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
8016 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
8017 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
8018
8b05752a
SM
8019 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
8020 (byte-save-window-excursion, byte-temp-output-buffer-setup)
8021 (byte-interactive-p): Define them again, for use when inlining
8022 old code.
8023
49093f60
JB
80242011-04-15 Juanma Barranquero <lekktu@gmail.com>
8025
8026 * loadup.el: Use `string-to-number', not `string-to-int'.
8027
b5b8e7de
SM
80282011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8029
8030 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8031 gud-gdb-complete-command.
8032 (gud-gdb-completions): New function, from gud-gdb-complete-command.
8033 (gud-gdb-completion-at-point): New function.
8034 (gud-gdb-completions): Remove.
8035
f42efeb5
MA
80362011-04-14 Michael Albinus <michael.albinus@gmx.de>
8037
49093f60
JB
8038 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8039 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
8040 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8041 whether `executable-find' is bound.
f42efeb5
MA
8042
8043 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8044
e240cc21
SM
80452011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8046
8047 * minibuffer.el (completion-in-region-mode-predicate)
8048 (completion-in-region-mode--predicate): New vars.
8049 (completion-in-region, completion-in-region--postch)
8050 (completion-in-region-mode): Use them.
8051 (completion--capf-wrapper): Also return the hook function.
8052 (completion-at-point, completion-help-at-point):
8053 Adjust and provide a predicate.
c2bd2ab0
SM
8054
8055 Preserve arg names for advice of subr and lexical functions (bug#8457).
8056 * help-fns.el (help-function-arglist): Consolidate the subr and
8057 new-byte-code cases. Add argument `preserve-names' to extract names
8058 from the docstring when needed.
8059 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8060 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8061 (ad-arglist): Use help-function-arglist's new arg.
8062 (ad-definition-type): Use cond.
8063
c183f693
JB
80642011-04-13 Juanma Barranquero <lekktu@gmail.com>
8065
06641a47
JB
8066 * autorevert.el (auto-revert-handler):
8067 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8068 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8069 Don't quote lambda.
8070
c183f693
JB
8071 * image-mode.el (image-transform-set-scale):
8072 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8073
1e3b6001
G
80742011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8075
8076 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 8077 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
8078 Upgrades via gnutls-cli are too slow to be done opportunistically.
8079
2d6af8dd
JB
80802011-04-12 Juanma Barranquero <lekktu@gmail.com>
8081
8082 * dframe.el (dframe-current-frame): Remove spurious quote.
8083
c0749a51
GM
80842011-04-12 Glenn Morris <rgm@gnu.org>
8085
088d0d61
GM
8086 * calendar/cal-tex.el (cal-tex-end-document):
8087 Try to automatically use latin1 input if needed.
8088
c0749a51
GM
8089 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8090 Don't try to cons a mark onto an empty element.
8091
5c90fde0
LL
80922011-04-11 Leo Liu <sdl.web@gmail.com>
8093
8094 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8095 buffers.
8096 (ido-kill-buffer-at-head): Support killing virtual buffers.
8097
369e974d
CY
80982011-04-10 Chong Yidong <cyd@stupidchicken.com>
8099
8100 * minibuffer.el (completion-show-inline-help): New var.
8101 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
8102 (minibuffer-force-complete, minibuffer-complete-word):
8103 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
8104
8105 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8106 to avoid interference from inline help (Bug#5849).
8107
37f1c930
LL
81082011-04-10 Leo Liu <sdl.web@gmail.com>
8109
099c39a4
JB
8110 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8111 Fix typo.
37f1c930 8112
a32d4040
CY
81132011-04-09 Chong Yidong <cyd@stupidchicken.com>
8114
8115 * image-mode.el (image-toggle-display-image): Signal an error if
8116 not in Image mode.
8117 (image-transform-mode, image-transform-resize)
8118 (image-transform-set-rotation): Doc fix.
daca8ba5 8119 (image-transform-set-resize): Delete.
a32d4040
CY
8120 (image-transform-set-scale, image-transform-fit-to-height)
8121 (image-transform-fit-to-width): Handle image-toggle-display-image
8122 and image-transform-resize directly.
8123
099c39a4 81242011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
8125
8126 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
8127 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8128 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
8129 (doc-view-mode-map): Add bindings for the new functions.
8130
099c39a4 81312011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 8132
4d61f28d 8133 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
8134 Fix typo in docstring.
8135
3726838a
EZ
81362011-04-08 Eli Zaretskii <eliz@gnu.org>
8137
04f33f1e
EZ
8138 * files.el (file-size-human-readable): Produce one digit after
8139 decimal, like "ls -lh" does.
8140
8141 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8142 the file size representation.
8143
3726838a
EZ
8144 * simple.el (list-processes): If async subprocesses are not
8145 available, error out with a clear error message.
8146
cbb59342
CY
81472011-04-08 Chong Yidong <cyd@stupidchicken.com>
8148
8149 * help.el (help-form-show): New function, to be called from C.
8150 Put help-form output in a buffer named differently than *Help*.
8151
e3971c44
EZ
81522011-04-08 Eli Zaretskii <eliz@gnu.org>
8153
8154 * files.el (file-size-human-readable): New function.
8155
8156 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8157 computing the representation inline. Don't require `cl'.
8158
12544bbe
GM
81592011-04-08 Glenn Morris <rgm@gnu.org>
8160
a1de6c6a
GM
8161 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8162
3c4671f4
GM
8163 * net/browse-url.el (browse-url-firefox):
8164 Test system-type, not system-configuration.
8165
b605679c
GM
8166 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8167 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8168 Use log-edit-empty-buffer-p. (Bug#7598)
8169
56442f0c
GM
8170 * net/rlogin.el (rlogin-process-connection-type): Simplify.
8171 (rlogin-mode-map): Initialize in the defvar.
8172 (rlogin): Use ignore-errors.
8173
12544bbe
GM
8174 * replace.el (occur-mode-map): Some fixes for menu items.
8175
eb237b0f
AH
81762011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8177
8178 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
8179
7d668f2c
CY
81802011-04-06 Chong Yidong <cyd@stupidchicken.com>
8181
e67a13ab
CY
8182 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8183 issuing unused warnings.
8184
8185 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8186 macro directly.
8187
7d668f2c
CY
8188 * simple.el: Lisp reimplement of list-processes. Based on an
8189 earlier reimplementation by Leo Liu, but using tabulated-list.el.
8190 (process-menu-mode): New major mode.
8191 (list-processes--refresh, list-processes):
8192 (process-menu-visit-buffer): New functions.
8193
8194 * files.el (save-buffers-kill-emacs): Don't assume any return
8195 value of list-processes, which is undocumented anyway.
8196
a83ec3c9
CY
81972011-04-06 Chong Yidong <cyd@stupidchicken.com>
8198
8199 * emacs-lisp/tabulated-list.el: New file.
8200
e91a96fe
CY
8201 * emacs-lisp/package.el: Use Tabulated List mode.
8202 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8203 (package-menu-mode): Derive from tabulated-list-mode. Set up the
8204 table format using Tabulated List mode variables.
8205 (package--push): New macro, replacing package-list-maybe-add.
8206 (package-menu--generate): Use package--push. Renamed from
8207 package--generate-package-list.
8208 (package-menu-refresh, list-packages): Use it.
daca8ba5 8209 (package-menu--print-info): Rename from package-print-package.
e91a96fe 8210 Return insertion data instead of inserting it directly.
099c39a4
JB
8211 (package-menu-describe-package, package-menu-execute):
8212 Use tabulated-list-get-id.
e91a96fe
CY
8213 (package-menu-mark-delete, package-menu-mark-install)
8214 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
8215 (package-menu-mark-obsolete-for-deletion):
8216 Use tabulated-list-put-tag.
e91a96fe
CY
8217 (package--list-packages, package-menu-revert)
8218 (package-menu-get-package, package-menu-get-version)
8219 (package-menu-sort-by-column): Functions deleted.
8220 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8221 (package-menu--status-predicate, package-menu--version-predicate)
8222 (package-menu--name-predicate)
8223 (package-menu--description-predicate): Handle arguments in the
8224 Tabulated List format.
8225 (package-list-packages-no-fetch): Call list-packages.
8226
3e214b50
JB
82272011-04-06 Juanma Barranquero <lekktu@gmail.com>
8228
8229 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 8230 (after-find-file): Don't bind it.
3e214b50
JB
8231 (revert-buffer-in-progress-p): New variable.
8232 (revert-buffer): Bind it.
8233 Pass nil for `after-find-file-from-revert-buffer'.
8234
8235 * saveplace.el (save-place-find-file-hook): Use new variable
8236 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8237
3f0f1700
GM
82382011-04-06 Glenn Morris <rgm@gnu.org>
8239
c0274801
GM
8240 * Makefile.in (AUTOGEN_VCS): New variable.
8241 (autoloads): Use $AUTOGEN_VCS.
8242
3f0f1700
GM
8243 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8244 * calendar/calendar.el (calendar-mode-map):
8245 Check for toolkit scroll bars. (Bug#8305)
8246
41ea9e48
CY
82472011-04-05 Chong Yidong <cyd@stupidchicken.com>
8248
8249 * minibuffer.el (completion-in-region--postch)
8250 (completion-in-region-mode): Remove unnecessary messages.
8251
6194c800
JB
82522011-04-05 Juanma Barranquero <lekktu@gmail.com>
8253
33256f14
JB
8254 * font-lock.el (font-lock-refresh-defaults):
8255 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8256 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8257
6194c800
JB
8258 * info.el (Info-directory-list, Info-read-node-name-2)
8259 (Info-split-parameter-string): Doc fixes.
8260 (Info-virtual-nodes): Reflow docstring.
8261 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8262 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8263 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8264 Fix typos in docstrings.
8265 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8266 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8267 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8268 (Info-restore-desktop-buffer): Mark unused parameters.
8269 (Info-directory-find-file, Info-directory-find-node)
8270 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8271 (Info-virtual-index-find-node, Info-apropos-find-file)
8272 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 8273 Mark unused parameters; fix typos in docstrings.
6194c800
JB
8274 (Info-virtual-index): Remove unused local variable `nodename'.
8275
b87a8200 82762011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 8277
b87a8200
DD
8278 * net/rcirc.el: Update my e-mail address.
8279 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 8280
3b2ff876
CY
82812011-04-05 Chong Yidong <cyd@stupidchicken.com>
8282
8283 * startup.el (command-line): Save the cursor's theme-face
8284 directly, instead of using face-override-spec.
8285
8286 * custom.el (load-theme): Minor optimization in assigning faces.
8287
8d17e7ca
JB
82882011-04-04 Juanma Barranquero <lekktu@gmail.com>
8289
8290 * help-fns.el (describe-variable): Complete all variables having
8291 documentation, including keywords.
8292 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8293
2fbc1934
JB
82942011-04-04 Juanma Barranquero <lekktu@gmail.com>
8295
8296 Convert to lexical-binding.
8297
8298 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8299 (bs--get-marked-string, bs--get-modified-string)
8300 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8301 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8302 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8303
8304 * ehelp.el (electric-help-execute-extended)
8305 (electric-help-ctrl-x-prefix):
8306 * hexl.el (hexl-revert-buffer-function):
8307 * linum.el (linum-after-change, linum-after-scroll):
8308 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8309
8310 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8311
74f50695
DU
83122011-04-04 Daiki Ueno <ueno@unixuser.org>
8313
8314 * epa-dired.el:
8315 * epa-mail.el:
8316 * epa-hook.el:
8317 * epa-file.el:
8318 * epa.el:
8319 * epg.el: Use lexical binding.
8320
c11325f7
CY
83212011-04-03 Chong Yidong <cyd@stupidchicken.com>
8322
0d9e9a12
CY
8323 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8324
c11325f7 8325 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
8326 dictionary case for flyspell-mark-duplications-exceptions.
8327 Use regexp matching for languages.
c11325f7
CY
8328 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8329 default dictionary (Bug#7926).
8330
da91b5f2
CY
83312011-04-02 Chong Yidong <cyd@stupidchicken.com>
8332
099c39a4
JB
8333 * emacs-lisp/package.el (package--with-work-buffer):
8334 Recognize https URLs.
da91b5f2 8335
099c39a4
JB
8336 * net/network-stream.el: Move from gnus/proto-stream.el.
8337 Change prefix to network-stream throughout.
da91b5f2
CY
8338 (open-protocol-stream): Merge into open-network-stream, leaving
8339 open-protocol-stream as an alias. Handle nil BUFFER args.
8340
8341 * subr.el (open-network-stream): Move to net/network-stream.el.
8342
afa8e9f6
GM
83432011-04-02 Glenn Morris <rgm@gnu.org>
8344
1d2e369d
GM
8345 * find-dired.el (find-exec-terminator): New option.
8346 (find-ls-option): Test for -ls support.
8347 (find-ls-subdir-switches): Test for -b in find-ls-option.
8348 (find-dired, find-grep-dired): Doc fixes.
8349 (find-dired): Use find-exec-terminator.
8350
8abb7da8 8351 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
8352 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8353 (find-name-arg): Remove purecopy.
8abb7da8 8354
f3ca7378
GM
8355 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8356 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8357 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8358 accordingly. Don't add the null-device if not needed.
8359
afa8e9f6
GM
8360 * files.el (save-some-buffers): Doc fix.
8361
35eae264
EZ
83622011-04-02 Eli Zaretskii <eliz@gnu.org>
8363
8364 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8365
26b51db5
JB
83662011-04-01 Juanma Barranquero <lekktu@gmail.com>
8367
8368 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8369 Use `dolist' rather than `mapcar'.
8370
7200d79c
SM
83712011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8372
03408648 8373 Add lexical binding.
7200d79c 8374
03408648
SM
8375 * subr.el (apply-partially): Use new closures rather than CL.
8376 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8377 (dolist, dotimes): Use slightly different expansion for lexical code.
8378 (functionp): Move to C.
8379 (letrec): New macro.
8380 (with-wrapper-hook): Use it and apply-partially instead of CL.
8381 (eval-after-load): Preserve lexical-binding.
8382 (save-window-excursion, with-output-to-temp-buffer): Turn them
8383 into macros.
7200d79c 8384
03408648
SM
8385 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8386
8387 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8388 than the arglist.
8389 (help-add-fundoc-usage): Don't add `Not documented'.
8390 (help-function-arglist): Handle closures, subroutines, and new
8391 byte-code-functions.
8392 (help-make-usage): Remove leading underscores.
8393 (describe-function-1): Handle closures.
8394 (describe-variable): Use special-variable-p for completion.
8395
8396 * files.el (lexical-binding): Declare safe.
f488fb65 8397
03408648
SM
8398 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8399 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8400 (pcase): Add `let' pattern.
8401 Change memoization so it actually works.
8402 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8403 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8404 <let>: New case.
f488fb65 8405
03408648
SM
8406 * emacs-lisp/macroexp.el: Use lexical binding.
8407 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8408 Don't convert ' to #' without checking that it's indeed quoting
8409 a lambda.
8410
8411 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 8412 Use eval-sexp-add-defvars.
03408648
SM
8413 (eval-sexp-add-defvars): New fun.
8414
8415 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8416
8417 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8418 Don't autoload.
8419 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8420 than the internal `byte-compile-lambda'.
8421 (defmethod): Don't hide code under quotes.
8422 (eieio-defmethod): New `code' argument.
8423
8424 * emacs-lisp/eieio-comp.el: Remove.
8425
8426 * emacs-lisp/edebug.el (edebug-eval-defun)
8427 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8428 (edebug-toggle): Avoid `eval'.
8429
8430 * emacs-lisp/disass.el (disassemble-internal): Handle new
8431 `closure' objects.
8432 (disassemble-1): Handle new byte codes.
8433
8434 * emacs-lisp/cl.el (pushnew): Silence warning.
8435
8436 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8437 (cl-byte-compile-throw): Remove.
8438 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8439
8440 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8441 closures.
8442
8443 * emacs-lisp/cconv.el: New file.
8444
8445 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8446 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8447 (byte-compile-initial-macro-environment):
8448 Handle declare-function here.
8449 (byte-compile--lexical-environment): New var.
8450 (byte-stack-ref, byte-stack-set, byte-discardN)
8451 (byte-discardN-preserve-tos): New lap codes.
8452 (byte-interactive-p): Don't use any more.
8453 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8454 New macros.
8455 (byte-compile-lapcode): Use them and handle new lap codes.
8456 (byte-compile-obsolete): Remove.
8457 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8458 (byte-compile-arglist-warn): Check late def of inlinable funs.
8459 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8460 since they should have been expanded by now.
8461 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8462 (byte-compile-from-buffer): Remove unused second arg.
8463 (byte-compile-preprocess): New function.
8464 (byte-compile-toplevel-file-form): New function to distinguish
8465 file-form calls from outside from file-form calls from hunk-handlers.
8466 (byte-compile-file-form): Simplify.
8467 (byte-compile-file-form-defsubst): Remove.
8468 (byte-compile-file-form-defmumble): Simplify now that
8469 byte-compile-lambda always returns a byte-code-function.
8470 (byte-compile): Preprocess.
8471 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8472 Remove, not used any more.
8473 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8474 (byte-compile-make-args-desc): New funs.
8475 (byte-compile-lambda): Handle lexical functions. Always return
8476 a byte-code-function.
8477 (byte-compile-reserved-constants): New var, to make up room for
8478 closed-over variables.
8479 (byte-compile-constants-vector): Obey it.
8480 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8481 (byte-compile-macroexpand-declare-function): New function.
8482 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8483 byte-code-functions.
8484 (byte-compile-form): Check obsolescence here.
8485 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8486 (byte-compile-variable-ref): Remove.
8487 (byte-compile-dynamic-variable-op): New fun.
8488 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8489 (byte-compile-variable-set): New funs.
8490 (byte-compile-discard): Add 2 args.
8491 (byte-compile-stack-ref, byte-compile-stack-set)
8492 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8493 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8494 macroexpand-all instead.
8495 (byte-compile-quote-form): Remove.
8496 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8497 (byte-compile-bind, byte-compile-unbind): New funs.
8498 (byte-compile-let): Handle let* and lexical binding.
8499 (byte-compile-let*): Remove.
8500 (byte-compile-catch, byte-compile-unwind-protect)
8501 (byte-compile-track-mouse, byte-compile-condition-case):
8502 Handle a new :fun-body form, used for lexical scoping.
8503 (byte-compile-save-window-excursion)
8504 (byte-compile-with-output-to-temp-buffer): Remove.
8505 (byte-compile-defun): Simplify.
8506 (byte-compile-stack-adjustment): New fun.
8507 (byte-compile-out): Use it.
8508 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8509
8510 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8511 handler any more.
8512
8513 * emacs-lisp/byte-opt.el: Use lexical binding.
8514 (byte-inline-lapcode): Remove (to bytecomp).
8515 (byte-compile-inline-expand): Pay attention to inlining to/from
8516 lexically bound code.
8517 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8518 any more.
8519 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8520 any more and don't call compiler-macros.
8521 (byte-compile-splice-in-already-compiled-code): Remove.
8522 (byte-code): Don't inline any more.
8523 (disassemble-offset): Receive `bytes' as argument rather than via
8524 dynamic scoping.
8525 (byte-compile-tag-number): Declare before first use.
8526 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8527 `return' even if make-spliceable.
8528 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8529 obsolete interactive-p.
8530 (byte-optimize-lapcode): Optimize new lap-codes.
8531 Don't trip up on new form of `byte-constant' lap code.
8532
8533 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8534
8535 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8536
8537 * custom.el (custom-initialize-default, custom-declare-variable):
8538 Use `defvar'.
8539
8540 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8541 New variables.
8542 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8543 (COMPILE_FIRST): Add macroexp and cconv.
8544 * makefile.w32-in: Mirror changes in Makefile.in.
8545
8546 * vc/cvs-status.el:
8547 * vc/diff-mode.el:
8548 * vc/log-edit.el:
8549 * vc/log-view.el:
8550 * vc/smerge-mode.el:
8551 * textmodes/bibtex-style.el:
8552 * textmodes/css.el:
8553 * startup.el:
8554 * uniquify.el:
da91b5f2
CY
8555 * minibuffer.el:
8556 * newcomment.el:
8557 * reveal.el:
8558 * server.el:
8559 * mpc.el:
8560 * emacs-lisp/smie.el:
8561 * doc-view.el:
8562 * dired.el:
03408648
SM
8563 * abbrev.el: Use lexical binding.
8564
0f0c1f27
EZ
85652011-04-01 Eli Zaretskii <eliz@gnu.org>
8566
8567 * info.el (info-display-manual): New function.
8568
c82b2579
SM
85692011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8570
8571 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8572
221ddf68
TH
85732011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8574
8575 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 8576 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 8577
cba6e77e
GM
85782011-03-31 Glenn Morris <rgm@gnu.org>
8579
e040639f
GM
8580 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8581
cba6e77e
GM
8582 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8583
6d0f1c9e
CS
85842011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8585
8586 * progmodes/python.el (python-default-interpreter)
8587 (python-python-command-args, python-jython-command-args)
8588 (python-which-shell, python-which-args, python-which-bufname)
8589 (python-file-queue, python-comint-output-filter-function)
8590 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8591 variables and functions.
8592
3e2d70fd
SM
85932011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8594
8595 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8596 (completion-in-region-mode): New minor mode.
8597 (completion-in-region): Use it.
8598 (completion-in-region--data, completion-in-region-mode-map): New vars.
8599 (completion-in-region--postch): New function.
8600 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8601 New vars.
8602 (completion--capf-wrapper): New function.
8603 (completion-at-point): Use it to track well-behavedness of
8604 hook functions.
8605 (completion-help-at-point): New command.
8606
f3e4086c
JM
86072011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8608
8609 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8610 syntax class to search for whitespace on a single line
8611 (Message-ID: <4D938140.4030905@redhat.com>).
8612
eb7ffc14
LL
86132011-03-30 Leo Liu <sdl.web@gmail.com>
8614
8615 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8616 New commands.
8617 (edit-abbrevs-map): Bind them here.
8618 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8619
d806ab68
KM
86202011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8621
8622 * allout.el (allout-hide-by-annotation, allout-flag-region):
8623 Reduce possibility of overlay leakage by making them volatile.
8624
8625 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8626 hash is not shared between buffers. Mode initialization is
8627 responsible for giving it a useful starting value.
8628 (allout-item-span): Reduce possibility of overlay leakage by
8629 making them volatile.
8630 (allout-widgets-count-buttons-in-region): Add diagnostic function
8631 for tracking down button overlay leaks.
8632
ea622834
LL
86332011-03-29 Leo Liu <sdl.web@gmail.com>
8634
8635 * ido.el (ido-read-internal): Use the default history var
8636 minibuffer-history if no HISTORY is specified.
8637
b62f8267
G
86382011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8639
03408648
SM
8640 * net/imap.el (imap-shell-open, imap-process-connection-type):
8641 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8642 Kerberos, SSL, other subprocesses.
8643
947b6566
LL
86442011-03-28 Leo Liu <sdl.web@gmail.com>
8645
8646 * abbrev.el (abbrev-table-empty-p): New function.
8647 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8648 nonempty ones. (Bug#5937)
8649
5ffb62aa
JD
86502011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8651
8652 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8653
7a097943
LL
86542011-03-27 Leo Liu <sdl.web@gmail.com>
8655
8656 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8657 for foreground and background colors.
8658 (ansi-color-make-color-map): Adapt.
8659
c5b40130
LL
86602011-03-25 Leo Liu <sdl.web@gmail.com>
8661
1f48f7d2
LL
8662 * midnight.el (midnight-time-float): Remove. Note it calculates
8663 the microsecond component incorrectly and seconds-to-time does the
8664 same job.
625897ec 8665 Remove redundant (require 'timer).
1f48f7d2 8666
c5b40130
LL
8667 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8668 (ido-completions): Remove unused arguments. (Bug#8329)
8669
d86d2721
SM
86702011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8671
8672 * minibuffer.el (completion--flush-all-sorted-completions):
8673 Remove itself from hook.
8674 (completion-at-point): Let the functions perform the completion
8675 immediately and return nil or t.
8676 * comint.el (comint-dynamic-complete-functions): Now identical to
8677 completion-at-point-functions.
8678 (comint-dynamic-list-input-ring): Remove unused var `index'.
8679 (comint--match-partial-filename, comint--unquote&expand-filename):
8680 New funs, split from comint-match-partial-filename.
8681 (comint-dynamic-complete): Use completion-at-point.
8682 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8683
e8974c48
DA
86842011-03-24 Drew Adams <drew.adams@oracle.com>
8685
8686 * thingatpt.el: Support `defun'.
8687
def71b5e
LL
86882011-03-23 Leo Liu <sdl.web@gmail.com>
8689
cb5af48e
LL
8690 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8691
def71b5e
LL
8692 * help-mode.el (help-mode-finish): Tweak regexp.
8693
927c53e7
GM
86942011-03-23 Glenn Morris <rgm@gnu.org>
8695
18d05bed
GM
8696 * eshell/esh-opt.el (eshell-eval-using-options):
8697 Do not bind unused local variable `eshell-option-stub'.
8698
927c53e7
GM
8699 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8700
9d0da923
JB
87012011-03-22 Juanma Barranquero <lekktu@gmail.com>
8702
8703 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8704 keymap variable in `with-no-warnings' to avoid a warning when the
8705 keymap has been already `defconst'ed.
8706
4b978a67
LL
87072011-03-22 Leo Liu <sdl.web@gmail.com>
8708
8709 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8710 encode all chars in abbrevs; otherwise use emacs-mule or
8711 utf-8-emacs. (Bug#8308)
8712
5fd62452
JB
87132011-03-22 Juanma Barranquero <lekktu@gmail.com>
8714
0b1596c6
JB
8715 * simple.el (backward-delete-char-untabify):
8716 Avoid warning about using `delete-backward-char'.
8717
5fd62452
JB
8718 * image.el (image-type-file-name-regexps): Make it variable.
8719 `imagemagick-register-types' modifies it, and the user may want
8720 to add new extensions for known image types.
8721 (imagemagick-register-types): Throw error if not using ImageMagick.
8722
0b4e93f1
LL
87232011-03-22 Leo Liu <sdl.web@gmail.com>
8724
8725 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8726 located before rcirc-prompt-end-marker.
8727 (rcirc-complete): Error if point is not after rcirc prompt.
8728 Handle the case when table is nil.
9882e214 8729 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8730
fccee4ab
CY
87312011-03-22 Chong Yidong <cyd@stupidchicken.com>
8732
8733 * custom.el (custom--inhibit-theme-enable): Make it affect only
8734 custom-theme-set-variables and custom-theme-set-faces.
8735 (provide-theme): Ignore custom--inhibit-theme-enable.
8736 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8737 (custom-enabling-themes): Delete variable.
d86d2721
SM
8738 (enable-theme): Accept only loaded themes as arguments.
8739 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8740 (custom-enabled-themes): Forbid themes from setting this.
8741 Eliminate use of custom-enabling-themes.
8742 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8743
af896da6
LL
87442011-03-21 Leo Liu <sdl.web@gmail.com>
8745
8746 * ido.el (ido-read-internal): Add ido-selected to history instead
8747 of user input.
8748
78f64af0
SM
87492011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8750
8751 * subr.el (deferred-action-list, deferred-action-function):
8752 Mark obsolete.
8753
b16ac1ec
LL
87542011-03-21 Leo Liu <sdl.web@gmail.com>
8755
810f7698
LL
8756 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8757 change on 2011-02-13 (bug#8309).
8758
b16ac1ec
LL
8759 * minibuffer.el (read-file-name-function): Change default value.
8760 (read-file-name--defaults): Rename from read-file-name-defaults.
8761 (read-file-name-default): Rename from read-file-name.
8762 (read-file-name): Call read-file-name-function.
8763
4e05e67e
GM
87642011-03-21 Glenn Morris <rgm@gnu.org>
8765
8766 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8767 Doc fixes.
8768
4359915b
CY
87692011-03-21 Chong Yidong <cyd@stupidchicken.com>
8770
8771 * cus-theme.el: Add missing provide statement.
8772 (customize-create-theme): Extract theme value correctly.
8773 (custom-theme-visit-theme): Autoload.
8774 (customize-create-theme): Prompt before inserting default faces.
8775
1fe275ee
JB
87762011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8777
8778 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8779 units and musical notes.
8780
3ec03f7e
LL
87812011-03-20 Leo <sdl.web@gmail.com>
8782
8783 * ido.el (ido-read-internal): Use completing-read-default.
8784 (ido-completing-read): Fix compatibility with completing-read.
8785
7d476bde
CO
87862011-03-20 Christian Ohler <ohler@gnu.org>
8787
8788 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8789 (ert-delete-all-tests): Use `called-interactively-p' rather than
8790 `interactive-p'.
8791 (ert--make-xrefs-region): Respect END.
8792
fe0fb33e
CY
87932011-03-19 Chong Yidong <cyd@stupidchicken.com>
8794
ff854b0b
CY
8795 * dired-aux.el (dired-create-directory): Signal an error if the
8796 directory already exists (Bug#8246).
8797
fe0fb33e
CY
8798 * facemenu.el (list-colors-display): Call list-faces-display
8799 inside with-help-window.
8800 (list-colors-print): Use display property to align the final
8801 column, instead of checking window-width.
8802
576bce32
EZ
88032011-03-19 Eli Zaretskii <eliz@gnu.org>
8804
4d61f28d 8805 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8806 windows-nt systems.
8807 (emerge-protect-metachars): Quote correctly for ms-dos and
8808 windows-nt systems.
8809
89c41d68 88102011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8811
8812 * info.el (info-initialize): Replace all uses of `:' with
8813 path-separator for compatibility with non-Unix systems.
8814 Cache quoting of path-separator. (Bug#8258)
8815
b14e3e21 88162011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8817
8818 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8819 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8820 (mouse-avoidance-mode): Fix typos in docstrings.
8821
4525ce3e
CY
88222011-03-19 Chong Yidong <cyd@stupidchicken.com>
8823
8824 * startup.el (package-subdirectory-regexp): Move from package.el.
8825 Omit \\` and \\', and let callers add them.
8826
8827 * emacs-lisp/package.el (package-strip-version)
8828 (package-load-all-descriptors): Add \\` and \\' to
8829 package-subdirectory-regexp before using it.
8830 (package-untar-buffer): New arg DIR; ensure that file untars only
8831 into this expected directory. Remove superfluous delete-region.
8832 (package-unpack): Caller changed.
8833 (package-tar-file-info): Use package-subdirectory-regexp.
8834
a904a09a 88352011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8836
a904a09a
SM
8837 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8838 diff-mode-shared-map (bug#8284).
8839 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8840
88412011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8842
8843 * calendar/time-date.el (format-seconds): Use assoc instead of
8844 assoc-string, since assoc-string doesn't exist in XEmacs.
8845
171fc304
JB
88462011-03-17 Juanma Barranquero <lekktu@gmail.com>
8847
8848 * custom.el (custom-known-themes): Reflow docstring.
8849 (custom-theme-load-path): Fix typo in docstring.
8850 (load-theme): Fix typo in error message.
8851 (custom-available-themes, custom-variable-theme-value):
8852 Use `let', not `let*'.
8853
d71990a1
JB
88542011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8855
8856 * calc/README: Mention inclusion of musical notes.
8857
8858 * calc/calc-units.el (calc-lu-quant): Rename from
8859 `calc-logunits-quantity'.
8860 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8861 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8862 (calc-db): Rename from `calc-dblevel'.
8863 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8864 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8865 (calc-np): Rename from `calc-nplevel'.
8866 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8867 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8868 (calc-lu-plus): Rename from `calc-logunits-add'.
8869 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8870 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8871 (calc-lu-minus): Rename from `calc-logunits-sub'.
8872 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8873 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8874 (calc-lu-times): Rename from `calc-logunits-mul'.
8875 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8876 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8877 (calc-lu-divide): Rename from `calc-logunits-div'.
8878 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8879 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8880
8881 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8882 functions being autoloaded.
8883
8884 * calc/calc.el (calc-lu-power-reference): Rename from
8885 `calc-logunits-power-reference'.
8886 (calc-lu-field-reference): Rename from
8887 `calc-logunits-field-reference'.
8888
8889 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8890
40c2934b
SM
88912011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * minibuffer.el (completion-all-sorted-completions):
8894 Use :completion-cycle-penalty text property if present.
8895
b0911414
KM
88962011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8897
8898 * allout.el (allout-yank-processing): Adjust for new rebulleting
8899 regime so bullet being yanked is used without prompting the user
8900 for a choice.
8901
8a05b668
JB
89022011-03-16 Juanma Barranquero <lekktu@gmail.com>
8903
8904 * startup.el (command-line): Warn the user that _emacs is deprecated.
8905
5ba5fb81
JB
89062011-03-16 Juanma Barranquero <lekktu@gmail.com>
8907
8908 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8909 (delphi-verbose, delphi-comment-face, delphi-string-face)
8910 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8911 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8912 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8913 (delphi-new-comment-line, delphi-font-lock-defaults)
8914 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8915 Fix typos in docstrings.
8916
2dab465b
KM
89172011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8918
5ba5fb81 8919 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8920 Invert the roles of character and string values for INSTEAD, so a
8921 string is used for the more common case of a defaulting prompt.
8922
0adf5618
SM
89232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8924
8925 * progmodes/ruby-mode.el (ruby-backward-sexp):
8926 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8927 * play/gamegrid.el (gamegrid-make-face):
8928 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8929 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8930 * notifications.el (notifications-notify):
8931 * net/xesam.el (xesam-search-engines):
8932 * net/quickurl.el (quickurl-list-insert):
8933 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8934
d72700e5
CY
89352011-03-15 Chong Yidong <cyd@stupidchicken.com>
8936
8937 * startup.el (command-line): Update package subdirectory regexp.
8938
49c5410a
SM
89392011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8940
c6eee9aa
SM
8941 * allout.el (allout-abbreviate-flattened-numbering)
8942 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8943
49c5410a
SM
8944 * subr.el (read-char-choice): Only show the cursor after the prompt,
8945 not after the answer.
8946
047b2bb9
KR
89472011-03-15 Kevin Ryde <user42@zip.com.au>
8948
8949 * help-fns.el (variable-at-point): Skip leading quotes, if any
8950 (bug#8253).
8951
0a57d256
SM
89522011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8955 warning message.
8956
77c992bc
MA
89572011-03-14 Michael Albinus <michael.albinus@gmx.de>
8958
8959 * shell.el (shell): When called interactively, offer to change the
8960 shell file name on remote hosts.
8961
eebc475d
TZ
89622011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8963
8964 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8965 integration for LDAP parameters. The host, base, user or binddn,
8966 and secret tokens can be specified in a netrc file, for instance.
8967 This is optional because an `auth-source' parameter must be
8968 specified in the search attributes.
8969
9d05d1ba
JB
89702011-03-13 Juanma Barranquero <lekktu@gmail.com>
8971
8972 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8973
09d9db2c
GM
89742011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8975
8976 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8977 into declaration. Remove redundant and harmful binding.
8978
89792011-03-12 Eli Zaretskii <eliz@gnu.org>
8980
8981 * files.el (file-ownership-preserved-p): Pass `integer' as an
8982 explicit 2nd argument to `file-attributes'. If the file's owner
8983 is the Administrators group on Windows, and the current user is
8984 Administrator, consider that a match.
8985
8986 * server.el (server-ensure-safe-dir): Consider server directory
8987 safe on MS-Windows if its owner is the Administrators group while
8988 the current Emacs user is Administrator. Use `=' to compare
8989 numerical UIDs, since they could be integers or floats.
8990
219bd536
JB
89912011-03-12 Juanma Barranquero <lekktu@gmail.com>
8992
8993 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8994
f3afd36b
MA
89952011-03-12 Michael Albinus <michael.albinus@gmx.de>
8996
8997 Sync with Tramp 2.2.1.
8998
8999 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
9000
9001 * net/trampver.el: Update release number.
9002
3aaaa6f1
SM
90032011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9004
94642599
SM
9005 * progmodes/compile.el (compilation--previous-directory): Fix up
9006 various nil/dead-marker mismatches (bug#8014).
9007 (compilation-directory-properties, compilation-error-properties):
9008 Don't call it at a position past the one we're about to change.
9009
3aaaa6f1
SM
9010 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
9011 Disable obsolescence warnings in the file that declares it.
9012
14239447
KM
90132011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
9014
099c39a4
JB
9015 * allout-widgets.el (allout-widgets-tally):
9016 Initialize allout-widgets-tally as a hash table rather than nil to
9017 prevent mode-line redisplay warnings. Also, clarify the module
9018 description and fix a comment typo.
14239447 9019
135e287c
JB
90202011-03-11 Juanma Barranquero <lekktu@gmail.com>
9021
9022 * help-fns.el (describe-variable): Don't complete keywords.
9023 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
9024
ffbf300e
CY
90252011-03-10 Chong Yidong <cyd@stupidchicken.com>
9026
ba08b241
CY
9027 * emacs-lisp/package.el (package-version-join): Impose a standard
9028 string representation for pre/alpha/beta version lists.
9029 (package-unpack-single): Standardize the directory name by passing
9030 it through package-version-join.
9031 (package-strip-rcs-id): Accept any version string that does not
9032 signal an error in version-to-list.
ffbf300e 9033
f346fd6b
MA
90342011-03-10 Michael Albinus <michael.albinus@gmx.de>
9035
9036 * simple.el (delete-trailing-whitespace): Return nil for the
9037 benefit of `write-file-functions'.
9038
ccb55d27
GM
90392011-03-10 Glenn Morris <rgm@gnu.org>
9040
5ceaac0c
GM
9041 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9042
02da65ff
GM
9043 * vc/vc-git.el (vc-git-program): New option.
9044 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9045 (vc-git--call): Use it.
9046
b2f603cc
GM
9047 * eshell/esh-util.el (eshell-condition-case): Doc fix.
9048
5772caab
GM
9049 * cus-edit.el (Custom-newline): If no button at point, look
9050 for a subgroup button at start-of-line. (Bug#2298)
9051
ccb55d27
GM
9052 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9053
ec6ecaed
JD
90542011-03-10 Julien Danjou <julien@danjou.info>
9055
9056 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9057 `cursor-type' is nil.
9058
9d5aa01d
JB
90592011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
9060
9061 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9062
b6a5875b
KM
90632011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
9064
9065 * allout.el Summary: Change so yank of distinctive-bullet items
9066 preserves the existing header prefix, rebulleting it if necessary,
9067 rather than replacing it. This is necessary for proper operation
9068 of cooperative addons like allout-widgets.
219bd536 9069 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
9070 SOLICIT arg to INSTEAD, and interpret additionally a string value
9071 as alternate bullet to be used, instead of prompting the user for
9072 a bullet character.
9073
ee545c35
MA
90742011-03-09 Michael Albinus <michael.albinus@gmx.de>
9075
d86d2721
SM
9076 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9077 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
9078 `tramp-default-port'.
9079
c47971d7
DD
90802011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9081
9082 * net/rcirc.el (rcirc-handler-001): Remove useless
9083 with-rcirc-process-buffer.
9084 (rcirc-check-auth-status): Swap arguments to string-match.
9085
13522cb4
GM
90862011-03-09 Glenn Morris <rgm@gnu.org>
9087
0be6f4f1
GM
9088 * shell.el (shell-mode):
9089 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
9090
13522cb4
GM
9091 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9092 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
9093
515de2e3
CY
90942011-03-08 Chong Yidong <cyd@stupidchicken.com>
9095
9096 * emacs-lisp/package.el (package-refresh-contents)
9097 (package-menu-execute): Use condition-case-no-debug.
9098
b511b994
MA
90992011-03-08 Michael Albinus <michael.albinus@gmx.de>
9100
9101 * simple.el (shell-command-to-string): Use `process-file'.
9102
9103 * emacs-lisp/package.el (package-tar-file-info): Handle also
9104 remote files.
9105
d86d2721
SM
9106 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9107 Use `equal' for upload base check.
b511b994 9108
25bbfb31
AM
91092011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
9110
9111 * textmodes/texinfo.el (texinfo-environments):
9112 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
9113
be996521
GM
91142011-03-08 Glenn Morris <rgm@gnu.org>
9115
e9c8529f
GM
9116 * cus-start.el (cursor-in-non-selected-windows):
9117 Fix :set quoting oddness. (Bug#8192)
9118
be996521
GM
9119 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9120 in some setf expressions. (Bug#2159)
9121
2bb5649e
CY
91222011-03-08 Chong Yidong <cyd@stupidchicken.com>
9123
9124 * custom.el (custom-available-themes): Return themes in
9125 alphabetical order.
9126
33383987 9127See ChangeLog.15 for earlier changes.
e3d51b27
MR
9128
9129;; Local Variables:
9130;; coding: utf-8
e3d51b27
MR
9131;; End:
9132
33383987 9133 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
9134
9135 This file is part of GNU Emacs.
9136
9137 GNU Emacs is free software: you can redistribute it and/or modify
9138 it under the terms of the GNU General Public License as published by
9139 the Free Software Foundation, either version 3 of the License, or
9140 (at your option) any later version.
9141
9142 GNU Emacs is distributed in the hope that it will be useful,
9143 but WITHOUT ANY WARRANTY; without even the implied warranty of
9144 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9145 GNU General Public License for more details.
9146
9147 You should have received a copy of the GNU General Public License
9148 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.